diff --git a/assets/HButton-CUoHOwiL.js b/assets/HButton-CUoHOwiL.js new file mode 100644 index 000000000..61926eaf1 --- /dev/null +++ b/assets/HButton-CUoHOwiL.js @@ -0,0 +1 @@ +import{C as f}from"./index-C_dOR4Zc.js";export{f as default}; diff --git a/assets/HButton-CUoHOwiL.js.br b/assets/HButton-CUoHOwiL.js.br new file mode 100644 index 000000000..178dfd59d Binary files /dev/null and b/assets/HButton-CUoHOwiL.js.br differ diff --git a/assets/HCheckList-CipK58z7.js b/assets/HCheckList-CipK58z7.js new file mode 100644 index 000000000..505ebf18b --- /dev/null +++ b/assets/HCheckList-CipK58z7.js @@ -0,0 +1 @@ +import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js";import"./index-C_dOR4Zc.js";export{m as default}; diff --git a/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js b/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js new file mode 100644 index 000000000..221527ff6 --- /dev/null +++ b/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js @@ -0,0 +1 @@ +import{d as u,Z as l,$ as m,I as b,o as s,f as t,F as o,S as p,L as _,M as f,n as g,t as h,x as v}from"./index-C_dOR4Zc.js";const k={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},x=["disabled","onClick"],M=u({__name:"HCheckList",props:l({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:l(["change"],["update:modelValue"]),setup(i,{emit:d}){const r=d,n=m(i,"modelValue");return b(n,a=>{r("change",a)}),(a,y)=>{const c=v;return s(),t("div",k,[(s(!0),t(o,null,p(a.options,e=>(s(),t("button",{key:e.value,disabled:a.disabled||e.disabled,class:_(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":n.value===e.value}]),onClick:C=>n.value=e.value},[e.icon?(s(),f(c,{key:0,name:e.icon},null,8,["name"])):(s(),t(o,{key:1},[g(h(e.label),1)],64))],10,x))),128))])}}});export{M as _}; diff --git a/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js.br b/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js.br new file mode 100644 index 000000000..7db5aa132 Binary files /dev/null and b/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js.br differ diff --git a/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js.gz b/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js.gz new file mode 100644 index 000000000..a9b49eb58 Binary files /dev/null and b/assets/HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js.gz differ diff --git a/assets/HDialog-CMCJhean.js b/assets/HDialog-CMCJhean.js new file mode 100644 index 000000000..d2a2cd756 --- /dev/null +++ b/assets/HDialog-CMCJhean.js @@ -0,0 +1 @@ +import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js";import"./index-C_dOR4Zc.js";export{m as default}; diff --git a/assets/HDialog-CMCJhean.js.br b/assets/HDialog-CMCJhean.js.br new file mode 100644 index 000000000..d7a86b3bc Binary files /dev/null and b/assets/HDialog-CMCJhean.js.br differ diff --git a/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js b/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js new file mode 100644 index 000000000..f25091387 --- /dev/null +++ b/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js @@ -0,0 +1 @@ +import{d as h,Z as i,$ as w,ak as b,r as k,H as C,o as d,M as B,j as t,i as s,h as e,a3 as p,a4 as c,g as o,L as V,a5 as T,al as S,n as $,t as j,a7 as F,X as f,f as M,s as N,a9 as z,aa as D,x as H}from"./index-C_dOR4Zc.js";const E={class:"fixed inset-0 overflow-y-auto"},G={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},I={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},J={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},P=h({__name:"HDialog",props:i({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:i(["close"],["update:modelValue"]),setup(u,{emit:m}){const y=m,l=w(u,"modelValue"),v=b(),g=k({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),x=C(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"}));function r(){l.value=!1,y("close")}return(a,n)=>{const _=H;return d(),B(e(D),{as:"template",appear:a.appear,show:l.value},{default:t(()=>[s(e(z),{class:"fixed inset-0 z-2000 flex",onClose:n[0]||(n[0]=L=>!a.preventClose&&r())},{default:t(()=>[s(e(p),c({as:"template",appear:a.appear},e(g)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",E,[o("div",G,[s(e(p),c({as:"template",appear:a.appear},e(x)),{default:t(()=>[s(e(T),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:t(()=>[o("div",I,[s(e(S),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:t(()=>[$(j(a.title),1)]),_:1}),s(_,{name:"i-carbon:close","cursor-pointer":"",onClick:r})]),s(e(F),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[f(a.$slots,"default")]),_:3}),e(v).footer?(d(),M("div",J,[f(a.$slots,"footer")])):N("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{P as _}; diff --git a/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js.br b/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js.br new file mode 100644 index 000000000..87c8228a0 Binary files /dev/null and b/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js.br differ diff --git a/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js.gz b/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js.gz new file mode 100644 index 000000000..6e4d6e076 Binary files /dev/null and b/assets/HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js.gz differ diff --git a/assets/HDropdown-CAkYOxIm.js b/assets/HDropdown-CAkYOxIm.js new file mode 100644 index 000000000..456c2e8e9 --- /dev/null +++ b/assets/HDropdown-CAkYOxIm.js @@ -0,0 +1 @@ +import{y as t,e as n,o as a,M as p,j as o,X as r,a4 as d}from"./index-C_dOR4Zc.js";const c={};function l(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(c,[["render",l]]);export{f as default}; diff --git a/assets/HDropdown-CAkYOxIm.js.br b/assets/HDropdown-CAkYOxIm.js.br new file mode 100644 index 000000000..1d600d594 --- /dev/null +++ b/assets/HDropdown-CAkYOxIm.js.br @@ -0,0 +1,2 @@ + LiB̆f9ࣛ58!&XOD(?B,͂+n@8 Edk&[߽ٺ֌ WPzuV?^=3mH+Y?*QvZ +F$VAm&B"~=M{*l|΅OQIݘU67zw%кx@92T S6yш ӛhK&m \ No newline at end of file diff --git a/assets/HDropdown-CAkYOxIm.js.gz b/assets/HDropdown-CAkYOxIm.js.gz new file mode 100644 index 000000000..e7a40d2d6 Binary files /dev/null and b/assets/HDropdown-CAkYOxIm.js.gz differ diff --git a/assets/HDropdownMenu-B7D_livK.js b/assets/HDropdownMenu-B7D_livK.js new file mode 100644 index 000000000..0ab6dfa64 --- /dev/null +++ b/assets/HDropdownMenu-B7D_livK.js @@ -0,0 +1 @@ +import{V as f}from"./index-C_dOR4Zc.js";export{f as default}; diff --git a/assets/HInput-DiRqJRHN.js b/assets/HInput-DiRqJRHN.js new file mode 100644 index 000000000..13af1803c --- /dev/null +++ b/assets/HInput-DiRqJRHN.js @@ -0,0 +1 @@ +import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js";import"./index-C_dOR4Zc.js";export{m as default}; diff --git a/assets/HInput-DiRqJRHN.js.br b/assets/HInput-DiRqJRHN.js.br new file mode 100644 index 000000000..15825687c Binary files /dev/null and b/assets/HInput-DiRqJRHN.js.br differ diff --git a/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js b/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js new file mode 100644 index 000000000..ba22e7625 --- /dev/null +++ b/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js @@ -0,0 +1 @@ +import{d as r,Z as n,$ as i,r as u,o as p,f as c,w as m,a6 as f,g}from"./index-C_dOR4Zc.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],w=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(a,{expose:s}){const e=i(a,"modelValue"),d=u();return s({ref:d}),(l,o)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":o[0]||(o[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{w as _}; diff --git a/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js.br b/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js.br new file mode 100644 index 000000000..209f5d16c Binary files /dev/null and b/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js.br differ diff --git a/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js.gz b/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js.gz new file mode 100644 index 000000000..fd71f4931 Binary files /dev/null and b/assets/HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js.gz differ diff --git a/assets/HKbd-N6bQnSsP.js b/assets/HKbd-N6bQnSsP.js new file mode 100644 index 000000000..51bea7464 --- /dev/null +++ b/assets/HKbd-N6bQnSsP.js @@ -0,0 +1 @@ +import{y as t,o as n,f as r,X as s}from"./index-C_dOR4Zc.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function i(e,c){return n(),r("kbd",a,[s(e.$slots,"default")])}const _=t(o,[["render",i]]);export{_ as default}; diff --git a/assets/HKbd-N6bQnSsP.js.br b/assets/HKbd-N6bQnSsP.js.br new file mode 100644 index 000000000..df00e2884 Binary files /dev/null and b/assets/HKbd-N6bQnSsP.js.br differ diff --git a/assets/HKbd-N6bQnSsP.js.gz b/assets/HKbd-N6bQnSsP.js.gz new file mode 100644 index 000000000..3720598f1 Binary files /dev/null and b/assets/HKbd-N6bQnSsP.js.gz differ diff --git a/assets/HSelect-BkRs5ftS.js b/assets/HSelect-BkRs5ftS.js new file mode 100644 index 000000000..caa4bbd38 --- /dev/null +++ b/assets/HSelect-BkRs5ftS.js @@ -0,0 +1 @@ +import{_ as m}from"./HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js";import"./index-C_dOR4Zc.js";export{m as default}; diff --git a/assets/HSelect-BkRs5ftS.js.br b/assets/HSelect-BkRs5ftS.js.br new file mode 100644 index 000000000..218a5757f Binary files /dev/null and b/assets/HSelect-BkRs5ftS.js.br differ diff --git a/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js b/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js new file mode 100644 index 000000000..84803e04f --- /dev/null +++ b/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js @@ -0,0 +1 @@ +import{d as m,Z as b,$ as f,H as g,e as v,o as l,M as h,j as r,g as o,f as i,S as _,F as k,t as c,h as w,i as x,a4 as y,x as V,L as C}from"./index-C_dOR4Zc.js";const M={class:"w-full inline-flex"},B=["disabled"],S={class:"block truncate"},$={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},z={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},F=["disabled","onClick"],j=m({__name:"HSelect",props:b({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const a=t,n=f(t,"modelValue"),d=g({get(){return a.options.find(e=>e.value===n.value)??a.options[0]},set(e){n.value=e.value}});return(e,H)=>{const u=V,p=v("VMenu");return l(),h(p,y({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:r(()=>[o("div",z,[(l(!0),i(k,null,_(e.options,s=>(l(),i("button",{key:s.value,disabled:s.disabled,class:C(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":t.modelValue===s.value}]),onClick:L=>d.value=s},c(s.label),11,F))),128))])]),default:r(()=>[o("div",M,[o("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:e.disabled},[o("span",S,c(w(d).label),1),o("span",$,[x(u,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,B)])]),_:1},16,["disabled"])}}});export{j as _}; diff --git a/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js.br b/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js.br new file mode 100644 index 000000000..818ee375a Binary files /dev/null and b/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js.br differ diff --git a/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js.gz b/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js.gz new file mode 100644 index 000000000..b8d48ba2d Binary files /dev/null and b/assets/HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js.gz differ diff --git a/assets/HSlideover-SsqmZ4Qf.js b/assets/HSlideover-SsqmZ4Qf.js new file mode 100644 index 000000000..b213ec81e --- /dev/null +++ b/assets/HSlideover-SsqmZ4Qf.js @@ -0,0 +1 @@ +import{W as f}from"./index-C_dOR4Zc.js";export{f as default}; diff --git a/assets/HTabList-B-yneDHD.js b/assets/HTabList-B-yneDHD.js new file mode 100644 index 000000000..22f0df744 --- /dev/null +++ b/assets/HTabList-B-yneDHD.js @@ -0,0 +1 @@ +import{_ as f}from"./index-C_dOR4Zc.js";export{f as default}; diff --git a/assets/HTabList-B-yneDHD.js.br b/assets/HTabList-B-yneDHD.js.br new file mode 100644 index 000000000..827bd6b6a Binary files /dev/null and b/assets/HTabList-B-yneDHD.js.br differ diff --git a/assets/HToggle-CLrcusmR.js b/assets/HToggle-CLrcusmR.js new file mode 100644 index 000000000..ff8e9927d --- /dev/null +++ b/assets/HToggle-CLrcusmR.js @@ -0,0 +1 @@ +import{_ as m}from"./HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js";import"./index-C_dOR4Zc.js";export{m as default}; diff --git a/assets/HToggle-CLrcusmR.js.br b/assets/HToggle-CLrcusmR.js.br new file mode 100644 index 000000000..542473f17 Binary files /dev/null and b/assets/HToggle-CLrcusmR.js.br differ diff --git a/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js b/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js new file mode 100644 index 000000000..77dda004f --- /dev/null +++ b/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js @@ -0,0 +1 @@ +import{r as x,H as d,d as V,cl as j,bl as D,cm as L,cn as P,B as U,I as H,bf as y,co as K,cp as O,cq as q,cr as A,cs as F,F as R,ct as h,Z as z,$ as G,o as g,M as k,j as Z,g as w,s as J,L as I,h as Q,x as W}from"./index-C_dOR4Zc.js";function X(a,l,t){let o=x(t==null?void 0:t.value),n=d(()=>a.value!==void 0);return[d(()=>n.value?a.value:o.value),function(s){return n.value||(o.value=s),l==null?void 0:l(s)}]}function Y(a){var l,t;let o=(l=a==null?void 0:a.form)!=null?l:a.closest("form");if(o){for(let n of o.elements)if(n!==a&&(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image")){n.click();return}(t=o.requestSubmit)==null||t.call(o)}}let ee=Symbol("GroupContext"),ae=V({name:"Switch",emits:{"update:modelValue":a=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:l,attrs:t,slots:o,expose:n}){var s;let C=(s=a.id)!=null?s:`headlessui-switch-${j()}`,r=D(ee,null),[i,m]=X(d(()=>a.modelValue),e=>l("update:modelValue",e),d(()=>a.defaultChecked));function p(){m(!i.value)}let $=x(null),c=r===null?$:r.switchRef,B=L(d(()=>({as:a.as,type:t.type})),c);n({el:c,$el:c});function S(e){e.preventDefault(),p()}function N(e){e.key===h.Space?(e.preventDefault(),p()):e.key===h.Enter&&Y(e.currentTarget)}function T(e){e.preventDefault()}let f=d(()=>{var e,u;return(u=(e=P(c))==null?void 0:e.closest)==null?void 0:u.call(e,"form")});return U(()=>{H([f],()=>{if(!f.value||a.defaultChecked===void 0)return;function e(){m(a.defaultChecked)}return f.value.addEventListener("reset",e),()=>{var u;(u=f.value)==null||u.removeEventListener("reset",e)}},{immediate:!0})}),()=>{let{name:e,value:u,form:_,tabIndex:v,...b}=a,E={checked:i.value},M={id:C,ref:c,role:"switch",type:B.value,tabIndex:v===-1?0:v,"aria-checked":i.value,"aria-labelledby":r==null?void 0:r.labelledby.value,"aria-describedby":r==null?void 0:r.describedby.value,onClick:S,onKeyup:N,onKeypress:T};return y(R,[e!=null&&i.value!=null?y(K,O({features:q.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:i.value,form:_,disabled:b.disabled,name:e,value:u})):null,A({ourProps:M,theirProps:{...t,...F(b,["modelValue","defaultChecked"])},slot:E,attrs:t,slots:o,name:"Switch"})])}}});const le={class:"absolute inset-0 h-full w-full flex items-center justify-center"},ne=V({__name:"HToggle",props:z({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=G(a,"modelValue");return(t,o)=>{const n=W;return g(),k(Q(ae),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),disabled:t.disabled,class:I(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:Z(()=>[w("span",{class:I(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[w("span",le,[l.value&&t.onIcon||!l.value&&t.offIcon?(g(),k(n,{key:0,name:l.value?t.onIcon:t.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):J("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{ne as _}; diff --git a/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js.br b/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js.br new file mode 100644 index 000000000..13d5a0e6c Binary files /dev/null and b/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js.br differ diff --git a/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js.gz b/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js.gz new file mode 100644 index 000000000..933bc78c9 Binary files /dev/null and b/assets/HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js.gz differ diff --git a/assets/HTooltip-DwStXIVu.js b/assets/HTooltip-DwStXIVu.js new file mode 100644 index 000000000..1fd3a585e --- /dev/null +++ b/assets/HTooltip-DwStXIVu.js @@ -0,0 +1 @@ +import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js";import"./index-C_dOR4Zc.js";export{m as default}; diff --git a/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js b/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js new file mode 100644 index 000000000..a615e42bd --- /dev/null +++ b/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js @@ -0,0 +1 @@ +import{d as r,e as p,o,M as n,j as s,X as t,a4 as l,f as i,n as d,t as f}from"./index-C_dOR4Zc.js";const m={key:1},k=r({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup(u){return(e,c)=>{const a=p("VTooltip");return e.enable?(o(),n(a,l({key:0,"popper-triggers":["hover"]},e.$attrs),{popper:s(()=>[t(e.$slots,"text",{},()=>[d(f(e.text),1)])]),default:s(()=>[t(e.$slots,"default")]),_:3},16)):(o(),i("div",m,[t(e.$slots,"default")]))}}});export{k as _}; diff --git a/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js.br b/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js.br new file mode 100644 index 000000000..5af53f86b Binary files /dev/null and b/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js.br differ diff --git a/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js.gz b/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js.gz new file mode 100644 index 000000000..780a8bb35 Binary files /dev/null and b/assets/HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js.gz differ diff --git a/assets/_...all_-CzHcXkoS.js b/assets/_...all_-CzHcXkoS.js new file mode 100644 index 000000000..a0ce4ecc3 --- /dev/null +++ b/assets/_...all_-CzHcXkoS.js @@ -0,0 +1 @@ +import{d as i,a as u,b as f,r as _,A as d,B as x,f as p,i as o,g as t,j as m,C as v,o as w,n as g,t as h,h as B,x as N,z as s}from"./index-C_dOR4Zc.js";const b={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},k={class:"flex flex-col gap-4"},S=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),C=i({__name:"[...all]",setup(I){const a=u(),l=f(),e=_({inter:Number.NaN,countdown:5});d(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),x(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){a.push(l.settings.home.fullPath)}return(V,j)=>{const c=N,r=v;return w(),p("div",b,[o(c,{name:"404",class:"text-[300px] lg-text-[400px]"}),t("div",k,[S,y,t("div",null,[o(r,{onClick:n},{default:m(()=>[g(h(B(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof s=="function"&&s(C);export{C as default}; diff --git a/assets/_...all_-CzHcXkoS.js.br b/assets/_...all_-CzHcXkoS.js.br new file mode 100644 index 000000000..611b2bed5 Binary files /dev/null and b/assets/_...all_-CzHcXkoS.js.br differ diff --git a/assets/_...all_-CzHcXkoS.js.gz b/assets/_...all_-CzHcXkoS.js.gz new file mode 100644 index 000000000..cab9af740 Binary files /dev/null and b/assets/_...all_-CzHcXkoS.js.gz differ diff --git a/assets/actionbar.demo-Czcr5Qqb.js b/assets/actionbar.demo-Czcr5Qqb.js new file mode 100644 index 000000000..f99c30ecb --- /dev/null +++ b/assets/actionbar.demo-Czcr5Qqb.js @@ -0,0 +1 @@ +import{_ as F}from"./index-BdK60VIt.js";import{d as P,r as j,e as u,o as G,f as I,i as e,j as d,h as a,n as i,g as x,R as S,Q as c,z as v}from"./index-C_dOR4Zc.js";const z=x("p",null,"FixedActionBar",-1),A=x("p",{style:{"margin-bottom":"0"}}," 避免因页面过长导致操作按钮需要滚动到页面底部才能操作,例如表单页 ",-1),N=P({name:"ComponentExampleActionbar",__name:"actionbar.demo",setup(T){const l=j({name:"",region:"",date1:"",date2:"",delivery:!1,type:[],resource:"",desc:""});return(D,o)=>{const k=S,s=u("ElInput"),n=u("ElFormItem"),r=u("ElOption"),f=u("ElSelect"),b=u("ElDatePicker"),p=u("ElCol"),_=u("ElTimePicker"),y=u("ElSwitch"),m=u("ElCheckbox"),E=u("ElCheckboxGroup"),V=u("ElRadio"),U=u("ElRadioGroup"),w=u("ElForm"),C=u("ElRow"),B=c,g=u("ElButton"),R=F;return G(),I("div",null,[e(k,{title:"固定底部操作栏",content:"避免因页面过长导致操作按钮需要滚动到页面底部才能操作,例如表单页"},{content:d(()=>[z,A]),_:1}),e(B,null,{default:d(()=>[e(C,null,{default:d(()=>[e(p,{md:24,lg:12},{default:d(()=>[e(w,{ref_key:"form",ref:l,model:a(l),"label-width":"120px"},{default:d(()=>[e(n,{label:"活动名称"},{default:d(()=>[e(s,{modelValue:a(l).name,"onUpdate:modelValue":o[0]||(o[0]=t=>a(l).name=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动区域"},{default:d(()=>[e(f,{modelValue:a(l).region,"onUpdate:modelValue":o[1]||(o[1]=t=>a(l).region=t),placeholder:"请选择活动区域"},{default:d(()=>[e(r,{label:"区域一",value:"shanghai"}),e(r,{label:"区域二",value:"beijing"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动时间"},{default:d(()=>[e(p,{span:11},{default:d(()=>[e(b,{modelValue:a(l).date1,"onUpdate:modelValue":o[2]||(o[2]=t=>a(l).date1=t),type:"date",placeholder:"选择日期",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(p,{class:"line",span:2},{default:d(()=>[i(" - ")]),_:1}),e(p,{span:11},{default:d(()=>[e(_,{modelValue:a(l).date2,"onUpdate:modelValue":o[3]||(o[3]=t=>a(l).date2=t),placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{label:"即时配送"},{default:d(()=>[e(y,{modelValue:a(l).delivery,"onUpdate:modelValue":o[4]||(o[4]=t=>a(l).delivery=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动性质"},{default:d(()=>[e(E,{modelValue:a(l).type,"onUpdate:modelValue":o[5]||(o[5]=t=>a(l).type=t)},{default:d(()=>[e(m,{label:"美食/餐厅线上活动",name:"type"}),e(m,{label:"地推活动",name:"type"}),e(m,{label:"线下主题活动",name:"type"}),e(m,{label:"单纯品牌曝光",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"特殊资源"},{default:d(()=>[e(U,{modelValue:a(l).resource,"onUpdate:modelValue":o[6]||(o[6]=t=>a(l).resource=t)},{default:d(()=>[e(V,{label:"线上品牌商赞助"}),e(V,{label:"线下场地免费"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动形式"},{default:d(()=>[e(s,{modelValue:a(l).desc,"onUpdate:modelValue":o[7]||(o[7]=t=>a(l).desc=t),type:"textarea"},null,8,["modelValue"])]),_:1}),e(n,{label:"活动名称"},{default:d(()=>[e(s,{modelValue:a(l).name,"onUpdate:modelValue":o[8]||(o[8]=t=>a(l).name=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动区域"},{default:d(()=>[e(f,{modelValue:a(l).region,"onUpdate:modelValue":o[9]||(o[9]=t=>a(l).region=t),placeholder:"请选择活动区域"},{default:d(()=>[e(r,{label:"区域一",value:"shanghai"}),e(r,{label:"区域二",value:"beijing"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动时间"},{default:d(()=>[e(p,{span:11},{default:d(()=>[e(b,{modelValue:a(l).date1,"onUpdate:modelValue":o[10]||(o[10]=t=>a(l).date1=t),type:"date",placeholder:"选择日期",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(p,{class:"line",span:2},{default:d(()=>[i(" - ")]),_:1}),e(p,{span:11},{default:d(()=>[e(_,{modelValue:a(l).date2,"onUpdate:modelValue":o[11]||(o[11]=t=>a(l).date2=t),placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{label:"即时配送"},{default:d(()=>[e(y,{modelValue:a(l).delivery,"onUpdate:modelValue":o[12]||(o[12]=t=>a(l).delivery=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动性质"},{default:d(()=>[e(E,{modelValue:a(l).type,"onUpdate:modelValue":o[13]||(o[13]=t=>a(l).type=t)},{default:d(()=>[e(m,{label:"美食/餐厅线上活动",name:"type"}),e(m,{label:"地推活动",name:"type"}),e(m,{label:"线下主题活动",name:"type"}),e(m,{label:"单纯品牌曝光",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"特殊资源"},{default:d(()=>[e(U,{modelValue:a(l).resource,"onUpdate:modelValue":o[14]||(o[14]=t=>a(l).resource=t)},{default:d(()=>[e(V,{label:"线上品牌商赞助"}),e(V,{label:"线下场地免费"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动形式"},{default:d(()=>[e(s,{modelValue:a(l).desc,"onUpdate:modelValue":o[15]||(o[15]=t=>a(l).desc=t),type:"textarea"},null,8,["modelValue"])]),_:1}),e(n,{label:"活动名称"},{default:d(()=>[e(s,{modelValue:a(l).name,"onUpdate:modelValue":o[16]||(o[16]=t=>a(l).name=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动区域"},{default:d(()=>[e(f,{modelValue:a(l).region,"onUpdate:modelValue":o[17]||(o[17]=t=>a(l).region=t),placeholder:"请选择活动区域"},{default:d(()=>[e(r,{label:"区域一",value:"shanghai"}),e(r,{label:"区域二",value:"beijing"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动时间"},{default:d(()=>[e(p,{span:11},{default:d(()=>[e(b,{modelValue:a(l).date1,"onUpdate:modelValue":o[18]||(o[18]=t=>a(l).date1=t),type:"date",placeholder:"选择日期",style:{width:"100%"}},null,8,["modelValue"])]),_:1}),e(p,{class:"line",span:2},{default:d(()=>[i(" - ")]),_:1}),e(p,{span:11},{default:d(()=>[e(_,{modelValue:a(l).date2,"onUpdate:modelValue":o[19]||(o[19]=t=>a(l).date2=t),placeholder:"选择时间",style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),e(n,{label:"即时配送"},{default:d(()=>[e(y,{modelValue:a(l).delivery,"onUpdate:modelValue":o[20]||(o[20]=t=>a(l).delivery=t)},null,8,["modelValue"])]),_:1}),e(n,{label:"活动性质"},{default:d(()=>[e(E,{modelValue:a(l).type,"onUpdate:modelValue":o[21]||(o[21]=t=>a(l).type=t)},{default:d(()=>[e(m,{label:"美食/餐厅线上活动",name:"type"}),e(m,{label:"地推活动",name:"type"}),e(m,{label:"线下主题活动",name:"type"}),e(m,{label:"单纯品牌曝光",name:"type"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"特殊资源"},{default:d(()=>[e(U,{modelValue:a(l).resource,"onUpdate:modelValue":o[22]||(o[22]=t=>a(l).resource=t)},{default:d(()=>[e(V,{label:"线上品牌商赞助"}),e(V,{label:"线下场地免费"})]),_:1},8,["modelValue"])]),_:1}),e(n,{label:"活动形式"},{default:d(()=>[e(s,{modelValue:a(l).desc,"onUpdate:modelValue":o[23]||(o[23]=t=>a(l).desc=t),type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1})]),_:1})]),_:1}),e(R,null,{default:d(()=>[e(g,{type:"primary",size:"large"},{default:d(()=>[i(" 立即创建 ")]),_:1}),e(g,{size:"large"},{default:d(()=>[i(" 取消 ")]),_:1})]),_:1})])}}});typeof v=="function"&&v(N);export{N as default}; diff --git a/assets/actionbar.demo-Czcr5Qqb.js.br b/assets/actionbar.demo-Czcr5Qqb.js.br new file mode 100644 index 000000000..e17cd6535 Binary files /dev/null and b/assets/actionbar.demo-Czcr5Qqb.js.br differ diff --git a/assets/actionbar.demo-Czcr5Qqb.js.gz b/assets/actionbar.demo-Czcr5Qqb.js.gz new file mode 100644 index 000000000..4b4480506 Binary files /dev/null and b/assets/actionbar.demo-Czcr5Qqb.js.gz differ diff --git a/assets/alert-CMVXPJVB.js b/assets/alert-CMVXPJVB.js new file mode 100644 index 000000000..5d71b7c00 --- /dev/null +++ b/assets/alert-CMVXPJVB.js @@ -0,0 +1 @@ +import{y as o,e as t,o as s,f as c,i as a}from"./index-C_dOR4Zc.js";const n={},r={class:"alert"};function l(_,f){const e=t("ElAlert");return s(),c("div",r,[a(e,{"show-icon":"",type:"info",title:"「插件」栏目下均为第三方插件的演示页面,框架默认并不包含这些插件。如需使用,请先安装对应插件。",closable:!1})])}const i=o(n,[["render",l],["__scopeId","data-v-95980fad"]]);export{i as default}; diff --git a/assets/alert-CMVXPJVB.js.br b/assets/alert-CMVXPJVB.js.br new file mode 100644 index 000000000..efed2886c --- /dev/null +++ b/assets/alert-CMVXPJVB.js.br @@ -0,0 +1 @@ + 6Nct,u%Wߐ 6FSҳnfdMq -۰BkraM.dvN8`0+t~E)>=˟.\_PU7>? ?_tCoA*0v@A÷A*t0 Y 3+j1 \ No newline at end of file diff --git a/assets/alert-CMVXPJVB.js.gz b/assets/alert-CMVXPJVB.js.gz new file mode 100644 index 000000000..11aaa7ca3 Binary files /dev/null and b/assets/alert-CMVXPJVB.js.gz differ diff --git a/assets/alert-Dnb39lfx.css b/assets/alert-Dnb39lfx.css new file mode 100644 index 000000000..ece972780 --- /dev/null +++ b/assets/alert-Dnb39lfx.css @@ -0,0 +1 @@ +.alert[data-v-95980fad]{padding:20px 20px 0;background-color:var(--g-container-bg);transition:background-color .3s} diff --git a/assets/alert-Dnb39lfx.css.br b/assets/alert-Dnb39lfx.css.br new file mode 100644 index 000000000..3cb785b00 Binary files /dev/null and b/assets/alert-Dnb39lfx.css.br differ diff --git a/assets/animation-BN8wHLjB.js b/assets/animation-BN8wHLjB.js new file mode 100644 index 000000000..77244e8b2 --- /dev/null +++ b/assets/animation-BN8wHLjB.js @@ -0,0 +1 @@ +import{d as T,r as s,e as u,o as t,f as _,i as a,j as e,g as V,n as d,h as n,l as k,F as v,S as p,t as y,T as F,s as $,x as C,R as X,Q as Y,M as c,y as j,z as B}from"./index-C_dOR4Zc.js";import N from"./alert-CMVXPJVB.js";const A={style:{"margin-bottom":"0"}},G={key:0,class:"box"},w=T({__name:"animation",setup(M){const I=s([{label:"Attention seekers",options:[{label:"bounce",value:"animate__bounce"},{label:"flash",value:"animate__flash"},{label:"pulse",value:"animate__pulse"},{label:"rubberBand",value:"animate__rubberBand"},{label:"shakeX",value:"animate__shakeX"},{label:"shakeY",value:"animate__shakeY"},{label:"headShake",value:"animate__headShake"},{label:"swing",value:"animate__swing"},{label:"tada",value:"animate__tada"},{label:"wobble",value:"animate__wobble"},{label:"jello",value:"animate__jello"},{label:"heartBeat",value:"animate__heartBeat"}]},{label:"Back entrances",options:[{label:"backInDown",value:"animate__backInDown"},{label:"backInLeft",value:"animate__backInLeft"},{label:"backInRight",value:"animate__backInRight"},{label:"backInUp",value:"animate__backInUp"}]},{label:"Back exits",options:[{label:"backOutDown",value:"animate__backOutDown"},{label:"backOutLeft",value:"animate__backOutLeft"},{label:"backOutRight",value:"animate__backOutRight"},{label:"backOutUp",value:"animate__backOutUp"}]},{label:"Bouncing entrances",options:[{label:"bounceIn",value:"animate__bounceIn"},{label:"bounceInDown",value:"animate__bounceInDown"},{label:"bounceInLeft",value:"animate__bounceInLeft"},{label:"bounceInRight",value:"animate__bounceInRight"},{label:"bounceInUp",value:"animate__bounceInUp"}]},{label:"Bouncing exits",options:[{label:"bounceOut",value:"animate__bounceOut"},{label:"bounceOutDown",value:"animate__bounceOutDown"},{label:"bounceOutLeft",value:"animate__bounceOutLeft"},{label:"bounceOutRight",value:"animate__bounceOutRight"},{label:"bounceOutUp",value:"animate__bounceOutUp"}]},{label:"Fading entrances",options:[{label:"fadeIn",value:"animate__fadeIn"},{label:"fadeInDown",value:"animate__fadeInDown"},{label:"fadeInDownBig",value:"animate__fadeInDownBig"},{label:"fadeInLeft",value:"animate__fadeInLeft"},{label:"fadeInLeftBig",value:"animate__fadeInLeftBig"},{label:"fadeInRight",value:"animate__fadeInRight"},{label:"fadeInRightBig",value:"animate__fadeInRightBig"},{label:"fadeInUp",value:"animate__fadeInUp"},{label:"fadeInUpBig",value:"animate__fadeInUpBig"},{label:"fadeInTopLeft",value:"animate__fadeInTopLeft"},{label:"fadeInTopRight",value:"animate__fadeInTopRight"},{label:"fadeInBottomLeft",value:"animate__fadeInBottomLeft"},{label:"fadeInBottomRight",value:"animate__fadeInBottomRight"}]},{label:"Fading exits",options:[{label:"fadeOut",value:"animate__fadeOut"},{label:"fadeOutDown",value:"animate__fadeOutDown"},{label:"fadeOutDownBig",value:"animate__fadeOutDownBig"},{label:"fadeOutLeft",value:"animate__fadeOutLeft"},{label:"fadeOutLeftBig",value:"animate__fadeOutLeftBig"},{label:"fadeOutRight",value:"animate__fadeOutRight"},{label:"fadeOutRightBig",value:"animate__fadeOutRightBig"},{label:"fadeOutUp",value:"animate__fadeOutUp"},{label:"fadeOutUpBig",value:"animate__fadeOutUpBig"},{label:"fadeOutTopLeft",value:"animate__fadeOutTopLeft"},{label:"fadeOutTopRight",value:"animate__fadeOutTopRight"},{label:"fadeOutBottomLeft",value:"animate__fadeOutBottomLeft"},{label:"fadeOutBottomRight",value:"animate__fadeOutBottomRight"}]},{label:"Flippers",options:[{label:"flip",value:"animate__flip"},{label:"flipInX",value:"animate__flipInX"},{label:"flipInY",value:"animate__flipInY"},{label:"flipOutX",value:"animate__flipOutX"},{label:"flipOutY",value:"animate__flipOutY"}]},{label:"Lightspeed",options:[{label:"lightSpeedInRight",value:"animate__lightSpeedInRight"},{label:"lightSpeedInLeft",value:"animate__lightSpeedInLeft"},{label:"lightSpeedOutRight",value:"animate__lightSpeedOutRight"},{label:"lightSpeedOutLeft",value:"animate__lightSpeedOutLeft"}]},{label:"Rotating entrances",options:[{label:"rotateIn",value:"animate__rotateIn"},{label:"rotateInDownLeft",value:"animate__rotateInDownLeft"},{label:"rotateInDownRight",value:"animate__rotateInDownRight"},{label:"rotateInUpLeft",value:"animate__rotateInUpLeft"},{label:"rotateInUpRight",value:"animate__rotateInUpRight"}]},{label:"Rotating exits",options:[{label:"rotateOut",value:"animate__rotateOut"},{label:"rotateOutDownLeft",value:"animate__rotateOutDownLeft"},{label:"rotateOutDownRight",value:"animate__rotateOutDownRight"},{label:"rotateOutUpLeft",value:"animate__rotateOutUpLeft"},{label:"rotateOutUpRight",value:"animate__rotateOutUpRight"}]},{label:"Specials",options:[{label:"hinge",value:"animate__hinge"},{label:"jackInTheBox",value:"animate__jackInTheBox"},{label:"rollIn",value:"animate__rollIn"},{label:"rollOut",value:"animate__rollOut"}]},{label:"Zooming entrances",options:[{label:"zoomIn",value:"animate__zoomIn"},{label:"zoomInDown",value:"animate__zoomInDown"},{label:"zoomInLeft",value:"animate__zoomInLeft"},{label:"zoomInRight",value:"animate__zoomInRight"},{label:"zoomInUp",value:"animate__zoomInUp"}]},{label:"Zooming exits",options:[{label:"zoomOut",value:"animate__zoomOut"},{label:"zoomOutDown",value:"animate__zoomOutDown"},{label:"zoomOutLeft",value:"animate__zoomOutLeft"},{label:"zoomOutRight",value:"animate__zoomOutRight"},{label:"zoomOutUp",value:"animate__zoomOutUp"}]},{label:"Sliding entrances",options:[{label:"slideInDown",value:"animate__slideInDown"},{label:"slideInLeft",value:"animate__slideInLeft"},{label:"slideInRight",value:"animate__slideInRight"},{label:"slideInUp",value:"animate__slideInUp"}]},{label:"Sliding exits",options:[{label:"slideOutDown",value:"animate__slideOutDown"},{label:"slideOutLeft",value:"animate__slideOutLeft"},{label:"slideOutRight",value:"animate__slideOutRight"},{label:"slideOutUp",value:"animate__slideOutUp"}]}]),b=s("animate__bounce"),m=s("animate__bounce"),f=s(!0);function U(r){window.open(r,"_blank")}return(r,o)=>{const D=u("ElTag"),z=C,O=u("ElButton"),S=X,h=u("ElOption"),R=u("ElOptionGroup"),L=u("ElSelect"),g=u("ElFormItem"),x=u("ElForm"),E=Y;return t(),_("div",null,[a(N),a(S,{title:"过渡动画",content:"结合 组件使用"},{content:e(()=>[V("p",A,[d(" 安装命令:"),a(D,null,{default:e(()=>[d("pnpm add animate.css")]),_:1})])]),default:e(()=>[a(O,{onClick:o[0]||(o[0]=l=>U("https://github.com/animate-css/animate.css"))},{icon:e(()=>[a(z,{name:"i-ep:link"})]),default:e(()=>[d(" 访问 animate.css ")]),_:1})]),_:1}),a(E,null,{default:e(()=>[a(x,null,{default:e(()=>[a(g,{label:"进入动画(显示)"},{default:e(()=>[a(L,{modelValue:n(b),"onUpdate:modelValue":o[1]||(o[1]=l=>k(b)?b.value=l:null),filterable:""},{default:e(()=>[(t(!0),_(v,null,p(n(I),l=>(t(),c(R,{key:l.label,label:l.label},{default:e(()=>[(t(!0),_(v,null,p(l.options,i=>(t(),c(h,{key:i.label,label:i.label,value:i.value},null,8,["label","value"]))),128))]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(g,{label:"离开动画(隐藏)"},{default:e(()=>[a(L,{modelValue:n(m),"onUpdate:modelValue":o[2]||(o[2]=l=>k(m)?m.value=l:null),filterable:""},{default:e(()=>[(t(!0),_(v,null,p(n(I),l=>(t(),c(R,{key:l.label,label:l.label},{default:e(()=>[(t(!0),_(v,null,p(l.options,i=>(t(),c(h,{key:i.label,label:i.label,value:i.value},null,8,["label","value"]))),128))]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(g,null,{default:e(()=>[a(O,{onClick:o[3]||(o[3]=l=>f.value=!n(f))},{default:e(()=>[d(y(n(f)?"隐藏":"显示"),1)]),_:1})]),_:1})]),_:1}),a(F,{"enter-active-class":`animate__animated ${n(b)}`,"leave-active-class":`animate__animated ${n(m)}`},{default:e(()=>[n(f)?(t(),_("div",G)):$("",!0)]),_:1},8,["enter-active-class","leave-active-class"])]),_:1})])}}});typeof B=="function"&&B(w);const H=j(w,[["__scopeId","data-v-ef6e26e6"]]);export{H as default}; diff --git a/assets/animation-BN8wHLjB.js.br b/assets/animation-BN8wHLjB.js.br new file mode 100644 index 000000000..319e20565 Binary files /dev/null and b/assets/animation-BN8wHLjB.js.br differ diff --git a/assets/animation-BN8wHLjB.js.gz b/assets/animation-BN8wHLjB.js.gz new file mode 100644 index 000000000..6d93f434a Binary files /dev/null and b/assets/animation-BN8wHLjB.js.gz differ diff --git a/assets/animation-C7fubJ7D.css b/assets/animation-C7fubJ7D.css new file mode 100644 index 000000000..6967ef551 --- /dev/null +++ b/assets/animation-C7fubJ7D.css @@ -0,0 +1,7 @@ +@charset "UTF-8";/*! +* animate.css - https://animate.style/ +* Version - 4.1.1 +* Licensed under the MIT license - http://opensource.org/licenses/MIT +* +* Copyright (c) 2020 Animate.css +*/:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}.box[data-v-ef6e26e6]{width:100px;height:100px;background-color:#00bfff} diff --git a/assets/animation-C7fubJ7D.css.br b/assets/animation-C7fubJ7D.css.br new file mode 100644 index 000000000..5560d0f14 Binary files /dev/null and b/assets/animation-C7fubJ7D.css.br differ diff --git a/assets/animation-C7fubJ7D.css.gz b/assets/animation-C7fubJ7D.css.gz new file mode 100644 index 000000000..02fa61002 Binary files /dev/null and b/assets/animation-C7fubJ7D.css.gz differ diff --git a/assets/button-BQb5TCsM.js b/assets/button-BQb5TCsM.js new file mode 100644 index 000000000..bd9bb5dea --- /dev/null +++ b/assets/button-BQb5TCsM.js @@ -0,0 +1 @@ +import{y as u,e as p,o as _,f as s,i as e,j as t,n as l,g as r,x as f}from"./index-C_dOR4Zc.js";const c={},y={style:{"margin-bottom":"10px"}};function m(g,b){const i=p("ElDivider"),a=p("ElButton"),d=p("ElRow"),n=f,o=p("ElButtonGroup");return _(),s("div",null,[e(i,{"content-position":"left"},{default:t(()=>[l(" 基础用法 ")]),_:1}),e(d,null,{default:t(()=>[e(a,null,{default:t(()=>[l("默认按钮")]),_:1}),e(a,{type:"primary"},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success"},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info"},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning"},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger"},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(d,null,{default:t(()=>[e(a,{plain:""},{default:t(()=>[l(" 朴素按钮 ")]),_:1}),e(a,{type:"primary",plain:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",plain:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",plain:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",plain:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",plain:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(d,null,{default:t(()=>[e(a,{round:""},{default:t(()=>[l(" 圆角按钮 ")]),_:1}),e(a,{type:"primary",round:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",round:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",round:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",round:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",round:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(d,null,{default:t(()=>[e(a,{circle:""},{icon:t(()=>[e(n,{name:"i-ep:search"})]),_:1}),e(a,{type:"primary",circle:""},{icon:t(()=>[e(n,{name:"i-ep:edit"})]),_:1}),e(a,{type:"success",circle:""},{icon:t(()=>[e(n,{name:"i-ep:check"})]),_:1}),e(a,{type:"info",circle:""},{icon:t(()=>[e(n,{name:"i-ep:message"})]),_:1}),e(a,{type:"warning",circle:""},{icon:t(()=>[e(n,{name:"i-ep:star"})]),_:1}),e(a,{type:"danger",circle:""},{icon:t(()=>[e(n,{name:"i-ep:delete"})]),_:1})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[l(" 禁用状态 ")]),_:1}),e(d,null,{default:t(()=>[e(a,{disabled:""},{default:t(()=>[l(" 默认按钮 ")]),_:1}),e(a,{type:"primary",disabled:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",disabled:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",disabled:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",disabled:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",disabled:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(d,null,{default:t(()=>[e(a,{plain:"",disabled:""},{default:t(()=>[l(" 朴素按钮 ")]),_:1}),e(a,{type:"primary",plain:"",disabled:""},{default:t(()=>[l(" 主要按钮 ")]),_:1}),e(a,{type:"success",plain:"",disabled:""},{default:t(()=>[l(" 成功按钮 ")]),_:1}),e(a,{type:"info",plain:"",disabled:""},{default:t(()=>[l(" 信息按钮 ")]),_:1}),e(a,{type:"warning",plain:"",disabled:""},{default:t(()=>[l(" 警告按钮 ")]),_:1}),e(a,{type:"danger",plain:"",disabled:""},{default:t(()=>[l(" 危险按钮 ")]),_:1})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"primary",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"success",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"info",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"warning",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(a,{type:"danger",text:""},{default:t(()=>[l(" 文字按钮 ")]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[l(" 图标按钮 ")]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"i-ep:edit"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"i-ep:share"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"i-ep:delete"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"i-ep:search"})]),default:t(()=>[l(" 搜索 ")]),_:1}),e(a,{type:"primary"},{default:t(()=>[l(" 上传 "),e(n,{name:"i-ep:upload",class:"el-icon--right"})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[l(" 按钮组 ")]),_:1}),e(o,{style:{"margin-right":"10px"}},{default:t(()=>[e(a,{type:"primary"},{default:t(()=>[e(n,{name:"i-ep:arrow-left",class:"el-icon--left"}),l(" 上一页 ")]),_:1}),e(a,{type:"primary"},{default:t(()=>[l(" 下一页 "),e(n,{name:"i-ep:arrow-right",class:"el-icon--right"})]),_:1})]),_:1}),e(o,null,{default:t(()=>[e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"i-ep:edit"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"i-ep:share"})]),_:1}),e(a,{type:"primary"},{icon:t(()=>[e(n,{name:"i-ep:delete"})]),_:1})]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[l(" 加载中 ")]),_:1}),e(a,{type:"primary",loading:!0},{default:t(()=>[l(" 加载中 ")]),_:1}),e(i,{"content-position":"left"},{default:t(()=>[l(" 不同尺寸 ")]),_:1}),r("div",y,[e(a,{size:"large"},{default:t(()=>[l(" 大号按钮 ")]),_:1}),e(a,{size:"default"},{default:t(()=>[l(" 默认按钮 ")]),_:1}),e(a,{size:"small"},{default:t(()=>[l(" 小号按钮 ")]),_:1})]),r("div",null,[e(a,{size:"large",round:""},{default:t(()=>[l(" 大号按钮 ")]),_:1}),e(a,{size:"default",round:""},{default:t(()=>[l(" 默认按钮 ")]),_:1}),e(a,{size:"small",round:""},{default:t(()=>[l(" 小号按钮 ")]),_:1})])])}const h=u(c,[["render",m],["__scopeId","data-v-db467965"]]);export{h as default}; diff --git a/assets/button-BQb5TCsM.js.br b/assets/button-BQb5TCsM.js.br new file mode 100644 index 000000000..37a1793d1 Binary files /dev/null and b/assets/button-BQb5TCsM.js.br differ diff --git a/assets/button-BQb5TCsM.js.gz b/assets/button-BQb5TCsM.js.gz new file mode 100644 index 000000000..c58ba91b9 Binary files /dev/null and b/assets/button-BQb5TCsM.js.gz differ diff --git a/assets/button-CnPNnTPE.css b/assets/button-CnPNnTPE.css new file mode 100644 index 000000000..a86d26de0 --- /dev/null +++ b/assets/button-CnPNnTPE.css @@ -0,0 +1 @@ +.el-row[data-v-db467965]{margin-bottom:20px} diff --git a/assets/checkbox-DbYp0mSG.js b/assets/checkbox-DbYp0mSG.js new file mode 100644 index 000000000..c335c719a --- /dev/null +++ b/assets/checkbox-DbYp0mSG.js @@ -0,0 +1 @@ +import{_ as m}from"./checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js";import"./index-C_dOR4Zc.js";export{m as default}; diff --git a/assets/checkbox-DbYp0mSG.js.br b/assets/checkbox-DbYp0mSG.js.br new file mode 100644 index 000000000..8788894ef Binary files /dev/null and b/assets/checkbox-DbYp0mSG.js.br differ diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js b/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js new file mode 100644 index 000000000..c1fdb63f6 --- /dev/null +++ b/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js @@ -0,0 +1 @@ +import{d as g,r as d,e as f,o as r,f as C,i as o,j as l,n as t,h as n,l as s,F as U,S as B,M as A,t as D}from"./index-C_dOR4Zc.js";const N=g({__name:"checkbox",setup(h){const i=d(!0),p=d(!1),V=d(!0),c=d(["选中且禁用","复选框 A"]),v=d(["上海","北京"]),E=d(["上海","北京","广州","深圳"]),_=d(["上海"]),k=d(!0),b=d(!1);return(F,u)=>{const m=f("ElDivider"),a=f("ElCheckbox"),x=f("ElCheckboxGroup"),G=f("ElCheckboxButton");return r(),C("div",null,[o(m,{"content-position":"left"},{default:l(()=>[t(" 基础用法 ")]),_:1}),o(a,{modelValue:n(i),"onUpdate:modelValue":u[0]||(u[0]=e=>s(i)?i.value=e:null)},{default:l(()=>[t(" 备选项 ")]),_:1},8,["modelValue"]),o(m,{"content-position":"left"},{default:l(()=>[t(" 禁用状态 ")]),_:1}),o(a,{modelValue:n(p),"onUpdate:modelValue":u[1]||(u[1]=e=>s(p)?p.value=e:null),disabled:""},{default:l(()=>[t(" 备选项1 ")]),_:1},8,["modelValue"]),o(a,{modelValue:n(V),"onUpdate:modelValue":u[2]||(u[2]=e=>s(V)?V.value=e:null),disabled:""},{default:l(()=>[t(" 备选项 ")]),_:1},8,["modelValue"]),o(m,{"content-position":"left"},{default:l(()=>[t(" 多选框组 ")]),_:1}),o(x,{modelValue:n(c),"onUpdate:modelValue":u[3]||(u[3]=e=>s(c)?c.value=e:null)},{default:l(()=>[o(a,{value:"复选框 A"},{default:l(()=>[t(" 复选框 A ")]),_:1}),o(a,{value:"复选框 B"},{default:l(()=>[t(" 复选框 B ")]),_:1}),o(a,{value:"复选框 C"},{default:l(()=>[t(" 复选框 C ")]),_:1}),o(a,{value:"禁用",disabled:""},{default:l(()=>[t(" 禁用 ")]),_:1}),o(a,{value:"选中且禁用",disabled:""},{default:l(()=>[t(" 选中且禁用 ")]),_:1})]),_:1},8,["modelValue"]),o(m,{"content-position":"left"},{default:l(()=>[t(" 可选项目数量的限制 ")]),_:1}),o(x,{modelValue:n(v),"onUpdate:modelValue":u[4]||(u[4]=e=>s(v)?v.value=e:null),min:1,max:2},{default:l(()=>[(r(!0),C(U,null,B(n(E),e=>(r(),A(a,{key:e,value:e},{default:l(()=>[t(D(e),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),o(m,{"content-position":"left"},{default:l(()=>[t(" 按钮样式 ")]),_:1}),o(x,{modelValue:n(_),"onUpdate:modelValue":u[5]||(u[5]=e=>s(_)?_.value=e:null)},{default:l(()=>[(r(!0),C(U,null,B(n(E),e=>(r(),A(G,{key:e,value:e},{default:l(()=>[t(D(e),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"]),o(m,{"content-position":"left"},{default:l(()=>[t(" 带有边框 ")]),_:1}),o(a,{modelValue:n(k),"onUpdate:modelValue":u[6]||(u[6]=e=>s(k)?k.value=e:null),value:"备选项1",border:""},{default:l(()=>[t(" 备选项1 ")]),_:1},8,["modelValue"]),o(a,{modelValue:n(b),"onUpdate:modelValue":u[7]||(u[7]=e=>s(b)?b.value=e:null),value:"备选项2",border:""},{default:l(()=>[t(" 备选项2 ")]),_:1},8,["modelValue"])])}}});export{N as _}; diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js.br b/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js.br new file mode 100644 index 000000000..fc050b7eb Binary files /dev/null and b/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js.br differ diff --git a/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js.gz b/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js.gz new file mode 100644 index 000000000..79d7128a6 Binary files /dev/null and b/assets/checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js.gz differ diff --git a/assets/count-DL7-Rq8-.css b/assets/count-DL7-Rq8-.css new file mode 100644 index 000000000..31f350c0f --- /dev/null +++ b/assets/count-DL7-Rq8-.css @@ -0,0 +1 @@ +.count-to[data-v-48cf007c]{display:inline-block;margin-bottom:20px;font-size:60px;color:#f6416c} diff --git a/assets/count-DL7-Rq8-.css.br b/assets/count-DL7-Rq8-.css.br new file mode 100644 index 000000000..ec2361506 Binary files /dev/null and b/assets/count-DL7-Rq8-.css.br differ diff --git a/assets/count.to-CBGGjY0N.js b/assets/count.to-CBGGjY0N.js new file mode 100644 index 000000000..f32a5aa71 --- /dev/null +++ b/assets/count.to-CBGGjY0N.js @@ -0,0 +1 @@ +import{y as T,o as D,f as O,t as P,d as $,r as x,e as m,i as l,j as s,g as j,n as c,h as i,x as I,R,Q as B,z as g}from"./index-C_dOR4Zc.js";import U from"./alert-CMVXPJVB.js";let F=0;const v="webkit moz ms o".split(" ");let d,p;const z=typeof window>"u";if(z)d=function(){},p=function(){};else{d=window.requestAnimationFrame,p=window.cancelAnimationFrame;let a;for(let e=0;e{e(t+n)},n);return F=t+n,u},p=function(e){window.clearTimeout(e)})}const M={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator(a){return a>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default(a,e,t,n){return t*(-Math.pow(2,-10*a/n)+1)*1024/1023+e}}},data(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown(){return this.startVal>this.endVal}},watch:{startVal(){this.autoplay&&this.start()},endVal(){this.autoplay&&this.start()}},mounted(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=d(this.count)},pauseResume(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause(){p(this.rAF)},resume(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,d(this.count)},reset(){this.startTime=null,p(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count(a){this.startTime||(this.startTime=a),this.timestamp=a;const e=a-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",u=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;u.test(t);)t=t.replace(u,"$1"+this.separator+"$2");return this.prefix+t+n+this.suffix}},destroyed(){p(this.rAF)}};function H(a,e,t,n,u,b){return D(),O("span",null,P(u.displayValue),1)}const V=T(M,[["render",H]]);function K(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function S(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable})),t.push.apply(t,n)}return t}V.unmounted=V.destroyed,Reflect.deleteProperty(V,"destroyed");var Q=function(a){for(var e=1;e{const N=m("ElTag"),q=I,_=m("ElButton"),A=R,h=m("ElInputNumber"),f=m("ElFormItem"),y=m("ElInput"),C=m("ElForm"),k=B;return D(),O("div",null,[l(U),l(A,{title:"计数器"},{content:s(()=>[j("p",G,[c(" 安装命令:"),l(N,null,{default:s(()=>[c("pnpm add vue3-count-to")]),_:1})])]),default:s(()=>[l(_,{onClick:r[0]||(r[0]=o=>b("https://github.com/xiaofan9/vue-count-to"))},{icon:s(()=>[l(q,{name:"i-ep:link"})]),default:s(()=>[c(" 访问 vue-count-to ")]),_:1})]),_:1}),l(k,null,{default:s(()=>[l(i(Q),{ref_key:"countToRef",ref:e,class:"count-to","start-val":i(t).startVal,"end-val":i(t).endVal,duration:i(t).duration,decimals:i(t).decimals,separator:i(t).separator,prefix:i(t).prefix,suffix:i(t).suffix,autoplay:!1},null,8,["start-val","end-val","duration","decimals","separator","prefix","suffix"]),l(C,{model:i(t),size:"default","label-width":"80px",style:{width:"300px"}},{default:s(()=>[l(f,{label:"startVal"},{default:s(()=>[l(h,{modelValue:i(t).startVal,"onUpdate:modelValue":r[1]||(r[1]=o=>i(t).startVal=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"endVal"},{default:s(()=>[l(h,{modelValue:i(t).endVal,"onUpdate:modelValue":r[2]||(r[2]=o=>i(t).endVal=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"duration"},{default:s(()=>[l(h,{modelValue:i(t).duration,"onUpdate:modelValue":r[3]||(r[3]=o=>i(t).duration=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"decimals"},{default:s(()=>[l(h,{modelValue:i(t).decimals,"onUpdate:modelValue":r[4]||(r[4]=o=>i(t).decimals=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"separator"},{default:s(()=>[l(y,{modelValue:i(t).separator,"onUpdate:modelValue":r[5]||(r[5]=o=>i(t).separator=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"prefix"},{default:s(()=>[l(y,{modelValue:i(t).prefix,"onUpdate:modelValue":r[6]||(r[6]=o=>i(t).prefix=o)},null,8,["modelValue"])]),_:1}),l(f,{label:"suffix"},{default:s(()=>[l(y,{modelValue:i(t).suffix,"onUpdate:modelValue":r[7]||(r[7]=o=>i(t).suffix=o)},null,8,["modelValue"])]),_:1}),l(f,null,{default:s(()=>[l(_,{type:"primary",onClick:n},{default:s(()=>[c(" 开始 ")]),_:1}),l(_,{onClick:u},{default:s(()=>[c(" 暂停 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof g=="function"&&g(E);const W=T(E,[["__scopeId","data-v-48cf007c"]]);export{W as default}; diff --git a/assets/count.to-CBGGjY0N.js.br b/assets/count.to-CBGGjY0N.js.br new file mode 100644 index 000000000..7e52f7d3d Binary files /dev/null and b/assets/count.to-CBGGjY0N.js.br differ diff --git a/assets/count.to-CBGGjY0N.js.gz b/assets/count.to-CBGGjY0N.js.gz new file mode 100644 index 000000000..16830d731 Binary files /dev/null and b/assets/count.to-CBGGjY0N.js.gz differ diff --git a/assets/currency.input-C0jKDMYz.js b/assets/currency.input-C0jKDMYz.js new file mode 100644 index 000000000..68581c6b9 --- /dev/null +++ b/assets/currency.input-C0jKDMYz.js @@ -0,0 +1,5 @@ +import{r as g,H as ne,I as j,ay as Ie,c9 as Ce,d as we,B as Me,ac as Pe,e as O,o as x,f as $,i as u,j as h,g as D,t as ie,M as I,N as ae,s as ue,h as l,n as G,l as S,F as B,S as W,x as $e,R as ke,Q as Ae,z as re}from"./index-C_dOR4Zc.js";import{d as Ge,a as Le}from"./index-RuUgmrQn.js";import Ue from"./alert-CMVXPJVB.js";/** + * Vue Currency Input 3.1.0 + * (c) 2018-2024 Matthias Stiller + * @license MIT + */var A;(function(r){r.symbol="symbol",r.narrowSymbol="narrowSymbol",r.code="code",r.name="name",r.hidden="hidden"})(A||(A={}));var k;(function(r){r.precision="precision",r.thousands="thousands",r.millions="millions",r.billions="billions"})(k||(k={}));const Z=r=>r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),de=r=>r.replace(/^0+(0$|[^0])/,"$1"),te=(r,e)=>(r.match(new RegExp(Z(e),"g"))||[]).length,Te=(r,e)=>r.substring(0,r.indexOf(e)),me=[",",".","٫","。"],ce="(0|[1-9]\\d*)";class ze{constructor(e){var i,n,o,v,m,f;const{currency:y,currencyDisplay:F,locale:a,precision:c,accountingSign:p,useGrouping:V}=e;this.locale=a,this.options={currency:y,useGrouping:V,style:"currency",currencySign:p?"accounting":void 0,currencyDisplay:F!==A.hidden?F:void 0};const b=new Intl.NumberFormat(a,this.options),E=b.formatToParts(123456);this.currency=(i=E.find(({type:d})=>d==="currency"))===null||i===void 0?void 0:i.value,this.digits=[0,1,2,3,4,5,6,7,8,9].map(d=>d.toLocaleString(a)),this.decimalSymbol=(n=E.find(({type:d})=>d==="decimal"))===null||n===void 0?void 0:n.value,this.groupingSymbol=(o=E.find(({type:d})=>d==="group"))===null||o===void 0?void 0:o.value,this.minusSign=(v=b.formatToParts(-1).find(({type:d})=>d==="minusSign"))===null||v===void 0?void 0:v.value,this.decimalSymbol===void 0?this.minimumFractionDigits=this.maximumFractionDigits=0:typeof c=="number"?this.minimumFractionDigits=this.maximumFractionDigits=c:(this.minimumFractionDigits=(m=c==null?void 0:c.min)!==null&&m!==void 0?m:b.resolvedOptions().minimumFractionDigits,this.maximumFractionDigits=(f=c==null?void 0:c.max)!==null&&f!==void 0?f:b.resolvedOptions().maximumFractionDigits);const N=d=>Te(d,this.digits[1]),R=d=>d.substring(d.lastIndexOf(this.decimalSymbol?this.digits[0]:this.digits[1])+1);this.prefix=N(b.format(1)),this.suffix=R(b.format(1)),this.negativePrefix=N(b.format(-1)),this.negativeSuffix=R(b.format(-1))}parse(e){if(e){const i=this.isNegative(e);e=this.normalizeDigits(e),e=this.stripCurrency(e,i),e=this.stripSignLiterals(e);const n=this.decimalSymbol?`(?:${Z(this.decimalSymbol)}(\\d*))?`:"",o=this.stripGroupingSeparator(e).match(new RegExp(`^${ce}${n}$`));if(o&&this.isValidIntegerFormat(this.decimalSymbol?e.split(this.decimalSymbol)[0]:e,Number(o[1])))return+`${i?"-":""}${this.onlyDigits(o[1])}.${this.onlyDigits(o[2]||"")}`}return null}isValidIntegerFormat(e,i){const n={...this.options,minimumFractionDigits:0};return[this.stripCurrency(this.normalizeDigits(i.toLocaleString(this.locale,{...n,useGrouping:!0})),!1),this.stripCurrency(this.normalizeDigits(i.toLocaleString(this.locale,{...n,useGrouping:!1})),!1)].includes(e)}format(e,i={minimumFractionDigits:this.minimumFractionDigits,maximumFractionDigits:this.maximumFractionDigits}){return e!=null?e.toLocaleString(this.locale,{...this.options,...i}):""}toFraction(e){return`${this.digits[0]}${this.decimalSymbol}${this.onlyLocaleDigits(e.substring(1)).substring(0,this.maximumFractionDigits)}`}isFractionIncomplete(e){return!!this.normalizeDigits(this.stripGroupingSeparator(e)).match(new RegExp(`^${ce}${Z(this.decimalSymbol)}$`))}isNegative(e){return e.startsWith(this.negativePrefix)||this.minusSign===void 0&&(e.startsWith("(")||e.startsWith("-"))||this.minusSign!==void 0&&e.replace("-",this.minusSign).startsWith(this.minusSign)}insertCurrency(e,i){return`${i?this.negativePrefix:this.prefix}${e}${i?this.negativeSuffix:this.suffix}`}stripGroupingSeparator(e){return this.groupingSymbol!==void 0?e.replace(new RegExp(Z(this.groupingSymbol),"g"),""):e}stripSignLiterals(e){return this.minusSign!==void 0?e.replace("-",this.minusSign).replace(this.minusSign,""):e.replace(/[-()]/g,"")}stripCurrency(e,i){return e.replace(i?this.negativePrefix:this.prefix,"").replace(i?this.negativeSuffix:this.suffix,"")}normalizeDecimalSeparator(e,i){return me.forEach(n=>{e=e.substring(0,i)+e.substring(i).replace(n,this.decimalSymbol)}),e}normalizeDigits(e){return this.digits[0]!=="0"&&this.digits.forEach((i,n)=>{e=e.replace(new RegExp(i,"g"),String(n))}),e}onlyDigits(e){return this.normalizeDigits(e).replace(/\D+/g,"")}onlyLocaleDigits(e){return e.replace(new RegExp(`[^${this.digits.join("")}]*`,"g"),"")}}class he{constructor(e){this.currencyFormat=e}}class Be extends he{conformToMask(e,i=""){const n=this.currencyFormat.isNegative(e),o=b=>b===""&&n&&!(this.currencyFormat.minusSign===void 0?i===this.currencyFormat.negativePrefix+this.currencyFormat.negativeSuffix:i===this.currencyFormat.negativePrefix),v=b=>{if(o(b))return"";if(this.currencyFormat.maximumFractionDigits>0){if(this.currencyFormat.isFractionIncomplete(b))return b;if(b.startsWith(this.currencyFormat.decimalSymbol))return this.currencyFormat.toFraction(b)}return null};let m=e;m=this.currencyFormat.stripCurrency(m,n),m=this.currencyFormat.stripSignLiterals(m);const f=v(m);if(f!=null)return this.currencyFormat.insertCurrency(f,n);const[y,...F]=m.split(this.currencyFormat.decimalSymbol),a=de(this.currencyFormat.onlyDigits(y)),c=this.currencyFormat.onlyDigits(F.join("")).substring(0,this.currencyFormat.maximumFractionDigits),p=F.length>0&&c.length===0,V=a===""&&n&&(this.currencyFormat.minusSign===void 0?i===e.slice(0,-2)+this.currencyFormat.negativeSuffix:i===e.slice(0,-1));return p||V||o(a)?i:a.match(/\d+/)?{numberValue:+`${n?"-":""}${a}.${c}`,fractionDigits:c}:""}}class We extends he{conformToMask(e,i=""){if(e===""||this.currencyFormat.parse(i)===0&&this.currencyFormat.stripCurrency(i,!0).slice(0,-1)===this.currencyFormat.stripCurrency(e,!0))return"";const n=this.currencyFormat.isNegative(e),o=this.currencyFormat.stripSignLiterals(e)===""?-0:+`${n?"-":""}${de(this.currencyFormat.onlyDigits(e))}`/Math.pow(10,this.currencyFormat.maximumFractionDigits);return{numberValue:o,fractionDigits:o.toFixed(this.currencyFormat.maximumFractionDigits).slice(-this.currencyFormat.maximumFractionDigits)}}}const je={locale:void 0,currency:void 0,currencyDisplay:void 0,hideGroupingSeparatorOnFocus:!0,hideCurrencySymbolOnFocus:!0,hideNegligibleDecimalDigitsOnFocus:!0,precision:void 0,autoDecimalDigits:!1,valueRange:void 0,useGrouping:void 0,valueScaling:void 0};class He{constructor(e){this.el=e.el,this.onInput=e.onInput,this.onChange=e.onChange,this.addEventListener(),this.init(e.options)}setOptions(e){this.init(e),this.format(this.currencyFormat.format(this.validateValueRange(this.numberValue))),this.onChange(this.getValue())}getValue(){return{number:this.valueScaling&&this.numberValue!=null?this.toInteger(this.numberValue,this.valueScaling):this.numberValue,formatted:this.formattedValue}}setValue(e){const i=this.valueScaling!==void 0&&e!=null?this.toFloat(e,this.valueScaling):e;i!==this.numberValue&&(this.format(this.currencyFormat.format(this.validateValueRange(i))),this.onChange(this.getValue()))}init(e){this.options={...je,...e},this.options.autoDecimalDigits&&(this.options.hideNegligibleDecimalDigitsOnFocus=!1),this.el.getAttribute("inputmode")||this.el.setAttribute("inputmode",this.options.autoDecimalDigits?"numeric":"decimal"),this.currencyFormat=new ze(this.options),this.numberMask=this.options.autoDecimalDigits?new We(this.currencyFormat):new Be(this.currencyFormat);const i={[k.precision]:this.currencyFormat.maximumFractionDigits,[k.thousands]:3,[k.millions]:6,[k.billions]:9};this.valueScaling=this.options.valueScaling?i[this.options.valueScaling]:void 0,this.valueScalingFractionDigits=this.valueScaling!==void 0&&this.options.valueScaling!==k.precision?this.valueScaling+this.currencyFormat.maximumFractionDigits:this.currencyFormat.maximumFractionDigits,this.minValue=this.getMinValue(),this.maxValue=this.getMaxValue()}getMinValue(){var e,i;let n=this.toFloat(-Number.MAX_SAFE_INTEGER);return((e=this.options.valueRange)===null||e===void 0?void 0:e.min)!==void 0&&(n=Math.max((i=this.options.valueRange)===null||i===void 0?void 0:i.min,this.toFloat(-Number.MAX_SAFE_INTEGER))),n}getMaxValue(){var e,i;let n=this.toFloat(Number.MAX_SAFE_INTEGER);return((e=this.options.valueRange)===null||e===void 0?void 0:e.max)!==void 0&&(n=Math.min((i=this.options.valueRange)===null||i===void 0?void 0:i.max,this.toFloat(Number.MAX_SAFE_INTEGER))),n}toFloat(e,i){return e/Math.pow(10,i??this.valueScalingFractionDigits)}toInteger(e,i){return Number(e.toFixed(i??this.valueScalingFractionDigits).split(".").join(""))}validateValueRange(e){return e!=null?Math.min(Math.max(e,this.minValue),this.maxValue):e}format(e,i=!1){if(e!=null){this.decimalSymbolInsertedAt!==void 0&&(e=this.currencyFormat.normalizeDecimalSeparator(e,this.decimalSymbolInsertedAt),this.decimalSymbolInsertedAt=void 0);const n=this.numberMask.conformToMask(e,this.formattedValue);let o;if(typeof n=="object"){const{numberValue:v,fractionDigits:m}=n;let{maximumFractionDigits:f,minimumFractionDigits:y}=this.currencyFormat;this.focus?y=i?m.replace(/0+$/,"").length:Math.min(f,m.length):Number.isInteger(v)&&!this.options.autoDecimalDigits&&(this.options.precision===void 0||y===0)&&(y=f=0),o=this.toInteger(Math.abs(v))>Number.MAX_SAFE_INTEGER?this.formattedValue:this.currencyFormat.format(v,{useGrouping:this.options.useGrouping!==!1&&!(this.focus&&this.options.hideGroupingSeparatorOnFocus),minimumFractionDigits:y,maximumFractionDigits:f})}else o=n;this.maxValue<=0&&!this.currencyFormat.isNegative(o)&&this.currencyFormat.parse(o)!==0&&(o=o.replace(this.currencyFormat.prefix,this.currencyFormat.negativePrefix)),this.minValue>=0&&(o=o.replace(this.currencyFormat.negativePrefix,this.currencyFormat.prefix)),(this.options.currencyDisplay===A.hidden||this.focus&&this.options.hideCurrencySymbolOnFocus)&&(o=o.replace(this.currencyFormat.negativePrefix,this.currencyFormat.minusSign!==void 0?this.currencyFormat.minusSign:"(").replace(this.currencyFormat.negativeSuffix,this.currencyFormat.minusSign!==void 0?"":")").replace(this.currencyFormat.prefix,"").replace(this.currencyFormat.suffix,"")),this.el.value=o,this.numberValue=this.currencyFormat.parse(o)}else this.el.value="",this.numberValue=null;this.formattedValue=this.el.value,this.onInput(this.getValue())}addEventListener(){this.el.addEventListener("input",e=>{const{value:i,selectionStart:n}=this.el,o=e;if(n&&o.data&&me.includes(o.data)&&(this.decimalSymbolInsertedAt=n-1),this.format(i),this.focus&&n!=null){const v=()=>{const{prefix:m,suffix:f,decimalSymbol:y,maximumFractionDigits:F,groupingSymbol:a}=this.currencyFormat;let c=i.length-n;const p=this.formattedValue.length;if(this.currencyFormat.minusSign===void 0&&(i.startsWith("(")||i.startsWith("-"))&&!i.endsWith(")"))return p-this.currencyFormat.negativeSuffix.length>1?this.formattedValue.substring(n).length:1;if(this.formattedValue.substring(n,1)===a&&te(this.formattedValue,a)===te(i,a)+1)return p-c-1;if(p1&&n<=V)return this.formattedValue.indexOf(y)+1;!this.options.autoDecimalDigits&&n>V&&this.currencyFormat.onlyDigits(i.substring(V)).length-1===F&&(c-=1)}return this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===A.hidden?p-c:Math.max(p-Math.max(c,f.length),m.length)};this.setCaretPosition(v())}}),this.el.addEventListener("focus",()=>{this.focus=!0,this.numberValueOnFocus=this.numberValue,setTimeout(()=>{const{value:e,selectionStart:i,selectionEnd:n}=this.el;if(this.format(e,this.options.hideNegligibleDecimalDigitsOnFocus),i!=null&&n!=null&&Math.abs(i-n)>0)this.setCaretPosition(0,this.el.value.length);else if(i!=null){const o=this.getCaretPositionOnFocus(e,i);this.setCaretPosition(o)}})}),this.el.addEventListener("blur",()=>{this.focus=!1,this.format(this.currencyFormat.format(this.validateValueRange(this.numberValue))),this.numberValueOnFocus!==this.numberValue&&this.onChange(this.getValue())})}getCaretPositionOnFocus(e,i){if(this.numberValue==null)return i;const{prefix:n,negativePrefix:o,suffix:v,negativeSuffix:m,groupingSymbol:f,currency:y}=this.currencyFormat,F=this.numberValue<0,a=F?o:n,c=a.length;if(this.options.hideCurrencySymbolOnFocus||this.options.currencyDisplay===A.hidden){if(F){if(i<=1)return 1;if(e.endsWith(")")&&i>e.indexOf(")"))return this.formattedValue.length-1}}else{const V=F?m.length:v.length;if(i>=e.length-V)return this.formattedValue.length-V;if(i=c&&y!==void 0&&a.includes(y)&&(p-=c,F&&(p+=1)),this.options.hideGroupingSeparatorOnFocus&&f!==void 0&&(p-=te(e.substring(0,i),f)),p}setCaretPosition(e,i=e){this.el.setSelectionRange(e,i)}}const Xe=r=>r!=null&&r.matches("input")?r:r==null?void 0:r.querySelector("input");function Je(r,e){var i,n,o,v;let m;const f=g(null),y=g(null),F=g(null),a=Ie(),c=(a==null?void 0:a.emit)||((n=(i=a==null?void 0:a.proxy)===null||i===void 0?void 0:i.$emit)===null||n===void 0?void 0:n.bind(a==null?void 0:a.proxy)),p=(a==null?void 0:a.props)||((o=a==null?void 0:a.proxy)===null||o===void 0?void 0:o.$props),V=Ce.startsWith("3"),b=V&&((v=a==null?void 0:a.attrs.modelModifiers)===null||v===void 0?void 0:v.lazy),E=ne(()=>p==null?void 0:p[V?"modelValue":"value"]),N=V?"update:modelValue":"input",R=b?"update:modelValue":"change";return j(f,d=>{var C;if(d){const w=Xe((C=d==null?void 0:d.$el)!==null&&C!==void 0?C:d);w?(m=new He({el:w,options:r,onInput:M=>{!b&&e!==!1&&E.value!==M.number&&(c==null||c(N,M.number)),F.value=M.number,y.value=M.formatted},onChange:M=>{c==null||c(R,M.number)}}),m.setValue(E.value)):console.error('No input element found. Please make sure that the "inputRef" template ref is properly assigned.')}else m=null}),{inputRef:f,numberValue:F,formattedValue:y,setValue:d=>m==null?void 0:m.setValue(d),setOptions:d=>m==null?void 0:m.setOptions(d)}}const Ye={class:"mb-6 min-w-0"},Ze={class:"mb-2 flex items-center justify-between"},qe={class:"text-xl font-medium"},Qe={key:0,class:"mb-2 text-sm opacity-30"},Ke={style:{"margin-bottom":"0"}},ei={class:"grid items-center gap-y-4 md-grid-cols-2 md-gap-x-8"},ii={class:"ml-2"},ti={class:"flex items-center justify-between"},ni={class:"grid grid-cols-1 gap-x-8 md-grid-cols-2"},li={class:"flex items-center space-x-4"},si=D("span",{class:"text-center"},"to",-1),oi=we({__name:"currency.input",setup(r){const e=Ge(),i=g(!1),n=g("zh-ZH"),o=g(["de-DE","de-CH","en-US","en-IN","nl-NL","sv-SE","fr-FR","es-ES","pt-PT","pt-BR","zh-ZH","ja-JP","ar-SA","fa-IR","bg-BG"]),v=g("CNY"),m=g(["EUR","USD","GBP","BRL","INR","CNY","JPY","SAR","IRR","BGN"]),f=g("symbol"),y=g([{value:"symbol",label:"Symbol"},{value:"narrowSymbol",label:"Narrow symbol"},{value:"code",label:"Code"},{value:"name",label:"Name"},{value:"hidden",label:"Hidden"}]),F=g(!1),a=g(!0),c=g(!0),p=g(!0),V=g(!0),b=g(!0),E=g(!1),N=g(void 0),R=g(void 0),d=g(!1),C=g(!1),w=g([2,5]);function M(_,s){return Array(s-_).fill(_).map((K,ee)=>K+ee)}const H=g(2),ge=ne(()=>M(1,16)),L=g(!1),X=g("precision"),pe=g([{value:"precision",label:"Precision"},{value:"thousands",label:"Thousands"},{value:"millions",label:"Millions"},{value:"billions",label:"Billions"}]),U=g(!1);j(U,_=>{b.value=!_,V.value=!_});const q=ne(()=>({locale:i.value?n.value:void 0,currency:v.value,currencyDisplay:f.value,valueRange:E.value?{min:N.value===""?void 0:N.value,max:R.value===""?void 0:R.value}:void 0,precision:d.value?C.value?{min:w.value[0],max:w.value[1]}:H.value:void 0,hideCurrencySymbolOnFocus:c.value,hideGroupingSeparatorOnFocus:p.value,hideNegligibleDecimalDigitsOnFocus:V.value,autoDecimalDigits:U.value,valueScaling:L.value?X.value:void 0,useGrouping:a.value,accountingSign:F.value})),{inputRef:fe,setValue:ve,setOptions:be,numberValue:J,formattedValue:Q}=Je(q.value);j(q,_=>{be(_)}),j(J,_=>{ve(_)},{immediate:!0}),Me(()=>{J.value=1234.5});const{copy:ye,copied:Fe,isSupported:Ve}=Le();j(Fe,_=>{_&&Pe.success("复制成功",{zIndex:2e3})});function Se(){ye(JSON.stringify(q.value,null,2))}function xe(_){window.open(_,"_blank")}return(_,s)=>{const K=O("ElTag"),ee=$e,De=O("ElButton"),_e=ke,Ee=O("el-input"),le=Ae,Ne=O("el-button"),P=O("el-switch"),T=O("el-option"),z=O("el-select"),Y=O("el-checkbox"),se=O("el-input-number"),Re=O("el-slider");return x(),$("div",null,[u(l(e).define,null,{default:h(({$slots:t,label:Oe,description:oe})=>[D("section",Ye,[D("div",Ze,[D("span",qe,ie(Oe),1),(x(),I(ae(t.switch)))]),oe?(x(),$("div",Qe,ie(oe),1)):ue("",!0),(x(),I(ae(t.default)))])]),_:1}),u(Ue),u(_e,{title:"货币格式输入"},{content:h(()=>[D("p",Ke,[G(" 安装命令:"),u(K,null,{default:h(()=>[G("pnpm add vue-currency-input")]),_:1})])]),default:h(()=>[u(De,{onClick:s[0]||(s[0]=t=>xe("https://github.com/dm4t2/vue-currency-input"))},{icon:h(()=>[u(ee,{name:"i-ep:link"})]),default:h(()=>[G(" 访问 vue-currency-input ")]),_:1})]),_:1}),u(le,null,{default:h(()=>[D("div",ei,[u(Ee,{ref_key:"inputRef",ref:fe,modelValue:l(Q),"onUpdate:modelValue":s[1]||(s[1]=t=>S(Q)?Q.value=t:null)},null,8,["modelValue"]),D("div",null,[G(" 数值:"),D("code",ii,ie(l(J)!=null?l(J):"null"),1)])])]),_:1}),u(le,{title:"选项"},{title:h(()=>[D("div",ti,[G(" 选项 "),l(Ve)?(x(),I(Ne,{key:0,size:"small",onClick:Se},{default:h(()=>[G(" 复制选项 ")]),_:1})):ue("",!0)])]),default:h(()=>[D("div",ni,[D("div",null,[u(l(e).reuse,{label:"地理位置"},{switch:h(()=>[u(P,{modelValue:l(i),"onUpdate:modelValue":s[2]||(s[2]=t=>S(i)?i.value=t:null)},null,8,["modelValue"])]),default:h(()=>[u(z,{modelValue:l(n),"onUpdate:modelValue":s[3]||(s[3]=t=>S(n)?n.value=t:null),disabled:!l(i)},{default:h(()=>[(x(!0),$(B,null,W(l(o),t=>(x(),I(T,{key:t,value:t,label:t},null,8,["value","label"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1}),u(l(e).reuse,{label:"货币"},{default:h(()=>[u(z,{modelValue:l(v),"onUpdate:modelValue":s[4]||(s[4]=t=>S(v)?v.value=t:null)},{default:h(()=>[(x(!0),$(B,null,W(l(m),t=>(x(),I(T,{key:t,value:t,label:t},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),u(l(e).reuse,{label:"货币显示",description:"如何在格式化中显示货币"},{default:h(()=>[u(z,{modelValue:l(f),"onUpdate:modelValue":s[5]||(s[5]=t=>S(f)?f.value=t:null)},{default:h(()=>[(x(!0),$(B,null,W(l(y),t=>(x(),I(T,{key:t.value,value:t.value,label:t.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue"])]),_:1}),u(l(e).reuse,{label:"会计标志",description:"是否使用会计符号格式化"},{switch:h(()=>[u(P,{modelValue:l(F),"onUpdate:modelValue":s[6]||(s[6]=t=>S(F)?F.value=t:null)},null,8,["modelValue"])]),_:1}),u(l(e).reuse,{label:"使用分组",description:"是否使用分组分隔符,如千/万/千万分隔符"},{switch:h(()=>[u(P,{modelValue:l(a),"onUpdate:modelValue":s[7]||(s[7]=t=>S(a)?a.value=t:null)},null,8,["modelValue"])]),_:1}),u(l(e).reuse,{label:"无干扰输入",description:"对焦时隐藏格式的不同部分,以方便输入"},{default:h(()=>[D("div",null,[u(Y,{modelValue:l(c),"onUpdate:modelValue":s[8]||(s[8]=t=>S(c)?c.value=t:null),label:"隐藏货币符号"},null,8,["modelValue"])]),D("div",null,[u(Y,{modelValue:l(p),"onUpdate:modelValue":s[9]||(s[9]=t=>S(p)?p.value=t:null),label:"隐藏分组分隔符"},null,8,["modelValue"])]),D("div",null,[u(Y,{modelValue:l(V),"onUpdate:modelValue":s[10]||(s[10]=t=>S(V)?V.value=t:null),disabled:!l(b),label:"隐藏可忽略的小数位数"},null,8,["modelValue","disabled"])])]),_:1})]),D("div",null,[u(l(e).reuse,{label:"数值范围",description:"验证在模糊时触发,并在超出范围时自动设置相应的阈值"},{switch:h(()=>[u(P,{modelValue:l(E),"onUpdate:modelValue":s[11]||(s[11]=t=>S(E)?E.value=t:null)},null,8,["modelValue"])]),default:h(()=>[D("div",li,[u(se,{modelValue:l(N),"onUpdate:modelValue":s[12]||(s[12]=t=>S(N)?N.value=t:null),disabled:!l(E),placeholder:"最小值",class:"flex-1"},null,8,["modelValue","disabled"]),si,u(se,{modelValue:l(R),"onUpdate:modelValue":s[13]||(s[13]=t=>S(R)?R.value=t:null),disabled:!l(E),placeholder:"最大值",class:"flex-1"},null,8,["modelValue","disabled"])])]),_:1}),u(l(e).reuse,{label:"精确度",description:"覆盖显示的小数位数,仅适用于支持小数位的货币"},{switch:h(()=>[u(P,{modelValue:l(d),"onUpdate:modelValue":s[14]||(s[14]=t=>S(d)?d.value=t:null)},null,8,["modelValue"])]),default:h(()=>[D("div",null,[u(Y,{modelValue:l(C),"onUpdate:modelValue":s[15]||(s[15]=t=>S(C)?C.value=t:null),disabled:!l(d),label:"使用范围"},null,8,["modelValue","disabled"]),l(C)?(x(),I(Re,{key:0,modelValue:l(w),"onUpdate:modelValue":s[16]||(s[16]=t=>S(w)?w.value=t:null),range:"","show-stops":"",min:1,max:15},null,8,["modelValue"])):(x(),I(z,{key:1,modelValue:l(H),"onUpdate:modelValue":s[17]||(s[17]=t=>S(H)?H.value=t:null),disabled:!l(d)},{default:h(()=>[(x(!0),$(B,null,W(l(ge),t=>(x(),I(T,{key:t,value:t,label:t},null,8,["value","label"]))),128))]),_:1},8,["modelValue","disabled"]))])]),_:1}),u(l(e).reuse,{label:"数值缩放",description:"对输出值进行缩放"},{switch:h(()=>[u(P,{modelValue:l(L),"onUpdate:modelValue":s[18]||(s[18]=t=>S(L)?L.value=t:null)},null,8,["modelValue"])]),default:h(()=>[u(z,{modelValue:l(X),"onUpdate:modelValue":s[19]||(s[19]=t=>S(X)?X.value=t:null),disabled:!l(L)},{default:h(()=>[(x(!0),$(B,null,W(l(pe),t=>(x(),I(T,{key:t.value,value:t.value,label:t.label},null,8,["value","label"]))),128))]),_:1},8,["modelValue","disabled"])]),_:1}),u(l(e).reuse,{label:"自动小数位",description:"是否自动插入小数符号,将最后输入的数字作为小数位"},{switch:h(()=>[u(P,{modelValue:l(U),"onUpdate:modelValue":s[20]||(s[20]=t=>S(U)?U.value=t:null)},null,8,["modelValue"])]),_:1})])])]),_:1})])}}});typeof re=="function"&&re(oi);export{oi as default}; diff --git a/assets/currency.input-C0jKDMYz.js.br b/assets/currency.input-C0jKDMYz.js.br new file mode 100644 index 000000000..1cce5764e Binary files /dev/null and b/assets/currency.input-C0jKDMYz.js.br differ diff --git a/assets/currency.input-C0jKDMYz.js.gz b/assets/currency.input-C0jKDMYz.js.gz new file mode 100644 index 000000000..efc2b5d6a Binary files /dev/null and b/assets/currency.input-C0jKDMYz.js.gz differ diff --git a/assets/detail-DFqVToDF.js b/assets/detail-DFqVToDF.js new file mode 100644 index 000000000..8e7159f82 --- /dev/null +++ b/assets/detail-DFqVToDF.js @@ -0,0 +1 @@ +import{d as r,a as c,e as u,o as _,M as l,j as t,i as f,n as i,h as p,Q as m,z as o}from"./index-C_dOR4Zc.js";const d=r({__name:"detail",setup(k){const n=c();return(x,e)=>{const a=u("ElButton"),s=m;return _(),l(s,null,{default:t(()=>[f(a,{onClick:e[0]||(e[0]=B=>p(n).go(-1))},{default:t(()=>[i(" 返回 ")]),_:1})]),_:1})}}});typeof o=="function"&&o(d);export{d as default}; diff --git a/assets/detail-DFqVToDF.js.br b/assets/detail-DFqVToDF.js.br new file mode 100644 index 000000000..9683e8730 --- /dev/null +++ b/assets/detail-DFqVToDF.js.br @@ -0,0 +1,3 @@ +v@n =.S 8Ic9*b[Z&*PLIJ]lfo*G)e3hEKL͹GjΆ5 ⊓1{()gÉM͕F^[W;ZTʁ۴Vp +^]OtWFAxu;Q;U h񀾲Z~ w#;$ [@0O +KkKh~t]ꙶa) \ No newline at end of file diff --git a/assets/detail-DFqVToDF.js.gz b/assets/detail-DFqVToDF.js.gz new file mode 100644 index 000000000..231783657 Binary files /dev/null and b/assets/detail-DFqVToDF.js.gz differ diff --git a/assets/detail1-I779g0ZN.js b/assets/detail1-I779g0ZN.js new file mode 100644 index 000000000..fbaa8e2eb --- /dev/null +++ b/assets/detail1-I779g0ZN.js @@ -0,0 +1 @@ +import{y as n,o as c,f as o,i as s,j as r,n as _,z as e,Q as f}from"./index-C_dOR4Zc.js";const t={};function i(l,d){const a=f;return c(),o("div",null,[s(a,null,{default:r(()=>[_(" 注意看面包屑导航的变化 ")]),_:1})])}typeof e=="function"&&e(t);const m=n(t,[["render",i]]);export{m as default}; diff --git a/assets/detail1-I779g0ZN.js.br b/assets/detail1-I779g0ZN.js.br new file mode 100644 index 000000000..18edc57a4 Binary files /dev/null and b/assets/detail1-I779g0ZN.js.br differ diff --git a/assets/detail1-I779g0ZN.js.gz b/assets/detail1-I779g0ZN.js.gz new file mode 100644 index 000000000..8890cf612 Binary files /dev/null and b/assets/detail1-I779g0ZN.js.gz differ diff --git a/assets/detail2-I779g0ZN.js b/assets/detail2-I779g0ZN.js new file mode 100644 index 000000000..fbaa8e2eb --- /dev/null +++ b/assets/detail2-I779g0ZN.js @@ -0,0 +1 @@ +import{y as n,o as c,f as o,i as s,j as r,n as _,z as e,Q as f}from"./index-C_dOR4Zc.js";const t={};function i(l,d){const a=f;return c(),o("div",null,[s(a,null,{default:r(()=>[_(" 注意看面包屑导航的变化 ")]),_:1})])}typeof e=="function"&&e(t);const m=n(t,[["render",i]]);export{m as default}; diff --git a/assets/detail2-I779g0ZN.js.br b/assets/detail2-I779g0ZN.js.br new file mode 100644 index 000000000..18edc57a4 Binary files /dev/null and b/assets/detail2-I779g0ZN.js.br differ diff --git a/assets/detail2-I779g0ZN.js.gz b/assets/detail2-I779g0ZN.js.gz new file mode 100644 index 000000000..8890cf612 Binary files /dev/null and b/assets/detail2-I779g0ZN.js.gz differ diff --git a/assets/echarts-BAT7EzJz.js b/assets/echarts-BAT7EzJz.js new file mode 100644 index 000000000..b87faef65 --- /dev/null +++ b/assets/echarts-BAT7EzJz.js @@ -0,0 +1,60 @@ +import{d as H2,r as Dl,B as W2,e as Ml,o as U2,f as Y2,i as me,j as _e,g as Ni,n as Bh,x as X2,R as $2,Q as Z2,z as nm}from"./index-C_dOR4Zc.js";import q2 from"./alert-CMVXPJVB.js";/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var sp=function(r,e){return sp=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},sp(r,e)};function k(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");sp(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var K2=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),Q2=function(){function r(){this.browser=new K2,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return r}(),mt=new Q2;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(mt.wxa=!0,mt.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?mt.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(mt.node=!0,mt.svgSupported=!0):J2(navigator.userAgent,mt);function J2(r,e){var t=e.browser,a=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),i=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);a&&(t.firefox=!0,t.version=a[1]),n&&(t.ie=!0,t.version=n[1]),i&&(t.edge=!0,t.version=i[1],t.newEdge=+i[1].split(".")[0]>18),o&&(t.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!t.ie&&!t.edge,e.pointerEventsSupported="onpointerdown"in window&&(t.edge||t.ie&&+t.version>=11),e.domSupported=typeof document<"u";var s=document.documentElement.style;e.transform3dSupported=(t.ie&&"transition"in s||t.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||t.ie&&+t.version>=9}var qd=12,uw="sans-serif",Xa=qd+"px "+uw,j2=20,tI=100,eI="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function rI(r){var e={};if(typeof JSON>"u")return e;for(var t=0;t=0)s=o*t.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",n[u]+":0",a[1-l]+":auto",n[1-u]+":auto",""].join("!important;"),r.appendChild(o),t.push(o)}return t}function wI(r,e,t){for(var a=t?"invTrans":"trans",n=e[a],i=e.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var f=r[u].getBoundingClientRect(),h=2*u,v=f.left,c=f.top;o.push(v,c),l=l&&i&&v===i[h]&&c===i[h+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&n?n:(e.srcCoords=o,e[a]=t?lm(s,o):lm(o,s))}function gw(r){return r.nodeName.toUpperCase()==="CANVAS"}var TI=/([&<>"'])/g,AI={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ge(r){return r==null?"":(r+"").replace(TI,function(e,t){return AI[t]})}var CI=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,zh=[],DI=mt.browser.firefox&&+mt.browser.version.split(".")[0]<39;function pp(r,e,t,a){return t=t||{},a?fm(r,e,t):DI&&e.layerX!=null&&e.layerX!==e.offsetX?(t.zrX=e.layerX,t.zrY=e.layerY):e.offsetX!=null?(t.zrX=e.offsetX,t.zrY=e.offsetY):fm(r,e,t),t}function fm(r,e,t){if(mt.domSupported&&r.getBoundingClientRect){var a=e.clientX,n=e.clientY;if(gw(r)){var i=r.getBoundingClientRect();t.zrX=a-i.left,t.zrY=n-i.top;return}else if(cp(zh,r,a,n)){t.zrX=zh[0],t.zrY=zh[1];return}}t.zrX=t.zrY=0}function rg(r){return r||window.event}function Qe(r,e,t){if(e=rg(e),e.zrX!=null)return e;var a=e.type,n=a&&a.indexOf("touch")>=0;if(n){var o=a!=="touchend"?e.targetTouches[0]:e.changedTouches[0];o&&pp(r,o,e,t)}else{pp(r,e,e,t);var i=MI(e);e.zrDelta=i?i/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&CI.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function MI(r){var e=r.wheelDelta;if(e)return e;var t=r.deltaX,a=r.deltaY;if(t==null||a==null)return e;var n=Math.abs(a!==0?a:t),i=a>0?-1:a<0?1:t>0?-1:1;return 3*n*i}function dp(r,e,t,a){r.addEventListener(e,t,a)}function II(r,e,t,a){r.removeEventListener(e,t,a)}var la=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function hm(r){return r.which===2||r.which===3}var LI=function(){function r(){this._track=[]}return r.prototype.recognize=function(e,t,a){return this._doTrack(e,t,a),this._recognize(e)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(e,t,a){var n=e.touches;if(n){for(var i={points:[],touches:[],target:t,event:e},o=0,s=n.length;o1&&a&&a.length>1){var i=vm(a)/vm(n);!isFinite(i)&&(i=1),e.pinchScale=i;var o=PI(a);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:r[0].target,event:e}}}}};function We(){return[1,0,0,1,0,0]}function jf(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function ag(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4],r[5]=e[5],r}function na(r,e,t){var a=e[0]*t[0]+e[2]*t[1],n=e[1]*t[0]+e[3]*t[1],i=e[0]*t[2]+e[2]*t[3],o=e[1]*t[2]+e[3]*t[3],s=e[0]*t[4]+e[2]*t[5]+e[4],l=e[1]*t[4]+e[3]*t[5]+e[5];return r[0]=a,r[1]=n,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function Hr(r,e,t){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r[4]=e[4]+t[0],r[5]=e[5]+t[1],r}function li(r,e,t,a){a===void 0&&(a=[0,0]);var n=e[0],i=e[2],o=e[4],s=e[1],l=e[3],u=e[5],f=Math.sin(t),h=Math.cos(t);return r[0]=n*h+s*f,r[1]=-n*f+s*h,r[2]=i*h+l*f,r[3]=-i*f+h*l,r[4]=h*(o-a[0])+f*(u-a[1])+a[0],r[5]=h*(u-a[1])-f*(o-a[0])+a[1],r}function ng(r,e,t){var a=t[0],n=t[1];return r[0]=e[0]*a,r[1]=e[1]*n,r[2]=e[2]*a,r[3]=e[3]*n,r[4]=e[4]*a,r[5]=e[5]*n,r}function ho(r,e){var t=e[0],a=e[2],n=e[4],i=e[1],o=e[3],s=e[5],l=t*o-i*a;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-a*l,r[3]=t*l,r[4]=(a*s-o*n)*l,r[5]=(i*n-t*s)*l,r):null}function RI(r){var e=We();return ag(e,r),e}var ut=function(){function r(e,t){this.x=e||0,this.y=t||0}return r.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(e,t){return this.x=e,this.y=t,this},r.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},r.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},r.prototype.scale=function(e){this.x*=e,this.y*=e},r.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},r.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},r.prototype.dot=function(e){return this.x*e.x+this.y*e.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},r.prototype.distance=function(e){var t=this.x-e.x,a=this.y-e.y;return Math.sqrt(t*t+a*a)},r.prototype.distanceSquare=function(e){var t=this.x-e.x,a=this.y-e.y;return t*t+a*a},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(e){if(e){var t=this.x,a=this.y;return this.x=e[0]*t+e[2]*a+e[4],this.y=e[1]*t+e[3]*a+e[5],this}},r.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},r.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},r.set=function(e,t,a){e.x=t,e.y=a},r.copy=function(e,t){e.x=t.x,e.y=t.y},r.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},r.lenSquare=function(e){return e.x*e.x+e.y*e.y},r.dot=function(e,t){return e.x*t.x+e.y*t.y},r.add=function(e,t,a){e.x=t.x+a.x,e.y=t.y+a.y},r.sub=function(e,t,a){e.x=t.x-a.x,e.y=t.y-a.y},r.scale=function(e,t,a){e.x=t.x*a,e.y=t.y*a},r.scaleAndAdd=function(e,t,a,n){e.x=t.x+a.x*n,e.y=t.y+a.y*n},r.lerp=function(e,t,a,n){var i=1-n;e.x=i*t.x+n*a.x,e.y=i*t.y+n*a.y},r}(),Ll=Math.min,Pl=Math.max,rn=new ut,an=new ut,nn=new ut,on=new ut,Co=new ut,Do=new ut,ht=function(){function r(e,t,a,n){a<0&&(e=e+a,a=-a),n<0&&(t=t+n,n=-n),this.x=e,this.y=t,this.width=a,this.height=n}return r.prototype.union=function(e){var t=Ll(e.x,this.x),a=Ll(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Pl(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=Pl(e.y+e.height,this.y+this.height)-a:this.height=e.height,this.x=t,this.y=a},r.prototype.applyTransform=function(e){r.applyTransform(this,this,e)},r.prototype.calculateTransform=function(e){var t=this,a=e.width/t.width,n=e.height/t.height,i=We();return Hr(i,i,[-t.x,-t.y]),ng(i,i,[a,n]),Hr(i,i,[e.x,e.y]),i},r.prototype.intersect=function(e,t){if(!e)return!1;e instanceof r||(e=r.create(e));var a=this,n=a.x,i=a.x+a.width,o=a.y,s=a.y+a.height,l=e.x,u=e.x+e.width,f=e.y,h=e.y+e.height,v=!(ip&&(p=_,dp&&(p=S,y=a.x&&e<=a.x+a.width&&t>=a.y&&t<=a.y+a.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(e){r.copy(this,e)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(e){return new r(e.x,e.y,e.width,e.height)},r.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},r.applyTransform=function(e,t,a){if(!a){e!==t&&r.copy(e,t);return}if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var n=a[0],i=a[3],o=a[4],s=a[5];e.x=t.x*n+o,e.y=t.y*i+s,e.width=t.width*n,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}rn.x=nn.x=t.x,rn.y=on.y=t.y,an.x=on.x=t.x+t.width,an.y=nn.y=t.y+t.height,rn.transform(a),on.transform(a),an.transform(a),nn.transform(a),e.x=Ll(rn.x,an.x,nn.x,on.x),e.y=Ll(rn.y,an.y,nn.y,on.y);var l=Pl(rn.x,an.x,nn.x,on.x),u=Pl(rn.y,an.y,nn.y,on.y);e.width=l-e.x,e.height=u-e.y},r}(),yw="silent";function EI(r,e,t){return{type:r,event:t,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:t.zrX,offsetY:t.zrY,gestureEvent:t.gestureEvent,pinchX:t.pinchX,pinchY:t.pinchY,pinchScale:t.pinchScale,wheelDelta:t.zrDelta,zrByTouch:t.zrByTouch,which:t.which,stop:kI}}function kI(){la(this.event)}var OI=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.handler=null,t}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(lr),Mo=function(){function r(e,t){this.x=e,this.y=t}return r}(),NI=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Fh=new ht(0,0,0,0),mw=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this)||this;return s._hovered=new Mo(0,0),s.storage=t,s.painter=a,s.painterRoot=i,s._pointerSize=o,n=n||new OI,s.proxy=null,s.setHandlerProxy(n),s._draggingMgr=new _I(s),s}return e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(C(NI,function(a){t.on&&t.on(a,this[a],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var a=t.zrX,n=t.zrY,i=_w(this,a,n),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=i?new Mo(a,n):this.findHover(a,n),u=l.target,f=this.proxy;f.setCursor&&f.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",t),this.dispatchToElement(l,"mousemove",t),u&&u!==s&&this.dispatchToElement(l,"mouseover",t)},e.prototype.mouseout=function(t){var a=t.zrEventControl;a!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",t),a!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Mo(0,0)},e.prototype.dispatch=function(t,a){var n=this[t];n&&n.call(this,a)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var a=this.proxy;a.setCursor&&a.setCursor(t)},e.prototype.dispatchToElement=function(t,a,n){t=t||{};var i=t.target;if(!(i&&i.silent)){for(var o="on"+a,s=EI(a,t,n);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(a,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(a,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(a,s)}))}},e.prototype.findHover=function(t,a,n){var i=this.storage.getDisplayList(),o=new Mo(t,a);if(cm(i,o,t,a,n),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,f=new ht(t-u,a-u,l,l),h=i.length-1;h>=0;h--){var v=i[h];v!==n&&!v.ignore&&!v.ignoreCoarsePointer&&(!v.parent||!v.parent.ignoreCoarsePointer)&&(Fh.copy(v.getBoundingRect()),v.transform&&Fh.applyTransform(v.transform),Fh.intersect(f)&&s.push(v))}if(s.length)for(var c=4,p=Math.PI/12,d=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(i,r,e)}});function BI(r,e,t){if(r[r.rectHover?"rectContain":"contain"](e,t)){for(var a=r,n=void 0,i=!1;a;){if(a.ignoreClip&&(i=!0),!i){var o=a.getClipPath();if(o&&!o.contain(e,t))return!1}a.silent&&(n=!0);var s=a.__hostTarget;a=s||a.parent}return n?yw:!0}return!1}function cm(r,e,t,a,n){for(var i=r.length-1;i>=0;i--){var o=r[i],s=void 0;if(o!==n&&!o.ignore&&(s=BI(o,t,a))&&(!e.topTarget&&(e.topTarget=o),s!==yw)){e.target=o;break}}}function _w(r,e,t){var a=r.painter;return e<0||e>a.getWidth()||t<0||t>a.getHeight()}var Sw=32,Io=7;function VI(r){for(var e=0;r>=Sw;)e|=r&1,r>>=1;return r+e}function pm(r,e,t,a){var n=e+1;if(n===t)return 1;if(a(r[n++],r[e])<0){for(;n=0;)n++;return n-e}function zI(r,e,t){for(t--;e>>1,n(i,r[l])<0?s=l:o=l+1;var u=a-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=i}}function Hh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])>0){for(s=a-n;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{for(s=n+1;ls&&(l=s);var u=o;o=n-l,l=n-u}for(o++;o>>1);i(r,e[t+f])>0?o=f+1:l=f}return l}function Wh(r,e,t,a,n,i){var o=0,s=0,l=1;if(i(r,e[t+n])<0){for(s=n+1;ls&&(l=s);var u=o;o=n-l,l=n-u}else{for(s=a-n;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}for(o++;o>>1);i(r,e[t+f])<0?l=f:o=f+1}return l}function GI(r,e){var t=Io,a,n,i=0,o=[];a=[],n=[];function s(c,p){a[i]=c,n[i]=p,i+=1}function l(){for(;i>1;){var c=i-2;if(c>=1&&n[c-1]<=n[c]+n[c+1]||c>=2&&n[c-2]<=n[c]+n[c-1])n[c-1]n[c+1])break;f(c)}}function u(){for(;i>1;){var c=i-2;c>0&&n[c-1]=Io||w>=Io);if(T)break;b<0&&(b=0),b+=2}if(t=b,t<1&&(t=1),p===1){for(y=0;y=0;y--)r[x+y]=r[b+y];r[S]=o[_];return}for(var w=t;;){var T=0,A=0,D=!1;do if(e(o[_],r[m])<0){if(r[S--]=r[m--],T++,A=0,--p===0){D=!0;break}}else if(r[S--]=o[_--],A++,T=0,--g===1){D=!0;break}while((T|A)=0;y--)r[x+y]=r[b+y];if(p===0){D=!0;break}}if(r[S--]=o[_--],--g===1){D=!0;break}if(A=g-Hh(r[m],o,0,g,g-1,e),A!==0){for(S-=A,_-=A,g-=A,x=S+1,b=_+1,y=0;y=Io||A>=Io);if(D)break;w<0&&(w=0),w+=2}if(t=w,t<1&&(t=1),g===1){for(S-=p,m-=p,x=S+1,b=m+1,y=p-1;y>=0;y--)r[x+y]=r[b+y];r[S]=o[_]}else{if(g===0)throw new Error;for(b=S-(g-1),y=0;ys&&(l=s),dm(r,t,t+l,t+i,e),i=l}o.pushRun(t,i),o.mergeRuns(),n-=i,t+=i}while(n!==0);o.forceMergeRuns()}}var Fe=1,es=2,Bi=4,gm=!1;function Uh(){gm||(gm=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ym(r,e){return r.zlevel===e.zlevel?r.z===e.z?r.z2-e.z2:r.z-e.z:r.zlevel-e.zlevel}var FI=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ym}return r.prototype.traverse=function(e,t){for(var a=0;a0&&(f.__clipPaths=[]),isNaN(f.z)&&(Uh(),f.z=0),isNaN(f.z2)&&(Uh(),f.z2=0),isNaN(f.zlevel)&&(Uh(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var h=e.getDecalElement&&e.getDecalElement();h&&this._updateAndAddDisplayable(h,t,a);var v=e.getTextGuideLine();v&&this._updateAndAddDisplayable(v,t,a);var c=e.getTextContent();c&&this._updateAndAddDisplayable(c,t,a)}},r.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},r.prototype.delRoot=function(e){if(e instanceof Array){for(var t=0,a=e.length;t=0&&this._roots.splice(n,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}(),rf;rf=mt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var ps={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),-(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)))},elasticOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),t*Math.pow(2,-10*r)*Math.sin((r-e)*(2*Math.PI)/a)+1)},elasticInOut:function(r){var e,t=.1,a=.4;return r===0?0:r===1?1:(!t||t<1?(t=1,e=a/4):e=a*Math.asin(1/t)/(2*Math.PI),(r*=2)<1?-.5*(t*Math.pow(2,10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)):t*Math.pow(2,-10*(r-=1))*Math.sin((r-e)*(2*Math.PI)/a)*.5+1)},backIn:function(r){var e=1.70158;return r*r*((e+1)*r-e)},backOut:function(r){var e=1.70158;return--r*r*((e+1)*r+e)+1},backInOut:function(r){var e=2.5949095;return(r*=2)<1?.5*(r*r*((e+1)*r-e)):.5*((r-=2)*r*((e+1)*r+e)+2)},bounceIn:function(r){return 1-ps.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?ps.bounceIn(r*2)*.5:ps.bounceOut(r*2-1)*.5+.5}},Rl=Math.pow,Ha=Math.sqrt,af=1e-8,xw=1e-4,mm=Ha(3),El=1/3,Er=si(),er=si(),Xi=si();function Na(r){return r>-af&&raf||r<-af}function jt(r,e,t,a,n){var i=1-n;return i*i*(i*r+3*n*e)+n*n*(n*a+3*i*t)}function _m(r,e,t,a,n){var i=1-n;return 3*(((e-r)*i+2*(t-e)*n)*i+(a-t)*n*n)}function nf(r,e,t,a,n,i){var o=a+3*(e-t)-r,s=3*(t-e*2+r),l=3*(e-r),u=r-n,f=s*s-3*o*l,h=s*l-9*o*u,v=l*l-3*s*u,c=0;if(Na(f)&&Na(h))if(Na(s))i[0]=0;else{var p=-l/s;p>=0&&p<=1&&(i[c++]=p)}else{var d=h*h-4*f*v;if(Na(d)){var g=h/f,p=-s/o+g,y=-g/2;p>=0&&p<=1&&(i[c++]=p),y>=0&&y<=1&&(i[c++]=y)}else if(d>0){var m=Ha(d),_=f*s+1.5*o*(-h+m),S=f*s+1.5*o*(-h-m);_<0?_=-Rl(-_,El):_=Rl(_,El),S<0?S=-Rl(-S,El):S=Rl(S,El);var p=(-s-(_+S))/(3*o);p>=0&&p<=1&&(i[c++]=p)}else{var b=(2*f*s-3*o*h)/(2*Ha(f*f*f)),x=Math.acos(b)/3,w=Ha(f),T=Math.cos(x),p=(-s-2*w*T)/(3*o),y=(-s+w*(T+mm*Math.sin(x)))/(3*o),A=(-s+w*(T-mm*Math.sin(x)))/(3*o);p>=0&&p<=1&&(i[c++]=p),y>=0&&y<=1&&(i[c++]=y),A>=0&&A<=1&&(i[c++]=A)}}return c}function ww(r,e,t,a,n){var i=6*t-12*e+6*r,o=9*e+3*a-3*r-9*t,s=3*e-3*r,l=0;if(Na(o)){if(bw(i)){var u=-s/i;u>=0&&u<=1&&(n[l++]=u)}}else{var f=i*i-4*o*s;if(Na(f))n[0]=-i/(2*o);else if(f>0){var h=Ha(f),u=(-i+h)/(2*o),v=(-i-h)/(2*o);u>=0&&u<=1&&(n[l++]=u),v>=0&&v<=1&&(n[l++]=v)}}return l}function Za(r,e,t,a,n,i){var o=(e-r)*n+r,s=(t-e)*n+e,l=(a-t)*n+t,u=(s-o)*n+o,f=(l-s)*n+s,h=(f-u)*n+u;i[0]=r,i[1]=o,i[2]=u,i[3]=h,i[4]=h,i[5]=f,i[6]=l,i[7]=a}function Tw(r,e,t,a,n,i,o,s,l,u,f){var h,v=.005,c=1/0,p,d,g,y;Er[0]=l,Er[1]=u;for(var m=0;m<1;m+=.05)er[0]=jt(r,t,n,o,m),er[1]=jt(e,a,i,s,m),g=Yn(Er,er),g=0&&g=0&&u<=1&&(n[l++]=u)}}else{var f=o*o-4*i*s;if(Na(f)){var u=-o/(2*i);u>=0&&u<=1&&(n[l++]=u)}else if(f>0){var h=Ha(f),u=(-o+h)/(2*i),v=(-o-h)/(2*i);u>=0&&u<=1&&(n[l++]=u),v>=0&&v<=1&&(n[l++]=v)}}return l}function Aw(r,e,t){var a=r+t-2*e;return a===0?.5:(r-e)/a}function Ls(r,e,t,a,n){var i=(e-r)*a+r,o=(t-e)*a+e,s=(o-i)*a+i;n[0]=r,n[1]=i,n[2]=s,n[3]=s,n[4]=o,n[5]=t}function Cw(r,e,t,a,n,i,o,s,l){var u,f=.005,h=1/0;Er[0]=o,Er[1]=s;for(var v=0;v<1;v+=.05){er[0]=ie(r,t,n,v),er[1]=ie(e,a,i,v);var c=Yn(Er,er);c=0&&c=1?1:nf(0,a,i,1,l,s)&&jt(0,n,o,1,s[0])}}}var XI=function(){function r(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||Xt,this.ondestroy=e.ondestroy||Xt,this.onrestart=e.onrestart||Xt,e.easing&&this.setEasing(e.easing)}return r.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=t;return}var a=this._life,n=e-this._startTime-this._pausedTime,i=n/a;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),i===1)if(this.loop){var l=n%a;this._startTime=e-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(e){this.easing=e,this.easingFunc=K(e)?e:ps[e]||ig(e)},r}(),Dw=function(){function r(e){this.value=e}return r}(),$I=function(){function r(){this._len=0}return r.prototype.insert=function(e){var t=new Dw(e);return this.insertEntry(t),t},r.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},r.prototype.remove=function(e){var t=e.prev,a=e.next;t?t.next=a:this.head=a,a?a.prev=t:this.tail=t,e.next=e.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r}(),al=function(){function r(e){this._list=new $I,this._maxSize=10,this._map={},this._maxSize=e}return r.prototype.put=function(e,t){var a=this._list,n=this._map,i=null;if(n[e]==null){var o=a.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=a.head;a.remove(l),delete n[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=t:s=new Dw(t),s.key=e,a.insertEntry(s),n[e]=s}return i},r.prototype.get=function(e){var t=this._map[e],a=this._list;if(t!=null)return t!==a.tail&&(a.remove(t),a.insertEntry(t)),t.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r}(),Sm={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function _r(r){return r=Math.round(r),r<0?0:r>255?255:r}function ZI(r){return r=Math.round(r),r<0?0:r>360?360:r}function Ps(r){return r<0?0:r>1?1:r}function Yh(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?_r(parseFloat(e)/100*255):_r(parseInt(e,10))}function Xn(r){var e=r;return e.length&&e.charAt(e.length-1)==="%"?Ps(parseFloat(e)/100):Ps(parseFloat(e))}function Xh(r,e,t){return t<0?t+=1:t>1&&(t-=1),t*6<1?r+(e-r)*t*6:t*2<1?e:t*3<2?r+(e-r)*(2/3-t)*6:r}function Ba(r,e,t){return r+(e-r)*t}function Ke(r,e,t,a,n){return r[0]=e,r[1]=t,r[2]=a,r[3]=n,r}function yp(r,e){return r[0]=e[0],r[1]=e[1],r[2]=e[2],r[3]=e[3],r}var Mw=new al(20),kl=null;function gi(r,e){kl&&yp(kl,e),kl=Mw.put(r,kl||e.slice())}function Ue(r,e){if(r){e=e||[];var t=Mw.get(r);if(t)return yp(e,t);r=r+"";var a=r.replace(/ /g,"").toLowerCase();if(a in Sm)return yp(e,Sm[a]),gi(r,e),e;var n=a.length;if(a.charAt(0)==="#"){if(n===4||n===5){var i=parseInt(a.slice(1,4),16);if(!(i>=0&&i<=4095)){Ke(e,0,0,0,1);return}return Ke(e,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,n===5?parseInt(a.slice(4),16)/15:1),gi(r,e),e}else if(n===7||n===9){var i=parseInt(a.slice(1,7),16);if(!(i>=0&&i<=16777215)){Ke(e,0,0,0,1);return}return Ke(e,(i&16711680)>>16,(i&65280)>>8,i&255,n===9?parseInt(a.slice(7),16)/255:1),gi(r,e),e}return}var o=a.indexOf("("),s=a.indexOf(")");if(o!==-1&&s+1===n){var l=a.substr(0,o),u=a.substr(o+1,s-(o+1)).split(","),f=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Ke(e,+u[0],+u[1],+u[2],1):Ke(e,0,0,0,1);f=Xn(u.pop());case"rgb":if(u.length>=3)return Ke(e,Yh(u[0]),Yh(u[1]),Yh(u[2]),u.length===3?f:Xn(u[3])),gi(r,e),e;Ke(e,0,0,0,1);return;case"hsla":if(u.length!==4){Ke(e,0,0,0,1);return}return u[3]=Xn(u[3]),mp(u,e),gi(r,e),e;case"hsl":if(u.length!==3){Ke(e,0,0,0,1);return}return mp(u,e),gi(r,e),e;default:return}}Ke(e,0,0,0,1)}}function mp(r,e){var t=(parseFloat(r[0])%360+360)%360/360,a=Xn(r[1]),n=Xn(r[2]),i=n<=.5?n*(a+1):n+a-n*a,o=n*2-i;return e=e||[],Ke(e,_r(Xh(o,i,t+1/3)*255),_r(Xh(o,i,t)*255),_r(Xh(o,i,t-1/3)*255),1),r.length===4&&(e[3]=r[3]),e}function qI(r){if(r){var e=r[0]/255,t=r[1]/255,a=r[2]/255,n=Math.min(e,t,a),i=Math.max(e,t,a),o=i-n,s=(i+n)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(i+n):u=o/(2-i-n);var f=((i-e)/6+o/2)/o,h=((i-t)/6+o/2)/o,v=((i-a)/6+o/2)/o;e===i?l=v-h:t===i?l=1/3+f-v:a===i&&(l=2/3+h-f),l<0&&(l+=1),l>1&&(l-=1)}var c=[l*360,u,s];return r[3]!=null&&c.push(r[3]),c}}function _p(r,e){var t=Ue(r);if(t){for(var a=0;a<3;a++)e<0?t[a]=t[a]*(1-e)|0:t[a]=(255-t[a])*e+t[a]|0,t[a]>255?t[a]=255:t[a]<0&&(t[a]=0);return ia(t,t.length===4?"rgba":"rgb")}}function $h(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){t=t||[];var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=e[n],s=e[i],l=a-n;return t[0]=_r(Ba(o[0],s[0],l)),t[1]=_r(Ba(o[1],s[1],l)),t[2]=_r(Ba(o[2],s[2],l)),t[3]=Ps(Ba(o[3],s[3],l)),t}}function KI(r,e,t){if(!(!(e&&e.length)||!(r>=0&&r<=1))){var a=r*(e.length-1),n=Math.floor(a),i=Math.ceil(a),o=Ue(e[n]),s=Ue(e[i]),l=a-n,u=ia([_r(Ba(o[0],s[0],l)),_r(Ba(o[1],s[1],l)),_r(Ba(o[2],s[2],l)),Ps(Ba(o[3],s[3],l))],"rgba");return t?{color:u,leftIndex:n,rightIndex:i,value:a}:u}}function ds(r,e,t,a){var n=Ue(r);if(r)return n=qI(n),e!=null&&(n[0]=ZI(e)),t!=null&&(n[1]=Xn(t)),a!=null&&(n[2]=Xn(a)),ia(mp(n),"rgba")}function of(r,e){var t=Ue(r);if(t&&e!=null)return t[3]=Ps(e),ia(t,"rgba")}function ia(r,e){if(!(!r||!r.length)){var t=r[0]+","+r[1]+","+r[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(t+=","+r[3]),e+"("+t+")"}}function sf(r,e){var t=Ue(r);return t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}var xm=new al(100);function Sp(r){if(U(r)){var e=xm.get(r);return e||(e=_p(r,-.1),xm.put(r,e)),e}else if(Qf(r)){var t=V({},r);return t.colorStops=G(r.colorStops,function(a){return{offset:a.offset,color:_p(a.color,-.1)}}),t}return r}var lf=Math.round;function Rs(r){var e;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var t=Ue(r);t&&(r="rgb("+t[0]+","+t[1]+","+t[2]+")",e=t[3])}return{color:r,opacity:e??1}}var bm=1e-4;function Va(r){return r-bm}function Ol(r){return lf(r*1e3)/1e3}function xp(r){return lf(r*1e4)/1e4}function QI(r){return"matrix("+Ol(r[0])+","+Ol(r[1])+","+Ol(r[2])+","+Ol(r[3])+","+xp(r[4])+","+xp(r[5])+")"}var JI={left:"start",right:"end",center:"middle",middle:"middle"};function jI(r,e,t){return t==="top"?r+=e/2:t==="bottom"&&(r-=e/2),r}function tL(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function eL(r){var e=r.style,t=r.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),t[0],t[1]].join(",")}function Iw(r){return r&&!!r.image}function rL(r){return r&&!!r.svgElement}function og(r){return Iw(r)||rL(r)}function Lw(r){return r.type==="linear"}function Pw(r){return r.type==="radial"}function Rw(r){return r&&(r.type==="linear"||r.type==="radial")}function th(r){return"url(#"+r+")"}function Ew(r){var e=r.getGlobalScale(),t=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(t)/Math.log(10)),1)}function kw(r){var e=r.x||0,t=r.y||0,a=(r.rotation||0)*Eu,n=it(r.scaleX,1),i=it(r.scaleY,1),o=r.skewX||0,s=r.skewY||0,l=[];return(e||t)&&l.push("translate("+e+"px,"+t+"px)"),a&&l.push("rotate("+a+")"),(n!==1||i!==1)&&l.push("scale("+n+","+i+")"),(o||s)&&l.push("skew("+lf(o*Eu)+"deg, "+lf(s*Eu)+"deg)"),l.join(" ")}var aL=function(){return mt.hasGlobalWindow&&K(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return null}}(),bp=Array.prototype.slice;function jr(r,e,t){return(e-r)*t+r}function Zh(r,e,t,a){for(var n=e.length,i=0;ia?e:r,i=Math.min(t,a),o=n[i-1]||{color:[0,0,0,0],offset:0},s=i;so;if(s)a.length=o;else for(var l=i;l=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(e,t,a){this._needsSort=!0;var n=this.keyframes,i=n.length,o=!1,s=Tm,l=t;if(ge(t)){var u=sL(t);s=u,(u===1&&!Ct(t[0])||u===2&&!Ct(t[0][0]))&&(o=!0)}else if(Ct(t)&&!Is(t))s=Bl;else if(U(t))if(!isNaN(+t))s=Bl;else{var f=Ue(t);f&&(l=f,s=rs)}else if(Qf(t)){var h=V({},l);h.colorStops=G(t.colorStops,function(c){return{offset:c.offset,color:Ue(c.color)}}),Lw(t)?s=wp:Pw(t)&&(s=Tp),l=h}i===0?this.valType=s:(s!==this.valType||s===Tm)&&(o=!0),this.discrete=this.discrete||o;var v={time:e,value:l,rawValue:t,percent:0};return a&&(v.easing=a,v.easingFunc=K(a)?a:ps[a]||ig(a)),n.push(v),v},r.prototype.prepare=function(e,t){var a=this.keyframes;this._needsSort&&a.sort(function(d,g){return d.time-g.time});for(var n=this.valType,i=a.length,o=a[i-1],s=this.discrete,l=Vl(n),u=Am(n),f=0;f=0&&!(o[f].percent<=t);f--);f=v(f,s-2)}else{for(f=h;ft);f++);f=v(f-1,s-2)}p=o[f+1],c=o[f]}if(c&&p){this._lastFr=f,this._lastFrP=t;var g=p.percent-c.percent,y=g===0?1:v((t-c.percent)/g,1);p.easingFunc&&(y=p.easingFunc(y));var m=a?this._additiveValue:u?Lo:e[l];if((Vl(i)||u)&&!m&&(m=this._additiveValue=[]),this.discrete)e[l]=y<1?c.rawValue:p.rawValue;else if(Vl(i))i===Vu?Zh(m,c[n],p[n],y):nL(m,c[n],p[n],y);else if(Am(i)){var _=c[n],S=p[n],b=i===wp;e[l]={type:b?"linear":"radial",x:jr(_.x,S.x,y),y:jr(_.y,S.y,y),colorStops:G(_.colorStops,function(w,T){var A=S.colorStops[T];return{offset:jr(w.offset,A.offset,y),color:Bu(Zh([],w.color,A.color,y))}}),global:S.global},b?(e[l].x2=jr(_.x2,S.x2,y),e[l].y2=jr(_.y2,S.y2,y)):e[l].r=jr(_.r,S.r,y)}else if(u)Zh(m,c[n],p[n],y),a||(e[l]=Bu(m));else{var x=jr(c[n],p[n],y);a?this._additiveValue=x:e[l]=x}a&&this._addToTarget(e)}}},r.prototype._addToTarget=function(e){var t=this.valType,a=this.propName,n=this._additiveValue;t===Bl?e[a]=e[a]+n:t===rs?(Ue(e[a],Lo),Nl(Lo,Lo,n,1),e[a]=Bu(Lo)):t===Vu?Nl(e[a],e[a],n,1):t===Ow&&wm(e[a],e[a],n,1)},r}(),sg=function(){function r(e,t,a,n){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=t,t&&n){Jd("Can' use additive animation on looped animation.");return}this._additiveAnimators=n,this._allowDiscrete=a}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(e){this._target=e},r.prototype.when=function(e,t,a){return this.whenWithKeys(e,t,St(t),a)},r.prototype.whenWithKeys=function(e,t,a,n){for(var i=this._tracks,o=0;o0&&l.addKeyframe(0,gs(u),n),this._trackKeys.push(s)}l.addKeyframe(e,gs(t[s]),n)}return this._maxTime=Math.max(this._maxTime,e),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,a=0;a0)){this._started=1;for(var t=this,a=[],n=this._maxTime||0,i=0;i1){var s=o.pop();i.addKeyframe(s.time,e[n]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},r}();function Hi(){return new Date().getTime()}var uL=function(r){k(e,r);function e(t){var a=r.call(this)||this;return a._running=!1,a._time=0,a._pausedTime=0,a._pauseStart=0,a._paused=!1,t=t||{},a.stage=t.stage||{},a}return e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var a=t.getClip();a&&this.addClip(a)},e.prototype.removeClip=function(t){if(t.animation){var a=t.prev,n=t.next;a?a.next=n:this._head=n,n?n.prev=a:this._tail=a,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var a=t.getClip();a&&this.removeClip(a),t.animation=null},e.prototype.update=function(t){for(var a=Hi()-this._pausedTime,n=a-this._time,i=this._head;i;){var o=i.next,s=i.step(a,n);s&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=a,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0;function a(){t._running&&(rf(a),!t._paused&&t.update())}rf(a)},e.prototype.start=function(){this._running||(this._time=Hi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Hi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Hi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var a=t.next;t.prev=t.next=t.animation=null,t=a}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(t,a){a=a||{},this.start();var n=new sg(t,a.loop);return this.addAnimator(n),n},e}(lr),fL=300,qh=mt.domSupported,Kh=function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],t={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},a=G(r,function(n){var i=n.replace("mouse","pointer");return t.hasOwnProperty(i)?i:n});return{mouse:r,touch:e,pointer:a}}(),Cm={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Dm=!1;function Ap(r){var e=r.pointerType;return e==="pen"||e==="touch"}function hL(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function Qh(r){r&&(r.zrByTouch=!0)}function vL(r,e){return Qe(r.dom,new cL(r,e),!0)}function Nw(r,e){for(var t=e,a=!1;t&&t.nodeType!==9&&!(a=t.domBelongToZr||t!==e&&t===r.painterRoot);)t=t.parentNode;return a}var cL=function(){function r(e,t){this.stopPropagation=Xt,this.stopImmediatePropagation=Xt,this.preventDefault=Xt,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY}return r}(),pr={mousedown:function(r){r=Qe(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=Qe(this.dom,r);var e=this.__mayPointerCapture;e&&(r.zrX!==e[0]||r.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=Qe(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=Qe(this.dom,r);var e=r.toElement||r.relatedTarget;Nw(this,e)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){Dm=!0,r=Qe(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){Dm||(r=Qe(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=Qe(this.dom,r),Qh(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),pr.mousemove.call(this,r),pr.mousedown.call(this,r)},touchmove:function(r){r=Qe(this.dom,r),Qh(r),this.handler.processGesture(r,"change"),pr.mousemove.call(this,r)},touchend:function(r){r=Qe(this.dom,r),Qh(r),this.handler.processGesture(r,"end"),pr.mouseup.call(this,r),+new Date-+this.__lastTouchMomentLm||r<-Lm}var ln=[],yi=[],jh=We(),tv=Math.abs,mL=function(){function r(){}return r.prototype.getLocalTransform=function(e){return r.getLocalTransform(this,e)},r.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},r.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},r.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},r.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},r.prototype.needLocalTransform=function(){return sn(this.rotation)||sn(this.x)||sn(this.y)||sn(this.scaleX-1)||sn(this.scaleY-1)||sn(this.skewX)||sn(this.skewY)},r.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),a=this.transform;if(!(t||e)){a&&(Im(a),this.invTransform=null);return}a=a||We(),t?this.getLocalTransform(a):Im(a),e&&(t?na(a,e,a):ag(a,e)),this.transform=a,this._resolveGlobalScaleRatio(a)},r.prototype._resolveGlobalScaleRatio=function(e){var t=this.globalScaleRatio;if(t!=null&&t!==1){this.getGlobalScale(ln);var a=ln[0]<0?-1:1,n=ln[1]<0?-1:1,i=((ln[0]-a)*t+a)/ln[0]||0,o=((ln[1]-n)*t+n)/ln[1]||0;e[0]*=i,e[1]*=i,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||We(),ho(this.invTransform,e)},r.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},r.prototype.setLocalTransform=function(e){if(e){var t=e[0]*e[0]+e[1]*e[1],a=e[2]*e[2]+e[3]*e[3],n=Math.atan2(e[1],e[0]),i=Math.PI/2+n-Math.atan2(e[3],e[2]);a=Math.sqrt(a)*Math.cos(i),t=Math.sqrt(t),this.skewX=i,this.skewY=0,this.rotation=-n,this.x=+e[4],this.y=+e[5],this.scaleX=t,this.scaleY=a,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,t=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||We(),na(yi,e.invTransform,t),t=yi);var a=this.originX,n=this.originY;(a||n)&&(jh[4]=a,jh[5]=n,na(yi,t,jh),yi[4]-=a,yi[5]-=n,t=yi),this.setLocalTransform(t)}},r.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},r.prototype.transformCoordToLocal=function(e,t){var a=[e,t],n=this.invTransform;return n&&ue(a,a,n),a},r.prototype.transformCoordToGlobal=function(e,t){var a=[e,t],n=this.transform;return n&&ue(a,a,n),a},r.prototype.getLineScale=function(){var e=this.transform;return e&&tv(e[0]-1)>1e-10&&tv(e[3]-1)>1e-10?Math.sqrt(tv(e[0]*e[3]-e[2]*e[1])):1},r.prototype.copyTransform=function(e){Vw(this,e)},r.getLocalTransform=function(e,t){t=t||[];var a=e.originX||0,n=e.originY||0,i=e.scaleX,o=e.scaleY,s=e.anchorX,l=e.anchorY,u=e.rotation||0,f=e.x,h=e.y,v=e.skewX?Math.tan(e.skewX):0,c=e.skewY?Math.tan(-e.skewY):0;if(a||n||s||l){var p=a+s,d=n+l;t[4]=-p*i-v*d*o,t[5]=-d*o-c*p*i}else t[4]=t[5]=0;return t[0]=i,t[3]=o,t[1]=c*i,t[2]=v*o,u&&li(t,t,u),t[4]+=a+f,t[5]+=n+h,t},r.initDefaultProps=function(){var e=r.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),r}(),Wr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Vw(r,e){for(var t=0;t=0?parseFloat(r)/100*e:parseFloat(r):r}function ff(r,e,t){var a=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,o=t.width,s=i/2,l=t.x,u=t.y,f="left",h="top";if(a instanceof Array)l+=xr(a[0],t.width),u+=xr(a[1],t.height),f=null,h=null;else switch(a){case"left":l-=n,u+=s,f="right",h="middle";break;case"right":l+=n+o,u+=s,h="middle";break;case"top":l+=o/2,u-=n,f="center",h="bottom";break;case"bottom":l+=o/2,u+=i+n,f="center";break;case"inside":l+=o/2,u+=s,f="center",h="middle";break;case"insideLeft":l+=n,u+=s,h="middle";break;case"insideRight":l+=o-n,u+=s,f="right",h="middle";break;case"insideTop":l+=o/2,u+=n,f="center";break;case"insideBottom":l+=o/2,u+=i-n,f="center",h="bottom";break;case"insideTopLeft":l+=n,u+=n;break;case"insideTopRight":l+=o-n,u+=n,f="right";break;case"insideBottomLeft":l+=n,u+=i-n,h="bottom";break;case"insideBottomRight":l+=o-n,u+=i-n,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var ev="__zr_normal__",rv=Wr.concat(["ignore"]),_L=Fr(Wr,function(r,e){return r[e]=!0,r},{ignore:!1}),mi={},SL=new ht(0,0,0,0),rh=function(){function r(e){this.id=vw(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return r.prototype._init=function(e){this.attr(e)},r.prototype.drift=function(e,t,a){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var a=this.textConfig,n=a.local,i=t.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(t),a.position!=null){var f=SL;a.layoutRect?f.copy(a.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(mi,a,f):ff(mi,a,f),i.x=mi.x,i.y=mi.y,o=mi.align,s=mi.verticalAlign;var h=a.origin;if(h&&a.rotation!=null){var v=void 0,c=void 0;h==="center"?(v=f.width*.5,c=f.height*.5):(v=xr(h[0],f.width),c=xr(h[1],f.height)),u=!0,i.originX=-i.x+v+(n?0:f.x),i.originY=-i.y+c+(n?0:f.y)}}a.rotation!=null&&(i.rotation=a.rotation);var p=a.offset;p&&(i.x+=p[0],i.y+=p[1],u||(i.originX=-p[0],i.originY=-p[1]));var d=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,_=void 0;d&&this.canBeInsideText()?(y=a.insideFill,m=a.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(y),_=!0)):(y=a.outsideFill,m=a.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(y),_=!0)),y=y||"#000",(y!==g.fill||m!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=y,g.stroke=m,g.autoStroke=_,g.align=o,g.verticalAlign=s,t.setDefaultTextStyle(g)),t.__dirty|=Fe,l&&t.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(e){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ip:Mp},r.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),a=typeof t=="string"&&Ue(t);a||(a=[255,255,255,1]);for(var n=a[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*n+(i?0:255)*(1-n);return a[3]=1,ia(a,"rgba")},r.prototype.traverse=function(e,t){},r.prototype.attrKV=function(e,t){e==="textConfig"?this.setTextConfig(t):e==="textContent"?this.setTextContent(t):e==="clipPath"?this.setClipPath(t):e==="extra"?(this.extra=this.extra||{},V(this.extra,t)):this[e]=t},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(e,t){if(typeof e=="string")this.attrKV(e,t);else if(tt(e))for(var a=e,n=St(a),i=0;i0},r.prototype.getState=function(e){return this.states[e]},r.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},r.prototype.clearStates=function(e){this.useState(ev,!1,e)},r.prototype.useState=function(e,t,a,n){var i=e===ev,o=this.hasState();if(!(!o&&i)){var s=this.currentStates,l=this.stateTransition;if(!(vt(s,e)>=0&&(t||s.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(e)),u||(u=this.states&&this.states[e]),!u&&!i){Jd("State "+e+" not exists.");return}i||this.saveCurrentToNormalState(u);var f=!!(u&&u.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,u,this._normalState,t,!a&&!this.__inHover&&l&&l.duration>0,l);var h=this._textContent,v=this._textGuide;return h&&h.useState(e,t,a,f),v&&v.useState(e,t,a,f),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Fe),u}}},r.prototype.useStates=function(e,t,a){if(!e.length)this.clearStates();else{var n=[],i=this.currentStates,o=e.length,s=o===i.length;if(s){for(var l=0;l0,p);var d=this._textContent,g=this._textGuide;d&&d.useStates(e,t,v),g&&g.useStates(e,t,v),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!v&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Fe)}},r.prototype.isSilent=function(){for(var e=this.silent,t=this.parent;!e&&t;){if(t.silent){e=!0;break}t=t.parent}return e},r.prototype._updateAnimationTargets=function(){for(var e=0;e=0){var a=this.currentStates.slice();a.splice(t,1),this.useStates(a)}},r.prototype.replaceState=function(e,t,a){var n=this.currentStates.slice(),i=vt(n,e),o=vt(n,t)>=0;i>=0?o?n.splice(i,1):n[i]=t:a&&!o&&n.push(t),this.useStates(n)},r.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},r.prototype._mergeStates=function(e){for(var t={},a,n=0;n=0&&i.splice(o,1)}),this.animators.push(e),a&&a.animation.addAnimator(e),a&&a.wakeUp()},r.prototype.updateDuringAnimation=function(e){this.markRedraw()},r.prototype.stopAnimation=function(e,t){for(var a=this.animators,n=a.length,i=[],o=0;o0&&t.during&&i[0].during(function(p,d){t.during(d)});for(var v=0;v0||n.force&&!o.length){var T=void 0,A=void 0,D=void 0;if(s){A={},v&&(T={});for(var S=0;S<_;S++){var y=d[S];A[y]=t[y],v?T[y]=a[y]:t[y]=a[y]}}else if(v){D={};for(var S=0;S<_;S++){var y=d[S];D[y]=gs(t[y]),bL(t,a,y)}}var b=new sg(t,!1,!1,h?Pt(p,function(I){return I.targetName===e}):null);b.targetName=e,n.scope&&(b.scope=n.scope),v&&T&&b.whenWithKeys(0,T,d),D&&b.whenWithKeys(0,D,d),b.whenWithKeys(u??500,s?A:a,d).delay(f||0),r.addAnimator(b,e),o.push(b)}}var at=function(r){k(e,r);function e(t){var a=r.call(this)||this;return a.isGroup=!0,a._children=[],a.attr(t),a}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var a=this._children,n=0;n=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,a){var n=vt(this._children,t);return n>=0&&this.replaceAt(a,n),this},e.prototype.replaceAt=function(t,a){var n=this._children,i=n[a];if(t&&t!==this&&t.parent!==this&&t!==i){n[a]=t,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var a=this.__zr;a&&a!==t.__zr&&t.addSelfToZr(a),a&&a.refresh()},e.prototype.remove=function(t){var a=this.__zr,n=this._children,i=vt(n,t);return i<0?this:(n.splice(i,1),t.parent=null,a&&t.removeSelfFromZr(a),a&&a.refresh(),this)},e.prototype.removeAll=function(){for(var t=this._children,a=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},r.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},r.prototype.on=function(e,t,a){return this._disposed||this.handler.on(e,t,a),this},r.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},r.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},r.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t0){if(r<=n)return o;if(r>=i)return s}else{if(r>=n)return o;if(r<=i)return s}else{if(r===n)return o;if(r===i)return s}return(r-n)/l*u+o}function W(r,e){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return U(r)?PL(r).match(/%$/)?parseFloat(r)/100*e:parseFloat(r):r==null?NaN:+r}function Ut(r,e,t){return e==null&&(e=10),e=Math.min(Math.max(0,e),Fw),r=(+r).toFixed(e),t?r:+r}function ir(r){return r.sort(function(e,t){return e-t}),r}function Or(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,t=0;t<15;t++,e*=10)if(Math.round(r*e)/e===r)return t}return RL(r)}function RL(r){var e=r.toString().toLowerCase(),t=e.indexOf("e"),a=t>0?+e.slice(t+1):0,n=t>0?t:e.length,i=e.indexOf("."),o=i<0?0:n-1-i;return Math.max(0,o-a)}function Hw(r,e){var t=Math.log,a=Math.LN10,n=Math.floor(t(r[1]-r[0])/a),i=Math.round(t(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-n+i,0),20);return isFinite(o)?o:20}function EL(r,e){var t=Fr(r,function(c,p){return c+(isNaN(p)?0:p)},0);if(t===0)return[];for(var a=Math.pow(10,e),n=G(r,function(c){return(isNaN(c)?0:c)/t*a*100}),i=a*100,o=G(n,function(c){return Math.floor(c)}),s=Fr(o,function(c,p){return c+p},0),l=G(n,function(c,p){return c-o[p]});su&&(u=l[h],f=h);++o[f],l[f]=0,++s}return G(o,function(c){return c/a})}function kL(r,e){var t=Math.max(Or(r),Or(e)),a=r+e;return t>Fw?a:Ut(a,t)}var Om=9007199254740991;function Ww(r){var e=Math.PI*2;return(r%e+e)%e}function Es(r){return r>-km&&r=10&&e++,e}function Uw(r,e){var t=lg(r),a=Math.pow(10,t),n=r/a,i;return n<1.5?i=1:n<2.5?i=2:n<4?i=3:n<7?i=5:i=10,r=i*a,t>=-20?+r.toFixed(t<0?-t:0):r}function iv(r,e){var t=(r.length-1)*e+1,a=Math.floor(t),n=+r[a-1],i=t-a;return i?n+i*(r[a]-n):n}function Nm(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var e=-1/0,t=1,a=0;a=0||i&&vt(i,l)<0)){var u=a.getShallow(l,e);u!=null&&(o[r[s][0]]=u)}}return o}}var oP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],sP=ri(oP),lP=function(){function r(){}return r.prototype.getAreaStyle=function(e,t){return sP(this,e,t)},r}(),Rp=new al(50);function uP(r){if(typeof r=="string"){var e=Rp.get(r);return e&&e.image}else return r}function vg(r,e,t,a,n){if(r)if(typeof r=="string"){if(e&&e.__zrImageSrc===r||!t)return e;var i=Rp.get(r),o={hostEl:t,cb:a,cbPayload:n};return i?(e=i.image,!nh(e)&&i.pending.push(o)):(e=$a.loadImage(r,Gm,Gm),e.__zrImageSrc=r,Rp.put(r,e.__cachedImgObj={image:e,pending:[o]})),e}else return r;else return e}function Gm(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=o;l++)s-=o;var u=Ye(t,e);return u>s&&(t="",u=0),s=r-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=r,n}function aT(r,e){var t=e.containerWidth,a=e.font,n=e.contentWidth;if(!t)return"";var i=Ye(r,a);if(i<=t)return r;for(var o=0;;o++){if(i<=n||o>=e.maxIterations){r+=e.ellipsis;break}var s=o===0?hP(r,n,e.ascCharWidth,e.cnCharWidth):i>0?Math.floor(r.length*n/i):0;r=r.substr(0,s),i=Ye(r,a)}return r===""&&(r=e.placeholder),r}function hP(r,e,t,a){for(var n=0,i=0,o=r.length;ic&&u){var p=Math.floor(c/s);h=h.slice(0,p)}if(r&&i&&f!=null)for(var d=rT(f,n,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),g=0;gs&&sv(t,r.substring(s,u),e,o),sv(t,l[2],e,o,l[1]),s=ov.lastIndex}sn){b>0?(m.tokens=m.tokens.slice(0,b),g(m,S,_),t.lines=t.lines.slice(0,y+1)):t.lines=t.lines.slice(0,y);break t}var I=w.width,L=I==null||I==="auto";if(typeof I=="string"&&I.charAt(I.length-1)==="%")x.percentWidth=I,f.push(x),x.contentWidth=Ye(x.text,D);else{if(L){var P=w.backgroundColor,R=P&&P.image;R&&(R=uP(R),nh(R)&&(x.width=Math.max(x.width,R.width*M/R.height)))}var E=p&&a!=null?a-S:null;E!=null&&E0&&p+a.accumWidth>a.width&&(f=e.split(` +`),u=!0),a.accumWidth=p}else{var d=nT(e,l,a.width,a.breakAll,a.accumWidth);a.accumWidth=d.accumWidth+c,h=d.linesWidths,f=d.lines}}else f=e.split(` +`);for(var g=0;g=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var yP=Fr(",&?/;] ".split(""),function(r,e){return r[e]=!0,r},{});function mP(r){return gP(r)?!!yP[r]:!0}function nT(r,e,t,a,n){for(var i=[],o=[],s="",l="",u=0,f=0,h=0;ht:n+f+c>t){f?(s||l)&&(p?(s||(s=l,l="",u=0,f=u),i.push(s),o.push(f-u),l+=v,u+=c,s="",f=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(f),s=v,f=c)):p?(i.push(l),o.push(u),l=v,u=c):(i.push(v),o.push(c));continue}f+=c,p?(l+=v,u+=c):(l&&(s+=l,l="",u=0),s+=v)}return!i.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(i.push(s),o.push(f)),i.length===1&&(f+=n),{accumWidth:f,lines:i,linesWidths:o}}var Ep="__zr_style_"+Math.round(Math.random()*10),$n={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},ih={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};$n[Ep]=!0;var Hm=["z","z2","invisible"],_P=["invisible"],sr=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype._init=function(t){for(var a=St(t),n=0;n1e-4){s[0]=r-t,s[1]=e-a,l[0]=r+t,l[1]=e+a;return}if(zl[0]=hv(n)*t+r,zl[1]=fv(n)*a+e,Gl[0]=hv(i)*t+r,Gl[1]=fv(i)*a+e,u(s,zl,Gl),f(l,zl,Gl),n=n%fn,n<0&&(n=n+fn),i=i%fn,i<0&&(i=i+fn),n>i&&!o?i+=fn:nn&&(Fl[0]=hv(c)*t+r,Fl[1]=fv(c)*a+e,u(s,Fl,s),f(l,Fl,l))}var kt={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},hn=[],vn=[],Ar=[],Sa=[],Cr=[],Dr=[],vv=Math.min,cv=Math.max,cn=Math.cos,pn=Math.sin,Kr=Math.abs,kp=Math.PI,Ia=kp*2,pv=typeof Float32Array<"u",Po=[];function dv(r){var e=Math.round(r/kp*1e8)/1e8;return e%2*kp}function cg(r,e){var t=dv(r[0]);t<0&&(t+=Ia);var a=t-r[0],n=r[1];n+=a,!e&&n-t>=Ia?n=t+Ia:e&&t-n>=Ia?n=t-Ia:!e&&t>n?n=t+(Ia-dv(t-n)):e&&t0&&(this._ux=Kr(a/uf/e)||0,this._uy=Kr(a/uf/t)||0)},r.prototype.setDPR=function(e){this.dpr=e},r.prototype.setContext=function(e){this._ctx=e},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(kt.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},r.prototype.lineTo=function(e,t){var a=Kr(e-this._xi),n=Kr(t-this._yi),i=a>this._ux||n>this._uy;if(this.addData(kt.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i)this._xi=e,this._yi=t,this._pendingPtDist=0;else{var o=a*a+n*n;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(e,t,a,n,i,o){return this._drawPendingPt(),this.addData(kt.C,e,t,a,n,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,a,n,i,o),this._xi=i,this._yi=o,this},r.prototype.quadraticCurveTo=function(e,t,a,n){return this._drawPendingPt(),this.addData(kt.Q,e,t,a,n),this._ctx&&this._ctx.quadraticCurveTo(e,t,a,n),this._xi=a,this._yi=n,this},r.prototype.arc=function(e,t,a,n,i,o){this._drawPendingPt(),Po[0]=n,Po[1]=i,cg(Po,o),n=Po[0],i=Po[1];var s=i-n;return this.addData(kt.A,e,t,a,a,n,s,0,o?0:1),this._ctx&&this._ctx.arc(e,t,a,n,i,o),this._xi=cn(i)*a+e,this._yi=pn(i)*a+t,this},r.prototype.arcTo=function(e,t,a,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,a,n,i),this},r.prototype.rect=function(e,t,a,n){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,a,n),this.addData(kt.R,e,t,a,n),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(kt.Z);var e=this._ctx,t=this._x0,a=this._y0;return e&&e.closePath(),this._xi=t,this._yi=a,this},r.prototype.fill=function(e){e&&e.fill(),this.toStatic()},r.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(e){var t=e.length;!(this.data&&this.data.length===t)&&pv&&(this.data=new Float32Array(t));for(var a=0;af.length&&(this._expandData(),f=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t11&&(this.data=new Float32Array(e)))}},r.prototype.getBoundingRect=function(){Ar[0]=Ar[1]=Cr[0]=Cr[1]=Number.MAX_VALUE,Sa[0]=Sa[1]=Dr[0]=Dr[1]=-Number.MAX_VALUE;var e=this.data,t=0,a=0,n=0,i=0,o;for(o=0;oa||Kr(_)>n||v===t-1)&&(d=Math.sqrt(m*m+_*_),i=g,o=y);break}case kt.C:{var S=e[v++],b=e[v++],g=e[v++],y=e[v++],x=e[v++],w=e[v++];d=HI(i,o,S,b,g,y,x,w,10),i=x,o=w;break}case kt.Q:{var S=e[v++],b=e[v++],g=e[v++],y=e[v++];d=UI(i,o,S,b,g,y,10),i=g,o=y;break}case kt.A:var T=e[v++],A=e[v++],D=e[v++],M=e[v++],I=e[v++],L=e[v++],P=L+I;v+=1,p&&(s=cn(I)*D+T,l=pn(I)*M+A),d=cv(D,M)*vv(Ia,Math.abs(L)),i=cn(P)*D+T,o=pn(P)*M+A;break;case kt.R:{s=i=e[v++],l=o=e[v++];var R=e[v++],E=e[v++];d=R*2+E*2;break}case kt.Z:{var m=s-i,_=l-o;d=Math.sqrt(m*m+_*_),i=s,o=l;break}}d>=0&&(u[h++]=d,f+=d)}return this._pathLen=f,f},r.prototype.rebuildPath=function(e,t){var a=this.data,n=this._ux,i=this._uy,o=this._len,s,l,u,f,h,v,c=t<1,p,d,g=0,y=0,m,_=0,S,b;if(!(c&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,d=this._pathLen,m=t*d,!m)))t:for(var x=0;x0&&(e.lineTo(S,b),_=0),w){case kt.M:s=u=a[x++],l=f=a[x++],e.moveTo(u,f);break;case kt.L:{h=a[x++],v=a[x++];var A=Kr(h-u),D=Kr(v-f);if(A>n||D>i){if(c){var M=p[y++];if(g+M>m){var I=(m-g)/M;e.lineTo(u*(1-I)+h*I,f*(1-I)+v*I);break t}g+=M}e.lineTo(h,v),u=h,f=v,_=0}else{var L=A*A+D*D;L>_&&(S=h,b=v,_=L)}break}case kt.C:{var P=a[x++],R=a[x++],E=a[x++],N=a[x++],O=a[x++],B=a[x++];if(c){var M=p[y++];if(g+M>m){var I=(m-g)/M;Za(u,P,E,O,I,hn),Za(f,R,N,B,I,vn),e.bezierCurveTo(hn[1],vn[1],hn[2],vn[2],hn[3],vn[3]);break t}g+=M}e.bezierCurveTo(P,R,E,N,O,B),u=O,f=B;break}case kt.Q:{var P=a[x++],R=a[x++],E=a[x++],N=a[x++];if(c){var M=p[y++];if(g+M>m){var I=(m-g)/M;Ls(u,P,E,I,hn),Ls(f,R,N,I,vn),e.quadraticCurveTo(hn[1],vn[1],hn[2],vn[2]);break t}g+=M}e.quadraticCurveTo(P,R,E,N),u=E,f=N;break}case kt.A:var F=a[x++],H=a[x++],Z=a[x++],Q=a[x++],J=a[x++],ct=a[x++],xt=a[x++],pt=!a[x++],et=Z>Q?Z:Q,dt=Kr(Z-Q)>.001,st=J+ct,q=!1;if(c){var M=p[y++];g+M>m&&(st=J+ct*(m-g)/M,q=!0),g+=M}if(dt&&e.ellipse?e.ellipse(F,H,Z,Q,xt,J,st,pt):e.arc(F,H,et,J,st,pt),q)break t;T&&(s=cn(J)*Z+F,l=pn(J)*Q+H),u=cn(st)*Z+F,f=pn(st)*Q+H;break;case kt.R:s=u=a[x],l=f=a[x+1],h=a[x++],v=a[x++];var lt=a[x++],zt=a[x++];if(c){var M=p[y++];if(g+M>m){var wt=m-g;e.moveTo(h,v),e.lineTo(h+vv(wt,lt),v),wt-=lt,wt>0&&e.lineTo(h+lt,v+vv(wt,zt)),wt-=zt,wt>0&&e.lineTo(h+cv(lt-wt,0),v+zt),wt-=lt,wt>0&&e.lineTo(h,v+cv(zt-wt,0));break t}g+=M}e.rect(h,v,lt,zt);break;case kt.Z:if(c){var M=p[y++];if(g+M>m){var I=(m-g)/M;e.lineTo(u*(1-I)+s*I,f*(1-I)+l*I);break t}g+=M}e.closePath(),u=s,f=l}}},r.prototype.clone=function(){var e=new r,t=this.data;return e.data=t.slice?t.slice():Array.prototype.slice.call(t),e._len=this._len,e},r.CMD=kt,r.initDefaultProps=function(){var e=r.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),r}();function Pa(r,e,t,a,n,i,o){if(n===0)return!1;var s=n,l=0,u=r;if(o>e+s&&o>a+s||or+s&&i>t+s||ie+h&&f>a+h&&f>i+h&&f>s+h||fr+h&&u>t+h&&u>n+h&&u>o+h||ue+u&&l>a+u&&l>i+u||lr+u&&s>t+u&&s>n+u||st||f+un&&(n+=Ro);var v=Math.atan2(l,s);return v<0&&(v+=Ro),v>=a&&v<=n||v+Ro>=a&&v+Ro<=n}function ta(r,e,t,a,n,i){if(i>e&&i>a||in?s:0}var xa=Yr.CMD,dn=Math.PI*2,CP=1e-4;function DP(r,e){return Math.abs(r-e)e&&u>a&&u>i&&u>s||u1&&MP(),c=jt(e,a,i,s,je[0]),v>1&&(p=jt(e,a,i,s,je[1]))),v===2?ge&&s>a&&s>i||s=0&&u<=1){for(var f=0,h=ie(e,a,i,u),v=0;vt||s<-t)return 0;var l=Math.sqrt(t*t-s*s);we[0]=-l,we[1]=l;var u=Math.abs(a-n);if(u<1e-4)return 0;if(u>=dn-1e-4){a=0,n=dn;var f=i?1:-1;return o>=we[0]+r&&o<=we[1]+r?f:0}if(a>n){var h=a;a=n,n=h}a<0&&(a+=dn,n+=dn);for(var v=0,c=0;c<2;c++){var p=we[c];if(p+r>o){var d=Math.atan2(s,p),f=i?1:-1;d<0&&(d=dn+d),(d>=a&&d<=n||d+dn>=a&&d+dn<=n)&&(d>Math.PI/2&&d1&&(t||(s+=ta(l,u,f,h,a,n))),g&&(l=i[p],u=i[p+1],f=l,h=u),d){case xa.M:f=i[p++],h=i[p++],l=f,u=h;break;case xa.L:if(t){if(Pa(l,u,i[p],i[p+1],e,a,n))return!0}else s+=ta(l,u,i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case xa.C:if(t){if(TP(l,u,i[p++],i[p++],i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=IP(l,u,i[p++],i[p++],i[p++],i[p++],i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case xa.Q:if(t){if(iT(l,u,i[p++],i[p++],i[p],i[p+1],e,a,n))return!0}else s+=LP(l,u,i[p++],i[p++],i[p],i[p+1],a,n)||0;l=i[p++],u=i[p++];break;case xa.A:var y=i[p++],m=i[p++],_=i[p++],S=i[p++],b=i[p++],x=i[p++];p+=1;var w=!!(1-i[p++]);v=Math.cos(b)*_+y,c=Math.sin(b)*S+m,g?(f=v,h=c):s+=ta(l,u,v,c,a,n);var T=(a-y)*S/_+y;if(t){if(AP(y,m,S,b,b+x,w,e,T,n))return!0}else s+=PP(y,m,S,b,b+x,w,T,n);l=Math.cos(b+x)*_+y,u=Math.sin(b+x)*S+m;break;case xa.R:f=l=i[p++],h=u=i[p++];var A=i[p++],D=i[p++];if(v=f+A,c=h+D,t){if(Pa(f,h,v,h,e,a,n)||Pa(v,h,v,c,e,a,n)||Pa(v,c,f,c,e,a,n)||Pa(f,c,f,h,e,a,n))return!0}else s+=ta(v,h,v,c,a,n),s+=ta(f,c,f,h,a,n);break;case xa.Z:if(t){if(Pa(l,u,f,h,e,a,n))return!0}else s+=ta(l,u,f,h,a,n);l=f,u=h;break}}return!t&&!DP(u,h)&&(s+=ta(l,u,f,h,a,n)||0),s!==0}function RP(r,e,t){return oT(r,0,!1,e,t)}function EP(r,e,t,a){return oT(r,e,!0,t,a)}var hf=j({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},$n),kP={style:j({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},ih.style)},gv=Wr.concat(["invisible","culling","z","z2","zlevel","parent"]),yt=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.update=function(){var t=this;r.prototype.update.call(this);var a=this.style;if(a.decal){var n=this._decalEl=this._decalEl||new e;n.buildPath===e.prototype.buildPath&&(n.buildPath=function(l){t.buildPath(l,t.shape)}),n.silent=!0;var i=n.style;for(var o in a)i[o]!==a[o]&&(i[o]=a[o]);i.fill=a.fill?a.decal:null,i.decal=null,i.shadowColor=null,a.strokeFirst&&(i.stroke=null);for(var s=0;s.5?Mp:a>.2?yL:Ip}else if(t)return Ip}return Mp},e.prototype.getInsideTextStroke=function(t){var a=this.style.fill;if(U(a)){var n=this.__zr,i=!!(n&&n.isDarkMode()),o=sf(t,0)0))},e.prototype.hasFill=function(){var t=this.style,a=t.fill;return a!=null&&a!=="none"},e.prototype.getBoundingRect=function(){var t=this._rect,a=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&Bi)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),t=o.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){s.copy(t);var l=a.strokeNoScale?this.getLineScale():1,u=a.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;u=Math.max(u,f??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return t},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect(),o=this.style;if(t=n[0],a=n[1],i.contain(t,a)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),EP(s,l/u,t,a)))return!0}if(this.hasFill())return RP(s,t,a)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Bi,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){t==="style"?this.dirtyStyle():t==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(t,a){t==="shape"?this.setShape(a):r.prototype.attrKV.call(this,t,a)},e.prototype.setShape=function(t,a){var n=this.shape;return n||(n=this.shape={}),typeof t=="string"?n[t]=a:V(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Bi)},e.prototype.createStyle=function(t){return Jf(hf,t)},e.prototype._innerSaveToNormal=function(t){r.prototype._innerSaveToNormal.call(this,t);var a=this._normalState;t.shape&&!a.shape&&(a.shape=V({},this.shape))},e.prototype._applyStateObj=function(t,a,n,i,o,s){r.prototype._applyStateObj.call(this,t,a,n,i,o,s);var l=!(a&&i),u;if(a&&a.shape?o?i?u=a.shape:(u=V({},n.shape),V(u,a.shape)):(u=V({},i?this.shape:n.shape),V(u,a.shape)):l&&(u=n.shape),u)if(o){this.shape=V({},this.shape);for(var f={},h=St(u),v=0;v0},e.prototype.hasFill=function(){var t=this.style,a=t.fill;return a!=null&&a!=="none"},e.prototype.createStyle=function(t){return Jf(OP,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var a=t.text;a!=null?a+="":a="";var n=nl(a,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(sr);ji.prototype.type="tspan";var NP=j({x:0,y:0},$n),BP={style:j({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},ih.style)};function VP(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var se=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.createStyle=function(t){return Jf(NP,t)},e.prototype._getSize=function(t){var a=this.style,n=a[t];if(n!=null)return n;var i=VP(a.image)?a.image:this.__image;if(!i)return 0;var o=t==="width"?"height":"width",s=a[o];return s==null?i[t]:i[t]/i[o]*s},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return BP},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ht(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(sr);se.prototype.type="image";function zP(r,e){var t=e.x,a=e.y,n=e.width,i=e.height,o=e.r,s,l,u,f;n<0&&(t=t+n,n=-n),i<0&&(a=a+i,i=-i),typeof o=="number"?s=l=u=f=o:o instanceof Array?o.length===1?s=l=u=f=o[0]:o.length===2?(s=u=o[0],l=f=o[1]):o.length===3?(s=o[0],l=f=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],f=o[3]):s=l=u=f=0;var h;s+l>n&&(h=s+l,s*=n/h,l*=n/h),u+f>n&&(h=u+f,u*=n/h,f*=n/h),l+u>i&&(h=l+u,l*=i/h,u*=i/h),s+f>i&&(h=s+f,s*=i/h,f*=i/h),r.moveTo(t+s,a),r.lineTo(t+n-l,a),l!==0&&r.arc(t+n-l,a+l,l,-Math.PI/2,0),r.lineTo(t+n,a+i-u),u!==0&&r.arc(t+n-u,a+i-u,u,0,Math.PI/2),r.lineTo(t+f,a+i),f!==0&&r.arc(t+f,a+i-f,f,Math.PI/2,Math.PI),r.lineTo(t,a+s),s!==0&&r.arc(t+s,a+s,s,Math.PI,Math.PI*1.5)}var Wi=Math.round;function sT(r,e,t){if(e){var a=e.x1,n=e.x2,i=e.y1,o=e.y2;r.x1=a,r.x2=n,r.y1=i,r.y2=o;var s=t&&t.lineWidth;return s&&(Wi(a*2)===Wi(n*2)&&(r.x1=r.x2=Vn(a,s,!0)),Wi(i*2)===Wi(o*2)&&(r.y1=r.y2=Vn(i,s,!0))),r}}function lT(r,e,t){if(e){var a=e.x,n=e.y,i=e.width,o=e.height;r.x=a,r.y=n,r.width=i,r.height=o;var s=t&&t.lineWidth;return s&&(r.x=Vn(a,s,!0),r.y=Vn(n,s,!0),r.width=Math.max(Vn(a+i,s,!1)-r.x,i===0?0:1),r.height=Math.max(Vn(n+o,s,!1)-r.y,o===0?0:1)),r}}function Vn(r,e,t){if(!e)return r;var a=Wi(r*2);return(a+Wi(e))%2===0?a/2:(a+(t?1:-1))/2}var GP=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),FP={},bt=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new GP},e.prototype.buildPath=function(t,a){var n,i,o,s;if(this.subPixelOptimize){var l=lT(FP,a,this.style);n=l.x,i=l.y,o=l.width,s=l.height,l.r=a.r,a=l}else n=a.x,i=a.y,o=a.width,s=a.height;a.r?zP(t,a):t.rect(n,i,o,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(yt);bt.prototype.type="rect";var $m={fill:"#000"},Zm=2,HP={style:j({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},ih.style)},Tt=function(r){k(e,r);function e(t){var a=r.call(this)||this;return a.type="text",a._children=[],a._defaultStyle=$m,a.attr(t),a}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var t=0;t0,I=t.width!=null&&(t.overflow==="truncate"||t.overflow==="break"||t.overflow==="breakAll"),L=o.calculatedLineHeight,P=0;P=0&&(P=x[L],P.align==="right");)this._placeToken(P,t,T,y,I,"right",_),A-=P.width,I-=P.width,L--;for(M+=(i-(M-g)-(m-I)-A)/2;D<=L;)P=x[D],this._placeToken(P,t,T,y,M+P.width/2,"center",_),M+=P.width,D++;y+=T}},e.prototype._placeToken=function(t,a,n,i,o,s,l){var u=a.rich[t.styleName]||{};u.text=t.text;var f=t.verticalAlign,h=i+n/2;f==="top"?h=i+t.height/2:f==="bottom"&&(h=i+n-t.height/2);var v=!t.isLineHolder&&yv(u);v&&this._renderBackground(u,a,s==="right"?o-t.width:s==="center"?o-t.width/2:o,h-t.height/2,t.width,t.height);var c=!!u.backgroundColor,p=t.textPadding;p&&(o=t0(o,s,p),h-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(ji),g=d.createStyle();d.useStyle(g);var y=this._defaultStyle,m=!1,_=0,S=jm("fill"in u?u.fill:"fill"in a?a.fill:(m=!0,y.fill)),b=Jm("stroke"in u?u.stroke:"stroke"in a?a.stroke:!c&&!l&&(!y.autoStroke||m)?(_=Zm,y.stroke):null),x=u.textShadowBlur>0||a.textShadowBlur>0;g.text=t.text,g.x=o,g.y=h,x&&(g.shadowBlur=u.textShadowBlur||a.textShadowBlur||0,g.shadowColor=u.textShadowColor||a.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||a.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||a.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||Xa,g.opacity=zr(u.opacity,a.opacity,1),Km(g,u),b&&(g.lineWidth=zr(u.lineWidth,a.lineWidth,_),g.lineDash=it(u.lineDash,a.lineDash),g.lineDashOffset=a.lineDashOffset||0,g.stroke=b),S&&(g.fill=S);var w=t.contentWidth,T=t.contentHeight;d.setBoundingRect(new ht(as(g.x,w,g.textAlign),Vi(g.y,T,g.textBaseline),w,T))},e.prototype._renderBackground=function(t,a,n,i,o,s){var l=t.backgroundColor,u=t.borderWidth,f=t.borderColor,h=l&&l.image,v=l&&!h,c=t.borderRadius,p=this,d,g;if(v||t.lineHeight||u&&f){d=this._getOrCreateChild(bt),d.useStyle(d.createStyle()),d.style.fill=null;var y=d.shape;y.x=n,y.y=i,y.width=o,y.height=s,y.r=c,d.dirtyShape()}if(v){var m=d.style;m.fill=l||null,m.fillOpacity=it(t.fillOpacity,1)}else if(h){g=this._getOrCreateChild(se),g.onload=function(){p.dirtyStyle()};var _=g.style;_.image=l.image,_.x=n,_.y=i,_.width=o,_.height=s}if(u&&f){var m=d.style;m.lineWidth=u,m.stroke=f,m.strokeOpacity=it(t.strokeOpacity,1),m.lineDash=t.borderDash,m.lineDashOffset=t.borderDashOffset||0,d.strokeContainThreshold=0,d.hasFill()&&d.hasStroke()&&(m.strokeFirst=!0,m.lineWidth*=2)}var S=(d||g).style;S.shadowBlur=t.shadowBlur||0,S.shadowColor=t.shadowColor||"transparent",S.shadowOffsetX=t.shadowOffsetX||0,S.shadowOffsetY=t.shadowOffsetY||0,S.opacity=zr(t.opacity,a.opacity,1)},e.makeFont=function(t){var a="";return fT(t)&&(a=[t.fontStyle,t.fontWeight,uT(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),a&&yr(a)||t.textFont||t.font},e}(sr),WP={left:!0,right:1,center:1},UP={top:1,bottom:1,middle:1},qm=["fontStyle","fontWeight","fontSize","fontFamily"];function uT(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?qd+"px":r+"px"}function Km(r,e){for(var t=0;t=0,i=!1;if(r instanceof yt){var o=hT(r),s=n&&o.selectFill||o.normalFill,l=n&&o.selectStroke||o.normalStroke;if(_i(s)||_i(l)){a=a||{};var u=a.style||{};u.fill==="inherit"?(i=!0,a=V({},a),u=V({},u),u.fill=s):!_i(u.fill)&&_i(s)?(i=!0,a=V({},a),u=V({},u),u.fill=Sp(s)):!_i(u.stroke)&&_i(l)&&(i||(a=V({},a),u=V({},u)),u.stroke=Sp(l)),a.style=u}}if(a&&a.z2==null){i||(a=V({},a));var f=r.z2EmphasisLift;a.z2=r.z2+(f??co)}return a}function QP(r,e,t){if(t&&t.z2==null){t=V({},t);var a=r.z2SelectLift;t.z2=r.z2+(a??XP)}return t}function JP(r,e,t){var a=vt(r.currentStates,e)>=0,n=r.style.opacity,i=a?null:qP(r,["opacity"],e,{opacity:1});t=t||{};var o=t.style||{};return o.opacity==null&&(t=V({},t),o=V({opacity:a?n:i.opacity*.1},o),t.style=o),t}function mv(r,e){var t=this.states[r];if(this.style){if(r==="emphasis")return KP(this,r,e,t);if(r==="blur")return JP(this,r,t);if(r==="select")return QP(this,r,t)}return t}function ai(r){r.stateProxy=mv;var e=r.getTextContent(),t=r.getTextGuideLine();e&&(e.stateProxy=mv),t&&(t.stateProxy=mv)}function i0(r,e){!mT(r,e)&&!r.__highByOuter&&ga(r,vT)}function o0(r,e){!mT(r,e)&&!r.__highByOuter&&ga(r,cT)}function fa(r,e){r.__highByOuter|=1<<(e||0),ga(r,vT)}function ha(r,e){!(r.__highByOuter&=~(1<<(e||0)))&&ga(r,cT)}function dT(r){ga(r,gg)}function yg(r){ga(r,pT)}function gT(r){ga(r,$P)}function yT(r){ga(r,ZP)}function mT(r,e){return r.__highDownSilentOnTouch&&e.zrByTouch}function _T(r){var e=r.getModel(),t=[],a=[];e.eachComponent(function(n,i){var o=pg(i),s=n==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&a.push(l),o.isBlured&&(l.group.traverse(function(u){pT(u)}),s&&t.push(i)),o.isBlured=!1}),C(a,function(n){n&&n.toggleBlurSeries&&n.toggleBlurSeries(t,!1,e)})}function Np(r,e,t,a){var n=a.getModel();t=t||"coordinateSystem";function i(u,f){for(var h=0;h0){var s={dataIndex:o,seriesIndex:t.seriesIndex};i!=null&&(s.dataType=i),e.push(s)}})}),e}function qn(r,e,t){zn(r,!0),ga(r,ai),Vp(r,e,t)}function nR(r){zn(r,!1)}function Ht(r,e,t,a){a?nR(r):qn(r,e,t)}function Vp(r,e,t){var a=nt(r);e!=null?(a.focus=e,a.blurScope=t):a.focus&&(a.focus=null)}var l0=["emphasis","blur","select"],iR={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function fe(r,e,t,a){t=t||"itemStyle";for(var n=0;n1&&(o*=_v(p),s*=_v(p));var d=(n===i?-1:1)*_v((o*o*(s*s)-o*o*(c*c)-s*s*(v*v))/(o*o*(c*c)+s*s*(v*v)))||0,g=d*o*c/s,y=d*-s*v/o,m=(r+t)/2+Wl(h)*g-Hl(h)*y,_=(e+a)/2+Hl(h)*g+Wl(h)*y,S=v0([1,0],[(v-g)/o,(c-y)/s]),b=[(v-g)/o,(c-y)/s],x=[(-1*v-g)/o,(-1*c-y)/s],w=v0(b,x);if(Gp(b,x)<=-1&&(w=Eo),Gp(b,x)>=1&&(w=0),w<0){var T=Math.round(w/Eo*1e6)/1e6;w=Eo*2+T%2*Eo}f.addData(u,m,_,o,s,S,w,h,i)}var hR=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,vR=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function cR(r){var e=new Yr;if(!r)return e;var t=0,a=0,n=t,i=a,o,s=Yr.CMD,l=r.match(hR);if(!l)return e;for(var u=0;uP*P+R*R&&(T=D,A=M),{cx:T,cy:A,x0:-f,y0:-h,x1:T*(n/b-1),y1:A*(n/b-1)}}function SR(r){var e;if(z(r)){var t=r.length;if(!t)return r;t===1?e=[r[0],r[0],0,0]:t===2?e=[r[0],r[0],r[1],r[1]]:t===3?e=r.concat(r[2]):e=r}else e=[r,r,r,r];return e}function xR(r,e){var t,a=ns(e.r,0),n=ns(e.r0||0,0),i=a>0,o=n>0;if(!(!i&&!o)){if(i||(a=n,n=0),n>a){var s=a;a=n,n=s}var l=e.startAngle,u=e.endAngle;if(!(isNaN(l)||isNaN(u))){var f=e.cx,h=e.cy,v=!!e.clockwise,c=p0(u-l),p=c>Sv&&c%Sv;if(p>cr&&(c=p),!(a>cr))r.moveTo(f,h);else if(c>Sv-cr)r.moveTo(f+a*xi(l),h+a*gn(l)),r.arc(f,h,a,l,u,!v),n>cr&&(r.moveTo(f+n*xi(u),h+n*gn(u)),r.arc(f,h,n,u,l,v));else{var d=void 0,g=void 0,y=void 0,m=void 0,_=void 0,S=void 0,b=void 0,x=void 0,w=void 0,T=void 0,A=void 0,D=void 0,M=void 0,I=void 0,L=void 0,P=void 0,R=a*xi(l),E=a*gn(l),N=n*xi(u),O=n*gn(u),B=c>cr;if(B){var F=e.cornerRadius;F&&(t=SR(F),d=t[0],g=t[1],y=t[2],m=t[3]);var H=p0(a-n)/2;if(_=Mr(H,y),S=Mr(H,m),b=Mr(H,d),x=Mr(H,g),A=w=ns(_,S),D=T=ns(b,x),(w>cr||T>cr)&&(M=a*xi(u),I=a*gn(u),L=n*xi(l),P=n*gn(l),ccr){var dt=Mr(y,A),st=Mr(m,A),q=Ul(L,P,R,E,a,dt,v),lt=Ul(M,I,N,O,a,st,v);r.moveTo(f+q.cx+q.x0,h+q.cy+q.y0),A0&&r.arc(f+q.cx,h+q.cy,dt,ce(q.y0,q.x0),ce(q.y1,q.x1),!v),r.arc(f,h,a,ce(q.cy+q.y1,q.cx+q.x1),ce(lt.cy+lt.y1,lt.cx+lt.x1),!v),st>0&&r.arc(f+lt.cx,h+lt.cy,st,ce(lt.y1,lt.x1),ce(lt.y0,lt.x0),!v))}else r.moveTo(f+R,h+E),r.arc(f,h,a,l,u,!v);if(!(n>cr)||!B)r.lineTo(f+N,h+O);else if(D>cr){var dt=Mr(d,D),st=Mr(g,D),q=Ul(N,O,M,I,n,-st,v),lt=Ul(R,E,L,P,n,-dt,v);r.lineTo(f+q.cx+q.x0,h+q.cy+q.y0),D0&&r.arc(f+q.cx,h+q.cy,st,ce(q.y0,q.x0),ce(q.y1,q.x1),!v),r.arc(f,h,n,ce(q.cy+q.y1,q.cx+q.x1),ce(lt.cy+lt.y1,lt.cx+lt.x1),v),dt>0&&r.arc(f+lt.cx,h+lt.cy,dt,ce(lt.y1,lt.x1),ce(lt.y0,lt.x0),!v))}else r.lineTo(f+N,h+O),r.arc(f,h,n,u,l,v)}r.closePath()}}}var bR=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return r}(),Ie=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new bR},e.prototype.buildPath=function(t,a){xR(t,a)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(yt);Ie.prototype.type="sector";var wR=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),sl=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new wR},e.prototype.buildPath=function(t,a){var n=a.cx,i=a.cy,o=Math.PI*2;t.moveTo(n+a.r,i),t.arc(n,i,a.r,0,o,!1),t.moveTo(n+a.r0,i),t.arc(n,i,a.r0,0,o,!0)},e}(yt);sl.prototype.type="ring";function TR(r,e,t,a){var n=[],i=[],o=[],s=[],l,u,f,h;if(a){f=[1/0,1/0],h=[-1/0,-1/0];for(var v=0,c=r.length;v=2){if(a){var i=TR(n,a,t,e.smoothConstraint);r.moveTo(n[0][0],n[0][1]);for(var o=n.length,s=0;s<(t?o:o-1);s++){var l=i[s*2],u=i[s*2+1],f=n[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],f[0],f[1])}}else{r.moveTo(n[0][0],n[0][1]);for(var s=1,h=n.length;smn[1]){if(s=!1,i)return s;var f=Math.abs(mn[0]-yn[1]),h=Math.abs(yn[0]-mn[1]);Math.min(f,h)>n.len()&&(f0){var h=f.duration,v=f.delay,c=f.easing,p={duration:h,delay:v||0,easing:c,done:i,force:!!i||!!o,setToFinal:!u,scope:r,during:o};s?e.animateFrom(t,p):e.animateTo(t,p)}else e.stopAnimation(),!s&&e.attr(t),o&&o(1),i&&i()}function Dt(r,e,t,a,n,i){xg("update",r,e,t,a,n,i)}function Vt(r,e,t,a,n,i){xg("enter",r,e,t,a,n,i)}function $i(r){if(!r.__zr)return!0;for(var e=0;eMath.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function y0(r){return!r.isGroup}function HR(r){return r.shape!=null}function fl(r,e,t){if(!r||!e)return;function a(o){var s={};return o.traverse(function(l){y0(l)&&l.anid&&(s[l.anid]=l)}),s}function n(o){var s={x:o.x,y:o.y,rotation:o.rotation};return HR(o)&&(s.shape=V({},o.shape)),s}var i=a(r);e.traverse(function(o){if(y0(o)&&o.anid){var s=i[o.anid];if(s){var l=n(o);o.attr(n(s)),Dt(o,l,t,nt(o).dataIndex)}}})}function ET(r,e){return G(r,function(t){var a=t[0];a=pf(a,e.x),a=df(a,e.x+e.width);var n=t[1];return n=pf(n,e.y),n=df(n,e.y+e.height),[a,n]})}function WR(r,e){var t=pf(r.x,e.x),a=df(r.x+r.width,e.x+e.width),n=pf(r.y,e.y),i=df(r.y+r.height,e.y+e.height);if(a>=t&&i>=n)return{x:t,y:n,width:a-t,height:i-n}}function hl(r,e,t){var a=V({rectHover:!0},e),n=a.style={strokeNoScale:!0};if(t=t||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(n.image=r.slice(8),j(n,t),new se(a)):hh(r.replace("path://",""),a,t,"center")}function is(r,e,t,a,n){for(var i=0,o=n[n.length-1];i1)return!1;var g=xv(c,p,f,h)/v;return!(g<0||g>1)}function xv(r,e,t,a){return r*a-t*e}function UR(r){return r<=1e-6&&r>=-1e-6}function go(r){var e=r.itemTooltipOption,t=r.componentModel,a=r.itemName,n=U(e)?{formatter:e}:e,i=t.mainType,o=t.componentIndex,s={componentType:i,name:a,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&C(St(l),function(f){X(s,f)||(s[f]=l[f],s.$vars.push(f))});var u=nt(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:a,option:j({content:a,formatterParams:s},n)}}function m0(r,e){var t;r.isGroup&&(t=e(r)),t||r.traverse(e)}function tn(r,e){if(r)if(z(r))for(var t=0;t=0&&s.push(l)}),s}}function en(r,e){return ft(ft({},r,!0),e,!0)}const rE={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},aE={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var yf="ZH",Tg="EN",Zi=Tg,Uu={},Ag={},GT=mt.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Zi).toUpperCase();return r.indexOf(yf)>-1?yf:Zi}():Zi;function FT(r,e){r=r.toUpperCase(),Ag[r]=new It(e),Uu[r]=e}function nE(r){if(U(r)){var e=Uu[r.toUpperCase()]||{};return r===yf||r===Tg?rt(e):ft(rt(e),rt(Uu[Zi]),!1)}else return ft(rt(r),rt(Uu[Zi]),!1)}function Wp(r){return Ag[r]}function iE(){return Ag[Zi]}FT(Tg,rE);FT(yf,aE);var Cg=1e3,Dg=Cg*60,bs=Dg*60,nr=bs*24,w0=nr*365,os={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},$l="{yyyy}-{MM}-{dd}",T0={year:"{yyyy}",month:"{yyyy}-{MM}",day:$l,hour:$l+" "+os.hour,minute:$l+" "+os.minute,second:$l+" "+os.second,millisecond:os.none},Tv=["year","month","day","hour","minute","second","millisecond"],HT=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ba(r,e){return r+="","0000".substr(0,e-r.length)+r}function qi(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function oE(r){return r===qi(r)}function sE(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function ph(r,e,t,a){var n=Ur(r),i=n[Mg(t)](),o=n[Ki(t)]()+1,s=Math.floor((o-1)/3)+1,l=n[dh(t)](),u=n["get"+(t?"UTC":"")+"Day"](),f=n[Vs(t)](),h=(f-1)%12+1,v=n[gh(t)](),c=n[yh(t)](),p=n[mh(t)](),d=a instanceof It?a:Wp(a||GT)||iE(),g=d.getModel("time"),y=g.get("month"),m=g.get("monthAbbr"),_=g.get("dayOfWeek"),S=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,ba(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[o-1]).replace(/{MMM}/g,m[o-1]).replace(/{MM}/g,ba(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,ba(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,_[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,ba(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,ba(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,ba(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,ba(c,2)).replace(/{s}/g,c+"").replace(/{SSS}/g,ba(p,3)).replace(/{S}/g,p+"")}function lE(r,e,t,a,n){var i=null;if(U(t))i=t;else if(K(t))i=t(r.value,e,{level:r.level});else{var o=V({},os);if(r.level>0)for(var s=0;s=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(z(i)){var h=r.level==null?0:r.level>=0?r.level:i.length+r.level;h=Math.min(h,i.length-1),i=i[h]}}return ph(new Date(r.value),i,n,a)}function WT(r,e){var t=Ur(r),a=t[Ki(e)]()+1,n=t[dh(e)](),i=t[Vs(e)](),o=t[gh(e)](),s=t[yh(e)](),l=t[mh(e)](),u=l===0,f=u&&s===0,h=f&&o===0,v=h&&i===0,c=v&&n===1,p=c&&a===1;return p?"year":c?"month":v?"day":h?"hour":f?"minute":u?"second":"millisecond"}function A0(r,e,t){var a=Ct(r)?Ur(r):r;switch(e=e||WT(r,t),e){case"year":return a[Mg(t)]();case"half-year":return a[Ki(t)]()>=6?1:0;case"quarter":return Math.floor((a[Ki(t)]()+1)/4);case"month":return a[Ki(t)]();case"day":return a[dh(t)]();case"half-day":return a[Vs(t)]()/24;case"hour":return a[Vs(t)]();case"minute":return a[gh(t)]();case"second":return a[yh(t)]();case"millisecond":return a[mh(t)]()}}function Mg(r){return r?"getUTCFullYear":"getFullYear"}function Ki(r){return r?"getUTCMonth":"getMonth"}function dh(r){return r?"getUTCDate":"getDate"}function Vs(r){return r?"getUTCHours":"getHours"}function gh(r){return r?"getUTCMinutes":"getMinutes"}function yh(r){return r?"getUTCSeconds":"getSeconds"}function mh(r){return r?"getUTCMilliseconds":"getMilliseconds"}function uE(r){return r?"setUTCFullYear":"setFullYear"}function UT(r){return r?"setUTCMonth":"setMonth"}function YT(r){return r?"setUTCDate":"setDate"}function XT(r){return r?"setUTCHours":"setHours"}function $T(r){return r?"setUTCMinutes":"setMinutes"}function ZT(r){return r?"setUTCSeconds":"setSeconds"}function qT(r){return r?"setUTCMilliseconds":"setMilliseconds"}function KT(r){if(!Yw(r))return U(r)?r:"-";var e=(r+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function QT(r,e){return r=(r||"").toLowerCase().replace(/-(.)/g,function(t,a){return a.toUpperCase()}),e&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var _o=eg;function Up(r,e,t){var a="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function n(f){return f&&yr(f)?f:"-"}function i(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=e==="time",s=r instanceof Date;if(o||s){var l=o?Ur(r):r;if(isNaN(+l)){if(s)return"-"}else return ph(l,a,t)}if(e==="ordinal")return lp(r)?n(r):Ct(r)&&i(r)?r+"":"-";var u=ua(r);return i(u)?KT(u):lp(r)?n(r):typeof r=="boolean"?r+"":"-"}var C0=["a","b","c","d","e","f","g"],Av=function(r,e){return"{"+r+(e??"")+"}"};function JT(r,e,t){z(e)||(e=[e]);var a=e.length;if(!a)return"";for(var n=e[0].$vars||[],i=0;i':'';var o=t.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:n==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}}function ni(r,e){return e=e||"transparent",U(r)?r:tt(r)&&r.colorStops&&(r.colorStops[0]||{}).color||e}function mf(r,e){if(e==="_blank"||e==="blank"){var t=window.open();t.opener=null,t.location.href=r}else window.open(r,e)}var Yu=C,jT=["left","right","top","bottom","width","height"],Gn=[["width","left","right"],["height","top","bottom"]];function Ig(r,e,t,a,n){var i=0,o=0;a==null&&(a=1/0),n==null&&(n=1/0);var s=0;e.eachChild(function(l,u){var f=l.getBoundingRect(),h=e.childAt(u+1),v=h&&h.getBoundingRect(),c,p;if(r==="horizontal"){var d=f.width+(v?-v.x+f.x:0);c=i+d,c>a||l.newline?(i=0,c=d,o+=s+t,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(v?-v.y+f.y:0);p=o+g,p>n||l.newline?(i+=s+t,o=0,p=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=c+t:o=p+t)})}var Qn=Ig;ot(Ig,"vertical");ot(Ig,"horizontal");function vE(r,e,t){var a=e.width,n=e.height,i=W(r.left,a),o=W(r.top,n),s=W(r.right,a),l=W(r.bottom,n);return(isNaN(i)||isNaN(parseFloat(r.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=a),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=n),t=_o(t||0),{width:Math.max(s-i-t[1]-t[3],0),height:Math.max(l-o-t[0]-t[2],0)}}function Jt(r,e,t){t=_o(t||0);var a=e.width,n=e.height,i=W(r.left,a),o=W(r.top,n),s=W(r.right,a),l=W(r.bottom,n),u=W(r.width,a),f=W(r.height,n),h=t[2]+t[0],v=t[1]+t[3],c=r.aspect;switch(isNaN(u)&&(u=a-s-v-i),isNaN(f)&&(f=n-l-h-o),c!=null&&(isNaN(u)&&isNaN(f)&&(c>a/n?u=a*.8:f=n*.8),isNaN(u)&&(u=c*f),isNaN(f)&&(f=u/c)),isNaN(i)&&(i=a-s-u-v),isNaN(o)&&(o=n-l-f-h),r.left||r.right){case"center":i=a/2-u/2-t[3];break;case"right":i=a-u-v;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-t[0];break;case"bottom":o=n-f-h;break}i=i||0,o=o||0,isNaN(u)&&(u=a-v-i-(s||0)),isNaN(f)&&(f=n-h-o-(l||0));var p=new ht(i+t[3],o+t[0],u,f);return p.margin=t,p}function _h(r,e,t,a,n,i){var o=!n||!n.hv||n.hv[0],s=!n||!n.hv||n.hv[1],l=n&&n.boundingMode||"all";if(i=i||r,i.x=r.x,i.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new ht(0,0,+e.width||0,+e.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var f=r.getLocalTransform();u=u.clone(),u.applyTransform(f)}var h=Jt(j({width:u.width,height:u.height},e),t,a),v=o?h.x-u.x:0,c=s?h.y-u.y:0;return l==="raw"?(i.x=v,i.y=c):(i.x+=v,i.y+=c),i===r&&r.markRedraw(),!0}function cE(r,e){return r[Gn[e][0]]!=null||r[Gn[e][1]]!=null&&r[Gn[e][2]]!=null}function zs(r){var e=r.layoutMode||r.constructor.layoutMode;return tt(e)?e:e?{type:e}:null}function Ka(r,e,t){var a=t&&t.ignoreSize;!z(a)&&(a=[a,a]);var n=o(Gn[0],0),i=o(Gn[1],1);u(Gn[0],r,n),u(Gn[1],r,i);function o(f,h){var v={},c=0,p={},d=0,g=2;if(Yu(f,function(_){p[_]=r[_]}),Yu(f,function(_){s(e,_)&&(v[_]=p[_]=e[_]),l(v,_)&&c++,l(p,_)&&d++}),a[h])return l(e,f[1])?p[f[2]]=null:l(e,f[2])&&(p[f[1]]=null),p;if(d===g||!c)return p;if(c>=g)return v;for(var y=0;y=0;l--)s=ft(s,n[l],!0);a.defaultOption=s}return a.defaultOption},e.prototype.getReferringComponents=function(t,a){var n=t+"Index",i=t+"Id";return il(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},a)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(It);eT(_t,It);ah(_t);tE(_t);eE(_t,dE);function dE(r){var e=[];return C(_t.getClassesByMainType(r),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=G(e,function(t){return Nr(t).main}),r!=="dataset"&&vt(e,"dataset")<=0&&e.unshift("dataset"),e}var eA="";typeof navigator<"u"&&(eA=navigator.platform||"");var bi="rgba(0, 0, 0, 0.2)";const gE={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:bi,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:bi,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:bi,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:bi,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:bi,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:bi,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:eA.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var rA=$(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),ur="original",ye="arrayRows",fr="objectRows",Xr="keyedColumns",Wa="typedArray",aA="unknown",Gr="column",xo="row",le={Must:1,Might:2,Not:3},nA=At();function yE(r){nA(r).datasetMap=$()}function iA(r,e,t){var a={},n=Pg(e);if(!n||!r)return a;var i=[],o=[],s=e.ecModel,l=nA(s).datasetMap,u=n.uid+"_"+t.seriesLayoutBy,f,h;r=r.slice(),C(r,function(d,g){var y=tt(d)?d:r[g]={name:d};y.type==="ordinal"&&f==null&&(f=g,h=p(y)),a[y.name]=[]});var v=l.get(u)||l.set(u,{categoryWayDim:h,valueWayDim:0});C(r,function(d,g){var y=d.name,m=p(d);if(f==null){var _=v.valueWayDim;c(a[y],_,m),c(o,_,m),v.valueWayDim+=m}else if(f===g)c(a[y],0,m),c(i,0,m);else{var _=v.categoryWayDim;c(a[y],_,m),c(o,_,m),v.categoryWayDim+=m}});function c(d,g,y){for(var m=0;me)return r[a];return r[t-1]}function lA(r,e,t,a,n,i,o){i=i||r;var s=e(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(n))return u[n];var f=o==null||!a?t:bE(a,o);if(f=f||t,!(!f||!f.length)){var h=f[l];return n&&(u[n]=h),s.paletteIdx=(l+1)%f.length,h}}function wE(r,e){e(r).paletteIdx=0,e(r).paletteNameMap={}}var Zl,ko,M0,I0="\0_ec_inner",TE=1,Eg=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t,a,n,i,o,s){i=i||{},this.option=null,this._theme=new It(i),this._locale=new It(o),this._optionManager=s},e.prototype.setOption=function(t,a,n){var i=R0(a);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,a){return this._resetOption(t,R0(a))},e.prototype._resetOption=function(t,a){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var o=i.mountOption(t==="recreate");!this.option||t==="recreate"?M0(this,o):(this.restoreData(),this._mergeOption(o,a)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var s=i.getTimelineOption(this);s&&(n=!0,this._mergeOption(s,a))}if(!t||t==="recreate"||t==="media"){var l=i.getMediaOption(this);l.length&&C(l,function(u){n=!0,this._mergeOption(u,a)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,a){var n=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=$(),u=a&&a.replaceMergeMainTypeMap;yE(this),C(t,function(h,v){h!=null&&(_t.hasClass(v)?v&&(s.push(v),l.set(v,!0)):n[v]=n[v]==null?rt(h):ft(n[v],h,!0))}),u&&u.each(function(h,v){_t.hasClass(v)&&!l.get(v)&&(s.push(v),l.set(v,!0))}),_t.topologicalTravel(s,_t.getAllClassMainTypes(),f,this);function f(h){var v=SE(this,h,Rt(t[h])),c=i.get(h),p=c?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",d=Kw(c,v,p);YL(d,h,_t),n[h]=null,i.set(h,null),o.set(h,0);var g=[],y=[],m=0,_;C(d,function(S,b){var x=S.existing,w=S.newOption;if(!w)x&&(x.mergeOption({},this),x.optionUpdated({},!1));else{var T=h==="series",A=_t.getClass(h,S.keyInfo.subType,!T);if(!A)return;if(h==="tooltip"){if(_)return;_=!0}if(x&&x.constructor===A)x.name=S.keyInfo.name,x.mergeOption(w,this),x.optionUpdated(w,!1);else{var D=V({componentIndex:b},S.keyInfo);x=new A(w,this,this,D),V(x,D),S.brandNew&&(x.__requireNewView=!0),x.init(w,this,this),x.optionUpdated(null,!0)}}x?(g.push(x.option),y.push(x),m++):(g.push(void 0),y.push(void 0))},this),n[h]=g,i.set(h,y),o.set(h,m),h==="series"&&Zl(this)}this._seriesIndices||Zl(this)},e.prototype.getOption=function(){var t=rt(this.option);return C(t,function(a,n){if(_t.hasClass(n)){for(var i=Rt(a),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!ks(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,t[n]=i}}),delete t[I0],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,a){var n=this._componentsMap.get(t);if(n){var i=n[a||0];if(i)return i;if(a==null){for(var o=0;o=e:t==="max"?r<=e:r===e}function EE(r,e){return r.join(",")===e.join(",")}var hr=C,Gs=tt,E0=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Dv(r){var e=r&&r.itemStyle;if(e)for(var t=0,a=E0.length;t=0;g--){var y=r[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var m=y.data.getByRawIndex(y.stackResultDimension,p);if(l==="all"||l==="positive"&&m>0||l==="negative"&&m<0||l==="samesign"&&v>=0&&m>0||l==="samesign"&&v<=0&&m<0){v=kL(v,m),d=m;break}}}return a[0]=v,a[1]=d,a})})}var Sh=function(){function r(e){this.data=e.data||(e.sourceFormat===Xr?{}:[]),this.sourceFormat=e.sourceFormat||aA,this.seriesLayoutBy=e.seriesLayoutBy||Gr,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var a=0;ad&&(d=_)}c[0]=p,c[1]=d}},n=function(){return this._data?this._data.length/this._dimSize:0};G0=(e={},e[ye+"_"+Gr]={pure:!0,appendData:i},e[ye+"_"+xo]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[fr]={pure:!0,appendData:i},e[Xr]={pure:!0,appendData:function(o){var s=this._data;C(o,function(l,u){for(var f=s[u]||(s[u]=[]),h=0;h<(l||[]).length;h++)f.push(l[h])})}},e[ur]={appendData:i},e[Wa]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},e);function i(o){for(var s=0;s=0&&(d=o.interpolatedValue[g])}return d!=null?d+"":""})}},r.prototype.getRawValue=function(e,t){return eo(this.getData(t),e)},r.prototype.formatTooltip=function(e,t,a){},r}();function U0(r){var e,t;return tt(r)?r.type&&(t=r):e=r,{text:e,frag:t}}function ws(r){return new KE(r)}var KE=function(){function r(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return r.prototype.perform=function(e){var t=this._upstream,a=e&&e.skip;if(this._dirty&&t){var n=this.context;n.data=n.outputData=t.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!a&&(i=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,l=f(e&&e.modBy),u=e&&e.modDataCount||0;(o!==l||s!==u)&&(i="reset");function f(m){return!(m>=1)&&(m=1),m}var h;(this._dirty||i==="reset")&&(this._dirty=!1,h=this._doReset(a)),this._modBy=l,this._modDataCount=u;var v=e&&e.step;if(t?this._dueEnd=t._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var c=this._dueIndex,p=Math.min(v!=null?this._dueIndex+v:1/0,this._dueEnd);if(!a&&(h||c1&&a>0?s:o}};return i;function o(){return e=r?null:le},gte:function(r,e){return r>=e}},JE=function(){function r(e,t){if(!Ct(t)){var a="";Mt(a)}this._opFn=_A[e],this._rvalFloat=ua(t)}return r.prototype.evaluate=function(e){return Ct(e)?this._opFn(e,this._rvalFloat):this._opFn(ua(e),this._rvalFloat)},r}(),SA=function(){function r(e,t){var a=e==="desc";this._resultLT=a?1:-1,t==null&&(t=a?"min":"max"),this._incomparable=t==="min"?-1/0:1/0}return r.prototype.evaluate=function(e,t){var a=Ct(e)?e:ua(e),n=Ct(t)?t:ua(t),i=isNaN(a),o=isNaN(n);if(i&&(a=this._incomparable),o&&(n=this._incomparable),i&&o){var s=U(e),l=U(t);s&&(a=l?e:0),l&&(n=s?t:0)}return an?-this._resultLT:0},r}(),jE=function(){function r(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=typeof t,this._rvalFloat=ua(t)}return r.prototype.evaluate=function(e){var t=e===this._rval;if(!t){var a=typeof e;a!==this._rvalTypeof&&(a==="number"||this._rvalTypeof==="number")&&(t=ua(e)===this._rvalFloat)}return this._isEQ?t:!t},r}();function tk(r,e){return r==="eq"||r==="ne"?new jE(r==="eq",e):X(_A,r)?new JE(r,e):null}var ek=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(e){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(e){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(e,t){},r.prototype.retrieveValueFromItem=function(e,t){},r.prototype.convertValue=function(e,t){return Ua(e,t)},r}();function rk(r,e){var t=new ek,a=r.data,n=t.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==Gr&&Mt(o);var s=[],l={},u=r.dimensionsDefine;if(u)C(u,function(d,g){var y=d.name,m={index:g,name:y,displayName:d.displayName};if(s.push(m),y!=null){var _="";X(l,y)&&Mt(_),l[y]=m}});else for(var f=0;f65535?fk:hk}function wi(){return[1/0,-1/0]}function vk(r){var e=r.constructor;return e===Array?r.slice():new e(r)}function $0(r,e,t,a,n){var i=wA[t||"float"];if(n){var o=r[e],s=o&&o.length;if(s!==a){for(var l=new i(a),u=0;ug[1]&&(g[1]=d)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(e,t,a){for(var n=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=G(o,function(m){return m.property}),f=0;fy[1]&&(y[1]=g)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=t,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(e,t){if(!(t>=0&&t=0&&t=this._rawCount||e<0)return-1;if(!this._indices)return e;var t=this._indices,a=t[e];if(a!=null&&ae)i=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(e,t,a){var n=this._chunks,i=n[e],o=[];if(!i)return o;a==null&&(a=1/0);for(var s=1/0,l=-1,u=0,f=0,h=this.count();f=0&&l<0)&&(s=p,l=c,u=0),c===l&&(o[u++]=f))}return o.length=u,o},r.prototype.getIndices=function(){var e,t=this._indices;if(t){var a=t.constructor,n=this._count;if(a===Array){e=new a(n);for(var i=0;i=h&&m<=v||isNaN(m))&&(l[u++]=d),d++}p=!0}else if(i===2){for(var g=c[n[0]],_=c[n[1]],S=e[n[1]][0],b=e[n[1]][1],y=0;y=h&&m<=v||isNaN(m))&&(x>=S&&x<=b||isNaN(x))&&(l[u++]=d),d++}p=!0}}if(!p)if(i===1)for(var y=0;y=h&&m<=v||isNaN(m))&&(l[u++]=w)}else for(var y=0;ye[D][1])&&(T=!1)}T&&(l[u++]=t.getRawIndex(y))}return uy[1]&&(y[1]=g)}}}},r.prototype.lttbDownSample=function(e,t){var a=this.clone([e],!0),n=a._chunks,i=n[e],o=this.count(),s=0,l=Math.floor(1/t),u=this.getRawIndex(0),f,h,v,c=new(No(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));c[s++]=u;for(var p=1;pf&&(f=h,v=S)}M>0&&Mf-p&&(l=f-p,s.length=l);for(var d=0;dh[1]&&(h[1]=y),v[c++]=m}return i._count=c,i._indices=v,i._updateGetRawIdx(),i},r.prototype.each=function(e,t){if(this._count)for(var a=e.length,n=this._chunks,i=0,o=this.count();il&&(l=h)}return o=[s,l],this._extent[e]=o,o},r.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var a=[],n=this._chunks,i=0;i=0?this._indices[e]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function e(t,a,n,i){return Ua(t[i],this._dimensions[i])}Lv={arrayRows:e,objectRows:function(t,a,n,i){return Ua(t[a],this._dimensions[i])},keyedColumns:e,original:function(t,a,n,i){var o=t&&(t.value==null?t:t.value);return Ua(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(t,a,n,i){return t[i]}}}(),r}(),TA=function(){function r(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,t=this._getUpstreamSourceManagers(),a=!!t.length,n,i;if(ql(e)){var o=e,s=void 0,l=void 0,u=void 0;if(a){var f=t[0];f.prepareSource(),u=f.getSource(),s=u.data,l=u.sourceFormat,i=[f._getVersionSign()]}else s=o.get("data",!0),l=Ve(s)?Wa:ur,i=[];var h=this._getSourceMetaRawOption()||{},v=u&&u.metaRawOption||{},c=it(h.seriesLayoutBy,v.seriesLayoutBy)||null,p=it(h.sourceHeader,v.sourceHeader),d=it(h.dimensions,v.dimensions),g=c!==v.seriesLayoutBy||!!p!=!!v.sourceHeader||d;n=g?[$p(s,{seriesLayoutBy:c,sourceHeader:p,dimensions:d},l)]:[]}else{var y=e;if(a){var m=this._applyTransform(t);n=m.sourceList,i=m.upstreamSignList}else{var _=y.get("source",!0);n=[$p(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(n,i)},r.prototype._applyTransform=function(e){var t=this._sourceHost,a=t.get("transform",!0),n=t.get("fromTransformResult",!0);if(n!=null){var i="";e.length!==1&&q0(i)}var o,s=[],l=[];return C(e,function(u){u.prepareSource();var f=u.getSource(n||0),h="";n!=null&&!f&&q0(h),s.push(f),l.push(u._getVersionSign())}),a?o=lk(a,s,{datasetIndex:t.componentIndex}):n!=null&&(o=[WE(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t1||t>0&&!r.noHeader;return C(r.blocks,function(n){var i=MA(n);i>=e&&(e=i+ +(a&&(!i||qp(n)&&!n.noHeader)))}),e}return 0}function dk(r,e,t,a){var n=e.noHeader,i=yk(MA(e)),o=[],s=e.blocks||[];De(!s||z(s)),s=s||[];var l=r.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(X(u,l)){var f=new SA(u[l],null);s.sort(function(p,d){return f.evaluate(p.sortParam,d.sortParam)})}else l==="seriesDesc"&&s.reverse()}C(s,function(p,d){var g=e.valueFormatter,y=DA(p)(g?V(V({},r),{valueFormatter:g}):r,p,d>0?i.html:0,a);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(i.richText):Kp(o.join(""),n?t:i.html);if(n)return h;var v=Up(e.header,"ordinal",r.useUTC),c=CA(a,r.renderMode).nameStyle;return r.renderMode==="richText"?IA(r,v,c)+i.richText+h:Kp('
'+Ge(v)+"
"+h,t)}function gk(r,e,t,a){var n=r.renderMode,i=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=r.useUTC,f=e.valueFormatter||r.valueFormatter||function(S){return S=z(S)?S:[S],G(S,function(b,x){return Up(b,z(c)?c[x]:c,u)})};if(!(i&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",n),v=i?"":Up(l,"ordinal",u),c=e.valueType,p=o?[]:f(e.value,e.dataIndex),d=!s||!i,g=!s&&i,y=CA(a,n),m=y.nameStyle,_=y.valueStyle;return n==="richText"?(s?"":h)+(i?"":IA(r,v,m))+(o?"":Sk(r,p,d,g,_)):Kp((s?"":h)+(i?"":mk(v,!s,m))+(o?"":_k(p,d,g,_)),t)}}function K0(r,e,t,a,n,i){if(r){var o=DA(r),s={useUTC:n,renderMode:t,orderMode:a,markupStyleCreator:e,valueFormatter:r.valueFormatter};return o(s,r,0,i)}}function yk(r){return{html:ck[r],richText:pk[r]}}function Kp(r,e){var t='
',a="margin: "+e+"px 0 0";return'
'+r+t+"
"}function mk(r,e,t){var a=e?"margin-left:2px":"";return''+Ge(r)+""}function _k(r,e,t,a){var n=t?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return r=z(r)?r:[r],''+G(r,function(o){return Ge(o)}).join("  ")+""}function IA(r,e,t){return r.markupStyleCreator.wrapRichTextStyle(e,t)}function Sk(r,e,t,a,n){var i=[n],o=a?10:20;return t&&i.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(z(e)?e.join(" "):e,i)}function LA(r,e){var t=r.getData().getItemVisual(e,"style"),a=t[r.visualDrawType];return ni(a)}function PA(r,e){var t=r.get("padding");return t??(e==="richText"?[8,10]:10)}var Pv=function(){function r(){this.richTextStyles={},this._nextStyleNameId=Xw()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(e,t,a){var n=a==="richText"?this._generateStyleName():null,i=hE({color:t,type:e,renderMode:a,markerId:n});return U(i)?i:(this.richTextStyles[n]=i.style,i.content)},r.prototype.wrapRichTextStyle=function(e,t){var a={};z(t)?C(t,function(i){return V(a,i)}):V(a,t);var n=this._generateStyleName();return this.richTextStyles[n]=a,"{"+n+"|"+e+"}"},r}();function RA(r){var e=r.series,t=r.dataIndex,a=r.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),o=i.length,s=e.getRawValue(t),l=z(s),u=LA(e,t),f,h,v,c;if(o>1||l&&!o){var p=xk(s,e,t,i,u);f=p.inlineValues,h=p.inlineValueTypes,v=p.blocks,c=p.inlineValues[0]}else if(o){var d=n.getDimensionInfo(i[0]);c=f=eo(n,t,i[0]),h=d.type}else c=f=l?s[0]:s;var g=ug(e),y=g&&e.name||"",m=n.getName(t),_=a?y:m;return ne("section",{header:y,noHeader:a||!g,sortParam:c,blocks:[ne("nameValue",{markerType:"item",markerColor:u,name:_,noName:!yr(_),value:f,valueType:h,dataIndex:t})].concat(v||[])})}function xk(r,e,t,a,n){var i=e.getData(),o=Fr(r,function(h,v,c){var p=i.getDimensionInfo(c);return h=h||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];a.length?C(a,function(h){f(eo(i,t,h),h)}):C(r,f);function f(h,v){var c=i.getDimensionInfo(v);!c||c.otherDims.tooltip===!1||(o?u.push(ne("nameValue",{markerType:"subItem",markerColor:n,name:c.displayName,value:h,valueType:c.type})):(s.push(h),l.push(c.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var wa=At();function Kl(r,e){return r.getName(e)||r.getId(e)}var Xu="__universalTransitionEnabled",Bt=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t._selectedDataIndicesMap={},t}return e.prototype.init=function(t,a,n){this.seriesIndex=this.componentIndex,this.dataTask=ws({count:wk,reset:Tk}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=wa(this).sourceManager=new TA(this);i.prepareSource();var o=this.getInitialData(t,n);J0(o,this),this.dataTask.context.data=o,wa(this).dataBeforeProcessed=o,Q0(this),this._initSelectedMapFromData(o)},e.prototype.mergeDefaultAndTheme=function(t,a){var n=zs(this),i=n?So(t):{},o=this.subType;_t.hasClass(o)&&(o+="Series"),ft(t,a.getTheme().get(this.subType)),ft(t,this.getDefaultOption()),ti(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Ka(t,i,n)},e.prototype.mergeOption=function(t,a){t=ft(this.option,t,!0),this.fillDataTextStyle(t.data);var n=zs(this);n&&Ka(this.option,t,n);var i=wa(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,a);J0(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,wa(this).dataBeforeProcessed=o,Q0(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!Ve(t))for(var a=["show"],n=0;nthis.getShallow("animationThreshold")&&(a=!1),!!a},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,a,n){var i=this.ecModel,o=Rg.prototype.getColorFromPalette.call(this,t,a,n);return o||(o=i.getColorFromPalette(t,a,n)),o},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,a){this._innerSelect(this.getData(a),t)},e.prototype.unselect=function(t,a){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,o=this.getData(a);if(i==="series"||n==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s=0&&n.push(o)}return n},e.prototype.isSelected=function(t,a){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(a);return(n==="all"||n[Kl(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Xu])return!0;var t=this.option.universalTransition;return t?t===!0?!0:t&&t.enabled:!1},e.prototype._innerSelect=function(t,a){var n,i,o=this.option,s=o.selectedMode,l=a.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){tt(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,f=0;f0&&this._innerSelect(t,a)}},e.registerClass=function(t){return _t.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(_t);Kt(Bt,Bg);Kt(Bt,Rg);eT(Bt,_t);function Q0(r){var e=r.name;ug(r)||(r.name=bk(r)||e)}function bk(r){var e=r.getRawData(),t=e.mapDimensionsAll("seriesName"),a=[];return C(t,function(n){var i=e.getDimensionInfo(n);i.displayName&&a.push(i.displayName)}),a.join(" ")}function wk(r){return r.model.getRawData().count()}function Tk(r){var e=r.model;return e.setData(e.getRawData().cloneShallow()),Ak}function Ak(r,e){e.outputData&&r.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function J0(r,e){C(ef(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(t){r.wrapMethod(t,ot(Ck,e))})}function Ck(r,e){var t=Qp(r);return t&&t.setOutputEnd((e||this).count()),e}function Qp(r){var e=(r.ecModel||{}).scheduler,t=e&&e.getPipeline(r.uid);if(t){var a=t.currentTask;if(a){var n=a.agentStubMap;n&&(a=n.get(r.uid))}return a}}var Gt=function(){function r(){this.group=new at,this.uid=mo("viewComponent")}return r.prototype.init=function(e,t){},r.prototype.render=function(e,t,a,n){},r.prototype.dispose=function(e,t){},r.prototype.updateView=function(e,t,a,n){},r.prototype.updateLayout=function(e,t,a,n){},r.prototype.updateVisual=function(e,t,a,n){},r.prototype.toggleBlurSeries=function(e,t,a){},r.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)},r}();hg(Gt);ah(Gt);function bo(){var r=At();return function(e){var t=r(e),a=e.pipelineContext,n=!!t.large,i=!!t.progressiveRender,o=t.large=!!(a&&a.large),s=t.progressiveRender=!!(a&&a.progressiveRender);return(n!==o||i!==s)&&"reset"}}var EA=At(),Dk=bo(),Et=function(){function r(){this.group=new at,this.uid=mo("viewChart"),this.renderTask=ws({plan:Mk,reset:Ik}),this.renderTask.context={view:this}}return r.prototype.init=function(e,t){},r.prototype.render=function(e,t,a,n){},r.prototype.highlight=function(e,t,a,n){var i=e.getData(n&&n.dataType);i&&t_(i,n,"emphasis")},r.prototype.downplay=function(e,t,a,n){var i=e.getData(n&&n.dataType);i&&t_(i,n,"normal")},r.prototype.remove=function(e,t){this.group.removeAll()},r.prototype.dispose=function(e,t){},r.prototype.updateView=function(e,t,a,n){this.render(e,t,a,n)},r.prototype.updateLayout=function(e,t,a,n){this.render(e,t,a,n)},r.prototype.updateVisual=function(e,t,a,n){this.render(e,t,a,n)},r.prototype.eachRendered=function(e){tn(this.group,e)},r.markUpdateMethod=function(e,t){EA(e).updateMethod=t},r.protoInitialize=function(){var e=r.prototype;e.type="chart"}(),r}();function j0(r,e,t){r&&Ns(r)&&(e==="emphasis"?fa:ha)(r,t)}function t_(r,e,t){var a=ei(r,e),n=e&&e.highlightKey!=null?sR(e.highlightKey):null;a!=null?C(Rt(a),function(i){j0(r.getItemGraphicEl(i),t,n)}):r.eachItemGraphicEl(function(i){j0(i,t,n)})}hg(Et);ah(Et);function Mk(r){return Dk(r.model)}function Ik(r){var e=r.model,t=r.ecModel,a=r.api,n=r.payload,i=e.pipelineContext.progressiveRender,o=r.view,s=n&&EA(n).updateMethod,l=i?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](e,t,a,n),Lk[l]}var Lk={incrementalPrepareRender:{progress:function(r,e){e.view.incrementalRender(r,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(r,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},_f="\0__throttleOriginMethod",e_="\0__throttleRate",r_="\0__throttleType";function zg(r,e,t){var a,n=0,i=0,o=null,s,l,u,f;e=e||0;function h(){i=new Date().getTime(),o=null,r.apply(l,u||[])}var v=function(){for(var c=[],p=0;p=0?h():o=setTimeout(h,-s),n=a};return v.clear=function(){o&&(clearTimeout(o),o=null)},v.debounceNextCall=function(c){f=c},v}function wo(r,e,t,a){var n=r[e];if(n){var i=n[_f]||n,o=n[r_],s=n[e_];if(s!==t||o!==a){if(t==null||!a)return r[e]=i;n=r[e]=zg(i,t,a==="debounce"),n[_f]=i,n[r_]=a,n[e_]=t}return n}}function Fs(r,e){var t=r[e];t&&t[_f]&&(t.clear&&t.clear(),r[e]=t[_f])}var a_=At(),n_={itemStyle:ri(zT,!0),lineStyle:ri(VT,!0)},Pk={lineStyle:"stroke",itemStyle:"fill"};function kA(r,e){var t=r.visualStyleMapper||n_[e];return t||(console.warn("Unknown style type '"+e+"'."),n_.itemStyle)}function OA(r,e){var t=r.visualDrawType||Pk[e];return t||(console.warn("Unknown style type '"+e+"'."),"fill")}var Rk={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=r.getModel(a),i=kA(r,a),o=i(n),s=n.getShallow("decal");s&&(t.setVisual("decal",s),s.dirty=!0);var l=OA(r,a),u=o[l],f=K(u)?u:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[l]||f||h){var v=r.getColorFromPalette(r.name,null,e.getSeriesCount());o[l]||(o[l]=v,t.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||K(o.fill)?v:o.fill,o.stroke=o.stroke==="auto"||K(o.stroke)?v:o.stroke}if(t.setVisual("style",o),t.setVisual("drawType",l),!e.isSeriesFiltered(r)&&f)return t.setVisual("colorFromPalette",!1),{dataEach:function(c,p){var d=r.getDataParams(p),g=V({},o);g[l]=f(d),c.setItemVisual(p,"style",g)}}}},Bo=new It,Ek={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){if(!(r.ignoreStyleOnData||e.isSeriesFiltered(r))){var t=r.getData(),a=r.visualStyleAccessPath||"itemStyle",n=kA(r,a),i=t.getVisual("drawType");return{dataEach:t.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[a]){Bo.option=l[a];var u=n(Bo),f=o.ensureUniqueItemVisual(s,"style");V(f,u),Bo.option.decal&&(o.setItemVisual(s,"decal",Bo.option.decal),Bo.option.decal.dirty=!0),i in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},kk={performRawSeries:!0,overallReset:function(r){var e=$();r.eachSeries(function(t){var a=t.getColorBy();if(!t.isColorBySeries()){var n=t.type+"-"+a,i=e.get(n);i||(i={},e.set(n,i)),a_(t).scope=i}}),r.eachSeries(function(t){if(!(t.isColorBySeries()||r.isSeriesFiltered(t))){var a=t.getRawData(),n={},i=t.getData(),o=a_(t).scope,s=t.visualStyleAccessPath||"itemStyle",l=OA(t,s);i.each(function(u){var f=i.getRawIndex(u);n[f]=u}),a.each(function(u){var f=n[u],h=i.getItemVisual(f,"colorFromPalette");if(h){var v=i.ensureUniqueItemVisual(f,"style"),c=a.getName(u)||u+"",p=a.count();v[l]=t.getColorFromPalette(c,o,p)}})}})}},Ql=Math.PI;function Ok(r,e){e=e||{},j(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var t=new at,a=new bt({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});t.add(a);var n=new Tt({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),i=new bt({style:{fill:"none"},textContent:n,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});t.add(i);var o;return e.showSpinner&&(o=new fh({shape:{startAngle:-Ql/2,endAngle:-Ql/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:Ql*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Ql*3/2}).delay(300).start("circularInOut"),t.add(o)),t.resize=function(){var s=n.getBoundingRect().width,l=e.showSpinner?e.spinnerRadius:0,u=(r.getWidth()-l*2-(e.showSpinner&&s?10:0)-s)/2-(e.showSpinner&&s?0:5+s/2)+(e.showSpinner?0:s/2)+(s?0:l),f=r.getHeight()/2;e.showSpinner&&o.setShape({cx:u,cy:f}),i.setShape({x:u-l,y:f-l,width:l*2,height:l*2}),a.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},t.resize(),t}var NA=function(){function r(e,t,a,n){this._stageTaskMap=$(),this.ecInstance=e,this.api=t,a=this._dataProcessorHandlers=a.slice(),n=this._visualHandlers=n.slice(),this._allHandlers=a.concat(n)}return r.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each(function(a){var n=a.overallTask;n&&n.dirty()})},r.prototype.getPerformArgs=function(e,t){if(e.__pipeline){var a=this._pipelineMap.get(e.__pipeline.id),n=a.context,i=!t&&a.progressiveEnabled&&(!n||n.progressiveRender)&&e.__idxInPipeline>a.blockIndex,o=i?a.step:null,s=n&&n.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},r.prototype.updateStreamModes=function(e,t){var a=this._pipelineMap.get(e.uid),n=e.getData(),i=n.count(),o=a.progressiveEnabled&&t.incrementalPrepareRender&&i>=a.threshold,s=e.get("large")&&i>=e.get("largeThreshold"),l=e.get("progressiveChunkMode")==="mod"?i:null;e.pipelineContext=a.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(e){var t=this,a=t._pipelineMap=$();e.eachSeries(function(n){var i=n.getProgressive(),o=n.uid;a.set(o,{id:o,head:null,tail:null,threshold:n.getProgressiveThreshold(),progressiveEnabled:i&&!(n.preventIncremental&&n.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),t._pipe(n,n.dataTask)})},r.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),a=this.api;C(this._allHandlers,function(n){var i=e.get(n.uid)||e.set(n.uid,{}),o="";De(!(n.reset&&n.overallReset),o),n.reset&&this._createSeriesStageTask(n,i,t,a),n.overallReset&&this._createOverallStageTask(n,i,t,a)},this)},r.prototype.prepareView=function(e,t,a,n){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=a,o.api=n,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},r.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},r.prototype.performVisualTasks=function(e,t,a){this._performStageTasks(this._visualHandlers,e,t,a)},r.prototype._performStageTasks=function(e,t,a,n){n=n||{};var i=!1,o=this;C(e,function(l,u){if(!(n.visualType&&n.visualType!==l.visualType)){var f=o._stageTaskMap.get(l.uid),h=f.seriesTaskMap,v=f.overallTask;if(v){var c,p=v.agentStubMap;p.each(function(g){s(n,g)&&(g.dirty(),c=!0)}),c&&v.dirty(),o.updatePayload(v,a);var d=o.getPerformArgs(v,n.block);p.each(function(g){g.perform(d)}),v.perform(d)&&(i=!0)}else h&&h.each(function(g,y){s(n,g)&&g.dirty();var m=o.getPerformArgs(g,n.block);m.skip=!l.performRawSeries&&t.isSeriesFiltered(g.context.model),o.updatePayload(g,a),g.perform(m)&&(i=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=i||this.unfinished},r.prototype.performSeriesTasks=function(e){var t;e.eachSeries(function(a){t=a.dataTask.perform()||t}),this.unfinished=t||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}t=t.getUpstream()}while(t)})},r.prototype.updatePayload=function(e,t){t!=="remain"&&(e.context.payload=t)},r.prototype._createSeriesStageTask=function(e,t,a,n){var i=this,o=t.seriesTaskMap,s=t.seriesTaskMap=$(),l=e.seriesType,u=e.getTargetSeries;e.createOnAllSeries?a.eachRawSeries(f):l?a.eachRawSeriesByType(l,f):u&&u(a,n).each(f);function f(h){var v=h.uid,c=s.set(v,o&&o.get(v)||ws({plan:Gk,reset:Fk,count:Wk}));c.context={model:h,ecModel:a,api:n,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(h,c)}},r.prototype._createOverallStageTask=function(e,t,a,n){var i=this,o=t.overallTask=t.overallTask||ws({reset:Nk});o.context={ecModel:a,api:n,overallReset:e.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=$(),u=e.seriesType,f=e.getTargetSeries,h=!0,v=!1,c="";De(!e.createOnAllSeries,c),u?a.eachRawSeriesByType(u,p):f?f(a,n).each(p):(h=!1,C(a.getSeries(),p));function p(d){var g=d.uid,y=l.set(g,s&&s.get(g)||(v=!0,ws({reset:Bk,onDirty:zk})));y.context={model:d,overallProgress:h},y.agent=o,y.__block=h,i._pipe(d,y)}v&&o.dirty()},r.prototype._pipe=function(e,t){var a=e.uid,n=this._pipelineMap.get(a);!n.head&&(n.head=t),n.tail&&n.tail.pipe(t),n.tail=t,t.__idxInPipeline=n.count++,t.__pipeline=n},r.wrapStageHandler=function(e,t){return K(e)&&(e={overallReset:e,seriesType:Uk(e)}),e.uid=mo("stageHandler"),t&&(e.visualType=t),e},r}();function Nk(r){r.overallReset(r.ecModel,r.api,r.payload)}function Bk(r){return r.overallProgress&&Vk}function Vk(){this.agent.dirty(),this.getDownstream().dirty()}function zk(){this.agent&&this.agent.dirty()}function Gk(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function Fk(r){r.useClearVisual&&r.data.clearAllVisual();var e=r.resetDefines=Rt(r.reset(r.model,r.ecModel,r.api,r.payload));return e.length>1?G(e,function(t,a){return BA(a)}):Hk}var Hk=BA(0);function BA(r){return function(e,t){var a=t.data,n=t.resetDefines[r];if(n&&n.dataEach)for(var i=e.start;i0&&c===u.length-v.length){var p=u.slice(0,c);p!=="data"&&(t.mainType=p,t[v.toLowerCase()]=l,f=!0)}}s.hasOwnProperty(u)&&(a[u]=l,f=!0),f||(n[u]=l)})}return{cptQuery:t,dataQuery:a,otherQuery:n}},r.prototype.filter=function(e,t){var a=this.eventInfo;if(!a)return!0;var n=a.targetEl,i=a.packedEvent,o=a.model,s=a.view;if(!o||!s)return!0;var l=t.cptQuery,u=t.dataQuery;return f(l,o,"mainType")&&f(l,o,"subType")&&f(l,o,"index","componentIndex")&&f(l,o,"name")&&f(l,o,"id")&&f(u,i,"name")&&f(u,i,"dataIndex")&&f(u,i,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,n,i));function f(h,v,c,p){return h[c]==null||v[p||c]===h[c]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),Jp=["symbol","symbolSize","symbolRotate","symbolOffset"],l_=Jp.concat(["symbolKeepAspect"]),$k={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,e){var t=r.getData();if(r.legendIcon&&t.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var a={},n={},i=!1,o=0;o=0&&Hn(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function jp(r,e,t){for(var a=e.type==="radial"?lO(r,e,t):sO(r,e,t),n=e.colorStops,i=0;i0)?null:r==="dashed"?[4*e,2*e]:r==="dotted"?[e]:Ct(r)?[r]:z(r)?r:null}function Fg(r){var e=r.style,t=e.lineDash&&e.lineWidth>0&&fO(e.lineDash,e.lineWidth),a=e.lineDashOffset;if(t){var n=e.strokeNoScale&&r.getLineScale?r.getLineScale():1;n&&n!==1&&(t=G(t,function(i){return i/n}),a/=n)}return[t,a]}var hO=new Yr(!0);function bf(r){var e=r.stroke;return!(e==null||e==="none"||!(r.lineWidth>0))}function u_(r){return typeof r=="string"&&r!=="none"}function wf(r){var e=r.fill;return e!=null&&e!=="none"}function f_(r,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var t=r.globalAlpha;r.globalAlpha=e.fillOpacity*e.opacity,r.fill(),r.globalAlpha=t}else r.fill()}function h_(r,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var t=r.globalAlpha;r.globalAlpha=e.strokeOpacity*e.opacity,r.stroke(),r.globalAlpha=t}else r.stroke()}function td(r,e,t){var a=vg(e.image,e.__image,t);if(nh(a)){var n=r.createPattern(a,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&n&&n.setTransform){var i=new DOMMatrix;i.translateSelf(e.x||0,e.y||0),i.rotateSelf(0,0,(e.rotation||0)*Eu),i.scaleSelf(e.scaleX||1,e.scaleY||1),n.setTransform(i)}return n}}function vO(r,e,t,a){var n,i=bf(t),o=wf(t),s=t.strokePercent,l=s<1,u=!e.path;(!e.silent||l)&&u&&e.createPathProxy();var f=e.path||hO,h=e.__dirty;if(!a){var v=t.fill,c=t.stroke,p=o&&!!v.colorStops,d=i&&!!c.colorStops,g=o&&!!v.image,y=i&&!!c.image,m=void 0,_=void 0,S=void 0,b=void 0,x=void 0;(p||d)&&(x=e.getBoundingRect()),p&&(m=h?jp(r,v,x):e.__canvasFillGradient,e.__canvasFillGradient=m),d&&(_=h?jp(r,c,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),g&&(S=h||!e.__canvasFillPattern?td(r,v,e):e.__canvasFillPattern,e.__canvasFillPattern=S),y&&(b=h||!e.__canvasStrokePattern?td(r,c,e):e.__canvasStrokePattern,e.__canvasStrokePattern=S),p?r.fillStyle=m:g&&(S?r.fillStyle=S:o=!1),d?r.strokeStyle=_:y&&(b?r.strokeStyle=b:i=!1)}var w=e.getGlobalScale();f.setScale(w[0],w[1],e.segmentIgnoreThreshold);var T,A;r.setLineDash&&t.lineDash&&(n=Fg(e),T=n[0],A=n[1]);var D=!0;(u||h&Bi)&&(f.setDPR(r.dpr),l?f.setContext(null):(f.setContext(r),D=!1),f.reset(),e.buildPath(f,e.shape,a),f.toStatic(),e.pathUpdated()),D&&f.rebuildPath(r,l?s:1),T&&(r.setLineDash(T),r.lineDashOffset=A),a||(t.strokeFirst?(i&&h_(r,t),o&&f_(r,t)):(o&&f_(r,t),i&&h_(r,t))),T&&r.setLineDash([])}function cO(r,e,t){var a=e.__image=vg(t.image,e.__image,e,e.onload);if(!(!a||!nh(a))){var n=t.x||0,i=t.y||0,o=e.getWidth(),s=e.getHeight(),l=a.width/a.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=a.width,s=a.height),t.sWidth&&t.sHeight){var u=t.sx||0,f=t.sy||0;r.drawImage(a,u,f,t.sWidth,t.sHeight,n,i,o,s)}else if(t.sx&&t.sy){var u=t.sx,f=t.sy,h=o-u,v=s-f;r.drawImage(a,u,f,h,v,n,i,o,s)}else r.drawImage(a,n,i,o,s)}}function pO(r,e,t){var a,n=t.text;if(n!=null&&(n+=""),n){r.font=t.font||Xa,r.textAlign=t.textAlign,r.textBaseline=t.textBaseline;var i=void 0,o=void 0;r.setLineDash&&t.lineDash&&(a=Fg(e),i=a[0],o=a[1]),i&&(r.setLineDash(i),r.lineDashOffset=o),t.strokeFirst?(bf(t)&&r.strokeText(n,t.x,t.y),wf(t)&&r.fillText(n,t.x,t.y)):(wf(t)&&r.fillText(n,t.x,t.y),bf(t)&&r.strokeText(n,t.x,t.y)),i&&r.setLineDash([])}}var v_=["shadowBlur","shadowOffsetX","shadowOffsetY"],c_=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function WA(r,e,t,a,n){var i=!1;if(!a&&(t=t||{},e===t))return!1;if(a||e.opacity!==t.opacity){Be(r,n),i=!0;var o=Math.max(Math.min(e.opacity,1),0);r.globalAlpha=isNaN(o)?$n.opacity:o}(a||e.blend!==t.blend)&&(i||(Be(r,n),i=!0),r.globalCompositeOperation=e.blend||$n.blend);for(var s=0;s0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,a,n){if(!this[pe]){if(this._disposed){this.id;return}var i,o,s;if(tt(a)&&(n=a.lazyUpdate,i=a.silent,o=a.replaceMerge,s=a.transition,a=a.notMerge),this[pe]=!0,!this._model||a){var l=new IE(this._api),u=this._theme,f=this._model=new Eg;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,u,this._locale,l)}this._model.setOption(t,{replaceMerge:o},rd);var h={seriesTransition:s,optionChanged:!0};if(n)this[ke]={silent:i,updateParams:h},this[pe]=!1,this.getZr().wakeUp();else{try{Ai(this),Ta.update.call(this,null,h)}catch(v){throw this[ke]=null,this[pe]=!1,v}this._ssr||this._zr.flush(),this[ke]=null,this[pe]=!1,Vo.call(this,i),zo.call(this,i)}}},e.prototype.setTheme=function(){},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||mt.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var a=this._zr.painter;return a.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var a=this._zr.painter;return a.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(mt.svgSupported){var t=this._zr,a=t.storage.getDisplayList();return C(a,function(n){n.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed){this.id;return}t=t||{};var a=t.excludeComponents,n=this._model,i=[],o=this;C(a,function(l){n.eachComponent({mainType:l},function(u){var f=o._componentsMap[u.__viewId];f.group.ignore||(i.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return C(i,function(l){l.group.ignore=!1}),s},e.prototype.getConnectedDataURL=function(t){if(this._disposed){this.id;return}var a=t.type==="svg",n=this.group,i=Math.min,o=Math.max,s=1/0;if(M_[n]){var l=s,u=s,f=-s,h=-s,v=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();C(As,function(_,S){if(_.group===n){var b=a?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(rt(t)),x=_.getDom().getBoundingClientRect();l=i(x.left,l),u=i(x.top,u),f=o(x.right,f),h=o(x.bottom,h),v.push({dom:b,left:x.left,top:x.top})}}),l*=c,u*=c,f*=c,h*=c;var p=f-l,d=h-u,g=$a.createCanvas(),y=Em(g,{renderer:a?"svg":"canvas"});if(y.resize({width:p,height:d}),a){var m="";return C(v,function(_){var S=_.left-l,b=_.top-u;m+=''+_.dom+""}),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}else return t.connectedBackgroundColor&&y.add(new bt({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),C(v,function(_){var S=new se({style:{x:_.left*c-l,y:_.top*c-u,image:_.dom}});y.add(S)}),y.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}else return this.getDataURL(t)},e.prototype.convertToPixel=function(t,a){return Nv(this,"convertToPixel",t,a)},e.prototype.convertFromPixel=function(t,a){return Nv(this,"convertFromPixel",t,a)},e.prototype.containPixel=function(t,a){if(this._disposed){this.id;return}var n=this._model,i,o=ms(n,t);return C(o,function(s,l){l.indexOf("Models")>=0&&C(s,function(u){var f=u.coordinateSystem;if(f&&f.containPoint)i=i||!!f.containPoint(a);else if(l==="seriesModels"){var h=this._chartsMap[u.__viewId];h&&h.containPoint&&(i=i||h.containPoint(a,u))}},this)},this),!!i},e.prototype.getVisual=function(t,a){var n=this._model,i=ms(n,t,{defaultMainType:"series"}),o=i.seriesModel,s=o.getData(),l=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?s.indexOfRawIndex(i.dataIndex):null;return l!=null?Gg(s,l,a):cl(s,a)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;C(zO,function(a){var n=function(i){var o=t.getModel(),s=i.target,l,u=a==="globalout";if(u?l={}:s&&Fn(s,function(p){var d=nt(p);if(d&&d.dataIndex!=null){var g=d.dataModel||o.getSeriesByIndex(d.seriesIndex);return l=g&&g.getDataParams(d.dataIndex,d.dataType,s)||{},!0}else if(d.eventData)return l=V({},d.eventData),!0},!0),l){var f=l.componentType,h=l.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",h=l.seriesIndex);var v=f&&h!=null&&o.getComponent(f,h),c=v&&t[v.mainType==="series"?"_chartsMap":"_componentsMap"][v.__viewId];l.event=i,l.type=a,t._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:v,view:c},t.trigger(a,l)}};n.zrEventfulCallAtLast=!0,t._zr.on(a,n,t)}),C(Ts,function(a,n){t._messageCenter.on(n,function(i){this.trigger(n,i)},t)}),C(["selectchanged"],function(a){t._messageCenter.on(a,function(n){this.trigger(a,n)},t)}),qk(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var t=this.getDom();t&&Jw(this.getDom(),Ug,"");var a=this,n=a._api,i=a._model;C(a._componentsViews,function(o){o.dispose(i,n)}),C(a._chartsViews,function(o){o.dispose(i,n)}),a._zr.dispose(),a._dom=a._model=a._chartsMap=a._componentsMap=a._chartsViews=a._componentsViews=a._scheduler=a._api=a._zr=a._throttledZrFlush=a._theme=a._coordSysMgr=a._messageCenter=null,delete As[a.id]},e.prototype.resize=function(t){if(!this[pe]){if(this._disposed){this.id;return}this._zr.resize(t);var a=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!a){var n=a.resetOption("media"),i=t&&t.silent;this[ke]&&(i==null&&(i=this[ke].silent),n=!0,this[ke]=null),this[pe]=!0;try{n&&Ai(this),Ta.update.call(this,{type:"resize",animation:V({duration:0},t&&t.animation)})}catch(o){throw this[pe]=!1,o}this[pe]=!1,Vo.call(this,i),zo.call(this,i)}}},e.prototype.showLoading=function(t,a){if(this._disposed){this.id;return}if(tt(t)&&(a=t,t=""),t=t||"default",this.hideLoading(),!!ad[t]){var n=ad[t](this._api,a),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var a=V({},t);return a.type=Ts[t.type],a},e.prototype.dispatchAction=function(t,a){if(this._disposed){this.id;return}if(tt(a)||(a={silent:!!a}),!!Tf[t.type]&&this._model){if(this[pe]){this._pendingActions.push(t);return}var n=a.silent;Vv.call(this,t,n);var i=a.flush;i?this._zr.flush():i!==!1&&mt.browser.weChat&&this._throttledZrFlush(),Vo.call(this,n),zo.call(this,n)}},e.prototype.updateLabelLayout=function(){dr.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){this.id;return}var a=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(a);i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){Ai=function(h){var v=h._scheduler;v.restorePipelines(h._model),v.prepareStageTasks(),Ov(h,!0),Ov(h,!1),v.plan()},Ov=function(h,v){for(var c=h._model,p=h._scheduler,d=v?h._componentsViews:h._chartsViews,g=v?h._componentsMap:h._chartsMap,y=h._zr,m=h._api,_=0;_v.get("hoverLayerThreshold")&&!mt.node&&!mt.worker&&v.eachSeries(function(g){if(!g.preventUsingHoverLayer){var y=h._chartsMap[g.__viewId];y.__alive&&y.eachRendered(function(m){m.states.emphasis&&(m.states.emphasis.hoverLayer=!0)})}})}function o(h,v){var c=h.get("blendMode")||null;v.eachRendered(function(p){p.isGroup||(p.style.blend=c)})}function s(h,v){if(!h.preventAutoZ){var c=h.get("z")||0,p=h.get("zlevel")||0;v.eachRendered(function(d){return l(d,c,p,-1/0),!0})}}function l(h,v,c,p){var d=h.getTextContent(),g=h.getTextGuideLine(),y=h.isGroup;if(y)for(var m=h.childrenRef(),_=0;_0?{duration:d,delay:c.get("delay"),easing:c.get("easing")}:null;v.eachRendered(function(y){if(y.states&&y.states.emphasis){if($i(y))return;if(y instanceof yt&&lR(y),y.__dirty){var m=y.prevStates;m&&y.useStates(m)}if(p){y.stateTransition=g;var _=y.getTextContent(),S=y.getTextGuideLine();_&&(_.stateTransition=g),S&&(S.stateTransition=g)}y.__dirty&&n(y)}})}C_=function(h){return new(function(v){k(c,v);function c(){return v!==null&&v.apply(this,arguments)||this}return c.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},c.prototype.getComponentByElement=function(p){for(;p;){var d=p.__ecComponentInfo;if(d!=null)return h._model.getComponent(d.mainType,d.index);p=p.parent}},c.prototype.enterEmphasis=function(p,d){fa(p,d),Xe(h)},c.prototype.leaveEmphasis=function(p,d){ha(p,d),Xe(h)},c.prototype.enterBlur=function(p){dT(p),Xe(h)},c.prototype.leaveBlur=function(p){yg(p),Xe(h)},c.prototype.enterSelect=function(p){gT(p),Xe(h)},c.prototype.leaveSelect=function(p){yT(p),Xe(h)},c.prototype.getModel=function(){return h.getModel()},c.prototype.getViewOfComponentModel=function(p){return h.getViewOfComponentModel(p)},c.prototype.getViewOfSeriesModel=function(p){return h.getViewOfSeriesModel(p)},c}(uA))(h)},nC=function(h){function v(c,p){for(var d=0;d=0)){I_.push(t);var i=NA.wrapStageHandler(t,n);i.__prio=e,i.__raw=t,r.push(i)}}function fC(r,e){ad[r]=e}function XO(r,e,t){var a=TO("registerMap");a&&a(r,e,t)}var $O=sk;hi(Hg,Rk);hi(bh,Ek);hi(bh,kk);hi(Hg,$k);hi(bh,Zk);hi(JA,bO);lC(hA);uC(DO,FE);fC("default",Ok);$r({type:Zn,event:Zn,update:Zn},Xt);$r({type:Fu,event:Fu,update:Fu},Xt);$r({type:_s,event:_s,update:_s},Xt);$r({type:Hu,event:Hu,update:Hu},Xt);$r({type:Ss,event:Ss,update:Ss},Xt);sC("light",Yk);sC("dark",GA);var L_=[],ZO={registerPreprocessor:lC,registerProcessor:uC,registerPostInit:HO,registerPostUpdate:WO,registerUpdateLifecycle:Yg,registerAction:$r,registerCoordinateSystem:UO,registerLayout:YO,registerVisual:hi,registerTransform:$O,registerLoading:fC,registerMap:XO,registerImpl:wO,PRIORITY:NO,ComponentModel:_t,ComponentView:Gt,SeriesModel:Bt,ChartView:Et,registerComponentModel:function(r){_t.registerClass(r)},registerComponentView:function(r){Gt.registerClass(r)},registerSeriesModel:function(r){Bt.registerClass(r)},registerChartView:function(r){Et.registerClass(r)},registerSubTypeDefaulter:function(r,e){_t.registerSubTypeDefaulter(r,e)},registerPainter:function(r,e){ML(r,e)}};function gt(r){if(z(r)){C(r,function(e){gt(e)});return}vt(L_,r)>=0||(L_.push(r),K(r)&&(r={install:r}),r.install(ZO))}function Go(r){return r==null?0:r.length||1}function P_(r){return r}var va=function(){function r(e,t,a,n,i,o){this._old=e,this._new=t,this._oldKeyGetter=a||P_,this._newKeyGetter=n||P_,this.context=i,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(e){return this._add=e,this},r.prototype.update=function(e){return this._update=e,this},r.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},r.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},r.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},r.prototype.remove=function(e){return this._remove=e,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var e=this._old,t=this._new,a={},n=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,n,"_oldKeyGetter"),this._initIndexMap(t,a,i,"_newKeyGetter");for(var o=0;o1){var f=l.shift();l.length===1&&(a[s]=l[0]),this._update&&this._update(f,o)}else u===1?(a[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(i,a)},r.prototype._executeMultiple=function(){var e=this._old,t=this._new,a={},n={},i=[],o=[];this._initIndexMap(e,a,i,"_oldKeyGetter"),this._initIndexMap(t,n,o,"_newKeyGetter");for(var s=0;s1&&v===1)this._updateManyToOne&&this._updateManyToOne(f,u),n[l]=null;else if(h===1&&v>1)this._updateOneToMany&&this._updateOneToMany(f,u),n[l]=null;else if(h===1&&v===1)this._update&&this._update(f,u),n[l]=null;else if(h>1&&v>1)this._updateManyToMany&&this._updateManyToMany(f,u),n[l]=null;else if(h>1)for(var c=0;c1)for(var s=0;s30}var Fo=tt,Aa=G,tN=typeof Int32Array>"u"?Array:Int32Array,eN="e\0\0",R_=-1,rN=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],aN=["_approximateExtent"],E_,au,Ho,Wo,Fv,nu,Hv,Ae=function(){function r(e,t){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a,n=!1;vC(e)?(a=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(n=!0,a=e),a=a||["x","y"];for(var i={},o=[],s={},l=!1,u={},f=0;f=t)){var a=this._store,n=a.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,s=n.getSource().sourceFormat,l=s===ur;if(l&&!n.pure)for(var u=[],f=e;f0},r.prototype.ensureUniqueItemVisual=function(e,t){var a=this._itemVisuals,n=a[e];n||(n=a[e]={});var i=n[t];return i==null&&(i=this.getVisual(t),z(i)?i=i.slice():Fo(i)&&(i=V({},i)),n[t]=i),i},r.prototype.setItemVisual=function(e,t,a){var n=this._itemVisuals[e]||{};this._itemVisuals[e]=n,Fo(t)?V(n,t):n[t]=a},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(e,t){Fo(e)?V(this._layout,e):this._layout[e]=t},r.prototype.getLayout=function(e){return this._layout[e]},r.prototype.getItemLayout=function(e){return this._itemLayouts[e]},r.prototype.setItemLayout=function(e,t,a){this._itemLayouts[e]=a?V(this._itemLayouts[e]||{},t):t},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(e,t){var a=this.hostModel&&this.hostModel.seriesIndex;Op(a,this.dataType,e,t),this._graphicEls[e]=t},r.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},r.prototype.eachItemGraphicEl=function(e,t){C(this._graphicEls,function(a,n){a&&e&&e.call(t,a,n)})},r.prototype.cloneShallow=function(e){return e||(e=new r(this._schema?this._schema:Aa(this.dimensions,this._getDimInfo,this),this.hostModel)),Fv(e,this),e._store=this._store,e},r.prototype.wrapMethod=function(e,t){var a=this[e];K(a)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var n=a.apply(this,arguments);return t.apply(this,[n].concat(tg(arguments)))})},r.internalField=function(){E_=function(e){var t=e._invertedIndicesMap;C(t,function(a,n){var i=e._dimInfos[n],o=i.ordinalMeta,s=e._store;if(o){a=t[n]=new tN(o.categories.length);for(var l=0;l1&&(l+="__ec__"+f),n[t]=l}}}(),r}();function pl(r,e){kg(r)||(r=Og(r)),e=e||{};var t=e.coordDimensions||[],a=e.dimensionsDefine||r.dimensionsDefine||[],n=$(),i=[],o=iN(r,t,a,e.dimensionsCount),s=e.canOmitUnusedDimensions&&dC(o),l=a===r.dimensionsDefine,u=l?pC(r):cC(a),f=e.encodeDefine;!f&&e.encodeDefaulter&&(f=e.encodeDefaulter(r,o));for(var h=$(f),v=new bA(o),c=0;c0&&(a.name=n+(i-1)),i++,e.set(n,i)}}function iN(r,e,t,a){var n=Math.max(r.dimensionsDetectedCount||1,e.length,t.length,a||0);return C(e,function(i){var o;tt(i)&&(o=i.dimsDef)&&(n=Math.max(n,o.length))}),n}function oN(r,e,t){if(t||e.hasKey(r)){for(var a=0;e.hasKey(r+a);)a++;r+=a}return e.set(r,!0),r}var sN=function(){function r(e){this.coordSysDims=[],this.axisMap=$(),this.categoryAxisMap=$(),this.coordSysName=e}return r}();function lN(r){var e=r.get("coordinateSystem"),t=new sN(e),a=uN[e];if(a)return a(r,t,t.axisMap,t.categoryAxisMap),t}var uN={cartesian2d:function(r,e,t,a){var n=r.getReferringComponents("xAxis",Zt).models[0],i=r.getReferringComponents("yAxis",Zt).models[0];e.coordSysDims=["x","y"],t.set("x",n),t.set("y",i),Ci(n)&&(a.set("x",n),e.firstCategoryDimIndex=0),Ci(i)&&(a.set("y",i),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(r,e,t,a){var n=r.getReferringComponents("singleAxis",Zt).models[0];e.coordSysDims=["single"],t.set("single",n),Ci(n)&&(a.set("single",n),e.firstCategoryDimIndex=0)},polar:function(r,e,t,a){var n=r.getReferringComponents("polar",Zt).models[0],i=n.findAxisModel("radiusAxis"),o=n.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],t.set("radius",i),t.set("angle",o),Ci(i)&&(a.set("radius",i),e.firstCategoryDimIndex=0),Ci(o)&&(a.set("angle",o),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(r,e,t,a){e.coordSysDims=["lng","lat"]},parallel:function(r,e,t,a){var n=r.ecModel,i=n.getComponent("parallel",r.get("parallelIndex")),o=e.coordSysDims=i.dimensions.slice();C(i.parallelAxisIndex,function(s,l){var u=n.getComponent("parallelAxis",s),f=o[l];t.set(f,u),Ci(u)&&(a.set(f,u),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=l))})}};function Ci(r){return r.get("type")==="category"}function fN(r,e,t){t=t||{};var a=t.byIndex,n=t.stackedCoordDimension,i,o,s;hN(e)?i=e:(o=e.schema,i=o.dimensions,s=e.store);var l=!!(r&&r.get("stack")),u,f,h,v;if(C(i,function(m,_){U(m)&&(i[_]=m={name:m}),l&&!m.isExtraCoord&&(!a&&!u&&m.ordinalMeta&&(u=m),!f&&m.type!=="ordinal"&&m.type!=="time"&&(!n||n===m.coordDim)&&(f=m))}),f&&!a&&!u&&(a=!0),f){h="__\0ecstackresult_"+r.id,v="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var c=f.coordDim,p=f.type,d=0;C(i,function(m){m.coordDim===c&&d++});var g={name:h,coordDim:c,coordDimIndex:d,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},y={name:v,coordDim:v,coordDimIndex:d+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(v,p),y.storeDimIndex=s.ensureCalculationDimension(h,p)),o.appendCalculationDimension(g),o.appendCalculationDimension(y)):(i.push(g),i.push(y))}return{stackedDimension:f&&f.name,stackedByDimension:u&&u.name,isStackedByIndex:a,stackedOverDimension:v,stackResultDimension:h}}function hN(r){return!vC(r.schema)}function Qa(r,e){return!!e&&e===r.getCalculationInfo("stackedDimension")}function gC(r,e){return Qa(r,e)?r.getCalculationInfo("stackResultDimension"):e}function vN(r,e){var t=r.get("coordinateSystem"),a=vl.get(t),n;return e&&e.coordSysDims&&(n=G(e.coordSysDims,function(i){var o={name:i},s=e.axisMap.get(i);if(s){var l=s.get("type");o.type=Cf(l)}return o})),n||(n=a&&(a.getDimensionsInfo?a.getDimensionsInfo():a.dimensions.slice())||["x","y"]),n}function cN(r,e,t){var a,n;return t&&C(r,function(i,o){var s=i.coordDim,l=t.categoryAxisMap.get(s);l&&(a==null&&(a=o),i.ordinalMeta=l.getOrdinalMeta(),e&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(n=!0)}),!n&&a!=null&&(r[a].otherDims.itemName=0),a}function ma(r,e,t){t=t||{};var a=e.getSourceManager(),n,i=!1;r?(i=!0,n=Og(r)):(n=a.getSource(),i=n.sourceFormat===ur);var o=lN(e),s=vN(e,o),l=t.useEncodeDefaulter,u=K(l)?l:l?ot(iA,s,e):null,f={coordDimensions:s,generateCoord:t.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},h=pl(n,f),v=cN(h.dimensions,t.createInvertedIndices,o),c=i?null:a.getSharedDataStore(h),p=fN(e,{schema:h,store:c}),d=new Ae(h,e);d.setCalculationInfo(p);var g=v!=null&&pN(n)?function(y,m,_,S){return S===v?_:this.defaultDimValueGetter(y,m,_,S)}:null;return d.hasItemOption=!1,d.initData(i?n:c,null,g),d}function pN(r){if(r.sourceFormat===ur){var e=dN(r.data||[]);return!z(vo(e))}}function dN(r){for(var e=0;et[1]&&(t[1]=e[1])},r.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(e,t){var a=this._extent;isNaN(e)||(a[0]=e),isNaN(t)||(a[1]=t)},r.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(e){this._isBlank=e},r}();ah(Zr);var gN=0,nd=function(){function r(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++gN}return r.createByAxisModel=function(e){var t=e.option,a=t.data,n=a&&G(a,yN);return new r({categories:n,needCollect:!n,deduplication:t.dedplication!==!1})},r.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},r.prototype.parseAndCollect=function(e){var t,a=this._needCollect;if(!U(e)&&!a)return e;if(a&&!this._deduplication)return t=this.categories.length,this.categories[t]=e,t;var n=this._getOrCreateMap();return t=n.get(e),t==null&&(a?(t=this.categories.length,this.categories[t]=e,n.set(e,t)):t=NaN),t},r.prototype._getOrCreateMap=function(){return this._map||(this._map=$(this.categories))},r}();function yN(r){return tt(r)&&r.value!=null?r.value:r+""}function id(r){return r.type==="interval"||r.type==="log"}function mN(r,e,t,a){var n={},i=r[1]-r[0],o=n.interval=Uw(i/e);t!=null&&oa&&(o=n.interval=a);var s=n.intervalPrecision=yC(o),l=n.niceTickExtent=[Ut(Math.ceil(r[0]/o)*o,s),Ut(Math.floor(r[1]/o)*o,s)];return _N(l,r),n}function Wv(r){var e=Math.pow(10,lg(r)),t=r/e;return t?t===2?t=3:t===3?t=5:t*=2:t=1,Ut(t*e)}function yC(r){return Or(r)+2}function k_(r,e,t){r[e]=Math.max(Math.min(r[e],t[1]),t[0])}function _N(r,e){!isFinite(r[0])&&(r[0]=e[0]),!isFinite(r[1])&&(r[1]=e[1]),k_(r,0,e),k_(r,1,e),r[0]>r[1]&&(r[0]=r[1])}function wh(r,e){return r>=e[0]&&r<=e[1]}function Th(r,e){return e[1]===e[0]?.5:(r-e[0])/(e[1]-e[0])}function Ah(r,e){return r*(e[1]-e[0])+e[0]}var Ch=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;a.type="ordinal";var n=a.getSetting("ordinalMeta");return n||(n=new nd({})),z(n)&&(n=new nd({categories:G(n,function(i){return tt(i)?i.value:i})})),a._ordinalMeta=n,a._extent=a.getSetting("extent")||[0,n.categories.length-1],a}return e.prototype.parse=function(t){return t==null?NaN:U(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),wh(t,this._extent)&&this._ordinalMeta.categories[t]!=null},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),Th(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(Ah(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],a=this._extent,n=a[0];n<=a[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(t==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var a=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,a.length);o=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(Zr);Zr.registerClass(Ch);var bn=Ut,ca=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="interval",t._interval=0,t._intervalPrecision=2,t}return e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return wh(t,this._extent)},e.prototype.normalize=function(t){return Th(t,this._extent)},e.prototype.scale=function(t){return Ah(t,this._extent)},e.prototype.setExtent=function(t,a){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(a)||(n[1]=parseFloat(a))},e.prototype.unionExtent=function(t){var a=this._extent;t[0]a[1]&&(a[1]=t[1]),this.setExtent(a[0],a[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=yC(t)},e.prototype.getTicks=function(t){var a=this._interval,n=this._extent,i=this._niceExtent,o=this._intervalPrecision,s=[];if(!a)return s;var l=1e4;n[0]l)return[];var f=s.length?s[s.length-1].value:i[1];return n[1]>f&&(t?s.push({value:bn(f+a,o)}):s.push({value:n[1]})),s},e.prototype.getMinorTicks=function(t){for(var a=this.getTicks(!0),n=[],i=this.getExtent(),o=1;oi[0]&&c0&&(i=i===null?s:Math.min(i,s))}t[a]=i}}return t}function SC(r){var e=bN(r),t=[];return C(r,function(a){var n=a.coordinateSystem,i=n.getBaseAxis(),o=i.getExtent(),s;if(i.type==="category")s=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var l=i.dim+"_"+i.index,u=e[l],f=Math.abs(o[1]-o[0]),h=i.scale.getExtent(),v=Math.abs(h[1]-h[0]);s=u?f/v*u:f}else{var c=a.getData();s=Math.abs(o[1]-o[0])/c.count()}var p=W(a.get("barWidth"),s),d=W(a.get("barMaxWidth"),s),g=W(a.get("barMinWidth")||(AC(a)?.5:1),s),y=a.get("barGap"),m=a.get("barCategoryGap");t.push({bandWidth:s,barWidth:p,barMaxWidth:d,barMinWidth:g,barGap:y,barCategoryGap:m,axisKey:Zg(i),stackId:$g(a)})}),xC(t)}function xC(r){var e={};C(r,function(a,n){var i=a.axisKey,o=a.bandWidth,s=e[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;e[i]=s;var u=a.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var f=a.barWidth;f&&!l[u].width&&(l[u].width=f,f=Math.min(s.remainedWidth,f),s.remainedWidth-=f);var h=a.barMaxWidth;h&&(l[u].maxWidth=h);var v=a.barMinWidth;v&&(l[u].minWidth=v);var c=a.barGap;c!=null&&(s.gap=c);var p=a.barCategoryGap;p!=null&&(s.categoryGap=p)});var t={};return C(e,function(a,n){t[n]={};var i=a.stacks,o=a.bandWidth,s=a.categoryGap;if(s==null){var l=St(i).length;s=Math.max(35-l*4,15)+"%"}var u=W(s,o),f=W(a.gap,1),h=a.remainedWidth,v=a.autoWidthCount,c=(h-u)/(v+(v-1)*f);c=Math.max(c,0),C(i,function(y){var m=y.maxWidth,_=y.minWidth;if(y.width){var S=y.width;m&&(S=Math.min(S,m)),_&&(S=Math.max(S,_)),y.width=S,h-=S+f*S,v--}else{var S=c;m&&mS&&(S=_),S!==c&&(y.width=S,h-=S+f*S,v--)}}),c=(h-u)/(v+(v-1)*f),c=Math.max(c,0);var p=0,d;C(i,function(y,m){y.width||(y.width=c),d=y,p+=y.width*(1+f)}),d&&(p-=d.width*f);var g=-p/2;C(i,function(y,m){t[n][m]=t[n][m]||{bandWidth:o,offset:g,width:y.width},g+=y.width*(1+f)})}),t}function wN(r,e,t){if(r&&e){var a=r[Zg(e)];return a!=null&&t!=null?a[$g(t)]:a}}function bC(r,e){var t=_C(r,e),a=SC(t);C(t,function(n){var i=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),l=$g(n),u=a[Zg(s)][l],f=u.offset,h=u.width;i.setLayout({bandWidth:u.bandWidth,offset:f,size:h})})}function wC(r){return{seriesType:r,plan:bo(),reset:function(e){if(TC(e)){var t=e.getData(),a=e.coordinateSystem,n=a.getBaseAxis(),i=a.getOtherAxis(n),o=t.getDimensionIndex(t.mapDimension(i.dim)),s=t.getDimensionIndex(t.mapDimension(n.dim)),l=e.get("showBackground",!0),u=t.mapDimension(i.dim),f=t.getCalculationInfo("stackResultDimension"),h=Qa(t,u)&&!!t.getCalculationInfo("stackedOnSeries"),v=i.isHorizontal(),c=TN(n,i),p=AC(e),d=e.get("barMinHeight")||0,g=f&&t.getDimensionIndex(f),y=t.getLayout("size"),m=t.getLayout("offset");return{progress:function(_,S){for(var b=_.count,x=p&&Br(b*3),w=p&&l&&Br(b*3),T=p&&Br(b),A=a.master.getRect(),D=v?A.width:A.height,M,I=S.getStore(),L=0;(M=_.next())!=null;){var P=I.get(h?g:o,M),R=I.get(s,M),E=c,N=void 0;h&&(N=+P-I.get(o,M));var O=void 0,B=void 0,F=void 0,H=void 0;if(v){var Z=a.dataToPoint([P,R]);if(h){var Q=a.dataToPoint([N,R]);E=Q[0]}O=E,B=Z[1]+m,F=Z[0]-E,H=y,Math.abs(F)>>1;r[n][1]n&&(this._approxInterval=n);var s=iu.length,l=Math.min(AN(iu,this._approxInterval,0,s),s-1);this._interval=iu[l][1],this._minLevelUnit=iu[Math.max(l-1,0)][0]},e.prototype.parse=function(t){return Ct(t)?t:+Ur(t)},e.prototype.contain=function(t){return wh(this.parse(t),this._extent)},e.prototype.normalize=function(t){return Th(this.parse(t),this._extent)},e.prototype.scale=function(t){return Ah(t,this._extent)},e.type="time",e}(ca),iu=[["second",Cg],["minute",Dg],["hour",bs],["quarter-day",bs*6],["half-day",bs*12],["day",nr*1.2],["half-week",nr*3.5],["week",nr*7],["month",nr*31],["quarter",nr*95],["half-year",w0/2],["year",w0]];function CN(r,e,t,a){var n=Ur(e),i=Ur(t),o=function(p){return A0(n,p,a)===A0(i,p,a)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},f=function(){return u()&&o("hour")},h=function(){return f()&&o("minute")},v=function(){return h()&&o("second")},c=function(){return v()&&o("millisecond")};switch(r){case"year":return s();case"month":return l();case"day":return u();case"hour":return f();case"minute":return h();case"second":return v();case"millisecond":return c()}}function DN(r,e){return r/=nr,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function MN(r){var e=30*nr;return r/=e,r>6?6:r>3?3:r>2?2:1}function IN(r){return r/=bs,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function O_(r,e){return r/=e?Dg:Cg,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function LN(r){return Uw(r)}function PN(r,e,t){var a=new Date(r);switch(qi(e)){case"year":case"month":a[UT(t)](0);case"day":a[YT(t)](1);case"hour":a[XT(t)](0);case"minute":a[$T(t)](0);case"second":a[ZT(t)](0),a[qT(t)](0)}return a.getTime()}function RN(r,e,t,a){var n=1e4,i=HT,o=0;function s(D,M,I,L,P,R,E){for(var N=new Date(M),O=M,B=N[L]();O1&&R===0&&I.unshift({value:I[0].value-O})}}for(var R=0;R=a[0]&&m<=a[1]&&h++)}var _=(a[1]-a[0])/e;if(h>_*1.5&&v>_/1.5||(u.push(g),h>_||r===i[c]))break}f=[]}}}for(var S=Pt(G(u,function(D){return Pt(D,function(M){return M.value>=a[0]&&M.value<=a[1]&&!M.notAdd})}),function(D){return D.length>0}),b=[],x=S.length-1,c=0;c0;)i*=10;var s=[Ut(ON(a[0]/i)*i),Ut(kN(a[1]/i)*i)];this._interval=i,this._niceExtent=s}},e.prototype.calcNiceExtent=function(t){Cs.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=vr(t)/vr(this.base),wh(t,this._extent)},e.prototype.normalize=function(t){return t=vr(t)/vr(this.base),Th(t,this._extent)},e.prototype.scale=function(t){return t=Ah(t,this._extent),ou(this.base,t)},e.type="log",e}(Zr),CC=Kg.prototype;CC.getMinorTicks=Cs.getMinorTicks;CC.getLabel=Cs.getLabel;function su(r,e){return EN(r,Or(e))}Zr.registerClass(Kg);var NN=function(){function r(e,t,a){this._prepareParams(e,t,a)}return r.prototype._prepareParams=function(e,t,a){a[1]0&&l>0&&!u&&(s=0),s<0&&l<0&&!f&&(l=0));var v=this._determinedMin,c=this._determinedMax;return v!=null&&(s=v,u=!0),c!=null&&(l=c,f=!0),{min:s,max:l,minFixed:u,maxFixed:f,isBlank:h}},r.prototype.modifyDataMinMax=function(e,t){this[VN[e]]=t},r.prototype.setDeterminedMinMax=function(e,t){var a=BN[e];this[a]=t},r.prototype.freeze=function(){this.frozen=!0},r}(),BN={min:"_determinedMin",max:"_determinedMax"},VN={min:"_dataMin",max:"_dataMax"};function DC(r,e,t){var a=r.rawExtentInfo;return a||(a=new NN(r,e,t),r.rawExtentInfo=a,a)}function lu(r,e){return e==null?null:Is(e)?NaN:r.parse(e)}function MC(r,e){var t=r.type,a=DC(r,e,r.getExtent()).calculate();r.setBlank(a.isBlank);var n=a.min,i=a.max,o=e.ecModel;if(o&&t==="time"){var s=_C("bar",o),l=!1;if(C(s,function(h){l=l||h.getBaseAxis()===e.axis}),l){var u=SC(s),f=zN(n,i,e,u);n=f.min,i=f.max}}return{extent:[n,i],fixMin:a.minFixed,fixMax:a.maxFixed}}function zN(r,e,t,a){var n=t.axis.getExtent(),i=n[1]-n[0],o=wN(a,t.axis);if(o===void 0)return{min:r,max:e};var s=1/0;C(o,function(c){s=Math.min(c.offset,s)});var l=-1/0;C(o,function(c){l=Math.max(c.offset+c.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,f=e-r,h=1-(s+l)/i,v=f/h-f;return e+=v*(l/u),r-=v*(s/u),{min:r,max:e}}function ao(r,e){var t=e,a=MC(r,t),n=a.extent,i=t.get("splitNumber");r instanceof Kg&&(r.base=t.get("logBase"));var o=r.type,s=t.get("interval"),l=o==="interval"||o==="time";r.setExtent(n[0],n[1]),r.calcNiceExtent({splitNumber:i,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:l?t.get("minInterval"):null,maxInterval:l?t.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function Dh(r,e){if(e=e||r.get("type"),e)switch(e){case"category":return new Ch({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new qg({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(Zr.getClass(e)||ca)}}function GN(r){var e=r.scale.getExtent(),t=e[0],a=e[1];return!(t>0&&a>0||t<0&&a<0)}function dl(r){var e=r.getLabelModel().get("formatter"),t=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?function(a){return function(n,i){return r.scale.getFormattedLabel(n,i,a)}}(e):U(e)?function(a){return function(n){var i=r.scale.getLabel(n),o=a.replace("{value}",i??"");return o}}(e):K(e)?function(a){return function(n,i){return t!=null&&(i=n.value-t),a(Qg(r,n),i,n.level!=null?{level:n.level}:null)}}(e):function(a){return r.scale.getLabel(a)}}function Qg(r,e){return r.type==="category"?r.scale.getLabel(e):e.value}function FN(r){var e=r.model,t=r.scale;if(!(!e.get(["axisLabel","show"])||t.isBlank())){var a,n,i=t.getExtent();t instanceof Ch?n=t.count():(a=t.getTicks(),n=a.length);var o=r.getLabelModel(),s=dl(r),l,u=1;n>40&&(u=Math.ceil(n/40));for(var f=0;fr[1]&&(r[1]=n[1])})}var gl=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},r.prototype.getCoordSysModel=function(){},r}(),UN=1e-8;function B_(r,e){return Math.abs(r-e)n&&(a=o,n=l)}if(a)return XN(a.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},e.prototype.getBoundingRect=function(t){var a=this._rect;if(a&&!t)return a;var n=[1/0,1/0],i=[-1/0,-1/0],o=this.geometries;return C(o,function(s){s.type==="polygon"?V_(s.exterior,n,i,t):C(s.points,function(l){V_(l,n,i,t)})}),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),a=new ht(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=a),a},e.prototype.contain=function(t){var a=this.getBoundingRect(),n=this.geometries;if(!a.contain(t[0],t[1]))return!1;t:for(var i=0,o=n.length;i>1^-(s&1),l=l>>1^-(l&1),s+=n,l+=i,n=s,i=l,a.push([s/t,l/t])}return a}function qN(r,e){return r=ZN(r),G(Pt(r.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var a=t.properties,n=t.geometry,i=[];switch(n.type){case"Polygon":var o=n.coordinates;i.push(new z_(o[0],o.slice(1)));break;case"MultiPolygon":C(n.coordinates,function(l){l[0]&&i.push(new z_(l[0],l.slice(1)))});break;case"LineString":i.push(new G_([n.coordinates]));break;case"MultiLineString":i.push(new G_(n.coordinates))}var s=new PC(a[e||"name"],i,a.cp);return s.properties=a,s})}var Us=At();function KN(r){return r.type==="category"?JN(r):tB(r)}function QN(r,e){return r.type==="category"?jN(r,e):{ticks:G(r.scale.getTicks(),function(t){return t.value})}}function JN(r){var e=r.getLabelModel(),t=EC(r,e);return!e.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:t.labelCategoryInterval}:t}function EC(r,e){var t=kC(r,"labels"),a=Jg(e),n=OC(t,a);if(n)return n;var i,o;return K(a)?i=VC(r,a):(o=a==="auto"?eB(r):a,i=BC(r,o)),NC(t,a,{labels:i,labelCategoryInterval:o})}function jN(r,e){var t=kC(r,"ticks"),a=Jg(e),n=OC(t,a);if(n)return n;var i,o;if((!e.get("show")||r.scale.isBlank())&&(i=[]),K(a))i=VC(r,a,!0);else if(a==="auto"){var s=EC(r,r.getLabelModel());o=s.labelCategoryInterval,i=G(s.labels,function(l){return l.tickValue})}else o=a,i=BC(r,o,!0);return NC(t,a,{ticks:i,tickCategoryInterval:o})}function tB(r){var e=r.scale.getTicks(),t=dl(r);return{labels:G(e,function(a,n){return{level:a.level,formattedLabel:t(a,n),rawLabel:r.scale.getLabel(a),tickValue:a.value}})}}function kC(r,e){return Us(r)[e]||(Us(r)[e]=[])}function OC(r,e){for(var t=0;t40&&(s=Math.max(1,Math.floor(o/40)));for(var l=i[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),f=Math.abs(u*Math.cos(a)),h=Math.abs(u*Math.sin(a)),v=0,c=0;l<=i[1];l+=s){var p=0,d=0,g=nl(t({value:l}),e.font,"center","top");p=g.width*1.3,d=g.height*1.3,v=Math.max(v,p,7),c=Math.max(c,d,7)}var y=v/f,m=c/h;isNaN(y)&&(y=1/0),isNaN(m)&&(m=1/0);var _=Math.max(0,Math.floor(Math.min(y,m))),S=Us(r.model),b=r.getExtent(),x=S.lastAutoInterval,w=S.lastTickCount;return x!=null&&w!=null&&Math.abs(x-_)<=1&&Math.abs(w-o)<=1&&x>_&&S.axisExtent0===b[0]&&S.axisExtent1===b[1]?_=x:(S.lastTickCount=o,S.lastAutoInterval=_,S.axisExtent0=b[0],S.axisExtent1=b[1]),_}function aB(r){var e=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function BC(r,e,t){var a=dl(r),n=r.scale,i=n.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=i[0],f=n.count();u!==0&&l>1&&f/l>2&&(u=Math.round(Math.ceil(u/l)*l));var h=IC(r),v=o.get("showMinLabel")||h,c=o.get("showMaxLabel")||h;v&&u!==i[0]&&d(i[0]);for(var p=u;p<=i[1];p+=l)d(p);c&&p-l!==i[1]&&d(i[1]);function d(g){var y={value:g};s.push(t?g:{formattedLabel:a(y),rawLabel:n.getLabel(y),tickValue:g})}return s}function VC(r,e,t){var a=r.scale,n=dl(r),i=[];return C(a.getTicks(),function(o){var s=a.getLabel(o),l=o.value;e(o.value,s)&&i.push(t?l:{formattedLabel:n(o),rawLabel:s,tickValue:l})}),i}var F_=[0,1],Tr=function(){function r(e,t,a){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=a||[0,0]}return r.prototype.contain=function(e){var t=this._extent,a=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]);return e>=a&&e<=n},r.prototype.containData=function(e){return this.scale.contain(e)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(e){return Hw(e||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(e,t){var a=this._extent;a[0]=e,a[1]=t},r.prototype.dataToCoord=function(e,t){var a=this._extent,n=this.scale;return e=n.normalize(e),this.onBand&&n.type==="ordinal"&&(a=a.slice(),H_(a,n.count())),Lt(e,F_,a,t)},r.prototype.coordToData=function(e,t){var a=this._extent,n=this.scale;this.onBand&&n.type==="ordinal"&&(a=a.slice(),H_(a,n.count()));var i=Lt(e,a,F_,t);return this.scale.scale(i)},r.prototype.pointToData=function(e,t){},r.prototype.getTicksCoords=function(e){e=e||{};var t=e.tickModel||this.getTickModel(),a=QN(this,t),n=a.ticks,i=G(n,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=t.get("alignWithLabel");return nB(this,i,o,e.clamp),i},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),t=e.get("splitNumber");t>0&&t<100||(t=5);var a=this.scale.getMinorTicks(t),n=G(a,function(i){return G(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return n},r.prototype.getViewLabels=function(){return KN(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent(),a=t[1]-t[0]+(this.onBand?1:0);a===0&&(a=1);var n=Math.abs(e[1]-e[0]);return Math.abs(n)/a},r.prototype.calculateCategoryInterval=function(){return rB(this)},r}();function H_(r,e){var t=r[1]-r[0],a=e,n=t/a/2;r[0]+=n,r[1]-=n}function nB(r,e,t,a){var n=e.length;if(!r.onBand||t||!n)return;var i=r.getExtent(),o,s;if(n===1)e[0].coord=i[0],o=e[1]={coord:i[1]};else{var l=e[n-1].tickValue-e[0].tickValue,u=(e[n-1].coord-e[0].coord)/l;C(e,function(c){c.coord-=u/2});var f=r.scale.getExtent();s=1+f[1]-e[n-1].tickValue,o={coord:e[n-1].coord+u*s},e.push(o)}var h=i[0]>i[1];v(e[0].coord,i[0])&&(a?e[0].coord=i[0]:e.shift()),a&&v(i[0],e[0].coord)&&e.unshift({coord:i[0]}),v(i[1],o.coord)&&(a?o.coord=i[1]:e.pop()),a&&v(o.coord,i[1])&&e.push({coord:i[1]});function v(c,p){return c=Ut(c),p=Ut(p),h?c>p:cn&&(n+=Uo);var c=Math.atan2(s,o);if(c<0&&(c+=Uo),c>=a&&c<=n||c+Uo>=a&&c+Uo<=n)return l[0]=f,l[1]=h,u-t;var p=t*Math.cos(a)+r,d=t*Math.sin(a)+e,g=t*Math.cos(n)+r,y=t*Math.sin(n)+e,m=(p-o)*(p-o)+(d-s)*(d-s),_=(g-o)*(g-o)+(y-s)*(y-s);return m<_?(l[0]=p,l[1]=d,Math.sqrt(m)):(l[0]=g,l[1]=y,Math.sqrt(_))}function Mf(r,e,t,a,n,i,o,s){var l=n-r,u=i-e,f=t-r,h=a-e,v=Math.sqrt(f*f+h*h);f/=v,h/=v;var c=l*f+u*h,p=c/v;s&&(p=Math.min(Math.max(p,0),1)),p*=v;var d=o[0]=r+p*f,g=o[1]=e+p*h;return Math.sqrt((d-n)*(d-n)+(g-i)*(g-i))}function zC(r,e,t,a,n,i,o){t<0&&(r=r+t,t=-t),a<0&&(e=e+a,a=-a);var s=r+t,l=e+a,u=o[0]=Math.min(Math.max(n,r),s),f=o[1]=Math.min(Math.max(i,e),l);return Math.sqrt((u-n)*(u-n)+(f-i)*(f-i))}var gr=[];function lB(r,e,t){var a=zC(e.x,e.y,e.width,e.height,r.x,r.y,gr);return t.set(gr[0],gr[1]),a}function uB(r,e,t){for(var a=0,n=0,i=0,o=0,s,l,u=1/0,f=e.data,h=r.x,v=r.y,c=0;c0){e=e/180*Math.PI,mr.fromArray(r[0]),Ot.fromArray(r[1]),Yt.fromArray(r[2]),ut.sub(Vr,mr,Ot),ut.sub(kr,Yt,Ot);var t=Vr.len(),a=kr.len();if(!(t<.001||a<.001)){Vr.scale(1/t),kr.scale(1/a);var n=Vr.dot(kr),i=Math.cos(e);if(i1&&ut.copy(Te,Yt),Te.toArray(r[1])}}}}function fB(r,e,t){if(t<=180&&t>0){t=t/180*Math.PI,mr.fromArray(r[0]),Ot.fromArray(r[1]),Yt.fromArray(r[2]),ut.sub(Vr,Ot,mr),ut.sub(kr,Yt,Ot);var a=Vr.len(),n=kr.len();if(!(a<.001||n<.001)){Vr.scale(1/a),kr.scale(1/n);var i=Vr.dot(e),o=Math.cos(t);if(i=l)ut.copy(Te,Yt);else{Te.scaleAndAdd(kr,s/Math.tan(Math.PI/2-f));var h=Yt.x!==Ot.x?(Te.x-Ot.x)/(Yt.x-Ot.x):(Te.y-Ot.y)/(Yt.y-Ot.y);if(isNaN(h))return;h<0?ut.copy(Te,Ot):h>1&&ut.copy(Te,Yt)}Te.toArray(r[1])}}}}function Xv(r,e,t,a){var n=t==="normal",i=n?r:r.ensureState(t);i.ignore=e;var o=a.get("smooth");o&&o===!0&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var s=a.getModel("lineStyle").getLineStyle();n?r.useStyle(s):i.style=s}function hB(r,e){var t=e.smooth,a=e.points;if(a)if(r.moveTo(a[0][0],a[0][1]),t>0&&a.length>=3){var n=Ea(a[0],a[1]),i=Ea(a[1],a[2]);if(!n||!i){r.lineTo(a[1][0],a[1][1]),r.lineTo(a[2][0],a[2][1]);return}var o=Math.min(n,i)*t,s=Ou([],a[1],a[0],o/n),l=Ou([],a[1],a[2],o/i),u=Ou([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],a[2][0],a[2][1])}else for(var f=1;f0&&i&&b(-f/o,0,o);var d=r[0],g=r[o-1],y,m;_(),y<0&&x(-y,.8),m<0&&x(m,.8),_(),S(y,m,1),S(m,y,-1),_(),y<0&&w(-y),m<0&&w(m);function _(){y=d.rect[e]-a,m=n-g.rect[e]-g.rect[t]}function S(T,A,D){if(T<0){var M=Math.min(A,-T);if(M>0){b(M*D,0,o);var I=M+T;I<0&&x(-I*D,1)}else x(-T*D,1)}}function b(T,A,D){T!==0&&(u=!0);for(var M=A;M0)for(var I=0;I0;I--){var E=D[I-1]*R;b(-E,I,o)}}}function w(T){var A=T<0?-1:1;T=Math.abs(T);for(var D=Math.ceil(T/(o-1)),M=0;M0?b(D,0,M+1):b(-D,o-M-1,o),T-=D,T<=0)return}return u}function vB(r,e,t,a){return HC(r,"x","width",e,t,a)}function WC(r,e,t,a){return HC(r,"y","height",e,t,a)}function UC(r){var e=[];r.sort(function(d,g){return g.priority-d.priority});var t=new ht(0,0,0,0);function a(d){if(!d.ignore){var g=d.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}d.ignore=!0}for(var n=0;n=0&&a.attr(i.oldLayoutSelect),vt(v,"emphasis")>=0&&a.attr(i.oldLayoutEmphasis)),Dt(a,u,t,l)}else if(a.attr(u),!yo(a).valueAnimation){var h=it(a.style.opacity,1);a.style.opacity=0,Vt(a,{style:{opacity:h}},t,l)}if(i.oldLayout=u,a.states.select){var c=i.oldLayoutSelect={};uu(c,u,fu),uu(c,a.states.select,fu)}if(a.states.emphasis){var p=i.oldLayoutEmphasis={};uu(p,u,fu),uu(p,a.states.emphasis,fu)}BT(a,l,f,t,t)}if(n&&!n.ignore&&!n.invisible){var i=dB(n),o=i.oldLayout,d={points:n.shape.points};o?(n.attr({shape:o}),Dt(n,{shape:d},t)):(n.setShape(d),n.style.strokePercent=0,Vt(n,{style:{strokePercent:1}},t)),i.oldLayout=d}},r}(),Zv=At();function yB(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,a){var n=Zv(t).labelManager;n||(n=Zv(t).labelManager=new gB),n.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(e,t,a){var n=Zv(t).labelManager;a.updatedSeries.forEach(function(i){n.addLabelsOfSeries(t.getViewOfSeriesModel(i))}),n.updateLayoutConfig(t),n.layout(t),n.processLabelsOverall()})}var qv=Math.sin,Kv=Math.cos,YC=Math.PI,Tn=Math.PI*2,mB=180/YC,XC=function(){function r(){}return r.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},r.prototype.moveTo=function(e,t){this._add("M",e,t)},r.prototype.lineTo=function(e,t){this._add("L",e,t)},r.prototype.bezierCurveTo=function(e,t,a,n,i,o){this._add("C",e,t,a,n,i,o)},r.prototype.quadraticCurveTo=function(e,t,a,n){this._add("Q",e,t,a,n)},r.prototype.arc=function(e,t,a,n,i,o){this.ellipse(e,t,a,a,0,n,i,o)},r.prototype.ellipse=function(e,t,a,n,i,o,s,l){var u=s-o,f=!l,h=Math.abs(u),v=Va(h-Tn)||(f?u>=Tn:-u>=Tn),c=u>0?u%Tn:u%Tn+Tn,p=!1;v?p=!0:Va(h)?p=!1:p=c>=YC==!!f;var d=e+a*Kv(o),g=t+n*qv(o);this._start&&this._add("M",d,g);var y=Math.round(i*mB);if(v){var m=1/this._p,_=(f?1:-1)*(Tn-m);this._add("A",a,n,y,1,+f,e+a*Kv(o+_),t+n*qv(o+_)),m>.01&&this._add("A",a,n,y,0,+f,d,g)}else{var S=e+a*Kv(s),b=t+n*qv(s);this._add("A",a,n,y,+p,+f,S,b)}},r.prototype.rect=function(e,t,a,n){this._add("M",e,t),this._add("l",a,0),this._add("l",0,n),this._add("l",-a,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(e,t,a,n,i,o,s,l,u){for(var f=[],h=this._p,v=1;v"}function DB(r){return""}function ry(r,e){e=e||{};var t=e.newline?` +`:"";function a(n){var i=n.children,o=n.tag,s=n.attrs,l=n.text;return CB(o,s)+(o!=="style"?Ge(l):l||"")+(i?""+t+G(i,function(u){return a(u)}).join(t)+t:"")+DB(o)}return a(r)}function MB(r,e,t){t=t||{};var a=t.newline?` +`:"",n=" {"+a,i=a+"}",o=G(St(r),function(l){return l+n+G(St(r[l]),function(u){return u+":"+r[l][u]+";"}).join(a)+i}).join(a),s=G(St(e),function(l){return"@keyframes "+l+n+G(St(e[l]),function(u){return u+n+G(St(e[l][u]),function(f){var h=e[l][u][f];return f==="d"&&(h='path("'+h+'")'),f+":"+h+";"}).join(a)+i}).join(a)+i}).join(a);return!o&&!s?"":[""].join(a)}function ld(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function X_(r,e,t,a){return ee("svg","root",{width:r,height:e,xmlns:$C,"xmlns:xlink":ZC,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+r+" "+e:!1},t)}var IB=0;function KC(){return IB++}var $_={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Dn="transform-origin";function LB(r,e,t){var a=V({},r.shape);V(a,e),r.buildPath(t,a);var n=new XC;return n.reset(Ew(r)),t.rebuildPath(n,1),n.generateStr(),n.getStr()}function PB(r,e){var t=e.originX,a=e.originY;(t||a)&&(r[Dn]=t+"px "+a+"px")}var RB={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function QC(r,e){var t=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[t]=r,t}function EB(r,e,t){var a=r.shape.paths,n={},i,o;if(C(a,function(l){var u=ld(t.zrId);u.animation=!0,Mh(l,{},u,!0);var f=u.cssAnims,h=u.cssNodes,v=St(f),c=v.length;if(c){o=v[c-1];var p=f[o];for(var d in p){var g=p[d];n[d]=n[d]||{d:""},n[d].d+=g.d||""}for(var y in h){var m=h[y].animation;m.indexOf(o)>=0&&(i=m)}}}),!!i){e.d=!1;var s=QC(n,t);return i.replace(o,s)}}function Z_(r){return U(r)?$_[r]?"cubic-bezier("+$_[r]+")":ig(r)?r:"":""}function Mh(r,e,t,a){var n=r.animators,i=n.length,o=[];if(r instanceof Sg){var s=EB(r,e,t);if(s)o.push(s);else if(!i)return}else if(!i)return;for(var l={},u=0;u0}).length){var pt=QC(w,t);return pt+" "+m[0]+" both"}}for(var g in l){var s=d(l[g]);s&&o.push(s)}if(o.length){var y=t.zrId+"-cls-"+KC();t.cssNodes["."+y]={animation:o.join(",")},e.class=y}}function kB(r,e,t){if(!r.ignore)if(r.isSilent()){var a={"pointer-events":"none"};q_(a,e,t)}else{var n=r.states.emphasis&&r.states.emphasis.style?r.states.emphasis.style:{},i=n.fill;if(!i){var o=r.style&&r.style.fill,s=r.states.select&&r.states.select.style&&r.states.select.style.fill,l=r.currentStates.indexOf("select")>=0&&s||o;l&&(i=Sp(l))}var u=n.lineWidth;if(u){var f=!n.strokeNoScale&&r.transform?r.transform[0]:1;u=u/f}var a={cursor:"pointer"};i&&(a.fill=i),n.stroke&&(a.stroke=n.stroke),u&&(a["stroke-width"]=u),q_(a,e,t)}}function q_(r,e,t,a){var n=JSON.stringify(r),i=t.cssStyleCache[n];i||(i=t.zrId+"-cls-"+KC(),t.cssStyleCache[n]=i,t.cssNodes["."+i+":hover"]=r),e.class=e.class?e.class+" "+i:i}var Ys=Math.round;function JC(r){return r&&U(r.src)}function jC(r){return r&&K(r.toDataURL)}function ay(r,e,t,a){wB(function(n,i){var o=n==="fill"||n==="stroke";o&&Rw(i)?eD(e,r,n,a):o&&og(i)?rD(t,r,n,a):o&&i==="none"?r[n]="transparent":r[n]=i},e,t,!1),FB(t,r,a)}function ny(r,e){var t=IL(e);t&&(t.each(function(a,n){a!=null&&(r[(Y_+n).toLowerCase()]=a+"")}),e.isSilent()&&(r[Y_+"silent"]="true"))}function K_(r){return Va(r[0]-1)&&Va(r[1])&&Va(r[2])&&Va(r[3]-1)}function OB(r){return Va(r[4])&&Va(r[5])}function iy(r,e,t){if(e&&!(OB(e)&&K_(e))){var a=1e4;r.transform=K_(e)?"translate("+Ys(e[4]*a)/a+" "+Ys(e[5]*a)/a+")":QI(e)}}function Q_(r,e,t){for(var a=r.points,n=[],i=0;i"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";De(v,g),De(c,g)}else if(v==null||c==null){var y=function(D,M){if(D){var I=D.elm,L=v||M.width,P=c||M.height;D.tag==="pattern"&&(u?(P=1,L/=i.width):f&&(L=1,P/=i.height)),D.attrs.width=L,D.attrs.height=P,I&&(I.setAttribute("width",L),I.setAttribute("height",P))}},m=vg(p,null,r,function(D){l||y(x,D),y(h,D)});m&&m.width&&m.height&&(v=v||m.width,c=c||m.height)}h=ee("image","img",{href:p,width:v,height:c}),o.width=v,o.height=c}else n.svgElement&&(h=rt(n.svgElement),o.width=n.svgWidth,o.height=n.svgHeight);if(h){var _,S;l?_=S=1:u?(S=1,_=o.width/i.width):f?(_=1,S=o.height/i.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),S!=null&&!isNaN(S)&&(o.height=S);var b=kw(n);b&&(o.patternTransform=b);var x=ee("pattern","",o,[h]),w=ry(x),T=a.patternCache,A=T[w];A||(A=a.zrId+"-p"+a.patternIdx++,T[w]=A,o.id=A,x=a.defs[A]=ee("pattern",A,o,[h])),e[t]=th(A)}}function HB(r,e,t){var a=t.clipPathCache,n=t.defs,i=a[r.id];if(!i){i=t.zrId+"-c"+t.clipPathIdx++;var o={id:i};a[r.id]=i,n[i]=ee("clipPath",i,o,[tD(r,t)])}e["clip-path"]=th(i)}function t1(r){return document.createTextNode(r)}function kn(r,e,t){r.insertBefore(e,t)}function e1(r,e){r.removeChild(e)}function r1(r,e){r.appendChild(e)}function aD(r){return r.parentNode}function nD(r){return r.nextSibling}function Qv(r,e){r.textContent=e}var a1=58,WB=120,UB=ee("","");function ud(r){return r===void 0}function Rr(r){return r!==void 0}function YB(r,e,t){for(var a={},n=e;n<=t;++n){var i=r[n].key;i!==void 0&&(a[i]=n)}return a}function ls(r,e){var t=r.key===e.key,a=r.tag===e.tag;return a&&t}function Xs(r){var e,t=r.children,a=r.tag;if(Rr(a)){var n=r.elm=qC(a);if(oy(UB,r),z(t))for(e=0;ei?(p=t[l+1]==null?null:t[l+1].elm,iD(r,p,t,n,l)):Lf(r,e,a,i))}function zi(r,e){var t=e.elm=r.elm,a=r.children,n=e.children;r!==e&&(oy(r,e),ud(e.text)?Rr(a)&&Rr(n)?a!==n&&XB(t,a,n):Rr(n)?(Rr(r.text)&&Qv(t,""),iD(t,null,n,0,n.length-1)):Rr(a)?Lf(t,a,0,a.length-1):Rr(r.text)&&Qv(t,""):r.text!==e.text&&(Rr(a)&&Lf(t,a,0,a.length-1),Qv(t,e.text)))}function $B(r,e){if(ls(r,e))zi(r,e);else{var t=r.elm,a=aD(t);Xs(e),a!==null&&(kn(a,e.elm,nD(t)),Lf(a,[r],0,0))}return e}var ZB=0,qB=function(){function r(e,t,a){if(this.type="svg",this.refreshHover=n1(),this.configLayer=n1(),this.storage=t,this._opts=a=V({},a),this.root=e,this._id="zr"+ZB++,this._oldVNode=X_(a.width,a.height),e&&!a.ssr){var n=this._viewport=document.createElement("div");n.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=qC("svg");oy(null,this._oldVNode),n.appendChild(i),e.appendChild(n)}this.resize(a.width,a.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",$B(this._oldVNode,e),this._oldVNode=e}},r.prototype.renderOneToVNode=function(e){return j_(e,ld(this._id))},r.prototype.renderToVNode=function(e){e=e||{};var t=this.storage.getDisplayList(!0),a=this._width,n=this._height,i=ld(this._id);i.animation=e.animation,i.willUpdate=e.willUpdate,i.compress=e.compress,i.emphasis=e.emphasis;var o=[],s=this._bgVNode=KB(a,n,this._backgroundColor,i);s&&o.push(s);var l=e.compress?null:this._mainVNode=ee("g","main",{},[]);this._paintList(t,i,l?l.children:o),l&&o.push(l);var u=G(St(i.defs),function(v){return i.defs[v]});if(u.length&&o.push(ee("defs","defs",{},u)),e.animation){var f=MB(i.cssNodes,i.cssAnims,{newline:!0});if(f){var h=ee("style","stl",{},[],f);o.push(h)}}return X_(a,n,o,e.useViewBox)},r.prototype.renderToString=function(e){return e=e||{},ry(this.renderToVNode({animation:it(e.cssAnimation,!0),emphasis:it(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:it(e.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(e){this._backgroundColor=e},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(e,t,a){for(var n=e.length,i=[],o=0,s,l,u=0,f=0;f=0&&!(v&&l&&v[d]===l[d]);d--);for(var g=p-1;g>d;g--)o--,s=i[o-1];for(var y=d+1;y=s)}}for(var h=this.__startIndex;h15)break}}P.prevElClipPaths&&y.restore()};if(m)if(m.length===0)T=g.__endIndex;else for(var D=c.dpr,M=0;M0&&e>n[0]){for(l=0;le);l++);s=a[n[l]]}if(n.splice(l+1,0,e),a[e]=t,!t.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(t.dom,u.nextSibling):o.appendChild(t.dom)}else o.firstChild?o.insertBefore(t.dom,o.firstChild):o.appendChild(t.dom);t.painter||(t.painter=this)}},r.prototype.eachLayer=function(e,t){for(var a=this._zlevelList,n=0;n0?hu:0),this._needsManuallyCompositing),f.__builtin__||Jd("ZLevel "+u+" has been used by unkown layer "+f.id),f!==i&&(f.__used=!0,f.__startIndex!==l&&(f.__dirty=!0),f.__startIndex=l,f.incremental?f.__drawIndex=-1:f.__drawIndex=l,t(l),i=f),n.__dirty&Fe&&!n.__inHover&&(f.__dirty=!0,f.incremental&&f.__drawIndex<0&&(f.__drawIndex=l))}t(l),this.eachBuiltinLayer(function(h,v){!h.__used&&h.getElementCount()>0&&(h.__dirty=!0,h.__startIndex=h.__endIndex=h.__drawIndex=0),h.__dirty&&h.__drawIndex<0&&(h.__drawIndex=h.__startIndex)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(e){e.clear()},r.prototype.setBackgroundColor=function(e){this._backgroundColor=e,C(this._layers,function(t){t.setUnpainted()})},r.prototype.configLayer=function(e,t){if(t){var a=this._layerConfig;a[e]?ft(a[e],t,!0):a[e]=t;for(var n=0;n-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),a},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Bt);function no(r,e){var t=r.mapDimensionsAll("defaultedLabel"),a=t.length;if(a===1){var n=eo(r,e,t[0]);return n!=null?n+"":null}else if(a){for(var i=[],o=0;o=0&&a.push(e[i])}return a.join(" ")}var yl=function(r){k(e,r);function e(t,a,n,i){var o=r.call(this)||this;return o.updateData(t,a,n,i),o}return e.prototype._createSymbol=function(t,a,n,i,o){this.removeAll();var s=qt(t,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=nV,this._symbolType=t,this.add(s)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){fa(this.childAt(0))},e.prototype.downplay=function(){ha(this.childAt(0))},e.prototype.setZ=function(t,a){var n=this.childAt(0);n.zlevel=t,n.z=a},e.prototype.setDraggable=function(t,a){var n=this.childAt(0);n.draggable=t,n.cursor=!a&&t?"move":n.cursor},e.prototype.updateData=function(t,a,n,i){this.silent=!1;var o=t.getItemVisual(a,"symbol")||"circle",s=t.hostModel,l=e.getSymbolSize(t,a),u=o!==this._symbolType,f=i&&i.disableAnimation;if(u){var h=t.getItemVisual(a,"symbolKeepAspect");this._createSymbol(o,t,a,l,h)}else{var v=this.childAt(0);v.silent=!1;var c={scaleX:l[0]/2,scaleY:l[1]/2};f?v.attr(c):Dt(v,c,s,a),br(v)}if(this._updateCommon(t,a,l,n,i),u){var v=this.childAt(0);if(!f){var c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:v.style.opacity}};v.scaleX=v.scaleY=0,v.style.opacity=0,Vt(v,c,s,a)}}f&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,a,n,i,o){var s=this.childAt(0),l=t.hostModel,u,f,h,v,c,p,d,g,y;if(i&&(u=i.emphasisItemStyle,f=i.blurItemStyle,h=i.selectItemStyle,v=i.focus,c=i.blurScope,d=i.labelStatesModels,g=i.hoverScale,y=i.cursorStyle,p=i.emphasisDisabled),!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(a),_=m.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),h=m.getModel(["select","itemStyle"]).getItemStyle(),f=m.getModel(["blur","itemStyle"]).getItemStyle(),v=_.get("focus"),c=_.get("blurScope"),p=_.get("disabled"),d=ae(m),g=_.getShallow("scale"),y=m.getShallow("cursor")}var S=t.getItemVisual(a,"symbolRotate");s.attr("rotation",(S||0)*Math.PI/180||0);var b=fi(t.getItemVisual(a,"symbolOffset"),n);b&&(s.x=b[0],s.y=b[1]),y&&s.attr("cursor",y);var x=t.getItemVisual(a,"style"),w=x.fill;if(s instanceof se){var T=s.style;s.useStyle(V({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},x))}else s.__isEmptyBrush?s.useStyle(V({},x)):s.useStyle(x),s.style.decal=null,s.setColor(w,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var A=t.getItemVisual(a,"liftZ"),D=this._z2;A!=null?D==null&&(this._z2=s.z2,s.z2+=A):D!=null&&(s.z2=D,this._z2=null);var M=o&&o.useNameLabel;he(s,d,{labelFetcher:l,labelDataIndex:a,defaultText:I,inheritColor:w,defaultOpacity:x.opacity});function I(R){return M?t.getName(R):no(t,R)}this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=s.ensureState("emphasis");L.style=u,s.ensureState("select").style=h,s.ensureState("blur").style=f;var P=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;L.scaleX=this._sizeX*P,L.scaleY=this._sizeY*P,this.setSymbolScale(1),Ht(this,v,c,p)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,a,n){var i=this.childAt(0),o=nt(this).dataIndex,s=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var l=i.getTextContent();l&&qa(l,{style:{opacity:0}},a,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();qa(i,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:o,cb:t,removeOpt:s})},e.getSymbolSize=function(t,a){return To(t.getItemVisual(a,"symbolSize"))},e}(at);function nV(r,e){this.parent.drift(r,e)}function jv(r,e,t,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(t))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&r.getItemVisual(t,"symbol")!=="none"}function s1(r){return r!=null&&!tt(r)&&(r={isIgnore:r}),r||{}}function l1(r){var e=r.hostModel,t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:ae(e),cursorStyle:e.get("cursor")}}var ml=function(){function r(e){this.group=new at,this._SymbolCtor=e||yl}return r.prototype.updateData=function(e,t){this._progressiveEls=null,t=s1(t);var a=this.group,n=e.hostModel,i=this._data,o=this._SymbolCtor,s=t.disableAnimation,l=l1(e),u={disableAnimation:s},f=t.getSymbolPoint||function(h){return e.getItemLayout(h)};i||a.removeAll(),e.diff(i).add(function(h){var v=f(h);if(jv(e,v,h,t)){var c=new o(e,h,l,u);c.setPosition(v),e.setItemGraphicEl(h,c),a.add(c)}}).update(function(h,v){var c=i.getItemGraphicEl(v),p=f(h);if(!jv(e,p,h,t)){a.remove(c);return}var d=e.getItemVisual(h,"symbol")||"circle",g=c&&c.getSymbolType&&c.getSymbolType();if(!c||g&&g!==d)a.remove(c),c=new o(e,h,l,u),c.setPosition(p);else{c.updateData(e,h,l,u);var y={x:p[0],y:p[1]};s?c.attr(y):Dt(c,y,n)}a.add(c),e.setItemGraphicEl(h,c)}).remove(function(h){var v=i.getItemGraphicEl(h);v&&v.fadeOut(function(){a.remove(v)},n)}).execute(),this._getSymbolPoint=f,this._data=e},r.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl(function(a,n){var i=e._getSymbolPoint(n);a.setPosition(i),a.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=l1(e),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(e,t,a){this._progressiveEls=[],a=s1(a);function n(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i0?t=a[0]:a[1]<0&&(t=a[1]),t}function lD(r,e,t,a){var n=NaN;r.stacked&&(n=t.get(t.getCalculationInfo("stackedOverDimension"),a)),isNaN(n)&&(n=r.valueStart);var i=r.baseDataOffset,o=[];return o[i]=t.get(r.baseDim,a),o[1-i]=n,e.dataToPoint(o)}function oV(r,e){var t=[];return e.diff(r).add(function(a){t.push({cmd:"+",idx:a})}).update(function(a,n){t.push({cmd:"=",idx:n,idx1:a})}).remove(function(a){t.push({cmd:"-",idx:a})}).execute(),t}function sV(r,e,t,a,n,i,o,s){for(var l=oV(r,e),u=[],f=[],h=[],v=[],c=[],p=[],d=[],g=sD(n,e,o),y=r.getLayout("points")||[],m=e.getLayout("points")||[],_=0;_=n||d<0)break;if(Jn(y,m)){if(l){d+=i;continue}break}if(d===t)r[i>0?"moveTo":"lineTo"](y,m),h=y,v=m;else{var _=y-u,S=m-f;if(_*_+S*S<.5){d+=i;continue}if(o>0){for(var b=d+i,x=e[b*2],w=e[b*2+1];x===y&&w===m&&g=a||Jn(x,w))c=y,p=m;else{D=x-u,M=w-f;var P=y-u,R=x-y,E=m-f,N=w-m,O=void 0,B=void 0;if(s==="x"){O=Math.abs(P),B=Math.abs(R);var F=D>0?1:-1;c=y-F*O*o,p=m,I=y+F*B*o,L=m}else if(s==="y"){O=Math.abs(E),B=Math.abs(N);var H=M>0?1:-1;c=y,p=m-H*O*o,I=y,L=m+H*B*o}else O=Math.sqrt(P*P+E*E),B=Math.sqrt(R*R+N*N),A=B/(B+O),c=y-D*o*(1-A),p=m-M*o*(1-A),I=y+D*o*A,L=m+M*o*A,I=Ca(I,Da(x,y)),L=Ca(L,Da(w,m)),I=Da(I,Ca(x,y)),L=Da(L,Ca(w,m)),D=I-y,M=L-m,c=y-D*O/B,p=m-M*O/B,c=Ca(c,Da(u,y)),p=Ca(p,Da(f,m)),c=Da(c,Ca(u,y)),p=Da(p,Ca(f,m)),D=y-c,M=m-p,I=y+D*B/O,L=m+M*B/O}r.bezierCurveTo(h,v,c,p,y,m),h=I,v=L}else r.lineTo(y,m)}u=y,f=m,d+=i}return g}var uD=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),lV=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="ec-polyline",a}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new uD},e.prototype.buildPath=function(t,a){var n=a.points,i=0,o=n.length/2;if(a.connectNulls){for(;o>0&&Jn(n[o*2-2],n[o*2-1]);o--);for(;i=0){var S=u?(p-l)*_+l:(c-s)*_+s;return u?[t,S]:[S,t]}s=c,l=p;break;case o.C:c=i[h++],p=i[h++],d=i[h++],g=i[h++],y=i[h++],m=i[h++];var b=u?nf(s,c,d,y,t,f):nf(l,p,g,m,t,f);if(b>0)for(var x=0;x=0){var S=u?jt(l,p,g,m,w):jt(s,c,d,y,w);return u?[t,S]:[S,t]}}s=y,l=m;break}}},e}(yt),uV=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e}(uD),fD=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="ec-polygon",a}return e.prototype.getDefaultShape=function(){return new uV},e.prototype.buildPath=function(t,a){var n=a.points,i=a.stackedOnPoints,o=0,s=n.length/2,l=a.smoothMonotone;if(a.connectNulls){for(;s>0&&Jn(n[s*2-2],n[s*2-1]);s--);for(;oe){i?t.push(o(i,l,e)):n&&t.push(o(n,l,0),o(n,l,e));break}else n&&(t.push(o(n,l,0)),n=null),t.push(l),i=l}return t}function vV(r,e,t){var a=r.getVisual("visualMeta");if(!(!a||!a.length||!r.count())&&e.type==="cartesian2d"){for(var n,i,o=a.length-1;o>=0;o--){var s=r.getDimensionInfo(a[o].dimension);if(n=s&&s.coordDim,n==="x"||n==="y"){i=a[o];break}}if(i){var l=e.getAxis(n),u=G(i.stops,function(_){return{coord:l.toGlobalCoord(l.dataToCoord(_.value)),color:_.color}}),f=u.length,h=i.outerColors.slice();f&&u[0].coord>u[f-1].coord&&(u.reverse(),h.reverse());var v=hV(u,n==="x"?t.getWidth():t.getHeight()),c=v.length;if(!c&&f)return u[0].coord<0?h[1]?h[1]:u[f-1].color:h[0]?h[0]:u[0].color;var p=10,d=v[0].coord-p,g=v[c-1].coord+p,y=g-d;if(y<.001)return"transparent";C(v,function(_){_.offset=(_.coord-d)/y}),v.push({offset:c?v[c-1].offset:.5,color:h[1]||"transparent"}),v.unshift({offset:c?v[0].offset:.5,color:h[0]||"transparent"});var m=new ul(0,0,0,0,v,!0);return m[n]=d,m[n+"2"]=g,m}}}function cV(r,e,t){var a=r.get("showAllSymbol"),n=a==="auto";if(!(a&&!n)){var i=t.getAxesByScale("ordinal")[0];if(i&&!(n&&pV(i,e))){var o=e.mapDimension(i.dim),s={};return C(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(e.get(o,l))}}}}function pV(r,e){var t=r.getExtent(),a=Math.abs(t[1]-t[0])/r.scale.count();isNaN(a)&&(a=0);for(var n=e.count(),i=Math.max(1,Math.round(n/5)),o=0;oa)return!1;return!0}function dV(r,e){return isNaN(r)||isNaN(e)}function gV(r){for(var e=r.length/2;e>0&&dV(r[e*2-2],r[e*2-1]);e--);return e-1}function c1(r,e){return[r[e*2],r[e*2+1]]}function yV(r,e,t){for(var a=r.length/2,n=t==="x"?0:1,i,o,s=0,l=-1,u=0;u=e||i>=e&&o<=e){l=u;break}s=u,i=o}return{range:[s,l],t:(e-i)/(o-i)}}function cD(r){if(r.get(["endLabel","show"]))return!0;for(var e=0;e0&&t.get(["emphasis","lineStyle","width"])==="bolder"){var F=d.getState("emphasis").style;F.lineWidth=+d.style.lineWidth+1}nt(d).seriesIndex=t.seriesIndex,Ht(d,N,O,B);var H=v1(t.get("smooth")),Z=t.get("smoothMonotone");if(d.setShape({smooth:H,smoothMonotone:Z,connectNulls:T}),g){var Q=l.getCalculationInfo("stackedOnSeries"),J=0;g.useStyle(j(f.getAreaStyle(),{fill:L,opacity:.7,lineJoin:"bevel",decal:l.getVisual("style").decal})),Q&&(J=v1(Q.get("smooth"))),g.setShape({smooth:H,stackedOnSmooth:J,smoothMonotone:Z,connectNulls:T}),fe(g,t,"areaStyle"),nt(g).seriesIndex=t.seriesIndex,Ht(g,N,O,B)}var ct=function(xt){i._changePolyState(xt)};l.eachItemGraphicEl(function(xt){xt&&(xt.onHoverStateChange=ct)}),this._polyline.onHoverStateChange=ct,this._data=l,this._coordSys=o,this._stackedOnPoints=x,this._points=h,this._step=M,this._valueOrigin=S,t.get("triggerLineEvent")&&(this.packEventData(t,d),g&&this.packEventData(t,g))},e.prototype.packEventData=function(t,a){nt(a).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,a,n,i){var o=t.getData(),s=ei(o,i);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var f=l[s*2],h=l[s*2+1];if(isNaN(f)||isNaN(h)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(f,h))return;var v=t.get("zlevel")||0,c=t.get("z")||0;u=new yl(o,s),u.x=f,u.y=h,u.setZ(v,c);var p=u.getSymbolPath().getTextContent();p&&(p.zlevel=v,p.z=c,p.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Et.prototype.highlight.call(this,t,a,n,i)},e.prototype.downplay=function(t,a,n,i){var o=t.getData(),s=ei(o,i);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else Et.prototype.downplay.call(this,t,a,n,i)},e.prototype._changePolyState=function(t){var a=this._polygon;vf(this._polyline,t),a&&vf(a,t)},e.prototype._newPolyline=function(t){var a=this._polyline;return a&&this._lineGroup.remove(a),a=new lV({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(a),this._polyline=a,a},e.prototype._newPolygon=function(t,a){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new fD({shape:{points:t,stackedOnPoints:a},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,a,n){var i,o,s=a.getBaseAxis(),l=s.inverse;a.type==="cartesian2d"?(i=s.isHorizontal(),o=!1):a.type==="polar"&&(i=s.dim==="angle",o=!0);var u=t.hostModel,f=u.get("animationDuration");K(f)&&(f=f(null));var h=u.get("animationDelay")||0,v=K(h)?h(null):h;t.eachItemGraphicEl(function(c,p){var d=c;if(d){var g=[c.x,c.y],y=void 0,m=void 0,_=void 0;if(n)if(o){var S=n,b=a.pointToCoord(g);i?(y=S.startAngle,m=S.endAngle,_=-b[1]/180*Math.PI):(y=S.r0,m=S.r,_=b[0])}else{var x=n;i?(y=x.x,m=x.x+x.width,_=c.x):(y=x.y+x.height,m=x.y,_=c.y)}var w=m===y?0:(_-y)/(m-y);l&&(w=1-w);var T=K(h)?h(p):f*w+v,A=d.getSymbolPath(),D=A.getTextContent();d.attr({scaleX:0,scaleY:0}),d.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),D&&D.animateFrom({style:{opacity:0}},{duration:300,delay:T}),A.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,a,n){var i=t.getModel("endLabel");if(cD(t)){var o=t.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Tt({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var f=gV(l);f>=0&&(he(s,ae(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:f,defaultText:function(h,v,c){return c!=null?oD(o,c):no(o,h)},enableTextSetter:!0},mV(i,a)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,a,n,i,o,s,l){var u=this._endLabel,f=this._polyline;if(u){t<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var h=n.getLayout("points"),v=n.hostModel,c=v.get("connectNulls"),p=s.get("precision"),d=s.get("distance")||0,g=l.getBaseAxis(),y=g.isHorizontal(),m=g.inverse,_=a.shape,S=m?y?_.x:_.y+_.height:y?_.x+_.width:_.y,b=(y?d:0)*(m?-1:1),x=(y?0:-d)*(m?-1:1),w=y?"x":"y",T=yV(h,S,w),A=T.range,D=A[1]-A[0],M=void 0;if(D>=1){if(D>1&&!c){var I=c1(h,A[0]);u.attr({x:I[0]+b,y:I[1]+x}),o&&(M=v.getRawValue(A[0]))}else{var I=f.getPointOn(S,w);I&&u.attr({x:I[0]+b,y:I[1]+x});var L=v.getRawValue(A[0]),P=v.getRawValue(A[1]);o&&(M=jw(n,p,L,P,T.t))}i.lastFrameIndex=A[0]}else{var R=t===1||i.lastFrameIndex>0?A[0]:0,I=c1(h,R);o&&(M=v.getRawValue(R)),u.attr({x:I[0]+b,y:I[1]+x})}if(o){var E=yo(u);typeof E.setLabelText=="function"&&E.setLabelText(M)}}},e.prototype._doUpdateAnimation=function(t,a,n,i,o,s,l){var u=this._polyline,f=this._polygon,h=t.hostModel,v=sV(this._data,t,this._stackedOnPoints,a,this._coordSys,n,this._valueOrigin),c=v.current,p=v.stackedOnCurrent,d=v.next,g=v.stackedOnNext;if(o&&(c=Ma(v.current,n,o,l),p=Ma(v.stackedOnCurrent,n,o,l),d=Ma(v.next,n,o,l),g=Ma(v.stackedOnNext,n,o,l)),h1(c,d)>3e3||f&&h1(p,g)>3e3){u.stopAnimation(),u.setShape({points:d}),f&&(f.stopAnimation(),f.setShape({points:d,stackedOnPoints:g}));return}u.shape.__points=v.current,u.shape.points=c;var y={shape:{points:d}};v.current!==c&&(y.shape.__points=v.next),u.stopAnimation(),Dt(u,y,h),f&&(f.setShape({points:c,stackedOnPoints:p}),f.stopAnimation(),Dt(f,{shape:{stackedOnPoints:g}},h),u.shape.points!==f.shape.points&&(f.shape.points=u.shape.points));for(var m=[],_=v.status,S=0;S<_.length;S++){var b=_[S].cmd;if(b==="="){var x=t.getItemGraphicEl(_[S].idx1);x&&m.push({el:x,ptIdx:S})}}u.animators&&u.animators.length&&u.animators[0].during(function(){f&&f.dirtyShape();for(var w=u.shape.__points,T=0;Te&&(e=r[t]);return isFinite(e)?e:NaN},min:function(r){for(var e=1/0,t=0;te&&(e=i,t=n)}return isFinite(t)?t:NaN},nearest:function(r){return r[0]}},xV=function(r){return Math.round(r.length/2)};function pD(r){return{seriesType:r,reset:function(e,t,a){var n=e.getData(),i=e.get("sampling"),o=e.coordinateSystem,s=n.count();if(s>10&&o.type==="cartesian2d"&&i){var l=o.getBaseAxis(),u=o.getOtherAxis(l),f=l.getExtent(),h=a.getDevicePixelRatio(),v=Math.abs(f[1]-f[0])*(h||1),c=Math.round(s/v);if(isFinite(c)&&c>1){i==="lttb"&&e.setData(n.lttbDownSample(n.mapDimension(u.dim),1/c));var p=void 0;U(i)?p=SV[i]:K(i)&&(p=i),p&&e.setData(n.downSample(n.mapDimension(u.dim),1/c,p,xV))}}}}}function bV(r){r.registerChartView(_V),r.registerSeriesModel(aV),r.registerLayout(Sl("line",!0)),r.registerVisual({seriesType:"line",reset:function(e){var t=e.getData(),a=e.getModel("lineStyle").getLineStyle();a&&!a.stroke&&(a.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",a)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,pD("line"))}var $s=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){return ma(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,a,n){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(t),s=i.dataToPoint(o);if(n)C(i.getAxes(),function(v,c){if(v.type==="category"&&a!=null){var p=v.getTicksCoords(),d=v.getTickModel().get("alignWithLabel"),g=o[c],y=a[c]==="x1"||a[c]==="y1";if(y&&!d&&(g+=1),p.length<2)return;if(p.length===2){s[c]=v.toGlobalCoord(v.getExtent()[y?1:0]);return}for(var m=void 0,_=void 0,S=1,b=0;bg){_=(x+m)/2;break}b===1&&(S=w-p[0].tickValue)}_==null&&(m?m&&(_=p[p.length-1].coord):_=p[0].coord),s[c]=v.toGlobalCoord(_)}});else{var l=this.getData(),u=l.getLayout("offset"),f=l.getLayout("size"),h=i.getBaseAxis().isHorizontal()?0:1;s[h]+=u+f/2}return s}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Bt);Bt.registerClass($s);var wV=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(){return ma(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),a=this.get("largeThreshold");return a>t&&(t=a),t},e.prototype.brushSelector=function(t,a,n){return n.rect(a.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=en($s.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}($s),TV=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),Pf=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="sausage",a}return e.prototype.getDefaultShape=function(){return new TV},e.prototype.buildPath=function(t,a){var n=a.cx,i=a.cy,o=Math.max(a.r0||0,0),s=Math.max(a.r,0),l=(s-o)*.5,u=o+l,f=a.startAngle,h=a.endAngle,v=a.clockwise,c=Math.PI*2,p=v?h-fMath.PI/2&&fs)return!0;s=h}return!1},e.prototype._isOrderDifferentInView=function(t,a){for(var n=a.scale,i=n.getExtent(),o=Math.max(0,i[0]),s=Math.min(i[1],n.getOrdinalMeta().categories.length-1);o<=s;++o)if(t.ordinalNumbers[o]!==n.getRawOrdinalNumber(o))return!0},e.prototype._updateSortWithinSameData=function(t,a,n,i){if(this._isOrderChangedWithinSameData(t,a,n)){var o=this._dataSort(t,n,a);this._isOrderDifferentInView(o,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:o}))}},e.prototype._dispatchInitSort=function(t,a,n){var i=a.baseAxis,o=this._dataSort(t,i,function(s){return t.get(t.mapDimension(a.otherAxis.dim),s)});n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},e.prototype.remove=function(t,a){this._clear(this._model),this._removeOnRenderedListener(a)},e.prototype.dispose=function(t,a){this._removeOnRenderedListener(a)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var a=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl(function(i){Bs(i,t,nt(i).dataIndex)})):a.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Et),p1={cartesian2d:function(r,e){var t=e.width<0?-1:1,a=e.height<0?-1:1;t<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height);var n=r.x+r.width,i=r.y+r.height,o=ec(e.x,r.x),s=rc(e.x+e.width,n),l=ec(e.y,r.y),u=rc(e.y+e.height,i),f=sn?s:o,e.y=h&&l>i?u:l,e.width=f?0:s-o,e.height=h?0:u-l,t<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height),f||h},polar:function(r,e){var t=e.r0<=e.r?1:-1;if(t<0){var a=e.r;e.r=e.r0,e.r0=a}var n=rc(e.r,r.r),i=ec(e.r0,r.r0);e.r=n,e.r0=i;var o=n-i<0;if(t<0){var a=e.r;e.r=e.r0,e.r0=a}return o}},d1={cartesian2d:function(r,e,t,a,n,i,o,s,l){var u=new bt({shape:V({},a),z2:1});if(u.__dataIndex=t,u.name="item",i){var f=u.shape,h=n?"height":"width";f[h]=0}return u},polar:function(r,e,t,a,n,i,o,s,l){var u=!n&&l?Pf:Ie,f=new u({shape:a,z2:1});f.name="item";var h=dD(n);if(f.calculateTextPosition=AV(h,{isRoundCap:u===Pf}),i){var v=f.shape,c=n?"r":"endAngle",p={};v[c]=n?a.r0:a.startAngle,p[c]=a[c],(s?Dt:Vt)(f,{shape:p},i)}return f}};function IV(r,e){var t=r.get("realtimeSort",!0),a=e.getBaseAxis();if(t&&a.type==="category"&&e.type==="cartesian2d")return{baseAxis:a,otherAxis:e.getOtherAxis(a)}}function g1(r,e,t,a,n,i,o,s){var l,u;i?(u={x:a.x,width:a.width},l={y:a.y,height:a.height}):(u={y:a.y,height:a.height},l={x:a.x,width:a.width}),s||(o?Dt:Vt)(t,{shape:l},e,n,null);var f=e?r.baseAxis.model:null;(o?Dt:Vt)(t,{shape:u},f,n)}function y1(r,e){for(var t=0;t0?1:-1,o=a.height>0?1:-1;return{x:a.x+i*n/2,y:a.y+o*n/2,width:a.width-i*n,height:a.height-o*n}},polar:function(r,e,t){var a=r.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function RV(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function dD(r){return function(e){var t=e?"Arc":"Angle";return function(a){switch(a){case"start":case"insideStart":case"end":case"insideEnd":return a+t;default:return a}}}(r)}function _1(r,e,t,a,n,i,o,s){var l=e.getItemVisual(t,"style");if(s){if(!i.get("roundCap")){var f=r.shape,h=Un(a.getModel("itemStyle"),f,!0);V(f,h),r.setShape(f)}}else{var u=a.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var v=a.getShallow("cursor");v&&r.attr("cursor",v);var c=s?o?n.r>=n.r0?"endArc":"startArc":n.endAngle>=n.startAngle?"endAngle":"startAngle":o?n.height>=0?"bottom":"top":n.width>=0?"right":"left",p=ae(a);he(r,p,{labelFetcher:i,labelDataIndex:t,defaultText:no(i.getData(),t),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:c});var d=r.getTextContent();if(s&&d){var g=a.get(["label","position"]);r.textConfig.inside=g==="middle"?!0:null,CV(r,g==="outside"?c:g,dD(o),a.get(["label","rotate"]))}NT(d,p,i.getRawValue(t),function(m){return oD(e,m)});var y=a.getModel(["emphasis"]);Ht(r,y.get("focus"),y.get("blurScope"),y.get("disabled")),fe(r,a),RV(n)&&(r.style.fill="none",r.style.stroke="none",C(r.states,function(m){m.style&&(m.style.fill=m.style.stroke="none")}))}function EV(r,e){var t=r.get(["itemStyle","borderColor"]);if(!t||t==="none")return 0;var a=r.get(["itemStyle","borderWidth"])||0,n=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),i=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(a,n,i)}var kV=function(){function r(){}return r}(),S1=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="largeBar",a}return e.prototype.getDefaultShape=function(){return new kV},e.prototype.buildPath=function(t,a){for(var n=a.points,i=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,f=0;f=0?t:null},30,!1);function OV(r,e,t){for(var a=r.baseDimIdx,n=1-a,i=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,f=0,h=i.length/3;f=s[0]&&e<=s[0]+l[0]&&t>=s[1]&&t<=s[1]+l[1])return o[f]}return-1}function gD(r,e,t){if(vi(t,"cartesian2d")){var a=e,n=t.getArea();return{x:r?a.x:n.x,y:r?n.y:a.y,width:r?a.width:n.width,height:r?n.height:a.height}}else{var n=t.getArea(),i=e;return{cx:n.cx,cy:n.cy,r0:r?n.r0:i.r0,r:r?n.r:i.r,startAngle:r?i.startAngle:0,endAngle:r?i.endAngle:Math.PI*2}}}function NV(r,e,t){var a=r.type==="polar"?Ie:bt;return new a({shape:gD(e,t,r),silent:!0,z2:0})}function BV(r){r.registerChartView(MV),r.registerSeriesModel(wV),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,ot(bC,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,wC("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,pD("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var a=e.componentType||"series";t.eachComponent({mainType:a,query:e},function(n){e.sortInfo&&n.axis.setCategorySortInfo(e.sortInfo)})})}var w1=Math.PI*2,du=Math.PI/180;function yD(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function mD(r,e){var t=yD(r,e),a=r.get("center"),n=r.get("radius");z(n)||(n=[0,n]);var i=W(t.width,e.getWidth()),o=W(t.height,e.getHeight()),s=Math.min(i,o),l=W(n[0],s/2),u=W(n[1],s/2),f,h,v=r.coordinateSystem;if(v){var c=v.dataToPoint(a);f=c[0]||0,h=c[1]||0}else z(a)||(a=[a,a]),f=W(a[0],i)+t.x,h=W(a[1],o)+t.y;return{cx:f,cy:h,r0:l,r:u}}function VV(r,e,t){e.eachSeriesByType(r,function(a){var n=a.getData(),i=n.mapDimension("value"),o=yD(a,t),s=mD(a,t),l=s.cx,u=s.cy,f=s.r,h=s.r0,v=-a.get("startAngle")*du,c=a.get("endAngle"),p=a.get("padAngle")*du;c=c==="auto"?v-w1:-c*du;var d=a.get("minAngle")*du,g=d+p,y=0;n.each(i,function(E){!isNaN(E)&&y++});var m=n.getSum(i),_=Math.PI/(m||y)*2,S=a.get("clockwise"),b=a.get("roseType"),x=a.get("stillShowZeroSum"),w=n.getDataExtent(i);w[0]=0;var T=S?1:-1,A=[v,c],D=T*p/2;cg(A,!S),v=A[0],c=A[1];var M=Math.abs(c-v),I=M,L=0,P=v;if(n.setLayout({viewRect:o,r:f}),n.each(i,function(E,N){var O;if(isNaN(E)){n.setItemLayout(N,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:S,cx:l,cy:u,r0:h,r:b?NaN:f});return}b!=="area"?O=m===0&&x?_:E*_:O=M/y,OO?(F=P+T*O/2,H=F):(F=P+D,H=B-D),n.setItemLayout(N,{angle:O,startAngle:F,endAngle:H,clockwise:S,cx:l,cy:u,r0:h,r:b?Lt(E,w,[h,f]):f}),P=B}),It?y:g,b=Math.abs(_.label.y-t);if(b>=S.maxY){var x=_.label.x-e-_.len2*n,w=a+_.len,T=Math.abs(x)r.unconstrainedWidth?null:c:null;a.setStyle("width",p)}var d=a.getBoundingRect();i.width=d.width;var g=(a.style.margin||0)+2.1;i.height=d.height+g,i.y-=(i.height-h)/2}}}function ac(r){return r.position==="center"}function FV(r){var e=r.getData(),t=[],a,n,i=!1,o=(r.get("minShowLabelAngle")||0)*zV,s=e.getLayout("viewRect"),l=e.getLayout("r"),u=s.width,f=s.x,h=s.y,v=s.height;function c(x){x.ignore=!0}function p(x){if(!x.ignore)return!0;for(var w in x.states)if(x.states[w].ignore===!1)return!0;return!1}e.each(function(x){var w=e.getItemGraphicEl(x),T=w.shape,A=w.getTextContent(),D=w.getTextGuideLine(),M=e.getItemModel(x),I=M.getModel("label"),L=I.get("position")||M.get(["emphasis","label","position"]),P=I.get("distanceToLabelLine"),R=I.get("alignTo"),E=W(I.get("edgeDistance"),u),N=I.get("bleedMargin"),O=M.getModel("labelLine"),B=O.get("length");B=W(B,u);var F=O.get("length2");if(F=W(F,u),Math.abs(T.endAngle-T.startAngle)0?"right":"left":Z>0?"left":"right"}var Wt=Math.PI,Ft=0,ve=I.get("rotate");if(Ct(ve))Ft=ve*(Wt/180);else if(L==="center")Ft=0;else if(ve==="radial"||ve===!0){var qr=Z<0?-H+Wt:-H;Ft=qr}else if(ve==="tangential"&&L!=="outside"&&L!=="outer"){var Re=Math.atan2(Z,Q);Re<0&&(Re=Wt*2+Re);var Cl=Q>0;Cl&&(Re=Wt+Re),Ft=Re-Wt}if(i=!!Ft,A.x=J,A.y=ct,A.rotation=Ft,A.setStyle({verticalAlign:"middle"}),et){A.setStyle({align:pt});var Nh=A.states.select;Nh&&(Nh.x+=A.x,Nh.y+=A.y)}else{var _a=A.getBoundingRect().clone();_a.applyTransform(A.getComputedTransform());var am=(A.style.margin||0)+2.1;_a.y-=am/2,_a.height+=am,t.push({label:A,labelLine:D,position:L,len:B,len2:F,minTurnAngle:O.get("minTurnAngle"),maxSurfaceAngle:O.get("maxSurfaceAngle"),surfaceNormal:new ut(Z,Q),linePoints:xt,textAlign:pt,labelDistance:P,labelAlignTo:R,edgeDistance:E,bleedMargin:N,rect:_a,unconstrainedWidth:_a.width,labelStyleWidth:A.style.width})}w.setTextConfig({inside:et})}}),!i&&r.get("avoidLabelOverlap")&&GV(t,a,n,l,u,v,f,h);for(var d=0;d0){for(var f=o.getItemLayout(0),h=1;isNaN(f&&f.startAngle)&&h=i.r0}},e.type="pie",e}(Et);function Ao(r,e,t){e=z(e)&&{coordDimensions:e}||V({encodeDefine:r.getEncode()},e);var a=r.getSource(),n=pl(a,e).dimensions,i=new Ae(n,r);return i.initData(a,t),i}var bl=function(){function r(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return r.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},r.prototype.containName=function(e){var t=this._getRawData();return t.indexOfName(e)>=0},r.prototype.indexOfName=function(e){var t=this._getDataWithEncodedVisual();return t.indexOfName(e)},r.prototype.getItemVisual=function(e,t){var a=this._getDataWithEncodedVisual();return a.getItemVisual(e,t)},r}(),UV=At(),YV=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new bl(Y(this.getData,this),Y(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return Ao(this,{coordDimensions:["value"],encodeDefaulter:ot(Lg,this)})},e.prototype.getDataParams=function(t){var a=this.getData(),n=UV(a),i=n.seats;if(!i){var o=[];a.each(a.mapDimension("value"),function(l){o.push(l)}),i=n.seats=EL(o,a.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,t);return s.percent=i[t]||0,s.$vars.push("percent"),s},e.prototype._defaultLabelLine=function(t){ti(t,"labelLine",["show"]);var a=t.labelLine,n=t.emphasis.labelLine;a.show=a.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Bt);function XV(r){return{seriesType:r,reset:function(e,t){var a=e.getData();a.filterSelf(function(n){var i=a.mapDimension("value"),o=a.get(i,n);return!(Ct(o)&&!isNaN(o)&&o<0)})}}}function $V(r){r.registerChartView(WV),r.registerSeriesModel(YV),HA("pie",r.registerAction),r.registerLayout(ot(VV,"pie")),r.registerProcessor(xl("pie")),r.registerProcessor(XV("pie"))}var ZV=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.getInitialData=function(t,a){return ma(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return t??(this.option.large?5e3:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t??(this.option.large?1e4:this.get("progressiveThreshold"))},e.prototype.brushSelector=function(t,a,n){return n.point(a.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Bt),SD=4,qV=function(){function r(){}return r}(),KV=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a._off=0,a.hoverDataIdx=-1,a}return e.prototype.getDefaultShape=function(){return new qV},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,a){var n=a.points,i=a.size,o=this.symbolProxy,s=o.shape,l=t.getContext?t.getContext():t,u=l&&i[0]=0;u--){var f=u*2,h=i[f]-s/2,v=i[f+1]-l/2;if(t>=h&&a>=v&&t<=h+s&&a<=v+l)return u}return-1},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect();if(t=n[0],a=n[1],i.contain(t,a)){var o=this.hoverDataIdx=this.findDataIndex(t,a);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var a=this.shape,n=a.points,i=a.size,o=i[0],s=i[1],l=1/0,u=1/0,f=-1/0,h=-1/0,v=0;v=0&&(u.dataIndex=h+(e.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),JV=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this._updateSymbolDraw(i,t);o.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,a,n){var i=t.getData(),o=this._updateSymbolDraw(i,t);o.incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,a,n){this._symbolDraw.incrementalUpdate(t,a.getData(),{clipShape:this._getClipShape(a)}),this._finished=t.end===a.getData().count()},e.prototype.updateTransform=function(t,a,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=Sl("").reset(t,a,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var a=t.coordinateSystem;return a&&a.getArea&&a.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,a){var n=this._symbolDraw,i=a.pipelineContext,o=i.large;return(!n||o!==this._isLargeDraw)&&(n&&n.remove(),n=this._symbolDraw=o?new QV:new ml,this._isLargeDraw=o,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,a){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Et),jV=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(_t),hd=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Zt).models[0]},e.type="cartesian2dAxis",e}(_t);Kt(hd,gl);var xD={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},tz=ft({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},xD),sy=ft({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},xD),ez=ft({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},sy),rz=j({logBase:10},sy);const bD={category:tz,value:sy,time:ez,log:rz};var az={value:1,category:1,time:1,log:1};function io(r,e,t,a){C(az,function(n,i){var o=ft(ft({},bD[i],!0),a,!0),s=function(l){k(u,l);function u(){var f=l!==null&&l.apply(this,arguments)||this;return f.type=e+"Axis."+i,f}return u.prototype.mergeDefaultAndTheme=function(f,h){var v=zs(this),c=v?So(f):{},p=h.getTheme();ft(f,p.get(i+"Axis")),ft(f,this.getDefaultOption()),f.type=A1(f),v&&Ka(f,c,v)},u.prototype.optionUpdated=function(){var f=this.option;f.type==="category"&&(this.__ordinalMeta=nd.createByAxisModel(this))},u.prototype.getCategories=function(f){var h=this.option;if(h.type==="category")return f?h.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=e+"Axis."+i,u.defaultOption=o,u}(t);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(e+"Axis",A1)}function A1(r){return r.type||(r.data?"category":"value")}var nz=function(){function r(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return r.prototype.getAxis=function(e){return this._axes[e]},r.prototype.getAxes=function(){return G(this._dimList,function(e){return this._axes[e]},this)},r.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),Pt(this.getAxes(),function(t){return t.scale.type===e})},r.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)},r}(),vd=["x","y"];function C1(r){return r.type==="interval"||r.type==="time"}var iz=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cartesian2d",t.dimensions=vd,t}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,a=this.getAxis("y").scale;if(!(!C1(t)||!C1(a))){var n=t.getExtent(),i=a.getExtent(),o=this.dataToPoint([n[0],i[0]]),s=this.dataToPoint([n[1],i[1]]),l=n[1]-n[0],u=i[1]-i[0];if(!(!l||!u)){var f=(s[0]-o[0])/l,h=(s[1]-o[1])/u,v=o[0]-n[0]*f,c=o[1]-i[0]*h,p=this._transform=[f,0,0,h,v,c];this._invTransform=ho([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var a=this.getAxis("x"),n=this.getAxis("y");return a.contain(a.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,a){var n=this.dataToPoint(t),i=this.dataToPoint(a),o=this.getArea(),s=new ht(n[0],n[1],i[0]-n[0],i[1]-n[1]);return o.intersect(s)},e.prototype.dataToPoint=function(t,a,n){n=n||[];var i=t[0],o=t[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return ue(n,t,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return n[0]=s.toGlobalCoord(s.dataToCoord(i,a)),n[1]=l.toGlobalCoord(l.dataToCoord(o,a)),n},e.prototype.clampData=function(t,a){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,o=n.getExtent(),s=i.getExtent(),l=n.parse(t[0]),u=i.parse(t[1]);return a=a||[],a[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),a[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),a},e.prototype.pointToData=function(t,a){var n=[];if(this._invTransform)return ue(n,t,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),a),n[1]=o.coordToData(o.toLocalCoord(t[1]),a),n},e.prototype.getOtherAxis=function(t){return this.getAxis(t.dim==="x"?"y":"x")},e.prototype.getArea=function(t){t=t||0;var a=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(a[0],a[1])-t,o=Math.min(n[0],n[1])-t,s=Math.max(a[0],a[1])-i+t,l=Math.max(n[0],n[1])-o+t;return new ht(i,o,s,l)},e}(nz),oz=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this,t,a,n)||this;return s.index=0,s.type=i||"value",s.position=o||"bottom",s}return e.prototype.isHorizontal=function(){var t=this.position;return t==="top"||t==="bottom"},e.prototype.getGlobalExtent=function(t){var a=this.getExtent();return a[0]=this.toGlobalCoord(a[0]),a[1]=this.toGlobalCoord(a[1]),t&&a[0]>a[1]&&a.reverse(),a},e.prototype.pointToData=function(t,a){return this.coordToData(this.toLocalCoord(t[this.dim==="x"?0:1]),a)},e.prototype.setCategorySortInfo=function(t){if(this.type!=="category")return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(Tr);function cd(r,e,t){t=t||{};var a=r.coordinateSystem,n=e.axis,i={},o=n.getAxesOnZeroOf()[0],s=n.position,l=o?"onZero":s,u=n.dim,f=a.getRect(),h=[f.x,f.x+f.width,f.y,f.y+f.height],v={left:0,right:1,top:0,bottom:1,onZero:2},c=e.get("offset")||0,p=u==="x"?[h[2]-c,h[3]+c]:[h[0]-c,h[1]+c];if(o){var d=o.toGlobalCoord(o.dataToCoord(0));p[v.onZero]=Math.max(Math.min(d,p[1]),p[0])}i.position=[u==="y"?p[v[l]]:h[0],u==="x"?p[v[l]]:h[3]],i.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=g[s],i.labelOffset=o?p[v[s]]-p[v.onZero]:0,e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),oe(t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var y=e.get(["axisLabel","rotate"]);return i.labelRotate=l==="top"?-y:y,i.z2=1,i}function D1(r){return r.get("coordinateSystem")==="cartesian2d"}function M1(r){var e={xAxisModel:null,yAxisModel:null};return C(e,function(t,a){var n=a.replace(/Model$/,""),i=r.getReferringComponents(n,Zt).models[0];e[a]=i}),e}var nc=Math.log;function wD(r,e,t){var a=ca.prototype,n=a.getTicks.call(t),i=a.getTicks.call(t,!0),o=n.length-1,s=a.getInterval.call(t),l=MC(r,e),u=l.extent,f=l.fixMin,h=l.fixMax;if(r.type==="log"){var v=nc(r.base);u=[nc(u[0])/v,nc(u[1])/v]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:f,fixMax:h});var c=a.getExtent.call(r);f&&(u[0]=c[0]),h&&(u[1]=c[1]);var p=a.getInterval.call(r),d=u[0],g=u[1];if(f&&h)p=(g-d)/o;else if(f)for(g=u[0]+p*o;gu[0]&&isFinite(d)&&isFinite(u[0]);)p=Wv(p),d=u[1]-p*o;else{var y=r.getTicks().length-1;y>o&&(p=Wv(p));var m=p*o;g=Math.ceil(u[1]/p)*p,d=Ut(g-m),d<0&&u[0]>=0?(d=0,g=Ut(m)):g>0&&u[1]<=0&&(g=0,d=-Ut(m))}var _=(n[0].value-i[0].value)/s,S=(n[o].value-i[o].value)/s;a.setExtent.call(r,d+p*_,g+p*S),a.setInterval.call(r,p),(_||S)&&a.setNiceExtent.call(r,d+p,g-p)}var sz=function(){function r(e,t,a){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=vd,this._initCartesian(e,t,a),this.model=e}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(e,t){var a=this._axesMap;this._updateScale(e,this.model);function n(o){var s,l=St(o),u=l.length;if(u){for(var f=[],h=u-1;h>=0;h--){var v=+l[h],c=o[v],p=c.model,d=c.scale;id(d)&&p.get("alignTicks")&&p.get("interval")==null?f.push(c):(ao(d,p),id(d)&&(s=c))}f.length&&(s||(s=f.pop(),ao(s.scale,s.model)),C(f,function(g){wD(g.scale,g.model,s.scale)}))}}n(a.x),n(a.y);var i={};C(a.x,function(o){I1(a,"y",o,i)}),C(a.y,function(o){I1(a,"x",o,i)}),this.resize(this.model,t)},r.prototype.resize=function(e,t,a){var n=e.getBoxLayoutParams(),i=!a&&e.get("containLabel"),o=Jt(n,{width:t.getWidth(),height:t.getHeight()});this._rect=o;var s=this._axesList;l(),i&&(C(s,function(u){if(!u.model.get(["axisLabel","inside"])){var f=FN(u);if(f){var h=u.isHorizontal()?"height":"width",v=u.model.get(["axisLabel","margin"]);o[h]-=f[h]+v,u.position==="top"?o.y+=f.height+v:u.position==="left"&&(o.x+=f.width+v)}}}),l()),C(this._coordsList,function(u){u.calcAffineTransform()});function l(){C(s,function(u){var f=u.isHorizontal(),h=f?[0,o.width]:[0,o.height],v=u.inverse?1:0;u.setExtent(h[v],h[1-v]),lz(u,f?o.x:o.y)})}},r.prototype.getAxis=function(e,t){var a=this._axesMap[e];if(a!=null)return a[t||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(e,t){if(e!=null&&t!=null){var a="x"+e+"y"+t;return this._coordsMap[a]}tt(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,i=this._coordsList;n0?"top":"bottom",i="center"):Es(n-za)?(o=a>0?"bottom":"top",i="center"):(o="middle",n>0&&n0?"right":"left":i=a>0?"left":"right"),{rotation:n,textAlign:i,textVerticalAlign:o}},r.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},r.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},r}(),P1={axisLine:function(r,e,t,a){var n=e.get(["axisLine","show"]);if(n==="auto"&&r.handleAutoShown&&(n=r.handleAutoShown("axisLine")),!!n){var i=e.axis.getExtent(),o=a.transform,s=[i[0],0],l=[i[1],0],u=s[0]>l[0];o&&(ue(s,s,o),ue(l,l,o));var f=V({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new te({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:f,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});to(h.shape,h.style.lineWidth),h.anid="line",t.add(h);var v=e.get(["axisLine","symbol"]);if(v!=null){var c=e.get(["axisLine","symbolSize"]);U(v)&&(v=[v,v]),(U(c)||Ct(c))&&(c=[c,c]);var p=fi(e.get(["axisLine","symbolOffset"])||0,c),d=c[0],g=c[1];C([{rotate:r.rotation+Math.PI/2,offset:p[0],r:0},{rotate:r.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(y,m){if(v[m]!=="none"&&v[m]!=null){var _=qt(v[m],-d/2,-g/2,d,g,f.stroke,!0),S=y.r+y.offset,b=u?l:s;_.attr({rotation:y.rotate,x:b[0]+S*Math.cos(r.rotation),y:b[1]-S*Math.sin(r.rotation),silent:!0,z2:11}),t.add(_)}})}}},axisTickLabel:function(r,e,t,a){var n=hz(t,a,e,r),i=cz(t,a,e,r);if(fz(e,i,n),vz(t,a,e,r.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=FC(G(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));UC(o)}},axisName:function(r,e,t,a){var n=oe(r.axisName,e.get("name"));if(n){var i=e.get("nameLocation"),o=r.nameDirection,s=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,u=e.axis.getExtent(),f=u[0]>u[1]?-1:1,h=[i==="start"?u[0]-f*l:i==="end"?u[1]+f*l:(u[0]+u[1])/2,E1(i)?r.labelOffset+o*l:0],v,c=e.get("nameRotate");c!=null&&(c=c*za/180);var p;E1(i)?v=Ce.innerTextLayout(r.rotation,c??r.rotation,o):(v=uz(r.rotation,i,c||0,u),p=r.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(v.rotation)),!isFinite(p)&&(p=null)));var d=s.getFont(),g=e.get("nameTruncate",!0)||{},y=g.ellipsis,m=oe(r.nameTruncateMaxWidth,g.maxWidth,p),_=new Tt({x:h[0],y:h[1],rotation:v.rotation,silent:Ce.isLabelSilent(e),style:Nt(s,{text:n,font:d,overflow:"truncate",width:m,ellipsis:y,fill:s.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:s.get("align")||v.textAlign,verticalAlign:s.get("verticalAlign")||v.textVerticalAlign}),z2:1});if(go({el:_,componentModel:e,itemName:n}),_.__fullText=n,_.anid="name",e.get("triggerEvent")){var S=Ce.makeAxisEventDataBase(e);S.targetType="axisName",S.name=n,nt(_).eventData=S}a.add(_),_.updateTransform(),t.add(_),_.decomposeTransform()}}};function uz(r,e,t,a){var n=Ww(t-r),i,o,s=a[0]>a[1],l=e==="start"&&!s||e!=="start"&&s;return Es(n-za/2)?(o=l?"bottom":"top",i="center"):Es(n-za*1.5)?(o=l?"top":"bottom",i="center"):(o="middle",nza/2?i=l?"left":"right":i=l?"right":"left"),{rotation:n,textAlign:i,textVerticalAlign:o}}function fz(r,e,t){if(!IC(r.axis)){var a=r.get(["axisLabel","showMinLabel"]),n=r.get(["axisLabel","showMaxLabel"]);e=e||[],t=t||[];var i=e[0],o=e[1],s=e[e.length-1],l=e[e.length-2],u=t[0],f=t[1],h=t[t.length-1],v=t[t.length-2];a===!1?($e(i),$e(u)):R1(i,o)&&(a?($e(o),$e(f)):($e(i),$e(u))),n===!1?($e(s),$e(h)):R1(l,s)&&(n?($e(l),$e(v)):($e(s),$e(h)))}}function $e(r){r&&(r.ignore=!0)}function R1(r,e){var t=r&&r.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(!(!t||!a)){var n=jf([]);return li(n,n,-r.rotation),t.applyTransform(na([],n,r.getLocalTransform())),a.applyTransform(na([],n,e.getLocalTransform())),t.intersect(a)}}function E1(r){return r==="middle"||r==="center"}function TD(r,e,t,a,n){for(var i=[],o=[],s=[],l=0;l=0||r===e}function _z(r){var e=ly(r);if(e){var t=e.axisPointerModel,a=e.axis.scale,n=t.option,i=t.get("status"),o=t.get("value");o!=null&&(o=a.parse(o));var s=pd(t);i==null&&(n.status=s?"show":"hide");var l=a.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var d=l;p.color!=null&&(d=j({color:p.color},l));var g=ft(rt(p),{boundaryGap:t,splitNumber:a,scale:n,axisLine:i,axisTick:o,axisLabel:s,name:p.text,showName:u,nameLocation:"end",nameGap:h,nameTextStyle:d,triggerEvent:v},!1);if(U(f)){var y=g.name;g.name=f.replace("{value}",y??"")}else K(f)&&(g.name=f(g.name,g));var m=new It(g,null,this.ecModel);return Kt(m,gl.prototype),m.mainType="radar",m.componentIndex=this.componentIndex,m},this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:ft({lineStyle:{color:"#bbb"}},Yo.axisLine),axisLabel:gu(Yo.axisLabel,!1),axisTick:gu(Yo.axisTick,!1),splitLine:gu(Yo.splitLine,!0),splitArea:gu(Yo.splitArea,!0),indicator:[]},e}(_t),Rz=["axisLine","axisTickLabel","axisName"],Ez=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var a=t.coordinateSystem,n=a.getIndicatorAxes(),i=G(n,function(o){var s=o.model.get("showName")?o.name:"",l=new Ce(o.model,{axisName:s,position:[a.cx,a.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});C(i,function(o){C(Rz,o.add,o),this.group.add(o.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(t){var a=t.coordinateSystem,n=a.getIndicatorAxes();if(!n.length)return;var i=t.get("shape"),o=t.getModel("splitLine"),s=t.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),f=o.get("show"),h=s.get("show"),v=l.get("color"),c=u.get("color"),p=z(v)?v:[v],d=z(c)?c:[c],g=[],y=[];function m(R,E,N){var O=N%E.length;return R[O]=R[O]||[],O}if(i==="circle")for(var _=n[0].getTicksCoords(),S=a.cx,b=a.cy,x=0;x<_.length;x++){if(f){var w=m(g,p,x);g[w].push(new ya({shape:{cx:S,cy:b,r:_[x].coord}}))}if(h&&x<_.length-1){var w=m(y,d,x);y[w].push(new sl({shape:{cx:S,cy:b,r0:_[x].coord,r:_[x+1].coord}}))}}else for(var T,A=G(n,function(R,E){var N=R.getTicksCoords();return T=T==null?N.length-1:Math.min(N.length-1,T),G(N,function(O){return a.coordToPoint(O.coord,E)})}),D=[],x=0;x<=T;x++){for(var M=[],I=0;I3?1.4:o>1?1.2:1.1,f=i>0?u:1/u;sc(this,"zoom","zoomOnMouseWheel",t,{scale:f,originX:s,originY:l,isAvailableBehavior:null})}if(n){var h=Math.abs(i),v=(i>0?1:-1)*(h>3?.4:h>1?.15:.05);sc(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:v,originX:s,originY:l,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!z1(this._zr,"globalPan")){var a=t.pinchScale>1?1.1:1/1.1;sc(this,"zoom",null,t,{scale:a,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(lr);function sc(r,e,t,a,n){r.pointerChecker&&r.pointerChecker(a,n.originX,n.originY)&&(la(a.event),LD(r,e,t,a,n))}function LD(r,e,t,a,n){n.isAvailableBehavior=Y(Zu,null,t,a),r.trigger(e,n)}function Zu(r,e,t){var a=t[r];return!r||a&&(!U(a)||e.event[a+"Key"])}function fy(r,e,t){var a=r.target;a.x+=e,a.y+=t,a.dirty()}function hy(r,e,t,a){var n=r.target,i=r.zoomLimit,o=r.zoom=r.zoom||1;if(o*=e,i){var s=i.min||0,l=i.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/r.zoom;r.zoom=o,n.x-=(t-n.x)*(u-1),n.y-=(a-n.y)*(u-1),n.scaleX*=u,n.scaleY*=u,n.dirty()}var Gz={axisPointer:1,tooltip:1,brush:1};function Ih(r,e,t){var a=e.getComponentByElement(r.topTarget),n=a&&a.coordinateSystem;return a&&a!==t&&!Gz.hasOwnProperty(a.mainType)&&n&&n.model!==t}function PD(r){if(U(r)){var e=new DOMParser;r=e.parseFromString(r,"text/xml")}var t=r;for(t.nodeType===9&&(t=t.firstChild);t.nodeName.toLowerCase()!=="svg"||t.nodeType!==1;)t=t.nextSibling;return t}var lc,Rf={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},G1=St(Rf),Ef={"alignment-baseline":"textBaseline","stop-color":"stopColor"},F1=St(Ef),Fz=function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(e,t){t=t||{};var a=PD(e);this._defsUsePending=[];var n=new at;this._root=n;var i=[],o=a.getAttribute("viewBox")||"",s=parseFloat(a.getAttribute("width")||t.width),l=parseFloat(a.getAttribute("height")||t.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),ze(a,n,null,!0,!1);for(var u=a.firstChild;u;)this._parseNode(u,n,i,null,!1,!1),u=u.nextSibling;Uz(this._defs,this._defsUsePending),this._defsUsePending=[];var f,h;if(o){var v=Lh(o);v.length>=4&&(f={x:parseFloat(v[0]||0),y:parseFloat(v[1]||0),width:parseFloat(v[2]),height:parseFloat(v[3])})}if(f&&s!=null&&l!=null&&(h=ED(f,{x:0,y:0,width:s,height:l}),!t.ignoreViewBox)){var c=n;n=new at,n.add(c),c.scaleX=c.scaleY=h.scale,c.x=h.x,c.y=h.y}return!t.ignoreRootClip&&s!=null&&l!=null&&n.setClipPath(new bt({shape:{x:0,y:0,width:s,height:l}})),{root:n,width:s,height:l,viewBoxRect:f,viewBoxTransform:h,named:i}},r.prototype._parseNode=function(e,t,a,n,i,o){var s=e.nodeName.toLowerCase(),l,u=n;if(s==="defs"&&(i=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")l=t;else{if(!i){var f=lc[s];if(f&&X(lc,s)){l=f.call(this,e,t);var h=e.getAttribute("name");if(h){var v={name:h,namedFrom:null,svgNodeTagLower:s,el:l};a.push(v),s==="g"&&(u=v)}else n&&a.push({name:n.name,namedFrom:n,svgNodeTagLower:s,el:l});t.add(l)}}var c=H1[s];if(c&&X(H1,s)){var p=c.call(this,e),d=e.getAttribute("id");d&&(this._defs[d]=p)}}if(l&&l.isGroup)for(var g=e.firstChild;g;)g.nodeType===1?this._parseNode(g,l,a,u,i,o):g.nodeType===3&&o&&this._parseText(g,l),g=g.nextSibling},r.prototype._parseText=function(e,t){var a=new ji({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Ze(t,a),ze(e,a,this._defsUsePending,!1,!1),Hz(a,t);var n=a.style,i=n.fontSize;i&&i<9&&(n.fontSize=9,a.scaleX*=i/9,a.scaleY*=i/9);var o=(n.fontSize||n.fontFamily)&&[n.fontStyle,n.fontWeight,(n.fontSize||12)+"px",n.fontFamily||"sans-serif"].join(" ");n.font=o;var s=a.getBoundingRect();return this._textX+=s.width,t.add(a),a},r.internalField=function(){lc={g:function(e,t){var a=new at;return Ze(t,a),ze(e,a,this._defsUsePending,!1,!1),a},rect:function(e,t){var a=new bt;return Ze(t,a),ze(e,a,this._defsUsePending,!1,!1),a.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),a.silent=!0,a},circle:function(e,t){var a=new ya;return Ze(t,a),ze(e,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),a.silent=!0,a},line:function(e,t){var a=new te;return Ze(t,a),ze(e,a,this._defsUsePending,!1,!1),a.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),a.silent=!0,a},ellipse:function(e,t){var a=new uh;return Ze(t,a),ze(e,a,this._defsUsePending,!1,!1),a.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),a.silent=!0,a},polygon:function(e,t){var a=e.getAttribute("points"),n;a&&(n=Y1(a));var i=new Le({shape:{points:n||[]},silent:!0});return Ze(t,i),ze(e,i,this._defsUsePending,!1,!1),i},polyline:function(e,t){var a=e.getAttribute("points"),n;a&&(n=Y1(a));var i=new Pe({shape:{points:n||[]},silent:!0});return Ze(t,i),ze(e,i,this._defsUsePending,!1,!1),i},image:function(e,t){var a=new se;return Ze(t,a),ze(e,a,this._defsUsePending,!1,!1),a.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),a.silent=!0,a},text:function(e,t){var a=e.getAttribute("x")||"0",n=e.getAttribute("y")||"0",i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(a)+parseFloat(i),this._textY=parseFloat(n)+parseFloat(o);var s=new at;return Ze(t,s),ze(e,s,this._defsUsePending,!1,!0),s},tspan:function(e,t){var a=e.getAttribute("x"),n=e.getAttribute("y");a!=null&&(this._textX=parseFloat(a)),n!=null&&(this._textY=parseFloat(n));var i=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",s=new at;return Ze(t,s),ze(e,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),s},path:function(e,t){var a=e.getAttribute("d")||"",n=TT(a);return Ze(t,n),ze(e,n,this._defsUsePending,!1,!1),n.silent=!0,n}}}(),r}(),H1={lineargradient:function(r){var e=parseInt(r.getAttribute("x1")||"0",10),t=parseInt(r.getAttribute("y1")||"0",10),a=parseInt(r.getAttribute("x2")||"10",10),n=parseInt(r.getAttribute("y2")||"0",10),i=new ul(e,t,a,n);return W1(r,i),U1(r,i),i},radialgradient:function(r){var e=parseInt(r.getAttribute("cx")||"0",10),t=parseInt(r.getAttribute("cy")||"0",10),a=parseInt(r.getAttribute("r")||"0",10),n=new MT(e,t,a);return W1(r,n),U1(r,n),n}};function W1(r,e){var t=r.getAttribute("gradientUnits");t==="userSpaceOnUse"&&(e.global=!0)}function U1(r,e){for(var t=r.firstChild;t;){if(t.nodeType===1&&t.nodeName.toLocaleLowerCase()==="stop"){var a=t.getAttribute("offset"),n=void 0;a&&a.indexOf("%")>0?n=parseInt(a,10)/100:a?n=parseFloat(a):n=0;var i={};RD(t,i,i);var o=i.stopColor||t.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:n,color:o})}t=t.nextSibling}}function Ze(r,e){r&&r.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),j(e.__inheritedStyle,r.__inheritedStyle))}function Y1(r){for(var e=Lh(r),t=[],a=0;a0;i-=2){var o=a[i],s=a[i-1],l=Lh(o);switch(n=n||We(),s){case"translate":Hr(n,n,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":ng(n,n,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":li(n,n,-parseFloat(l[0])*uc,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*uc);na(n,[1,0,u,1,0,0],n);break;case"skewY":var f=Math.tan(parseFloat(l[0])*uc);na(n,[1,f,0,1,0,0],n);break;case"matrix":n[0]=parseFloat(l[0]),n[1]=parseFloat(l[1]),n[2]=parseFloat(l[2]),n[3]=parseFloat(l[3]),n[4]=parseFloat(l[4]),n[5]=parseFloat(l[5]);break}}e.setLocalTransform(n)}}var $1=/([^\s:;]+)\s*:\s*([^:;]+)/g;function RD(r,e,t){var a=r.getAttribute("style");if(a){$1.lastIndex=0;for(var n;(n=$1.exec(a))!=null;){var i=n[1],o=X(Rf,i)?Rf[i]:null;o&&(e[o]=n[2]);var s=X(Ef,i)?Ef[i]:null;s&&(t[s]=n[2])}}}function Zz(r,e,t){for(var a=0;a0,g={api:a,geo:l,mapOrGeoModel:e,data:s,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:v};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(e,t,a),this._updateMapSelectHandler(e,u,a,n)},r.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=$(),a=$(),n=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,s=e.data,l=e.geo.projection,u=l&&l.stream;function f(c,p){return p&&(c=p(c)),c&&[c[0]*i.scaleX+i.x,c[1]*i.scaleY+i.y]}function h(c){for(var p=[],d=!u&&l&&l.project,g=0;g=0)&&(v=n);var c=o?{normal:{align:"center",verticalAlign:"middle"}}:null;he(e,ae(a),{labelFetcher:v,labelDataIndex:h,defaultText:t},c);var p=e.getTextContent();if(p&&(kD(p).ignore=p.ignore,e.textConfig&&o)){var d=e.getBoundingRect().clone();e.textConfig.layoutRect=d,e.textConfig.position=[(o[0]-d.x)/d.width*100+"%",(o[1]-d.y)/d.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function J1(r,e,t,a,n,i){r.data?r.data.setItemGraphicEl(i,e):nt(e).eventData={componentType:"geo",componentIndex:n.componentIndex,geoIndex:n.componentIndex,name:t,region:a&&a.option||{}}}function j1(r,e,t,a,n){r.data||go({el:e,componentModel:n,itemName:t,itemTooltipOption:a.get("tooltip")})}function tS(r,e,t,a,n){e.highDownSilentOnTouch=!!n.get("selectedMode");var i=a.getModel("emphasis"),o=i.get("focus");return Ht(e,o,i.get("blurScope"),i.get("disabled")),r.isGeo&&oR(e,n,t),o}function eS(r,e,t){var a=[],n;function i(){n=[]}function o(){n.length&&(a.push(n),n=[])}var s=e({polygonStart:i,polygonEnd:o,lineStart:i,lineEnd:o,point:function(l,u){isFinite(l)&&isFinite(u)&&n.push([l,u])},sphere:function(){}});return!t&&s.polygonStart(),C(r,function(l){s.lineStart();for(var u=0;u-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Bt);function p5(r,e){var t={};return C(r,function(a){a.each(a.mapDimension("value"),function(n,i){var o="ec-"+a.getName(i);t[o]=t[o]||[],isNaN(n)||t[o].push(n)})}),r[0].map(r[0].mapDimension("value"),function(a,n){for(var i="ec-"+r[0].getName(n),o=0,s=1/0,l=-1/0,u=t[i].length,f=0;f1?(S.width=_,S.height=_/g):(S.height=_,S.width=_*g),S.y=m[1]-S.height/2,S.x=m[0]-S.width/2;else{var b=r.getBoxLayoutParams();b.aspect=g,S=Jt(b,{width:p,height:d})}this.setViewRect(S.x,S.y,S.width,S.height),this.setCenter(r.get("center"),e),this.setZoom(r.get("zoom"))}function m5(r,e){C(e.get("geoCoord"),function(t,a){r.addGeoCoord(a,t)})}var _5=function(){function r(){this.dimensions=ND}return r.prototype.create=function(e,t){var a=[];function n(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}e.eachComponent("geo",function(o,s){var l=o.get("map"),u=new iS(l+s,l,V({nameMap:o.get("nameMap")},n(o)));u.zoomLimit=o.get("scaleLimit"),a.push(u),o.coordinateSystem=u,u.model=o,u.resize=oS,u.resize(o,t)}),e.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var l=o.get("geoIndex")||0;o.coordinateSystem=a[l]}});var i={};return e.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();i[s]=i[s]||[],i[s].push(o)}}),C(i,function(o,s){var l=G(o,function(f){return f.get("nameMap")}),u=new iS(s,s,V({nameMap:jd(l)},n(o[0])));u.zoomLimit=oe.apply(null,G(o,function(f){return f.get("scaleLimit")})),a.push(u),u.resize=oS,u.resize(o[0],t),C(o,function(f){f.coordinateSystem=u,m5(u,f)})}),a},r.prototype.getFilledRegions=function(e,t,a,n){for(var i=(e||[]).slice(),o=$(),s=0;s=0;o--){var s=n[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},t.push(s)}}function A5(r,e){var t=r.isExpand?r.children:[],a=r.parentNode.children,n=r.hierNode.i?a[r.hierNode.i-1]:null;if(t.length){M5(r);var i=(t[0].hierNode.prelim+t[t.length-1].hierNode.prelim)/2;n?(r.hierNode.prelim=n.hierNode.prelim+e(r,n),r.hierNode.modifier=r.hierNode.prelim-i):r.hierNode.prelim=i}else n&&(r.hierNode.prelim=n.hierNode.prelim+e(r,n));r.parentNode.hierNode.defaultAncestor=I5(r,n,r.parentNode.hierNode.defaultAncestor||a[0],e)}function C5(r){var e=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:e},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function lS(r){return arguments.length?r:R5}function us(r,e){return r-=Math.PI/2,{x:e*Math.cos(r),y:e*Math.sin(r)}}function D5(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function M5(r){for(var e=r.children,t=e.length,a=0,n=0;--t>=0;){var i=e[t];i.hierNode.prelim+=a,i.hierNode.modifier+=a,n+=i.hierNode.change,a+=i.hierNode.shift+n}}function I5(r,e,t,a){if(e){for(var n=r,i=r,o=i.parentNode.children[0],s=e,l=n.hierNode.modifier,u=i.hierNode.modifier,f=o.hierNode.modifier,h=s.hierNode.modifier;s=fc(s),i=hc(i),s&&i;){n=fc(n),o=hc(o),n.hierNode.ancestor=r;var v=s.hierNode.prelim+h-i.hierNode.prelim-u+a(s,i);v>0&&(P5(L5(s,r,t),r,v),u+=v,l+=v),h+=s.hierNode.modifier,u+=i.hierNode.modifier,l+=n.hierNode.modifier,f+=o.hierNode.modifier}s&&!fc(n)&&(n.hierNode.thread=s,n.hierNode.modifier+=h-l),i&&!hc(o)&&(o.hierNode.thread=i,o.hierNode.modifier+=u-f,t=r)}return t}function fc(r){var e=r.children;return e.length&&r.isExpand?e[e.length-1]:r.hierNode.thread}function hc(r){var e=r.children;return e.length&&r.isExpand?e[0]:r.hierNode.thread}function L5(r,e,t){return r.hierNode.ancestor.parentNode===e.parentNode?r.hierNode.ancestor:t}function P5(r,e,t){var a=t/(e.hierNode.i-r.hierNode.i);e.hierNode.change-=a,e.hierNode.shift+=t,e.hierNode.modifier+=t,e.hierNode.prelim+=t,r.hierNode.change+=a}function R5(r,e){return r.parentNode===e.parentNode?1:2}var E5=function(){function r(){this.parentPoint=[],this.childPoints=[]}return r}(),k5=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new E5},e.prototype.buildPath=function(t,a){var n=a.childPoints,i=n.length,o=a.parentPoint,s=n[0],l=n[i-1];if(i===1){t.moveTo(o[0],o[1]),t.lineTo(s[0],s[1]);return}var u=a.orient,f=u==="TB"||u==="BT"?0:1,h=1-f,v=W(a.forkPosition,1),c=[];c[f]=o[f],c[h]=o[h]+(l[h]-o[h])*v,t.moveTo(o[0],o[1]),t.lineTo(c[0],c[1]),t.moveTo(s[0],s[1]),c[f]=s[f],t.lineTo(c[0],c[1]),c[f]=l[f],t.lineTo(c[0],c[1]),t.lineTo(l[0],l[1]);for(var p=1;pm.x,b||(S=S-Math.PI));var w=b?"left":"right",T=s.getModel("label"),A=T.get("rotate"),D=A*(Math.PI/180),M=g.getTextContent();M&&(g.setTextConfig({position:T.get("position")||w,rotation:A==null?-S:D,origin:"center"}),M.setStyle("verticalAlign","middle"))}var I=s.get(["emphasis","focus"]),L=I==="relative"?ef(o.getAncestorsIndices(),o.getDescendantIndices()):I==="ancestor"?o.getAncestorsIndices():I==="descendant"?o.getDescendantIndices():null;L&&(nt(t).focus=L),N5(n,o,f,t,p,c,d,a),t.__edge&&(t.onHoverStateChange=function(P){if(P!=="blur"){var R=o.parentNode&&r.getItemGraphicEl(o.parentNode.dataIndex);R&&R.hoverState===ol||vf(t.__edge,P)}})}function N5(r,e,t,a,n,i,o,s){var l=e.getModel(),u=r.get("edgeShape"),f=r.get("layout"),h=r.getOrient(),v=r.get(["lineStyle","curveness"]),c=r.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),d=a.__edge;if(u==="curve")e.parentNode&&e.parentNode!==t&&(d||(d=a.__edge=new ll({shape:yd(f,h,v,n,n)})),Dt(d,{shape:yd(f,h,v,i,o)},r));else if(u==="polyline"&&f==="orthogonal"&&e!==t&&e.children&&e.children.length!==0&&e.isExpand===!0){for(var g=e.children,y=[],m=0;mt&&(t=n.height)}this.height=t+1},r.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var t=0,a=this.children,n=a.length;t=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,t)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(e){if(!(this.dataIndex<0)){var t=this.hostTree,a=t.data.getItemModel(this.dataIndex);return a.getModel(e)}},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(e,t){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,t)},r.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,t=0;t=0){var a=t.getData().tree.root,n=r.targetNode;if(U(n)&&(n=a.getNodeById(n)),n&&a.contains(n))return{node:n};var i=r.targetNodeId;if(i!=null&&(n=a.getNodeById(i)))return{node:n}}}function WD(r){for(var e=[];r;)r=r.parentNode,r&&e.push(r);return e.reverse()}function gy(r,e){var t=WD(r);return vt(t,e)>=0}function Ph(r,e){for(var t=[];r;){var a=r.dataIndex;t.push({name:r.name,dataIndex:a,value:e.getRawValue(a)}),r=r.parentNode}return t.reverse(),t}var Y5=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.hasSymbolVisual=!0,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t){var a={name:t.name,children:t.data},n=t.leaves||{},i=new It(n,this,this.ecModel),o=dy.createTree(a,this,s);function s(h){h.wrapMethod("getItemModel",function(v,c){var p=o.getNodeByDataIndex(c);return p&&p.children.length&&p.isExpand||(v.parentModel=i),v})}var l=0;o.eachNode("preorder",function(h){h.depth>l&&(l=h.depth)});var u=t.expandAndCollapse,f=u&&t.initialTreeDepth>=0?t.initialTreeDepth:l;return o.root.eachNode("preorder",function(h){var v=h.hostTree.data.getRawDataItem(h.dataIndex);h.isExpand=v&&v.collapsed!=null?!v.collapsed:h.depth<=f}),o.data},e.prototype.getOrient=function(){var t=this.get("orient");return t==="horizontal"?t="LR":t==="vertical"&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,a,n){for(var i=this.getData().tree,o=i.root.children[0],s=i.getNodeByDataIndex(t),l=s.getValue(),u=s.name;s&&s!==o;)u=s.parentNode.name+"."+u,s=s.parentNode;return ne("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treeAncestors=Ph(n,this),a.collapsed=!n.isExpand,a},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Bt);function X5(r,e,t){for(var a=[r],n=[],i;i=a.pop();)if(n.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s=0;i--)t.push(n[i])}}function $5(r,e){r.eachSeriesByType("tree",function(t){Z5(t,e)})}function Z5(r,e){var t=D5(r,e);r.layoutInfo=t;var a=r.get("layout"),n=0,i=0,o=null;a==="radial"?(n=2*Math.PI,i=Math.min(t.height,t.width)/2,o=lS(function(_,S){return(_.parentNode===S.parentNode?1:2)/_.depth})):(n=t.width,i=t.height,o=lS());var s=r.getData().tree.root,l=s.children[0];if(l){T5(s),X5(l,A5,o),s.hierNode.modifier=-l.hierNode.prelim,$o(l,C5);var u=l,f=l,h=l;$o(l,function(_){var S=_.getLayout().x;Sf.getLayout().x&&(f=_),_.depth>h.depth&&(h=_)});var v=u===f?1:o(u,f)/2,c=v-u.getLayout().x,p=0,d=0,g=0,y=0;if(a==="radial")p=n/(f.getLayout().x+v+c),d=i/(h.depth-1||1),$o(l,function(_){g=(_.getLayout().x+c)*p,y=(_.depth-1)*d;var S=us(g,y);_.setLayout({x:S.x,y:S.y,rawX:g,rawY:y},!0)});else{var m=r.getOrient();m==="RL"||m==="LR"?(d=i/(f.getLayout().x+v+c),p=n/(h.depth-1||1),$o(l,function(_){y=(_.getLayout().x+c)*d,g=m==="LR"?(_.depth-1)*p:n-(_.depth-1)*p,_.setLayout({x:g,y},!0)})):(m==="TB"||m==="BT")&&(p=n/(f.getLayout().x+v+c),d=i/(h.depth-1||1),$o(l,function(_){g=(_.getLayout().x+c)*p,y=m==="TB"?(_.depth-1)*d:i-(_.depth-1)*d,_.setLayout({x:g,y},!0)}))}}}function q5(r){r.eachSeriesByType("tree",function(e){var t=e.getData(),a=t.tree;a.eachNode(function(n){var i=n.getModel(),o=i.getModel("itemStyle").getItemStyle(),s=t.ensureUniqueItemVisual(n.dataIndex,"style");V(s,o)})})}function K5(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"tree",query:e},function(a){var n=e.dataIndex,i=a.getData().tree,o=i.getNodeByDataIndex(n);o.isExpand=!o.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,t,a){t.eachComponent({mainType:"series",subType:"tree",query:e},function(n){var i=n.coordinateSystem,o=cy(i,e,void 0,a);n.setCenter&&n.setCenter(o.center),n.setZoom&&n.setZoom(o.zoom)})})}function Q5(r){r.registerChartView(O5),r.registerSeriesModel(Y5),r.registerLayout($5),r.registerVisual(q5),K5(r)}var cS=["treemapZoomToNode","treemapRender","treemapMove"];function J5(r){for(var e=0;e1;)i=i.parentNode;var o=Xp(r.ecModel,i.name||i.dataIndex+"",a);n.setVisual("decal",o)})}var j5=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.preventUsingHoverLayer=!0,t}return e.prototype.getInitialData=function(t,a){var n={name:t.name,children:t.data};YD(n);var i=t.levels||[],o=this.designatedVisualItemStyle={},s=new It({itemStyle:o},this,a);i=t.levels=tG(i,a);var l=G(i||[],function(h){return new It(h,s,a)},this),u=dy.createTree(n,this,f);function f(h){h.wrapMethod("getItemModel",function(v,c){var p=u.getNodeByDataIndex(c),d=p?l[p.depth]:null;return v.parentModel=d||s,v})}return u.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,a,n){var i=this.getData(),o=this.getRawValue(t),s=i.getName(t);return ne("nameValue",{name:s,value:o})},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treeAncestors=Ph(n,this),a.treePathInfo=a.treeAncestors,a},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},V(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var a=this._idIndexMap;a||(a=this._idIndexMap=$(),this._idIndexMapCount=0);var n=a.get(t);return n==null&&a.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var a=this.getRawData().tree.root;(!t||t!==a&&!a.contains(t))&&(this._viewRoot=a)},e.prototype.enableAriaDecal=function(){UD(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Bt);function YD(r){var e=0;C(r.children,function(a){YD(a);var n=a.value;z(n)&&(n=n[0]),e+=n});var t=r.value;z(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),z(r.value)?r.value[0]=t:r.value=t}function tG(r,e){var t=Rt(e.get("color")),a=Rt(e.get(["aria","decal","decals"]));if(t){r=r||[];var n,i;C(r,function(s){var l=new It(s),u=l.get("color"),f=l.get("decal");(l.get(["itemStyle","color"])||u&&u!=="none")&&(n=!0),(l.get(["itemStyle","decal"])||f&&f!=="none")&&(i=!0)});var o=r[0]||(r[0]={});return n||(o.color=t.slice()),!i&&a&&(o.decal=a.slice()),r}}var eG=8,pS=8,vc=5,rG=function(){function r(e){this.group=new at,e.add(this.group)}return r.prototype.render=function(e,t,a,n){var i=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!i.get("show")||!a)){var s=i.getModel("itemStyle"),l=i.getModel("emphasis"),u=s.getModel("textStyle"),f=l.getModel(["itemStyle","textStyle"]),h={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:t.getWidth(),height:t.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(a,h,u),this._renderContent(e,h,s,l,u,f,n),_h(o,h.pos,h.box)}},r.prototype._prepare=function(e,t,a){for(var n=e;n;n=n.parentNode){var i=Qt(n.getModel().get("name"),""),o=a.getTextRect(i),s=Math.max(o.width+eG*2,t.emptyItemWidth);t.totalWidth+=s+pS,t.renderList.push({node:n,text:i,width:s})}},r.prototype._renderContent=function(e,t,a,n,i,o,s){for(var l=0,u=t.emptyItemWidth,f=e.get(["breadcrumb","height"]),h=vE(t.pos,t.box),v=t.totalWidth,c=t.renderList,p=n.getModel("itemStyle").getItemStyle(),d=c.length-1;d>=0;d--){var g=c[d],y=g.node,m=g.width,_=g.text;v>h.width&&(v-=m-u,m=u,_=null);var S=new Le({shape:{points:aG(l,0,m,f,d===c.length-1,d===0)},style:j(a.getItemStyle(),{lineJoin:"bevel"}),textContent:new Tt({style:Nt(i,{text:_})}),textConfig:{position:"inside"},z2:co*1e4,onclick:ot(s,y)});S.disableLabelAnimation=!0,S.getTextContent().ensureState("emphasis").style=Nt(o,{text:_}),S.ensureState("emphasis").style=p,Ht(S,n.get("focus"),n.get("blurScope"),n.get("disabled")),this.group.add(S),nG(S,e,y),l+=m+pS}},r.prototype.remove=function(){this.group.removeAll()},r}();function aG(r,e,t,a,n,i){var o=[[n?r:r-vc,e],[r+t,e],[r+t,e+a],[n?r:r-vc,e+a]];return!i&&o.splice(2,0,[r+t+vc,e+a/2]),!n&&o.push([r,e+a/2]),o}function nG(r,e,t){nt(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:t&&t.dataIndex,name:t&&t.name},treePathInfo:t&&Ph(t,e)}}var iG=function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(e,t,a,n,i){return this._elExistsMap[e.id]?!1:(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:t,duration:a,delay:n,easing:i}),!0)},r.prototype.finished=function(e){return this._finishedCallback=e,this},r.prototype.start=function(){for(var e=this,t=this._storage.length,a=function(){t--,t<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},n=0,i=this._storage.length;ngS||Math.abs(t.dy)>gS)){var a=this.seriesModel.getData().tree.root;if(!a)return;var n=a.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var a=t.originX,n=t.originY;if(this._state!=="animating"){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var s=new ht(o.x,o.y,o.width,o.height),l=this.seriesModel.layoutInfo;a-=l.x,n-=l.y;var u=We();Hr(u,u,[-a,-n]),ng(u,u,[t.scale,t.scale]),Hr(u,u,[a,n]),s.applyTransform(u),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var a=this;t.on("click",function(n){if(a._state==="ready"){var i=a.seriesModel.get("nodeClick",!0);if(i){var o=a.findTarget(n.offsetX,n.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)a._rootToNode(o);else if(i==="zoomToNode")a._zoomToNode(o);else if(i==="link"){var l=s.hostTree.data.getItemModel(s.dataIndex),u=l.get("link",!0),f=l.get("target",!0)||"blank";u&&mf(u,f)}}}}},this)},e.prototype._renderBreadcrumb=function(t,a,n){var i=this;n||(n=t.get("leafDepth",!0)!=null?{node:t.getViewRoot()}:this.findTarget(a.getWidth()/2,a.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new rG(this.group))).render(t,a,n.node,function(o){i._state!=="animating"&&(gy(t.getViewRoot(),o)?i._rootToNode({node:o}):i._zoomToNode({node:o}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=Zo(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,a){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var l=s.transformCoordToLocal(t,a),u=s.shape;if(u.x<=l[0]&&l[0]<=u.x+u.width&&u.y<=l[1]&&l[1]<=u.y+u.height)n={node:o,offsetX:l[0],offsetY:l[1]};else return!1}},this),n},e.type="treemap",e}(Et);function Zo(){return{nodeGroup:[],background:[],content:[]}}function hG(r,e,t,a,n,i,o,s,l,u){if(!o)return;var f=o.getLayout(),h=r.getData(),v=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),!f||!f.isInView)return;var c=f.width,p=f.height,d=f.borderWidth,g=f.invisible,y=o.getRawIndex(),m=s&&s.getRawIndex(),_=o.viewChildren,S=f.upperHeight,b=_&&_.length,x=v.getModel("itemStyle"),w=v.getModel(["emphasis","itemStyle"]),T=v.getModel(["blur","itemStyle"]),A=v.getModel(["select","itemStyle"]),D=x.get("borderRadius")||0,M=J("nodeGroup",md);if(!M)return;if(l.add(M),M.x=f.x||0,M.y=f.y||0,M.markRedraw(),kf(M).nodeWidth=c,kf(M).nodeHeight=p,f.isAboveViewRoot)return M;var I=J("background",dS,u,lG);I&&B(M,I,b&&f.upperLabelHeight);var L=v.getModel("emphasis"),P=L.get("focus"),R=L.get("blurScope"),E=L.get("disabled"),N=P==="ancestor"?o.getAncestorsIndices():P==="descendant"?o.getDescendantIndices():P;if(b)Ns(M)&&zn(M,!1),I&&(zn(I,!E),h.setItemGraphicEl(o.dataIndex,I),Vp(I,N,R));else{var O=J("content",dS,u,uG);O&&F(M,O),I.disableMorphing=!0,I&&Ns(I)&&zn(I,!1),zn(M,!E),h.setItemGraphicEl(o.dataIndex,M),Vp(M,N,R)}return M;function B(pt,et,dt){var st=nt(et);if(st.dataIndex=o.dataIndex,st.seriesIndex=r.seriesIndex,et.setShape({x:0,y:0,width:c,height:p,r:D}),g)H(et);else{et.invisible=!1;var q=o.getVisual("style"),lt=q.stroke,zt=_S(x);zt.fill=lt;var wt=In(w);wt.fill=w.get("borderColor");var Wt=In(T);Wt.fill=T.get("borderColor");var Ft=In(A);if(Ft.fill=A.get("borderColor"),dt){var ve=c-2*d;Z(et,lt,q.opacity,{x:d,y:0,width:ve,height:S})}else et.removeTextContent();et.setStyle(zt),et.ensureState("emphasis").style=wt,et.ensureState("blur").style=Wt,et.ensureState("select").style=Ft,ai(et)}pt.add(et)}function F(pt,et){var dt=nt(et);dt.dataIndex=o.dataIndex,dt.seriesIndex=r.seriesIndex;var st=Math.max(c-2*d,0),q=Math.max(p-2*d,0);if(et.culling=!0,et.setShape({x:d,y:d,width:st,height:q,r:D}),g)H(et);else{et.invisible=!1;var lt=o.getVisual("style"),zt=lt.fill,wt=_S(x);wt.fill=zt,wt.decal=lt.decal;var Wt=In(w),Ft=In(T),ve=In(A);Z(et,zt,lt.opacity,null),et.setStyle(wt),et.ensureState("emphasis").style=Wt,et.ensureState("blur").style=Ft,et.ensureState("select").style=ve,ai(et)}pt.add(et)}function H(pt){!pt.invisible&&i.push(pt)}function Z(pt,et,dt,st){var q=v.getModel(st?mS:yS),lt=Qt(v.get("name"),null),zt=q.getShallow("show");he(pt,ae(v,st?mS:yS),{defaultText:zt?lt:null,inheritColor:et,defaultOpacity:dt,labelFetcher:r,labelDataIndex:o.dataIndex});var wt=pt.getTextContent();if(wt){var Wt=wt.style,Ft=eg(Wt.padding||0);st&&(pt.setTextConfig({layoutRect:st}),wt.disableLabelLayout=!0),wt.beforeUpdate=function(){var qr=Math.max((st?st.width:pt.shape.width)-Ft[1]-Ft[3],0),Re=Math.max((st?st.height:pt.shape.height)-Ft[0]-Ft[2],0);(Wt.width!==qr||Wt.height!==Re)&&wt.setStyle({width:qr,height:Re})},Wt.truncateMinChar=2,Wt.lineOverflow="truncate",Q(Wt,st,f);var ve=wt.getState("emphasis");Q(ve?ve.style:null,st,f)}}function Q(pt,et,dt){var st=pt?pt.text:null;if(!et&&dt.isLeafRoot&&st!=null){var q=r.get("drillDownIcon",!0);pt.text=q?q+" "+st:st}}function J(pt,et,dt,st){var q=m!=null&&t[pt][m],lt=n[pt];return q?(t[pt][m]=null,ct(lt,q)):g||(q=new et,q instanceof sr&&(q.z2=vG(dt,st)),xt(lt,q)),e[pt][y]=q}function ct(pt,et){var dt=pt[y]={};et instanceof md?(dt.oldX=et.x,dt.oldY=et.y):dt.oldShape=V({},et.shape)}function xt(pt,et){var dt=pt[y]={},st=o.parentNode,q=et instanceof at;if(st&&(!a||a.direction==="drillDown")){var lt=0,zt=0,wt=n.background[st.getRawIndex()];!a&&wt&&wt.oldShape&&(lt=wt.oldShape.width,zt=wt.oldShape.height),q?(dt.oldX=0,dt.oldY=zt):dt.oldShape={x:lt,y:zt,width:0,height:0}}dt.fadein=!q}}function vG(r,e){return r*sG+e}var Ks=C,cG=tt,Of=-1,re=function(){function r(e){var t=e.mappingMethod,a=e.type,n=this.option=rt(e);this.type=a,this.mappingMethod=t,this._normalizeData=gG[t];var i=r.visualHandlers[a];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[t],t==="piecewise"?(cc(n),pG(n)):t==="category"?n.categories?dG(n):cc(n,!0):(De(t!=="linear"||n.dataExtent),cc(n))}return r.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},r.prototype.getNormalizer=function(){return Y(this._normalizeData,this)},r.listVisualTypes=function(){return St(r.visualHandlers)},r.isValidType=function(e){return r.visualHandlers.hasOwnProperty(e)},r.eachVisual=function(e,t,a){tt(e)?C(e,t,a):t.call(a,e)},r.mapVisual=function(e,t,a){var n,i=z(e)?[]:tt(e)?{}:(n=!0,null);return r.eachVisual(e,function(o,s){var l=t.call(a,o,s);n?i=l:i[s]=l}),i},r.retrieveVisuals=function(e){var t={},a;return e&&Ks(r.visualHandlers,function(n,i){e.hasOwnProperty(i)&&(t[i]=e[i],a=!0)}),a?t:null},r.prepareVisualTypes=function(e){if(z(e))e=e.slice();else if(cG(e)){var t=[];Ks(e,function(a,n){t.push(n)}),e=t}else return[];return e.sort(function(a,n){return n==="color"&&a!=="color"&&a.indexOf("color")===0?1:-1}),e},r.dependsOn=function(e,t){return t==="color"?!!(e&&e.indexOf(t)===0):e===t},r.findPieceIndex=function(e,t,a){for(var n,i=1/0,o=0,s=t.length;o=0;i--)a[i]==null&&(delete t[e[i]],e.pop())}function cc(r,e){var t=r.visual,a=[];tt(t)?Ks(t,function(i){a.push(i)}):t!=null&&a.push(t);var n={color:1,symbol:1};!e&&a.length===1&&!n.hasOwnProperty(r.type)&&(a[1]=a[0]),XD(r,a)}function mu(r){return{applyVisual:function(e,t,a){var n=this.mapValueToVisual(e);a("color",r(t("color"),n))},_normalizedToVisual:_d([0,1])}}function SS(r){var e=this.option.visual;return e[Math.round(Lt(r,[0,1],[0,e.length-1],!0))]||{}}function qo(r){return function(e,t,a){a(r,this.mapValueToVisual(e))}}function fs(r){var e=this.option.visual;return e[this.option.loop&&r!==Of?r%e.length:r]}function Ln(){return this.option.visual[0]}function _d(r){return{linear:function(e){return Lt(e,r,this.option.visual,!0)},category:fs,piecewise:function(e,t){var a=Sd.call(this,t);return a==null&&(a=Lt(e,r,this.option.visual,!0)),a},fixed:Ln}}function Sd(r){var e=this.option,t=e.pieceList;if(e.hasSpecialVisual){var a=re.findPieceIndex(r,t),n=t[a];if(n&&n.visual)return n.visual[this.type]}}function XD(r,e){return r.visual=e,r.type==="color"&&(r.parsedVisual=G(e,function(t){var a=Ue(t);return a||[0,0,0,1]})),e}var gG={linear:function(r){return Lt(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var e=this.option.pieceList,t=re.findPieceIndex(r,e,!0);if(t!=null)return Lt(t,[0,e.length-1],[0,1],!0)},category:function(r){var e=this.option.categories?this.option.categoryMap[r]:r;return e??Of},fixed:Xt};function _u(r,e,t){return r?e<=t:e=t.length||d===t[d.depth]){var y=bG(n,l,d,g,p,a);ZD(d,y,t,a)}})}}}function _G(r,e,t){var a=V({},e),n=t.designatedVisualItemStyle;return C(["color","colorAlpha","colorSaturation"],function(i){n[i]=e[i];var o=r.get(i);n[i]=null,o!=null&&(a[i]=o)}),a}function xS(r){var e=pc(r,"color");if(e){var t=pc(r,"colorAlpha"),a=pc(r,"colorSaturation");return a&&(e=ds(e,null,null,a)),t&&(e=of(e,t)),e}}function SG(r,e){return e!=null?ds(e,null,null,r):null}function pc(r,e){var t=r[e];if(t!=null&&t!=="none")return t}function xG(r,e,t,a,n,i){if(!(!i||!i.length)){var o=dc(e,"color")||n.color!=null&&n.color!=="none"&&(dc(e,"colorAlpha")||dc(e,"colorSaturation"));if(o){var s=e.get("visualMin"),l=e.get("visualMax"),u=t.dataExtent.slice();s!=null&&su[1]&&(u[1]=l);var f=e.get("colorMappingBy"),h={type:o.name,dataExtent:u,visual:o.range};h.type==="color"&&(f==="index"||f==="id")?(h.mappingMethod="category",h.loop=!0):h.mappingMethod="linear";var v=new re(h);return $D(v).drColorMappingBy=f,v}}}function dc(r,e){var t=r.get(e);return z(t)&&t.length?{name:e,range:t}:null}function bG(r,e,t,a,n,i){var o=V({},e);if(n){var s=n.type,l=s==="color"&&$D(n).drColorMappingBy,u=l==="index"?a:l==="id"?i.mapIdToIndex(t.getId()):t.getValue(r.get("visualDimension"));o[s]=n.mapValueToVisual(u)}return o}var Qs=Math.max,Nf=Math.min,bS=oe,yy=C,qD=["itemStyle","borderWidth"],wG=["itemStyle","gapWidth"],TG=["upperLabel","show"],AG=["upperLabel","height"];const CG={seriesType:"treemap",reset:function(r,e,t,a){var n=t.getWidth(),i=t.getHeight(),o=r.option,s=Jt(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),l=o.size||[],u=W(bS(s.width,l[0]),n),f=W(bS(s.height,l[1]),i),h=a&&a.type,v=["treemapZoomToNode","treemapRootToNode"],c=qs(a,v,r),p=h==="treemapRender"||h==="treemapMove"?a.rootRect:null,d=r.getViewRoot(),g=WD(d);if(h!=="treemapMove"){var y=h==="treemapZoomToNode"?RG(r,c,d,u,f):p?[p.width,p.height]:[u,f],m=o.sort;m&&m!=="asc"&&m!=="desc"&&(m="desc");var _={squareRatio:o.squareRatio,sort:m,leafDepth:o.leafDepth};d.hostTree.clearLayouts();var S={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};d.setLayout(S),KD(d,_,!1,0),S=d.getLayout(),yy(g,function(x,w){var T=(g[w+1]||d).getValue();x.setLayout(V({dataExtent:[T,T],borderWidth:0,upperHeight:0},S))})}var b=r.getData().tree.root;b.setLayout(EG(s,p,c),!0),r.setLayoutInfo(s),QD(b,new ht(-s.x,-s.y,n,i),g,d,0)}};function KD(r,e,t,a){var n,i;if(!r.isRemoved()){var o=r.getLayout();n=o.width,i=o.height;var s=r.getModel(),l=s.get(qD),u=s.get(wG)/2,f=JD(s),h=Math.max(l,f),v=l-u,c=h-u;r.setLayout({borderWidth:l,upperHeight:h,upperLabelHeight:f},!0),n=Qs(n-2*v,0),i=Qs(i-v-c,0);var p=n*i,d=DG(r,s,p,e,t,a);if(d.length){var g={x:v,y:c,width:n,height:i},y=Nf(n,i),m=1/0,_=[];_.area=0;for(var S=0,b=d.length;S=0;l--){var u=n[a==="asc"?o-l-1:l].getValue();u/t*es[1]&&(s[1]=u)})),{sum:a,dataExtent:s}}function PG(r,e,t){for(var a=0,n=1/0,i=0,o=void 0,s=r.length;ia&&(a=o));var l=r.area*r.area,u=e*e*t;return l?Qs(u*a/l,l/(u*n)):1/0}function wS(r,e,t,a,n){var i=e===t.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=t[s[i]],f=e?r.area/e:0;(n||f>t[l[o]])&&(f=t[l[o]]);for(var h=0,v=r.length;hOm&&(u=Om),i=s}ua&&(a=e);var i=a%2?a+2:a+3;n=[];for(var o=0;o0&&(b[0]=-b[0],b[1]=-b[1]);var w=S[0]<0?-1:1;if(i.__position!=="start"&&i.__position!=="end"){var T=-Math.atan2(S[1],S[0]);h[0].8?"left":v[0]<-.8?"right":"center",d=v[1]>.8?"top":v[1]<-.8?"bottom":"middle";break;case"start":i.x=-v[0]*y+f[0],i.y=-v[1]*m+f[1],p=v[0]>.8?"right":v[0]<-.8?"left":"center",d=v[1]>.8?"bottom":v[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=y*w+f[0],i.y=f[1]+A,p=S[0]<0?"right":"left",i.originX=-y*w,i.originY=-A;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+A,p="center",i.originY=-A;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-y*w+h[0],i.y=h[1]+A,p=S[0]>=0?"right":"left",i.originX=y*w,i.originY=-A;break}i.scaleX=i.scaleY=o,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||p})}},e}(at),by=function(){function r(e){this.group=new at,this._LineCtor=e||xy}return r.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var a=this,n=a.group,i=a._lineData;a._lineData=e,i||n.removeAll();var o=IS(e);e.diff(i).add(function(s){t._doAdd(e,s,o)}).update(function(s,l){t._doUpdate(i,e,l,s,o)}).remove(function(s){n.remove(i.getItemGraphicEl(s))}).execute()},r.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,a){t.updateLayout(e,a)},this)},r.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=IS(e),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(e,t){this._progressiveEls=[];function a(s){!s.isGroup&&!QG(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var n=e.start;n0}function IS(r){var e=r.hostModel,t=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:t.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:t.get("disabled"),blurScope:t.get("blurScope"),focus:t.get("focus"),labelStatesModels:ae(e)}}function LS(r){return isNaN(r[0])||isNaN(r[1])}function Sc(r){return r&&!LS(r[0])&&!LS(r[1])}var xc=[],bc=[],wc=[],Ii=ie,Tc=Yn,PS=Math.abs;function RS(r,e,t){for(var a=r[0],n=r[1],i=r[2],o=1/0,s,l=t*t,u=.1,f=.1;f<=.9;f+=.1){xc[0]=Ii(a[0],n[0],i[0],f),xc[1]=Ii(a[1],n[1],i[1],f);var h=PS(Tc(xc,e)-l);h=0?s=s+u:s=s-u:p>=0?s=s-u:s=s+u}return s}function Ac(r,e){var t=[],a=Ls,n=[[],[],[]],i=[[],[]],o=[];e/=2,r.eachEdge(function(s,l){var u=s.getLayout(),f=s.getVisual("fromSymbol"),h=s.getVisual("toSymbol");u.__original||(u.__original=[aa(u[0]),aa(u[1])],u[2]&&u.__original.push(aa(u[2])));var v=u.__original;if(u[2]!=null){if(be(n[0],v[0]),be(n[1],v[2]),be(n[2],v[1]),f&&f!=="none"){var c=vs(s.node1),p=RS(n,v[0],c*e);a(n[0][0],n[1][0],n[2][0],p,t),n[0][0]=t[3],n[1][0]=t[4],a(n[0][1],n[1][1],n[2][1],p,t),n[0][1]=t[3],n[1][1]=t[4]}if(h&&h!=="none"){var c=vs(s.node2),p=RS(n,v[1],c*e);a(n[0][0],n[1][0],n[2][0],p,t),n[1][0]=t[1],n[2][0]=t[2],a(n[0][1],n[1][1],n[2][1],p,t),n[1][1]=t[1],n[2][1]=t[2]}be(u[0],n[0]),be(u[1],n[2]),be(u[2],n[1])}else{if(be(i[0],v[0]),be(i[1],v[1]),Bn(o,i[1],i[0]),fo(o,o),f&&f!=="none"){var c=vs(s.node1);up(i[0],i[0],o,c*e)}if(h&&h!=="none"){var c=vs(s.node2);up(i[1],i[1],o,-c*e)}be(u[0],i[0]),be(u[1],i[1])}})}function ES(r){return r.type==="view"}var JG=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){var n=new ml,i=new by,o=this.group;this._controller=new wl(a.getZr()),this._controllerHost={target:o},o.add(n.group),o.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,a,n){var i=this,o=t.coordinateSystem;this._model=t;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(ES(o)){var f={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(f):Dt(u,f,t)}Ac(t.getGraph(),hs(t));var h=t.getData();s.updateData(h);var v=t.getEdgeData();l.updateData(v),this._updateNodeAndLinkScale(),this._updateController(t,a,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");h.graph.eachNode(function(_){var S=_.dataIndex,b=_.getGraphicEl(),x=_.getModel();if(b){b.off("drag").off("dragend");var w=x.get("draggable");w&&b.on("drag",function(A){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(S),h.setItemLayout(S,[b.x,b.y]);break;case"circular":h.setItemLayout(S,[b.x,b.y]),_.setLayout({fixed:!0},!0),Sy(t,"symbolSize",_,[A.offsetX,A.offsetY]),i.updateLayout(t);break;case"none":default:h.setItemLayout(S,[b.x,b.y]),_y(t.getGraph(),t),i.updateLayout(t);break}}).on("dragend",function(){c&&c.setUnfixed(S)}),b.setDraggable(w,!!x.get("cursor"));var T=x.get(["emphasis","focus"]);T==="adjacency"&&(nt(b).focus=_.getAdjacentDataIndices())}}),h.graph.eachEdge(function(_){var S=_.getGraphicEl(),b=_.getModel().get(["emphasis","focus"]);S&&b==="adjacency"&&(nt(S).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=t.get("layout")==="circular"&&t.get(["circular","rotateLabel"]),y=h.getLayout("cx"),m=h.getLayout("cy");h.graph.eachNode(function(_){rM(_,g,y,m)}),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,a){var n=this;(function i(){t.step(function(o){n.updateLayout(n._model),(n._layouting=!o)&&(a?n._layoutTimeout=setTimeout(i,16):i())})})()},e.prototype._updateController=function(t,a,n){var i=this,o=this._controller,s=this._controllerHost,l=this.group;if(o.setPointerChecker(function(u,f,h){var v=l.getBoundingRect();return v.applyTransform(l.transform),v.contain(f,h)&&!Ih(u,n,t)}),!ES(t.coordinateSystem)){o.disable();return}o.enable(t.get("roam")),s.zoomLimit=t.get("scaleLimit"),s.zoom=t.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){fy(s,u.dx,u.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){hy(s,u.scale,u.originX,u.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(),Ac(t.getGraph(),hs(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,a=t.getData(),n=hs(t);a.eachItemGraphicEl(function(i,o){i&&i.setSymbolScale(n)})},e.prototype.updateLayout=function(t){Ac(t.getGraph(),hs(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Et);function Li(r){return"_EC_"+r}var jG=function(){function r(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(e,t){e=e==null?""+t:""+e;var a=this._nodesMap;if(!a[Li(e)]){var n=new Pn(e,t);return n.hostGraph=this,this.nodes.push(n),a[Li(e)]=n,n}},r.prototype.getNodeByIndex=function(e){var t=this.data.getRawIndex(e);return this.nodes[t]},r.prototype.getNodeById=function(e){return this._nodesMap[Li(e)]},r.prototype.addEdge=function(e,t,a){var n=this._nodesMap,i=this._edgesMap;if(Ct(e)&&(e=this.nodes[e]),Ct(t)&&(t=this.nodes[t]),e instanceof Pn||(e=n[Li(e)]),t instanceof Pn||(t=n[Li(t)]),!(!e||!t)){var o=e.id+"-"+t.id,s=new nM(e,t,a);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),t.inEdges.push(s)),e.edges.push(s),e!==t&&t.edges.push(s),this.edges.push(s),i[o]=s,s}},r.prototype.getEdgeByIndex=function(e){var t=this.edgeData.getRawIndex(e);return this.edges[t]},r.prototype.getEdge=function(e,t){e instanceof Pn&&(e=e.id),t instanceof Pn&&(t=t.id);var a=this._edgesMap;return this._directed?a[e+"-"+t]:a[e+"-"+t]||a[t+"-"+e]},r.prototype.eachNode=function(e,t){for(var a=this.nodes,n=a.length,i=0;i=0&&e.call(t,a[i],i)},r.prototype.eachEdge=function(e,t){for(var a=this.edges,n=a.length,i=0;i=0&&a[i].node1.dataIndex>=0&&a[i].node2.dataIndex>=0&&e.call(t,a[i],i)},r.prototype.breadthFirstTraverse=function(e,t,a,n){if(t instanceof Pn||(t=this._nodesMap[Li(t)]),!!t){for(var i=a==="out"?"outEdges":a==="in"?"inEdges":"edges",o=0;o=0&&l.node2.dataIndex>=0});for(var i=0,o=n.length;i=0&&this[r][e].setItemVisual(this.dataIndex,t,a)},getVisual:function(t){return this[r][e].getItemVisual(this.dataIndex,t)},setLayout:function(t,a){this.dataIndex>=0&&this[r][e].setItemLayout(this.dataIndex,t,a)},getLayout:function(){return this[r][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][e].getRawIndex(this.dataIndex)}}}Kt(Pn,iM("hostGraph","data"));Kt(nM,iM("hostGraph","edgeData"));function oM(r,e,t,a,n){for(var i=new jG(a),o=0;o "+v)),u++)}var c=t.get("coordinateSystem"),p;if(c==="cartesian2d"||c==="polar")p=ma(r,t);else{var d=vl.get(c),g=d?d.dimensions||[]:[];vt(g,"value")<0&&g.concat(["value"]);var y=pl(r,{coordDimensions:g,encodeDefine:t.getEncode()}).dimensions;p=new Ae(y,t),p.initData(r)}var m=new Ae(["value"],t);return m.initData(l,s),n&&n(p,m),FD({mainData:p,struct:i,structAttr:"graph",datas:{node:p,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var t3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments);var a=this;function n(){return a._categoriesData}this.legendVisualProvider=new bl(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(t){r.prototype.mergeDefaultAndTheme.apply(this,arguments),ti(t,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,a){var n=t.edges||t.links||[],i=t.data||t.nodes||[],o=this;if(i&&n){GG(this);var s=oM(i,n,this,!0,l);return C(s.edges,function(u){FG(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,f){u.wrapMethod("getItemModel",function(p){var d=o._categoriesModels,g=p.getShallow("category"),y=d[g];return y&&(y.parentModel=p.parentModel,p.parentModel=y),p});var h=It.prototype.getModel;function v(p,d){var g=h.call(this,p,d);return g.resolveParentPath=c,g}f.wrapMethod("getItemModel",function(p){return p.resolveParentPath=c,p.getModel=v,p});function c(p){if(p&&(p[0]==="label"||p[1]==="label")){var d=p.slice();return p[0]==="label"?d[0]="edgeLabel":p[1]==="label"&&(d[1]="edgeLabel"),d}return p}}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,a,n){if(n==="edge"){var i=this.getData(),o=this.getDataParams(t,n),s=i.graph.getEdgeByIndex(t),l=i.getName(s.node1.dataIndex),u=i.getName(s.node2.dataIndex),f=[];return l!=null&&f.push(l),u!=null&&f.push(u),ne("nameValue",{name:f.join(" > "),value:o.value,noValue:o.value==null})}var h=RA({series:this,dataIndex:t,multipleSeries:a});return h},e.prototype._updateCategoriesData=function(){var t=G(this.option.categories||[],function(n){return n.value!=null?n:V({value:0},n)}),a=new Ae(["value"],this);a.initData(t),this._categoriesData=a,this._categoriesModels=a.mapArray(function(n){return a.getItemModel(n)})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return r.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Bt),e3={type:"graphRoam",event:"graphRoam",update:"none"};function r3(r){r.registerChartView(JG),r.registerSeriesModel(t3),r.registerProcessor(OG),r.registerVisual(NG),r.registerVisual(BG),r.registerLayout(HG),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,UG),r.registerLayout(XG),r.registerCoordinateSystem("graphView",{dimensions:Tl.dimensions,create:ZG}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Xt),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Xt),r.registerAction(e3,function(e,t,a){t.eachComponent({mainType:"series",query:e},function(n){var i=n.coordinateSystem,o=cy(i,e,void 0,a);n.setCenter&&n.setCenter(o.center),n.setZoom&&n.setZoom(o.zoom)})})}var a3=function(){function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return r}(),n3=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="pointer",a}return e.prototype.getDefaultShape=function(){return new a3},e.prototype.buildPath=function(t,a){var n=Math.cos,i=Math.sin,o=a.r,s=a.width,l=a.angle,u=a.x-n(l)*s*(s>=o/3?1:2),f=a.y-i(l)*s*(s>=o/3?1:2);l=a.angle-Math.PI/2,t.moveTo(u,f),t.lineTo(a.x+n(l)*s,a.y+i(l)*s),t.lineTo(a.x+n(a.angle)*o,a.y+i(a.angle)*o),t.lineTo(a.x-n(l)*s,a.y-i(l)*s),t.lineTo(u,f)},e}(yt);function i3(r,e){var t=r.get("center"),a=e.getWidth(),n=e.getHeight(),i=Math.min(a,n),o=W(t[0],e.getWidth()),s=W(t[1],e.getHeight()),l=W(r.get("radius"),i/2);return{cx:o,cy:s,r:l}}function xu(r,e){var t=r==null?"":r+"";return e&&(U(e)?t=e.replace("{value}",t):K(e)&&(t=e(r))),t}var o3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),o=i3(t,n);this._renderMain(t,a,n,i,o),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,a,n,i,o){var s=this.group,l=t.get("clockwise"),u=-t.get("startAngle")/180*Math.PI,f=-t.get("endAngle")/180*Math.PI,h=t.getModel("axisLine"),v=h.get("roundCap"),c=v?Pf:Ie,p=h.get("show"),d=h.getModel("lineStyle"),g=d.get("width"),y=[u,f];cg(y,!l),u=y[0],f=y[1];for(var m=f-u,_=u,S=[],b=0;p&&b=A&&(D===0?0:i[D-1][0])Math.PI/2&&(J+=Math.PI)):Q==="tangential"?J=-T-Math.PI/2:Ct(Q)&&(J=Q*Math.PI/180),J===0?h.add(new Tt({style:Nt(_,{text:B,x:H,y:Z,verticalAlign:R<-.8?"top":R>.8?"bottom":"middle",align:P<-.4?"left":P>.4?"right":"center"},{inheritColor:F}),silent:!0})):h.add(new Tt({style:Nt(_,{text:B,x:H,y:Z,verticalAlign:"middle",align:"center"},{inheritColor:F}),silent:!0,originX:H,originY:Z,rotation:J}))}if(m.get("show")&&E!==S){var N=m.get("distance");N=N?N+f:f;for(var ct=0;ct<=b;ct++){P=Math.cos(T),R=Math.sin(T);var xt=new te({shape:{x1:P*(p-N)+v,y1:R*(p-N)+c,x2:P*(p-w-N)+v,y2:R*(p-w-N)+c},silent:!0,style:I});I.stroke==="auto"&&xt.setStyle({stroke:i((E+ct/b)/S)}),h.add(xt),T+=D}T-=D}else T+=A}},e.prototype._renderPointer=function(t,a,n,i,o,s,l,u,f){var h=this.group,v=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),g=t.getModel("progress"),y=g.get("show"),m=t.getData(),_=m.mapDimension("value"),S=+t.get("min"),b=+t.get("max"),x=[S,b],w=[s,l];function T(D,M){var I=m.getItemModel(D),L=I.getModel("pointer"),P=W(L.get("width"),o.r),R=W(L.get("length"),o.r),E=t.get(["pointer","icon"]),N=L.get("offsetCenter"),O=W(N[0],o.r),B=W(N[1],o.r),F=L.get("keepAspect"),H;return E?H=qt(E,O-P/2,B-R,P,R,null,F):H=new n3({shape:{angle:-Math.PI/2,width:P,r:R,x:O,y:B}}),H.rotation=-(M+Math.PI/2),H.x=o.cx,H.y=o.cy,H}function A(D,M){var I=g.get("roundCap"),L=I?Pf:Ie,P=g.get("overlap"),R=P?g.get("width"):f/m.count(),E=P?o.r-R:o.r-(D+1)*R,N=P?o.r:o.r-D*R,O=new L({shape:{startAngle:s,endAngle:M,cx:o.cx,cy:o.cy,clockwise:u,r0:E,r:N}});return P&&(O.z2=b-m.get(_,D)%b),O}(y||d)&&(m.diff(v).add(function(D){var M=m.get(_,D);if(d){var I=T(D,s);Vt(I,{rotation:-((isNaN(+M)?w[0]:Lt(M,x,w,!0))+Math.PI/2)},t),h.add(I),m.setItemGraphicEl(D,I)}if(y){var L=A(D,s),P=g.get("clip");Vt(L,{shape:{endAngle:Lt(M,x,w,P)}},t),h.add(L),Op(t.seriesIndex,m.dataType,D,L),p[D]=L}}).update(function(D,M){var I=m.get(_,D);if(d){var L=v.getItemGraphicEl(M),P=L?L.rotation:s,R=T(D,P);R.rotation=P,Dt(R,{rotation:-((isNaN(+I)?w[0]:Lt(I,x,w,!0))+Math.PI/2)},t),h.add(R),m.setItemGraphicEl(D,R)}if(y){var E=c[M],N=E?E.shape.endAngle:s,O=A(D,N),B=g.get("clip");Dt(O,{shape:{endAngle:Lt(I,x,w,B)}},t),h.add(O),Op(t.seriesIndex,m.dataType,D,O),p[D]=O}}).execute(),m.each(function(D){var M=m.getItemModel(D),I=M.getModel("emphasis"),L=I.get("focus"),P=I.get("blurScope"),R=I.get("disabled");if(d){var E=m.getItemGraphicEl(D),N=m.getItemVisual(D,"style"),O=N.fill;if(E instanceof se){var B=E.style;E.useStyle(V({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},N))}else E.useStyle(N),E.type!=="pointer"&&E.setColor(O);E.setStyle(M.getModel(["pointer","itemStyle"]).getItemStyle()),E.style.fill==="auto"&&E.setStyle("fill",i(Lt(m.get(_,D),x,[0,1],!0))),E.z2EmphasisLift=0,fe(E,M),Ht(E,L,P,R)}if(y){var F=p[D];F.useStyle(m.getItemVisual(D,"style")),F.setStyle(M.getModel(["progress","itemStyle"]).getItemStyle()),F.z2EmphasisLift=0,fe(F,M),Ht(F,L,P,R)}}),this._progressEls=p)},e.prototype._renderAnchor=function(t,a){var n=t.getModel("anchor"),i=n.get("show");if(i){var o=n.get("size"),s=n.get("icon"),l=n.get("offsetCenter"),u=n.get("keepAspect"),f=qt(s,a.cx-o/2+W(l[0],a.r),a.cy-o/2+W(l[1],a.r),o,o,null,u);f.z2=n.get("showAbove")?1:0,f.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(f)}},e.prototype._renderTitleAndDetail=function(t,a,n,i,o){var s=this,l=t.getData(),u=l.mapDimension("value"),f=+t.get("min"),h=+t.get("max"),v=new at,c=[],p=[],d=t.isAnimationEnabled(),g=t.get(["pointer","showAbove"]);l.diff(this._data).add(function(y){c[y]=new Tt({silent:!0}),p[y]=new Tt({silent:!0})}).update(function(y,m){c[y]=s._titleEls[m],p[y]=s._detailEls[m]}).execute(),l.each(function(y){var m=l.getItemModel(y),_=l.get(u,y),S=new at,b=i(Lt(_,[f,h],[0,1],!0)),x=m.getModel("title");if(x.get("show")){var w=x.get("offsetCenter"),T=o.cx+W(w[0],o.r),A=o.cy+W(w[1],o.r),D=c[y];D.attr({z2:g?0:2,style:Nt(x,{x:T,y:A,text:l.getName(y),align:"center",verticalAlign:"middle"},{inheritColor:b})}),S.add(D)}var M=m.getModel("detail");if(M.get("show")){var I=M.get("offsetCenter"),L=o.cx+W(I[0],o.r),P=o.cy+W(I[1],o.r),R=W(M.get("width"),o.r),E=W(M.get("height"),o.r),N=t.get(["progress","show"])?l.getItemVisual(y,"style").fill:b,D=p[y],O=M.get("formatter");D.attr({z2:g?0:2,style:Nt(M,{x:L,y:P,text:xu(_,O),width:isNaN(R)?null:R,height:isNaN(E)?null:E,align:"center",verticalAlign:"middle"},{inheritColor:N})}),NT(D,{normal:M},_,function(F){return xu(F,O)}),d&&BT(D,y,l,t,{getFormattedLabel:function(F,H,Z,Q,J,ct){return xu(ct?ct.interpolatedValue:_,O)}}),S.add(D)}v.add(S)}),this.group.add(v),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(Et),s3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="itemStyle",t}return e.prototype.getInitialData=function(t,a){return Ao(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Bt);function l3(r){r.registerChartView(o3),r.registerSeriesModel(s3)}var u3=["itemStyle","opacity"],f3=function(r){k(e,r);function e(t,a){var n=r.call(this)||this,i=n,o=new Pe,s=new Tt;return i.setTextContent(s),n.setTextGuideLine(o),n.updateData(t,a,!0),n}return e.prototype.updateData=function(t,a,n){var i=this,o=t.hostModel,s=t.getItemModel(a),l=t.getItemLayout(a),u=s.getModel("emphasis"),f=s.get(u3);f=f??1,n||br(i),i.useStyle(t.getItemVisual(a,"style")),i.style.lineJoin="round",n?(i.setShape({points:l.points}),i.style.opacity=0,Vt(i,{style:{opacity:f}},o,a)):Dt(i,{style:{opacity:f},shape:{points:l.points}},o,a),fe(i,s),this._updateLabel(t,a),Ht(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t,a){var n=this,i=this.getTextGuideLine(),o=n.getTextContent(),s=t.hostModel,l=t.getItemModel(a),u=t.getItemLayout(a),f=u.label,h=t.getItemVisual(a,"style"),v=h.fill;he(o,ae(l),{labelFetcher:t.hostModel,labelDataIndex:a,defaultOpacity:h.opacity,defaultText:t.getName(a)},{normal:{align:f.textAlign,verticalAlign:f.verticalAlign}}),n.setTextConfig({local:!0,inside:!!f.inside,insideStroke:v,outsideFill:v});var c=f.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new ut(c[0][0],c[0][1]):null},Dt(o,{style:{x:f.x,y:f.y}},s,a),o.attr({rotation:f.rotation,originX:f.x,originY:f.y,z2:10}),jg(n,ty(l),{stroke:v})},e}(Le),h3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.ignoreLabelLineUpdate=!0,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this._data,s=this.group;i.diff(o).add(function(l){var u=new f3(i,l);i.setItemGraphicEl(l,u),s.add(u)}).update(function(l,u){var f=o.getItemGraphicEl(u);f.updateData(i,l),s.add(f),i.setItemGraphicEl(l,f)}).remove(function(l){var u=o.getItemGraphicEl(l);Bs(u,t,l)}).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Et),v3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new bl(Y(this.getData,this),Y(this.getRawData,this)),this._defaultLabelLine(t)},e.prototype.getInitialData=function(t,a){return Ao(this,{coordDimensions:["value"],encodeDefaulter:ot(Lg,this)})},e.prototype._defaultLabelLine=function(t){ti(t,"labelLine",["show"]);var a=t.labelLine,n=t.emphasis.labelLine;a.show=a.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(t){var a=this.getData(),n=r.prototype.getDataParams.call(this,t),i=a.mapDimension("value"),o=a.getSum(i);return n.percent=o?+(a.get(i,t)/o*100).toFixed(2):0,n.$vars.push("percent"),n},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Bt);function c3(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function p3(r,e){for(var t=r.mapDimension("value"),a=r.mapArray(t,function(l){return l}),n=[],i=e==="ascending",o=0,s=r.count();oL3)return;var n=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);n.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:n.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!Dc(this,"mousemove"))){var e=this._model,t=e.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),a=t.behavior;a==="jump"&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand(a==="none"?null:{axisExpandWindow:t.axisExpandWindow,animation:a==="jump"?null:{duration:0}})}}};function Dc(r,e){var t=r._model;return t.get("axisExpandable")&&t.get("axisExpandTriggerOn")===e}var E3=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var a=this.option;t&&ft(a,t,!0),this._initDimensions()},e.prototype.contains=function(t,a){var n=t.get("parallelIndex");return n!=null&&a.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){C(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(a){t.hasOwnProperty(a)&&(this.option[a]=t[a])},this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],a=this.parallelAxisIndex=[],n=Pt(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);C(n,function(i){t.push("dim"+i.get("dim")),a.push(i.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(_t),k3=function(r){k(e,r);function e(t,a,n,i,o){var s=r.call(this,t,a,n)||this;return s.type=i||"value",s.axisIndex=o,s}return e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},e}(Tr);function pi(r,e,t,a,n,i){r=r||0;var o=t[1]-t[0];if(n!=null&&(n=Pi(n,[0,o])),i!=null&&(i=Math.max(i,n??0)),a==="all"){var s=Math.abs(e[1]-e[0]);s=Pi(s,[0,o]),n=i=Pi(s,[n,i]),a=0}e[0]=Pi(e[0],t),e[1]=Pi(e[1],t);var l=Mc(e,a);e[a]+=r;var u=n||0,f=t.slice();l.sign<0?f[0]+=u:f[1]-=u,e[a]=Pi(e[a],f);var h;return h=Mc(e,a),n!=null&&(h.sign!==l.sign||h.spani&&(e[1-a]=e[a]+h.sign*i),e}function Mc(r,e){var t=r[e]-r[1-e];return{span:Math.abs(t),sign:t>0?-1:t<0?1:e?-1:1}}function Pi(r,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,r))}var Ic=C,lM=Math.min,uM=Math.max,NS=Math.floor,O3=Math.ceil,BS=Ut,N3=Math.PI,B3=function(){function r(e,t,a){this.type="parallel",this._axesMap=$(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,t,a)}return r.prototype._init=function(e,t,a){var n=e.dimensions,i=e.parallelAxisIndex;Ic(n,function(o,s){var l=i[s],u=t.getComponent("parallelAxis",l),f=this._axesMap.set(o,new k3(o,Dh(u),[0,0],u.get("type"),l)),h=f.type==="category";f.onBand=h&&u.get("boundaryGap"),f.inverse=u.get("inverse"),u.axis=f,f.model=u,f.coordinateSystem=u.coordinateSystem=this},this)},r.prototype.update=function(e,t){this._updateAxesFromSeries(this._model,e)},r.prototype.containPoint=function(e){var t=this._makeLayoutInfo(),a=t.axisBase,n=t.layoutBase,i=t.pixelDimIndex,o=e[1-i],s=e[i];return o>=a&&o<=a+t.axisLength&&s>=n&&s<=n+t.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(e,t){t.eachSeries(function(a){if(e.contains(a,t)){var n=a.getData();Ic(this.dimensions,function(i){var o=this._axesMap.get(i);o.scale.unionExtentFromData(n,n.mapDimension(i)),ao(o.scale,o.model)},this)}},this)},r.prototype.resize=function(e,t){this._rect=Jt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var e=this._model,t=this._rect,a=["x","y"],n=["width","height"],i=e.get("layout"),o=i==="horizontal"?0:1,s=t[n[o]],l=[0,s],u=this.dimensions.length,f=bu(e.get("axisExpandWidth"),l),h=bu(e.get("axisExpandCount")||0,[0,u]),v=e.get("axisExpandable")&&u>3&&u>h&&h>1&&f>0&&s>0,c=e.get("axisExpandWindow"),p;if(c)p=bu(c[1]-c[0],l),c[1]=c[0]+p;else{p=bu(f*(h-1),l);var d=e.get("axisExpandCenter")||NS(u/2);c=[f*d-p/2],c[1]=c[0]+p}var g=(s-p)/(u-h);g<3&&(g=0);var y=[NS(BS(c[0]/f,1))+1,O3(BS(c[1]/f,1))-1],m=g/f*c[0];return{layout:i,pixelDimIndex:o,layoutBase:t[a[o]],layoutLength:s,axisBase:t[a[1-o]],axisLength:t[n[1-o]],axisExpandable:v,axisExpandWidth:f,axisCollapseWidth:g,axisExpandWindow:c,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:m}},r.prototype._layoutAxes=function(){var e=this._rect,t=this._axesMap,a=this.dimensions,n=this._makeLayoutInfo(),i=n.layout;t.each(function(o){var s=[0,n.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),Ic(a,function(o,s){var l=(n.axisExpandable?z3:V3)(s,n),u={horizontal:{x:l.position,y:n.axisLength},vertical:{x:0,y:l.position}},f={horizontal:N3/2,vertical:0},h=[u[i].x+e.x,u[i].y+e.y],v=f[i],c=We();li(c,c,v),Hr(c,c,h),this._axesLayout[o]={position:h,rotation:v,transform:c,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(e){return this._axesMap.get(e)},r.prototype.dataToPoint=function(e,t){return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(e),t)},r.prototype.eachActiveState=function(e,t,a,n){a==null&&(a=0),n==null&&(n=e.count());var i=this._axesMap,o=this.dimensions,s=[],l=[];C(o,function(g){s.push(e.mapDimension(g)),l.push(i.get(g).model)});for(var u=this.hasAxisBrushed(),f=a;fi*(1-h[0])?(u="jump",l=s-i*(1-h[2])):(l=s-i*h[1])>=0&&(l=s-i*(1-h[1]))<=0&&(l=0),l*=t.axisExpandWidth/f,l?pi(l,n,o,"all"):u="none";else{var c=n[1]-n[0],p=o[1]*s/c;n=[uM(0,p-c/2)],n[1]=lM(o[1],n[0]+c),n[0]=n[1]-c}return{axisExpandWindow:n,behavior:u}},r}();function bu(r,e){return lM(uM(r,e[0]),e[1])}function V3(r,e){var t=e.layoutLength/(e.axisCount-1);return{position:t*r,axisNameAvailableWidth:t,axisLabelShow:!0}}function z3(r,e){var t=e.layoutLength,a=e.axisExpandWidth,n=e.axisCount,i=e.axisCollapseWidth,o=e.winInnerIndices,s,l=i,u=!1,f;return r=0;n--)ir(a[n])},e.prototype.getActiveState=function(t){var a=this.activeIntervals;if(!a.length)return"normal";if(t==null||isNaN(+t))return"inactive";if(a.length===1){var n=a[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,o=a.length;iU3}function dM(r){var e=r.length-1;return e<0&&(e=0),[r[0],r[e]]}function gM(r,e,t,a){var n=new at;return n.add(new bt({name:"main",style:Dy(t),silent:!0,draggable:!0,cursor:"move",drift:ot(GS,r,e,n,["n","s","w","e"]),ondragend:ot(oi,e,{isEnd:!0})})),C(a,function(i){n.add(new bt({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:ot(GS,r,e,n,i),ondragend:ot(oi,e,{isEnd:!0})}))}),n}function yM(r,e,t,a){var n=a.brushStyle.lineWidth||0,i=oo(n,Y3),o=t[0][0],s=t[1][0],l=o-n/2,u=s-n/2,f=t[0][1],h=t[1][1],v=f-i+n/2,c=h-i+n/2,p=f-o,d=h-s,g=p+n,y=d+n;Jr(r,e,"main",o,s,p,d),a.transformable&&(Jr(r,e,"w",l,u,i,y),Jr(r,e,"e",v,u,i,y),Jr(r,e,"n",l,u,g,i),Jr(r,e,"s",l,c,g,i),Jr(r,e,"nw",l,u,i,i),Jr(r,e,"ne",v,u,i,i),Jr(r,e,"sw",l,c,i,i),Jr(r,e,"se",v,c,i,i))}function Cd(r,e){var t=e.__brushOption,a=t.transformable,n=e.childAt(0);n.useStyle(Dy(t)),n.attr({silent:!a,cursor:a?"move":"default"}),C([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=e.childOfName(i.join("")),s=i.length===1?Dd(r,i[0]):Q3(r,i);o&&o.attr({silent:!a,invisible:!a,cursor:a?$3[s]+"-resize":null})})}function Jr(r,e,t,a,n,i,o){var s=e.childOfName(t);s&&s.setShape(j3(My(r,e,[[a,n],[a+i,n+o]])))}function Dy(r){return j({strokeNoScale:!0},r.brushStyle)}function mM(r,e,t,a){var n=[js(r,t),js(e,a)],i=[oo(r,t),oo(e,a)];return[[n[0],i[0]],[n[1],i[1]]]}function K3(r){return Kn(r.group)}function Dd(r,e){var t={w:"left",e:"right",n:"top",s:"bottom"},a={left:"w",right:"e",top:"n",bottom:"s"},n=vh(t[e],K3(r));return a[n]}function Q3(r,e){var t=[Dd(r,e[0]),Dd(r,e[1])];return(t[0]==="e"||t[0]==="w")&&t.reverse(),t.join("")}function GS(r,e,t,a,n,i){var o=t.__brushOption,s=r.toRectRange(o.range),l=_M(e,n,i);C(a,function(u){var f=X3[u];s[f[0]][f[1]]+=l[f[0]]}),o.range=r.fromRectRange(mM(s[0][0],s[1][0],s[0][1],s[1][1])),Ty(e,t),oi(e,{isEnd:!1})}function J3(r,e,t,a){var n=e.__brushOption.range,i=_M(r,t,a);C(n,function(o){o[0]+=i[0],o[1]+=i[1]}),Ty(r,e),oi(r,{isEnd:!1})}function _M(r,e,t){var a=r.group,n=a.transformCoordToLocal(e,t),i=a.transformCoordToLocal(0,0);return[n[0]-i[0],n[1]-i[1]]}function My(r,e,t){var a=pM(r,e);return a&&a!==ii?a.clipPath(t,r._transform):rt(t)}function j3(r){var e=js(r[0][0],r[1][0]),t=js(r[0][1],r[1][1]),a=oo(r[0][0],r[1][0]),n=oo(r[0][1],r[1][1]);return{x:e,y:t,width:a-e,height:n-t}}function tF(r,e,t){if(!(!r._brushType||rF(r,e.offsetX,e.offsetY))){var a=r._zr,n=r._covers,i=Cy(r,e,t);if(!r._dragging)for(var o=0;oa.getWidth()||t<0||t>a.getHeight()}var Eh={lineX:WS(0),lineY:WS(1),rect:{createCover:function(r,e){function t(a){return a}return gM({toRectRange:t,fromRectRange:t},r,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var e=dM(r);return mM(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(r,e,t,a){yM(r,e,t,a)},updateCommon:Cd,contain:Id},polygon:{createCover:function(r,e){var t=new at;return t.add(new Pe({name:"main",style:Dy(e),silent:!0})),t},getCreatingRange:function(r){return r},endCreating:function(r,e){e.remove(e.childAt(0)),e.add(new Le({name:"main",draggable:!0,drift:ot(J3,r,e),ondragend:ot(oi,r,{isEnd:!0})}))},updateCoverShape:function(r,e,t,a){e.childAt(0).setShape({points:My(r,e,t)})},updateCommon:Cd,contain:Id}};function WS(r){return{createCover:function(e,t){return gM({toRectRange:function(a){var n=[a,[0,100]];return r&&n.reverse(),n},fromRectRange:function(a){return a[r]}},e,t,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(e){var t=dM(e),a=js(t[0][r],t[1][r]),n=oo(t[0][r],t[1][r]);return[a,n]},updateCoverShape:function(e,t,a,n){var i,o=pM(e,t);if(o!==ii&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(r);else{var s=e._zr;i=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[a,i];r&&l.reverse(),yM(e,t,l,n)},updateCommon:Cd,contain:Id}}function xM(r){return r=Iy(r),function(e){return ET(e,r)}}function bM(r,e){return r=Iy(r),function(t){var a=e??t,n=a?r.width:r.height,i=a?r.x:r.y;return[i,i+(n||0)]}}function wM(r,e,t){var a=Iy(r);return function(n,i){return a.contain(i[0],i[1])&&!Ih(n,e,t)}}function Iy(r){return ht.create(r)}var aF=["axisLine","axisTickLabel","axisName"],nF=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){r.prototype.init.apply(this,arguments),(this._brushController=new wy(a.getZr())).on("brush",Y(this._onBrush,this))},e.prototype.render=function(t,a,n,i){if(!iF(t,a,i)){this.axisModel=t,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new at,this.group.add(this._axisGroup),!!t.get("show")){var s=sF(t,a),l=s.coordinateSystem,u=t.getAreaSelectStyle(),f=u.width,h=t.axis.dim,v=l.getAxisLayout(h),c=V({strokeContainThreshold:f},v),p=new Ce(t,c);C(aF,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(c,u,t,s,f,n),fl(o,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,a,n,i,o,s){var l=n.axis.getExtent(),u=l[1]-l[0],f=Math.min(30,Math.abs(u)*.1),h=ht.create({x:l[0],y:-o/2,width:u,height:o});h.x-=f,h.width+=2*f,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:xM(h),isTargetByCursor:wM(h,s,i),getLinearBrushOtherExtent:bM(h,0)}]).enableBrush({brushType:"lineX",brushStyle:a,removeOnClick:!0}).updateCovers(oF(n))},e.prototype._onBrush=function(t){var a=t.areas,n=this.axisModel,i=n.axis,o=G(a,function(s){return[i.coordToData(s.range[0],!0),i.coordToData(s.range[1],!0)]});(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Gt);function iF(r,e,t){return t&&t.type==="axisAreaSelect"&&e.findComponents({mainType:"parallelAxis",query:t})[0]===r}function oF(r){var e=r.axis;return G(r.activeIntervals,function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}})}function sF(r,e){return e.getComponent("parallel",r.get("parallelIndex"))}var lF={type:"axisAreaSelect",event:"axisAreaSelected"};function uF(r){r.registerAction(lF,function(e,t){t.eachComponent({mainType:"parallelAxis",query:e},function(a){a.axis.model.setActiveIntervals(e.intervals)})}),r.registerAction("parallelAxisExpand",function(e,t){t.eachComponent({mainType:"parallel",query:e},function(a){a.setAxisExpand(e)})})}var fF={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function TM(r){r.registerComponentView(P3),r.registerComponentModel(E3),r.registerCoordinateSystem("parallel",F3),r.registerPreprocessor(D3),r.registerComponentModel(Td),r.registerComponentView(nF),io(r,"parallel",Td,fF),uF(r)}function hF(r){gt(TM),r.registerChartView(_3),r.registerSeriesModel(b3),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,C3)}var vF=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return r}(),cF=function(r){k(e,r);function e(t){return r.call(this,t)||this}return e.prototype.getDefaultShape=function(){return new vF},e.prototype.buildPath=function(t,a){var n=a.extent;t.moveTo(a.x1,a.y1),t.bezierCurveTo(a.cpx1,a.cpy1,a.cpx2,a.cpy2,a.x2,a.y2),a.orient==="vertical"?(t.lineTo(a.x2+n,a.y2),t.bezierCurveTo(a.cpx2+n,a.cpy2,a.cpx1+n,a.cpy1,a.x1+n,a.y1)):(t.lineTo(a.x2,a.y2+n),t.bezierCurveTo(a.cpx2,a.cpy2+n,a.cpx1,a.cpy1+n,a.x1,a.y1+n)),t.closePath()},e.prototype.highlight=function(){fa(this)},e.prototype.downplay=function(){ha(this)},e}(yt),pF=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._focusAdjacencyDisabled=!1,t}return e.prototype.render=function(t,a,n){var i=this,o=t.getGraph(),s=this.group,l=t.layoutInfo,u=l.width,f=l.height,h=t.getData(),v=t.getData("edge"),c=t.get("orient");this._model=t,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(p){var d=new cF,g=nt(d);g.dataIndex=p.dataIndex,g.seriesIndex=t.seriesIndex,g.dataType="edge";var y=p.getModel(),m=y.getModel("lineStyle"),_=m.get("curveness"),S=p.node1.getLayout(),b=p.node1.getModel(),x=b.get("localX"),w=b.get("localY"),T=p.node2.getLayout(),A=p.node2.getModel(),D=A.get("localX"),M=A.get("localY"),I=p.getLayout(),L,P,R,E,N,O,B,F;d.shape.extent=Math.max(1,I.dy),d.shape.orient=c,c==="vertical"?(L=(x!=null?x*u:S.x)+I.sy,P=(w!=null?w*f:S.y)+S.dy,R=(D!=null?D*u:T.x)+I.ty,E=M!=null?M*f:T.y,N=L,O=P*(1-_)+E*_,B=R,F=P*_+E*(1-_)):(L=(x!=null?x*u:S.x)+S.dx,P=(w!=null?w*f:S.y)+I.sy,R=D!=null?D*u:T.x,E=(M!=null?M*f:T.y)+I.ty,N=L*(1-_)+R*_,O=P,B=L*_+R*(1-_),F=E),d.setShape({x1:L,y1:P,x2:R,y2:E,cpx1:N,cpy1:O,cpx2:B,cpy2:F}),d.useStyle(m.getItemStyle()),US(d.style,c,p);var H=""+y.get("value"),Z=ae(y,"edgeLabel");he(d,Z,{labelFetcher:{getFormattedLabel:function(ct,xt,pt,et,dt,st){return t.getFormattedLabel(ct,xt,"edge",et,zr(dt,Z.normal&&Z.normal.get("formatter"),H),st)}},labelDataIndex:p.dataIndex,defaultText:H}),d.setTextConfig({position:"inside"});var Q=y.getModel("emphasis");fe(d,y,"lineStyle",function(ct){var xt=ct.getItemStyle();return US(xt,c,p),xt}),s.add(d),v.setItemGraphicEl(p.dataIndex,d);var J=Q.get("focus");Ht(d,J==="adjacency"?p.getAdjacentDataIndices():J==="trajectory"?p.getTrajectoryDataIndices():J,Q.get("blurScope"),Q.get("disabled"))}),o.eachNode(function(p){var d=p.getLayout(),g=p.getModel(),y=g.get("localX"),m=g.get("localY"),_=g.getModel("emphasis"),S=new bt({shape:{x:y!=null?y*u:d.x,y:m!=null?m*f:d.y,width:d.dx,height:d.dy},style:g.getModel("itemStyle").getItemStyle(),z2:10});he(S,ae(g),{labelFetcher:{getFormattedLabel:function(x,w){return t.getFormattedLabel(x,w,"node")}},labelDataIndex:p.dataIndex,defaultText:p.id}),S.disableLabelAnimation=!0,S.setStyle("fill",p.getVisual("color")),S.setStyle("decal",p.getVisual("style").decal),fe(S,g),s.add(S),h.setItemGraphicEl(p.dataIndex,S),nt(S).dataType="node";var b=_.get("focus");Ht(S,b==="adjacency"?p.getAdjacentDataIndices():b==="trajectory"?p.getTrajectoryDataIndices():b,_.get("blurScope"),_.get("disabled"))}),h.eachItemGraphicEl(function(p,d){var g=h.getItemModel(d);g.get("draggable")&&(p.drift=function(y,m){i._focusAdjacencyDisabled=!0,this.shape.x+=y,this.shape.y+=m,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:h.getRawIndex(d),localX:this.shape.x/u,localY:this.shape.y/f})},p.ondragend=function(){i._focusAdjacencyDisabled=!1},p.draggable=!0,p.cursor="move")}),!this._data&&t.isAnimationEnabled()&&s.setClipPath(dF(s.getBoundingRect(),t,function(){s.removeClipPath()})),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Et);function US(r,e,t){switch(r.fill){case"source":r.fill=t.node1.getVisual("color"),r.decal=t.node1.getVisual("style").decal;break;case"target":r.fill=t.node2.getVisual("color"),r.decal=t.node2.getVisual("style").decal;break;case"gradient":var a=t.node1.getVisual("color"),n=t.node2.getVisual("color");U(a)&&U(n)&&(r.fill=new ul(0,0,+(e==="horizontal"),+(e==="vertical"),[{color:a,offset:0},{color:n,offset:1}]))}}function dF(r,e,t){var a=new bt({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return Vt(a,{shape:{width:r.width+20}},e,t),a}var gF=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){var n=t.edges||t.links,i=t.data||t.nodes,o=t.levels;this.levelModels=[];for(var s=this.levelModels,l=0;l=0&&(s[o[l].depth]=new It(o[l],this,a));if(i&&n){var u=oM(i,n,this,!0,f);return u.data}function f(h,v){h.wrapMethod("getItemModel",function(c,p){var d=c.parentModel,g=d.getData().getItemLayout(p);if(g){var y=g.depth,m=d.levelModels[y];m&&(c.parentModel=m)}return c}),v.wrapMethod("getItemModel",function(c,p){var d=c.parentModel,g=d.getGraph().getEdgeByIndex(p),y=g.node1.getLayout();if(y){var m=y.depth,_=d.levelModels[m];_&&(c.parentModel=_)}return c})}},e.prototype.setNodePosition=function(t,a){var n=this.option.data||this.option.nodes,i=n[t];i.localX=a[0],i.localY=a[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,a,n){function i(c){return isNaN(c)||c==null}if(n==="edge"){var o=this.getDataParams(t,n),s=o.data,l=o.value,u=s.source+" -- "+s.target;return ne("nameValue",{name:u,value:l,noValue:i(l)})}else{var f=this.getGraph().getNodeByIndex(t),h=f.getLayout().value,v=this.getDataParams(t,n).data.name;return ne("nameValue",{name:v!=null?v+"":null,value:h,noValue:i(h)})}},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(t,a){var n=r.prototype.getDataParams.call(this,t,a);if(n.value==null&&a==="node"){var i=this.getGraph().getNodeByIndex(t),o=i.getLayout().value;n.value=o}return n},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Bt);function yF(r,e){r.eachSeriesByType("sankey",function(t){var a=t.get("nodeWidth"),n=t.get("nodeGap"),i=mF(t,e);t.layoutInfo=i;var o=i.width,s=i.height,l=t.getGraph(),u=l.nodes,f=l.edges;SF(u);var h=Pt(u,function(d){return d.getLayout().value===0}),v=h.length!==0?0:t.get("layoutIterations"),c=t.get("orient"),p=t.get("nodeAlign");_F(u,f,a,n,o,s,v,c,p)})}function mF(r,e){return Jt(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function _F(r,e,t,a,n,i,o,s,l){xF(r,e,t,n,i,s,l),AF(r,e,i,n,a,o,s),kF(r,s)}function SF(r){C(r,function(e){var t=Ya(e.outEdges,Bf),a=Ya(e.inEdges,Bf),n=e.getValue()||0,i=Math.max(t,a,n);e.setLayout({value:i},!0)})}function xF(r,e,t,a,n,i,o){for(var s=[],l=[],u=[],f=[],h=0,v=0;v=0;y&&g.depth>c&&(c=g.depth),d.setLayout({depth:y?g.depth:h},!0),i==="vertical"?d.setLayout({dy:t},!0):d.setLayout({dx:t},!0);for(var m=0;mh-1?c:h-1;o&&o!=="left"&&bF(r,o,i,w);var T=i==="vertical"?(n-t)/w:(a-t)/w;TF(r,T,i)}function AM(r){var e=r.hostGraph.data.getRawDataItem(r.dataIndex);return e.depth!=null&&e.depth>=0}function bF(r,e,t,a){if(e==="right"){for(var n=[],i=r,o=0;i.length;){for(var s=0;s0;i--)l*=.99,MF(s,l,o),Lc(s,n,t,a,o),EF(s,l,o),Lc(s,n,t,a,o)}function CF(r,e){var t=[],a=e==="vertical"?"y":"x",n=Pp(r,function(i){return i.getLayout()[a]});return n.keys.sort(function(i,o){return i-o}),C(n.keys,function(i){t.push(n.buckets.get(i))}),t}function DF(r,e,t,a,n,i){var o=1/0;C(r,function(s){var l=s.length,u=0;C(s,function(h){u+=h.getLayout().value});var f=i==="vertical"?(a-(l-1)*n)/u:(t-(l-1)*n)/u;f0&&(s=l.getLayout()[i]+u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),f=l.getLayout()[i]+l.getLayout()[v]+e;var p=n==="vertical"?a:t;if(u=f-e-p,u>0){s=l.getLayout()[i]-u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),f=s;for(var c=h-2;c>=0;--c)l=o[c],u=l.getLayout()[i]+l.getLayout()[v]+e-f,u>0&&(s=l.getLayout()[i]-u,n==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),f=l.getLayout()[i]}})}function MF(r,e,t){C(r.slice().reverse(),function(a){C(a,function(n){if(n.outEdges.length){var i=Ya(n.outEdges,IF,t)/Ya(n.outEdges,Bf);if(isNaN(i)){var o=n.outEdges.length;i=o?Ya(n.outEdges,LF,t)/o:0}if(t==="vertical"){var s=n.getLayout().x+(i-Ja(n,t))*e;n.setLayout({x:s},!0)}else{var l=n.getLayout().y+(i-Ja(n,t))*e;n.setLayout({y:l},!0)}}})})}function IF(r,e){return Ja(r.node2,e)*r.getValue()}function LF(r,e){return Ja(r.node2,e)}function PF(r,e){return Ja(r.node1,e)*r.getValue()}function RF(r,e){return Ja(r.node1,e)}function Ja(r,e){return e==="vertical"?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function Bf(r){return r.getValue()}function Ya(r,e,t){for(var a=0,n=r.length,i=-1;++io&&(o=l)}),C(a,function(s){var l=new re({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:e.get("color")}),u=l.mapValueToVisual(s.getLayout().value),f=s.getModel().get(["itemStyle","color"]);f!=null?(s.setVisual("color",f),s.setVisual("style",{fill:f})):(s.setVisual("color",u),s.setVisual("style",{fill:u}))})}n.length&&C(n,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function NF(r){r.registerChartView(pF),r.registerSeriesModel(gF),r.registerLayout(yF),r.registerVisual(OF),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,t){t.eachComponent({mainType:"series",subType:"sankey",query:e},function(a){a.setNodePosition(e.dataIndex,[e.localX,e.localY])})})}var CM=function(){function r(){}return r.prototype.getInitialData=function(e,t){var a,n=t.getComponent("xAxis",this.get("xAxisIndex")),i=t.getComponent("yAxis",this.get("yAxisIndex")),o=n.get("type"),s=i.get("type"),l;o==="category"?(e.layout="horizontal",a=n.getOrdinalMeta(),l=!0):s==="category"?(e.layout="vertical",a=i.getOrdinalMeta(),l=!0):e.layout=e.layout||"horizontal";var u=["x","y"],f=e.layout==="horizontal"?0:1,h=this._baseAxisDim=u[f],v=u[1-f],c=[n,i],p=c[f].get("type"),d=c[1-f].get("type"),g=e.data;if(g&&l){var y=[];C(g,function(S,b){var x;z(S)?(x=S.slice(),S.unshift(b)):z(S.value)?(x=V({},S),x.value=x.value.slice(),S.value.unshift(b)):x=S,y.push(x)}),e.data=y}var m=this.defaultValueDimensions,_=[{name:h,type:Cf(p),ordinalMeta:a,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:v,type:Cf(d),dimsDef:m.slice()}];return Ao(this,{coordDimensions:_,dimensionsCount:m.length+1,encodeDefaulter:ot(iA,_,this)})},r.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},r}(),DM=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],t.visualDrawType="stroke",t}return e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Bt);Kt(DM,CM,!0);var BF=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l=t.get("layout")==="horizontal"?1:0;i.diff(s).add(function(u){if(i.hasValue(u)){var f=i.getItemLayout(u),h=YS(f,i,u,l,!0);i.setItemGraphicEl(u,h),o.add(h)}}).update(function(u,f){var h=s.getItemGraphicEl(f);if(!i.hasValue(u)){o.remove(h);return}var v=i.getItemLayout(u);h?(br(h),MM(v,h,i,u)):h=YS(v,i,u,l),o.add(h),i.setItemGraphicEl(u,h)}).remove(function(u){var f=s.getItemGraphicEl(u);f&&o.remove(f)}).execute(),this._data=i},e.prototype.remove=function(t){var a=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl(function(i){i&&a.remove(i)})},e.type="boxplot",e}(Et),VF=function(){function r(){}return r}(),zF=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="boxplotBoxPath",a}return e.prototype.getDefaultShape=function(){return new VF},e.prototype.buildPath=function(t,a){var n=a.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();id){var S=[y,_];a.push(S)}}}return{boxData:t,outliers:a}}var XF={type:"echarts:boxplot",transform:function(e){var t=e.upstream;if(t.sourceFormat!==ye){var a="";Mt(a)}var n=YF(t.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function $F(r){r.registerSeriesModel(DM),r.registerChartView(BF),r.registerLayout(FF),r.registerTransform(XF)}var ZF=["color","borderColor"],qF=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,a,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,a,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,a):this._incrementalRenderNormal(t,a)},e.prototype.eachRendered=function(t){tn(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var a=t.pipelineContext.large;(this._isLargeDraw==null||a!==this._isLargeDraw)&&(this._isLargeDraw=a,this._clear())},e.prototype._renderNormal=function(t){var a=t.getData(),n=this._data,i=this.group,o=a.getLayout("isSimpleBox"),s=t.get("clip",!0),l=t.coordinateSystem,u=l.getArea&&l.getArea();this._data||i.removeAll(),a.diff(n).add(function(f){if(a.hasValue(f)){var h=a.getItemLayout(f);if(s&&XS(u,h))return;var v=Pc(h,f,!0);Vt(v,{shape:{points:h.ends}},t,f),Rc(v,a,f,o),i.add(v),a.setItemGraphicEl(f,v)}}).update(function(f,h){var v=n.getItemGraphicEl(h);if(!a.hasValue(f)){i.remove(v);return}var c=a.getItemLayout(f);if(s&&XS(u,c)){i.remove(v);return}v?(Dt(v,{shape:{points:c.ends}},t,f),br(v)):v=Pc(c),Rc(v,a,f,o),i.add(v),a.setItemGraphicEl(f,v)}).remove(function(f){var h=n.getItemGraphicEl(f);h&&i.remove(h)}).execute(),this._data=a},e.prototype._renderLarge=function(t){this._clear(),$S(t,this.group);var a=t.get("clip",!0)?_l(t.coordinateSystem,!1,t):null;a?this.group.setClipPath(a):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,a){for(var n=a.getData(),i=n.getLayout("isSimpleBox"),o;(o=t.next())!=null;){var s=n.getItemLayout(o),l=Pc(s);Rc(l,n,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},e.prototype._incrementalRenderLarge=function(t,a){$S(a,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Et),KF=function(){function r(){}return r}(),QF=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a.type="normalCandlestickBox",a}return e.prototype.getDefaultShape=function(){return new KF},e.prototype.buildPath=function(t,a){var n=a.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(yt);function Pc(r,e,t){var a=r.ends;return new QF({shape:{points:t?JF(a,r):a},z2:100})}function XS(r,e){for(var t=!0,a=0;a0?"borderColor":"borderColor0"])||t.get(["itemStyle",r>0?"color":"color0"]);r===0&&(n=t.get(["itemStyle","borderColorDoji"]));var i=t.getModel("itemStyle").getItemStyle(ZF);e.useStyle(i),e.style.fill=null,e.style.stroke=n}var IM=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],t}return e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,a,n){var i=a.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Bt);Kt(IM,CM,!0);function t4(r){!r||!z(r.series)||C(r.series,function(e){tt(e)&&e.type==="k"&&(e.type="candlestick")})}var e4=["itemStyle","borderColor"],r4=["itemStyle","borderColor0"],a4=["itemStyle","borderColorDoji"],n4=["itemStyle","color"],i4=["itemStyle","color0"],o4={seriesType:"candlestick",plan:bo(),performRawSeries:!0,reset:function(r,e){function t(i,o){return o.get(i>0?n4:i4)}function a(i,o){return o.get(i===0?a4:i>0?e4:r4)}if(!e.isSeriesFiltered(r)){var n=r.pipelineContext.large;return!n&&{progress:function(i,o){for(var s;(s=i.next())!=null;){var l=o.getItemModel(s),u=o.getItemLayout(s).sign,f=l.getItemStyle();f.fill=t(u,l),f.stroke=a(u,l)||f.fill;var h=o.ensureUniqueItemVisual(s,"style");V(h,f)}}}}}},s4={seriesType:"candlestick",plan:bo(),reset:function(r){var e=r.coordinateSystem,t=r.getData(),a=l4(r,t),n=0,i=1,o=["x","y"],s=t.getDimensionIndex(t.mapDimension(o[n])),l=G(t.mapDimensionsAll(o[i]),t.getDimensionIndex,t),u=l[0],f=l[1],h=l[2],v=l[3];if(t.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),s<0||l.length<4)return;return{progress:r.pipelineContext.large?p:c};function c(d,g){for(var y,m=g.getStore();(y=d.next())!=null;){var _=m.get(s,y),S=m.get(u,y),b=m.get(f,y),x=m.get(h,y),w=m.get(v,y),T=Math.min(S,b),A=Math.max(S,b),D=N(T,_),M=N(A,_),I=N(x,_),L=N(w,_),P=[];O(P,M,0),O(P,D,1),P.push(F(L),F(M),F(I),F(D));var R=g.getItemModel(y),E=!!R.get(["itemStyle","borderColorDoji"]);g.setItemLayout(y,{sign:ZS(m,y,S,b,f,E),initBaseline:S>b?M[i]:D[i],ends:P,brushRect:B(x,w,_)})}function N(H,Z){var Q=[];return Q[n]=Z,Q[i]=H,isNaN(Z)||isNaN(H)?[NaN,NaN]:e.dataToPoint(Q)}function O(H,Z,Q){var J=Z.slice(),ct=Z.slice();J[n]=Wu(J[n]+a/2,1,!1),ct[n]=Wu(ct[n]-a/2,1,!0),Q?H.push(J,ct):H.push(ct,J)}function B(H,Z,Q){var J=N(H,Q),ct=N(Z,Q);return J[n]-=a/2,ct[n]-=a/2,{x:J[0],y:J[1],width:a,height:ct[1]-J[1]}}function F(H){return H[n]=Wu(H[n],1),H}}function p(d,g){for(var y=Br(d.count*4),m=0,_,S=[],b=[],x,w=g.getStore(),T=!!r.get(["itemStyle","borderColorDoji"]);(x=d.next())!=null;){var A=w.get(s,x),D=w.get(u,x),M=w.get(f,x),I=w.get(h,x),L=w.get(v,x);if(isNaN(A)||isNaN(I)||isNaN(L)){y[m++]=NaN,m+=3;continue}y[m++]=ZS(w,x,D,M,f,T),S[n]=A,S[i]=I,_=e.dataToPoint(S,null,b),y[m++]=_?_[0]:NaN,y[m++]=_?_[1]:NaN,S[i]=L,_=e.dataToPoint(S,null,b),y[m++]=_?_[1]:NaN}g.setLayout("largePoints",y)}}};function ZS(r,e,t,a,n,i){var o;return t>a?o=-1:t0?r.get(n,e-1)<=a?1:-1:1,o}function l4(r,e){var t=r.getBaseAxis(),a,n=t.type==="category"?t.getBandWidth():(a=t.getExtent(),Math.abs(a[1]-a[0])/e.count()),i=W(it(r.get("barMaxWidth"),n),n),o=W(it(r.get("barMinWidth"),1),n),s=r.get("barWidth");return s!=null?W(s,n):Math.max(Math.min(n/2,i),o)}function u4(r){r.registerChartView(qF),r.registerSeriesModel(IM),r.registerPreprocessor(t4),r.registerVisual(o4),r.registerLayout(s4)}function qS(r,e){var t=e.rippleEffectColor||e.color;r.eachChild(function(a){a.attr({z:e.z,zlevel:e.zlevel,style:{stroke:e.brushType==="stroke"?t:null,fill:e.brushType==="fill"?t:null}})})}var f4=function(r){k(e,r);function e(t,a){var n=r.call(this)||this,i=new yl(t,a),o=new at;return n.add(i),n.add(o),n.updateData(t,a),n}return e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var a=t.symbolType,n=t.color,i=t.rippleNumber,o=this.childAt(1),s=0;s0&&(s=this._getLineLength(i)/f*1e3),s!==this._period||l!==this._loop||u!==this._roundTrip){i.stopAnimation();var v=void 0;K(h)?v=h(n):v=h,i.__t>0&&(v=-s*i.__t),this._animateSymbol(i,s,v,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},e.prototype._animateSymbol=function(t,a,n,i,o){if(a>0){t.__t=0;var s=this,l=t.animate("",i).when(o?a*2:a,{__t:o?2:1}).delay(n).during(function(){s._updateSymbolPosition(t)});i||l.done(function(){s.remove(t)}),l.start()}},e.prototype._getLineLength=function(t){return Ea(t.__p1,t.__cp1)+Ea(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,a){t.__p1=a[0],t.__p2=a[1],t.__cp1=a[2]||[(a[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2]},e.prototype.updateData=function(t,a,n){this.childAt(0).updateData(t,a,n),this._updateEffectSymbol(t,a)},e.prototype._updateSymbolPosition=function(t){var a=t.__p1,n=t.__p2,i=t.__cp1,o=t.__t<1?t.__t:2-t.__t,s=[t.x,t.y],l=s.slice(),u=ie,f=gp;s[0]=u(a[0],i[0],n[0],o),s[1]=u(a[1],i[1],n[1],o);var h=t.__t<1?f(a[0],i[0],n[0],o):f(n[0],i[0],a[0],1-o),v=t.__t<1?f(a[1],i[1],n[1],o):f(n[1],i[1],a[1],1-o);t.rotation=-Math.atan2(v,h)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(t.__lastT!==void 0&&t.__lastT=0&&!(i[l]<=a);l--);l=Math.min(l,o-2)}else{for(l=s;la);l++);l=Math.min(l-1,o-2)}var f=(a-i[l])/(i[l+1]-i[l]),h=n[l],v=n[l+1];t.x=h[0]*(1-f)+f*v[0],t.y=h[1]*(1-f)+f*v[1];var c=t.__t<1?v[0]-h[0]:h[0]-v[0],p=t.__t<1?v[1]-h[1]:h[1]-v[1];t.rotation=-Math.atan2(p,c)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=a,t.ignore=!1}},e}(LM),d4=function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r}(),g4=function(r){k(e,r);function e(t){var a=r.call(this,t)||this;return a._off=0,a.hoverDataIdx=-1,a}return e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new d4},e.prototype.buildPath=function(t,a){var n=a.segs,i=a.curveness,o;if(a.polyline)for(o=this._off;o0){t.moveTo(n[o++],n[o++]);for(var l=1;l0){var c=(u+h)/2-(f-v)*i,p=(f+v)/2-(h-u)*i;t.quadraticCurveTo(c,p,h,v)}else t.lineTo(h,v)}this.incremental&&(this._off=o,this.notClear=!0)},e.prototype.findDataIndex=function(t,a){var n=this.shape,i=n.segs,o=n.curveness,s=this.style.lineWidth;if(n.polyline)for(var l=0,u=0;u0)for(var h=i[u++],v=i[u++],c=1;c0){var g=(h+p)/2-(v-d)*o,y=(v+d)/2-(p-h)*o;if(iT(h,v,g,y,p,d,s,t,a))return l}else if(Pa(h,v,p,d,s,t,a))return l;l++}return-1},e.prototype.contain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect();if(t=n[0],a=n[1],i.contain(t,a)){var o=this.hoverDataIdx=this.findDataIndex(t,a);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var a=this.shape,n=a.segs,i=1/0,o=1/0,s=-1/0,l=-1/0,u=0;u0&&(o.dataIndex=l+e.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),RM={seriesType:"lines",plan:bo(),reset:function(r){var e=r.coordinateSystem;if(e){var t=r.get("polyline"),a=r.pipelineContext.large;return{progress:function(n,i){var o=[];if(a){var s=void 0,l=n.end-n.start;if(t){for(var u=0,f=n.start;f0&&(f||u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(i);var h=t.get("clip",!0)&&_l(t.coordinateSystem,!1,t);h?this.group.setClipPath(h):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,a,n){var i=t.getData(),o=this._updateLineDraw(i,t);o.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,a,n){this._lineDraw.incrementalUpdate(t,a.getData()),this._finished=t.end===a.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,a,n){var i=t.getData(),o=t.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=RM.reset(t,a,n);s.progress&&s.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,a){var n=this._lineDraw,i=this._showEffect(a),o=!!a.get("polyline"),s=a.pipelineContext,l=s.large;return(!n||i!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(n&&n.remove(),n=this._lineDraw=l?new y4:new by(o?i?p4:PM:i?LM:xy),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=l),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var a=t.getZr(),n=a.painter.getType()==="svg";!n&&this._lastZlevel!=null&&a.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,a){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(a)},e.prototype.dispose=function(t,a){this.remove(t,a)},e.type="lines",e}(Et),_4=typeof Uint32Array>"u"?Array:Uint32Array,S4=typeof Float64Array>"u"?Array:Float64Array;function KS(r){var e=r.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(r.data=G(e,function(t){var a=[t[0].coord,t[1].coord],n={coords:a};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),jd([n,t[0],t[1]])}))}var x4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.visualStyleAccessPath="lineStyle",t.visualDrawType="stroke",t}return e.prototype.init=function(t){t.data=t.data||[],KS(t);var a=this._processFlatCoordsArray(t.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(t.data=new Float32Array(a.count)),r.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(t){if(KS(t),t.data){var a=this._processFlatCoordsArray(t.data);this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset,a.flatCoords&&(t.data=new Float32Array(a.count))}r.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var a=this._processFlatCoordsArray(t.data);a.flatCoords&&(this._flatCoords?(this._flatCoords=ef(this._flatCoords,a.flatCoords),this._flatCoordsOffset=ef(this._flatCoordsOffset,a.flatCoordsOffset)):(this._flatCoords=a.flatCoords,this._flatCoordsOffset=a.flatCoordsOffset),t.data=new Float32Array(a.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var a=this.getData().getItemModel(t),n=a.option instanceof Array?a.option:a.getShallow("coords");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[t*2+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,a){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[t*2],i=this._flatCoordsOffset[t*2+1],o=0;o ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return t??(this.option.large?1e4:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return t??(this.option.large?2e4:this.get("progressiveThreshold"))},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),a=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&a>0?a+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Bt);function wu(r){return r instanceof Array||(r=[r,r]),r}var b4={seriesType:"lines",reset:function(r){var e=wu(r.get("symbol")),t=wu(r.get("symbolSize")),a=r.getData();a.setVisual("fromSymbol",e&&e[0]),a.setVisual("toSymbol",e&&e[1]),a.setVisual("fromSymbolSize",t&&t[0]),a.setVisual("toSymbolSize",t&&t[1]);function n(i,o){var s=i.getItemModel(o),l=wu(s.getShallow("symbol",!0)),u=wu(s.getShallow("symbolSize",!0));l[0]&&i.setItemVisual(o,"fromSymbol",l[0]),l[1]&&i.setItemVisual(o,"toSymbol",l[1]),u[0]&&i.setItemVisual(o,"fromSymbolSize",u[0]),u[1]&&i.setItemVisual(o,"toSymbolSize",u[1])}return{dataEach:a.hasItemOption?n:null}}};function w4(r){r.registerChartView(m4),r.registerSeriesModel(x4),r.registerLayout(RM),r.registerVisual(b4)}var T4=256,A4=function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=$a.createCanvas();this.canvas=e}return r.prototype.update=function(e,t,a,n,i,o){var s=this._getBrush(),l=this._getGradient(i,"inRange"),u=this._getGradient(i,"outOfRange"),f=this.pointSize+this.blurSize,h=this.canvas,v=h.getContext("2d"),c=e.length;h.width=t,h.height=a;for(var p=0;p0){var I=o(_)?l:u;_>0&&(_=_*D+T),b[x++]=I[M],b[x++]=I[M+1],b[x++]=I[M+2],b[x++]=I[M+3]*_*256}else x+=4}return v.putImageData(S,0,0),h},r.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=$a.createCanvas()),t=this.pointSize+this.blurSize,a=t*2;e.width=a,e.height=a;var n=e.getContext("2d");return n.clearRect(0,0,a,a),n.shadowOffsetX=a,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-t,t,this.pointSize,0,Math.PI*2,!0),n.closePath(),n.fill(),e},r.prototype._getGradient=function(e,t){for(var a=this._gradientPixels,n=a[t]||(a[t]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],o=0,s=0;s<256;s++)e[t](s/255,!0,i),n[o++]=i[0],n[o++]=i[1],n[o++]=i[2],n[o++]=i[3];return n},r}();function C4(r,e,t){var a=r[1]-r[0];e=G(e,function(o){return{interval:[(o.interval[0]-r[0])/a,(o.interval[1]-r[0])/a]}});var n=e.length,i=0;return function(o){var s;for(s=i;s=0;s--){var l=e[s].interval;if(l[0]<=o&&o<=l[1]){i=s;break}}return s>=0&&s=e[0]&&a<=e[1]}}function QS(r){var e=r.dimensions;return e[0]==="lng"&&e[1]==="lat"}var M4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i;a.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===t&&(i=s)})}),this._progressiveEls=null,this.group.removeAll();var o=t.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):QS(o)&&this._renderOnGeo(o,t,i,n)},e.prototype.incrementalPrepareRender=function(t,a,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,a,n,i){var o=a.coordinateSystem;o&&(QS(o)?this.render(a,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(a,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){tn(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,a,n,i,o){var s=t.coordinateSystem,l=vi(s,"cartesian2d"),u,f,h,v;if(l){var c=s.getAxis("x"),p=s.getAxis("y");u=c.getBandWidth()+.5,f=p.getBandWidth()+.5,h=c.scale.getExtent(),v=p.scale.getExtent()}for(var d=this.group,g=t.getData(),y=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),_=t.getModel(["select","itemStyle"]).getItemStyle(),S=t.get(["itemStyle","borderRadius"]),b=ae(t),x=t.getModel("emphasis"),w=x.get("focus"),T=x.get("blurScope"),A=x.get("disabled"),D=l?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],M=n;Mh[1]||Rv[1])continue;var E=s.dataToPoint([P,R]);I=new bt({shape:{x:E[0]-u/2,y:E[1]-f/2,width:u,height:f},style:L})}else{if(isNaN(g.get(D[1],M)))continue;I=new bt({z2:1,shape:s.dataToRect([g.get(D[0],M)]).contentShape,style:L})}if(g.hasItemOption){var N=g.getItemModel(M),O=N.getModel("emphasis");y=O.getModel("itemStyle").getItemStyle(),m=N.getModel(["blur","itemStyle"]).getItemStyle(),_=N.getModel(["select","itemStyle"]).getItemStyle(),S=N.get(["itemStyle","borderRadius"]),w=O.get("focus"),T=O.get("blurScope"),A=O.get("disabled"),b=ae(N)}I.shape.r=S;var B=t.getRawValue(M),F="-";B&&B[2]!=null&&(F=B[2]+""),he(I,b,{labelFetcher:t,labelDataIndex:M,defaultOpacity:L.opacity,defaultText:F}),I.ensureState("emphasis").style=y,I.ensureState("blur").style=m,I.ensureState("select").style=_,Ht(I,w,T,A),I.incremental=o,o&&(I.states.emphasis.hoverLayer=!0),d.add(I),g.setItemGraphicEl(M,I),this._progressiveEls&&this._progressiveEls.push(I)}},e.prototype._renderOnGeo=function(t,a,n,i){var o=n.targetVisuals.inRange,s=n.targetVisuals.outOfRange,l=a.getData(),u=this._hmLayer||this._hmLayer||new A4;u.blurSize=a.get("blurSize"),u.pointSize=a.get("pointSize"),u.minOpacity=a.get("minOpacity"),u.maxOpacity=a.get("maxOpacity");var f=t.getViewRect().clone(),h=t.getRoamTransform();f.applyTransform(h);var v=Math.max(f.x,0),c=Math.max(f.y,0),p=Math.min(f.width+f.x,i.getWidth()),d=Math.min(f.height+f.y,i.getHeight()),g=p-v,y=d-c,m=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],_=l.mapArray(m,function(w,T,A){var D=t.dataToPoint([w,T]);return D[0]-=v,D[1]-=c,D.push(A),D}),S=n.getExtent(),b=n.type==="visualMap.continuous"?D4(S,n.option.range):C4(S,n.getPieceList(),n.option.selected);u.update(_,g,y,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},b);var x=new se({style:{width:g,height:y,x:v,y:c,image:u.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(Et),I4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.getInitialData=function(t,a){return ma(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=vl.get(this.get("coordinateSystem"));if(t&&t.dimensions)return t.dimensions[0]==="lng"&&t.dimensions[1]==="lat"},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Bt);function L4(r){r.registerChartView(M4),r.registerSeriesModel(I4)}var P4=["itemStyle","borderWidth"],JS=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],Oc=new ya,R4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group,o=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis(),f=u.isHorizontal(),h=l.master.getRect(),v={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:l,coordSysExtent:[[h.x,h.x+h.width],[h.y,h.y+h.height]],isHorizontal:f,valueDim:JS[+f],categoryDim:JS[1-+f]};o.diff(s).add(function(p){if(o.hasValue(p)){var d=tx(o,p),g=jS(o,p,d,v),y=ex(o,v,g);o.setItemGraphicEl(p,y),i.add(y),ax(y,v,g)}}).update(function(p,d){var g=s.getItemGraphicEl(d);if(!o.hasValue(p)){i.remove(g);return}var y=tx(o,p),m=jS(o,p,y,v),_=VM(o,m);g&&_!==g.__pictorialShapeStr&&(i.remove(g),o.setItemGraphicEl(p,null),g=null),g?z4(g,v,m):g=ex(o,v,m,!0),o.setItemGraphicEl(p,g),g.__pictorialSymbolMeta=m,i.add(g),ax(g,v,m)}).remove(function(p){var d=s.getItemGraphicEl(p);d&&rx(s,p,d.__pictorialSymbolMeta.animationModel,d)}).execute();var c=t.get("clip",!0)?_l(t.coordinateSystem,!1,t):null;return c?i.setClipPath(c):i.removeClipPath(),this._data=o,this.group},e.prototype.remove=function(t,a){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl(function(o){rx(i,nt(o).dataIndex,t,o)}):n.removeAll()},e.type="pictorialBar",e}(Et);function jS(r,e,t,a){var n=r.getItemLayout(e),i=t.get("symbolRepeat"),o=t.get("symbolClip"),s=t.get("symbolPosition")||"start",l=t.get("symbolRotate"),u=(l||0)*Math.PI/180||0,f=t.get("symbolPatternSize")||2,h=t.isAnimationEnabled(),v={dataIndex:e,layout:n,itemModel:t,symbolType:r.getItemVisual(e,"symbol")||"circle",style:r.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:t.get("symbolRepeatDirection"),symbolPatternSize:f,rotation:u,animationModel:h?t:null,hoverScale:h&&t.get(["emphasis","scale"]),z2:t.getShallow("z",!0)||0};E4(t,i,n,a,v),k4(r,e,n,i,o,v.boundingLength,v.pxSign,f,a,v),O4(t,v.symbolScale,u,a,v);var c=v.symbolSize,p=fi(t.get("symbolOffset"),c);return N4(t,c,n,i,o,p,s,v.valueLineWidth,v.boundingLength,v.repeatCutLength,a,v),v}function E4(r,e,t,a,n){var i=a.valueDim,o=r.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(t[i.wh]<=0),f;if(z(o)){var h=[Nc(s,o[0])-l,Nc(s,o[1])-l];h[1]0?1:-1}function Nc(r,e){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(e)))}function k4(r,e,t,a,n,i,o,s,l,u){var f=l.valueDim,h=l.categoryDim,v=Math.abs(t[h.wh]),c=r.getItemVisual(e,"symbolSize"),p;z(c)?p=c.slice():c==null?p=["100%","100%"]:p=[c,c],p[h.index]=W(p[h.index],v),p[f.index]=W(p[f.index],a?v:Math.abs(i)),u.symbolSize=p;var d=u.symbolScale=[p[0]/s,p[1]/s];d[f.index]*=(l.isHorizontal?-1:1)*o}function O4(r,e,t,a,n){var i=r.get(P4)||0;i&&(Oc.attr({scaleX:e[0],scaleY:e[1],rotation:t}),Oc.updateTransform(),i/=Oc.getLineScale(),i*=e[a.valueDim.index]),n.valueLineWidth=i||0}function N4(r,e,t,a,n,i,o,s,l,u,f,h){var v=f.categoryDim,c=f.valueDim,p=h.pxSign,d=Math.max(e[c.index]+s,0),g=d;if(a){var y=Math.abs(l),m=oe(r.get("symbolMargin"),"15%")+"",_=!1;m.lastIndexOf("!")===m.length-1&&(_=!0,m=m.slice(0,m.length-1));var S=W(m,e[c.index]),b=Math.max(d+S*2,0),x=_?0:S*2,w=Yw(a),T=w?a:nx((y+x)/b),A=y-T*d;S=A/2/(_?T:Math.max(T-1,1)),b=d+S*2,x=_?0:S*2,!w&&a!=="fixed"&&(T=u?nx((Math.abs(u)+x)/b):0),g=T*b-x,h.repeatTimes=T,h.symbolMargin=S}var D=p*(g/2),M=h.pathPosition=[];M[v.index]=t[v.wh]/2,M[c.index]=o==="start"?D:o==="end"?l-D:l/2,i&&(M[0]+=i[0],M[1]+=i[1]);var I=h.bundlePosition=[];I[v.index]=t[v.xy],I[c.index]=t[c.xy];var L=h.barRectShape=V({},t);L[c.wh]=p*Math.max(Math.abs(t[c.wh]),Math.abs(M[c.index]+D)),L[v.wh]=t[v.wh];var P=h.clipShape={};P[v.xy]=-t[v.xy],P[v.wh]=f.ecSize[v.wh],P[c.xy]=0,P[c.wh]=t[c.wh]}function EM(r){var e=r.symbolPatternSize,t=qt(r.symbolType,-e/2,-e/2,e,e);return t.attr({culling:!0}),t.type!=="image"&&t.setStyle({strokeNoScale:!0}),t}function kM(r,e,t,a){var n=r.__pictorialBundle,i=t.symbolSize,o=t.valueLineWidth,s=t.pathPosition,l=e.valueDim,u=t.repeatTimes||0,f=0,h=i[e.valueDim.index]+o+t.symbolMargin*2;for(Ly(r,function(d){d.__pictorialAnimationIndex=f,d.__pictorialRepeatTimes=u,f0:y<0)&&(m=u-1-d),g[l.index]=h*(m-u/2+.5)+s[l.index],{x:g[0],y:g[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation}}}function OM(r,e,t,a){var n=r.__pictorialBundle,i=r.__pictorialMainPath;i?Qi(i,null,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:t.symbolScale[0],scaleY:t.symbolScale[1],rotation:t.rotation},t,a):(i=r.__pictorialMainPath=EM(t),n.add(i),Qi(i,{x:t.pathPosition[0],y:t.pathPosition[1],scaleX:0,scaleY:0,rotation:t.rotation},{scaleX:t.symbolScale[0],scaleY:t.symbolScale[1]},t,a))}function NM(r,e,t){var a=V({},e.barRectShape),n=r.__pictorialBarRect;n?Qi(n,null,{shape:a},e,t):(n=r.__pictorialBarRect=new bt({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),n.disableMorphing=!0,r.add(n))}function BM(r,e,t,a){if(t.symbolClip){var n=r.__pictorialClipPath,i=V({},t.clipShape),o=e.valueDim,s=t.animationModel,l=t.dataIndex;if(n)Dt(n,{shape:i},s,l);else{i[o.wh]=0,n=new bt({shape:i}),r.__pictorialBundle.setClipPath(n),r.__pictorialClipPath=n;var u={};u[o.wh]=t.clipShape[o.wh],ui[a?"updateProps":"initProps"](n,{shape:u},s,l)}}}function tx(r,e){var t=r.getItemModel(e);return t.getAnimationDelayParams=B4,t.isAnimationEnabled=V4,t}function B4(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function V4(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function ex(r,e,t,a){var n=new at,i=new at;return n.add(i),n.__pictorialBundle=i,i.x=t.bundlePosition[0],i.y=t.bundlePosition[1],t.symbolRepeat?kM(n,e,t):OM(n,e,t),NM(n,t,a),BM(n,e,t,a),n.__pictorialShapeStr=VM(r,t),n.__pictorialSymbolMeta=t,n}function z4(r,e,t){var a=t.animationModel,n=t.dataIndex,i=r.__pictorialBundle;Dt(i,{x:t.bundlePosition[0],y:t.bundlePosition[1]},a,n),t.symbolRepeat?kM(r,e,t,!0):OM(r,e,t,!0),NM(r,t,!0),BM(r,e,t,!0)}function rx(r,e,t,a){var n=a.__pictorialBarRect;n&&n.removeTextContent();var i=[];Ly(a,function(o){i.push(o)}),a.__pictorialMainPath&&i.push(a.__pictorialMainPath),a.__pictorialClipPath&&(t=null),C(i,function(o){qa(o,{scaleX:0,scaleY:0},t,e,function(){a.parent&&a.parent.remove(a)})}),r.setItemGraphicEl(e,null)}function VM(r,e){return[r.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function Ly(r,e,t){C(r.__pictorialBundle.children(),function(a){a!==r.__pictorialBarRect&&e.call(t,a)})}function Qi(r,e,t,a,n,i){e&&r.attr(e),a.symbolClip&&!n?t&&r.attr(t):t&&ui[n?"updateProps":"initProps"](r,t,a.animationModel,a.dataIndex,i)}function ax(r,e,t){var a=t.dataIndex,n=t.itemModel,i=n.getModel("emphasis"),o=i.getModel("itemStyle").getItemStyle(),s=n.getModel(["blur","itemStyle"]).getItemStyle(),l=n.getModel(["select","itemStyle"]).getItemStyle(),u=n.getShallow("cursor"),f=i.get("focus"),h=i.get("blurScope"),v=i.get("scale");Ly(r,function(d){if(d instanceof se){var g=d.style;d.useStyle(V({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},t.style))}else d.useStyle(t.style);var y=d.ensureState("emphasis");y.style=o,v&&(y.scaleX=d.scaleX*1.1,y.scaleY=d.scaleY*1.1),d.ensureState("blur").style=s,d.ensureState("select").style=l,u&&(d.cursor=u),d.z2=t.z2});var c=e.valueDim.posDesc[+(t.boundingLength>0)],p=r.__pictorialBarRect;p.ignoreClip=!0,he(p,ae(n),{labelFetcher:e.seriesModel,labelDataIndex:a,defaultText:no(e.seriesModel.getData(),a),inheritColor:t.style.fill,defaultOpacity:t.style.opacity,defaultOutsidePosition:c}),Ht(r,f,h,i.get("disabled"))}function nx(r){var e=Math.round(r);return Math.abs(r-e)<1e-4?e:Math.ceil(r)}var G4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.hasSymbolVisual=!0,t.defaultSymbol="roundRect",t}return e.prototype.getInitialData=function(t){return t.stack=null,r.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=en($s.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}($s);function F4(r){r.registerChartView(R4),r.registerSeriesModel(G4),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,ot(bC,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,wC("pictorialBar"))}var H4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._layers=[],t}return e.prototype.render=function(t,a,n){var i=t.getData(),o=this,s=this.group,l=t.getLayerSeries(),u=i.getLayout("layoutInfo"),f=u.rect,h=u.boundaryGap;s.x=0,s.y=f.y+h[0];function v(g){return g.name}var c=new va(this._layersSeries||[],l,v,v),p=[];c.add(Y(d,this,"add")).update(Y(d,this,"update")).remove(Y(d,this,"remove")).execute();function d(g,y,m){var _=o._layers;if(g==="remove"){s.remove(_[y]);return}for(var S=[],b=[],x,w=l[y].indices,T=0;Ti&&(i=s),a.push(s)}for(var u=0;ui&&(i=h)}return{y0:n,max:i}}function $4(r){r.registerChartView(H4),r.registerSeriesModel(U4),r.registerLayout(Y4),r.registerProcessor(xl("themeRiver"))}var Z4=2,q4=4,ox=function(r){k(e,r);function e(t,a,n,i){var o=r.call(this)||this;o.z2=Z4,o.textConfig={inside:!0},nt(o).seriesIndex=a.seriesIndex;var s=new Tt({z2:q4,silent:t.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,t,a,n,i),o}return e.prototype.updateData=function(t,a,n,i,o){this.node=a,a.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var s=this;nt(s).dataIndex=a.dataIndex;var l=a.getModel(),u=l.getModel("emphasis"),f=a.getLayout(),h=V({},f);h.label=null;var v=a.getVisual("style");v.lineJoin="bevel";var c=a.getVisual("decal");c&&(v.decal=ro(c,o));var p=Un(l.getModel("itemStyle"),h,!0);V(h,p),C(Me,function(m){var _=s.ensureState(m),S=l.getModel([m,"itemStyle"]);_.style=S.getItemStyle();var b=Un(S,h);b&&(_.shape=b)}),t?(s.setShape(h),s.shape.r=f.r0,Vt(s,{shape:{r:f.r}},n,a.dataIndex)):(Dt(s,{shape:h},n),br(s)),s.useStyle(v),this._updateLabel(n);var d=l.getShallow("cursor");d&&s.attr("cursor",d),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var g=u.get("focus"),y=g==="ancestor"?a.getAncestorsIndices():g==="descendant"?a.getDescendantIndices():g;Ht(this,y,u.get("blurScope"),u.get("disabled"))},e.prototype._updateLabel=function(t){var a=this,n=this.node.getModel(),i=n.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,l=(o.startAngle+o.endAngle)/2,u=Math.cos(l),f=Math.sin(l),h=this,v=h.getTextContent(),c=this.node.dataIndex,p=i.get("minAngle")/180*Math.PI,d=i.get("show")&&!(p!=null&&Math.abs(s)P&&!Es(E-P)&&E0?(o.virtualPiece?o.virtualPiece.updateData(!1,m,t,a,n):(o.virtualPiece=new ox(m,t,a,n),f.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(S){o._rootToNode(_.parentNode)})):o.virtualPiece&&(f.remove(o.virtualPiece),o.virtualPiece=null)}},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(a){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode(function(o){if(!n&&o.piece&&o.piece===a.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")t._rootToNode(o);else if(s==="link"){var l=o.getModel(),u=l.get("link");if(u){var f=l.get("target",!0)||"_blank";mf(u,f)}}n=!0}})})},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:Ld,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,a){var n=a.getData(),i=n.getItemLayout(0);if(i){var o=t[0]-i.cx,s=t[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},e.type="sunburst",e}(Et),j4=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.ignoreStyleOnData=!0,t}return e.prototype.getInitialData=function(t,a){var n={name:t.name,children:t.data};zM(n);var i=this._levelModels=G(t.levels||[],function(l){return new It(l,this,a)},this),o=dy.createTree(n,this,s);function s(l){l.wrapMethod("getItemModel",function(u,f){var h=o.getNodeByDataIndex(f),v=i[h.depth];return v&&(u.parentModel=v),u})}return o.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(t){var a=r.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return a.treePathInfo=Ph(n,this),a},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var a=this.getRawData().tree.root;(!t||t!==a&&!a.contains(t))&&(this._viewRoot=a)},e.prototype.enableAriaDecal=function(){UD(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Bt);function zM(r){var e=0;C(r.children,function(a){zM(a);var n=a.value;z(n)&&(n=n[0]),e+=n});var t=r.value;z(t)&&(t=t[0]),(t==null||isNaN(t))&&(t=e),t<0&&(t=0),z(r.value)?r.value[0]=t:r.value=t}var lx=Math.PI/180;function tH(r,e,t){e.eachSeriesByType(r,function(a){var n=a.get("center"),i=a.get("radius");z(i)||(i=[0,i]),z(n)||(n=[n,n]);var o=t.getWidth(),s=t.getHeight(),l=Math.min(o,s),u=W(n[0],o),f=W(n[1],s),h=W(i[0],l/2),v=W(i[1],l/2),c=-a.get("startAngle")*lx,p=a.get("minAngle")*lx,d=a.getData().tree.root,g=a.getViewRoot(),y=g.depth,m=a.get("sort");m!=null&&GM(g,m);var _=0;C(g.children,function(E){!isNaN(E.getValue())&&_++});var S=g.getValue(),b=Math.PI/(S||_)*2,x=g.depth>0,w=g.height-(x?-1:1),T=(v-h)/(w||1),A=a.get("clockwise"),D=a.get("stillShowZeroSum"),M=A?1:-1,I=function(E,N){if(E){var O=N;if(E!==d){var B=E.getValue(),F=S===0&&D?b:B*b;F1;)o=o.parentNode;var s=n.getColorFromPalette(o.name||o.dataIndex+"",e);return a.depth>1&&U(s)&&(s=_p(s,(a.depth-1)/(i-1)*.5)),s}r.eachSeriesByType("sunburst",function(a){var n=a.getData(),i=n.tree;i.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=t(o,a,i.root.height));var u=n.ensureUniqueItemVisual(o.dataIndex,"style");V(u,l)})})}function aH(r){r.registerChartView(J4),r.registerSeriesModel(j4),r.registerLayout(ot(tH,"sunburst")),r.registerProcessor(ot(xl,"sunburst")),r.registerVisual(rH),Q4(r)}var ux={color:"fill",borderColor:"stroke"},nH={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},oa=At(),iH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,a){return ma(null,this)},e.prototype.getDataParams=function(t,a,n){var i=r.prototype.getDataParams.call(this,t,a);return n&&(i.info=oa(n).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Bt);function oH(r,e){return e=e||[0,0],G(["x","y"],function(t,a){var n=this.getAxis(t),i=e[a],o=r[a]/2;return n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(i-o)-n.dataToCoord(i+o))},this)}function sH(r){var e=r.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return r.dataToPoint(t)},size:Y(oH,r)}}}function lH(r,e){return e=e||[0,0],G([0,1],function(t){var a=e[t],n=r[t]/2,i=[],o=[];return i[t]=a-n,o[t]=a+n,i[1-t]=o[1-t]=e[1-t],Math.abs(this.dataToPoint(i)[t]-this.dataToPoint(o)[t])},this)}function uH(r){var e=r.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:r.getZoom()},api:{coord:function(t){return r.dataToPoint(t)},size:Y(lH,r)}}}function fH(r,e){var t=this.getAxis(),a=e instanceof Array?e[0]:e,n=(r instanceof Array?r[0]:r)/2;return t.type==="category"?t.getBandWidth():Math.abs(t.dataToCoord(a-n)-t.dataToCoord(a+n))}function hH(r){var e=r.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(t){return r.dataToPoint(t)},size:Y(fH,r)}}}function vH(r,e){return e=e||[0,0],G(["Radius","Angle"],function(t,a){var n="get"+t+"Axis",i=this[n](),o=e[a],s=r[a]/2,l=i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-s)-i.dataToCoord(o+s));return t==="Angle"&&(l=l*Math.PI/180),l},this)}function cH(r){var e=r.getRadiusAxis(),t=r.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:a[1],r0:a[0]},api:{coord:function(n){var i=e.dataToRadius(n[0]),o=t.dataToAngle(n[1]),s=r.coordToPoint([i,o]);return s.push(i,o*Math.PI/180),s},size:Y(vH,r)}}}function pH(r){var e=r.getRect(),t=r.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:t.start,end:t.end,weeks:t.weeks,dayCount:t.allDay}},api:{coord:function(a,n){return r.dataToPoint(a,n)}}}}function FM(r,e,t,a){return r&&(r.legacy||r.legacy!==!1&&!t&&!a&&e!=="tspan"&&(e==="text"||X(r,"text")))}function HM(r,e,t){var a=r,n,i,o;if(e==="text")o=a;else{o={},X(a,"text")&&(o.text=a.text),X(a,"rich")&&(o.rich=a.rich),X(a,"textFill")&&(o.fill=a.textFill),X(a,"textStroke")&&(o.stroke=a.textStroke),X(a,"fontFamily")&&(o.fontFamily=a.fontFamily),X(a,"fontSize")&&(o.fontSize=a.fontSize),X(a,"fontStyle")&&(o.fontStyle=a.fontStyle),X(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},n={};var s=X(a,"textPosition");t?n.position=s?a.textPosition:"inside":s&&(n.position=a.textPosition),X(a,"textPosition")&&(n.position=a.textPosition),X(a,"textOffset")&&(n.offset=a.textOffset),X(a,"textRotation")&&(n.rotation=a.textRotation),X(a,"textDistance")&&(n.distance=a.textDistance)}return fx(o,r),C(o.rich,function(l){fx(l,l)}),{textConfig:n,textContent:i}}function fx(r,e){e&&(e.font=e.textFont||e.font,X(e,"textStrokeWidth")&&(r.lineWidth=e.textStrokeWidth),X(e,"textAlign")&&(r.align=e.textAlign),X(e,"textVerticalAlign")&&(r.verticalAlign=e.textVerticalAlign),X(e,"textLineHeight")&&(r.lineHeight=e.textLineHeight),X(e,"textWidth")&&(r.width=e.textWidth),X(e,"textHeight")&&(r.height=e.textHeight),X(e,"textBackgroundColor")&&(r.backgroundColor=e.textBackgroundColor),X(e,"textPadding")&&(r.padding=e.textPadding),X(e,"textBorderColor")&&(r.borderColor=e.textBorderColor),X(e,"textBorderWidth")&&(r.borderWidth=e.textBorderWidth),X(e,"textBorderRadius")&&(r.borderRadius=e.textBorderRadius),X(e,"textBoxShadowColor")&&(r.shadowColor=e.textBoxShadowColor),X(e,"textBoxShadowBlur")&&(r.shadowBlur=e.textBoxShadowBlur),X(e,"textBoxShadowOffsetX")&&(r.shadowOffsetX=e.textBoxShadowOffsetX),X(e,"textBoxShadowOffsetY")&&(r.shadowOffsetY=e.textBoxShadowOffsetY))}function hx(r,e,t){var a=r;a.textPosition=a.textPosition||t.position||"inside",t.offset!=null&&(a.textOffset=t.offset),t.rotation!=null&&(a.textRotation=t.rotation),t.distance!=null&&(a.textDistance=t.distance);var n=a.textPosition.indexOf("inside")>=0,i=r.fill||"#000";vx(a,e);var o=a.textFill==null;return n?o&&(a.textFill=t.insideFill||"#fff",!a.textStroke&&t.insideStroke&&(a.textStroke=t.insideStroke),!a.textStroke&&(a.textStroke=i),a.textStrokeWidth==null&&(a.textStrokeWidth=2)):(o&&(a.textFill=r.fill||t.outsideFill||"#000"),!a.textStroke&&t.outsideStroke&&(a.textStroke=t.outsideStroke)),a.text=e.text,a.rich=e.rich,C(e.rich,function(s){vx(s,s)}),a}function vx(r,e){e&&(X(e,"fill")&&(r.textFill=e.fill),X(e,"stroke")&&(r.textStroke=e.fill),X(e,"lineWidth")&&(r.textStrokeWidth=e.lineWidth),X(e,"font")&&(r.font=e.font),X(e,"fontStyle")&&(r.fontStyle=e.fontStyle),X(e,"fontWeight")&&(r.fontWeight=e.fontWeight),X(e,"fontSize")&&(r.fontSize=e.fontSize),X(e,"fontFamily")&&(r.fontFamily=e.fontFamily),X(e,"align")&&(r.textAlign=e.align),X(e,"verticalAlign")&&(r.textVerticalAlign=e.verticalAlign),X(e,"lineHeight")&&(r.textLineHeight=e.lineHeight),X(e,"width")&&(r.textWidth=e.width),X(e,"height")&&(r.textHeight=e.height),X(e,"backgroundColor")&&(r.textBackgroundColor=e.backgroundColor),X(e,"padding")&&(r.textPadding=e.padding),X(e,"borderColor")&&(r.textBorderColor=e.borderColor),X(e,"borderWidth")&&(r.textBorderWidth=e.borderWidth),X(e,"borderRadius")&&(r.textBorderRadius=e.borderRadius),X(e,"shadowColor")&&(r.textBoxShadowColor=e.shadowColor),X(e,"shadowBlur")&&(r.textBoxShadowBlur=e.shadowBlur),X(e,"shadowOffsetX")&&(r.textBoxShadowOffsetX=e.shadowOffsetX),X(e,"shadowOffsetY")&&(r.textBoxShadowOffsetY=e.shadowOffsetY),X(e,"textShadowColor")&&(r.textShadowColor=e.textShadowColor),X(e,"textShadowBlur")&&(r.textShadowBlur=e.textShadowBlur),X(e,"textShadowOffsetX")&&(r.textShadowOffsetX=e.textShadowOffsetX),X(e,"textShadowOffsetY")&&(r.textShadowOffsetY=e.textShadowOffsetY))}var WM={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},cx=St(WM);Fr(Wr,function(r,e){return r[e]=1,r},{});Wr.join(", ");var Vf=["","style","shape","extra"],so=At();function Py(r,e,t,a,n){var i=r+"Animation",o=po(r,a,n)||{},s=so(e).userDuring;return o.duration>0&&(o.during=s?Y(_H,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=r),V(o,t[i]),o}function qu(r,e,t,a){a=a||{};var n=a.dataIndex,i=a.isInit,o=a.clearStyle,s=t.isAnimationEnabled(),l=so(r),u=e.style;l.userDuring=e.during;var f={},h={};if(xH(r,e,h),dx("shape",e,h),dx("extra",e,h),!i&&s&&(SH(r,e,f),px("shape",r,e,f),px("extra",r,e,f),bH(r,e,u,f)),h.style=u,dH(r,h,o),yH(r,e),s)if(i){var v={};C(Vf,function(p){var d=p?e[p]:e;d&&d.enterFrom&&(p&&(v[p]=v[p]||{}),V(p?v[p]:v,d.enterFrom))});var c=Py("enter",r,e,t,n);c.duration>0&&r.animateFrom(v,c)}else gH(r,e,n||0,t,f);UM(r,e),u?r.dirty():r.markRedraw()}function UM(r,e){for(var t=so(r).leaveToProps,a=0;a0&&r.animateFrom(n,i)}}function yH(r,e){X(e,"silent")&&(r.silent=e.silent),X(e,"ignore")&&(r.ignore=e.ignore),r instanceof sr&&X(e,"invisible")&&(r.invisible=e.invisible),r instanceof yt&&X(e,"autoBatch")&&(r.autoBatch=e.autoBatch)}var Lr={},mH={setTransform:function(r,e){return Lr.el[r]=e,this},getTransform:function(r){return Lr.el[r]},setShape:function(r,e){var t=Lr.el,a=t.shape||(t.shape={});return a[r]=e,t.dirtyShape&&t.dirtyShape(),this},getShape:function(r){var e=Lr.el.shape;if(e)return e[r]},setStyle:function(r,e){var t=Lr.el,a=t.style;return a&&(a[r]=e,t.dirtyStyle&&t.dirtyStyle()),this},getStyle:function(r){var e=Lr.el.style;if(e)return e[r]},setExtra:function(r,e){var t=Lr.el.extra||(Lr.el.extra={});return t[r]=e,this},getExtra:function(r){var e=Lr.el.extra;if(e)return e[r]}};function _H(){var r=this,e=r.el;if(e){var t=so(e).userDuring,a=r.userDuring;if(t!==a){r.el=r.userDuring=null;return}Lr.el=e,a(mH)}}function px(r,e,t,a){var n=t[r];if(n){var i=e[r],o;if(i){var s=t.transition,l=n.transition;if(l)if(!o&&(o=a[r]={}),jn(l))V(o,i);else for(var u=Rt(l),f=0;f=0){!o&&(o=a[r]={});for(var c=St(i),f=0;f=0)){var v=r.getAnimationStyleProps(),c=v?v.style:null;if(c){!i&&(i=a.style={});for(var p=St(t),u=0;u=0?e.getStore().get(N,R):void 0}var O=e.get(E.name,R),B=E&&E.ordinalMeta;return B?B.categories[O]:O}function x(P,R){R==null&&(R=u);var E=e.getItemVisual(R,"style"),N=E&&E.fill,O=E&&E.opacity,B=m(R,Ga).getItemStyle();N!=null&&(B.fill=N),O!=null&&(B.opacity=O);var F={inheritColor:U(N)?N:"#000"},H=_(R,Ga),Z=Nt(H,null,F,!1,!0);Z.text=H.getShallow("show")?it(r.getFormattedLabel(R,Ga),no(e,R)):null;var Q=gf(H,F,!1);return A(P,B),B=hx(B,Z,Q),P&&T(B,P),B.legacy=!0,B}function w(P,R){R==null&&(R=u);var E=m(R,sa).getItemStyle(),N=_(R,sa),O=Nt(N,null,null,!0,!0);O.text=N.getShallow("show")?zr(r.getFormattedLabel(R,sa),r.getFormattedLabel(R,Ga),no(e,R)):null;var B=gf(N,null,!0);return A(P,E),E=hx(E,O,B),P&&T(E,P),E.legacy=!0,E}function T(P,R){for(var E in R)X(R,E)&&(P[E]=R[E])}function A(P,R){P&&(P.textFill&&(R.textFill=P.textFill),P.textPosition&&(R.textPosition=P.textPosition))}function D(P,R){if(R==null&&(R=u),X(ux,P)){var E=e.getItemVisual(R,"style");return E?E[ux[P]]:null}if(X(nH,P))return e.getItemVisual(R,P)}function M(P){if(i.type==="cartesian2d"){var R=i.getBaseAxis();return xN(j({axis:R},P))}}function I(){return t.getCurrentSeriesIndices()}function L(P){return wg(P,t)}}function RH(r){var e={};return C(r.dimensions,function(t){var a=r.getDimensionInfo(t);if(!a.isExtraCoord){var n=a.coordDim,i=e[n]=e[n]||[];i[a.coordDimIndex]=r.getDimensionIndex(t)}}),e}function Gc(r,e,t,a,n,i,o){if(!a){i.remove(e);return}var s=Ny(r,e,t,a,n,i);return s&&o.setItemGraphicEl(t,s),s&&Ht(s,a.focus,a.blurScope,a.emphasisDisabled),s}function Ny(r,e,t,a,n,i){var o=-1,s=e;e&&ZM(e,a,n)&&(o=vt(i.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=ky(a),s&&MH(s,u)),a.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),qe.normal.cfg=qe.normal.conOpt=qe.emphasis.cfg=qe.emphasis.conOpt=qe.blur.cfg=qe.blur.conOpt=qe.select.cfg=qe.select.conOpt=null,qe.isLegacy=!1,kH(u,t,a,n,l,qe),EH(u,t,a,n,l),Oy(r,u,t,a,qe,n,l),X(a,"info")&&(oa(u).info=a.info);for(var f=0;f=0?i.replaceAt(u,o):i.add(u),u}function ZM(r,e,t){var a=oa(r),n=e.type,i=e.shape,o=e.style;return t.isUniversalTransitionEnabled()||n!=null&&n!==a.customGraphicType||n==="path"&&zH(i)&&qM(i)!==a.customPathData||n==="image"&&X(o,"image")&&o.image!==a.customImagePath}function EH(r,e,t,a,n){var i=t.clipPath;if(i===!1)r&&r.getClipPath()&&r.removeClipPath();else if(i){var o=r.getClipPath();o&&ZM(o,i,a)&&(o=null),o||(o=ky(i),r.setClipPath(o)),Oy(null,o,e,i,null,a,n)}}function kH(r,e,t,a,n,i){if(!r.isGroup){yx(t,null,i),yx(t,sa,i);var o=i.normal.conOpt,s=i.emphasis.conOpt,l=i.blur.conOpt,u=i.select.conOpt;if(o!=null||s!=null||u!=null||l!=null){var f=r.getTextContent();if(o===!1)f&&r.removeTextContent();else{o=i.normal.conOpt=o||{type:"text"},f?f.clearStates():(f=ky(o),r.setTextContent(f)),Oy(null,f,e,o,null,a,n);for(var h=o&&o.style,v=0;v=f;c--){var p=e.childAt(c);NH(e,p,n)}}}function NH(r,e,t){e&&kh(e,oa(r).option,t)}function BH(r){new va(r.oldChildren,r.newChildren,mx,mx,r).add(_x).update(_x).remove(VH).execute()}function mx(r,e){var t=r&&r.name;return t??CH+e}function _x(r,e){var t=this.context,a=r!=null?t.newChildren[r]:null,n=e!=null?t.oldChildren[e]:null;Ny(t.api,n,t.dataIndex,a,t.seriesModel,t.group)}function VH(r){var e=this.context,t=e.oldChildren[r];t&&kh(t,oa(t).option,e.seriesModel)}function qM(r){return r&&(r.pathData||r.d)}function zH(r){return r&&(X(r,"pathData")||X(r,"d"))}function GH(r){r.registerChartView(IH),r.registerSeriesModel(iH)}var On=At(),Sx=rt,Fc=Y,Vy=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(e,t,a,n){var i=t.get("value"),o=t.get("status");if(this._axisModel=e,this._axisPointerModel=t,this._api=a,!(!n&&this._lastValue===i&&this._lastStatus===o)){this._lastValue=i,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,i,e,t,a);var f=u.graphicKey;f!==this._lastGraphicKey&&this.clear(a),this._lastGraphicKey=f;var h=this._moveAnimation=this.determineAnimation(e,t);if(!s)s=this._group=new at,this.createPointerEl(s,u,e,t),this.createLabelEl(s,u,e,t),a.getZr().add(s);else{var v=ot(xx,t,h);this.updatePointerEl(s,u,v),this.updateLabelEl(s,u,v,t)}Tx(s,t,!0),this._renderHandle(i)}},r.prototype.remove=function(e){this.clear(e)},r.prototype.dispose=function(e){this.clear(e)},r.prototype.determineAnimation=function(e,t){var a=t.get("animation"),n=e.axis,i=n.type==="category",o=t.get("snap");if(!o&&!i)return!1;if(a==="auto"||a==null){var s=this.animationThreshold;if(i&&n.getBandWidth()>s)return!0;if(o){var l=ly(e).seriesDataCount,u=n.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return a===!0},r.prototype.makeElOption=function(e,t,a,n,i){},r.prototype.createPointerEl=function(e,t,a,n){var i=t.pointer;if(i){var o=On(e).pointerEl=new ui[i.type](Sx(t.pointer));e.add(o)}},r.prototype.createLabelEl=function(e,t,a,n){if(t.label){var i=On(e).labelEl=new Tt(Sx(t.label));e.add(i),bx(i,n)}},r.prototype.updatePointerEl=function(e,t,a){var n=On(e).pointerEl;n&&t.pointer&&(n.setStyle(t.pointer.style),a(n,{shape:t.pointer.shape}))},r.prototype.updateLabelEl=function(e,t,a,n){var i=On(e).labelEl;i&&(i.setStyle(t.label.style),a(i,{x:t.label.x,y:t.label.y}),bx(i,n))},r.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var t=this._axisPointerModel,a=this._api.getZr(),n=this._handle,i=t.getModel("handle"),o=t.get("status");if(!i.get("show")||!o||o==="hide"){n&&a.remove(n),this._handle=null;return}var s;this._handle||(s=!0,n=this._handle=hl(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){la(u.event)},onmousedown:Fc(this._onHandleDragMove,this,0,0),drift:Fc(this._onHandleDragMove,this),ondragend:Fc(this._onHandleDragEnd,this)}),a.add(n)),Tx(n,t,!1),n.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");z(l)||(l=[l,l]),n.scaleX=l[0]/2,n.scaleY=l[1]/2,wo(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},r.prototype._moveHandleToValue=function(e,t){xx(this._axisPointerModel,!t&&this._moveAnimation,this._handle,Hc(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(e,t){var a=this._handle;if(a){this._dragging=!0;var n=this.updateHandleTransform(Hc(a),[e,t],this._axisModel,this._axisPointerModel);this._payloadInfo=n,a.stopAnimation(),a.attr(Hc(n)),On(a).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var t=this._payloadInfo,a=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:a.axis.dim,axisIndex:a.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var t=e.getZr(),a=this._group,n=this._handle;t&&a&&(this._lastGraphicKey=null,a&&t.remove(a),n&&t.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Fs(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(e,t,a){return a=a||0,{x:e[a],y:e[1-a],width:t[a],height:t[1-a]}},r}();function xx(r,e,t,a){KM(On(t).lastProp,a)||(On(t).lastProp=a,e?Dt(t,a,r):(t.stopAnimation(),t.attr(a)))}function KM(r,e){if(tt(r)&&tt(e)){var t=!0;return C(e,function(a,n){t=t&&KM(r[n],a)}),!!t}else return r===e}function bx(r,e){r[e.get(["label","show"])?"show":"hide"]()}function Hc(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function Tx(r,e,t){var a=e.get("z"),n=e.get("zlevel");r&&r.traverse(function(i){i.type!=="group"&&(a!=null&&(i.z=a),n!=null&&(i.zlevel=n),i.silent=t)})}function zy(r){var e=r.get("type"),t=r.getModel(e+"Style"),a;return e==="line"?(a=t.getLineStyle(),a.fill=null):e==="shadow"&&(a=t.getAreaStyle(),a.stroke=null),a}function QM(r,e,t,a,n){var i=t.get("value"),o=JM(i,e.axis,e.ecModel,t.get("seriesDataIndices"),{precision:t.get(["label","precision"]),formatter:t.get(["label","formatter"])}),s=t.getModel("label"),l=_o(s.get("padding")||0),u=s.getFont(),f=nl(o,u),h=n.position,v=f.width+l[1]+l[3],c=f.height+l[0]+l[2],p=n.align;p==="right"&&(h[0]-=v),p==="center"&&(h[0]-=v/2);var d=n.verticalAlign;d==="bottom"&&(h[1]-=c),d==="middle"&&(h[1]-=c/2),FH(h,v,c,a);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),r.label={x:h[0],y:h[1],style:Nt(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function FH(r,e,t,a){var n=a.getWidth(),i=a.getHeight();r[0]=Math.min(r[0]+e,n)-e,r[1]=Math.min(r[1]+t,i)-t,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function JM(r,e,t,a,n){r=e.scale.parse(r);var i=e.scale.getLabel({value:r},{precision:n.precision}),o=n.formatter;if(o){var s={value:Qg(e,{value:r}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};C(a,function(l){var u=t.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,h=u&&u.getDataParams(f);h&&s.seriesData.push(h)}),U(o)?i=o.replace("{value}",i):K(o)&&(i=o(s))}return i}function Gy(r,e,t){var a=We();return li(a,a,t.rotation),Hr(a,a,t.position),Sr([r.dataToCoord(e),(t.labelOffset||0)+(t.labelDirection||1)*(t.labelMargin||0)],a)}function jM(r,e,t,a,n,i){var o=Ce.innerTextLayout(t.rotation,0,t.labelDirection);t.labelMargin=n.get(["label","margin"]),QM(e,a,n,i,{position:Gy(a.axis,r,t),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function Fy(r,e,t){return t=t||0,{x1:r[t],y1:r[1-t],x2:e[t],y2:e[1-t]}}function t2(r,e,t){return t=t||0,{x:r[t],y:r[1-t],width:e[t],height:e[1-t]}}function Ax(r,e,t,a,n,i){return{cx:r,cy:e,r0:t,r:a,startAngle:n,endAngle:i,clockwise:!0}}var HH=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis,l=s.grid,u=i.get("type"),f=Cx(l,s).getOtherAxis(s).getGlobalExtent(),h=s.toGlobalCoord(s.dataToCoord(a,!0));if(u&&u!=="none"){var v=zy(i),c=WH[u](s,h,f);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=cd(l.model,n);jM(a,t,p,n,i,o)},e.prototype.getHandleTransform=function(t,a,n){var i=cd(a.axis.grid.model,a,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var o=Gy(a.axis,t,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,a,n,i){var o=n.axis,s=o.grid,l=o.getGlobalExtent(!0),u=Cx(s,o).getOtherAxis(o).getGlobalExtent(),f=o.dim==="x"?0:1,h=[t.x,t.y];h[f]+=a[f],h[f]=Math.min(l[1],h[f]),h[f]=Math.max(l[0],h[f]);var v=(u[1]+u[0])/2,c=[v,v];c[f]=h[f];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:h[0],y:h[1],rotation:t.rotation,cursorPoint:c,tooltipOption:p[f]}},e}(Vy);function Cx(r,e){var t={};return t[e.dim+"AxisIndex"]=e.index,r.getCartesian(t)}var WH={line:function(r,e,t){var a=Fy([e,t[0]],[e,t[1]],Dx(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,e,t){var a=Math.max(1,r.getBandWidth()),n=t[1]-t[0];return{type:"Rect",shape:t2([e-a/2,t[0]],[a,n],Dx(r))}}};function Dx(r){return r.dim==="x"?0:1}var UH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(_t),ra=At(),YH=C;function e2(r,e,t){if(!mt.node){var a=e.getZr();ra(a).records||(ra(a).records={}),XH(a,e);var n=ra(a).records[r]||(ra(a).records[r]={});n.handler=t}}function XH(r,e){if(ra(r).initialized)return;ra(r).initialized=!0,t("click",ot(Mx,"click")),t("mousemove",ot(Mx,"mousemove")),t("globalout",ZH);function t(a,n){r.on(a,function(i){var o=qH(e);YH(ra(r).records,function(s){s&&n(s,i,o.dispatchAction)}),$H(o.pendings,e)})}}function $H(r,e){var t=r.showTip.length,a=r.hideTip.length,n;t?n=r.showTip[t-1]:a&&(n=r.hideTip[a-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function ZH(r,e,t){r.handler("leave",null,t)}function Mx(r,e,t,a){e.handler(r,t,a)}function qH(r){var e={showTip:[],hideTip:[]},t=function(a){var n=e[a.type];n?n.push(a):(a.dispatchAction=t,r.dispatchAction(a))};return{dispatchAction:t,pendings:e}}function Ed(r,e){if(!mt.node){var t=e.getZr(),a=(ra(t).records||{})[r];a&&(ra(t).records[r]=null)}}var KH=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=a.getComponent("tooltip"),o=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";e2("axisPointer",n,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},e.prototype.remove=function(t,a){Ed("axisPointer",a)},e.prototype.dispose=function(t,a){Ed("axisPointer",a)},e.type="axisPointer",e}(Gt);function r2(r,e){var t=[],a=r.seriesIndex,n;if(a==null||!(n=e.getSeriesByIndex(a)))return{point:[]};var i=n.getData(),o=ei(i,r);if(o==null||o<0||z(o))return{point:[]};var s=i.getItemGraphicEl(o),l=n.coordinateSystem;if(n.getTooltipPosition)t=n.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),f=l.getOtherAxis(u),h=f.dim,v=u.dim,c=h==="x"||h==="radius"?1:0,p=i.mapDimension(v),d=[];d[c]=i.get(p,o),d[1-c]=i.get(i.getCalculationInfo("stackResultDimension"),o),t=l.dataToPoint(d)||[]}else t=l.dataToPoint(i.getValues(G(l.dimensions,function(y){return i.mapDimension(y)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),t=[g.x+g.width/2,g.y+g.height/2]}return{point:t,el:s}}var Ix=At();function QH(r,e,t){var a=r.currTrigger,n=[r.x,r.y],i=r,o=r.dispatchAction||Y(t.dispatchAction,t),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){Ku(n)&&(n=r2({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},e).point);var l=Ku(n),u=i.axesInfo,f=s.axesInfo,h=a==="leave"||Ku(n),v={},c={},p={list:[],map:{}},d={showPointer:ot(jH,c),showTooltip:ot(tW,p)};C(s.coordSysMap,function(y,m){var _=l||y.containPoint(n);C(s.coordSysAxesInfo[m],function(S,b){var x=S.axis,w=nW(u,S);if(!h&&_&&(!u||w)){var T=w&&w.value;T==null&&!l&&(T=x.pointToData(n)),T!=null&&Lx(S,T,d,!1,v)}})});var g={};return C(f,function(y,m){var _=y.linkGroup;_&&!c[m]&&C(_.axesInfo,function(S,b){var x=c[b];if(S!==y&&x){var w=x.value;_.mapper&&(w=y.axis.scale.parse(_.mapper(w,Px(S),Px(y)))),g[y.key]=w}})}),C(g,function(y,m){Lx(f[m],y,d,!0,v)}),eW(c,f,v),rW(p,n,r,o),aW(f,o,t),v}}function Lx(r,e,t,a,n){var i=r.axis;if(!(i.scale.isBlank()||!i.containData(e))){if(!r.involveSeries){t.showPointer(r,e);return}var o=JH(e,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&n.seriesIndex==null&&V(n,s[0]),!a&&r.snap&&i.containData(l)&&l!=null&&(e=l),t.showPointer(r,e,s),t.showTooltip(r,o,l)}}function JH(r,e){var t=e.axis,a=t.dim,n=r,i=[],o=Number.MAX_VALUE,s=-1;return C(e.seriesModels,function(l,u){var f=l.getData().mapDimensionsAll(a),h,v;if(l.getAxisTooltipData){var c=l.getAxisTooltipData(f,r,t);v=c.dataIndices,h=c.nestestValue}else{if(v=l.getData().indicesOfNearest(f[0],r,t.type==="category"?.5:null),!v.length)return;h=l.getData().get(f[0],v[0])}if(!(h==null||!isFinite(h))){var p=r-h,d=Math.abs(p);d<=o&&((d=0&&s<0)&&(o=d,s=p,n=h,i.length=0),C(v,function(g){i.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:n}}function jH(r,e,t,a){r[e.key]={value:t,payloadBatch:a}}function tW(r,e,t,a){var n=t.payloadBatch,i=e.axis,o=i.model,s=e.axisPointerModel;if(!(!e.triggerTooltip||!n.length)){var l=e.coordSys.model,u=Zs(l),f=r.map[u];f||(f=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(f)),f.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:n.slice()})}}function eW(r,e,t){var a=t.axesInfo=[];C(e,function(n,i){var o=n.axisPointerModel.option,s=r[i];s?(!n.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!n.useHandle&&(o.status="hide"),o.status==="show"&&a.push({axisDim:n.axis.dim,axisIndex:n.axis.model.componentIndex,value:o.value})})}function rW(r,e,t,a){if(Ku(e)||!r.list.length){a({type:"hideTip"});return}var n=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:t.tooltipOption,position:t.position,dataIndexInside:n.dataIndexInside,dataIndex:n.dataIndex,seriesIndex:n.seriesIndex,dataByCoordSys:r.list})}function aW(r,e,t){var a=t.getZr(),n="axisPointerLastHighlights",i=Ix(a)[n]||{},o=Ix(a)[n]={};C(r,function(u,f){var h=u.axisPointerModel.option;h.status==="show"&&u.triggerEmphasis&&C(h.seriesDataIndices,function(v){var c=v.seriesIndex+" | "+v.dataIndex;o[c]=v})});var s=[],l=[];C(i,function(u,f){!o[f]&&l.push(u)}),C(o,function(u,f){!i[f]&&s.push(u)}),l.length&&t.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&t.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function nW(r,e){for(var t=0;t<(r||[]).length;t++){var a=r[t];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}function Px(r){var e=r.axis.model,t={},a=t.axisDim=r.axis.dim;return t.axisIndex=t[a+"AxisIndex"]=e.componentIndex,t.axisName=t[a+"AxisName"]=e.name,t.axisId=t[a+"AxisId"]=e.id,t}function Ku(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function Al(r){ci.registerAxisPointerClass("CartesianAxisPointer",HH),r.registerComponentModel(UH),r.registerComponentView(KH),r.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var t=e.axisPointer.link;t&&!z(t)&&(e.axisPointer.link=[t])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=pz(e,t)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},QH)}function iW(r){gt(ID),gt(Al)}var oW=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),f=u.getExtent(),h=s.dataToCoord(a),v=i.get("type");if(v&&v!=="none"){var c=zy(i),p=lW[v](s,l,h,f);p.style=c,t.graphicKey=p.type,t.pointer=p}var d=i.get(["label","margin"]),g=sW(a,n,i,l,d);QM(t,n,i,o,g)},e}(Vy);function sW(r,e,t,a,n){var i=e.axis,o=i.dataToCoord(r),s=a.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=a.getRadiusAxis().getExtent(),u,f,h;if(i.dim==="radius"){var v=We();li(v,v,s),Hr(v,v,[a.cx,a.cy]),u=Sr([o,-n],v);var c=e.getModel("axisLabel").get("rotate")||0,p=Ce.innerTextLayout(s,c*Math.PI/180,-1);f=p.textAlign,h=p.textVerticalAlign}else{var d=l[1];u=a.coordToPoint([d+n,o]);var g=a.cx,y=a.cy;f=Math.abs(u[0]-g)/d<.3?"center":u[0]>g?"left":"right",h=Math.abs(u[1]-y)/d<.3?"middle":u[1]>y?"top":"bottom"}return{position:u,align:f,verticalAlign:h}}var lW={line:function(r,e,t,a){return r.dim==="angle"?{type:"Line",shape:Fy(e.coordToPoint([a[0],t]),e.coordToPoint([a[1],t]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:t}}},shadow:function(r,e,t,a){var n=Math.max(1,r.getBandWidth()),i=Math.PI/180;return r.dim==="angle"?{type:"Sector",shape:Ax(e.cx,e.cy,a[0],a[1],(-t-n/2)*i,(-t+n/2)*i)}:{type:"Sector",shape:Ax(e.cx,e.cy,t-n/2,t+n/2,0,Math.PI*2)}}},uW=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.findAxisModel=function(t){var a,n=this.ecModel;return n.eachComponent(t,function(i){i.getCoordSysModel()===this&&(a=i)},this),a},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(_t),Hy=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Zt).models[0]},e.type="polarAxis",e}(_t);Kt(Hy,gl);var fW=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="angleAxis",e}(Hy),hW=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="radiusAxis",e}(Hy),Wy=function(r){k(e,r);function e(t,a){return r.call(this,"radius",t,a)||this}return e.prototype.pointToData=function(t,a){return this.polar.pointToData(t,a)[this.dim==="radius"?0:1]},e}(Tr);Wy.prototype.dataToRadius=Tr.prototype.dataToCoord;Wy.prototype.radiusToData=Tr.prototype.coordToData;var vW=At(),Uy=function(r){k(e,r);function e(t,a){return r.call(this,"angle",t,a||[0,360])||this}return e.prototype.pointToData=function(t,a){return this.polar.pointToData(t,a)[this.dim==="radius"?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,a=t.getLabelModel(),n=t.scale,i=n.getExtent(),o=n.count();if(i[1]-i[0]<1)return 0;var s=i[0],l=t.dataToCoord(s+1)-t.dataToCoord(s),u=Math.abs(l),f=nl(s==null?"":s+"",a.getFont(),"center","top"),h=Math.max(f.height,7),v=h/u;isNaN(v)&&(v=1/0);var c=Math.max(0,Math.floor(v)),p=vW(t.model),d=p.lastAutoInterval,g=p.lastTickCount;return d!=null&&g!=null&&Math.abs(d-c)<=1&&Math.abs(g-o)<=1&&d>c?c=d:(p.lastTickCount=o,p.lastAutoInterval=c),c},e}(Tr);Uy.prototype.dataToAngle=Tr.prototype.dataToCoord;Uy.prototype.angleToData=Tr.prototype.coordToData;var a2=["radius","angle"],cW=function(){function r(e){this.dimensions=a2,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Wy,this._angleAxis=new Uy,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(e){var t=this.pointToCoord(e);return this._radiusAxis.contain(t[0])&&this._angleAxis.contain(t[1])},r.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},r.prototype.getAxis=function(e){var t="_"+e+"Axis";return this[t]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(e){var t=[],a=this._angleAxis,n=this._radiusAxis;return a.scale.type===e&&t.push(a),n.scale.type===e&&t.push(n),t},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(e){var t=this._angleAxis;return e===t?this._radiusAxis:t},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(e){var t=e!=null&&e!=="auto"?this.getAxis(e):this.getBaseAxis();return{baseAxes:[t],otherAxes:[this.getOtherAxis(t)]}},r.prototype.dataToPoint=function(e,t){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],t),this._angleAxis.dataToAngle(e[1],t)])},r.prototype.pointToData=function(e,t){var a=this.pointToCoord(e);return[this._radiusAxis.radiusToData(a[0],t),this._angleAxis.angleToData(a[1],t)]},r.prototype.pointToCoord=function(e){var t=e[0]-this.cx,a=e[1]-this.cy,n=this.getAngleAxis(),i=n.getExtent(),o=Math.min(i[0],i[1]),s=Math.max(i[0],i[1]);n.inverse?o=s-360:s=o+360;var l=Math.sqrt(t*t+a*a);t/=l,a/=l;for(var u=Math.atan2(-a,t)/Math.PI*180,f=us;)u+=f*360;return[l,u]},r.prototype.coordToPoint=function(e){var t=e[0],a=e[1]/180*Math.PI,n=Math.cos(a)*t+this.cx,i=-Math.sin(a)*t+this.cy;return[n,i]},r.prototype.getArea=function(){var e=this.getAngleAxis(),t=this.getRadiusAxis(),a=t.getExtent().slice();a[0]>a[1]&&a.reverse();var n=e.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:a[0],r:a[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:e.inverse,contain:function(o,s){var l=o-this.cx,u=s-this.cy,f=l*l+u*u-1e-4,h=this.r,v=this.r0;return f<=h*h&&f>=v*v}}},r.prototype.convertToPixel=function(e,t,a){var n=Rx(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=Rx(t);return n===this?this.pointToData(a):null},r}();function Rx(r){var e=r.seriesModel,t=r.polarModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}const pW=cW;function dW(r,e,t){var a=e.get("center"),n=t.getWidth(),i=t.getHeight();r.cx=W(a[0],n),r.cy=W(a[1],i);var o=r.getRadiusAxis(),s=Math.min(n,i)/2,l=e.get("radius");l==null?l=[0,"100%"]:z(l)||(l=[0,l]);var u=[W(l[0],s),W(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function gW(r,e){var t=this,a=t.getAngleAxis(),n=t.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),n.scale.setExtent(1/0,-1/0),r.eachSeries(function(s){if(s.coordinateSystem===t){var l=s.getData();C(Df(l,"radius"),function(u){n.scale.unionExtentFromData(l,u)}),C(Df(l,"angle"),function(u){a.scale.unionExtentFromData(l,u)})}}),ao(a.scale,a.model),ao(n.scale,n.model),a.type==="category"&&!a.onBand){var i=a.getExtent(),o=360/a.scale.count();a.inverse?i[1]+=o:i[1]-=o,a.setExtent(i[0],i[1])}}function yW(r){return r.mainType==="angleAxis"}function Ex(r,e){var t;if(r.type=e.get("type"),r.scale=Dh(e),r.onBand=e.get("boundaryGap")&&r.type==="category",r.inverse=e.get("inverse"),yW(e)){r.inverse=r.inverse!==e.get("clockwise");var a=e.get("startAngle"),n=(t=e.get("endAngle"))!==null&&t!==void 0?t:a+(r.inverse?-360:360);r.setExtent(a,n)}e.axis=r,r.model=e}var mW={dimensions:a2,create:function(r,e){var t=[];return r.eachComponent("polar",function(a,n){var i=new pW(n+"");i.update=gW;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=a.findAxisModel("radiusAxis"),u=a.findAxisModel("angleAxis");Ex(o,l),Ex(s,u),dW(i,a,e),t.push(i),a.coordinateSystem=i,i.model=a}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="polar"){var n=a.getReferringComponents("polar",Zt).models[0];a.coordinateSystem=n.coordinateSystem}}),t}},_W=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function Tu(r,e,t){e[1]>e[0]&&(e=e.slice().reverse());var a=r.coordToPoint([e[0],t]),n=r.coordToPoint([e[1],t]);return{x1:a[0],y1:a[1],x2:n[0],y2:n[1]}}function Au(r){var e=r.getRadiusAxis();return e.inverse?0:1}function kx(r){var e=r[0],t=r[r.length-1];e&&t&&Math.abs(Math.abs(e.coord-t.coord)-360)<1e-4&&r.pop()}var SW=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.axisPointerClass="PolarAxisPointer",t}return e.prototype.render=function(t,a){if(this.group.removeAll(),!!t.get("show")){var n=t.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),s=n.getTicksCoords(),l=n.getMinorTicksCoords(),u=G(n.getViewLabels(),function(f){f=rt(f);var h=n.scale,v=h.type==="ordinal"?h.getRawOrdinalNumber(f.tickValue):f.tickValue;return f.coord=n.dataToCoord(v),f});kx(u),kx(s),C(_W,function(f){t.get([f,"show"])&&(!n.scale.isBlank()||f==="axisLine")&&xW[f](this.group,t,i,s,l,o,u)},this)}},e.type="angleAxis",e}(ci),xW={axisLine:function(r,e,t,a,n,i){var o=e.getModel(["axisLine","lineStyle"]),s=t.getAngleAxis(),l=Math.PI/180,u=s.getExtent(),f=Au(t),h=f?0:1,v,c=Math.abs(u[1]-u[0])===360?"Circle":"Arc";i[h]===0?v=new ui[c]({shape:{cx:t.cx,cy:t.cy,r:i[f],startAngle:-u[0]*l,endAngle:-u[1]*l,clockwise:s.inverse},style:o.getLineStyle(),z2:1,silent:!0}):v=new sl({shape:{cx:t.cx,cy:t.cy,r:i[f],r0:i[h]},style:o.getLineStyle(),z2:1,silent:!0}),v.style.fill=null,r.add(v)},axisTick:function(r,e,t,a,n,i){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=i[Au(t)],u=G(a,function(f){return new te({shape:Tu(t,[l,l+s],f.coord)})});r.add(ar(u,{style:j(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,e,t,a,n,i){if(n.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=i[Au(t)],f=[],h=0;hy?"left":"right",S=Math.abs(g[1]-m)/d<.3?"middle":g[1]>m?"top":"bottom";if(s&&s[p]){var b=s[p];tt(b)&&b.textStyle&&(c=new It(b.textStyle,l,l.ecModel))}var x=new Tt({silent:Ce.isLabelSilent(e),style:Nt(c,{x:g[0],y:g[1],fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:h.formattedLabel,align:_,verticalAlign:S})});if(r.add(x),f){var w=Ce.makeAxisEventDataBase(e);w.targetType="axisLabel",w.value=h.rawLabel,nt(x).eventData=w}},this)},splitLine:function(r,e,t,a,n,i){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var f=[],h=0;h=0?"p":"n",L=w;b&&(a[f][M]||(a[f][M]={p:w,n:w}),L=a[f][M][I]);var P=void 0,R=void 0,E=void 0,N=void 0;if(p.dim==="radius"){var O=p.dataToCoord(D)-w,B=l.dataToCoord(M);Math.abs(O)=N})}}})}function MW(r){var e={};C(r,function(a,n){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=i2(o,s),u=s.getExtent(),f=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/i.count(),h=e[l]||{bandWidth:f,remainedWidth:f,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},v=h.stacks;e[l]=h;var c=n2(a);v[c]||h.autoWidthCount++,v[c]=v[c]||{width:0,maxWidth:0};var p=W(a.get("barWidth"),f),d=W(a.get("barMaxWidth"),f),g=a.get("barGap"),y=a.get("barCategoryGap");p&&!v[c].width&&(p=Math.min(h.remainedWidth,p),v[c].width=p,h.remainedWidth-=p),d&&(v[c].maxWidth=d),g!=null&&(h.gap=g),y!=null&&(h.categoryGap=y)});var t={};return C(e,function(a,n){t[n]={};var i=a.stacks,o=a.bandWidth,s=W(a.categoryGap,o),l=W(a.gap,1),u=a.remainedWidth,f=a.autoWidthCount,h=(u-s)/(f+(f-1)*l);h=Math.max(h,0),C(i,function(d,g){var y=d.maxWidth;y&&y=t.y&&e[1]<=t.y+t.height:a.contain(a.toLocalCoord(e[1]))&&e[0]>=t.y&&e[0]<=t.y+t.height},r.prototype.pointToData=function(e){var t=this.getAxis();return[t.coordToData(t.toLocalCoord(e[t.orient==="horizontal"?0:1]))]},r.prototype.dataToPoint=function(e){var t=this.getAxis(),a=this.getRect(),n=[],i=t.orient==="horizontal"?0:1;return e instanceof Array&&(e=e[0]),n[i]=t.toGlobalCoord(t.dataToCoord(+e)),n[1-i]=i===0?a.y+a.height/2:a.x+a.width/2,n},r.prototype.convertToPixel=function(e,t,a){var n=Ox(t);return n===this?this.dataToPoint(a):null},r.prototype.convertFromPixel=function(e,t,a){var n=Ox(t);return n===this?this.pointToData(a):null},r}();function Ox(r){var e=r.seriesModel,t=r.singleAxisModel;return t&&t.coordinateSystem||e&&e.coordinateSystem}function zW(r,e){var t=[];return r.eachComponent("singleAxis",function(a,n){var i=new VW(a,r,e);i.name="single_"+n,i.resize(a,e),a.coordinateSystem=i,t.push(i)}),r.eachSeries(function(a){if(a.get("coordinateSystem")==="singleAxis"){var n=a.getReferringComponents("singleAxis",Zt).models[0];a.coordinateSystem=n&&n.coordinateSystem}}),t}var GW={create:zW,dimensions:o2},Nx=["x","y"],FW=["width","height"],HW=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.makeElOption=function(t,a,n,i,o){var s=n.axis,l=s.coordinateSystem,u=Wc(l,1-Ff(s)),f=l.dataToPoint(a)[0],h=i.get("type");if(h&&h!=="none"){var v=zy(i),c=WW[h](s,f,u);c.style=v,t.graphicKey=c.type,t.pointer=c}var p=kd(n);jM(a,t,p,n,i,o)},e.prototype.getHandleTransform=function(t,a,n){var i=kd(a,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var o=Gy(a.axis,t,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,a,n,i){var o=n.axis,s=o.coordinateSystem,l=Ff(o),u=Wc(s,l),f=[t.x,t.y];f[l]+=a[l],f[l]=Math.min(u[1],f[l]),f[l]=Math.max(u[0],f[l]);var h=Wc(s,1-l),v=(h[1]+h[0])/2,c=[v,v];return c[l]=f[l],{x:f[0],y:f[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(Vy),WW={line:function(r,e,t){var a=Fy([e,t[0]],[e,t[1]],Ff(r));return{type:"Line",subPixelOptimize:!0,shape:a}},shadow:function(r,e,t){var a=r.getBandWidth(),n=t[1]-t[0];return{type:"Rect",shape:t2([e-a/2,t[0]],[a,n],Ff(r))}}};function Ff(r){return r.isHorizontal()?0:1}function Wc(r,e){var t=r.getRect();return[t[Nx[e]],t[Nx[e]]+t[FW[e]]]}var UW=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="single",e}(Gt);function YW(r){gt(Al),ci.registerAxisPointerClass("SingleAxisPointer",HW),r.registerComponentView(UW),r.registerComponentView(OW),r.registerComponentModel(Qu),io(r,"single",Qu,Qu.defaultOption),r.registerCoordinateSystem("single",GW)}var XW=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a,n){var i=So(t);r.prototype.init.apply(this,arguments),Bx(t,i)},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),Bx(this.option,t)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(_t);function Bx(r,e){var t=r.cellSize,a;z(t)?a=t:a=r.cellSize=[t,t],a.length===1&&(a[1]=a[0]);var n=G([0,1],function(i){return cE(e,i)&&(a[i]="auto"),a[i]!=null&&a[i]!=="auto"});Ka(r,e,{type:"box",ignoreSize:n})}var $W=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){var i=this.group;i.removeAll();var o=t.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),u=a.getLocaleModel();this._renderDayRect(t,s,i),this._renderLines(t,s,l,i),this._renderYearText(t,s,l,i),this._renderMonthText(t,u,l,i),this._renderWeekText(t,u,s,l,i)},e.prototype._renderDayRect=function(t,a,n){for(var i=t.coordinateSystem,o=t.getModel("itemStyle").getItemStyle(),s=i.getCellWidth(),l=i.getCellHeight(),u=a.start.time;u<=a.end.time;u=i.getNextNDay(u,1).time){var f=i.dataToRect([u],!1).tl,h=new bt({shape:{x:f[0],y:f[1],width:s,height:l},cursor:"default",style:o});n.add(h)}},e.prototype._renderLines=function(t,a,n,i){var o=this,s=t.coordinateSystem,l=t.getModel(["splitLine","lineStyle"]).getLineStyle(),u=t.get(["splitLine","show"]),f=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var h=a.start,v=0;h.time<=a.end.time;v++){p(h.formatedDate),v===0&&(h=s.getDateInfo(a.start.y+"-"+a.start.m));var c=h.date;c.setMonth(c.getMonth()+1),h=s.getDateInfo(c)}p(s.getNextNDay(a.end.time,1).formatedDate);function p(d){o._firstDayOfMonth.push(s.getDateInfo(d)),o._firstDayPoints.push(s.dataToRect([d],!1).tl);var g=o._getLinePointsOfOneWeek(t,d,n);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),u&&o._drawSplitline(g,l,i)}u&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,f,n),l,i),u&&this._drawSplitline(o._getEdgesPoints(o._blpoints,f,n),l,i)},e.prototype._getEdgesPoints=function(t,a,n){var i=[t[0].slice(),t[t.length-1].slice()],o=n==="horizontal"?0:1;return i[0][o]=i[0][o]-a/2,i[1][o]=i[1][o]+a/2,i},e.prototype._drawSplitline=function(t,a,n){var i=new Pe({z2:20,shape:{points:t},style:a});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,a,n){for(var i=t.coordinateSystem,o=i.getDateInfo(a),s=[],l=0;l<7;l++){var u=i.getNextNDay(o.time,l),f=i.dataToRect([u.time],!1);s[2*u.day]=f.tl,s[2*u.day+1]=f[n==="horizontal"?"bl":"tr"]}return s},e.prototype._formatterLabel=function(t,a){return U(t)&&t?fE(t,a):K(t)?t(a):a.nameMap},e.prototype._yearTextPositionControl=function(t,a,n,i,o){var s=a[0],l=a[1],u=["center","bottom"];i==="bottom"?(l+=o,u=["center","top"]):i==="left"?s-=o:i==="right"?(s+=o,u=["center","top"]):l-=o;var f=0;return(i==="left"||i==="right")&&(f=Math.PI/2),{rotation:f,x:s,y:l,style:{align:u[0],verticalAlign:u[1]}}},e.prototype._renderYearText=function(t,a,n,i){var o=t.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),l=o.get("position");l||(l=n!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],f=(u[0][0]+u[1][0])/2,h=(u[0][1]+u[1][1])/2,v=n==="horizontal"?0:1,c={top:[f,u[v][1]],bottom:[f,u[1-v][1]],left:[u[1-v][0],h],right:[u[v][0],h]},p=a.start.y;+a.end.y>+a.start.y&&(p=p+"-"+a.end.y);var d=o.get("formatter"),g={start:a.start.y,end:a.end.y,nameMap:p},y=this._formatterLabel(d,g),m=new Tt({z2:30,style:Nt(o,{text:y})});m.attr(this._yearTextPositionControl(m,c[l],n,l,s)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,a,n,i,o){var s="left",l="top",u=t[0],f=t[1];return n==="horizontal"?(f=f+o,a&&(s="center"),i==="start"&&(l="bottom")):(u=u+o,a&&(l="middle"),i==="start"&&(s="right")),{x:u,y:f,align:s,verticalAlign:l}},e.prototype._renderMonthText=function(t,a,n,i){var o=t.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),u=o.get("position"),f=o.get("align"),h=[this._tlpoints,this._blpoints];(!s||U(s))&&(s&&(a=Wp(s)||a),s=a.get(["time","monthAbbr"])||[]);var v=u==="start"?0:1,c=n==="horizontal"?0:1;l=u==="start"?-l:l;for(var p=f==="center",d=0;d=n.start.time&&a.times.end.time&&t.reverse(),t},r.prototype._getRangeInfo=function(e){var t=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],a;t[0].time>t[1].time&&(a=!0,t.reverse());var n=Math.floor(t[1].time/Uc)-Math.floor(t[0].time/Uc)+1,i=new Date(t[0].time),o=i.getDate(),s=t[1].date.getDate();i.setDate(o+n-1);var l=i.getDate();if(l!==s)for(var u=i.getTime()-t[1].time>0?1:-1;(l=i.getDate())!==s&&(i.getTime()-t[1].time)*u>0;)n-=u,i.setDate(l-u);var f=Math.floor((n+t[0].day+6)/7),h=a?-f+1:f-1;return a&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:f,nthWeek:h,fweek:t[0].day,lweek:t[1].day}},r.prototype._getDateByWeeksAndDay=function(e,t,a){var n=this._getRangeInfo(a);if(e>n.weeks||e===0&&tn.lweek)return null;var i=(e-1)*7-n.fweek+t,o=new Date(n.start.time);return o.setDate(+n.start.d+i),this.getDateInfo(o)},r.create=function(e,t){var a=[];return e.eachComponent("calendar",function(n){var i=new r(n);a.push(i),n.coordinateSystem=i}),e.eachSeries(function(n){n.get("coordinateSystem")==="calendar"&&(n.coordinateSystem=a[n.get("calendarIndex")||0])}),a},r.dimensions=["time","value"],r}();function Vx(r){var e=r.calendarModel,t=r.seriesModel,a=e?e.coordinateSystem:t?t.coordinateSystem:null;return a}function qW(r){r.registerComponentModel(XW),r.registerComponentView($W),r.registerCoordinateSystem("calendar",ZW)}function KW(r,e){var t=r.existing;if(e.id=r.keyInfo.id,!e.type&&t&&(e.type=t.type),e.parentId==null){var a=e.parentOption;a?e.parentId=a.id:t&&(e.parentId=t.parentId)}e.parentOption=null}function zx(r,e){var t;return C(e,function(a){r[a]!=null&&r[a]!=="auto"&&(t=!0)}),t}function QW(r,e,t){var a=V({},t),n=r[e],i=t.$action||"merge";i==="merge"?n?(ft(n,a,!0),Ka(n,a,{ignoreSize:!0}),tA(t,n),Cu(t,n),Cu(t,n,"shape"),Cu(t,n,"style"),Cu(t,n,"extra"),t.clipPath=n.clipPath):r[e]=a:i==="replace"?r[e]=a:i==="remove"&&n&&(r[e]=null)}var s2=["transition","enterFrom","leaveTo"],JW=s2.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Cu(r,e,t){if(t&&(!r[t]&&e[t]&&(r[t]={}),r=r[t],e=e[t]),!(!r||!e))for(var a=t?s2:JW,n=0;n=0;f--){var h=n[f],v=Qt(h.id,null),c=v!=null?o.get(v):null;if(c){var p=c.parent,y=tr(p),m=p===i?{width:s,height:l}:{width:y.width,height:y.height},_={},S=_h(c,h,m,null,{hv:h.hv,boundingMode:h.bounding},_);if(!tr(c).isNew&&S){for(var b=h.transition,x={},w=0;w=0)?x[T]=A:c[T]=A}Dt(c,x,t,0)}else c.attr(_)}}},e.prototype._clear=function(){var t=this,a=this._elMap;a.each(function(n){Ju(n,tr(n).option,a,t._lastGraphicModel)}),this._elMap=$()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Gt);function Od(r){var e=X(Gx,r)?Gx[r]:bg(r),t=new e({});return tr(t).type=r,t}function Fx(r,e,t,a){var n=Od(t);return e.add(n),a.set(r,n),tr(n).id=r,tr(n).isNew=!0,n}function Ju(r,e,t,a){var n=r&&r.parent;n&&(r.type==="group"&&r.traverse(function(i){Ju(i,e,t,a)}),kh(r,e,a),t.removeKey(tr(r).id))}function Hx(r,e,t,a){r.isGroup||C([["cursor",sr.prototype.cursor],["zlevel",a||0],["z",t||0],["z2",0]],function(n){var i=n[0];X(e,i)?r[i]=it(e[i],n[1]):r[i]==null&&(r[i]=n[1])}),C(St(e),function(n){if(n.indexOf("on")===0){var i=e[n];r[n]=K(i)?i:null}}),X(e,"draggable")&&(r.draggable=e.draggable),e.name!=null&&(r.name=e.name),e.id!=null&&(r.id=e.id)}function r6(r){return r=V({},r),C(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(jT),function(e){delete r[e]}),r}function a6(r,e,t){var a=nt(r).eventData;!r.silent&&!r.ignore&&!a&&(a=nt(r).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:r.name}),a&&(a.info=t.info)}function n6(r){r.registerComponentModel(t6),r.registerComponentView(e6),r.registerPreprocessor(function(e){var t=e.graphic;z(t)?!t[0]||!t[0].elements?e.graphic=[{elements:t}]:e.graphic=[e.graphic[0]]:t&&!t.elements&&(e.graphic=[{elements:[t]}])})}var Wx=["x","y","radius","angle","single"],i6=["cartesian2d","polar","singleAxis"];function o6(r){var e=r.get("coordinateSystem");return vt(i6,e)>=0}function Fa(r){return r+"Axis"}function s6(r,e){var t=$(),a=[],n=$();r.eachComponent({mainType:"dataZoom",query:e},function(f){n.get(f.uid)||s(f)});var i;do i=!1,r.eachComponent("dataZoom",o);while(i);function o(f){!n.get(f.uid)&&l(f)&&(s(f),i=!0)}function s(f){n.set(f.uid,!0),a.push(f),u(f)}function l(f){var h=!1;return f.eachTargetAxis(function(v,c){var p=t.get(v);p&&p[c]&&(h=!0)}),h}function u(f){f.eachTargetAxis(function(h,v){(t.get(h)||t.set(h,[]))[v]=!0})}return a}function l2(r){var e=r.ecModel,t={infoList:[],infoMap:$()};return r.eachTargetAxis(function(a,n){var i=e.getComponent(Fa(a),n);if(i){var o=i.getCoordSysModel();if(o){var s=o.uid,l=t.infoMap.get(s);l||(l={model:o,axisModels:[]},t.infoList.push(l),t.infoMap.set(s,l)),l.axisModels.push(i)}}}),t}var Yc=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},r}(),tl=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._autoThrottle=!0,t._noTarget=!0,t._rangePropMode=["percent","percent"],t}return e.prototype.init=function(t,a,n){var i=Ux(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var a=Ux(t);ft(this.option,t,!0),ft(this.settledOption,a,!0),this._doInit(a)},e.prototype._doInit=function(t){var a=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;C([["start","startValue"],["end","endValue"]],function(i,o){this._rangePropMode[o]==="value"&&(a[i[0]]=n[i[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),a=this._targetAxisInfoMap=$(),n=this._fillSpecifiedTargetAxis(a);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(a,this._orient)),this._noTarget=!0,a.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(t){var a=!1;return C(Wx,function(n){var i=this.getReferringComponents(Fa(n),qL);if(i.specified){a=!0;var o=new Yc;C(i.models,function(s){o.add(s.componentIndex)}),t.set(n,o)}},this),a},e.prototype._fillAutoTargetAxisByOrient=function(t,a){var n=this.ecModel,i=!0;if(i){var o=a==="vertical"?"y":"x",s=n.findComponents({mainType:o+"Axis"});l(s,o)}if(i){var s=n.findComponents({mainType:"singleAxis",filter:function(f){return f.get("orient",!0)===a}});l(s,"single")}function l(u,f){var h=u[0];if(h){var v=new Yc;if(v.add(h.componentIndex),t.set(f,v),i=!1,f==="x"||f==="y"){var c=h.getReferringComponents("grid",Zt).models[0];c&&C(u,function(p){h.componentIndex!==p.componentIndex&&c===p.getReferringComponents("grid",Zt).models[0]&&v.add(p.componentIndex)})}}}i&&C(Wx,function(u){if(i){var f=n.findComponents({mainType:Fa(u),filter:function(v){return v.get("type",!0)==="category"}});if(f[0]){var h=new Yc;h.add(f[0].componentIndex),t.set(u,h),i=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis(function(a){!t&&(t=a)},this),t==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var a=this.ecModel.option;this.option.throttle=a.animation&&a.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var a=this._rangePropMode,n=this.get("rangeMode");C([["start","startValue"],["end","endValue"]],function(i,o){var s=t[i[0]]!=null,l=t[i[1]]!=null;s&&!l?a[o]="percent":!s&&l?a[o]="value":n?a[o]=n[o]:s&&(a[o]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis(function(a,n){t==null&&(t=this.ecModel.getComponent(Fa(a),n))},this),t},e.prototype.eachTargetAxis=function(t,a){this._targetAxisInfoMap.each(function(n,i){C(n.indexList,function(o){t.call(a,i,o)})})},e.prototype.getAxisProxy=function(t,a){var n=this.getAxisModel(t,a);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,a){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[a])return this.ecModel.getComponent(Fa(t),a)},e.prototype.setRawRange=function(t){var a=this.option,n=this.settledOption;C([["start","startValue"],["end","endValue"]],function(i){(t[i[0]]!=null||t[i[1]]!=null)&&(a[i[0]]=n[i[0]]=t[i[0]],a[i[1]]=n[i[1]]=t[i[1]])},this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var a=this.option;C(["start","startValue","end","endValue"],function(n){a[n]=t[n]})},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,a){if(t==null&&a==null){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataValueWindow()}else return this.getAxisProxy(t,a).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var a,n=this._targetAxisInfoMap.keys(),i=0;io[1];if(_&&!S&&!b)return!0;_&&(g=!0),S&&(p=!0),b&&(d=!0)}return g&&p&&d})}else Gi(f,function(c){if(i==="empty")l.setData(u=u.map(c,function(d){return s(d)?d:NaN}));else{var p={};p[c]=o,u.selectRange(p)}});Gi(f,function(c){u.setApproximateExtent(o,c)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,a=this._dataExtent;Gi(["min","max"],function(n){var i=t.get(n+"Span"),o=t.get(n+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=Lt(a[0]+o,a,[0,100],!0):i!=null&&(o=Lt(i,[0,100],a,!0)-a[0]),e[n+"Span"]=i,e[n+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,a=this._valueWindow;if(t){var n=Hw(a,[0,500]);n=Math.min(n,20);var i=e.axis.scale.rawExtentInfo;t[0]!==0&&i.setDeterminedMinMax("min",+a[0].toFixed(n)),t[1]!==100&&i.setDeterminedMinMax("max",+a[1].toFixed(n)),i.freeze()}},r}();function h6(r,e,t){var a=[1/0,-1/0];Gi(t,function(o){WN(a,o.getData(),e)});var n=r.getAxisModel(),i=DC(n.axis.scale,n,a).calculate();return[i.min,i.max]}var v6={getTargetSeries:function(r){function e(n){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=r.getComponent(Fa(o),s);n(o,s,l,i)})})}e(function(n,i,o,s){o.__dzAxisProxy=null});var t=[];e(function(n,i,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new f6(n,i,s,r),t.push(o.__dzAxisProxy))});var a=$();return C(t,function(n){C(n.getTargetSeriesModels(),function(i){a.set(i.uid,i)})}),a},overallReset:function(r,e){r.eachComponent("dataZoom",function(t){t.eachTargetAxis(function(a,n){t.getAxisProxy(a,n).reset(t)}),t.eachTargetAxis(function(a,n){t.getAxisProxy(a,n).filterData(t,e)})}),r.eachComponent("dataZoom",function(t){var a=t.findRepresentativeAxisProxy();if(a){var n=a.getDataPercentWindow(),i=a.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}})}};function c6(r){r.registerAction("dataZoom",function(e,t){var a=s6(t,e);C(a,function(n){n.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var Xx=!1;function Xy(r){Xx||(Xx=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,v6),c6(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function p6(r){r.registerComponentModel(l6),r.registerComponentView(u6),Xy(r)}var rr=function(){function r(){}return r}(),u2={};function Fi(r,e){u2[r]=e}function f2(r){return u2[r]}var d6=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;C(this.option.feature,function(a,n){var i=f2(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(t)),ft(a,i.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(_t);function g6(r,e,t){var a=e.getBoxLayoutParams(),n=e.get("padding"),i={width:t.getWidth(),height:t.getHeight()},o=Jt(a,i,n);Qn(e.get("orient"),r,e.get("itemGap"),o.width,o.height),_h(r,a,i,n)}function h2(r,e){var t=_o(e.get("padding")),a=e.getItemStyle(["color","opacity"]);return a.fill=e.get("backgroundColor"),r=new bt({shape:{x:r.x-t[3],y:r.y-t[0],width:r.width+t[1]+t[3],height:r.height+t[0]+t[2],r:e.get("borderRadius")},style:a,silent:!0,z2:-1}),r}var y6=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n,i){var o=this.group;if(o.removeAll(),!t.get("show"))return;var s=+t.get("itemSize"),l=t.get("orient")==="vertical",u=t.get("feature")||{},f=this._features||(this._features={}),h=[];C(u,function(p,d){h.push(d)}),new va(this._featureNames||[],h).add(v).update(v).remove(ot(v,null)).execute(),this._featureNames=h;function v(p,d){var g=h[p],y=h[d],m=u[g],_=new It(m,t,t.ecModel),S;if(i&&i.newTitle!=null&&i.featureName===g&&(m.title=i.newTitle),g&&!y){if(m6(g))S={onclick:_.option.onclick,featureName:g};else{var b=f2(g);if(!b)return;S=new b}f[g]=S}else if(S=f[y],!S)return;S.uid=mo("toolbox-feature"),S.model=_,S.ecModel=a,S.api=n;var x=S instanceof rr;if(!g&&y){x&&S.dispose&&S.dispose(a,n);return}if(!_.get("show")||x&&S.unusable){x&&S.remove&&S.remove(a,n);return}c(_,S,g),_.setIconStatus=function(w,T){var A=this.option,D=this.iconPaths;A.iconStatus=A.iconStatus||{},A.iconStatus[w]=T,D[w]&&(T==="emphasis"?fa:ha)(D[w])},S instanceof rr&&S.render&&S.render(_,a,n,i)}function c(p,d,g){var y=p.getModel("iconStyle"),m=p.getModel(["emphasis","iconStyle"]),_=d instanceof rr&&d.getIcons?d.getIcons():p.get("icon"),S=p.get("title")||{},b,x;U(_)?(b={},b[g]=_):b=_,U(S)?(x={},x[g]=S):x=S;var w=p.iconPaths={};C(b,function(T,A){var D=hl(T,{},{x:-s/2,y:-s/2,width:s,height:s});D.setStyle(y.getItemStyle());var M=D.ensureState("emphasis");M.style=m.getItemStyle();var I=new Tt({style:{text:x[A],align:m.get("textAlign"),borderRadius:m.get("textBorderRadius"),padding:m.get("textPadding"),fill:null,font:wg({fontStyle:m.get("textFontStyle"),fontFamily:m.get("textFontFamily"),fontSize:m.get("textFontSize"),fontWeight:m.get("textFontWeight")},a)},ignore:!0});D.setTextContent(I),go({el:D,componentModel:t,itemName:A,formatterParamsExtra:{title:x[A]}}),D.__title=x[A],D.on("mouseover",function(){var L=m.getItemStyle(),P=l?t.get("right")==null&&t.get("left")!=="right"?"right":"left":t.get("bottom")==null&&t.get("top")!=="bottom"?"bottom":"top";I.setStyle({fill:m.get("textFill")||L.fill||L.stroke||"#000",backgroundColor:m.get("textBackgroundColor")}),D.setTextConfig({position:m.get("textPosition")||P}),I.ignore=!t.get("showTitle"),n.enterEmphasis(this)}).on("mouseout",function(){p.get(["iconStatus",A])!=="emphasis"&&n.leaveEmphasis(this),I.hide()}),(p.get(["iconStatus",A])==="emphasis"?fa:ha)(D),o.add(D),D.on("click",Y(d.onclick,d,a,n,A)),w[A]=D})}g6(o,t,n),o.add(h2(o.getBoundingRect(),t)),l||o.eachChild(function(p){var d=p.__title,g=p.ensureState("emphasis"),y=g.textConfig||(g.textConfig={}),m=p.getTextContent(),_=m&&m.ensureState("emphasis");if(_&&!K(_)&&d){var S=_.style||(_.style={}),b=nl(d,Tt.makeFont(S)),x=p.x+o.x,w=p.y+o.y+s,T=!1;w+b.height>n.getHeight()&&(y.position="top",T=!0);var A=T?-5-b.height:s+10;x+b.width/2>n.getWidth()?(y.position=["100%",A],S.align="right"):x-b.width/2<0&&(y.position=[0,A],S.align="left")}})},e.prototype.updateView=function(t,a,n,i){C(this._features,function(o){o instanceof rr&&o.updateView&&o.updateView(o.model,a,n,i)})},e.prototype.remove=function(t,a){C(this._features,function(n){n instanceof rr&&n.remove&&n.remove(t,a)}),this.group.removeAll()},e.prototype.dispose=function(t,a){C(this._features,function(n){n instanceof rr&&n.dispose&&n.dispose(t,a)})},e.type="toolbox",e}(Gt);function m6(r){return r.indexOf("my")===0}var _6=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o=a.getZr().painter.getType()==="svg",s=o?"svg":n.get("type",!0)||"png",l=a.getConnectedDataURL({type:s,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),u=mt.browser;if(K(MouseEvent)&&(u.newEdge||!u.ie&&!u.edge)){var f=document.createElement("a");f.download=i+"."+s,f.target="_blank",f.href=l;var h=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});f.dispatchEvent(h)}else if(window.navigator.msSaveOrOpenBlob||o){var v=l.split(","),c=v[0].indexOf("base64")>-1,p=o?decodeURIComponent(v[1]):v[1];c&&(p=window.atob(p));var d=i+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=p.length,y=new Uint8Array(g);g--;)y[g]=p.charCodeAt(g);var m=new Blob([y]);window.navigator.msSaveOrOpenBlob(m,d)}else{var _=document.createElement("iframe");document.body.appendChild(_);var S=_.contentWindow,b=S.document;b.open("image/svg+xml","replace"),b.write(p),b.close(),S.focus(),b.execCommand("SaveAs",!0,d),document.body.removeChild(_)}}else{var x=n.get("lang"),w='',T=window.open();T.document.write(w),T.document.title=i}},e.getDefaultOption=function(t){var a={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return a},e}(rr),$x="__ec_magicType_stack__",S6=[["line","bar"],["stack"]],x6=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getIcons=function(){var t=this.model,a=t.get("icon"),n={};return C(t.get("type"),function(i){a[i]&&(n[i]=a[i])}),n},e.getDefaultOption=function(t){var a={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return a},e.prototype.onclick=function(t,a,n){var i=this.model,o=i.get(["seriesIndex",n]);if(Zx[n]){var s={series:[]},l=function(h){var v=h.subType,c=h.id,p=Zx[n](v,c,h,i);p&&(j(p,h.option),s.series.push(p));var d=h.coordinateSystem;if(d&&d.type==="cartesian2d"&&(n==="line"||n==="bar")){var g=d.getAxesByScale("ordinal")[0];if(g){var y=g.dim,m=y+"Axis",_=h.getReferringComponents(m,Zt).models[0],S=_.componentIndex;s[m]=s[m]||[];for(var b=0;b<=S;b++)s[m][S]=s[m][S]||{};s[m][S].boundaryGap=n==="bar"}}};C(S6,function(h){vt(h,n)>=0&&C(h,function(v){i.setIconStatus(v,"normal")})}),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,f=n;n==="stack"&&(u=ft({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),i.get(["iconStatus",n])!=="emphasis"&&(f="tiled")),a.dispatchAction({type:"changeMagicType",currentType:f,newOption:s,newTitle:u,featureName:"magicType"})}},e}(rr),Zx={line:function(r,e,t,a){if(r==="bar")return ft({id:e,type:"line",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(r,e,t,a){if(r==="line")return ft({id:e,type:"bar",data:t.get("data"),stack:t.get("stack"),markPoint:t.get("markPoint"),markLine:t.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(r,e,t,a){var n=t.get("stack")===$x;if(r==="line"||r==="bar")return a.setIconStatus("stack",n?"normal":"emphasis"),ft({id:e,stack:n?"":$x},a.get(["option","stack"])||{},!0)}};$r({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,e){e.mergeOption(r.newOption)});var Oh=new Array(60).join("-"),lo=" ";function b6(r){var e={},t=[],a=[];return r.eachRawSeries(function(n){var i=n.coordinateSystem;if(i&&(i.type==="cartesian2d"||i.type==="polar")){var o=i.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;e[s]||(e[s]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},a.push({axisDim:o.dim,axisIndex:o.index})),e[s].series.push(n)}else t.push(n)}else t.push(n)}),{seriesGroupByCategoryAxis:e,other:t,meta:a}}function w6(r){var e=[];return C(r,function(t,a){var n=t.categoryAxis,i=t.valueAxis,o=i.dim,s=[" "].concat(G(t.series,function(c){return c.name})),l=[n.model.getCategories()];C(t.series,function(c){var p=c.getRawData();l.push(c.getRawData().mapArray(p.mapDimension(o),function(d){return d}))});for(var u=[s.join(lo)],f=0;f=0)return!0}var Nd=new RegExp("["+lo+"]+","g");function D6(r){for(var e=r.split(/\n+/g),t=Hf(e.shift()).split(Nd),a=[],n=G(t,function(l){return{name:l,data:[]}}),i=0;i=0;i--){var o=t[i];if(o[n])break}if(i<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var l=s.getPercentRange();t[0][n]={dataZoomId:n,start:l[0],end:l[1]}}}}),t.push(e)}function E6(r){var e=$y(r),t=e[e.length-1];e.length>1&&e.pop();var a={};return v2(t,function(n,i){for(var o=e.length-1;o>=0;o--)if(n=e[o][i],n){a[i]=n;break}}),a}function k6(r){c2(r).snapshots=null}function O6(r){return $y(r).length}function $y(r){var e=c2(r);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var N6=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){k6(t),a.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var a={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return a},e}(rr);$r({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,e){e.resetOption("recreate")});var B6=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Zy=function(){function r(e,t,a){var n=this;this._targetInfoList=[];var i=qx(t,e);C(V6,function(o,s){(!a||!a.include||vt(a.include,s)>=0)&&o(i,n._targetInfoList)})}return r.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(a,n,i){if((a.coordRanges||(a.coordRanges=[])).push(n),!a.coordRange){a.coordRange=n;var o=Xc[a.brushType](0,i,n);a.__rangeOffset={offset:jx[a.brushType](o.values,a.range,[1,1]),xyMinMax:o.xyMinMax}}}),e},r.prototype.matchOutputRanges=function(e,t,a){C(e,function(n){var i=this.findTargetInfo(n,t);i&&i!==!0&&C(i.coordSyses,function(o){var s=Xc[n.brushType](1,o,n.range,!0);a(n,s.values,o,t)})},this)},r.prototype.setInputRanges=function(e,t){C(e,function(a){var n=this.findTargetInfo(a,t);if(a.range=a.range||[],n&&n!==!0){a.panelId=n.panelId;var i=Xc[a.brushType](0,n.coordSys,a.coordRange),o=a.__rangeOffset;a.range=o?jx[a.brushType](i.values,o.offset,z6(i.xyMinMax,o.xyMinMax)):i.values}},this)},r.prototype.makePanelOpts=function(e,t){return G(this._targetInfoList,function(a){var n=a.getPanelRect();return{panelId:a.panelId,defaultBrushType:t?t(a):null,clipPath:xM(n),isTargetByCursor:wM(n,e,a.coordSysModel),getLinearBrushOtherExtent:bM(n)}})},r.prototype.controlSeries=function(e,t,a){var n=this.findTargetInfo(e,a);return n===!0||n&&vt(n.coordSyses,t.coordinateSystem)>=0},r.prototype.findTargetInfo=function(e,t){for(var a=this._targetInfoList,n=qx(t,e),i=0;ir[1]&&r.reverse(),r}function qx(r,e){return ms(r,e,{includeMainTypes:B6})}var V6={grid:function(r,e){var t=r.xAxisModels,a=r.yAxisModels,n=r.gridModels,i=$(),o={},s={};!t&&!a&&!n||(C(t,function(l){var u=l.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),C(a,function(l){var u=l.axis.grid.model;i.set(u.id,u),s[u.id]=!0}),C(n,function(l){i.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),i.each(function(l){var u=l.coordinateSystem,f=[];C(u.getCartesians(),function(h,v){(vt(t,h.getAxis("x").model)>=0||vt(a,h.getAxis("y").model)>=0)&&f.push(h)}),e.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:f[0],coordSyses:f,getPanelRect:Qx.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,e){C(r.geoModels,function(t){var a=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:a,coordSyses:[a],getPanelRect:Qx.geo})})}},Kx=[function(r,e){var t=r.xAxisModel,a=r.yAxisModel,n=r.gridModel;return!n&&t&&(n=t.axis.grid.model),!n&&a&&(n=a.axis.grid.model),n&&n===e.gridModel},function(r,e){var t=r.geoModel;return t&&t===e.geoModel}],Qx={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,e=r.getBoundingRect().clone();return e.applyTransform(Kn(r)),e}},Xc={lineX:ot(Jx,0),lineY:ot(Jx,1),rect:function(r,e,t,a){var n=r?e.pointToData([t[0][0],t[1][0]],a):e.dataToPoint([t[0][0],t[1][0]],a),i=r?e.pointToData([t[0][1],t[1][1]],a):e.dataToPoint([t[0][1],t[1][1]],a),o=[Bd([n[0],i[0]]),Bd([n[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(r,e,t,a){var n=[[1/0,-1/0],[1/0,-1/0]],i=G(t,function(o){var s=r?e.pointToData(o,a):e.dataToPoint(o,a);return n[0][0]=Math.min(n[0][0],s[0]),n[1][0]=Math.min(n[1][0],s[1]),n[0][1]=Math.max(n[0][1],s[0]),n[1][1]=Math.max(n[1][1],s[1]),s});return{values:i,xyMinMax:n}}};function Jx(r,e,t,a){var n=t.getAxis(["x","y"][r]),i=Bd(G([0,1],function(s){return e?n.coordToData(n.toLocalCoord(a[s]),!0):n.toGlobalCoord(n.dataToCoord(a[s]))})),o=[];return o[r]=i,o[1-r]=[NaN,NaN],{values:i,xyMinMax:o}}var jx={lineX:ot(tb,0),lineY:ot(tb,1),rect:function(r,e,t){return[[r[0][0]-t[0]*e[0][0],r[0][1]-t[0]*e[0][1]],[r[1][0]-t[1]*e[1][0],r[1][1]-t[1]*e[1][1]]]},polygon:function(r,e,t){return G(r,function(a,n){return[a[0]-t[0]*e[n][0],a[1]-t[1]*e[n][1]]})}};function tb(r,e,t,a){return[e[0]-a[r]*t[0],e[1]-a[r]*t[1]]}function z6(r,e){var t=eb(r),a=eb(e),n=[t[0]/a[0],t[1]/a[1]];return isNaN(n[0])&&(n[0]=1),isNaN(n[1])&&(n[1]=1),n}function eb(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var Vd=C,G6=UL("toolbox-dataZoom_"),F6=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n,i){this._brushController||(this._brushController=new wy(n.getZr()),this._brushController.on("brush",Y(this._onBrush,this)).mount()),U6(t,a,this,i,n),W6(t,a)},e.prototype.onclick=function(t,a,n){H6[n].call(this)},e.prototype.remove=function(t,a){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,a){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var a=t.areas;if(!t.isEnd||!a.length)return;var n={},i=this.ecModel;this._brushController.updateCovers([]);var o=new Zy(qy(this.model),i,{include:["grid"]});o.matchOutputRanges(a,i,function(u,f,h){if(h.type==="cartesian2d"){var v=u.brushType;v==="rect"?(s("x",h,f[0]),s("y",h,f[1])):s({lineX:"x",lineY:"y"}[v],h,f)}}),R6(i,n),this._dispatchZoomAction(n);function s(u,f,h){var v=f.getAxis(u),c=v.model,p=l(u,c,i),d=p.findRepresentativeAxisProxy(c).getMinMaxSpan();(d.minValueSpan!=null||d.maxValueSpan!=null)&&(h=pi(0,h.slice(),v.scale.getExtent(),0,d.minValueSpan,d.maxValueSpan)),p&&(n[p.id]={dataZoomId:p.id,startValue:h[0],endValue:h[1]})}function l(u,f,h){var v;return h.eachComponent({mainType:"dataZoom",subType:"select"},function(c){var p=c.getAxisModel(u,f.componentIndex);p&&(v=c)}),v}},e.prototype._dispatchZoomAction=function(t){var a=[];Vd(t,function(n,i){a.push(rt(n))}),a.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:a})},e.getDefaultOption=function(t){var a={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return a},e}(rr),H6={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(E6(this.ecModel))}};function qy(r){var e={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return e.xAxisIndex==null&&e.xAxisId==null&&(e.xAxisIndex="all"),e.yAxisIndex==null&&e.yAxisId==null&&(e.yAxisIndex="all"),e}function W6(r,e){r.setIconStatus("back",O6(e)>1?"emphasis":"normal")}function U6(r,e,t,a,n){var i=t._isZoomActive;a&&a.type==="takeGlobalCursor"&&(i=a.key==="dataZoomSelect"?a.dataZoomSelectActive:!1),t._isZoomActive=i,r.setIconStatus("zoom",i?"emphasis":"normal");var o=new Zy(qy(r),e,{include:["grid"]}),s=o.makePanelOpts(n,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});t._brushController.setPanels(s).enableBrush(i&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}_E("dataZoom",function(r){var e=r.getComponent("toolbox",0),t=["feature","dataZoom"];if(!e||e.get(t)==null)return;var a=e.getModel(t),n=[],i=qy(a),o=ms(r,i);Vd(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),Vd(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,f){var h=l.componentIndex,v={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:G6+u+h};v[f]=h,n.push(v)}return n});function Y6(r){r.registerComponentModel(d6),r.registerComponentView(y6),Fi("saveAsImage",_6),Fi("magicType",x6),Fi("dataView",L6),Fi("dataZoom",F6),Fi("restore",N6),gt(p6)}var X6=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(_t);function p2(r){var e=r.get("confine");return e!=null?!!e:r.get("renderMode")==="richText"}function d2(r){if(mt.domSupported){for(var e=document.documentElement.style,t=0,a=r.length;t-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=i==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=i==="top"?225:45)+"deg)");var f=u*Math.PI/180,h=o+n,v=h*Math.abs(Math.cos(f))+h*Math.abs(Math.sin(f)),c=Math.round(((v-Math.SQRT2*n)/2+Math.SQRT2*n-(v-h)/2)*100)/100;s+=";"+i+":-"+c+"px";var p=e+" solid "+n+"px;",d=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+p,"border-right:"+p,"background-color:"+a+";"];return'
'}function j6(r,e){var t="cubic-bezier(0.23,1,0.32,1)",a=" "+r/2+"s "+t,n="opacity"+a+",visibility"+a;return e||(a=" "+r+"s "+t,n+=mt.transformSupported?","+Ky+a:",left"+a+",top"+a),q6+":"+n}function rb(r,e,t){var a=r.toFixed(0)+"px",n=e.toFixed(0)+"px";if(!mt.transformSupported)return t?"top:"+n+";left:"+a+";":[["top",n],["left",a]];var i=mt.transform3dSupported,o="translate"+(i?"3d":"")+"("+a+","+n+(i?",0":"")+")";return t?"top:0;left:0;"+Ky+":"+o+";":[["top",0],["left",0],[g2,o]]}function tU(r){var e=[],t=r.get("fontSize"),a=r.getTextColor();a&&e.push("color:"+a),e.push("font:"+r.getFont()),t&&e.push("line-height:"+Math.round(t*3/2)+"px");var n=r.get("textShadowColor"),i=r.get("textShadowBlur")||0,o=r.get("textShadowOffsetX")||0,s=r.get("textShadowOffsetY")||0;return n&&i&&e.push("text-shadow:"+o+"px "+s+"px "+i+"px "+n),C(["decoration","align"],function(l){var u=r.get(l);u&&e.push("text-"+l+":"+u)}),e.join(";")}function eU(r,e,t){var a=[],n=r.get("transitionDuration"),i=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),f=r.getModel("textStyle"),h=PA(r,"html"),v=l+"px "+u+"px "+o+"px "+s;return a.push("box-shadow:"+v),e&&n&&a.push(j6(n,t)),i&&a.push("background-color:"+i),C(["width","color","radius"],function(c){var p="border-"+c,d=QT(p),g=r.get(d);g!=null&&a.push(p+":"+g+(c==="color"?"":"px"))}),a.push(tU(f)),h!=null&&a.push("padding:"+_o(h).join("px ")+"px"),a.join(";")+";"}function ab(r,e,t,a,n){var i=e&&e.painter;if(t){var o=i&&i.getViewportRoot();o&&xI(r,o,t,a,n)}else{r[0]=a,r[1]=n;var s=i&&i.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/e.getWidth(),r[3]=r[1]/e.getHeight()}var rU=function(){function r(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,mt.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var n=this._zr=e.getZr(),i=t.appendTo,o=i&&(U(i)?document.querySelector(i):Ji(i)?i:K(i)&&i(e.getDom()));ab(this._styleCoord,n,o,e.getWidth()/2,e.getHeight()/2),(o||e.getDom()).appendChild(a),this._api=e,this._container=o;var s=this;a.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},a.onmousemove=function(l){if(l=l||window.event,!s._enterable){var u=n.handler,f=n.painter.getViewportRoot();Qe(f,l,!0),u.dispatch("mousemove",l)}},a.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(e){if(!this._container){var t=this._api.getDom(),a=Z6(t,"position"),n=t.style;n.position!=="absolute"&&a!=="absolute"&&(n.position="relative")}var i=e.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=e.get("className")||""},r.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var a=this.el,n=a.style,i=this._styleCoord;a.innerHTML?n.cssText=K6+eU(e,!this._firstShow,this._longHide)+rb(i[0],i[1],!0)+("border-color:"+ni(t)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):n.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(e,t,a,n,i){var o=this.el;if(e==null){o.innerHTML="";return}var s="";if(U(i)&&a.get("trigger")==="item"&&!p2(a)&&(s=J6(a,n,i)),U(e))o.innerHTML=e+s;else if(e){o.innerHTML="",z(e)||(e=[e]);for(var l=0;l=0?this._tryShow(i,o):n==="leave"&&this._hide(o))},this))},e.prototype._keepShow=function(){var t=this._tooltipModel,a=this._ecModel,n=this._api,i=t.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!n.isDisposed()&&o.manuallyShowTip(t,a,n,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(t,a,n,i){if(!(i.from===this.uid||mt.node||!n.getDom())){var o=ob(i,n);this._ticket="";var s=i.dataByCoordSys,l=uU(i,a,n);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&i.x!=null&&i.y!=null){var f=nU;f.x=i.x,f.y=i.y,f.update(),nt(f).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:f},o)}else if(s)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:s,tooltipOption:i.tooltipOption},o);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(t,a,n,i))return;var h=r2(i,a),v=h.point[0],c=h.point[1];v!=null&&c!=null&&this._tryShow({offsetX:v,offsetY:c,target:h.el,position:i.position,positionDefault:"bottom"},o)}else i.x!=null&&i.y!=null&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},o))}},e.prototype.manuallyHideTip=function(t,a,n,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(ob(i,n))},e.prototype._manuallyAxisShowTip=function(t,a,n,i){var o=i.seriesIndex,s=i.dataIndex,l=a.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=a.getSeriesByIndex(o);if(u){var f=u.getData(),h=Ko([f.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(h.get("trigger")==="axis")return n.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:i.position}),!0}}},e.prototype._tryShow=function(t,a){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){var s=nt(n);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;Fn(n,function(f){if(nt(f).dataIndex!=null)return l=f,!0;if(nt(f).tooltipConfig!=null)return u=f,!0},!0),l?this._showSeriesItemTooltip(t,l,a):u?this._showComponentItemTooltip(t,u,a):this._hide(a)}else this._lastDataByCoordSys=null,this._hide(a)}},e.prototype._showOrMove=function(t,a){var n=t.get("showDelay");a=Y(a,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(a,n):a()},e.prototype._showAxisTooltip=function(t,a){var n=this._ecModel,i=this._tooltipModel,o=[a.offsetX,a.offsetY],s=Ko([a.tooltipOption],i),l=this._renderMode,u=[],f=ne("section",{blocks:[],noHeader:!0}),h=[],v=new Pv;C(t,function(m){C(m.dataByAxis,function(_){var S=n.getComponent(_.axisDim+"Axis",_.axisIndex),b=_.value;if(!(!S||b==null)){var x=JM(b,S.axis,n,_.seriesDataIndices,_.valueLabelOpt),w=ne("section",{header:x,noHeader:!yr(x),sortBlocks:!0,blocks:[]});f.blocks.push(w),C(_.seriesDataIndices,function(T){var A=n.getSeriesByIndex(T.seriesIndex),D=T.dataIndexInside,M=A.getDataParams(D);if(!(M.dataIndex<0)){M.axisDim=_.axisDim,M.axisIndex=_.axisIndex,M.axisType=_.axisType,M.axisId=_.axisId,M.axisValue=Qg(S.axis,{value:b}),M.axisValueLabel=x,M.marker=v.makeTooltipMarker("item",ni(M.color),l);var I=U0(A.formatTooltip(D,!0,null)),L=I.frag;if(L){var P=Ko([A],i).get("valueFormatter");w.blocks.push(P?V({valueFormatter:P},L):L)}I.text&&h.push(I.text),u.push(M)}})}})}),f.blocks.reverse(),h.reverse();var c=a.position,p=s.get("order"),d=K0(f,v,l,p,n.get("useUTC"),s.get("textStyle"));d&&h.unshift(d);var g=l==="richText"?` + +`:"
",y=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,c,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],c,null,v)})},e.prototype._showSeriesItemTooltip=function(t,a,n){var i=this._ecModel,o=nt(a),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,v=u.getData(h),c=this._renderMode,p=t.positionDefault,d=Ko([v.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(f,h),m=new Pv;y.marker=m.makeTooltipMarker("item",ni(y.color),c);var _=U0(u.formatTooltip(f,!1,h)),S=d.get("order"),b=d.get("valueFormatter"),x=_.frag,w=x?K0(b?V({valueFormatter:b},x):x,m,c,S,i.get("useUTC"),d.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(d,function(){this._showTooltipContent(d,w,y,T,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:f,dataIndex:v.getRawIndex(f),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,a,n){var i=nt(a),o=i.tooltipConfig,s=o.option||{};if(U(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(i.componentMainType,i.componentIndex);f&&u.push(f),u.push({formatter:s.content});var h=t.positionDefault,v=Ko(u,this._tooltipModel,h?{position:h}:null),c=v.get("content"),p=Math.random()+"",d=new Pv;this._showOrMove(v,function(){var g=rt(v.get("formatterParams")||{});this._showTooltipContent(v,c,g,p,t.offsetX,t.offsetY,t.position,a,d)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,a,n,i,o,s,l,u,f){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var v=t.get("formatter");l=l||t.get("position");var c=a,p=this._getNearestPoint([o,s],n,t.get("trigger"),t.get("borderColor")),d=p.color;if(v)if(U(v)){var g=t.ecModel.get("useUTC"),y=z(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;c=v,m&&(c=ph(y.axisValue,c,g)),c=JT(c,n,!0)}else if(K(v)){var _=Y(function(S,b){S===this._ticket&&(h.setContent(b,f,t,d,l),this._updatePosition(t,l,o,s,h,n,u))},this);this._ticket=i,c=v(n,i,_)}else c=v;h.setContent(c,f,t,d,l),h.show(t,d),this._updatePosition(t,l,o,s,h,n,u)}},e.prototype._getNearestPoint=function(t,a,n,i){if(n==="axis"||z(a))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!z(a))return{color:i||a.color||a.borderColor}},e.prototype._updatePosition=function(t,a,n,i,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();a=a||t.get("position");var h=o.getSize(),v=t.get("align"),c=t.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),K(a)&&(a=a([n,i],s,o.el,p,{viewSize:[u,f],contentSize:h.slice()})),z(a))n=W(a[0],u),i=W(a[1],f);else if(tt(a)){var d=a;d.width=h[0],d.height=h[1];var g=Jt(d,{width:u,height:f});n=g.x,i=g.y,v=null,c=null}else if(U(a)&&l){var y=lU(a,p,h,t.get("borderWidth"));n=y[0],i=y[1]}else{var y=oU(n,i,o,u,f,v?null:20,c?null:20);n=y[0],i=y[1]}if(v&&(n-=sb(v)?h[0]/2:v==="right"?h[0]:0),c&&(i-=sb(c)?h[1]/2:c==="bottom"?h[1]:0),p2(t)){var y=sU(n,i,o,u,f);n=y[0],i=y[1]}o.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,a){var n=this._lastDataByCoordSys,i=this._cbParamsList,o=!!n&&n.length===t.length;return o&&C(n,function(s,l){var u=s.dataByAxis||[],f=t[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&C(u,function(v,c){var p=h[c]||{},d=v.seriesDataIndices||[],g=p.seriesDataIndices||[];o=o&&v.value===p.value&&v.axisType===p.axisType&&v.axisId===p.axisId&&d.length===g.length,o&&C(d,function(y,m){var _=g[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),i&&C(v.seriesDataIndices,function(y){var m=y.seriesIndex,_=a[m],S=i[m];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=a,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,a){mt.node||!a.getDom()||(Fs(this,"_updatePosition"),this._tooltipContent.dispose(),Ed("itemTooltip",a))},e.type="tooltip",e}(Gt);function Ko(r,e,t){var a=e.ecModel,n;t?(n=new It(t,a,a),n=new It(e.option,n,a)):n=e;for(var i=r.length-1;i>=0;i--){var o=r[i];o&&(o instanceof It&&(o=o.get("tooltip",!0)),U(o)&&(o={formatter:o}),o&&(n=new It(o,n,a)))}return n}function ob(r,e){return r.dispatchAction||Y(e.dispatchAction,e)}function oU(r,e,t,a,n,i,o){var s=t.getSize(),l=s[0],u=s[1];return i!=null&&(r+l+i+2>a?r-=l+i:r+=i),o!=null&&(e+u+o>n?e-=u+o:e+=o),[r,e]}function sU(r,e,t,a,n){var i=t.getSize(),o=i[0],s=i[1];return r=Math.min(r+o,a)-o,e=Math.min(e+s,n)-s,r=Math.max(r,0),e=Math.max(e,0),[r,e]}function lU(r,e,t,a){var n=t[0],i=t[1],o=Math.ceil(Math.SQRT2*a)+8,s=0,l=0,u=e.width,f=e.height;switch(r){case"inside":s=e.x+u/2-n/2,l=e.y+f/2-i/2;break;case"top":s=e.x+u/2-n/2,l=e.y-i-o;break;case"bottom":s=e.x+u/2-n/2,l=e.y+f+o;break;case"left":s=e.x-n-o,l=e.y+f/2-i/2;break;case"right":s=e.x+u+o,l=e.y+f/2-i/2}return[s,l]}function sb(r){return r==="center"||r==="middle"}function uU(r,e,t){var a=fg(r).queryOptionMap,n=a.keys()[0];if(!(!n||n==="series")){var i=il(e,n,a.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var s=t.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var f=nt(u).tooltipConfig;if(f&&f.name===r.name)return l=u,!0}),l)return{componentMainType:n,componentIndex:o.componentIndex,el:l}}}}function fU(r){gt(Al),r.registerComponentModel(X6),r.registerComponentView(iU),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Xt),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Xt)}var hU=["rect","polygon","keep","clear"];function vU(r,e){var t=Rt(r?r.brush:[]);if(t.length){var a=[];C(t,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(a=a.concat(u))});var n=r&&r.toolbox;z(n)&&(n=n[0]),n||(n={feature:{}},r.toolbox=[n]);var i=n.feature||(n.feature={}),o=i.brush||(i.brush={}),s=o.type||(o.type=[]);s.push.apply(s,a),cU(s),e&&!s.length&&s.push.apply(s,hU)}}function cU(r){var e={};C(r,function(t){e[t]=1}),r.length=0,C(e,function(t,a){r.push(a)})}var lb=C;function ub(r){if(r){for(var e in r)if(r.hasOwnProperty(e))return!0}}function zd(r,e,t){var a={};return lb(e,function(i){var o=a[i]=n();lb(r[i],function(s,l){if(re.isValidType(l)){var u={type:l,visual:s};t&&t(u,i),o[l]=new re(u),l==="opacity"&&(u=rt(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new re(u))}})}),a;function n(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function m2(r,e,t){var a;C(t,function(n){e.hasOwnProperty(n)&&ub(e[n])&&(a=!0)}),a&&C(t,function(n){e.hasOwnProperty(n)&&ub(e[n])?r[n]=rt(e[n]):delete r[n]})}function pU(r,e,t,a,n,i){var o={};C(r,function(h){var v=re.prepareVisualTypes(e[h]);o[h]=v});var s;function l(h){return Gg(t,s,h)}function u(h,v){FA(t,s,h,v)}t.each(f);function f(h,v){s=h;var c=t.getRawDataItem(s);if(!(c&&c.visualMap===!1))for(var p=a.call(n,h),d=e[p],g=o[p],y=0,m=g.length;ye[0][1]&&(e[0][1]=i[0]),i[1]e[1][1]&&(e[1][1]=i[1])}return e&&pb(e)}};function pb(r){return new ht(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var bU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){this.ecModel=t,this.api=a,this.model,(this._brushController=new wy(a.getZr())).on("brush",Y(this._onBrush,this)).mount()},e.prototype.render=function(t,a,n,i){this.model=t,this._updateController(t,a,n,i)},e.prototype.updateTransform=function(t,a,n,i){_2(a),this._updateController(t,a,n,i)},e.prototype.updateVisual=function(t,a,n,i){this.updateTransform(t,a,n,i)},e.prototype.updateView=function(t,a,n,i){this._updateController(t,a,n,i)},e.prototype._updateController=function(t,a,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var a=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:a,areas:rt(n),$from:a}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:a,areas:rt(n),$from:a})},e.type="brush",e}(Gt),wU="#ddd",TU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.areas=[],t.brushOption={},t}return e.prototype.optionUpdated=function(t,a){var n=this.option;!a&&m2(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:wU},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=G(t,function(a){return db(this.option,a)},this))},e.prototype.setBrushOption=function(t){this.brushOption=db(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(_t);function db(r,e){return ft({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new It(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},e,!0)}var AU=["rect","polygon","lineX","lineY","keep","clear"],CU=function(r){k(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,a,n){var i,o,s;a.eachComponent({mainType:"brush"},function(l){i=l.brushType,o=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=i,this._brushMode=o,C(t.get("type",!0),function(l){t.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?s:l===i)?"emphasis":"normal")})},e.prototype.updateView=function(t,a,n){this.render(t,a,n)},e.prototype.getIcons=function(){var t=this.model,a=t.get("icon",!0),n={};return C(t.get("type",!0),function(i){a[i]&&(n[i]=a[i])}),n},e.prototype.onclick=function(t,a,n){var i=this._brushType,o=this._brushMode;n==="clear"?(a.dispatchAction({type:"axisAreaSelect",intervals:[]}),a.dispatchAction({type:"brush",command:"clear",areas:[]})):a.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?i:i===n?!1:n,brushMode:n==="keep"?o==="multiple"?"single":"multiple":o}})},e.getDefaultOption=function(t){var a={show:!0,type:AU.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return a},e}(rr);function DU(r){r.registerComponentView(bU),r.registerComponentModel(TU),r.registerPreprocessor(vU),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,yU),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(a){a.setAreas(e.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Xt),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Xt),Fi("brush",CU)}var MU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(_t),IU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,a,n){if(this.group.removeAll(),!!t.get("show")){var i=this.group,o=t.getModel("textStyle"),s=t.getModel("subtextStyle"),l=t.get("textAlign"),u=it(t.get("textBaseline"),t.get("textVerticalAlign")),f=new Tt({style:Nt(o,{text:t.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),h=f.getBoundingRect(),v=t.get("subtext"),c=new Tt({style:Nt(s,{text:v,fill:s.getTextColor(),y:h.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),g=t.get("triggerEvent",!0);f.silent=!p&&!g,c.silent=!d&&!g,p&&f.on("click",function(){mf(p,"_"+t.get("target"))}),d&&c.on("click",function(){mf(d,"_"+t.get("subtarget"))}),nt(f).eventData=nt(c).eventData=g?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(f),v&&i.add(c);var y=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=y.width,m.height=y.height;var _=Jt(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=t.get("top")||t.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),i.x=_.x,i.y=_.y,i.markRedraw();var S={align:l,verticalAlign:u};f.setStyle(S),c.setStyle(S),y=i.getBoundingRect();var b=_.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var w=new bt({shape:{x:y.x-b[3],y:y.y-b[0],width:y.width+b[1]+b[3],height:y.height+b[0]+b[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(Gt);function LU(r){r.registerComponentModel(MU),r.registerComponentView(IU)}var gb=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode="box",t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){t==null&&(t=this.option.currentIndex);var a=this._data.count();this.option.loop?t=(t%a+a)%a:(t>=a&&(t=a-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t=this.option,a=t.data||[],n=t.axisType,i=this._names=[],o;n==="category"?(o=[],C(a,function(u,f){var h=Qt(vo(u),""),v;tt(u)?(v=rt(u),v.value=f):v=f,o.push(v),i.push(h)})):o=a;var s={category:"ordinal",time:"time",value:"number"}[n]||"number",l=this._data=new Ae([{name:"value",type:s}],this);l.initData(o,i)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(_t),S2=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline.slider",e.defaultOption=en(gb.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(gb);Kt(S2,Bg.prototype);var PU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline",e}(Gt),RU=function(r){k(e,r);function e(t,a,n,i){var o=r.call(this,t,a,n)||this;return o.type=i||"value",o}return e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},e}(Tr),Zc=Math.PI,yb=At(),EU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,a){this.api=a},e.prototype.render=function(t,a,n){if(this.model=t,this.api=n,this.ecModel=a,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(i,t);t.formatTooltip=function(u){var f=l.scale.getLabel({value:u});return ne("nameValue",{noName:!0,value:f})},C(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](i,o,l,t)},this),this._renderAxisLabel(i,s,l,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,a){var n=t.get(["label","position"]),i=t.get("orient"),o=OU(t,a),s;n==null||n==="auto"?s=i==="horizontal"?o.y+o.height/2=0||s==="+"?"left":"right"},u={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},f={horizontal:0,vertical:Zc/2},h=i==="vertical"?o.height:o.width,v=t.getModel("controlStyle"),c=v.get("show",!0),p=c?v.get("itemSize"):0,d=c?v.get("itemGap"):0,g=p+d,y=t.get(["label","rotate"])||0;y=y*Zc/180;var m,_,S,b=v.get("position",!0),x=c&&v.get("showPlayBtn",!0),w=c&&v.get("showPrevBtn",!0),T=c&&v.get("showNextBtn",!0),A=0,D=h;b==="left"||b==="bottom"?(x&&(m=[0,0],A+=g),w&&(_=[A,0],A+=g),T&&(S=[D-p,0],D-=g)):(x&&(m=[D-p,0],D-=g),w&&(_=[0,0],A+=g),T&&(S=[D-p,0],D-=g));var M=[A,D];return t.get("inverse")&&M.reverse(),{viewRect:o,mainLength:h,orient:i,rotation:f[i],labelRotation:y,labelPosOpt:s,labelAlign:t.get(["label","align"])||l[i],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[i],playPosition:m,prevBtnPosition:_,nextBtnPosition:S,axisExtent:M,controlSize:p,controlGap:d}},e.prototype._position=function(t,a){var n=this._mainGroup,i=this._labelGroup,o=t.viewRect;if(t.orient==="vertical"){var s=We(),l=o.x,u=o.y+o.height;Hr(s,s,[-l,-u]),li(s,s,-Zc/2),Hr(s,s,[l,u]),o=o.clone(),o.applyTransform(s)}var f=m(o),h=m(n.getBoundingRect()),v=m(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=f[0][0];var d=t.labelPosOpt;if(d==null||U(d)){var g=d==="+"?0:1;_(c,h,f,1,g),_(p,v,f,1,1-g)}else{var g=d>=0?0:1;_(c,h,f,1,g),p[1]=c[1]+d}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,y(n),y(i);function y(S){S.originX=f[0][0]-S.x,S.originY=f[1][0]-S.y}function m(S){return[[S.x,S.x+S.width],[S.y,S.y+S.height]]}function _(S,b,x,w,T){S[w]+=x[w][T]-b[w][T]}},e.prototype._createAxis=function(t,a){var n=a.getData(),i=a.get("axisType"),o=kU(a,i);o.getTicks=function(){return n.mapArray(["value"],function(u){return{value:u}})};var s=n.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();var l=new RU("value",o,t.axisExtent,i);return l.model=a,l},e.prototype._createGroup=function(t){var a=this[t]=new at;return this.group.add(a),a},e.prototype._renderAxisLine=function(t,a,n,i){var o=n.getExtent();if(i.get(["lineStyle","show"])){var s=new te({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:V({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});a.add(s);var l=this._progressLine=new te({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:j({lineCap:"round",lineWidth:s.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});a.add(l)}},e.prototype._renderAxisTick=function(t,a,n,i){var o=this,s=i.getData(),l=n.scale.getTicks();this._tickSymbols=[],C(l,function(u){var f=n.dataToCoord(u.value),h=s.getItemModel(u.value),v=h.getModel("itemStyle"),c=h.getModel(["emphasis","itemStyle"]),p=h.getModel(["progress","itemStyle"]),d={x:f,y:0,onclick:Y(o._changeTimeline,o,u.value)},g=mb(h,v,a,d);g.ensureState("emphasis").style=c.getItemStyle(),g.ensureState("progress").style=p.getItemStyle(),qn(g);var y=nt(g);h.get("tooltip")?(y.dataIndex=u.value,y.dataModel=i):y.dataIndex=y.dataModel=null,o._tickSymbols.push(g)})},e.prototype._renderAxisLabel=function(t,a,n,i){var o=this,s=n.getLabelModel();if(s.get("show")){var l=i.getData(),u=n.getViewLabels();this._tickLabels=[],C(u,function(f){var h=f.tickValue,v=l.getItemModel(h),c=v.getModel("label"),p=v.getModel(["emphasis","label"]),d=v.getModel(["progress","label"]),g=n.dataToCoord(f.tickValue),y=new Tt({x:g,y:0,rotation:t.labelRotation-t.rotation,onclick:Y(o._changeTimeline,o,h),silent:!1,style:Nt(c,{text:f.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});y.ensureState("emphasis").style=Nt(p),y.ensureState("progress").style=Nt(d),a.add(y),qn(y),yb(y).dataIndex=h,o._tickLabels.push(y)})}},e.prototype._renderControl=function(t,a,n,i){var o=t.controlSize,s=t.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel(["emphasis","controlStyle"]).getItemStyle(),f=i.getPlayState(),h=i.get("inverse",!0);v(t.nextBtnPosition,"next",Y(this._changeTimeline,this,h?"-":"+")),v(t.prevBtnPosition,"prev",Y(this._changeTimeline,this,h?"+":"-")),v(t.playPosition,f?"stop":"play",Y(this._handlePlayClick,this,!f),!0);function v(c,p,d,g){if(c){var y=xr(it(i.get(["controlStyle",p+"BtnSize"]),o),o),m=[0,-y/2,y,y],_=NU(i,p+"Icon",m,{x:c[0],y:c[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:l,onclick:d});_.ensureState("emphasis").style=u,a.add(_),qn(_)}}},e.prototype._renderCurrentPointer=function(t,a,n,i){var o=i.getData(),s=i.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),u=this,f={onCreate:function(h){h.draggable=!0,h.drift=Y(u._handlePointerDrag,u),h.ondragend=Y(u._handlePointerDragend,u),_b(h,u._progressLine,s,n,i,!0)},onUpdate:function(h){_b(h,u._progressLine,s,n,i)}};this._currentPointer=mb(l,l,this._mainGroup,{},this._currentPointer,f)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,a,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,a){var n=this._toAxisCoord(t)[0],i=this._axis,o=ir(i.getExtent().slice());n>o[1]&&(n=o[1]),n=0&&(o[i]=+o[i].toFixed(v)),[o,h]}var qc={min:ot(Iu,"min"),max:ot(Iu,"max"),average:ot(Iu,"average"),median:ot(Iu,"median")};function el(r,e){if(e){var t=r.getData(),a=r.coordinateSystem,n=a&&a.dimensions;if(!HU(e)&&!z(e.coord)&&z(n)){var i=x2(e,t,a,r);if(e=rt(e),e.type&&qc[e.type]&&i.baseAxis&&i.valueAxis){var o=vt(n,i.baseAxis.dim),s=vt(n,i.valueAxis.dim),l=qc[e.type](t,i.baseDataDim,i.valueDataDim,o,s);e.coord=l[0],e.value=l[1]}else e.coord=[e.xAxis!=null?e.xAxis:e.radiusAxis,e.yAxis!=null?e.yAxis:e.angleAxis]}if(e.coord==null||!z(n))e.coord=[];else for(var u=e.coord,f=0;f<2;f++)qc[u[f]]&&(u[f]=Jy(t,t.mapDimension(n[f]),u[f]));return e}}function x2(r,e,t,a){var n={};return r.valueIndex!=null||r.valueDim!=null?(n.valueDataDim=r.valueIndex!=null?e.getDimension(r.valueIndex):r.valueDim,n.valueAxis=t.getAxis(WU(a,n.valueDataDim)),n.baseAxis=t.getOtherAxis(n.valueAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim)):(n.baseAxis=a.getBaseAxis(),n.valueAxis=t.getOtherAxis(n.baseAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim),n.valueDataDim=e.mapDimension(n.valueAxis.dim)),n}function WU(r,e){var t=r.getData().getDimensionInfo(e);return t&&t.coordDim}function rl(r,e){return r&&r.containData&&e.coord&&!Fd(e)?r.containData(e.coord):!0}function UU(r,e,t){return r&&r.containZone&&e.coord&&t.coord&&!Fd(e)&&!Fd(t)?r.containZone(e.coord,t.coord):!0}function b2(r,e){return r?function(t,a,n,i){var o=i<2?t.coord&&t.coord[i]:t.value;return Ua(o,e[i])}:function(t,a,n,i){return Ua(t.value,e[i])}}function Jy(r,e,t){if(t==="average"){var a=0,n=0;return r.each(e,function(i,o){isNaN(i)||(a+=i,n++)}),a/n}else return t==="median"?r.getMedian(e):r.getDataExtent(e)[t==="max"?1:0]}var Kc=At(),jy=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){this.markerGroupMap=$()},e.prototype.render=function(t,a,n){var i=this,o=this.markerGroupMap;o.each(function(s){Kc(s).keep=!1}),a.eachSeries(function(s){var l=da.getMarkerModelFromSeries(s,i.type);l&&i.renderSeries(s,l,a,n)}),o.each(function(s){!Kc(s).keep&&i.group.remove(s.group)})},e.prototype.markKeep=function(t){Kc(t).keep=!0},e.prototype.toggleBlurSeries=function(t,a){var n=this;C(t,function(i){var o=da.getMarkerModelFromSeries(i,n.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(l){l&&(a?dT(l):yg(l))})}})},e.type="marker",e}(Gt);function xb(r,e,t){var a=e.coordinateSystem;r.each(function(n){var i=r.getItemModel(n),o,s=W(i.get("x"),t.getWidth()),l=W(i.get("y"),t.getHeight());if(!isNaN(s)&&!isNaN(l))o=[s,l];else if(e.getMarkerPosition)o=e.getMarkerPosition(r.getValues(r.dimensions,n));else if(a){var u=r.get(a.dimensions[0],n),f=r.get(a.dimensions[1],n);o=a.dataToPoint([u,f])}isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),r.setItemLayout(n,o)})}var YU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=da.getMarkerModelFromSeries(i,"markPoint");o&&(xb(o.getData(),i,n),this.markerGroupMap.get(i.id).updateLayout())},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,new ml),h=XU(o,t,a);a.setData(h),xb(a.getData(),t,i),h.each(function(v){var c=h.getItemModel(v),p=c.getShallow("symbol"),d=c.getShallow("symbolSize"),g=c.getShallow("symbolRotate"),y=c.getShallow("symbolOffset"),m=c.getShallow("symbolKeepAspect");if(K(p)||K(d)||K(g)||K(y)){var _=a.getRawValue(v),S=a.getDataParams(v);K(p)&&(p=p(_,S)),K(d)&&(d=d(_,S)),K(g)&&(g=g(_,S)),K(y)&&(y=y(_,S))}var b=c.getModel("itemStyle").getItemStyle(),x=cl(l,"color");b.fill||(b.fill=x),h.setItemVisual(v,{symbol:p,symbolSize:d,symbolRotate:g,symbolOffset:y,symbolKeepAspect:m,style:b})}),f.updateData(h),this.group.add(f.group),h.eachItemGraphicEl(function(v){v.traverse(function(c){nt(c).dataModel=a})}),this.markKeep(f),f.group.silent=a.get("silent")||t.get("silent")},e.type="markPoint",e}(jy);function XU(r,e,t){var a;r?a=G(r&&r.dimensions,function(s){var l=e.getData().getDimensionInfo(e.getData().mapDimension(s))||{};return V(V({},l),{name:s,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var n=new Ae(a,t),i=G(t.get("data"),ot(el,e));r&&(i=Pt(i,ot(rl,r)));var o=b2(!!r,a);return n.initData(i,null,o),n}function $U(r){r.registerComponentModel(FU),r.registerComponentView(YU),r.registerPreprocessor(function(e){Qy(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}var ZU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,a,n){return new e(t,a,n)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(da),Lu=At(),qU=function(r,e,t,a){var n=r.getData(),i;if(z(a))i=a;else{var o=a.type;if(o==="min"||o==="max"||o==="average"||o==="median"||a.xAxis!=null||a.yAxis!=null){var s=void 0,l=void 0;if(a.yAxis!=null||a.xAxis!=null)s=e.getAxis(a.yAxis!=null?"y":"x"),l=oe(a.yAxis,a.xAxis);else{var u=x2(a,n,e,r);s=u.valueAxis;var f=gC(n,u.valueDataDim);l=Jy(n,f,o)}var h=s.dim==="x"?0:1,v=1-h,c=rt(a),p={coord:[]};c.type=null,c.coord=[],c.coord[v]=-1/0,p.coord[v]=1/0;var d=t.get("precision");d>=0&&Ct(l)&&(l=+l.toFixed(Math.min(d,20))),c.coord[h]=p.coord[h]=l,i=[c,p,{type:o,valueIndex:a.valueIndex,value:l}]}else i=[]}var g=[el(r,i[0]),el(r,i[1]),V({},i[2])];return g[2].type=g[2].type||null,ft(g[2],g[0]),ft(g[2],g[1]),g};function Wf(r){return!isNaN(r)&&!isFinite(r)}function bb(r,e,t,a){var n=1-r,i=a.dimensions[r];return Wf(e[n])&&Wf(t[n])&&e[r]===t[r]&&a.getAxis(i).containData(e[r])}function KU(r,e){if(r.type==="cartesian2d"){var t=e[0].coord,a=e[1].coord;if(t&&a&&(bb(1,t,a,r)||bb(0,t,a,r)))return!0}return rl(r,e[0])&&rl(r,e[1])}function Qc(r,e,t,a,n){var i=a.coordinateSystem,o=r.getItemModel(e),s,l=W(o.get("x"),n.getWidth()),u=W(o.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition)s=a.getMarkerPosition(r.getValues(r.dimensions,e));else{var f=i.dimensions,h=r.get(f[0],e),v=r.get(f[1],e);s=i.dataToPoint([h,v])}if(vi(i,"cartesian2d")){var c=i.getAxis("x"),p=i.getAxis("y"),f=i.dimensions;Wf(r.get(f[0],e))?s[0]=c.toGlobalCoord(c.getExtent()[t?0:1]):Wf(r.get(f[1],e))&&(s[1]=p.toGlobalCoord(p.getExtent()[t?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}r.setItemLayout(e,s)}var QU=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=da.getMarkerModelFromSeries(i,"markLine");if(o){var s=o.getData(),l=Lu(o).from,u=Lu(o).to;l.each(function(f){Qc(l,f,!0,i,n),Qc(u,f,!1,i,n)}),s.each(function(f){s.setItemLayout(f,[l.getItemLayout(f),u.getItemLayout(f)])}),this.markerGroupMap.get(i.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,new by);this.group.add(f.group);var h=JU(o,t,a),v=h.from,c=h.to,p=h.line;Lu(a).from=v,Lu(a).to=c,a.setData(p);var d=a.get("symbol"),g=a.get("symbolSize"),y=a.get("symbolRotate"),m=a.get("symbolOffset");z(d)||(d=[d,d]),z(g)||(g=[g,g]),z(y)||(y=[y,y]),z(m)||(m=[m,m]),h.from.each(function(S){_(v,S,!0),_(c,S,!1)}),p.each(function(S){var b=p.getItemModel(S).getModel("lineStyle").getLineStyle();p.setItemLayout(S,[v.getItemLayout(S),c.getItemLayout(S)]),b.stroke==null&&(b.stroke=v.getItemVisual(S,"style").fill),p.setItemVisual(S,{fromSymbolKeepAspect:v.getItemVisual(S,"symbolKeepAspect"),fromSymbolOffset:v.getItemVisual(S,"symbolOffset"),fromSymbolRotate:v.getItemVisual(S,"symbolRotate"),fromSymbolSize:v.getItemVisual(S,"symbolSize"),fromSymbol:v.getItemVisual(S,"symbol"),toSymbolKeepAspect:c.getItemVisual(S,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(S,"symbolOffset"),toSymbolRotate:c.getItemVisual(S,"symbolRotate"),toSymbolSize:c.getItemVisual(S,"symbolSize"),toSymbol:c.getItemVisual(S,"symbol"),style:b})}),f.updateData(p),h.line.eachItemGraphicEl(function(S){nt(S).dataModel=a,S.traverse(function(b){nt(b).dataModel=a})});function _(S,b,x){var w=S.getItemModel(b);Qc(S,b,x,t,i);var T=w.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=cl(l,"color")),S.setItemVisual(b,{symbolKeepAspect:w.get("symbolKeepAspect"),symbolOffset:it(w.get("symbolOffset",!0),m[x?0:1]),symbolRotate:it(w.get("symbolRotate",!0),y[x?0:1]),symbolSize:it(w.get("symbolSize"),g[x?0:1]),symbol:it(w.get("symbol",!0),d[x?0:1]),style:T})}this.markKeep(f),f.group.silent=a.get("silent")||t.get("silent")},e.type="markLine",e}(jy);function JU(r,e,t){var a;r?a=G(r&&r.dimensions,function(u){var f=e.getData().getDimensionInfo(e.getData().mapDimension(u))||{};return V(V({},f),{name:u,ordinalMeta:null})}):a=[{name:"value",type:"float"}];var n=new Ae(a,t),i=new Ae(a,t),o=new Ae([],t),s=G(t.get("data"),ot(qU,e,r,t));r&&(s=Pt(s,ot(KU,r)));var l=b2(!!r,a);return n.initData(G(s,function(u){return u[0]}),null,l),i.initData(G(s,function(u){return u[1]}),null,l),o.initData(G(s,function(u){return u[2]})),o.hasItemOption=!0,{from:n,to:i,line:o}}function jU(r){r.registerComponentModel(ZU),r.registerComponentView(QU),r.registerPreprocessor(function(e){Qy(e.series,"markLine")&&(e.markLine=e.markLine||{})})}var t8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,a,n){return new e(t,a,n)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(da),Pu=At(),e8=function(r,e,t,a){var n=a[0],i=a[1];if(!(!n||!i)){var o=el(r,n),s=el(r,i),l=o.coord,u=s.coord;l[0]=oe(l[0],-1/0),l[1]=oe(l[1],-1/0),u[0]=oe(u[0],1/0),u[1]=oe(u[1],1/0);var f=jd([{},o,s]);return f.coord=[o.coord,s.coord],f.x0=o.x,f.y0=o.y,f.x1=s.x,f.y1=s.y,f}};function Uf(r){return!isNaN(r)&&!isFinite(r)}function wb(r,e,t,a){var n=1-r;return Uf(e[n])&&Uf(t[n])}function r8(r,e){var t=e.coord[0],a=e.coord[1],n={coord:t,x:e.x0,y:e.y0},i={coord:a,x:e.x1,y:e.y1};return vi(r,"cartesian2d")?t&&a&&(wb(1,t,a)||wb(0,t,a))?!0:UU(r,n,i):rl(r,n)||rl(r,i)}function Tb(r,e,t,a,n){var i=a.coordinateSystem,o=r.getItemModel(e),s,l=W(o.get(t[0]),n.getWidth()),u=W(o.get(t[1]),n.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(a.getMarkerPosition){var f=r.getValues(["x0","y0"],e),h=r.getValues(["x1","y1"],e),v=i.clampData(f),c=i.clampData(h),p=[];t[0]==="x0"?p[0]=v[0]>c[0]?h[0]:f[0]:p[0]=v[0]>c[0]?f[0]:h[0],t[1]==="y0"?p[1]=v[1]>c[1]?h[1]:f[1]:p[1]=v[1]>c[1]?f[1]:h[1],s=a.getMarkerPosition(p,t,!0)}else{var d=r.get(t[0],e),g=r.get(t[1],e),y=[d,g];i.clampData&&i.clampData(y,y),s=i.dataToPoint(y,!0)}if(vi(i,"cartesian2d")){var m=i.getAxis("x"),_=i.getAxis("y"),d=r.get(t[0],e),g=r.get(t[1],e);Uf(d)?s[0]=m.toGlobalCoord(m.getExtent()[t[0]==="x0"?0:1]):Uf(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[t[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var Ab=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],a8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,a,n){a.eachSeries(function(i){var o=da.getMarkerModelFromSeries(i,"markArea");if(o){var s=o.getData();s.each(function(l){var u=G(Ab,function(h){return Tb(s,l,h,i,n)});s.setItemLayout(l,u);var f=s.getItemGraphicEl(l);f.setShape("points",u)})}},this)},e.prototype.renderSeries=function(t,a,n,i){var o=t.coordinateSystem,s=t.id,l=t.getData(),u=this.markerGroupMap,f=u.get(s)||u.set(s,{group:new at});this.group.add(f.group),this.markKeep(f);var h=n8(o,t,a);a.setData(h),h.each(function(v){var c=G(Ab,function(T){return Tb(h,v,T,t,i)}),p=o.getAxis("x").scale,d=o.getAxis("y").scale,g=p.getExtent(),y=d.getExtent(),m=[p.parse(h.get("x0",v)),p.parse(h.get("x1",v))],_=[d.parse(h.get("y0",v)),d.parse(h.get("y1",v))];ir(m),ir(_);var S=!(g[0]>m[1]||g[1]_[1]||y[1]<_[0]),b=!S;h.setItemLayout(v,{points:c,allClipped:b});var x=h.getItemModel(v).getModel("itemStyle").getItemStyle(),w=cl(l,"color");x.fill||(x.fill=w,U(x.fill)&&(x.fill=of(x.fill,.4))),x.stroke||(x.stroke=w),h.setItemVisual(v,"style",x)}),h.diff(Pu(f).data).add(function(v){var c=h.getItemLayout(v);if(!c.allClipped){var p=new Le({shape:{points:c.points}});h.setItemGraphicEl(v,p),f.group.add(p)}}).update(function(v,c){var p=Pu(f).data.getItemGraphicEl(c),d=h.getItemLayout(v);d.allClipped?p&&f.group.remove(p):(p?Dt(p,{shape:{points:d.points}},a,v):p=new Le({shape:{points:d.points}}),h.setItemGraphicEl(v,p),f.group.add(p))}).remove(function(v){var c=Pu(f).data.getItemGraphicEl(v);f.group.remove(c)}).execute(),h.eachItemGraphicEl(function(v,c){var p=h.getItemModel(c),d=h.getItemVisual(c,"style");v.useStyle(h.getItemVisual(c,"style")),he(v,ae(p),{labelFetcher:a,labelDataIndex:c,defaultText:h.getName(c)||"",inheritColor:U(d.fill)?of(d.fill,1):"#000"}),fe(v,p),Ht(v,null,null,p.get(["emphasis","disabled"])),nt(v).dataModel=a}),Pu(f).data=h,f.group.silent=a.get("silent")||t.get("silent")},e.type="markArea",e}(jy);function n8(r,e,t){var a,n,i=["x0","y0","x1","y1"];if(r){var o=G(r&&r.dimensions,function(u){var f=e.getData(),h=f.getDimensionInfo(f.mapDimension(u))||{};return V(V({},h),{name:u,ordinalMeta:null})});n=G(i,function(u,f){return{name:u,type:o[f%2].type}}),a=new Ae(n,t)}else n=[{name:"value",type:"float"}],a=new Ae(n,t);var s=G(t.get("data"),ot(e8,e,r,t));r&&(s=Pt(s,ot(r8,r)));var l=r?function(u,f,h,v){var c=u.coord[Math.floor(v/2)][v%2];return Ua(c,n[v])}:function(u,f,h,v){return Ua(u.value,n[v])};return a.initData(s,null,l),a.hasItemOption=!0,a}function i8(r){r.registerComponentModel(t8),r.registerComponentView(a8),r.registerPreprocessor(function(e){Qy(e.series,"markArea")&&(e.markArea=e.markArea||{})})}var o8=function(r,e){if(e==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},Hd=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(t,a){r.prototype.mergeOption.call(this,t,a),this._updateSelector(t)},e.prototype._updateSelector=function(t){var a=t.selector,n=this.ecModel;a===!0&&(a=t.selector=["all","inverse"]),z(a)&&C(a,function(i,o){U(i)&&(i={type:i}),a[o]=ft(i,o8(n,i.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var a=!1,n=0;n=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(_t),Ri=ot,Wd=C,Ru=at,w2=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new Ru),this.group.add(this._selectorGroup=new Ru),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,a,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var o=t.get("align"),s=t.get("orient");(!o||o==="auto")&&(o=t.get("left")==="right"&&s==="vertical"?"right":"left");var l=t.get("selector",!0),u=t.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,t,a,n,l,s,u);var f=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},v=t.get("padding"),c=Jt(f,h,v),p=this.layoutInner(t,o,c,i,l,u),d=Jt(j({width:p.width,height:p.height},f),h,v);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=h2(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,a,n,i,o,s,l){var u=this.getContentGroup(),f=$(),h=a.get("selectedMode"),v=[];n.eachRawSeries(function(c){!c.get("legendHoverLink")&&v.push(c.id)}),Wd(a.getData(),function(c,p){var d=c.get("name");if(!this.newlineDisabled&&(d===""||d===` +`)){var g=new Ru;g.newline=!0,u.add(g);return}var y=n.getSeriesByName(d)[0];if(!f.get(d))if(y){var m=y.getData(),_=m.getVisual("legendLineStyle")||{},S=m.getVisual("legendIcon"),b=m.getVisual("style"),x=this._createItem(y,d,p,c,a,t,_,b,S,h,i);x.on("click",Ri(Cb,d,null,i,v)).on("mouseover",Ri(Ud,y.name,null,i,v)).on("mouseout",Ri(Yd,y.name,null,i,v)),n.ssr&&x.eachChild(function(w){var T=nt(w);T.seriesIndex=y.seriesIndex,T.dataIndex=p,T.ssrType="legend"}),f.set(d,!0)}else n.eachRawSeries(function(w){if(!f.get(d)&&w.legendVisualProvider){var T=w.legendVisualProvider;if(!T.containName(d))return;var A=T.indexOfName(d),D=T.getItemVisual(A,"style"),M=T.getItemVisual(A,"legendIcon"),I=Ue(D.fill);I&&I[3]===0&&(I[3]=.2,D=V(V({},D),{fill:ia(I,"rgba")}));var L=this._createItem(w,d,p,c,a,t,{},D,M,h,i);L.on("click",Ri(Cb,null,d,i,v)).on("mouseover",Ri(Ud,null,d,i,v)).on("mouseout",Ri(Yd,null,d,i,v)),n.ssr&&L.eachChild(function(P){var R=nt(P);R.seriesIndex=w.seriesIndex,R.dataIndex=p,R.ssrType="legend"}),f.set(d,!0)}},this)},this),o&&this._createSelector(o,a,i,s,l)},e.prototype._createSelector=function(t,a,n,i,o){var s=this.getSelectorGroup();Wd(t,function(u){var f=u.type,h=new Tt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(h);var v=a.getModel("selectorLabel"),c=a.getModel(["emphasis","selectorLabel"]);he(h,{normal:v,emphasis:c},{defaultText:u.title}),qn(h)})},e.prototype._createItem=function(t,a,n,i,o,s,l,u,f,h,v){var c=t.visualDrawType,p=o.get("itemWidth"),d=o.get("itemHeight"),g=o.isSelected(a),y=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),_=i.get("icon");f=_||f||"roundRect";var S=s8(f,i,l,u,c,g,v),b=new Ru,x=i.getModel("textStyle");if(K(t.getLegendIcon)&&(!_||_==="inherit"))b.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:f,iconRotate:y,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}));else{var w=_==="inherit"&&t.getData().getVisual("symbol")?y==="inherit"?t.getData().getVisual("symbolRotate"):y:0;b.add(l8({itemWidth:p,itemHeight:d,icon:f,iconRotate:w,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}))}var T=s==="left"?p+5:-5,A=s,D=o.get("formatter"),M=a;U(D)&&D?M=D.replace("{name}",a??""):K(D)&&(M=D(a));var I=g?x.getTextColor():i.get("inactiveColor");b.add(new Tt({style:Nt(x,{text:M,x:T,y:d/2,fill:I,align:A,verticalAlign:"middle"},{inheritColor:I})}));var L=new bt({shape:b.getBoundingRect(),style:{fill:"transparent"}}),P=i.getModel("tooltip");return P.get("show")&&go({el:L,componentModel:o,itemName:a,itemTooltipOption:P.option}),b.add(L),b.eachChild(function(R){R.silent=!0}),L.silent=!h,this.getContentGroup().add(b),qn(b),b.__legendDataIndex=n,b},e.prototype.layoutInner=function(t,a,n,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Qn(t.get("orient"),l,t.get("itemGap"),n.width,n.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){Qn("horizontal",u,t.get("selectorItemGap",!0));var v=u.getBoundingRect(),c=[-v.x,-v.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",y=d===0?"height":"width",m=d===0?"y":"x";s==="end"?c[d]+=f[g]+p:h[d]+=v[g]+p,c[1-d]+=f[y]/2-v[y]/2,u.x=c[0],u.y=c[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=f[g]+p+v[g],_[y]=Math.max(f[y],v[y]),_[m]=Math.min(0,v[m]+c[1-d]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Gt);function s8(r,e,t,a,n,i,o){function s(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),Wd(g,function(m,_){g[_]==="inherit"&&(g[_]=y[_])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?a.decal:ro(h,o),u.fill==="inherit"&&(u.fill=a[n]),u.stroke==="inherit"&&(u.stroke=a[f]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?a:t).opacity),s(u,a);var v=e.getModel("lineStyle"),c=v.getLineStyle();if(s(c,t),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),c.stroke==="auto"&&(c.stroke=a.fill),!i){var p=e.get("inactiveBorderWidth"),d=u[f];u.lineWidth=p==="auto"?a.lineWidth>0&&d?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),c.stroke=v.get("inactiveColor"),c.lineWidth=v.get("inactiveWidth")}return{itemStyle:u,lineStyle:c}}function l8(r){var e=r.icon||"roundRect",t=qt(e,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return t.setStyle(r.itemStyle),t.rotation=(r.iconRotate||0)*Math.PI/180,t.setOrigin([r.itemWidth/2,r.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill="#fff",t.style.lineWidth=2),t}function Cb(r,e,t,a){Yd(r,e,t,a),t.dispatchAction({type:"legendToggleSelect",name:r??e}),Ud(r,e,t,a)}function T2(r){for(var e=r.getZr().storage.getDisplayList(),t,a=0,n=e.length;an[o],g=[-c.x,-c.y];a||(g[i]=f[u]);var y=[0,0],m=[-p.x,-p.y],_=it(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var S=t.get("pageButtonPosition",!0);S==="end"?m[i]+=n[o]-p[o]:y[i]+=p[o]+_}m[1-i]+=c[s]/2-p[s]/2,f.setPosition(g),h.setPosition(y),v.setPosition(m);var b={x:0,y:0};if(b[o]=d?n[o]:c[o],b[s]=Math.max(c[s],p[s]),b[l]=Math.min(0,p[l]+m[1-i]),h.__rectSize=n[o],d){var x={x:0,y:0};x[o]=Math.max(n[o]-p[o]-_,0),x[s]=b[s],h.setClipPath(new bt({shape:x})),h.__rectSize=x[o]}else v.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var w=this._getPageInfo(t);return w.pageIndex!=null&&Dt(f,{x:w.contentPosition[0],y:w.contentPosition[1]},d?t:null),this._updatePageInfoView(t,w),b},e.prototype._pageGo=function(t,a,n){var i=this._getPageInfo(a)[t];i!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:a.id})},e.prototype._updatePageInfoView=function(t,a){var n=this._controllerGroup;C(["pagePrev","pageNext"],function(f){var h=f+"DataIndex",v=a[h]!=null,c=n.childOfName(f);c&&(c.setStyle("fill",v?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),c.cursor=v?"pointer":"default")});var i=n.childOfName("pageText"),o=t.get("pageFormatter"),s=a.pageIndex,l=s!=null?s+1:0,u=a.pageCount;i&&o&&i.setStyle("text",U(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},e.prototype._getPageInfo=function(t){var a=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=t.getOrient().index,s=Jc[o],l=jc[o],u=this._findTargetItemIndex(a),f=n.children(),h=f[u],v=f.length,c=v?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var d=S(h);p.contentPosition[o]=-d.s;for(var g=u+1,y=d,m=d,_=null;g<=v;++g)_=S(f[g]),(!_&&m.e>y.s+i||_&&!b(_,y.s))&&(m.i>y.i?y=m:y=_,y&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=y.i),++p.pageCount)),m=_;for(var g=u-1,y=d,m=d,_=null;g>=-1;--g)_=S(f[g]),(!_||!b(m,_.s))&&y.i=w&&x.s<=w+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var a,n=this.getContentGroup(),i;return n.eachChild(function(o,s){var l=o.__legendDataIndex;i==null&&l!=null&&(i=s),l===t&&(a=s)}),a??i},e.type="legend.scroll",e}(w2);function c8(r){r.registerAction("legendScroll","legendscroll",function(e,t){var a=e.scrollDataIndex;a!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(a)})})}function p8(r){gt(A2),r.registerComponentModel(h8),r.registerComponentView(v8),c8(r)}function d8(r){gt(A2),gt(p8)}var g8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=en(tl.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(tl),tm=At();function y8(r,e,t){tm(r).coordSysRecordMap.each(function(a){var n=a.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function m8(r,e){for(var t=tm(r).coordSysRecordMap,a=t.keys(),n=0;na[t+e]&&(e=s),n=n&&o.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function w8(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(e,t){var a=tm(t),n=a.coordSysRecordMap||(a.coordSysRecordMap=$());n.each(function(i){i.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=l2(i);C(o.infoList,function(s){var l=s.model.uid,u=n.get(l)||n.set(l,_8(t,s.model)),f=u.dataZoomInfoMap||(u.dataZoomInfoMap=$());f.set(i.uid,{dzReferCoordSysInfo:s,model:i,getRange:null})})}),n.each(function(i){var o=i.controller,s,l=i.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){C2(n,i);return}var f=b8(l);o.enable(f.controlType,f.opt),o.setPointerChecker(i.containsPoint),wo(i,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var T8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,a,n){if(r.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),y8(n,t,{pan:Y(tp.pan,this),zoom:Y(tp.zoom,this),scrollMove:Y(tp.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){m8(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(Yy),tp={zoom:function(r,e,t,a){var n=this.range,i=n.slice(),o=r.axisModels[0];if(o){var s=ep[e](null,[a.originX,a.originY],o,t,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(i[1]-i[0])+i[0],u=Math.max(1/a.scale,0);i[0]=(i[0]-l)*u+l,i[1]=(i[1]-l)*u+l;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(pi(0,i,[0,100],0,f.minSpan,f.maxSpan),this.range=i,n[0]!==i[0]||n[1]!==i[1])return i}},pan:Ib(function(r,e,t,a,n,i){var o=ep[a]([i.oldX,i.oldY],[i.newX,i.newY],e,n,t);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:Ib(function(r,e,t,a,n,i){var o=ep[a]([0,0],[i.scrollDelta,i.scrollDelta],e,n,t);return o.signal*(r[1]-r[0])*i.scrollDelta})};function Ib(r){return function(e,t,a,n){var i=this.range,o=i.slice(),s=e.axisModels[0];if(s){var l=r(o,s,e,t,a,n);if(pi(l,o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}}}var ep={grid:function(r,e,t,a,n){var i=t.axis,o={},s=n.model.coordinateSystem.getRect();return r=r||[0,0],i.dim==="x"?(o.pixel=e[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(r,e,t,a,n){var i=t.axis,o={},s=n.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],e=s.pointToCoord(e),t.mainType==="radiusAxis"?(o.pixel=e[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(r,e,t,a,n){var i=t.axis,o=n.model.coordinateSystem.getRect(),s={};return r=r||[0,0],i.orient==="horizontal"?(s.pixel=e[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=e[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}};function D2(r){Xy(r),r.registerComponentModel(g8),r.registerComponentView(T8),w8(r)}var A8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=en(tl.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(tl),jo=bt,Lb=7,C8=1,rp=30,D8=7,ts="horizontal",Pb="vertical",M8=5,I8=["line","bar","candlestick","scatter"],L8={easing:"cubicOut",duration:100,delay:0},P8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,a){this.api=a,this._onBrush=Y(this._onBrush,this),this._onBrushEnd=Y(this._onBrushEnd,this)},e.prototype.render=function(t,a,n,i){if(r.prototype.render.apply(this,arguments),wo(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Fs(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var a=this._displayables.sliderGroup=new at;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(a),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,a=this.api,n=t.get("brushSelect"),i=n?D8:0,o=this._findCoordRect(),s={width:a.getWidth(),height:a.getHeight()},l=this._orient===ts?{right:s.width-o.x-o.width,top:s.height-rp-Lb-i,width:o.width,height:rp}:{right:Lb,top:o.y,width:rp,height:o.height},u=So(t.option);C(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var f=Jt(u,s);this._location={x:f.x,y:f.y},this._size=[f.width,f.height],this._orient===Pb&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,a=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(n===ts&&!o?{scaleY:l?1:-1,scaleX:1}:n===ts&&o?{scaleY:l?1:-1,scaleX:-1}:n===Pb&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=t.getBoundingRect([s]);t.x=a.x-u.x,t.y=a.y-u.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,a=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new jo({silent:!0,shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var o=new jo({shape:{x:0,y:0,width:a[0],height:a[1]},style:{fill:"transparent"},z2:0,onclick:Y(this._onClickPanel,this)}),s=this.api.getZr();i?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),n.add(o)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var a=this._size,n=this._shadowSize||[],i=t.series,o=i.getRawData(),s=i.getShadowDim&&i.getShadowDim(),l=s&&o.getDimensionInfo(s)?i.getShadowDim():t.otherDim;if(l==null)return;var u=this._shadowPolygonPts,f=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||a[0]!==n[0]||a[1]!==n[1]){var h=o.getDataExtent(l),v=(h[1]-h[0])*.3;h=[h[0]-v,h[1]+v];var c=[0,a[1]],p=[0,a[0]],d=[[a[0],0],[0,0]],g=[],y=p[1]/(o.count()-1),m=0,_=Math.round(o.count()/a[0]),S;o.each([l],function(A,D){if(_>0&&D%_){m+=y;return}var M=A==null||isNaN(A)||A==="",I=M?0:Lt(A,h,c,!0);M&&!S&&D?(d.push([d[d.length-1][0],0]),g.push([g[g.length-1][0],0])):!M&&S&&(d.push([m,0]),g.push([m,0])),d.push([m,I]),g.push([m,I]),m+=y,S=M}),u=this._shadowPolygonPts=d,f=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[a[0],a[1]];var b=this.dataZoomModel;function x(A){var D=b.getModel(A?"selectedDataBackground":"dataBackground"),M=new at,I=new Le({shape:{points:u},segmentIgnoreThreshold:1,style:D.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),L=new Pe({shape:{points:f},segmentIgnoreThreshold:1,style:D.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return M.add(I),M.add(L),M}for(var w=0;w<3;w++){var T=x(w===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,a=t.get("showDataShadow");if(a!==!1){var n,i=this.ecModel;return t.eachTargetAxis(function(o,s){var l=t.getAxisProxy(o,s).getTargetSeriesModels();C(l,function(u){if(!n&&!(a!==!0&&vt(I8,u.get("type"))<0)){var f=i.getComponent(Fa(o),s).axis,h=R8(o),v,c=u.coordinateSystem;h!=null&&c.getOtherAxis&&(v=c.getOtherAxis(f).inverse),h=u.getData().mapDimension(h),n={thisAxis:f,series:u,thisDim:o,otherDim:h,otherAxisInverse:v}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,a=this._displayables,n=a.handles=[null,null],i=a.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,f=l.get("borderRadius")||0,h=l.get("brushSelect"),v=a.filler=new jo({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(v),o.add(new jo({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:f},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:C8,fill:"rgba(0,0,0,0)"}})),C([0,1],function(_){var S=l.get("handleIcon");!xf[S]&&S.indexOf("path://")<0&&S.indexOf("image://")<0&&(S="path://"+S);var b=qt(S,-1,0,2,2,null,!0);b.attr({cursor:Rb(this._orient),draggable:!0,drift:Y(this._onDragMove,this,_),ondragend:Y(this._onDragEnd,this),onmouseover:Y(this._showDataInfo,this,!0),onmouseout:Y(this._showDataInfo,this,!1),z2:5});var x=b.getBoundingRect(),w=l.get("handleSize");this._handleHeight=W(w,this._size[1]),this._handleWidth=x.width/x.height*this._handleHeight,b.setStyle(l.getModel("handleStyle").getItemStyle()),b.style.strokeNoScale=!0,b.rectHover=!0,b.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),qn(b);var T=l.get("handleColor");T!=null&&(b.style.fill=T),o.add(n[_]=b);var A=l.getModel("textStyle");t.add(i[_]=new Tt({silent:!0,invisible:!0,style:Nt(A,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:A.getTextColor(),font:A.getFont()}),z2:10}))},this);var c=v;if(h){var p=W(l.get("moveHandleSize"),s[1]),d=a.moveHandle=new bt({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:p}}),g=p*.8,y=a.moveHandleIcon=qt(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);y.silent=!0,y.y=s[1]+p/2-.5,d.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(s[1]/2,Math.max(p,10));c=a.moveZone=new bt({invisible:!0,shape:{y:s[1]-m,height:p+m}}),c.on("mouseover",function(){u.enterEmphasis(d)}).on("mouseout",function(){u.leaveEmphasis(d)}),o.add(d),o.add(y),o.add(c)}c.attr({draggable:!0,cursor:Rb(this._orient),drift:Y(this._onDragMove,this,"all"),ondragstart:Y(this._showDataInfo,this,!0),ondragend:Y(this._onDragEnd,this),onmouseover:Y(this._showDataInfo,this,!0),onmouseout:Y(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),a=this._getViewExtent();this._handleEnds=[Lt(t[0],[0,100],a,!0),Lt(t[1],[0,100],a,!0)]},e.prototype._updateInterval=function(t,a){var n=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),s=n.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];pi(a,i,o,n.get("zoomLock")?"all":t,s.minSpan!=null?Lt(s.minSpan,l,o,!0):null,s.maxSpan!=null?Lt(s.maxSpan,l,o,!0):null);var u=this._range,f=this._range=ir([Lt(i[0],o,l,!0),Lt(i[1],o,l,!0)]);return!u||u[0]!==f[0]||u[1]!==f[1]},e.prototype._updateView=function(t){var a=this._displayables,n=this._handleEnds,i=ir(n.slice()),o=this._size;C([0,1],function(c){var p=a.handles[c],d=this._handleHeight;p.attr({scaleX:d/2,scaleY:d/2,x:n[c]+(c?-1:1),y:o[1]/2-d/2})},this),a.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]});var s={x:i[0],width:i[1]-i[0]};a.moveHandle&&(a.moveHandle.setShape(s),a.moveZone.setShape(s),a.moveZone.getBoundingRect(),a.moveHandleIcon&&a.moveHandleIcon.attr("x",s.x+s.width/2));for(var l=a.dataShadowSegs,u=[0,i[0],i[1],o[0]],f=0;fa[0]||n[1]<0||n[1]>a[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,s=this._updateInterval("all",n[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var a=t.offsetX,n=t.offsetY;this._brushStart=new ut(a,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var a=this._displayables.brushRect;if(this._brushing=!1,!!a){a.attr("ignore",!0);var n=a.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=ir([Lt(n.x,o,s,!0),Lt(n.x+n.width,o,s,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(la(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,a){var n=this._displayables,i=this.dataZoomModel,o=n.brushRect;o||(o=n.brushRect=new jo({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(t,a),f=l.transformCoordToLocal(s.x,s.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),o.setShape({x:f[0],y:0,width:u[0]-f[0],height:h[1]})},e.prototype._dispatchZoomAction=function(t){var a=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?L8:null,start:a[0],end:a[1]})},e.prototype._findCoordRect=function(){var t,a=l2(this.dataZoomModel).infoList;if(!t&&a.length){var n=a[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),o=this.api.getHeight();t={x:i*.2,y:o*.2,width:i*.6,height:o*.6}}return t},e.type="dataZoom.slider",e}(Yy);function R8(r){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[r]}function Rb(r){return r==="vertical"?"ns-resize":"ew-resize"}function M2(r){r.registerComponentModel(A8),r.registerComponentView(P8),Xy(r)}function E8(r){gt(D2),gt(M2)}var I2={get:function(r,e,t){var a=rt((k8[r]||{})[e]);return t&&z(a)?a[a.length-1]:a}},k8={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},Eb=re.mapVisual,O8=re.eachVisual,N8=z,kb=C,B8=ir,V8=Lt,Yf=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,a){var n=this.option;!a&&m2(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var a=this.stateList;t=Y(t,this),this.controllerVisuals=zd(this.option.controller,a,t),this.targetVisuals=zd(this.option.target,a,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,a=[];return t==null||t==="all"?this.ecModel.eachSeries(function(n,i){a.push(i)}):a=Rt(t),a},e.prototype.eachTargetSeries=function(t,a){C(this.getTargetSeriesIndices(),function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(a,i)},this)},e.prototype.isTargetSeries=function(t){var a=!1;return this.eachTargetSeries(function(n){n===t&&(a=!0)}),a},e.prototype.formatValueText=function(t,a,n){var i=this.option,o=i.precision,s=this.dataBound,l=i.formatter,u;n=n||["<",">"],z(t)&&(t=t.slice(),u=!0);var f=a?t:u?[h(t[0]),h(t[1])]:h(t);if(U(l))return l.replace("{value}",u?f[0]:f).replace("{value2}",u?f[1]:f);if(K(l))return u?l(t[0],t[1]):l(t);if(u)return t[0]===s[0]?n[0]+" "+f[1]:t[1]===s[1]?n[1]+" "+f[0]:f[0]+" - "+f[1];return f;function h(v){return v===s[0]?"min":v===s[1]?"max":(+v).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,a=B8([t.min,t.max]);this._dataExtent=a},e.prototype.getDataDimensionIndex=function(t){var a=this.option.dimension;if(a!=null)return t.getDimensionIndex(a);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var o=n[i],s=t.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,a=this.option,n={inRange:a.inRange,outOfRange:a.outOfRange},i=a.target||(a.target={}),o=a.controller||(a.controller={});ft(i,n),ft(o,n);var s=this.isCategory();l.call(this,i),l.call(this,o),u.call(this,i,"inRange","outOfRange"),f.call(this,o);function l(h){N8(a.color)&&!h.inRange&&(h.inRange={color:a.color.slice().reverse()}),h.inRange=h.inRange||{color:t.get("gradientColor")}}function u(h,v,c){var p=h[v],d=h[c];p&&!d&&(d=h[c]={},kb(p,function(g,y){if(re.isValidType(y)){var m=I2.get(y,"inactive",s);m!=null&&(d[y]=m,y==="color"&&!d.hasOwnProperty("opacity")&&!d.hasOwnProperty("colorAlpha")&&(d.opacity=[0,0]))}}))}function f(h){var v=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,c=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),d=this.getItemSymbol(),g=d||"roundRect";kb(this.stateList,function(y){var m=this.itemSize,_=h[y];_||(_=h[y]={color:s?p:[p]}),_.symbol==null&&(_.symbol=v&&rt(v)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=c&&rt(c)||(s?m[0]:[m[0],m[0]])),_.symbol=Eb(_.symbol,function(x){return x==="none"?g:x});var S=_.symbolSize;if(S!=null){var b=-1/0;O8(S,function(x){x>b&&(b=x)}),_.symbolSize=Eb(S,function(x){return V8(x,[0,b],[0,m[0]],!0)})}},this)}},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(_t),Ob=[20,140],z8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(t,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=Ob[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=Ob[1])},e.prototype._resetRange=function(){var t=this.getExtent(),a=this.option.range;!a||a.auto?(t.auto=1,this.option.range=t):z(a)&&(a[0]>a[1]&&a.reverse(),a[0]=Math.max(a[0],t[0]),a[1]=Math.min(a[1],t[1]))},e.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),C(this.stateList,function(t){var a=this.option.controller[t].symbolSize;a&&a[0]!==a[1]&&(a[0]=a[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),a=ir((this.get("range")||[]).slice());return a[0]>t[1]&&(a[0]=t[1]),a[1]>t[1]&&(a[1]=t[1]),a[0]=n[1]||t<=a[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var a=[];return this.eachTargetSeries(function(n){var i=[],o=n.getData();o.each(this.getDataDimensionIndex(o),function(s,l){t[0]<=s&&s<=t[1]&&i.push(l)},this),a.push({seriesId:n.id,dataIndex:i})},this),a},e.prototype.getVisualMeta=function(t){var a=Nb(this,"outOfRange",this.getExtent()),n=Nb(this,"inRange",this.option.range.slice()),i=[];function o(c,p){i.push({value:c,color:t(c,p)})}for(var s=0,l=0,u=n.length,f=a.length;lt[1])break;i.push({color:this.getControllerVisual(l,"color",a),offset:s/n})}return i.push({color:this.getControllerVisual(t[1],"color",a),offset:1}),i},e.prototype._createBarPoints=function(t,a){var n=this.visualMapModel.itemSize;return[[n[0]-a[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-a[1],t[1]]]},e.prototype._createBarGroup=function(t){var a=this._orient,n=this.visualMapModel.get("inverse");return new at(a==="horizontal"&&!n?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:a==="horizontal"&&n?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:a==="vertical"&&!n?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},e.prototype._updateHandle=function(t,a){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,o=n.handleThumbs,s=n.handleLabels,l=i.itemSize,u=i.getExtent();G8([0,1],function(f){var h=o[f];h.setStyle("fill",a.handlesColor[f]),h.y=t[f];var v=Pr(t[f],[0,l[1]],u,!0),c=this.getControllerVisual(v,"symbolSize");h.scaleX=h.scaleY=c/l[0],h.x=l[0]-c/2;var p=Sr(n.handleLabelPoints[f],Kn(h,this.group));s[f].setStyle({x:p[0],y:p[1],text:i.formatValueText(this._dataInterval[f]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,a,n,i){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],f=this._shapes,h=f.indicator;if(h){h.attr("invisible",!1);var v={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",v),p=this.getControllerVisual(t,"symbolSize"),d=Pr(t,s,u,!0),g=l[0]-p/2,y={x:h.x,y:h.y};h.y=d,h.x=g;var m=Sr(f.indicatorLabelPoint,Kn(h,this.group)),_=f.indicatorLabel;_.attr("invisible",!1);var S=this._applyTransform("left",f.mainGroup),b=this._orient,x=b==="horizontal";_.setStyle({text:(n||"")+o.formatValueText(a),verticalAlign:x?S:"middle",align:x?"center":S});var w={x:g,y:d,style:{fill:c}},T={style:{x:m[0],y:m[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var A={duration:100,easing:"cubicInOut",additive:!0};h.x=y.x,h.y=y.y,h.animateTo(w,A),_.animateTo(T,A)}else h.attr(w),_.attr(T);this._firstShowIndicator=!1;var D=this._shapes.handleLabels;if(D)for(var M=0;Mo[1]&&(h[1]=1/0),a&&(h[0]===-1/0?this._showIndicator(f,h[1],"< ",l):h[1]===1/0?this._showIndicator(f,h[0],"> ",l):this._showIndicator(f,f,"≈ ",l));var v=this._hoverLinkDataIndices,c=[];(a||Gb(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var p=$L(v,c);this._dispatchHighDown("downplay",ju(p[0],n)),this._dispatchHighDown("highlight",ju(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var a;if(Fn(t.target,function(l){var u=nt(l);if(u.dataIndex!=null)return a=u,!0},!0),!!a){var n=this.ecModel.getSeriesByIndex(a.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var o=n.getData(a.dataType),s=o.getStore().get(i.getDataDimensionIndex(o),a.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var a=this._shapes.handleLabels;if(a)for(var n=0;n=0&&(i.dimension=o,a.push(i))}}),r.getData().setVisual("visualMeta",a)}}];function Z8(r,e,t,a){for(var n=e.targetVisuals[a],i=re.prepareVisualTypes(n),o={color:cl(r.getData(),"color")},s=0,l=i.length;s0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),r.registerAction(Y8,X8),C($8,function(e){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,e)}),r.registerPreprocessor(q8))}function E2(r){r.registerComponentModel(z8),r.registerComponentView(W8),R2(r)}var K8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._pieceList=[],t}return e.prototype.optionUpdated=function(t,a){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],Q8[this._mode].call(this,this._pieceList),this._resetSelected(t,a);var i=this.option.categories;this.resetVisual(function(o,s){n==="categories"?(o.mappingMethod="category",o.categories=rt(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=G(this._pieceList,function(l){return l=rt(l),s!=="inRange"&&(l.visual=null),l}))})},e.prototype.completeVisualOption=function(){var t=this.option,a={},n=re.listVisualTypes(),i=this.isCategory();C(t.pieces,function(s){C(n,function(l){s.hasOwnProperty(l)&&(a[l]=1)})}),C(a,function(s,l){var u=!1;C(this.stateList,function(f){u=u||o(t,f,l)||o(t.target,f,l)},this),!u&&C(this.stateList,function(f){(t[f]||(t[f]={}))[l]=I2.get(l,f==="inRange"?"active":"inactive",i)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,a){var n=this.option,i=this._pieceList,o=(a?n:t).selected||{};if(n.selected=o,C(i,function(l,u){var f=this.getSelectedMapKey(l);o.hasOwnProperty(f)||(o[f]=!0)},this),n.selectedMode==="single"){var s=!1;C(i,function(l,u){var f=this.getSelectedMapKey(l);o[f]&&(s?o[f]=!1:s=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=rt(t)},e.prototype.getValueState=function(t){var a=re.findPieceIndex(t,this._pieceList);return a!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[a])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var a=[],n=this._pieceList;return this.eachTargetSeries(function(i){var o=[],s=i.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var f=re.findPieceIndex(l,n);f===t&&o.push(u)},this),a.push({seriesId:i.id,dataIndex:o})},this),a},e.prototype.getRepresentValue=function(t){var a;if(this.isCategory())a=t.value;else if(t.value!=null)a=t.value;else{var n=t.interval||[];a=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return a},e.prototype.getVisualMeta=function(t){if(this.isCategory())return;var a=[],n=["",""],i=this;function o(f,h){var v=i.getRepresentValue({interval:f});h||(h=i.getValueState(v));var c=t(v,h);f[0]===-1/0?n[0]=c:f[1]===1/0?n[1]=c:a.push({value:f[0],color:c},{value:f[1],color:c})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return C(s,function(f){var h=f.interval;h&&(h[0]>u&&o([u,h[0]],"outOfRange"),o(h.slice()),u=h[1])},this),{stops:a,outerColors:n}},e.type="visualMap.piecewise",e.defaultOption=en(Yf.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(Yf),Q8={splitNumber:function(r){var e=this.option,t=Math.min(e.precision,20),a=this.getExtent(),n=e.splitNumber;n=Math.max(parseInt(n,10),1),e.splitNumber=n;for(var i=(a[1]-a[0])/n;+i.toFixed(t)!==i&&t<5;)t++;e.precision=t,i=+i.toFixed(t),e.minOpen&&r.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,s=a[0];o","≥"][a[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,n)},this)}};function Ub(r,e){var t=r.inverse;(r.orient==="vertical"?!t:t)&&e.reverse()}var J8=function(r){k(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.doRender=function(){var t=this.group;t.removeAll();var a=this.visualMapModel,n=a.get("textGap"),i=a.textStyleModel,o=i.getFont(),s=i.getTextColor(),l=this._getItemAlign(),u=a.itemSize,f=this._getViewData(),h=f.endsText,v=oe(a.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],u,v,l),C(f.viewPieceList,function(c){var p=c.piece,d=new at;d.onclick=Y(this._onItemClick,this,p),this._enableHoverLink(d,c.indexInModelPieceList);var g=a.getRepresentValue(p);if(this._createItemSymbol(d,g,[0,0,u[0],u[1]]),v){var y=this.visualMapModel.getValueState(g);d.add(new Tt({style:{x:l==="right"?-n:u[0]+n,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:y==="outOfRange"?.5:1}}))}t.add(d)},this),h&&this._renderEndsText(t,h[1],u,v,l),Qn(a.get("orient"),t,a.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,a){var n=this;t.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(o){var s=n.visualMapModel;s.option.hoverLink&&n.api.dispatchAction({type:o,batch:ju(s.findTargetDataIndices(a),s)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,a=t.option;if(a.orient==="vertical")return P2(t,this.api,t.itemSize);var n=a.align;return(!n||n==="auto")&&(n="left"),n},e.prototype._renderEndsText=function(t,a,n,i,o){if(a){var s=new at,l=this.visualMapModel.textStyleModel;s.add(new Tt({style:Nt(l,{x:i?o==="right"?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?o:"center",text:a})})),t.add(s)}},e.prototype._getViewData=function(){var t=this.visualMapModel,a=G(t.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),n=t.get("text"),i=t.get("orient"),o=t.get("inverse");return(i==="horizontal"?o:!o)?a.reverse():n&&(n=n.slice().reverse()),{viewPieceList:a,endsText:n}},e.prototype._createItemSymbol=function(t,a,n){t.add(qt(this.getControllerVisual(a,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(a,"color")))},e.prototype._onItemClick=function(t){var a=this.visualMapModel,n=a.option,i=n.selectedMode;if(i){var o=rt(n.selected),s=a.getSelectedMapKey(t);i==="single"||i===!0?(o[s]=!0,C(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},e.type="visualMap.piecewise",e}(L2);function k2(r){r.registerComponentModel(K8),r.registerComponentView(J8),R2(r)}function j8(r){gt(E2),gt(k2)}var tY={label:{enabled:!0},decal:{show:!1}},Yb=At(),eY={};function rY(r,e){var t=r.getModel("aria");if(!t.get("enabled"))return;var a=rt(tY);ft(a.label,r.getLocaleModel().get("aria"),!1),ft(t.option,a,!1),n(),i();function n(){var u=t.getModel("decal"),f=u.get("show");if(f){var h=$();r.eachSeries(function(v){if(!v.isColorBySeries()){var c=h.get(v.type);c||(c={},h.set(v.type,c)),Yb(v).scope=c}}),r.eachRawSeries(function(v){if(r.isSeriesFiltered(v))return;if(K(v.enableAriaDecal)){v.enableAriaDecal();return}var c=v.getData();if(v.isColorBySeries()){var m=Xp(v.ecModel,v.name,eY,r.getSeriesCount()),_=c.getVisual("decal");c.setVisual("decal",S(_,m))}else{var p=v.getRawData(),d={},g=Yb(v).scope;c.each(function(b){var x=c.getRawIndex(b);d[x]=b});var y=p.count();p.each(function(b){var x=d[b],w=p.getName(b)||b+"",T=Xp(v.ecModel,w,g,y),A=c.getItemVisual(x,"decal");c.setItemVisual(x,"decal",S(A,T))})}function S(b,x){var w=b?V(V({},x),b):x;return w.dirty=!0,w}})}}function i(){var u=r.getLocaleModel().get("aria"),f=t.getModel("label");if(f.option=j(f.option,u),!!f.get("enabled")){var h=e.getZr().dom;if(f.get("description")){h.setAttribute("aria-label",f.get("description"));return}var v=r.getSeriesCount(),c=f.get(["data","maxCount"])||10,p=f.get(["series","maxCount"])||10,d=Math.min(v,p),g;if(!(v<1)){var y=s();if(y){var m=f.get(["general","withTitle"]);g=o(m,{title:y})}else g=f.get(["general","withoutTitle"]);var _=[],S=v>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);g+=o(S,{seriesCount:v}),r.eachSeries(function(T,A){if(A1?f.get(["series","multiple",I]):f.get(["series","single",I]),D=o(D,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:l(T.subType)});var L=T.getData();if(L.count()>c){var P=f.get(["data","partialData"]);D+=o(P,{displayCnt:c})}else D+=f.get(["data","allData"]);for(var R=f.get(["data","separator","middle"]),E=f.get(["data","separator","end"]),N=[],O=0;O":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},iY=function(){function r(e){var t=this._condVal=U(e)?new RegExp(e):vI(e)?e:null;if(t==null){var a="";Mt(a)}}return r.prototype.evaluate=function(e){var t=typeof e;return U(t)?this._condVal.test(e):Ct(t)?this._condVal.test(e+""):!1},r}(),oY=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),sY=function(){function r(){}return r.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&a.push(n),n=[L,P]}function f(L,P,R,E){Yi(L,R)&&Yi(P,E)||n.push(L,P,R,E,R,E)}function h(L,P,R,E,N,O){var B=Math.abs(P-L),F=Math.tan(B/4)*4/3,H=PT:M2&&a.push(n),a}function $d(r,e,t,a,n,i,o,s,l,u){if(Yi(r,t)&&Yi(e,a)&&Yi(n,o)&&Yi(i,s)){l.push(o,s);return}var f=2/u,h=f*f,v=o-r,c=s-e,p=Math.sqrt(v*v+c*c);v/=p,c/=p;var d=t-r,g=a-e,y=n-o,m=i-s,_=d*d+g*g,S=y*y+m*m;if(_=0&&T=0){l.push(o,s);return}var A=[],D=[];Za(r,t,n,o,.5,A),Za(e,a,i,s,.5,D),$d(A[0],D[0],A[1],D[1],A[2],D[2],A[3],D[3],l,u),$d(A[4],D[4],A[5],D[5],A[6],D[6],A[7],D[7],l,u)}function xY(r,e){var t=Xd(r),a=[];e=e||1;for(var n=0;n0)for(var u=0;uMath.abs(u),h=N2([l,u],f?0:1,e),v=(f?s:u)/h.length,c=0;cn,o=N2([a,n],i?0:1,e),s=i?"width":"height",l=i?"height":"width",u=i?"x":"y",f=i?"y":"x",h=r[s]/o.length,v=0;v1?null:new ut(d*l+r,d*u+e)}function TY(r,e,t){var a=new ut;ut.sub(a,t,e),a.normalize();var n=new ut;ut.sub(n,r,e);var i=n.dot(a);return i}function ki(r,e){var t=r[r.length-1];t&&t[0]===e[0]&&t[1]===e[1]||r.push(e)}function AY(r,e,t){for(var a=r.length,n=[],i=0;io?(u.x=f.x=s+i/2,u.y=l,f.y=l+o):(u.y=f.y=l+o/2,u.x=s,f.x=s+i),AY(e,u,f)}function Xf(r,e,t,a){if(t===1)a.push(e);else{var n=Math.floor(t/2),i=r(e);Xf(r,i[0],n,a),Xf(r,i[1],t-n,a)}return a}function CY(r,e){for(var t=[],a=0;a0;u/=2){var f=0,h=0;(r&u)>0&&(f=1),(e&u)>0&&(h=1),s+=u*u*(3*f^h),h===0&&(f===1&&(r=u-1-r,e=u-1-e),l=r,r=e,e=l)}return s}function qf(r){var e=1/0,t=1/0,a=-1/0,n=-1/0,i=G(r,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),f=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return e=Math.min(f,e),t=Math.min(h,t),a=Math.max(f,a),n=Math.max(h,n),[f,h]}),o=G(i,function(s,l){return{cp:s,z:OY(s[0],s[1],e,t,a,n),path:r[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function z2(r){return IY(r.path,r.count)}function Zd(){return{fromIndividuals:[],toIndividuals:[],count:0}}function NY(r,e,t){var a=[];function n(b){for(var x=0;x=0;n--)if(!t[n].many.length){var l=t[s].many;if(l.length<=1)if(s)s=0;else return t;var i=l.length,u=Math.ceil(i/2);t[n].many=l.slice(u,i),t[s].many=l.slice(0,u),s++}return t}var VY={clone:function(r){for(var e=[],t=1-Math.pow(1-r.path.style.opacity,1/r.count),a=0;a0))return;var s=a.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,f;tw(r)&&(u=r,f=e),tw(e)&&(u=e,f=r);function h(y,m,_,S,b){var x=y.many,w=y.one;if(x.length===1&&!b){var T=m?x[0]:w,A=m?w:x[0];if($f(T))h({many:[T],one:A},!0,_,S,!0);else{var D=s?j({delay:s(_,S)},l):l;rm(T,A,D),i(T,A,T,A,D)}}else for(var M=j({dividePath:VY[t],individualDelay:s&&function(N,O,B,F){return s(N+_,S)}},l),I=m?NY(x,w,M):BY(w,x,M),L=I.fromIndividuals,P=I.toIndividuals,R=L.length,E=0;Ee.length,c=u?ew(f,u):ew(v?e:r,[v?r:e]),p=0,d=0;dG2))for(var i=a.getIndices(),o=0;o0&&x.group.traverse(function(T){T instanceof yt&&!T.animators.length&&T.animateFrom({style:{opacity:0}},w)})})}function ow(r){var e=r.getModel("universalTransition").get("seriesKey");return e||r.id}function sw(r){return z(r)?r.sort().join(","):r}function Ra(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function YY(r,e){var t=$(),a=$(),n=$();return C(r.oldSeries,function(i,o){var s=r.oldDataGroupIds[o],l=r.oldData[o],u=ow(i),f=sw(u);a.set(f,{dataGroupId:s,data:l}),z(u)&&C(u,function(h){n.set(h,{key:f,dataGroupId:s,data:l})})}),C(e.updatedSeries,function(i){if(i.isUniversalTransitionEnabled()&&i.isAnimationEnabled()){var o=i.get("dataGroupId"),s=i.getData(),l=ow(i),u=sw(l),f=a.get(u);if(f)t.set(u,{oldSeries:[{dataGroupId:f.dataGroupId,divide:Ra(f.data),data:f.data}],newSeries:[{dataGroupId:o,divide:Ra(s),data:s}]});else if(z(l)){var h=[];C(l,function(p){var d=a.get(p);d.data&&h.push({dataGroupId:d.dataGroupId,divide:Ra(d.data),data:d.data})}),h.length&&t.set(u,{oldSeries:h,newSeries:[{dataGroupId:o,data:s,divide:Ra(s)}]})}else{var v=n.get(l);if(v){var c=t.get(v.key);c||(c={oldSeries:[{dataGroupId:v.dataGroupId,data:v.data,divide:Ra(v.data)}],newSeries:[]},t.set(v.key,c)),c.newSeries.push({dataGroupId:o,data:s,divide:Ra(s)})}}}}),t}function lw(r,e){for(var t=0;t=0&&n.push({dataGroupId:e.oldDataGroupIds[s],data:e.oldData[s],divide:Ra(e.oldData[s]),groupIdDim:o.dimension})}),C(Rt(r.to),function(o){var s=lw(t.updatedSeries,o);if(s>=0){var l=t.updatedSeries[s].getData();i.push({dataGroupId:e.oldDataGroupIds[s],data:l,divide:Ra(l),groupIdDim:o.dimension})}}),n.length>0&&i.length>0&&F2(n,i,a)}function $Y(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,a){C(Rt(a.seriesTransition),function(n){C(Rt(n.to),function(i){for(var o=a.updatedSeries,s=0;s{u(),f(),h(),v(),window.addEventListener("resize",()=>{i.resize(),o.resize(),s.resize(),l.resize()})});function u(){i=ru(e.value);const p={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎","百度","谷歌","必应","其他"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["周一","周二","周三","周四","周五","周六","周日"]}],yAxis:[{type:"value"}],series:[{name:"直接访问",type:"bar",data:[320,332,301,334,390,330,320]},{name:"邮件营销",type:"bar",stack:"广告",data:[120,132,101,134,90,230,210]},{name:"联盟广告",type:"bar",stack:"广告",data:[220,182,191,234,290,330,310]},{name:"视频广告",type:"bar",stack:"广告",data:[150,232,201,154,190,330,410]},{name:"搜索引擎",type:"bar",data:[862,1018,964,1026,1679,1600,1570],markLine:{lineStyle:{type:"dashed"},data:[[{type:"min"},{type:"max"}]]}},{name:"百度",type:"bar",barWidth:5,stack:"搜索引擎",data:[620,732,701,734,1090,1130,1120]},{name:"谷歌",type:"bar",stack:"搜索引擎",data:[120,132,101,134,290,230,220]},{name:"必应",type:"bar",stack:"搜索引擎",data:[60,72,71,74,190,130,110]},{name:"其他",type:"bar",stack:"搜索引擎",data:[62,82,91,84,109,110,120]}]};i.setOption(p)}function f(){o=ru(t.value);const p={title:{text:"堆叠区域图"},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{data:["邮件营销","联盟广告","视频广告","直接访问","搜索引擎"]},toolbox:{feature:{saveAsImage:{}}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:["周一","周二","周三","周四","周五","周六","周日"]}],yAxis:[{type:"value"}],series:[{name:"邮件营销",type:"line",stack:"总量",areaStyle:{},data:[120,132,101,134,90,230,210]},{name:"联盟广告",type:"line",stack:"总量",areaStyle:{},data:[220,182,191,234,290,330,310]},{name:"视频广告",type:"line",stack:"总量",areaStyle:{},data:[150,232,201,154,190,330,410]},{name:"直接访问",type:"line",stack:"总量",areaStyle:{},data:[320,332,301,334,390,330,320]},{name:"搜索引擎",type:"line",stack:"总量",areaStyle:{},data:[820,932,901,934,1290,1330,1320]}]};o.setOption(p)}function h(){s=ru(a.value);const p={title:{text:"某站点用户访问来源",subtext:"纯属虚构",left:"center"},tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left",data:["直接访问","邮件营销","联盟广告","视频广告","搜索引擎"]},series:[{name:"访问来源",type:"pie",radius:"55%",center:["50%","60%"],data:[{value:335,name:"直接访问"},{value:310,name:"邮件营销"},{value:234,name:"联盟广告"},{value:135,name:"视频广告"},{value:1548,name:"搜索引擎"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]};s.setOption(p)}function v(){l=ru(n.value);const p={title:{text:"基础雷达图"},legend:{data:["预算分配(Allocated Budget)","实际开销(Actual Spending)"]},radar:{indicator:[{name:"销售(sales)",max:6500},{name:"管理(Administration)",max:16e3},{name:"信息技术(Information Techology)",max:3e4},{name:"客服(Customer Support)",max:38e3},{name:"研发(Development)",max:52e3},{name:"市场(Marketing)",max:25e3}]},series:[{name:"预算 vs 开销(Budget vs spending)",type:"radar",data:[{value:[4200,3e3,2e4,35e3,5e4,18e3],name:"预算分配(Allocated Budget)"},{value:[5e3,14e3,28e3,26e3,42e3,21e3],name:"实际开销(Actual Spending)"}]}]};l.setOption(p)}function c(p){window.open(p,"_blank")}return(p,d)=>{const g=Ml("ElTag"),y=X2,m=Ml("ElButton"),_=$2,S=Z2,b=Ml("ElCol"),x=Ml("ElRow");return U2(),Y2("div",null,[me(q2),me(_,{title:"ECharts"},{content:_e(()=>[ZY,Ni("p",qY,[Bh(" 安装命令:"),me(g,null,{default:_e(()=>[Bh("pnpm add echarts")]),_:1})])]),default:_e(()=>[me(m,{onClick:d[0]||(d[0]=w=>c("https://github.com/apache/echarts"))},{icon:_e(()=>[me(y,{name:"i-ep:link"})]),default:_e(()=>[Bh(" 访问 echarts ")]),_:1})]),_:1}),me(x,{gutter:20,style:{margin:"-10px 10px"}},{default:_e(()=>[me(b,{md:12},{default:_e(()=>[me(S,{title:"柱状图",style:{margin:"10px 0"}},{default:_e(()=>[Ni("div",{ref_key:"chart1Ref",ref:e,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1}),me(b,{md:12},{default:_e(()=>[me(S,{title:"折线图",style:{margin:"10px 0"}},{default:_e(()=>[Ni("div",{ref_key:"chart2Ref",ref:t,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1})]),_:1}),me(x,{gutter:20,style:{margin:"0 10px"}},{default:_e(()=>[me(b,{md:12},{default:_e(()=>[me(S,{title:"饼图",style:{margin:"10px 0"}},{default:_e(()=>[Ni("div",{ref_key:"chart3Ref",ref:a,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1}),me(b,{md:12},{default:_e(()=>[me(S,{title:"雷达图",style:{margin:"10px 0"}},{default:_e(()=>[Ni("div",{ref_key:"chart4Ref",ref:n,style:{width:"100%",height:"400px"}},null,512)]),_:1})]),_:1})]),_:1})])}}});typeof nm=="function"&&nm(KY);export{KY as default}; diff --git a/assets/echarts-BAT7EzJz.js.br b/assets/echarts-BAT7EzJz.js.br new file mode 100644 index 000000000..69cfbb12c Binary files /dev/null and b/assets/echarts-BAT7EzJz.js.br differ diff --git a/assets/echarts-BAT7EzJz.js.gz b/assets/echarts-BAT7EzJz.js.gz new file mode 100644 index 000000000..00926aad7 Binary files /dev/null and b/assets/echarts-BAT7EzJz.js.gz differ diff --git a/assets/edit.password-DB5WTCLO.js b/assets/edit.password-DB5WTCLO.js new file mode 100644 index 000000000..86e31a312 --- /dev/null +++ b/assets/edit.password-DB5WTCLO.js @@ -0,0 +1 @@ +import{_ as v}from"./index-BdK60VIt.js";import{d as y,c as x,r as c,e as a,o as C,f as B,i as e,j as s,h as r,n as F,E as P,R,Q as I,z as _}from"./index-C_dOR4Zc.js";const U=y({name:"PersonalEditPassword",__name:"edit.password",setup(q){const w=x(),d=c(),o=c({password:"",newpassword:"",checkpassword:""}),i=c({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(p,l,n)=>{l!==o.value.newpassword?n(new Error("请确认新密码")):n()}}]});function f(){d.value&&d.value.validate(p=>{p&&w.editPassword(o.value).then(()=>{P({type:"success",message:"模拟修改成功,请重新登录"}),w.logout()})})}return(p,l)=>{const n=R,u=a("ElInput"),m=a("ElFormItem"),g=a("ElForm"),E=a("ElCol"),V=a("ElRow"),h=I,b=a("ElButton"),k=v;return C(),B("div",null,[e(n,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(h,null,{default:s(()=>[e(V,null,{default:s(()=>[e(E,{md:24,lg:12},{default:s(()=>[e(g,{ref_key:"formRef",ref:d,model:r(o),rules:r(i),"label-width":"120px"},{default:s(()=>[e(m,{label:"原密码",prop:"password"},{default:s(()=>[e(u,{modelValue:r(o).password,"onUpdate:modelValue":l[0]||(l[0]=t=>r(o).password=t),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(m,{label:"新密码",prop:"newpassword"},{default:s(()=>[e(u,{modelValue:r(o).newpassword,"onUpdate:modelValue":l[1]||(l[1]=t=>r(o).newpassword=t),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(m,{label:"确认新密码",prop:"checkpassword"},{default:s(()=>[e(u,{modelValue:r(o).checkpassword,"onUpdate:modelValue":l[2]||(l[2]=t=>r(o).checkpassword=t),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(k,null,{default:s(()=>[e(b,{type:"primary",size:"large",onClick:f},{default:s(()=>[F(" 提交 ")]),_:1})]),_:1})])}}});typeof _=="function"&&_(U);export{U as default}; diff --git a/assets/edit.password-DB5WTCLO.js.br b/assets/edit.password-DB5WTCLO.js.br new file mode 100644 index 000000000..a678d9dbd Binary files /dev/null and b/assets/edit.password-DB5WTCLO.js.br differ diff --git a/assets/edit.password-DB5WTCLO.js.gz b/assets/edit.password-DB5WTCLO.js.gz new file mode 100644 index 000000000..ec6c3dff1 Binary files /dev/null and b/assets/edit.password-DB5WTCLO.js.gz differ diff --git a/assets/esign-Cuj_essY.js b/assets/esign-Cuj_essY.js new file mode 100644 index 000000000..8f6357924 --- /dev/null +++ b/assets/esign-Cuj_essY.js @@ -0,0 +1 @@ +import{y as E,o as x,f as w,d as B,r as p,e as y,i as l,j as d,g as b,n as g,h as f,s as k,aA as M,E as S,x as R,R as I,Q as X,z as _}from"./index-C_dOR4Zc.js";import Y from"./alert-CMVXPJVB.js";const N={props:{width:{type:Number,default:800},height:{type:Number,default:300},lineWidth:{type:Number,default:4},lineColor:{type:String,default:"#000000"},bgColor:{type:String,default:""},isCrop:{type:Boolean,default:!1},isClearBgColor:{type:Boolean,default:!0},format:{type:String,default:"image/png"},quality:{type:Number,default:1}},data(){return{hasDrew:!1,resultImg:"",points:[],canvasTxt:null,startX:0,startY:0,isDrawing:!1,sratio:1}},computed:{ratio(){return this.height/this.width},stageInfo(){return this.$refs.canvas.getBoundingClientRect()},myBg(){return this.bgColor?this.bgColor:"rgba(255, 255, 255, 0)"}},watch:{myBg:function(t){this.$refs.canvas.style.background=t}},beforeMount(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy(){window.removeEventListener("resize",this.$_resizeHandler)},mounted(){const t=this.$refs.canvas;t.height=this.height,t.width=this.width,t.style.background=this.myBg,this.$_resizeHandler(),document.onmouseup=()=>{this.isDrawing=!1}},methods:{$_resizeHandler(){const t=this.$refs.canvas;t.style.width=this.width+"px";const e=parseFloat(window.getComputedStyle(t).width);t.style.height=this.ratio*e+"px",this.canvasTxt=t.getContext("2d"),this.canvasTxt.scale(1*this.sratio,1*this.sratio),this.sratio=e/this.width,this.canvasTxt.scale(1/this.sratio,1/this.sratio)},mouseDown(t){t=t||event,t.preventDefault(),this.isDrawing=!0,this.hasDrew=!0;let e={x:t.offsetX,y:t.offsetY};this.drawStart(e)},mouseMove(t){if(t=t||event,t.preventDefault(),this.isDrawing){let e={x:t.offsetX,y:t.offsetY};this.drawMove(e)}},mouseUp(t){t=t||event,t.preventDefault();let e={x:t.offsetX,y:t.offsetY};this.drawEnd(e),this.isDrawing=!1},touchStart(t){if(t=t||event,t.preventDefault(),this.hasDrew=!0,t.touches.length===1){let e={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawStart(e)}},touchMove(t){if(t=t||event,t.preventDefault(),t.touches.length===1){let e={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawMove(e)}},touchEnd(t){if(t=t||event,t.preventDefault(),t.touches.length===1){let e={x:t.targetTouches[0].clientX-this.$refs.canvas.getBoundingClientRect().left,y:t.targetTouches[0].clientY-this.$refs.canvas.getBoundingClientRect().top};this.drawEnd(e)}},drawStart(t){this.startX=t.x,this.startY=t.y,this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t)},drawMove(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.strokeStyle=this.lineColor,this.canvasTxt.lineWidth=this.lineWidth*this.sratio,this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.startY=t.y,this.startX=t.x,this.points.push(t)},drawEnd(t){this.canvasTxt.beginPath(),this.canvasTxt.moveTo(this.startX,this.startY),this.canvasTxt.lineTo(t.x,t.y),this.canvasTxt.lineCap="round",this.canvasTxt.lineJoin="round",this.canvasTxt.stroke(),this.canvasTxt.closePath(),this.points.push(t),this.points.push({x:-1,y:-1})},generate(t){let e=t&&t.format?t.format:this.format,n=t&&t.quality?t.quality:this.quality;return new Promise((c,s)=>{if(!this.hasDrew){s("Warning: Not Signned!");return}var a=this.canvasTxt.getImageData(0,0,this.$refs.canvas.width,this.$refs.canvas.height);this.canvasTxt.globalCompositeOperation="destination-over",this.canvasTxt.fillStyle=this.myBg,this.canvasTxt.fillRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.resultImg=this.$refs.canvas.toDataURL(e,n);var u=this.resultImg;if(this.canvasTxt.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.canvasTxt.putImageData(a,0,0),this.canvasTxt.globalCompositeOperation="source-over",this.isCrop){const o=this.getCropArea(a.data);var i=document.createElement("canvas");const h=i.getContext("2d");i.width=o[2]-o[0],i.height=o[3]-o[1];const v=this.canvasTxt.getImageData(...o);h.globalCompositeOperation="destination-over",h.putImageData(v,0,0),h.fillStyle=this.myBg,h.fillRect(0,0,i.width,i.height),u=i.toDataURL(e,n),i=null}c(u)})},reset(){this.canvasTxt.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),this.isClearBgColor&&(this.$emit("update:bgColor",""),this.$refs.canvas.style.background="rgba(255, 255, 255, 0)"),this.points=[],this.hasDrew=!1,this.resultImg=""},getCropArea(t){for(var e=this.$refs.canvas.width,n=0,r=this.$refs.canvas.height,c=0,s=0;s0||t[u+1]>0||t[u+2]||t[u+3]>0)&&(c=Math.max(a,c),n=Math.max(s,n),r=Math.min(a,r),e=Math.min(s,e))}return e++,n++,r++,c++,[e,r,n,c]}}};function P(t,e,n,r,c,s){return x(),w("canvas",{ref:"canvas",onMousedown:e[0]||(e[0]=(...a)=>s.mouseDown&&s.mouseDown(...a)),onMousemove:e[1]||(e[1]=(...a)=>s.mouseMove&&s.mouseMove(...a)),onMouseup:e[2]||(e[2]=(...a)=>s.mouseUp&&s.mouseUp(...a)),onTouchstart:e[3]||(e[3]=(...a)=>s.touchStart&&s.touchStart(...a)),onTouchmove:e[4]||(e[4]=(...a)=>s.touchMove&&s.touchMove(...a)),onTouchend:e[5]||(e[5]=(...a)=>s.touchEnd&&s.touchEnd(...a))},null,544)}const T=E(N,[["render",P],["__scopeId","data-v-1fcc7cb1"]]);T.install=function(t){this.installed||(this.installed=!0,t.component("vueEsign",T))};const W={style:{"margin-bottom":"0"}},z=["src"],U=B({name:"ComponentExampleSignCanvas",__name:"esign",setup(t){const e=p(),n=p({lineWidth:6,lineColor:"#000000",bgColor:"#f0f0f0",isCrop:!1}),r=p("");function c(){e.value.reset(),M(()=>{n.value.bgColor="#f0f0f0"})}function s(){e.value.generate().then(i=>{r.value=i}).catch(()=>{S("画板为空,无法生成图片")})}function a(){e.value.generate().then(i=>{const o=new Image;o.setAttribute("crossOrigin","anonymous"),o.onload=()=>{const h=document.createElement("a"),v=new MouseEvent("click");h.download=Date.parse(new Date().toString()).toString(),h.href=o.src,h.dispatchEvent(v)},o.src=i})}function u(i){window.open(i,"_blank")}return(i,o)=>{const h=y("ElTag"),v=R,m=y("ElButton"),D=I,$=X;return x(),w("div",null,[l(Y),l(D,{title:"电子签名"},{content:d(()=>[b("p",W,[g(" 安装命令:"),l(h,null,{default:d(()=>[g("pnpm add vue-esign")]),_:1})])]),default:d(()=>[l(m,{onClick:o[0]||(o[0]=C=>u("https://github.com/JaimeCheng/vue-esign"))},{icon:d(()=>[l(v,{name:"i-ep:link"})]),default:d(()=>[g(" 访问 vue-esign ")]),_:1})]),_:1}),l($,null,{default:d(()=>[l(f(T),{ref_key:"esignRef",ref:e,bgColor:f(n).bgColor,"onUpdate:bgColor":o[1]||(o[1]=C=>f(n).bgColor=C),width:500,height:300,"is-crop":f(n).isCrop,"line-width":f(n).lineWidth,"line-color":f(n).lineColor},null,8,["bgColor","is-crop","line-width","line-color"]),b("div",null,[l(m,{onClick:c},{default:d(()=>[g(" 清空画板 ")]),_:1}),l(m,{onClick:s},{default:d(()=>[g(" 生成图片 ")]),_:1}),l(m,{onClick:a},{default:d(()=>[g(" 下载图片 ")]),_:1})]),f(r)?(x(),w("img",{key:0,src:f(r),width:500,height:300},null,8,z)):k("",!0)]),_:1})])}}});typeof _=="function"&&_(U);export{U as default}; diff --git a/assets/esign-Cuj_essY.js.br b/assets/esign-Cuj_essY.js.br new file mode 100644 index 000000000..3e4eac077 Binary files /dev/null and b/assets/esign-Cuj_essY.js.br differ diff --git a/assets/esign-Cuj_essY.js.gz b/assets/esign-Cuj_essY.js.gz new file mode 100644 index 000000000..6416a02e2 Binary files /dev/null and b/assets/esign-Cuj_essY.js.gz differ diff --git a/assets/esign-L8gvZECO.css b/assets/esign-L8gvZECO.css new file mode 100644 index 000000000..be278a2a1 --- /dev/null +++ b/assets/esign-L8gvZECO.css @@ -0,0 +1 @@ +canvas[data-v-1fcc7cb1]{max-width:100%;display:block} diff --git a/assets/esign-L8gvZECO.css.br b/assets/esign-L8gvZECO.css.br new file mode 100644 index 000000000..4c3f0c9d3 Binary files /dev/null and b/assets/esign-L8gvZECO.css.br differ diff --git a/assets/g2plot-ByQeLT_O.js b/assets/g2plot-ByQeLT_O.js new file mode 100644 index 000000000..518961c8b --- /dev/null +++ b/assets/g2plot-ByQeLT_O.js @@ -0,0 +1,82 @@ +import{cz as nw,ck as aw,d as ow,B as sw,A as lw,e as kn,o as uw,f as cw,i as Xt,j as Wt,g as pn,n as qa,x as hw,R as fw,Q as vw,z as Uh}from"./index-C_dOR4Zc.js";import dw from"./alert-CMVXPJVB.js";const ds=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return qe},get Circle(){return C2},get Ellipse(){return M2},get Image(){return A2},get Line(){return F2},get Marker(){return E2},get Path(){return Jc},get Polygon(){return B2},get Polyline(){return R2},get Rect(){return G2},get Text(){return V2}},Symbol.toStringTag,{value:"Module"})),ps=Object.freeze(Object.defineProperty({__proto__:null,get Base(){return ze},get Circle(){return q2},get Dom(){return U2},get Ellipse(){return j2},get Image(){return Z2},get Line(){return Q2},get Marker(){return K2},get Path(){return J2},get Polygon(){return tT},get Polyline(){return eT},get Rect(){return iT},get Text(){return sT}},Symbol.toStringTag,{value:"Module"}));var au=function(r,e){return au=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},au(r,e)};function O(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");au(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var b=function(){return b=Object.assign||function(e){for(var t,i=1,n=arguments.length;i0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function U(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var i=t.call(r),n,a=[],o;try{for(;(e===void 0||e-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(t=i.return)&&t.call(i)}finally{if(o)throw o.error}}return a}function mp(){for(var r=0,e=0,t=arguments.length;e-1:!1},Qt=function(r,e){if(!Ce(r))return r;for(var t=[],i=0;ia[s])return 1;if(n[s]t?t:r},yl=function(r,e){var t=e.toString(),i=t.indexOf(".");if(i===-1)return Math.round(r);var n=t.substr(i+1).length;return n>20&&(n=20),parseFloat(r.toFixed(n))},nt=function(r){return Kr(r,"Number")},Mw=1e-5;function Ut(r,e,t){return t===void 0&&(t=Mw),Math.abs(r-e)i&&(t=a,i=o)}return t}},Aw=function(r,e){if(z(r)){for(var t,i=1/0,n=0;ne?(i&&(clearTimeout(i),i=null),s=c,o=r.apply(n,a),i||(n=a=null)):!i&&t.trailing!==!1&&(i=setTimeout(l,h)),o};return u.cancel=function(){clearTimeout(i),s=0,i=n=a=null},u},Gw=function(r){return Ce(r)?Array.prototype.slice.call(r):[]};var Ua={};const Jr=function(r){return r=r||"g",Ua[r]?Ua[r]+=1:Ua[r]=1,r+Ua[r]},Rr=function(){};function $t(r){return R(r)?0:Ce(r)?r.length:Object.keys(r).length}var ja;const Za=mn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant;return ja||(ja=document.createElement("canvas").getContext("2d")),ja.font=[a,o,n,t+"px",i].join(" "),ja.measureText(J(r)?r:"").width},function(r,e){return e===void 0&&(e={}),mp([r],ys(e)).join("")}),Vw=function(r,e,t,i){var n=16,a=Za(i,t),o=J(r)?r:Ia(r),s=e,l=[],u,c;if(Za(r,t)<=e)return r;for(;u=o.substr(0,n),c=Za(u,t),!(c+a>s&&c>s);)if(l.push(u),s-=c,o=o.substr(n),!o)return l.join("");for(;u=o.substr(0,1),c=Za(u,t),!(c+a>s);)if(l.push(u),s-=c,o=o.substr(1),!o)return l.join("");return""+l.join("")+i};var Yw=function(){function r(){this.map={}}return r.prototype.has=function(e){return this.map[e]!==void 0},r.prototype.get=function(e,t){var i=this.map[e];return i===void 0?t:i},r.prototype.set=function(e,t){this.map[e]=t},r.prototype.clear=function(){this.map={}},r.prototype.delete=function(e){delete this.map[e]},r.prototype.size=function(){return Object.keys(this.map).length},r}(),Dt;(function(r){r.FORE="fore",r.MID="mid",r.BG="bg"})(Dt||(Dt={}));var V;(function(r){r.TOP="top",r.TOP_LEFT="top-left",r.TOP_RIGHT="top-right",r.RIGHT="right",r.RIGHT_TOP="right-top",r.RIGHT_BOTTOM="right-bottom",r.LEFT="left",r.LEFT_TOP="left-top",r.LEFT_BOTTOM="left-bottom",r.BOTTOM="bottom",r.BOTTOM_LEFT="bottom-left",r.BOTTOM_RIGHT="bottom-right",r.RADIUS="radius",r.CIRCLE="circle",r.NONE="none"})(V||(V={}));var Yt;(function(r){r.AXIS="axis",r.GRID="grid",r.LEGEND="legend",r.TOOLTIP="tooltip",r.ANNOTATION="annotation",r.SLIDER="slider",r.SCROLLBAR="scrollbar",r.OTHER="other"})(Yt||(Yt={}));var ji={FORE:3,MID:2,BG:1},lt;(function(r){r.BEFORE_RENDER="beforerender",r.AFTER_RENDER="afterrender",r.BEFORE_PAINT="beforepaint",r.AFTER_PAINT="afterpaint",r.BEFORE_CHANGE_DATA="beforechangedata",r.AFTER_CHANGE_DATA="afterchangedata",r.BEFORE_CLEAR="beforeclear",r.AFTER_CLEAR="afterclear",r.BEFORE_DESTROY="beforedestroy",r.BEFORE_CHANGE_SIZE="beforechangesize",r.AFTER_CHANGE_SIZE="afterchangesize"})(lt||(lt={}));var Gr;(function(r){r.BEFORE_DRAW_ANIMATE="beforeanimate",r.AFTER_DRAW_ANIMATE="afteranimate",r.BEFORE_RENDER_LABEL="beforerenderlabel",r.AFTER_RENDER_LABEL="afterrenderlabel"})(Gr||(Gr={}));var ue;(function(r){r.MOUSE_ENTER="plot:mouseenter",r.MOUSE_DOWN="plot:mousedown",r.MOUSE_MOVE="plot:mousemove",r.MOUSE_UP="plot:mouseup",r.MOUSE_LEAVE="plot:mouseleave",r.TOUCH_START="plot:touchstart",r.TOUCH_MOVE="plot:touchmove",r.TOUCH_END="plot:touchend",r.TOUCH_CANCEL="plot:touchcancel",r.CLICK="plot:click",r.DBLCLICK="plot:dblclick",r.CONTEXTMENU="plot:contextmenu",r.LEAVE="plot:leave",r.ENTER="plot:enter"})(ue||(ue={}));var $o;(function(r){r.ACTIVE="active",r.INACTIVE="inactive",r.SELECTED="selected",r.DEFAULT="default"})($o||($o={}));var Wi=["color","shape","size"],St="_origin",jh=1,Zh=1,Qh=.25,Lp={};function $w(r){var e=Lp[r];if(!e)throw new Error("G engine '".concat(r,"' is not exist, please register it at first."));return e}function Ip(r,e){Lp[r]=e}function Ni(r,e,t){if(r){if(typeof r.addEventListener=="function")return r.addEventListener(e,t,!1),{remove:function(){r.removeEventListener(e,t,!1)}};if(typeof r.attachEvent=="function")return r.attachEvent("on"+e,t),{remove:function(){r.detachEvent("on"+e,t)}}}}var Gn,xl,Pp,su;function Hw(){Gn=document.createElement("table"),xl=document.createElement("tr"),Pp=/^\s*<(\w+|!)[^>]*>/,su={tr:document.createElement("tbody"),tbody:Gn,thead:Gn,tfoot:Gn,td:xl,th:xl,"*":document.createElement("div")}}function Vr(r){Gn||Hw();var e=Pp.test(r)&&RegExp.$1;(!e||!(e in su))&&(e="*");var t=su[e];r=typeof r=="string"?r.replace(/(^\s*)|(\s*$)/g,""):r,t.innerHTML=""+r;var i=t.childNodes[0];return i&&t.contains(i)&&t.removeChild(i),i}function ve(r,e,t){var i;try{i=window.getComputedStyle?window.getComputedStyle(r,null)[e]:r.style[e]}catch{}finally{i=i===void 0?t:i}return i}function Xw(r,e){var t=ve(r,"height",e);return t==="auto"&&(t=r.offsetHeight),parseFloat(t)}function Ww(r,e){var t=Xw(r,e),i=parseFloat(ve(r,"borderTopWidth"))||0,n=parseFloat(ve(r,"paddingTop"))||0,a=parseFloat(ve(r,"paddingBottom"))||0,o=parseFloat(ve(r,"borderBottomWidth"))||0,s=parseFloat(ve(r,"marginTop"))||0,l=parseFloat(ve(r,"marginBottom"))||0;return t+i+o+n+a+s+l}function _w(r,e){var t=ve(r,"width",e);return t==="auto"&&(t=r.offsetWidth),parseFloat(t)}function qw(r,e){var t=_w(r,e),i=parseFloat(ve(r,"borderLeftWidth"))||0,n=parseFloat(ve(r,"paddingLeft"))||0,a=parseFloat(ve(r,"paddingRight"))||0,o=parseFloat(ve(r,"borderRightWidth"))||0,s=parseFloat(ve(r,"marginRight"))||0,l=parseFloat(ve(r,"marginLeft"))||0;return t+i+o+n+a+l+s}function re(r,e){if(r)for(var t in e)e.hasOwnProperty(t)&&(r.style[t]=e[t]);return r}function Uw(r){var e=getComputedStyle(r);return{width:(r.clientWidth||parseInt(e.width,10))-parseInt(e.paddingLeft,10)-parseInt(e.paddingRight,10),height:(r.clientHeight||parseInt(e.height,10))-parseInt(e.paddingTop,10)-parseInt(e.paddingBottom,10)}}function Kh(r){return typeof r=="number"&&!isNaN(r)}function Jh(r,e,t,i){var n=t,a=i;if(e){var o=Uw(r);n=o.width?o.width:n,a=o.height?o.height:a}return{width:Math.max(Kh(n)?n:jh,jh),height:Math.max(Kh(a)?a:Zh,Zh)}}function jw(r){var e=r.parentNode;e&&e.removeChild(r)}var Zw="*",fc=function(){function r(){this._events={}}return r.prototype.on=function(e,t,i){return this._events[e]||(this._events[e]=[]),this._events[e].push({callback:t,once:!!i}),this},r.prototype.once=function(e,t){return this.on(e,t,!0)},r.prototype.emit=function(e){for(var t=this,i=[],n=1;n2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return r}),t},lu=function(r,e){for(var t=[],i=0,n=r.length;n-2*!e>i;i+=2){var a=[{x:+r[i-2],y:+r[i-1]},{x:+r[i],y:+r[i+1]},{x:+r[i+2],y:+r[i+3]},{x:+r[i+4],y:+r[i+5]}];e?i?n-4===i?a[3]={x:+r[0],y:+r[1]}:n-2===i&&(a[2]={x:+r[0],y:+r[1]},a[3]={x:+r[2],y:+r[3]}):a[0]={x:+r[n-2],y:+r[n-1]}:n-4===i?a[3]=a[2]:i||(a[0]={x:+r[i],y:+r[i+1]}),t.push(["C",(-a[0].x+6*a[1].x+a[2].x)/6,(-a[0].y+6*a[1].y+a[2].y)/6,(a[1].x+6*a[2].x-a[3].x)/6,(a[1].y+6*a[2].y-a[3].y)/6,a[2].x,a[2].y])}return t},Qa=function(r,e,t,i,n){var a=[];if(n===null&&i===null&&(i=t),r=+r,e=+e,t=+t,i=+i,n!==null){var o=Math.PI/180,s=r+t*Math.cos(-i*o),l=r+t*Math.cos(-n*o),u=e+t*Math.sin(-i*o),c=e+t*Math.sin(-n*o);a=[["M",s,u],["A",t,t,0,+(n-i>180),0,l,c]]}else a=[["M",r,e],["m",0,-i],["a",t,i,0,1,1,0,2*i],["a",t,i,0,1,1,0,-2*i],["z"]];return a},uu=function(r){if(r=_i(r),!r||!r.length)return[["M",0,0]];var e=[],t=0,i=0,n=0,a=0,o=0,s,l;r[0][0]==="M"&&(t=+r[0][1],i=+r[0][2],n=t,a=i,o++,e[0]=["M",t,i]);for(var u=r.length===3&&r[0][0]==="M"&&r[1][0].toUpperCase()==="R"&&r[2][0].toUpperCase()==="Z",c=void 0,h=void 0,f=o,v=r.length;f1&&(S=Math.sqrt(S),t=S*t,i=S*i);var M=t*t,F=i*i,T=(a===o?-1:1)*Math.sqrt(Math.abs((M*F-M*x*x-F*w*w)/(M*x*x+F*w*w)));g=T*t*x/i+(r+s)/2,y=T*-i*w/t+(e+l)/2,d=Math.asin(((e-y)/i).toFixed(9)),p=Math.asin(((l-y)/i).toFixed(9)),d=rp&&(d=d-Math.PI*2),!o&&p>d&&(p=p-Math.PI*2)}var k=p-d;if(Math.abs(k)>c){var E=p,I=s,B=l;p=d+c*(o&&p>d?1:-1),s=g+t*Math.cos(p),l=y+i*Math.sin(p),f=Dp(s,l,t,i,n,0,o,I,B,[p,E,g,y])}k=p-d;var N=Math.cos(d),Y=Math.sin(d),j=Math.cos(p),P=Math.sin(p),G=Math.tan(k/4),_=4/3*t*G,H=4/3*i*G,$=[r,e],q=[r+_*Y,e-H*N],it=[s+_*P,l-H*j],st=[s,l];if(q[0]=2*$[0]-q[0],q[1]=2*$[1]-q[1],u)return[q,it,st].concat(f);f=[q,it,st].concat(f).join().split(",");for(var tt=[],rt=0,mt=f.length;rt7){w[x].shift();for(var S=w[x];S.length;)o[x]="A",i&&(s[x]="A"),w.splice(x++,0,["C"].concat(S.splice(0,6)));w.splice(x,1),c=Math.max(t.length,i&&i.length||0)}},v=function(w,x,S,M,F){w&&x&&w[F][0]==="M"&&x[F][0]!=="M"&&(x.splice(F,0,["M",M.x,M.y]),S.bx=0,S.by=0,S.x=w[F][1],S.y=w[F][2],c=Math.max(t.length,i&&i.length||0))};c=Math.max(t.length,i&&i.length||0);for(var d=0;d1?1:l<0?0:l;for(var u=l/2,c=12,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],v=0,d=0;d0&&v<1&&l.push(v);continue}var p=h*h-4*f*c,g=Math.sqrt(p);if(!(p<0)){var y=(-h+g)/(2*c);y>0&&y<1&&l.push(y);var m=(-h-g)/(2*c);m>0&&m<1&&l.push(m)}}for(var w=l.length,x=w,S;w--;)v=l[w],S=1-v,u[0][w]=S*S*S*r+3*S*S*v*t+3*S*v*v*n+v*v*v*o,u[1][w]=S*S*S*e+3*S*S*v*i+3*S*v*v*a+v*v*v*s;return u[0][x]=r,u[1][x]=e,u[0][x+1]=o,u[1][x+1]=s,u[0].length=u[1].length=x+2,{min:{x:Math.min.apply(0,u[0]),y:Math.min.apply(0,u[1])},max:{x:Math.max.apply(0,u[0]),y:Math.max.apply(0,u[1])}}},e1=function(r,e,t,i,n,a,o,s){if(!(Math.max(r,t)Math.max(n,o)||Math.max(e,i)Math.max(a,s))){var l=(r*i-e*t)*(n-o)-(r-t)*(n*s-a*o),u=(r*i-e*t)*(a-s)-(e-i)*(n*s-a*o),c=(r-t)*(a-s)-(e-i)*(n-o);if(c){var h=l/c,f=u/c,v=+h.toFixed(2),d=+f.toFixed(2);if(!(v<+Math.min(r,t).toFixed(2)||v>+Math.max(r,t).toFixed(2)||v<+Math.min(n,o).toFixed(2)||v>+Math.max(n,o).toFixed(2)||d<+Math.min(e,i).toFixed(2)||d>+Math.max(e,i).toFixed(2)||d<+Math.min(a,s).toFixed(2)||d>+Math.max(a,s).toFixed(2)))return{x:h,y:f}}}},Tr=function(r,e,t){return e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height},Bp=function(r,e,t,i,n){if(n)return[["M",+r+ +n,e],["l",t-n*2,0],["a",n,n,0,0,1,n,n],["l",0,i-n*2],["a",n,n,0,0,1,-n,n],["l",n*2-t,0],["a",n,n,0,0,1,-n,-n],["l",0,n*2-i],["a",n,n,0,0,1,n,-n],["z"]];var a=[["M",r,e],["l",t,0],["l",0,i],["l",-t,0],["z"]];return a.parsePathArray=Op,a},hu=function(r,e,t,i){return r===null&&(r=e=t=i=0),e===null&&(e=r.y,t=r.width,i=r.height,r=r.x),{x:r,y:e,width:t,w:t,height:i,h:i,x2:r+t,y2:e+i,cx:r+t/2,cy:e+i/2,r1:Math.min(t,i)/2,r2:Math.max(t,i)/2,r0:Math.sqrt(t*t+i*i)/2,path:Bp(r,e,t,i),vb:[r,e,t,i].join(" ")}},r1=function(r,e){return r=hu(r),e=hu(e),Tr(e,r.x,r.y)||Tr(e,r.x2,r.y)||Tr(e,r.x,r.y2)||Tr(e,r.x2,r.y2)||Tr(r,e.x,e.y)||Tr(r,e.x2,e.y)||Tr(r,e.x,e.y2)||Tr(r,e.x2,e.y2)||(r.xe.x||e.xr.x)&&(r.ye.y||e.yr.y)},nf=function(r,e,t,i,n,a,o,s){z(r)||(r=[r,e,t,i,n,a,o,s]);var l=t1.apply(null,r);return hu(l.min.x,l.min.y,l.max.x-l.min.x,l.max.y-l.min.y)},af=function(r,e,t,i,n,a,o,s,l){var u=1-l,c=Math.pow(u,3),h=Math.pow(u,2),f=l*l,v=f*l,d=c*r+h*3*l*t+u*3*l*l*n+v*o,p=c*e+h*3*l*i+u*3*l*l*a+v*s,g=r+2*l*(t-r)+f*(n-2*t+r),y=e+2*l*(i-e)+f*(a-2*i+e),m=t+2*l*(n-t)+f*(o-2*n+t),w=i+2*l*(a-i)+f*(s-2*a+i),x=u*r+l*t,S=u*e+l*i,M=u*n+l*o,F=u*a+l*s,T=90-Math.atan2(g-m,y-w)*180/Math.PI;return{x:d,y:p,m:{x:g,y},n:{x:m,y:w},start:{x,y:S},end:{x:M,y:F},alpha:T}},i1=function(r,e,t){var i=nf(r),n=nf(e);if(!r1(i,n))return t?0:[];for(var a=rf.apply(0,r),o=rf.apply(0,e),s=~~(a/8),l=~~(o/8),u=[],c=[],h={},f=t?0:[],v=0;v=0&&F<=1&&T>=0&&T<=1&&(t?f+=1:f.push({x:M.x,y:M.y,t1:F,t2:T}))}}return f},n1=function(r,e,t){r=cu(r),e=cu(e);for(var i,n,a,o,s,l,u,c,h,f,v=t?0:[],d=0,p=r.length;d=3&&(h.length===3&&f.push("Q"),f=f.concat(h[1])),h.length===2&&f.push("L"),f=f.concat(h[h.length-1]),f});return c}var l1=function(r,e,t){if(t===1)return[[].concat(r)];var i=[];if(e[0]==="L"||e[0]==="C"||e[0]==="Q")i=i.concat(s1(r,e,t));else{var n=[].concat(r);n[0]==="M"&&(n[0]="L");for(var a=0;a<=t-1;a++)i.push(n)}return i},u1=function(r,e){if(r.length===1)return r;var t=r.length-1,i=e.length-1,n=t/i,a=[];if(r.length===1&&r[0][0]==="M"){for(var o=0;o=0;l--)o=a[l].index,a[l].type==="add"?r.splice(o,0,[].concat(r[o])):r.splice(o,1)}i=r.length;var h=n-i;if(i0)t=wl(t,r[i-1],1);else{r[i]=e[i];break}r[i]=["Q"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;case"T":r[i]=["T"].concat(t[0]);break;case"C":if(t.length<3)if(i>0)t=wl(t,r[i-1],2);else{r[i]=e[i];break}r[i]=["C"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;case"S":if(t.length<2)if(i>0)t=wl(t,r[i-1],1);else{r[i]=e[i];break}r[i]=["S"].concat(t.reduce(function(n,a){return n.concat(a)},[]));break;default:r[i]=e[i]}return r};const dc=Object.freeze(Object.defineProperty({__proto__:null,catmullRomToBezier:lu,fillPath:u1,fillPathByDiff:Rp,formatPath:fu,intersection:a1,parsePathArray:Op,parsePathString:_i,pathToAbsolute:uu,pathToCurve:cu,rectPath:Bp},Symbol.toStringTag,{value:"Module"}));var Pa=function(){function r(e,t){this.bubbles=!0,this.target=null,this.currentTarget=null,this.delegateTarget=null,this.delegateObject=null,this.defaultPrevented=!1,this.propagationStopped=!1,this.shape=null,this.fromShape=null,this.toShape=null,this.propagationPath=[],this.type=e,this.name=e,this.originalEvent=t,this.timeStamp=t.timeStamp}return r.prototype.preventDefault=function(){this.defaultPrevented=!0,this.originalEvent.preventDefault&&this.originalEvent.preventDefault()},r.prototype.stopPropagation=function(){this.propagationStopped=!0},r.prototype.toString=function(){var e=this.type;return"[Event (type="+e+")]"},r.prototype.save=function(){},r.prototype.restore=function(){},r}();function Np(r,e){var t=r.indexOf(e);t!==-1&&r.splice(t,1)}var of=typeof window<"u"&&typeof window.document<"u";function Gp(r,e){if(r.isCanvas())return!0;for(var t=e.getParent(),i=!1;t;){if(t===r){i=!0;break}t=t.getParent()}return i}function oa(r){return r.cfg.visible&&r.cfg.capture}var xs=function(r){O(e,r);function e(t){var i=r.call(this)||this;i.destroyed=!1;var n=i.getDefaultCfg();return i.cfg=xt(n,t),i}return e.prototype.getDefaultCfg=function(){return{}},e.prototype.get=function(t){return this.cfg[t]},e.prototype.set=function(t,i){this.cfg[t]=i},e.prototype.destroy=function(){this.cfg={destroyed:!0},this.off(),this.destroyed=!0},e}(fc),sf=function(r,e,t){if(t||arguments.length===2)for(var i=0,n=e.length,a;i"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new y1:typeof navigator<"u"?S1(navigator.userAgent):M1()}function b1(r){return r!==""&&w1.reduce(function(e,t){var i=t[0],n=t[1];if(e)return e;var a=n.exec(r);return!!a&&[i,a]},!1)}function S1(r){var e=b1(r);if(!e)return null;var t=e[0],i=e[1];if(t==="searchbot")return new g1;var n=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);n?n.length0&&(n=1/Math.sqrt(n)),r[0]=e[0]*n,r[1]=e[1]*n,r}function P1(r,e){return r[0]*e[0]+r[1]*e[1]}function D1(r,e,t){var i=e[0],n=e[1];return r[0]=t[0]*i+t[3]*n+t[6],r[1]=t[1]*i+t[4]*n+t[7],r}function vu(r,e){var t=r[0],i=r[1],n=e[0],a=e[1],o=Math.sqrt(t*t+i*i)*Math.sqrt(n*n+a*a),s=o&&(t*n+i*a)/o;return Math.acos(Math.min(Math.max(s,-1),1))}function O1(r,e){return r[0]===e[0]&&r[1]===e[1]}var gi=Yp;(function(){var r=I1();return function(e,t,i,n,a,o){var s,l;for(t||(t=2),i||(i=0),n?l=Math.min(n*t+i,e.length):l=e.length,s=i;s=0;return t?n?Math.PI*2-i:i:n?i:Math.PI*2-i}function cf(r,e){var t=[],i=r[0],n=r[1],a=r[2],o=r[3],s=r[4],l=r[5],u=r[6],c=r[7],h=r[8],f=e[0],v=e[1],d=e[2],p=e[3],g=e[4],y=e[5],m=e[6],w=e[7],x=e[8];return t[0]=f*i+v*o+d*u,t[1]=f*n+v*s+d*c,t[2]=f*a+v*l+d*h,t[3]=p*i+g*o+y*u,t[4]=p*n+g*s+y*c,t[5]=p*a+g*l+y*h,t[6]=m*i+w*o+x*u,t[7]=m*n+w*s+x*c,t[8]=m*a+w*l+x*h,t}function dr(r,e){var t=[],i=e[0],n=e[1];return t[0]=r[0]*i+r[3]*n+r[6],t[1]=r[1]*i+r[4]*n+r[7],t}function bs(r){var e=[],t=r[0],i=r[1],n=r[2],a=r[3],o=r[4],s=r[5],l=r[6],u=r[7],c=r[8],h=c*o-s*u,f=-c*a+s*l,v=u*a-o*l,d=t*h+i*f+n*v;return d?(d=1/d,e[0]=h*d,e[1]=(-c*i+n*u)*d,e[2]=(s*i-n*o)*d,e[3]=f*d,e[4]=(c*t-n*l)*d,e[5]=(-s*t+n*a)*d,e[6]=v*d,e[7]=(-u*t+i*l)*d,e[8]=(o*t-i*a)*d,e):null}var Ln=Nt,bl="matrix",z1=["zIndex","capture","visible","type"],N1=["repeat"],G1=":",V1="*";function Y1(r){for(var e=[],t=0;to.delay&&C(e.toAttrs,function(s,l){a.call(o.toAttrs,l)&&(delete o.toAttrs[l],delete o.fromAttrs[l])})}),r}var Xp=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;i.attrs={};var n=i.getDefaultAttrs();return xt(n,t.attrs),i.attrs=n,i.initAttrs(n),i.initAnimate(),i}return e.prototype.getDefaultCfg=function(){return{visible:!0,capture:!0,zIndex:0}},e.prototype.getDefaultAttrs=function(){return{matrix:this.getDefaultMatrix(),opacity:1}},e.prototype.onCanvasChange=function(t){},e.prototype.initAttrs=function(t){},e.prototype.initAnimate=function(){this.set("animable",!0),this.set("animating",!1)},e.prototype.isGroup=function(){return!1},e.prototype.getParent=function(){return this.get("parent")},e.prototype.getCanvas=function(){return this.get("canvas")},e.prototype.attr=function(){for(var t,i=[],n=0;n0?a=X1(a,x):n.addAnimator(this),a.push(x),this.set("animations",a),this.set("_pause",{isPaused:!1})}},e.prototype.stopAnimate=function(t){var i=this;t===void 0&&(t=!0);var n=this.get("animations");C(n,function(a){t&&(a.onFrame?i.attr(a.onFrame(1)):i.attr(a.toAttrs)),a.callback&&a.callback()}),this.set("animating",!1),this.set("animations",[])},e.prototype.pauseAnimate=function(){var t=this.get("timeline"),i=this.get("animations"),n=t.getTime();return C(i,function(a){a._paused=!0,a._pauseTime=n,a.pauseCallback&&a.pauseCallback()}),this.set("_pause",{isPaused:!0,pauseTime:n}),this},e.prototype.resumeAnimate=function(){var t=this.get("timeline"),i=t.getTime(),n=this.get("animations"),a=this.get("_pause").pauseTime;return C(n,function(o){o.startTime=o.startTime+(i-a),o._paused=!1,o._pauseTime=null,o.resumeCallback&&o.resumeCallback()}),this.set("_pause",{isPaused:!1}),this.set("animations",n),this},e.prototype.emitDelegation=function(t,i){var n=this,a=i.propagationPath;this.getEvents();var o;t==="mouseenter"?o=i.fromShape:t==="mouseleave"&&(o=i.toShape);for(var s=function(h){var f=a[h],v=f.get("name");if(v){if((f.isGroup()||f.isCanvas&&f.isCanvas())&&o&&Gp(f,o))return"break";z(v)?C(v,function(d){n.emitDelegateEvent(f,d,i)}):l.emitDelegateEvent(f,v,i)}},l=this,u=0;u0)});o.length>0?C(o,function(l){var u=l.getBBox(),c=u.minX,h=u.maxX,f=u.minY,v=u.maxY;ci&&(i=h),fa&&(a=v)}):(t=0,i=0,n=0,a=0);var s={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return s},e.prototype.getCanvasBBox=function(){var t=1/0,i=-1/0,n=1/0,a=-1/0,o=this.getChildren().filter(function(l){return l.get("visible")&&(!l.isGroup()||l.isGroup()&&l.getChildren().length>0)});o.length>0?C(o,function(l){var u=l.getCanvasBBox(),c=u.minX,h=u.maxX,f=u.minY,v=u.maxY;ci&&(i=h),fa&&(a=v)}):(t=0,i=0,n=0,a=0);var s={x:t,y:n,minX:t,minY:n,maxX:i,maxY:a,width:i-t,height:a-n};return s},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.children=[],t},e.prototype.onAttrChange=function(t,i,n){if(r.prototype.onAttrChange.call(this,t,i,n),t==="matrix"){var a=this.getTotalMatrix();this._applyChildrenMarix(a)}},e.prototype.applyMatrix=function(t){var i=this.getTotalMatrix();r.prototype.applyMatrix.call(this,t);var n=this.getTotalMatrix();n!==i&&this._applyChildrenMarix(n)},e.prototype._applyChildrenMarix=function(t){var i=this.getChildren();C(i,function(n){n.applyMatrix(t)})},e.prototype.addShape=function(){for(var t=[],i=0;i=0;s--){var l=t[s];if(oa(l)&&(l.isGroup()?o=l.getShape(i,n,a):l.isHit(i,n)&&(o=l)),o)break}return o},e.prototype.add=function(t){var i=this.getCanvas(),n=this.getChildren(),a=this.get("timeline"),o=t.getParent();o&&W1(o,t),t.set("parent",this),i&&Wp(t,i),a&&_p(t,a),n.push(t),t.onCanvasChange("add"),this._applyElementMatrix(t)},e.prototype._applyElementMatrix=function(t){var i=this.getTotalMatrix();i&&t.applyMatrix(i)},e.prototype.getChildren=function(){return this.get("children")},e.prototype.sort=function(){var t=this.getChildren();C(t,function(i,n){return i[du]=n,i}),t.sort(_1(function(i,n){return i.get("zIndex")-n.get("zIndex")})),this.onCanvasChange("sort")},e.prototype.clear=function(){if(this.set("clearing",!0),!this.destroyed){for(var t=this.getChildren(),i=t.length-1;i>=0;i--)t[i].destroy();this.set("children",[]),this.onCanvasChange("clear"),this.set("clearing",!1)}},e.prototype.destroy=function(){this.get("destroyed")||(this.clear(),r.prototype.destroy.call(this))},e.prototype.getFirst=function(){return this.getChildByIndex(0)},e.prototype.getLast=function(){var t=this.getChildren();return this.getChildByIndex(t.length-1)},e.prototype.getChildByIndex=function(t){var i=this.getChildren();return i[t]},e.prototype.getCount=function(){var t=this.getChildren();return t.length},e.prototype.contain=function(t){var i=this.getChildren();return i.indexOf(t)>-1},e.prototype.removeChild=function(t,i){i===void 0&&(i=!0),this.contain(t)&&t.remove(i)},e.prototype.findAll=function(t){var i=[],n=this.getChildren();return C(n,function(a){t(a)&&i.push(a),a.isGroup()&&(i=i.concat(a.findAll(t)))}),i},e.prototype.find=function(t){var i=null,n=this.getChildren();return C(n,function(a){if(t(a)?i=a:a.isGroup()&&(i=a.find(t)),i)return!1}),i},e.prototype.findById=function(t){return this.find(function(i){return i.get("id")===t})},e.prototype.findByClassName=function(t){return this.find(function(i){return i.get("className")===t})},e.prototype.findAllByName=function(t){return this.findAll(function(i){return i.get("name")===t})},e}(Xp),nn=0,Vn=0,In=0,Up=1e3,Xo,Yn,Wo=0,Ai=0,Ss=0,la=typeof performance=="object"&&performance.now?performance:Date,jp=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(r){setTimeout(r,17)};function Zp(){return Ai||(jp(q1),Ai=la.now()+Ss)}function q1(){Ai=0}function pu(){this._call=this._time=this._next=null}pu.prototype=Qp.prototype={constructor:pu,restart:function(r,e,t){if(typeof r!="function")throw new TypeError("callback is not a function");t=(t==null?Zp():+t)+(e==null?0:+e),!this._next&&Yn!==this&&(Yn?Yn._next=this:Xo=this,Yn=this),this._call=r,this._time=t,gu()},stop:function(){this._call&&(this._call=null,this._time=1/0,gu())}};function Qp(r,e,t){var i=new pu;return i.restart(r,e,t),i}function U1(){Zp(),++nn;for(var r=Xo,e;r;)(e=Ai-r._time)>=0&&r._call.call(null,e),r=r._next;--nn}function ff(){Ai=(Wo=la.now())+Ss,nn=Vn=0;try{U1()}finally{nn=0,Z1(),Ai=0}}function j1(){var r=la.now(),e=r-Wo;e>Up&&(Ss-=e,Wo=r)}function Z1(){for(var r,e=Xo,t,i=1/0;e;)e._call?(i>e._time&&(i=e._time),r=e,e=e._next):(t=e._next,e._next=null,e=r?r._next=t:Xo=t);Yn=r,gu(i)}function gu(r){if(!nn){Vn&&(Vn=clearTimeout(Vn));var e=r-Ai;e>24?(r<1/0&&(Vn=setTimeout(ff,r-la.now()-Ss)),In&&(In=clearInterval(In))):(In||(Wo=la.now(),In=setInterval(j1,Up)),nn=1,jp(ff))}}function yc(r,e,t){r.prototype=e.prototype=t,t.constructor=r}function Kp(r,e){var t=Object.create(r.prototype);for(var i in e)t[i]=e[i];return t}function Da(){}var ua=.7,_o=1/ua,Zi="\\s*([+-]?\\d+)\\s*",ca="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",er="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Q1=/^#([0-9a-f]{3,8})$/,K1=new RegExp(`^rgb\\(${Zi},${Zi},${Zi}\\)$`),J1=new RegExp(`^rgb\\(${er},${er},${er}\\)$`),tb=new RegExp(`^rgba\\(${Zi},${Zi},${Zi},${ca}\\)$`),eb=new RegExp(`^rgba\\(${er},${er},${er},${ca}\\)$`),rb=new RegExp(`^hsl\\(${ca},${er},${er}\\)$`),ib=new RegExp(`^hsla\\(${ca},${er},${er},${ca}\\)$`),vf={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};yc(Da,ha,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:df,formatHex:df,formatHex8:nb,formatHsl:ab,formatRgb:pf,toString:pf});function df(){return this.rgb().formatHex()}function nb(){return this.rgb().formatHex8()}function ab(){return Jp(this).formatHsl()}function pf(){return this.rgb().formatRgb()}function ha(r){var e,t;return r=(r+"").trim().toLowerCase(),(e=Q1.exec(r))?(t=e[1].length,e=parseInt(e[1],16),t===6?gf(e):t===3?new pe(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):t===8?Ja(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):t===4?Ja(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=K1.exec(r))?new pe(e[1],e[2],e[3],1):(e=J1.exec(r))?new pe(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=tb.exec(r))?Ja(e[1],e[2],e[3],e[4]):(e=eb.exec(r))?Ja(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=rb.exec(r))?xf(e[1],e[2]/100,e[3]/100,1):(e=ib.exec(r))?xf(e[1],e[2]/100,e[3]/100,e[4]):vf.hasOwnProperty(r)?gf(vf[r]):r==="transparent"?new pe(NaN,NaN,NaN,0):null}function gf(r){return new pe(r>>16&255,r>>8&255,r&255,1)}function Ja(r,e,t,i){return i<=0&&(r=e=t=NaN),new pe(r,e,t,i)}function ob(r){return r instanceof Da||(r=ha(r)),r?(r=r.rgb(),new pe(r.r,r.g,r.b,r.opacity)):new pe}function yu(r,e,t,i){return arguments.length===1?ob(r):new pe(r,e,t,i??1)}function pe(r,e,t,i){this.r=+r,this.g=+e,this.b=+t,this.opacity=+i}yc(pe,yu,Kp(Da,{brighter(r){return r=r==null?_o:Math.pow(_o,r),new pe(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?ua:Math.pow(ua,r),new pe(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new pe(yi(this.r),yi(this.g),yi(this.b),qo(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:yf,formatHex:yf,formatHex8:sb,formatRgb:mf,toString:mf}));function yf(){return`#${hi(this.r)}${hi(this.g)}${hi(this.b)}`}function sb(){return`#${hi(this.r)}${hi(this.g)}${hi(this.b)}${hi((isNaN(this.opacity)?1:this.opacity)*255)}`}function mf(){const r=qo(this.opacity);return`${r===1?"rgb(":"rgba("}${yi(this.r)}, ${yi(this.g)}, ${yi(this.b)}${r===1?")":`, ${r})`}`}function qo(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function yi(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function hi(r){return r=yi(r),(r<16?"0":"")+r.toString(16)}function xf(r,e,t,i){return i<=0?r=e=t=NaN:t<=0||t>=1?r=e=NaN:e<=0&&(r=NaN),new Ye(r,e,t,i)}function Jp(r){if(r instanceof Ye)return new Ye(r.h,r.s,r.l,r.opacity);if(r instanceof Da||(r=ha(r)),!r)return new Ye;if(r instanceof Ye)return r;r=r.rgb();var e=r.r/255,t=r.g/255,i=r.b/255,n=Math.min(e,t,i),a=Math.max(e,t,i),o=NaN,s=a-n,l=(a+n)/2;return s?(e===a?o=(t-i)/s+(t0&&l<1?0:o,new Ye(o,s,l,r.opacity)}function lb(r,e,t,i){return arguments.length===1?Jp(r):new Ye(r,e,t,i??1)}function Ye(r,e,t,i){this.h=+r,this.s=+e,this.l=+t,this.opacity=+i}yc(Ye,lb,Kp(Da,{brighter(r){return r=r==null?_o:Math.pow(_o,r),new Ye(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?ua:Math.pow(ua,r),new Ye(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,e=isNaN(r)||isNaN(this.s)?0:this.s,t=this.l,i=t+(t<.5?t:1-t)*e,n=2*t-i;return new pe(Sl(r>=240?r-240:r+120,n,i),Sl(r,n,i),Sl(r<120?r+240:r-120,n,i),this.opacity)},clamp(){return new Ye(wf(this.h),to(this.s),to(this.l),qo(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const r=qo(this.opacity);return`${r===1?"hsl(":"hsla("}${wf(this.h)}, ${to(this.s)*100}%, ${to(this.l)*100}%${r===1?")":`, ${r})`}`}}));function wf(r){return r=(r||0)%360,r<0?r+360:r}function to(r){return Math.max(0,Math.min(1,r||0))}function Sl(r,e,t){return(r<60?e+(t-e)*r/60:r<180?t:r<240?e+(t-e)*(240-r)/60:e)*255}const mc=r=>()=>r;function ub(r,e){return function(t){return r+t*e}}function cb(r,e,t){return r=Math.pow(r,t),e=Math.pow(e,t)-r,t=1/t,function(i){return Math.pow(r+i*e,t)}}function hb(r){return(r=+r)==1?tg:function(e,t){return t-e?cb(e,t,r):mc(isNaN(e)?t:e)}}function tg(r,e){var t=e-r;return t?ub(r,t):mc(isNaN(r)?e:r)}const bf=function r(e){var t=hb(e);function i(n,a){var o=t((n=yu(n)).r,(a=yu(a)).r),s=t(n.g,a.g),l=t(n.b,a.b),u=tg(n.opacity,a.opacity);return function(c){return n.r=o(c),n.g=s(c),n.b=l(c),n.opacity=u(c),n+""}}return i.gamma=r,i}(1);function eg(r,e){e||(e=[]);var t=r?Math.min(e.length,r.length):0,i=e.slice(),n;return function(a){for(n=0;nt&&(a=e.slice(t,a),s[o]?s[o]+=a:s[++o]=a),(i=i[0])===(n=n[0])?s[o]?s[o]+=n:s[++o]=n:(s[++o]=null,l.push({i:o,x:mu(i,n)})),t=Cl.lastIndex;return tu.length?(l=_i(a[s]),u=_i(n[s]),u=Rp(u,l),u=fu(u,l),e.fromAttrs.path=u,e.toAttrs.path=l):e.pathFormatted||(l=_i(a[s]),u=_i(n[s]),u=fu(u,l),e.fromAttrs.path=u,e.toAttrs.path=l,e.pathFormatted=!0),i[s]=[];for(var c=0;c0){for(var s=e.animators.length-1;s>=0;s--){if(i=e.animators[s],i.destroyed){e.removeAnimator(s);continue}if(!i.isAnimatePaused()){n=i.get("animations");for(var l=n.length-1;l>=0;l--)a=n[l],t=Zb(i,a,o),t&&(n.splice(l,1),t=!1,a.callback&&a.callback())}n.length===0&&e.removeAnimator(s)}var u=e.canvas.get("autoDraw");u||e.canvas.draw()}})},r.prototype.addAnimator=function(e){this.animators.push(e)},r.prototype.removeAnimator=function(e){this.animators.splice(e,1)},r.prototype.isAnimating=function(){return!!this.animators.length},r.prototype.stop=function(){this.timer&&this.timer.stop()},r.prototype.stopAllAnimations=function(e){e===void 0&&(e=!0),this.animators.forEach(function(t){t.stopAnimate(e)}),this.animators=[],this.canvas.draw()},r.prototype.getTime=function(){return this.current},r}(),Kb=40,If=0,Pf=["mousedown","mouseup","dblclick","mouseout","mouseover","mousemove","mouseleave","mouseenter","touchstart","touchmove","touchend","dragenter","dragover","dragleave","drop","contextmenu","mousewheel"];function Df(r,e,t){t.name=e,t.target=r,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}function Jb(r,e,t){if(t.bubbles){var i=void 0,n=!1;if(e==="mouseenter"?(i=t.fromShape,n=!0):e==="mouseleave"&&(n=!0,i=t.toShape),r.isCanvas()&&n)return;if(i&&Gp(r,i)){t.bubbles=!1;return}t.name=e,t.currentTarget=r,t.delegateTarget=r,r.emit(e,t)}}var tS=function(){function r(e){var t=this;this.draggingShape=null,this.dragging=!1,this.currentShape=null,this.mousedownShape=null,this.mousedownPoint=null,this._eventCallback=function(i){var n=i.type;t._triggerEvent(n,i)},this._onDocumentMove=function(i){var n=t.canvas,a=n.get("el");if(a!==i.target&&(t.dragging||t.currentShape)){var o=t._getPointInfo(i);t.dragging&&t._emitEvent("drag",i,o,t.draggingShape)}},this._onDocumentMouseUp=function(i){var n=t.canvas,a=n.get("el");if(a!==i.target&&t.dragging){var o=t._getPointInfo(i);t.draggingShape&&t._emitEvent("drop",i,o,null),t._emitEvent("dragend",i,o,t.draggingShape),t._afterDrag(t.draggingShape,o,i)}},this.canvas=e.canvas}return r.prototype.init=function(){this._bindEvents()},r.prototype._bindEvents=function(){var e=this,t=this.canvas.get("el");C(Pf,function(i){t.addEventListener(i,e._eventCallback)}),document&&(document.addEventListener("mousemove",this._onDocumentMove),document.addEventListener("mouseup",this._onDocumentMouseUp))},r.prototype._clearEvents=function(){var e=this,t=this.canvas.get("el");C(Pf,function(i){t.removeEventListener(i,e._eventCallback)}),document&&(document.removeEventListener("mousemove",this._onDocumentMove),document.removeEventListener("mouseup",this._onDocumentMouseUp))},r.prototype._getEventObj=function(e,t,i,n,a,o){var s=new Pa(e,t);return s.fromShape=a,s.toShape=o,s.x=i.x,s.y=i.y,s.clientX=i.clientX,s.clientY=i.clientY,s.propagationPath.push(n),s},r.prototype._getShape=function(e,t){return this.canvas.getShape(e.x,e.y,t)},r.prototype._getPointInfo=function(e){var t=this.canvas,i=t.getClientByEvent(e),n=t.getPointByEvent(e);return{x:n.x,y:n.y,clientX:i.x,clientY:i.y}},r.prototype._triggerEvent=function(e,t){var i=this._getPointInfo(t),n=this._getShape(i,t),a=this["_on"+e],o=!1;if(a)a.call(this,i,n,t);else{var s=this.currentShape;e==="mouseenter"||e==="dragenter"||e==="mouseover"?(this._emitEvent(e,t,i,null,null,n),n&&this._emitEvent(e,t,i,n,null,n),e==="mouseenter"&&this.draggingShape&&this._emitEvent("dragenter",t,i,null)):e==="mouseleave"||e==="dragleave"||e==="mouseout"?(o=!0,s&&this._emitEvent(e,t,i,s,s,null),this._emitEvent(e,t,i,null,s,null),e==="mouseleave"&&this.draggingShape&&this._emitEvent("dragleave",t,i,null)):this._emitEvent(e,t,i,n,null,null)}if(o||(this.currentShape=n),n&&!n.get("destroyed")){var l=this.canvas,u=l.get("el");u.style.cursor=n.attr("cursor")||l.get("cursor")}},r.prototype._onmousedown=function(e,t,i){i.button===If&&(this.mousedownShape=t,this.mousedownPoint=e,this.mousedownTimeStamp=i.timeStamp),this._emitEvent("mousedown",i,e,t,null,null)},r.prototype._emitMouseoverEvents=function(e,t,i,n){var a=this.canvas.get("el");i!==n&&(i&&(this._emitEvent("mouseout",e,t,i,i,n),this._emitEvent("mouseleave",e,t,i,i,n),(!n||n.get("destroyed"))&&(a.style.cursor=this.canvas.get("cursor"))),n&&(this._emitEvent("mouseover",e,t,n,i,n),this._emitEvent("mouseenter",e,t,n,i,n)))},r.prototype._emitDragoverEvents=function(e,t,i,n,a){n?(n!==i&&(i&&this._emitEvent("dragleave",e,t,i,i,n),this._emitEvent("dragenter",e,t,n,i,n)),a||this._emitEvent("dragover",e,t,n)):i&&this._emitEvent("dragleave",e,t,i,i,n),a&&this._emitEvent("dragover",e,t,n)},r.prototype._afterDrag=function(e,t,i){e&&(e.set("capture",!0),this.draggingShape=null),this.dragging=!1;var n=this._getShape(t,i);n!==e&&this._emitMouseoverEvents(i,t,e,n),this.currentShape=n},r.prototype._onmouseup=function(e,t,i){if(i.button===If){var n=this.draggingShape;this.dragging?(n&&this._emitEvent("drop",i,e,t),this._emitEvent("dragend",i,e,n),this._afterDrag(n,e,i)):(this._emitEvent("mouseup",i,e,t),t===this.mousedownShape&&this._emitEvent("click",i,e,t),this.mousedownShape=null,this.mousedownPoint=null)}},r.prototype._ondragover=function(e,t,i){i.preventDefault();var n=this.currentShape;this._emitDragoverEvents(i,e,n,t,!0)},r.prototype._onmousemove=function(e,t,i){var n=this.canvas,a=this.currentShape,o=this.draggingShape;if(this.dragging)o&&this._emitDragoverEvents(i,e,a,t,!1),this._emitEvent("drag",i,e,o);else{var s=this.mousedownPoint;if(s){var l=this.mousedownShape,u=i.timeStamp,c=u-this.mousedownTimeStamp,h=s.clientX-e.clientX,f=s.clientY-e.clientY,v=h*h+f*f;c>120||v>Kb?l&&l.get("draggable")?(o=this.mousedownShape,o.set("capture",!1),this.draggingShape=o,this.dragging=!0,this._emitEvent("dragstart",i,e,o),this.mousedownShape=null,this.mousedownPoint=null):!l&&n.get("draggable")?(this.dragging=!0,this._emitEvent("dragstart",i,e,null),this.mousedownShape=null,this.mousedownPoint=null):(this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t)):(this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t))}else this._emitMouseoverEvents(i,e,a,t),this._emitEvent("mousemove",i,e,t)}},r.prototype._emitEvent=function(e,t,i,n,a,o){var s=this._getEventObj(e,t,i,n,a,o);if(n){s.shape=n,Df(n,e,s);for(var l=n.getParent();l;)l.emitDelegation(e,s),s.propagationStopped||Jb(l,e,s),s.propagationPath.push(l),l=l.getParent()}else{var u=this.canvas;Df(u,e,s)}},r.prototype.destroy=function(){this._clearEvents(),this.canvas=null,this.currentShape=null,this.draggingShape=null,this.mousedownPoint=null,this.mousedownShape=null,this.mousedownTimeStamp=null},r}(),Of="px",Bf=Vp(),eS=Bf&&Bf.name==="firefox",Cs=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.initContainer(),i.initDom(),i.initEvents(),i.initTimeline(),i}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.cursor="default",t.supportCSSTransform=!1,t},e.prototype.initContainer=function(){var t=this.get("container");J(t)&&(t=document.getElementById(t),this.set("container",t))},e.prototype.initDom=function(){var t=this.createDom();this.set("el",t);var i=this.get("container");i.appendChild(t),this.setDOMSize(this.get("width"),this.get("height"))},e.prototype.initEvents=function(){var t=new tS({canvas:this});t.init(),this.set("eventController",t)},e.prototype.initTimeline=function(){var t=new Qb(this);this.set("timeline",t)},e.prototype.setDOMSize=function(t,i){var n=this.get("el");of&&(n.style.width=t+Of,n.style.height=i+Of)},e.prototype.changeSize=function(t,i){this.setDOMSize(t,i),this.set("width",t),this.set("height",i),this.onCanvasChange("changeSize")},e.prototype.getRenderer=function(){return this.get("renderer")},e.prototype.getCursor=function(){return this.get("cursor")},e.prototype.setCursor=function(t){this.set("cursor",t);var i=this.get("el");of&&i&&(i.style.cursor=t)},e.prototype.getPointByEvent=function(t){var i=this.get("supportCSSTransform");if(i){if(eS&&!R(t.layerX)&&t.layerX!==t.offsetX)return{x:t.layerX,y:t.layerY};if(!R(t.offsetX))return{x:t.offsetX,y:t.offsetY}}var n=this.getClientByEvent(t),a=n.x,o=n.y;return this.getPointByClient(a,o)},e.prototype.getClientByEvent=function(t){var i=t;return t.touches&&(t.type==="touchend"?i=t.changedTouches[0]:i=t.touches[0]),{x:i.clientX,y:i.clientY}},e.prototype.getPointByClient=function(t,i){var n=this.get("el"),a=n.getBoundingClientRect();return{x:t-a.left,y:i-a.top}},e.prototype.getClientByPoint=function(t,i){var n=this.get("el"),a=n.getBoundingClientRect();return{x:t+a.left,y:i+a.top}},e.prototype.draw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.parentNode.removeChild(t)},e.prototype.clearEvents=function(){var t=this.get("eventController");t.destroy()},e.prototype.isCanvas=function(){return!0},e.prototype.getParent=function(){return null},e.prototype.destroy=function(){var t=this.get("timeline");this.get("destroyed")||(this.clear(),t&&t.stop(),this.clearEvents(),this.removeDom(),r.prototype.destroy.call(this))},e}(qp),Ms=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.isGroup=function(){return!0},e.prototype.isEntityGroup=function(){return!1},e.prototype.clone=function(){for(var t=r.prototype.clone.call(this),i=this.getChildren(),n=0;n=t&&n.minY<=i&&n.maxY>=i},e.prototype.afterAttrsChange=function(t){r.prototype.afterAttrsChange.call(this,t),this.clearCacheBBox()},e.prototype.getBBox=function(){var t=this.cfg.bbox;return t||(t=this.calculateBBox(),this.set("bbox",t)),t},e.prototype.getCanvasBBox=function(){var t=this.cfg.canvasBBox;return t||(t=this.calculateCanvasBBox(),this.set("canvasBBox",t)),t},e.prototype.applyMatrix=function(t){r.prototype.applyMatrix.call(this,t),this.set("canvasBBox",null)},e.prototype.calculateCanvasBBox=function(){var t=this.getBBox(),i=this.getTotalMatrix(),n=t.minX,a=t.minY,o=t.maxX,s=t.maxY;if(i){var l=dr(i,[t.minX,t.minY]),u=dr(i,[t.maxX,t.minY]),c=dr(i,[t.minX,t.maxY]),h=dr(i,[t.maxX,t.maxY]);n=Math.min(l[0],u[0],c[0],h[0]),o=Math.max(l[0],u[0],c[0],h[0]),a=Math.min(l[1],u[1],c[1],h[1]),s=Math.max(l[1],u[1],c[1],h[1])}var f=this.attrs;if(f.shadowColor){var v=f.shadowBlur,d=v===void 0?0:v,p=f.shadowOffsetX,g=p===void 0?0:p,y=f.shadowOffsetY,m=y===void 0?0:y,w=n-d+g,x=o+d+g,S=a-d+m,M=s+d+m;n=Math.min(n,w),o=Math.max(o,x),a=Math.min(a,S),s=Math.max(s,M)}return{x:n,y:a,minX:n,minY:a,maxX:o,maxY:s,width:o-n,height:s-a}},e.prototype.clearCacheBBox=function(){this.set("bbox",null),this.set("canvasBBox",null)},e.prototype.isClipShape=function(){return this.get("isClipShape")},e.prototype.isInShape=function(t,i){return!1},e.prototype.isOnlyHitBox=function(){return!1},e.prototype.isHit=function(t,i){var n=this.get("startArrowShape"),a=this.get("endArrowShape"),o=[t,i,1];o=this.invertFromMatrix(o);var s=o[0],l=o[1],u=this._isInBBox(s,l);return this.isOnlyHitBox()?u:!!(u&&!this.isClipped(s,l)&&(this.isInShape(s,l)||n&&n.isHit(s,l)||a&&a.isHit(s,l)))},e}(Xp),lg=new Map;function Re(r,e){lg.set(r,e)}function Fs(r){return lg.get(r)}function ug(r){var e=r.attr(),t=e.x,i=e.y,n=e.width,a=e.height;return{x:t,y:i,width:n,height:a}}function cg(r){var e=r.attr(),t=e.x,i=e.y,n=e.r;return{x:t-n,y:i-n,width:n*2,height:n*2}}function ne(r,e,t,i){var n=r-t,a=e-i;return Math.sqrt(n*n+a*a)}function Io(r,e){return Math.abs(r-e)<.001}function xn(r,e){var t=Oe(r),i=Oe(e),n=Ae(r),a=Ae(e);return{x:t,y:i,width:n-t,height:a-i}}function Ts(r){return(r+Math.PI*2)%(Math.PI*2)}const jt={box:function(r,e,t,i){return xn([r,t],[e,i])},length:function(r,e,t,i){return ne(r,e,t,i)},pointAt:function(r,e,t,i,n){return{x:(1-n)*r+n*t,y:(1-n)*e+n*i}},pointDistance:function(r,e,t,i,n,a){var o=(t-r)*(n-r)+(i-e)*(a-e);if(o<0)return ne(r,e,n,a);var s=(t-r)*(t-r)+(i-e)*(i-e);return o>s?ne(t,i,n,a):this.pointToLine(r,e,t,i,n,a)},pointToLine:function(r,e,t,i,n,a){var o=[t-r,i-e];if(O1(o,[0,0]))return Math.sqrt((n-r)*(n-r)+(a-e)*(a-e));var s=[-o[1],o[0]];$p(s,s);var l=[n-r,a-e];return Math.abs(P1(l,s))},tangentAngle:function(r,e,t,i){return Math.atan2(i-e,t-r)}};var rS=1e-4;function hg(r,e,t,i,n,a){var o,s=1/0,l=[t,i],u=20;a&&a>200&&(u=a/10);for(var c=1/u,h=c/10,f=0;f<=u;f++){var v=f*c,d=[n.apply(null,r.concat([v])),n.apply(null,e.concat([v]))],p=ne(l[0],l[1],d[0],d[1]);p=0&&p=0?[n]:[]}function zf(r,e,t,i){return 2*(1-i)*(e-r)+2*i*(t-e)}function fg(r,e,t,i,n,a,o){var s=Pr(r,t,n,o),l=Pr(e,i,a,o),u=jt.pointAt(r,e,t,i,o),c=jt.pointAt(t,i,n,a,o);return[[r,e,u.x,u.y,s,l],[s,l,c.x,c.y,n,a]]}function bu(r,e,t,i,n,a,o){if(o===0)return(ne(r,e,t,i)+ne(t,i,n,a)+ne(r,e,n,a))/2;var s=fg(r,e,t,i,n,a,.5),l=s[0],u=s[1];return l.push(o-1),u.push(o-1),bu.apply(null,l)+bu.apply(null,u)}const vg={box:function(r,e,t,i,n,a){var o=Rf(r,t,n)[0],s=Rf(e,i,a)[0],l=[r,n],u=[e,a];return o!==void 0&&l.push(Pr(r,t,n,o)),s!==void 0&&u.push(Pr(e,i,a,s)),xn(l,u)},length:function(r,e,t,i,n,a){return bu(r,e,t,i,n,a,3)},nearestPoint:function(r,e,t,i,n,a,o,s){return hg([r,t,n],[e,i,a],o,s,Pr)},pointDistance:function(r,e,t,i,n,a,o,s){var l=this.nearestPoint(r,e,t,i,n,a,o,s);return ne(l.x,l.y,o,s)},interpolationAt:Pr,pointAt:function(r,e,t,i,n,a,o){return{x:Pr(r,t,n,o),y:Pr(e,i,a,o)}},divide:function(r,e,t,i,n,a,o){return fg(r,e,t,i,n,a,o)},tangentAngle:function(r,e,t,i,n,a,o){var s=zf(r,t,n,o),l=zf(e,i,a,o),u=Math.atan2(l,s);return Ts(u)}};function Dr(r,e,t,i,n){var a=1-n;return a*a*a*r+3*e*n*a*a+3*t*n*n*a+i*n*n*n}function Nf(r,e,t,i,n){var a=1-n;return 3*(a*a*(e-r)+2*a*n*(t-e)+n*n*(i-t))}function Ml(r,e,t,i){var n=-3*r+9*e-9*t+3*i,a=6*r-12*e+6*t,o=3*e-3*r,s=[],l,u,c;if(Io(n,0))Io(a,0)||(l=-o/a,l>=0&&l<=1&&s.push(l));else{var h=a*a-4*n*o;Io(h,0)?s.push(-a/(2*n)):h>0&&(c=Math.sqrt(h),l=(-a+c)/(2*n),u=(-a-c)/(2*n),l>=0&&l<=1&&s.push(l),u>=0&&u<=1&&s.push(u))}return s}function dg(r,e,t,i,n,a,o,s,l){var u=Dr(r,t,n,o,l),c=Dr(e,i,a,s,l),h=jt.pointAt(r,e,t,i,l),f=jt.pointAt(t,i,n,a,l),v=jt.pointAt(n,a,o,s,l),d=jt.pointAt(h.x,h.y,f.x,f.y,l),p=jt.pointAt(f.x,f.y,v.x,v.y,l);return[[r,e,h.x,h.y,d.x,d.y,u,c],[u,c,p.x,p.y,v.x,v.y,o,s]]}function Su(r,e,t,i,n,a,o,s,l){if(l===0)return iS([r,t,n,o],[e,i,a,s]);var u=dg(r,e,t,i,n,a,o,s,.5),c=u[0],h=u[1];return c.push(l-1),h.push(l-1),Su.apply(null,c)+Su.apply(null,h)}const Un={extrema:Ml,box:function(r,e,t,i,n,a,o,s){for(var l=[r,o],u=[e,s],c=Ml(r,t,n,o),h=Ml(e,i,a,s),f=0;f0?t:t*-1}const nS={box:function(r,e,t,i){return{x:r-t,y:e-i,width:t*2,height:i*2}},length:function(r,e,t,i){return Math.PI*(3*(t+i)-Math.sqrt((3*t+i)*(t+3*i)))},nearestPoint:function(r,e,t,i,n,a){var o=t,s=i;if(o===0||s===0)return{x:r,y:e};for(var l=n-r,u=a-e,c=Math.abs(l),h=Math.abs(u),f=o*o,v=s*s,d=Math.PI/4,p,g,y=0;y<4;y++){p=o*Math.cos(d),g=s*Math.sin(d);var m=(f-v)*Math.pow(Math.cos(d),3)/o,w=(v-f)*Math.pow(Math.sin(d),3)/s,x=p-m,S=g-w,M=c-m,F=h-w,T=Math.hypot(S,x),k=Math.hypot(F,M),E=T*Math.asin((x*F-S*M)/(T*k)),I=E/Math.sqrt(f+v-p*p-g*g);d+=I,d=Math.min(Math.PI/2,Math.max(0,d))}return{x:r+Gf(p,l),y:e+Gf(g,u)}},pointDistance:function(r,e,t,i,n,a){var o=this.nearestPoint(r,e,t,i,n,a);return ne(o.x,o.y,n,a)},pointAt:function(r,e,t,i,n){var a=2*Math.PI*n;return{x:r+t*Math.cos(a),y:e+i*Math.sin(a)}},tangentAngle:function(r,e,t,i,n){var a=2*Math.PI*n,o=Math.atan2(i*Math.cos(a),-t*Math.sin(a));return Ts(o)}};function aS(r,e,t,i,n,a,o,s){return-1*t*Math.cos(n)*Math.sin(s)-i*Math.sin(n)*Math.cos(s)}function oS(r,e,t,i,n,a,o,s){return-1*t*Math.sin(n)*Math.sin(s)+i*Math.cos(n)*Math.cos(s)}function sS(r,e,t){return Math.atan(-e/r*Math.tan(t))}function lS(r,e,t){return Math.atan(e/(r*Math.tan(t)))}function Vf(r,e,t,i,n,a){return t*Math.cos(n)*Math.cos(a)-i*Math.sin(n)*Math.sin(a)+r}function Yf(r,e,t,i,n,a){return t*Math.sin(n)*Math.cos(a)+i*Math.cos(n)*Math.sin(a)+e}function uS(r,e,t,i){var n=Math.atan2(i*r,t*e);return(n+Math.PI*2)%(Math.PI*2)}function $f(r,e,t){return{x:r*Math.cos(t),y:e*Math.sin(t)}}function Hf(r,e,t){var i=Math.cos(t),n=Math.sin(t);return[r*i-e*n,r*n+e*i]}const cS={box:function(r,e,t,i,n,a,o){for(var s=sS(t,i,n),l=1/0,u=-1/0,c=[a,o],h=-Math.PI*2;h<=Math.PI*2;h+=Math.PI){var f=s+h;au&&(u=v)}for(var d=lS(t,i,n),p=1/0,g=-1/0,y=[a,o],h=-Math.PI*2;h<=Math.PI*2;h+=Math.PI){var m=d+h;ag&&(g=w)}return{x:l,y:p,width:u-l,height:g-p}},length:function(r,e,t,i,n,a,o){},nearestPoint:function(r,e,t,i,n,a,o,s,l){var u=Hf(s-r,l-e,-n),c=u[0],h=u[1],f=nS.nearestPoint(0,0,t,i,c,h),v=uS(t,i,f.x,f.y);vo&&(f=$f(t,i,o));var d=Hf(f.x,f.y,n);return{x:d[0]+r,y:d[1]+e}},pointDistance:function(r,e,t,i,n,a,o,s,l){var u=this.nearestPoint(r,e,t,i,s,l);return ne(u.x,u.y,s,l)},pointAt:function(r,e,t,i,n,a,o,s){var l=(o-a)*s+a;return{x:Vf(r,e,t,i,n,l),y:Yf(r,e,t,i,n,l)}},tangentAngle:function(r,e,t,i,n,a,o,s){var l=(o-a)*s+a,u=aS(r,e,t,i,n,a,o,l),c=oS(r,e,t,i,n,a,o,l);return Ts(Math.atan2(c,u))}};function pg(r){for(var e=0,t=[],i=0;i1||e<0||r.length<2)return null;var t=pg(r),i=t.segments,n=t.totalLength;if(n===0)return{x:r[0][0],y:r[0][1]};for(var a=0,o=null,s=0;s=a&&e<=a+h){var f=(e-a)/h;o=jt.pointAt(u[0],u[1],c[0],c[1],f);break}a+=h}return o}function vS(r,e){if(e>1||e<0||r.length<2)return 0;for(var t=pg(r),i=t.segments,n=t.totalLength,a=0,o=0,s=0;s=a&&e<=a+h){o=Math.atan2(c[1]-u[1],c[0]-u[0]);break}a+=h}return o}function dS(r,e,t){for(var i=1/0,n=0;n1){var n=yS(e,t);return e*i+n*(i-1)}return e}function yS(r,e){return e?e-r:r*.14}function mS(r,e){var t=Es(),i=0;if(R(r)||r==="")return i;if(t.save(),t.font=e,J(r)&&r.includes(` +`)){var n=r.split(` +`);C(n,function(a){var o=t.measureText(a).width;i1){var n=t[0].charAt(0);t.splice(1,0,t[0].substr(1)),t[0]=n}C(t,function(a,o){isNaN(a)||(t[o]=+a)}),e[i]=t}),e}function CS(r,e,t,i){var n=[],a=!!i,o,s,l,u,c,h,f;if(a){l=i[0],u=i[1];for(var v=0,d=r.length;v2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}var TS=/[a-z]/;function Wf(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function mg(r){var e=yg(r);if(!e||!e.length)return[["M",0,0]];for(var t=!1,i=0;i=0){t=!0;break}}if(!t)return e;var a=[],o=0,s=0,l=0,u=0,c=0,h=e[0];(h[0]==="M"||h[0]==="m")&&(o=+h[1],s=+h[2],l=o,u=s,c++,a[0]=["M",o,s]);for(var i=c,f=e.length;i1&&(t*=Math.sqrt(v),i*=Math.sqrt(v));var d=t*t*(f*f)+i*i*(h*h),p=d?Math.sqrt((t*t*(i*i)-d)/d):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*t*f/i:0,y=t?p*-i*h/t:0,m=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,w=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,x=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=_f([1,0],x),F=_f(x,S);return Cu(x,S)<=-1&&(F=Math.PI),Cu(x,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:m,cy:w,rx:Mu(r,[u,c])?0:t,ry:Mu(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}function qf(r,e){return[e[0]+(e[0]-r[0]),e[1]+(e[1]-r[1])]}function xg(r){r=SS(r);for(var e=[],t=null,i=null,n=null,a=0,o=r.length,s=0;s=e&&r<=t};function kS(r,e,t,i){var n=.001,a={x:t.x-r.x,y:t.y-r.y},o={x:e.x-r.x,y:e.y-r.y},s={x:i.x-t.x,y:i.y-t.y},l=o.x*s.y-o.y*s.x,u=l*l,c=o.x*o.x+o.y*o.y,h=s.x*s.x+s.y*s.y,f=null;if(u>n*c*h){var v=(a.x*s.y-a.y*s.x)/l,d=(a.x*o.y-a.y*o.x)/l;Uf(v,0,1)&&Uf(d,0,1)&&(f={x:r.x+v*o.x,y:r.y+v*o.y})}return f}var LS=1e-6;function Fl(r){return Math.abs(r)0!=Fl(s[1]-t)>0&&Fl(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function Zf(r){for(var e=[],t=r.length,i=0;i1){var o=r[0],s=r[t-1];e.push({from:{x:s[0],y:s[1]},to:{x:o[0],y:o[1]}})}return e}function PS(r,e){var t=!1;return C(r,function(i){if(kS(i.from,i.to,e.from,e.to))return t=!0,!1}),t}function Qf(r){var e=r.map(function(i){return i[0]}),t=r.map(function(i){return i[1]});return{minX:Math.min.apply(null,e),maxX:Math.max.apply(null,e),minY:Math.min.apply(null,t),maxY:Math.max.apply(null,t)}}function DS(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxYMath.PI/2?Math.PI-u:u,c=c>Math.PI/2?Math.PI-c:c;var h={xExtra:Math.cos(l/2-u)*(e/2*(1/Math.sin(l/2)))-e/2||0,yExtra:Math.cos(c-l/2)*(e/2*(1/Math.sin(l/2)))-e/2||0};return h}function RS(r){var e=r.attr(),t=e.path,i=e.stroke,n=i?e.lineWidth:0,a=r.get("segments")||xg(t),o=BS(a,n),s=o.x,l=o.y,u=o.width,c=o.height,h={minX:s,minY:l,maxX:s+u,maxY:l+c};return h=Cc(r,h),{x:h.minX,y:h.minY,width:h.maxX-h.minX,height:h.maxY-h.minY}}function zS(r){var e=r.attr(),t=e.x1,i=e.y1,n=e.x2,a=e.y2,o=Math.min(t,n),s=Math.max(t,n),l=Math.min(i,a),u=Math.max(i,a),c={minX:o,maxX:s,minY:l,maxY:u};return c=Cc(r,c),{x:c.minX,y:c.minY,width:c.maxX-c.minX,height:c.maxY-c.minY}}function NS(r){var e=r.attr(),t=e.x,i=e.y,n=e.rx,a=e.ry;return{x:t-n,y:i-a,width:n*2,height:a*2}}Re("rect",ug);Re("image",ug);Re("circle",cg);Re("marker",cg);Re("polyline",pS);Re("polygon",gS);Re("text",xS);Re("path",RS);Re("line",zS);Re("ellipse",NS);var Kf=0,GS=1/2,VS=1/2,YS=.05,Is=function(){function r(e){var t=e.xField,i=e.yField,n=e.adjustNames,a=n===void 0?["x","y"]:n,o=e.dimValuesMap;this.adjustNames=a,this.xField=t,this.yField=i,this.dimValuesMap=o}return r.prototype.isAdjust=function(e){return this.adjustNames.indexOf(e)>=0},r.prototype.getAdjustRange=function(e,t,i){var n=this.yField,a=i.indexOf(t),o=i.length,s,l;return!n&&this.isAdjust("y")?(s=0,l=1):o>1?(s=i[a===0?0:a-1],l=i[a===o-1?o-1:a+1],a!==0?s+=(t-s)/2:s-=(l-t)/2,a!==o-1?l-=(l-t)/2:l+=(t-i[o-2])/2):(s=t===0?0:t-.5,l=t===0?1:t+.5),{pre:s,next:l}},r.prototype.adjustData=function(e,t){var i=this,n=this.getDimValues(t);C(e,function(a,o){C(n,function(s,l){i.adjustDim(l,s,a,o)})})},r.prototype.groupData=function(e,t){return C(e,function(i){i[t]===void 0&&(i[t]=Kf)}),Se(e,t)},r.prototype.adjustDim=function(e,t,i,n){},r.prototype.getDimValues=function(e){var t=this,i=t.xField,n=t.yField,a=xt({},this.dimValuesMap),o=[];if(i&&this.isAdjust("x")&&o.push(i),n&&this.isAdjust("y")&&o.push(n),o.forEach(function(l){a&&a[l]||(a[l]=Xe(e,l).sort(function(u,c){return u-c}))}),!n&&this.isAdjust("y")){var s="y";a[s]=[Kf,1]}return a},r}(),wg={},bg=function(r){return wg[r.toLowerCase()]},Ps=function(r,e){if(bg(r))throw new Error("Adjust type '"+r+"' existed.");wg[r.toLowerCase()]=e};/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var Au=function(r,e){return Au=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n])},Au(r,e)};function Ds(r,e){Au(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Je=function(){return Je=Object.assign||function(e){for(var t,i=1,n=arguments.length;i=0){var d=this.getIntervalOnlyOffset(n,i);v=c+d}else if(!R(u)&&R(l)&&u>=0){var d=this.getDodgeOnlyOffset(n,i);v=c+d}else if(!R(l)&&!R(u)&&l>=0&&u>=0){var d=this.getIntervalAndDodgeOffset(n,i);v=c+d}else{var p=f*o/n,g=s*p,d=1/2*(f-n*p-(n-1)*g)+((i+1)*p+i*g)-1/2*p-1/2*f;v=(c+h)/2+d}return v},e.prototype.getIntervalOnlyOffset=function(t,i){var n=this,a=n.defaultSize,o=n.intervalPadding,s=n.xDimensionLegenth,l=n.groupNum,u=n.dodgeRatio,c=n.maxColumnWidth,h=n.minColumnWidth,f=n.columnWidthRatio,v=o/s,d=(1-(l-1)*v)/l*u/(t-1),p=((1-v*(l-1))/l-d*(t-1))/t;if(p=R(f)?p:1/l/t*f,!R(c)){var g=c/s;p=Math.min(p,g)}if(!R(h)){var y=h/s;p=Math.max(p,y)}p=a?a/s:p,d=((1-(l-1)*v)/l-t*p)/(t-1);var m=((1/2+i)*p+i*d+1/2*v)*l-v/2;return m},e.prototype.getDodgeOnlyOffset=function(t,i){var n=this,a=n.defaultSize,o=n.dodgePadding,s=n.xDimensionLegenth,l=n.groupNum,u=n.marginRatio,c=n.maxColumnWidth,h=n.minColumnWidth,f=n.columnWidthRatio,v=o/s,d=1*u/(l-1),p=((1-d*(l-1))/l-v*(t-1))/t;if(p=f?1/l/t*f:p,!R(c)){var g=c/s;p=Math.min(p,g)}if(!R(h)){var y=h/s;p=Math.max(p,y)}p=a?a/s:p,d=(1-(p*t+v*(t-1))*l)/(l-1);var m=((1/2+i)*p+i*v+1/2*d)*l-d/2;return m},e.prototype.getIntervalAndDodgeOffset=function(t,i){var n=this,a=n.intervalPadding,o=n.dodgePadding,s=n.xDimensionLegenth,l=n.groupNum,u=a/s,c=o/s,h=((1-u*(l-1))/l-c*(t-1))/t,f=((1/2+i)*h+i*c+1/2*u)*l-u/2;return f},e.prototype.getDistribution=function(t){var i=this.adjustDataArray,n=this.cacheMap,a=n[t];return a||(a={},C(i,function(o,s){var l=Xe(o,t);l.length||l.push(0),C(l,function(u){a[u]||(a[u]=[]),a[u].push(s)})}),n[t]=a),a},e}(Is);function HS(r,e){return(e-r)*Math.random()+r}var XS=function(r){Ds(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var i=ae(t),n=Me(i);return this.adjustData(i,n),i},e.prototype.adjustDim=function(t,i,n){var a=this,o=this.groupData(n,t);return C(o,function(s,l){return a.adjustGroup(s,t,parseFloat(l),i)})},e.prototype.getAdjustOffset=function(t){var i=t.pre,n=t.next,a=(n-i)*YS;return HS(i+a,n-a)},e.prototype.adjustGroup=function(t,i,n,a){var o=this,s=this.getAdjustRange(i,n,a);return C(t,function(l){l[i]=o.getAdjustOffset(s)}),t},e}(Is),Tl=Yw,WS=function(r){Ds(e,r);function e(t){var i=r.call(this,t)||this,n=t.adjustNames,a=n===void 0?["y"]:n,o=t.height,s=o===void 0?NaN:o,l=t.size,u=l===void 0?10:l,c=t.reverseOrder,h=c===void 0?!1:c;return i.adjustNames=a,i.height=s,i.size=u,i.reverseOrder=h,i}return e.prototype.process=function(t){var i=this,n=i.yField,a=i.reverseOrder,o=n?this.processStack(t):this.processOneDimStack(t);return a?this.reverse(o):o},e.prototype.reverse=function(t){return t.slice(0).reverse()},e.prototype.processStack=function(t){var i=this,n=i.xField,a=i.yField,o=i.reverseOrder,s=o?this.reverse(t):t,l=new Tl,u=new Tl;return s.map(function(c){return c.map(function(h){var f,v=A(h,n,0),d=A(h,[a]),p=v.toString();if(d=z(d)?d[1]:d,!R(d)){var g=d>=0?l:u;g.has(p)||g.set(p,0);var y=g.get(p),m=d+y;return g.set(p,m),Je(Je({},h),(f={},f[a]=[y,m],f))}return h})})},e.prototype.processOneDimStack=function(t){var i=this,n=this,a=n.xField,o=n.height,s=n.reverseOrder,l="y",u=s?this.reverse(t):t,c=new Tl;return u.map(function(h){return h.map(function(f){var v,d=i.size,p=f[a],g=d*2/o;c.has(p)||c.set(p,g/2);var y=c.get(p);return c.set(p,y+g),Je(Je({},f),(v={},v[l]=y,v))})})},e}(Is),_S=function(r){Ds(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.process=function(t){var i=Me(t),n=this,a=n.xField,o=n.yField,s=this.getXValuesMaxMap(i),l=Math.max.apply(Math,Object.keys(s).map(function(u){return s[u]}));return Ft(t,function(u){return Ft(u,function(c){var h,f,v=c[o],d=c[a];if(z(v)){var p=(l-s[d])/2;return Je(Je({},c),(h={},h[o]=Ft(v,function(y){return p+y}),h))}var g=(l-v)/2;return Je(Je({},c),(f={},f[o]=[g,v+g],f))})})},e.prototype.getXValuesMaxMap=function(t){var i=this,n=this,a=n.xField,o=n.yField,s=Se(t,function(l){return l[a]});return zw(s,function(l){return i.getDimMaxValue(l,o)})},e.prototype.getDimMaxValue=function(t,i){var n=Ft(t,function(o){return A(o,i,[])}),a=Me(n);return Math.max.apply(Math,a)},e}(Is);Ps("Dodge",$S);Ps("Jitter",XS);Ps("Stack",WS);Ps("Symmetric",_S);var Jf=function(r,e){return J(e)?e:r.invert(r.scale(e))},Oa=function(){function r(e){this.names=[],this.scales=[],this.linear=!1,this.values=[],this.callback=function(){return[]},this._parseCfg(e)}return r.prototype.mapping=function(){for(var e=this,t=[],i=0;i1?1:Number(e),i=r.length-1,n=Math.floor(i*t),a=i*t-n,o=r[n],s=n===i?o:r[n+1];return Sg([El(o,s,a,0),El(o,s,a,1),El(o,s,a,2)])},no,Mg=function(r){if(r[0]==="#"&&r.length===7)return r;no||(no=KS()),no.style.color=r;var e=document.defaultView.getComputedStyle(no,"").getPropertyValue("color"),t=qS.exec(e),i=t[1].split(/\s*,\s*/).map(function(n){return Number(n)});return e=Sg(i),e},tC=function(r){var e=J(r)?r.split("-"):r,t=Ft(e,function(i){return Cg(i.indexOf("#")===-1?Mg(i):i)});return function(i){return JS(t,i)}},eC=function(r){if(QS(r)){var e,t=void 0;if(r[0]==="l"){var i=US.exec(r),n=+i[1]+90;t=i[2],e="linear-gradient("+n+"deg, "}else if(r[0]==="r"){e="radial-gradient(";var i=jS.exec(r);t=i[4]}var a=t.match(ZS);return C(a,function(o,s){var l=o.split(":");e+=l[1]+" "+l[0]*100+"%",s!==a.length-1&&(e+=", ")}),e+=")",e}return r};const Yr={rgb2arr:Cg,gradient:tC,toRGB:mn(Mg),toCSSGradient:eC};var rC=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;return i.type="color",i.names=["color"],J(i.values)&&(i.linear=!0),i.gradient=Yr.gradient(i.values),i}return e.prototype.getLinearValue=function(t){return this.gradient(t)},e}(Oa),iC=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;return i.type="opacity",i.names=["opacity"],i}return e}(Oa),nC=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;return i.names=["x","y"],i.type="position",i}return e.prototype.mapping=function(t,i){var n=this.scales,a=n[0],o=n[1];return R(t)||R(i)?[]:[z(t)?t.map(function(s){return a.scale(s)}):a.scale(t),z(i)?i.map(function(s){return o.scale(s)}):o.scale(i)]},e}(Oa),aC=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;return i.type="shape",i.names=["shape"],i}return e.prototype.getLinearValue=function(t){var i=Math.round((this.values.length-1)*t);return this.values[i]},e}(Oa),oC=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;return i.type="size",i.names=["size"],i}return e}(Oa),Ag={};function sC(r){return Ag[r]}function ar(r,e){Ag[r]=e}var Mc=function(){function r(e){this.type="base",this.isCategory=!1,this.isLinear=!1,this.isContinuous=!1,this.isIdentity=!1,this.values=[],this.range=[0,1],this.ticks=[],this.__cfg__=e,this.initCfg(),this.init()}return r.prototype.translate=function(e){return e},r.prototype.change=function(e){xt(this.__cfg__,e),this.init()},r.prototype.clone=function(){return this.constructor(this.__cfg__)},r.prototype.getTicks=function(){var e=this;return Ft(this.ticks,function(t,i){return yt(t)?t:{text:e.getText(t,i),tickValue:t,value:e.scale(t)}})},r.prototype.getText=function(e,t){var i=this.formatter,n=i?i(e,t):e;return R(n)||!W(n.toString)?"":n.toString()},r.prototype.getConfig=function(e){return this.__cfg__[e]},r.prototype.init=function(){xt(this,this.__cfg__),this.setDomain(),ge(this.getConfig("ticks"))&&(this.ticks=this.calculateTicks())},r.prototype.initCfg=function(){},r.prototype.setDomain=function(){},r.prototype.calculateTicks=function(){var e=this.tickMethod,t=[];if(J(e)){var i=sC(e);if(!i)throw new Error("There is no method to to calculate ticks!");t=i(this)}else W(e)&&(t=e(this));return t},r.prototype.rangeMin=function(){return this.range[0]},r.prototype.rangeMax=function(){return this.range[1]},r.prototype.calcPercent=function(e,t,i){return nt(e)?(e-t)/(i-t):NaN},r.prototype.calcValue=function(e,t,i){return t+e*(i-t)},r}(),Bs=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="cat",t.isCategory=!0,t}return e.prototype.buildIndexMap=function(){if(!this.translateIndexMap){this.translateIndexMap=new Map;for(var t=0;tthis.max?NaN:this.values[a]},e.prototype.getText=function(t){for(var i=[],n=1;n1?t-1:t}this.translateIndexMap&&(this.translateIndexMap=void 0)},e}(Mc),Fg=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,Ir="\\d\\d?",Er="\\d\\d",lC="\\d{3}",uC="\\d{4}",Zn="[^\\s]+",Tg=/\[([^]*?)\]/gm;function Eg(r,e){for(var t=[],i=0,n=r.length;i-1?n:null}};function Wr(r){for(var e=[],t=1;t3?0:(r-r%10!==10?1:0)*r%10]}},jo=Wr({},Ac),Ig=function(r){return jo=Wr(jo,r)},rv=function(r){return r.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},le=function(r,e){for(e===void 0&&(e=2),r=String(r);r.length0?"-":"+")+le(Math.floor(Math.abs(e)/60)*100+Math.abs(e)%60,4)},Z:function(r){var e=r.getTimezoneOffset();return(e>0?"-":"+")+le(Math.floor(Math.abs(e)/60),2)+":"+le(Math.abs(e)%60,2)}},iv=function(r){return+r-1},nv=[null,Ir],av=[null,Zn],ov=["isPm",Zn,function(r,e){var t=r.toLowerCase();return t===e.amPm[0]?0:t===e.amPm[1]?1:null}],sv=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(r){var e=(r+"").match(/([+-]|\d\d)/gi);if(e){var t=+e[1]*60+parseInt(e[2],10);return e[0]==="+"?t:-t}return 0}],vC={D:["day",Ir],DD:["day",Er],Do:["day",Ir+Zn,function(r){return parseInt(r,10)}],M:["month",Ir,iv],MM:["month",Er,iv],YY:["year",Er,function(r){var e=new Date,t=+(""+e.getFullYear()).substr(0,2);return+(""+(+r>68?t-1:t)+r)}],h:["hour",Ir,void 0,"isPm"],hh:["hour",Er,void 0,"isPm"],H:["hour",Ir],HH:["hour",Er],m:["minute",Ir],mm:["minute",Er],s:["second",Ir],ss:["second",Er],YYYY:["year",uC],S:["millisecond","\\d",function(r){return+r*100}],SS:["millisecond",Er,function(r){return+r*10}],SSS:["millisecond",lC],d:nv,dd:nv,ddd:av,dddd:av,MMM:["month",Zn,ev("monthNamesShort")],MMMM:["month",Zn,ev("monthNames")],a:ov,A:ov,ZZ:sv,Z:sv},Zo={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},Pg=function(r){return Wr(Zo,r)},Dg=function(r,e,t){if(e===void 0&&(e=Zo.default),t===void 0&&(t={}),typeof r=="number"&&(r=new Date(r)),Object.prototype.toString.call(r)!=="[object Date]"||isNaN(r.getTime()))throw new Error("Invalid Date pass to format");e=Zo[e]||e;var i=[];e=e.replace(Tg,function(a,o){return i.push(o),"@@@"});var n=Wr(Wr({},jo),t);return e=e.replace(Fg,function(a){return fC[a](r,n)}),e.replace(/@@@/g,function(){return i.shift()})};function Og(r,e,t){if(t===void 0&&(t={}),typeof e!="string")throw new Error("Invalid format in fecha parse");if(e=Zo[e]||e,r.length>1e3)return null;var i=new Date,n={year:i.getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},a=[],o=[],s=e.replace(Tg,function(x,S){return o.push(rv(S)),"@@@"}),l={},u={};s=rv(s).replace(Fg,function(x){var S=vC[x],M=S[0],F=S[1],T=S[3];if(l[M])throw new Error("Invalid format. "+M+" specified twice in format");return l[M]=!0,T&&(u[T]=!0),a.push(S),"("+F+")"}),Object.keys(u).forEach(function(x){if(!l[x])throw new Error("Invalid format. "+x+" is required in specified format")}),s=s.replace(/@@@/g,function(){return o.shift()});var c=r.match(new RegExp(s,"i"));if(!c)return null;for(var h=Wr(Wr({},jo),t),f=1;f11||n.month<0||n.day>31||n.day<1||n.hour>23||n.hour<0||n.minute>59||n.minute<0||n.second>59||n.second<0)return null;return y}var Bg={format:Dg,parse:Og,defaultI18n:Ac,setGlobalDateI18n:Ig,setGlobalDateMasks:Pg};const dC=Object.freeze(Object.defineProperty({__proto__:null,assign:Wr,default:Bg,defaultI18n:Ac,format:Dg,parse:Og,setGlobalDateI18n:Ig,setGlobalDateMasks:Pg},Symbol.toStringTag,{value:"Module"}));function pC(r){return function(e,t,i,n){for(var a=R(i)?0:i,o=R(n)?e.length:n;a>>1;r(e[s])>t?o=s:a=s+1}return a}}var lv="format";function Rg(r,e){var t=dC[lv]||Bg[lv];return t(r,e)}function Qo(r){return J(r)&&(r.indexOf("T")>0?r=new Date(r).getTime():r=new Date(r.replace(/-/gi,"/")).getTime()),Ap(r)&&(r=r.getTime()),r}var Ve=1e3,mi=60*Ve,xi=60*mi,pr=24*xi,Qn=pr*31,uv=pr*365,Pn=[["HH:mm:ss",Ve],["HH:mm:ss",Ve*10],["HH:mm:ss",Ve*30],["HH:mm",mi],["HH:mm",mi*10],["HH:mm",mi*30],["HH",xi],["HH",xi*6],["HH",xi*12],["YYYY-MM-DD",pr],["YYYY-MM-DD",pr*4],["YYYY-WW",pr*7],["YYYY-MM",Qn],["YYYY-MM",Qn*4],["YYYY-MM",Qn*6],["YYYY",pr*380]];function gC(r,e,t){var i=(e-r)/t,n=pC(function(o){return o[1]})(Pn,i)-1,a=Pn[n];return n<0?a=Pn[0]:n>=Pn.length&&(a=Gt(Pn)),a}var yC=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="timeCat",t}return e.prototype.translate=function(t){t=Qo(t);var i=this.values.indexOf(t);return i===-1&&(nt(t)&&t-1){var a=this.values[n],o=this.formatter;return a=o?o(a,i):Rg(a,this.mask),a}return t},e.prototype.initCfg=function(){this.tickMethod="time-cat",this.mask="YYYY-MM-DD",this.tickCount=7},e.prototype.setDomain=function(){var t=this.values;C(t,function(i,n){t[n]=Qo(i)}),t.sort(function(i,n){return i-n}),r.prototype.setDomain.call(this)},e}(Bs),Rs=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.isContinuous=!0,t}return e.prototype.scale=function(t){if(R(t))return NaN;var i=this.rangeMin(),n=this.rangeMax(),a=this.max,o=this.min;if(a===o)return i;var s=this.getScalePercent(t);return i+s*(n-i)},e.prototype.init=function(){r.prototype.init.call(this);var t=this.ticks,i=be(t),n=Gt(t);ithis.max&&(this.max=n),R(this.minLimit)||(this.min=i),R(this.maxLimit)||(this.max=n)},e.prototype.setDomain=function(){var t=bp(this.values),i=t.min,n=t.max;R(this.min)&&(this.min=i),R(this.max)&&(this.max=n),this.min>this.max&&(this.min=i,this.max=n)},e.prototype.calculateTicks=function(){var t=this,i=r.prototype.calculateTicks.call(this);return this.nice||(i=Qt(i,function(n){return n>=t.min&&n<=t.max})),i},e.prototype.getScalePercent=function(t){var i=this.max,n=this.min;return(t-n)/(i-n)},e.prototype.getInvertPercent=function(t){return(t-this.rangeMin())/(this.rangeMax()-this.rangeMin())},e}(Mc),zs=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="linear",t.isLinear=!0,t}return e.prototype.invert=function(t){var i=this.getInvertPercent(t);return this.min+i*(this.max-this.min)},e.prototype.initCfg=function(){this.tickMethod="wilkinson-extended",this.nice=!1},e}(Rs);function Or(r,e){var t=Math.E,i;return e>=0?i=Math.pow(t,Math.log(e)/r):i=Math.pow(t,Math.log(-e)/r)*-1,i}function Ie(r,e){return r===1?1:Math.log(e)/Math.log(r)}function zg(r,e,t){R(t)&&(t=Math.max.apply(null,r));var i=t;return C(r,function(n){n>0&&n1&&(i=1),i}var mC=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="log",t}return e.prototype.invert=function(t){var i=this.base,n=Ie(i,this.max),a=this.rangeMin(),o=this.rangeMax()-a,s,l=this.positiveMin;if(l){if(t===0)return 0;s=Ie(i,l/i);var u=1/(n-s)*o;if(t=0?1:-1;return Math.pow(s,n)*l},e.prototype.initCfg=function(){this.tickMethod="pow",this.exponent=2,this.tickCount=5,this.nice=!0},e.prototype.getScalePercent=function(t){var i=this.max,n=this.min;if(i===n)return 0;var a=this.exponent,o=(Or(a,t)-Or(a,n))/(Or(a,i)-Or(a,n));return o},e}(Rs),wC=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="time",t}return e.prototype.getText=function(t,i){var n=this.translate(t),a=this.formatter;return a?a(n,i):Rg(n,this.mask)},e.prototype.scale=function(t){var i=t;return(J(i)||Ap(i))&&(i=this.translate(i)),r.prototype.scale.call(this,i)},e.prototype.translate=function(t){return Qo(t)},e.prototype.initCfg=function(){this.tickMethod="time-pretty",this.mask="YYYY-MM-DD",this.tickCount=7,this.nice=!1},e.prototype.setDomain=function(){var t=this.values,i=this.getConfig("min"),n=this.getConfig("max");if((!R(i)||!nt(i))&&(this.min=this.translate(this.min)),(!R(n)||!nt(n))&&(this.max=this.translate(this.max)),t&&t.length){var a=[],o=1/0,s=o,l=0;C(t,function(u){var c=Qo(u);if(isNaN(c))throw new TypeError("Invalid Time: "+u+" in time scale!");o>c?(s=o,o=c):s>c&&(s=c),l1&&(this.minTickInterval=s-o),R(i)&&(this.min=o),R(n)&&(this.max=l)}},e}(zs),Ng=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantize",t}return e.prototype.invert=function(t){var i=this.ticks,n=i.length,a=this.getInvertPercent(t),o=Math.floor(a*(n-1));if(o>=n-1)return Gt(i);if(o<0)return be(i);var s=i[o],l=i[o+1],u=o/(n-1),c=(o+1)/(n-1);return s+(a-u)/(c-u)*(l-s)},e.prototype.initCfg=function(){this.tickMethod="r-pretty",this.tickCount=5,this.nice=!0},e.prototype.calculateTicks=function(){var t=r.prototype.calculateTicks.call(this);return this.nice||(Gt(t)!==this.max&&t.push(this.max),be(t)!==this.min&&t.unshift(this.min)),t},e.prototype.getScalePercent=function(t){var i=this.ticks;if(tGt(i))return 1;var n=0;return C(i,function(a,o){if(t>=a)n=o;else return!1}),n/(i.length-1)},e}(Rs),bC=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="quantile",t}return e.prototype.initCfg=function(){this.tickMethod="quantile",this.tickCount=5,this.nice=!0},e}(Ng),Gg={};function Eu(r){return Gg[r]}function or(r,e){if(Eu(r))throw new Error("type '"+r+"' existed.");Gg[r]=e}var SC=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="identity",t.isIdentity=!0,t}return e.prototype.calculateTicks=function(){return this.values},e.prototype.scale=function(t){return this.values[0]!==t&&nt(t)?t:this.range[0]},e.prototype.invert=function(t){var i=this.range;return ti[1]?NaN:this.values[0]},e}(Mc);function Vg(r){var e=r.values,t=r.tickInterval,i=r.tickCount,n=r.showLast;if(nt(t)){var a=Qt(e,function(d,p){return p%t===0}),o=Gt(e);return n&&Gt(a)!==o&&a.push(o),a}var s=e.length,l=r.min,u=r.max;if(R(l)&&(l=0),R(u)&&(u=e.length-1),!nt(i)||i>=s)return e.slice(l,u+1);if(i<=0||u<=0)return[];for(var c=i===1?s:Math.floor(s/(i-1)),h=[],f=l,v=0;v=u);v++)f=Math.min(l+v*c,u),v===i-1&&n?h.push(e[u]):h.push(e[f]);return h}function CC(r){var e=r.min,t=r.max,i=r.nice,n=r.tickCount,a=new MC;return a.domain([e,t]),i&&a.nice(n),a.ticks(n)}var Ll=5,cv=Math.sqrt(50),hv=Math.sqrt(10),fv=Math.sqrt(2),MC=function(){function r(){this._domain=[0,1]}return r.prototype.domain=function(e){return e?(this._domain=Array.from(e,Number),this):this._domain.slice()},r.prototype.nice=function(e){var t,i;e===void 0&&(e=Ll);var n=this._domain.slice(),a=0,o=this._domain.length-1,s=this._domain[a],l=this._domain[o],u;return l0?(s=Math.floor(s/u)*u,l=Math.ceil(l/u)*u,u=Po(s,l,e)):u<0&&(s=Math.ceil(s*u)/u,l=Math.floor(l*u)/u,u=Po(s,l,e)),u>0?(n[a]=Math.floor(s/u)*u,n[o]=Math.ceil(l/u)*u,this.domain(n)):u<0&&(n[a]=Math.ceil(s*u)/u,n[o]=Math.floor(l*u)/u,this.domain(n)),this},r.prototype.ticks=function(e){return e===void 0&&(e=Ll),AC(this._domain[0],this._domain[this._domain.length-1],e||Ll)},r}();function AC(r,e,t){var i,n=-1,a,o,s;if(e=+e,r=+r,t=+t,r===e&&t>0)return[r];if((i=e0)for(r=Math.ceil(r/s),e=Math.floor(e/s),o=new Array(a=Math.ceil(e-r+1));++n=0?(a>=cv?10:a>=hv?5:a>=fv?2:1)*Math.pow(10,n):-Math.pow(10,-n)/(a>=cv?10:a>=hv?5:a>=fv?2:1)}function vv(r,e,t){var i;return t==="ceil"?i=Math.ceil(r/e):t==="floor"?i=Math.floor(r/e):i=Math.round(r/e),i*e}function Fc(r,e,t){var i=vv(r,t,"floor"),n=vv(e,t,"ceil");i=yl(i,t),n=yl(n,t);for(var a=[],o=Math.max((n-i)/(Math.pow(2,12)-1),t),s=i;s<=n;s=s+o){var l=yl(s,o);a.push(l)}return{min:i,max:n,ticks:a}}function Tc(r,e,t){var i,n=r.minLimit,a=r.maxLimit,o=r.min,s=r.max,l=r.tickCount,u=l===void 0?5:l,c=R(n)?R(e)?o:e:n,h=R(a)?R(t)?s:t:a;if(c>h&&(i=[c,h],h=i[0],c=i[1]),u<=2)return[c,h];for(var f=(h-c)/(u-1),v=[],d=0;d=0&&(l=1),1-s/(o-1)-t+l}function IC(r,e,t){var i=$t(e),n=kp(e,r),a=1;return 1-n/(i-1)-t+a}function PC(r,e,t,i,n,a){var o=(r-1)/(a-n),s=(e-1)/(Math.max(a,i)-Math.min(t,n));return 2-Math.max(o/s,s/o)}function DC(r,e){return r>=e?2-(r-1)/(e-1):1}function OC(r,e,t,i){var n=e-r;return 1-.5*(Math.pow(e-i,2)+Math.pow(r-t,2))/Math.pow(.1*n,2)}function BC(r,e,t){var i=e-r;if(t>i){var n=(t-i)/2;return 1-Math.pow(n,2)/Math.pow(.1*i,2)}return 1}function RC(){return 1}function zC(r,e,t,i,n,a){t===void 0&&(t=5),i===void 0&&(i=!0),n===void 0&&(n=TC),a===void 0&&(a=[.25,.2,.5,.05]);var o=t<0?0:Math.round(t);if(Number.isNaN(r)||Number.isNaN(e)||typeof r!="number"||typeof e!="number"||!o)return{min:0,max:0,ticks:[]};if(e-r<1e-15||o===1)return{min:r,max:e,ticks:[r]};if(e-r>1e148){var s=t||5,l=(e-r)/s;return{min:r,max:e,ticks:Array(s).fill(null).map(function(q,it){return oi(r+l*it)})}}for(var u={score:-2,lmin:0,lmax:0,lstep:0},c=1;c<1/0;){for(var h=0;hu.score&&(!i||T<=r&&k>=e)&&(u.lmin=T,u.lmax=k,u.lstep=E,u.score=j)}y+=1}d+=1}}c+=1}var P=oi(u.lmax),G=oi(u.lmin),_=oi(u.lstep),H=Math.floor(kC((P-G)/_))+1,$=new Array(H);$[0]=oi(G);for(var h=1;h0)o=Math.floor(Ie(e,i));else{var l=zg(a,e,n);o=Math.floor(Ie(e,l))}for(var u=s-o,c=Math.ceil(u/t),h=[],f=o;f=0?1:-1;return Math.pow(o,e)*s})}function YC(r,e){var t=r.length*e;return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function $C(r){var e=r.tickCount,t=r.values;if(!t||!t.length)return[];for(var i=t.slice().sort(function(s,l){return s-l}),n=[],a=0;a1&&(n=n*Math.ceil(s)),i&&nuv)for(var l=Ko(t),u=Math.ceil(a/uv),c=s;c<=l+u;c=c+u)o.push(_C(c));else if(a>Qn)for(var h=Math.ceil(a/Qn),f=ku(e),v=qC(e,t),c=0;c<=v+h;c=c+h)o.push(UC(s,c+f));else if(a>pr)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),y=d.getDate(),m=Math.ceil(a/pr),w=jC(e,t),c=0;cxi)for(var d=new Date(e),p=d.getFullYear(),g=d.getMonth(),m=d.getDate(),x=d.getHours(),S=Math.ceil(a/xi),M=ZC(e,t),c=0;c<=M+S;c=c+S)o.push(new Date(p,g,m,x+c).getTime());else if(a>mi)for(var F=QC(e,t),T=Math.ceil(a/mi),c=0;c<=F+T;c=c+T)o.push(e+c*mi);else{var k=a;k=512&&console.warn("Notice: current ticks length("+o.length+') >= 512, may cause performance issues, even out of memory. Because of the configure "tickInterval"(in milliseconds, current is '+a+") is too small, increase the value to solve the problem!"),o}ar("cat",Vg);ar("time-cat",WC);ar("wilkinson-extended",NC);ar("r-pretty",HC);ar("time",XC);ar("time-pretty",KC);ar("log",GC);ar("pow",VC);ar("quantile",$C);ar("d3-linear",FC);or("cat",Bs);or("category",Bs);or("identity",SC);or("linear",zs);or("log",mC);or("pow",xC);or("time",wC);or("timeCat",yC);or("quantize",Ng);or("quantile",bC);var $g={},Hg=function(r){return $g[r.toLowerCase()]},Ba=function(r,e){if(Hg(r))throw new Error("Attribute type '".concat(r,"' existed."));$g[r.toLowerCase()]=e};Ba("Color",rC);Ba("Opacity",iC);Ba("Position",nC);Ba("Shape",aC);Ba("Size",oC);var Ec=function(){function r(e){this.type="coordinate",this.isRect=!1,this.isHelix=!1,this.isPolar=!1,this.isReflectX=!1,this.isReflectY=!1;var t=e.start,i=e.end,n=e.matrix,a=n===void 0?[1,0,0,0,1,0,0,0,1]:n,o=e.isTransposed,s=o===void 0?!1:o;this.start=t,this.end=i,this.matrix=a,this.originalMatrix=tv([],a),this.isTransposed=s}return r.prototype.initial=function(){this.center={x:(this.start.x+this.end.x)/2,y:(this.start.y+this.end.y)/2},this.width=Math.abs(this.end.x-this.start.x),this.height=Math.abs(this.end.y-this.start.y)},r.prototype.update=function(e){xt(this,e),this.initial()},r.prototype.convertDim=function(e,t){var i,n=this[t],a=n.start,o=n.end;return this.isReflect(t)&&(i=[o,a],a=i[0],o=i[1]),a+e*(o-a)},r.prototype.invertDim=function(e,t){var i,n=this[t],a=n.start,o=n.end;return this.isReflect(t)&&(i=[o,a],a=i[0],o=i[1]),(e-a)/(o-a)},r.prototype.applyMatrix=function(e,t,i){i===void 0&&(i=0);var n=this.matrix,a=[e,t,i];return sa(a,a,n),a},r.prototype.invertMatrix=function(e,t,i){i===void 0&&(i=0);var n=this.matrix,a=F1([0,0,0,0,0,0,0,0,0],n),o=[e,t,i];return a&&sa(o,o,a),o},r.prototype.convert=function(e){var t=this.convertPoint(e),i=t.x,n=t.y,a=this.applyMatrix(i,n,1);return{x:a[0],y:a[1]}},r.prototype.invert=function(e){var t=this.invertMatrix(e.x,e.y,1);return this.invertPoint({x:t[0],y:t[1]})},r.prototype.rotate=function(e){var t=this.matrix,i=this.center;return $i(t,t,[-i.x,-i.y]),pc(t,t,e),$i(t,t,[i.x,i.y]),this},r.prototype.reflect=function(e){return e==="x"?this.isReflectX=!this.isReflectX:this.isReflectY=!this.isReflectY,this},r.prototype.scale=function(e,t){var i=this.matrix,n=this.center;return $i(i,i,[-n.x,-n.y]),Hp(i,i,[e,t]),$i(i,i,[n.x,n.y]),this},r.prototype.translate=function(e,t){var i=this.matrix;return $i(i,i,[e,t]),this},r.prototype.transpose=function(){return this.isTransposed=!this.isTransposed,this},r.prototype.getCenter=function(){return this.center},r.prototype.getWidth=function(){return this.width},r.prototype.getHeight=function(){return this.height},r.prototype.getRadius=function(){return this.radius},r.prototype.isReflect=function(e){return e==="x"?this.isReflectX:this.isReflectY},r.prototype.resetMatrix=function(e){this.matrix=e||tv([],this.originalMatrix)},r}(),Xg=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;return i.isRect=!0,i.type="cartesian",i.initial(),i}return e.prototype.initial=function(){r.prototype.initial.call(this);var t=this.start,i=this.end;this.x={start:t.x,end:i.x},this.y={start:t.y,end:i.y}},e.prototype.convertPoint=function(t){var i,n=t.x,a=t.y;return this.isTransposed&&(i=[a,n],n=i[0],a=i[1]),{x:this.convertDim(n,"x"),y:this.convertDim(a,"y")}},e.prototype.invertPoint=function(t){var i,n=this.invertDim(t.x,"x"),a=this.invertDim(t.y,"y");return this.isTransposed&&(i=[a,n],n=i[0],a=i[1]),{x:n,y:a}},e}(Ec),JC=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;i.isHelix=!0,i.type="helix";var n=t.startAngle,a=n===void 0?1.25*Math.PI:n,o=t.endAngle,s=o===void 0?7.25*Math.PI:o,l=t.innerRadius,u=l===void 0?0:l,c=t.radius;return i.startAngle=a,i.endAngle=s,i.innerRadius=u,i.radius=c,i.initial(),i}return e.prototype.initial=function(){r.prototype.initial.call(this);var t=(this.endAngle-this.startAngle)/(2*Math.PI)+1,i=Math.min(this.width,this.height)/2;this.radius&&this.radius>=0&&this.radius<=1&&(i=i*this.radius),this.d=Math.floor(i*(1-this.innerRadius)/t),this.a=this.d/(Math.PI*2),this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*i,end:this.innerRadius*i+this.d*.99}},e.prototype.convertPoint=function(t){var i,n=t.x,a=t.y;this.isTransposed&&(i=[a,n],n=i[0],a=i[1]);var o=this.convertDim(n,"x"),s=this.a*o,l=this.convertDim(a,"y");return{x:this.center.x+Math.cos(o)*(s+l),y:this.center.y+Math.sin(o)*(s+l)}},e.prototype.invertPoint=function(t){var i,n=this.d+this.y.start,a=Yp([0,0],[t.x,t.y],[this.center.x,this.center.y]),o=gc(a,[1,0],!0),s=o*this.a;qi(a)this.width/i?(s=this.width/i,this.circleCenter={x:this.center.x-(.5-a)*this.width,y:this.center.y-(.5-o)*s*n}):(s=this.height/n,this.circleCenter={x:this.center.x-(.5-a)*s*i,y:this.center.y-(.5-o)*this.height}),this.polarRadius=this.radius,this.radius?this.radius>0&&this.radius<=1?this.polarRadius=s*this.radius:(this.radius<=0||this.radius>s)&&(this.polarRadius=s):this.polarRadius=s,this.x={start:this.startAngle,end:this.endAngle},this.y={start:this.innerRadius*this.polarRadius,end:this.polarRadius}},e.prototype.getRadius=function(){return this.polarRadius},e.prototype.convertPoint=function(t){var i,n=this.getCenter(),a=t.x,o=t.y;return this.isTransposed&&(i=[o,a],a=i[0],o=i[1]),a=this.convertDim(a,"x"),o=this.convertDim(o,"y"),{x:n.x+Math.cos(a)*o,y:n.y+Math.sin(a)*o}},e.prototype.invertPoint=function(t){var i,n=this.getCenter(),a=[t.x-n.x,t.y-n.y],o=this,s=o.startAngle,l=o.endAngle;this.isReflect("x")&&(i=[l,s],s=i[0],l=i[1]);var u=[1,0,0,0,1,0,0,0,1];pc(u,u,s);var c=[1,0,0];sa(c,c,u);var h=[c[0],c[1]],f=gc(h,a,l0?d:-d;var p=this.invertDim(v,"y"),g={x:0,y:0};return g.x=this.isTransposed?p:d,g.y=this.isTransposed?d:p,g},e.prototype.getCenter=function(){return this.circleCenter},e.prototype.getOneBox=function(){var t=this.startAngle,i=this.endAngle;if(Math.abs(i-t)>=Math.PI*2)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(i)],a=[0,Math.sin(t),Math.sin(i)],o=Math.min(t,i);o=0;i--)r.removeChild(e[i])}function nM(r,e){return!!r.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function va(r){var e=r.start,t=r.end,i=Math.min(e.x,t.x),n=Math.min(e.y,t.y),a=Math.max(e.x,t.x),o=Math.max(e.y,t.y);return{x:i,y:n,minX:i,minY:n,maxX:a,maxY:o,width:a-i,height:o-n}}function aM(r){var e=r.map(function(s){return s.x}),t=r.map(function(s){return s.y}),i=Math.min.apply(Math,e),n=Math.min.apply(Math,t),a=Math.max.apply(Math,e),o=Math.max.apply(Math,t);return{x:i,y:n,minX:i,minY:n,maxX:a,maxY:o,width:a-i,height:o-n}}function Gs(r,e,t,i){var n=r+t,a=e+i;return{x:r,y:e,width:t,height:i,minX:r,minY:e,maxX:isNaN(n)?0:n,maxY:isNaN(a)?0:a}}function wi(r,e,t){return(1-t)*r+e*t}function Qi(r,e,t){return{x:r.x+Math.cos(t)*e,y:r.y+Math.sin(t)*e}}function oM(r,e){var t=e.x-r.x,i=e.y-r.y;return Math.sqrt(t*t+i*i)}var ts=function(r,e,t){return t===void 0&&(t=Math.pow(Number.EPSILON,.5)),[r,e].includes(1/0)?Math.abs(r)===Math.abs(e):Math.abs(r-e)0?C(l,function(u){if(u.get("visible")){if(u.isGroup()&&u.get("children").length===0)return!0;var c=jg(u),h=u.applyToMatrix([c.minX,c.minY,1]),f=u.applyToMatrix([c.minX,c.maxY,1]),v=u.applyToMatrix([c.maxX,c.minY,1]),d=u.applyToMatrix([c.maxX,c.maxY,1]),p=Math.min(h[0],f[0],v[0],d[0]),g=Math.max(h[0],f[0],v[0],d[0]),y=Math.min(h[1],f[1],v[1],d[1]),m=Math.max(h[1],f[1],v[1],d[1]);pa&&(a=g),ys&&(s=m)}}):(n=0,a=0,o=0,s=0),i=Gs(n,o,a-n,s-o)}return t?sM(i,t):i}function lM(r,e){if(!(!r.getClip()&&!e.getClip())){var t=e.getClip();if(!t){r.setClip(null);return}var i={type:t.get("type"),attrs:t.attr()};r.setClip(i)}}function he(r){return r+"px"}function Zg(r,e,t,i){var n=oM(r,e),a=i/n,o=0;return t==="start"?o=0-a:t==="end"&&(o=1+a),{x:wi(r.x,e.x,o),y:wi(r.y,e.y,o)}}var uM={none:[],point:["x","y"],region:["start","end"],points:["points"],circle:["center","radius","startAngle","endAngle"]},Qg=function(r){Q(e,r);function e(t){var i=r.call(this,t)||this;return i.initCfg(),i}return e.prototype.getDefaultCfg=function(){return{id:"",name:"",type:"",locationType:"none",offsetX:0,offsetY:0,animate:!1,capture:!0,updateAutoRender:!1,animateOption:{appear:null,update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},events:null,defaultCfg:{},visible:!0}},e.prototype.clear=function(){},e.prototype.update=function(t){var i=this,n=this.get("defaultCfg")||{};C(t,function(a,o){var s=i.get(o),l=a;s!==a&&(yt(a)&&n[o]&&(l=X({},n[o],a)),i.set(o,l))}),this.updateInner(t),this.afterUpdate(t)},e.prototype.updateInner=function(t){},e.prototype.afterUpdate=function(t){Hr(t,"visible")&&(t.visible?this.show():this.hide()),Hr(t,"capture")&&this.setCapture(t.capture)},e.prototype.getLayoutBBox=function(){return this.getBBox()},e.prototype.getLocationType=function(){return this.get("locationType")},e.prototype.getOffset=function(){return{offsetX:this.get("offsetX"),offsetY:this.get("offsetY")}},e.prototype.setOffset=function(t,i){this.update({offsetX:t,offsetY:i})},e.prototype.setLocation=function(t){var i=D({},t);this.update(i)},e.prototype.getLocation=function(){var t=this,i={},n=this.get("locationType"),a=uM[n];return C(a,function(o){i[o]=t.get(o)}),i},e.prototype.isList=function(){return!1},e.prototype.isSlider=function(){return!1},e.prototype.init=function(){},e.prototype.initCfg=function(){var t=this,i=this.get("defaultCfg");C(i,function(n,a){var o=t.get(a);if(yt(o)){var s=X({},n,o);t.set(a,s)}})},e}(xs),ni="update_status",cM=["visible","tip","delegateObject"],hM=["container","group","shapesMap","isRegister","isUpdating","destroyed"],ee=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{container:null,shapesMap:{},group:null,capture:!0,isRegister:!1,isUpdating:!1,isInit:!0})},e.prototype.remove=function(){this.clear();var t=this.get("group");t.remove()},e.prototype.clear=function(){var t=this.get("group");t.clear(),this.set("shapesMap",{}),this.clearOffScreenCache(),this.set("isInit",!0)},e.prototype.getChildComponentById=function(t){var i=this.getElementById(t),n=i&&i.get("component");return n},e.prototype.getElementById=function(t){return this.get("shapesMap")[t]},e.prototype.getElementByLocalId=function(t){var i=this.getElementId(t);return this.getElementById(i)},e.prototype.getElementsByName=function(t){var i=[];return C(this.get("shapesMap"),function(n){n.get("name")===t&&i.push(n)}),i},e.prototype.getContainer=function(){return this.get("container")},e.prototype.updateInner=function(t){this.offScreenRender(),this.get("updateAutoRender")&&this.render()},e.prototype.render=function(){var t=this.get("offScreenGroup");t||(t=this.offScreenRender());var i=this.get("group");this.updateElements(t,i),this.deleteElements(),this.applyOffset(),this.get("eventInitted")||(this.initEvent(),this.set("eventInitted",!0)),this.set("isInit",!1)},e.prototype.show=function(){var t=this.get("group");t.show(),this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("group");t.hide(),this.set("visible",!1)},e.prototype.setCapture=function(t){var i=this.get("group");i.set("capture",t),this.set("capture",t)},e.prototype.destroy=function(){this.removeEvent(),this.remove(),r.prototype.destroy.call(this)},e.prototype.getBBox=function(){return this.get("group").getCanvasBBox()},e.prototype.getLayoutBBox=function(){var t=this.get("group"),i=this.getInnerLayoutBBox(),n=t.getTotalMatrix();return n&&(i=iM(n,i)),i},e.prototype.on=function(t,i,n){var a=this.get("group");return a.on(t,i,n),this},e.prototype.off=function(t,i){var n=this.get("group");return n&&n.off(t,i),this},e.prototype.emit=function(t,i){var n=this.get("group");n.emit(t,i)},e.prototype.init=function(){r.prototype.init.call(this),this.get("group")||this.initGroup(),this.offScreenRender()},e.prototype.getInnerLayoutBBox=function(){return this.get("offScreenBBox")||this.get("group").getBBox()},e.prototype.delegateEmit=function(t,i){var n=this.get("group");i.target=n,n.emit(t,i),_g(n,t,i)},e.prototype.createOffScreenGroup=function(){var t=this.get("group"),i=t.getGroupBase(),n=new i({delegateObject:this.getDelegateObject()});return n},e.prototype.applyOffset=function(){var t=this.get("offsetX"),i=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t,y:i})},e.prototype.initGroup=function(){var t=this.get("container");this.set("group",t.addGroup({id:this.get("id"),name:this.get("name"),capture:this.get("capture"),visible:this.get("visible"),isComponent:!0,component:this,delegateObject:this.getDelegateObject()}))},e.prototype.offScreenRender=function(){this.clearOffScreenCache();var t=this.createOffScreenGroup();return this.renderInner(t),this.set("offScreenGroup",t),this.set("offScreenBBox",jg(t)),t},e.prototype.addGroup=function(t,i){this.appendDelegateObject(t,i);var n=t.addGroup(i);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addShape=function(t,i){this.appendDelegateObject(t,i);var n=t.addShape(i);return this.get("isRegister")&&this.registerElement(n),n},e.prototype.addComponent=function(t,i){var n=i.id,a=i.component,o=Os(i,["id","component"]),s=new a(D(D({},o),{id:n,container:t,updateAutoRender:this.get("updateAutoRender")}));return s.init(),s.render(),this.get("isRegister")&&this.registerElement(s.get("group")),s},e.prototype.initEvent=function(){},e.prototype.removeEvent=function(){var t=this.get("group");t.off()},e.prototype.getElementId=function(t){var i=this.get("id"),n=this.get("name");return i+"-"+n+"-"+t},e.prototype.registerElement=function(t){var i=t.get("id");this.get("shapesMap")[i]=t},e.prototype.unregisterElement=function(t){var i=t.get("id");delete this.get("shapesMap")[i]},e.prototype.moveElementTo=function(t,i){var n=kc(i);t.attr("matrix",n)},e.prototype.addAnimation=function(t,i,n){var a=i.attr("opacity");R(a)&&(a=1),i.attr("opacity",0),i.animate({opacity:a},n)},e.prototype.removeAnimation=function(t,i,n){i.animate({opacity:0},n)},e.prototype.updateAnimation=function(t,i,n,a){i.animate(n,a)},e.prototype.updateElements=function(t,i){var n=this,a=this.get("animate"),o=this.get("animateOption"),s=t.getChildren().slice(0),l;C(s,function(u){var c=u.get("id"),h=n.getElementById(c),f=u.get("name");if(h)if(u.get("isComponent")){var v=u.get("component"),d=h.get("component"),p=cc(v.cfg,pw(gn(v.cfg),hM));d.update(p),h.set(ni,"update")}else{var g=n.getReplaceAttrs(h,u);a&&o.update?n.updateAnimation(f,h,g,o.update):h.attr(g),u.isGroup()&&n.updateElements(u,h),C(cM,function(x){h.set(x,u.get(x))}),lM(h,u),l=h,h.set(ni,"update")}else{i.add(u);var y=i.getChildren();if(y.splice(y.length-1,1),l){var m=y.indexOf(l);y.splice(m+1,0,u)}else y.unshift(u);if(n.registerElement(u),u.set(ni,"add"),u.get("isComponent")){var v=u.get("component");v.set("container",i)}else u.isGroup()&&n.registerNewGroup(u);if(l=u,a){var w=n.get("isInit")?o.appear:o.enter;w&&n.addAnimation(f,u,w)}}})},e.prototype.clearUpdateStatus=function(t){var i=t.getChildren();C(i,function(n){n.set(ni,null)})},e.prototype.clearOffScreenCache=function(){var t=this.get("offScreenGroup");t&&t.destroy(),this.set("offScreenGroup",null),this.set("offScreenBBox",null)},e.prototype.getDelegateObject=function(){var t,i=this.get("name"),n=(t={},t[i]=this,t.component=this,t);return n},e.prototype.appendDelegateObject=function(t,i){var n=t.get("delegateObject");i.delegateObject||(i.delegateObject={}),xt(i.delegateObject,n)},e.prototype.getReplaceAttrs=function(t,i){var n=t.attr(),a=i.attr();return C(n,function(o,s){a[s]===void 0&&(a[s]=void 0)}),a},e.prototype.registerNewGroup=function(t){var i=this,n=t.getChildren();C(n,function(a){i.registerElement(a),a.set(ni,"add"),a.isGroup()&&i.registerNewGroup(a)})},e.prototype.deleteElements=function(){var t=this,i=this.get("shapesMap"),n=[];C(i,function(s,l){!s.get(ni)||s.destroyed?n.push([l,s]):s.set(ni,null)});var a=this.get("animate"),o=this.get("animateOption");C(n,function(s){var l=s[0],u=s[1];if(!u.destroyed){var c=u.get("name");if(a&&o.leave){var h=xt({callback:function(){t.removeElement(u)}},o.leave);t.removeAnimation(c,u,h)}else t.removeElement(u)}delete i[l]})},e.prototype.removeElement=function(t){if(t.get("isGroup")){var i=t.get("component");i&&i.destroy()}t.remove()},e}(Qg),Il="…";function fM(r){for(var e=0,t=0;t0&&r.charCodeAt(e)<128?1:2}function vM(r,e,t){t===void 0&&(t="tail");var i=r.length,n="";if(t==="tail"){for(var a=0,o=0;a=19968&&s<=40869?a+=2:a+=1}a>t&&(t=a,i=n)}return r[i].getBBox().width}function Lu(r){if(r.length>gM)return yM(r);var e=0;return C(r,function(t){var i=t.getBBox(),n=i.width;e=0?f=vM(a,h,i):f=dM,f&&(e.attr("text",f),c=!0)}return c?e.set("tip",a):e.set("tip",null),c}function Vs(r,e){var t=e.x,i=e.y,n=e.content,a=e.style,o=e.id,s=e.name,l=e.rotate,u=e.maxLength,c=e.autoEllipsis,h=e.isVertical,f=e.ellipsisPosition,v=e.background,d=r.addGroup({id:o+"-group",name:s+"-group",attrs:{x:t,y:i}}),p=d.addShape({type:"text",id:o,name:s,attrs:D({x:0,y:0,text:n},a)}),g=Jo(A(v,"padding",0));if(u&&c){var y=u-(g[1]+g[3]);Kn(!h,p,y,f)}if(v){var m=A(v,"style",{}),w=p.getCanvasBBox(),x=w.minX,S=w.minY,M=w.width,F=w.height,T=d.addShape("rect",{id:o+"-bg",name:o+"-bg",attrs:D({x:x-g[3],y:S-g[0],width:M+g[1]+g[3],height:F+g[0]+g[2]},m)});T.toBack()}Lc(d,t,i),Ug(d,l,t,i)}const ct={fontFamily:` + BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue", + Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", + SimSun, "sans-serif"`,textColor:"#2C3542",activeTextColor:"#333333",uncheckedColor:"#D8D8D8",lineColor:"#416180",regionColor:"#CCD7EB",verticalAxisRotate:-Math.PI/4,horizontalAxisRotate:Math.PI/4,descriptionIconStroke:"#fff",descriptionIconFill:"rgba(58, 73, 101, .25)"};var xM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"line",locationType:"region",start:null,end:null,style:{},text:null,defaultCfg:{style:{fill:ct.textColor,fontSize:12,textAlign:"center",textBaseline:"bottom",fontFamily:ct.fontFamily},text:{position:"center",autoRotate:!0,content:null,offsetX:0,offsetY:0,style:{stroke:ct.lineColor,lineWidth:1}}}})},e.prototype.renderInner=function(t){this.renderLine(t),this.get("text")&&this.renderLabel(t)},e.prototype.renderLine=function(t){var i=this.get("start"),n=this.get("end"),a=this.get("style");this.addShape(t,{type:"line",id:this.getElementId("line"),name:"annotation-line",attrs:D({x1:i.x,y1:i.y,x2:n.x,y2:n.y},a)})},e.prototype.getLabelPoint=function(t,i,n){var a;return n==="start"?a=0:n==="center"?a=.5:J(n)&&n.indexOf("%")!==-1?a=parseInt(n,10)/100:nt(n)?a=n:a=1,(a>1||a<0)&&(a=1),{x:wi(t.x,i.x,a),y:wi(t.y,i.y,a)}},e.prototype.renderLabel=function(t){var i=this.get("text"),n=this.get("start"),a=this.get("end"),o=i.position,s=i.content,l=i.style,u=i.offsetX,c=i.offsetY,h=i.autoRotate,f=i.maxLength,v=i.autoEllipsis,d=i.ellipsisPosition,p=i.background,g=i.isVertical,y=g===void 0?!1:g,m=this.getLabelPoint(n,a,o),w=m.x+u,x=m.y+c,S={id:this.getElementId("line-text"),name:"annotation-line-text",x:w,y:x,content:s,style:l,maxLength:f,autoEllipsis:v,ellipsisPosition:d,background:p,isVertical:y};if(h){var M=[a.x-n.x,a.y-n.y];S.rotate=Math.atan2(M[1],M[0])}Vs(t,S)},e}(ee),wM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"text",locationType:"point",x:0,y:0,content:"",rotate:null,style:{},background:null,maxLength:null,autoEllipsis:!0,isVertical:!1,ellipsisPosition:"tail",defaultCfg:{style:{fill:ct.textColor,fontSize:12,textAlign:"center",textBaseline:"middle",fontFamily:ct.fontFamily}}})},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.renderInner=function(t){var i=this.getLocation(),n=i.x,a=i.y,o=this.get("content"),s=this.get("style"),l=this.getElementId("text"),u=this.get("name")+"-text",c=this.get("maxLength"),h=this.get("autoEllipsis"),f=this.get("isVertical"),v=this.get("ellipsisPosition"),d=this.get("background"),p=this.get("rotate"),g={id:l,name:u,x:n,y:a,content:o,style:s,maxLength:c,autoEllipsis:h,isVertical:f,ellipsisPosition:v,background:d,rotate:p};Vs(t,g)},e.prototype.resetLocation=function(){var t=this.getElementByLocalId("text-group");if(t){var i=this.getLocation(),n=i.x,a=i.y,o=this.get("rotate");Lc(t,n,a),Ug(t,o,n,a)}},e}(ee),bM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"arc",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2,style:{stroke:"#999",lineWidth:1}})},e.prototype.renderInner=function(t){this.renderArc(t)},e.prototype.getArcPath=function(){var t=this.getLocation(),i=t.center,n=t.radius,a=t.startAngle,o=t.endAngle,s=Qi(i,n,a),l=Qi(i,n,o),u=o-a>Math.PI?1:0,c=[["M",s.x,s.y]];if(o-a===Math.PI*2){var h=Qi(i,n,a+Math.PI);c.push(["A",n,n,0,u,1,h.x,h.y]),c.push(["A",n,n,0,u,1,l.x,l.y])}else c.push(["A",n,n,0,u,1,l.x,l.y]);return c},e.prototype.renderArc=function(t){var i=this.getArcPath(),n=this.get("style");this.addShape(t,{type:"path",id:this.getElementId("arc"),name:"annotation-arc",attrs:D({path:i},n)})},e}(ee),SM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"region",locationType:"region",start:null,end:null,style:{},defaultCfg:{style:{lineWidth:0,fill:ct.regionColor,opacity:.4}}})},e.prototype.renderInner=function(t){this.renderRegion(t)},e.prototype.renderRegion=function(t){var i=this.get("start"),n=this.get("end"),a=this.get("style"),o=va({start:i,end:n});this.addShape(t,{type:"rect",id:this.getElementId("region"),name:"annotation-region",attrs:D({x:o.x,y:o.y,width:o.width,height:o.height},a)})},e}(ee),CM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"image",locationType:"region",start:null,end:null,src:null,style:{}})},e.prototype.renderInner=function(t){this.renderImage(t)},e.prototype.getImageAttrs=function(){var t=this.get("start"),i=this.get("end"),n=this.get("style"),a=va({start:t,end:i}),o=this.get("src");return D({x:a.x,y:a.y,img:o,width:a.width,height:a.height},n)},e.prototype.renderImage=function(t){this.addShape(t,{type:"image",id:this.getElementId("image"),name:"annotation-image",attrs:this.getImageAttrs()})},e}(ee),MM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"dataMarker",locationType:"point",x:0,y:0,point:{},line:{},text:{},direction:"upward",autoAdjust:!0,coordinateBBox:null,defaultCfg:{point:{display:!0,style:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2}},line:{display:!0,length:20,style:{stroke:ct.lineColor,lineWidth:1}},text:{content:"",display:!0,style:{fill:ct.textColor,opacity:.65,fontSize:12,textAlign:"start",fontFamily:ct.fontFamily}}}})},e.prototype.renderInner=function(t){A(this.get("line"),"display")&&this.renderLine(t),A(this.get("text"),"display")&&this.renderText(t),A(this.get("point"),"display")&&this.renderPoint(t),this.get("autoAdjust")&&this.autoAdjust(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x")+this.get("offsetX"),y:this.get("y")+this.get("offsetY")})},e.prototype.renderPoint=function(t){var i=this.getShapeAttrs().point;this.addShape(t,{type:"circle",id:this.getElementId("point"),name:"annotation-point",attrs:i})},e.prototype.renderLine=function(t){var i=this.getShapeAttrs().line;this.addShape(t,{type:"path",id:this.getElementId("line"),name:"annotation-line",attrs:i})},e.prototype.renderText=function(t){var i=this.getShapeAttrs().text,n=i.x,a=i.y,o=i.text,s=Os(i,["x","y","text"]),l=this.get("text"),u=l.background,c=l.maxLength,h=l.autoEllipsis,f=l.isVertival,v=l.ellipsisPosition,d={x:n,y:a,id:this.getElementId("text"),name:"annotation-text",content:o,style:s,background:u,maxLength:c,autoEllipsis:h,isVertival:f,ellipsisPosition:v};Vs(t,d)},e.prototype.autoAdjust=function(t){var i=this.get("direction"),n=this.get("x"),a=this.get("y"),o=A(this.get("line"),"length",0),s=this.get("coordinateBBox"),l=t.getBBox(),u=l.minX,c=l.maxX,h=l.minY,f=l.maxY,v=t.findById(this.getElementId("text-group")),d=t.findById(this.getElementId("text")),p=t.findById(this.getElementId("line"));if(s&&v){var g=v.attr("x"),y=v.attr("y"),m=d.getCanvasBBox(),w=m.width,x=m.height,S=0,M=0;if(n+u<=s.minX)if(i==="leftward")S=1;else{var F=s.minX-(n+u);g=v.attr("x")+F}else if(n+c>=s.maxX)if(i==="rightward")S=-1;else{var F=n+c-s.maxX;g=v.attr("x")-F}if(S&&(p&&p.attr("path",[["M",0,0],["L",o*S,0]]),g=(o+2+w)*S),a+h<=s.minY)if(i==="upward")M=1;else{var F=s.minY-(a+h);y=v.attr("y")+F}else if(a+f>=s.maxY)if(i==="downward")M=-1;else{var F=a+f-s.maxY;y=v.attr("y")-F}M&&(p&&p.attr("path",[["M",0,0],["L",0,o*M]]),y=(o+2+x)*M),(g!==v.attr("x")||y!==v.attr("y"))&&Lc(v,g,y)}},e.prototype.getShapeAttrs=function(){var t=A(this.get("line"),"display"),i=A(this.get("point"),"style",{}),n=A(this.get("line"),"style",{}),a=A(this.get("text"),"style",{}),o=this.get("direction"),s=t?A(this.get("line"),"length",0):0,l=0,u=0,c="top",h="start";switch(o){case"upward":u=-1,c="bottom";break;case"downward":u=1,c="top";break;case"leftward":l=-1,h="end";break;case"rightward":l=1,h="start";break}return{point:D({x:0,y:0},i),line:D({path:[["M",0,0],["L",s*l,s*u]]},n),text:D({x:(s+2)*l,y:(s+2)*u,text:A(this.get("text"),"content",""),textBaseline:c,textAlign:h},a)}},e}(ee),AM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"dataRegion",locationType:"points",points:[],lineLength:0,region:{},text:{},defaultCfg:{region:{style:{lineWidth:0,fill:ct.regionColor,opacity:.4}},text:{content:"",style:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:ct.textColor,fontFamily:ct.fontFamily}}}})},e.prototype.renderInner=function(t){var i=A(this.get("region"),"style",{});A(this.get("text"),"style",{});var n=this.get("lineLength")||0,a=this.get("points");if(a.length){var o=aM(a),s=[];s.push(["M",a[0].x,o.minY-n]),a.forEach(function(u){s.push(["L",u.x,u.y])}),s.push(["L",a[a.length-1].x,a[a.length-1].y-n]),this.addShape(t,{type:"path",id:this.getElementId("region"),name:"annotation-region",attrs:D({path:s},i)});var l=D({id:this.getElementId("text"),name:"annotation-text",x:(o.minX+o.maxX)/2,y:o.minY-n},this.get("text"));Vs(t,l)}},e}(ee),FM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"regionFilter",locationType:"region",start:null,end:null,color:null,shape:[]})},e.prototype.renderInner=function(t){var i=this,n=this.get("start"),a=this.get("end"),o=this.addGroup(t,{id:this.getElementId("region-filter"),capture:!1});C(this.get("shapes"),function(l,u){var c=l.get("type"),h=ae(l.attr());i.adjustShapeAttrs(h),i.addShape(o,{id:i.getElementId("shape-"+c+"-"+u),capture:!1,type:c,attrs:h})});var s=va({start:n,end:a});o.setClip({type:"rect",attrs:{x:s.minX,y:s.minY,width:s.width,height:s.height}})},e.prototype.adjustShapeAttrs=function(t){var i=this.get("color");t.fill&&(t.fill=t.fillStyle=i),t.stroke=t.strokeStyle=i},e}(ee),TM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"shape",draw:Rr})},e.prototype.renderInner=function(t){var i=this.get("render");W(i)&&i(t)},e}(ee),Pc=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{container:null,containerTpl:"
",updateAutoRender:!0,containerClassName:"",parent:null})},e.prototype.getContainer=function(){return this.get("container")},e.prototype.show=function(){var t=this.get("container");t.style.display="",this.set("visible",!0)},e.prototype.hide=function(){var t=this.get("container");t.style.display="none",this.set("visible",!1)},e.prototype.setCapture=function(t){var i=this.getContainer(),n=t?"auto":"none";i.style.pointerEvents=n,this.set("capture",t)},e.prototype.getBBox=function(){var t=this.getContainer(),i=parseFloat(t.style.left)||0,n=parseFloat(t.style.top)||0;return Gs(i,n,t.clientWidth,t.clientHeight)},e.prototype.clear=function(){var t=this.get("container");Ic(t)},e.prototype.destroy=function(){this.removeEvent(),this.removeDom(),r.prototype.destroy.call(this)},e.prototype.init=function(){r.prototype.init.call(this),this.initContainer(),this.initDom(),this.resetStyles(),this.applyStyles(),this.initEvent(),this.initCapture(),this.initVisible()},e.prototype.initCapture=function(){this.setCapture(this.get("capture"))},e.prototype.initVisible=function(){this.get("visible")?this.show():this.hide()},e.prototype.initDom=function(){},e.prototype.initContainer=function(){var t=this.get("container");if(R(t)){t=this.createDom();var i=this.get("parent");J(i)&&(i=document.getElementById(i),this.set("parent",i)),i.appendChild(t),this.get("containerId")&&t.setAttribute("id",this.get("containerId")),this.set("container",t)}else J(t)&&(t=document.getElementById(t),this.set("container",t));this.get("parent")||this.set("parent",t.parentNode)},e.prototype.resetStyles=function(){var t=this.get("domStyles"),i=this.get("defaultStyles");t?t=X({},i,t):t=i,this.set("domStyles",t)},e.prototype.applyStyles=function(){var t=this.get("domStyles");if(t){var i=this.getContainer();this.applyChildrenStyles(i,t);var n=this.get("containerClassName");if(n&&nM(i,n)){var a=t[n];re(i,a)}}},e.prototype.applyChildrenStyles=function(t,i){C(i,function(n,a){var o=t.getElementsByClassName(a);C(o,function(s){re(s,n)})})},e.prototype.applyStyle=function(t,i){var n=this.get("domStyles");re(i,n[t])},e.prototype.createDom=function(){var t=this.get("containerTpl");return Vr(t)},e.prototype.initEvent=function(){},e.prototype.removeDom=function(){var t=this.get("container");t&&t.parentNode&&t.parentNode.removeChild(t)},e.prototype.removeEvent=function(){},e.prototype.updateInner=function(t){Hr(t,"domStyles")&&(this.resetStyles(),this.applyStyles()),this.resetPosition()},e.prototype.resetPosition=function(){},e}(Qg),EM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"annotation",type:"html",locationType:"point",x:0,y:0,containerTpl:'
',alignX:"left",alignY:"top",html:"",zIndex:7})},e.prototype.render=function(){var t=this.getContainer(),i=this.get("html");Ic(t);var n=W(i)?i(t):i;if(Fp(n))t.appendChild(n);else if(J(n)||nt(n)){var a=Vr(""+n);a&&t.appendChild(a)}this.resetPosition()},e.prototype.resetPosition=function(){var t=this.getContainer(),i=this.getLocation(),n=i.x,a=i.y,o=this.get("alignX"),s=this.get("alignY"),l=this.get("offsetX"),u=this.get("offsetY"),c=qw(t),h=Ww(t),f={x:n,y:a};o==="middle"?f.x-=Math.round(c/2):o==="right"&&(f.x-=Math.round(c)),s==="middle"?f.y-=Math.round(h/2):s==="bottom"&&(f.y-=Math.round(h)),l&&(f.x+=l),u&&(f.y+=u),re(t,{position:"absolute",left:f.x+"px",top:f.y+"px",zIndex:this.get("zIndex")})},e}(Pc);const kM=Object.freeze(Object.defineProperty({__proto__:null,Arc:bM,DataMarker:MM,DataRegion:AM,Html:EM,Image:CM,Line:xM,Region:SM,RegionFilter:FM,Shape:TM,Text:wM},Symbol.toStringTag,{value:"Module"}));function $n(r,e,t){var i=e+"Style",n=null;return C(t,function(a,o){r[o]&&a[i]&&(n||(n={}),xt(n,a[i]))}),n}var Kg=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"axis",ticks:[],line:{},tickLine:{},subTickLine:null,title:null,label:{},verticalFactor:1,verticalLimitLength:null,overlapOrder:["autoRotate","autoEllipsis","autoHide"],tickStates:{},optimize:{},defaultCfg:{line:{style:{lineWidth:1,stroke:ct.lineColor}},tickLine:{style:{lineWidth:1,stroke:ct.lineColor},alignTick:!0,length:5,displayWithLabel:!0},subTickLine:{style:{lineWidth:1,stroke:ct.lineColor},count:4,length:2},label:{autoRotate:!0,autoHide:!1,autoEllipsis:!1,style:{fontSize:12,fill:ct.textColor,fontFamily:ct.fontFamily,fontWeight:"normal"},offset:10,offsetX:0,offsetY:0},title:{autoRotate:!0,spacing:5,position:"center",style:{fontSize:12,fill:ct.textColor,textBaseline:"middle",fontFamily:ct.fontFamily,textAlign:"center"},iconStyle:{fill:ct.descriptionIconFill,stroke:ct.descriptionIconStroke},description:""},tickStates:{active:{labelStyle:{fontWeight:500},tickLineStyle:{lineWidth:2}},inactive:{labelStyle:{fill:ct.uncheckedColor}}},optimize:{enable:!0,threshold:400}},theme:{}})},e.prototype.renderInner=function(t){this.get("line")&&this.drawLine(t),this.drawTicks(t),this.get("title")&&this.drawTitle(t)},e.prototype.isList=function(){return!0},e.prototype.getItems=function(){return this.get("ticks")},e.prototype.setItems=function(t){this.update({ticks:t})},e.prototype.updateItem=function(t,i){xt(t,i),this.clear(),this.render()},e.prototype.clearItems=function(){var t=this.getElementByLocalId("label-group");t&&t.clear()},e.prototype.setItemState=function(t,i,n){t[i]=n,this.updateTickStates(t)},e.prototype.hasState=function(t,i){return!!t[i]},e.prototype.getItemStates=function(t){var i=this.get("tickStates"),n=[];return C(i,function(a,o){t[o]&&n.push(o)}),n},e.prototype.clearItemsState=function(t){var i=this,n=this.getItemsByState(t);C(n,function(a){i.setItemState(a,t,!1)})},e.prototype.getItemsByState=function(t){var i=this,n=this.getItems();return Qt(n,function(a){return i.hasState(a,t)})},e.prototype.getSidePoint=function(t,i){var n=this,a=n.getSideVector(i,t);return{x:t.x+a[0],y:t.y+a[1]}},e.prototype.getTextAnchor=function(t){var i;return Ut(t[0],0)?i="center":t[0]>0?i="start":t[0]<0&&(i="end"),i},e.prototype.getTextBaseline=function(t){var i;return Ut(t[1],0)?i="middle":t[1]>0?i="top":t[1]<0&&(i="bottom"),i},e.prototype.processOverlap=function(t){},e.prototype.drawLine=function(t){var i=this.getLinePath(),n=this.get("line");this.addShape(t,{type:"path",id:this.getElementId("line"),name:"axis-line",attrs:xt({path:i},n.style)})},e.prototype.getTickLineItems=function(t){var i=this,n=[],a=this.get("tickLine"),o=a.alignTick,s=a.length,l=1,u=t.length;return u>=2&&(l=t[1].value-t[0].value),C(t,function(c){var h=c.point;o||(h=i.getTickPoint(c.value-l/2));var f=i.getSidePoint(h,s);n.push({startPoint:h,tickValue:c.value,endPoint:f,tickId:c.id,id:"tickline-"+c.id})}),n},e.prototype.getSubTickLineItems=function(t){var i=[],n=this.get("subTickLine"),a=n.count,o=t.length;if(o>=2)for(var s=0;s0){var n=$t(i);if(n>t.threshold){var a=Math.ceil(n/t.threshold),o=i.filter(function(s,l){return l%a===0});this.set("ticks",o),this.set("originalTicks",i)}}},e.prototype.getLabelAttrs=function(t,i,n){var a=this.get("label"),o=a.offset,s=a.offsetX,l=a.offsetY,u=a.rotate,c=a.formatter,h=this.getSidePoint(t.point,o),f=this.getSideVector(o,h),v=c?c(t.name,t,i):t.name,d=a.style;d=W(d)?A(this.get("theme"),["label","style"],{}):d;var p=xt({x:h.x+s,y:h.y+l,text:v,textAlign:this.getTextAnchor(f),textBaseline:this.getTextBaseline(f)},d);return u&&(p.matrix=Fi(h,u)),p},e.prototype.drawLabels=function(t){var i=this,n=this.get("ticks"),a=this.addGroup(t,{name:"axis-label-group",id:this.getElementId("label-group")});C(n,function(f,v){i.addShape(a,{type:"text",name:"axis-label",id:i.getElementId("label-"+f.id),attrs:i.getLabelAttrs(f,v,n),delegateObject:{tick:f,item:f,index:v}})}),this.processOverlap(a);var o=a.getChildren(),s=A(this.get("theme"),["label","style"],{}),l=this.get("label"),u=l.style,c=l.formatter;if(W(u)){var h=o.map(function(f){return A(f.get("delegateObject"),"tick")});C(o,function(f,v){var d=f.get("delegateObject").tick,p=c?c(d.name,d,v):d.name,g=xt({},s,u(p,v,h));f.attr(g)})}},e.prototype.getTitleAttrs=function(){var t=this.get("title"),i=t.style,n=t.position,a=t.offset,o=t.spacing,s=o===void 0?0:o,l=t.autoRotate,u=i.fontSize,c=.5;n==="start"?c=0:n==="end"&&(c=1);var h=this.getTickPoint(c),f=this.getSidePoint(h,a||s+u/2),v=xt({x:f.x,y:f.y,text:t.text},i),d=t.rotate,p=d;if(R(d)&&l){var g=this.getAxisVector(h),y=[1,0];p=gc(g,y,!0)}if(p){var m=Fi(f,p);v.matrix=m}return v},e.prototype.drawTitle=function(t){var i,n=this.getTitleAttrs(),a=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"axis-title",attrs:n});!((i=this.get("title"))===null||i===void 0)&&i.description&&this.drawDescriptionIcon(t,a,n.matrix)},e.prototype.drawDescriptionIcon=function(t,i,n){var a=this.addGroup(t,{name:"axis-description",id:this.getElementById("description")}),o=i.getBBox(),s=o.maxX,l=o.maxY,u=o.height,c=this.get("title").iconStyle,h=4,f=u/2,v=f/6,d=s+h,p=l-u/2,g=[d+f,p-f],y=g[0],m=g[1],w=[y+f,m+f],x=w[0],S=w[1],M=[y,S+f],F=M[0],T=M[1],k=[d,m+f],E=k[0],I=k[1],B=[d+f,p-u/4],N=B[0],Y=B[1],j=[N,Y+v],P=j[0],G=j[1],_=[P,G+v],H=_[0],$=_[1],q=[H,$+f*3/4],it=q[0],st=q[1];this.addShape(a,{type:"path",id:this.getElementId("title-description-icon"),name:"axis-title-description-icon",attrs:D({path:[["M",y,m],["A",f,f,0,0,1,x,S],["A",f,f,0,0,1,F,T],["A",f,f,0,0,1,E,I],["A",f,f,0,0,1,y,m],["M",N,Y],["L",P,G],["M",H,$],["L",it,st]],lineWidth:v,matrix:n},c)}),this.addShape(a,{type:"rect",id:this.getElementId("title-description-rect"),name:"axis-title-description-rect",attrs:{x:d,y:p-u/2,width:u,height:u,stroke:"#000",fill:"#000",opacity:0,matrix:n,cursor:"pointer"}})},e.prototype.applyTickStates=function(t,i){var n=this.getItemStates(t);if(n.length){var a=this.get("tickStates"),o=this.getElementId("label-"+t.id),s=i.findById(o);if(s){var l=$n(t,"label",a);l&&s.attr(l)}var u=this.getElementId("tickline-"+t.id),c=i.findById(u);if(c){var h=$n(t,"tickLine",a);h&&c.attr(h)}}},e.prototype.updateTickStates=function(t){var i=this.getItemStates(t),n=this.get("tickStates"),a=this.get("label"),o=this.getElementByLocalId("label-"+t.id),s=this.get("tickLine"),l=this.getElementByLocalId("tickline-"+t.id);if(i.length){if(o){var u=$n(t,"label",n);u&&o.attr(u)}if(l){var c=$n(t,"tickLine",n);c&&l.attr(c)}}else o&&o.attr(a.style),l&&l.attr(s.style)},e}(ee);function Dc(r,e,t,i){var n=e.getChildren(),a=!1;return C(n,function(o){var s=Kn(r,o,t,i);a=a||s}),a}function LM(){return Jg}function IM(r,e,t){return Dc(r,e,t,"head")}function Jg(r,e,t){return Dc(r,e,t,"tail")}function PM(r,e,t){return Dc(r,e,t,"middle")}const DM=Object.freeze(Object.defineProperty({__proto__:null,ellipsisHead:IM,ellipsisMiddle:PM,ellipsisTail:Jg,getDefault:LM},Symbol.toStringTag,{value:"Module"}));function OM(r){var e=r.attr("matrix");return e&&e[0]!==1}function ty(r){var e=OM(r)?rM(r.attr("matrix")):0;return e%360}function Iu(r,e,t,i){var n=!1,a=ty(e),o=Math.abs(r?t.attr("y")-e.attr("y"):t.attr("x")-e.attr("x")),s=(r?t.attr("y")>e.attr("y"):t.attr("x")>e.attr("x"))?e.getBBox():t.getBBox();if(r){var l=Math.abs(Math.cos(a));ts(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}else{var l=Math.abs(Math.sin(a));ts(l,0,Math.PI/180)?n=s.width+i>o:n=s.height/l+i>o}return n}function da(r,e,t,i){var n=(i==null?void 0:i.minGap)||0,a=e.getChildren().slice().filter(function(v){return v.get("visible")});if(!a.length)return!1;var o=!1;t&&a.reverse();for(var s=a.length,l=a[0],u=l,c=1;c1){f=Math.ceil(f);for(var p=0;p2){var o=n[0],s=n[n.length-1];o.get("visible")||(o.show(),da(r,e,!1,i)&&(a=!0)),s.get("visible")||(s.show(),da(r,e,!0,i)&&(a=!0))}return a}const VM=Object.freeze(Object.defineProperty({__proto__:null,equidistance:ry,equidistanceWithReverseBoth:GM,getDefault:BM,reserveBoth:NM,reserveFirst:RM,reserveLast:zM},Symbol.toStringTag,{value:"Module"}));function YM(r,e){C(r,function(t){var i=t.attr("x"),n=t.attr("y"),a=Fi({x:i,y:n},e);t.attr("matrix",a)})}function iy(r,e,t,i){var n=e.getChildren();if(!n.length||!r&&n.length<2)return!1;var a=Lu(n),o=!1;if(r)o=!!t&&a>t;else{var s=Math.abs(n[1].attr("x")-n[0].attr("x"));o=a>s}if(o){var l=i(t,a);YM(n,l)}return o}function $M(){return ny}function ny(r,e,t,i){return iy(r,e,t,function(){return nt(i)?i:r?ct.verticalAxisRotate:ct.horizontalAxisRotate})}function HM(r,e,t){return iy(r,e,t,function(i,n){if(!i)return r?ct.verticalAxisRotate:ct.horizontalAxisRotate;if(r)return-Math.acos(i/n);var a=0;return i>n?a=Math.PI/4:(a=Math.asin(i/n),a>Math.PI/4&&(a=Math.PI/4)),a})}const XM=Object.freeze(Object.defineProperty({__proto__:null,fixedAngle:ny,getDefault:$M,unfixedAngle:HM},Symbol.toStringTag,{value:"Module"})),ay=Object.freeze(Object.defineProperty({__proto__:null,autoEllipsis:DM,autoHide:VM,autoRotate:XM},Symbol.toStringTag,{value:"Module"}));var WM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getLinePath=function(){var t=this.get("start"),i=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",i.x,i.y]),n},e.prototype.getInnerLayoutBBox=function(){var t=this.get("start"),i=this.get("end"),n=r.prototype.getInnerLayoutBBox.call(this),a=Math.min(t.x,i.x,n.x),o=Math.min(t.y,i.y,n.y),s=Math.max(t.x,i.x,n.maxX),l=Math.max(t.y,i.y,n.maxY);return{x:a,y:o,minX:a,minY:o,maxX:s,maxY:l,width:s-a,height:l-o}},e.prototype.isVertical=function(){var t=this.get("start"),i=this.get("end");return Ut(t.x,i.x)},e.prototype.isHorizontal=function(){var t=this.get("start"),i=this.get("end");return Ut(t.y,i.y)},e.prototype.getTickPoint=function(t){var i=this,n=i.get("start"),a=i.get("end"),o=a.x-n.x,s=a.y-n.y;return{x:n.x+o*t,y:n.y+s*t}},e.prototype.getSideVector=function(t){var i=this.getAxisVector(),n=$p([0,0],i),a=this.get("verticalFactor"),o=[n[1],n[0]*-1];return oe([0,0],o,t*a)},e.prototype.getAxisVector=function(){var t=this.get("start"),i=this.get("end");return[i.x-t.x,i.y-t.y]},e.prototype.processOverlap=function(t){var i=this,n=this.isVertical(),a=this.isHorizontal();if(!(!n&&!a)){var o=this.get("label"),s=this.get("title"),l=this.get("verticalLimitLength"),u=o.offset,c=l,h=0,f=0;s&&(h=s.style.fontSize,f=s.spacing),c&&(c=c-u-f-h);var v=this.get("overlapOrder");if(C(v,function(g){o[g]&&i.canProcessOverlap(g)&&i.autoProcessOverlap(g,o[g],t,c)}),s&&R(s.offset)){var d=t.getCanvasBBox(),p=n?d.width:d.height;s.offset=u+p+f+h/2}}},e.prototype.canProcessOverlap=function(t){var i=this.get("label");return t==="autoRotate"?R(i.rotate):!0},e.prototype.autoProcessOverlap=function(t,i,n,a){var o=this,s=this.isVertical(),l=!1,u=ay[t];if(i===!0)this.get("label"),l=u.getDefault()(s,n,a);else if(W(i))l=i(s,n,a);else if(yt(i)){var c=i;u[c.type]&&(l=u[c.type](s,n,a,c.cfg))}else u[i]&&(l=u[i](s,n,a));if(t==="autoRotate"){if(l){var h=n.getChildren(),f=this.get("verticalFactor");C(h,function(d){var p=d.attr("textAlign");if(p==="center"){var g=f>0?"end":"start";d.attr("textAlign",g)}})}}else if(t==="autoHide"){var v=n.getChildren().slice(0);C(v,function(d){d.get("visible")||(o.get("isRegister")&&o.unregisterElement(d),d.remove())})}},e}(Kg),_M=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{type:"circle",locationType:"circle",center:null,radius:null,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getLinePath=function(){var t=this.get("center"),i=t.x,n=t.y,a=this.get("radius"),o=a,s=this.get("startAngle"),l=this.get("endAngle"),u=[];if(Math.abs(l-s)===Math.PI*2)u=[["M",i,n-o],["A",a,o,0,1,1,i,n+o],["A",a,o,0,1,1,i,n-o],["Z"]];else{var c=this.getCirclePoint(s),h=this.getCirclePoint(l),f=Math.abs(l-s)>Math.PI?1:0,v=s>l?0:1;u=[["M",i,n],["L",c.x,c.y],["A",a,o,0,f,v,h.x,h.y],["L",i,n]]}return u},e.prototype.getTickPoint=function(t){var i=this.get("startAngle"),n=this.get("endAngle"),a=i+(n-i)*t;return this.getCirclePoint(a)},e.prototype.getSideVector=function(t,i){var n=this.get("center"),a=[i.x-n.x,i.y-n.y],o=this.get("verticalFactor"),s=qi(a);return oe(a,a,o*t/s),a},e.prototype.getAxisVector=function(t){var i=this.get("center"),n=[t.x-i.x,t.y-i.y];return[n[1],-1*n[0]]},e.prototype.getCirclePoint=function(t,i){var n=this.get("center");return i=i||this.get("radius"),{x:n.x+Math.cos(t)*i,y:n.y+Math.sin(t)*i}},e.prototype.canProcessOverlap=function(t){var i=this.get("label");return t==="autoRotate"?R(i.rotate):!0},e.prototype.processOverlap=function(t){var i=this,n=this.get("label"),a=this.get("title"),o=this.get("verticalLimitLength"),s=n.offset,l=o,u=0,c=0;a&&(u=a.style.fontSize,c=a.spacing),l&&(l=l-s-c-u);var h=this.get("overlapOrder");if(C(h,function(v){n[v]&&i.canProcessOverlap(v)&&i.autoProcessOverlap(v,n[v],t,l)}),a&&R(a.offset)){var f=t.getCanvasBBox().height;a.offset=s+f+c+u/2}},e.prototype.autoProcessOverlap=function(t,i,n,a){var o=this,s=!1,l=ay[t];if(a>0)if(i===!0)s=l.getDefault()(!1,n,a);else if(W(i))s=i(!1,n,a);else if(yt(i)){var u=i;l[u.type]&&(s=l[u.type](!1,n,a,u.cfg))}else l[i]&&(s=l[i](!1,n,a));if(t==="autoRotate"){if(s){var c=n.getChildren(),h=this.get("verticalFactor");C(c,function(v){var d=v.attr("textAlign");if(d==="center"){var p=h>0?"end":"start";v.attr("textAlign",p)}})}}else if(t==="autoHide"){var f=n.getChildren().slice(0);C(f,function(v){v.get("visible")||(o.get("isRegister")&&o.unregisterElement(v),v.remove())})}},e}(Kg),Oc=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"crosshair",type:"base",line:{},text:null,textBackground:{},capture:!1,defaultCfg:{line:{style:{lineWidth:1,stroke:ct.lineColor}},text:{position:"start",offset:10,autoRotate:!1,content:null,style:{fill:ct.textColor,textAlign:"center",textBaseline:"middle",fontFamily:ct.fontFamily}},textBackground:{padding:5,style:{stroke:ct.lineColor}}}})},e.prototype.renderInner=function(t){this.get("line")&&this.renderLine(t),this.get("text")&&(this.renderText(t),this.renderBackground(t))},e.prototype.renderText=function(t){var i=this.get("text"),n=i.style,a=i.autoRotate,o=i.content;if(!R(o)){var s=this.getTextPoint(),l=null;if(a){var u=this.getRotateAngle();l=Fi(s,u)}this.addShape(t,{type:"text",name:"crosshair-text",id:this.getElementId("text"),attrs:D(D(D({},s),{text:o,matrix:l}),n)})}},e.prototype.renderLine=function(t){var i=this.getLinePath(),n=this.get("line"),a=n.style;this.addShape(t,{type:"path",name:"crosshair-line",id:this.getElementId("line"),attrs:D({path:i},a)})},e.prototype.renderBackground=function(t){var i=this.getElementId("text"),n=t.findById(i),a=this.get("textBackground");if(a&&n){var o=n.getBBox(),s=Jo(a.padding),l=a.style,u=this.addShape(t,{type:"rect",name:"crosshair-text-background",id:this.getElementId("text-background"),attrs:D({x:o.x-s[3],y:o.y-s[0],width:o.width+s[1]+s[3],height:o.height+s[0]+s[2],matrix:n.attr("matrix")},l)});u.toBack()}},e}(ee),oy=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{type:"line",locationType:"region",start:null,end:null})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text").position,o=Math.atan2(n.y-i.y,n.x-i.x),s=a==="start"?o-Math.PI/2:o+Math.PI/2;return s},e.prototype.getTextPoint=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text"),o=a.position,s=a.offset;return Zg(i,n,o,s)},e.prototype.getLinePath=function(){var t=this.getLocation(),i=t.start,n=t.end;return[["M",i.x,i.y],["L",n.x,n.y]]},e}(Oc),qM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{type:"circle",locationType:"circle",center:null,radius:100,startAngle:-Math.PI/2,endAngle:Math.PI*3/2})},e.prototype.getRotateAngle=function(){var t=this.getLocation(),i=t.startAngle,n=t.endAngle,a=this.get("text").position,o=a==="start"?i+Math.PI/2:n-Math.PI/2;return o},e.prototype.getTextPoint=function(){var t=this.get("text"),i=t.position,n=t.offset,a=this.getLocation(),o=a.center,s=a.radius,l=a.startAngle,u=a.endAngle,c=i==="start"?l:u,h=this.getRotateAngle()-Math.PI,f=Qi(o,s,c),v=Math.cos(h)*n,d=Math.sin(h)*n;return{x:f.x+v,y:f.y+d}},e.prototype.getLinePath=function(){var t=this.getLocation(),i=t.center,n=t.radius,a=t.startAngle,o=t.endAngle,s=null;if(o-a===Math.PI*2){var l=i.x,u=i.y;s=[["M",l,u-n],["A",n,n,0,1,1,l,u+n],["A",n,n,0,1,1,l,u-n],["Z"]]}else{var c=Qi(i,n,a),h=Qi(i,n,o),f=Math.abs(o-a)>Math.PI?1:0,v=a>o?0:1;s=[["M",c.x,c.y],["A",n,n,0,f,v,h.x,h.y]]}return s},e}(Oc),pa="g2-crosshair",Pu=pa+"-line",Du=pa+"-text",Dn;const UM=(Dn={},Dn[""+pa]={position:"relative"},Dn[""+Pu]={position:"absolute",backgroundColor:"rgba(0, 0, 0, 0.25)"},Dn[""+Du]={position:"absolute",color:ct.textColor,fontFamily:ct.fontFamily},Dn);var jM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"crosshair",type:"html",locationType:"region",start:{x:0,y:0},end:{x:0,y:0},capture:!1,text:null,containerTpl:'
',crosshairTpl:'
',textTpl:'{content}',domStyles:null,containerClassName:pa,defaultStyles:UM,defaultCfg:{text:{position:"start",content:null,align:"center",offset:10}}})},e.prototype.render=function(){this.resetText(),this.resetPosition()},e.prototype.initCrossHair=function(){var t=this.getContainer(),i=this.get("crosshairTpl"),n=Vr(i);t.appendChild(n),this.applyStyle(Pu,n),this.set("crosshairEl",n)},e.prototype.getTextPoint=function(){var t=this.getLocation(),i=t.start,n=t.end,a=this.get("text"),o=a.position,s=a.offset;return Zg(i,n,o,s)},e.prototype.resetText=function(){var t=this.get("text"),i=this.get("textEl");if(t){var n=t.content;if(!i){var a=this.getContainer(),o=Mp(this.get("textTpl"),t);i=Vr(o),a.appendChild(i),this.applyStyle(Du,i),this.set("textEl",i)}i.innerHTML=n}else i&&i.remove()},e.prototype.isVertical=function(t,i){return t.x===i.x},e.prototype.resetPosition=function(){var t=this.get("crosshairEl");t||(this.initCrossHair(),t=this.get("crosshairEl"));var i=this.get("start"),n=this.get("end"),a=Math.min(i.x,n.x),o=Math.min(i.y,n.y);this.isVertical(i,n)?re(t,{width:"1px",height:he(Math.abs(n.y-i.y))}):re(t,{height:"1px",width:he(Math.abs(n.x-i.x))}),re(t,{top:he(o),left:he(a)}),this.alignText()},e.prototype.alignText=function(){var t=this.get("textEl");if(t){var i=this.get("text").align,n=t.clientWidth,a=this.getTextPoint();switch(i){case"center":a.x=a.x-n/2;break;case"right":a.x=a.x-n}re(t,{top:he(a.y),left:he(a.x)})}},e.prototype.updateInner=function(t){Hr(t,"text")&&this.resetText(),r.prototype.updateInner.call(this,t)},e}(Pc);const pv=Object.freeze(Object.defineProperty({__proto__:null,Base:Oc,Circle:qM,Html:jM,Line:oy},Symbol.toStringTag,{value:"Module"}));var sy=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"grid",line:{},alternateColor:null,capture:!1,items:[],closed:!1,defaultCfg:{line:{type:"line",style:{lineWidth:1,stroke:ct.lineColor}}}})},e.prototype.getLineType=function(){var t=this.get("line")||this.get("defaultCfg").line;return t.type},e.prototype.renderInner=function(t){this.drawGrid(t)},e.prototype.getAlternatePath=function(t,i){var n=this.getGridPath(t),a=i.slice(0).reverse(),o=this.getGridPath(a,!0),s=this.get("closed");return s?n=n.concat(o):(o[0][0]="L",n=n.concat(o),n.push(["Z"])),n},e.prototype.getPathStyle=function(){return this.get("line").style},e.prototype.drawGrid=function(t){var i=this,n=this.get("line"),a=this.get("items"),o=this.get("alternateColor"),s=null;C(a,function(l,u){var c=l.id||u;if(n){var h=i.getPathStyle();h=W(h)?h(l,u,a):h;var f=i.getElementId("line-"+c),v=i.getGridPath(l.points);i.addShape(t,{type:"path",name:"grid-line",id:f,attrs:xt({path:v},h)})}if(o&&u>0){var d=i.getElementId("region-"+c),p=u%2===0;if(J(o))p&&i.drawAlternateRegion(d,t,s.points,l.points,o);else{var g=p?o[1]:o[0];i.drawAlternateRegion(d,t,s.points,l.points,g)}}s=l})},e.prototype.drawAlternateRegion=function(t,i,n,a,o){var s=this.getAlternatePath(n,a);this.addShape(i,{type:"path",id:t,name:"grid-region",attrs:{path:s,fill:o}})},e}(ee);function ZM(r,e,t,i){var n=t-r,a=i-e;return Math.sqrt(n*n+a*a)}var QM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{type:"circle",center:null,closed:!0})},e.prototype.getGridPath=function(t,i){var n=this.getLineType(),a=this.get("closed"),o=[];if(t.length)if(n==="circle"){var s=this.get("center"),l=t[0],u=ZM(s.x,s.y,l.x,l.y),c=i?0:1;a?(o.push(["M",s.x,s.y-u]),o.push(["A",u,u,0,0,c,s.x,s.y+u]),o.push(["A",u,u,0,0,c,s.x,s.y-u]),o.push(["Z"])):C(t,function(h,f){f===0?o.push(["M",h.x,h.y]):o.push(["A",u,u,0,0,c,h.x,h.y])})}else C(t,function(h,f){f===0?o.push(["M",h.x,h.y]):o.push(["L",h.x,h.y])}),a&&o.push(["Z"]);return o},e}(sy),KM=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{type:"line"})},e.prototype.getGridPath=function(t){var i=[];return C(t,function(n,a){a===0?i.push(["M",n.x,n.y]):i.push(["L",n.x,n.y])}),i},e}(sy),ly=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"legend",layout:"horizontal",locationType:"point",x:0,y:0,offsetX:0,offsetY:0,title:null,background:null})},e.prototype.getLayoutBBox=function(){var t=r.prototype.getLayoutBBox.call(this),i=this.get("maxWidth"),n=this.get("maxHeight"),a=t.width,o=t.height;return i&&(a=Math.min(a,i)),n&&(o=Math.min(o,n)),Gs(t.minX,t.minY,a,o)},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetLocation()},e.prototype.resetLocation=function(){var t=this.get("x"),i=this.get("y"),n=this.get("offsetX"),a=this.get("offsetY");this.moveElementTo(this.get("group"),{x:t+n,y:i+a})},e.prototype.applyOffset=function(){this.resetLocation()},e.prototype.getDrawPoint=function(){return this.get("currentPoint")},e.prototype.setDrawPoint=function(t){return this.set("currentPoint",t)},e.prototype.renderInner=function(t){this.resetDraw(),this.get("title")&&this.drawTitle(t),this.drawLegendContent(t),this.get("background")&&this.drawBackground(t)},e.prototype.drawBackground=function(t){var i=this.get("background"),n=t.getBBox(),a=Jo(i.padding),o=D({x:0,y:0,width:n.width+a[1]+a[3],height:n.height+a[0]+a[2]},i.style),s=this.addShape(t,{type:"rect",id:this.getElementId("background"),name:"legend-background",attrs:o});s.toBack()},e.prototype.drawTitle=function(t){var i=this.get("currentPoint"),n=this.get("title"),a=n.spacing,o=n.style,s=n.text,l=this.addShape(t,{type:"text",id:this.getElementId("title"),name:"legend-title",attrs:D({text:s,x:i.x,y:i.y},o)}),u=l.getBBox();this.set("currentPoint",{x:i.x,y:u.maxY+a})},e.prototype.resetDraw=function(){var t=this.get("background"),i={x:0,y:0};if(t){var n=Jo(t.padding);i.x=n[3],i.y=n[0]}this.set("currentPoint",i)},e}(ee),Pl={marker:{style:{inactiveFill:"#000",inactiveOpacity:.45,fill:"#000",opacity:1,size:12}},text:{style:{fill:"#ccc",fontSize:12}}},oo={fill:ct.textColor,fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:ct.fontFamily,fontWeight:"normal",lineHeight:12},Dl="navigation-arrow-right",Ol="navigation-arrow-left",gv={right:90*Math.PI/180,left:270*Math.PI/180,up:0,down:180*Math.PI/180},JM=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.currentPageIndex=1,t.totalPagesCnt=1,t.pageWidth=0,t.pageHeight=0,t.startX=0,t.startY=0,t.onNavigationBack=function(){var i=t.getElementByLocalId("item-group");if(t.currentPageIndex>1){t.currentPageIndex-=1,t.updateNavigation();var n=t.getCurrentNavigationMatrix();t.get("animate")?i.animate({matrix:n},100):i.attr({matrix:n})}},t.onNavigationAfter=function(){var i=t.getElementByLocalId("item-group");if(t.currentPageIndexg&&(g=F),v==="horizontal"?(y&&yu}if(s==="horizontal"){var T=this.get("maxRow")||1,k=v+(T===1?0:M),E=u-f-g.width-g.minX;this.pageHeight=k*T,this.pageWidth=E,C(l,function(B){var N=B.getBBox(),Y=h||N.width;(w&&wx&&(x=N.width)}),S=x,x+=f,u&&(x=Math.min(u,x),S=Math.min(u,S)),this.pageWidth=x,this.pageHeight=c-Math.max(g.height,v+M);var I=Math.floor(this.pageHeight/(v+M));C(l,function(B,N){N!==0&&N%I===0&&(m+=1,y.x+=x,y.y=o),n.moveElementTo(B,y),B.getParent().setClip({type:"rect",attrs:{x:y.x,y:y.y,width:x,height:v}}),y.y+=v+M}),this.totalPagesCnt=m,this.moveElementTo(p,{x:a+S/2-g.width/2-g.minX,y:c-g.height-g.minY})}this.pageHeight&&this.pageWidth&&i.getParent().setClip({type:"rect",attrs:{x:this.startX,y:this.startY,width:this.pageWidth,height:this.pageHeight}}),s==="horizontal"&&this.get("maxRow")?this.totalPagesCnt=Math.ceil(m/this.get("maxRow")):this.totalPagesCnt=m,this.currentPageIndex>this.totalPagesCnt&&(this.currentPageIndex=1),this.updateNavigation(p),i.attr("matrix",this.getCurrentNavigationMatrix())},e.prototype.drawNavigation=function(t,i,n,a){var o={x:0,y:0},s=this.addGroup(t,{id:this.getElementId("navigation-group"),name:"legend-navigation"}),l=A(a.marker,"style",{}),u=l.size,c=u===void 0?12:u,h=Os(l,["size"]),f=this.drawArrow(s,o,Ol,i==="horizontal"?"up":"left",c,h);f.on("click",this.onNavigationBack);var v=f.getBBox();o.x+=v.width+2;var d=this.addShape(s,{type:"text",id:this.getElementId("navigation-text"),name:"navigation-text",attrs:D({x:o.x,y:o.y+c/2,text:n,textBaseline:"middle"},A(a.text,"style"))}),p=d.getBBox();o.x+=p.width+2;var g=this.drawArrow(s,o,Dl,i==="horizontal"?"down":"right",c,h);return g.on("click",this.onNavigationAfter),s},e.prototype.updateNavigation=function(t){var i=X({},Pl,this.get("pageNavigator")),n=i.marker.style,a=n.fill,o=n.opacity,s=n.inactiveFill,l=n.inactiveOpacity,u=this.currentPageIndex+"/"+this.totalPagesCnt,c=t?t.getChildren()[1]:this.getElementByLocalId("navigation-text"),h=t?t.findById(this.getElementId(Ol)):this.getElementByLocalId(Ol),f=t?t.findById(this.getElementId(Dl)):this.getElementByLocalId(Dl);c.attr("text",u),h.attr("opacity",this.currentPageIndex===1?l:o),h.attr("fill",this.currentPageIndex===1?s:a),h.attr("cursor",this.currentPageIndex===1?"not-allowed":"pointer"),f.attr("opacity",this.currentPageIndex===this.totalPagesCnt?l:o),f.attr("fill",this.currentPageIndex===this.totalPagesCnt?s:a),f.attr("cursor",this.currentPageIndex===this.totalPagesCnt?"not-allowed":"pointer");var v=h.getBBox().maxX+2;c.attr("x",v),v+=c.getBBox().width+2,this.updateArrowPath(f,{x:v,y:0})},e.prototype.drawArrow=function(t,i,n,a,o,s){var l=i.x,u=i.y,c=this.addShape(t,{type:"path",id:this.getElementId(n),name:n,attrs:D({size:o,direction:a,path:[["M",l+o/2,u],["L",l,u+o],["L",l+o,u+o],["Z"]],cursor:"pointer"},s)});return c.attr("matrix",Fi({x:l+o/2,y:u+o/2},gv[a])),c},e.prototype.updateArrowPath=function(t,i){var n=i.x,a=i.y,o=t.attr(),s=o.size,l=o.direction,u=Fi({x:n+s/2,y:a+s/2},gv[l]);t.attr("path",[["M",n+s/2,a],["L",n,a+s],["L",n+s,a+s],["Z"]]),t.attr("matrix",u)},e.prototype.getCurrentNavigationMatrix=function(){var t=this,i=t.currentPageIndex,n=t.pageWidth,a=t.pageHeight,o=this.get("layout"),s=o==="horizontal"?{x:0,y:a*(1-i)}:{x:n*(1-i),y:0};return kc(s)},e.prototype.applyItemStates=function(t,i){var n=this.getItemStates(t),a=n.length>0;if(a){var o=i.getChildren(),s=this.get("itemStates");C(o,function(l){var u=l.get("name"),c=u.split("-")[2],h=$n(t,c,s);h&&(l.attr(h),c==="marker"&&!(l.get("isStroke")&&l.get("isFill"))&&(l.get("isStroke")&&l.attr("fill",null),l.get("isFill")&&l.attr("stroke",null)))})}},e.prototype.getLimitItemWidth=function(){var t=this.get("itemWidth"),i=this.get("maxItemWidth");return i?t&&(i=t<=i?t:i):t&&(i=t),i},e}(ly),tA=1.4,yv=.4,eA=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{type:"continue",min:0,max:100,value:null,colors:[],track:{},rail:{},label:{},handler:{},slidable:!0,tip:null,step:null,maxWidth:null,maxHeight:null,defaultCfg:{label:{align:"rail",spacing:5,formatter:null,style:{fontSize:12,fill:ct.textColor,textBaseline:"middle",fontFamily:ct.fontFamily}},handler:{size:10,style:{fill:"#fff",stroke:"#333"}},track:{},rail:{type:"color",size:20,defaultLength:100,style:{fill:"#DCDEE2"}},title:{spacing:5,style:{fill:ct.textColor,fontSize:12,textAlign:"start",textBaseline:"top"}}}})},e.prototype.isSlider=function(){return!0},e.prototype.getValue=function(){return this.getCurrentValue()},e.prototype.getRange=function(){return{min:this.get("min"),max:this.get("max")}},e.prototype.setRange=function(t,i){this.update({min:t,max:i})},e.prototype.setValue=function(t){var i=this.getValue();this.set("value",t);var n=this.get("group");this.resetTrackClip(),this.get("slidable")&&this.resetHandlers(n),this.delegateEmit("valuechanged",{originValue:i,value:t})},e.prototype.initEvent=function(){var t=this.get("group");this.bindSliderEvent(t),this.bindRailEvent(t),this.bindTrackEvent(t)},e.prototype.drawLegendContent=function(t){this.drawRail(t),this.drawLabels(t),this.fixedElements(t),this.resetTrack(t),this.resetTrackClip(t),this.get("slidable")&&this.resetHandlers(t)},e.prototype.bindSliderEvent=function(t){this.bindHandlersEvent(t)},e.prototype.bindHandlersEvent=function(t){var i=this;t.on("legend-handler-min:drag",function(n){var a=i.getValueByCanvasPoint(n.x,n.y),o=i.getCurrentValue(),s=o[1];sa&&(s=a),i.setValue([s,a])})},e.prototype.bindRailEvent=function(t){},e.prototype.bindTrackEvent=function(t){var i=this,n=null;t.on("legend-track:dragstart",function(a){n={x:a.x,y:a.y}}),t.on("legend-track:drag",function(a){if(n){var o=i.getValueByCanvasPoint(n.x,n.y),s=i.getValueByCanvasPoint(a.x,a.y),l=i.getCurrentValue(),u=l[1]-l[0],c=i.getRange(),h=s-o;h<0?l[0]+h>c.min?i.setValue([l[0]+h,l[1]+h]):i.setValue([c.min,c.min+u]):h>0&&(h>0&&l[1]+ho&&(h=o),h0&&this.changeRailLength(a,s,n[s]-v)}},e.prototype.changeRailLength=function(t,i,n){var a=t.getBBox(),o;i==="height"?o=this.getRailPath(a.x,a.y,a.width,n):o=this.getRailPath(a.x,a.y,n,a.height),t.attr("path",o)},e.prototype.changeRailPosition=function(t,i,n){var a=t.getBBox(),o=this.getRailPath(i,n,a.width,a.height);t.attr("path",o)},e.prototype.fixedHorizontal=function(t,i,n,a){var o=this.get("label"),s=o.align,l=o.spacing,u=n.getBBox(),c=t.getBBox(),h=i.getBBox(),f=u.height;this.fitRailLength(c,h,u,n),u=n.getBBox(),s==="rail"?(t.attr({x:a.x,y:a.y+f/2}),this.changeRailPosition(n,a.x+c.width+l,a.y),i.attr({x:a.x+c.width+u.width+l*2,y:a.y+f/2})):s==="top"?(t.attr({x:a.x,y:a.y}),i.attr({x:a.x+u.width,y:a.y}),this.changeRailPosition(n,a.x,a.y+c.height+l)):(this.changeRailPosition(n,a.x,a.y),t.attr({x:a.x,y:a.y+u.height+l}),i.attr({x:a.x+u.width,y:a.y+u.height+l}))},e.prototype.fixedVertail=function(t,i,n,a){var o=this.get("label"),s=o.align,l=o.spacing,u=n.getBBox(),c=t.getBBox(),h=i.getBBox();if(this.fitRailLength(c,h,u,n),u=n.getBBox(),s==="rail")t.attr({x:a.x,y:a.y}),this.changeRailPosition(n,a.x,a.y+c.height+l),i.attr({x:a.x,y:a.y+c.height+u.height+l*2});else if(s==="right")t.attr({x:a.x+u.width+l,y:a.y}),this.changeRailPosition(n,a.x,a.y),i.attr({x:a.x+u.width+l,y:a.y+u.height});else{var f=Math.max(c.width,h.width);t.attr({x:a.x,y:a.y}),this.changeRailPosition(n,a.x+f+l,a.y),i.attr({x:a.x,y:a.y+u.height})}},e}(ly),Sr="g2-tooltip",Cr="g2-tooltip-title",ga="g2-tooltip-list",Ys="g2-tooltip-list-item",$s="g2-tooltip-marker",Hs="g2-tooltip-value",uy="g2-tooltip-name",Bc="g2-tooltip-crosshair-x",Rc="g2-tooltip-crosshair-y";const rA=Object.freeze(Object.defineProperty({__proto__:null,CONTAINER_CLASS:Sr,CROSSHAIR_X:Bc,CROSSHAIR_Y:Rc,LIST_CLASS:ga,LIST_ITEM_CLASS:Ys,MARKER_CLASS:$s,NAME_CLASS:uy,TITLE_CLASS:Cr,VALUE_CLASS:Hs},Symbol.toStringTag,{value:"Module"}));var je;const iA=(je={},je[""+Sr]={position:"absolute",visibility:"visible",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:ct.fontFamily,lineHeight:"20px",padding:"10px 10px 6px 10px"},je[""+Cr]={marginBottom:"4px"},je[""+ga]={margin:"0px",listStyleType:"none",padding:"0px"},je[""+Ys]={listStyleType:"none",marginBottom:"4px"},je[""+$s]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},je[""+Hs]={display:"inline-block",float:"right",marginLeft:"30px"},je[""+Bc]={position:"absolute",width:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},je[""+Rc]={position:"absolute",height:"1px",backgroundColor:"rgba(0, 0, 0, 0.25)"},je);function nA(r,e,t,i,n){var a={left:rn.x+n.width,top:en.y+n.height};return a}function aA(r,e,t,i,n,a){var o=r,s=e;switch(a){case"left":o=r-i-t,s=e-n/2;break;case"right":o=r+t,s=e-n/2;break;case"top":o=r-i/2,s=e-n-t;break;case"bottom":o=r-i/2,s=e+t;break;default:o=r+t,s=e-n-t;break}return{x:o,y:s}}function oA(r,e,t,i,n,a,o){var s=aA(r,e,t,i,n,a);if(o){var l=nA(s.x,s.y,i,n,o);a==="auto"?(l.right&&(s.x=Math.max(0,r-i-t)),l.top&&(s.y=Math.max(0,e-n-t))):a==="top"||a==="bottom"?(l.left&&(s.x=o.x),l.right&&(s.x=o.x+o.width-i),a==="top"&&l.top&&(s.y=e+t),a==="bottom"&&l.bottom&&(s.y=e-n-t)):(l.top&&(s.y=o.y),l.bottom&&(s.y=o.y+o.height-n),a==="left"&&l.left&&(s.x=r+t),a==="right"&&l.right&&(s.x=r-i-t))}return s}function sA(r,e){var t=!1;return C(e,function(i){if(Hr(r,i))return t=!0,!1}),t}var lA=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"tooltip",type:"html",x:0,y:0,items:[],customContent:null,containerTpl:'
    ',itemTpl:'
  • + + {name}: + {value} +
  • `,xCrosshairTpl:'
    ',yCrosshairTpl:'
    ',title:null,showTitle:!0,region:null,crosshairsRegion:null,containerClassName:Sr,crosshairs:null,offset:10,position:"right",domStyles:null,defaultStyles:iA})},e.prototype.render=function(){this.get("customContent")?this.renderCustomContent():(this.resetTitle(),this.renderItems()),this.resetPosition()},e.prototype.clear=function(){this.clearCrosshairs(),this.setTitle(""),this.clearItemDoms()},e.prototype.show=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!0),re(t,{visibility:"visible"}),this.setCrossHairsVisible(!0))},e.prototype.hide=function(){var t=this.getContainer();!t||this.destroyed||(this.set("visible",!1),re(t,{visibility:"hidden"}),this.setCrossHairsVisible(!1))},e.prototype.getLocation=function(){return{x:this.get("x"),y:this.get("y")}},e.prototype.setLocation=function(t){this.set("x",t.x),this.set("y",t.y),this.resetPosition()},e.prototype.setCrossHairsVisible=function(t){var i=t?"":"none",n=this.get("xCrosshairDom"),a=this.get("yCrosshairDom");n&&re(n,{display:i}),a&&re(a,{display:i})},e.prototype.initContainer=function(){if(r.prototype.initContainer.call(this),this.get("customContent")){this.get("container")&&this.get("container").remove();var t=this.getHtmlContentNode();this.get("parent").appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()}},e.prototype.updateInner=function(t){this.get("customContent")?this.renderCustomContent():(sA(t,["title","showTitle"])&&this.resetTitle(),Hr(t,"items")&&this.renderItems()),r.prototype.updateInner.call(this,t)},e.prototype.initDom=function(){this.cacheDoms()},e.prototype.removeDom=function(){r.prototype.removeDom.call(this),this.clearCrosshairs()},e.prototype.resetPosition=function(){var t=this.get("x"),i=this.get("y"),n=this.get("offset"),a=this.getOffset(),o=a.offsetX,s=a.offsetY,l=this.get("position"),u=this.get("region"),c=this.getContainer(),h=this.getBBox(),f=h.width,v=h.height,d;u&&(d=va(u));var p=oA(t,i,n,f,v,l,d);re(c,{left:he(p.x+o),top:he(p.y+s)}),this.resetCrosshairs()},e.prototype.renderCustomContent=function(){var t=this.getHtmlContentNode(),i=this.get("parent"),n=this.get("container");n&&n.parentNode===i?i.replaceChild(t,n):i.appendChild(t),this.set("container",t),this.resetStyles(),this.applyStyles()},e.prototype.getHtmlContentNode=function(){var t,i=this.get("customContent");if(i){var n=i(this.get("title"),this.get("items"));Fp(n)?t=n:t=Vr(n)}return t},e.prototype.cacheDoms=function(){var t=this.getContainer(),i=t.getElementsByClassName(Cr)[0],n=t.getElementsByClassName(ga)[0];this.set("titleDom",i),this.set("listDom",n)},e.prototype.resetTitle=function(){var t=this.get("title"),i=this.get("showTitle");i&&t?this.setTitle(t):this.setTitle("")},e.prototype.setTitle=function(t){var i=this.get("titleDom");i&&(i.innerText=t)},e.prototype.resetCrosshairs=function(){var t=this.get("crosshairsRegion"),i=this.get("crosshairs");if(!t||!i)this.clearCrosshairs();else{var n=va(t),a=this.get("xCrosshairDom"),o=this.get("yCrosshairDom");i==="x"?(this.resetCrosshair("x",n),o&&(o.remove(),this.set("yCrosshairDom",null))):i==="y"?(this.resetCrosshair("y",n),a&&(a.remove(),this.set("xCrosshairDom",null))):(this.resetCrosshair("x",n),this.resetCrosshair("y",n)),this.setCrossHairsVisible(this.get("visible"))}},e.prototype.resetCrosshair=function(t,i){var n=this.checkCrosshair(t),a=this.get(t);t==="x"?re(n,{left:he(a),top:he(i.y),height:he(i.height)}):re(n,{top:he(a),left:he(i.x),width:he(i.width)})},e.prototype.checkCrosshair=function(t){var i=t+"CrosshairDom",n=t+"CrosshairTpl",a="CROSSHAIR_"+t.toUpperCase(),o=rA[a],s=this.get(i),l=this.get("parent");return s||(s=Vr(this.get(n)),this.applyStyle(o,s),l.appendChild(s),this.set(i,s)),s},e.prototype.renderItems=function(){this.clearItemDoms();var t=this.get("items"),i=this.get("itemTpl"),n=this.get("listDom");n&&(C(t,function(a){var o=Yr.toCSSGradient(a.color),s=D(D({},a),{color:o}),l=Mp(i,s),u=Vr(l);n.appendChild(u)}),this.applyChildrenStyles(n,this.get("domStyles")))},e.prototype.clearItemDoms=function(){this.get("listDom")&&Ic(this.get("listDom"))},e.prototype.clearCrosshairs=function(){var t=this.get("xCrosshairDom"),i=this.get("yCrosshairDom");t&&t.remove(),i&&i.remove(),this.set("xCrosshairDom",null),this.set("yCrosshairDom",null)},e}(Pc),uA={opacity:0},cA={stroke:"#C5C5C5",strokeOpacity:.85},hA={fill:"#CACED4",opacity:.85};function fA(r){return Ft(r,function(e,t){var i=t===0?"M":"L",n=e[0],a=e[1];return[i,n,a]})}function cy(r){return fA(r)}function vA(r){if(r.length<=2)return cy(r);var e=[];C(r,function(o){Ot(o,e.slice(e.length-2))||e.push(o[0],o[1])});var t=MS(e,!1),i=be(r),n=i[0],a=i[1];return t.unshift(["M",n,a]),t}function dA(r,e,t,i){i===void 0&&(i=!0);var n=new zs({values:r}),a=new Bs({values:Ft(r,function(s,l){return l})}),o=Ft(r,function(s,l){return[a.scale(l)*e,t-n.scale(s)*t]});return i?vA(o):cy(o)}function pA(r,e){var t=new zs({values:r}),i=t.max<0?t.max:Math.max(0,t.min);return e-t.scale(i)*e}function gA(r,e,t,i){var n=Tu(r),a=pA(i,t);return n.push(["L",e,a]),n.push(["L",0,a]),n.push(["Z"]),n}var yA=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"trend",x:0,y:0,width:200,height:16,smooth:!0,isArea:!1,data:[],backgroundStyle:uA,lineStyle:cA,areaStyle:hA})},e.prototype.renderInner=function(t){var i=this.cfg,n=i.width,a=i.height,o=i.data,s=i.smooth,l=i.isArea,u=i.backgroundStyle,c=i.lineStyle,h=i.areaStyle;this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:D({x:0,y:0,width:n,height:a},u)});var f=dA(o,n,a,s);if(this.addShape(t,{id:this.getElementId("line"),type:"path",attrs:D({path:f},c)}),l){var v=gA(f,n,a,o);this.addShape(t,{id:this.getElementId("area"),type:"path",attrs:D({path:v},h)})}},e.prototype.applyOffset=function(){var t=this.cfg,i=t.x,n=t.y;this.moveElementTo(this.get("group"),{x:i,y:n})},e}(ee),hy={fill:"#F7F7F7",stroke:"#BFBFBF",radius:2,opacity:1,cursor:"ew-resize",highLightFill:"#FFF"},mv=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"handler",x:0,y:0,width:10,height:24,style:hy})},e.prototype.renderInner=function(t){var i=this.cfg,n=i.width,a=i.height,o=i.style,s=o.fill,l=o.stroke,u=o.radius,c=o.opacity,h=o.cursor;this.addShape(t,{type:"rect",id:this.getElementId("background"),attrs:{x:0,y:0,width:n,height:a,fill:s,stroke:l,radius:u,opacity:c,cursor:h}});var f=1/3*n,v=2/3*n,d=1/4*a,p=3/4*a;this.addShape(t,{id:this.getElementId("line-left"),type:"line",attrs:{x1:f,y1:d,x2:f,y2:p,stroke:l,cursor:h}}),this.addShape(t,{id:this.getElementId("line-right"),type:"line",attrs:{x1:v,y1:d,x2:v,y2:p,stroke:l,cursor:h}})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.bindEvents=function(){var t=this;this.get("group").on("mouseenter",function(){var i=t.get("style").highLightFill;t.getElementByLocalId("background").attr("fill",i),t.draw()}),this.get("group").on("mouseleave",function(){var i=t.get("style").fill;t.getElementByLocalId("background").attr("fill",i),t.draw()})},e.prototype.draw=function(){var t=this.get("container").get("canvas");t&&t.draw()},e}(ee),mA={fill:"#416180",opacity:.05},xA={fill:"#5B8FF9",opacity:.15,cursor:"move"},Do=10,wA={width:Do,height:24},bA={textBaseline:"middle",fill:"#000",opacity:.45},SA="sliderchange",CA=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.onMouseDown=function(i){return function(n){t.currentTarget=i;var a=n.originalEvent;a.stopPropagation(),a.preventDefault(),t.prevX=A(a,"touches.0.pageX",a.pageX),t.prevY=A(a,"touches.0.pageY",a.pageY);var o=t.getContainerDOM();o.addEventListener("mousemove",t.onMouseMove),o.addEventListener("mouseup",t.onMouseUp),o.addEventListener("mouseleave",t.onMouseUp),o.addEventListener("touchmove",t.onMouseMove),o.addEventListener("touchend",t.onMouseUp),o.addEventListener("touchcancel",t.onMouseUp)}},t.onMouseMove=function(i){var n=t.cfg.width,a=[t.get("start"),t.get("end")];i.stopPropagation(),i.preventDefault();var o=A(i,"touches.0.pageX",i.pageX),s=A(i,"touches.0.pageY",i.pageY),l=o-t.prevX,u=t.adjustOffsetRange(l/n);t.updateStartEnd(u),t.updateUI(t.getElementByLocalId("foreground"),t.getElementByLocalId("minText"),t.getElementByLocalId("maxText")),t.prevX=o,t.prevY=s,t.draw(),t.emit(SA,[t.get("start"),t.get("end")].sort()),t.delegateEmit("valuechanged",{originValue:a,value:[t.get("start"),t.get("end")]})},t.onMouseUp=function(){t.currentTarget&&(t.currentTarget=void 0);var i=t.getContainerDOM();i&&(i.removeEventListener("mousemove",t.onMouseMove),i.removeEventListener("mouseup",t.onMouseUp),i.removeEventListener("mouseleave",t.onMouseUp),i.removeEventListener("touchmove",t.onMouseMove),i.removeEventListener("touchend",t.onMouseUp),i.removeEventListener("touchcancel",t.onMouseUp))},t}return e.prototype.setRange=function(t,i){this.set("minLimit",t),this.set("maxLimit",i);var n=this.get("start"),a=this.get("end"),o=At(n,t,i),s=At(a,t,i);!this.get("isInit")&&(n!==o||a!==s)&&this.setValue([o,s])},e.prototype.getRange=function(){return{min:this.get("minLimit")||0,max:this.get("maxLimit")||1}},e.prototype.setValue=function(t){var i=this.getRange();if(z(t)&&t.length===2){var n=[this.get("start"),this.get("end")];this.update({start:At(t[0],i.min,i.max),end:At(t[1],i.min,i.max)}),this.get("updateAutoRender")||this.render(),this.delegateEmit("valuechanged",{originValue:n,value:t})}},e.prototype.getValue=function(){return[this.get("start"),this.get("end")]},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"slider",x:0,y:0,width:100,height:16,backgroundStyle:{},foregroundStyle:{},handlerStyle:{},textStyle:{},defaultCfg:{backgroundStyle:mA,foregroundStyle:xA,handlerStyle:wA,textStyle:bA}})},e.prototype.update=function(t){var i=t.start,n=t.end,a=D({},t);R(i)||(a.start=At(i,0,1)),R(n)||(a.end=At(n,0,1)),r.prototype.update.call(this,a),this.minHandler=this.getChildComponentById(this.getElementId("minHandler")),this.maxHandler=this.getChildComponentById(this.getElementId("maxHandler")),this.trend=this.getChildComponentById(this.getElementId("trend"))},e.prototype.init=function(){this.set("start",At(this.get("start"),0,1)),this.set("end",At(this.get("end"),0,1)),r.prototype.init.call(this)},e.prototype.render=function(){r.prototype.render.call(this),this.updateUI(this.getElementByLocalId("foreground"),this.getElementByLocalId("minText"),this.getElementByLocalId("maxText"))},e.prototype.renderInner=function(t){var i=this.cfg;i.start,i.end;var n=i.width,a=i.height,o=i.trendCfg,s=o===void 0?{}:o,l=i.minText,u=i.maxText,c=i.backgroundStyle,h=c===void 0?{}:c,f=i.foregroundStyle,v=f===void 0?{}:f,d=i.textStyle,p=d===void 0?{}:d,g=X({},hy,this.cfg.handlerStyle);$t(A(s,"data"))&&(this.trend=this.addComponent(t,D({component:yA,id:this.getElementId("trend"),x:0,y:0,width:n,height:a},s))),this.addShape(t,{id:this.getElementId("background"),type:"rect",attrs:D({x:0,y:0,width:n,height:a},h)}),this.addShape(t,{id:this.getElementId("minText"),type:"text",attrs:D({y:a/2,textAlign:"right",text:l,silent:!1},p)}),this.addShape(t,{id:this.getElementId("maxText"),type:"text",attrs:D({y:a/2,textAlign:"left",text:u,silent:!1},p)}),this.addShape(t,{id:this.getElementId("foreground"),name:"foreground",type:"rect",attrs:D({y:0,height:a},v)});var y=A(g,"width",Do),m=A(g,"height",24);this.minHandler=this.addComponent(t,{component:mv,id:this.getElementId("minHandler"),name:"handler-min",x:0,y:(a-m)/2,width:y,height:m,cursor:"ew-resize",style:g}),this.maxHandler=this.addComponent(t,{component:mv,id:this.getElementId("maxHandler"),name:"handler-max",x:0,y:(a-m)/2,width:y,height:m,cursor:"ew-resize",style:g})},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.updateUI=function(t,i,n){var a=this.cfg,o=a.start,s=a.end,l=a.width,u=a.minText,c=a.maxText,h=a.handlerStyle,f=a.height,v=o*l,d=s*l;this.trend&&(this.trend.update({width:l,height:f}),this.get("updateAutoRender")||this.trend.render()),t.attr("x",v),t.attr("width",d-v);var p=A(h,"width",Do);i.attr("text",u),n.attr("text",c);var g=this._dodgeText([v,d],i,n),y=g[0],m=g[1];this.minHandler&&(this.minHandler.update({x:v-p/2}),this.get("updateAutoRender")||this.minHandler.render()),C(y,function(w,x){return i.attr(x,w)}),this.maxHandler&&(this.maxHandler.update({x:d-p/2}),this.get("updateAutoRender")||this.maxHandler.render()),C(m,function(w,x){return n.attr(x,w)})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("handler-min:mousedown",this.onMouseDown("minHandler")),t.on("handler-min:touchstart",this.onMouseDown("minHandler")),t.on("handler-max:mousedown",this.onMouseDown("maxHandler")),t.on("handler-max:touchstart",this.onMouseDown("maxHandler"));var i=t.findById(this.getElementId("foreground"));i.on("mousedown",this.onMouseDown("foreground")),i.on("touchstart",this.onMouseDown("foreground"))},e.prototype.adjustOffsetRange=function(t){var i=this.cfg,n=i.start,a=i.end;switch(this.currentTarget){case"minHandler":{var o=0-n,s=1-n;return Math.min(s,Math.max(o,t))}case"maxHandler":{var o=0-a,s=1-a;return Math.min(s,Math.max(o,t))}case"foreground":{var o=0-n,s=1-a;return Math.min(s,Math.max(o,t))}}},e.prototype.updateStartEnd=function(t){var i=this.cfg,n=i.start,a=i.end;switch(this.currentTarget){case"minHandler":n+=t;break;case"maxHandler":a+=t;break;case"foreground":n+=t,a+=t;break}this.set("start",n),this.set("end",a)},e.prototype._dodgeText=function(t,i,n){var a,o,s=this.cfg,l=s.handlerStyle,u=s.width,c=2,h=A(l,"width",Do),f=t[0],v=t[1],d=!1;f>v&&(a=[v,f],f=a[0],v=a[1],o=[n,i],i=o[0],n=o[1],d=!0);var p=i.getBBox(),g=n.getBBox(),y=p.width>f-c?{x:f+h/2+c,textAlign:"left"}:{x:f-h/2-c,textAlign:"right"},m=g.width>u-v-c?{x:v-h/2-c,textAlign:"right"}:{x:v+h/2+c,textAlign:"left"};return d?[m,y]:[y,m]},e.prototype.draw=function(){var t=this.get("container"),i=t&&t.get("canvas");i&&i.draw()},e.prototype.getContainerDOM=function(){var t=this.get("container"),i=t&&t.get("canvas");return i&&i.get("container")},e}(ee),MA={trackColor:"rgba(0,0,0,0)",thumbColor:"rgba(0,0,0,0.15)",size:8,lineCap:"round"},Bl={default:MA,hover:{thumbColor:"rgba(0,0,0,0.2)"}},AA=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.clearEvents=Rr,t.onStartEvent=function(i){return function(n){t.isMobile=i,n.originalEvent.preventDefault();var a=i?A(n.originalEvent,"touches.0.clientX"):n.clientX,o=i?A(n.originalEvent,"touches.0.clientY"):n.clientY;t.startPos=t.cfg.isHorizontal?a:o,t.bindLaterEvent()}},t.bindLaterEvent=function(){var i=t.getContainerDOM(),n=[];t.isMobile?n=[Ni(i,"touchmove",t.onMouseMove),Ni(i,"touchend",t.onMouseUp),Ni(i,"touchcancel",t.onMouseUp)]:n=[Ni(i,"mousemove",t.onMouseMove),Ni(i,"mouseup",t.onMouseUp),Ni(i,"mouseleave",t.onMouseUp)],t.clearEvents=function(){n.forEach(function(a){a.remove()})}},t.onMouseMove=function(i){var n=t.cfg,a=n.isHorizontal,o=n.thumbOffset;i.preventDefault();var s=t.isMobile?A(i,"touches.0.clientX"):i.clientX,l=t.isMobile?A(i,"touches.0.clientY"):i.clientY,u=a?s:l,c=u-t.startPos;t.startPos=u,t.updateThumbOffset(o+c)},t.onMouseUp=function(i){i.preventDefault(),t.clearEvents()},t.onTrackClick=function(i){var n=t.cfg,a=n.isHorizontal,o=n.x,s=n.y,l=n.thumbLen,u=t.getContainerDOM(),c=u.getBoundingClientRect(),h=i.clientX,f=i.clientY,v=a?h-c.left-o-l/2:f-c.top-s-l/2,d=t.validateRange(v);t.updateThumbOffset(d)},t.onThumbMouseOver=function(){var i=t.cfg.theme.hover.thumbColor;t.getElementByLocalId("thumb").attr("stroke",i),t.draw()},t.onThumbMouseOut=function(){var i=t.cfg.theme.default.thumbColor;t.getElementByLocalId("thumb").attr("stroke",i),t.draw()},t}return e.prototype.setRange=function(t,i){this.set("minLimit",t),this.set("maxLimit",i);var n=this.getValue(),a=At(n,t,i);n!==a&&!this.get("isInit")&&this.setValue(a)},e.prototype.getRange=function(){var t=this.get("minLimit")||0,i=this.get("maxLimit")||1;return{min:t,max:i}},e.prototype.setValue=function(t){var i=this.getRange(),n=this.getValue();this.update({thumbOffset:(this.get("trackLen")-this.get("thumbLen"))*At(t,i.min,i.max)}),this.delegateEmit("valuechange",{originalValue:n,value:this.getValue()})},e.prototype.getValue=function(){return At(this.get("thumbOffset")/(this.get("trackLen")-this.get("thumbLen")),0,1)},e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return D(D({},t),{name:"scrollbar",isHorizontal:!0,minThumbLen:20,thumbOffset:0,theme:Bl})},e.prototype.renderInner=function(t){this.renderTrackShape(t),this.renderThumbShape(t)},e.prototype.applyOffset=function(){this.moveElementTo(this.get("group"),{x:this.get("x"),y:this.get("y")})},e.prototype.initEvent=function(){this.bindEvents()},e.prototype.renderTrackShape=function(t){var i=this.cfg,n=i.trackLen,a=i.theme,o=a===void 0?{default:{}}:a,s=X({},Bl,o).default,l=s.lineCap,u=s.trackColor,c=s.size,h=A(this.cfg,"size",c),f=this.get("isHorizontal")?{x1:0+h/2,y1:h/2,x2:n-h/2,y2:h/2,lineWidth:h,stroke:u,lineCap:l}:{x1:h/2,y1:0+h/2,x2:h/2,y2:n-h/2,lineWidth:h,stroke:u,lineCap:l};return this.addShape(t,{id:this.getElementId("track"),name:"track",type:"line",attrs:f})},e.prototype.renderThumbShape=function(t){var i=this.cfg,n=i.thumbOffset,a=i.thumbLen,o=i.theme,s=X({},Bl,o).default,l=s.size,u=s.lineCap,c=s.thumbColor,h=A(this.cfg,"size",l),f=this.get("isHorizontal")?{x1:n+h/2,y1:h/2,x2:n+a-h/2,y2:h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"}:{x1:h/2,y1:n+h/2,x2:h/2,y2:n+a-h/2,lineWidth:h,stroke:c,lineCap:u,cursor:"default"};return this.addShape(t,{id:this.getElementId("thumb"),name:"thumb",type:"line",attrs:f})},e.prototype.bindEvents=function(){var t=this.get("group");t.on("mousedown",this.onStartEvent(!1)),t.on("mouseup",this.onMouseUp),t.on("touchstart",this.onStartEvent(!0)),t.on("touchend",this.onMouseUp);var i=t.findById(this.getElementId("track"));i.on("click",this.onTrackClick);var n=t.findById(this.getElementId("thumb"));n.on("mouseover",this.onThumbMouseOver),n.on("mouseout",this.onThumbMouseOut)},e.prototype.getContainerDOM=function(){var t=this.get("container"),i=t&&t.get("canvas");return i&&i.get("container")},e.prototype.validateRange=function(t){var i=this.cfg,n=i.thumbLen,a=i.trackLen,o=t;return t+n>a?o=a-n:t+na.x?a.x:e,t=ta.y?a.y:i,n=n=i&&r<=n}function DA(r,e,t){if(J(r))return r.padEnd(e,t);if(z(r)){var i=r.length;if(i=this.minX&&e.maxX<=this.maxX&&e.minY>=this.minY&&e.maxY<=this.maxY},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.add=function(){for(var e=[],t=0;te.minX&&this.minYe.minY},r.prototype.size=function(){return this.width*this.height},r.prototype.isPointIn=function(e){return e.x>=this.minX&&e.x<=this.maxX&&e.y>=this.minY&&e.y<=this.maxY},r}();function OA(r){return[[r.minX,r.minY],[r.maxX,r.minY],[r.maxX,r.maxY],[r.minX,r.maxY]]}function Ra(r){if(r.isPolar&&!r.isTransposed)return(r.endAngle-r.startAngle)*r.getRadius();var e=r.convert({x:0,y:0}),t=r.convert({x:1,y:0});return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function BA(r){if(r.isPolar){var e=r.startAngle,t=r.endAngle;return t-e===Math.PI*2}return!1}function Ws(r,e){var t=r.getCenter();return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function RA(r,e){var t=!1;if(r)if(r.type==="theta"){var i=r.start,n=r.end;t=Ui(e.x,i.x,n.x)&&Ui(e.y,i.y,n.y)}else{var a=r.invert(e);t=Ui(a.x,0,1)&&Ui(a.y,0,1)}return t}function on(r,e){var t=r.getCenter();return Math.atan2(e.y-t.y,e.x-t.x)}function zc(r,e){e===void 0&&(e=0);var t=r.start,i=r.end,n=r.getWidth(),a=r.getHeight();if(r.isPolar){var o=r.startAngle,s=r.endAngle,l=r.getCenter(),u=r.getRadius();return{type:"path",startState:{path:$r(l.x,l.y,u+e,o,o)},endState:function(h){var f=(s-o)*h+o,v=$r(l.x,l.y,u+e,o,f);return{path:v}},attrs:{path:$r(l.x,l.y,u+e,o,s)}}}var c;return r.isTransposed?c={height:a+e*2}:c={width:n+e*2},{type:"rect",startState:{x:t.x-e,y:i.y-e,width:r.isTransposed?n+e*2:0,height:r.isTransposed?0:a+e*2},endState:c,attrs:{x:t.x-e,y:i.y-e,width:n+e*2,height:a+e*2}}}function zA(r,e){e===void 0&&(e=0);var t=r.start,i=r.end,n=r.getWidth(),a=r.getHeight(),o=Math.min(t.x,i.x),s=Math.min(t.y,i.y);return se.fromRange(o-e,s-e,o+n+e,s+a+e)}var NA=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]+)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/;function GA(r){var e="linear";return NA.test(r)?e="timeCat":J(r)&&(e="cat"),e}function dy(r,e,t,i){return e===void 0&&(e={}),e.type?e.type:r.type!=="identity"&&Wi.includes(t)&&["interval"].includes(i)||r.isCategory?"cat":r.type}function VA(r,e,t){var i=e||[];if(nt(r)||R(yw(i,r))&&ge(t)){var n=Eu("identity");return new n({field:r.toString(),values:[r]})}var a=Xe(i,r),o=A(t,"type",GA(a[0])),s=Eu(o);return new s(b({field:r,values:a},t))}function YA(r,e){if(r.type!=="identity"&&e.type!=="identity"){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);r.change(t)}}function ma(r){return r.alias||r.field}function py(r,e,t){var i=r.values,n=i.length,a;if(n===1)a=[.5,1];else{var o=1,s=0;BA(e)?e.isTransposed?(o=A(t,"widthRatio.multiplePie",1/1.3),s=1/n*o,a=[s/2,1-s/2]):a=[0,1-1/n]:(s=1/n/2,a=[s,1-s])}return a}function $A(r){var e=r.values.filter(function(t){return!R(t)&&!isNaN(t)});return Math.max.apply(Math,K(K([],U(e),!1),[R(r.max)?-1/0:r.max],!1))}function HA(r){var e,t;switch(r){case V.TOP:e={x:0,y:1},t={x:1,y:1};break;case V.RIGHT:e={x:1,y:0},t={x:1,y:1};break;case V.BOTTOM:e={x:0,y:0},t={x:1,y:0};break;case V.LEFT:e={x:0,y:0},t={x:0,y:1};break;default:e=t={x:0,y:0}}return{start:e,end:t}}function XA(r){var e,t;return r.isTransposed?(e={x:0,y:0},t={x:1,y:0}):(e={x:0,y:0},t={x:0,y:1}),{start:e,end:t}}function so(r,e){var t={start:{x:0,y:0},end:{x:0,y:0}};r.isRect?t=HA(e):r.isPolar&&(t=XA(r));var i=t.start,n=t.end;return{start:r.convert(i),end:r.convert(n)}}function gy(r){var e=r.start,t=r.end;return e.x===t.x}function Sv(r,e){var t=r.start,i=r.end,n=gy(r);return n?(t.y-i.y)*(e.x-t.x)>0?1:-1:(i.x-t.x)*(t.y-e.y)>0?-1:1}function lo(r,e){var t=A(r,["components","axis"],{});return X({},A(t,["common"],{}),X({},A(t,[e],{})))}function Cv(r,e,t){var i=A(r,["components","axis"],{});return X({},A(i,["common","title"],{}),X({},A(i,[e,"title"],{})),t)}function Rl(r){var e=r.x,t=r.y,i=r.circleCenter,n=t.start>t.end,a=r.isTransposed?r.convert({x:n?0:1,y:0}):r.convert({x:0,y:n?0:1}),o=[a.x-i.x,a.y-i.y],s=[1,0],l=a.y>i.y?vu(o,s):vu(o,s)*-1,u=l+(e.end-e.start),c=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2));return{center:i,radius:c,startAngle:l,endAngle:u}}function es(r,e){return en(r)?r===!1?!1:{}:A(r,[e])}function Mv(r,e){return A(r,"position",e)}function Av(r,e){return A(e,["title","text"],ma(r))}var wn=function(){function r(e,t){this.destroyed=!1,this.facets=[],this.view=e,this.cfg=X({},this.getDefaultCfg(),t)}return r.prototype.init=function(){this.container||(this.container=this.createContainer());var e=this.view.getData();this.facets=this.generateFacets(e)},r.prototype.render=function(){this.renderViews()},r.prototype.update=function(){},r.prototype.clear=function(){this.clearFacetViews()},r.prototype.destroy=function(){this.clear(),this.container&&(this.container.remove(!0),this.container=void 0),this.destroyed=!0,this.view=void 0,this.facets=[]},r.prototype.facetToView=function(e){var t=e.region,i=e.data,n=e.padding,a=n===void 0?this.cfg.padding:n,o=this.view.createView({region:t,padding:a});o.data(i||[]),e.view=o,this.beforeEachView(o,e);var s=this.cfg.eachView;return s&&s(o,e),this.afterEachView(o,e),o},r.prototype.createContainer=function(){var e=this.view.getLayer(Dt.FORE);return e.addGroup()},r.prototype.renderViews=function(){this.createFacetViews()},r.prototype.createFacetViews=function(){var e=this;return this.facets.map(function(t){return e.facetToView(t)})},r.prototype.clearFacetViews=function(){var e=this;C(this.facets,function(t){t.view&&(e.view.removeView(t.view),t.view=void 0)})},r.prototype.parseSpacing=function(){var e=this.view.viewBBox,t=e.width,i=e.height,n=this.cfg.spacing;return n.map(function(a,o){return nt(a)?a/(o===0?t:i):parseFloat(a)/100})},r.prototype.getFieldValues=function(e,t){var i=[],n={};return C(e,function(a){var o=a[t];!R(o)&&!n[o]&&(i.push(o),n[o]=!0)}),i},r.prototype.getRegion=function(e,t,i,n){var a=U(this.parseSpacing(),2),o=a[0],s=a[1],l=(1+o)/(t===0?1:t)-o,u=(1+s)/(e===0?1:e)-s,c={x:(l+o)*i,y:(u+s)*n},h={x:c.x+l,y:c.y+u};return{start:c,end:h}},r.prototype.getDefaultCfg=function(){return{eachView:void 0,showTitle:!0,spacing:[0,0],padding:10,fields:[]}},r.prototype.getDefaultTitleCfg=function(){var e=this.view.getTheme().fontFamily;return{style:{fontSize:14,fill:"#666",fontFamily:e}}},r.prototype.processAxis=function(e,t){var i=e.getOptions(),n=i.coordinate,a=e.geometries,o=A(n,"type","rect");if(o==="rect"&&a.length){R(i.axes)&&(i.axes={});var s=i.axes,l=U(a[0].getXYFields(),2),u=l[0],c=l[1],h=es(s,u),f=es(s,c);h!==!1&&(i.axes[u]=this.getXAxisOption(u,s,h,t)),f!==!1&&(i.axes[c]=this.getYAxisOption(c,s,f,t))}},r.prototype.getFacetDataFilter=function(e){return function(t){return sc(e,function(i){var n=i.field,a=i.value;return!R(a)&&n?t[n]===a:!0})}},r}(),yy={},WA=function(r){return yy[yn(r)]},bn=function(r,e){yy[yn(r)]=e},Mt=function(){function r(e,t){this.context=e,this.cfg=t,e.addAction(this)}return r.prototype.applyCfg=function(e){xt(this,e)},r.prototype.init=function(){this.applyCfg(this.cfg)},r.prototype.destroy=function(){this.context.removeAction(this),this.context=null},r}(),_A=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.execute=function(){this.callback&&this.callback(this.context)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.callback=null},e}(Mt),Nc={};function qA(r,e){var t=Nc[r],i=null;if(t){var n=t.ActionClass,a=t.cfg;i=new n(e,a),i.name=r,i.init()}return i}function _s(r){var e=Nc[r];return A(e,"ActionClass")}function Z(r,e,t){Nc[r]={ActionClass:e,cfg:t}}function UA(r,e){var t=new _A(e);return t.callback=r,t.name="callback",t}function jA(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var i=1,n=r.length;i=o[u]?1:0,f=c>Math.PI?1:0,v=t.convert(s),d=Ws(t,v);if(d>=.5)if(c===Math.PI*2){var p={x:(s.x+o.x)/2,y:(s.y+o.y)/2},g=t.convert(p);l.push(["A",d,d,0,f,h,g.x,g.y]),l.push(["A",d,d,0,f,h,v.x,v.y])}else l.push(["A",d,d,0,f,h,v.x,v.y]);return l}function QA(r){C(r,function(e,t){var i=e;if(i[0].toLowerCase()==="a"){var n=r[t-1],a=r[t+1];a&&a[0].toLowerCase()==="a"?n&&n[0].toLowerCase()==="l"&&(n[0]="M"):n&&n[0].toLowerCase()==="a"&&a&&a[0].toLowerCase()==="l"&&(a[0]="M")}})}var KA=function(r,e,t,i){var n,a=[],o=!!i,s,l,u,c,h,f,v;if(o){n=U(i,2),u=n[0],c=n[1];for(var d=0,p=r.length;d0&&n>0&&(i>=e||n>=e)}function Sy(r,e){var t=r.getCanvasBBox();return by(r,e)?t:null}function Cy(r,e){var t=r.event.maskShapes;return t.map(function(i){return Sy(i,e)}).filter(function(i){return!!i})}function eF(r,e){var t=r.event,i=t.target;return My(i,e)}function My(r,e){return by(r,e)?r.attr("path"):null}function rF(r,e){var t=r.event.maskShapes;return t.map(function(i){return My(i,e)})}function _r(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}function Ti(r){var e=r.event,t=e.target,i;return t&&(i=t.get("delegateObject")),i}function Ay(r){var e=r.event.gEvent;return!(e&&e.fromShape&&e.toShape&&e.fromShape.get("element")===e.toShape.get("element"))}function xa(r){return r&&r.component&&r.component.isList()}function Fy(r){return r&&r.component&&r.component.isSlider()}function wa(r){var e=r.event,t=e.target;return t&&(t==null?void 0:t.get("name"))==="mask"||qs(r)}function qs(r){var e;return((e=r.event.target)===null||e===void 0?void 0:e.get("name"))==="multi-mask"}function Gc(r,e){var t=r.event.target;if(qs(r))return iF(r,e);if(t.get("type")==="path"){var i=eF(r,e);return i?Ly(r.view,i):void 0}var n=wy(r,e);return n?Us(r.view,n):null}function iF(r,e){var t=r.event.target;if(t.get("type")==="path"){var i=rF(r,e);return i.length>0?i.flatMap(function(a){return Ly(r.view,a)}):null}var n=Cy(r,e);return n.length>0?n.flatMap(function(a){return Us(r.view,a)}):null}function Ty(r,e,t){if(qs(r))return nF(r,e,t);var i=wy(r,t);return i?Ey(i,r,e):null}function Ey(r,e,t){var i=e.view,n=Bu(i,t,{x:r.x,y:r.y}),a=Bu(i,t,{x:r.maxX,y:r.maxY}),o={minX:n.x,minY:n.y,maxX:a.x,maxY:a.y};return Us(t,o)}function nF(r,e,t){var i=Cy(r,t);return i.length>0?i.flatMap(function(n){return Ey(n,r,e)}):null}function Zt(r){var e=r.geometries,t=[];return C(e,function(i){var n=i.elements;t=t.concat(n)}),r.views&&r.views.length&&C(r.views,function(i){t=t.concat(Zt(i))}),t}function aF(r,e,t){var i=Zt(r);return i.filter(function(n){return We(n,e)===t})}function ky(r,e){var t=r.geometries,i=[];return C(t,function(n){var a=n.getElementsBy(function(o){return o.hasState(e)});i=i.concat(a)}),i}function We(r,e){var t=r.getModel(),i=t.data,n;return z(i)?n=i[0][e]:n=i[e],n}function oF(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=e.x&&r.y<=e.y&&r.maxY>e.y}function rr(r){var e=r.parent,t=null;return e&&(t=e.views.filter(function(i){return i!==r})),t}function lF(r,e){var t=r.getCoordinate();return t.invert(e)}function Bu(r,e,t){var i=lF(r,t);return e.getCoordinate().convert(i)}function Py(r,e,t,i){var n=!1;return C(r,function(a){if(a[t]===e[t]&&a[i]===e[i])return n=!0,!1}),n}function sn(r,e){var t=r.getScaleByField(e);return!t&&r.views&&C(r.views,function(i){if(t=sn(i,e),t)return!1}),t}var uF=function(){function r(e){this.actions=[],this.event=null,this.cacheMap={},this.view=e}return r.prototype.cache=function(){for(var e=[],t=0;t=0&&t.splice(i,1)},r.prototype.getCurrentPoint=function(){var e=this.event;if(e)if(e.target instanceof HTMLElement){var t=this.view.getCanvas(),i=t.getPointByClient(e.clientX,e.clientY);return i}else return{x:e.x,y:e.y};return null},r.prototype.getCurrentShape=function(){return A(this.event,["gEvent","shape"])},r.prototype.isInPlot=function(){var e=this.getCurrentPoint();return e?this.view.isPointInPlot(e):!1},r.prototype.isInShape=function(e){var t=this.getCurrentShape();return t?t.get("name")===e:!1},r.prototype.isInComponent=function(e){var t=Iy(this.view),i=this.getCurrentPoint();return i?!!t.find(function(n){var a=n.getBBox();return e?n.get("name")===e&&Tv(a,i):Tv(a,i)}):!1},r.prototype.destroy=function(){C(this.actions.slice(),function(e){e.destroy()}),this.view=null,this.event=null,this.actions=null,this.cacheMap=null},r}(),cF=function(){function r(e,t){this.view=e,this.cfg=t}return r.prototype.init=function(){this.initEvents()},r.prototype.initEvents=function(){},r.prototype.clearEvents=function(){},r.prototype.destroy=function(){this.clearEvents()},r}();function Ev(r,e,t){var i=r.split(":"),n=i[0],a=e.getAction(n)||qA(n,e);if(!a)throw new Error("There is no action named ".concat(n));var o=i[1];return{action:a,methodName:o,arg:t}}function kv(r){var e=r.action,t=r.methodName,i=r.arg;if(e[t])e[t](i);else throw new Error("Action(".concat(e.name,") doesn't have a method called ").concat(t))}var we={START:"start",SHOW_ENABLE:"showEnable",END:"end",ROLLBACK:"rollback",PROCESSING:"processing"},hF=function(r){O(e,r);function e(t,i){var n=r.call(this,t,i)||this;return n.callbackCaches={},n.emitCaches={},n.steps=i,n}return e.prototype.init=function(){this.initContext(),r.prototype.init.call(this)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.steps=null,this.context&&(this.context.destroy(),this.context=null),this.callbackCaches=null,this.view=null},e.prototype.initEvents=function(){var t=this;C(this.steps,function(i,n){C(i,function(a){var o=t.getActionCallback(n,a);o&&t.bindEvent(a.trigger,o)})})},e.prototype.clearEvents=function(){var t=this;C(this.steps,function(i,n){C(i,function(a){var o=t.getActionCallback(n,a);o&&t.offEvent(a.trigger,o)})})},e.prototype.initContext=function(){var t=this.view,i=new uF(t);this.context=i;var n=this.steps;C(n,function(a){C(a,function(o){if(W(o.action))o.actionObject={action:UA(o.action,i),methodName:"execute"};else if(J(o.action))o.actionObject=Ev(o.action,i,o.arg);else if(z(o.action)){var s=o.action,l=z(o.arg)?o.arg:[o.arg];o.actionObject=[],C(s,function(u,c){o.actionObject.push(Ev(u,i,l[c]))})}})})},e.prototype.isAllowStep=function(t){var i=this.currentStepName,n=this.steps;if(i===t||t===we.SHOW_ENABLE)return!0;if(t===we.PROCESSING)return i===we.START;if(t===we.START)return i!==we.PROCESSING;if(t===we.END)return i===we.PROCESSING||i===we.START;if(t===we.ROLLBACK){if(n[we.END])return i===we.END;if(i===we.START)return!0}return!1},e.prototype.isAllowExecute=function(t,i){if(this.isAllowStep(t)){var n=this.getKey(t,i);return i.once&&this.emitCaches[n]?!1:i.isEnable?i.isEnable(this.context):!0}return!1},e.prototype.enterStep=function(t){this.currentStepName=t,this.emitCaches={}},e.prototype.afterExecute=function(t,i){t!==we.SHOW_ENABLE&&this.currentStepName!==t&&this.enterStep(t);var n=this.getKey(t,i);this.emitCaches[n]=!0},e.prototype.getKey=function(t,i){return t+i.trigger+i.action},e.prototype.getActionCallback=function(t,i){var n=this,a=this.context,o=this.callbackCaches,s=i.actionObject;if(i.action&&s){var l=this.getKey(t,i);if(!o[l]){var u=function(c){a.event=c,n.isAllowExecute(t,i)?(z(s)?C(s,function(h){a.event=c,kv(h)}):(a.event=c,kv(s)),n.afterExecute(t,i),i.callback&&(a.event=c,i.callback(a))):a.event=null};i.debounce?o[l]=Tp(u,i.debounce.wait,i.debounce.immediate):i.throttle?o[l]=hc(u,i.throttle.wait,{leading:i.throttle.leading,trailing:i.throttle.trailing}):o[l]=u}return o[l]}return null},e.prototype.bindEvent=function(t,i){var n=t.split(":");n[0]==="window"?window.addEventListener(n[1],i):n[0]==="document"?document.addEventListener(n[1],i):this.view.on(t,i)},e.prototype.offEvent=function(t,i){var n=t.split(":");n[0]==="window"?window.removeEventListener(n[1],i):n[0]==="document"?document.removeEventListener(n[1],i):this.view.off(t,i)},e}(cF),Dy={};function fF(r){return Dy[yn(r)]}function at(r,e){Dy[yn(r)]=e}function vF(r,e,t){var i=fF(r);if(!i)return null;if(tr(i)){var n=xt(ae(i),t);return new hF(e,n)}else{var a=i;return new a(e,t)}}function dF(r){return{title:{autoRotate:!0,position:"center",spacing:r.axisTitleSpacing,style:{fill:r.axisTitleTextFillColor,fontSize:r.axisTitleTextFontSize,lineHeight:r.axisTitleTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily},iconStyle:{fill:r.axisDescriptionIconFillColor}},label:{autoRotate:!1,autoEllipsis:!1,autoHide:{type:"equidistance",cfg:{minGap:6}},offset:r.axisLabelOffset,style:{fill:r.axisLabelFillColor,fontSize:r.axisLabelFontSize,lineHeight:r.axisLabelLineHeight,fontFamily:r.fontFamily}},line:{style:{lineWidth:r.axisLineBorder,stroke:r.axisLineBorderColor}},grid:{line:{type:"line",style:{stroke:r.axisGridBorderColor,lineWidth:r.axisGridBorder,lineDash:r.axisGridLineDash}},alignTick:!0,animate:!0},tickLine:{style:{lineWidth:r.axisTickLineBorder,stroke:r.axisTickLineBorderColor},alignTick:!0,length:r.axisTickLineLength},subTickLine:null,animate:!0}}function pF(r){return{title:null,marker:{symbol:"circle",spacing:r.legendMarkerSpacing,style:{r:r.legendCircleMarkerSize,fill:r.legendMarkerColor}},itemName:{spacing:5,style:{fill:r.legendItemNameFillColor,fontFamily:r.fontFamily,fontSize:r.legendItemNameFontSize,lineHeight:r.legendItemNameLineHeight,fontWeight:r.legendItemNameFontWeight,textAlign:"start",textBaseline:"middle"}},itemStates:{active:{nameStyle:{opacity:.8}},unchecked:{nameStyle:{fill:"#D8D8D8"},markerStyle:{fill:"#D8D8D8",stroke:"#D8D8D8"}},inactive:{nameStyle:{fill:"#D8D8D8"},markerStyle:{opacity:.2}}},flipPage:!0,pageNavigator:{marker:{style:{size:r.legendPageNavigatorMarkerSize,inactiveFill:r.legendPageNavigatorMarkerInactiveFillColor,inactiveOpacity:r.legendPageNavigatorMarkerInactiveFillOpacity,fill:r.legendPageNavigatorMarkerFillColor,opacity:r.legendPageNavigatorMarkerFillOpacity}},text:{style:{fill:r.legendPageNavigatorTextFillColor,fontSize:r.legendPageNavigatorTextFontSize}}},animate:!1,maxItemWidth:200,itemSpacing:r.legendItemSpacing,itemMarginBottom:r.legendItemMarginBottom,padding:r.legendPadding}}function Oy(r){var e,t={point:{default:{fill:r.pointFillColor,r:r.pointSize,stroke:r.pointBorderColor,lineWidth:r.pointBorder,fillOpacity:r.pointFillOpacity},active:{stroke:r.pointActiveBorderColor,lineWidth:r.pointActiveBorder},selected:{stroke:r.pointSelectedBorderColor,lineWidth:r.pointSelectedBorder},inactive:{fillOpacity:r.pointInactiveFillOpacity,strokeOpacity:r.pointInactiveBorderOpacity}},hollowPoint:{default:{fill:r.hollowPointFillColor,lineWidth:r.hollowPointBorder,stroke:r.hollowPointBorderColor,strokeOpacity:r.hollowPointBorderOpacity,r:r.hollowPointSize},active:{stroke:r.hollowPointActiveBorderColor,strokeOpacity:r.hollowPointActiveBorderOpacity},selected:{lineWidth:r.hollowPointSelectedBorder,stroke:r.hollowPointSelectedBorderColor,strokeOpacity:r.hollowPointSelectedBorderOpacity},inactive:{strokeOpacity:r.hollowPointInactiveBorderOpacity}},area:{default:{fill:r.areaFillColor,fillOpacity:r.areaFillOpacity,stroke:null},active:{fillOpacity:r.areaActiveFillOpacity},selected:{fillOpacity:r.areaSelectedFillOpacity},inactive:{fillOpacity:r.areaInactiveFillOpacity}},hollowArea:{default:{fill:null,stroke:r.hollowAreaBorderColor,lineWidth:r.hollowAreaBorder,strokeOpacity:r.hollowAreaBorderOpacity},active:{fill:null,lineWidth:r.hollowAreaActiveBorder},selected:{fill:null,lineWidth:r.hollowAreaSelectedBorder},inactive:{strokeOpacity:r.hollowAreaInactiveBorderOpacity}},interval:{default:{fill:r.intervalFillColor,fillOpacity:r.intervalFillOpacity},active:{stroke:r.intervalActiveBorderColor,lineWidth:r.intervalActiveBorder},selected:{stroke:r.intervalSelectedBorderColor,lineWidth:r.intervalSelectedBorder},inactive:{fillOpacity:r.intervalInactiveFillOpacity,strokeOpacity:r.intervalInactiveBorderOpacity}},hollowInterval:{default:{fill:r.hollowIntervalFillColor,stroke:r.hollowIntervalBorderColor,lineWidth:r.hollowIntervalBorder,strokeOpacity:r.hollowIntervalBorderOpacity},active:{stroke:r.hollowIntervalActiveBorderColor,lineWidth:r.hollowIntervalActiveBorder,strokeOpacity:r.hollowIntervalActiveBorderOpacity},selected:{stroke:r.hollowIntervalSelectedBorderColor,lineWidth:r.hollowIntervalSelectedBorder,strokeOpacity:r.hollowIntervalSelectedBorderOpacity},inactive:{stroke:r.hollowIntervalInactiveBorderColor,lineWidth:r.hollowIntervalInactiveBorder,strokeOpacity:r.hollowIntervalInactiveBorderOpacity}},line:{default:{stroke:r.lineBorderColor,lineWidth:r.lineBorder,strokeOpacity:r.lineBorderOpacity,fill:null,lineAppendWidth:10,lineCap:"round",lineJoin:"round"},active:{lineWidth:r.lineActiveBorder},selected:{lineWidth:r.lineSelectedBorder},inactive:{strokeOpacity:r.lineInactiveBorderOpacity}}},i=dF(r),n=pF(r);return{background:r.backgroundColor,defaultColor:r.brandColor,subColor:r.subColor,semanticRed:r.paletteSemanticRed,semanticGreen:r.paletteSemanticGreen,padding:"auto",fontFamily:r.fontFamily,columnWidthRatio:1/2,maxColumnWidth:null,minColumnWidth:null,roseWidthRatio:.9999999,multiplePieWidthRatio:1/1.3,colors10:r.paletteQualitative10,colors20:r.paletteQualitative20,sequenceColors:r.paletteSequence,shapes:{point:["hollow-circle","hollow-square","hollow-bowtie","hollow-diamond","hollow-hexagon","hollow-triangle","hollow-triangle-down","circle","square","bowtie","diamond","hexagon","triangle","triangle-down","cross","tick","plus","hyphen","line"],line:["line","dash","dot","smooth"],area:["area","smooth","line","smooth-line"],interval:["rect","hollow-rect","line","tick"]},sizes:[1,10],geometries:{interval:{rect:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:function(a){var o=a.geometry.coordinate;if(o.isPolar&&o.isTransposed){var s=ya(a.getModel(),o),l=s.startAngle,u=s.endAngle,c=(l+u)/2,h=7.5,f=h*Math.cos(c),v=h*Math.sin(c);return{matrix:Nt(null,[["t",f,v]])}}return t.interval.selected}}},"hollow-rect":{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},line:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},tick:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},funnel:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}},pyramid:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},line:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},dot:{default:{style:b(b({},t.line.default),{lineCap:null,lineDash:[1,1]})},active:{style:b(b({},t.line.active),{lineCap:null,lineDash:[1,1]})},inactive:{style:b(b({},t.line.inactive),{lineCap:null,lineDash:[1,1]})},selected:{style:b(b({},t.line.selected),{lineCap:null,lineDash:[1,1]})}},dash:{default:{style:b(b({},t.line.default),{lineCap:null,lineDash:[5.5,1]})},active:{style:b(b({},t.line.active),{lineCap:null,lineDash:[5.5,1]})},inactive:{style:b(b({},t.line.inactive),{lineCap:null,lineDash:[5.5,1]})},selected:{style:b(b({},t.line.selected),{lineCap:null,lineDash:[5.5,1]})}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hvh:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},polygon:{polygon:{default:{style:t.interval.default},active:{style:t.interval.active},inactive:{style:t.interval.inactive},selected:{style:t.interval.selected}}},point:{circle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},square:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},bowtie:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},diamond:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},hexagon:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},triangle:{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"triangle-down":{default:{style:t.point.default},active:{style:t.point.active},inactive:{style:t.point.inactive},selected:{style:t.point.selected}},"hollow-circle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-square":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-bowtie":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-diamond":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-hexagon":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},"hollow-triangle-down":{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},cross:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},tick:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},plus:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},hyphen:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}},line:{default:{style:t.hollowPoint.default},active:{style:t.hollowPoint.active},inactive:{style:t.hollowPoint.inactive},selected:{style:t.hollowPoint.selected}}},area:{area:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},smooth:{default:{style:t.area.default},active:{style:t.area.active},inactive:{style:t.area.inactive},selected:{style:t.area.selected}},line:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"smooth-line":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}},schema:{candle:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}},box:{default:{style:t.hollowInterval.default},active:{style:t.hollowInterval.active},inactive:{style:t.hollowInterval.inactive},selected:{style:t.hollowInterval.selected}}},edge:{line:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},vhv:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},arc:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}}},violin:{violin:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},smooth:{default:{style:t.line.default},active:{style:t.line.active},inactive:{style:t.line.inactive},selected:{style:t.line.selected}},hollow:{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}},"hollow-smooth":{default:{style:t.hollowArea.default},active:{style:t.hollowArea.active},inactive:{style:t.hollowArea.inactive},selected:{style:t.hollowArea.selected}}}},components:{axis:{common:i,top:{position:"top",grid:null,title:null,verticalLimitLength:1/2},bottom:{position:"bottom",grid:null,title:null,verticalLimitLength:1/2},left:{position:"left",title:null,line:null,tickLine:null,verticalLimitLength:1/3},right:{position:"right",title:null,line:null,tickLine:null,verticalLimitLength:1/3},circle:{title:null,grid:X({},i.grid,{line:{type:"line"}})},radius:{title:null,grid:X({},i.grid,{line:{type:"circle"}})}},legend:{common:n,right:{layout:"vertical",padding:r.legendVerticalPadding},left:{layout:"vertical",padding:r.legendVerticalPadding},top:{layout:"horizontal",padding:r.legendHorizontalPadding},bottom:{layout:"horizontal",padding:r.legendHorizontalPadding},continuous:{title:null,background:null,track:{},rail:{type:"color",size:r.sliderRailHeight,defaultLength:r.sliderRailWidth,style:{fill:r.sliderRailFillColor,stroke:r.sliderRailBorderColor,lineWidth:r.sliderRailBorder}},label:{align:"rail",spacing:4,formatter:null,style:{fill:r.sliderLabelTextFillColor,fontSize:r.sliderLabelTextFontSize,lineHeight:r.sliderLabelTextLineHeight,textBaseline:"middle",fontFamily:r.fontFamily}},handler:{size:r.sliderHandlerWidth,style:{fill:r.sliderHandlerFillColor,stroke:r.sliderHandlerBorderColor}},slidable:!0,padding:n.padding}},tooltip:{showContent:!0,follow:!0,showCrosshairs:!1,showMarkers:!0,shared:!1,enterable:!1,position:"auto",marker:{symbol:"circle",stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,r:4},crosshairs:{line:{style:{stroke:r.tooltipCrosshairsBorderColor,lineWidth:r.tooltipCrosshairsBorder}},text:null,textBackground:{padding:2,style:{fill:"rgba(0, 0, 0, 0.25)",lineWidth:0,stroke:null}},follow:!1},domStyles:(e={},e["".concat(Sr)]={position:"absolute",visibility:"hidden",zIndex:8,transition:"left 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s, top 0.4s cubic-bezier(0.23, 1, 0.32, 1) 0s",backgroundColor:r.tooltipContainerFillColor,opacity:r.tooltipContainerFillOpacity,boxShadow:r.tooltipContainerShadow,borderRadius:"".concat(r.tooltipContainerBorderRadius,"px"),color:r.tooltipTextFillColor,fontSize:"".concat(r.tooltipTextFontSize,"px"),fontFamily:r.fontFamily,lineHeight:"".concat(r.tooltipTextLineHeight,"px"),padding:"0 12px 0 12px"},e["".concat(Cr)]={marginBottom:"12px",marginTop:"12px"},e["".concat(ga)]={margin:0,listStyleType:"none",padding:0},e["".concat(Ys)]={listStyleType:"none",padding:0,marginBottom:"12px",marginTop:"12px",marginLeft:0,marginRight:0},e["".concat($s)]={width:"8px",height:"8px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},e["".concat(Hs)]={display:"inline-block",float:"right",marginLeft:"30px"},e)},annotation:{arc:{style:{stroke:r.annotationArcBorderColor,lineWidth:r.annotationArcBorder},animate:!0},line:{style:{stroke:r.annotationLineBorderColor,lineDash:r.annotationLineDash,lineWidth:r.annotationLineBorder},text:{position:"start",autoRotate:!0,style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textAlign:"start",fontFamily:r.fontFamily,textBaseline:"bottom"}},animate:!0},text:{style:{fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,textBaseline:"middle",textAlign:"start",fontFamily:r.fontFamily},animate:!0},region:{top:!1,style:{lineWidth:r.annotationRegionBorder,stroke:r.annotationRegionBorderColor,fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},animate:!0},image:{top:!1,animate:!0},dataMarker:{top:!0,point:{style:{r:3,stroke:r.brandColor,lineWidth:2}},line:{style:{stroke:r.annotationLineBorderColor,lineWidth:r.annotationLineBorder},length:r.annotationDataMarkerLineLength},text:{style:{textAlign:"start",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},direction:"upward",autoAdjust:!0,animate:!0},dataRegion:{style:{region:{fill:r.annotationRegionFillColor,fillOpacity:r.annotationRegionFillOpacity},text:{textAlign:"center",textBaseline:"bottom",fill:r.annotationTextFillColor,stroke:r.annotationTextBorderColor,lineWidth:r.annotationTextBorder,fontSize:r.annotationTextFontSize,fontFamily:r.fontFamily}},animate:!0}},slider:{common:{padding:[8,8,8,8],backgroundStyle:{fill:r.cSliderBackgroundFillColor,opacity:r.cSliderBackgroundFillOpacity},foregroundStyle:{fill:r.cSliderForegroundFillColor,opacity:r.cSliderForegroundFillOpacity},handlerStyle:{width:r.cSliderHandlerWidth,height:r.cSliderHandlerHeight,fill:r.cSliderHandlerFillColor,opacity:r.cSliderHandlerFillOpacity,stroke:r.cSliderHandlerBorderColor,lineWidth:r.cSliderHandlerBorder,radius:r.cSliderHandlerBorderRadius,highLightFill:r.cSliderHandlerHighlightFillColor},textStyle:{fill:r.cSliderTextFillColor,opacity:r.cSliderTextFillOpacity,fontSize:r.cSliderTextFontSize,lineHeight:r.cSliderTextLineHeight,fontWeight:r.cSliderTextFontWeight,stroke:r.cSliderTextBorderColor,lineWidth:r.cSliderTextBorder}}},scrollbar:{common:{padding:[8,8,8,8]},default:{style:{trackColor:r.scrollbarTrackFillColor,thumbColor:r.scrollbarThumbFillColor}},hover:{style:{thumbColor:r.scrollbarThumbHighlightFillColor}}}},labels:{offset:12,style:{fill:r.labelFillColor,fontSize:r.labelFontSize,fontFamily:r.fontFamily,stroke:r.labelBorderColor,lineWidth:r.labelBorder},fillColorDark:r.labelFillColorDark,fillColorLight:r.labelFillColorLight,autoRotate:!0},innerLabels:{style:{fill:r.innerLabelFillColor,fontSize:r.innerLabelFontSize,fontFamily:r.fontFamily,stroke:r.innerLabelBorderColor,lineWidth:r.innerLabelBorder},autoRotate:!0},overflowLabels:{style:{fill:r.overflowLabelFillColor,fontSize:r.overflowLabelFontSize,fontFamily:r.fontFamily,stroke:r.overflowLabelBorderColor,lineWidth:r.overflowLabelBorder}},pieLabels:{labelHeight:14,offset:10,labelLine:{style:{lineWidth:r.labelLineBorder}},autoRotate:!0}}}var pt={100:"#000",95:"#0D0D0D",85:"#262626",65:"#595959",45:"#8C8C8C",25:"#BFBFBF",15:"#D9D9D9",6:"#F0F0F0"},Gi={100:"#FFFFFF",95:"#F2F2F2",85:"#D9D9D9",65:"#A6A6A6",45:"#737373",25:"#404040",15:"#262626",6:"#0F0F0F"},gF=["#5B8FF9","#5AD8A6","#5D7092","#F6BD16","#6F5EF9","#6DC8EC","#945FB9","#FF9845","#1E9493","#FF99C3"],yF=["#5B8FF9","#CDDDFD","#5AD8A6","#CDF3E4","#5D7092","#CED4DE","#F6BD16","#FCEBB9","#6F5EF9","#D3CEFD","#6DC8EC","#D3EEF9","#945FB9","#DECFEA","#FF9845","#FFE0C7","#1E9493","#BBDEDE","#FF99C3","#FFE0ED"],mF=["#B8E1FF","#9AC5FF","#7DAAFF","#5B8FF9","#3D76DD","#085EC0","#0047A5","#00318A","#001D70"],By=function(r){r===void 0&&(r={});var e=r.paletteQualitative10,t=e===void 0?gF:e,i=r.paletteQualitative20,n=i===void 0?yF:i,a=r.brandColor,o=a===void 0?t[0]:a,s={backgroundColor:"transparent",brandColor:o,subColor:"rgba(0,0,0,0.05)",paletteQualitative10:t,paletteQualitative20:n,paletteSemanticRed:"#F4664A",paletteSemanticGreen:"#30BF78",paletteSemanticYellow:"#FAAD14",paletteSequence:mF,fontFamily:`"Segoe UI", Roboto, "Helvetica Neue", Arial, + "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", + "Noto Color Emoji"`,axisLineBorderColor:pt[25],axisLineBorder:1,axisLineDash:null,axisTitleTextFillColor:pt[65],axisTitleTextFontSize:12,axisTitleTextLineHeight:12,axisTitleTextFontWeight:"normal",axisTitleSpacing:12,axisDescriptionIconFillColor:Gi[85],axisTickLineBorderColor:pt[25],axisTickLineLength:4,axisTickLineBorder:1,axisSubTickLineBorderColor:pt[15],axisSubTickLineLength:2,axisSubTickLineBorder:1,axisLabelFillColor:pt[45],axisLabelFontSize:12,axisLabelLineHeight:12,axisLabelFontWeight:"normal",axisLabelOffset:8,axisGridBorderColor:pt[15],axisGridBorder:1,axisGridLineDash:null,legendTitleTextFillColor:pt[45],legendTitleTextFontSize:12,legendTitleTextLineHeight:21,legendTitleTextFontWeight:"normal",legendMarkerColor:o,legendMarkerSpacing:8,legendMarkerSize:4,legendCircleMarkerSize:4,legendSquareMarkerSize:4,legendLineMarkerSize:5,legendItemNameFillColor:pt[65],legendItemNameFontSize:12,legendItemNameLineHeight:12,legendItemNameFontWeight:"normal",legendItemSpacing:24,legendItemMarginBottom:12,legendPadding:[8,8,8,8],legendHorizontalPadding:[8,0,8,0],legendVerticalPadding:[0,8,0,8],legendPageNavigatorMarkerSize:12,legendPageNavigatorMarkerInactiveFillColor:pt[100],legendPageNavigatorMarkerInactiveFillOpacity:.45,legendPageNavigatorMarkerFillColor:pt[100],legendPageNavigatorMarkerFillOpacity:1,legendPageNavigatorTextFillColor:pt[45],legendPageNavigatorTextFontSize:12,sliderRailFillColor:pt[15],sliderRailBorder:0,sliderRailBorderColor:null,sliderRailWidth:100,sliderRailHeight:12,sliderLabelTextFillColor:pt[45],sliderLabelTextFontSize:12,sliderLabelTextLineHeight:12,sliderLabelTextFontWeight:"normal",sliderHandlerFillColor:pt[6],sliderHandlerWidth:10,sliderHandlerHeight:14,sliderHandlerBorder:1,sliderHandlerBorderColor:pt[25],annotationArcBorderColor:pt[15],annotationArcBorder:1,annotationLineBorderColor:pt[25],annotationLineBorder:1,annotationLineDash:null,annotationTextFillColor:pt[65],annotationTextFontSize:12,annotationTextLineHeight:12,annotationTextFontWeight:"normal",annotationTextBorderColor:null,annotationTextBorder:0,annotationRegionFillColor:pt[100],annotationRegionFillOpacity:.06,annotationRegionBorder:0,annotationRegionBorderColor:null,annotationDataMarkerLineLength:16,tooltipCrosshairsBorderColor:pt[25],tooltipCrosshairsBorder:1,tooltipCrosshairsLineDash:null,tooltipContainerFillColor:"rgb(255, 255, 255)",tooltipContainerFillOpacity:.95,tooltipContainerShadow:"0px 0px 10px #aeaeae",tooltipContainerBorderRadius:3,tooltipTextFillColor:pt[65],tooltipTextFontSize:12,tooltipTextLineHeight:12,tooltipTextFontWeight:"bold",labelFillColor:pt[65],labelFillColorDark:"#2c3542",labelFillColorLight:"#ffffff",labelFontSize:12,labelLineHeight:12,labelFontWeight:"normal",labelBorderColor:null,labelBorder:0,innerLabelFillColor:Gi[100],innerLabelFontSize:12,innerLabelLineHeight:12,innerLabelFontWeight:"normal",innerLabelBorderColor:null,innerLabelBorder:0,overflowLabelFillColor:pt[65],overflowLabelFontSize:12,overflowLabelLineHeight:12,overflowLabelFontWeight:"normal",overflowLabelBorderColor:Gi[100],overflowLabelBorder:1,labelLineBorder:1,labelLineBorderColor:pt[25],cSliderRailHieght:16,cSliderBackgroundFillColor:"#416180",cSliderBackgroundFillOpacity:.05,cSliderForegroundFillColor:"#5B8FF9",cSliderForegroundFillOpacity:.15,cSliderHandlerHeight:24,cSliderHandlerWidth:10,cSliderHandlerFillColor:"#F7F7F7",cSliderHandlerFillOpacity:1,cSliderHandlerHighlightFillColor:"#FFF",cSliderHandlerBorderColor:"#BFBFBF",cSliderHandlerBorder:1,cSliderHandlerBorderRadius:2,cSliderTextFillColor:"#000",cSliderTextFillOpacity:.45,cSliderTextFontSize:12,cSliderTextLineHeight:12,cSliderTextFontWeight:"normal",cSliderTextBorderColor:null,cSliderTextBorder:0,scrollbarTrackFillColor:"rgba(0,0,0,0)",scrollbarThumbFillColor:"rgba(0,0,0,0.15)",scrollbarThumbHighlightFillColor:"rgba(0,0,0,0.2)",pointFillColor:o,pointFillOpacity:.95,pointSize:4,pointBorder:1,pointBorderColor:Gi[100],pointBorderOpacity:1,pointActiveBorderColor:pt[100],pointSelectedBorder:2,pointSelectedBorderColor:pt[100],pointInactiveFillOpacity:.3,pointInactiveBorderOpacity:.3,hollowPointSize:4,hollowPointBorder:1,hollowPointBorderColor:o,hollowPointBorderOpacity:.95,hollowPointFillColor:Gi[100],hollowPointActiveBorder:1,hollowPointActiveBorderColor:pt[100],hollowPointActiveBorderOpacity:1,hollowPointSelectedBorder:2,hollowPointSelectedBorderColor:pt[100],hollowPointSelectedBorderOpacity:1,hollowPointInactiveBorderOpacity:.3,lineBorder:2,lineBorderColor:o,lineBorderOpacity:1,lineActiveBorder:3,lineSelectedBorder:3,lineInactiveBorderOpacity:.3,areaFillColor:o,areaFillOpacity:.25,areaActiveFillColor:o,areaActiveFillOpacity:.5,areaSelectedFillColor:o,areaSelectedFillOpacity:.5,areaInactiveFillOpacity:.3,hollowAreaBorderColor:o,hollowAreaBorder:2,hollowAreaBorderOpacity:1,hollowAreaActiveBorder:3,hollowAreaActiveBorderColor:pt[100],hollowAreaSelectedBorder:3,hollowAreaSelectedBorderColor:pt[100],hollowAreaInactiveBorderOpacity:.3,intervalFillColor:o,intervalFillOpacity:.95,intervalActiveBorder:1,intervalActiveBorderColor:pt[100],intervalActiveBorderOpacity:1,intervalSelectedBorder:2,intervalSelectedBorderColor:pt[100],intervalSelectedBorderOpacity:1,intervalInactiveBorderOpacity:.3,intervalInactiveFillOpacity:.3,hollowIntervalBorder:2,hollowIntervalBorderColor:o,hollowIntervalBorderOpacity:1,hollowIntervalFillColor:Gi[100],hollowIntervalActiveBorder:2,hollowIntervalActiveBorderColor:pt[100],hollowIntervalSelectedBorder:3,hollowIntervalSelectedBorderColor:pt[100],hollowIntervalSelectedBorderOpacity:1,hollowIntervalInactiveBorderOpacity:.3};return b(b({},s),r)};By();function is(r){var e=r.styleSheet,t=e===void 0?{}:e,i=Ct(r,["styleSheet"]),n=By(t);return X({},Oy(n),i)}var xF=is({}),Ru={default:xF};function Jn(r){return A(Ru,yn(r),Ru.default)}function wF(r,e){Ru[yn(r)]=is(e)}function Lv(r,e,t){var i=t.translate(r),n=t.translate(e);return Ut(i,n)}function bF(r,e){var t=e.coordinate,i=e.getXScale(),n=i.range,a=n[n.length-1],o=n[0],s=t.invert(r),l=s.x;return t.isPolar&&l>(1+a)/2&&(l=o),i.translate(i.invert(l))}function Iv(r,e,t){var i=t.coordinate,n=t.getYScale(),a=n.field,o=i.invert(e),s=n.invert(o.y),l=$e(r,function(u){var c=u[St];return c[a][0]<=s&&c[a][1]>=s});return l||r[r.length-1]}var SF=mn(function(r){if(r.isCategory)return 1;for(var e=r.values,t=e.length,i=r.translate(e[0]),n=i,a=0;an&&(n=s)}return(n-i)/(t-1)});function CF(r,e,t){var i=e.getAttribute("position"),n=i.getFields(),a=e.scales,o=W(t)||!t?n[0]:t,s=a[o],l=s?s.getText(r[o]):r[o]||o;return W(t)?t(l,r):l}function MF(r){var e=ys(r.attributes);return Qt(e,function(t){return li(Wi,t.type)})}function Ry(r){var e,t,i=MF(r),n;try{for(var a=vt(i),o=a.next();!o.done;o=a.next()){var s=o.value,l=s.getScale(s.type);if(l&&l.isLinear){var u=A(r.scaleDefs,l.field),c=dy(l,u,s.type,r.type);if(c!=="cat"){n=l;break}}}}catch(v){e={error:v}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}var h=r.getXScale(),f=r.getYScale();return n||f||h}function AF(r,e){var t=e.field,i=r[t];if(z(i)){var n=i.map(function(a){return e.getText(a)});return n.join("-")}return e.getText(i)}function FF(r,e){var t,i=e.getGroupScales();if(i.length&&(t=i[0]),t){var n=t.field;return t.getText(r[n])}var a=Ry(e);return ma(a)}function zy(r,e,t){if(e.length===0)return null;var i=t.type,n=t.getXScale(),a=t.getYScale(),o=n.field,s=a.field,l=null;if(i==="heatmap"||i==="point"){for(var u=t.coordinate,c=u.invert(r),h=n.invert(c.x),f=a.invert(c.y),v=1/0,d=0;d=x)if(T)z(l)||(l=[]),l.push(k);else{l=k;break}}z(l)&&(l=Iv(l,r,t))}else{var E=void 0;if(!n.isLinear&&n.type!=="timeCat"){for(var d=0;dn.translate(F)||xn.max||xMath.abs(n.translate(E[St][o])-x)&&(w=E)}var j=SF(t.getXScale());return!l&&Math.abs(n.translate(w[St][o])-x)<=j/2&&(l=w),l}function Yc(r,e,t,i){var n,a;t===void 0&&(t=""),i===void 0&&(i=!1);var o=r[St],s=CF(o,e,t),l=e.tooltipOption,u=e.theme.defaultColor,c=[],h,f;function v(k,E){if(i||!R(E)&&E!==""){var I={title:s,data:o,mappingData:r,name:k,value:E,color:r.color||u,marker:!0};c.push(I)}}if(yt(l)){var d=l.fields,p=l.callback;if(p){var g=d.map(function(k){return r[St][k]}),y=p.apply(void 0,K([],U(g),!1)),m=b({data:r[St],mappingData:r,title:s,color:r.color||u,marker:!0},y);c.push(m)}else{var w=e.scales;try{for(var x=vt(d),S=x.next();!S.done;S=x.next()){var M=S.value;if(!R(o[M])){var F=w[M];h=ma(F),f=F.getText(o[M]),v(h,f)}}}catch(k){n={error:k}}finally{try{S&&!S.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}}}else{var T=Ry(e);f=AF(o,T),h=FF(o,e),v(h,f)}return c}function Pv(r,e,t,i){var n,a,o=i.showNil,s=[],l=r.dataArray;if(!ge(l)){r.sort(l);try{for(var u=vt(l),c=u.next();!c.done;c=u.next()){var h=c.value,f=zy(e,h,r);if(f){var v=r.getElementId(f),d=r.elementsMap[v];if(r.type==="heatmap"||d.visible){var p=Yc(f,r,t,o);p.length&&s.push(p)}}}}catch(g){n={error:g}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}}return s}function Dv(r,e,t,i){var n=i.showNil,a=[],o=r.container,s=o.getShape(e.x,e.y);if(s&&s.get("visible")&&s.get("origin")){var l=s.get("origin").mappingData,u=Yc(l,r,t,n);u.length&&a.push(u)}return a}function zu(r,e,t){var i,n,a=[],o=r.geometries,s=t.shared,l=t.title,u=t.reversed;try{for(var c=vt(o),h=c.next();!h.done;h=c.next()){var f=h.value;if(f.visible&&f.tooltipOption!==!1){var v=f.type,d=void 0;["point","edge","polygon"].includes(v)?d=Dv(f,e,l,t):["area","line","path","heatmap"].includes(v)||s!==!1?d=Pv(f,e,l,t):d=Dv(f,e,l,t),d.length&&(u&&d.reverse(),a.push(d))}}}catch(p){i={error:p}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}return a}function TF(r,e,t){var i,n,a=zu(r,e,t);try{for(var o=vt(r.views),s=o.next();!s.done;s=o.next()){var l=s.value;a=a.concat(zu(l,e,t))}}catch(u){i={error:u}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function EF(r){return!nt(r)&&!z(r)}function $c(r){r===void 0&&(r=0);var e=z(r)?r:[r];switch(e.length){case 0:e=[0,0,0,0];break;case 1:e=new Array(4).fill(e[0]);break;case 2:e=K(K([],U(e),!1),U(e),!1);break;case 3:e=K(K([],U(e),!1),[e[1]],!1);break;default:e=e.slice(0,4);break}return e}var Hc={};function Di(r,e){Hc[r]=e}function kF(){return Object.keys(Hc)}function LF(r){return Hc[r]}var IF=function(){function r(e){this.option=this.wrapperOption(e)}return r.prototype.update=function(e){return this.option=this.wrapperOption(e),this},r.prototype.hasAction=function(e){var t=this.option.actions;return gs(t,function(i){return i[0]===e})},r.prototype.create=function(e,t){var i=this.option,n=i.type,a=i.cfg,o=n==="theta",s=b({start:e,end:t},a),l=eM(o?"polar":n);return this.coordinate=new l(s),this.coordinate.type=n,o&&(this.hasAction("transpose")||this.transpose()),this.execActions(),this.coordinate},r.prototype.adjust=function(e,t){return this.coordinate.update({start:e,end:t}),this.coordinate.resetMatrix(),this.execActions(["scale","rotate","translate"]),this.coordinate},r.prototype.rotate=function(e){return this.option.actions.push(["rotate",e]),this},r.prototype.reflect=function(e){return this.option.actions.push(["reflect",e]),this},r.prototype.scale=function(e,t){return this.option.actions.push(["scale",e,t]),this},r.prototype.transpose=function(){return this.option.actions.push(["transpose"]),this},r.prototype.getOption=function(){return this.option},r.prototype.getCoordinate=function(){return this.coordinate},r.prototype.wrapperOption=function(e){return b({type:"rect",actions:[],cfg:{}},e)},r.prototype.execActions=function(e){var t=this,i=this.option.actions;C(i,function(n){var a,o=U(n),s=o[0],l=o.slice(1),u=R(e)?!0:e.includes(s);u&&(a=t.coordinate)[s].apply(a,K([],U(l),!1))})},r}(),kt=function(){function r(e,t,i){this.view=e,this.gEvent=t,this.data=i,this.type=t.type}return r.fromData=function(e,t,i){return new r(e,new Pa(t,{}),i)},Object.defineProperty(r.prototype,"target",{get:function(){return this.gEvent.target},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"event",{get:function(){return this.gEvent.originalEvent},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.gEvent.x},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"y",{get:function(){return this.gEvent.y},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientX",{get:function(){return this.gEvent.clientX},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"clientY",{get:function(){return this.gEvent.clientY},enumerable:!1,configurable:!0}),r.prototype.toString=function(){return"[Event (type=".concat(this.type,")]")},r.prototype.clone=function(){return new r(this.view,this.gEvent,this.data)},r}();function PF(r){var e=r.getController("axis"),t=r.getController("legend"),i=r.getController("annotation"),n=r.getController("slider"),a=r.getController("scrollbar");[e,n,a,t,i].forEach(function(o){o&&o.layout()})}var DF=function(){function r(){this.scales=new Map,this.syncScales=new Map}return r.prototype.createScale=function(e,t,i,n){var a=i,o=this.getScaleMeta(n);if(t.length===0&&o){var s=o.scale,l={type:s.type};s.isCategory&&(l.values=s.values),a=X(l,o.scaleDef,i)}var u=VA(e,t,a);return this.cacheScale(u,i,n),u},r.prototype.sync=function(e,t){var i=this;this.syncScales.forEach(function(n,a){var o=Number.MAX_SAFE_INTEGER,s=Number.MIN_SAFE_INTEGER,l=[];C(n,function(u){var c=i.getScale(u);s=nt(c.max)?Math.max(s,c.max):s,o=nt(c.min)?Math.min(o,c.min):o,C(c.values,function(h){l.includes(h)||l.push(h)})}),C(n,function(u){var c=i.getScale(u);if(c.isContinuous)c.change({min:o,max:s,values:l});else if(c.isCategory){var h=c.range,f=i.getScaleMeta(u);l&&!A(f,["scaleDef","range"])&&(h=py(X({},c,{values:l}),e,t)),c.change({values:l,range:h})}})})},r.prototype.cacheScale=function(e,t,i){var n=this.getScaleMeta(i);n&&n.scale.type===e.type?(YA(n.scale,e),n.scaleDef=t):(n={key:i,scale:e,scaleDef:t},this.scales.set(i,n));var a=this.getSyncKey(n);if(n.syncKey=a,this.removeFromSyncScales(i),a){var o=this.syncScales.get(a);o||(o=[],this.syncScales.set(a,o)),o.push(i)}},r.prototype.getScale=function(e){var t=this.getScaleMeta(e);if(!t){var i=Gt(e.split("-")),n=this.syncScales.get(i);n&&n.length&&(t=this.getScaleMeta(n[0]))}return t&&t.scale},r.prototype.deleteScale=function(e){var t=this.getScaleMeta(e);if(t){var i=t.syncKey,n=this.syncScales.get(i);if(n&&n.length){var a=n.indexOf(e);a!==-1&&n.splice(a,1)}}this.scales.delete(e)},r.prototype.clear=function(){this.scales.clear(),this.syncScales.clear()},r.prototype.removeFromSyncScales=function(e){var t=this;this.syncScales.forEach(function(i,n){var a=i.indexOf(e);if(a!==-1)return i.splice(a,1),i.length===0&&t.syncScales.delete(n),!1})},r.prototype.getSyncKey=function(e){var t=e.scale,i=e.scaleDef,n=t.field,a=A(i,["sync"]);return a===!0?n:a===!1?void 0:a},r.prototype.getScaleMeta=function(e){return this.scales.get(e)},r}(),Oo=function(){function r(e,t,i,n){e===void 0&&(e=0),t===void 0&&(t=0),i===void 0&&(i=0),n===void 0&&(n=0),this.top=e,this.right=t,this.bottom=i,this.left=n}return r.instance=function(e,t,i,n){return e===void 0&&(e=0),t===void 0&&(t=0),i===void 0&&(i=0),n===void 0&&(n=0),new r(e,t,i,n)},r.prototype.max=function(e){var t=U(e,4),i=t[0],n=t[1],a=t[2],o=t[3];return this.top=Math.max(this.top,i),this.right=Math.max(this.right,n),this.bottom=Math.max(this.bottom,a),this.left=Math.max(this.left,o),this},r.prototype.shrink=function(e){var t=U(e,4),i=t[0],n=t[1],a=t[2],o=t[3];return this.top+=i,this.right+=n,this.bottom+=a,this.left+=o,this},r.prototype.inc=function(e,t){var i=e.width,n=e.height;switch(t){case V.TOP:case V.TOP_LEFT:case V.TOP_RIGHT:this.top+=n;break;case V.RIGHT:case V.RIGHT_TOP:case V.RIGHT_BOTTOM:this.right+=i;break;case V.BOTTOM:case V.BOTTOM_LEFT:case V.BOTTOM_RIGHT:this.bottom+=n;break;case V.LEFT:case V.LEFT_TOP:case V.LEFT_BOTTOM:this.left+=i;break}return this},r.prototype.getPadding=function(){return[this.top,this.right,this.bottom,this.left]},r.prototype.clone=function(){return new(r.bind.apply(r,K([void 0],U(this.getPadding()),!1)))},r}();function OF(r){var e=r.padding;if(!EF(e))return new(Oo.bind.apply(Oo,K([void 0],U($c(e)),!1)));var t=r.viewBBox,i=new Oo,n=[],a=[],o=[];return C(r.getComponents(),function(s){var l=s.type;l===Yt.AXIS?n.push(s):[Yt.LEGEND,Yt.SLIDER,Yt.SCROLLBAR].includes(l)?a.push(s):l!==Yt.GRID&&l!==Yt.TOOLTIP&&o.push(s)}),C(n,function(s){var l=s.component,u=l.getLayoutBBox(),c=new se(u.x,u.y,u.width,u.height),h=c.exceed(t);i.max(h)}),C(a,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=l.get("padding"),f=new se(c.x,c.y,c.width,c.height).expand(h);i.inc(f,u)}),C(o,function(s){var l=s.component,u=s.direction,c=l.getLayoutBBox(),h=new se(c.x,c.y,c.width,c.height);i.inc(h,u)}),i}function BF(r,e,t){var i=t.instance();e.forEach(function(n){n.autoPadding=i.max(n.autoPadding.getPadding())})}var Ny=function(r){O(e,r);function e(t){var i=r.call(this,{visible:t.visible})||this;i.views=[],i.geometries=[],i.controllers=[],i.interactions={},i.limitInPlot=!1,i.options={data:[],animate:!0},i.usedControllers=kF(),i.scalePool=new DF,i.layoutFunc=PF,i.isPreMouseInPlot=!1,i.isDataChanged=!1,i.isCoordinateChanged=!1,i.createdScaleKeys=new Map,i.onCanvasEvent=function(w){var x=w.name;if(!x.includes(":")){var S=i.createViewEvent(w);i.doPlotEvent(S),i.emit(x,S)}},i.onDelegateEvents=function(w){var x=w.name;if(x.includes(":")){var S=i.createViewEvent(w);i.emit(x,S)}};var n=t.id,a=n===void 0?Jr("view"):n,o=t.parent,s=t.canvas,l=t.backgroundGroup,u=t.middleGroup,c=t.foregroundGroup,h=t.region,f=h===void 0?{start:{x:0,y:0},end:{x:1,y:1}}:h,v=t.padding,d=t.appendPadding,p=t.theme,g=t.options,y=t.limitInPlot,m=t.syncViewPadding;return i.parent=o,i.canvas=s,i.backgroundGroup=l,i.middleGroup=u,i.foregroundGroup=c,i.region=f,i.padding=v,i.appendPadding=d,i.options=b(b({},i.options),g),i.limitInPlot=y,i.id=a,i.syncViewPadding=m,i.themeObject=yt(p)?X({},Jn("default"),is(p)):Jn(p),i.init(),i}return e.prototype.setLayout=function(t){this.layoutFunc=t},e.prototype.init=function(){this.calculateViewBBox(),this.initEvents(),this.initComponentController(),this.initOptions()},e.prototype.render=function(t,i){t===void 0&&(t=!1),this.emit(lt.BEFORE_RENDER,kt.fromData(this,lt.BEFORE_RENDER,i)),this.paint(t),this.emit(lt.AFTER_RENDER,kt.fromData(this,lt.AFTER_RENDER,i)),this.visible===!1&&this.changeVisible(!1)},e.prototype.clear=function(){var t=this;this.emit(lt.BEFORE_CLEAR),this.filteredData=[],this.coordinateInstance=void 0,this.isDataChanged=!1,this.isCoordinateChanged=!1;for(var i=this.geometries,n=0;n');E.appendChild(I);var B=Jh(E,l,a,o),N=$w(f),Y=new N.Canvas(b({container:I,pixelRatio:v,localRefresh:p,supportCSSTransform:w},B));return i=r.call(this,{parent:null,canvas:Y,backgroundGroup:Y.addGroup({zIndex:ji.BG}),middleGroup:Y.addGroup({zIndex:ji.MID}),foregroundGroup:Y.addGroup({zIndex:ji.FORE}),padding:u,appendPadding:c,visible:y,options:M,limitInPlot:F,theme:T,syncViewPadding:k})||this,i.onResize=Tp(function(){i.forceFit()},300),i.ele=E,i.canvas=Y,i.width=B.width,i.height=B.height,i.autoFit=l,i.localRefresh=p,i.renderer=f,i.wrapperElement=I,i.updateCanvasStyle(),i.bindAutoFit(),i.initDefaultInteractions(S),i}return e.prototype.initDefaultInteractions=function(t){var i=this;C(t,function(n){i.interaction(n)})},e.prototype.aria=function(t){var i="aria-label";t===!1?this.ele.removeAttribute(i):this.ele.setAttribute(i,t.label)},e.prototype.changeSize=function(t,i){return this.width===t&&this.height===i?this:(this.emit(lt.BEFORE_CHANGE_SIZE),this.width=t,this.height=i,this.canvas.changeSize(t,i),this.render(!0),this.emit(lt.AFTER_CHANGE_SIZE),this)},e.prototype.clear=function(){r.prototype.clear.call(this),this.aria(!1)},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.unbindAutoFit(),this.canvas.destroy(),jw(this.wrapperElement),this.wrapperElement=null},e.prototype.changeVisible=function(t){return r.prototype.changeVisible.call(this,t),this.wrapperElement.style.display=t?"":"none",this},e.prototype.forceFit=function(){if(!this.destroyed){var t=Jh(this.ele,!0,this.width,this.height),i=t.width,n=t.height;this.changeSize(i,n)}},e.prototype.updateCanvasStyle=function(){re(this.canvas.get("el"),{display:"inline-block",verticalAlign:"middle"})},e.prototype.bindAutoFit=function(){this.autoFit&&window.addEventListener("resize",this.onResize)},e.prototype.unbindAutoFit=function(){this.autoFit&&window.removeEventListener("resize",this.onResize)},e}(Ny),Sn=function(){function r(e){this.visible=!0,this.components=[],this.view=e}return r.prototype.clear=function(e){C(this.components,function(t){t.component.destroy()}),this.components=[]},r.prototype.destroy=function(){this.clear()},r.prototype.getComponents=function(){return this.components},r.prototype.changeVisible=function(e){this.visible!==e&&(this.components.forEach(function(t){e?t.component.show():t.component.hide()}),this.visible=e)},r}();function zF(r){for(var e=[],t=function(n){var a=r[n],o=$e(e,function(s){return s.color===a.color&&s.name===a.name&&s.value===a.value&&s.title===a.title});o||e.push(a)},i=0;i1){var x=u[0],S=Math.abs(t.y-x[0].y);try{for(var M=vt(u),F=M.next();!F.done;F=M.next()){var T=F.value,k=Math.abs(t.y-T[0].y);k<=S&&(x=T,S=k)}}catch(E){s={error:E}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[x]}return zF(Me(u))}return[]},e.prototype.layout=function(){},e.prototype.update=function(){if(this.point&&this.showTooltip(this.point),this.tooltip){var t=this.view.getCanvas();this.tooltip.set("region",{start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}})}},e.prototype.isCursorEntered=function(t){if(this.tooltip){var i=this.tooltip.getContainer(),n=this.tooltip.get("capture");if(i&&n){var a=i.getBoundingClientRect(),o=a.x,s=a.y,l=a.width,u=a.height;return new se(o,s,l,u).isPointIn(t)}}return!1},e.prototype.getTooltipCfg=function(){var t=this.view,i=t.getOptions().tooltip,n=this.processCustomContent(i),a=t.getTheme(),o=A(a,["components","tooltip"],{}),s=A(n,"enterable",o.enterable);return X({},o,n,{capture:!!(s||this.isLocked)})},e.prototype.processCustomContent=function(t){if(en(t)||!A(t,"customContent"))return t;var i=t.customContent,n=function(a,o){var s=i(a,o)||"";return J(s)?'
    '+s+"
    ":s};return b(b({},t),{customContent:n})},e.prototype.getTitle=function(t){var i=t[0].title||t[0].name;return this.title=i,i},e.prototype.renderTooltip=function(){var t=this.view.getCanvas(),i={start:{x:0,y:0},end:{x:t.get("width"),y:t.get("height")}},n=this.getTooltipCfg(),a=new Xs(b(b({parent:t.get("el").parentNode,region:i},n),{visible:!1,crosshairs:null}));a.init(),this.tooltip=a},e.prototype.renderTooltipMarkers=function(t,i){var n,a,o=this.getTooltipMarkersGroup(),s=this.view.getRootView(),l=s.limitInPlot;try{for(var u=vt(t),c=u.next();!c.done;c=u.next()){var h=c.value,f=h.x,v=h.y;if(l||o!=null&&o.getClip()){var d=zc(s.getCoordinate()),p=d.type,g=d.attrs;o==null||o.setClip({type:p,attrs:g})}else o==null||o.setClip(void 0);var y=this.view.getTheme(),m=A(y,["components","tooltip","marker"],{}),w=b(b({fill:h.color,symbol:"circle",shadowColor:h.color},W(i)?b(b({},m),i(h)):i),{x:f,y:v});o.addShape("marker",{attrs:w})}}catch(x){n={error:x}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}},e.prototype.renderCrosshairs=function(t,i){var n=A(i,["crosshairs","type"],"x");n==="x"?(this.yCrosshair&&this.yCrosshair.hide(),this.renderXCrosshairs(t,i)):n==="y"?(this.xCrosshair&&this.xCrosshair.hide(),this.renderYCrosshairs(t,i)):n==="xy"&&(this.renderXCrosshairs(t,i),this.renderYCrosshairs(t,i))},e.prototype.renderXCrosshairs=function(t,i){var n=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(n.isRect)n.isTransposed?(a={x:n.start.x,y:t.y},o={x:n.end.x,y:t.y}):(a={x:t.x,y:n.end.y},o={x:t.x,y:n.start.y});else{var s=on(n,t),l=n.getCenter(),u=n.getRadius();o=Rt(l.x,l.y,u,s),a=l}var c=X({start:a,end:o,container:this.getTooltipCrosshairsGroup()},A(i,"crosshairs",{}),this.getCrosshairsText("x",t,i));delete c.type;var h=this.xCrosshair;h?h.update(c):(h=new oy(c),h.init()),h.render(),h.show(),this.xCrosshair=h},e.prototype.renderYCrosshairs=function(t,i){var n=this.getViewWithGeometry(this.view).getCoordinate(),a,o;if(n.isRect){var s=void 0,l=void 0;n.isTransposed?(s={x:t.x,y:n.end.y},l={x:t.x,y:n.start.y}):(s={x:n.start.x,y:t.y},l={x:n.end.x,y:t.y}),a={start:s,end:l},o="Line"}else a={center:n.getCenter(),radius:Ws(n,t),startAngle:n.startAngle,endAngle:n.endAngle},o="Circle";a=X({container:this.getTooltipCrosshairsGroup()},a,A(i,"crosshairs",{}),this.getCrosshairsText("y",t,i)),delete a.type;var u=this.yCrosshair;u?n.isRect&&u.get("type")==="circle"||!n.isRect&&u.get("type")==="line"?(u=new pv[o](a),u.init()):u.update(a):(u=new pv[o](a),u.init()),u.render(),u.show(),this.yCrosshair=u},e.prototype.getCrosshairsText=function(t,i,n){var a=A(n,["crosshairs","text"]),o=A(n,["crosshairs","follow"]),s=this.items;if(a){var l=this.getViewWithGeometry(this.view),u=s[0],c=l.getXScale(),h=l.getYScales()[0],f=void 0,v=void 0;if(o){var d=this.view.getCoordinate().invert(i);f=c.invert(d.x),v=h.invert(d.y)}else f=u.data[c.field],v=u.data[h.field];var p=t==="x"?f:v;return W(a)?a=a(t,p,s,i):a.content=p,{text:a}}},e.prototype.getGuideGroup=function(){if(!this.guideGroup){var t=this.view.foregroundGroup;this.guideGroup=t.addGroup({name:"tooltipGuide",capture:!1})}return this.guideGroup},e.prototype.getTooltipMarkersGroup=function(){var t=this.tooltipMarkersGroup;return t&&!t.destroyed?(t.clear(),t.show()):(t=this.getGuideGroup().addGroup({name:"tooltipMarkersGroup"}),t.toFront(),this.tooltipMarkersGroup=t),t},e.prototype.getTooltipCrosshairsGroup=function(){var t=this.tooltipCrosshairsGroup;return t||(t=this.getGuideGroup().addGroup({name:"tooltipCrosshairsGroup",capture:!1}),t.toBack(),this.tooltipCrosshairsGroup=t),t},e.prototype.findItemsFromView=function(t,i){var n,a;if(t.getOptions().tooltip===!1)return[];var o=this.getTooltipCfg(),s=zu(t,i,o);try{for(var l=vt(t.views),u=l.next();!u.done;u=l.next()){var c=u.value;s=s.concat(this.findItemsFromView(c,i))}}catch(h){n={error:h}}finally{try{u&&!u.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}return s},e.prototype.getViewWithGeometry=function(t){var i=this;return t.geometries.length?t:$e(t.views,function(n){return i.getViewWithGeometry(n)})},e.prototype.getItemsAfterProcess=function(t){var i=this.getTooltipCfg().customItems,n=i||function(a){return a};return n(t)},e}(Sn),Vy={};function Yy(r){return Vy[r.toLowerCase()]}function Fe(r,e){Vy[r.toLowerCase()]=e}var ln={appear:{duration:450,easing:"easeQuadOut"},update:{duration:400,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut"},leave:{duration:350,easing:"easeQuadIn"}},NF={interval:function(r){return{enter:{animation:r.isRect?r.isTransposed?"scale-in-x":"scale-in-y":"fade-in"},update:{animation:r.isPolar&&r.isTransposed?"sector-path-update":null},leave:{animation:"fade-out"}}},line:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},path:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},point:{appear:{animation:"zoom-in"},enter:{animation:"zoom-in"},leave:{animation:"zoom-out"}},area:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},polygon:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},schema:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},edge:{enter:{animation:"fade-in"},leave:{animation:"fade-out"}},label:{appear:{animation:"fade-in",delay:450},enter:{animation:"fade-in"},update:{animation:"position-update"},leave:{animation:"fade-out"}}},Ov={line:function(){return{animation:"wave-in"}},area:function(){return{animation:"wave-in"}},path:function(){return{animation:"fade-in"}},interval:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":(e="grow-in-xy",r.isPolar&&r.isTransposed&&(e="wave-in")),{animation:e}},schema:function(r){var e;return r.isRect?e=r.isTransposed?"grow-in-x":"grow-in-y":e="grow-in-xy",{animation:e}},polygon:function(){return{animation:"fade-in",duration:500}},edge:function(){return{animation:"fade-in"}}};function GF(r,e){return{delay:W(r.delay)?r.delay(e):r.delay,easing:W(r.easing)?r.easing(e):r.easing,duration:W(r.duration)?r.duration(e):r.duration,callback:r.callback,repeat:r.repeat}}function $y(r,e,t){var i=NF[r];return i&&(W(i)&&(i=i(e)),i=X({},ln,i)),i}function Ki(r,e,t){var i=A(r.get("origin"),"data",St),n=e.animation,a=GF(e,i);if(n){var o=Yy(n);o&&o(r,a,t)}else r.animate(t.toAttrs,a)}function VF(r,e,t,i,n){if(Ov[t]){var a=Ov[t](i),o=Yy(A(a,"animation",""));if(o){var s=b(b(b({},ln.appear),a),e);r.stopAnimate(),o(r,s,{coordinate:i,minYPoint:n,toAttrs:null})}}}var Xc="element-background",Hy=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;i.labelShape=[],i.states=[];var n=t.shapeFactory,a=t.container,o=t.offscreenGroup,s=t.elementIndex,l=t.visible,u=l===void 0?!0:l;return i.shapeFactory=n,i.container=a,i.offscreenGroup=o,i.visible=u,i.elementIndex=s,i}return e.prototype.draw=function(t,i){i===void 0&&(i=!1),this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.drawShape(t,i),this.visible===!1&&this.changeVisible(!1)},e.prototype.update=function(t){var i=this,n=i.shapeFactory,a=i.shape;if(a){this.model=t,this.data=t.data,this.shapeType=this.getShapeType(t),this.setShapeInfo(a,t);var o=this.getOffscreenGroup(),s=n.drawShape(this.shapeType,t,o);s.cfg.data=this.data,s.cfg.origin=t,s.cfg.element=this,this.syncShapeStyle(a,s,this.getStates(),this.getAnimateCfg("update"))}},e.prototype.destroy=function(){var t=this,i=t.shapeFactory,n=t.shape;if(n){var a=this.getAnimateCfg("leave");a?Ki(n,a,{coordinate:i.coordinate,toAttrs:b({},n.attr())}):n.remove(!0)}this.states=[],this.shapeFactory=void 0,this.container=void 0,this.shape=void 0,this.animate=void 0,this.geometry=void 0,this.labelShape=[],this.model=void 0,this.data=void 0,this.offscreenGroup=void 0,this.statesStyle=void 0,r.prototype.destroy.call(this)},e.prototype.changeVisible=function(t){r.prototype.changeVisible.call(this,t),t?(this.shape&&this.shape.show(),this.labelShape&&this.labelShape.forEach(function(i){i.show()})):(this.shape&&this.shape.hide(),this.labelShape&&this.labelShape.forEach(function(i){i.hide()}))},e.prototype.setState=function(t,i){var n=this,a=n.states,o=n.shapeFactory,s=n.model,l=n.shape,u=n.shapeType,c=a.indexOf(t);if(i){if(c>-1)return;a.push(t),(t==="active"||t==="selected")&&(l==null||l.toFront())}else{if(c===-1)return;if(a.splice(c,1),t==="active"||t==="selected"){var h=this.geometry,f=h.sortZIndex,v=h.zIndexReversed,d=v?this.geometry.elements.length-this.elementIndex:this.elementIndex;f?l.setZIndex(d):l.set("zIndex",d)}}var p=o.drawShape(u,s,this.getOffscreenGroup());a.length?this.syncShapeStyle(l,p,a,null):this.syncShapeStyle(l,p,["reset"],null),p.remove(!0);var g={state:t,stateStatus:i,element:this,target:this.container};this.container.emit("statechange",g),_g(this.shape,"statechange",g)},e.prototype.clearStates=function(){var t=this,i=this.states;C(i,function(n){t.setState(n,!1)}),this.states=[]},e.prototype.hasState=function(t){return this.states.includes(t)},e.prototype.getStates=function(){return this.states},e.prototype.getData=function(){return this.data},e.prototype.getModel=function(){return this.model},e.prototype.getBBox=function(){var t=this,i=t.shape,n=t.labelShape,a={x:0,y:0,minX:0,minY:0,maxX:0,maxY:0,width:0,height:0};return i&&(a=i.getCanvasBBox()),n&&n.forEach(function(o){var s=o.getCanvasBBox();a.x=Math.min(s.x,a.x),a.y=Math.min(s.y,a.y),a.minX=Math.min(s.minX,a.minX),a.minY=Math.min(s.minY,a.minY),a.maxX=Math.max(s.maxX,a.maxX),a.maxY=Math.max(s.maxY,a.maxY)}),a.width=a.maxX-a.minX,a.height=a.maxY-a.minY,a},e.prototype.getStatesStyle=function(){if(!this.statesStyle){var t=this,i=t.shapeType,n=t.geometry,a=t.shapeFactory,o=n.stateOption,s=a.defaultShapeType,l=a.theme[i]||a.theme[s];this.statesStyle=X({},l,o)}return this.statesStyle},e.prototype.getStateStyle=function(t,i){var n=this.getStatesStyle(),a=A(n,[t,"style"],{}),o=a[i]||a;return W(o)?o(this):o},e.prototype.getAnimateCfg=function(t){var i=this,n=this.animate;if(n){var a=n[t];return a&&b(b({},a),{callback:function(){var o;W(a.callback)&&a.callback(),(o=i.geometry)===null||o===void 0||o.emit(Gr.AFTER_DRAW_ANIMATE)}})}return null},e.prototype.drawShape=function(t,i){var n;i===void 0&&(i=!1);var a=this,o=a.shapeFactory,s=a.container,l=a.shapeType;if(this.shape=o.drawShape(l,t,s),this.shape){this.setShapeInfo(this.shape,t);var u=this.shape.cfg.name;u?J(u)&&(this.shape.cfg.name=["element",u]):this.shape.cfg.name=["element",this.shapeFactory.geometryType];var c=i?"enter":"appear",h=this.getAnimateCfg(c);h&&((n=this.geometry)===null||n===void 0||n.emit(Gr.BEFORE_DRAW_ANIMATE),Ki(this.shape,h,{coordinate:o.coordinate,toAttrs:b({},this.shape.attr())}))}},e.prototype.getOffscreenGroup=function(){if(!this.offscreenGroup){var t=this.container.getGroupBase();this.offscreenGroup=new t({})}return this.offscreenGroup},e.prototype.setShapeInfo=function(t,i){var n=this;if(t.cfg.origin=i,t.cfg.element=this,t.isGroup()){var a=t.get("children");a.forEach(function(o){n.setShapeInfo(o,i)})}},e.prototype.syncShapeStyle=function(t,i,n,a,o){var s=this,l;if(n===void 0&&(n=[]),o===void 0&&(o=0),!(!t||!i)){var u=t.get("clipShape"),c=i.get("clipShape");if(this.syncShapeStyle(u,c,n,a),t.isGroup())for(var h=t.get("children"),f=i.get("children"),v=0;v=0?a=i:n<=0?a=n:a=0,a},e.prototype.createAttrOption=function(t,i,n){if(R(i)||yt(i))yt(i)&&Ot(Object.keys(i),["values"])?zt(this.attributeOption,t,{fields:i.values}):zt(this.attributeOption,t,i);else{var a={};nt(i)?a.values=[i]:a.fields=On(i),n&&(W(n)?a.callback=n:a.values=n),zt(this.attributeOption,t,a)}},e.prototype.initAttributes=function(){var t=this,i=this,n=i.attributes,a=i.attributeOption,o=i.theme,s=i.shapeType;this.groupScales=[];var l={},u=function(f){if(a.hasOwnProperty(f)){var v=a[f];if(!v)return{value:void 0};var d=b({},v),p=d.callback,g=d.values,y=d.fields,m=y===void 0?[]:y,w=m.map(function(S){var M=t.scales[S];if(!l[S]&&Wi.includes(f)){var F=dy(M,A(t.scaleDefs,S),f,t.type);F==="cat"&&(t.groupScales.push(M),l[S]=!0)}return M});d.scales=w,f!=="position"&&w.length===1&&w[0].type==="identity"?d.values=w[0].values:!p&&!g&&(f==="size"?d.values=o.sizes:f==="shape"?d.values=o.shapes[s]||[]:f==="color"&&(w.length?d.values=w[0].values.length<=10?o.colors10:o.colors20:d.values=o.colors10));var x=Hg(f);n[f]=new x(d)}};for(var c in a){var h=u(c);if(typeof h=="object")return h.value}},e.prototype.processData=function(t){var i,n;this.hasSorted=!1;for(var a=this.getAttribute("position").scales,o=a.filter(function(F){return F.isCategory}),s=this.groupData(t),l=[],u=0,c=s.length;us&&(s=h)}var f=this.scaleDefs,v={};ot.max&&!A(f,[a,"max"])&&(v.max=s),t.change(v)},e.prototype.beforeMapping=function(t){var i=t;if(this.sortable&&this.sort(i),this.generatePoints)for(var n=0,a=i.length;n1)for(var f=0;f0})}function jy(r,e,t){var i=t.data,n=t.origin,a=t.animateCfg,o=t.coordinate,s=A(a,"update");r.set("data",i),r.set("origin",n),r.set("animateCfg",a),r.set("coordinate",o),r.set("visible",e.get("visible")),(r.getChildren()||[]).forEach(function(l,u){var c=e.getChildByIndex(u);if(!c)r.removeChild(l),l.remove(!0);else{l.set("data",i),l.set("origin",n),l.set("animateCfg",a),l.set("coordinate",o);var h=vy(l,c);s?Ki(l,s,{toAttrs:h,coordinate:o}):l.attr(h),c.isGroup()&&jy(l,c,t)}}),C(e.getChildren(),function(l,u){u>=r.getCount()&&(l.destroyed||r.add(l))})}var ZF=function(){function r(e){this.shapesMap={};var t=e.layout,i=e.container;this.layout=t,this.container=i}return r.prototype.render=function(e,t,i){return i===void 0&&(i=!1),na(this,void 0,void 0,function(){var n,a,o,s,l,u,c,h,f=this;return aa(this,function(v){switch(v.label){case 0:if(n={},a=this.createOffscreenGroup(),!e.length)return[3,2];try{for(o=vt(e),s=o.next();!s.done;s=o.next())l=s.value,l&&(n[l.id]=this.renderLabel(l,a))}catch(d){c={error:d}}finally{try{s&&!s.done&&(h=o.return)&&h.call(o)}finally{if(c)throw c.error}}return[4,this.doLayout(e,t,n)];case 1:v.sent(),this.renderLabelLine(e,n),this.renderLabelBackground(e,n),this.adjustLabel(e,n),v.label=2;case 2:return u=this.shapesMap,C(n,function(d,p){if(d.destroyed)delete n[p];else{if(u[p]){var g=d.get("data"),y=d.get("origin"),m=d.get("coordinate"),w=d.get("animateCfg"),x=u[p];jy(x,n[p],{data:g,origin:y,animateCfg:w,coordinate:m}),n[p]=x}else{if(f.container.destroyed)return;f.container.add(d);var S=A(d.get("animateCfg"),i?"enter":"appear");S&&Ki(d,S,{toAttrs:b({},d.attr()),coordinate:d.get("coordinate")})}delete u[p]}}),C(u,function(d){var p=A(d.get("animateCfg"),"leave");p?Ki(d,p,{toAttrs:null,coordinate:d.get("coordinate")}):d.remove(!0)}),this.shapesMap=n,a.destroy(),[2]}})})},r.prototype.clear=function(){this.container.clear(),this.shapesMap={}},r.prototype.destroy=function(){this.container.destroy(),this.shapesMap=null},r.prototype.renderLabel=function(e,t){var i=e.id,n=e.elementId,a=e.data,o=e.mappingData,s=e.coordinate,l=e.animate,u=e.content,c=e.capture,h={id:i,elementId:n,capture:c,data:a,origin:b(b({},o),{data:o[St]}),coordinate:s},f=t.addGroup(b({name:"label",animateCfg:this.animate===!1||l===null||l===!1?!1:X({},this.animate,l)},h)),v;if(u.isGroup&&u.isGroup()||u.isShape&&u.isShape()){var d=u.getCanvasBBox(),p=d.width,g=d.height,y=A(e,"textAlign","left"),m=e.x,w=e.y-g/2;y==="center"?m=m-p/2:(y==="right"||y==="end")&&(m=m-p),Ga(u,m,w),v=u,f.add(u)}else{var x=A(e,["style","fill"]);v=f.addShape("text",b({attrs:b(b({x:e.x,y:e.y,textAlign:e.textAlign,textBaseline:A(e,"textBaseline","middle"),text:e.content},e.style),{fill:kw(x)?e.color:x})},h))}return e.rotate&&_c(v,e.rotate),f},r.prototype.doLayout=function(e,t,i){return na(this,void 0,void 0,function(){var n,a=this;return aa(this,function(o){switch(o.label){case 0:return this.layout?(n=z(this.layout)?this.layout:[this.layout],[4,Promise.all(n.map(function(s){var l=$F(A(s,"type",""));if(l){var u=[],c=[];return C(i,function(h,f){u.push(h),c.push(t[h.get("elementId")])}),l(e,u,c,a.region,s.cfg)}}))]):[3,2];case 1:o.sent(),o.label=2;case 2:return[2]}})})},r.prototype.renderLabelLine=function(e,t){C(e,function(i){var n=A(i,"coordinate");if(!(!i||!n)){var a=n.getCenter(),o=n.getRadius();if(i.labelLine){var s=A(i,"labelLine",{}),l=i.id,u=s.path;if(!u){var c=Rt(a.x,a.y,o,i.angle);u=[["M",c.x,c.y],["L",i.x,i.y]]}var h=t[l];h.destroyed||h.addShape("path",{capture:!1,attrs:b({path:u,stroke:i.color?i.color:A(i,["style","fill"],"#000"),fill:null},s.style),id:l,origin:i.mappingData,data:i.data,coordinate:i.coordinate})}}})},r.prototype.renderLabelBackground=function(e,t){C(e,function(i){var n=A(i,"coordinate"),a=A(i,"background");if(!(!a||!n)){var o=i.id,s=t[o];if(!s.destroyed){var l=s.getChildren()[0];if(l){var u=Uy(s,i,a.padding),c=u.rotation,h=Ct(u,["rotation"]),f=s.addShape("rect",{attrs:b(b({},h),a.style||{}),id:o,origin:i.mappingData,data:i.data,coordinate:i.coordinate});if(f.setZIndex(-1),c){var v=l.getMatrix();f.setMatrix(v)}}}}})},r.prototype.createOffscreenGroup=function(){var e=this.container,t=e.getGroupBase(),i=new t({});return i},r.prototype.adjustLabel=function(e,t){C(e,function(i){if(i){var n=i.id,a=t[n];if(!a.destroyed){var o=a.findAll(function(s){return s.get("type")!=="path"});C(o,function(s){s&&(i.offsetX&&s.attr("x",s.attr("x")+i.offsetX),i.offsetY&&s.attr("y",s.attr("y")+i.offsetY))})}}})},r}();function Rv(r){var e=0;return C(r,function(t){e+=t}),e/r.length}var Zs=function(){function r(e){this.geometry=e}return r.prototype.getLabelItems=function(e){var t=this,i=[],n=this.getLabelCfgs(e);return C(e,function(a,o){var s=n[o];if(!s||R(a.x)||R(a.y)){i.push(null);return}var l=z(s.content)?s.content:[s.content];s.content=l;var u=l.length;C(l,function(c,h){if(R(c)||c===""){i.push(null);return}var f=b(b({},s),t.getLabelPoint(s,a,h));f.textAlign||(f.textAlign=t.getLabelAlign(f,h,u)),f.offset<=0&&(f.labelLine=null),i.push(f)})}),i},r.prototype.render=function(e,t){return t===void 0&&(t=!1),na(this,void 0,void 0,function(){var i,n,a;return aa(this,function(o){switch(o.label){case 0:return i=this.getLabelItems(e),n=this.getLabelsRenderer(),a=this.getGeometryShapes(),[4,n.render(i,a,t)];case 1:return o.sent(),[2]}})})},r.prototype.clear=function(){var e=this.labelsRenderer;e&&e.clear()},r.prototype.destroy=function(){var e=this.labelsRenderer;e&&e.destroy(),this.labelsRenderer=null},r.prototype.getCoordinate=function(){return this.geometry.coordinate},r.prototype.getDefaultLabelCfg=function(e,t){var i=this.geometry,n=i.type,a=i.theme;return n==="polygon"||n==="interval"&&t==="middle"||e<0&&!["line","point","path"].includes(n)?A(a,"innerLabels",{}):A(a,"labels",{})},r.prototype.getThemedLabelCfg=function(e){var t=this.geometry,i=this.getDefaultLabelCfg(),n=t.type,a=t.theme,o;return n==="polygon"||e.offset<0&&!["line","point","path"].includes(n)?o=X({},i,a.innerLabels,e):o=X({},i,a.labels,e),o},r.prototype.setLabelPosition=function(e,t,i,n){},r.prototype.getLabelOffset=function(e){var t=this.getCoordinate(),i=this.getOffsetVector(e);return t.isTransposed?i[0]:i[1]},r.prototype.getLabelOffsetPoint=function(e,t,i){var n=e.offset,a=this.getCoordinate(),o=a.isTransposed,s=o?"x":"y",l=o?1:-1,u={x:0,y:0};return t>0||i===1?u[s]=n*l:u[s]=n*l*-1,u},r.prototype.getLabelPoint=function(e,t,i){var n=this.getCoordinate(),a=e.content.length;function o(g,y,m){m===void 0&&(m=!1);var w=g;return z(w)&&(e.content.length===1?m?w=Rv(w):w.length<=2?w=w[g.length-1]:w=Rv(w):w=w[y]),w}var s={content:e.content[i],x:0,y:0,start:{x:0,y:0},color:"#fff"},l=z(t.shape)?t.shape[0]:t.shape,u=l==="funnel"||l==="pyramid";if(this.geometry.type==="polygon"){var c=PA(t.x,t.y);s.x=c[0],s.y=c[1]}else this.geometry.type==="interval"&&!u?(s.x=o(t.x,i,!0),s.y=o(t.y,i)):(s.x=o(t.x,i),s.y=o(t.y,i));if(u){var h=A(t,"nextPoints"),f=A(t,"points");if(h){var v=n.convert(f[1]),d=n.convert(h[1]);s.x=(v.x+d.x)/2,s.y=(v.y+d.y)/2}else if(l==="pyramid"){var v=n.convert(f[1]),d=n.convert(f[2]);s.x=(v.x+d.x)/2,s.y=(v.y+d.y)/2}}e.position&&this.setLabelPosition(s,t,i,e.position);var p=this.getLabelOffsetPoint(e,i,a);return s.start={x:s.x,y:s.y},s.x+=p.x,s.y+=p.y,s.color=t.color,s},r.prototype.getLabelAlign=function(e,t,i){var n="center",a=this.getCoordinate();if(a.isTransposed){var o=e.offset;o<0?n="right":o===0?n="center":n="left",i>1&&t===0&&(n==="right"?n="left":n==="left"&&(n="right"))}return n},r.prototype.getLabelId=function(e){var t=this.geometry,i=t.type,n=t.getXScale(),a=t.getYScale(),o=e[St],s=t.getElementId(e);return i==="line"||i==="area"?s+=" ".concat(o[n.field]):i==="path"&&(s+=" ".concat(o[n.field],"-").concat(o[a.field])),s},r.prototype.getLabelsRenderer=function(){var e=this.geometry,t=e.labelsContainer,i=e.labelOption,n=e.canvasRegion,a=e.animateOption,o=this.geometry.coordinate,s=this.labelsRenderer;return s||(s=new ZF({container:t,layout:A(i,["cfg","layout"],{type:this.defaultLayout})}),this.labelsRenderer=s),s.region=n,s.animate=a?$y("label",o):!1,s},r.prototype.getLabelCfgs=function(e){var t=this,i=this.geometry,n=i.labelOption,a=i.scales,o=i.coordinate,s=n,l=s.fields,u=s.callback,c=s.cfg,h=l.map(function(v){return a[v]}),f=[];return C(e,function(v,d){var p=v[St],g=t.getLabelText(p,h),y;if(u){var m=l.map(function(F){return p[F]});if(y=u.apply(void 0,K([],U(m),!1)),R(y)){f.push(null);return}}var w=b(b({id:t.getLabelId(v),elementId:t.geometry.getElementId(v),data:p,mappingData:v,coordinate:o},c),y);W(w.position)&&(w.position=w.position(p,v,d));var x=t.getLabelOffset(w.offset||0),S=t.getDefaultLabelCfg(x,w.position);w=X({},S,w),w.offset=t.getLabelOffset(w.offset||0);var M=w.content;W(M)?w.content=M(p,v,d):ci(M)&&(w.content=g[0]),f.push(w)}),f},r.prototype.getLabelText=function(e,t){var i=[];return C(t,function(n){var a=e[n.field];z(a)?a=a.map(function(o){return n.getText(o)}):a=n.getText(a),R(a)||a===""?i.push(null):i.push(a)}),i},r.prototype.getOffsetVector=function(e){e===void 0&&(e=0);var t=this.getCoordinate(),i=0;return nt(e)&&(i=e),t.isTransposed?t.applyMatrix(i,0):t.applyMatrix(0,i)},r.prototype.getGeometryShapes=function(){var e=this.geometry,t={};return C(e.elementsMap,function(i,n){t[n]=i.shape}),C(e.getOffscreenGroup().getChildren(),function(i){var n=e.getElementId(i.get("origin").mappingData);t[n]=i}),t},r}();function Nu(r,e,t){if(!r)return t;var i;if(r.callback&&r.callback.length>1){var n=Array(r.callback.length-1).fill("");i=r.mapping.apply(r,K([e],U(n),!1)).join("")}else i=r.mapping(e).join("");return i||t}var Ei={hexagon:function(r,e,t){var i=t/2*Math.sqrt(3);return[["M",r,e-t],["L",r+i,e-t/2],["L",r+i,e+t/2],["L",r,e+t],["L",r-i,e+t/2],["L",r-i,e-t/2],["Z"]]},bowtie:function(r,e,t){var i=t-1.5;return[["M",r-t,e-i],["L",r+t,e+i],["L",r+t,e-i],["L",r-t,e+i],["Z"]]},cross:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e+t],["M",r+t,e-t],["L",r-t,e+t]]},tick:function(r,e,t){return[["M",r-t/2,e-t],["L",r+t/2,e-t],["M",r,e-t],["L",r,e+t],["M",r-t/2,e+t],["L",r+t/2,e+t]]},plus:function(r,e,t){return[["M",r-t,e],["L",r+t,e],["M",r,e-t],["L",r,e+t]]},hyphen:function(r,e,t){return[["M",r-t,e],["L",r+t,e]]},line:function(r,e,t){return[["M",r,e-t],["L",r,e+t]]}},QF=["line","cross","tick","plus","hyphen"];function KF(r,e){return W(e)?e(r):X({},r,e)}function JF(r,e){var t=r.symbol;if(J(t)&&QF.indexOf(t)!==-1){var i=A(r,"style",{}),n=A(i,"lineWidth",1),a=i.stroke||i.fill||e;r.style=X({},r.style,{lineWidth:n,stroke:a,fill:null})}}function Zy(r){var e=r.symbol;J(e)&&Ei[e]&&(r.symbol=Ei[e])}function zl(r){return r.startsWith(V.LEFT)||r.startsWith(V.RIGHT)?"vertical":"horizontal"}function Qy(r,e,t,i,n){var a=t.getScale(t.type);if(a.isCategory){var o=a.field,s=e.getAttribute("color"),l=e.getAttribute("shape"),u=r.getTheme().defaultColor,c=e.coordinate.isPolar;return a.getTicks().map(function(h,f){var v,d=h.text,p=h.value,g=d,y=a.invert(p),m=r.filterFieldData(o,[(v={},v[o]=y,v)]).length===0;C(r.views,function(F){var T;F.filterFieldData(o,[(T={},T[o]=y,T)]).length||(m=!0)});var w=Nu(s,y,u),x=Nu(l,y,"point"),S=e.getShapeMarker(x,{color:w,isInPolar:c}),M=n;return W(M)&&(M=M(g,f,b({name:g,value:y},X({},i,S)))),S=X({},i,S,fe(b({},M),["style"])),JF(S,w),M&&M.style&&(S.style=KF(S.style,M.style)),Zy(S),{id:y,name:g,value:y,marker:S,unchecked:m}})}return[]}function t2(r,e,t){return t.map(function(i,n){var a=e;W(a)&&(a=a(i.name,n,X({},r,i)));var o=W(i.marker)?i.marker(i.name,n,X({},r,i)):i.marker,s=X({},r,a,o);return Zy(s),i.marker=s,i})}function zv(r,e){var t=A(r,["components","legend"],{});return X({},A(t,["common"],{}),X({},A(t,[e],{})))}function Nl(r){return r?!1:r==null||isNaN(r)}function Nv(r){if(z(r))return Nl(r[1].y);var e=r.y;return z(e)?Nl(e[0]):Nl(e)}function Qs(r,e,t){if(e===void 0&&(e=!1),t===void 0&&(t=!0),!r.length||r.length===1&&!t)return[];if(e){for(var i=[],n=0,a=r.length;n=r&&n<=r+t&&a>=e&&a<=e+i}function ba(r,e){return!(e.minX>r.maxX||e.maxXr.maxY||e.maxY=0&&n<1/2*Math.PI?(s={x:o.minX,y:o.minY},l={x:o.maxX,y:o.maxY}):1/2*Math.PI<=n&&n1&&(t*=Math.sqrt(v),i*=Math.sqrt(v));var d=t*t*(f*f)+i*i*(h*h),p=d?Math.sqrt((t*t*(i*i)-d)/d):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*t*f/i:0,y=t?p*-i*h/t:0,m=(s+u)/2+Math.cos(n)*g-Math.sin(n)*y,w=(l+c)/2+Math.sin(n)*g+Math.cos(n)*y,x=[(h-g)/t,(f-y)/i],S=[(-1*h-g)/t,(-1*f-y)/i],M=Vv([1,0],x),F=Vv(x,S);return Vu(x,S)<=-1&&(F=Math.PI),Vu(x,S)>=1&&(F=0),o===0&&F>0&&(F=F-2*Math.PI),o===1&&F<0&&(F=F+2*Math.PI),{cx:m,cy:w,rx:Gv(r,[u,c])?0:t,ry:Gv(r,[u,c])?0:i,startAngle:M,endAngle:M+F,xRotation:n,arcFlag:a,sweepFlag:o}}var as=Math.sin,os=Math.cos,Uc=Math.atan2,co=Math.PI;function om(r,e,t,i,n,a,o){var s=e.stroke,l=e.lineWidth,u=t-n,c=i-a,h=Uc(c,u),f=new Jc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:{path:"M"+10*os(co/6)+","+10*as(co/6)+" L0,0 L"+10*os(co/6)+",-"+10*as(co/6),stroke:s,lineWidth:l}});f.translate(n,a),f.rotateAtPoint(n,a,h),r.set(o?"startArrowShape":"endArrowShape",f)}function sm(r,e,t,i,n,a,o){var s=e.startArrow,l=e.endArrow,u=e.stroke,c=e.lineWidth,h=o?s:l,f=h.d,v=h.fill,d=h.stroke,p=h.lineWidth,g=Os(h,["d","fill","stroke","lineWidth"]),y=t-n,m=i-a,w=Uc(m,y);f&&(n=n-os(w)*f,a=a-as(w)*f);var x=new Jc({type:"path",canvas:r.get("canvas"),isArrowShape:!0,attrs:D(D({},g),{stroke:d||u,lineWidth:p||c,fill:v})});x.translate(n,a),x.rotateAtPoint(n,a,w),r.set(o?"startArrowShape":"endArrowShape",x)}function bi(r,e,t,i,n){var a=Uc(i-e,t-r);return{dx:os(a)*n,dy:as(a)*n}}function jc(r,e,t,i,n,a){typeof e.startArrow=="object"?sm(r,e,t,i,n,a,!0):e.startArrow?om(r,e,t,i,n,a,!0):r.set("startArrowShape",null)}function Zc(r,e,t,i,n,a){typeof e.endArrow=="object"?sm(r,e,t,i,n,a,!1):e.endArrow?om(r,e,t,i,n,a,!1):r.set("startArrowShape",null)}var Yv={fill:"fillStyle",stroke:"strokeStyle",opacity:"globalAlpha"};function un(r,e){var t=e.attr();for(var i in t){var n=t[i],a=Yv[i]?Yv[i]:i;a==="matrix"&&n?r.transform(n[0],n[1],n[3],n[4],n[6],n[7]):a==="lineDash"&&r.setLineDash?z(n)&&r.setLineDash(n):(a==="strokeStyle"||a==="fillStyle"?n=g2(r,e,n):a==="globalAlpha"&&(n=n*r.globalAlpha),r[a]=n)}}function Yu(r,e,t){for(var i=0;iS?x:S,I=x>S?1:x/S,B=x>S?S/x:1;e.translate(m,w),e.rotate(T),e.scale(I,B),e.arc(0,0,E,M,F,1-k),e.scale(1/I,1/B),e.rotate(-T),e.translate(-m,-w)}break}case"Z":e.closePath();break}if(f==="Z")s=l;else{var N=h.length;s=[h[N-2],h[N-1]]}}}}function cm(r,e){var t=r.get("canvas");t&&(e==="remove"&&(r._cacheCanvasBBox=r.get("cacheCanvasBBox")),r.get("hasChanged")||(r.set("hasChanged",!0),r.cfg.parent&&r.cfg.parent.get("hasChanged")||(t.refreshElement(r,e,t),t.get("autoDraw")&&t.draw())))}function w2(r){var e;if(r.destroyed)e=r._cacheCanvasBBox;else{var t=r.get("cacheCanvasBBox"),i=t&&!!(t.width&&t.height),n=r.getCanvasBBox(),a=n&&!!(n.width&&n.height);i&&a?e=u2(t,n):i?e=t:a&&(e=n)}return e}function b2(r){if(!r.length)return null;var e=[],t=[],i=[],n=[];return C(r,function(a){var o=w2(a);o&&(e.push(o.minX),t.push(o.minY),i.push(o.maxX),n.push(o.maxY))}),{minX:Oe(e),minY:Oe(t),maxX:Ae(i),maxY:Ae(n)}}function S2(r,e){return!r||!e||!ba(r,e)?null:{minX:Math.max(r.minX,e.minX),minY:Math.max(r.minY,e.minY),maxX:Math.min(r.maxX,e.maxX),maxY:Math.min(r.maxY,e.maxY)}}var Kc=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onCanvasChange=function(t){cm(this,t)},e.prototype.getShapeBase=function(){return ds},e.prototype.getGroupBase=function(){return e},e.prototype._applyClip=function(t,i){i&&(t.save(),un(t,i),i.createPath(t),t.restore(),t.clip(),i._afterDraw())},e.prototype.cacheCanvasBBox=function(){var t=this.cfg.children,i=[],n=[];C(t,function(f){var v=f.cfg.cacheCanvasBBox;v&&f.cfg.isInView&&(i.push(v.minX,v.maxX),n.push(v.minY,v.maxY))});var a=null;if(i.length){var o=Oe(i),s=Ae(i),l=Oe(n),u=Ae(n);a={minX:o,minY:l,x:o,y:l,maxX:s,maxY:u,width:s-o,height:u-l};var c=this.cfg.canvas;if(c){var h=c.getViewRange();this.set("isInView",ba(a,h))}}else this.set("isInView",!1);this.set("cacheCanvasBBox",a)},e.prototype.draw=function(t,i){var n=this.cfg.children,a=i?this.cfg.refresh:!0;n.length&&a&&(t.save(),un(t,this),this._applyClip(t,this.getClip()),Yu(t,n,i),t.restore(),this.cacheCanvasBBox()),this.cfg.refresh=null,this.set("hasChanged",!1)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("hasChanged",!1)},e}(Ms),qe=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{lineWidth:1,lineAppendWidth:0,strokeOpacity:1,fillOpacity:1})},e.prototype.getShapeBase=function(){return ds},e.prototype.getGroupBase=function(){return Kc},e.prototype.onCanvasChange=function(t){cm(this,t)},e.prototype.calculateBBox=function(){var t=this.get("type"),i=this.getHitLineWidth(),n=Fs(t),a=n(this),o=i/2,s=a.x-o,l=a.y-o,u=a.x+a.width+o,c=a.y+a.height+o;return{x:s,minX:s,y:l,minY:l,width:a.width+i,height:a.height+i,maxX:u,maxY:c}},e.prototype.isFill=function(){return!!this.attrs.fill||this.isClipShape()},e.prototype.isStroke=function(){return!!this.attrs.stroke},e.prototype._applyClip=function(t,i){i&&(t.save(),un(t,i),i.createPath(t),t.restore(),t.clip(),i._afterDraw())},e.prototype.draw=function(t,i){var n=this.cfg.clipShape;if(i){if(this.cfg.refresh===!1){this.set("hasChanged",!1);return}var a=this.getCanvasBBox();if(!ba(i,a)){this.set("hasChanged",!1),this.cfg.isInView&&this._afterDraw();return}}t.save(),un(t,this),this._applyClip(t,n),this.drawPath(t),t.restore(),this._afterDraw()},e.prototype.getCanvasViewBox=function(){var t=this.cfg.canvas;return t?t.getViewRange():null},e.prototype.cacheCanvasBBox=function(){var t=this.getCanvasViewBox();if(t){var i=this.getCanvasBBox(),n=ba(i,t);this.set("isInView",n),n?this.set("cacheCanvasBBox",i):this.set("cacheCanvasBBox",null)}},e.prototype._afterDraw=function(){this.cacheCanvasBBox(),this.set("hasChanged",!1),this.set("refresh",null)},e.prototype.skipDraw=function(){this.set("cacheCanvasBBox",null),this.set("isInView",null),this.set("hasChanged",!1)},e.prototype.drawPath=function(t){this.createPath(t),this.strokeAndFill(t),this.afterDrawPath(t)},e.prototype.fill=function(t){t.fill()},e.prototype.stroke=function(t){t.stroke()},e.prototype.strokeAndFill=function(t){var i=this.attrs,n=i.lineWidth,a=i.opacity,o=i.strokeOpacity,s=i.fillOpacity;this.isFill()&&(!R(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.isStroke()&&n>0&&(!R(o)&&o!==1&&(t.globalAlpha=o),this.stroke(t)),this.afterDrawPath(t)},e.prototype.createPath=function(t){},e.prototype.afterDrawPath=function(t){},e.prototype.isInShape=function(t,i){var n=this.isStroke(),a=this.isFill(),o=this.getHitLineWidth();return this.isInStrokeOrPath(t,i,n,a,o)},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){return!1},e.prototype.getHitLineWidth=function(){if(!this.isStroke())return 0;var t=this.attrs;return t.lineWidth+t.lineAppendWidth},e}(As),C2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,r:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.r,h=o/2,f=im(l,u,t,i);return a&&n?f<=c+h:a?f<=c:n?f>=c-h&&f<=c+h:!1},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.r;t.beginPath(),t.arc(n,a,o,0,Math.PI*2,!1),t.closePath()},e}(qe);function ho(r,e,t,i){return r/(t*t)+e/(i*i)}var M2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=o/2,u=s.x,c=s.y,h=s.rx,f=s.ry,v=(t-u)*(t-u),d=(i-c)*(i-c);return a&&n?ho(v,d,h+l,f+l)<=1:a?ho(v,d,h,f)<=1:n?ho(v,d,h-l,f-l)>=1&&ho(v,d,h+l,f+l)<=1:!1},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.rx,s=i.ry;if(t.beginPath(),t.ellipse)t.ellipse(n,a,o,s,0,0,Math.PI*2,!1);else{var l=o>s?o:s,u=o>s?1:o/s,c=o>s?s/o:1;t.save(),t.translate(n,a),t.scale(u,c),t.arc(0,0,l,0,Math.PI*2),t.restore(),t.closePath()}},e}(qe);function $v(r){return r instanceof HTMLElement&&J(r.nodeName)&&r.nodeName.toUpperCase()==="CANVAS"}var A2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,width:0,height:0})},e.prototype.initAttrs=function(t){this._setImage(t.img)},e.prototype.isStroke=function(){return!1},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._afterLoading=function(){if(this.get("toDraw")===!0){var t=this.get("canvas");t?t.draw():this.createPath(this.get("context"))}},e.prototype._setImage=function(t){var i=this,n=this.attrs;if(J(t)){var a=new Image;a.onload=function(){if(i.destroyed)return!1;i.attr("img",a),i.set("loading",!1),i._afterLoading();var o=i.get("callback");o&&o.call(i)},a.crossOrigin="Anonymous",a.src=t,this.set("loading",!0)}else t instanceof Image?(n.width||(n.width=t.width),n.height||(n.height=t.height)):$v(t)&&(n.width||(n.width=Number(t.getAttribute("width"))),n.height||(n.height,Number(t.getAttribute("height"))))},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),t==="img"&&this._setImage(i)},e.prototype.createPath=function(t){if(this.get("loading")){this.set("toDraw",!0),this.set("context",t);return}var i=this.attr(),n=i.x,a=i.y,o=i.width,s=i.height,l=i.sx,u=i.sy,c=i.swidth,h=i.sheight,f=i.img;(f instanceof Image||$v(f))&&(!R(l)&&!R(u)&&!R(c)&&!R(h)?t.drawImage(f,l,u,c,h,n,a,o,s):t.drawImage(f,n,a,o,s))},e}(qe);function zr(r,e,t,i,n,a,o){var s=Math.min(r,t),l=Math.max(r,t),u=Math.min(e,i),c=Math.max(e,i),h=n/2;return a>=s-h&&a<=l+h&&o>=u-h&&o<=c+h?jt.pointToLine(r,e,t,i,a,o)<=n/2:!1}var F2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.initAttrs=function(t){this.setArrow()},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),this.setArrow()},e.prototype.setArrow=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2,s=t.startArrow,l=t.endArrow;s&&jc(this,t,a,o,i,n),l&&Zc(this,t,i,n,a,o)},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){if(!n||!o)return!1;var s=this.attr(),l=s.x1,u=s.y1,c=s.x2,h=s.y2;return zr(l,u,c,h,o,t,i)},e.prototype.createPath=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2,l=i.startArrow,u=i.endArrow,c={dx:0,dy:0},h={dx:0,dy:0};l&&l.d&&(c=bi(n,a,o,s,i.startArrow.d)),u&&u.d&&(h=bi(n,a,o,s,i.endArrow.d)),t.beginPath(),t.moveTo(n+c.dx,a+c.dy),t.lineTo(o-h.dx,s-h.dy)},e.prototype.afterDrawPath=function(t){var i=this.get("startArrowShape"),n=this.get("endArrowShape");i&&i.draw(t),n&&n.draw(t)},e.prototype.getTotalLength=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2;return jt.length(i,n,a,o)},e.prototype.getPoint=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2;return jt.pointAt(n,a,o,s,t)},e}(qe),T2={circle:function(r,e,t){return[["M",r-t,e],["A",t,t,0,1,0,r+t,e],["A",t,t,0,1,0,r-t,e]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+i],["L",r,e-i],["L",r+t,e+i],["Z"]]},"triangle-down":function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-i],["L",r+t,e-i],["L",r,e+i],["Z"]]}},E2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.initAttrs=function(t){this._resetParamsCache()},e.prototype._resetParamsCache=function(){this.set("paramsCache",{})},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),["symbol","x","y","r","radius"].indexOf(t)!==-1&&this._resetParamsCache()},e.prototype.isOnlyHitBox=function(){return!0},e.prototype._getR=function(t){return R(t.r)?t.radius:t.r},e.prototype._getPath=function(){var t=this.attr(),i=t.x,n=t.y,a=t.symbol||"circle",o=this._getR(t),s,l;if(W(a))s=a,l=s(i,n,o),l=mg(l);else{if(s=e.Symbols[a],!s)return console.warn(a+" marker is not supported."),null;l=s(i,n,o)}return l},e.prototype.createPath=function(t){var i=this._getPath(),n=this.get("paramsCache");um(this,t,{path:i},n)},e.Symbols=T2,e}(qe);function hm(r,e,t){var i=Es();return r.createPath(i),i.isPointInPath(e,t)}var k2=1e-6;function Gl(r){return Math.abs(r)0!=Gl(s[1]-t)>0&&Gl(e-(t-o[1])*(o[0]-s[0])/(o[1]-s[1])-o[0])<0&&(i=!i)}return i}function Hn(r,e,t,i,n,a,o,s){var l=(Math.atan2(s-e,o-r)+Math.PI*2)%(Math.PI*2);if(ln)return!1;var u={x:r+t*Math.cos(l),y:e+t*Math.sin(l)};return im(u.x,u.y,o,s)<=a/2}var I2=Nt;function P2(r){for(var e=!1,t=r.length,i=0;iw?m:w,k=m>w?1:m/w,E=m>w?w/m:1,I=I2(null,[["t",-g,-y],["r",-M],["s",1/k,1/E]]);sa(F,F,I),a=Hn(0,0,T,x,S,e,F[0],F[1]);break}if(a)break}}return a}function O2(r){for(var e=r.length,t=[],i=[],n=[],a=0;a0&&i.push(n),{polygons:t,polylines:i}}const fo=D({hasArc:P2,extractPolygons:O2,isPointInStroke:D2},dc);function Hv(r,e,t){for(var i=!1,n=0;n=c[0]&&t<=c[1]&&(n=(t-c[0])/(c[1]-c[0]),a=h)});var s=o[a];if(R(s)||R(a))return null;var l=s.length,u=o[a+1];return Un.pointAt(s[l-2],s[l-1],u[1],u[2],u[3],u[4],u[5],u[6],n)},e.prototype._calculateCurve=function(){var t=this.attr().path;this.set("curve",fo.pathToCurve(t))},e.prototype._setTcache=function(){var t=0,i=0,n=[],a,o,s,l,u=this.get("curve");if(u){if(C(u,function(c,h){s=u[h+1],l=c.length,s&&(t+=Un.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6])||0)}),this.set("totalLength",t),t===0){this.set("tCache",[]);return}C(u,function(c,h){s=u[h+1],l=c.length,s&&(a=[],a[0]=i/t,o=Un.length(c[l-2],c[l-1],s[1],s[2],s[3],s[4],s[5],s[6]),i+=o||0,a[1]=i/t,n.push(a))}),this.set("tCache",n)}},e.prototype.getStartTangent=function(){var t=this.getSegments(),i;if(t.length>1){var n=t[0].currentPoint,a=t[1].currentPoint,o=t[1].startTangent;i=[],o?(i.push([n[0]-o[0],n[1]-o[1]]),i.push([n[0],n[1]])):(i.push([a[0],a[1]]),i.push([n[0],n[1]]))}return i},e.prototype.getEndTangent=function(){var t=this.getSegments(),i=t.length,n;if(i>1){var a=t[i-2].currentPoint,o=t[i-1].currentPoint,s=t[i-1].endTangent;n=[],s?(n.push([o[0]-s[0],o[1]-s[1]]),n.push([o[0],o[1]])):(n.push([a[0],a[1]]),n.push([o[0],o[1]]))}return n},e}(qe);function vm(r,e,t,i,n){var a=r.length;if(a<2)return!1;for(var o=0;o=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),jt.pointAt(i[o][0],i[o][1],i[o+1][0],i[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var i=this.getTotalLength();if(!(i<=0)){var n=0,a=[],o,s;C(t,function(l,u){t[u+1]&&(o=[],o[0]=n/i,s=jt.length(l[0],l[1],t[u+1][0],t[u+1][1]),n+=s,o[1]=n/i,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,i=[];return i.push([t[1][0],t[1][1]]),i.push([t[0][0],t[0][1]]),i},e.prototype.getEndTangent=function(){var t=this.attr().points,i=t.length-1,n=[];return n.push([t[i-1][0],t[i-1][1]]),n.push([t[i][0],t[i][1]]),n},e}(qe);function z2(r,e,t,i,n,a,o){var s=n/2;return fi(r-s,e-s,t,n,a,o)||fi(r+t-s,e-s,n,i,a,o)||fi(r+s,e+i-s,t,n,a,o)||fi(r-s,e+s,n,i,a,o)}function N2(r,e,t,i,n,a,o,s){return zr(r+n,e,r+t-n,e,a,o,s)||zr(r+t,e+n,r+t,e+i-n,a,o,s)||zr(r+t-n,e+i,r+n,e+i,a,o,s)||zr(r,e+i-n,r,e+n,a,o,s)||Hn(r+t-n,e+n,n,1.5*Math.PI,2*Math.PI,a,o,s)||Hn(r+t-n,e+i-n,n,0,.5*Math.PI,a,o,s)||Hn(r+n,e+i-n,n,.5*Math.PI,Math.PI,a,o,s)||Hn(r+n,e+n,n,Math.PI,1.5*Math.PI,a,o,s)}var G2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.isInStrokeOrPath=function(t,i,n,a,o){var s=this.attr(),l=s.x,u=s.y,c=s.width,h=s.height,f=s.radius;if(f){var d=!1;return n&&(d=N2(l,u,c,h,f,o,t,i)),!d&&a&&(d=hm(this,t,i)),d}else{var v=o/2;if(a&&n)return fi(l-v,u-v,c+v,h+v,t,i);if(a)return fi(l,u,c,h,t,i);if(n)return z2(l,u,c,h,o,t,i)}},e.prototype.createPath=function(t){var i=this.attr(),n=i.x,a=i.y,o=i.width,s=i.height,l=i.radius;if(t.beginPath(),l===0)t.rect(n,a,o,s);else{var u=y2(l),c=u[0],h=u[1],f=u[2],v=u[3];t.moveTo(n+c,a),t.lineTo(n+o-h,a),h!==0&&t.arc(n+o-h,a+h,h,-Math.PI/2,0),t.lineTo(n+o,a+s-f),f!==0&&t.arc(n+o-f,a+s-f,f,0,Math.PI/2),t.lineTo(n+v,a+s),v!==0&&t.arc(n+v,a+s-v,v,Math.PI/2,Math.PI),t.lineTo(n,a+c),c!==0&&t.arc(n+c,a+c,c,Math.PI,Math.PI*1.5),t.closePath()}},e}(qe),V2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.isOnlyHitBox=function(){return!0},e.prototype.initAttrs=function(t){this._assembleFont(),t.text&&this._setText(t.text)},e.prototype._assembleFont=function(){var t=this.attrs;t.font=Ls(t)},e.prototype._setText=function(t){var i=null;J(t)&&t.indexOf(` +`)!==-1&&(i=t.split(` +`)),this.set("textArr",i)},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),t.startsWith("font")&&this._assembleFont(),t==="text"&&this._setText(i)},e.prototype._getSpaceingY=function(){var t=this.attrs,i=t.lineHeight,n=t.fontSize*1;return i?i-n:n*.14},e.prototype._drawTextArr=function(t,i,n){var a=this.attrs,o=a.textBaseline,s=a.x,l=a.y,u=a.fontSize*1,c=this._getSpaceingY(),h=ks(a.text,a.fontSize,a.lineHeight),f;C(i,function(v,d){f=l+d*(c+u)-h+u,o==="middle"&&(f+=h-u-(h-u)/2),o==="top"&&(f+=h-u),R(v)||(n?t.fillText(v,s,f):t.strokeText(v,s,f))})},e.prototype._drawText=function(t,i){var n=this.attr(),a=n.x,o=n.y,s=this.get("textArr");if(s)this._drawTextArr(t,s,i);else{var l=n.text;R(l)||(i?t.fillText(l,a,o):t.strokeText(l,a,o))}},e.prototype.strokeAndFill=function(t){var i=this.attrs,n=i.lineWidth,a=i.opacity,o=i.strokeOpacity,s=i.fillOpacity;this.isStroke()&&n>0&&(!R(o)&&o!==1&&(t.globalAlpha=a),this.stroke(t)),this.isFill()&&(!R(s)&&s!==1?(t.globalAlpha=s,this.fill(t),t.globalAlpha=a):this.fill(t)),this.afterDrawPath(t)},e.prototype.fill=function(t){this._drawText(t,!0)},e.prototype.stroke=function(t){this._drawText(t,!1)},e}(qe);function Y2(r,e){if(e){var t=bs(e);return dr(t,r)}return r}function dm(r,e,t){var i=r.getTotalMatrix();if(i){var n=Y2([e,t,1],i),a=n[0],o=n[1];return[a,o]}return[e,t]}function Xv(r,e,t){if(r.isCanvas&&r.isCanvas())return!0;if(!oa(r)||r.cfg.isInView===!1)return!1;if(r.cfg.clipShape){var i=dm(r,e,t),n=i[0],a=i[1];if(r.isClipped(n,a))return!1}var o=r.cfg.cacheCanvasBBox||r.getCanvasBBox();return e>=o.minX&&e<=o.maxX&&t>=o.minY&&t<=o.maxY}function pm(r,e,t){if(!Xv(r,e,t))return null;for(var i=null,n=r.getChildren(),a=n.length,o=a-1;o>=0;o--){var s=n[o];if(s.isGroup())i=pm(s,e,t);else if(Xv(s,e,t)){var l=s,u=dm(s,e,t),c=u[0],h=u[1];l.isInShape(c,h)&&(i=s)}if(i)break}return i}var $2=function(r){Q(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getDefaultCfg=function(){var t=r.prototype.getDefaultCfg.call(this);return t.renderer="canvas",t.autoDraw=!0,t.localRefresh=!0,t.refreshElements=[],t.clipView=!0,t.quickHit=!1,t},e.prototype.onCanvasChange=function(t){(t==="attr"||t==="sort"||t==="changeSize")&&(this.set("refreshElements",[this]),this.draw())},e.prototype.getShapeBase=function(){return ds},e.prototype.getGroupBase=function(){return Kc},e.prototype.getPixelRatio=function(){var t=this.get("pixelRatio")||l2();return t>=1?Math.ceil(t):1},e.prototype.getViewRange=function(){return{minX:0,minY:0,maxX:this.cfg.width,maxY:this.cfg.height}},e.prototype.createDom=function(){var t=document.createElement("canvas"),i=t.getContext("2d");return this.set("context",i),t},e.prototype.setDOMSize=function(t,i){r.prototype.setDOMSize.call(this,t,i);var n=this.get("context"),a=this.get("el"),o=this.getPixelRatio();a.width=o*t,a.height=o*i,o>1&&n.scale(o,o)},e.prototype.clear=function(){r.prototype.clear.call(this),this._clearFrame();var t=this.get("context"),i=this.get("el");t.clearRect(0,0,i.width,i.height)},e.prototype.getShape=function(t,i){var n;return this.get("quickHit")?n=pm(this,t,i):n=r.prototype.getShape.call(this,t,i,null),n},e.prototype._getRefreshRegion=function(){var t=this.get("refreshElements"),i=this.getViewRange(),n;if(t.length&&t[0]===this)n=i;else if(n=b2(t),n){n.minX=Math.floor(n.minX),n.minY=Math.floor(n.minY),n.maxX=Math.ceil(n.maxX),n.maxY=Math.ceil(n.maxY),n.maxY+=1;var a=this.get("clipView");a&&(n=S2(n,i))}return n},e.prototype.refreshElement=function(t){var i=this.get("refreshElements");i.push(t)},e.prototype._clearFrame=function(){var t=this.get("drawFrame");t&&(Dw(t),this.set("drawFrame",null),this.set("refreshElements",[]))},e.prototype.draw=function(){var t=this.get("drawFrame");this.get("autoDraw")&&t||this._startDraw()},e.prototype._drawAll=function(){var t=this.get("context"),i=this.get("el"),n=this.getChildren();t.clearRect(0,0,i.width,i.height),un(t,this),Yu(t,n),this.set("refreshElements",[])},e.prototype._drawRegion=function(){var t=this.get("context"),i=this.get("refreshElements"),n=this.getChildren(),a=this._getRefreshRegion();a?(t.clearRect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.save(),t.beginPath(),t.rect(a.minX,a.minY,a.maxX-a.minX,a.maxY-a.minY),t.clip(),un(t,this),m2(this,n,a),Yu(t,n,a),t.restore()):i.length&&lm(i),C(i,function(o){o.get("hasChanged")&&o.set("hasChanged",!1)}),this.set("refreshElements",[])},e.prototype._startDraw=function(){var t=this,i=this.get("drawFrame");i||(i=Pw(function(){t.get("localRefresh")?t._drawRegion():t._drawAll(),t.set("drawFrame",null)}),this.set("drawFrame",i))},e.prototype.skipDraw=function(){},e.prototype.removeDom=function(){var t=this.get("el");t.width=0,t.height=0,t.parentNode.removeChild(t)},e}(Cs),H2="0.5.12";const X2=Object.freeze(Object.defineProperty({__proto__:null,AbstractCanvas:Cs,AbstractGroup:Ms,AbstractShape:As,Base:xs,Canvas:$2,Event:Pa,Group:Kc,PathUtil:dc,Shape:ds,assembleFont:Ls,getArcParams:ns,getBBoxMethod:Fs,getOffScreenContext:Es,getTextHeight:ks,invert:bs,isAllowCapture:oa,multiplyVec2:dr,registerBBox:Re,registerEasing:sg,version:H2},Symbol.toStringTag,{value:"Module"}));var Hu={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polyline:"polyline",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject"},ft={opacity:"opacity",fillStyle:"fill",fill:"fill",fillOpacity:"fill-opacity",strokeStyle:"stroke",strokeOpacity:"stroke-opacity",stroke:"stroke",x:"x",y:"y",r:"r",rx:"rx",ry:"ry",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"};function Be(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function gm(r){var e=Hu[r.type],t=r.getParent();if(!e)throw new Error("the type "+r.type+" is not supported by svg");var i=Be(e);if(r.get("id")&&(i.id=r.get("id")),r.set("el",i),r.set("attrs",{}),t){var n=t.get("el");n||(n=t.createDom(),t.set("el",n)),n.appendChild(i)}return i}function ym(r,e){var t=r.get("el"),i=Gw(t.children).sort(e),n=document.createDocumentFragment();i.forEach(function(a){n.appendChild(a)}),t.appendChild(n)}function W2(r,e){var t=r.parentNode,i=Array.from(t.childNodes).filter(function(s){return s.nodeType===1&&s.nodeName.toLowerCase()!=="defs"}),n=i[e],a=i.indexOf(r);if(n){if(a>e)t.insertBefore(r,n);else if(a0&&(i?"stroke"in n?this._setColor(t,"stroke",s):"strokeStyle"in n&&this._setColor(t,"stroke",l):this._setColor(t,"stroke",s||l),c&&f.setAttribute(ft.strokeOpacity,c),h&&f.setAttribute(ft.lineWidth,h))},e.prototype._setColor=function(t,i,n){var a=this.get("el");if(!n){a.setAttribute(ft[i],"none");return}if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var o=t.find("gradient",n);o||(o=t.addGradient(n)),a.setAttribute(ft[i],"url(#"+o+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var o=t.find("pattern",n);o||(o=t.addPattern(n)),a.setAttribute(ft[i],"url(#"+o+")")}else a.setAttribute(ft[i],n)},e.prototype.shadow=function(t,i){var n=this.attr(),a=i||n,o=a.shadowOffsetX,s=a.shadowOffsetY,l=a.shadowBlur,u=a.shadowColor;(o||s||l||u)&&_2(this,t)},e.prototype.transform=function(t){var i=this.attr(),n=(t||i).matrix;n&&Va(this)},e.prototype.isInShape=function(t,i){return this.isPointInPath(t,i)},e.prototype.isPointInPath=function(t,i){var n=this.get("el"),a=this.get("canvas"),o=a.get("el").getBoundingClientRect(),s=t+o.left,l=i+o.top,u=document.elementFromPoint(s,l);return!!(u&&u.isEqualNode(n))},e.prototype.getHitLineWidth=function(){var t=this.attrs,i=t.lineWidth,n=t.lineAppendWidth;return this.isStroke()?i+n:0},e}(As),q2=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="circle",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,r:0})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):ft[s]&&a.setAttribute(ft[s],o)})},e}(ze),U2=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dom",t.canFill=!1,t.canStroke=!1,t}return e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");if(C(i||n,function(u,c){ft[c]&&a.setAttribute(ft[c],u)}),typeof n.html=="function"){var o=n.html.call(this,n);if(o instanceof Element||o instanceof HTMLDocument){for(var s=a.childNodes,l=s.length-1;l>=0;l--)a.removeChild(s[l]);a.appendChild(o)}else a.innerHTML=o}else a.innerHTML=n.html},e}(ze),j2=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ellipse",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,rx:0,ry:0})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="x"||s==="y"?a.setAttribute("c"+s,o):ft[s]&&a.setAttribute(ft[s],o)})},e}(ze),Z2=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="image",t.canFill=!1,t.canStroke=!1,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,width:0,height:0})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");C(i||a,function(s,l){l==="img"?n._setImage(a.img):ft[l]&&o.setAttribute(ft[l],s)})},e.prototype.setAttr=function(t,i){this.attrs[t]=i,t==="img"&&this._setImage(i)},e.prototype._setImage=function(t){var i=this.attr(),n=this.get("el");if(J(t))n.setAttribute("href",t);else if(t instanceof window.Image)i.width||(n.setAttribute("width",t.width),this.attr("width",t.width)),i.height||(n.setAttribute("height",t.height),this.attr("height",t.height)),n.setAttribute("href",t.src);else if(t instanceof HTMLElement&&J(t.nodeName)&&t.nodeName.toUpperCase()==="CANVAS")n.setAttribute("href",t.toDataURL());else if(t instanceof ImageData){var a=document.createElement("canvas");a.setAttribute("width",""+t.width),a.setAttribute("height",""+t.height),a.getContext("2d").putImageData(t,0,0),i.width||(n.setAttribute("width",""+t.width),this.attr("width",t.width)),i.height||(n.setAttribute("height",""+t.height),this.attr("height",t.height)),n.setAttribute("href",a.toDataURL())}},e}(ze),Q2=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t.canFill=!1,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x1:0,y1:0,x2:0,y2:0,startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){if(s==="startArrow"||s==="endArrow")if(o){var l=yt(o)?t.addArrow(n,ft[s]):t.getDefaultArrow(n,ft[s]);a.setAttribute(ft[s],"url(#"+l+")")}else a.removeAttribute(ft[s]);else ft[s]&&a.setAttribute(ft[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr(),i=t.x1,n=t.y1,a=t.x2,o=t.y2;return jt.length(i,n,a,o)},e.prototype.getPoint=function(t){var i=this.attr(),n=i.x1,a=i.y1,o=i.x2,s=i.y2;return jt.pointAt(n,a,o,s,t)},e}(ze),vo={circle:function(r,e,t){return[["M",r,e],["m",-t,0],["a",t,t,0,1,0,t*2,0],["a",t,t,0,1,0,-t*2,0]]},square:function(r,e,t){return[["M",r-t,e-t],["L",r+t,e-t],["L",r+t,e+t],["L",r-t,e+t],["Z"]]},diamond:function(r,e,t){return[["M",r-t,e],["L",r,e-t],["L",r+t,e],["L",r,e+t],["Z"]]},triangle:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e+i],["L",r,e-i],["L",r+t,e+i],["z"]]},triangleDown:function(r,e,t){var i=t*Math.sin(.3333333333333333*Math.PI);return[["M",r-t,e-i],["L",r+t,e-i],["L",r,e+i],["Z"]]}};const Wv={get:function(r){return vo[r]},register:function(r,e){vo[r]=e},remove:function(r){delete vo[r]},getAll:function(){return vo}};var K2=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="marker",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t){var i=this.get("el");i.setAttribute("d",this._assembleMarker())},e.prototype._assembleMarker=function(){var t=this._getPath();return z(t)?t.map(function(i){return i.join(" ")}).join(""):t},e.prototype._getPath=function(){var t=this.attr(),i=t.x,n=t.y,a=t.r||t.radius,o=t.symbol||"circle",s;return W(o)?s=o:s=Wv.get(o),s?s(i,n,a):(console.warn(s+" symbol is not exist."),null)},e.symbolsFactory=Wv,e}(ze),J2=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="path",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{startArrow:!1,endArrow:!1})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");C(i||a,function(s,l){if(l==="path"&&z(s))o.setAttribute("d",n._formatPath(s));else if(l==="startArrow"||l==="endArrow")if(s){var u=yt(s)?t.addArrow(a,ft[l]):t.getDefaultArrow(a,ft[l]);o.setAttribute(ft[l],"url(#"+u+")")}else o.removeAttribute(ft[l]);else ft[l]&&o.setAttribute(ft[l],s)})},e.prototype._formatPath=function(t){var i=t.map(function(n){return n.join(" ")}).join("");return~i.indexOf("NaN")?"":i},e.prototype.getTotalLength=function(){var t=this.get("el");return t?t.getTotalLength():null},e.prototype.getPoint=function(t){var i=this.get("el"),n=this.getTotalLength();if(n===0)return null;var a=i?i.getPointAtLength(t*n):null;return a?{x:a.x,y:a.y}:null},e}(ze),tT=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polygon",t.canFill=!0,t.canStroke=!0,t}return e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="points"&&z(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ft[s]&&a.setAttribute(ft[s],o)})},e}(ze),eT=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="polyline",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{startArrow:!1,endArrow:!1})},e.prototype.onAttrChange=function(t,i,n){r.prototype.onAttrChange.call(this,t,i,n),["points"].indexOf(t)!==-1&&this._resetCache()},e.prototype._resetCache=function(){this.set("totalLength",null),this.set("tCache",null)},e.prototype.createPath=function(t,i){var n=this.attr(),a=this.get("el");C(i||n,function(o,s){s==="points"&&z(o)&&o.length>=2?a.setAttribute("points",o.map(function(l){return l[0]+","+l[1]}).join(" ")):ft[s]&&a.setAttribute(ft[s],o)})},e.prototype.getTotalLength=function(){var t=this.attr().points,i=this.get("totalLength");return R(i)?(this.set("totalLength",gg.length(t)),this.get("totalLength")):i},e.prototype.getPoint=function(t){var i=this.attr().points,n=this.get("tCache");n||(this._setTcache(),n=this.get("tCache"));var a,o;return C(n,function(s,l){t>=s[0]&&t<=s[1]&&(a=(t-s[0])/(s[1]-s[0]),o=l)}),jt.pointAt(i[o][0],i[o][1],i[o+1][0],i[o+1][1],a)},e.prototype._setTcache=function(){var t=this.attr().points;if(!(!t||t.length===0)){var i=this.getTotalLength();if(!(i<=0)){var n=0,a=[],o,s;C(t,function(l,u){t[u+1]&&(o=[],o[0]=n/i,s=jt.length(l[0],l[1],t[u+1][0],t[u+1][1]),n+=s,o[1]=n/i,a.push(o))}),this.set("tCache",a)}}},e.prototype.getStartTangent=function(){var t=this.attr().points,i=[];return i.push([t[1][0],t[1][1]]),i.push([t[0][0],t[0][1]]),i},e.prototype.getEndTangent=function(){var t=this.attr().points,i=t.length-1,n=[];return n.push([t[i-1][0],t[i-1][1]]),n.push([t[i][0],t[i][1]]),n},e}(ze);function rT(r){var e=0,t=0,i=0,n=0;return z(r)?r.length===1?e=t=i=n=r[0]:r.length===2?(e=i=r[0],t=n=r[1]):r.length===3?(e=r[0],t=n=r[1],i=r[2]):(e=r[0],t=r[1],i=r[2],n=r[3]):e=t=i=n=r,{r1:e,r2:t,r3:i,r4:n}}var iT=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rect",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,width:0,height:0,radius:0})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el"),s=!1,l=["x","y","width","height","radius"];C(i||a,function(u,c){l.indexOf(c)!==-1&&!s?(o.setAttribute("d",n._assembleRect(a)),s=!0):l.indexOf(c)===-1&&ft[c]&&o.setAttribute(ft[c],u)})},e.prototype._assembleRect=function(t){var i=t.x,n=t.y,a=t.width,o=t.height,s=t.radius;if(!s)return"M "+i+","+n+" l "+a+",0 l 0,"+o+" l"+-a+" 0 z";var l=rT(s);z(s)?s.length===1?l.r1=l.r2=l.r3=l.r4=s[0]:s.length===2?(l.r1=l.r3=s[0],l.r2=l.r4=s[1]):s.length===3?(l.r1=s[0],l.r2=l.r4=s[1],l.r3=s[2]):(l.r1=s[0],l.r2=s[1],l.r3=s[2],l.r4=s[3]):l.r1=l.r2=l.r3=l.r4=s;var u=[["M "+(i+l.r1)+","+n],["l "+(a-l.r1-l.r2)+",0"],["a "+l.r2+","+l.r2+",0,0,1,"+l.r2+","+l.r2],["l 0,"+(o-l.r2-l.r3)],["a "+l.r3+","+l.r3+",0,0,1,"+-l.r3+","+l.r3],["l "+(l.r3+l.r4-a)+",0"],["a "+l.r4+","+l.r4+",0,0,1,"+-l.r4+","+-l.r4],["l 0,"+(l.r4+l.r1-o)],["a "+l.r1+","+l.r1+",0,0,1,"+l.r1+","+-l.r1],["z"]];return u.join(" ")},e}(ze),_v=.3,nT={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},aT={top:"text-before-edge",middle:"central",bottom:"text-after-edge",alphabetic:"alphabetic",hanging:"hanging"},oT={left:"left",start:"left",center:"middle",right:"end",end:"end"},sT=function(r){Q(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="text",t.canFill=!0,t.canStroke=!0,t}return e.prototype.getDefaultAttrs=function(){var t=r.prototype.getDefaultAttrs.call(this);return D(D({},t),{x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"})},e.prototype.createPath=function(t,i){var n=this,a=this.attr(),o=this.get("el");this._setFont(),C(i||a,function(s,l){l==="text"?n._setText(""+s):l==="matrix"&&s?Va(n):ft[l]&&o.setAttribute(ft[l],s)}),o.setAttribute("paint-order","stroke"),o.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")},e.prototype._setFont=function(){var t=this.get("el"),i=this.attr(),n=i.textBaseline,a=i.textAlign,o=Vp();o&&o.name==="firefox"?t.setAttribute("dominant-baseline",aT[n]||"alphabetic"):t.setAttribute("alignment-baseline",nT[n]||"baseline"),t.setAttribute("text-anchor",oT[a]||"left")},e.prototype._setText=function(t){var i=this.get("el"),n=this.attr(),a=n.x,o=n.textBaseline,s=o===void 0?"bottom":o;if(!t)i.innerHTML="";else if(~t.indexOf(` +`)){var l=t.split(` +`),u=l.length-1,c="";C(l,function(h,f){f===0?s==="alphabetic"?c+=''+h+"":s==="top"?c+=''+h+"":s==="middle"?c+=''+h+"":s==="bottom"?c+=''+h+"":s==="hanging"&&(c+=''+h+""):c+=''+h+""}),i.innerHTML=c}else i.innerHTML=t},e}(ze),lT=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,uT=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,cT=/[\d.]+:(#[^\s]+|[^)]+\))/gi;function wm(r){var e=r.match(cT);if(!e)return"";var t="";return e.sort(function(i,n){return i=i.split(":"),n=n.split(":"),Number(i[0])-Number(n[0])}),C(e,function(i){i=i.split(":"),t+=''}),t}function hT(r,e){var t=lT.exec(r),i=lc(uc(parseFloat(t[1])),Math.PI*2),n=t[2],a,o;i>=0&&i<.5*Math.PI?(a={x:0,y:0},o={x:1,y:1}):.5*Math.PI<=i&&i`;t.innerHTML=i},r}(),qv=function(){function r(e,t){this.cfg={};var i=Be("marker"),n=Jr("marker_");i.setAttribute("id",n);var a=Be("path");a.setAttribute("stroke",e.stroke||"none"),a.setAttribute("fill",e.fill||"none"),i.appendChild(a),i.setAttribute("overflow","visible"),i.setAttribute("orient","auto-start-reverse"),this.el=i,this.child=a,this.id=n;var o=e[t==="marker-start"?"startArrow":"endArrow"];return this.stroke=e.stroke||"#000",o===!0?this._setDefaultPath(t,a):(this.cfg=o,this._setMarker(e.lineWidth,a)),this}return r.prototype.match=function(){return!1},r.prototype._setDefaultPath=function(e,t){var i=this.el;t.setAttribute("d","M0,0 L"+10*Math.cos(Math.PI/6)+",5 L0,10"),i.setAttribute("refX",""+10*Math.cos(Math.PI/6)),i.setAttribute("refY","5")},r.prototype._setMarker=function(e,t){var i=this.el,n=this.cfg.path,a=this.cfg.d;z(n)&&(n=n.map(function(o){return o.join(" ")}).join("")),t.setAttribute("d",n),i.appendChild(t),a&&i.setAttribute("refX",""+a/e)},r.prototype.update=function(e){var t=this.child;t.attr?t.attr("fill",e):t.setAttribute("fill",e)},r}(),yT=function(){function r(e){this.type="clip",this.cfg={};var t=Be("clipPath");this.el=t,this.id=Jr("clip_"),t.id=this.id;var i=e.cfg.el;return t.appendChild(i),this.cfg=e,this}return r.prototype.match=function(){return!1},r.prototype.remove=function(){var e=this.el;e.parentNode.removeChild(e)},r}(),mT=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,xT=function(){function r(e){this.cfg={};var t=Be("pattern");t.setAttribute("patternUnits","userSpaceOnUse");var i=Be("image");t.appendChild(i);var n=Jr("pattern_");t.id=n,this.el=t,this.id=n,this.cfg=e;var a=mT.exec(e),o=a[2];i.setAttribute("href",o);var s=new Image;o.match(/^data:/i)||(s.crossOrigin="Anonymous"),s.src=o;function l(){t.setAttribute("width",""+s.width),t.setAttribute("height",""+s.height)}return s.complete?l():(s.onload=l,s.src=s.src),this}return r.prototype.match=function(e,t){return this.cfg===t},r}(),wT=function(){function r(e){var t=Be("defs"),i=Jr("defs_");t.id=i,e.appendChild(t),this.children=[],this.defaultArrow={},this.el=t,this.canvas=e}return r.prototype.find=function(e,t){for(var i=this.children,n=null,a=0;a0&&(v[0][0]="L")),a=a.concat(v)}),a.push(["Z"])}return a}function Ks(r,e,t,i,n){for(var a=Bt(r,e,!e,"lineWidth"),o=r.connectNulls,s=r.isInCircle,l=r.points,u=r.showSinglePoint,c=Qs(l,o,u),h=[],f=0,v=c.length;fo&&(o=l),l=i[0]}));var g=this.scales[d];try{for(var y=vt(t),m=y.next();!m.done;m=y.next()){var w=m.value,x=this.getDrawCfg(w),S=x.x,M=x.y,F=g.scale(w[St][d]);this.drawGrayScaleBlurredCircle(S-u.x,M-c.y,n+a,F,p)}}catch(E){o={error:E}}finally{try{m&&!m.done&&(s=y.return)&&s.call(y)}finally{if(o)throw o.error}}var T=p.getImageData(0,0,h,f);this.clearShadowCanvasCtx(),this.colorize(T),p.putImageData(T,0,0);var k=this.getImageShape();k.attr("x",u.x),k.attr("y",c.y),k.attr("width",h),k.attr("height",f),k.attr("img",p.canvas),k.set("origin",this.getShapeInfo(t))},e.prototype.getDefaultSize=function(){var t=this.getAttribute("position"),i=this.coordinate;return Math.min(i.getWidth()/(t.scales[0].ticks.length*4),i.getHeight()/(t.scales[1].ticks.length*4))},e.prototype.clearShadowCanvasCtx=function(){var t=this.getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},e.prototype.getShadowCanvasCtx=function(){var t=this.shadowCanvas;return t||(t=document.createElement("canvas"),this.shadowCanvas=t),t.width=this.coordinate.getWidth(),t.height=this.coordinate.getHeight(),t.getContext("2d")},e.prototype.getGrayScaleBlurredCanvas=function(){return this.grayScaleBlurredCanvas||(this.grayScaleBlurredCanvas=document.createElement("canvas")),this.grayScaleBlurredCanvas},e.prototype.drawGrayScaleBlurredCircle=function(t,i,n,a,o){var s=this.getGrayScaleBlurredCanvas();o.globalAlpha=a,o.drawImage(s,t-n,i-n)},e.prototype.colorize=function(t){for(var i=this.getAttribute("color"),n=t.data,a=this.paletteCache,o=3;oe&&(t=t?e/(1+i/t):0,i=e-t),n+a>e&&(n=n?e/(1+a/n):0,a=e-n),[t||0,i||0,n||0,a||0]}function Cm(r,e,t){var i=[];if(t.isRect){var n=t.isTransposed?{x:t.start.x,y:e[0].y}:{x:e[0].x,y:t.start.y},a=t.isTransposed?{x:t.end.x,y:e[2].y}:{x:e[3].x,y:t.end.y},o=A(r,["background","style","radius"]);if(o){var s=t.isTransposed?Math.abs(e[0].y-e[2].y):e[2].x-e[1].x,l=t.isTransposed?t.getWidth():t.getHeight(),u=U(Sm(o,Math.min(s,l)),4),c=u[0],h=u[1],f=u[2],v=u[3],d=t.isTransposed&&t.isReflect("y"),p=d?0:1,g=function(M){return d?-M:M};i.push(["M",n.x,a.y+g(c)]),c!==0&&i.push(["A",c,c,0,0,p,n.x+c,a.y]),i.push(["L",a.x-h,a.y]),h!==0&&i.push(["A",h,h,0,0,p,a.x,a.y+g(h)]),i.push(["L",a.x,n.y-g(f)]),f!==0&&i.push(["A",f,f,0,0,p,a.x-f,n.y]),i.push(["L",n.x+v,n.y]),v!==0&&i.push(["A",v,v,0,0,p,n.x,n.y-g(v)])}else i.push(["M",n.x,n.y]),i.push(["L",a.x,n.y]),i.push(["L",a.x,a.y]),i.push(["L",n.x,a.y]),i.push(["L",n.x,n.y]);i.push(["z"])}if(t.isPolar){var y=t.getCenter(),m=ya(r,t),w=m.startAngle,x=m.endAngle;if(t.type!=="theta"&&!t.isTransposed)i=$r(y.x,y.y,t.getRadius(),w,x);else{var S=function(T){return Math.pow(T,2)},c=Math.sqrt(S(y.x-e[0].x)+S(y.y-e[0].y)),h=Math.sqrt(S(y.x-e[2].x)+S(y.y-e[2].y));i=$r(y.x,y.y,c,t.startAngle,t.endAngle,h)}}return i}function ET(r,e,t){var i=t.getWidth(),n=t.getHeight(),a=t.type==="rect",o=[],s=(r[2].x-r[1].x)/2,l=t.isTransposed?s*n/i:s*i/n;return e==="round"?(a?(o.push(["M",r[0].x,r[0].y+l]),o.push(["L",r[1].x,r[1].y-l]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y-l]),o.push(["L",r[3].x,r[3].y+l]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y+l])):(o.push(["M",r[0].x,r[0].y]),o.push(["L",r[1].x,r[1].y]),o.push(["A",s,s,0,0,1,r[2].x,r[2].y]),o.push(["L",r[3].x,r[3].y]),o.push(["A",s,s,0,0,1,r[0].x,r[0].y])),o.push(["z"])):o=ih(r),o}function Mm(r,e,t){var i=[];return R(e)?t?i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",(r[2].x+r[3].x)/2,(r[2].y+r[3].y)/2],["Z"]):i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",r[2].x,r[2].y],["L",r[3].x,r[3].y],["Z"]):i.push(["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["L",e[1].x,e[1].y],["L",e[0].x,e[0].y],["Z"]),i}function Bn(r,e){return[e,r]}function kT(r,e,t){var i,n,a,o,s,l,u,c=U(K([],U(r),!1),4),h=c[0],f=c[1],v=c[2],d=c[3],p=U(typeof t=="number"?Array(4).fill(t):t,4),g=p[0],y=p[1],m=p[2],w=p[3];e.isTransposed&&(i=U(Bn(f,d),2),f=i[0],d=i[1]),e.isReflect("y")&&(n=U(Bn(h,f),2),h=n[0],f=n[1],a=U(Bn(v,d),2),v=a[0],d=a[1]),e.isReflect("x")&&(o=U(Bn(h,d),2),h=o[0],d=o[1],s=U(Bn(f,v),2),f=s[0],v=s[1]);var x=[],S=function(M){return Math.abs(M)};return l=U(Sm([g,y,m,w],Math.min(S(d.x-h.x),S(f.y-h.y))).map(function(M){return S(M)}),4),g=l[0],y=l[1],m=l[2],w=l[3],e.isTransposed&&(u=U([w,g,y,m],4),g=u[0],y=u[1],m=u[2],w=u[3]),h.yo&&(n=o)}return n}function IT(r,e){if(e){var t=Me(r),i=Xe(t,e);return i.length}return r.length}function nh(r){var e=r.theme,t=r.coordinate,i=r.getXScale(),n=i.values,a=r.beforeMappingData,o=n.length,s=Ra(r.coordinate),l=r.intervalPadding,u=r.dodgePadding,c=r.maxColumnWidth||e.maxColumnWidth,h=r.minColumnWidth||e.minColumnWidth,f=r.columnWidthRatio||e.columnWidthRatio,v=r.multiplePieWidthRatio||e.multiplePieWidthRatio,d=r.roseWidthRatio||e.roseWidthRatio;if(i.isLinear&&n.length>1){n.sort();var p=LT(n,i);o=(i.max-i.min)/p,n.length>o&&(o=n.length)}var g=i.range,y=1/o,m=1;if(t.isPolar?t.isTransposed&&o>1?m=v:m=d:(i.isLinear&&(y*=g[1]-g[0]),m=f),!R(l)&&l>=0){var w=l/s;y=(1-(o-1)*w)/o}else y*=m;if(r.getAdjust("dodge")){var x=r.getAdjust("dodge"),S=x.dodgeBy,M=IT(a,S);if(!R(u)&&u>=0){var F=u/s;y=(y-F*(M-1))/M}else!R(l)&&l>=0&&(y*=m),y=y/M;y=y>=0?y:0}if(!R(c)&&c>=0){var T=c/s;y>T&&(y=T)}if(!R(h)&&h>=0){var k=h/s;y0&&!A(i,[n,"min"])&&t.change({min:0}),o<=0&&!A(i,[n,"max"])&&t.change({max:0}))}},e.prototype.getDrawCfg=function(t){var i=r.prototype.getDrawCfg.call(this,t);return i.background=this.background,i},e}(ei),DT=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;i.type="line";var n=t.sortable,a=n===void 0?!1:n;return i.sortable=a,i}return e}(eh),Am=["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],OT=["cross","tick","plus","hyphen","line"];function ah(r,e,t,i,n){var a,o,s=Bt(e,n,!n,"r"),l=r.parsePoints(e.points),u=l[0];if(e.isStack)u=l[1];else if(l.length>1){var c=t.addGroup();try{for(var h=vt(l),f=h.next();!f.done;f=h.next()){var v=f.value;c.addShape({type:"marker",attrs:b(b(b({},s),{symbol:Ei[i]||i}),v)})}}catch(d){a={error:d}}finally{try{f&&!f.done&&(o=h.return)&&o.call(h)}finally{if(a)throw a.error}}return c}return t.addShape({type:"marker",attrs:b(b(b({},s),{symbol:Ei[i]||i}),u)})}ti("point",{defaultShapeType:"hollow-circle",getDefaultPoints:function(r){return qc(r)}});C(Am,function(r){dt("point","hollow-".concat(r),{draw:function(e,t){return ah(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ei[r]||r,style:{r:4.5,stroke:t,fill:null}}}})});var BT=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="point",t.shapeType="point",t.generatePoints=!0,t}return e.prototype.getDrawCfg=function(t){var i=r.prototype.getDrawCfg.call(this,t);return b(b({},i),{isStack:!!this.getAdjust("stack")})},e}(ei);function RT(r){for(var e=r[0],t=1,i=[["M",e.x,e.y]];t2?"weight":"normal",a;if(r.isInCircle){var o={x:0,y:1};return n==="normal"?a=YT(i[0],i[1],o):(t.fill=t.stroke,a=$T(i,o)),a=this.parsePath(a),e.addShape("path",{attrs:b(b({},t),{path:a})})}else{if(n==="normal")return i=this.parsePoints(i),a=fy((i[1].x+i[0].x)/2,i[0].y,Math.abs(i[1].x-i[0].x)/2,Math.PI,Math.PI*2),e.addShape("path",{attrs:b(b({},t),{path:a})});var s=Xu(i[1],i[3]),l=Xu(i[2],i[0]);return a=[["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],s,["L",i[3].x,i[3].y],["L",i[2].x,i[2].y],l,["Z"]],a=this.parsePath(a),t.fill=t.stroke,e.addShape("path",{attrs:b(b({},t),{path:a})})}},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});function HT(r,e){var t=Xu(r,e),i=[["M",r.x,r.y]];return i.push(t),i}dt("edge","smooth",{draw:function(r,e){var t=Bt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(HT(i[0],i[1]));return e.addShape("path",{attrs:b(b({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});var po=1/3;function XT(r,e){var t=[];t.push({x:r.x,y:r.y*(1-po)+e.y*po}),t.push({x:e.x,y:r.y*(1-po)+e.y*po}),t.push(e);var i=[["M",r.x,r.y]];return C(t,function(n){i.push(["L",n.x,n.y])}),i}dt("edge","vhv",{draw:function(r,e){var t=Bt(r,!0,!1,"lineWidth"),i=r.points,n=this.parsePath(XT(i[0],i[1]));return e.addShape("path",{attrs:b(b({},t),{path:n})})},getMarker:function(r){return{symbol:"circle",style:{r:4.5,fill:r.color}}}});dt("interval","funnel",{getPoints:function(r){return r.size=r.size*2,rh(r)},draw:function(r,e){var t=Bt(r,!1,!0),i=this.parsePath(Mm(r.points,r.nextPoints,!1)),n=e.addShape("path",{attrs:b(b({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});dt("interval","hollow-rect",{draw:function(r,e){var t=Bt(r,!0,!1),i=e,n=r==null?void 0:r.background;if(n){i=e.addGroup();var a=tm(r),o=Cm(r,this.parsePoints(r.points),this.coordinate);i.addShape("path",{attrs:b(b({},a),{path:o}),capture:!1,zIndex:-1,name:Xc})}var s=this.parsePath(ih(r.points)),l=i.addShape("path",{attrs:b(b({},t),{path:s}),name:"interval"});return n?i:l},getMarker:function(r){var e=r.color,t=r.isInPolar;return t?{symbol:"circle",style:{r:4.5,stroke:e,fill:null}}:{symbol:"square",style:{r:4,stroke:e,fill:null}}}});function WT(r){var e=r.x,t=r.y,i=r.y0;return z(t)?t.map(function(n,a){return{x:z(e)?e[a]:e,y:n}}):[{x:e,y:i},{x:e,y:t}]}dt("interval","line",{getPoints:function(r){return WT(r)},draw:function(r,e){var t=Bt(r,!0,!1,"lineWidth"),i=fe(b({},t),["fill"]),n=this.parsePath(ih(r.points,!1)),a=e.addShape("path",{attrs:b(b({},i),{path:n}),name:"interval"});return a},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){return[["M",t,i-n],["L",t,i+n]]},style:{r:5,stroke:e}}}});dt("interval","pyramid",{getPoints:function(r){return r.size=r.size*2,rh(r)},draw:function(r,e){var t=Bt(r,!1,!0),i=this.parsePath(Mm(r.points,r.nextPoints,!0)),n=e.addShape("path",{attrs:b(b({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});function _T(r){var e,t=r.x,i=r.y,n=r.y0,a=r.size,o,s;z(i)?(e=U(i,2),o=e[0],s=e[1]):(o=n,s=i);var l=t+a/2,u=t-a/2;return[{x:t,y:o},{x:t,y:s},{x:u,y:o},{x:l,y:o},{x:u,y:s},{x:l,y:s}]}function qT(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y]]}dt("interval","tick",{getPoints:function(r){return _T(r)},draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(qT(r.points)),n=e.addShape("path",{attrs:b(b({},t),{path:i}),name:"interval"});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){return[["M",t-n/2,i-n],["L",t+n/2,i-n],["M",t,i-n],["L",t,i+n],["M",t-n/2,i+n],["L",t+n/2,i+n]]},style:{r:5,stroke:e}}}});var UT=function(r,e,t){var i=r.x,n=r.y,a=e.x,o=e.y,s;switch(t){case"hv":s=[{x:a,y:n}];break;case"vh":s=[{x:i,y:o}];break;case"hvh":var l=(a+i)/2;s=[{x:l,y:n},{x:l,y:o}];break;case"vhv":var u=(n+o)/2;s=[{x:i,y:u},{x:a,y:u}];break}return s};function jT(r,e){var t=[];return C(r,function(i,n){var a=r[n+1];if(t.push(i),a){var o=UT(i,a,e);t=t.concat(o)}}),t}function ZT(r){return r.map(function(e,t){return t===0?["M",e.x,e.y]:["L",e.x,e.y]})}function QT(r,e){var t=Qs(r.points,r.connectNulls,r.showSinglePoint),i=[];return C(t,function(n){var a=jT(n,e);i=i.concat(ZT(a))}),b(b({},Bt(r,!0,!1,"lineWidth")),{path:i})}C(["hv","vh","hvh","vhv"],function(r){dt("line",r,{draw:function(e,t){var i=QT(e,r),n=t.addShape({type:"path",attrs:i,name:"line"});return n},getMarker:function(e){return em(e,r)}})});C(OT,function(r){dt("point",r,{draw:function(e,t){return ah(this,e,t,r,!0)},getMarker:function(e){var t=e.color;return{symbol:Ei[r],style:{r:4.5,stroke:t,fill:null}}}})});dt("point","image",{draw:function(r,e){var t,i,n=Bt(r,!1,!1,"r").r,a=this.parsePoints(r.points),o=a[0];if(r.isStack)o=a[1];else if(a.length>1){var s=e.addGroup();try{for(var l=vt(a),u=l.next();!u.done;u=l.next()){var c=u.value;s.addShape("image",{attrs:{x:c.x-n/2,y:c.y-n,width:n,height:n,img:r.shape[1]}})}}catch(h){t={error:h}}finally{try{u&&!u.done&&(i=l.return)&&i.call(l)}finally{if(t)throw t.error}}return s}return e.addShape("image",{attrs:{x:o.x-n/2,y:o.y-n,width:n,height:n,img:r.shape[1]}})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4.5,fill:e}}}});C(Am,function(r){dt("point",r,{draw:function(e,t){return ah(this,e,t,r,!1)},getMarker:function(e){var t=e.color;return{symbol:Ei[r]||r,style:{r:4.5,fill:t}}}})});function Uv(r){var e=z(r)?r:[r],t=e[0],i=e[e.length-1],n=e.length>1?e[1]:t,a=e.length>3?e[3]:i,o=e.length>2?e[2]:n;return{min:t,max:i,min1:n,max1:a,median:o}}function jv(r,e,t){var i=t/2,n;if(z(e)){var a=Uv(e),o=a.min,s=a.max,l=a.median,u=a.min1,c=a.max1,h=r-i,f=r+i;n=[[h,s],[f,s],[r,s],[r,c],[h,u],[h,c],[f,c],[f,u],[r,u],[r,o],[h,o],[f,o],[h,l],[f,l]]}else{e=R(e)?.5:e;var v=Uv(r),o=v.min,s=v.max,l=v.median,u=v.min1,c=v.max1,d=e-i,p=e+i;n=[[o,d],[o,p],[o,e],[u,e],[u,d],[u,p],[c,p],[c,d],[c,e],[s,e],[s,d],[s,p],[l,d],[l,p]]}return n.map(function(g){return{x:g[0],y:g[1]}})}function KT(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x,r[10].y],["L",r[11].x,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]}dt("schema","box",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return jv(e,t,i)},draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(KT(r.points)),n=e.addShape("path",{attrs:b(b({},t),{path:i,name:"schema"})});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){var a=[i-6,i-3,i,i+3,i+6],o=jv(t,a,n);return[["M",o[0].x+1,o[0].y],["L",o[1].x-1,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["M",o[4].x,o[4].y],["L",o[5].x,o[5].y],["L",o[6].x,o[6].y],["L",o[7].x,o[7].y],["L",o[4].x,o[4].y],["Z"],["M",o[8].x,o[8].y],["L",o[9].x,o[9].y],["M",o[10].x+1,o[10].y],["L",o[11].x-1,o[11].y],["M",o[12].x,o[12].y],["L",o[13].x,o[13].y]]},style:{r:6,lineWidth:1,stroke:e}}}});function JT(r){var e=z(r)?r:[r],t=e.sort(function(i,n){return n-i});return DA(t,4,t[t.length-1])}function Zv(r,e,t){var i=JT(e);return[{x:r,y:i[0]},{x:r,y:i[1]},{x:r-t/2,y:i[2]},{x:r-t/2,y:i[1]},{x:r+t/2,y:i[1]},{x:r+t/2,y:i[2]},{x:r,y:i[2]},{x:r,y:i[3]}]}function tE(r){return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]}dt("schema","candle",{getPoints:function(r){var e=r.x,t=r.y,i=r.size;return Zv(e,t,i)},draw:function(r,e){var t=Bt(r,!0,!0),i=this.parsePath(tE(r.points)),n=e.addShape("path",{attrs:b(b({},t),{path:i,name:"schema"})});return n},getMarker:function(r){var e=r.color;return{symbol:function(t,i,n){var a=[i+7.5,i+3,i-3,i-7.5],o=Zv(t,a,n);return[["M",o[0].x,o[0].y],["L",o[1].x,o[1].y],["M",o[2].x,o[2].y],["L",o[3].x,o[3].y],["L",o[4].x,o[4].y],["L",o[5].x,o[5].y],["Z"],["M",o[6].x,o[6].y],["L",o[7].x,o[7].y]]},style:{lineWidth:1,stroke:e,fill:e,r:6}}}});function eE(r,e){var t=Math.abs(r[0].x-r[2].x),i=Math.abs(r[0].y-r[2].y),n=Math.min(t,i);e&&(n=At(e,0,Math.min(t,i))),n=n/2;var a=(r[0].x+r[2].x)/2,o=(r[0].y+r[2].y)/2;return{x:a-n,y:o-n,width:n*2,height:n*2}}dt("polygon","square",{draw:function(r,e){if(!ge(r.points)){var t=Bt(r,!0,!0),i=this.parsePoints(r.points);return e.addShape("rect",{attrs:b(b({},t),eE(i,r.size)),name:"polygon"})}},getMarker:function(r){var e=r.color;return{symbol:"square",style:{r:4,fill:e}}}});dt("violin","smooth",{draw:function(r,e){var t=Bt(r,!0,!0),i=this.parsePath(Jy(r.points));return e.addShape("path",{attrs:b(b({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{stroke:null,r:4,fill:e}}}});dt("violin","hollow",{draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(Ky(r.points));return e.addShape("path",{attrs:b(b({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});dt("violin","hollow-smooth",{draw:function(r,e){var t=Bt(r,!0,!1),i=this.parsePath(Jy(r.points));return e.addShape("path",{attrs:b(b({},t),{path:i})})},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{r:4,fill:null,stroke:e}}}});var rE=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelValueDir=function(t){var i="y",n=t.points;return n[0][i]<=n[2][i]?1:-1},e.prototype.getLabelOffsetPoint=function(t,i,n,a){var o,s=r.prototype.getLabelOffsetPoint.call(this,t,i,n),l=this.getCoordinate(),u=l.isTransposed,c=u?"x":"y",h=this.getLabelValueDir(t.mappingData);return s=b(b({},s),(o={},o[c]=s[c]*h,o)),l.isReflect("x")&&(s=b(b({},s),{x:s.x*-1})),l.isReflect("y")&&(s=b(b({},s),{y:s.y*-1})),s},e.prototype.getThemedLabelCfg=function(t){var i=this.geometry,n=this.getDefaultLabelCfg(),a=i.theme;return X({},n,a.labels,t.position==="middle"?{offset:0}:{},t)},e.prototype.setLabelPosition=function(t,i,n,a){var o=this.getCoordinate(),s=o.isTransposed,l=i.points,u=o.convert(l[0]),c=o.convert(l[2]),h=this.getLabelValueDir(i),f,v,d,p,g=z(i.shape)?i.shape[0]:i.shape;if(g==="funnel"||g==="pyramid"){var y=A(i,"nextPoints"),m=A(i,"points");if(y){var w=o.convert(m[0]),x=o.convert(m[1]),S=o.convert(y[0]),M=o.convert(y[1]);s?(f=Math.min(S.y,w.y),d=Math.max(S.y,w.y),v=(x.x+M.x)/2,p=(w.x+S.x)/2):(f=Math.min((x.y+M.y)/2,(w.y+S.y)/2),d=Math.max((x.y+M.y)/2,(w.y+S.y)/2),v=M.x,p=w.x)}else f=Math.min(c.y,u.y),d=Math.max(c.y,u.y),v=c.x,p=u.x}else f=Math.min(c.y,u.y),d=Math.max(c.y,u.y),v=c.x,p=u.x;switch(a){case"right":t.x=v,t.y=(f+d)/2,t.textAlign=A(t,"textAlign",h>0?"left":"right");break;case"left":t.x=p,t.y=(f+d)/2,t.textAlign=A(t,"textAlign",h>0?"left":"right");break;case"bottom":s&&(t.x=(v+p)/2),t.y=d,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline",h>0?"bottom":"top");break;case"middle":s&&(t.x=(v+p)/2),t.y=(f+d)/2,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline","middle");break;case"top":s&&(t.x=(v+p)/2),t.y=f,t.textAlign=A(t,"textAlign","center"),t.textBaseline=A(t,"textBaseline",h>0?"bottom":"top");break}},e}(Zs),go=Math.PI/2,Fm=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelOffset=function(t){var i=this.getCoordinate(),n=0;if(nt(t))n=t;else if(J(t)&&t.indexOf("%")!==-1){var a=i.getRadius();i.innerRadius>0&&(a=a*(1-i.innerRadius)),n=parseFloat(t)*.01*a}return n},e.prototype.getLabelItems=function(t){var i=r.prototype.getLabelItems.call(this,t),n=this.geometry.getYScale();return Ft(i,function(a){if(a&&n){var o=n.scale(A(a.data,n.field));return b(b({},a),{percent:o})}return a})},e.prototype.getLabelAlign=function(t){var i=this.getCoordinate(),n;if(t.labelEmit)n=t.angle<=Math.PI/2&&t.angle>=-Math.PI/2?"left":"right";else if(!i.isTransposed)n="center";else{var a=i.getCenter(),o=t.offset;Math.abs(t.x-a.x)<1?n="center":t.angle>Math.PI||t.angle<=0?n=o>0?"left":"right":n=o>0?"right":"left"}return n},e.prototype.getLabelPoint=function(t,i,n){var a=1,o,s=t.content[n];this.isToMiddle(i)?o=this.getMiddlePoint(i.points):(t.content.length===1&&n===0?n=1:n===0&&(a=-1),o=this.getArcPoint(i,n));var l=t.offset*a,u=this.getPointAngle(o),c=t.labelEmit,h=this.getCirclePoint(u,l,o,c);return h.r===0?h.content="":(h.content=s,h.angle=u,h.color=i.color),h.rotate=t.autoRotate?this.getLabelRotate(u,l,c):t.rotate,h.start={x:o.x,y:o.y},h},e.prototype.getArcPoint=function(t,i){return i===void 0&&(i=0),!z(t.x)&&!z(t.y)?{x:t.x,y:t.y}:{x:z(t.x)?t.x[i]:t.x,y:z(t.y)?t.y[i]:t.y}},e.prototype.getPointAngle=function(t){return on(this.getCoordinate(),t)},e.prototype.getCirclePoint=function(t,i,n,a){var o=this.getCoordinate(),s=o.getCenter(),l=Ws(o,n);if(l===0)return b(b({},s),{r:l});var u=t;if(o.isTransposed&&l>i&&!a){var c=Math.asin(i/(2*l));u=t+c*2}else l=l+i;return{x:s.x+l*Math.cos(u),y:s.y+l*Math.sin(u),r:l}},e.prototype.getLabelRotate=function(t,i,n){var a=t+go;return n&&(a-=go),a&&(a>go?a=a-Math.PI:a<-go&&(a=a+Math.PI)),a},e.prototype.getMiddlePoint=function(t){var i=this.getCoordinate(),n=t.length,a={x:0,y:0};return C(t,function(o){a.x+=o.x,a.y+=o.y}),a.x/=n,a.y/=n,a=i.convert(a),a},e.prototype.isToMiddle=function(t){return t.x.length>2},e}(Zs),iE=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.defaultLayout="distribute",t}return e.prototype.getDefaultLabelCfg=function(t,i){var n=r.prototype.getDefaultLabelCfg.call(this,t,i);return X({},n,A(this.geometry.theme,"pieLabels",{}))},e.prototype.getLabelOffset=function(t){return r.prototype.getLabelOffset.call(this,t)||0},e.prototype.getLabelRotate=function(t,i,n){var a;return i<0&&(a=t,a>Math.PI/2&&(a=a-Math.PI),a<-Math.PI/2&&(a=a+Math.PI)),a},e.prototype.getLabelAlign=function(t){var i=this.getCoordinate(),n=i.getCenter(),a;return t.angle<=Math.PI/2&&t.x>=n.x?a="left":a="right",t.offset<=0&&(a==="right"?a="left":a="right"),a},e.prototype.getArcPoint=function(t){return t},e.prototype.getPointAngle=function(t){var i=this.getCoordinate(),n={x:z(t.x)?t.x[0]:t.x,y:t.y[0]},a={x:z(t.x)?t.x[1]:t.x,y:t.y[1]},o,s=on(i,n);if(t.points&&t.points[0].y===t.points[1].y)o=s;else{var l=on(i,a);s>=l&&(l=l+Math.PI*2),o=s+(l-s)/2}return o},e.prototype.getCirclePoint=function(t,i){var n=this.getCoordinate(),a=n.getCenter(),o=n.getRadius()+i;return b(b({},Rt(a.x,a.y,o,t)),{angle:t,r:o})},e}(Fm),Qv=4;function nE(r,e,t,i,n,a){var o,s,l=!0,u=i.start,c=i.end,h=Math.min(u.y,c.y),f=Math.abs(u.y-c.y),v,d=0,p=Number.MIN_VALUE,g=e.map(function(F){return F.y>d&&(d=F.y),F.yf&&(f=d-h);l;)for(g.forEach(function(F){var T=(Math.min.apply(p,F.targets)+Math.max.apply(p,F.targets))/2;F.pos=Math.min(Math.max(p,T-F.size/2),f-F.size)}),l=!1,v=g.length;v--;)if(v>0){var y=g[v-1],m=g[v];y.pos+y.size>m.pos&&(y.size+=m.size,y.targets=y.targets.concat(m.targets),y.pos+y.size>f&&(y.pos=f-y.size),g.splice(v,1),l=!0)}v=0,g.forEach(function(F){var T=h+t/2;F.targets.forEach(function(){e[v].y=F.pos+T,T+=t,v++})});var w={};try{for(var x=vt(r),S=x.next();!S.done;S=x.next()){var M=S.value;w[M.get("id")]=M}}catch(F){o={error:F}}finally{try{S&&!S.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}e.forEach(function(F){var T=F.r*F.r,k=Math.pow(Math.abs(F.y-n.y),2);if(T0){var l=14,u=o+n,c=u*2+l*2,h={start:a.start,end:a.end},f=[[],[]];r.forEach(function(v){v&&(v.textAlign==="right"?f[0].push(v):f[1].push(v))}),f.forEach(function(v,d){var p=c/l;v.length>p&&(v.sort(function(g,y){return y["..percent"]-g["..percent"]}),v.splice(p,v.length-p)),v.sort(function(g,y){return g.y-y.y}),nE(e,v,l,h,s,d)})}C(r,function(v){if(v&&v.labelLine){var d=v.offset,p=v.angle,g=Rt(s.x,s.y,o,p),y=Rt(s.x,s.y,o+d/2,p),m=v.x+A(v,"offsetX",0),w=v.y+A(v,"offsetY",0),x={x:m-Math.cos(p)*Qv,y:w-Math.sin(p)*Qv};yt(v.labelLine)||(v.labelLine={}),v.labelLine.path=["M ".concat(g.x),"".concat(g.y," Q").concat(y.x),"".concat(y.y," ").concat(x.x),x.y].join(",")}})}}function Tm(r,e,t){var i=r.filter(function(d){return!d.invisible});i.sort(function(d,p){return d.y-p.y});var n=!0,a=t.minY,o=t.maxY,s=Math.abs(a-o),l,u=0,c=Number.MIN_VALUE,h=i.map(function(d){return d.y>u&&(u=d.y),d.ys&&(s=u-a);n;)for(h.forEach(function(d){var p=(Math.min.apply(c,d.targets)+Math.max.apply(c,d.targets))/2;d.pos=Math.min(Math.max(c,p-d.size/2),s-d.size),d.pos=Math.max(0,d.pos)}),n=!1,l=h.length;l--;)if(l>0){var f=h[l-1],v=h[l];f.pos+f.size>v.pos&&(f.size+=v.size,f.targets=f.targets.concat(v.targets),f.pos+f.size>s&&(f.pos=s-f.size),h.splice(l,1),n=!0)}l=0,h.forEach(function(d){var p=a+e/2;d.targets.forEach(function(){i[l].y=d.pos+p,p+=e,l++})})}var Kv=4;function oE(r,e){var t=e.getCenter(),i=e.getRadius();if(r&&r.labelLine){var n=r.angle,a=r.offset,o=Rt(t.x,t.y,i,n),s=r.x+A(r,"offsetX",0)*(Math.cos(n)>0?1:-1),l=r.y+A(r,"offsetY",0)*(Math.sin(n)>0?1:-1),u={x:s-Math.cos(n)*Kv,y:l-Math.sin(n)*Kv},c=r.labelLine.smooth,h=[],f=u.x-t.x,v=u.y-t.y,d=Math.atan(v/f);if(f<0&&(d+=Math.PI),c===!1){yt(r.labelLine)||(r.labelLine={});var p=0;(n<0&&n>-Math.PI/2||n>Math.PI*1.5)&&u.y>o.y&&(p=1),n>=0&&no.y&&(p=1),n>=Math.PI/2&&nu.y&&(p=1),(n<-Math.PI/2||n>=Math.PI&&nu.y&&(p=1);var g=a/2>4?4:Math.max(a/2-1,0),y=Rt(t.x,t.y,i+g,n),m=Rt(t.x,t.y,i+a/2,d),w=0;h.push("M ".concat(o.x," ").concat(o.y)),h.push("L ".concat(y.x," ").concat(y.y)),h.push("A ".concat(t.x," ").concat(t.y," 0 ").concat(w," ").concat(p," ").concat(m.x," ").concat(m.y)),h.push("L ".concat(u.x," ").concat(u.y))}else{var y=Rt(t.x,t.y,i+(a/2>4?4:Math.max(a/2-1,0)),n),x=o.xMath.pow(Math.E,-16)&&h.push.apply(h,["C",u.x+x*4,u.y,2*y.x-o.x,2*y.y-o.y,o.x,o.y]),h.push("L ".concat(o.x," ").concat(o.y))}r.labelLine.path=h.join(" ")}}function sE(r,e,t,i){var n,a,o=Qt(r,function(T){return!R(T)}),s=e[0]&&e[0].get("coordinate");if(s){var l=s.getCenter(),u=s.getRadius(),c={};try{for(var h=vt(e),f=h.next();!f.done;f=h.next()){var v=f.value;c[v.get("id")]=v}}catch(T){n={error:T}}finally{try{f&&!f.done&&(a=h.return)&&a.call(h)}finally{if(n)throw n.error}}var d=A(o[0],"labelHeight",14),p=A(o[0],"offset",0);if(!(p<=0)){var g="left",y="right",m=Se(o,function(T){return T.xE&&(T.sort(function(I,B){return B.percent-I.percent}),C(T,function(I,B){B+1>E&&(c[I.id].set("visible",!1),I.invisible=!0)})),Tm(T,d,F)}),C(m,function(T,k){C(T,function(E){var I=k===y,B=c[E.id],N=B.getChildByIndex(0);if(N){var Y=u+p,j=E.y-l.y,P=Math.pow(Y,2),G=Math.pow(j,2),_=P-G>0?P-G:0,H=Math.sqrt(_),$=Math.abs(Math.cos(E.angle)*Y);I?E.x=l.x+Math.max(H,$):E.x=l.x-Math.max(H,$)}N&&(N.attr("y",E.y),N.attr("x",E.x)),oE(E,s)})})}}}var _u=4,lE=4,Jv=4;function uE(r,e,t){var i=e.getCenter(),n=e.getRadius(),a={x:r.x-(t?Jv:-Jv),y:r.y},o=Rt(i.x,i.y,n+_u,r.angle),s={x:a.x,y:a.y},l={x:o.x,y:o.y},u=Rt(i.x,i.y,n,r.angle),c="";if(a.y!==o.y){var h=t?4:-4;s.y=a.y,r.angle<0&&r.angle>=-Math.PI/2&&(s.x=Math.max(o.x,a.x-h),a.y0&&r.angleo.y?l.y=s.y:(l.y=o.y,l.x=Math.max(l.x,s.x-h))),r.angle>Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.y>o.y?l.y=s.y:(l.y=o.y,l.x=Math.min(l.x,s.x-h))),r.angle<-Math.PI/2&&(s.x=Math.min(o.x,a.x-h),a.ys.x||T.x===s.x&&T.y>s.y,I=R(T.offsetX)?lE:T.offsetX,B=Rt(s.x,s.y,l+_u,T.angle),N=d+I;T.x=s.x+(E?1:-1)*(l+N),T.y=B.y}}});var p=o.start,g=o.end,y="left",m="right",w=Se(r,function(T){return T.xx&&(x=Math.min(k,Math.abs(p.y-g.y)))});var S={minX:p.x,maxX:g.x,minY:s.y-x/2,maxY:s.y+x/2};C(w,function(T,k){var E=x/v;T.length>E&&(T.sort(function(I,B){return B.percent-I.percent}),C(T,function(I,B){B>E&&(u[I.id].set("visible",!1),I.invisible=!0)})),Tm(T,v,S)});var M=S.minY,F=S.maxY;C(w,function(T,k){var E=k===m;C(T,function(I){var B=A(u,I&&[I.id]);if(B){if(I.yF){B.set("visible",!1);return}var N=B.getChildByIndex(0),Y=N.getCanvasBBox(),j={x:E?Y.x:Y.maxX,y:Y.y+Y.height/2};Ga(N,I.x-j.x,I.y-j.y),I.labelLine&&uE(I,o,E)}})})}}function hE(r,e,t,i){C(e,function(n){var a=i.minX,o=i.minY,s=i.maxX,l=i.maxY,u=n.getCanvasBBox(),c=u.minX,h=u.minY,f=u.maxX,v=u.maxY,d=u.x,p=u.y,g=u.width,y=u.height,m=d,w=p;(cs?m=s-g:f>s&&(m=m-(f-s)),h>l?w=l-y:v>l&&(w=w-(v-l)),(m!==d||w!==p)&&Ga(n,m-d,w-p)})}function fE(r,e,t,i){C(e,function(n,a){var o=n.getCanvasBBox(),s=t[a].getBBox();(o.minXs.maxX||o.maxY>s.maxY)&&n.remove(!0)})}var vE=100,Em=function(){function r(e){e===void 0&&(e={}),this.bitmap={};var t=e.xGap,i=t===void 0?1:t,n=e.yGap,a=n===void 0?8:n;this.xGap=i,this.yGap=a}return r.prototype.hasGap=function(e){for(var t=!0,i=this.bitmap,n=Math.round(e.minX),a=Math.round(e.maxX),o=Math.round(e.minY),s=Math.round(e.maxY),l=n;l<=a;l+=1){if(!i[l]){i[l]={};continue}if(l===n||l===a){for(var u=o;u<=s;u++)if(i[l][u]){t=!1;break}}else if(i[l][o]||i[l][s]){t=!1;break}}return t},r.prototype.fillGap=function(e){for(var t=this.bitmap,i=Math.round(e.minX),n=Math.round(e.maxX),a=Math.round(e.minY),o=Math.round(e.maxY),s=i;s<=n;s+=1)t[s]||(t[s]={});for(var s=i;s<=n;s+=this.xGap){for(var l=a;l<=o;l+=this.yGap)t[s][l]=!0;t[s][o]=!0}if(this.yGap!==1)for(var s=a;s<=o;s+=1)t[i][s]=!0,t[n][s]=!0;if(this.xGap!==1)for(var s=i;s<=n;s+=1)t[s][a]=!0,t[s][o]=!0},r.prototype.destroy=function(){this.bitmap={}},r}();function dE(r,e,t){t===void 0&&(t=vE);var i=-1,n=r.attr(),a=n.x,o=n.y,s=r.getCanvasBBox(),l=Math.sqrt(s.width*s.width+s.height*s.height),u,c=-i,h=0,f=0,v=function(y){var m=y*.1;return[m*Math.cos(m),m*Math.sin(m)]};if(e.hasGap(s))return e.fillGap(s),!0;for(var d=!1,p=0,g={};Math.min(Math.abs(h),Math.abs(f))4)return[];var e=function(n,a){return[a.x-n.x,a.y-n.y]},t=e(r[0],r[1]),i=e(r[1],r[2]);return[t,i]}function yo(r,e,t){e===void 0&&(e=0),t===void 0&&(t={x:0,y:0});var i=r.x,n=r.y;return{x:(i-t.x)*Math.cos(-e)+(n-t.y)*Math.sin(-e)+t.x,y:(t.x-i)*Math.sin(-e)+(n-t.y)*Math.cos(-e)+t.y}}function ed(r){var e=[{x:r.x,y:r.y},{x:r.x+r.width,y:r.y},{x:r.x+r.width,y:r.y+r.height},{x:r.x,y:r.y+r.height}],t=r.rotation;return t?[yo(e[0],t,e[0]),yo(e[1],t,e[0]),yo(e[2],t,e[0]),yo(e[3],t,e[0])]:e}function rd(r,e){if(r.length>4)return{min:0,max:0};var t=[];return r.forEach(function(i){t.push(mE([i.x,i.y],e))}),{min:Math.min.apply(Math,K([],U(t),!1)),max:Math.max.apply(Math,K([],U(t),!1))}}function xE(r,e){return r.max>e.min&&r.minr.x+r.width+t||e.x+e.widthr.y+r.height+t||e.y+e.height"u")){var e;try{e=new Blob([r.toString()],{type:"application/javascript"})}catch{e=new window.BlobBuilder,e.append(r.toString()),e=e.getBlob()}return new CE(URL.createObjectURL(e))}}var AE=function(r){function e(){function u(w,x){return(w[0]||0)*(x[0]||0)+(w[1]||0)*(x[1]||0)+0*(x[2]||0)}function c(w){if(w.length>4)return[];var x=function(F,T){return[T.x-F.x,T.y-F.y]},S=x(w[0],w[1]),M=x(w[1],w[2]);return[S,M]}function h(w,x,S){x===void 0&&(x=0),S===void 0&&(S={x:0,y:0});var M=w.x,F=w.y;return{x:(M-S.x)*Math.cos(-x)+(F-S.y)*Math.sin(-x)+S.x,y:(S.x-M)*Math.sin(-x)+(F-S.y)*Math.cos(-x)+S.y}}function f(w){var x=[{x:w.x,y:w.y},{x:w.x+w.width,y:w.y},{x:w.x+w.width,y:w.y+w.height},{x:w.x,y:w.y+w.height}],S=w.rotation;return S?[h(x[0],S,x[0]),h(x[1],S,x[0]),h(x[2],S,x[0]),h(x[3],S,x[0])]:x}function v(w,x){if(w.length>4)return{min:0,max:0};var S=[];return w.forEach(function(M){S.push(u([M.x,M.y],x))}),{min:Math.min.apply(null,S),max:Math.max.apply(null,S)}}function d(w,x){return w.max>x.min&&w.minw.x+w.width+S||x.x+x.widthw.y+w.height+S||x.y+x.height=a.height:o.width>=a.width}function IE(r,e,t){var i=!!r.getAdjust("stack");return i||e.every(function(n,a){var o=t[a];return LE(r,n,o)})}function PE(r,e,t){var i=r.coordinate,n=se.fromObject(t.getBBox()),a=qr(e);i.isTransposed?a.attr({x:n.minX+n.width/2,textAlign:"center"}):a.attr({y:n.minY+n.height/2,textBaseline:"middle"})}function DE(r,e,t){var i;if(t.length!==0){var n=(i=t[0])===null||i===void 0?void 0:i.get("element"),a=n==null?void 0:n.geometry;if(!(!a||a.type!=="interval")){var o=IE(a,e,t);o&&t.forEach(function(s,l){var u=e[l];PE(a,u,s)})}}}function OE(r){var e=500,t=[],i=Math.max(Math.floor(r.length/e),1);return C(r,function(n,a){a%i===0?t.push(n):n.set("visible",!1)}),t}function BE(r,e,t){var i;if(t.length!==0){var n=(i=t[0])===null||i===void 0?void 0:i.get("element"),a=n==null?void 0:n.geometry;if(!(!a||a.type!=="interval")){var o=OE(e),s=U(a.getXYFields(),1),l=s[0],u=[],c=[],h=Se(o,function(g){return g.get("data")[l]}),f=Mi(Ft(o,function(g){return g.get("data")[l]})),v;o.forEach(function(g){g.set("visible",!0)});var d=function(g){g&&(g.length&&c.push(g.pop()),c.push.apply(c,K([],U(g),!1)))};for($t(f)>0&&(v=f.shift(),d(h[v])),$t(f)>0&&(v=f.pop(),d(h[v])),C(f.reverse(),function(g){d(h[g])});c.length>0;){var p=c.shift();p.get("visible")&&(jF(p,u)?p.set("visible",!1):u.push(p))}}}}function RE(r,e){var t=r.getXYFields()[1],i=[],n=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return n.length>0&&i.push(n.shift()),n.length>0&&i.push(n.pop()),i.push.apply(i,K([],U(n),!1)),i}function km(r,e,t){return r.some(function(i){return t(i,e)})}function zE(r,e,t){var i=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),n=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return i*n}function od(r,e){return km(r,e,function(t,i){var n=qr(t),a=qr(i);return zE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function NE(r,e,t,i,n){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||l.type!=="point")){var u=U(l.getXYFields(),2),c=u[0],h=u[1],f=Se(e,function(p){return p.get("data")[c]}),v=[],d=n&&n.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;Ft(gn(f).reverse(),function(p){for(var g=RE(l,f[p]);g.length;){var y=g.shift(),m=qr(y);if(km(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){m.set("visible",!1);continue}var w=od(v,y),x=!1;if(w&&(m.attr("y",m.attr("y")+2*d),x=od(v,y)),x){m.set("visible",!1);continue}v.push(y)}})}}}function GE(r,e){var t=r.getXYFields()[1],i=[],n=e.sort(function(a,o){return a.get("data")[t]-a.get("data")[t]});return n.length>0&&i.push(n.shift()),n.length>0&&i.push(n.pop()),i.push.apply(i,K([],U(n),!1)),i}function Lm(r,e,t){return r.some(function(i){return t(i,e)})}function VE(r,e,t){var i=Math.max(0,Math.min(r.x+r.width+t,e.x+e.width+t)-Math.max(r.x-t,e.x-t)),n=Math.max(0,Math.min(r.y+r.height+t,e.y+e.height+t)-Math.max(r.y-t,e.y-t));return i*n}function sd(r,e){return Lm(r,e,function(t,i){var n=qr(t),a=qr(i);return VE(n.getCanvasBBox(),a.getCanvasBBox(),2)>0})}function YE(r,e,t,i,n){var a,o;if(t.length!==0){var s=(a=t[0])===null||a===void 0?void 0:a.get("element"),l=s==null?void 0:s.geometry;if(!(!l||["path","line","area"].indexOf(l.type)<0)){var u=U(l.getXYFields(),2),c=u[0],h=u[1],f=Se(e,function(p){return p.get("data")[c]}),v=[],d=n&&n.offset||((o=r[0])===null||o===void 0?void 0:o.offset)||12;Ft(gn(f).reverse(),function(p){for(var g=GE(l,f[p]);g.length;){var y=g.shift(),m=qr(y);if(Lm(v,y,function(S,M){return S.get("data")[c]===M.get("data")[c]&&S.get("data")[h]===M.get("data")[h]})){m.set("visible",!1);continue}var w=sd(v,y),x=!1;if(w&&(m.attr("y",m.attr("y")+2*d),x=sd(v,y)),x){m.set("visible",!1);continue}v.push(y)}})}}}var $l;function $E(){return $l||($l=document.createElement("canvas").getContext("2d")),$l}var mo=mn(function(r,e){e===void 0&&(e={});var t=e.fontSize,i=e.fontFamily,n=e.fontWeight,a=e.fontStyle,o=e.fontVariant,s=$E();return s.font=[a,o,n,"".concat(t,"px"),i].join(" "),s.measureText(J(r)?r:"").width},function(r,e){return e===void 0&&(e={}),K([r],U(ys(e)),!1).join("")}),HE=function(r,e,t){var i=16,n=mo("...",t),a;J(r)?a=r:a=Ia(r);var o=e,s=[],l,u;if(mo(r,t)<=e)return r;for(;l=a.substr(0,i),u=mo(l,t),!(u+n>o&&u>o);)if(s.push(l),o-=u,a=a.substr(i),!a)return s.join("");for(;l=a.substr(0,1),u=mo(l,t),!(u+n>o);)if(s.push(l),o-=u,a=a.substr(1),!a)return s.join("");return"".concat(s.join(""),"...")};function XE(r,e,t,i,n){if(!(e.length<=0)){var a=(n==null?void 0:n.direction)||["top","right","bottom","left"],o=(n==null?void 0:n.action)||"translate",s=(n==null?void 0:n.margin)||0,l=e[0].get("coordinate");if(l){var u=zA(l,s),c=u.minX,h=u.minY,f=u.maxX,v=u.maxY;C(e,function(d){var p=d.getCanvasBBox(),g=p.minX,y=p.minY,m=p.maxX,w=p.maxY,x=p.x,S=p.y,M=p.width,F=p.height,T=x,k=S;if(a.indexOf("left")>=0&&(g=0&&(y=0&&(g>f?T=f-M:m>f&&(T=T-(m-f))),a.indexOf("bottom")>=0&&(y>v?k=v-F:w>v&&(k=k-(w-v))),T!==x||k!==S){var E=T-x;if(o==="translate")Ga(d,E,k-S);else if(o==="ellipsis"){var I=d.findAll(function(B){return B.get("type")==="text"});I.forEach(function(B){var N=cc(B.attr(),["fontSize","fontFamily","fontWeight","fontStyle","fontVariant"]),Y=B.getCanvasBBox(),j=HE(B.attr("text"),Y.width-Math.abs(E),N);B.attr("text",j)})}else d.hide()}})}}}function WE(r,e,t){var i={fillOpacity:R(r.attr("fillOpacity"))?1:r.attr("fillOpacity"),strokeOpacity:R(r.attr("strokeOpacity"))?1:r.attr("strokeOpacity"),opacity:R(r.attr("opacity"))?1:r.attr("opacity")};r.attr({fillOpacity:0,strokeOpacity:0,opacity:0}),r.animate(i,e)}function _E(r,e,t){var i={fillOpacity:0,strokeOpacity:0,opacity:0},n=e.easing,a=e.duration,o=e.delay;r.animate(i,a,n,function(){r.remove(!0)},o)}function qE(r,e,t){var i,n=U(e,2),a=n[0],o=n[1];return r.applyToMatrix([a,o,1]),t==="x"?(r.setMatrix(Nt(r.getMatrix(),[["t",-a,-o],["s",.01,1],["t",a,o]])),i=Nt(r.getMatrix(),[["t",-a,-o],["s",100,1],["t",a,o]])):t==="y"?(r.setMatrix(Nt(r.getMatrix(),[["t",-a,-o],["s",1,.01],["t",a,o]])),i=Nt(r.getMatrix(),[["t",-a,-o],["s",1,100],["t",a,o]])):t==="xy"&&(r.setMatrix(Nt(r.getMatrix(),[["t",-a,-o],["s",.01,.01],["t",a,o]])),i=Nt(r.getMatrix(),[["t",-a,-o],["s",100,100],["t",a,o]])),i}function oh(r,e,t,i,n){var a=t.start,o=t.end,s=t.getWidth(),l=t.getHeight(),u,c;n==="y"?(u=a.x+s/2,c=i.ya.x?i.x:a.x,c=a.y+l/2):n==="xy"&&(t.isPolar?(u=t.getCenter().x,c=t.getCenter().y):(u=(a.x+o.x)/2,c=(a.y+o.y)/2));var h=qE(r,[u,c],n);r.animate({matrix:h},e)}function UE(r,e,t){var i=t.coordinate,n=t.minYPoint;oh(r,e,i,n,"x")}function jE(r,e,t){var i=t.coordinate,n=t.minYPoint;oh(r,e,i,n,"y")}function ZE(r,e,t){var i=t.coordinate,n=t.minYPoint;oh(r,e,i,n,"xy")}function QE(r,e,t){var i=r.getTotalLength();r.attr("lineDash",[i]),r.animate(function(n){return{lineDashOffset:(1-n)*i}},e)}function KE(r,e,t){var i=t.toAttrs,n=i.x,a=i.y;delete i.x,delete i.y,r.attr(i),r.animate({x:n,y:a},e)}function JE(r,e,t){var i=r.getBBox(),n=r.get("origin").mappingData,a=n.points,o=a[0].y-a[1].y>0?i.maxX:i.minX,s=(i.minY+i.maxY)/2;r.applyToMatrix([o,s,1]);var l=Nt(r.getMatrix(),[["t",-o,-s],["s",.01,1],["t",o,s]]);r.setMatrix(l),r.animate({matrix:Nt(r.getMatrix(),[["t",-o,-s],["s",100,1],["t",o,s]])},e)}function tk(r,e,t){var i=r.getBBox(),n=r.get("origin").mappingData,a=(i.minX+i.maxX)/2,o=n.points,s=o[0].y-o[1].y<=0?i.maxY:i.minY;r.applyToMatrix([a,s,1]);var l=Nt(r.getMatrix(),[["t",-a,-s],["s",1,.01],["t",a,s]]);r.setMatrix(l),r.animate({matrix:Nt(r.getMatrix(),[["t",-a,-s],["s",1,100],["t",a,s]])},e)}function ld(r,e){var t,i=ns(r,e),n=i.startAngle,a=i.endAngle;return!Ut(n,-Math.PI*.5)&&n<-Math.PI*.5&&(n+=Math.PI*2),!Ut(a,-Math.PI*.5)&&a<-Math.PI*.5&&(a+=Math.PI*2),e[5]===0&&(t=U([a,n],2),n=t[0],a=t[1]),Ut(n,Math.PI*1.5)&&(n=Math.PI*-.5),Ut(a,Math.PI*-.5)&&!Ut(n,a)&&(a=Math.PI*1.5),{startAngle:n,endAngle:a}}function ud(r){var e;return r[0]==="M"||r[0]==="L"?e=[r[1],r[2]]:(r[0]==="a"||r[0]==="A"||r[0]==="C")&&(e=[r[r.length-2],r[r.length-1]]),e}function cd(r){var e,t,i,n=r.filter(function(w){return w[0]==="A"||w[0]==="a"});if(n.length===0)return{startAngle:0,endAngle:0,radius:0,innerRadius:0};var a=n[0],o=n.length>1?n[1]:n[0],s=r.indexOf(a),l=r.indexOf(o),u=ud(r[s-1]),c=ud(r[l-1]),h=ld(u,a),f=h.startAngle,v=h.endAngle,d=ld(c,o),p=d.startAngle,g=d.endAngle;Ut(f,p)&&Ut(v,g)?(t=f,i=v):(t=Math.min(f,p),i=Math.max(v,g));var y=a[1],m=n[n.length-1][1];return y=0;u--){var c=this.getFacetsByLevel(t,u);try{for(var h=(i=void 0,vt(c)),f=h.next();!f.done;f=h.next()){var v=f.value;this.isLeaf(v)||(v.originColIndex=v.columnIndex,v.columnIndex=this.getRegionIndex(v.children),v.columnValuesLength=o.length)}}catch(d){i={error:d}}finally{try{f&&!f.done&&(n=h.return)&&n.call(h)}finally{if(i)throw i.error}}}},e.prototype.getFacetsByLevel=function(t,i){var n=[];return t.forEach(function(a){a.rowIndex===i&&n.push(a)}),n},e.prototype.getRegionIndex=function(t){var i=t[0],n=t[t.length-1];return(n.columnIndex-i.columnIndex)/2+i.columnIndex},e.prototype.isLeaf=function(t){return!t.children||!t.children.length},e.prototype.getRows=function(){return this.cfg.fields.length+1},e.prototype.getChildFacets=function(t,i,n){var a=this,o=this.cfg.fields,s=o.length;if(!(s=v){var g=n.parsePosition([d[l],d[s.field]]);g&&f.push(g)}if(d[l]===h)return!1}),f},e.prototype.parsePercentPosition=function(t){var i=parseFloat(t[0])/100,n=parseFloat(t[1])/100,a=this.view.getCoordinate(),o=a.start,s=a.end,l={x:Math.min(o.x,s.x),y:Math.min(o.y,s.y)},u=a.getWidth()*i+l.x,c=a.getHeight()*n+l.y;return{x:u,y:c}},e.prototype.getCoordinateBBox=function(){var t=this.view.getCoordinate(),i=t.start,n=t.end,a=t.getWidth(),o=t.getHeight(),s={x:Math.min(i.x,n.x),y:Math.min(i.y,n.y)};return{x:s.x,y:s.y,minX:s.x,minY:s.y,maxX:s.x+a,maxY:s.y+o,width:a,height:o}},e.prototype.getAnnotationCfg=function(t,i,n){var a=this,o=this.view.getCoordinate(),s=this.view.getCanvas(),l={};if(R(i))return null;var u=i.start,c=i.end,h=i.position,f=this.parsePosition(u),v=this.parsePosition(c),d=this.parsePosition(h);if(["arc","image","line","region","regionFilter"].includes(t)&&(!f||!v))return null;if(["text","dataMarker","html"].includes(t)&&!d)return null;if(t==="arc"){var p=i;p.start,p.end;var g=Ct(p,["start","end"]),y=on(o,f),m=on(o,v);y>m&&(m=Math.PI*2+m),l=b(b({},g),{center:o.getCenter(),radius:Ws(o,f),startAngle:y,endAngle:m})}else if(t==="image"){var w=i;w.start,w.end;var g=Ct(w,["start","end"]);l=b(b({},g),{start:f,end:v,src:i.src})}else if(t==="line"){var x=i;x.start,x.end;var g=Ct(x,["start","end"]);l=b(b({},g),{start:f,end:v,text:A(i,"text",null)})}else if(t==="region"){var S=i;S.start,S.end;var g=Ct(S,["start","end"]);l=b(b({},g),{start:f,end:v})}else if(t==="text"){var M=this.view.getData(),F=i;F.position;var T=F.content,g=Ct(F,["position","content"]),k=T;W(T)&&(k=T(M)),l=b(b(b({},d),g),{content:k})}else if(t==="dataMarker"){var E=i;E.position;var I=E.point,B=E.line,N=E.text,Y=E.autoAdjust,j=E.direction,g=Ct(E,["position","point","line","text","autoAdjust","direction"]);l=b(b(b({},g),d),{coordinateBBox:this.getCoordinateBBox(),point:I,line:B,text:N,autoAdjust:Y,direction:j})}else if(t==="dataRegion"){var P=i,G=P.start,_=P.end,H=P.region,N=P.text,$=P.lineLength,g=Ct(P,["start","end","region","text","lineLength"]);l=b(b({},g),{points:this.getRegionPoints(G,_),region:H,text:N,lineLength:$})}else if(t==="regionFilter"){var q=i;q.start,q.end;var it=q.apply,st=q.color,g=Ct(q,["start","end","apply","color"]),tt=this.view.geometries,rt=[],mt=function(Ue){Ue&&(Ue.isGroup()?Ue.getChildren().forEach(function(En){return mt(En)}):rt.push(Ue))};C(tt,function(Ue){it?li(it,Ue.type)&&C(Ue.elements,function(En){mt(En.shape)}):C(Ue.elements,function(En){mt(En.shape)})}),l=b(b({},g),{color:st,shapes:rt,start:f,end:v})}else if(t==="shape"){var Et=i,It=Et.render,Kt=Ct(Et,["render"]),lr=function(iw){if(W(i.render))return It(iw,a.view,{parsePosition:a.parsePosition.bind(a)})};l=b(b({},Kt),{render:lr})}else if(t==="html"){var ur=i,cr=ur.html;ur.position;var Kt=Ct(ur,["html","position"]),ii=function(Ue){return W(cr)?cr(Ue,a.view):cr};l=b(b(b({},Kt),d),{parent:s.get("el").parentNode,html:ii})}var Fr=X({},n,b(b({},l),{top:i.top,style:i.style,offsetX:i.offsetX,offsetY:i.offsetY}));return t!=="html"&&(Fr.container=this.getComponentContainer(Fr)),Fr.animate=this.view.getOptions().animate&&Fr.animate&&A(i,"animate",Fr.animate),Fr.animateOption=X({},ln,Fr.animateOption,i.animateOption),Fr},e.prototype.isTop=function(t){return A(t,"top",!0)},e.prototype.getComponentContainer=function(t){return this.isTop(t)?this.foregroundContainer:this.backgroundContainer},e.prototype.getAnnotationTheme=function(t){return A(this.view.getTheme(),["components","annotation",t],{})},e.prototype.updateOrCreate=function(t){var i=this.cache.get(this.getCacheKey(t));if(i){var n=t.type,a=this.getAnnotationTheme(n),o=this.getAnnotationCfg(n,t,a);o&&fe(o,["container"]),i.component.update(b(b({},o||{}),{visible:!!o})),li(wo,t.type)&&i.component.render()}else i=this.createAnnotation(t),i&&(i.component.init(),li(wo,t.type)&&i.component.render());return i},e.prototype.syncCache=function(t){var i=this,n=new Map(this.cache);return t.forEach(function(a,o){n.set(o,a)}),n.forEach(function(a,o){$e(i.option,function(s){return o===i.getCacheKey(s)})||(a.component.destroy(),n.delete(o))}),n},e.prototype.getCacheKey=function(t){return t},e}(Sn);function fd(r,e){var t=X({},A(r,["components","axis","common"]),A(r,["components","axis",e]));return A(t,["grid"],{})}function bo(r,e,t,i){var n=[],a=e.getTicks();return r.isPolar&&a.push({value:1,text:"",tickValue:""}),a.reduce(function(o,s,l){var u=s.value;if(i)n.push({points:[r.convert(t==="y"?{x:0,y:u}:{x:u,y:0}),r.convert(t==="y"?{x:1,y:u}:{x:u,y:1})]});else if(l){var c=o.value,h=(c+u)/2;n.push({points:[r.convert(t==="y"?{x:0,y:h}:{x:h,y:0}),r.convert(t==="y"?{x:1,y:h}:{x:h,y:1})]})}return s},a[0]),n}function Xl(r,e,t,i,n){var a=e.values.length,o=[],s=t.getTicks();return s.reduce(function(l,u){var c=l?l.value:u.value,h=u.value,f=(c+h)/2;return n==="x"?o.push({points:[r.convert({x:i?h:f,y:0}),r.convert({x:i?h:f,y:1})]}):o.push({points:Ft(Array(a+1),function(v,d){return r.convert({x:d/a,y:i?h:f})})}),u},s[0]),o}function vd(r,e){var t=A(e,"grid");if(t===null)return!1;var i=A(r,"grid");return!(t===void 0&&i===null)}var Lr=["container"],dd=b(b({},ln),{appear:null}),vk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.cache=new Map,i.gridContainer=i.view.getLayer(Dt.BG).addGroup(),i.gridForeContainer=i.view.getLayer(Dt.FORE).addGroup(),i.axisContainer=i.view.getLayer(Dt.BG).addGroup(),i.axisForeContainer=i.view.getLayer(Dt.FORE).addGroup(),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"axis"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this,i=this.view.getCoordinate();C(this.getComponents(),function(n){var a=n.component,o=n.direction,s=n.type,l=n.extra,u=l.dim,c=l.scale,h=l.alignTick,f;if(s===Yt.AXIS)i.isPolar?u==="x"?f=i.isTransposed?so(i,o):Rl(i):u==="y"&&(f=i.isTransposed?Rl(i):so(i,o)):f=so(i,o);else if(s===Yt.GRID)if(i.isPolar){var v=void 0;i.isTransposed?v=u==="x"?Xl(i,t.view.getYScales()[0],c,h,u):bo(i,c,u,h):v=u==="x"?bo(i,c,u,h):Xl(i,t.view.getXScale(),c,h,u),f={items:v,center:t.view.getCoordinate().getCenter()}}else f={items:bo(i,c,u,h)};a.update(f)})},e.prototype.update=function(){this.option=this.view.getOptions().axes;var t=new Map;this.updateXAxes(t),this.updateYAxes(t);var i=new Map;this.cache.forEach(function(n,a){t.has(a)?i.set(a,n):n.component.destroy()}),this.cache=i},e.prototype.clear=function(){r.prototype.clear.call(this),this.cache.clear(),this.gridContainer.clear(),this.gridForeContainer.clear(),this.axisContainer.clear(),this.axisForeContainer.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.gridContainer.remove(!0),this.gridForeContainer.remove(!0),this.axisContainer.remove(!0),this.axisForeContainer.remove(!0)},e.prototype.getComponents=function(){var t=[];return this.cache.forEach(function(i){t.push(i)}),t},e.prototype.updateXAxes=function(t){var i=this.view.getXScale();if(!(!i||i.isIdentity)){var n=es(this.option,i.field);if(n!==!1){var a=Mv(n,V.BOTTOM),o=Dt.BG,s="x",l=this.view.getCoordinate(),u=this.getId("axis",i.field),c=this.getId("grid",i.field);if(l.isRect){var h=this.cache.get(u);if(h){var f=this.getLineAxisCfg(i,n,a);fe(f,Lr),h.component.update(f),t.set(u,h)}else h=this.createLineAxis(i,n,o,a,s),this.cache.set(u,h),t.set(u,h);var v=this.cache.get(c);if(v){var f=this.getLineGridCfg(i,n,a,s);fe(f,Lr),v.component.update(f),t.set(c,v)}else v=this.createLineGrid(i,n,o,a,s),v&&(this.cache.set(c,v),t.set(c,v))}else if(l.isPolar){var h=this.cache.get(u);if(h){var f=l.isTransposed?this.getLineAxisCfg(i,n,V.RADIUS):this.getCircleAxisCfg(i,n,a);fe(f,Lr),h.component.update(f),t.set(u,h)}else{if(l.isTransposed){if(ci(n))return;h=this.createLineAxis(i,n,o,V.RADIUS,s)}else h=this.createCircleAxis(i,n,o,a,s);this.cache.set(u,h),t.set(u,h)}var v=this.cache.get(c);if(v){var f=l.isTransposed?this.getCircleGridCfg(i,n,V.RADIUS,s):this.getLineGridCfg(i,n,V.CIRCLE,s);fe(f,Lr),v.component.update(f),t.set(c,v)}else{if(l.isTransposed){if(ci(n))return;v=this.createCircleGrid(i,n,o,V.RADIUS,s)}else v=this.createLineGrid(i,n,o,V.CIRCLE,s);v&&(this.cache.set(c,v),t.set(c,v))}}}}},e.prototype.updateYAxes=function(t){var i=this,n=this.view.getYScales();C(n,function(a,o){if(!(!a||a.isIdentity)){var s=a.field,l=es(i.option,s);if(l!==!1){var u=Dt.BG,c="y",h=i.getId("axis",s),f=i.getId("grid",s),v=i.view.getCoordinate();if(v.isRect){var d=Mv(l,o===0?V.LEFT:V.RIGHT),p=i.cache.get(h);if(p){var g=i.getLineAxisCfg(a,l,d);fe(g,Lr),p.component.update(g),t.set(h,p)}else p=i.createLineAxis(a,l,u,d,c),i.cache.set(h,p),t.set(h,p);var y=i.cache.get(f);if(y){var g=i.getLineGridCfg(a,l,d,c);fe(g,Lr),y.component.update(g),t.set(f,y)}else y=i.createLineGrid(a,l,u,d,c),y&&(i.cache.set(f,y),t.set(f,y))}else if(v.isPolar){var p=i.cache.get(h);if(p){var g=v.isTransposed?i.getCircleAxisCfg(a,l,V.CIRCLE):i.getLineAxisCfg(a,l,V.RADIUS);fe(g,Lr),p.component.update(g),t.set(h,p)}else{if(v.isTransposed){if(ci(l))return;p=i.createCircleAxis(a,l,u,V.CIRCLE,c)}else p=i.createLineAxis(a,l,u,V.RADIUS,c);i.cache.set(h,p),t.set(h,p)}var y=i.cache.get(f);if(y){var g=v.isTransposed?i.getLineGridCfg(a,l,V.CIRCLE,c):i.getCircleGridCfg(a,l,V.RADIUS,c);fe(g,Lr),y.component.update(g),t.set(f,y)}else{if(v.isTransposed){if(ci(l))return;y=i.createLineGrid(a,l,u,V.CIRCLE,c)}else y=i.createCircleGrid(a,l,u,V.RADIUS,c);y&&(i.cache.set(f,y),t.set(f,y))}}}}})},e.prototype.createLineAxis=function(t,i,n,a,o){var s={component:new FA(this.getLineAxisCfg(t,i,a)),layer:n,direction:a===V.RADIUS?V.NONE:a,type:Yt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createLineGrid=function(t,i,n,a,o){var s=this.getLineGridCfg(t,i,a,o);if(s){var l={component:new EA(s),layer:n,direction:V.NONE,type:Yt.GRID,extra:{dim:o,scale:t,alignTick:A(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.createCircleAxis=function(t,i,n,a,o){var s={component:new TA(this.getCircleAxisCfg(t,i,a)),layer:n,direction:a,type:Yt.AXIS,extra:{dim:o,scale:t}};return s.component.set("field",t.field),s.component.init(),s},e.prototype.createCircleGrid=function(t,i,n,a,o){var s=this.getCircleGridCfg(t,i,a,o);if(s){var l={component:new kA(s),layer:n,direction:V.NONE,type:Yt.GRID,extra:{dim:o,scale:t,alignTick:A(s,"alignTick",!0)}};return l.component.init(),l}},e.prototype.getLineAxisCfg=function(t,i,n){var a=A(i,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=so(o,n),l=Av(t,i),u=lo(this.view.getTheme(),n),c=A(i,["title"])?X({title:{style:{text:l}}},{title:Cv(this.view.getTheme(),n,i.title)},i):i,h=X(b(b({container:a},s),{ticks:t.getTicks().map(function(w){return{id:"".concat(w.tickValue),name:w.text,value:w.value}}),verticalFactor:o.isPolar?Sv(s,o.getCenter())*-1:Sv(s,o.getCenter()),theme:u}),u,c),f=this.getAnimateCfg(h),v=f.animate,d=f.animateOption;h.animateOption=d,h.animate=v;var p=gy(s),g=A(h,"verticalLimitLength",p?1/3:1/2);if(g<=1){var y=this.view.getCanvas().get("width"),m=this.view.getCanvas().get("height");h.verticalLimitLength=g*(p?y:m)}return h},e.prototype.getLineGridCfg=function(t,i,n,a){if(vd(lo(this.view.getTheme(),n),i)){var o=fd(this.view.getTheme(),n),s=X({container:A(i,["top"])?this.gridForeContainer:this.gridContainer},o,A(i,"grid"),this.getAnimateCfg(i));return s.items=bo(this.view.getCoordinate(),t,a,A(s,"alignTick",!0)),s}},e.prototype.getCircleAxisCfg=function(t,i,n){var a=A(i,["top"])?this.axisForeContainer:this.axisContainer,o=this.view.getCoordinate(),s=t.getTicks().map(function(p){return{id:"".concat(p.tickValue),name:p.text,value:p.value}});!t.isCategory&&Math.abs(o.endAngle-o.startAngle)===Math.PI*2&&s.length&&(s[s.length-1].name="");var l=Av(t,i),u=lo(this.view.getTheme(),V.CIRCLE),c=A(i,["title"])?X({title:{style:{text:l}}},{title:Cv(this.view.getTheme(),n,i.title)},i):i,h=X(b(b({container:a},Rl(this.view.getCoordinate())),{ticks:s,verticalFactor:1,theme:u}),u,c),f=this.getAnimateCfg(h),v=f.animate,d=f.animateOption;return h.animate=v,h.animateOption=d,h},e.prototype.getCircleGridCfg=function(t,i,n,a){if(vd(lo(this.view.getTheme(),n),i)){var o=fd(this.view.getTheme(),V.RADIUS),s=X({container:A(i,["top"])?this.gridForeContainer:this.gridContainer,center:this.view.getCoordinate().getCenter()},o,A(i,"grid"),this.getAnimateCfg(i)),l=A(s,"alignTick",!0),u=a==="x"?this.view.getYScales()[0]:this.view.getXScale();return s.items=Xl(this.view.getCoordinate(),u,t,l,a),s}},e.prototype.getId=function(t,i){var n=this.view.getCoordinate();return"".concat(t,"-").concat(i,"-").concat(n.type)},e.prototype.getAnimateCfg=function(t){return{animate:this.view.getOptions().animate&&A(t,"animate"),animateOption:t&&t.animateOption?X({},dd,t.animateOption):dd}},e}(Sn);function Nr(r,e,t){return t===V.TOP?[r.minX+r.width/2-e.width/2,r.minY]:t===V.BOTTOM?[r.minX+r.width/2-e.width/2,r.maxY-e.height]:t===V.LEFT?[r.minX,r.minY+r.height/2-e.height/2]:t===V.RIGHT?[r.maxX-e.width,r.minY+r.height/2-e.height/2]:t===V.TOP_LEFT||t===V.LEFT_TOP?[r.tl.x,r.tl.y]:t===V.TOP_RIGHT||t===V.RIGHT_TOP?[r.tr.x-e.width,r.tr.y]:t===V.BOTTOM_LEFT||t===V.LEFT_BOTTOM?[r.bl.x,r.bl.y-e.height]:t===V.BOTTOM_RIGHT||t===V.RIGHT_BOTTOM?[r.br.x-e.width,r.br.y-e.height]:[0,0]}function pd(r,e){return en(r)?r===!1?!1:{}:A(r,[e],r)}function So(r){return A(r,"position",V.BOTTOM)}var dk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.container=i.view.getLayer(Dt.FORE).addGroup(),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"legend"},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.render=function(){this.update()},e.prototype.layout=function(){var t=this;this.layoutBBox=this.view.viewBBox,C(this.components,function(i){var n=i.component,a=i.direction,o=zl(a),s=n.get("maxWidthRatio"),l=n.get("maxHeightRatio"),u=t.getCategoryLegendSizeCfg(o,s,l),c=n.get("maxWidth"),h=n.get("maxHeight");n.update({maxWidth:Math.min(u.maxWidth,c||0),maxHeight:Math.min(u.maxHeight,h||0)});var f=n.get("padding"),v=n.getLayoutBBox(),d=new se(v.x,v.y,v.width,v.height).expand(f),p=U(Nr(t.view.viewBBox,d,a),2),g=p[0],y=p[1],m=U(Nr(t.layoutBBox,d,a),2),w=m[0],x=m[1],S=0,M=0;a.startsWith("top")||a.startsWith("bottom")?(S=g,M=x):(S=w,M=y),n.setLocation({x:S+f[3],y:M+f[0]}),t.layoutBBox=t.layoutBBox.cut(d,a)})},e.prototype.update=function(){var t=this;this.option=this.view.getOptions().legends;var i={},n=function(f,v,d){var p=t.getId(d.field),g=t.getComponentById(p);if(g){var y=void 0,m=pd(t.option,d.field);m!==!1&&(A(m,"custom")?y=t.getCategoryCfg(f,v,d,m,!0):d.isLinear?y=t.getContinuousCfg(f,v,d,m):d.isCategory&&(y=t.getCategoryCfg(f,v,d,m))),y&&(fe(y,["container"]),g.direction=So(m),g.component.update(y),i[p]=!0)}else{var w=t.createFieldLegend(f,v,d);w&&(w.component.init(),t.components.push(w),i[p]=!0)}};if(A(this.option,"custom")){var a="global-custom",o=this.getComponentById(a);if(o){var s=this.getCategoryCfg(void 0,void 0,void 0,this.option,!0);fe(s,["container"]),o.component.update(s),i[a]=!0}else{var l=this.createCustomLegend(void 0,void 0,void 0,this.option);if(l){l.init();var u=Dt.FORE,c=So(this.option);this.components.push({id:a,component:l,layer:u,direction:c,type:Yt.LEGEND,extra:void 0}),i[a]=!0}}}else this.loopLegends(n);var h=[];C(this.getComponents(),function(f){i[f.id]?h.push(f):f.component.destroy()}),this.components=h},e.prototype.clear=function(){r.prototype.clear.call(this),this.container.clear()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.container.remove(!0)},e.prototype.getGeometries=function(t){var i=this,n=t.geometries;return C(t.views,function(a){n=n.concat(i.getGeometries(a))}),n},e.prototype.loopLegends=function(t){var i=this.view.getRootView()===this.view;if(i){var n=this.getGeometries(this.view),a={};C(n,function(o){var s=o.getGroupAttributes();C(s,function(l){var u=l.getScale(l.type);!u||u.type==="identity"||a[u.field]||(t(o,l,u),a[u.field]=!0)})})}},e.prototype.createFieldLegend=function(t,i,n){var a,o=pd(this.option,n.field),s=Dt.FORE,l=So(o);if(o!==!1&&(A(o,"custom")?a=this.createCustomLegend(t,i,n,o):n.isLinear?a=this.createContinuousLegend(t,i,n,o):n.isCategory&&(a=this.createCategoryLegend(t,i,n,o))),a)return a.set("field",n.field),{id:this.getId(n.field),component:a,layer:s,direction:l,type:Yt.LEGEND,extra:{scale:n}}},e.prototype.createCustomLegend=function(t,i,n,a){var o=this.getCategoryCfg(t,i,n,a,!0);return new xv(o)},e.prototype.createContinuousLegend=function(t,i,n,a){var o=this.getContinuousCfg(t,i,n,fe(a,["value"]));return new LA(o)},e.prototype.createCategoryLegend=function(t,i,n,a){var o=this.getCategoryCfg(t,i,n,a);return new xv(o)},e.prototype.getContinuousCfg=function(t,i,n,a){var o=n.getTicks(),s=$e(o,function(p){return p.value===0}),l=$e(o,function(p){return p.value===1}),u=o.map(function(p){var g=p.value,y=p.tickValue,m=i.mapping(n.invert(g)).join("");return{value:y,attrValue:m,color:m,scaleValue:g}});s||u.push({value:n.min,attrValue:i.mapping(n.invert(0)).join(""),color:i.mapping(n.invert(0)).join(""),scaleValue:0}),l||u.push({value:n.max,attrValue:i.mapping(n.invert(1)).join(""),color:i.mapping(n.invert(1)).join(""),scaleValue:1}),u.sort(function(p,g){return p.value-g.value});var c={min:be(u).value,max:Gt(u).value,colors:[],rail:{type:i.type},track:{}};i.type==="size"&&(c.track={style:{fill:i.type==="size"?this.view.getTheme().defaultColor:void 0}}),i.type==="color"&&(c.colors=u.map(function(p){return p.attrValue}));var h=this.container,f=So(a),v=zl(f),d=A(a,"title");return d&&(d=X({text:ma(n)},d)),c.container=h,c.layout=v,c.title=d,c.animateOption=ln,this.mergeLegendCfg(c,a,"continuous")},e.prototype.getCategoryCfg=function(t,i,n,a,o){var s=this.container,l=A(a,"position",V.BOTTOM),u=zv(this.view.getTheme(),l),c=A(u,["marker"]),h=A(a,"marker"),f=zl(l),v=A(u,["pageNavigator"]),d=A(a,"pageNavigator"),p=o?t2(c,h,a.items):Qy(this.view,t,i,c,h),g=A(a,"title");g&&(g=X({text:n?ma(n):""},g));var y=A(a,"maxWidthRatio"),m=A(a,"maxHeightRatio"),w=this.getCategoryLegendSizeCfg(f,y,m);w.container=s,w.layout=f,w.items=p,w.title=g,w.animateOption=ln,w.pageNavigator=X({},v,d);var x=this.mergeLegendCfg(w,a,l);x.reversed&&x.items.reverse();var S=A(x,"maxItemWidth");return S&&S<=1&&(x.maxItemWidth=this.view.viewBBox.width*S),x},e.prototype.mergeLegendCfg=function(t,i,n){var a=n.split("-")[0],o=zv(this.view.getTheme(),a);return X({},o,t,i)},e.prototype.getId=function(t){return"".concat(this.name,"-").concat(t)},e.prototype.getComponentById=function(t){return $e(this.components,function(i){return i.id===t})},e.prototype.getCategoryLegendSizeCfg=function(t,i,n){i===void 0&&(i=Qh),n===void 0&&(n=Qh);var a=this.view.viewBBox,o=a.width,s=a.height;return t==="vertical"?{maxWidth:o*i,maxHeight:s}:{maxWidth:o,maxHeight:s*n}},e}(Sn),pk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Rr,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=U(n,2),o=a[0],s=a[1];i.start=o,i.end=s,i.changeViewData(o,s)},i.container=i.view.getLayer(Dt.FORE).addGroup(),i.onChangeFn=hc(i.onValueChange,20,{leading:!0}),i.width=0,i.view.on(lt.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(lt.BEFORE_CHANGE_SIZE,i.resetMeasure),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"slider"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(lt.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(lt.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().slider;var t=this.getSliderCfg(),i=t.start,n=t.end;R(this.start)&&(this.start=i,this.end=n);var a=this.view.getOptions().data;this.option&&!ge(a)?this.slider?this.slider=this.updateSlider():(this.slider=this.createSlider(),this.slider.component.on("sliderchange",this.onChangeFn)):this.slider&&(this.slider.component.destroy(),this.slider=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.width&&(this.measureSlider(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.start,t.end)},0)),this.slider){var i=this.view.coordinateBBox.width,n=this.slider.component.get("padding"),a=U(n,4),o=a[0];a[1],a[2];var s=a[3],l=this.slider.component.getLayoutBBox(),u=new se(l.x,l.y,Math.min(l.width,i),l.height).expand(n),c=this.getMinMaxText(this.start,this.end),h=c.minText,f=c.maxText,v=U(Nr(this.view.viewBBox,u,V.BOTTOM),2);v[0];var d=v[1],p=U(Nr(this.view.coordinateBBox,u,V.BOTTOM),2),g=p[0];p[1],this.slider.component.update(b(b({},this.getSliderCfg()),{x:g+s,y:d+o,width:this.width,start:this.start,end:this.end,minText:h,maxText:f})),this.view.viewBBox=this.view.viewBBox.cut(u,V.BOTTOM)}},e.prototype.update=function(){this.render()},e.prototype.createSlider=function(){var t=this.getSliderCfg(),i=new CA(b({container:this.container},t));return i.init(),{component:i,layer:Dt.FORE,direction:V.BOTTOM,type:Yt.SLIDER}},e.prototype.updateSlider=function(){var t=this.getSliderCfg();if(this.width){var i=this.getMinMaxText(this.start,this.end),n=i.minText,a=i.maxText;t=b(b({},t),{width:this.width,start:this.start,end:this.end,minText:n,maxText:a})}return this.slider.component.update(t),this.slider},e.prototype.measureSlider=function(){var t=this.getSliderCfg().width;this.width=t},e.prototype.getSliderCfg=function(){var t={height:16,start:0,end:1,minText:"",maxText:"",x:0,y:0,width:this.view.coordinateBBox.width};if(yt(this.option)){var i=b({data:this.getData()},A(this.option,"trendCfg",{}));t=X({},t,this.getThemeOptions(),this.option),t=b(b({},t),{trendCfg:i})}return t.start=At(Math.min(R(t.start)?0:t.start,R(t.end)?1:t.end),0,1),t.end=At(Math.max(R(t.start)?0:t.start,R(t.end)?1:t.end),0,1),t},e.prototype.getData=function(){var t=this.view.getOptions().data,i=U(this.view.getYScales(),1),n=i[0],a=this.view.getGroupScales();if(a.length){var o=a[0],s=o.field,l=o.ticks;return t.reduce(function(u,c){return c[s]===l[0]&&u.push(c[n.field]),u},[])}return t.map(function(u){return u[n.field]||0})},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return A(t,["components","slider","common"],{})},e.prototype.getMinMaxText=function(t,i){var n=this.view.getOptions().data,a=this.view.getXScale(),o=Xe(n,a.field);a.isLinear&&(o=o.sort());var s=o,l=$t(n);if(!a||!l)return{};var u=$t(s),c=Math.round(t*(u-1)),h=Math.round(i*(u-1)),f=A(s,[c]),v=A(s,[h]),d=this.getSliderCfg().formatter;return d&&(f=d(f,n[c],c),v=d(v,n[h],h)),{minText:f,maxText:v}},e.prototype.changeViewData=function(t,i){var n=this.view.getOptions().data,a=this.view.getXScale(),o=$t(n);if(!(!a||!o)){var s=Xe(n,a.field),l=this.view.getXScale().isLinear?s.sort(function(v,d){return Number(v)-Number(d)}):s,u=l,c=$t(u),h=Math.round(t*(c-1)),f=Math.round(i*(c-1));this.view.filter(a.field,function(v,d){var p=u.indexOf(v);return p>-1?Ui(p,h,f):!0}),this.view.render(!0)}},e.prototype.getComponents=function(){return this.slider?[this.slider]:[]},e.prototype.clear=function(){this.slider&&(this.slider.component.destroy(),this.slider=void 0),this.width=0,this.start=void 0,this.end=void 0},e}(Sn),Co=0,gd=8,gk=32,yk=20,mk=function(r){O(e,r);function e(t){var i=r.call(this,t)||this;return i.onChangeFn=Rr,i.resetMeasure=function(){i.clear()},i.onValueChange=function(n){var a=n.ratio,o=i.getValidScrollbarCfg().animate;i.ratio=At(a,0,1);var s=i.view.getOptions().animate;o||i.view.animate(!1),i.changeViewData(i.getScrollRange(),!0),i.view.animate(s)},i.container=i.view.getLayer(Dt.FORE).addGroup(),i.onChangeFn=hc(i.onValueChange,20,{leading:!0}),i.trackLen=0,i.thumbLen=0,i.ratio=0,i.view.on(lt.BEFORE_CHANGE_DATA,i.resetMeasure),i.view.on(lt.BEFORE_CHANGE_SIZE,i.resetMeasure),i}return Object.defineProperty(e.prototype,"name",{get:function(){return"scrollbar"},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){r.prototype.destroy.call(this),this.view.off(lt.BEFORE_CHANGE_DATA,this.resetMeasure),this.view.off(lt.BEFORE_CHANGE_SIZE,this.resetMeasure)},e.prototype.init=function(){},e.prototype.render=function(){this.option=this.view.getOptions().scrollbar,this.option?this.scrollbar?this.scrollbar=this.updateScrollbar():(this.scrollbar=this.createScrollbar(),this.scrollbar.component.on("scrollchange",this.onChangeFn)):this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0)},e.prototype.layout=function(){var t=this;if(this.option&&!this.trackLen&&(this.measureScrollbar(),setTimeout(function(){t.view.destroyed||t.changeViewData(t.getScrollRange(),!0)})),this.scrollbar){var i=this.view.coordinateBBox.width,n=this.scrollbar.component.get("padding"),a=this.scrollbar.component.getLayoutBBox(),o=new se(a.x,a.y,Math.min(a.width,i),a.height).expand(n),s=this.getScrollbarComponentCfg(),l=void 0,u=void 0;if(s.isHorizontal){var c=U(Nr(this.view.viewBBox,o,V.BOTTOM),2);c[0];var h=c[1],f=U(Nr(this.view.coordinateBBox,o,V.BOTTOM),2),v=f[0];f[1],l=v,u=h}else{var d=U(Nr(this.view.viewBBox,o,V.RIGHT),2);d[0];var h=d[1],p=U(Nr(this.view.viewBBox,o,V.RIGHT),2),v=p[0];p[1],l=v,u=h}l+=n[3],u+=n[0],this.trackLen?this.scrollbar.component.update(b(b({},s),{x:l,y:u,trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio})):this.scrollbar.component.update(b(b({},s),{x:l,y:u})),this.view.viewBBox=this.view.viewBBox.cut(o,s.isHorizontal?V.BOTTOM:V.RIGHT)}},e.prototype.update=function(){this.render()},e.prototype.getComponents=function(){return this.scrollbar?[this.scrollbar]:[]},e.prototype.clear=function(){this.scrollbar&&(this.scrollbar.component.destroy(),this.scrollbar=void 0),this.trackLen=0,this.thumbLen=0,this.ratio=0,this.cnt=0,this.step=0,this.data=void 0,this.xScaleCfg=void 0,this.yScalesCfg=[]},e.prototype.setValue=function(t){this.onValueChange({ratio:t})},e.prototype.getValue=function(){return this.ratio},e.prototype.getThemeOptions=function(){var t=this.view.getTheme();return A(t,["components","scrollbar","common"],{})},e.prototype.getScrollbarTheme=function(t){var i=A(this.view.getTheme(),["components","scrollbar"]),n=t||{},a=n.thumbHighlightColor,o=Ct(n,["thumbHighlightColor"]);return{default:X({},A(i,["default","style"],{}),o),hover:X({},A(i,["hover","style"],{}),{thumbColor:a})}},e.prototype.measureScrollbar=function(){var t=this.view.getXScale(),i=this.view.getYScales().slice();this.data=this.getScrollbarData(),this.step=this.getStep(),this.cnt=this.getCnt();var n=this.getScrollbarComponentCfg(),a=n.trackLen,o=n.thumbLen;this.trackLen=a,this.thumbLen=o,this.xScaleCfg={field:t.field,values:t.values||[]},this.yScalesCfg=i},e.prototype.getScrollRange=function(){var t=Math.floor((this.cnt-this.step)*At(this.ratio,0,1)),i=Math.min(t+this.step-1,this.cnt-1);return[t,i]},e.prototype.changeViewData=function(t,i){var n=this,a=U(t,2),o=a[0],s=a[1],l=this.getValidScrollbarCfg().type,u=l!=="vertical",c=Xe(this.data,this.xScaleCfg.field),h=this.view.getXScale().isLinear?c.sort(function(v,d){return Number(v)-Number(d)}):c,f=u?h:h.reverse();this.yScalesCfg.forEach(function(v){n.view.scale(v.field,{formatter:v.formatter,type:v.type,min:v.min,max:v.max,tickMethod:v.tickMethod})}),this.view.filter(this.xScaleCfg.field,function(v){var d=f.indexOf(v);return d>-1?Ui(d,o,s):!0}),this.view.render(!0)},e.prototype.createScrollbar=function(){var t=this.getValidScrollbarCfg().type,i=t!=="vertical",n=new AA(b(b({container:this.container},this.getScrollbarComponentCfg()),{x:0,y:0}));return n.init(),{component:n,layer:Dt.FORE,direction:i?V.BOTTOM:V.RIGHT,type:Yt.SCROLLBAR}},e.prototype.updateScrollbar=function(){var t=this.getScrollbarComponentCfg(),i=this.trackLen?b(b({},t),{trackLen:this.trackLen,thumbLen:this.thumbLen,thumbOffset:(this.trackLen-this.thumbLen)*this.ratio}):b({},t);return this.scrollbar.component.update(i),this.scrollbar},e.prototype.getStep=function(){if(this.step)return this.step;var t=this.view.coordinateBBox,i=this.getValidScrollbarCfg(),n=i.type,a=i.categorySize,o=n!=="vertical";return Math.floor((o?t.width:t.height)/a)},e.prototype.getCnt=function(){if(this.cnt)return this.cnt;var t=this.view.getXScale(),i=this.getScrollbarData(),n=Xe(i,t.field);return $t(n)},e.prototype.getScrollbarComponentCfg=function(){var t=this.view,i=t.coordinateBBox,n=t.viewBBox,a=this.getValidScrollbarCfg(),o=a.type,s=a.padding,l=a.width,u=a.height,c=a.style,h=o!=="vertical",f=U(s,4),v=f[0],d=f[1],p=f[2],g=f[3],y=h?{x:i.minX+g,y:n.maxY-u-p}:{x:n.maxX-l-d,y:i.minY+v},m=this.getStep(),w=this.getCnt(),x=h?i.width-g-d:i.height-v-p,S=Math.max(x*At(m/w,0,1),yk);return b(b({},this.getThemeOptions()),{x:y.x,y:y.y,size:h?u:l,isHorizontal:h,trackLen:x,thumbLen:S,thumbOffset:0,theme:this.getScrollbarTheme(c)})},e.prototype.getValidScrollbarCfg=function(){var t={type:"horizontal",categorySize:gk,width:gd,height:gd,padding:[0,0,0,0],animate:!0,style:{}};return yt(this.option)&&(t=b(b({},t),this.option)),(!yt(this.option)||!this.option.padding)&&(t.padding=t.type==="horizontal"?[Co,0,Co,0]:[0,Co,0,Co]),t},e.prototype.getScrollbarData=function(){var t=this.view.getCoordinate(),i=this.getValidScrollbarCfg(),n=this.view.getOptions().data||[];return t.isReflect("y")&&i.type==="vertical"&&(n=K([],U(n),!1).reverse()),n},e}(Sn),xk={fill:"#CCD6EC",opacity:.3};function wk(r,e,t){var i,n,a,o,s,l,u=TF(r,e,t);if(u.length){u=Me(u);try{for(var c=vt(u),h=c.next();!h.done;h=c.next()){var f=h.value;try{for(var v=(a=void 0,vt(f)),d=v.next();!d.done;d=v.next()){var p=d.value,g=p.mappingData,y=g.x,m=g.y;p.x=z(y)?y[y.length-1]:y,p.y=z(m)?m[m.length-1]:m}}catch(E){a={error:E}}finally{try{d&&!d.done&&(o=v.return)&&o.call(v)}finally{if(a)throw a.error}}}}catch(E){i={error:E}}finally{try{h&&!h.done&&(n=c.return)&&n.call(c)}finally{if(i)throw i.error}}var w=t.shared;if(w===!1&&u.length>1){var x=u[0],S=Math.abs(e.y-x[0].y);try{for(var M=vt(u),F=M.next();!F.done;F=M.next()){var T=F.value,k=Math.abs(e.y-T[0].y);k<=S&&(x=T,S=k)}}catch(E){s={error:E}}finally{try{F&&!F.done&&(l=M.return)&&l.call(M)}finally{if(s)throw s.error}}u=[x]}return Mi(Me(u))}return[]}var bk=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(t){var i=this.context.view,n=this.context.event,a=i.getController("tooltip").getTooltipCfg(),o=wk(i,{x:n.x,y:n.y},a);if(!Ot(o,this.items)&&(this.items=o,o.length)){var s=i.getXScale().field,l=o[0].data[s],u=[],c=i.geometries;if(C(c,function(_){if(_.type==="interval"||_.type==="schema"){var H=_.getElementsBy(function($){var q=$.getData();return q[s]===l});u=u.concat(H)}}),u.length){var h=i.getCoordinate(),f=u[0].shape.getCanvasBBox(),v=u[0].shape.getCanvasBBox(),d=f;C(u,function(_){var H=_.shape.getCanvasBBox();h.isTransposed?(H.minYv.maxY&&(v=H)):(H.minXv.maxX&&(v=H)),d.x=Math.min(H.minX,d.minX),d.y=Math.min(H.minY,d.minY),d.width=Math.max(H.maxX,d.maxX)-d.x,d.height=Math.max(H.maxY,d.maxY)-d.y});var p=i.backgroundGroup,g=i.coordinateBBox,y=void 0;if(h.isRect){var m=i.getXScale(),w=t||{},x=w.appendRatio,S=w.appendWidth;R(S)&&(x=R(x)?m.isLinear?0:.25:x,S=h.isTransposed?x*v.height:x*f.width);var M=void 0,F=void 0,T=void 0,k=void 0;h.isTransposed?(M=g.minX,F=Math.min(v.minY,f.minY)-S,T=g.width,k=d.height+S*2):(M=Math.min(f.minX,v.minX)-S,F=g.minY,T=d.width+S*2,k=g.height),y=[["M",M,F],["L",M+T,F],["L",M+T,F+k],["L",M,F+k],["Z"]]}else{var E=be(u),I=Gt(u),B=ya(E.getModel(),h).startAngle,N=ya(I.getModel(),h).endAngle,Y=h.getCenter(),j=h.getRadius(),P=h.innerRadius*j;y=$r(Y.x,Y.y,j,B,N,P)}if(this.regionPath)this.regionPath.attr("path",y),this.regionPath.show();else{var G=A(t,"style",xk);this.regionPath=p.addShape({type:"path",name:"active-region",capture:!1,attrs:b(b({},G),{path:y})})}}}},e.prototype.hide=function(){this.regionPath&&this.regionPath.hide(),this.items=null},e.prototype.destroy=function(){this.hide(),this.regionPath&&this.regionPath.remove(!0),r.prototype.destroy.call(this)},e}(Mt),Im=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.context,i=t.event,n=t.view,a=n.isTooltipLocked();if(!a){var o=this.timeStamp,s=+new Date,l=A(t.view.getOptions(),"tooltip.showDelay",16);if(s-o>l){var u=this.location,c={x:i.x,y:i.y};(!u||!Ot(u,c))&&this.showTooltip(n,c),this.timeStamp=s,this.location=c}}},e.prototype.hide=function(){var t=this.context.view,i=t.getController("tooltip"),n=this.context.event,a=n.clientX,o=n.clientY;i.isCursorEntered({x:a,y:o})||t.isTooltipLocked()||(this.hideTooltip(t),this.location=null)},e.prototype.showTooltip=function(t,i){t.showTooltip(i)},e.prototype.hideTooltip=function(t){t.hideTooltip()},e}(Mt),Sk=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.showTooltip=function(t,i){var n=rr(t);C(n,function(a){var o=Bu(t,a,i);a.showTooltip(o)})},e.prototype.hideTooltip=function(t){var i=rr(t);C(i,function(n){n.hideTooltip()})},e}(Im),Ck=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.show=function(){var t=this.context,i=t.event,n=this.timeStamp,a=+new Date;if(a-n>16){var o=this.location,s={x:i.x,y:i.y};(!o||!Ot(o,s))&&this.showTooltip(s),this.timeStamp=a,this.location=s}},e.prototype.hide=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var i=this.context,n=i.event,a=n.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=a.get("tip");this.tooltip.update(b({title:o},t)),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=this.context.view,n=i.canvas,a={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},o=i.getTheme(),s=A(o,["components","tooltip","domStyles"],{}),l=new Xs({parent:n.get("el").parentNode,region:a,visible:!1,crosshairs:null,domStyles:b({},X({},s,(t={},t[Sr]={"max-width":"50%"},t[Cr]={"word-break":"break-all"},t)))});l.init(),l.setCapture(!1),this.tooltip=l},e}(Mt),lh=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t}return e.prototype.hasState=function(t){return t.hasState(this.stateName)},e.prototype.setElementState=function(t,i){t.setState(this.stateName,i)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.clear=function(){var t=this.context.view;this.clearViewState(t)},e.prototype.clearViewState=function(t){var i=this,n=ky(t,this.stateName);C(n,function(a){i.setElementState(a,!1)})},e}(Mt);function yd(r){return A(r.get("delegateObject"),"item")}var uh=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.ignoreListItemStates=["unchecked"],t}return e.prototype.isItemIgnore=function(t,i){var n=this.ignoreListItemStates,a=n.filter(function(o){return i.hasState(t,o)});return!!a.length},e.prototype.setStateByComponent=function(t,i,n){var a=this.context.view,o=t.get("field"),s=Zt(a);this.setElementsStateByItem(s,o,i,n)},e.prototype.setStateByElement=function(t,i){this.setElementState(t,i)},e.prototype.isMathItem=function(t,i,n){var a=this.context.view,o=sn(a,i),s=We(t,i);return!R(s)&&n.name===o.getText(s)},e.prototype.setElementsStateByItem=function(t,i,n,a){var o=this;C(t,function(s){o.isMathItem(s,i,n)&&s.setState(o.stateName,a)})},e.prototype.setStateEnable=function(t){var i=_r(this.context);if(i)Ay(this.context)&&this.setStateByElement(i,t);else{var n=Ti(this.context);if(xa(n)){var a=n.item,o=n.component;if(a&&o&&!this.isItemIgnore(a,o)){var s=this.context.event.gEvent;if(s&&s.fromShape&&s.toShape&&yd(s.fromShape)===yd(s.toShape))return;this.setStateByComponent(o,a,t)}}}},e.prototype.toggle=function(){var t=_r(this.context);if(t){var i=t.hasState(this.stateName);this.setElementState(t,!i)}},e.prototype.reset=function(){this.setStateEnable(!1)},e}(lh),Mk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(uh),Ak=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.cache={},t}return e.prototype.getColorScale=function(t,i){var n=i.geometry.getAttribute("color");if(!n)return null;var a=t.getScaleByField(n.getFields()[0]);return a},e.prototype.getLinkPath=function(t,i){var n=this.context.view,a=n.getCoordinate().isTransposed,o=t.shape.getCanvasBBox(),s=i.shape.getCanvasBBox(),l=a?[["M",o.minX,o.minY],["L",s.minX,s.maxY],["L",s.maxX,s.maxY],["L",o.maxX,o.minY],["Z"]]:[["M",o.maxX,o.minY],["L",s.minX,s.minY],["L",s.minX,s.maxY],["L",o.maxX,o.maxY],["Z"]];return l},e.prototype.addLinkShape=function(t,i,n,a){var o={opacity:.4,fill:i.shape.attr("fill")};t.addShape({type:"path",attrs:b(b({},X({},o,W(a)?a(o,i):a)),{path:this.getLinkPath(i,n)})})},e.prototype.linkByElement=function(t,i){var n=this,a=this.context.view,o=this.getColorScale(a,t);if(o){var s=We(t,o.field);if(!this.cache[s]){var l=aF(a,o.field,s),u=this.linkGroup,c=u.addGroup();this.cache[s]=c;var h=l.length;C(l,function(f,v){if(v=0},i)},e}(ch),Lk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.highlight=function(){this.setState()},e.prototype.setElementState=function(t,i){var n=this.context.view,a=Zt(n);Pm(a,function(o){return t===o},i)},e.prototype.clear=function(){var t=this.context.view;fh(t)},e}(hh),Ik=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(ch),Pk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(uh),Dk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(hh),Oi=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="",t.ignoreItemStates=[],t}return e.prototype.getTriggerListInfo=function(){var t=Ti(this.context),i=null;return xa(t)&&(i={item:t.item,list:t.component}),i},e.prototype.getAllowComponents=function(){var t=this,i=this.context.view,n=Iy(i),a=[];return C(n,function(o){o.isList()&&t.allowSetStateByElement(o)&&a.push(o)}),a},e.prototype.hasState=function(t,i){return t.hasState(i,this.stateName)},e.prototype.clearAllComponentsState=function(){var t=this,i=this.getAllowComponents();C(i,function(n){n.clearItemsState(t.stateName)})},e.prototype.allowSetStateByElement=function(t){var i=t.get("field");if(!i)return!1;if(this.cfg&&this.cfg.componentNames){var n=t.get("name");if(this.cfg.componentNames.indexOf(n)===-1)return!1}var a=this.context.view,o=sn(a,i);return o&&o.isCategory},e.prototype.allowSetStateByItem=function(t,i){var n=this.ignoreItemStates;if(n.length){var a=n.filter(function(o){return i.hasState(t,o)});return a.length===0}return!0},e.prototype.setStateByElement=function(t,i,n){var a=t.get("field"),o=this.context.view,s=sn(o,a),l=We(i,a),u=s.getText(l);this.setItemsState(t,u,n)},e.prototype.setStateEnable=function(t){var i=this,n=_r(this.context);if(n){var a=this.getAllowComponents();C(a,function(u){i.setStateByElement(u,n,t)})}else{var o=Ti(this.context);if(xa(o)){var s=o.item,l=o.component;this.allowSetStateByElement(l)&&this.allowSetStateByItem(s,l)&&this.setItemState(l,s,t)}}},e.prototype.setItemsState=function(t,i,n){var a=this,o=t.getItems();C(o,function(s){s.name===i&&a.setItemState(t,s,n)})},e.prototype.setItemState=function(t,i,n){t.setItemState(i,this.stateName,n)},e.prototype.setState=function(){this.setStateEnable(!0)},e.prototype.reset=function(){this.setStateEnable(!1)},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var i=t.list,n=t.item,a=this.hasState(i,n);this.setItemState(i,n,!a)}},e.prototype.clear=function(){var t=this.getTriggerListInfo();t?t.list.clearItemsState(this.stateName):this.clearAllComponentsState()},e}(Mt),Ok=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="active",t}return e.prototype.active=function(){this.setState()},e}(Oi),md="inactive",xd="active";function Bk(r){var e=r.getItems();C(e,function(t){r.hasState(t,xd)&&r.setItemState(t,xd,!1),r.hasState(t,md)&&r.setItemState(t,md,!1)})}var Rn="inactive",ai="active",dh=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=ai,t.ignoreItemStates=["unchecked"],t}return e.prototype.setItemsState=function(t,i,n){this.setHighlightBy(t,function(a){return a.name===i},n)},e.prototype.setItemState=function(t,i,n){t.getItems(),this.setHighlightBy(t,function(a){return a===i},n)},e.prototype.setHighlightBy=function(t,i,n){var a=t.getItems();if(n)C(a,function(l){i(l)?(t.hasState(l,Rn)&&t.setItemState(l,Rn,!1),t.setItemState(l,ai,!0)):t.hasState(l,ai)||t.setItemState(l,Rn,!0)});else{var o=t.getItemsByState(ai),s=!0;C(o,function(l){if(!i(l))return s=!1,!1}),s?this.clear():C(a,function(l){i(l)&&(t.hasState(l,ai)&&t.setItemState(l,ai,!1),t.setItemState(l,Rn,!0))})}},e.prototype.highlight=function(){this.setState()},e.prototype.clear=function(){var t=this.getTriggerListInfo();if(t)Bk(t.list);else{var i=this.getAllowComponents();C(i,function(n){n.clearItemsState(ai),n.clearItemsState(Rn)})}},e}(Oi),Rk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="selected",t}return e.prototype.selected=function(){this.setState()},e}(Oi),zk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName="unchecked",t}return e.prototype.unchecked=function(){this.setState()},e}(Oi),Vi="unchecked",Mo="checked",Nk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.stateName=Mo,t}return e.prototype.setItemState=function(t,i,n){this.setCheckedBy(t,function(a){return a===i},n)},e.prototype.setCheckedBy=function(t,i,n){var a=t.getItems();n&&C(a,function(o){i(o)?(t.hasState(o,Vi)&&t.setItemState(o,Vi,!1),t.setItemState(o,Mo,!0)):t.hasState(o,Mo)||t.setItemState(o,Vi,!0)})},e.prototype.toggle=function(){var t=this.getTriggerListInfo();if(t&&t.item){var i=t.list,n=t.item,a=!gs(i.getItems(),function(o){return i.hasState(o,Vi)});a||i.hasState(n,Vi)?this.setItemState(i,n,!0):this.reset()}},e.prototype.checked=function(){this.setState()},e.prototype.reset=function(){var t=this.getAllowComponents();C(t,function(i){i.clearItemsState(Mo),i.clearItemsState(Vi)})},e}(Oi),Yi="unchecked",Gk=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.toggle=function(){var t,i,n,a,o,s,l,u,c=this.getTriggerListInfo();if(c!=null&&c.item){var h=c.list,f=c.item,v=h.getItems(),d=v.filter(function(E){return!h.hasState(E,Yi)}),p=v.filter(function(E){return h.hasState(E,Yi)}),g=d[0];if(v.length===d.length)try{for(var y=vt(v),m=y.next();!m.done;m=y.next()){var w=m.value;h.setItemState(w,Yi,w.id!==f.id)}}catch(E){t={error:E}}finally{try{m&&!m.done&&(i=y.return)&&i.call(y)}finally{if(t)throw t.error}}else if(v.length-p.length===1)if(g.id===f.id)try{for(var x=vt(v),S=x.next();!S.done;S=x.next()){var w=S.value;h.setItemState(w,Yi,!1)}}catch(E){n={error:E}}finally{try{S&&!S.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}else try{for(var M=vt(v),F=M.next();!F.done;F=M.next()){var w=F.value;h.setItemState(w,Yi,w.id!==f.id)}}catch(E){o={error:E}}finally{try{F&&!F.done&&(s=M.return)&&s.call(M)}finally{if(o)throw o.error}}else try{for(var T=vt(v),k=T.next();!k.done;k=T.next()){var w=k.value;h.setItemState(w,Yi,w.id!==f.id)}}catch(E){l={error:E}}finally{try{k&&!k.done&&(u=T.return)&&u.call(T)}finally{if(l)throw l.error}}}},e}(Oi),wd="showRadio",Wl="legend-radio-tip",Vk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.timeStamp=0,t}return e.prototype.show=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var i=t.list,n=t.item;i.setItemState(n,wd,!0)}},e.prototype.hide=function(){var t=this.getTriggerListInfo();if(t!=null&&t.item){var i=t.list,n=t.item;i.setItemState(n,wd,!1)}},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.showTip=function(){var t=this.context,i=t.event,n=this.timeStamp,a=+new Date,o=this.context.event.target;if(a-n>16&&o.get("name")==="legend-item-radio"){var s=this.location,l={x:i.x,y:i.y};this.timeStamp=a,this.location=l,(!s||!Ot(s,l))&&this.showTooltip(l)}},e.prototype.hideTip=function(){this.hideTooltip(),this.location=null},e.prototype.showTooltip=function(t){var i=this.context,n=i.event,a=n.target;if(a&&a.get("tip")){this.tooltip||this.renderTooltip();var o=i.view.getCanvas().get("el").getBoundingClientRect(),s=o.x,l=o.y;this.tooltip.update(b(b({title:a.get("tip")},t),{x:t.x+s,y:t.y+l})),this.tooltip.show()}},e.prototype.hideTooltip=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=(t={},t[Sr]={padding:"6px 8px",transform:"translate(-50%, -80%)",background:"rgba(0,0,0,0.75)",color:"#fff","border-radius":"2px","z-index":100},t[Cr]={"font-size":"12px","line-height":"14px","margin-bottom":0,"word-break":"break-all"},t);document.getElementById(Wl)&&document.body.removeChild(document.getElementById(Wl));var n=new Xs({parent:document.body,region:null,visible:!1,crosshairs:null,domStyles:i,containerId:Wl});n.init(),n.setCapture(!1),this.tooltip=n},e}(Oi),ph=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShape=null,t.points=[],t.starting=!1,t.moving=!1,t.preMovePoint=null,t.shapeType="path",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var i="mask:".concat(t),n=this.context.view,a=this.context.event;n.emit(i,{target:this.maskShape,shape:this.maskShape,points:this.points,x:a.x,y:a.y})},e.prototype.createMask=function(){var t=this.context.view,i=this.getMaskAttrs(),n=t.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:b({fill:"#C5D4EB",opacity:.3},i)});return n},e.prototype.getMaskPath=function(){return[]},e.prototype.show=function(){this.maskShape&&(this.maskShape.show(),this.emitEvent("show"))},e.prototype.start=function(t){this.starting=!0,this.moving=!1,this.points=[this.getCurrentPoint()],this.maskShape||(this.maskShape=this.createMask(),this.maskShape.set("capture",!1)),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint()},e.prototype.move=function(){if(!(!this.moving||!this.maskShape)){var t=this.getCurrentPoint(),i=this.preMovePoint,n=t.x-i.x,a=t.y-i.y,o=this.points;C(o,function(s){s.x+=n,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t}},e.prototype.updateMask=function(t){var i=X({},this.getMaskAttrs(),t);this.maskShape.attr(i)},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.maskShape&&this.maskShape.set("capture",!0)},e.prototype.hide=function(){this.maskShape&&(this.maskShape.hide(),this.emitEvent("hide"))},e.prototype.resize=function(){this.starting&&this.maskShape&&(this.points.push(this.getCurrentPoint()),this.updateMask(),this.emitEvent("change"))},e.prototype.destroy=function(){this.points=[],this.maskShape&&this.maskShape.remove(),this.maskShape=null,this.preMovePoint=null,r.prototype.destroy.call(this)},e}(Mt);function Om(r){var e=Gt(r),t=0,i=0,n=0;if(r.length){var a=r[0];t=Vc(a,e)/2,i=(e.x+a.x)/2,n=(e.y+a.y)/2}return{x:i,y:n,r:t}}var Yk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t}return e.prototype.getMaskAttrs=function(){return Om(this.points)},e}(ph);function Bm(r){return{start:be(r),end:Gt(r)}}function Rm(r,e){var t=Math.min(r.x,e.x),i=Math.min(r.y,e.y),n=Math.abs(e.x-r.x),a=Math.abs(e.y-r.y);return{x:t,y:i,width:n,height:a}}var zm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(){return Bm(this.points)},e.prototype.getMaskAttrs=function(){var t=this.getRegion(),i=t.start,n=t.end;return Rm(i,n)},e}(ph);function bd(r){r.x=At(r.x,0,1),r.y=At(r.y,0,1)}function Nm(r,e,t,i){var n=null,a=null,o=i.invert(be(r)),s=i.invert(Gt(r));return t&&(bd(o),bd(s)),e==="x"?(n=i.convert({x:o.x,y:0}),a=i.convert({x:s.x,y:1})):(n=i.convert({x:0,y:o.y}),a=i.convert({x:1,y:s.y})),{start:n,end:a}}var Gm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(){var t=this.context.view.getCoordinate();return Nm(this.points,this.dim,this.inPlot,t)},e}(zm);function gh(r){var e=[];return r.length&&(C(r,function(t,i){i===0?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e.push(["L",r[0].x,r[0].y])),e}function Vm(r){return{path:gh(r)}}var Ym=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return gh(this.points)},e.prototype.getMaskAttrs=function(){return Vm(this.points)},e.prototype.addPoint=function(){this.resize()},e}(ph);function yh(r){return sF(r,!0)}function $m(r){return{path:yh(r)}}var $k=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getMaskPath=function(){return yh(this.points)},e.prototype.getMaskAttrs=function(){return $m(this.points)},e}(Ym),mh=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.maskShapes=[],t.starting=!1,t.moving=!1,t.recordPoints=null,t.preMovePoint=null,t.shapeType="path",t.maskType="multi-mask",t}return e.prototype.getCurrentPoint=function(){var t=this.context.event;return{x:t.x,y:t.y}},e.prototype.emitEvent=function(t){var i="".concat(this.maskType,":").concat(t),n=this.context.view,a=this.context.event,o={type:this.shapeType,name:this.maskType,get:function(s){return o.hasOwnProperty(s)?o[s]:void 0}};n.emit(i,{target:o,maskShapes:this.maskShapes,multiPoints:this.recordPoints,x:a.x,y:a.y})},e.prototype.createMask=function(t){var i=this.context.view,n=this.recordPoints[t],a=this.getMaskAttrs(n),o=i.foregroundGroup.addShape({type:this.shapeType,name:"mask",draggable:!0,attrs:b({fill:"#C5D4EB",opacity:.3},a)});this.maskShapes.push(o)},e.prototype.getMaskPath=function(t){return[]},e.prototype.show=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.show()}),this.emitEvent("show"))},e.prototype.start=function(t){this.recordPointStart(),this.starting=!0,this.moving=!1;var i=this.recordPoints.length-1;this.createMask(i),this.updateShapesCapture(!1),this.updateMask(t==null?void 0:t.maskStyle),this.emitEvent("start")},e.prototype.moveStart=function(){this.moving=!0,this.preMovePoint=this.getCurrentPoint(),this.updateShapesCapture(!1)},e.prototype.move=function(){if(!(!this.moving||this.maskShapes.length===0)){var t=this.getCurrentPoint(),i=this.preMovePoint,n=t.x-i.x,a=t.y-i.y,o=this.getCurMaskShapeIndex();o>-1&&(this.recordPoints[o].forEach(function(s){s.x+=n,s.y+=a}),this.updateMask(),this.emitEvent("change"),this.preMovePoint=t)}},e.prototype.updateMask=function(t){var i=this;this.recordPoints.forEach(function(n,a){var o=X({},i.getMaskAttrs(n),t);i.maskShapes[a].attr(o)})},e.prototype.resize=function(){this.starting&&this.maskShapes.length>0&&(this.recordPointContinue(),this.updateMask(),this.emitEvent("change"))},e.prototype.moveEnd=function(){this.moving=!1,this.preMovePoint=null,this.updateShapesCapture(!0)},e.prototype.end=function(){this.starting=!1,this.emitEvent("end"),this.updateShapesCapture(!0)},e.prototype.hide=function(){this.maskShapes.length>0&&(this.maskShapes.forEach(function(t){return t.hide()}),this.emitEvent("hide"))},e.prototype.remove=function(){var t=this.getCurMaskShapeIndex();t>-1&&(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.updateShapesCapture(!0),this.emitEvent("change"))},e.prototype.clearAll=function(){this.recordPointClear(),this.maskShapes.forEach(function(t){return t.remove()}),this.maskShapes=[],this.preMovePoint=null},e.prototype.clear=function(){var t=this.getCurMaskShapeIndex();t===-1?(this.recordPointClear(),this.maskShapes.forEach(function(i){return i.remove()}),this.maskShapes=[],this.emitEvent("clearAll")):(this.recordPoints.splice(t,1),this.maskShapes[t].remove(),this.maskShapes.splice(t,1),this.preMovePoint=null,this.emitEvent("clearSingle")),this.preMovePoint=null},e.prototype.destroy=function(){this.clear(),r.prototype.destroy.call(this)},e.prototype.getRecordPoints=function(){var t;return K([],U((t=this.recordPoints)!==null&&t!==void 0?t:[]),!1)},e.prototype.recordPointStart=function(){var t=this.getRecordPoints(),i=this.getCurrentPoint();this.recordPoints=K(K([],U(t),!1),[[i]],!1)},e.prototype.recordPointContinue=function(){var t=this.getRecordPoints(),i=this.getCurrentPoint(),n=t.splice(-1,1)[0]||[];n.push(i),this.recordPoints=K(K([],U(t),!1),[n],!1)},e.prototype.recordPointClear=function(){this.recordPoints=[]},e.prototype.updateShapesCapture=function(t){this.maskShapes.forEach(function(i){return i.set("capture",t)})},e.prototype.getCurMaskShapeIndex=function(){var t=this.getCurrentPoint();return this.maskShapes.findIndex(function(i){var n=i.attrs,a=n.width,o=n.height,s=n.r,l=a===0||o===0||s===0;return!l&&i.isHit(t.x,t.y)})},e}(Mt),Hm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="rect",t}return e.prototype.getRegion=function(t){return Bm(t)},e.prototype.getMaskAttrs=function(t){var i=this.getRegion(t),n=i.start,a=i.end;return Rm(n,a)},e}(mh),Xm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dim="x",t.inPlot=!0,t}return e.prototype.getRegion=function(t){var i=this.context.view.getCoordinate();return Nm(t,this.dim,this.inPlot,i)},e}(Hm),Hk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.shapeType="circle",t.getMaskAttrs=Om,t}return e}(mh),Wm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=gh,t.getMaskAttrs=Vm,t}return e.prototype.addPoint=function(){this.resize()},e}(mh),Xk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.getMaskPath=yh,t.getMaskAttrs=$m,t}return e}(Wm),Wk=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.setCursor=function(t){var i=this.context.view;i.getCanvas().setCursor(t)},e.prototype.default=function(){this.setCursor("default")},e.prototype.pointer=function(){this.setCursor("pointer")},e.prototype.move=function(){this.setCursor("move")},e.prototype.crosshair=function(){this.setCursor("crosshair")},e.prototype.wait=function(){this.setCursor("wait")},e.prototype.help=function(){this.setCursor("help")},e.prototype.text=function(){this.setCursor("text")},e.prototype.eResize=function(){this.setCursor("e-resize")},e.prototype.wResize=function(){this.setCursor("w-resize")},e.prototype.nResize=function(){this.setCursor("n-resize")},e.prototype.sResize=function(){this.setCursor("s-resize")},e.prototype.neResize=function(){this.setCursor("ne-resize")},e.prototype.nwResize=function(){this.setCursor("nw-resize")},e.prototype.seResize=function(){this.setCursor("se-resize")},e.prototype.swResize=function(){this.setCursor("sw-resize")},e.prototype.nsResize=function(){this.setCursor("ns-resize")},e.prototype.ewResize=function(){this.setCursor("ew-resize")},e.prototype.zoomIn=function(){this.setCursor("zoom-in")},e.prototype.zoomOut=function(){this.setCursor("zoom-out")},e}(Mt),_k=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,i,n){var a=this;t.getScaleByField(i)&&t.filter(i,n),t.views&&t.views.length&&C(t.views,function(o){a.filterView(o,i,n)})},e.prototype.filter=function(){var t=Ti(this.context);if(t){var i=this.context.view,n=t.component,a=n.get("field");if(xa(t)){if(a){var o=n.getItemsByState("unchecked"),s=sn(i,a),l=o.map(function(v){return v.name});l.length?this.filterView(i,a,function(v){var d=s.getText(v);return!l.includes(d)}):this.filterView(i,a,null),i.render(!0)}}else if(Fy(t)){var u=n.getValue(),c=U(u,2),h=c[0],f=c[1];this.filterView(i,a,function(v){return v>=h&&v<=f}),i.render(!0)}}},e}(Mt);function Sd(r,e,t,i){var n=Math.min(t[e],i[e]),a=Math.max(t[e],i[e]),o=U(r.range,2),s=o[0],l=o[1];if(nl&&(a=l),n===l&&a===l)return null;var u=r.invert(n),c=r.invert(a);if(r.isCategory){var h=r.values.indexOf(u),f=r.values.indexOf(c),v=r.values.slice(h,f+1);return function(d){return v.includes(d)}}else return function(d){return d>=u&&d<=c}}var ce;(function(r){r.FILTER="brush-filter-processing",r.RESET="brush-filter-reset",r.BEFORE_FILTER="brush-filter:beforefilter",r.AFTER_FILTER="brush-filter:afterfilter",r.BEFORE_RESET="brush-filter:beforereset",r.AFTER_RESET="brush-filter:afterreset"})(ce||(ce={}));var Js=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=["x","y"],t.startPoint=null,t.isStarted=!1,t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.start=function(){var t=this.context;this.isStarted=!0,this.startPoint=t.getCurrentPoint()},e.prototype.filter=function(){var t,i;if(wa(this.context)){var n=this.context.event.target,a=n.getCanvasBBox();t={x:a.x,y:a.y},i={x:a.maxX,y:a.maxY}}else{if(!this.isStarted)return;t=this.startPoint,i=this.context.getCurrentPoint()}if(!(Math.abs(t.x-i.x)<5||Math.abs(t.x-i.y)<5)){var o=this.context,s=o.view,l=o.event,u={view:s,event:l,dims:this.dims};s.emit(ce.BEFORE_FILTER,kt.fromData(s,ce.BEFORE_FILTER,u));var c=s.getCoordinate(),h=c.invert(i),f=c.invert(t);if(this.hasDim("x")){var v=s.getXScale(),d=Sd(v,"x",h,f);this.filterView(s,v.field,d)}if(this.hasDim("y")){var p=s.getYScales()[0],d=Sd(p,"y",h,f);this.filterView(s,p.field,d)}this.reRender(s,{source:ce.FILTER}),s.emit(ce.AFTER_FILTER,kt.fromData(s,ce.AFTER_FILTER,u))}},e.prototype.end=function(){this.isStarted=!1},e.prototype.reset=function(){var t=this.context.view;if(t.emit(ce.BEFORE_RESET,kt.fromData(t,ce.BEFORE_RESET,{})),this.isStarted=!1,this.hasDim("x")){var i=t.getXScale();this.filterView(t,i.field,null)}if(this.hasDim("y")){var n=t.getYScales()[0];this.filterView(t,n.field,null)}this.reRender(t,{source:ce.RESET}),t.emit(ce.AFTER_RESET,kt.fromData(t,ce.AFTER_RESET,{}))},e.prototype.filterView=function(t,i,n){t.filter(i,n)},e.prototype.reRender=function(t,i){t.render(!0,i)},e}(Mt),xh=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filterView=function(t,i,n){var a=rr(t);C(a,function(o){o.filter(i,n)})},e.prototype.reRender=function(t){var i=rr(t);C(i,function(n){n.render(!0)})},e}(Js),qk=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.filter=function(){var t=Ti(this.context),i=this.context.view,n=Zt(i);if(wa(this.context)){var a=Gc(this.context,10);a&&C(n,function(p){a.includes(p)?p.show():p.hide()})}else if(t){var o=t.component,s=o.get("field");if(xa(t)){if(s){var l=o.getItemsByState("unchecked"),u=sn(i,s),c=l.map(function(p){return p.name});C(n,function(p){var g=We(p,s),y=u.getText(g);c.indexOf(y)>=0?p.hide():p.show()})}}else if(Fy(t)){var h=o.getValue(),f=U(h,2),v=f[0],d=f[1];C(n,function(p){var g=We(p,s);g>=v&&g<=d?p.show():p.hide()})}}},e.prototype.clear=function(){var t=Zt(this.context.view);C(t,function(i){i.show()})},e.prototype.reset=function(){this.clear()},e}(Mt),_m=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.byRecord=!1,t}return e.prototype.filter=function(){wa(this.context)&&(this.byRecord?this.filterByRecord():this.filterByBBox())},e.prototype.filterByRecord=function(){var t=this.context.view,i=Gc(this.context,10);if(i){var n=t.getXScale().field,a=t.getYScales()[0].field,o=i.map(function(l){return l.getModel().data}),s=rr(t);C(s,function(l){var u=Zt(l);C(u,function(c){var h=c.getModel().data;Py(o,h,n,a)?c.show():c.hide()})})}},e.prototype.filterByBBox=function(){var t=this,i=this.context.view,n=rr(i);C(n,function(a){var o=Ty(t.context,a,10),s=Zt(a);o&&C(s,function(l){o.includes(l)?l.show():l.hide()})})},e.prototype.reset=function(){var t=rr(this.context.view);C(t,function(i){var n=Zt(i);C(n,function(a){a.show()})})},e}(Mt),Uk=10,jk=5,Zk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.buttonGroup=null,t.buttonCfg={name:"button",text:"button",textStyle:{x:0,y:0,fontSize:12,fill:"#333333",cursor:"pointer"},padding:[8,10],style:{fill:"#f7f7f7",stroke:"#cccccc",cursor:"pointer"},activeStyle:{fill:"#e6e6e6"}},t}return e.prototype.getButtonCfg=function(){return X(this.buttonCfg,this.cfg)},e.prototype.drawButton=function(){var t=this.getButtonCfg(),i=this.context.view.foregroundGroup.addGroup({name:t.name}),n=i.addShape({type:"text",name:"button-text",attrs:b({text:t.text},t.textStyle)}),a=n.getBBox(),o=$c(t.padding),s=i.addShape({type:"rect",name:"button-rect",attrs:b({x:a.x-o[3],y:a.y-o[0],width:a.width+o[1]+o[3],height:a.height+o[0]+o[2]},t.style)});s.toBack(),i.on("mouseenter",function(){s.attr(t.activeStyle)}),i.on("mouseleave",function(){s.attr(t.style)}),this.buttonGroup=i},e.prototype.resetPosition=function(){var t=this.context.view,i=t.getCoordinate(),n=i.convert({x:1,y:1}),a=this.buttonGroup,o=a.getBBox(),s=Nt(null,[["t",n.x-o.width-Uk,n.y+o.height+jk]]);a.setMatrix(s)},e.prototype.show=function(){this.buttonGroup||this.drawButton(),this.resetPosition(),this.buttonGroup.show()},e.prototype.hide=function(){this.buttonGroup&&this.buttonGroup.hide()},e.prototype.destroy=function(){var t=this.buttonGroup;t&&t.remove(),r.prototype.destroy.call(this)},e}(Mt),Qk=4,Kk=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.dragStart=!1,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint()},e.prototype.drag=function(){if(this.startPoint){var t=this.context.getCurrentPoint(),i=this.context.view,n=this.context.event;this.dragStart?i.emit("drag",{target:n.target,x:n.x,y:n.y}):Vc(t,this.startPoint)>Qk&&(i.emit("dragstart",{target:n.target,x:n.x,y:n.y}),this.dragStart=!0)}},e.prototype.end=function(){if(this.dragStart){var t=this.context.view,i=this.context.event;t.emit("dragend",{target:i.target,x:i.x,y:i.y})}this.starting=!1,this.dragStart=!1},e}(Mt),Jk=5,tL=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.starting=!1,t.isMoving=!1,t.startPoint=null,t.startMatrix=null,t}return e.prototype.start=function(){this.starting=!0,this.startPoint=this.context.getCurrentPoint(),this.startMatrix=this.context.view.middleGroup.getMatrix()},e.prototype.move=function(){if(this.starting){var t=this.startPoint,i=this.context.getCurrentPoint(),n=Vc(t,i);if(n>Jk&&!this.isMoving&&(this.isMoving=!0),this.isMoving){var a=this.context.view,o=Nt(this.startMatrix,[["t",i.x-t.x,i.y-t.y]]);a.backgroundGroup.setMatrix(o),a.foregroundGroup.setMatrix(o),a.middleGroup.setMatrix(o)}}},e.prototype.end=function(){this.isMoving&&(this.isMoving=!1),this.startMatrix=null,this.starting=!1,this.startPoint=null},e.prototype.reset=function(){this.starting=!1,this.startPoint=null,this.isMoving=!1;var t=this.context.view;t.backgroundGroup.resetMatrix(),t.foregroundGroup.resetMatrix(),t.middleGroup.resetMatrix(),this.isMoving=!1},e}(Mt),Cd="x",Md="y",qm=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.dims=[Cd,Md],t.cfgFields=["dims"],t.cacheScaleDefs={},t}return e.prototype.hasDim=function(t){return this.dims.includes(t)},e.prototype.getScale=function(t){var i=this.context.view;return t==="x"?i.getXScale():i.getYScales()[0]},e.prototype.resetDim=function(t){var i=this.context.view;if(this.hasDim(t)&&this.cacheScaleDefs[t]){var n=this.getScale(t);i.scale(n.field,this.cacheScaleDefs[t]),this.cacheScaleDefs[t]=null}},e.prototype.reset=function(){this.resetDim(Cd),this.resetDim(Md);var t=this.context.view;t.render(!0)},e}(Mt),eL=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.startPoint=null,t.starting=!1,t.startCache={},t}return e.prototype.start=function(){var t=this;this.startPoint=this.context.getCurrentPoint(),this.starting=!0;var i=this.dims;C(i,function(n){var a=t.getScale(n),o=a.min,s=a.max,l=a.values;t.startCache[n]={min:o,max:s,values:l}})},e.prototype.end=function(){this.startPoint=null,this.starting=!1,this.startCache={}},e.prototype.translate=function(){var t=this;if(this.starting){var i=this.startPoint,n=this.context.view.getCoordinate(),a=this.context.getCurrentPoint(),o=n.invert(i),s=n.invert(a),l=s.x-o.x,u=s.y-o.y,c=this.context.view,h=this.dims;C(h,function(f){t.translateDim(f,{x:l*-1,y:u*-1})}),c.render(!0)}},e.prototype.translateDim=function(t,i){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.translateLinear(t,n,i)}},e.prototype.translateLinear=function(t,i,n){var a=this.context.view,o=this.startCache[t],s=o.min,l=o.max,u=l-s,c=n[t]*u;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:i.nice,min:s,max:l}),a.scale(i.field,{nice:!1,min:s+c,max:l+c})},e.prototype.reset=function(){r.prototype.reset.call(this),this.startPoint=null,this.starting=!1},e}(qm),rL=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.zoomRatio=.05,t}return e.prototype.zoomIn=function(){this.zoom(this.zoomRatio)},e.prototype.zoom=function(t){var i=this,n=this.dims;C(n,function(a){i.zoomDim(a,t)}),this.context.view.render(!0)},e.prototype.zoomOut=function(){this.zoom(-1*this.zoomRatio)},e.prototype.zoomDim=function(t,i){if(this.hasDim(t)){var n=this.getScale(t);n.isLinear&&this.zoomLinear(t,n,i)}},e.prototype.zoomLinear=function(t,i,n){var a=this.context.view;this.cacheScaleDefs[t]||(this.cacheScaleDefs[t]={nice:i.nice,min:i.min,max:i.max});var o=this.cacheScaleDefs[t],s=o.max-o.min,l=i.min,u=i.max,c=n*s,h=l-c,f=u+c,v=f-h,d=v/s;f>h&&d<100&&d>.01&&a.scale(i.field,{nice:!1,min:l-c,max:u+c})},e}(qm);function iL(r){var e=r.gEvent.originalEvent;return e.deltaY>0}var nL=1,aL=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.scroll=function(t){var i=this.context,n=i.view,a=i.event;if(n.getOptions().scrollbar){var o=(t==null?void 0:t.wheelDelta)||nL,s=n.getController("scrollbar"),l=n.getXScale(),u=n.getOptions().data,c=$t(Xe(u,l.field)),h=$t(l.values),f=s.getValue(),v=Math.floor((c-h)*f),d=v+(iL(a)?o:-o),p=o/(c-h)/1e4,g=At(d/(c-h)+p,0,1);s.setValue(g)}},e}(Mt),oL="aixs-description-tooltip",sL=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.show=function(){var t=this.context,i=Ti(t).axis,n=i.cfg.title,a=n.description,o=n.text,s=n.descriptionTooltipStyle,l=t.event,u=l.x,c=l.y;this.tooltip||this.renderTooltip(),this.tooltip.update({title:o||"",customContent:function(){return` +
    +
    + 字段说明:`).concat(a,` +
    +
    + `)},x:u,y:c}),this.tooltip.show()},e.prototype.destroy=function(){r.prototype.destroy.call(this),this.tooltip&&this.tooltip.destroy()},e.prototype.hide=function(){this.tooltip&&this.tooltip.hide()},e.prototype.renderTooltip=function(){var t,i=this.context.view,n=i.canvas,a={start:{x:0,y:0},end:{x:n.get("width"),y:n.get("height")}},o=new Xs({parent:n.get("el").parentNode,region:a,visible:!1,containerId:oL,domStyles:b({},X({},(t={},t[Sr]={"max-width":"50%",padding:"10px","line-height":"15px","font-size":"12px",color:"rgba(0, 0, 0, .65)"},t[Cr]={"word-break":"break-all","margin-bottom":"3px"},t)))});o.init(),o.setCapture(!1),this.tooltip=o},e}(Mt);wF("dark",Oy(s2));Ip("canvas",X2);Ip("svg",CT);sr("Polygon",zT);sr("Interval",PT);sr("Schema",NT);sr("Path",eh);sr("Point",BT);sr("Line",DT);sr("Area",AT);sr("Edge",FT);sr("Heatmap",TT);sr("Violin",VT);Na("base",Zs);Na("interval",rE);Na("pie",iE);Na("polar",Fm);me("overlap",yE);me("distribute",aE);me("fixed-overlap",gE);me("hide-overlap",TE);me("limit-in-shape",fE);me("limit-in-canvas",hE);me("limit-in-plot",XE);me("pie-outer",sE);me("adjust-color",kE);me("interval-adjust-position",DE);me("interval-hide-overlap",BE);me("point-adjust-position",NE);me("pie-spider",cE);me("path-adjust-position",YE);Fe("fade-in",WE);Fe("fade-out",_E);Fe("grow-in-x",UE);Fe("grow-in-xy",ZE);Fe("grow-in-y",jE);Fe("scale-in-x",JE);Fe("scale-in-y",tk);Fe("wave-in",rk);Fe("zoom-in",ik);Fe("zoom-out",nk);Fe("position-update",KE);Fe("sector-path-update",ek);Fe("path-in",QE);bn("rect",uk);bn("mirror",lk);bn("list",ok);bn("matrix",sk);bn("circle",ak);bn("tree",ck);Di("axis",vk);Di("legend",dk);Di("tooltip",Gy);Di("annotation",fk);Di("slider",pk);Di("scrollbar",mk);Z("tooltip",Im);Z("sibling-tooltip",Sk);Z("ellipsis-text",Ck);Z("element-active",Mk);Z("element-single-active",Tk);Z("element-range-active",Fk);Z("element-highlight",vh);Z("element-highlight-by-x",kk);Z("element-highlight-by-color",Ek);Z("element-single-highlight",Lk);Z("element-range-highlight",Dm);Z("element-sibling-highlight",Dm,{effectSiblings:!0,effectByRecord:!0});Z("element-selected",Pk);Z("element-single-selected",Dk);Z("element-range-selected",Ik);Z("element-link-by-color",Ak);Z("active-region",bk);Z("list-active",Ok);Z("list-selected",Rk);Z("list-highlight",dh);Z("list-unchecked",zk);Z("list-checked",Nk);Z("list-focus",Gk);Z("list-radio",Vk);Z("legend-item-highlight",dh,{componentNames:["legend"]});Z("axis-label-highlight",dh,{componentNames:["axis"]});Z("axis-description",sL);Z("rect-mask",zm);Z("x-rect-mask",Gm,{dim:"x"});Z("y-rect-mask",Gm,{dim:"y"});Z("circle-mask",Yk);Z("path-mask",Ym);Z("smooth-path-mask",$k);Z("rect-multi-mask",Hm);Z("x-rect-multi-mask",Xm,{dim:"x"});Z("y-rect-multi-mask",Xm,{dim:"y"});Z("circle-multi-mask",Hk);Z("path-multi-mask",Wm);Z("smooth-path-multi-mask",Xk);Z("cursor",Wk);Z("data-filter",_k);Z("brush",Js);Z("brush-x",Js,{dims:["x"]});Z("brush-y",Js,{dims:["y"]});Z("sibling-filter",xh);Z("sibling-x-filter",xh,{dims:"x"});Z("sibling-y-filter",xh,{dims:"y"});Z("element-filter",qk);Z("element-sibling-filter",_m);Z("element-sibling-filter-record",_m,{byRecord:!0});Z("view-drag",Kk);Z("view-move",tL);Z("scale-translate",eL);Z("scale-zoom",rL);Z("reset-button",Zk,{name:"reset-button",text:"reset"});Z("mousewheel-scroll",aL);function mr(r){return r.isInPlot()}at("tooltip",{start:[{trigger:"plot:mousemove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"plot:touchmove",action:"tooltip:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"plot:mouseleave",action:"tooltip:hide"},{trigger:"plot:leave",action:"tooltip:hide"},{trigger:"plot:touchend",action:"tooltip:hide"}]});at("ellipsis-text",{start:[{trigger:"legend-item-name:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"legend-item-name:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:mousemove",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}},{trigger:"axis-label:touchstart",action:"ellipsis-text:show",throttle:{wait:50,leading:!0,trailing:!1}}],end:[{trigger:"legend-item-name:mouseleave",action:"ellipsis-text:hide"},{trigger:"legend-item-name:touchend",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseleave",action:"ellipsis-text:hide"},{trigger:"axis-label:mouseout",action:"ellipsis-text:hide"},{trigger:"axis-label:touchend",action:"ellipsis-text:hide"}]});at("element-active",{start:[{trigger:"element:mouseenter",action:"element-active:active"}],end:[{trigger:"element:mouseleave",action:"element-active:reset"}]});at("element-selected",{start:[{trigger:"element:click",action:"element-selected:toggle"}]});at("element-highlight",{start:[{trigger:"element:mouseenter",action:"element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight:reset"}]});at("element-highlight-by-x",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-x:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-x:reset"}]});at("element-highlight-by-color",{start:[{trigger:"element:mouseenter",action:"element-highlight-by-color:highlight"}],end:[{trigger:"element:mouseleave",action:"element-highlight-by-color:reset"}]});at("legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","element-active:reset"]}]});at("legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","element-highlight:reset"]}]});at("axis-label-highlight",{start:[{trigger:"axis-label:mouseenter",action:["axis-label-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"axis-label:mouseleave",action:["axis-label-highlight:reset","element-highlight:reset"]}]});at("element-list-highlight",{start:[{trigger:"element:mouseenter",action:["list-highlight:highlight","element-highlight:highlight"]}],end:[{trigger:"element:mouseleave",action:["list-highlight:reset","element-highlight:reset"]}]});at("element-range-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"plot:mousedown",isEnable:function(r){return!r.isInShape("mask")},action:["rect-mask:start","rect-mask:show"]},{trigger:"mask:dragstart",action:["rect-mask:moveStart"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:drag",action:["rect-mask:move"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end"]},{trigger:"mask:dragend",action:["rect-mask:moveEnd"]},{trigger:"document:mouseup",isEnable:function(r){return!r.isInPlot()},action:["element-range-highlight:clear","rect-mask:end","rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["element-range-highlight:clear","rect-mask:hide"]}]});at("brush",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:mr,action:["brush:start","rect-mask:start","rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:mr,action:["rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:mr,action:["brush:filter","brush:end","rect-mask:end","rect-mask:hide","reset-button:show"]}],rollback:[{trigger:"reset-button:click",action:["brush:reset","reset-button:hide","cursor:crosshair"]}]});at("brush-visible",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"plot:mousedown",action:["rect-mask:start","rect-mask:show"]}],processing:[{trigger:"plot:mousemove",action:["rect-mask:resize"]},{trigger:"mask:change",action:["element-range-highlight:highlight"]}],end:[{trigger:"plot:mouseup",action:["rect-mask:end","rect-mask:hide","element-filter:filter","element-range-highlight:clear"]}],rollback:[{trigger:"dblclick",action:["element-filter:clear"]}]});at("brush-x",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:mr,action:["brush-x:start","x-rect-mask:start","x-rect-mask:show"]}],processing:[{trigger:"mousemove",isEnable:mr,action:["x-rect-mask:resize"]}],end:[{trigger:"mouseup",isEnable:mr,action:["brush-x:filter","brush-x:end","x-rect-mask:end","x-rect-mask:hide"]}],rollback:[{trigger:"dblclick",action:["brush-x:reset"]}]});at("element-path-highlight",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"plot:mouseleave",action:"cursor:default"}],start:[{trigger:"mousedown",isEnable:mr,action:"path-mask:start"},{trigger:"mousedown",isEnable:mr,action:"path-mask:show"}],processing:[{trigger:"mousemove",action:"path-mask:addPoint"}],end:[{trigger:"mouseup",action:"path-mask:end"}],rollback:[{trigger:"dblclick",action:"path-mask:hide"}]});at("brush-x-multi",{showEnable:[{trigger:"plot:mouseenter",action:"cursor:crosshair"},{trigger:"mask:mouseenter",action:"cursor:move"},{trigger:"plot:mouseleave",action:"cursor:default"},{trigger:"mask:mouseleave",action:"cursor:crosshair"}],start:[{trigger:"mousedown",isEnable:mr,action:["x-rect-multi-mask:start","x-rect-multi-mask:show"]},{trigger:"mask:dragstart",action:["x-rect-multi-mask:moveStart"]}],processing:[{trigger:"mousemove",isEnable:function(r){return!qs(r)},action:["x-rect-multi-mask:resize"]},{trigger:"multi-mask:change",action:"element-range-highlight:highlight"},{trigger:"mask:drag",action:["x-rect-multi-mask:move"]}],end:[{trigger:"mouseup",action:["x-rect-multi-mask:end"]},{trigger:"mask:dragend",action:["x-rect-multi-mask:moveEnd"]}],rollback:[{trigger:"dblclick",action:["x-rect-multi-mask:clear","cursor:crosshair"]},{trigger:"multi-mask:clearAll",action:["element-range-highlight:clear"]},{trigger:"multi-mask:clearSingle",action:["element-range-highlight:highlight"]}]});at("element-single-selected",{start:[{trigger:"element:click",action:"element-single-selected:toggle"}]});at("legend-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:["cursor:pointer","list-radio:show"]},{trigger:"legend-item:mouseleave",action:["cursor:default","list-radio:hide"]}],start:[{trigger:"legend-item:click",isEnable:function(r){return!r.isInShape("legend-item-radio")},action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","data-filter:filter","list-radio:show"]},{trigger:"legend-item-radio:mouseenter",action:["list-radio:showTip"]},{trigger:"legend-item-radio:mouseleave",action:["list-radio:hideTip"]},{trigger:"legend-item-radio:click",action:["list-focus:toggle","data-filter:filter","list-radio:show"]}]});at("continuous-filter",{start:[{trigger:"legend:valuechanged",action:"data-filter:filter"}]});at("continuous-visible-filter",{start:[{trigger:"legend:valuechanged",action:"element-filter:filter"}]});at("legend-visible-filter",{showEnable:[{trigger:"legend-item:mouseenter",action:"cursor:pointer"},{trigger:"legend-item:mouseleave",action:"cursor:default"}],start:[{trigger:"legend-item:click",action:["legend-item-highlight:reset","element-highlight:reset","list-unchecked:toggle","element-filter:filter"]}]});at("active-region",{start:[{trigger:"plot:mousemove",action:"active-region:show"}],end:[{trigger:"plot:mouseleave",action:"active-region:hide"}]});at("axis-description",{start:[{trigger:"axis-description:mousemove",action:"axis-description:show"}],end:[{trigger:"axis-description:mouseleave",action:"axis-description:hide"}]});function Ad(r){return r.gEvent.preventDefault(),r.gEvent.originalEvent.deltaY>0}at("view-zoom",{start:[{trigger:"plot:mousewheel",isEnable:function(r){return Ad(r.event)},action:"scale-zoom:zoomOut",throttle:{wait:100,leading:!0,trailing:!1}},{trigger:"plot:mousewheel",isEnable:function(r){return!Ad(r.event)},action:"scale-zoom:zoomIn",throttle:{wait:100,leading:!0,trailing:!1}}]});at("sibling-tooltip",{start:[{trigger:"plot:mousemove",action:"sibling-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"sibling-tooltip:hide"}]});at("plot-mousewheel-scroll",{start:[{trigger:"plot:mousewheel",action:"mousewheel-scroll:scroll"}]});var de=["type","alias","tickCount","tickInterval","min","max","nice","minLimit","maxLimit","range","tickMethod","base","exponent","mask","sync"],_e;(function(r){r.ERROR="error",r.WARN="warn",r.INFO="log"})(_e||(_e={}));var lL="AntV/G2Plot";function uL(r){for(var e=[],t=1;t=0}),n=t.every(function(a){return A(a,[e])<=0});return i?{min:0}:n?{max:0}:{}}function Um(r,e,t,i,n){if(n===void 0&&(n=[]),!Array.isArray(r))return{nodes:[],links:[]};var a=[],o={},s=-1;return r.forEach(function(l){var u=l[e],c=l[t],h=l[i],f=gt(l,n);o[u]||(o[u]=b({id:++s,name:u},f)),o[c]||(o[c]=b({id:++s,name:c},f)),a.push(b({source:o[u].id,target:o[c].id,value:h},f))}),{nodes:Object.values(o).sort(function(l,u){return l.id-u.id}),links:a}}function cn(r,e){var t=Qt(r,function(i){var n=i[e];return n===null||typeof n=="number"&&!isNaN(n)});return Ar(_e.WARN,t.length===r.length,"illegal data existed in chart data."),t}var cL=5,hL={}.toString,jm=function(r,e){return hL.call(r)==="[object "+e+"]"},fL=function(r){return jm(r,"Array")},vL=function(r){return typeof r=="object"&&r!==null},Fd=function(r){if(!vL(r)||!jm(r,"Object"))return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e},Zm=function(r,e,t,i){t=t||0,i=i||cL;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=e[n];a?Fd(a)?(Fd(r[n])||(r[n]={}),t=i&&r<=n}function Ur(r){if(nt(r))return[r,r,r,r];if(z(r)){var e=r.length;if(e===1)return[r[0],r[0],r[0],r[0]];if(e===2)return[r[0],r[1],r[0],r[1]];if(e===3)return[r[0],r[1],r[2],r[1]];if(e===4)return r}return[0,0,0,0]}function tl(r,e,t){e===void 0&&(e="bottom"),t===void 0&&(t=25);var i=Ur(r),n=[e.startsWith("top")?t:0,e.startsWith("right")?t:0,e.startsWith("bottom")?t:0,e.startsWith("left")?t:0];return[i[0]+n[0],i[1]+n[1],i[2]+n[2],i[3]+n[3]]}function bh(r){var e=r.map(function(i){return Ur(i)}),t=[0,0,0,0];return e.length>0&&(t=t.map(function(i,n){return e.forEach(function(a,o){i+=e[o][n]}),i})),t}function yL(r,e){var t=[];if(r.length){t.push(["M",r[0].x,r[0].y]);for(var i=1,n=r.length;i"},key:"".concat(l===0?"top":"bottom","-statistic")},gt(s,["offsetX","offsetY","rotate","style","formatter"])))}})},bL=function(r,e,t){var i=e.statistic,n=i.title,a=i.content;[n,a].forEach(function(o){if(o){var s=W(o.style)?o.style(t):o.style;r.annotation().html(b({position:["50%","100%"],html:function(l,u){var c=u.getCoordinate(),h=u.views[0].getCoordinate(),f=h.getCenter(),v=h.getRadius(),d=Math.max(Math.sin(h.startAngle),Math.sin(h.endAngle))*v,p=f.y+d-c.y.start-parseFloat(A(s,"fontSize",0)),g=c.getRadius()*c.innerRadius*2;Km(l,b({width:"".concat(g,"px"),transform:"translate(-50%, ".concat(p,"px)")},Qm(s)));var y=u.getData();if(o.customHtml)return o.customHtml(l,u,t,y);var m=o.content;return o.formatter&&(m=o.formatter(t,y)),m?J(m)?m:"".concat(m):"
    "}},gt(o,["offsetX","offsetY","rotate","style","formatter"])))}})};function Jm(r,e){return e?ie(e,function(t,i,n){return t.replace(new RegExp("{\\s*".concat(n,"\\s*}"),"g"),i)},r):r}function ut(r,e){return r.views.find(function(t){return t.id===e})}function Xn(r){var e=r.parent;return e?e.views:[]}function Ed(r){return Xn(r).filter(function(e){return e!==r})}function Ya(r,e,t){t===void 0&&(t=r.geometries),typeof e=="boolean"?r.animate(e):r.animate(!0),C(t,function(i){var n;W(e)?n=e(i.type||i.shapeType,i)||!0:n=e,i.animate(n)})}function rl(){return typeof window=="object"?window==null?void 0:window.devicePixelRatio:2}function Sh(r,e){e===void 0&&(e=r);var t=document.createElement("canvas"),i=rl();t.width=r*i,t.height=e*i,t.style.width="".concat(r,"px"),t.style.height="".concat(e,"px");var n=t.getContext("2d");return n.scale(i,i),t}function Ch(r,e,t,i){i===void 0&&(i=t);var n=e.backgroundColor,a=e.opacity;r.globalAlpha=a,r.fillStyle=n,r.beginPath(),r.fillRect(0,0,t,i),r.closePath()}function t0(r,e,t){var i=r+e;return t?i*2:i}function e0(r,e){var t=e?[[r*.25,r*.25],[r*.75,r*.75]]:[[r*.5,r*.5]];return t}function Mh(r,e){var t=e*Math.PI/180,i={a:Math.cos(t)*(1/r),b:Math.sin(t)*(1/r),c:-Math.sin(t)*(1/r),d:Math.cos(t)*(1/r),e:0,f:0};return i}var SL={size:6,padding:2,backgroundColor:"transparent",opacity:1,rotation:0,fill:"#fff",fillOpacity:.5,stroke:"transparent",lineWidth:0,isStagger:!0};function CL(r,e,t,i){var n=e.size,a=e.fill,o=e.lineWidth,s=e.stroke,l=e.fillOpacity;r.beginPath(),r.globalAlpha=l,r.fillStyle=a,r.strokeStyle=s,r.lineWidth=o,r.arc(t,i,n/2,0,2*Math.PI,!1),r.fill(),o&&r.stroke(),r.closePath()}function ML(r){var e=L({},SL,r),t=e.size,i=e.padding,n=e.isStagger,a=e.rotation,o=t0(t,i,n),s=e0(o,n),l=Sh(o,o),u=l.getContext("2d");Ch(u,e,o);for(var c=0,h=s;c1&&arguments[1]!==void 0?arguments[1]:60,a=null;return function(){for(var o=this,s=arguments.length,l=new Array(s),u=0;uw){var S=x/p.length,M=Math.max(1,Math.ceil(w/S)-1),F="".concat(p.slice(0,M),"...");m.attr("text",F)}}}}function bI(r,e,t){xI(r,e,t),wI(r,e,t)}function SI(r,e,t){return e===void 0&&(e=!0),t===void 0&&(t=!1),function(i){var n=i.options,a=i.chart,o=n.conversionTag,s=n.theme;return o&&!t&&(a.theme(L({},yt(s)?s:Jn(s),{columnWidthRatio:1/3})),a.annotation().shape({render:function(l,u){var c=l.addGroup({id:"".concat(a.id,"-conversion-tag-group"),name:"conversion-tag-group"}),h=$e(a.geometries,function(d){return d.type==="interval"}),f={view:u,geometry:h,group:c,field:r,horizontal:e,options:mI(o,e)},v=h.elements;C(v,function(d,p){p>0&&bI(f,v[p-1],d)})}})),i}}function CI(r){var e=r.options,t=e.legend,i=e.seriesField,n=e.isStack;return i?t!==!1&&(t=b({position:n?"right-top":"top-left"},t)):t=!1,r.options.legend=t,r}function MI(r){var e=r.chart,t=r.options,i=t.data,n=t.columnStyle,a=t.color,o=t.columnWidthRatio,s=t.isPercent,l=t.isGroup,u=t.isStack,c=t.xField,h=t.yField,f=t.seriesField,v=t.groupField,d=t.tooltip,p=t.shape,g=s&&l&&u?iI(i,h,[c,v],h):Ha(i,h,c,h,s),y=[];u&&f&&!l?g.forEach(function(x){var S=y.find(function(M){return M[c]===x[c]&&M[f]===x[f]});S?S[h]+=x[h]||0:y.push(b({},x))}):y=g,e.data(y);var m=s?b({formatter:function(x){var S;return{name:l&&u?"".concat(x[f]," - ").concat(x[v]):(S=x[f])!==null&&S!==void 0?S:x[c],value:(Number(x[h])*100).toFixed(2)+"%"}}},d):d,w=L({},r,{options:{data:y,widthRatio:o,tooltip:m,interval:{shape:p,style:n,color:a}}});return te(w),w}function kh(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.xField,s=i.yField,l=i.data,u=i.isPercent,c=u?{max:1,min:0,minLimit:0,maxLimit:1}:{};return et(Pt((e={},e[o]=n,e[s]=a,e),(t={},t[o]={type:"cat"},t[s]=b(b({},wh(l,s)),c),t)))(r)}function AI(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?e.axis(o,!1):e.axis(o,n),r}function FI(r){var e=r.chart,t=r.options,i=t.legend,n=t.seriesField;return i&&n?e.legend(n,i):i===!1&&e.legend(!1),r}function TI(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=t.isRange,o=Jt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=Ct(i,["callback"]);o.label({fields:[n],callback:s,cfg:b({layout:l!=null&&l.position?void 0:[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}]},Ht(a?b({content:function(u){var c;return(c=u[n])===null||c===void 0?void 0:c.join("-")}},l):l))})}return r}function EI(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.isGroup,a=t.isStack,o=t.groupField,s=t.data,l=t.xField,u=t.yField,c=t.seriesField;if(i===!1)e.tooltip(!1);else{var h=i;if(n&&a){var f=h.customItems,v=(h==null?void 0:h.formatter)||function(d){return{name:"".concat(d[c]," - ").concat(d[o]),value:d[u]}};h=b(b({},h),{customItems:function(d){var p=[];return C(d,function(g){var y=Qt(s,function(m){return xp(m,gt(g.data,[l,c]))});y.forEach(function(m){p.push(b(b(b({},g),{value:m[u],data:m,mappingData:{_origin:m}}),v(m)))})}),f?f(p):p}})}e.tooltip(h)}return r}function cl(r,e){e===void 0&&(e=!1);var t=r.options,i=t.seriesField;return et(CI,ht,Te("columnStyle"),ri,r0("rect"),MI,kh,AI,FI,EI,$a,Ah,TI,v0,Tt,wt,Lt(),SI(t.yField,!e,!!i),yI(!t.isStack),Li)(r)}function kI(r){var e=r.options,t=e.xField,i=e.yField,n=e.xAxis,a=e.yAxis,o={left:"bottom",right:"top",top:"left",bottom:"right"},s=a!==!1?b({position:o[(a==null?void 0:a.position)||"left"]},a):!1,l=n!==!1?b({position:o[(n==null?void 0:n.position)||"bottom"]},n):!1;return b(b({},r),{options:b(b({},e),{xField:i,yField:t,xAxis:s,yAxis:l})})}function LI(r){var e=r.options,t=e.label;return t&&!t.position&&(t.position="left",t.layout||(t.layout=[{type:"interval-adjust-position"},{type:"interval-hide-overlap"},{type:"adjust-color"},{type:"limit-in-plot",cfg:{action:"hide"}}])),L({},r,{options:{label:t}})}function II(r){var e=r.options,t=e.seriesField,i=e.isStack,n=e.legend;return t?n!==!1&&(n=b({position:i?"top-left":"right-top"},n||{})):n=!1,L({},r,{options:{legend:n}})}function PI(r){var e=r.options,t=[{type:"transpose"},{type:"reflectY"}].concat(e.coordinate||[]);return L({},r,{options:{coordinate:t}})}function DI(r){var e=r.chart,t=r.options,i=t.barStyle,n=t.barWidthRatio,a=t.minBarWidth,o=t.maxBarWidth,s=t.barBackground;return cl({chart:e,options:b(b({},t),{columnStyle:i,columnWidthRatio:n,minColumnWidth:a,maxColumnWidth:o,columnBackground:s})},!0)}function p0(r){return et(kI,LI,II,Vt,PI,DI)(r)}var OI=L({},ot.getDefaultOptions(),{barWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),BI=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bar",t}return e.getDefaultOptions=function(){return OI},e.prototype.changeData=function(t){var i,n;this.updateOption({data:t});var a=this,o=a.chart,s=a.options,l=s.isPercent,u=s.xField,c=s.yField,h=s.xAxis,f=s.yAxis;i=[c,u],u=i[0],c=i[1],n=[f,h],h=n[0],f=n[1];var v=b(b({},s),{xField:u,yField:c,yAxis:f,xAxis:h});kh({chart:o,options:v}),o.changeData(Ha(t,u,c,u,l))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return p0},e}(ot),RI=L({},ot.getDefaultOptions(),{columnWidthRatio:.6,marginRatio:1/32,tooltip:{shared:!0,showMarkers:!1,offset:20},legend:{radio:{}},interactions:[{type:"active-region"}]}),g0=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="column",t}return e.getDefaultOptions=function(){return RI},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this.options,n=i.yField,a=i.xField,o=i.isPercent,s=this,l=s.chart,u=s.options;kh({chart:l,options:u}),this.chart.changeData(Ha(t,n,a,n,o))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return cl},e}(ot),ql,jr="$$percentage$$",Zr="$$mappingValue$$",wr="$$conversion$$",ju="$$totalPercentage$$",Ma="$$x$$",Aa="$$y$$",zI={appendPadding:[0,80],minSize:0,maxSize:1,meta:(ql={},ql[Zr]={min:0,max:1,nice:!1},ql),label:{style:{fill:"#fff",fontSize:12}},tooltip:{showTitle:!1,showMarkers:!1,shared:!1},conversionTag:{offsetX:10,offsetY:0,style:{fontSize:12,fill:"rgba(0,0,0,0.45)"}}},y0="CONVERSION_TAG_NAME";function Lh(r,e,t){var i=[],n=t.yField,a=t.maxSize,o=t.minSize,s=A(Cp(e,n),[n]),l=nt(a)?a:1,u=nt(o)?o:0;return i=Ft(r,function(c,h){var f=(c[n]||0)/s;return c[jr]=f,c[Zr]=(l-u)*f+u,c[wr]=[A(r,[h-1,n]),c[n]],c}),i}function Ih(r){return function(e){var t=e.chart,i=e.options,n=i.conversionTag,a=i.filteredData,o=a||t.getOptions().data;if(n){var s=n.formatter;o.forEach(function(l,u){if(!(u<=0||Number.isNaN(l[Zr]))){var c=r(l,u,o,{top:!0,name:y0,text:{content:W(s)?s(l,o):s,offsetX:n.offsetX,offsetY:n.offsetY,position:"end",autoRotate:!1,style:b({textAlign:"start",textBaseline:"middle"},n.style)}});t.annotation().line(c)}})}return e}}function NI(r){var e=r.chart,t=r.options,i=t.data,n=i===void 0?[]:i,a=t.yField,o=t.maxSize,s=t.minSize,l=Lh(n,n,{yField:a,maxSize:o,minSize:s});return e.data(l),r}function GI(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.shape,u=l===void 0?"funnel":l,c=t.funnelStyle,h=t.state,f=Ne(o,[i,n]),v=f.fields,d=f.formatter;xe({chart:e,options:{type:"interval",xField:i,yField:Zr,colorField:i,tooltipFields:z(v)&&v.concat([jr,wr]),mapping:{shape:u,tooltip:d,color:a,style:c},label:s,state:h}});var p=Jt(r.chart,"interval");return p.adjust("symmetric"),r}function VI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[]:[["transpose"],["scale",1,-1]]}),r}function m0(r){var e=r.options,t=r.chart,i=e.maxSize,n=A(t,["geometries","0","dataArray"],[]),a=A(t,["options","data","length"]),o=Ft(n,function(l){return A(l,["0","nextPoints","0","x"])*a-.5}),s=function(l,u,c,h){var f=i-(i-l[Zr])/2;return b(b({},h),{start:[o[u-1]||u-.5,f],end:[o[u-1]||u-.5,f+.05]})};return Ih(s)(r),r}function x0(r){return et(NI,GI,VI,m0)(r)}function YI(r){var e,t=r.chart,i=r.options,n=i.data,a=n===void 0?[]:n,o=i.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function $I(r){var e=r.chart,t=r.options,i=t.data,n=t.xField,a=t.yField,o=t.color,s=t.compareField,l=t.isTransposed,u=t.tooltip,c=t.maxSize,h=t.minSize,f=t.label,v=t.funnelStyle,d=t.state,p=t.showFacetTitle;return e.facet("mirror",{fields:[s],transpose:!l,padding:l?0:[32,0,0,0],showTitle:p,eachView:function(g,y){var m=l?y.rowIndex:y.columnIndex;l||g.coordinate({type:"rect",actions:[["transpose"],["scale",m===0?-1:1,-1]]});var w=Lh(y.data,i,{yField:a,maxSize:c,minSize:h});g.data(w);var x=Ne(u,[n,a,s]),S=x.fields,M=x.formatter,F=l?{offset:m===0?10:-23,position:m===0?"bottom":"top"}:{offset:10,position:"left",style:{textAlign:m===0?"end":"start"}};xe({chart:g,options:{type:"interval",xField:n,yField:Zr,colorField:n,tooltipFields:z(S)&&S.concat([jr,wr]),mapping:{shape:"funnel",tooltip:M,color:o,style:v},label:f===!1?!1:L({},F,f),state:d}})}}),r}function w0(r){var e=r.chart,t=r.index,i=r.options,n=i.conversionTag,a=i.isTransposed;(nt(t)?[e]:e.views).forEach(function(o,s){var l=A(o,["geometries","0","dataArray"],[]),u=A(o,["options","data","length"]),c=Ft(l,function(f){return A(f,["0","nextPoints","0","x"])*u-.5}),h=function(f,v,d,p){var g=(t||s)===0?-1:1;return L({},p,{start:[c[v-1]||v-.5,f[Zr]],end:[c[v-1]||v-.5,f[Zr]+.05],text:a?{style:{textAlign:"start"}}:{offsetX:n!==!1?g*n.offsetX:0,style:{textAlign:(t||s)===0?"end":"start"}}})};Ih(h)(L({},{chart:o,options:i}))})}function HI(r){var e=r.chart;return e.once("beforepaint",function(){return w0(r)}),r}function XI(r){return et(YI,$I,HI)(r)}function WI(r){var e=r.chart,t=r.options,i=t.data,n=i===void 0?[]:i,a=t.yField,o=ie(n,function(u,c){return u+(c[a]||0)},0),s=Cp(n,a)[a],l=Ft(n,function(u,c){var h=[],f=[];if(u[ju]=(u[a]||0)/o,c){var v=n[c-1][Ma],d=n[c-1][Aa];h[0]=v[3],f[0]=d[3],h[1]=v[2],f[1]=d[2]}else h[0]=-.5,f[0]=1,h[1]=.5,f[1]=1;return f[2]=f[1]-u[ju],h[2]=(f[2]+1)/4,f[3]=f[2],h[3]=-h[2],u[Ma]=h,u[Aa]=f,u[jr]=(u[a]||0)/s,u[wr]=[A(n,[c-1,a]),u[a]],u});return e.data(l),r}function _I(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.color,o=t.tooltip,s=t.label,l=t.funnelStyle,u=t.state,c=Ne(o,[i,n]),h=c.fields,f=c.formatter;return xe({chart:e,options:{type:"polygon",xField:Ma,yField:Aa,colorField:i,tooltipFields:z(h)&&h.concat([jr,wr]),label:s,state:u,mapping:{tooltip:f,color:a,style:l}}}),r}function qI(r){var e=r.chart,t=r.options,i=t.isTransposed;return e.coordinate({type:"rect",actions:i?[["transpose"],["reflect","x"]]:[]}),r}function UI(r){var e=function(t,i,n,a){return b(b({},a),{start:[t[Ma][1],t[Aa][1]],end:[t[Ma][1]+.05,t[Aa][1]]})};return Ih(e)(r),r}function jI(r){return et(WI,_I,qI,UI)(r)}function ZI(r){var e,t=r.chart,i=r.options,n=i.data,a=n===void 0?[]:n,o=i.yField;return t.data(a),t.scale((e={},e[o]={sync:!0},e)),r}function QI(r){var e=r.chart,t=r.options,i=t.seriesField,n=t.isTransposed,a=t.showFacetTitle;return e.facet("rect",{fields:[i],padding:[n?0:32,10,0,10],showTitle:a,eachView:function(o,s){x0(L({},r,{chart:o,options:{data:s.data}}))}}),r}function KI(r){return et(ZI,QI)(r)}var JI=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.rendering=!1,t}return e.prototype.change=function(t){var i=this;if(!this.rendering){var n=t.seriesField,a=t.compareField,o=a?w0:m0,s=this.context.view,l=n||a?s.views:[s];Ft(l,function(u,c){var h=u.getController("annotation"),f=Qt(A(h,["option"],[]),function(d){var p=d.name;return p!==y0});h.clear(!0),C(f,function(d){typeof d=="object"&&u.annotation()[d.type](d)});var v=A(u,["filteredData"],u.getOptions().data);o({chart:u,index:c,options:b(b({},t),{filteredData:Lh(v,v,t)})}),u.filterData(v),i.rendering=!0,u.render(!0)})}this.rendering=!1},e}(Mt),b0="funnel-conversion-tag",Zu="funnel-afterrender",S0={trigger:"afterrender",action:"".concat(b0,":change")};Z(b0,JI);at(Zu,{start:[S0]});function tP(r){var e=r.options,t=e.compareField,i=e.xField,n=e.yField,a=e.locale,o=e.funnelStyle,s=e.data,l=il(a),u={label:t?{fields:[i,n,t,jr,wr],formatter:function(h){return"".concat(h[n])}}:{fields:[i,n,jr,wr],offset:0,position:"middle",formatter:function(h){return"".concat(h[i]," ").concat(h[n])}},tooltip:{title:i,formatter:function(h){return{name:h[i],value:h[n]}}},conversionTag:{formatter:function(h){return"".concat(l.get(["conversionTag","label"]),": ").concat(d0.apply(void 0,h[wr]))}}},c;return(t||o)&&(c=function(h){return L({},t&&{lineWidth:1,stroke:"#fff"},W(o)?o(h):o)}),L({options:u},r,{options:{funnelStyle:c,data:ae(s)}})}function eP(r){var e=r.options,t=e.compareField,i=e.dynamicHeight,n=e.seriesField;return n?KI(r):t?XI(r):i?jI(r):x0(r)}function rP(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function iP(r){var e=r.chart;return e.axis(!1),r}function nP(r){var e=r.chart,t=r.options,i=t.legend;return i===!1?e.legend(!1):e.legend(i),r}function aP(r){var e=r.chart,t=r.options,i=t.interactions,n=t.dynamicHeight;return C(i,function(a){a.enable===!1?e.removeInteraction(a.type):e.interaction(a.type,a.cfg||{})}),n?e.removeInteraction(Zu):e.interaction(Zu,{start:[b(b({},S0),{arg:t})]}),r}function C0(r){return et(tP,eP,rP,iP,Vt,aP,nP,wt,ht,Lt())(r)}var oP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="funnel",t}return e.getDefaultOptions=function(){return zI},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return C0},e.prototype.setState=function(t,i,n){n===void 0&&(n=!0);var a=Ca(this.chart);C(a,function(o){i(o.getData())&&o.setState(t,n)})},e.prototype.getStates=function(){var t=Ca(this.chart),i=[];return C(t,function(n){var a=n.getData(),o=n.getStates();C(o,function(s){i.push({data:a,state:s,geometry:n.geometry,element:n})})}),i},e.CONVERSATION_FIELD=wr,e.PERCENT_FIELD=jr,e.TOTAL_PERCENT_FIELD=ju,e}(ot),Fo,Ph="range",M0="type",gr="percent",sP="#f0f0f0",A0="indicator-view",F0="range-view",lP={percent:0,range:{ticks:[]},innerRadius:.9,radius:.95,startAngle:-7/6*Math.PI,endAngle:1/6*Math.PI,syncViewPadding:!0,axis:{line:null,label:{offset:-24,style:{textAlign:"center",textBaseline:"middle"}},subTickLine:{length:-8},tickLine:{length:-12},grid:null},indicator:{pointer:{style:{lineWidth:5,lineCap:"round"}},pin:{style:{r:9.75,lineWidth:4.5,fill:"#fff"}}},statistic:{title:!1},meta:(Fo={},Fo[Ph]={sync:"v"},Fo[gr]={sync:"v",tickCount:5,tickInterval:.2},Fo),animation:!1};function uP(r,e){return r.map(function(t,i){var n;return n={},n[Ph]=t-(r[i-1]||0),n[M0]="".concat(i),n[gr]=e,n})}function T0(r){var e;return[(e={},e[gr]=At(r,0,1),e)]}function E0(r,e){var t=A(e,["ticks"],[]),i=$t(t)?Mi(t):[0,At(r,0,1),1];return i[0]||i.shift(),uP(i,r)}function cP(r){var e=r.chart,t=r.options,i=t.percent,n=t.range,a=t.radius,o=t.innerRadius,s=t.startAngle,l=t.endAngle,u=t.axis,c=t.indicator,h=t.gaugeStyle,f=t.type,v=t.meter,d=n.color,p=n.width;if(c){var g=T0(i),y=e.createView({id:A0});y.data(g),y.point().position("".concat(gr,"*1")).shape(c.shape||"gauge-indicator").customInfo({defaultColor:e.getTheme().defaultColor,indicator:c}),y.coordinate("polar",{startAngle:s,endAngle:l,radius:o*a}),y.axis(gr,u),y.scale(gr,gt(u,de))}var m=E0(i,t.range),w=e.createView({id:F0});w.data(m);var x=J(d)?[d,sP]:d,S=te({chart:w,options:{xField:"1",yField:Ph,seriesField:M0,rawFields:[gr],isStack:!0,interval:{color:x,style:h,shape:f==="meter"?"meter-gauge":null},args:{zIndexReversed:!0,sortZIndex:!0},minColumnWidth:p,maxColumnWidth:p}}).ext,M=S.geometry;return M.customInfo({meter:v}),w.coordinate("polar",{innerRadius:o,radius:a,startAngle:s,endAngle:l}).transpose(),r}function hP(r){var e;return et(Pt((e={range:{min:0,max:1,maxLimit:1,minLimit:0}},e[gr]={},e)))(r)}function k0(r,e){var t=r.chart,i=r.options,n=i.statistic,a=i.percent;if(t.getController("annotation").clear(!0),n){var o=n.content,s=void 0;o&&(s=L({},{content:"".concat((a*100).toFixed(2),"%"),style:{opacity:.75,fontSize:"30px",lineHeight:1,textAlign:"center",color:"rgba(44,53,66,0.85)"}},o)),bL(t,{statistic:b(b({},n),{content:s})},{percent:a})}return e&&t.render(!0),r}function fP(r){var e=r.chart,t=r.options,i=t.tooltip;return i?e.tooltip(L({showTitle:!1,showMarkers:!1,containerTpl:'
    ',domStyles:{"g2-tooltip":{padding:"4px 8px",fontSize:"10px"}},customContent:function(n,a){var o=A(a,[0,"data",gr],0);return"".concat((o*100).toFixed(2),"%")}},i)):e.tooltip(!1),r}function vP(r){var e=r.chart;return e.legend(!1),r}function L0(r){return et(ht,wt,cP,hP,fP,k0,Tt,Lt(),vP)(r)}dt("point","gauge-indicator",{draw:function(r,e){var t=r.customInfo,i=t.indicator,n=t.defaultColor,a=i,o=a.pointer,s=a.pin,l=e.addGroup(),u=this.parsePoint({x:0,y:0});return o&&l.addShape("line",{name:"pointer",attrs:b({x1:u.x,y1:u.y,x2:r.x,y2:r.y,stroke:n},o.style)}),s&&l.addShape("circle",{name:"pin",attrs:b({x:u.x,y:u.y,stroke:n},s.style)}),l}});dt("interval","meter-gauge",{draw:function(r,e){var t=r.customInfo.meter,i=t===void 0?{}:t,n=i.steps,a=n===void 0?50:n,o=i.stepRatio,s=o===void 0?.5:o;a=a<1?1:a,s=At(s,0,1);var l=this.coordinate,u=l.startAngle,c=l.endAngle,h=0;if(s>0&&s<1){var f=c-u;h=f/a/(s/(1-s)+1-1/a)}for(var v=h/(1-s)*s,d=e.addGroup(),p=this.coordinate.getCenter(),g=this.coordinate.getRadius(),y=ye.getAngle(r,this.coordinate),m=y.startAngle,w=y.endAngle,x=m;x1?l/(i-1):s.max),!t&&!i){var c=pP(o);u=l/c}var h={},f=Se(a,n);ge(f)?C(a,function(d){var p=d[e],g=Pd(p,u,i),y="".concat(g[0],"-").concat(g[1]);Hr(h,y)||(h[y]={range:g,count:0}),h[y].count+=1}):Object.keys(f).forEach(function(d){C(f[d],function(p){var g=p[e],y=Pd(g,u,i),m="".concat(y[0],"-").concat(y[1]),w="".concat(m,"-").concat(d);Hr(h,w)||(h[w]={range:y,count:0},h[w][n]=d),h[w].count+=1})});var v=[];return C(h,function(d){v.push(d)}),v}var cs="range",Fa="count",gP=L({},ot.getDefaultOptions(),{columnStyle:{stroke:"#FFFFFF"},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});function yP(r){var e=r.chart,t=r.options,i=t.data,n=t.binField,a=t.binNumber,o=t.binWidth,s=t.color,l=t.stackField,u=t.legend,c=t.columnStyle,h=I0(i,n,o,a,l);e.data(h);var f=L({},r,{options:{xField:cs,yField:Fa,seriesField:l,isStack:!0,interval:{color:s,style:c}}});return te(f),u&&l?e.legend(l,u):e.legend(!1),r}function mP(r){var e,t=r.options,i=t.xAxis,n=t.yAxis;return et(Pt((e={},e[cs]=i,e[Fa]=n,e)))(r)}function xP(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis;return i===!1?e.axis(cs,!1):e.axis(cs,i),n===!1?e.axis(Fa,!1):e.axis(Fa,n),r}function wP(r){var e=r.chart,t=r.options,i=t.label,n=Jt(e,"interval");if(!i)n.label(!1);else{var a=i.callback,o=Ct(i,["callback"]);n.label({fields:[Fa],callback:a,cfg:Ht(o)})}return r}function P0(r){return et(ht,Te("columnStyle"),yP,mP,xP,ri,wP,Vt,Tt,wt)(r)}var bP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="histogram",t}return e.getDefaultOptions=function(){return gP},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this.options,n=i.binField,a=i.binNumber,o=i.binWidth,s=i.stackField;this.chart.changeData(I0(t,n,o,a,s))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return P0},e}(ot),SP=L({},ot.getDefaultOptions(),{tooltip:{shared:!0,showMarkers:!0,showCrosshairs:!0,crosshairs:{type:"x"}},legend:{position:"top-left",radio:{}},isStack:!1}),CP=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.active=function(){var t=this.getView(),i=this.context.event;if(i.data){var n=i.data.items,a=t.geometries.filter(function(o){return o.type==="point"});C(a,function(o){C(o.elements,function(s){var l=wp(n,function(u){return u.data===s.data})!==-1;s.setState("active",l)})})}},e.prototype.reset=function(){var t=this.getView(),i=t.geometries.filter(function(n){return n.type==="point"});C(i,function(n){C(n.elements,function(a){a.setState("active",!1)})})},e.prototype.getView=function(){return this.context.view},e}(Mt);Z("marker-active",CP);at("marker-active",{start:[{trigger:"tooltip:show",action:"marker-active:active"}],end:[{trigger:"tooltip:hide",action:"marker-active:reset"}]});var D0=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="line",t}return e.getDefaultOptions=function(){return SP},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;ul({chart:n,options:a}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return h0},e}(ot),O0=L({},ot.getDefaultOptions(),{legend:{position:"right",radio:{}},tooltip:{shared:!1,showTitle:!1,showMarkers:!1},label:{layout:{type:"limit-in-plot",cfg:{action:"ellipsis"}}},pieStyle:{stroke:"white",lineWidth:1},statistic:{title:{style:{fontWeight:300,color:"#4B535E",textAlign:"center",fontSize:"20px",lineHeight:1}},content:{style:{fontWeight:"bold",color:"rgba(44,53,66,0.85)",textAlign:"center",fontSize:"32px",lineHeight:1}}},theme:{components:{annotation:{text:{animate:!1}}}}}),MP=[1,0,0,0,1,0,0,0,1];function Qu(r,e){var t=K([],MP,!0);return ye.transform(t,r)}var AP=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getActiveElements=function(){var t=ye.getDelegationObject(this.context);if(t){var i=this.context.view,n=t.component,a=t.item,o=n.get("field");if(o){var s=i.geometries[0].elements;return s.filter(function(l){return l.getModel().data[o]===a.value})}}return[]},e.prototype.getActiveElementLabels=function(){var t=this.context.view,i=this.getActiveElements(),n=t.geometries[0].labelsContainer.getChildren();return n.filter(function(a){return i.find(function(o){return Ot(o.getData(),a.get("data"))})})},e.prototype.transfrom=function(t){t===void 0&&(t=7.5);var i=this.getActiveElements(),n=this.getActiveElementLabels();i.forEach(function(a,o){var s=n[o],l=a.geometry.coordinate;if(l.isPolar&&l.isTransposed){var u=ye.getAngle(a.getModel(),l),c=u.startAngle,h=u.endAngle,f=(c+h)/2,v=t,d=v*Math.cos(f),p=v*Math.sin(f);a.shape.setMatrix(Qu([["t",d,p]])),s.setMatrix(Qu([["t",d,p]]))}})},e.prototype.active=function(){this.transfrom()},e.prototype.reset=function(){this.transfrom(0)},e}(Mt);function FP(r){var e=r.event,t,i=e.target;return i&&(t=i.get("element")),t}var TP=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAnnotations=function(t){var i=t||this.context.view;return i.getController("annotation").option},e.prototype.getInitialAnnotation=function(){return this.initialAnnotation},e.prototype.init=function(){var t=this,i=this.context.view;i.removeInteraction("tooltip"),i.on("afterchangesize",function(){var n=t.getAnnotations(i);t.initialAnnotation=n})},e.prototype.change=function(t){var i=this.context,n=i.view,a=i.event;this.initialAnnotation||(this.initialAnnotation=this.getAnnotations());var o=A(a,["data","data"]);if(a.type.match("legend-item")){var s=ye.getDelegationObject(this.context),l=n.getGroupedFields()[0];if(s&&l){var u=s.item;o=n.getData().find(function(v){return v[l]===u.value})}}if(o){var c=A(t,"annotations",[]),h=A(t,"statistic",{});n.getController("annotation").clear(!0),C(c,function(v){typeof v=="object"&&n.annotation()[v.type](v)}),el(n,{statistic:h,plotType:"pie"},o),n.render(!0)}var f=FP(this.context);f&&f.shape.toFront()},e.prototype.reset=function(){var t=this.context.view,i=t.getController("annotation");i.clear(!0);var n=this.getInitialAnnotation();C(n,function(a){t.annotation()[a.type](a)}),t.render(!0)},e}(Mt),B0="pie-statistic";Z(B0,TP);at("pie-statistic-active",{start:[{trigger:"element:mouseenter",action:"pie-statistic:change"}],end:[{trigger:"element:mouseleave",action:"pie-statistic:reset"}]});Z("pie-legend",AP);at("pie-legend-active",{start:[{trigger:"legend-item:mouseenter",action:"pie-legend:active"}],end:[{trigger:"legend-item:mouseleave",action:"pie-legend:reset"}]});function EP(r,e){var t=null;return C(r,function(i){typeof i[e]=="number"&&(t+=i[e])}),t}function kP(r,e){var t;switch(r){case"inner":return t="-30%",J(e)&&e.endsWith("%")?parseFloat(e)*.01>0?t:e:e<0?e:t;case"outer":return t=12,J(e)&&e.endsWith("%")?parseFloat(e)*.01<0?t:e:e>0?e:t;default:return e}}function hs(r,e){return sc(cn(r,e),function(t){return t[e]===0})}function LP(r){var e=r.chart,t=r.options,i=t.data,n=t.angleField,a=t.colorField,o=t.color,s=t.pieStyle,l=t.shape,u=cn(i,n);if(hs(u,n)){var c="$$percentage$$";u=u.map(function(f){var v;return b(b({},f),(v={},v[c]=1/u.length,v))}),e.data(u);var h=L({},r,{options:{xField:"1",yField:c,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});te(h)}else{e.data(u);var h=L({},r,{options:{xField:"1",yField:n,seriesField:a,isStack:!0,interval:{color:o,shape:l,style:s},args:{zIndexReversed:!0,sortZIndex:!0}}});te(h)}return r}function IP(r){var e,t=r.chart,i=r.options,n=i.meta,a=i.colorField,o=L({},n);return t.scale(o,(e={},e[a]={type:"cat"},e)),r}function PP(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"theta",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}),r}function DP(r){var e=r.chart,t=r.options,i=t.label,n=t.colorField,a=t.angleField,o=e.geometries[0];if(!i)o.label(!1);else{var s=i.callback,l=Ct(i,["callback"]),u=Ht(l);if(u.content){var c=u.content;u.content=function(d,p,g){var y=d[n],m=d[a],w=e.getScaleByField(a),x=w==null?void 0:w.scale(m);return W(c)?c(b(b({},d),{percent:x}),p,g):J(c)?Jm(c,{value:m,name:y,percentage:nt(x)&&!R(m)?"".concat((x*100).toFixed(2),"%"):null}):c}}var h={inner:"",outer:"pie-outer",spider:"pie-spider"},f=u.type?h[u.type]:"pie-outer",v=u.layout?z(u.layout)?u.layout:[u.layout]:[];u.layout=(f?[{type:f}]:[]).concat(v),o.label({fields:n?[a,n]:[a],callback:s,cfg:b(b({},u),{offset:kP(u.type,u.offset),type:"pie"})})}return r}function R0(r){var e=r.innerRadius,t=r.statistic,i=r.angleField,n=r.colorField,a=r.meta,o=r.locale,s=il(o);if(e&&t){var l=L({},O0.statistic,t),u=l.title,c=l.content;return u!==!1&&(u=L({},{formatter:function(h){var f=h?h[n]:R(u.content)?s.get(["statistic","total"]):u.content,v=A(a,[n,"formatter"])||function(d){return d};return v(f)}},u)),c!==!1&&(c=L({},{formatter:function(h,f){var v=h?h[i]:EP(f,i),d=A(a,[i,"formatter"])||function(p){return p};return h||R(c.content)?d(v):c.content}},c)),L({},{statistic:{title:u,content:c}},r)}return r}function z0(r){var e=r.chart,t=r.options,i=R0(t),n=i.innerRadius,a=i.statistic;return e.getController("annotation").clear(!0),et(Lt())(r),n&&a&&el(e,{statistic:a,plotType:"pie"}),r}function OP(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.colorField,a=t.angleField,o=t.data;if(i===!1)e.tooltip(i);else if(e.tooltip(L({},i,{shared:!1})),hs(o,a)){var s=A(i,"fields"),l=A(i,"formatter");ge(A(i,"fields"))&&(s=[n,a],l=l||function(u){return{name:u[n],value:Ia(u[a])}}),e.geometries[0].tooltip(s.join("*"),Hi(s,l))}return r}function BP(r){var e=r.chart,t=r.options,i=R0(t),n=i.interactions,a=i.statistic,o=i.annotations;return C(n,function(s){var l,u;if(s.enable===!1)e.removeInteraction(s.type);else if(s.type==="pie-statistic-active"){var c=[];!((l=s.cfg)===null||l===void 0)&&l.start||(c=[{trigger:"element:mouseenter",action:"".concat(B0,":change"),arg:{statistic:a,annotations:o}}]),C((u=s.cfg)===null||u===void 0?void 0:u.start,function(h){c.push(b(b({},h),{arg:{statistic:a,annotations:o}}))}),e.interaction(s.type,L({},s.cfg,{start:c}))}else e.interaction(s.type,s.cfg||{})}),r}function N0(r){return et(Te("pieStyle"),LP,IP,ht,PP,Cn,OP,DP,ri,z0,BP,wt)(r)}var G0=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="pie",t}return e.getDefaultOptions=function(){return O0},e.prototype.changeData=function(t){this.chart.emit(lt.BEFORE_CHANGE_DATA,kt.fromData(this.chart,lt.BEFORE_CHANGE_DATA,null));var i=this.options,n=this.options.angleField,a=cn(i.data,n),o=cn(t,n);hs(a,n)||hs(o,n)?this.update({data:t}):(this.updateOption({data:t}),this.chart.data(o),z0({chart:this.chart,options:this.options}),this.chart.render(!0)),this.chart.emit(lt.AFTER_CHANGE_DATA,kt.fromData(this.chart,lt.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return N0},e}(ot),V0=["#FAAD14","#E8EDF3"],RP={percent:.2,color:V0,animation:{}};function Dh(r){var e=At(ki(r)?r:0,0,1);return[{current:"".concat(e),type:"current",percent:e},{current:"".concat(e),type:"target",percent:1}]}function Y0(r){var e=r.chart,t=r.options,i=t.percent,n=t.progressStyle,a=t.color,o=t.barWidthRatio;e.data(Dh(i));var s=L({},r,{options:{xField:"current",yField:"percent",seriesField:"type",widthRatio:o,interval:{style:n,color:J(a)?[a,V0[1]]:a},args:{zIndexReversed:!0,sortZIndex:!0}}});return te(s),e.tooltip(!1),e.axis(!1),e.legend(!1),r}function zP(r){var e=r.chart;return e.coordinate("rect").transpose(),r}function $0(r){return et(Y0,Pt({}),zP,wt,ht,Lt())(r)}var NP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="process",t}return e.getDefaultOptions=function(){return RP},e.prototype.changeData=function(t){this.updateOption({percent:t}),this.chart.changeData(Dh(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return $0},e}(ot);function GP(r){var e=r.chart,t=r.options,i=t.innerRadius,n=t.radius;return e.coordinate("theta",{innerRadius:i,radius:n}),r}function H0(r,e){var t=r.chart,i=r.options,n=i.innerRadius,a=i.statistic,o=i.percent,s=i.meta;if(t.getController("annotation").clear(!0),n&&a){var l=A(s,["percent","formatter"])||function(c){return"".concat((c*100).toFixed(2),"%")},u=a.content;u&&(u=L({},u,{content:R(u.content)?l(o):u.content})),el(t,{statistic:b(b({},a),{content:u}),plotType:"ring-progress"},{percent:o})}return e&&t.render(!0),r}function X0(r){return et(Y0,Pt({}),GP,H0,wt,ht,Lt())(r)}var VP={percent:.2,innerRadius:.8,radius:.98,color:["#FAAD14","#E8EDF3"],statistic:{title:!1,content:{style:{fontSize:"14px",fontWeight:300,fill:"#4D4D4D",textAlign:"center",textBaseline:"middle"}}},animation:{}},YP=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="ring-process",t}return e.getDefaultOptions=function(){return VP},e.prototype.changeData=function(t){this.chart.emit(lt.BEFORE_CHANGE_DATA,kt.fromData(this.chart,lt.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(Dh(t)),H0({chart:this.chart,options:this.options},!0),this.chart.emit(lt.AFTER_CHANGE_DATA,kt.fromData(this.chart,lt.AFTER_CHANGE_DATA,null))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return X0},e}(ot);function Qr(r,e){return $P(r)||HP(r,e)||XP()}function $P(r){if(Array.isArray(r))return r}function HP(r,e){var t=[],i=!0,n=!1,a=void 0;try{for(var o=r[Symbol.iterator](),s;!(i=(s=o.next()).done)&&(t.push(s.value),!(e&&t.length===e));i=!0);}catch(l){n=!0,a=l}finally{try{!i&&o.return!=null&&o.return()}finally{if(n)throw a}}return t}function XP(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Oh(r,e,t,i){r=r.filter(function(d,p){var g=e(d,p),y=t(d,p);return g!=null&&isFinite(g)&&y!=null&&isFinite(y)}),i&&r.sort(function(d,p){return e(d)-e(p)});for(var n=r.length,a=new Float64Array(n),o=new Float64Array(n),s=0,l=0,u,c,h,f=0;fn&&(c.splice(v+1,0,y),f=!0)}return f}}function Wa(r,e,t,i){var n=i-r*r,a=Math.abs(n)<1e-24?0:(t-r*e)/n,o=e-a*r;return[o,a]}function _P(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=0,o=0,s=0,l=0,u=0,c=0,h=t?+t[0]:1/0,f=t?+t[1]:-1/0;Ri(n,r,e,function(w,x){var S=Math.log(x),M=w*x;++a,o+=(x-o)/a,l+=(M-l)/a,c+=(w*M-c)/a,s+=(x*S-s)/a,u+=(M*S-u)/a,t||(wf&&(f=w))});var v=Wa(l/o,s/o,u/o,c/o),d=Qr(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(x){return p*Math.exp(g*x)},m=Xa(h,f,y);return m.a=p,m.b=g,m.predict=y,m.rSquared=An(n,r,e,o,y),m}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function W0(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=0,o=0,s=0,l=0,u=0,c=t?+t[0]:1/0,h=t?+t[1]:-1/0;Ri(n,r,e,function(m,w){++a,o+=(m-o)/a,s+=(w-s)/a,l+=(m*w-l)/a,u+=(m*m-u)/a,t||(mh&&(h=m))});var f=Wa(o,s,l,u),v=Qr(f,2),d=v[0],p=v[1],g=function(w){return p*w+d},y=[[c,g(c)],[h,g(h)]];return y.a=p,y.b=d,y.predict=g,y.rSquared=An(n,r,e,s,g),y}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function qP(r){r.sort(function(t,i){return t-i});var e=r.length/2;return e%1===0?(r[e-1]+r[e])/2:r[Math.floor(e)]}var Od=2,Bd=1e-12;function UP(){var r=function(a){return a[0]},e=function(a){return a[1]},t=.3;function i(n){for(var a=Oh(n,r,e,!0),o=Qr(a,4),s=o[0],l=o[1],u=o[2],c=o[3],h=s.length,f=Math.max(2,~~(t*h)),v=new Float64Array(h),d=new Float64Array(h),p=new Float64Array(h).fill(1),g=-1;++g<=Od;){for(var y=[0,f-1],m=0;ms[S]-w?x:S,F=0,T=0,k=0,E=0,I=0,B=1/Math.abs(s[M]-w||1),N=x;N<=S;++N){var Y=s[N],j=l[N],P=jP(Math.abs(w-Y)*B)*p[N],G=Y*P;F+=P,T+=G,k+=j*P,E+=j*G,I+=Y*G}var _=Wa(T/F,k/F,E/F,I/F),H=Qr(_,2),$=H[0],q=H[1];v[m]=$+q*w,d[m]=Math.abs(l[m]-v[m]),ZP(s,m+1,y)}if(g===Od)break;var it=qP(d);if(Math.abs(it)=1?Bd:(rt=1-tt*tt)*rt}return QP(s,v,u,c)}return i.bandwidth=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function jP(r){return(r=1-r*r*r)*r*r}function ZP(r,e,t){var i=r[e],n=t[0],a=t[1]+1;if(!(a>=r.length))for(;e>n&&r[a]-i<=i-r[n];)t[0]=++n,t[1]=a,++a}function QP(r,e,t,i){for(var n=r.length,a=[],o=0,s=0,l=[],u;of&&(f=x))});var d=Wa(s,l,u,c),p=Qr(d,2),g=p[0],y=p[1],m=function(S){return y*Math.log(S)/v+g},w=Xa(h,f,m);return w.a=y,w.b=g,w.predict=m,w.rSquared=An(a,r,e,l,m),w}return n.domain=function(a){return arguments.length?(i=a,n):i},n.x=function(a){return arguments.length?(r=a,n):r},n.y=function(a){return arguments.length?(e=a,n):e},n.base=function(a){return arguments.length?(t=a,n):t},n}function _0(){var r=function(a){return a[0]},e=function(a){return a[1]},t;function i(n){var a=Oh(n,r,e),o=Qr(a,4),s=o[0],l=o[1],u=o[2],c=o[3],h=s.length,f=0,v=0,d=0,p=0,g=0,y,m,w,x;for(y=0;yT&&(T=P))});var k=d-f*f,E=f*k-v*v,I=(g*f-p*v)/E,B=(p*k-g*v)/E,N=-I*f,Y=function(G){return G=G-u,I*G*G+B*G+N+c},j=Xa(F,T,Y);return j.a=I,j.b=B-2*I*u,j.c=N-B*u+I*u*u+c,j.predict=Y,j.rSquared=An(n,r,e,S,Y),j}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}function JP(){var r=function(o){return o[0]},e=function(o){return o[1]},t=3,i;function n(a){if(t===1){var o=W0().x(r).y(e).domain(i)(a);return o.coefficients=[o.b,o.a],delete o.a,delete o.b,o}if(t===2){var s=_0().x(r).y(e).domain(i)(a);return s.coefficients=[s.c,s.b,s.a],delete s.a,delete s.b,delete s.c,s}var l=Oh(a,r,e),u=Qr(l,4),c=u[0],h=u[1],f=u[2],v=u[3],d=c.length,p=[],g=[],y=t+1,m=0,w=0,x=i?+i[0]:1/0,S=i?+i[1]:-1/0;Ri(a,r,e,function(Y,j){++w,m+=(j-m)/w,i||(YS&&(S=Y))});var M,F,T,k,E;for(M=0;M=0;--a)for(s=e[a],l=1,n[a]+=s,o=1;o<=a;++o)l*=(a+1-o)/o,n[a-o]+=s*Math.pow(t,o)*l;return n[0]+=i,n}function eD(r){var e=r.length-1,t=[],i,n,a,o,s;for(i=0;iMath.abs(r[i][o])&&(o=n);for(a=i;a=i;a--)r[a][n]-=r[a][i]*r[i][n]/r[i][i]}for(n=e-1;n>=0;--n){for(s=0,a=n+1;af&&(f=w))});var v=Wa(o,s,l,u),d=Qr(v,2),p=d[0],g=d[1];p=Math.exp(p);var y=function(x){return p*Math.pow(x,g)},m=Xa(h,f,y);return m.a=p,m.b=g,m.predict=y,m.rSquared=An(n,r,e,c,y),m}return i.domain=function(n){return arguments.length?(t=n,i):t},i.x=function(n){return arguments.length?(r=n,i):r},i.y=function(n){return arguments.length?(e=n,i):e},i}var iD={exp:_P,linear:W0,loess:UP,log:KP,poly:JP,pow:rD,quad:_0};function nD(r,e){var t=10,i={regionStyle:[{position:{start:[r,"max"],end:["max",e]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:["min","max"],end:[r,e]},style:{fill:"#a3dda1",opacity:.4}},{position:{start:["min",e],end:[r,"min"]},style:{fill:"#d8d0c0",opacity:.4}},{position:{start:[r,e],end:["max","min"]},style:{fill:"#a3dda1",opacity:.4}}],lineStyle:{stroke:"#9ba29a",lineWidth:1},labelStyle:[{position:["max",e],offsetX:-t,offsetY:-t,style:{textAlign:"right",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:-t,style:{textAlign:"left",textBaseline:"bottom",fontSize:14,fill:"#ccc"}},{position:["min",e],offsetX:t,offsetY:t,style:{textAlign:"left",textBaseline:"top",fontSize:14,fill:"#ccc"}},{position:["max",e],offsetX:-t,offsetY:t,style:{textAlign:"right",textBaseline:"top",fontSize:14,fill:"#ccc"}}]};return i}var aD=function(r,e){var t=e.view,i=e.options,n=i.xField,a=i.yField,o=t.getScaleByField(n),s=t.getScaleByField(a),l=r.map(function(u){return t.getCoordinate().convert({x:o.scale(u[0]),y:s.scale(u[1])})});return wL(l,!1)},oD=function(r){var e=r.options,t=e.xField,i=e.yField,n=e.data,a=e.regressionLine,o=a.type,s=o===void 0?"linear":o,l=a.algorithm,u=a.equation,c,h=null;if(l)c=z(l)?l:l(n),h=u;else{var f=iD[s]().x(function(v){return v[t]}).y(function(v){return v[i]});c=f(n),h=lD(s,c)}return[aD(c,r),h]},sD=function(r){var e,t=r.meta,i=t===void 0?{}:t,n=r.xField,a=r.yField,o=r.data,s=o[0][n],l=o[0][a],u=s>0,c=l>0;function h(f,v){var d=A(i,[f]);function p(y){return A(d,y)}var g={};return v==="x"?(nt(s)&&(nt(p("min"))||(g.min=u?0:s*2),nt(p("max"))||(g.max=u?s*2:0)),g):(nt(l)&&(nt(p("min"))||(g.min=c?0:l*2),nt(p("max"))||(g.max=c?l*2:0)),g)}return b(b({},i),(e={},e[n]=b(b({},i[n]),h(n,"x")),e[a]=b(b({},i[a]),h(a,"y")),e))};function lD(r,e){var t,i,n,a=function(u,c){return c===void 0&&(c=4),Math.round(u*Math.pow(10,c))/Math.pow(10,c)},o=function(u){return Number.isFinite(u)?a(u):"?"};switch(r){case"linear":return"y = ".concat(o(e.a),"x + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"exp":return"y = ".concat(o(e.a),"e^(").concat(o(e.b),"x), R^2 = ").concat(o(e.rSquared));case"log":return"y = ".concat(o(e.a),"ln(x) + ").concat(o(e.b),", R^2 = ").concat(o(e.rSquared));case"quad":return"y = ".concat(o(e.a),"x^2 + ").concat(o(e.b),"x + ").concat(o(e.c),", R^2 = ").concat(o(e.rSquared));case"poly":for(var s="y = ".concat(o((t=e.coefficients)===null||t===void 0?void 0:t[0])," + ").concat(o((i=e.coefficients)===null||i===void 0?void 0:i[1]),"x + ").concat(o((n=e.coefficients)===null||n===void 0?void 0:n[2]),"x^2"),l=3;l
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}},showCrosshairs:!0,crosshairs:{type:"x"}},FD={appendPadding:2,tooltip:b({},J0),animation:{}};function TD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.areaStyle,o=t.point,s=t.line,l=o==null?void 0:o.state,u=zi(i);e.data(u);var c=L({},r,{options:{xField:Ea,yField:Ji,area:{color:n,style:a},line:s,point:o}}),h=L({},c,{options:{tooltip:!1}}),f=L({},c,{options:{tooltip:!1,state:l}});return nl(c),Mn(h),Ee(f),e.axis(!1),e.legend(!1),r}function Fn(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.data,s=zi(o);return et(Pt((e={},e[Ea]=n,e[Ji]=a,e),(t={},t[Ea]={type:"cat"},t[Ji]=wh(s,Ji),t)))(r)}function tx(r){return et(Te("areaStyle"),TD,Fn,Vt,ht,wt,Lt())(r)}var ED={appendPadding:2,tooltip:b({},J0),color:"l(90) 0:#E5EDFE 1:#ffffff",areaStyle:{fillOpacity:.6},line:{size:1,color:"#5B8FF9"},animation:{}},kD=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-area",t}return e.getDefaultOptions=function(){return ED},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Fn({chart:n,options:a}),n.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return tx},e}(ot);function LD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.columnStyle,o=t.columnWidthRatio,s=zi(i);e.data(s);var l=L({},r,{options:{xField:Ea,yField:Ji,widthRatio:o,interval:{style:a,color:n}}});return te(l),e.axis(!1),e.legend(!1),e.interaction("element-active"),r}function ex(r){return et(ht,Te("columnStyle"),LD,Fn,Vt,wt,Lt())(r)}var ID={showTitle:!1,shared:!0,showMarkers:!1,customContent:function(r,e){return"".concat(A(e,[0,"data","y"],0))},containerTpl:'
    ',itemTpl:"{value}",domStyles:{"g2-tooltip":{padding:"2px 4px",fontSize:"10px"}}},PD={appendPadding:2,tooltip:b({},ID),animation:{}},DD=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-column",t}return e.getDefaultOptions=function(){return PD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Fn({chart:n,options:a}),n.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return ex},e}(ot);function OD(r){var e=r.chart,t=r.options,i=t.data,n=t.color,a=t.lineStyle,o=t.point,s=o==null?void 0:o.state,l=zi(i);e.data(l);var u=L({},r,{options:{xField:Ea,yField:Ji,line:{color:n,style:a},point:o}}),c=L({},u,{options:{tooltip:!1,state:s}});return Mn(u),Ee(c),e.axis(!1),e.legend(!1),r}function rx(r){return et(OD,Fn,ht,Vt,wt,Lt())(r)}var BD=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="tiny-line",t}return e.getDefaultOptions=function(){return FD},e.prototype.changeData=function(t){this.updateOption({data:t});var i=this,n=i.chart,a=i.options;Fn({chart:n,options:a}),n.changeData(zi(t))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return rx},e}(ot),RD={line:h0,pie:N0,column:cl,bar:p0,area:f0,gauge:L0,"tiny-line":rx,"tiny-column":ex,"tiny-area":tx,"ring-progress":X0,progress:$0,scatter:U0,histogram:P0,funnel:C0,stock:K0},zD={line:D0,pie:G0,column:g0,bar:BI,area:fI,gauge:dP,"tiny-line":BD,"tiny-column":DD,"tiny-area":kD,"ring-progress":YP,progress:NP,scatter:yD,histogram:bP,funnel:oP,stock:AD},ND={pie:{label:!1},column:{tooltip:{showMarkers:!1}},bar:{tooltip:{showMarkers:!1}}};function Ku(r,e,t){var i=zD[r];if(!i){console.error("could not find ".concat(r," plot"));return}var n=RD[r];n({chart:e,options:L({},i.getDefaultOptions(),A(ND,r,{}),t)})}function GD(r){var e=r.chart,t=r.options,i=t.views,n=t.legend;return C(i,function(a){var o=a.region,s=a.data,l=a.meta,u=a.axes,c=a.coordinate,h=a.interactions,f=a.annotations,v=a.tooltip,d=a.geometries,p=e.createView({region:o});p.data(s);var g={};u&&C(u,function(y,m){g[m]=gt(y,de)}),g=L({},l,g),p.scale(g),u?C(u,function(y,m){p.axis(m,y)}):p.axis(!1),p.coordinate(c),C(d,function(y){var m=xe({chart:p,options:y}).ext,w=y.adjust;w&&m.geometry.adjust(w)}),C(h,function(y){y.enable===!1?p.removeInteraction(y.type):p.interaction(y.type,y.cfg)}),C(f,function(y){p.annotation()[y.type](b({},y))}),typeof a.animation=="boolean"?p.animate(!1):(p.animate(!0),C(p.geometries,function(y){y.animate(a.animation)})),v&&(p.interaction("tooltip"),p.tooltip(v))}),n?C(n,function(a,o){e.legend(o,a)}):e.legend(!1),e.tooltip(t.tooltip),r}function VD(r){var e=r.chart,t=r.options,i=t.plots,n=t.data,a=n===void 0?[]:n;return C(i,function(o){var s=o.type,l=o.region,u=o.options,c=u===void 0?{}:u,h=o.top,f=c.tooltip;if(h){Ku(s,e,b(b({},c),{data:a}));return}var v=e.createView(b({region:l},gt(c,s0)));f&&v.interaction("tooltip"),Ku(s,v,b({data:a},c))}),r}function YD(r){var e=r.chart,t=r.options;return e.option("slider",t.slider),r}function $D(r){return et(wt,GD,VD,Tt,wt,ht,Vt,YD,Lt())(r)}function HD(r,e){var t=r.getModel(),i=t.data,n;return z(i)?n=i[0][e]:n=i[e],n}function XD(r){var e=ss(r);C(e,function(t){t.hasState("active")&&t.setState("active",!1),t.hasState("selected")&&t.setState("selected",!1),t.hasState("inactive")&&t.setState("inactive",!1)})}var WD=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getAssociationItems=function(t,i){var n,a=this.context.event,o=i||{},s=o.linkField,l=o.dim,u=[];if(!((n=a.data)===null||n===void 0)&&n.data){var c=a.data.data;C(t,function(h){var f,v,d=s;if(l==="x"?d=h.getXScale().field:l==="y"?d=(f=h.getYScales().find(function(g){return g.field===d}))===null||f===void 0?void 0:f.field:d||(d=(v=h.getGroupScales()[0])===null||v===void 0?void 0:v.field),!!d){var p=Ft(ss(h),function(g){var y=!1,m=!1,w=z(c)?A(c[0],d):A(c,d);return HD(g,d)===w?y=!0:m=!0,{element:g,view:h,active:y,inactive:m}});u.push.apply(u,p)}})}return u},e.prototype.showTooltip=function(t){var i=Ed(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){if(a.active){var o=a.element.shape.getCanvasBBox();a.view.showTooltip({x:o.minX+o.width/2,y:o.minY+o.height/2})}})},e.prototype.hideTooltip=function(){var t=Ed(this.context.view);C(t,function(i){i.hideTooltip()})},e.prototype.active=function(t){var i=Xn(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.active,s=a.element;o&&s.setState("active",!0)})},e.prototype.selected=function(t){var i=Xn(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.active,s=a.element;o&&s.setState("selected",!0)})},e.prototype.highlight=function(t){var i=Xn(this.context.view),n=this.getAssociationItems(i,t);C(n,function(a){var o=a.inactive,s=a.element;o&&s.setState("inactive",!0)})},e.prototype.reset=function(){var t=Xn(this.context.view);C(t,function(i){XD(i)})},e}(Mt);Z("association",WD);at("association-active",{start:[{trigger:"element:mouseenter",action:"association:active"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});at("association-selected",{start:[{trigger:"element:mouseenter",action:"association:selected"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});at("association-highlight",{start:[{trigger:"element:mouseenter",action:"association:highlight"}],end:[{trigger:"element:mouseleave",action:"association:reset"}]});at("association-tooltip",{start:[{trigger:"element:mousemove",action:"association:showTooltip"}],end:[{trigger:"element:mouseleave",action:"association:hideTooltip"}]});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="mix",t}return e.prototype.getSchemaAdaptor=function(){return $D},e})(ot);var Rd;(function(r){r.DEV="DEV",r.BETA="BETA",r.STABLE="STABLE"})(Rd||(Rd={}));var ir="first-axes-view",nr="second-axes-view",di="series-field-key";function ix(r,e,t,i,n){var a=[];e.forEach(function(h){i.forEach(function(f){var v,d=(v={},v[r]=f[r],v[t]=h,v[h]=f[h],v);a.push(d)})});var o=Object.values(Se(a,t)),s=o[0],l=s===void 0?[]:s,u=o[1],c=u===void 0?[]:u;return n?[l.reverse(),c.reverse()]:[l,c]}function yr(r){return r!=="vertical"}function _D(r,e,t){var i=e[0],n=e[1],a=i.autoPadding,o=n.autoPadding,s=r.__axisPosition,l=s.layout,u=s.position;if(yr(l)&&u==="top"&&(i.autoPadding=t.instance(a.top,0,a.bottom,a.left),n.autoPadding=t.instance(o.top,a.left,o.bottom,0)),yr(l)&&u==="bottom"&&(i.autoPadding=t.instance(a.top,a.right/2+5,a.bottom,a.left),n.autoPadding=t.instance(o.top,o.right,o.bottom,a.right/2+5)),!yr(l)&&u==="bottom"){var c=a.left>=o.left?a.left:o.left;i.autoPadding=t.instance(a.top,a.right,a.bottom/2+5,c),n.autoPadding=t.instance(a.bottom/2+5,o.right,o.bottom,c)}if(!yr(l)&&u==="top"){var c=a.left>=o.left?a.left:o.left;i.autoPadding=t.instance(a.top,a.right,0,c),n.autoPadding=t.instance(0,o.right,a.top,c)}}function qD(r){var e=r.chart,t=r.options,i=t.data,n=t.xField,a=t.yField,o=t.color,s=t.barStyle,l=t.widthRatio,u=t.legend,c=t.layout,h=ix(n,a,di,i,yr(c));u?e.legend(di,u):u===!1&&e.legend(!1);var f,v,d=h[0],p=h[1];yr(c)?(f=e.createView({region:{start:{x:0,y:0},end:{x:.5,y:1}},id:ir}),f.coordinate().transpose().reflect("x"),v=e.createView({region:{start:{x:.5,y:0},end:{x:1,y:1}},id:nr}),v.coordinate().transpose(),f.data(d),v.data(p)):(f=e.createView({region:{start:{x:0,y:0},end:{x:1,y:.5}},id:ir}),v=e.createView({region:{start:{x:0,y:.5},end:{x:1,y:1}},id:nr}),v.coordinate().reflect("y"),f.data(d),v.data(p));var g=L({},r,{chart:f,options:{widthRatio:l,xField:n,yField:a[0],seriesField:di,interval:{color:o,style:s}}});te(g);var y=L({},r,{chart:v,options:{xField:n,yField:a[1],seriesField:di,widthRatio:l,interval:{color:o,style:s}}});return te(y),r}function UD(r){var e,t,i,n=r.options,a=r.chart,o=n.xAxis,s=n.yAxis,l=n.xField,u=n.yField,c=ut(a,ir),h=ut(a,nr),f={};return gn((n==null?void 0:n.meta)||{}).map(function(v){A(n==null?void 0:n.meta,[v,"alias"])&&(f[v]=n.meta[v].alias)}),a.scale((e={},e[di]={sync:!0,formatter:function(v){return A(f,v,v)}},e)),Pt((t={},t[l]=o,t[u[0]]=s[u[0]],t))(L({},r,{chart:c})),Pt((i={},i[l]=o,i[u[1]]=s[u[1]],i))(L({},r,{chart:h})),r}function jD(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField,s=t.layout,l=ut(e,ir),u=ut(e,nr);return(i==null?void 0:i.position)==="bottom"?u.axis(a,b(b({},i),{label:{formatter:function(){return""}}})):u.axis(a,!1),i===!1?l.axis(a,!1):l.axis(a,b({position:yr(s)?"top":"bottom"},i)),n===!1?(l.axis(o[0],!1),u.axis(o[1],!1)):(l.axis(o[0],n[o[0]]),u.axis(o[1],n[o[1]])),e.__axisPosition={position:l.getOptions().axes[a].position,layout:s},r}function ZD(r){var e=r.chart;return Tt(L({},r,{chart:ut(e,ir)})),Tt(L({},r,{chart:ut(e,nr)})),r}function QD(r){var e=r.chart,t=r.options,i=t.yField,n=t.yAxis;return Li(L({},r,{chart:ut(e,ir),options:{yAxis:n[i[0]]}})),Li(L({},r,{chart:ut(e,nr),options:{yAxis:n[i[1]]}})),r}function KD(r){var e=r.chart;return ht(L({},r,{chart:ut(e,ir)})),ht(L({},r,{chart:ut(e,nr)})),ht(r),r}function JD(r){var e=r.chart;return wt(L({},r,{chart:ut(e,ir)})),wt(L({},r,{chart:ut(e,nr)})),r}function tO(r){var e=this,t,i,n=r.chart,a=r.options,o=a.label,s=a.yField,l=a.layout,u=ut(n,ir),c=ut(n,nr),h=Jt(u,"interval"),f=Jt(c,"interval");if(!o)h.label(!1),f.label(!1);else{var v=o.callback,d=Ct(o,["callback"]);d.position||(d.position="middle"),d.offset===void 0&&(d.offset=2);var p=b({},d);if(yr(l)){var g=((t=p.style)===null||t===void 0?void 0:t.textAlign)||(d.position==="middle"?"center":"left");d.style=L({},d.style,{textAlign:g});var y={left:"right",right:"left",center:"center"};p.style=L({},p.style,{textAlign:y[g]})}else{var m={top:"bottom",bottom:"top",middle:"middle"};typeof d.position=="string"?d.position=m[d.position]:typeof d.position=="function"&&(d.position=function(){for(var S=[],M=0;M1?"".concat(e,"_").concat(t):"".concat(e)}function ox(r){var e=r.data,t=r.xField,i=r.measureField,n=r.rangeField,a=r.targetField,o=r.layout,s=[],l=[];e.forEach(function(h,f){var v=[h[n]].flat();v.sort(function(g,y){return g-y}),v.forEach(function(g,y){var m,w=y===0?g:v[y]-v[y-1];s.push((m={rKey:"".concat(n,"_").concat(y)},m[t]=t?h[t]:String(f),m[n]=w,m))});var d=[h[i]].flat();d.forEach(function(g,y){var m;s.push((m={mKey:zd(d,i,y)},m[t]=t?h[t]:String(f),m[i]=g,m))});var p=[h[a]].flat();p.forEach(function(g,y){var m;s.push((m={tKey:zd(p,a,y)},m[t]=t?h[t]:String(f),m[a]=g,m))}),l.push(h[n],h[i],h[a])});var u=Math.min.apply(Math,l.flat(1/0)),c=Math.max.apply(Math,l.flat(1/0));return u=u>0?0:u,o==="vertical"&&s.reverse(),{min:u,max:c,ds:s}}function hO(r){var e=r.chart,t=r.options,i=t.bulletStyle,n=t.targetField,a=t.rangeField,o=t.measureField,s=t.xField,l=t.color,u=t.layout,c=t.size,h=t.label,f=ox(t),v=f.min,d=f.max,p=f.ds;e.data(p);var g=L({},r,{options:{xField:s,yField:a,seriesField:"rKey",isStack:!0,label:A(h,"range"),interval:{color:A(l,"range"),style:A(i,"range"),size:A(c,"range")}}});te(g),e.geometries[0].tooltip(!1);var y=L({},r,{options:{xField:s,yField:o,seriesField:"mKey",isStack:!0,label:A(h,"measure"),interval:{color:A(l,"measure"),style:A(i,"measure"),size:A(c,"measure")}}});te(y);var m=L({},r,{options:{xField:s,yField:n,seriesField:"tKey",label:A(h,"target"),point:{color:A(l,"target"),style:A(i,"target"),size:W(A(c,"target"))?function(w){return A(c,"target")(w)/2}:A(c,"target")/2,shape:u==="horizontal"?"line":"hyphen"}}});return Ee(m),u==="horizontal"&&e.coordinate().transpose(),b(b({},r),{ext:{data:{min:v,max:d}}})}function sx(r){var e,t,i=r.options,n=r.ext,a=i.xAxis,o=i.yAxis,s=i.targetField,l=i.rangeField,u=i.measureField,c=i.xField,h=n.data;return et(Pt((e={},e[c]=a,e[u]=o,e),(t={},t[u]={min:h==null?void 0:h.min,max:h==null?void 0:h.max,sync:!0},t[s]={sync:"".concat(u)},t[l]={sync:"".concat(u)},t)))(r)}function fO(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.measureField,s=t.rangeField,l=t.targetField;return e.axis("".concat(s),!1),e.axis("".concat(l),!1),i===!1?e.axis("".concat(a),!1):e.axis("".concat(a),i),n===!1?e.axis("".concat(o),!1):e.axis("".concat(o),n),r}function vO(r){var e=r.chart,t=r.options,i=t.legend;return e.removeInteraction("legend-filter"),e.legend(i),e.legend("rKey",!1),e.legend("mKey",!1),e.legend("tKey",!1),r}function dO(r){var e=r.chart,t=r.options,i=t.label,n=t.measureField,a=t.targetField,o=t.rangeField,s=e.geometries,l=s[0],u=s[1],c=s[2];return A(i,"range")?l.label("".concat(o),b({layout:[{type:"limit-in-plot"}]},Ht(i.range))):l.label(!1),A(i,"measure")?u.label("".concat(n),b({layout:[{type:"limit-in-plot"}]},Ht(i.measure))):u.label(!1),A(i,"target")?c.label("".concat(a),b({layout:[{type:"limit-in-plot"}]},Ht(i.target))):c.label(!1),r}function pO(r){et(hO,sx,fO,vO,ht,dO,Vt,Tt,wt)(r)}var gO=L({},ot.getDefaultOptions(),{layout:"horizontal",size:{range:30,measure:20,target:20},xAxis:{tickLine:!1,line:null},bulletStyle:{range:{fillOpacity:.5}},label:{measure:{position:"right"}},tooltip:{showMarkers:!1}});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="bullet",t}return e.getDefaultOptions=function(){return gO},e.prototype.changeData=function(t){this.updateOption({data:t});var i=ox(this.options),n=i.min,a=i.max,o=i.ds;sx({options:this.options,ext:{data:{min:n,max:a}},chart:this.chart}),this.chart.changeData(o)},e.prototype.getSchemaAdaptor=function(){return pO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var yO={y:0,nodeWidthRatio:.05,weight:!1,nodePaddingRatio:.1,id:function(r){return r.id},source:function(r){return r.source},target:function(r){return r.target},sourceWeight:function(r){return r.value||1},targetWeight:function(r){return r.value||1},sortBy:null};function mO(r,e,t){C(r,function(i,n){i.inEdges=e.filter(function(a){return"".concat(t.target(a))==="".concat(n)}),i.outEdges=e.filter(function(a){return"".concat(t.source(a))==="".concat(n)}),i.edges=i.outEdges.concat(i.inEdges),i.frequency=i.edges.length,i.value=0,i.inEdges.forEach(function(a){i.value+=t.targetWeight(a)}),i.outEdges.forEach(function(a){i.value+=t.sourceWeight(a)})})}function xO(r,e){var t={weight:function(n,a){return a.value-n.value},frequency:function(n,a){return a.frequency-n.frequency},id:function(n,a){return"".concat(e.id(n)).localeCompare("".concat(e.id(a)))}},i=t[e.sortBy];!i&&W(e.sortBy)&&(i=e.sortBy),i&&r.sort(i)}function wO(r,e){var t=r.length;if(!t)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var i=e.nodePaddingRatio;if(i<0||i>=1)throw new TypeError("Invalid nodePaddingRatio: it must be in range [0, 1)!");var n=i/(2*t),a=e.nodeWidthRatio;if(a<=0||a>=1)throw new TypeError("Invalid nodeWidthRatio: it must be in range (0, 1)!");var o=0;r.forEach(function(l){o+=l.value}),r.forEach(function(l){l.weight=l.value/o,l.width=l.weight*(1-i),l.height=a}),r.forEach(function(l,u){for(var c=0,h=u-1;h>=0;h--)c+=r[h].width+2*n;var f=l.minX=n+c,v=l.maxX=l.minX+l.width,d=l.minY=e.y-a/2,p=l.maxY=d+a;l.x=[f,v,v,f],l.y=[d,d,p,p]})}else{var s=1/t;r.forEach(function(l,u){l.x=(u+.5)*s,l.y=e.y})}return r}function bO(r,e,t){if(t.weight){var i={};C(r,function(n,a){i[a]=n.value}),e.forEach(function(n){var a=t.source(n),o=t.target(n),s=r[a],l=r[o];if(s&&l){var u=i[a],c=t.sourceWeight(n),h=s.minX+(s.value-u)/s.value*s.width,f=h+c/s.value*s.width;i[a]-=c;var v=i[o],d=t.targetWeight(n),p=l.minX+(l.value-v)/l.value*l.width,g=p+d/l.value*l.width;i[o]-=d;var y=t.y;n.x=[h,f,p,g],n.y=[y,y,y,y],n.source=s,n.target=l}})}else e.forEach(function(n){var a=r[t.source(n)],o=r[t.target(n)];a&&o&&(n.x=[a.x,o.x],n.y=[a.y,o.y],n.source=a,n.target=o)});return e}function SO(r){return xt({},yO,r)}function CO(r,e){var t=SO(r),i={},n=e.nodes,a=e.links;n.forEach(function(l){var u=t.id(l);i[u]=l}),mO(i,a,t),xO(n,t);var o=wO(n,t),s=bO(i,a,t);return{nodes:o,links:s}}var lx="x",ux="y",cx="name",hx="source",MO={nodeStyle:{opacity:1,fillOpacity:1,lineWidth:1},edgeStyle:{opacity:.5,lineWidth:2},label:{fields:["x","name"],callback:function(r,e){var t=(r[0]+r[1])/2,i=t>.5?-4:4;return{offsetX:i,content:e}},labelEmit:!0,style:{fill:"#8c8c8c"}},tooltip:{showTitle:!1,showMarkers:!1,fields:["source","target","value","isNode"],showContent:function(r){return!A(r,[0,"data","isNode"])},formatter:function(r){var e=r.source,t=r.target,i=r.value;return{name:"".concat(e," -> ").concat(t),value:i}}},interactions:[{type:"element-active"}],weight:!0,nodePaddingRatio:.1,nodeWidthRatio:.05};function AO(r){var e=r.options,t=e.data,i=e.sourceField,n=e.targetField,a=e.weightField,o=e.nodePaddingRatio,s=e.nodeWidthRatio,l=e.rawFields,u=l===void 0?[]:l,c=Um(t,i,n,a),h=CO({weight:!0,nodePaddingRatio:o,nodeWidthRatio:s},c),f=h.nodes,v=h.links,d=f.map(function(g){return b(b({},gt(g,K(["id","x","y","name"],u,!0))),{isNode:!0})}),p=v.map(function(g){return b(b({source:g.source.name,target:g.target.name,name:g.source.name||g.target.name},gt(g,K(["x","y","value"],u,!0))),{isNode:!1})});return b(b({},r),{ext:b(b({},r.ext),{chordData:{nodesData:d,edgesData:p}})})}function FO(r){var e,t=r.chart;return t.scale((e={x:{sync:!0,nice:!0},y:{sync:!0,nice:!0,max:1}},e[cx]={sync:"color"},e[hx]={sync:"color"},e)),r}function TO(r){var e=r.chart;return e.axis(!1),r}function EO(r){var e=r.chart;return e.legend(!1),r}function kO(r){var e=r.chart,t=r.options,i=t.tooltip;return e.tooltip(i),r}function LO(r){var e=r.chart;return e.coordinate("polar").reflect("y"),r}function IO(r){var e=r.chart,t=r.options,i=r.ext.chordData.nodesData,n=t.nodeStyle,a=t.label,o=t.tooltip,s=e.createView();return s.data(i),al({chart:s,options:{xField:lx,yField:ux,seriesField:cx,polygon:{style:n},label:a,tooltip:o}}),r}function PO(r){var e=r.chart,t=r.options,i=r.ext.chordData.edgesData,n=t.edgeStyle,a=t.tooltip,o=e.createView();o.data(i);var s={xField:lx,yField:ux,seriesField:hx,edge:{style:n,shape:"arc"},tooltip:a};return n0({chart:o,options:s}),r}function DO(r){var e=r.chart,t=r.options,i=t.animation;return Ya(e,i,dL(e)),r}function OO(r){return et(ht,AO,LO,FO,TO,EO,kO,PO,IO,Tt,ri,DO)(r)}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="chord",t}return e.getDefaultOptions=function(){return MO},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return OO},e})(ot);var BO=["x","y","r","name","value","path","depth"],RO={colorField:"name",autoFit:!0,pointStyle:{lineWidth:0,stroke:"#fff"},legend:!1,hierarchyConfig:{size:[1,1],padding:0},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1}},Nd=4,zO=0,Gd=5,Vd="drilldown-bread-crumb",NO={position:"top-left",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}},ka="hierarchy-data-transform-params",GO=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.name="drill-down",t.historyCache=[],t.breadCrumbGroup=null,t.breadCrumbCfg=NO,t}return e.prototype.click=function(){var t=A(this.context,["event","data","data"]);if(!t)return!1;this.drill(t),this.drawBreadCrumb()},e.prototype.resetPosition=function(){if(this.breadCrumbGroup){var t=this.context.view.getCoordinate(),i=this.breadCrumbGroup,n=i.getBBox(),a=this.getButtonCfg().position,o={x:t.start.x,y:t.end.y-(n.height+Gd*2)};t.isPolar&&(o={x:0,y:0}),a==="bottom-left"&&(o={x:t.start.x,y:t.start.y});var s=ye.transform(null,[["t",o.x+zO,o.y+n.height+Gd]]);i.setMatrix(s)}},e.prototype.back=function(){$t(this.historyCache)&&this.backTo(this.historyCache.slice(0,-1))},e.prototype.reset=function(){this.historyCache[0]&&this.backTo(this.historyCache.slice(0,1)),this.historyCache=[],this.hideCrumbGroup()},e.prototype.drill=function(t){var i=this.context.view,n=A(i,["interactions","drill-down","cfg","transformData"],function(u){return u}),a=n(b({data:t.data},t[ka]));i.changeData(a);for(var o=[],s=t;s;){var l=s.data;o.unshift({id:"".concat(l.name,"_").concat(s.height,"_").concat(s.depth),name:l.name,children:n(b({data:l},t[ka]))}),s=s.parent}this.historyCache=(this.historyCache||[]).slice(0,-1).concat(o)},e.prototype.backTo=function(t){if(!(!t||t.length<=0)){var i=this.context.view,n=Gt(t).children;i.changeData(n),t.length>1?(this.historyCache=t,this.drawBreadCrumb()):(this.historyCache=[],this.hideCrumbGroup())}},e.prototype.getButtonCfg=function(){var t=this.context.view,i=A(t,["interactions","drill-down","cfg","drillDownConfig"]);return L(this.breadCrumbCfg,i==null?void 0:i.breadCrumb,this.cfg)},e.prototype.drawBreadCrumb=function(){this.drawBreadCrumbGroup(),this.resetPosition(),this.breadCrumbGroup.show()},e.prototype.drawBreadCrumbGroup=function(){var t=this,i=this.getButtonCfg(),n=this.historyCache;this.breadCrumbGroup?this.breadCrumbGroup.clear():this.breadCrumbGroup=this.context.view.foregroundGroup.addGroup({name:Vd});var a=0;n.forEach(function(o,s){var l=t.breadCrumbGroup.addShape({type:"text",id:o.id,name:"".concat(Vd,"_").concat(o.name,"_text"),attrs:b(b({text:s===0&&!R(i.rootText)?i.rootText:o.name},i.textStyle),{x:a,y:0})}),u=l.getBBox();if(a+=u.width+Nd,l.on("click",function(f){var v,d=f.target.get("id");if(d!==((v=Gt(n))===null||v===void 0?void 0:v.id)){var p=n.slice(0,n.findIndex(function(g){return g.id===d})+1);t.backTo(p)}}),l.on("mouseenter",function(f){var v,d=f.target.get("id");d!==((v=Gt(n))===null||v===void 0?void 0:v.id)?l.attr(i.activeTextStyle):l.attr({cursor:"default"})}),l.on("mouseleave",function(){l.attr(i.textStyle)}),s=0;)e+=t[i].value;r.value=e}function jO(){return this.eachAfter(UO)}function ZO(r,e){let t=-1;for(const i of this)r.call(e,i,++t,this);return this}function QO(r,e){for(var t=this,i=[t],n,a,o=-1;t=i.pop();)if(r.call(e,t,++o,this),n=t.children)for(a=n.length-1;a>=0;--a)i.push(n[a]);return this}function KO(r,e){for(var t=this,i=[t],n=[],a,o,s,l=-1;t=i.pop();)if(n.push(t),a=t.children)for(o=0,s=a.length;o=0;)t+=i[n].value;e.value=t})}function eB(r){return this.eachBefore(function(e){e.children&&e.children.sort(r)})}function rB(r){for(var e=this,t=iB(e,r),i=[e];e!==t;)e=e.parent,i.push(e);for(var n=i.length;r!==t;)i.splice(n,0,r),r=r.parent;return i}function iB(r,e){if(r===e)return r;var t=r.ancestors(),i=e.ancestors(),n=null;for(r=t.pop(),e=i.pop();r===e;)n=r,r=t.pop(),e=i.pop();return n}function nB(){for(var r=this,e=[r];r=r.parent;)e.push(r);return e}function aB(){return Array.from(this)}function oB(){var r=[];return this.eachBefore(function(e){e.children||r.push(e)}),r}function sB(){var r=this,e=[];return r.each(function(t){t!==r&&e.push({source:t.parent,target:t})}),e}function*lB(){var r=this,e,t=[r],i,n,a;do for(e=t.reverse(),t=[];r=e.pop();)if(yield r,i=r.children)for(n=0,a=i.length;n=0;--s)n.push(a=o[s]=new vn(o[s])),a.parent=i,a.depth=i.depth+1;return t.eachBefore(fx)}function uB(){return Tn(this).eachBefore(fB)}function cB(r){return r.children}function hB(r){return Array.isArray(r)?r[1]:null}function fB(r){r.data.value!==void 0&&(r.value=r.data.value),r.data=r.data.data}function fx(r){var e=0;do r.height=e;while((r=r.parent)&&r.height<++e)}function vn(r){this.data=r,this.depth=this.height=0,this.parent=null}vn.prototype=Tn.prototype={constructor:vn,count:jO,each:ZO,eachAfter:KO,eachBefore:QO,find:JO,sum:tB,sort:eB,path:rB,ancestors:nB,descendants:aB,leaves:oB,links:sB,copy:uB,[Symbol.iterator]:lB};function vB(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}function dB(r){for(var e=r.length,t,i;e;)i=Math.random()*e--|0,t=r[e],r[e]=r[i],r[i]=t;return r}function vx(r){for(var e=0,t=(r=dB(Array.from(r))).length,i=[],n,a;e0&&t*t>i*i+n*n}function jl(r,e){for(var t=0;tl?(n=(u+l-a)/(2*u),s=Math.sqrt(Math.max(0,l/u-n*n)),t.x=r.x-n*i-s*o,t.y=r.y-n*o+s*i):(n=(u+a-l)/(2*u),s=Math.sqrt(Math.max(0,a/u-n*n)),t.x=e.x+n*i-s*o,t.y=e.y+n*o+s*i)):(t.x=e.x+t.r,t.y=e.y)}function $d(r,e){var t=r.r+e.r-1e-6,i=e.x-r.x,n=e.y-r.y;return t>0&&t*t>i*i+n*n}function Hd(r){var e=r._,t=r.next._,i=e.r+t.r,n=(e.x*t.r+t.x*e.r)/i,a=(e.y*t.r+t.y*e.r)/i;return n*n+a*a}function Eo(r){this._=r,this.next=null,this.previous=null}function gx(r){if(!(n=(r=vB(r)).length))return 0;var e,t,i,n,a,o,s,l,u,c,h;if(e=r[0],e.x=0,e.y=0,!(n>1))return e.r;if(t=r[1],e.x=-t.r,t.x=e.r,t.y=0,!(n>2))return e.r+t.r;Yd(t,e,i=r[2]),e=new Eo(e),t=new Eo(t),i=new Eo(i),e.next=i.previous=t,t.next=e.previous=i,i.next=t.previous=e;t:for(s=3;s0)throw new Error("cycle");return l}return t.id=function(i){return arguments.length?(r=fs(i),t):r},t.parentId=function(i){return arguments.length?(e=fs(i),t):e},t}function AB(r,e){return r.parent===e.parent?1:2}function Ql(r){var e=r.children;return e?e[0]:r.t}function Kl(r){var e=r.children;return e?e[e.length-1]:r.t}function FB(r,e,t){var i=t/(e.i-r.i);e.c-=i,e.s+=t,r.c+=i,e.z+=t,e.m+=t}function TB(r){for(var e=0,t=0,i=r.children,n=i.length,a;--n>=0;)a=i[n],a.z+=e,a.m+=e,e+=a.s+(t+=a.c)}function EB(r,e,t){return r.a.parent===e.parent?r.a:t}function zo(r,e){this._=r,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}zo.prototype=Object.create(vn.prototype);function kB(r){for(var e=new zo(r,0),t,i=[e],n,a,o,s;t=i.pop();)if(a=t._.children)for(t.children=new Array(s=a.length),o=s-1;o>=0;--o)i.push(n=t.children[o]=new zo(a[o],o)),n.parent=t;return(e.parent=new zo(null,0)).children=[e],e}function LB(){var r=AB,e=1,t=1,i=null;function n(u){var c=kB(u);if(c.eachAfter(a),c.parent.m=-c.z,c.eachBefore(o),i)u.eachBefore(l);else{var h=u,f=u,v=u;u.eachBefore(function(m){m.xf.x&&(f=m),m.depth>v.depth&&(v=m)});var d=h===f?1:r(h,f)/2,p=d-h.x,g=e/(f.x+d+p),y=t/(v.depth||1);u.eachBefore(function(m){m.x=(m.x+p)*g,m.y=m.depth*y})}return u}function a(u){var c=u.children,h=u.parent.children,f=u.i?h[u.i-1]:null;if(c){TB(u);var v=(c[0].z+c[c.length-1].z)/2;f?(u.z=f.z+r(u._,f._),u.m=u.z-v):u.z=v}else f&&(u.z=f.z+r(u._,f._));u.parent.A=s(u,f,u.parent.A||h[0])}function o(u){u._.x=u.z+u.parent.m,u.m+=u.parent.m}function s(u,c,h){if(c){for(var f=u,v=u,d=c,p=f.parent.children[0],g=f.m,y=v.m,m=d.m,w=p.m,x;d=Kl(d),f=Ql(f),d&&f;)p=Ql(p),v=Kl(v),v.a=u,x=d.z+m-f.z-g+r(d._,f._),x>0&&(FB(EB(d,u,h),u,x),g+=x,y+=x),m+=d.m,g+=f.m,w+=p.m,y+=v.m;d&&!Kl(v)&&(v.t=d,v.m+=m-y),f&&!Ql(p)&&(p.t=f,p.m+=g-w,h=u)}return h}function l(u){u.x*=e,u.y=u.depth*t}return n.separation=function(u){return arguments.length?(r=u,n):r},n.size=function(u){return arguments.length?(i=!1,e=+u[0],t=+u[1],n):i?null:[e,t]},n.nodeSize=function(u){return arguments.length?(i=!0,e=+u[0],t=+u[1],n):i?[e,t]:null},n}function fl(r,e,t,i,n){for(var a=r.children,o,s=-1,l=a.length,u=r.value&&(n-t)/r.value;++sm&&(m=u),M=g*g*S,w=Math.max(m/M,M/y),w>x){g-=u;break}x=w}o.push(l={value:g,dice:v1?i:1)},t}(wx);function Cx(){var r=Sx,e=!1,t=1,i=1,n=[0],a=ui,o=ui,s=ui,l=ui,u=ui;function c(f){return f.x0=f.y0=0,f.x1=t,f.y1=i,f.eachBefore(h),n=[0],e&&f.eachBefore(mx),f}function h(f){var v=n[f.depth],d=f.x0+v,p=f.y0+v,g=f.x1-v,y=f.y1-v;g=f-1){var m=a[h];m.x0=d,m.y0=p,m.x1=g,m.y1=y;return}for(var w=u[h],x=v/2+w,S=h+1,M=f-1;S>>1;u[F]y-p){var E=v?(d*k+g*T)/v:g;c(h,S,T,d,p,E,y),c(S,f,k,E,p,g,y)}else{var I=v?(p*k+y*T)/v:y;c(h,S,T,d,p,g,I),c(S,f,k,d,I,g,y)}}}function PB(r,e,t,i,n){(r.depth&1?fl:_a)(r,e,t,i,n)}const DB=function r(e){function t(i,n,a,o,s){if((l=i._squarify)&&l.ratio===e)for(var l,u,c,h,f=-1,v,d=l.length,p=i.value;++f1?i:1)},t}(wx),qd=Object.freeze(Object.defineProperty({__proto__:null,cluster:qO,hierarchy:Tn,pack:yx,packEnclose:vx,packSiblings:mB,partition:xx,stratify:MB,tree:LB,treemap:Cx,treemapBinary:IB,treemapDice:_a,treemapResquarify:DB,treemapSlice:fl,treemapSliceDice:PB,treemapSquarify:Sx},Symbol.toStringTag,{value:"Module"}));var Mx="nodeIndex",Ax="childNodeCount",Bh="nodeAncestor",Jl="Invalid field: it must be a string!";function Rh(r,e){var t=r.field,i=r.fields;if(J(t))return t;if(z(t))return console.warn(Jl),t[0];if(console.warn("".concat(Jl," will try to get fields instead.")),J(i))return i;if(z(i)&&i.length)return i[0];throw new TypeError(Jl)}function zh(r){var e=[];if(r&&r.each){var t,i;r.each(function(n){var a,o;n.parent!==t?(t=n.parent,i=0):i+=1;var s=Qt((((a=n.ancestors)===null||a===void 0?void 0:a.call(n))||[]).map(function(l){return e.find(function(u){return u.name===l.name})||l}),function(l){var u=l.depth;return u>0&&u1;)c="".concat((u=h.parent.data)===null||u===void 0?void 0:u.name," / ").concat(c),h=h.parent;if(a&&l.depth>2)return null;var f=L({},l.data,b(b(b({},gt(l.data,n)),{path:c}),l));f.ext=t,f[ka]={hierarchyConfig:t,rawFields:n,enableDrillDown:a},s.push(f)}),s}function Tx(r,e,t){var i=bh([r,e]),n=i[0],a=i[1],o=i[2],s=i[3],l=t.width,u=t.height,c=l-(s+a),h=u-(n+o),f=Math.min(c,h),v=(c-f)/2,d=(h-f)/2,p=n+d,g=a+v,y=o+d,m=s+v,w=[p,g,y,m],x=f<0?0:f;return{finalPadding:w,finalSize:x}}function RB(r){var e=r.chart,t=Math.min(e.viewBBox.width,e.viewBBox.height);return L({options:{size:function(i){var n=i.r;return n*t}}},r)}function zB(r){var e=r.options,t=r.chart,i=t.viewBBox,n=e.padding,a=e.appendPadding,o=e.drilldown,s=a;if(o!=null&&o.enabled){var l=tl(t.appendPadding,A(o,["breadCrumb","position"]));s=bh([l,a])}var u=Tx(n,s,i).finalPadding;return t.padding=u,t.appendPadding=0,r}function NB(r){var e=r.chart,t=r.options,i=e.padding,n=e.appendPadding,a=t.color,o=t.colorField,s=t.pointStyle,l=t.hierarchyConfig,u=t.sizeField,c=t.rawFields,h=c===void 0?[]:c,f=t.drilldown,v=Fx({data:t.data,hierarchyConfig:l,enableDrillDown:f==null?void 0:f.enabled,rawFields:h});e.data(v);var d=e.viewBBox,p=Tx(i,n,d).finalSize,g=function(y){var m=y.r;return m*p};return u&&(g=function(y){return y[u]*p}),Ee(L({},r,{options:{xField:"x",yField:"y",seriesField:o,sizeField:u,rawFields:K(K([],BO,!0),h,!0),point:{color:a,style:s,shape:"circle",size:g}}})),r}function GB(r){return et(Pt({},{x:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0},y:{min:0,max:1,minLimit:0,maxLimit:1,nice:!0}}))(r)}function VB(r){var e=r.chart,t=r.options,i=t.tooltip;if(i===!1)e.tooltip(!1);else{var n=i;A(i,"fields")||(n=L({},{customItems:function(a){return a.map(function(o){var s=A(e.getOptions(),"scales"),l=A(s,["name","formatter"],function(c){return c}),u=A(s,["value","formatter"],function(c){return c});return b(b({},o),{name:l(o.data.name),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function YB(r){var e=r.chart;return e.axis(!1),r}function $B(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?L({},r,{interactions:K(K([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Fx,enableDrillDown:!0}}],!1)}):r}function HB(r){var e=r.chart,t=r.options;return Tt({chart:e,options:$B(t)}),r}function XB(r){return et(Te("pointStyle"),RB,zB,ht,GB,NB,YB,Cn,VB,HB,wt,Lt())(r)}function Ud(r){var e=A(r,["event","data","data"],{});return z(e.children)&&e.children.length>0}function jd(r){var e=r.view.getCoordinate(),t=e.innerRadius;if(t){var i=r.event,n=i.x,a=i.y,o=e.center,s=o.x,l=o.y,u=e.getRadius()*t,c=Math.sqrt(Math.pow(s-n,2)+Math.pow(l-a,2));return c-1?gL(v,c,h):!0}),r.getRootView().render(!0)}};function UB(r){var e,t=r.options,i=t.geometryOptions,n=i===void 0?[]:i,a=t.xField,o=t.yField,s=sc(n,function(l){var u=l.geometry;return u===Ii.Line||u===void 0});return L({},{options:{geometryOptions:[],meta:(e={},e[a]={type:"cat",sync:!0,range:s?[0,1]:void 0},e),tooltip:{showMarkers:s,showCrosshairs:s,shared:!0,crosshairs:{type:"x"}},interactions:s?[{type:"legend-visible-filter"}]:[{type:"legend-visible-filter"},{type:"active-region"}],legend:{position:"top-left"}}},r,{options:{yAxis:Qd(o,t.yAxis),geometryOptions:[Zd(a,o[0],n[0]),Zd(a,o[1],n[1])],annotations:Qd(o,t.annotations)}})}function jB(r){var e,t,i=r.chart,n=r.options,a=n.geometryOptions,o={line:0,column:1},s=[{type:(e=a[0])===null||e===void 0?void 0:e.geometry,id:ke},{type:(t=a[1])===null||t===void 0?void 0:t.geometry,id:Le}];return s.sort(function(l,u){return-o[l.type]+o[u.type]}).forEach(function(l){return i.createView({id:l.id})}),r}function ZB(r){var e=r.chart,t=r.options,i=t.xField,n=t.yField,a=t.geometryOptions,o=t.data,s=t.tooltip,l=[b(b({},a[0]),{id:ke,data:o[0],yField:n[0]}),b(b({},a[1]),{id:Le,data:o[1],yField:n[1]})];return l.forEach(function(u){var c=u.id,h=u.data,f=u.yField,v=Nh(u)&&u.isPercent,d=v?l0(h,f,i,f):h,p=ut(e,c).data(d),g=v?b({formatter:function(y){return{name:y[u.seriesField]||f,value:(Number(y[f])*100).toFixed(2)+"%"}}},s):s;qB({chart:p,options:{xField:i,yField:f,tooltip:g,geometryOption:u}})}),r}function QB(r){var e,t=r.chart,i=r.options,n=i.geometryOptions,a=((e=t.getTheme())===null||e===void 0?void 0:e.colors10)||[],o=0;return t.once("beforepaint",function(){C(n,function(s,l){var u=ut(t,l===0?ke:Le);if(!s.color){var c=u.getGroupScales(),h=A(c,[0,"values","length"],1),f=a.slice(o,o+h).concat(l===0?[]:a);u.geometries.forEach(function(v){s.seriesField?v.color(s.seriesField,f):v.color(f[0])}),o+=h}}),t.render(!0)}),r}function KB(r){var e,t,i=r.chart,n=r.options,a=n.xAxis,o=n.yAxis,s=n.xField,l=n.yField;return Pt((e={},e[s]=a,e[l[0]]=o[0],e))(L({},r,{chart:ut(i,ke)})),Pt((t={},t[s]=a,t[l[1]]=o[1],t))(L({},r,{chart:ut(i,Le)})),r}function JB(r){var e=r.chart,t=r.options,i=ut(e,ke),n=ut(e,Le),a=t.xField,o=t.yField,s=t.xAxis,l=t.yAxis;return e.axis(a,!1),e.axis(o[0],!1),e.axis(o[1],!1),i.axis(a,s),i.axis(o[0],Kd(l[0],dn.Left)),n.axis(a,!1),n.axis(o[1],Kd(l[1],dn.Right)),r}function tR(r){var e=r.chart,t=r.options,i=t.tooltip,n=ut(e,ke),a=ut(e,Le);return e.tooltip(i),n.tooltip({shared:!0}),a.tooltip({shared:!0}),r}function eR(r){var e=r.chart;return Tt(L({},r,{chart:ut(e,ke)})),Tt(L({},r,{chart:ut(e,Le)})),r}function rR(r){var e=r.chart,t=r.options,i=t.annotations,n=A(i,[0]),a=A(i,[1]);return Lt(n)(L({},r,{chart:ut(e,ke),options:{annotations:n}})),Lt(a)(L({},r,{chart:ut(e,Le),options:{annotations:a}})),r}function iR(r){var e=r.chart;return ht(L({},r,{chart:ut(e,ke)})),ht(L({},r,{chart:ut(e,Le)})),ht(r),r}function nR(r){var e=r.chart;return wt(L({},r,{chart:ut(e,ke)})),wt(L({},r,{chart:ut(e,Le)})),r}function aR(r){var e=r.chart,t=r.options,i=t.yAxis;return Li(L({},r,{chart:ut(e,ke),options:{yAxis:i[0]}})),Li(L({},r,{chart:ut(e,Le),options:{yAxis:i[1]}})),r}function oR(r){var e=r.chart,t=r.options,i=t.legend,n=t.geometryOptions,a=t.yField,o=t.data,s=ut(e,ke),l=ut(e,Le);if(i===!1)e.legend(!1);else if(yt(i)&&i.custom===!0)e.legend(i);else{var u=A(n,[0,"legend"],i),c=A(n,[1,"legend"],i);e.once("beforepaint",function(){var h=o[0].length?Jd({view:s,geometryOption:n[0],yField:a[0],legend:u}):[],f=o[1].length?Jd({view:l,geometryOption:n[1],yField:a[1],legend:c}):[];e.legend(L({},i,{custom:!0,items:h.concat(f)}))}),n[0].seriesField&&s.legend(n[0].seriesField,u),n[1].seriesField&&l.legend(n[1].seriesField,c),e.on("legend-item:click",function(h){var f=A(h,"gEvent.delegateObject",{});if(f&&f.item){var v=f.item,d=v.value,p=v.isGeometry,g=v.viewId;if(p){var y=wp(a,function(x){return x===d});if(y>-1){var m=A(ut(e,g),"geometries");C(m,function(x){x.changeVisible(!f.item.unchecked)})}}else{var w=A(e.getController("legend"),"option.items",[]);C(e.views,function(x){var S=x.getGroupScales();C(S,function(M){M.values&&M.values.indexOf(d)>-1&&x.filter(M.field,function(F){var T=$e(w,function(k){return k.value===F});return!T.unchecked})}),e.render(!0)})}}})}return r}function sR(r){var e=r.chart,t=r.options,i=t.slider,n=ut(e,ke),a=ut(e,Le);return i&&(n.option("slider",i),n.on("slider:valuechanged",function(o){var s=o.event,l=s.value,u=s.originValue;Ot(l,u)||tp(a,l)}),e.once("afterpaint",function(){if(!en(i)){var o=i.start,s=i.end;(o||s)&&tp(a,[o,s])}})),r}function lR(r){return et(UB,jB,iR,ZB,KB,JB,aR,tR,eR,rR,nR,QB,oR,sR)(r)}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dual-axes",t}return e.prototype.getDefaultOptions=function(){return L({},r.prototype.getDefaultOptions.call(this),{yAxis:[],syncViewPadding:!0})},e.prototype.getSchemaAdaptor=function(){return lR},e})(ot);function uR(r,e){var t=e.data,i=e.coordinate,n=e.interactions,a=e.annotations,o=e.animation,s=e.tooltip,l=e.axes,u=e.meta,c=e.geometries;t&&r.data(t);var h={};l&&C(l,function(f,v){h[v]=gt(f,de)}),h=L({},u,h),r.scale(h),i&&r.coordinate(i),l===!1?r.axis(!1):C(l,function(f,v){r.axis(v,f)}),C(c,function(f){var v=xe({chart:r,options:f}).ext,d=f.adjust;d&&v.geometry.adjust(d)}),C(n,function(f){f.enable===!1?r.removeInteraction(f.type):r.interaction(f.type,f.cfg)}),C(a,function(f){r.annotation()[f.type](b({},f))}),Ya(r,o),s?(r.interaction("tooltip"),r.tooltip(s)):s===!1&&r.removeInteraction("tooltip")}function cR(r){var e=r.chart,t=r.options,i=t.type,n=t.data,a=t.fields,o=t.eachView,s=ms(t,["type","data","fields","eachView","axes","meta","tooltip","coordinate","theme","legend","interactions","annotations"]);return e.data(n),e.facet(i,b(b({},s),{fields:a,eachView:function(l,u){var c=o(l,u);if(c.geometries)uR(l,c);else{var h=c,f=h.options;f.tooltip&&l.interaction("tooltip"),Ku(h.type,l,f)}}})),r}function hR(r){var e=r.chart,t=r.options,i=t.axes,n=t.meta,a=t.tooltip,o=t.coordinate,s=t.theme,l=t.legend,u=t.interactions,c=t.annotations,h={};return i&&C(i,function(f,v){h[v]=gt(f,de)}),h=L({},n,h),e.scale(h),e.coordinate(o),i?C(i,function(f,v){e.axis(v,f)}):e.axis(!1),a?(e.interaction("tooltip"),e.tooltip(a)):a===!1&&e.removeInteraction("tooltip"),e.legend(l),s&&e.theme(s),C(u,function(f){f.enable===!1?e.removeInteraction(f.type):e.interaction(f.type,f.cfg)}),C(c,function(f){e.annotation()[f.type](b({},f))}),r}function fR(r){return et(ht,cR,hR)(r)}var vR={title:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},rowTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}},columnTitle:{style:{fontSize:12,fill:"rgba(0,0,0,0.65)"}}};(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="area",t}return e.getDefaultOptions=function(){return vR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return fR},e})(ot);function dR(r){var e=r.chart,t=r.options,i=t.data,n=t.type,a=t.xField,o=t.yField,s=t.colorField,l=t.sizeField,u=t.sizeRatio,c=t.shape,h=t.color,f=t.tooltip,v=t.heatmapStyle,d=t.meta;e.data(i);var p="polygon";n==="density"&&(p="heatmap");var g=Ne(f,[a,o,s]),y=g.fields,m=g.formatter,w=1;return(u||u===0)&&(!c&&!l?console.warn("sizeRatio is not in effect: Must define shape or sizeField first"):u<0||u>1?console.warn("sizeRatio is not in effect: It must be a number in [0,1]"):w=u),xe(L({},r,{options:{type:p,colorField:s,tooltipFields:y,shapeField:l||"",label:void 0,mapping:{tooltip:m,shape:c&&(l?function(x){var S=i.map(function(k){return k[l]}),M=(d==null?void 0:d[l])||{},F=M.min,T=M.max;return F=nt(F)?F:Math.min.apply(Math,S),T=nt(T)?T:Math.max.apply(Math,S),[c,(A(x,l)-F)/(T-F),w]}:function(){return[c,1,w]}),color:h||s&&e.getTheme().sequenceColors.join("-"),style:v}}})),r}function pR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function gR(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?e.axis(o,!1):e.axis(o,n),r}function yR(r){var e=r.chart,t=r.options,i=t.legend,n=t.colorField,a=t.sizeField,o=t.sizeLegend,s=i!==!1;return n&&e.legend(n,s?i:!1),a&&e.legend(a,o===void 0?i:o),!s&&!o&&e.legend(!1),r}function mR(r){var e=r.chart,t=r.options,i=t.label,n=t.colorField,a=t.type,o=Jt(e,a==="density"?"heatmap":"polygon");if(!i)o.label(!1);else if(n){var s=i.callback,l=Ct(i,["callback"]);o.label({fields:[n],callback:s,cfg:Ht(l)})}return r}function xR(r){var e,t,i=r.chart,n=r.options,a=n.coordinate,o=n.reflect,s=L({actions:[]},a??{type:"rect"});return o&&((t=(e=s.actions)===null||e===void 0?void 0:e.push)===null||t===void 0||t.call(e,["reflect",o])),i.coordinate(s),r}function wR(r){return et(ht,Te("heatmapStyle"),pR,xR,dR,gR,yR,Vt,mR,Lt(),Tt,wt,ri)(r)}var bR=L({},ot.getDefaultOptions(),{type:"polygon",legend:!1,coordinate:{type:"rect"},xAxis:{tickLine:null,line:null,grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}},yAxis:{grid:{alignTick:!1,line:{style:{lineWidth:1,lineDash:null,stroke:"#f0f0f0"}}}}});dt("polygon","circle",{draw:function(r,e){var t,i,n=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l)/2,c=Number(r.shape[1]),h=Number(r.shape[2]),f=Math.sqrt(h),v=u*f*Math.sqrt(c),d=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((i=r.defaultStyle)===null||i===void 0?void 0:i.fill),p=e.addShape("circle",{attrs:b(b(b({x:n,y:a,r:v},r.defaultStyle),r.style),{fill:d})});return p}});dt("polygon","square",{draw:function(r,e){var t,i,n=r.x,a=r.y,o=this.parsePoints(r.points),s=Math.abs(o[2].x-o[1].x),l=Math.abs(o[1].y-o[0].y),u=Math.min(s,l),c=Number(r.shape[1]),h=Number(r.shape[2]),f=Math.sqrt(h),v=u*f*Math.sqrt(c),d=((t=r.style)===null||t===void 0?void 0:t.fill)||r.color||((i=r.defaultStyle)===null||i===void 0?void 0:i.fill),p=e.addShape("rect",{attrs:b(b(b({x:n-v/2,y:a-v/2,width:v,height:v},r.defaultStyle),r.style),{fill:d})});return p}});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="heatmap",t}return e.getDefaultOptions=function(){return bR},e.prototype.getSchemaAdaptor=function(){return wR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var SR="liquid";function kx(r){return[{percent:r,type:SR}]}function CR(r){var e=r.chart,t=r.options,i=t.percent,n=t.liquidStyle,a=t.radius,o=t.outline,s=t.wave,l=t.shape,u=t.shapeStyle,c=t.animation;e.scale({percent:{min:0,max:1}}),e.data(kx(i));var h=t.color||e.getTheme().defaultColor,f=L({},r,{options:{xField:"type",yField:"percent",widthRatio:a,interval:{color:h,style:n,shape:"liquid-fill-gauge"}}}),v=te(f).ext,d=v.geometry,p=e.getTheme().background,g={percent:i,radius:a,outline:o,wave:s,shape:l,shapeStyle:u,background:p,animation:c};return d.customInfo(g),e.legend(!1),e.axis(!1),e.tooltip(!1),r}function Lx(r,e){var t=r.chart,i=r.options,n=i.statistic,a=i.percent,o=i.meta;t.getController("annotation").clear(!0);var s=A(o,["percent","formatter"])||function(u){return"".concat((u*100).toFixed(2),"%")},l=n.content;return l&&(l=L({},l,{content:R(l.content)?s(a):l.content})),el(t,{statistic:b(b({},n),{content:l}),plotType:"liquid"},{percent:a}),e&&t.render(!0),r}function MR(r){return et(ht,Te("liquidStyle"),CR,Lx,Pt({}),wt,Tt)(r)}var AR={radius:.9,statistic:{title:!1,content:{style:{opacity:.75,fontSize:"30px",lineHeight:"30px",textAlign:"center"}}},outline:{border:2,distance:0},wave:{count:3,length:192},shape:"circle"},ep=5e3;function rp(r,e,t){return r+(e-r)*t}function FR(r){var e=b({opacity:1},r.style);return r.color&&!e.fill&&(e.fill=r.color),e}function TR(r){var e={fill:"#fff",fillOpacity:0,lineWidth:4},t=xt({},e,r.style);return r.color&&!t.stroke&&(t.stroke=r.color),nt(r.opacity)&&(t.opacity=t.strokeOpacity=r.opacity),t}function ER(r,e,t,i){return e===0?[[r+1/2*t/Math.PI/2,i/2],[r+1/2*t/Math.PI,i],[r+t/4,i]]:e===1?[[r+1/2*t/Math.PI/2*(Math.PI-2),i],[r+1/2*t/Math.PI/2*(Math.PI-1),i/2],[r+t/4,0]]:e===2?[[r+1/2*t/Math.PI/2,-i/2],[r+1/2*t/Math.PI,-i],[r+t/4,-i]]:[[r+1/2*t/Math.PI/2*(Math.PI-2),-i],[r+1/2*t/Math.PI/2*(Math.PI-1),-i/2],[r+t/4,0]]}function kR(r,e,t,i,n,a,o){for(var s=Math.ceil(2*r/t*4)*4,l=[],u=i;u<-Math.PI*2;)u+=Math.PI*2;for(;u>0;)u-=Math.PI*2;u=u/Math.PI/2*t;var c=a-r+u-r*2;l.push(["M",c,e]);for(var h=0,f=0;f0){var B=e.addGroup({name:"waves"}),N=B.setClip({type:"path",attrs:{path:I}});LR(w.x,w.y,1-r.points[1].y,g,F,B,N,M*2,y,h)}return e.addShape("path",{name:"distance",attrs:{path:I,fill:"transparent",lineWidth:d+p*2,stroke:c==="transparent"?"#fff":c}}),e.addShape("path",{name:"wrap",attrs:xt(T,{path:I,fill:"transparent",lineWidth:d})}),e}});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="liquid",t}return e.getDefaultOptions=function(){return AR},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.changeData=function(t){this.chart.emit(lt.BEFORE_CHANGE_DATA,kt.fromData(this.chart,lt.BEFORE_CHANGE_DATA,null)),this.updateOption({percent:t}),this.chart.data(kx(t)),Lx({chart:this.chart,options:this.options},!0),this.chart.emit(lt.AFTER_CHANGE_DATA,kt.fromData(this.chart,lt.AFTER_CHANGE_DATA,null))},e.prototype.getSchemaAdaptor=function(){return MR},e})(ot);function RR(r){var e=r.chart,t=r.options,i=t.data,n=t.lineStyle,a=t.color,o=t.point,s=t.area;e.data(i);var l=L({},r,{options:{line:{style:n,color:a},point:o&&b({color:a},o),area:s&&b({color:a},s),label:void 0}}),u=L({},l,{options:{tooltip:!1}}),c=(o==null?void 0:o.state)||t.state,h=L({},l,{options:{tooltip:!1,state:c}});return Mn(l),Ee(h),nl(u),r}function zR(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function NR(r){var e=r.chart,t=r.options,i=t.radius,n=t.startAngle,a=t.endAngle;return e.coordinate("polar",{radius:i,startAngle:n,endAngle:a}),r}function GR(r){var e=r.chart,t=r.options,i=t.xField,n=t.xAxis,a=t.yField,o=t.yAxis;return e.axis(i,n),e.axis(a,o),r}function VR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=Jt(e,"line");if(!i)a.label(!1);else{var o=i.callback,s=Ct(i,["callback"]);a.label({fields:[n],callback:o,cfg:Ht(s)})}return r}function YR(r){return et(RR,zR,ht,NR,GR,Cn,Vt,VR,Tt,wt,Lt())(r)}var $R=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return Object.defineProperty(e.prototype,"name",{get:function(){return"radar-tooltip"},enumerable:!1,configurable:!0}),e.prototype.getTooltipItems=function(t){var i=this.getTooltipCfg(),n=i.shared,a=i.title,o=r.prototype.getTooltipItems.call(this,t);if(o.length>0){var s=this.view.geometries[0],l=s.dataArray,u=o[0].name,c=[];return l.forEach(function(h){h.forEach(function(f){var v=ye.getTooltipItems(f,s),d=v[0];if(!n&&d&&d.name===u){var p=R(a)?u:a;c.push(b(b({},d),{name:d.title,title:p}))}else if(n&&d){var p=R(a)?d.name||u:a;c.push(b(b({},d),{name:d.title,title:p}))}})}),c}return[]},e}(Gy);Di("radar-tooltip",$R);var HR=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(){var t=this.context.view;t.removeInteraction("tooltip")},e.prototype.show=function(){var t=this.context.event,i=this.getTooltipController();i.showTooltip({x:t.x,y:t.y})},e.prototype.hide=function(){var t=this.getTooltipController();t.hideTooltip()},e.prototype.getTooltipController=function(){var t=this.context.view;return t.getController("radar-tooltip")},e}(Mt);Z("radar-tooltip",HR);at("radar-tooltip",{start:[{trigger:"plot:mousemove",action:"radar-tooltip:show"}],end:[{trigger:"plot:mouseleave",action:"radar-tooltip:hide"}]});var XR=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radar",t}return e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return L({},r.prototype.getDefaultOptions.call(this),{xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},legend:{position:"top"},tooltip:{shared:!0,showCrosshairs:!0,showMarkers:!0,crosshairs:{type:"xy",line:{style:{stroke:"#565656",lineDash:[4]}},follow:!0}}})},e.prototype.getSchemaAdaptor=function(){return YR},e}(ot);function WR(r,e,t){var i=t.map(function(o){return o[e]}).filter(function(o){return o!==void 0}),n=i.length>0?Math.max.apply(Math,i):0,a=Math.abs(r)%360;return a?n*360/a:n}function _R(r,e,t){var i=[];return r.forEach(function(n){var a=i.find(function(o){return o[e]===n[e]});a?a[t]+=n[t]||null:i.push(b({},n))}),i}function qR(r){var e=r.chart,t=r.options,i=t.barStyle,n=t.color,a=t.tooltip,o=t.colorField,s=t.type,l=t.xField,u=t.yField,c=t.data,h=t.shape,f=cn(c,u);e.data(f);var v=L({},r,{options:{tooltip:a,seriesField:o,interval:{style:i,color:n,shape:h||(s==="line"?"line":"intervel")},minColumnWidth:t.minBarWidth,maxColumnWidth:t.maxBarWidth,columnBackground:t.barBackground}});return te(v),s==="line"&&Ee({chart:e,options:{xField:l,yField:u,seriesField:o,point:{shape:"circle",color:n}}}),r}function Ix(r){var e,t=r.options,i=t.yField,n=t.xField,a=t.data,o=t.isStack,s=t.isGroup,l=t.colorField,u=t.maxAngle,c=o&&!s&&l?_R(a,n,i):a,h=cn(c,i);return et(Pt((e={},e[i]={min:0,max:WR(u,i,h)},e)))(r)}function UR(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}).transpose(),r}function jR(r){var e=r.chart,t=r.options,i=t.xField,n=t.xAxis;return e.axis(i,n),r}function ZR(r){var e=r.chart,t=r.options,i=t.label,n=t.yField,a=Jt(e,"interval");if(!i)a.label(!1);else{var o=i.callback,s=Ct(i,["callback"]);a.label({fields:[n],callback:o,cfg:b(b({},Ht(s)),{type:"polar"})})}return r}function QR(r){return et(Te("barStyle"),qR,Ix,jR,UR,Tt,wt,ht,Vt,Cn,Lt(),ZR)(r)}var KR=L({},ot.getDefaultOptions(),{interactions:[{type:"element-active"}],legend:!1,tooltip:{showMarkers:!1},xAxis:{grid:null,tickLine:null,line:null},maxAngle:240});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="radial-bar",t}return e.getDefaultOptions=function(){return KR},e.prototype.changeData=function(t){this.updateOption({data:t}),Ix({chart:this.chart,options:this.options}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return QR},e})(ot);function JR(r){var e=r.chart,t=r.options,i=t.data,n=t.sectorStyle,a=t.shape,o=t.color;return e.data(i),et(te)(L({},r,{options:{marginRatio:1,interval:{style:n,color:o,shape:a}}})),r}function tz(r){var e=r.chart,t=r.options,i=t.label,n=t.xField,a=Jt(e,"interval");if(i===!1)a.label(!1);else if(yt(i)){var o=i.callback,s=i.fields,l=Ct(i,["callback","fields"]),u=l.offset,c=l.layout;(u===void 0||u>=0)&&(c=c?z(c)?c:[c]:[],l.layout=Qt(c,function(h){return h.type!=="limit-in-shape"}),l.layout.length||delete l.layout),a.label({fields:s||[n],callback:o,cfg:Ht(l)})}else Ar(_e.WARN,i===null,"the label option must be an Object."),a.label({fields:[n]});return r}function ez(r){var e=r.chart,t=r.options,i=t.legend,n=t.seriesField;return i===!1?e.legend(!1):n&&e.legend(n,i),r}function rz(r){var e=r.chart,t=r.options,i=t.radius,n=t.innerRadius,a=t.startAngle,o=t.endAngle;return e.coordinate({type:"polar",cfg:{radius:i,innerRadius:n,startAngle:a,endAngle:o}}),r}function iz(r){var e,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return et(Pt((e={},e[a]=i,e[o]=n,e)))(r)}function nz(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i?e.axis(a,i):e.axis(a,!1),n?e.axis(o,n):e.axis(o,!1),r}function az(r){et(Te("sectorStyle"),JR,iz,tz,rz,nz,ez,Vt,Tt,wt,ht,Lt(),ri)(r)}var oz=L({},ot.getDefaultOptions(),{xAxis:!1,yAxis:!1,legend:{position:"right",radio:{}},sectorStyle:{stroke:"#fff",lineWidth:1},label:{layout:{type:"limit-in-shape"}},tooltip:{shared:!0,showMarkers:!1},interactions:[{type:"active-region"}]});(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="rose",t}return e.getDefaultOptions=function(){return oz},e.prototype.changeData=function(t){this.updateOption({data:t}),this.chart.changeData(t)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return az},e})(ot);var np="x",ap="y",op="name",vl="nodes",dl="edges";function sz(r,e,t){var i=[];return r.forEach(function(n){var a=n[e],o=n[t];i.includes(a)||i.push(a),i.includes(o)||i.push(o)}),i}function lz(r,e,t,i){var n={};return e.forEach(function(a){n[a]={},e.forEach(function(o){n[a][o]=0})}),r.forEach(function(a){n[a[t]][a[i]]=1}),n}function uz(r,e,t){if(!z(r))return[];var i=[],n=sz(r,e,t),a=lz(r,n,e,t),o={};n.forEach(function(l){o[l]=0});function s(l){o[l]=1,n.forEach(function(u){if(a[l][u]!=0)if(o[u]==1)i.push("".concat(l,"_").concat(u));else{if(o[u]==-1)return;s(u)}}),o[l]=-1}return n.forEach(function(l){o[l]!=-1&&s(l)}),i.length!==0&&console.warn("sankey data contains circle, ".concat(i.length," records removed."),i),r.filter(function(l){return i.findIndex(function(u){return u==="".concat(l[e],"_").concat(l[t])})<0})}function cz(r){return r.target.depth}function hz(r){return r.depth}function fz(r,e){return e-1-r.height}function Gh(r,e){return r.sourceLinks.length?r.depth:e-1}function vz(r){return r.targetLinks.length?r.depth:r.sourceLinks.length?Aw(r.sourceLinks,cz)-1:0}function ko(r){return function(){return r}}function tu(r,e){for(var t=0,i=0;i_)throw new Error("circular link");H=$,$=new Set}if(u)for(var it=Math.max(eu(G,function(rt){return rt.depth})+1,0),st=void 0,tt=0;tt_)throw new Error("circular link");H=$,$=new Set}}function x(P){for(var G=P.nodes,_=Math.max(eu(G,function(It){return It.depth})+1,0),H=(t-r-n)/(_-1),$=new Array(_).fill(0).map(function(){return[]}),q=0,it=G;q0){var ii=(rt/mt-tt.y0)*G;tt.y0+=ii,tt.y1+=ii,B(tt)}}c===void 0&&q.sort(vs),q.length&&k(q,_)}}function T(P,G,_){for(var H=P.length,$=H-2;$>=0;--$){for(var q=P[$],it=0,st=q;it0){var ii=(rt/mt-tt.y0)*G;tt.y0+=ii,tt.y1+=ii,B(tt)}}c===void 0&&q.sort(vs),q.length&&k(q,_)}}function k(P,G){var _=P.length>>1,H=P[_];I(P,H.y0-o,_-1,G),E(P,H.y1+o,_+1,G),I(P,i,P.length-1,G),E(P,e,0,G)}function E(P,G,_,H){for(;_1e-6&&($.y0+=q,$.y1+=q),G=$.y1+o}}function I(P,G,_,H){for(;_>=0;--_){var $=P[_],q=($.y1-G)*H;q>1e-6&&($.y0-=q,$.y1-=q),G=$.y0-o}}function B(P){var G=P.sourceLinks,_=P.targetLinks;if(h===void 0){for(var H=0,$=_;H<$.length;H++){var q=$[H].source.sourceLinks;q.sort(lp)}for(var it=0,st=G;it "+n,value:a}}},nodeWidthRatio:.008,nodePaddingRatio:.01,animation:{appear:{animation:"wave-in"},enter:{animation:"wave-in"}}}},e.prototype.changeData=function(t){this.updateOption({data:t});var i=Px(this.options,this.chart.width,this.chart.height),n=i.nodes,a=i.edges,o=ut(this.chart,vl),s=ut(this.chart,dl);o.changeData(n),s.changeData(a)},e.prototype.getSchemaAdaptor=function(){return Pz},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var Vh="ancestor-node",Dx="value",La="path",Oz=[La,Mx,Bh,Ax,"name","depth","height"],Bz=L({},ot.getDefaultOptions(),{innerRadius:0,radius:.85,hierarchyConfig:{field:"value"},tooltip:{shared:!0,showMarkers:!1,offset:20,showTitle:!1},legend:!1,sunburstStyle:{lineWidth:.5,stroke:"#FFF"},drilldown:{enabled:!0}}),Rz={field:"value",size:[1,1],round:!1,padding:0,sort:function(r,e){return e.value-r.value},as:["x","y"],ignoreParentValue:!0};function zz(r,e){e=xt({},Rz,e);var t=e.as;if(!z(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var i;try{i=Rh(e)}catch(l){console.warn(l)}var n=function(l){return xx().size(e.size).round(e.round).padding(e.padding)(Tn(l).sum(function(u){return $t(u.children)?e.ignoreParentValue?0:u[i]-ie(u.children,function(c,h){return c+h[i]},0):u[i]}).sort(e.sort))},a=n(r),o=t[0],s=t[1];return a.each(function(l){var u,c;l[o]=[l.x0,l.x1,l.x1,l.x0],l[s]=[l.y1,l.y1,l.y0,l.y0],l.name=l.name||((u=l.data)===null||u===void 0?void 0:u.name)||((c=l.data)===null||c===void 0?void 0:c.label),l.data.name=l.name,["x0","x1","y0","y1"].forEach(function(h){t.indexOf(h)===-1&&delete l[h]})}),zh(a)}var Nz={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,ignoreParentValue:!0,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"],sort:function(r,e){return e.value-r.value},ratio:.5*(1+Math.sqrt(5))};function Gz(r,e){return r==="treemapSquarify"?qd[r].ratio(e):qd[r]}function Ox(r,e){e=xt({},Nz,e);var t=e.as;if(!z(t)||t.length!==2)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var i;try{i=Rh(e)}catch(u){console.warn(u)}var n=Gz(e.tile,e.ratio),a=function(u){return Cx().tile(n).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft)(Tn(u).sum(function(c){return e.ignoreParentValue&&c.children?0:c[i]}).sort(e.sort))},o=a(r),s=t[0],l=t[1];return o.each(function(u){u[s]=[u.x0,u.x1,u.x1,u.x0],u[l]=[u.y1,u.y1,u.y0,u.y0],["x0","x1","y0","y1"].forEach(function(c){t.indexOf(c)===-1&&delete u[c]})}),zh(o)}function Bx(r){var e=r.data,t=r.colorField,i=r.rawFields,n=r.hierarchyConfig,a=n===void 0?{}:n,o=a.activeDepth,s={partition:zz,treemap:Ox},l=r.seriesField,u=r.type||"partition",c=s[u](e,b(b({field:l||"value"},ms(a,["activeDepth"])),{type:"hierarchy.".concat(u),as:["x","y"]})),h=[];return c.forEach(function(f){var v,d,p,g,y,m;if(f.depth===0||o>0&&f.depth>o)return null;for(var w=f.data.name,x=b({},f);x.depth>1;)w="".concat((d=x.parent.data)===null||d===void 0?void 0:d.name," / ").concat(w),x=x.parent;var S=b(b(b({},gt(f.data,K(K([],i||[],!0),[a.field],!1))),(v={},v[La]=w,v[Vh]=x.data.name,v)),f);l&&(S[l]=f.data[l]||((g=(p=f.parent)===null||p===void 0?void 0:p.data)===null||g===void 0?void 0:g[l])),t&&(S[t]=f.data[t]||((m=(y=f.parent)===null||y===void 0?void 0:y.data)===null||m===void 0?void 0:m[t])),S.ext=a,S[ka]={hierarchyConfig:a,colorField:t,rawFields:i},h.push(S)}),h}function Vz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=n===void 0?Vh:n,o=t.sunburstStyle,s=t.rawFields,l=s===void 0?[]:s,u=t.shape,c=Bx(t);e.data(c);var h;return o&&(h=function(f){return L({},{fillOpacity:Math.pow(.85,f.depth)},W(o)?o(f):o)}),al(L({},r,{options:{xField:"x",yField:"y",seriesField:a,rawFields:Mi(K(K([],Oz,!0),l,!0)),polygon:{color:i,style:h,shape:u}}})),r}function Yz(r){var e=r.chart;return e.axis(!1),r}function $z(r){var e=r.chart,t=r.options,i=t.label,n=Jt(e,"polygon");if(!i)n.label(!1);else{var a=i.fields,o=a===void 0?["name"]:a,s=i.callback,l=Ct(i,["fields","callback"]);n.label({fields:o,callback:s,cfg:Ht(l)})}return r}function Hz(r){var e=r.chart,t=r.options,i=t.innerRadius,n=t.radius,a=t.reflect,o=e.coordinate({type:"polar",cfg:{innerRadius:i,radius:n}});return a&&o.reflect(a),r}function Xz(r){var e,t=r.options,i=t.hierarchyConfig,n=t.meta;return et(Pt({},(e={},e[Dx]=A(n,A(i,["field"],"value")),e)))(r)}function Wz(r){var e=r.chart,t=r.options,i=t.tooltip;if(i===!1)e.tooltip(!1);else{var n=i;A(i,"fields")||(n=L({},{customItems:function(a){return a.map(function(o){var s=A(e.getOptions(),"scales"),l=A(s,[La,"formatter"],function(c){return c}),u=A(s,[Dx,"formatter"],function(c){return c});return b(b({},o),{name:l(o.data[La]),value:u(o.data.value)})})}},n)),e.tooltip(n)}return r}function _z(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t;return e!=null&&e.enabled?L({},r,{interactions:K(K([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:Bx}}],!1)}):r}function qz(r){var e=r.chart,t=r.options,i=t.drilldown;return Tt({chart:e,options:_z(t)}),i!=null&&i.enabled&&(e.appendPadding=tl(e.appendPadding,A(i,["breadCrumb","position"]))),r}function Uz(r){return et(ht,Te("sunburstStyle"),Vz,Yz,Xz,Cn,Hz,Wz,$z,qz,wt,Lt())(r)}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="sunburst",t}return e.getDefaultOptions=function(){return Bz},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return Uz},e.SUNBURST_ANCESTOR_FIELD=Vh,e.SUNBURST_PATH_FIELD=La,e.NODE_ANCESTORS_FIELD=Bh,e})(ot);function Rx(r,e){if(z(r))return r.find(function(t){return t.type===e})}function zx(r,e){var t=Rx(r,e);return t&&t.enable!==!1}function Yh(r){var e=r.interactions,t=r.drilldown;return A(t,"enabled")||zx(e,"treemap-drill-down")}function jz(r){var e=r.interactions["drill-down"];if(e){var t=e.context.actions.find(function(i){return i.name==="drill-down-action"});t.reset()}}function $h(r){var e=r.data,t=r.colorField,i=r.enableDrillDown,n=r.hierarchyConfig,a=Ox(e,b(b({},n),{type:"hierarchy.treemap",field:"value",as:["x","y"]})),o=[];return a.forEach(function(s){if(s.depth===0||i&&s.depth!==1||!i&&s.children)return null;var l=s.ancestors().map(function(f){return{data:f.data,height:f.height,value:f.value}}),u=i&&z(e.path)?l.concat(e.path.slice(1)):l,c=Object.assign({},s.data,b({x:s.x,y:s.y,depth:s.depth,value:s.value,path:u},s));if(!s.data[t]&&s.parent){var h=s.ancestors().find(function(f){return f.data[t]});c[t]=h==null?void 0:h.data[t]}else c[t]=s.data[t];c[ka]={hierarchyConfig:n,colorField:t,enableDrillDown:i},o.push(c)}),o}function Zz(r){var e=r.options,t=e.colorField;return L({options:{rawFields:["value"],tooltip:{fields:["name","value",t,"path"],formatter:function(i){return{name:i.name,value:i.value}}}}},r)}function Qz(r){var e=r.chart,t=r.options,i=t.color,n=t.colorField,a=t.rectStyle,o=t.hierarchyConfig,s=t.rawFields,l=$h({data:t.data,colorField:t.colorField,enableDrillDown:Yh(t),hierarchyConfig:o});return e.data(l),al(L({},r,{options:{xField:"x",yField:"y",seriesField:n,rawFields:s,polygon:{color:i,style:a}}})),e.coordinate().reflect("y"),r}function Kz(r){var e=r.chart;return e.axis(!1),r}function Jz(r){var e=r.drilldown,t=r.interactions,i=t===void 0?[]:t,n=Yh(r);return n?L({},r,{interactions:K(K([],i,!0),[{type:"drill-down",cfg:{drillDownConfig:e,transformData:$h}}],!1)}):r}function tN(r){var e=r.chart,t=r.options,i=t.interactions,n=t.drilldown;Tt({chart:e,options:Jz(t)});var a=Rx(i,"view-zoom");a&&(a.enable!==!1?e.getCanvas().on("mousewheel",function(s){s.preventDefault()}):e.getCanvas().off("mousewheel"));var o=Yh(t);return o&&(e.appendPadding=tl(e.appendPadding,A(n,["breadCrumb","position"]))),r}function eN(r){return et(Zz,ht,Te("rectStyle"),Qz,Kz,Cn,Vt,tN,wt,Lt())(r)}var rN={colorField:"name",rectStyle:{lineWidth:1,stroke:"#fff"},hierarchyConfig:{tile:"treemapSquarify"},label:{fields:["name"],layout:{type:"limit-in-shape"}},tooltip:{showMarkers:!1,showTitle:!1},drilldown:{enabled:!1,breadCrumb:{position:"bottom-left",rootText:"初始",dividerText:"/",textStyle:{fontSize:12,fill:"rgba(0, 0, 0, 0.65)",cursor:"pointer"},activeTextStyle:{fill:"#87B5FF"}}}};(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="treemap",t}return e.getDefaultOptions=function(){return rN},e.prototype.changeData=function(t){var i=this.options,n=i.colorField,a=i.interactions,o=i.hierarchyConfig;this.updateOption({data:t});var s=$h({data:t,colorField:n,enableDrillDown:zx(a,"treemap-drill-down"),hierarchyConfig:o});this.chart.changeData(s),jz(this.chart)},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.getSchemaAdaptor=function(){return eN},e})(ot);var br="id",tc="path",iN={appendPadding:[10,0,20,0],blendMode:"multiply",tooltip:{showTitle:!1,showMarkers:!1,fields:["id","size"],formatter:function(r){return{name:r.id,value:r.size}}},legend:{position:"top-left"},label:{style:{textAlign:"center",fill:"#fff"}},interactions:[{type:"legend-filter",enable:!1}],state:{active:{style:{stroke:"#000"}},selected:{style:{stroke:"#000",lineWidth:2}},inactive:{style:{fillOpacity:.3,strokeOpacity:.3}}},defaultInteractions:["tooltip","venn-legend-active"]};function pl(r){if(r){var e=r.geometries[0].elements;e.forEach(function(t){t.shape.toFront()})}}var nN=_s("element-active"),aN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(this.context.view)},e.prototype.active=function(){r.prototype.active.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(nN),oN=_s("element-highlight"),sN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(this.context.view)},e.prototype.highlight=function(){r.prototype.highlight.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.clear=function(){r.prototype.clear.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(oN),lN=_s("element-selected"),uN=_s("element-single-selected"),cN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(lN),hN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.syncElementsPos=function(){pl(this.context.view)},e.prototype.selected=function(){r.prototype.selected.call(this),this.syncElementsPos()},e.prototype.toggle=function(){r.prototype.toggle.call(this),this.syncElementsPos()},e.prototype.reset=function(){r.prototype.reset.call(this),this.syncElementsPos()},e}(uN);Z("venn-element-active",aN);Z("venn-element-highlight",sN);Z("venn-element-selected",cN);Z("venn-element-single-selected",hN);at("venn-element-active",{start:[{trigger:"element:mouseenter",action:"venn-element-active:active"}],end:[{trigger:"element:mouseleave",action:"venn-element-active:reset"}]});at("venn-element-highlight",{start:[{trigger:"element:mouseenter",action:"venn-element-highlight:highlight"}],end:[{trigger:"element:mouseleave",action:"venn-element-highlight:reset"}]});at("venn-element-selected",{start:[{trigger:"element:click",action:"venn-element-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-selected:reset"]}]});at("venn-element-single-selected",{start:[{trigger:"element:click",action:"venn-element-single-selected:toggle"}],rollback:[{trigger:"dblclick",action:["venn-element-single-selected:reset"]}]});at("venn-legend-active",{start:[{trigger:"legend-item:mouseenter",action:["list-active:active","venn-element-active:active"]}],end:[{trigger:"legend-item:mouseleave",action:["list-active:reset","venn-element-active:reset"]}]});at("venn-legend-highlight",{start:[{trigger:"legend-item:mouseenter",action:["legend-item-highlight:highlight","venn-element-highlight:highlight"]}],end:[{trigger:"legend-item:mouseleave",action:["legend-item-highlight:reset","venn-element-highlight:reset"]}]});var fN=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.getLabelPoint=function(t,i,n){var a=t.data,o=a.x,s=a.y,l=t.customLabelInfo,u=l.offsetX,c=l.offsetY;return{content:t.content[n],x:o+u,y:s+c}},e}(Zs);Na("venn",fN);var ia=` +\v\f\r   ᠎              \u2028\u2029`,vN=new RegExp("([a-z])["+ia+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+ia+"]*,?["+ia+"]*)+)","ig"),dN=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+ia+"]*,?["+ia+"]*","ig");function pN(r){if(!r)return null;if(nw(r))return r;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},t=[];return String(r).replace(vN,function(i,n,a){var o=[],s=n.toLowerCase();if(a.replace(dN,function(l,u){u&&o.push(+u)}),s==="m"&&o.length>2&&(t.push([n].concat(o.splice(0,2))),s="l",n=n==="m"?"l":"L"),s==="o"&&o.length===1&&t.push([n,o[0]]),s==="r")t.push([n].concat(o));else for(;o.length>=e[s]&&(t.push([n].concat(o.splice(0,e[s]))),!!e[s]););return""}),t}function gN(r){return L({},r.defaultStyle,{fill:r.color},r.style)}dt("schema","venn",{draw:function(r,e){var t=r.data,i=pN(t[tc]),n=gN(r),a=e.addGroup({name:"venn-shape"});a.addShape("path",{attrs:b(b({},n),{path:i}),name:"venn-path"});var o=r.customInfo,s=o.offsetX,l=o.offsetY,u=ye.transform(null,[["t",s,l]]);return a.setMatrix(u),a},getMarker:function(r){var e=r.color;return{symbol:"circle",style:{lineWidth:0,stroke:e,fill:e,r:4}}}});var yN=function(r){return function(e,t){var i=[];return i[0]=r(e[0],t[0]),i[1]=r(e[1],t[1]),i[2]=r(e[2],t[2]),i}},hp={normal:function(r){return r},multiply:function(r,e){return r*e/255},screen:function(r,e){return 255*(1-(1-r/255)*(1-e/255))},overlay:function(r,e){return e<128?2*r*e/255:255*(1-2*(1-r/255)*(1-e/255))},darken:function(r,e){return r>e?e:r},lighten:function(r,e){return r>e?r:e},dodge:function(r,e){return r===255?255:(r=255*(e/255)/(1-r/255),r>255?255:r)},burn:function(r,e){return e===255?255:r===0?0:255*(1-Math.min(1,(1-e/255)/(r/255)))}},mN=function(r){if(!hp[r])throw new Error("unknown blend mode "+r);return hp[r]};function xN(r,e,t){t===void 0&&(t="normal");var i=yN(mN(t))(Lo(r),Lo(e)),n=Lo(r),a=n[0],o=n[1],s=n[2],l=n[3],u=Lo(e),c=u[0],h=u[1],f=u[2],v=u[3],d=Number((l+v*(1-l)).toFixed(2)),p=Math.round((l*(1-v)*(a/255)+l*v*(i[0]/255)+(1-l)*v*(c/255))/d*255),g=Math.round((l*(1-v)*(o/255)+l*v*(i[1]/255)+(1-l)*v*(h/255))/d*255),y=Math.round((l*(1-v)*(s/255)+l*v*(i[2]/255)+(1-l)*v*(f/255))/d*255);return"rgba(".concat(p,", ").concat(g,", ").concat(y,", ").concat(d,")")}function Lo(r){var e=r.replace("/s+/g",""),t;return typeof e=="string"&&!e.startsWith("rgba")&&!e.startsWith("#")?t=Yr.rgb2arr(Yr.toRGB(e)).concat([1]):(e.startsWith("rgba")&&(t=e.replace("rgba(","").replace(")","").split(",")),e.startsWith("#")&&(t=Yr.rgb2arr(e).concat([1])),t.map(function(i,n){return n===3?Number(i):i|0}))}function wN(r,e,t,i){i=i||{};var n=i.maxIterations||100,a=i.tolerance||1e-10,o=r(e),s=r(t),l=t-e;if(o*s>0)throw"Initial bisect points must have opposite signs";if(o===0)return e;if(s===0)return t;for(var u=0;u=0&&(e=c),Math.abs(l)=d[v-1].fx){var I=!1;if(x.fx>E.fx?(vr(S,1+c,w,-c,E),S.fx=r(S),S.fx=1)break;for(p=1;ps+a*n*l||u>=y)g=n;else{if(Math.abs(h)<=-o*l)return n;h*(g-p)>=0&&(g=p),p=n,y=u}return 0}for(var d=0;d<10;++d){if(vr(i.x,1,t.x,n,e),u=i.fx=r(i.x,i.fxprime),h=tn(i.fxprime,e),u>s+a*n*l||d&&u>=c)return v(f,n,c);if(Math.abs(h)<=-o*l)return n;if(h>=0)return v(n,f,u);c=u,f=n,n*=2}return n}function SN(r,e,t){var i={x:e.slice(),fx:0,fxprime:e.slice()},n={x:e.slice(),fx:0,fxprime:e.slice()},a=e.slice(),o,s,l=1,u;t=t||{},u=t.maxIterations||e.length*20,i.fx=r(i.x,i.fxprime),o=i.fxprime.slice(),ic(o,i.fxprime,-1);for(var c=0;c1){var l=$x(i);for(o=0;o-1){var p=r[h.parentIndex[d]],g=Math.atan2(h.x-p.x,h.y-p.y),y=Math.atan2(c.x-p.x,c.y-p.y),m=y-g;m<0&&(m+=2*Math.PI);var w=y-m/2,x=He(f,{x:p.x+p.radius*Math.sin(w),y:p.y+p.radius*Math.cos(w)});x>p.radius*2&&(x=p.radius*2),(v===null||v.width>x)&&(v={circle:p,width:x,p1:h,p2:c})}v!==null&&(s.push(v),n+=nc(v.circle.radius,v.width),c=h)}}else{var S=r[0];for(o=1;oMath.abs(S.radius-r[o].radius)){M=!0;break}M?n=a=0:(n=S.radius*S.radius*Math.PI,s.push({circle:S,p1:{x:S.x,y:S.y+S.radius},p2:{x:S.x-Gx,y:S.y+S.radius},width:S.radius*2}))}return a/=2,e&&(e.area=n+a,e.arcArea=n,e.polygonArea=a,e.arcs=s,e.innerPoints=i,e.intersectionPoints=t),n+a}function CN(r,e){for(var t=0;te[t].radius+Gx)return!1;return!0}function MN(r){for(var e=[],t=0;t=r+e)return 0;if(t<=Math.abs(r-e))return Math.PI*Math.min(r,e)*Math.min(r,e);var i=r-(t*t-e*e+r*r)/(2*t),n=e-(t*t-r*r+e*e)/(2*t);return nc(r,i)+nc(e,n)}function Yx(r,e){var t=He(r,e),i=r.radius,n=e.radius;if(t>=i+n||t<=Math.abs(i-n))return[];var a=(i*i-n*n+t*t)/(2*t),o=Math.sqrt(i*i-a*a),s=r.x+a*(e.x-r.x)/t,l=r.y+a*(e.y-r.y)/t,u=-(e.y-r.y)*(o/t),c=-(e.x-r.x)*(o/t);return[{x:s+u,y:l-c},{x:s-u,y:l+c}]}function $x(r){for(var e={x:0,y:0},t=0;t=o&&(a=t[i],o=s)}var l=Nx(function(f){return-1*iu({x:f[0],y:f[1]},r,e)},[a.x,a.y],{maxIterations:500,minErrorDelta:1e-10}).x,u={x:l[0],y:l[1]},c=!0;for(i=0;ir[i].radius){c=!1;break}for(i=0;i0&&console.log("WARNING: area "+a+" not represented on screen")}return t}function TN(r,e,t){var i=[],n=r-t,a=e;return i.push("M",n,a),i.push("A",t,t,0,1,0,n+2*t,a),i.push("A",t,t,0,1,0,n,a),i.join(" ")}function EN(r){var e={};Hh(r,e);var t=e.arcs;if(t.length===0)return"M 0 0";if(t.length==1){var i=t[0].circle;return TN(i.x,i.y,i.radius)}else{for(var n=[` +M`,t[0].p2.x,t[0].p2.y],a=0;as;n.push(` +A`,s,s,0,l?1:0,1,o.p1.x,o.p1.y)}return n.join(" ")}}function kN(r,e){e=e||{},e.maxIterations=e.maxIterations||500;var t=e.initialLayout||DN,i=e.lossFunction||Xh;r=LN(r);var n=t(r,e),a=[],o=[],s;for(s in n)n.hasOwnProperty(s)&&(a.push(n[s].x),a.push(n[s].y),o.push(s));for(var l=Nx(function(h){for(var f={},v=0;vu?1:-1}),i=0;i=Math.min(e[o].size,e[s].size)?h=1:a.size<=1e-10&&(h=-1),n[o][s]=n[s][o]=h}),{distances:i,constraints:n}}function PN(r,e,t,i){var n=0,a;for(a=0;a0&&d<=h||f<0&&d>=h||(n+=2*p*p,e[2*a]+=4*p*(o-u),e[2*a+1]+=4*p*(s-c),e[2*l]+=4*p*(u-o),e[2*l+1]+=4*p*(c-s))}return n}function DN(r,e){var t=BN(r,e),i=e.lossFunction||Xh;if(r.length>=8){var n=ON(r,e),a=i(n,r),o=i(t,r);a+1e-8=Math.min(i[c].size,i[h].size)&&(u=0),n[c].push({set:h,size:l.size,weight:u}),n[h].push({set:c,size:l.size,weight:u})}var f=[];for(a in n)if(n.hasOwnProperty(a)){for(var v=0,o=0;o=y.length)){var N=Math.max(B-h,0),Y=B,j=Math.min(B+h,y.length-1),P=N-(B-h),G=B+h-j,_=x[-h-1+P]||0,H=x[-h-1+G]||0,$=S/(S-_-H);P>0&&(F+=$*(P-1)*M);var q=Math.max(0,B-h+1);a.inside(0,y.length-1,q)&&(y[q].y+=$*1*M),a.inside(0,y.length-1,Y+1)&&(y[Y+1].y-=$*2*M),a.inside(0,y.length-1,j+1)&&(y[j+1].y+=$*1*M)}});var T=F,k=0,E=0;return y.forEach(function(I){k+=I.y,T+=k,I.y=T,E+=T}),E>0&&y.forEach(function(I){I.y/=E}),y};function s(l,u){for(var c={},h=0,f=-u;f<=u;f++)h+=l(f/u),c[f]=h;return c}r.exports.getExpectedValueFromPdf=function(l){if(!(!l||l.length===0)){var u=0;return l.forEach(function(c){u+=c.x*c.y}),u}},r.exports.getXWithLeftTailArea=function(l,u){if(!(!l||l.length===0)){for(var c=0,h=0,f=0;f=u));f++);return l[h].x}},r.exports.getPerplexity=function(l){if(!(!l||l.length===0)){var u=0;return l.forEach(function(c){var h=Math.log(c.y);isFinite(h)&&(u+=c.y*h)}),u=-u/i,Math.pow(2,u)}}})(jx);var i5=jx.exports;const n5=aw(i5);function vp(r,e){var t=r.length*e;if(r.length===0)throw new Error("quantile requires at least one data point.");if(e<0||e>1)throw new Error("quantiles must be between 0 and 1");return e===1?r[r.length-1]:e===0?r[0]:t%1!==0?r[Math.ceil(t)-1]:r.length%2===0?(r[t-1]+r[t])/2:r[t]}function zn(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function No(r,e,t,i){for(t=t||0,i=i||r.length-1;i>t;){if(i-t>600){var n=i-t+1,a=e-t+1,o=Math.log(n),s=.5*Math.exp(2*o/3),l=.5*Math.sqrt(o*s*(n-s)/n);a-n/2<0&&(l*=-1);var u=Math.max(t,Math.floor(e-a*s/n+l)),c=Math.min(i,Math.floor(e+(n-a)*s/n+l));No(r,e,u,c)}var h=r[e],f=t,v=i;for(zn(r,t,e),r[i]>h&&zn(r,t,i);fh;)v--}r[t]===h?zn(r,t,v):(v++,zn(r,v,i)),v<=e&&(t=v+1),e<=v&&(i=v-1)}}function Nn(r,e){var t=r.slice();if(Array.isArray(e)){a5(t,e);for(var i=[],n=0;n0?c:h},g=L({},r,{options:{xField:n,yField:De,seriesField:n,rawFields:[a,gl,oc,De],widthRatio:l,interval:{style:u,shape:v||"waterfall",color:p}}}),y=te(g).ext,m=y.geometry;return m.customInfo(b(b({},d),{leaderLine:s})),r}function S5(r){var e,t,i=r.options,n=i.xAxis,a=i.yAxis,o=i.xField,s=i.yField,l=i.meta,u=L({},{alias:s},A(l,s));return et(Pt((e={},e[o]=n,e[s]=a,e[De]=a,e),L({},l,(t={},t[De]=u,t[gl]=u,t[_h]=u,t))))(r)}function C5(r){var e=r.chart,t=r.options,i=t.xAxis,n=t.yAxis,a=t.xField,o=t.yField;return i===!1?e.axis(a,!1):e.axis(a,i),n===!1?(e.axis(o,!1),e.axis(De,!1)):(e.axis(o,n),e.axis(De,n)),r}function M5(r){var e=r.chart,t=r.options,i=t.legend,n=t.total,a=t.risingFill,o=t.fallingFill,s=t.locale,l=il(s);if(i===!1)e.legend(!1);else{var u=[{name:l.get(["general","increase"]),value:"increase",marker:{symbol:"square",style:{r:5,fill:a}}},{name:l.get(["general","decrease"]),value:"decrease",marker:{symbol:"square",style:{r:5,fill:o}}}];n&&u.push({name:n.label||"",value:"total",marker:{symbol:"square",style:L({},{r:5},A(n,"style"))}}),e.legend(L({},{custom:!0,position:"top",items:u},i)),e.removeInteraction("legend-filter")}return r}function A5(r){var e=r.chart,t=r.options,i=t.label,n=t.labelMode,a=t.xField,o=Jt(e,"interval");if(!i)o.label(!1);else{var s=i.callback,l=Ct(i,["callback"]);o.label({fields:n==="absolute"?[_h,a]:[gl,a],callback:s,cfg:Ht(l)})}return r}function F5(r){var e=r.chart,t=r.options,i=t.tooltip,n=t.xField,a=t.yField;if(i!==!1){e.tooltip(b({showCrosshairs:!1,showMarkers:!1,shared:!0,fields:[a]},i));var o=e.geometries[0];i!=null&&i.formatter?o.tooltip("".concat(n,"*").concat(a),i.formatter):o.tooltip(a)}else e.tooltip(!1);return r}function T5(r){return et(w5,ht,b5,S5,C5,M5,F5,A5,ri,Tt,wt,Lt())(r)}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="waterfall",t}return e.getDefaultOptions=function(){return g5},e.prototype.changeData=function(t){var i=this.options,n=i.xField,a=i.yField,o=i.total;this.updateOption({data:t}),this.chart.changeData(tw(t,n,a,o))},e.prototype.getSchemaAdaptor=function(){return T5},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e})(ot);var qh="color",E5=L({},ot.getDefaultOptions(),{timeInterval:2e3,legend:!1,tooltip:{showTitle:!1,showMarkers:!1,showCrosshairs:!1,fields:["text","value",qh],formatter:function(r){return{name:r.text,value:r.value}}},wordStyle:{fontFamily:"Verdana",fontWeight:"normal",padding:1,fontSize:[12,60],rotation:[0,90],rotationSteps:2,rotateRatio:.5}}),k5={font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:3e3};function L5(r,e){return e=xt({},k5,e),I5(r,e)}function I5(r,e){var t=X5();["font","fontSize","fontWeight","padding","rotate","size","spiral","timeInterval","random"].forEach(function(l){R(e[l])||t[l](e[l])}),t.words(r),e.imageMask&&t.createMask(e.imageMask);var i=t.start(),n=i._tags;n.forEach(function(l){l.x+=e.size[0]/2,l.y+=e.size[1]/2});var a=e.size,o=a[0],s=a[1];return n.push({text:"",value:0,x:0,y:0,opacity:0}),n.push({text:"",value:0,x:o,y:s,opacity:0}),n}var nu=Math.PI/180,_n=64,Yo=2048;function P5(r){return r.text}function D5(){return"serif"}function gp(){return"normal"}function O5(r){return r.value}function B5(){return~~(Math.random()*2)*90}function R5(){return 1}function z5(r,e,t,i){if(!e.sprite){var n=r.context,a=r.ratio;n.clearRect(0,0,(_n<<5)/a,Yo/a);var o=0,s=0,l=0,u=t.length;for(--i;++i>5<<5,h=~~Math.max(Math.abs(p+g),Math.abs(p-g))}else c=c+31>>5<<5;if(h>l&&(l=h),o+c>=_n<<5&&(o=0,s+=l,l=0),s+h>=Yo)break;n.translate((o+(c>>1))/a,(s+(h>>1))/a),e.rotate&&n.rotate(e.rotate*nu),n.fillText(e.text,0,0),e.padding&&(n.lineWidth=2*e.padding,n.strokeText(e.text,0,0)),n.restore(),e.width=c,e.height=h,e.xoff=o,e.yoff=s,e.x1=c>>1,e.y1=h>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,o+=c}for(var m=n.getImageData(0,0,(_n<<5)/a,Yo/a).data,w=[];--i>=0;)if(e=t[i],!!e.hasText){for(var c=e.width,x=c>>5,h=e.y1-e.y0,S=0;S>5),E=m[(s+T)*(_n<<5)+(o+S)<<2]?1<<31-S%32:0;w[k]|=E,M|=E}M?F=T:(e.y0++,h--,T--,s++)}e.y1=e.y0+F,e.sprite=w.slice(0,(e.y1-e.y0)*x)}}}function N5(r,e,t){t>>=5;for(var i=r.sprite,n=r.width>>5,a=r.x-(n<<4),o=a&127,s=32-o,l=r.y1-r.y0,u=(r.y+r.y0)*t+(a>>5),c,h=0;h>>o:0))&e[u+f])return!0;u+=t}return!1}function G5(r,e){var t=r[0],i=r[1];e.x+e.x0i.x&&(i.x=e.x+e.x1),e.y+e.y1>i.y&&(i.y=e.y+e.y1)}function V5(r,e){return r.x+r.x1>e[0].x&&r.x+r.x0e[0].y&&r.y+r.y0>5)*r[1]),x=l.length,S=[],M=l.map(function(E,I,B){return E.text=c.call(this,E,I,B),E.font=e.call(this,E,I,B),E.style=h.call(this,E,I,B),E.weight=i.call(this,E,I,B),E.rotate=n.call(this,E,I,B),E.size=~~t.call(this,E,I,B),E.padding=a.call(this,E,I,B),E}).sort(function(E,I){return I.size-E.size}),F=-1,T=v.board?[{x:0,y:0},{x:g,y}]:null;k();function k(){for(var E=Date.now();Date.now()-E>1,I.y=y*(s()+.5)>>1,z5(m,I,M,F),I.hasText&&p(w,I,T)&&(S.push(I),T?v.hasImage||G5(T,I):T=[{x:I.x+I.x0,y:I.y+I.y0},{x:I.x+I.x1,y:I.y+I.y1}],I.x-=r[0]>>1,I.y-=r[1]>>1)}v._tags=S,v._bounds=T}return v};function d(g){g.width=g.height=1;var y=Math.sqrt(g.getContext("2d",{willReadFrequently:!0}).getImageData(0,0,1,1).data.length>>2);g.width=(_n<<5)/y,g.height=Yo/y;var m=g.getContext("2d",{willReadFrequently:!0});return m.fillStyle=m.strokeStyle="red",m.textAlign="center",{context:m,ratio:y}}function p(g,y,m){for(var w=y.x,x=y.y,S=Math.sqrt(r[0]*r[0]+r[1]*r[1]),M=o(r),F=s()<.5?1:-1,T,k=-F,E,I;(T=M(k+=F))&&(E=~~T[0],I=~~T[1],!(Math.min(Math.abs(E),Math.abs(I))>=S));)if(y.x=w+E,y.y=x+I,!(y.x+y.x0<0||y.y+y.y0<0||y.x+y.x1>r[0]||y.y+y.y1>r[1])&&(!m||!N5(y,g,r[0]))&&(!m||V5(y,m))){for(var B=y.sprite,N=y.width>>5,Y=r[0]>>5,j=y.x-(N<<4),P=j&127,G=32-P,_=y.y1-y.y0,H=void 0,$=(y.y+y.y0)*Y+(j>>5),q=0;q<_;q++){H=0;for(var it=0;it<=N;it++)g[$+it]|=H<>>P:0);$+=Y}return delete y.sprite,!0}return!1}return v.createMask=function(g){var y=document.createElement("canvas"),m=r[0],w=r[1];if(!(!m||!w)){var x=m>>5,S=yp((m>>5)*w);y.width=m,y.height=w;var M=y.getContext("2d");M.drawImage(g,0,0,g.width,g.height,0,0,m,w);for(var F=M.getImageData(0,0,m,w).data,T=0;T>5),I=T*m+k<<2,B=F[I]>=250&&F[I+1]>=250&&F[I+2]>=250,N=B?1<<31-k%32:0;S[E]|=N}v.board=S,v.hasImage=!0}},v.timeInterval=function(g){u=g??1/0},v.words=function(g){l=g},v.size=function(g){r=[+g[0],+g[1]]},v.font=function(g){e=Qe(g)},v.fontWeight=function(g){i=Qe(g)},v.rotate=function(g){n=Qe(g)},v.spiral=function(g){o=H5[g]||g},v.fontSize=function(g){t=Qe(g)},v.padding=function(g){a=Qe(g)},v.random=function(g){s=Qe(g)},v}function rw(r){var e=r.options,t=r.chart,i=t,n=i.width,a=i.height,o=i.padding,s=i.appendPadding,l=i.ele,u=e.data,c=e.imageMask,h=e.wordField,f=e.weightField,v=e.colorField,d=e.wordStyle,p=e.timeInterval,g=e.random,y=e.spiral,m=e.autoFit,w=m===void 0?!0:m,x=e.placementStrategy;if(!u||!u.length)return[];var S=d.fontFamily,M=d.fontWeight,F=d.padding,T=d.fontSize,k=j5(u,f),E=[K5(k),J5(k)],I=u.map(function(Y){return{text:Y[h],value:Y[f],color:Y[v],datum:Y}}),B={imageMask:c,font:S,fontSize:U5(T,E),fontWeight:M,size:W5({width:n,height:a,padding:o,appendPadding:s,autoFit:w,container:l}),padding:F,timeInterval:p,random:g,spiral:y,rotate:Z5(e)};if(W(x)){var N=I.map(function(Y,j,P){return b(b(b({},Y),{hasText:!!Y.text,font:Qe(B.font)(Y,j,P),weight:Qe(B.fontWeight)(Y,j,P),rotate:Qe(B.rotate)(Y,j,P),size:Qe(B.fontSize)(Y,j,P),style:"normal"}),x.call(t,Y,j,P))});return N.push({text:"",value:0,x:0,y:0,opacity:0}),N.push({text:"",value:0,x:B.size[0],y:B.size[1],opacity:0}),N}return L5(I,B)}function W5(r){var e=r.width,t=r.height,i=r.container,n=r.autoFit,a=r.padding,o=r.appendPadding;if(n){var s=qu(i);e=s.width,t=s.height}e=e||400,t=t||400;var l=_5({padding:a,appendPadding:o}),u=l[0],c=l[1],h=l[2],f=l[3],v=[e-(f+c),t-(u+h)];return v}function _5(r){var e=Ur(r.padding),t=Ur(r.appendPadding),i=e[0]+t[0],n=e[1]+t[1],a=e[2]+t[2],o=e[3]+t[3];return[i,n,a,o]}function q5(r){return new Promise(function(e,t){if(r instanceof HTMLImageElement){e(r);return}if(J(r)){var i=new Image;i.crossOrigin="anonymous",i.src=r,i.onload=function(){e(i)},i.onerror=function(){Ar(_e.ERROR,!1,"image %s load failed !!!",r),t()};return}Ar(_e.WARN,r===void 0,"The type of imageMask option must be String or HTMLImageElement."),t()})}function U5(r,e){if(W(r))return r;if(z(r)){var t=r[0],i=r[1];if(!e)return function(){return(i+t)/2};var n=e[0],a=e[1];return a===n?function(){return(i+t)/2}:function(s){var l=s.value;return(i-t)/(a-n)*(l-n)+t}}return function(){return r}}function j5(r,e){return r.map(function(t){return t[e]}).filter(function(t){return typeof t=="number"&&!isNaN(t)})}function Z5(r){var e=Q5(r),t=e.rotation,i=e.rotationSteps;if(!z(t))return t;var n=t[0],a=t[1],o=i===1?0:(a-n)/(i-1);return function(){return a===n?a:Math.floor(Math.random()*i)*o}}function Q5(r){var e=r.wordStyle.rotationSteps;return e<1&&(Ar(_e.WARN,!1,"The rotationSteps option must be greater than or equal to 1."),e=1),{rotation:r.wordStyle.rotation,rotationSteps:e}}function K5(r){return Math.min.apply(Math,r)}function J5(r){return Math.max.apply(Math,r)}function tG(r){var e=r.chart,t=r.options,i=t.colorField,n=t.color,a=rw(r);e.data(a);var o=L({},r,{options:{xField:"x",yField:"y",seriesField:i&&qh,rawFields:W(n)&&K(K([],A(t,"rawFields",[]),!0),["datum"],!1),point:{color:n,shape:"word-cloud"}}}),s=Ee(o).ext;return s.geometry.label(!1),e.coordinate().reflect("y"),e.axis(!1),r}function eG(r){return et(Pt({x:{nice:!1},y:{nice:!1}}))(r)}function rG(r){var e=r.chart,t=r.options,i=t.legend,n=t.colorField;return i===!1?e.legend(!1):n&&e.legend(qh,i),r}function iG(r){et(tG,eG,Vt,rG,Tt,wt,ht,ri)(r)}dt("point","word-cloud",{draw:function(r,e){var t=r.x,i=r.y,n=e.addShape("text",{attrs:b(b({},nG(r)),{x:t,y:i})}),a=r.data.rotate;return typeof a=="number"&&ye.rotate(n,a*Math.PI/180),n}});function nG(r){return{fontSize:r.data.size,text:r.data.text,textAlign:"center",fontFamily:r.data.font,fontWeight:r.data.weight,fill:r.color||r.defaultStyle.stroke,textBaseline:"alphabetic"}}(function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="word-cloud",t}return e.getDefaultOptions=function(){return E5},e.prototype.changeData=function(t){this.updateOption({data:t}),this.options.imageMask?this.render():this.chart.changeData(rw({chart:this.chart,options:this.options}))},e.prototype.getDefaultOptions=function(){return e.getDefaultOptions()},e.prototype.render=function(){var t=this;return new Promise(function(i){var n=t.options.imageMask;if(!n){r.prototype.render.call(t),i();return}var a=function(o){t.options=b(b({},t.options),{imageMask:o||null}),r.prototype.render.call(t),i()};q5(n).then(a).catch(a)})},e.prototype.getSchemaAdaptor=function(){return iG},e.prototype.triggerResize=function(){var t=this;this.chart.destroyed||(this.execAdaptor(),window.setTimeout(function(){r.prototype.triggerResize.call(t)}))},e})(ot);(function(r){O(e,r);function e(t,i,n,a){var o=r.call(this,t,L({},a,i))||this;return o.type="g2-plot",o.defaultOptions=a,o.adaptor=n,o}return e.prototype.getDefaultOptions=function(){return this.defaultOptions},e.prototype.getSchemaAdaptor=function(){return this.adaptor},e})(ot);i0("en-US",DL);i0("zh-CN",OL);const aG=pn("p",null,"由于 G2 的高度可定置化,导致不同开发者开发出来的图表效果有的好看,有的不好看,G2Plot 解决了这一问题,由官方制定了一套标准设计规范,开发者可以专注于数据,而不用关心最终呈现,当然缺点也很明显,就是自定义上不如 G2 ,所以如果你有更复杂的需求,推荐还是使用 G2 去自行实现。",-1),oG={style:{"margin-bottom":"0"}},sG=pn("div",{id:"chart1",style:{width:"100%",height:"400px"}},null,-1),lG=pn("div",{id:"chart2",style:{width:"100%",height:"400px"}},null,-1),uG=pn("div",{id:"chart3",style:{width:"100%",height:"400px"}},null,-1),cG=pn("div",{id:"chart4",style:{width:"100%",height:"400px"}},null,-1),hG=ow({__name:"g2plot",setup(r){let e,t,i,n;sw(()=>{a(),o(),s(),l()}),lw(()=>{e.destroy(),t.destroy(),i.destroy(),n.destroy()});function a(){const c=[{type:"分类一",values:[76,100]},{type:"分类二",values:[56,108]},{type:"分类三",values:[38,129]},{type:"分类四",values:[58,155]},{type:"分类五",values:[45,120]},{type:"分类六",values:[23,99]},{type:"分类七",values:[18,56]},{type:"分类八",values:[18,34]}];e=new g0("chart1",{data:c,xField:"type",yField:"values",color:"l(90) 0:#3e5bdb 1:#b4d9e4",isRange:!0,columnStyle:{fillOpacity:.8},label:{position:"middle",style:{fill:"#fff"}}}),e.render()}function o(){fetch("https://gw.alipayobjects.com/os/bmw-prod/e00d52f4-2fa6-47ee-a0d7-105dd95bde20.json").then(c=>c.json()).then(c=>{t=new D0("chart2",{data:c,xField:"year",yField:"gdp",seriesField:"name",yAxis:{label:{formatter:h=>`${(Number.parseInt(h)/1e9).toFixed(1)} B`}},legend:{position:"top"},smooth:!0,animation:{appear:{animation:"path-in",duration:5e3}}}),t.render()})}function s(){const c=[{type:"分类一",value:27},{type:"分类二",value:25},{type:"分类三",value:18},{type:"分类四",value:15},{type:"分类五",value:10},{type:"其他",value:5}];i=new G0("chart3",{appendPadding:10,data:c,angleField:"value",colorField:"type",radius:.8,label:{type:"outer",content:"{name} {percentage}"},interactions:[{type:"pie-legend-active"}]}),i.render()}function l(){fetch("https://gw.alipayobjects.com/os/bmw-prod/5c41aa9b-9c8a-425f-9f4d-934b889bb75d.json").then(c=>c.json()).then(c=>{n=new XR("chart4",{data:c,xField:"item",yField:"score",seriesField:"user",xAxis:{label:{offset:15},grid:{line:{type:"line"}}},yAxis:{grid:{line:{type:"circle"}}},point:{shape:"circle"},area:{},legend:{position:"bottom"}}),n.render()})}function u(c){window.open(c,"_blank")}return(c,h)=>{const f=kn("ElTag"),v=hw,d=kn("ElButton"),p=kn("ElButtonGroup"),g=fw,y=vw,m=kn("ElCol"),w=kn("ElRow");return uw(),cw("div",null,[Xt(dw),Xt(g,{title:"G2plot"},{content:Wt(()=>[aG,pn("p",oG,[qa(" 安装命令:"),Xt(f,null,{default:Wt(()=>[qa("pnpm add @antv/g2plot")]),_:1})])]),default:Wt(()=>[Xt(p,null,{default:Wt(()=>[Xt(d,{onClick:h[0]||(h[0]=x=>u("https://github.com/antvis/g2"))},{icon:Wt(()=>[Xt(v,{name:"i-ep:link"})]),default:Wt(()=>[qa(" 访问 G2 ")]),_:1}),Xt(d,{onClick:h[1]||(h[1]=x=>u("https://github.com/antvis/G2Plot"))},{icon:Wt(()=>[Xt(v,{name:"i-ep:link"})]),default:Wt(()=>[qa(" 访问 G2plot ")]),_:1})]),_:1})]),_:1}),Xt(w,{gutter:20,style:{margin:"-10px 10px"}},{default:Wt(()=>[Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"柱状图",style:{margin:"10px 0"}},{default:Wt(()=>[sG]),_:1})]),_:1}),Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"折线图",style:{margin:"10px 0"}},{default:Wt(()=>[lG]),_:1})]),_:1})]),_:1}),Xt(w,{gutter:20,style:{margin:"0 10px"}},{default:Wt(()=>[Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"饼图",style:{margin:"10px 0"}},{default:Wt(()=>[uG]),_:1})]),_:1}),Xt(m,{md:12},{default:Wt(()=>[Xt(y,{title:"雷达图",style:{margin:"10px 0"}},{default:Wt(()=>[cG]),_:1})]),_:1})]),_:1})])}}});typeof Uh=="function"&&Uh(hG);export{hG as default}; diff --git a/assets/g2plot-ByQeLT_O.js.br b/assets/g2plot-ByQeLT_O.js.br new file mode 100644 index 000000000..fdfa542b6 Binary files /dev/null and b/assets/g2plot-ByQeLT_O.js.br differ diff --git a/assets/g2plot-ByQeLT_O.js.gz b/assets/g2plot-ByQeLT_O.js.gz new file mode 100644 index 000000000..5d0792359 Binary files /dev/null and b/assets/g2plot-ByQeLT_O.js.gz differ diff --git a/assets/hooks.plus-HjUtBwJP.js b/assets/hooks.plus-HjUtBwJP.js new file mode 100644 index 000000000..b896339ae --- /dev/null +++ b/assets/hooks.plus-HjUtBwJP.js @@ -0,0 +1,5 @@ +import{h,r as m,cb as E,I as qe,bB as Ce,cj as ee,ck as je,H as Q,bl as vr,ar as dr,l as pr,bY as hr,d as gr,e as be,o as br,f as _r,i as P,j as C,g as N,n as F,t as ze,x as $r,R as yr,Q as mr,z as ke}from"./index-C_dOR4Zc.js";import Tr from"./alert-CMVXPJVB.js";const Ft=(e,{manual:t,ready:r=!0,refreshDeps:n=[],refreshDepsAction:i})=>{const o=m(!1);return E(()=>{!t&&e.options.refreshDeps!==!0&&(o.value=h(r))}),n instanceof Array?qe([o,...n],([a])=>{a&&!t&&a&&(i?i():e.refresh())},{deep:!0,immediate:!1}):qe(o,a=>{!t&&a&&(i?i():e.refresh())}),{name:"autoRunPlugin",onBefore:()=>{if(!h(r))return{stopNow:!0}}}};Ft.onInit=({ready:e=!0,manual:t})=>({loading:!t&&h(e)});const ne=new Map,wr=(e,t,r)=>{const n=ne.get(e);n!=null&&n.timer&&clearTimeout(n.timer);let i;t>-1&&(i=setTimeout(()=>{ne.delete(e)},t)),ne.set(e,{...r,timer:i})},Sr=e=>ne.get(e),ae=new Map,Or=e=>ae.get(e),Ar=(e,t)=>{ae.set(e,t),t.then(r=>(ae.delete(e),r)).catch(r=>{throw ae.delete(e),r})},M={},Pr=[],Cr=(e,t)=>{M[e]&&(M[e].forEach(r=>r(t)),Pr.forEach(r=>r({type:e,data:t})))},_e=(e,t)=>(M[e]||(M[e]=[]),M[e].push(t),function(){const n=M[e].indexOf(t);M[e].splice(n,1)}),jr=(e,{cacheKey:t,cacheTime:r=5*60*1e3,staleTime:n=0,setCache:i,getCache:o})=>{const a=m(),s=m(),u=(l,c)=>{i?i(c):wr(l,r,c),Cr(l,c.data)},f=(l,c=[])=>o?o(c):Sr(l);return E(()=>{if(!t)return;const l=f(t);l&&Object.hasOwnProperty.call(l,"data")&&(e.state.data=l.data,e.state.params=l.params,(n===-1||new Date().getTime()-l.time<=n)&&(e.state.loading=!1)),a.value=_e(t,c=>{e.setState({data:c})})}),Ce(()=>{var l;(l=a.value)==null||l.call(a)}),t?{name:"cachePlugin",onBefore:l=>{const c=f(t,l);return!c||!Object.hasOwnProperty.call(c,"data")?{}:n===-1||new Date().getTime()-c.time<=n?{loading:!1,data:c==null?void 0:c.data,returnNow:!0}:{data:c==null?void 0:c.data}},onRequest:(l,c)=>{let v=Or(t);return v&&v!==s.value?{servicePromise:v}:(v=l(...c),s.value=v,Ar(t,v),{servicePromise:v})},onSuccess:(l,c)=>{var v;t&&((v=a.value)==null||v.call(a),u(t,{data:l,params:c,time:new Date().getTime()}),a.value=_e(t,d=>{e.setState({data:d})}))},onMutate:l=>{var c;t&&((c=a.value)==null||c.call(a),u(t,{data:l,params:e.state.params,time:new Date().getTime()}),a.value=_e(t,v=>{e.setState({data:v})}))}}:{}};function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var S=Er,xr=typeof ee=="object"&&ee&&ee.Object===Object&&ee,Dt=xr,Ir=Dt,Fr=typeof self=="object"&&self&&self.Object===Object&&self,Dr=Ir||Fr||Function("return this")(),O=Dr,Rr=O,Mr=function(){return Rr.Date.now()},Lr=Mr,Br=/\s/;function Ur(e){for(var t=e.length;t--&&Br.test(e.charAt(t)););return t}var Nr=Ur,Gr=Nr,Hr=/^\s+/;function Vr(e){return e&&e.slice(0,Gr(e)+1).replace(Hr,"")}var qr=Vr,zr=O,kr=zr.Symbol,le=kr,Ke=le,Rt=Object.prototype,Kr=Rt.hasOwnProperty,Wr=Rt.toString,K=Ke?Ke.toStringTag:void 0;function Yr(e){var t=Kr.call(e,K),r=e[K];try{e[K]=void 0;var n=!0}catch{}var i=Wr.call(e);return n&&(t?e[K]=r:delete e[K]),i}var Qr=Yr,Xr=Object.prototype,Jr=Xr.toString;function Zr(e){return Jr.call(e)}var en=Zr,We=le,tn=Qr,rn=en,nn="[object Null]",an="[object Undefined]",Ye=We?We.toStringTag:void 0;function sn(e){return e==null?e===void 0?an:nn:Ye&&Ye in Object(e)?tn(e):rn(e)}var G=sn;function on(e){return e!=null&&typeof e=="object"}var x=on,un=G,ln=x,cn="[object Symbol]";function fn(e){return typeof e=="symbol"||ln(e)&&un(e)==cn}var vn=fn,dn=qr,Qe=S,pn=vn,Xe=NaN,hn=/^[-+]0x[0-9a-f]+$/i,gn=/^0b[01]+$/i,bn=/^0o[0-7]+$/i,_n=parseInt;function $n(e){if(typeof e=="number")return e;if(pn(e))return Xe;if(Qe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Qe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=dn(e);var r=gn.test(e);return r||bn.test(e)?_n(e.slice(2),r?2:8):hn.test(e)?Xe:+e}var yn=$n,mn=S,$e=Lr,Je=yn,Tn="Expected a function",wn=Math.max,Sn=Math.min;function On(e,t,r){var n,i,o,a,s,u,f=0,l=!1,c=!1,v=!0;if(typeof e!="function")throw new TypeError(Tn);t=Je(t)||0,mn(r)&&(l=!!r.leading,c="maxWait"in r,o=c?wn(Je(r.maxWait)||0,t):o,v="trailing"in r?!!r.trailing:v);function d(y){var w=n,j=i;return n=i=void 0,f=y,a=e.apply(j,w),a}function T(y){return f=y,s=setTimeout(p,t),l?d(y):a}function b(y){var w=y-u,j=y-f,A=t-w;return c?Sn(A,o-j):A}function $(y){var w=y-u,j=y-f;return u===void 0||w>=t||w<0||c&&j>=o}function p(){var y=$e();if($(y))return B(y);s=setTimeout(p,b(y))}function B(y){return s=void 0,v&&n?d(y):(n=i=void 0,a)}function I(){s!==void 0&&clearTimeout(s),f=0,n=u=i=s=void 0}function Z(){return s===void 0?a:B($e())}function U(){var y=$e(),w=$(y);if(n=arguments,i=this,u=y,w){if(s===void 0)return T(u);if(c)return clearTimeout(s),s=setTimeout(p,t),d(u)}return s===void 0&&(s=setTimeout(p,t)),a}return U.cancel=I,U.flush=Z,U}var Mt=On;const An=je(Mt),Pn=(e,{debounceWait:t,debounceLeading:r,debounceTrailing:n,debounceMaxWait:i})=>{const o=m(),a=Q(()=>{const s={},u=h(r),f=h(n),l=h(i);return u!==void 0&&(s.leading=u),f!==void 0&&(s.trailing=f),l!==void 0&&(s.maxWait=l),s});return E(s=>{if(h(t)){const u=e.runAsync.bind(e);o.value=An(f=>{f()},h(t),a.value),e.runAsync=(...f)=>new Promise((l,c)=>{var v;(v=o.value)==null||v.call(o,()=>{u(...f).then(l).catch(c)})}),s(()=>{var f;(f=o.value)==null||f.cancel(),e.runAsync=u})}}),h(t)?{name:"debouncePlugin",onCancel:()=>{var s;(s=o.value)==null||s.cancel()}}:{}};var Cn=Object.defineProperty,jn=(e,t,r)=>t in e?Cn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ze=(e,t,r)=>(jn(e,typeof t!="symbol"?t+"":t,r),r);class En{constructor(){Ze(this,"table",{}),Ze(this,"hashTable",{})}insert(t){const r=Symbol(t);return this.table[t]=!0,this.hashTable[r]=t,r}find(t){return this.hashTable[t]}}new En;var xn=Object.defineProperty,In=(e,t,r)=>t in e?xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,et=(e,t,r)=>(In(e,typeof t!="symbol"?t+"":t,r),r);class Fn{constructor(){et(this,"requestInstances",new Map),et(this,"listeners",[])}emit(t){this.listeners.forEach(r=>r(t))}subscribe(t){return this.listeners.push(t),()=>{const r=this.listeners.indexOf(t);this.listeners.splice(r,1)}}insert(t,r){this.requestInstances.set(t,{...r}),this.emit({key:t,...r})}update(t,r){this.has(t)&&this.requestInstances.set(t,{...this.requestInstances.get(t),...r})}has(t){return this.requestInstances.has(t)}reset(t){if(this.requestInstances.has(t)){const r=this.requestInstances.get(t);this.requestInstances.clear(),this.insert(t,r)}else this.requestInstances.clear()}getAll(){return this.requestInstances}}new Fn;const Dn=(e,{loadingDelay:t})=>{const r=m(),n=()=>{r.value&&(clearTimeout(h(r.value)),r.value=void 0)};return{name:"loadingDelayPlugin",onFinally:()=>{n();const i=h(t);i&&(e.setState({loading:!0}),r.value=setTimeout(()=>{e.setState({loading:!1})},i))},onError:()=>{n()}}};function Ee(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}const Rn=!!(typeof window<"u"&&window.document&&window.document.createElement);function xe(){return Ee()?document.visibilityState!=="hidden":!0}const W=[];function Mn(e){return W.push(e),function(){const r=W.indexOf(e);W.splice(r,1)}}if(Ee()){const e=()=>{if(xe())for(let t=0;t{let i;const o=m(),a=m(0),s=()=>{var u;i&&clearTimeout(i),(u=o.value)==null||u.call(o)};return E(()=>{h(t)||s()}),h(t)?{name:"pollingPlugin",onBefore:()=>{s()},onError:()=>{a.value+=1},onSuccess:()=>{a.value=0},onFinally:()=>{n===-1||n!==-1&&a.value<=n?i=setTimeout(()=>{!r&&!xe()?o.value=Mn(()=>{e.refresh()}):e.refresh()},h(t)):a.value=0},onCancel:()=>{s()}}:{}};function Bn(e,t){let r=!1;return(...n)=>{r||(r=!0,e(...n),setTimeout(()=>{r=!1},t))}}function Un(){return Ee()&&typeof navigator.onLine<"u"?navigator.onLine:!0}const Y=[];function Nn(e){return Y.push(e),function(){const r=Y.indexOf(e);r>-1&&Y.splice(r,1)}}if(Rn){const e=()=>{if(!(!xe()||!Un()))for(let t=0;t{const n=m(),i=()=>{var o;(o=n.value)==null||o.call(n)};return E(o=>{if(h(t)){const a=Bn(e.refresh.bind(e),h(r));n.value=Nn(()=>{a()})}o(()=>{i()})}),Ce(()=>{i()}),{name:"refreshOnWindowFocusPlugin"}},Hn=(e,{retryInterval:t,retryCount:r})=>{const n=m(),i=m(0),o=m(!1);return r?{name:"retryPlugin",onBefore:()=>{o.value||(i.value=0),o.value=!1,n.value&&clearTimeout(n.value)},onSuccess:()=>{i.value=0},onError:()=>{if(i.value+=1,r===-1||i.value<=r){const a=t??Math.min(1e3*2**i.value,3e4);n.value=setTimeout(()=>{o.value=!0,e.refresh()},a)}else i.value=0},onCancel:()=>{i.value=0,n.value&&clearTimeout(n.value)}}:{}};var Vn=Mt,qn=S,zn="Expected a function";function kn(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(zn);return qn(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Vn(e,t,{leading:n,maxWait:t,trailing:i})}var Kn=kn;const Wn=je(Kn),Yn=(e,{throttleWait:t,throttleLeading:r,throttleTrailing:n})=>{const i=Q(()=>{const a={};return h(r)!==void 0&&(a.leading=h(r)),h(n)!==void 0&&(a.trailing=h(n)),a}),o=Q(()=>Wn(a=>{a()},h(t),i.value));return E(a=>{if(h(t)){const s=e.runAsync.bind(e);e.runAsync=(...u)=>new Promise((f,l)=>{var c;(c=o.value)==null||c.call(o,()=>{s(...u).then(f).catch(l)})}),a(()=>{var u;e.runAsync=s,(u=o.value)==null||u.cancel()})}}),h(t)?{name:"throttlePlugin",onCancel:()=>{var a;(a=o.value)==null||a.cancel()}}:{}},tt=e=>typeof e=="function",Qn=e=>typeof e=="boolean";var Xn=Object.defineProperty,Jn=(e,t,r)=>t in e?Xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,te=(e,t,r)=>(Jn(e,typeof t!="symbol"?t+"":t,r),r);class Zn{constructor(t,r,n,i={}){te(this,"pluginImpls"),te(this,"count",0),te(this,"state",{loading:!1,params:void 0,data:void 0,error:void 0}),te(this,"previousValidData"),this.serviceRef=t,this.options=r,this.setUpdateData=n,this.initState=i,this.state={...this.state,loading:!r.manual,...i}}setState(t={}){this.state={...this.state,...t},this.setUpdateData(this.state)}setData(t,r){console.warn("Please use 'setFetchState' instead of 'setData'"),r instanceof Array?r.forEach(n=>{this.state[n]=t,this.setUpdateData(t,n)}):(this.state[r]=t,this.setUpdateData(t,r))}setFetchState(t,r){r instanceof Array?r.forEach(n=>{this.state[n]=t,this.setUpdateData(t,n)}):(this.state[r]=t,this.setUpdateData(t,r))}runPluginHandler(t,...r){var n,i,o;const a=(o=(i=(n=this.pluginImpls)==null?void 0:n.map(s=>{var u;return(u=s[t])==null?void 0:u.call(s,...r)}))!=null?i:[])==null?void 0:o.filter(Boolean);return Object.assign({},...a)}async runAsync(...t){var r,n,i,o,a,s,u,f,l,c,v;this.count+=1;const d=this.count,{stopNow:T=!1,returnNow:b=!1,...$}=this.runPluginHandler("onBefore",t);if(T)return new Promise(()=>{});if(this.setState({loading:!0,params:t,...$}),b)return Promise.resolve($.data);try{(n=(r=this.options).onBefore)==null||n.call(r,t)}catch(p){return this.setState({error:p,loading:!1}),(o=(i=this.options).onError)==null||o.call(i,p,t),this.runPluginHandler("onError",p,t),new Promise(()=>{})}try{let{servicePromise:p}=this.runPluginHandler("onRequest",this.serviceRef.value,t);const B=Z=>{var U,y,w,j;if(d!==this.count)return new Promise(()=>{});const A=this.options.formatResult?this.options.formatResult(Z):Z;return this.setState({data:A,error:void 0,loading:!1}),(y=(U=this.options).onSuccess)==null||y.call(U,A,t),this.runPluginHandler("onSuccess",A,t),this.previousValidData=A,(j=(w=this.options).onFinally)==null||j.call(w,t,A,void 0),d===this.count&&this.runPluginHandler("onFinally",t,A,void 0),A};p||(p=this.serviceRef.value(...t));const I=await p;return B(I)}catch(p){if(d!==this.count)return new Promise(()=>{});throw this.setState({error:p,loading:!1}),(s=(a=this.options).onError)==null||s.call(a,p,t),this.runPluginHandler("onError",p,t),(tt((u=this.options)==null?void 0:u.rollbackOnError)&&((f=this.options)!=null&&f.rollbackOnError(t))||Qn((l=this.options)==null?void 0:l.rollbackOnError)&&this.options.rollbackOnError)&&this.setState({data:this.previousValidData}),(v=(c=this.options).onFinally)==null||v.call(c,t,void 0,p),d===this.count&&this.runPluginHandler("onFinally",t,void 0,p),p}}run(...t){this.runAsync(...t).catch(r=>{this.options.onError||console.error(r)})}cancel(){this.count+=1,this.setState({loading:!1}),this.runPluginHandler("onCancel")}refresh(){this.run(...this.state.params||[])}refreshAsync(){return this.runAsync(...this.state.params||[])}mutate(t){const r=tt(t)?t(this.state.data):t;this.runPluginHandler("onMutate",r),this.setState({data:r})}}const ea=Symbol("USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY");function ta(e){return Object.keys(e).filter(r=>["data","loading","params","error"].includes(r)).length===4}function ra(e,t={},r=[]){const n=vr(ea,{}),{initialData:i=void 0,manual:o=!1,ready:a=!0,...s}={...n??{},...t??{}},u={manual:o,ready:a,initialData:i,...s},f=m(e),l=dr({data:i,loading:!1,params:void 0,error:void 0}),c=(b,$)=>{$?l[$]=b:ta(b)&&(l.data=b.data,l.loading=b.loading,l.error=b.error,l.params=b.params)},v=r.map(b=>{var $;return($=b==null?void 0:b.onInit)==null?void 0:$.call(b,u)}).filter(Boolean),d=new Zn(f,u,c,Object.assign({},...v,l));d.options=u,d.pluginImpls=r.map(b=>b(d,u));const T=Q(()=>pr(a)?a.value:a);if(E(()=>{if(!o){const b=d.state.params||t.defaultParams||[];T.value&&d.options.refreshDeps===!0&&f.value&&d.run(...b)}}),!o&&d.options.refreshDeps!==!0){const b=d.state.params||t.defaultParams||[];h(a)&&d.run(...b)}return Ce(()=>{d.cancel()}),{...hr(l),cancel:d.cancel.bind(d),refresh:d.refresh.bind(d),refreshAsync:d.refreshAsync.bind(d),run:d.run.bind(d),runAsync:d.runAsync.bind(d),mutate:d.mutate.bind(d)}}const na=(e,t)=>function(n,i={},o=[]){let a=e;const s=t||[];for(let u=s.length;u--;)a=s[u](a);return a(n,i,o)};function aa(e,t,r){var n;const i=(n=[null,Pn,Dn,Ln,Gn,Yn,Ft,jr,Hn])==null?void 0:n.filter(Boolean);return na(ra,t==null?void 0:t.use)(e,t,[...i])}/*! js-cookie v3.0.5 | MIT */function re(e){for(var t=1;t"u")){a=re({},t,a),typeof a.expires=="number"&&(a.expires=new Date(Date.now()+a.expires*864e5)),a.expires&&(a.expires=a.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var u in a)a[u]&&(s+="; "+u,a[u]!==!0&&(s+="="+a[u].split(";")[0]));return document.cookie=i+"="+e.write(o,i)+s}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var o=document.cookie?document.cookie.split("; "):[],a={},s=0;s-1}var ma=ya,Ta=fe;function wa(e,t){var r=this.__data__,n=Ta(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var Sa=wa,Oa=oa,Aa=ha,Pa=_a,Ca=ma,ja=Sa;function H(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=oo}var zt=uo,lo=G,co=zt,fo=x,vo="[object Arguments]",po="[object Array]",ho="[object Boolean]",go="[object Date]",bo="[object Error]",_o="[object Function]",$o="[object Map]",yo="[object Number]",mo="[object Object]",To="[object RegExp]",wo="[object Set]",So="[object String]",Oo="[object WeakMap]",Ao="[object ArrayBuffer]",Po="[object DataView]",Co="[object Float32Array]",jo="[object Float64Array]",Eo="[object Int8Array]",xo="[object Int16Array]",Io="[object Int32Array]",Fo="[object Uint8Array]",Do="[object Uint8ClampedArray]",Ro="[object Uint16Array]",Mo="[object Uint32Array]",_={};_[Co]=_[jo]=_[Eo]=_[xo]=_[Io]=_[Fo]=_[Do]=_[Ro]=_[Mo]=!0;_[vo]=_[po]=_[Ao]=_[ho]=_[Po]=_[go]=_[bo]=_[_o]=_[$o]=_[yo]=_[mo]=_[To]=_[wo]=_[So]=_[Oo]=!1;function Lo(e){return fo(e)&&co(e.length)&&!!_[lo(e)]}var Bo=Lo;function Uo(e){return function(t){return e(t)}}var Me=Uo,oe={exports:{}};oe.exports;(function(e,t){var r=Dt,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o&&r.process,s=function(){try{var u=i&&i.require&&i.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s})(oe,oe.exports);var Le=oe.exports,No=Bo,Go=Me,ot=Le,ut=ot&&ot.isTypedArray,Ho=ut?Go(ut):No,kt=Ho,Vo=zs,qo=Vt,zo=he,ko=Re,Ko=qt,Wo=kt,Yo=Object.prototype,Qo=Yo.hasOwnProperty;function Xo(e,t){var r=zo(e),n=!r&&qo(e),i=!r&&!n&&ko(e),o=!r&&!n&&!i&&Wo(e),a=r||n||i||o,s=a?Vo(e.length,String):[],u=s.length;for(var f in e)(t||Qo.call(e,f))&&!(a&&(f=="length"||i&&(f=="offset"||f=="parent")||o&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Ko(f,u)))&&s.push(f);return s}var Kt=Xo,Jo=Object.prototype;function Zo(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Jo;return e===r}var Be=Zo;function eu(e,t){return function(r){return e(t(r))}}var Wt=eu,tu=Wt,ru=tu(Object.keys,Object),nu=ru,au=Be,iu=nu,su=Object.prototype,ou=su.hasOwnProperty;function uu(e){if(!au(e))return iu(e);var t=[];for(var r in Object(e))ou.call(e,r)&&r!="constructor"&&t.push(r);return t}var lu=uu,cu=Ie,fu=zt;function vu(e){return e!=null&&fu(e.length)&&!cu(e)}var ge=vu,du=Kt,pu=lu,hu=ge;function gu(e){return hu(e)?du(e):pu(e)}var Ue=gu,bu=X,_u=Ue;function $u(e,t){return e&&bu(t,_u(t),e)}var yu=$u;function mu(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var Tu=mu,wu=S,Su=Be,Ou=Tu,Au=Object.prototype,Pu=Au.hasOwnProperty;function Cu(e){if(!wu(e))return Ou(e);var t=Su(e),r=[];for(var n in e)n=="constructor"&&(t||!Pu.call(e,n))||r.push(n);return r}var ju=Cu,Eu=Kt,xu=ju,Iu=ge;function Fu(e){return Iu(e)?Eu(e,!0):xu(e)}var J=Fu,Du=X,Ru=J;function Mu(e,t){return e&&Du(t,Ru(t),e)}var Lu=Mu,ue={exports:{}};ue.exports;(function(e,t){var r=O,n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===n,a=o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function u(f,l){if(l)return f.slice();var c=f.length,v=s?s(c):new f.constructor(c);return f.copy(v),v}e.exports=u})(ue,ue.exports);var Yt=ue.exports;function Bu(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++rt in e?ov(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,D=(e,t,r)=>(uv(e,typeof t!="symbol"?t+"":t,r),r);class lv{constructor(){D(this,"subscriptions",new Map),D(this,"emitEffectCache",new Map),D(this,"useSubscription",(t,r)=>{const n=m();E(i=>{var o,a;n.value=r;function s(f){n.value&&n.value(f)}const u=(a=(o=this.subscriptions)==null?void 0:o.get(t))!=null?a:[];u.push(s),this.subscriptions.set(t,u),this.emitEffect(t),i(()=>{this.subscriptions.delete(t)})})}),D(this,"emit",(t,...r)=>{if(typeof t=="string"||typeof t=="number"){const n=this.subscriptions.get(t);n==null||n.forEach(i=>{i==null||i({params:St(r),event:t})}),this.emitEffectCache.set(t,{params:St(r),event:t})}else throw new TypeError("event must be string or number !")}),D(this,"emitEffect",t=>{const r=this.emitEffectCache.get(t),n=this.subscriptions.get(t);r&&(n==null||n.forEach(i=>{i==null||i({...r})}))}),D(this,"removeListener",t=>{this.subscriptions.delete(t)}),D(this,"clear",()=>{this.subscriptions.clear()}),this.clear()}}new lv;var cv={exports:{}};/*! +* screenfull +* v5.2.0 - 2021-11-03 +* (c) Sindre Sorhus; MIT License +*/(function(e){(function(){var t=typeof window<"u"&&typeof window.document<"u"?window.document:{},r=e.exports,n=function(){for(var a,s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=s.length,l={};u0){if(++t>=Od)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var jd=Cd,Ed=Sd,xd=jd,Id=xd(Ed),Fd=Id,Dd=fr,Rd=_d,Md=Fd;function Ld(e,t){return Md(Rd(e,t,Dd),e+"")}var Bd=Ld,Ud=ce,Nd=ge,Gd=qt,Hd=S;function Vd(e,t,r){if(!Hd(r))return!1;var n=typeof t;return(n=="number"?Nd(r)&&Gd(t,r.length):n=="string"&&t in r)?Ud(r[t],e):!1}var qd=Vd,zd=Bd,kd=qd;function Kd(e){return zd(function(t,r){var n=-1,i=r.length,o=i>1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&kd(r[0],r[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++n{setTimeout(()=>{c(String(Date.now()))},1e3)})}const r=m(900),n=Q(()=>r.value+100),{data:i,run:o,loading:a,cancel:s}=aa(()=>t(),{manual:!0,pollingInterval:n,pollingWhenHidden:!1});function u(){o()}function f(){r.value+=100}function l(c){window.open(c,"_blank")}return(c,v)=>{const d=be("ElTag"),T=$r,b=be("ElButton"),$=yr,p=be("el-button"),B=mr;return br(),_r("div",null,[P(Tr),P($,{title:"VueHooks Plus"},{content:C(()=>[Xd,N("p",Jd,[F(" 安装命令:"),P(d,null,{default:C(()=>[F("pnpm add vue-hooks-plus")]),_:1})])]),default:C(()=>[P(b,{onClick:v[0]||(v[0]=I=>l("https://github.com/InhiblabCore/vue-hooks-plus"))},{icon:C(()=>[P(T,{name:"i-ep:link"})]),default:C(()=>[F(" 访问 VueHooks Plus ")]),_:1})]),_:1}),P(B,{title:"轮询"},{default:C(()=>[N("div",Zd,[F(" Data:"),N("span",null,ze(h(a)?"loading":h(i)),1)]),N("div",ep," PollingInterval:"+ze(h(n))+"ms ",1),N("div",null,[P(p,{onClick:v[1]||(v[1]=I=>u())},{default:C(()=>[F(" Start ")]),_:1}),P(p,{onClick:v[2]||(v[2]=I=>f())},{default:C(()=>[F(" time + 100ms ")]),_:1}),P(p,{onClick:v[3]||(v[3]=I=>h(s)())},{default:C(()=>[F(" Stop ")]),_:1})])]),_:1})])}}});typeof ke=="function"&&ke(tp);export{tp as default}; diff --git a/assets/hooks.plus-HjUtBwJP.js.br b/assets/hooks.plus-HjUtBwJP.js.br new file mode 100644 index 000000000..cf85072c1 Binary files /dev/null and b/assets/hooks.plus-HjUtBwJP.js.br differ diff --git a/assets/hooks.plus-HjUtBwJP.js.gz b/assets/hooks.plus-HjUtBwJP.js.gz new file mode 100644 index 000000000..5d0a7b8fb Binary files /dev/null and b/assets/hooks.plus-HjUtBwJP.js.gz differ diff --git a/assets/icon-4QKxi1eC.css b/assets/icon-4QKxi1eC.css new file mode 100644 index 000000000..51e3cd69d --- /dev/null +++ b/assets/icon-4QKxi1eC.css @@ -0,0 +1 @@ +.demo>i[data-v-dc5285a2]{margin:0 20px;font-size:1.5em;color:#606266;vertical-align:middle}.demo button[data-v-dc5285a2]{margin:0 20px}.list-icon[data-v-dc5285a2]{display:inline-block;margin:10px}.list-icon i[data-v-dc5285a2]{font-size:32px;color:#606266} diff --git a/assets/icon-4QKxi1eC.css.br b/assets/icon-4QKxi1eC.css.br new file mode 100644 index 000000000..e555bdb87 Binary files /dev/null and b/assets/icon-4QKxi1eC.css.br differ diff --git a/assets/icon-4QKxi1eC.css.gz b/assets/icon-4QKxi1eC.css.gz new file mode 100644 index 000000000..8ec9f2dc1 Binary files /dev/null and b/assets/icon-4QKxi1eC.css.gz differ diff --git a/assets/icon-DsvBNOl7.js b/assets/icon-DsvBNOl7.js new file mode 100644 index 000000000..91d6179ac --- /dev/null +++ b/assets/icon-DsvBNOl7.js @@ -0,0 +1 @@ +import{d as f,U as u,e as o,o as a,f as s,g as v,i as e,j as n,n as l,F as x,S as E,h,x as B,y as k}from"./index-C_dOR4Zc.js";const y={class:"demo"},g=f({__name:"icon",setup(C){const r=u.filter(c=>c.prefix==="ep")[0];return(c,I)=>{const t=B,p=o("ElButton"),_=o("ElDivider"),d=o("ElTooltip");return a(),s("div",null,[v("div",y,[e(t,{name:"i-ep:edit"}),e(t,{name:"i-ep:share"}),e(t,{name:"i-ep:delete"}),e(p,{type:"primary"},{icon:n(()=>[e(t,{name:"i-ep:search"})]),default:n(()=>[l(" 搜索 ")]),_:1})]),e(_,{"content-position":"left"},{default:n(()=>[l(" 图标集合 ")]),_:1}),(a(!0),s(x,null,E(h(r).icons,(i,m)=>(a(),s("div",{key:m,class:"list-icon"},[e(d,{class:"item",effect:"dark",content:`ep:${i}`,placement:"top"},{default:n(()=>[e(t,{name:`ep:${i}`},null,8,["name"])]),_:2},1032,["content"])]))),128))])}}}),T=k(g,[["__scopeId","data-v-dc5285a2"]]);export{T as default}; diff --git a/assets/icon-DsvBNOl7.js.br b/assets/icon-DsvBNOl7.js.br new file mode 100644 index 000000000..f1d1a51b4 Binary files /dev/null and b/assets/icon-DsvBNOl7.js.br differ diff --git a/assets/icon-DsvBNOl7.js.gz b/assets/icon-DsvBNOl7.js.gz new file mode 100644 index 000000000..a268842d0 Binary files /dev/null and b/assets/icon-DsvBNOl7.js.gz differ diff --git a/assets/iconfont.1718356806978-BWPM0i8e.woff b/assets/iconfont.1718356806978-BWPM0i8e.woff new file mode 100644 index 000000000..ba476c09c Binary files /dev/null and b/assets/iconfont.1718356806978-BWPM0i8e.woff differ diff --git a/assets/iconfont.1718356806978-BYLQ8NX1.ttf b/assets/iconfont.1718356806978-BYLQ8NX1.ttf new file mode 100644 index 000000000..9b96ff901 Binary files /dev/null and b/assets/iconfont.1718356806978-BYLQ8NX1.ttf differ diff --git a/assets/iconify-5gi1snBD.css b/assets/iconify-5gi1snBD.css new file mode 100644 index 000000000..7f23d3aba --- /dev/null +++ b/assets/iconify-5gi1snBD.css @@ -0,0 +1 @@ +.el-card[data-v-a3597b18]{margin-bottom:15px}.el-card[data-v-a3597b18] .el-card__body{display:flex;justify-content:center;cursor:pointer}.el-card i[data-v-a3597b18]{font-size:24px}[data-v-a3597b18] .el-dialog .el-dialog__body{padding:0 16px 16px}[data-v-a3597b18] .el-dialog .icon-box{display:flex;align-items:center;justify-content:center;width:80px;height:80px;border:1px solid #e0e8ef}[data-v-a3597b18] .el-dialog .icon-box i{font-size:60px}[data-v-a3597b18] .el-dialog .icon-info{display:flex;flex-direction:column;justify-content:space-between;height:100%}[data-v-a3597b18] .el-dialog .icon-info .title{font-size:24px;font-weight:700} diff --git a/assets/iconify-5gi1snBD.css.br b/assets/iconify-5gi1snBD.css.br new file mode 100644 index 000000000..873d4042e Binary files /dev/null and b/assets/iconify-5gi1snBD.css.br differ diff --git a/assets/iconify-5gi1snBD.css.gz b/assets/iconify-5gi1snBD.css.gz new file mode 100644 index 000000000..613cd9e79 Binary files /dev/null and b/assets/iconify-5gi1snBD.css.gz differ diff --git a/assets/iconify-dEf93DN0.js b/assets/iconify-dEf93DN0.js new file mode 100644 index 000000000..cf88ee0c2 --- /dev/null +++ b/assets/iconify-dEf93DN0.js @@ -0,0 +1 @@ +import{d as P,r as U,H as F,I as H,E as j,e as a,o as i,f,i as e,j as o,n as _,F as x,S as y,h as t,U as z,g as u,t as L,l as Q,R as T,x as q,M as g,Q as A,y as G,z as C}from"./index-C_dOR4Zc.js";import{a as J}from"./index-RuUgmrQn.js";const K={class:"icon-box"},O={class:"icon-info"},W={class:"title"},X={class:"more-info"},$=P({__name:"iconify",setup(Y){const{text:I,copy:w,copied:N}=J(),l=U({visible:!1,iconName:""}),c=F(()=>``);H(N,d=>{d&&j.success(`复制成功:${I.value}`)});function V(d){l.value.iconName=d,l.value.visible=!0}return(d,s)=>{const b=T,m=q,h=a("ElCard"),r=a("ElCol"),p=a("ElRow"),k=A,v=a("ElButton"),B=a("ElInput"),D=a("ElDivider"),R=a("ElDialog");return i(),f("div",null,[e(b,{title:"Iconify"},{content:o(()=>[_(" 本框架支持使用 Iconify 的所有图标集,以下展示部分图标集。 ")]),_:1}),(i(!0),f(x,null,y(t(z),(n,S)=>(i(),g(k,{key:S,title:n.info.name},{default:o(()=>[e(p,{gutter:20},{default:o(()=>[(i(!0),f(x,null,y(n.info.samples,(E,M)=>(i(),g(r,{key:M,xs:6,sm:8,md:3,lg:2},{default:o(()=>[e(h,{shadow:"hover",onClick:Z=>V(`${n.prefix}:${E}`)},{default:o(()=>[e(m,{name:`${n.prefix}:${E}`},null,8,["name"])]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),e(R,{modelValue:t(l).visible,"onUpdate:modelValue":s[2]||(s[2]=n=>t(l).visible=n),"show-close":!1,width:"600px"},{default:o(()=>[e(p,{type:"flex"},{default:o(()=>[e(r,{style:{"max-width":"100px"}},{default:o(()=>[u("div",K,[e(m,{name:t(l).iconName},null,8,["name"])])]),_:1}),e(r,{style:{flex:"1"}},{default:o(()=>[u("div",O,[u("div",W,L(t(l).iconName),1),e(B,{modelValue:t(c),"onUpdate:modelValue":s[1]||(s[1]=n=>Q(c)?c.value=n:null),readonly:""},{append:o(()=>[e(v,{type:"primary",onClick:s[0]||(s[0]=n=>t(w)(t(c)))},{default:o(()=>[_(" 复制 ")]),_:1})]),_:1},8,["modelValue"])])]),_:1})]),_:1}),u("div",X,[e(D,{"content-position":"left"},{default:o(()=>[_(" 结合 Element Plus 使用场景 ")]),_:1}),e(v,null,{icon:o(()=>[e(m,{name:t(l).iconName},null,8,["name"])]),default:o(()=>[_(" Icon 按钮 ")]),_:1})])]),_:1},8,["modelValue"])])}}});typeof C=="function"&&C($);const ne=G($,[["__scopeId","data-v-a3597b18"]]);export{ne as default}; diff --git a/assets/iconify-dEf93DN0.js.br b/assets/iconify-dEf93DN0.js.br new file mode 100644 index 000000000..8ff551d3b Binary files /dev/null and b/assets/iconify-dEf93DN0.js.br differ diff --git a/assets/iconify-dEf93DN0.js.gz b/assets/iconify-dEf93DN0.js.gz new file mode 100644 index 000000000..0443a6d7d Binary files /dev/null and b/assets/iconify-dEf93DN0.js.gz differ diff --git a/assets/image.preview-D2SxEu7s.css b/assets/image.preview-D2SxEu7s.css new file mode 100644 index 000000000..94dce2fc4 --- /dev/null +++ b/assets/image.preview-D2SxEu7s.css @@ -0,0 +1 @@ +.el-image[data-v-43eda62f]{background-color:var(--el-fill-color);border-radius:5px;box-shadow:var(--el-box-shadow-light);transition:background-color .3s,var(--el-transition-box-shadow)}.el-image[data-v-43eda62f] .el-image__inner{cursor:pointer;transition:all .3s}.el-image[data-v-43eda62f] .el-image__inner:hover{transform:scale(1.2)}.el-image[data-v-43eda62f] .image-slot{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:30px;color:#909399} diff --git a/assets/image.preview-D2SxEu7s.css.br b/assets/image.preview-D2SxEu7s.css.br new file mode 100644 index 000000000..510a9646d --- /dev/null +++ b/assets/image.preview-D2SxEu7s.css.br @@ -0,0 +1,2 @@ +`.s4/EOJF(퀽`]]y(H#5[ }`HA]\P> ,R, \ No newline at end of file diff --git a/assets/image.preview-D2SxEu7s.css.gz b/assets/image.preview-D2SxEu7s.css.gz new file mode 100644 index 000000000..b42293ec4 Binary files /dev/null and b/assets/image.preview-D2SxEu7s.css.gz differ diff --git a/assets/image.preview.demo-CEgYQSAv.js b/assets/image.preview.demo-CEgYQSAv.js new file mode 100644 index 000000000..67353770d --- /dev/null +++ b/assets/image.preview.demo-CEgYQSAv.js @@ -0,0 +1 @@ +import{d as h,H as p,e as l,o as g,M as w,j as o,g as b,i as e,Y as v,h as m,x,y,f as T,R as $,Q as E,z as _}from"./index-C_dOR4Zc.js";const I={class:"image-slot"},N=h({name:"ImagePreview",__name:"index",props:{src:{},width:{default:200},height:{default:200}},setup(r){const t=r,c=p(()=>typeof t.width=="string"?t.width:`${t.width}px`),d=p(()=>typeof t.height=="string"?t.height:`${t.height}px`);return(n,i)=>{const s=x,a=l("ElImage");return g(),w(a,{src:n.src,fit:"cover",style:v(`width:${m(c)};height:${m(d)};`),"preview-src-list":[n.src],"preview-teleported":""},{error:o(()=>[b("div",I,[e(s,{name:"image-load-fail"})])]),_:1},8,["src","style","preview-src-list"])}}}),S=y(N,[["__scopeId","data-v-43eda62f"]]),C=h({__name:"image.preview.demo",setup(r){const t=[{date:"2016-05-03",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.github.io/logo.png"},{date:"2016-05-02",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.github.io/logo.png"},{date:"2016-05-04",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.github.io/logo.png"},{date:"2016-05-01",name:"Tom",address:"No. 189, Grove St, Los Angeles",src:"https://fantastic-admin.github.io/logo.png"}];return(c,d)=>{const n=$,i=S,s=E,a=l("ElTableColumn"),f=l("ElTable");return g(),T("div",null,[e(n,{title:"图片预览",content:"ImagePreview"}),e(s,null,{default:o(()=>[e(i,{src:"https://fantastic-admin.github.io/logo.png",width:200})]),_:1}),e(s,{title:"图片加载失败时"},{default:o(()=>[e(i,{src:"http://www.baidu.com",width:"100px",height:"100px"})]),_:1}),e(s,{title:"结合 el-table 使用"},{default:o(()=>[e(f,{data:t,style:{width:"100%"}},{default:o(()=>[e(a,{prop:"date",label:"日期",width:"180",fixed:"left"}),e(a,{prop:"name",label:"姓名",width:"180"}),e(a,{prop:"address",label:"地址"}),e(a,{label:"图片"},{default:o(({row:u})=>[e(i,{src:u.src,width:"100px",height:"100px"},null,8,["src"])]),_:1})]),_:1})]),_:1})])}}});typeof _=="function"&&_(C);export{C as default}; diff --git a/assets/image.preview.demo-CEgYQSAv.js.br b/assets/image.preview.demo-CEgYQSAv.js.br new file mode 100644 index 000000000..0939c46f8 Binary files /dev/null and b/assets/image.preview.demo-CEgYQSAv.js.br differ diff --git a/assets/image.preview.demo-CEgYQSAv.js.gz b/assets/image.preview.demo-CEgYQSAv.js.gz new file mode 100644 index 000000000..d007b273b Binary files /dev/null and b/assets/image.preview.demo-CEgYQSAv.js.gz differ diff --git a/assets/index--3skRaHe.css b/assets/index--3skRaHe.css new file mode 100644 index 000000000..1009fccb0 --- /dev/null +++ b/assets/index--3skRaHe.css @@ -0,0 +1 @@ +.toolbar-container[data-v-6a8fd0ab]{height:var(--g-toolbar-height);background-color:var(--g-container-bg);transition:background-color .3s} diff --git a/assets/index--3skRaHe.css.br b/assets/index--3skRaHe.css.br new file mode 100644 index 000000000..6822e1da5 Binary files /dev/null and b/assets/index--3skRaHe.css.br differ diff --git a/assets/index--3skRaHe.css.gz b/assets/index--3skRaHe.css.gz new file mode 100644 index 000000000..07931953b Binary files /dev/null and b/assets/index--3skRaHe.css.gz differ diff --git a/assets/index-0HPOmlta.js b/assets/index-0HPOmlta.js new file mode 100644 index 000000000..eb6122858 --- /dev/null +++ b/assets/index-0HPOmlta.js @@ -0,0 +1 @@ +import{d as j,Z as g,$ as N,r as O,e as r,o as p,f as u,i as t,j as f,M as v,g as a,Y as c,q as w,w as P,v as A,h,s as _,E as y,x as D,y as L}from"./index-C_dOR4Zc.js";const R={class:"upload-container"},q={key:1,class:"image"},T={class:"mask"},Y={class:"actions"},Z={key:0,class:"el-upload__tip"},F={style:{display:"inline-block"}},G=j({name:"ImageUpload",__name:"index",props:g({action:{},headers:{},data:{},name:{default:"file"},size:{default:2},width:{default:150},height:{default:150},placeholder:{default:""},notip:{type:Boolean,default:!1},ext:{default:()=>["jpg","png","gif","bmp"]}},{modelValue:{default:""},modelModifiers:{}}),emits:g(["onSuccess"],["update:modelValue"]),setup(m,{emit:$}){const d=m,V=$,i=N(m,"modelValue"),s=O({imageViewerVisible:!1,progress:{preview:"",percent:0}});function E(){s.value.imageViewerVisible=!0}function k(){s.value.imageViewerVisible=!1}function b(){i.value=""}const M=e=>{const l=e.name.split(".").at(-1)??"",o=d.ext.includes(l),n=e.size/1024/1024{s.value.progress.percent=~~e.percent},C=e=>{s.value.progress.preview="",s.value.progress.percent=0,V("onSuccess",e)};return(e,B)=>{const l=D,o=r("ElImage"),n=r("ElProgress"),I=r("ElUpload"),S=r("ElAlert"),U=r("ElImageViewer");return p(),u("div",R,[t(I,{"show-file-list":!1,headers:e.headers,action:e.action,data:e.data,name:e.name,"before-upload":M,"on-progress":z,"on-success":C,drag:"",class:"image-upload"},{default:f(()=>[i.value===""?(p(),v(o,{key:0,src:i.value===""?e.placeholder:i.value,style:c(`width:${e.width}px;height:${e.height}px;`),fit:"fill"},{error:f(()=>[a("div",{class:"image-slot",style:c(`width:${e.width}px;height:${e.height}px;`)},[t(l,{name:"i-ep:plus",class:"icon"})],4)]),_:1},8,["src","style"])):(p(),u("div",q,[t(o,{src:i.value,style:c(`width:${e.width}px;height:${e.height}px;`),fit:"fill"},null,8,["src","style"]),a("div",T,[a("div",Y,[a("span",{title:"预览",onClick:w(E,["stop"])},[t(l,{name:"i-ep:zoom-in",class:"icon"})]),a("span",{title:"移除",onClick:w(b,["stop"])},[t(l,{name:"i-ep:delete",class:"icon"})])])])])),P(a("div",{class:"progress",style:c(`width:${e.width}px;height:${e.height}px;`)},[t(o,{src:h(s).progress.preview,style:c(`width:${e.width}px;height:${e.height}px;`),fit:"fill"},null,8,["src","style"]),t(n,{type:"circle",width:Math.min(e.width,e.height)*.8,percentage:h(s).progress.percent},null,8,["width","percentage"])],4),[[A,i.value===""&&h(s).progress.percent]])]),_:1},8,["headers","action","data","name"]),e.notip?_("",!0):(p(),u("div",Z,[a("div",F,[t(S,{title:`上传图片支持 ${e.ext.join(" / ")} 格式,且图片大小不超过 ${e.size}MB,建议图片尺寸为 ${e.width}*${e.height}`,type:"info","show-icon":"",closable:!1},null,8,["title"])])])),h(s).imageViewerVisible?(p(),v(U,{key:1,"url-list":[i.value],teleported:"",onClose:k},null,8,["url-list"])):_("",!0)])}}}),J=L(G,[["__scopeId","data-v-bde0ed46"]]);export{J as _}; diff --git a/assets/index-0HPOmlta.js.br b/assets/index-0HPOmlta.js.br new file mode 100644 index 000000000..cc621de5a Binary files /dev/null and b/assets/index-0HPOmlta.js.br differ diff --git a/assets/index-0HPOmlta.js.gz b/assets/index-0HPOmlta.js.gz new file mode 100644 index 000000000..60e343109 Binary files /dev/null and b/assets/index-0HPOmlta.js.gz differ diff --git a/assets/index-6Kdv6eht.css b/assets/index-6Kdv6eht.css new file mode 100644 index 000000000..8ed3e475d --- /dev/null +++ b/assets/index-6Kdv6eht.css @@ -0,0 +1 @@ +.divider[data-v-55eb7634]{margin-top:1rem;margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;white-space:nowrap;font-size:.875rem;line-height:1.25rem;font-weight:500}.divider[data-v-55eb7634]:before,.divider[data-v-55eb7634]:after{width:100%;height:1px;--un-bg-opacity:1;background-color:rgb(231 229 228 / var(--un-bg-opacity));content:""}.dark .divider[data-v-55eb7634]:before,.dark .divider[data-v-55eb7634]:after{--un-bg-opacity:1;background-color:rgb(87 83 78 / var(--un-bg-opacity))}.menu-mode[data-v-55eb7634]{display:flex;align-items:center;justify-content:center;gap:1rem;padding-bottom:1rem}.menu-mode .mode[data-v-55eb7634]{position:relative;width:4rem;height:3rem;cursor:pointer;border-radius:.5rem;--un-ring-width:1px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(231 229 228 / var(--un-ring-opacity));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.dark .menu-mode .mode[data-v-55eb7634]{--un-ring-opacity:1;--un-ring-color:rgb(68 64 60 / var(--un-ring-opacity))}.menu-mode .mode.active[data-v-55eb7634]{--un-ring-width:2px;--un-ring-offset-shadow:var(--un-ring-inset) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color);--un-ring-shadow:var(--un-ring-inset) 0 0 0 calc(var(--un-ring-width) + var(--un-ring-offset-width)) var(--un-ring-color);box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow);--un-ring-opacity:1;--un-ring-color:rgb(var(--ui-primary) / var(--un-ring-opacity))}.menu-mode .mode[data-v-55eb7634]:before,.menu-mode .mode[data-v-55eb7634]:after,.menu-mode .mode .mode-container[data-v-55eb7634]{pointer-events:none;position:absolute}.menu-mode .mode[data-v-55eb7634]:before{--un-bg-opacity:1;background-color:rgb(var(--ui-primary) / var(--un-bg-opacity));content:""}.menu-mode .mode[data-v-55eb7634]:after{background-color:rgb(var(--ui-primary) / .6);content:""}.menu-mode .mode .mode-container[data-v-55eb7634]{--un-border-opacity:1;border-color:rgb(var(--ui-primary) / var(--un-border-opacity));border-style:dashed;background-color:rgb(var(--ui-primary) / .2)}.menu-mode .mode .mode-container[data-v-55eb7634]:before{position:absolute;width:100%;height:100%;content:""}.menu-mode .mode-side[data-v-55eb7634]:before{top:.5rem;bottom:.5rem;left:.5rem;width:.5rem;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.menu-mode .mode-side[data-v-55eb7634]:after{top:.5rem;bottom:.5rem;left:1.125rem;width:.75rem}.menu-mode .mode-side .mode-container[data-v-55eb7634]{top:.5rem;right:.5rem;bottom:.5rem;left:2rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.menu-mode .mode-head[data-v-55eb7634]:before{top:.5rem;left:.5rem;right:.5rem;height:.5rem;border-top-left-radius:.25rem;border-top-right-radius:.25rem}.menu-mode .mode-head[data-v-55eb7634]:after{top:1.125rem;left:.5rem;bottom:.5rem;width:.75rem;border-bottom-left-radius:.25rem}.menu-mode .mode-head .mode-container[data-v-55eb7634]{top:1.125rem;right:.5rem;bottom:.5rem;left:1.375rem;border-bottom-right-radius:.25rem}.menu-mode .mode-single[data-v-55eb7634]:after{top:.5rem;left:.5rem;bottom:.5rem;width:.75rem;border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.menu-mode .mode-single .mode-container[data-v-55eb7634]{top:.5rem;right:.5rem;bottom:.5rem;left:1.375rem;border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.setting-item[data-v-55eb7634]{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-radius:.5rem;padding:.5rem 1rem;transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.setting-item[data-v-55eb7634]:hover{--un-bg-opacity:1;background-color:rgb(245 245 244 / var(--un-bg-opacity))}.dark .setting-item[data-v-55eb7634]:hover{--un-bg-opacity:1;background-color:rgb(28 25 23 / var(--un-bg-opacity))}.setting-item .label[data-v-55eb7634]{display:flex;flex-shrink:0;align-items:center;gap:.5rem;font-size:.875rem;line-height:1.25rem}.setting-item .label i[data-v-55eb7634]{cursor:help;font-size:1.25rem;line-height:1.75rem;--un-text-opacity:1;color:rgb(251 146 60 / var(--un-text-opacity))} diff --git a/assets/index-6Kdv6eht.css.br b/assets/index-6Kdv6eht.css.br new file mode 100644 index 000000000..5a698d0c1 Binary files /dev/null and b/assets/index-6Kdv6eht.css.br differ diff --git a/assets/index-6Kdv6eht.css.gz b/assets/index-6Kdv6eht.css.gz new file mode 100644 index 000000000..376ea494d Binary files /dev/null and b/assets/index-6Kdv6eht.css.gz differ diff --git a/assets/index-7o0mln3O.js b/assets/index-7o0mln3O.js new file mode 100644 index 000000000..ea870801e --- /dev/null +++ b/assets/index-7o0mln3O.js @@ -0,0 +1 @@ +import u from"./index-By_8I9Xc.js";import g from"./index-DXzPRKLc.js";import{d as h,b as f,H as c,r as l,B as y,K as _,I as v,o as s,f as w,h as e,M as p,s as b,L as T,y as k}from"./index-C_dOR4Zc.js";import"./index-RuUgmrQn.js";import"./useTabbar-DpwLU9rk.js";import"./useMainPage-oUacr1Rm.js";import"./leftSide.vue_vue_type_script_setup_true_lang-i0jn6tQ8.js";import"./index-BCKUShgC.js";import"./index-C1GwVDnp.js";import"./item.vue_vue_type_script_setup_true_lang-Cd-uOXRf.js";import"./rightSide.vue_vue_type_script_setup_true_lang-oseSX-2F.js";import"./index.vue_vue_type_script_setup_true_lang-9qHcVx90.js";import"./HKbd-N6bQnSsP.js";import"./index.vue_vue_type_script_setup_true_lang-hZk76by-.js";import"./index.vue_vue_type_script_setup_true_lang-BlX7i_Wu.js";import"./index.vue_vue_type_script_setup_true_lang-BIyQmgkq.js";import"./HDropdown-CAkYOxIm.js";const E=h({name:"Topbar",__name:"index",setup(S){const t=f(),a=c(()=>!(t.settings.menu.menuMode==="head"&&(!t.settings.toolbar.breadcrumb||t.settings.app.routeBaseOn==="filesystem"))),n=l(0),m=l(!1),d=c(()=>{const o=t.settings.tabbar.enable?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-tabbar-height")):0,r=a.value?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-toolbar-height")):0;return o+r});y(()=>{window.addEventListener("scroll",i)}),_(()=>{window.removeEventListener("scroll",i)});function i(){n.value=(document.documentElement||document.body).scrollTop}return v(n,(o,r)=>{m.value=t.settings.topbar.mode==="sticky"&&o>r&&o>d.value}),(o,r)=>(s(),w("div",{class:T(["topbar-container",{"has-tabbar":e(t).settings.tabbar.enable,"has-toolbar":e(a),[`topbar-${e(t).settings.topbar.mode}`]:!0,shadow:e(n),hide:e(m)}]),"data-fixed-calc-width":""},[e(t).settings.tabbar.enable?(s(),p(u,{key:0})):b("",!0),e(a)?(s(),p(g,{key:1})):b("",!0)],2))}}),A=k(E,[["__scopeId","data-v-a6c8b676"]]);export{A as default}; diff --git a/assets/index-7o0mln3O.js.br b/assets/index-7o0mln3O.js.br new file mode 100644 index 000000000..ac84cfd62 Binary files /dev/null and b/assets/index-7o0mln3O.js.br differ diff --git a/assets/index-7o0mln3O.js.gz b/assets/index-7o0mln3O.js.gz new file mode 100644 index 000000000..8d7fd10d0 Binary files /dev/null and b/assets/index-7o0mln3O.js.gz differ diff --git a/assets/index-B1iCgRe4.js b/assets/index-B1iCgRe4.js new file mode 100644 index 000000000..afd242b67 --- /dev/null +++ b/assets/index-B1iCgRe4.js @@ -0,0 +1 @@ +import{d as C,b,e as S,o as g,f as B,i as e,j as t,n as l,h as a,g as s,R as P,Q as I,z as d}from"./index-C_dOR4Zc.js";import{a as x}from"./useTabbar-DpwLU9rk.js";const y=s("p",null,"如果目标地址已在标签栏存在,则直接切换并访问。如果目标地址在标签栏不存在,则会在当前标签页后面插入新的标签页。",-1),R=s("p",null,"关闭当前标签页,同时跳转到新页面。",-1),E=s("p",null,"如果当前只有一个标签时,则无法关闭。",-1),L=s("p",null,"如果关闭的是当前标签页,则会在关闭后跳转至紧邻的标签页。",-1),N=s("p",null,"如果关闭的目标页面不存在,则无法关闭。",-1),O=s("p",null,"除了提供关闭非当前标签页的 API 外,还提供了校验 API 。",-1),V=C({__name:"index",setup(v){const i=b(),o=x();function _(){o.open(i.settings.home.fullPath)}function u(){o.close(i.settings.home.fullPath)}function f(){o.closeById()}function h(){o.closeById(i.settings.home.fullPath)}function r(){o.closeOtherSide()}function p(){o.closeLeftSide()}function m(){o.closeRightSide()}return(A,T)=>{const k=P,n=S("ElButton"),c=I;return g(),B("div",null,[e(k,{title:"标签栏",content:"功能类似于浏览器的标签栏,支持右键操作"}),e(c,{title:"打开新标签页"},{default:t(()=>[y,e(n,{onClick:_},{default:t(()=>[l(" 打开主页 ")]),_:1})]),_:1}),e(c,{title:"关闭当前标签页并跳转"},{default:t(()=>[R,e(n,{onClick:u},{default:t(()=>[l(" 关闭当前标签页,并跳转到主页 ")]),_:1})]),_:1}),e(c,{title:"关闭指定标签页"},{default:t(()=>[E,L,N,e(n,{onClick:f},{default:t(()=>[l(" 关闭当前页面 ")]),_:1}),e(n,{onClick:h},{default:t(()=>[l(" 关闭主页 ")]),_:1})]),_:1}),e(c,{title:"关闭非当前标签页"},{default:t(()=>[O,e(n,{disabled:!a(o).checkCloseOtherSide(),onClick:r},{default:t(()=>[l(" 关闭两侧标签页 ")]),_:1},8,["disabled"]),e(n,{disabled:!a(o).checkCloseLeftSide(),onClick:p},{default:t(()=>[l(" 关闭左侧标签页 ")]),_:1},8,["disabled"]),e(n,{disabled:!a(o).checkCloseRightSide(),onClick:m},{default:t(()=>[l(" 关闭右侧标签页 ")]),_:1},8,["disabled"])]),_:1})])}}});typeof d=="function"&&d(V);export{V as default}; diff --git a/assets/index-B1iCgRe4.js.br b/assets/index-B1iCgRe4.js.br new file mode 100644 index 000000000..4388aa1fb Binary files /dev/null and b/assets/index-B1iCgRe4.js.br differ diff --git a/assets/index-B1iCgRe4.js.gz b/assets/index-B1iCgRe4.js.gz new file mode 100644 index 000000000..c0d6c3169 Binary files /dev/null and b/assets/index-B1iCgRe4.js.gz differ diff --git a/assets/index-B2HuAa0f.js b/assets/index-B2HuAa0f.js new file mode 100644 index 000000000..eb15e4849 --- /dev/null +++ b/assets/index-B2HuAa0f.js @@ -0,0 +1 @@ +import{d as u,c as f,e as d,o as k,f as g,i as e,j as n,n as c,aj as x,x as j,R as C,Q as M,z as i}from"./index-C_dOR4Zc.js";const $=u({__name:"index",setup(v){const t=f();function _(){t.getPermissions().then(()=>{x({title:"当前用户权限",dangerouslyUseHTMLString:!0,message:t.permissions.map(o=>`

    ${o}

    `).join("")})})}function l(o){window.open(o,"_blank")}return(o,s)=>{const m=j,a=d("ElButton"),r=C,p=M;return k(),g("div",null,[e(r,{title:"Mock",content:"通过拦截 Ajax 请求,返回模拟的响应数据,可以让前端工程师独立于后端进行开发,本演示站的登录和权限获取就是通过 mock 实现的。更多 Mock 语法规则请查询官方文档"},{default:n(()=>[e(a,{onClick:s[0]||(s[0]=B=>l("http://mockjs.com/"))},{icon:n(()=>[e(m,{name:"i-ep:link"})]),default:n(()=>[c(" Mock.js 官网 ")]),_:1})]),_:1}),e(p,null,{default:n(()=>[e(a,{onClick:_},{default:n(()=>[c(" 测试:获取用户权限 ")]),_:1})]),_:1})])}}});typeof i=="function"&&i($);export{$ as default}; diff --git a/assets/index-B2HuAa0f.js.br b/assets/index-B2HuAa0f.js.br new file mode 100644 index 000000000..45e73753a Binary files /dev/null and b/assets/index-B2HuAa0f.js.br differ diff --git a/assets/index-B2HuAa0f.js.gz b/assets/index-B2HuAa0f.js.gz new file mode 100644 index 000000000..44bcee1aa Binary files /dev/null and b/assets/index-B2HuAa0f.js.gz differ diff --git a/assets/index-B4q664cX.js b/assets/index-B4q664cX.js new file mode 100644 index 000000000..0e32d123b --- /dev/null +++ b/assets/index-B4q664cX.js @@ -0,0 +1 @@ +import{d as c,b as p,h as e,o as s,f as o,i as g,t as a,s as i,F as _,x as h,p as y,k as d,g as m,y as l}from"./index-C_dOR4Zc.js";const f=n=>(y("data-v-3931a919"),n=n(),d(),n),u={key:0,class:"copyright"},k=f(()=>m("span",null,"Copyright",-1)),b={key:0},S=["href"],x={key:1},C={key:2,href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},I=c({name:"Copyright",__name:"index",setup(n){const t=p();return(v,w)=>{const r=h;return e(t).settings.copyright.enable?(s(),o("footer",u,[k,g(r,{name:"i-ri:copyright-line",size:18}),e(t).settings.copyright.dates?(s(),o("span",b,a(e(t).settings.copyright.dates),1)):i("",!0),e(t).settings.copyright.company?(s(),o(_,{key:1},[e(t).settings.copyright.website?(s(),o("a",{key:0,href:e(t).settings.copyright.website,target:"_blank",rel:"noopener"},a(e(t).settings.copyright.company),9,S)):(s(),o("span",x,a(e(t).settings.copyright.company),1))],64)):i("",!0),e(t).settings.copyright.beian?(s(),o("a",C,a(e(t).settings.copyright.beian),1)):i("",!0)])):i("",!0)}}}),N=l(I,[["__scopeId","data-v-3931a919"]]);export{N as default}; diff --git a/assets/index-B4q664cX.js.br b/assets/index-B4q664cX.js.br new file mode 100644 index 000000000..1744a777f Binary files /dev/null and b/assets/index-B4q664cX.js.br differ diff --git a/assets/index-B4q664cX.js.gz b/assets/index-B4q664cX.js.gz new file mode 100644 index 000000000..1c3d33e53 Binary files /dev/null and b/assets/index-B4q664cX.js.gz differ diff --git a/assets/index-BBGH0I-h.js b/assets/index-BBGH0I-h.js new file mode 100644 index 000000000..3d04a3ccd --- /dev/null +++ b/assets/index-BBGH0I-h.js @@ -0,0 +1 @@ +import{_ as B}from"./HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js";import{_ as y}from"./HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js";import{d as K,r as d,o as M,f as N,i as e,g as c,j as l,n as a,h as s,l as u,R as j,C as P,Q as R,x as q,V as E,W as Q,_ as W,p as z,k as A,y as F}from"./index-C_dOR4Zc.js";import{_ as G}from"./HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js";import J from"./HKbd-N6bQnSsP.js";import{_ as O}from"./HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js";import X from"./HDropdown-CAkYOxIm.js";import{_ as Y}from"./HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js";import{_ as Z}from"./HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js";const h=m=>(z("data-v-9750ad63"),m=m(),A(),m),ee={class:"flex flex-col flex-wrap gap-4 px-4 lg-flex-row"},le={class:"flex-center"},te=h(()=>c("div",{class:"h-30 w-60 flex items-center justify-center"}," 下拉内容 ",-1)),oe={class:"flex-center"},ne=K({__name:"index",setup(m){const r=d(1),f=d(!1),v=d(""),V=d(1),p=d(!1),b=d(1),i=d(!1);return(ae,t)=>{const H=j,_=P,n=R,w=Z,U=Y,g=q,k=X,C=E,I=O,x=J,S=G,T=Q,D=W,$=y,L=B;return M(),N("div",null,[e(H,{title:"内建组件",content:"内建组件仅服务于框架自身,不建议在业务页面内使用,业务页面内请使用专业的 UI 组件库。"}),c("div",ee,[e(n,{title:"Button"},{default:l(()=>[e(_,null,{default:l(()=>[a(" 按钮 ")]),_:1}),e(_,{outline:""},{default:l(()=>[a(" 按钮 ")]),_:1}),e(_,{disabled:""},{default:l(()=>[a(" 按钮 ")]),_:1}),e(_,{disabled:"",outline:""},{default:l(()=>[a(" 按钮 ")]),_:1})]),_:1}),e(n,{title:"CheckList"},{default:l(()=>[e(w,{modelValue:s(r),"onUpdate:modelValue":t[0]||(t[0]=o=>u(r)?r.value=o:null),options:[{label:"选项1",value:1},{label:"选项2",value:2,disabled:!0},{label:"选项3",value:3}]},null,8,["modelValue"])]),_:1}),e(n,{title:"Dialog"},{default:l(()=>[e(_,{onClick:t[1]||(t[1]=o=>f.value=!0)},{default:l(()=>[a(" 打开 ")]),_:1}),e(U,{modelValue:s(f),"onUpdate:modelValue":t[2]||(t[2]=o=>u(f)?f.value=o:null),title:"标题"},{default:l(()=>[a(" 这里是 dialog 内容 ")]),_:1},8,["modelValue"])]),_:1}),e(n,{title:"Dropdown"},{default:l(()=>[e(k,null,{dropdown:l(()=>[te]),default:l(()=>[c("div",le,[a(" 下拉面板 "),e(g,{name:"i-ep:caret-bottom"})])]),_:1})]),_:1}),e(n,{title:"DropdownMenu"},{default:l(()=>[e(C,{items:[[{label:"菜单1-1"},{label:"菜单1-2"},{label:"菜单1-3"}],[{label:"菜单2"}]]},{default:l(()=>[c("div",oe,[a(" 下拉菜单 "),e(g,{name:"i-ep:caret-bottom"})])]),_:1})]),_:1}),e(n,{title:"Input"},{default:l(()=>[e(I,{modelValue:s(v),"onUpdate:modelValue":t[3]||(t[3]=o=>u(v)?v.value=o:null)},null,8,["modelValue"])]),_:1}),e(n,{title:"Kbd"},{default:l(()=>[e(x,null,{default:l(()=>[a("Ctrl")]),_:1}),e(x,null,{default:l(()=>[a("⌘ K")]),_:1})]),_:1}),e(n,{title:"Select"},{default:l(()=>[e(S,{modelValue:s(V),"onUpdate:modelValue":t[4]||(t[4]=o=>u(V)?V.value=o:null),options:[{label:"选项1",value:1},{label:"选项2",value:2,disabled:!0},{label:"选项3",value:3}]},null,8,["modelValue"])]),_:1}),e(n,{title:"Slideover"},{default:l(()=>[e(_,{onClick:t[5]||(t[5]=o=>p.value=!0)},{default:l(()=>[a(" 打开 ")]),_:1}),e(T,{modelValue:s(p),"onUpdate:modelValue":t[6]||(t[6]=o=>u(p)?p.value=o:null),title:"标题",overlay:!1},{default:l(()=>[a(" 这里是 slideover 内容 ")]),_:1},8,["modelValue"])]),_:1}),e(n,{title:"TabList"},{default:l(()=>[e(D,{modelValue:s(b),"onUpdate:modelValue":t[7]||(t[7]=o=>u(b)?b.value=o:null),options:[{label:"标签1",value:1},{label:"标签2",value:2},{label:"标签3",value:3}]},null,8,["modelValue"])]),_:1}),e(n,{title:"Toggle"},{default:l(()=>[e($,{modelValue:s(i),"onUpdate:modelValue":t[8]||(t[8]=o=>u(i)?i.value=o:null)},null,8,["modelValue"]),e($,{modelValue:s(i),"onUpdate:modelValue":t[9]||(t[9]=o=>u(i)?i.value=o:null),"on-icon":"ri:sun-line","off-icon":"ri:moon-line"},null,8,["modelValue"])]),_:1}),e(n,{title:"Tooltip"},{default:l(()=>[e(L,{text:"注意噢!"},{default:l(()=>[e(g,{name:"i-ri:question-line"})]),_:1})]),_:1})])])}}}),re=F(ne,[["__scopeId","data-v-9750ad63"]]);export{re as default}; diff --git a/assets/index-BBGH0I-h.js.br b/assets/index-BBGH0I-h.js.br new file mode 100644 index 000000000..4466dfe8a Binary files /dev/null and b/assets/index-BBGH0I-h.js.br differ diff --git a/assets/index-BBGH0I-h.js.gz b/assets/index-BBGH0I-h.js.gz new file mode 100644 index 000000000..a049915e0 Binary files /dev/null and b/assets/index-BBGH0I-h.js.gz differ diff --git a/assets/index-BCKUShgC.js b/assets/index-BCKUShgC.js new file mode 100644 index 000000000..356c10812 --- /dev/null +++ b/assets/index-BCKUShgC.js @@ -0,0 +1 @@ +import{d as D,u as M,b as O,H as $,h as w,o as b,M as A,j as _,i as F,f as H,S as I,F as B,a0 as L,s as V,n as U,t as G,y as q}from"./index-C_dOR4Zc.js";import z from"./index-C1GwVDnp.js";import{_ as J}from"./item.vue_vue_type_script_setup_true_lang-Cd-uOXRf.js";function K(t){for(var a=[],e=0;e=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){d+=t[r++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(e));a.push({type:"NAME",index:e,value:d}),e=r;continue}if(u==="("){var f=1,o="",r=e+1;if(t[r]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(r));for(;r{const r=[];return e.settings.home.enable&&r.push({path:e.settings.home.fullPath,title:e.settings.home.title}),a.meta.breadcrumbNeste&&a.meta.breadcrumbNeste.forEach(i=>{i.hide===!1&&r.push({path:i.path,title:i.title})}),r});function d(r){return W(r)(a.params)}return(r,i)=>w(e).mode==="pc"&&w(e).settings.app.routeBaseOn!=="filesystem"?(b(),A(z,{key:0,class:"breadcrumb whitespace-nowrap px-2"},{default:_(()=>[F(L,{name:"breadcrumb"},{default:_(()=>[(b(!0),H(B,null,I(w(u),(f,o)=>(b(),A(J,{key:`${o}_${f.path}_${f.title}`,to:o[U(G(f.title),1)]),_:2},1032,["to"]))),128))]),_:1})]),_:1})):V("",!0)}}),re=q(j,[["__scopeId","data-v-3d594f3a"]]);export{re as default}; diff --git a/assets/index-BCKUShgC.js.br b/assets/index-BCKUShgC.js.br new file mode 100644 index 000000000..efd7e67eb Binary files /dev/null and b/assets/index-BCKUShgC.js.br differ diff --git a/assets/index-BCKUShgC.js.gz b/assets/index-BCKUShgC.js.gz new file mode 100644 index 000000000..33bbb3b2d Binary files /dev/null and b/assets/index-BCKUShgC.js.gz differ diff --git a/assets/index-BUt_d0s5.js b/assets/index-BUt_d0s5.js new file mode 100644 index 000000000..b513ba795 --- /dev/null +++ b/assets/index-BUt_d0s5.js @@ -0,0 +1 @@ +import{d as S,u as y,b as M,D as x,G as B,H as $,I as c,B as L,J as r,K as V,e as D,o as a,f,g as i,i as e,L as _,h as t,j as v,T as I,M as l,w as A,v as N,N as P,O as R,s as T,F as H,P as K,x as F,y as j}from"./index-C_dOR4Zc.js";import z from"./index-uXVohOgz.js";import E from"./index-Zs7f_cxP.js";import G from"./index-cnAlzK1O.js";import J from"./index-7o0mln3O.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-iOCPUiXc.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-D5qk_C-g.js";import q from"./index-UWKq7iLF.js";import Q from"./link-xKmZUMdX.js";import W from"./index-B4q664cX.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-BDz8s9Ag.js";import Y from"./index-Bmf2pdWe.js";import{u as Z}from"./useMainPage-oUacr1Rm.js";import{u as ee}from"./useMenu-Cata_gzW.js";import"./index.vue_vue_type_script_setup_true_lang-BuGk_rHJ.js";import"./logo-CnmYMRkt.js";import"./rightSide.vue_vue_type_script_setup_true_lang-oseSX-2F.js";import"./index.vue_vue_type_script_setup_true_lang-9qHcVx90.js";import"./HKbd-N6bQnSsP.js";import"./index.vue_vue_type_script_setup_true_lang-hZk76by-.js";import"./index-RuUgmrQn.js";import"./index.vue_vue_type_script_setup_true_lang-BlX7i_Wu.js";import"./index.vue_vue_type_script_setup_true_lang-BIyQmgkq.js";import"./HDropdown-CAkYOxIm.js";import"./index.vue_vue_type_script_setup_true_lang-BocYym52.js";import"./sub.vue_vue_type_script_setup_true_lang-vsrW8xth.js";import"./item.vue_vue_type_script_setup_true_lang-y06vEbMT.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js";import"./index-By_8I9Xc.js";import"./useTabbar-DpwLU9rk.js";import"./index-DXzPRKLc.js";import"./leftSide.vue_vue_type_script_setup_true_lang-i0jn6tQ8.js";import"./index-BCKUShgC.js";import"./index-C1GwVDnp.js";import"./item.vue_vue_type_script_setup_true_lang-Cd-uOXRf.js";import"./HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js";import"./HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js";import"./HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js";import"./HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js";const oe={class:"layout"},te={id:"app-main"},se={class:"wrapper"},ie={class:"main-container"},ae={class:"main"},ne=S({name:"Layout",__name:"index",setup(re){const u=y(),o=M(),g=x(),m=B(),b=Z(),h=ee(),d=$(()=>!!u.meta.link);return c(()=>o.settings.menu.subMenuCollapse,s=>{o.mode==="mobile"&&(s?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),c(()=>u.path,()=>{o.mode==="mobile"&&o.$patch(s=>{s.settings.menu.subMenuCollapse=!0})}),L(()=>{r("f5",s=>{o.settings.toolbar.pageReload&&(s.preventDefault(),b.reload())}),r("alt+`",s=>{o.settings.menu.enableHotkeys&&(s.preventDefault(),h.switchTo(m.actived+1{r.unbind("f5"),r.unbind("alt+`")}),(s,n)=>{const k=D("RouterView"),w=F;return a(),f("div",oe,[i("div",te,[e(z),i("div",se,[i("div",{class:_(["sidebar-container",{show:t(o).mode==="mobile"&&!t(o).settings.menu.subMenuCollapse}])},[e(E),e(G)],2),i("div",{class:_(["sidebar-mask",{show:t(o).mode==="mobile"&&!t(o).settings.menu.subMenuCollapse}]),onClick:n[0]||(n[0]=p=>t(o).toggleSidebarCollapse())},null,2),i("div",ie,[e(J),i("div",ae,[e(k,null,{default:v(({Component:p,route:C})=>[e(I,{name:"slide-right",mode:"out-in",appear:""},{default:v(()=>[(a(),l(R,{include:t(g).list},[A((a(),l(P(p),{key:C.fullPath})),[[N,!t(d)]])],1032,["include"]))]),_:2},1024)]),_:1}),t(d)?(a(),l(Q,{key:0})):T("",!0)]),e(W)])])]),e(O),e(U),(a(),f(H,{key:0},[i("div",{class:"app-setting",onClick:n[1]||(n[1]=p=>t(K).emit("global-app-setting-toggle"))},[e(w,{name:"i-uiw:setting-o",class:"icon"})]),e(q)],64)),e(X),e(Y)])}}}),Ue=j(ne,[["__scopeId","data-v-aa863081"]]);export{Ue as default}; diff --git a/assets/index-BUt_d0s5.js.br b/assets/index-BUt_d0s5.js.br new file mode 100644 index 000000000..18c50aa43 Binary files /dev/null and b/assets/index-BUt_d0s5.js.br differ diff --git a/assets/index-BUt_d0s5.js.gz b/assets/index-BUt_d0s5.js.gz new file mode 100644 index 000000000..74a003560 Binary files /dev/null and b/assets/index-BUt_d0s5.js.gz differ diff --git a/assets/index-BdK60VIt.js b/assets/index-BdK60VIt.js new file mode 100644 index 000000000..35fe79a57 --- /dev/null +++ b/assets/index-BdK60VIt.js @@ -0,0 +1 @@ +import{d as s,r as a,B as l,K as r,o as d,f as i,X as m,L as u,h as _,y as p}from"./index-C_dOR4Zc.js";const f=s({name:"FixedActionBar",__name:"index",setup(h){const t=a(!1);l(()=>{e(),window.addEventListener("scroll",e)}),r(()=>{window.removeEventListener("scroll",e)});function e(){const o=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.clientHeight||document.body.clientHeight,c=document.documentElement.scrollHeight||document.body.scrollHeight;t.value=Math.ceil(o+n)>=c}return(o,n)=>(d(),i("div",{class:u(["fixed-action-bar bottom-0 z-4 bg-[var(--g-container-bg)] p-5 text-center transition",{shadow:!_(t)}]),"data-fixed-calc-width":""},[m(o.$slots,"default",{},void 0,!0)],2))}}),v=p(f,[["__scopeId","data-v-9af45002"]]);export{v as _}; diff --git a/assets/index-BdK60VIt.js.br b/assets/index-BdK60VIt.js.br new file mode 100644 index 000000000..12396352a Binary files /dev/null and b/assets/index-BdK60VIt.js.br differ diff --git a/assets/index-BdK60VIt.js.gz b/assets/index-BdK60VIt.js.gz new file mode 100644 index 000000000..b2a432c3d Binary files /dev/null and b/assets/index-BdK60VIt.js.gz differ diff --git a/assets/index-Bmf2pdWe.js b/assets/index-Bmf2pdWe.js new file mode 100644 index 000000000..46a6f56cb --- /dev/null +++ b/assets/index-Bmf2pdWe.js @@ -0,0 +1 @@ +import{_ as b}from"./HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js";import{d as x,r as v,B as k,P as h,K as C,aj as $,o as y,f as I,g as e,i as n,j as o,n as s,h as _,l as V,L as w,x as B,C as U,p as D,k as N,y as A}from"./index-C_dOR4Zc.js";const d=p=>(D("data-v-1ed1c351"),p=p(),N(),p),E=d(()=>e("span",{class:"title"},[s("切换"),e("br"),s("组件库")],-1)),S=d(()=>e("div",{class:"rounded-2 bg-green/20 px-4 py-2 text-sm/6 c-green-6"},[e("p",{class:"my-1"}," 为了视觉风格统一,同时也能服务于更多开发者,本框架从 v4.0.0 版本开始,与 Element Plus 组件库进行了解耦,意味着可以轻松将 Element Plus 组件库替换成其他 UI 组件库,并且不会影响框架原本的功能。 "),e("p",{class:"my-1"}," 演示站挑选了以下 6 款组件库作为示例,你可以点击访问并预览。 ")],-1)),j={class:"mt-4 flex flex-wrap justify-center gap-4"},P=d(()=>e("span",{class:"title"},[s("购买"),e("br"),s("专业版")],-1)),T=d(()=>e("span",{class:"title"},[s("下载"),e("br"),s("基础版")],-1)),H=d(()=>e("span",{class:"title"},[s("开发"),e("br"),s("文档")],-1)),z=d(()=>e("span",{class:"title"},[s("技术"),e("br"),s("支持")],-1)),K=x({name:"BuyIt",__name:"index",setup(p){const c=v(!0);setTimeout(()=>{c.value=!1},5e3);const u=v(!1);function r(){u.value=!0}function a(f){window.open(f,"_blank")}return k(()=>{h.on("global-ui-component-switch",()=>r())}),C(()=>{$.closeAll()}),(f,t)=>{const m=B,l=U,g=b;return y(),I("div",{class:w(["buy-it",{actived:_(c)}])},[e("div",{class:"item",onClick:r},[n(m,{name:"i-icon-park-twotone:components"}),E,n(g,{modelValue:_(u),"onUpdate:modelValue":t[6]||(t[6]=i=>V(u)?u.value=i:null),title:"切换组件库",overlay:""},{default:o(()=>[S,e("div",j,[n(l,{onClick:t[0]||(t[0]=i=>a("https://fantastic-admin.github.io/antd-example/"))},{default:o(()=>[s(" 访问 Ant Design Vue 演示站 ")]),_:1}),n(l,{onClick:t[1]||(t[1]=i=>a("https://fantastic-admin.github.io/arco-example/"))},{default:o(()=>[s(" 访问 Arco Design Vue 演示站 ")]),_:1}),n(l,{onClick:t[2]||(t[2]=i=>a("https://fantastic-admin.github.io/naive-example/"))},{default:o(()=>[s(" 访问 Naive UI 演示站 ")]),_:1}),n(l,{onClick:t[3]||(t[3]=i=>a("https://fantastic-admin.github.io/tdesign-example/"))},{default:o(()=>[s(" 访问 TDesign 演示站 ")]),_:1}),n(l,{onClick:t[4]||(t[4]=i=>a("https://fantastic-admin.github.io/vexip-example/"))},{default:o(()=>[s(" 访问 Vexip UI 演示站 ")]),_:1}),n(l,{onClick:t[5]||(t[5]=i=>a("https://fantastic-admin.github.io/idux-example/"))},{default:o(()=>[s(" 访问 iDux 演示站 ")]),_:1})])]),_:1},8,["modelValue"])]),e("div",{class:"item",onClick:t[7]||(t[7]=i=>a("https://fantastic-admin.github.io/buy.html"))},[n(m,{name:"i-ri:money-cny-box-line"}),P]),e("div",{class:"item",onClick:t[8]||(t[8]=i=>a("https://github.com/fantastic-admin/basic"))},[n(m,{name:"i-ri:code-s-slash-line"}),T]),e("div",{class:"item",onClick:t[9]||(t[9]=i=>a("https://fantastic-admin.github.io"))},[n(m,{name:"i-ri:book-read-line"}),H]),e("div",{class:"item",onClick:t[10]||(t[10]=i=>a("https://fantastic-admin.github.io/support.html"))},[n(m,{name:"i-ri:message-2-line"}),z])],2)}}}),R=A(K,[["__scopeId","data-v-1ed1c351"]]);export{R as default}; diff --git a/assets/index-Bmf2pdWe.js.br b/assets/index-Bmf2pdWe.js.br new file mode 100644 index 000000000..46d6038af Binary files /dev/null and b/assets/index-Bmf2pdWe.js.br differ diff --git a/assets/index-Bmf2pdWe.js.gz b/assets/index-Bmf2pdWe.js.gz new file mode 100644 index 000000000..9839f9ebe Binary files /dev/null and b/assets/index-Bmf2pdWe.js.gz differ diff --git a/assets/index-BnE9B1jp.css b/assets/index-BnE9B1jp.css new file mode 100644 index 000000000..7507c0104 --- /dev/null +++ b/assets/index-BnE9B1jp.css @@ -0,0 +1 @@ +header[data-v-ec3fb63e]{position:fixed;top:0;right:0;left:0;z-index:2000;display:flex;align-items:center;width:100%;height:var(--g-header-height);padding:0 20px;margin:0 auto;color:var(--g-header-color);background-color:var(--g-header-bg);box-shadow:-1px 0 0 0 var(--g-border-color),1px 0 0 0 var(--g-border-color),0 1px 0 0 var(--g-border-color);transition:background-color .3s}header .header-container[data-v-ec3fb63e]{display:flex;gap:30px;align-items:center;justify-content:space-between;width:100%;height:100%;margin:0 auto}header .header-container[data-v-ec3fb63e] a.title{position:relative;flex:0;width:inherit;height:inherit;padding:inherit;background-color:inherit}header .header-container[data-v-ec3fb63e] a.title .logo{width:initial;height:40px}header .header-container[data-v-ec3fb63e] a.title span{font-size:20px;color:var(--g-header-color);letter-spacing:1px}header .header-container .menu-container[data-v-ec3fb63e]{flex:1;height:100%;padding:0 20px;overflow-x:auto;-webkit-mask-image:linear-gradient(to right,transparent,#000 20px,#000 calc(100% - 20px),transparent);mask-image:linear-gradient(to right,transparent,#000 20px,#000 calc(100% - 20px),transparent);scrollbar-width:none}header .header-container .menu-container[data-v-ec3fb63e]::-webkit-scrollbar{display:none}header .header-container .menu-container .menu[data-v-ec3fb63e]{display:inline-flex;height:100%}header .header-container .menu-container .menu[data-v-ec3fb63e] .menu-item .menu-item-container{color:var(--g-header-menu-color)}header .header-container .menu-container .menu[data-v-ec3fb63e] .menu-item .menu-item-container:hover{color:var(--g-header-menu-hover-color);background-color:var(--g-header-menu-hover-bg)}header .header-container .menu-container .menu[data-v-ec3fb63e] .menu-item .menu-item-container .menu-item-container-icon{font-size:24px!important}header .header-container .menu-container .menu[data-v-ec3fb63e] .menu-item.active .menu-item-container{color:var(--g-header-menu-active-color);background-color:var(--g-header-menu-active-bg)}.header-enter-active[data-v-ec3fb63e],.header-leave-active[data-v-ec3fb63e]{transition:transform .3s}.header-enter-from[data-v-ec3fb63e],.header-leave-to[data-v-ec3fb63e]{transform:translateY(calc(var(--g-header-height) * -1))} diff --git a/assets/index-BnE9B1jp.css.br b/assets/index-BnE9B1jp.css.br new file mode 100644 index 000000000..5685faefe Binary files /dev/null and b/assets/index-BnE9B1jp.css.br differ diff --git a/assets/index-BnE9B1jp.css.gz b/assets/index-BnE9B1jp.css.gz new file mode 100644 index 000000000..d4761ec85 Binary files /dev/null and b/assets/index-BnE9B1jp.css.gz differ diff --git a/assets/index-Bo_ClZjR.css b/assets/index-Bo_ClZjR.css new file mode 100644 index 000000000..da8622432 --- /dev/null +++ b/assets/index-Bo_ClZjR.css @@ -0,0 +1 @@ +.upload-container[data-v-bde0ed46]{line-height:initial}.el-image[data-v-bde0ed46]{display:block}.image[data-v-bde0ed46]{position:relative;overflow:hidden;border-radius:6px}.image .mask[data-v-bde0ed46]{position:absolute;top:0;width:100%;height:100%;background-color:var(--el-overlay-color-lighter);opacity:0;transition:opacity .3s}.image .mask .actions[data-v-bde0ed46]{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;width:100px;height:100px;position:absolute;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}.image .mask .actions span[data-v-bde0ed46]{width:50%;color:var(--el-color-white);text-align:center;cursor:pointer;transition:color .1s,transform .1s}.image .mask .actions span[data-v-bde0ed46]:hover{transform:scale(1.5)}.image .mask .actions span .icon[data-v-bde0ed46]{font-size:24px}.image:hover .mask[data-v-bde0ed46]{opacity:1}.image-upload[data-v-bde0ed46]{display:inline-block;vertical-align:top}[data-v-bde0ed46] .el-upload .el-upload-dragger{display:inline-block;padding:0}[data-v-bde0ed46] .el-upload .el-upload-dragger.is-dragover{border-width:1px}[data-v-bde0ed46] .el-upload .el-upload-dragger .image-slot{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:var(--el-text-color-placeholder);background-color:transparent}[data-v-bde0ed46] .el-upload .el-upload-dragger .image-slot .icon{font-size:30px}[data-v-bde0ed46] .el-upload .el-upload-dragger .progress{position:absolute;top:0}[data-v-bde0ed46] .el-upload .el-upload-dragger .progress:after{position:absolute;top:0;left:0;width:100%;height:100%;content:"";background-color:var(--el-overlay-color-lighter)}[data-v-bde0ed46] .el-upload .el-upload-dragger .progress .el-progress{z-index:1;position:absolute;top:50%;left:50%;transform:translate(-50%) translateY(-50%)}[data-v-bde0ed46] .el-upload .el-upload-dragger .progress .el-progress .el-progress__text{color:var(--el-text-color-placeholder)} diff --git a/assets/index-Bo_ClZjR.css.br b/assets/index-Bo_ClZjR.css.br new file mode 100644 index 000000000..75c9b7806 Binary files /dev/null and b/assets/index-Bo_ClZjR.css.br differ diff --git a/assets/index-Bo_ClZjR.css.gz b/assets/index-Bo_ClZjR.css.gz new file mode 100644 index 000000000..87e4b332a Binary files /dev/null and b/assets/index-Bo_ClZjR.css.gz differ diff --git a/assets/index-BsES5Bem.js b/assets/index-BsES5Bem.js new file mode 100644 index 000000000..7d05039f4 --- /dev/null +++ b/assets/index-BsES5Bem.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BlX7i_Wu.js";import"./index-C_dOR4Zc.js";import"./useMainPage-oUacr1Rm.js";export{o as default}; diff --git a/assets/index-BsES5Bem.js.br b/assets/index-BsES5Bem.js.br new file mode 100644 index 000000000..0d12c9f91 Binary files /dev/null and b/assets/index-BsES5Bem.js.br differ diff --git a/assets/index-BsES5Bem.js.gz b/assets/index-BsES5Bem.js.gz new file mode 100644 index 000000000..6c98d4780 Binary files /dev/null and b/assets/index-BsES5Bem.js.gz differ diff --git a/assets/index-By_8I9Xc.js b/assets/index-By_8I9Xc.js new file mode 100644 index 000000000..555d7fc31 --- /dev/null +++ b/assets/index-By_8I9Xc.js @@ -0,0 +1,5 @@ +import{aB as _t,aC as Vt,aD as jt,aE as Ht,aF as At,aG as Ft,aH as Lt,F as Ve,O as zt,aI as Dt,aJ as $t,aK as Kt,ai as Ut,aL as Yt,aM as Gt,T as Xt,a0 as je,aN as Zt,aO as qt,aP as Jt,aQ as Qt,aR as en,aS as tn,aT as nn,aU as on,aV as an,H as He,aW as ln,M as Ae,s as Se,f as ee,g as te,aX as sn,aY as rn,aZ as un,a_ as cn,ad as dn,a$ as mn,n as Fe,i as Me,b0 as fn,b1 as pn,d as Le,b2 as vn,b3 as hn,b4 as bn,b5 as Cn,b6 as kn,b7 as xn,b8 as gn,b9 as yn,ba as Sn,bb as Mn,bc as Bn,ay as wn,bd as In,be as Pn,ah as Wn,bf as Rn,bg as En,bh as On,bi as Nn,bj as Tn,bk as _n,bl as Vn,bm as jn,bn as Hn,bo as An,bp as Fn,l as Ln,bq as zn,br as Dn,bs as $n,bt as Kn,bu as Un,Z as Yn,a4 as Gn,aA as Xn,L as ze,ag as Zn,Y as qn,bv as Jn,bw as Qn,af as eo,a1 as De,bx as to,by as no,B as $e,bz as oo,bA as ao,bB as lo,bC as so,K as Ke,bD as ro,o as J,k as Ue,az as io,bE as uo,p as Ye,bF as co,ar as mo,bG as fo,r as Be,bH as po,bI as vo,S as Ge,X as ho,e as bo,bJ as Co,N as ko,bK as xo,bL as go,bM as yo,bN as So,bO as Mo,bP as Bo,bQ as wo,am as Xe,bR as Io,bS as Po,bT as Wo,t as we,bU as Ro,bV as Eo,bW as Oo,bX as No,bY as To,bZ as _o,b_ as Vo,b$ as jo,h as q,c0 as Ho,c1 as Ao,c2 as Fo,$ as Lo,c3 as zo,ak as Do,c4 as $o,c5 as Ko,c6 as Uo,c7 as Yo,c8 as Go,a6 as Xo,v as Ze,c9 as Zo,ca as qo,I as qe,cb as Jo,cc as Qo,cd as ea,ce as ta,j as Je,cf as na,w as Qe,m as oa,cg as aa,q as Ie,ch as la,ci as sa,cj as ra,ck as ia,u as ua,a as ca,b as da,ac as ma,J as _e,x as fa,y as pa}from"./index-C_dOR4Zc.js";import{b as va}from"./index-RuUgmrQn.js";import{u as ha,a as ba}from"./useTabbar-DpwLU9rk.js";import{u as Ca}from"./useMainPage-oUacr1Rm.js";/** +* vue v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const ka=()=>{},xa=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:_t,BaseTransitionPropsValidators:Vt,Comment:jt,DeprecationTypes:Ht,EffectScope:At,ErrorCodes:Ft,ErrorTypeStrings:Lt,Fragment:Ve,KeepAlive:zt,ReactiveEffect:Dt,Static:$t,Suspense:Kt,Teleport:Ut,Text:Yt,TrackOpTypes:Gt,Transition:Xt,TransitionGroup:je,TriggerOpTypes:Zt,VueElement:qt,assertNumber:Jt,callWithAsyncErrorHandling:Qt,callWithErrorHandling:en,camelize:tn,capitalize:nn,cloneVNode:on,compatUtils:an,compile:ka,computed:He,createApp:ln,createBlock:Ae,createCommentVNode:Se,createElementBlock:ee,createElementVNode:te,createHydrationRenderer:sn,createPropsRestProxy:rn,createRenderer:un,createSSRApp:cn,createSlots:dn,createStaticVNode:mn,createTextVNode:Fe,createVNode:Me,customRef:fn,defineAsyncComponent:pn,defineComponent:Le,defineCustomElement:vn,defineEmits:hn,defineExpose:bn,defineModel:Cn,defineOptions:kn,defineProps:xn,defineSSRCustomElement:gn,defineSlots:yn,devtools:Sn,effect:Mn,effectScope:Bn,getCurrentInstance:wn,getCurrentScope:In,getTransitionRawChildren:Pn,guardReactiveProps:Wn,h:Rn,handleError:En,hasInjectionContext:On,hydrate:Nn,initCustomFormatter:Tn,initDirectivesForSSR:_n,inject:Vn,isMemoSame:jn,isProxy:Hn,isReactive:An,isReadonly:Fn,isRef:Ln,isRuntimeOnly:zn,isShallow:Dn,isVNode:$n,markRaw:Kn,mergeDefaults:Un,mergeModels:Yn,mergeProps:Gn,nextTick:Xn,normalizeClass:ze,normalizeProps:Zn,normalizeStyle:qn,onActivated:Jn,onBeforeMount:Qn,onBeforeUnmount:eo,onBeforeUpdate:De,onDeactivated:to,onErrorCaptured:no,onMounted:$e,onRenderTracked:oo,onRenderTriggered:ao,onScopeDispose:lo,onServerPrefetch:so,onUnmounted:Ke,onUpdated:ro,openBlock:J,popScopeId:Ue,provide:io,proxyRefs:uo,pushScopeId:Ye,queuePostFlushCb:co,reactive:mo,readonly:fo,ref:Be,registerRuntimeCompiler:po,render:vo,renderList:Ge,renderSlot:ho,resolveComponent:bo,resolveDirective:Co,resolveDynamicComponent:ko,resolveFilter:xo,resolveTransitionHooks:go,setBlockTracking:yo,setDevtoolsHook:So,setTransitionHooks:Mo,shallowReactive:Bo,shallowReadonly:wo,shallowRef:Xe,ssrContextKey:Io,ssrUtils:Po,stop:Wo,toDisplayString:we,toHandlerKey:Ro,toHandlers:Eo,toRaw:Oo,toRef:No,toRefs:To,toValue:_o,transformVNodeArgs:Vo,triggerRef:jo,unref:q,useAttrs:Ho,useCssModule:Ao,useCssVars:Fo,useModel:Lo,useSSRContext:zo,useSlots:Do,useTransitionState:$o,vModelCheckbox:Ko,vModelDynamic:Uo,vModelRadio:Yo,vModelSelect:Go,vModelText:Xo,vShow:Ze,version:Zo,warn:qo,watch:qe,watchEffect:Jo,watchPostEffect:Qo,watchSyncEffect:ea,withAsyncContext:ta,withCtx:Je,withDefaults:na,withDirectives:Qe,withKeys:oa,withMemo:aa,withModifiers:Ie,withScopeId:la},Symbol.toStringTag,{value:"Module"}));var Pe={exports:{}};const ga=sa(xa);(function(ne,fe){(function(j,e){e(fe,ga)})(ra,function(j,e){let k=null;function z(){return k!==null}function pe(t){k&&U(),k=t}function re(t){t===k&&(k=null)}function U(){k&&(k.closeMenu(),k=null)}const N={defaultDirection:"br",defaultMinWidth:100,defaultMaxWidth:600,defaultZindex:100,defaultAdjustPadding:{x:0,y:10}};function Y(t,n){let s=t.offsetTop;return t.offsetParent!=null&&t.offsetParent!=n&&(s-=t.offsetParent.scrollTop,s+=Y(t.offsetParent,n)),s}function D(t,n){let s=t.offsetLeft;return t.offsetParent!=null&&t.offsetParent!=n&&(s-=t.offsetParent.scrollLeft,s+=D(t.offsetParent,n)),s}function ve(t,n,s,u){return{x:D(t,u)+n,y:Y(t,u)+s}}const oe="mx-menu-default-container",he="mx-menu-container-";let be=0;function E(t){const{getContainer:n,zIndex:s}=t;if(n){const m=typeof n=="function"?n():n;if(m){let p=m.getAttribute("id");return p||(p=he+be++,m.setAttribute("id",p)),{eleId:p,container:m,isNew:!1}}}let u=document.getElementById(oe);return u||(u=document.createElement("div"),u.setAttribute("id",oe),u.setAttribute("class","mx-menu-ghost-host fullscreen"),document.body.appendChild(u)),u.style.zIndex=(s==null?void 0:s.toString())||N.defaultZindex.toString(),{eleId:oe,container:u,isNew:!0}}function R(t){return typeof t=="number"?`${t}px`:t}const P=e.defineComponent({props:{vnode:{type:null},data:{type:null,default:null}},setup(t){const{vnode:n,data:s}=e.toRefs(t);return()=>typeof n.value=="function"?n.value(s.value):n.value}}),b=(t,n)=>{const s=t.__vccOpts||t;for(const[u,m]of n)s[u]=m;return s},$={},Z={class:"mx-checked-mark","aria-hidden":"true",viewBox:"0 0 1024 1024"},tt=[e.createElementVNode("path",{d:"M129.3,428.6L52,512l345,372.5l575-620.8l-69.5-75L400.4,718.2L129.3,428.6z"},null,-1)];function nt(t,n){return e.openBlock(),e.createElementBlock("svg",Z,tt)}const ot=b($,[["render",nt]]),at={},lt={class:"mx-right-arrow","aria-hidden":"true",viewBox:"0 0 1024 1024"},st=[e.createElementVNode("path",{d:"M307.018 49.445c11.517 0 23.032 4.394 31.819 13.18L756.404 480.18c8.439 8.438 13.181 19.885 13.181 31.82s-4.741 23.38-13.181 31.82L338.838 961.376c-17.574 17.573-46.065 17.573-63.64-0.001-17.573-17.573-17.573-46.065 0.001-63.64L660.944 512 275.198 126.265c-17.574-17.573-17.574-46.066-0.001-63.64C283.985 53.839 295.501 49.445 307.018 49.445z"},null,-1)];function rt(t,n){return e.openBlock(),e.createElementBlock("svg",lt,st)}const We=b(at,[["render",rt]]),it={class:"mx-item-row"},ut=["xlink:href"],ct={key:1,class:"label"},dt={class:"mx-item-row"},mt={class:"mx-shortcut"},ie=e.defineComponent({__name:"ContextMenuItem",props:{disabled:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},customRender:{type:Function,default:null},customClass:{type:String,default:""},clickHandler:{type:Function,default:null},label:{type:[String,Object,Function],default:""},icon:{type:[String,Object,Function],default:""},iconFontClass:{type:String,default:"iconfont"},checked:{type:Boolean,default:!1},shortcut:{type:String,default:""},svgIcon:{type:String,default:""},svgProps:{type:Object,default:null},preserveIconWidth:{type:Boolean,default:!0},showRightArrow:{type:Boolean,default:!1},hasChildren:{type:Boolean,default:!1},clickClose:{type:Boolean,default:!0},clickableWhenHasChildren:{type:Boolean,default:!1},rawMenuItem:{type:Object,default:void 0}},emits:["click","subMenuOpen","subMenuClose"],setup(t,{expose:n,emit:s}){const u=t,m=s,{clickHandler:p,clickClose:a,clickableWhenHasChildren:w,disabled:x,hidden:c,label:o,icon:O,iconFontClass:W,showRightArrow:A,shortcut:B,hasChildren:v}=e.toRefs(u),h=e.ref(!1),d=e.ref(!1),i=e.ref(),f=e.inject("globalOptions"),g=e.inject("globalHasSlot"),r=e.inject("globalRenderSlot"),I=e.inject("globalCloseMenu"),M=e.inject("menuContext"),T={showSubMenu:()=>h.value?(M.markActiveMenuItem(T,!0),!0):v.value?(K(),!0):!1,isDisabledOrHidden:()=>x.value||c.value,getElement:()=>i.value,focus:()=>d.value=!0,blur:()=>d.value=!1,click:F};e.onMounted(()=>{M.isMenuItemDataCollectedFlag()?e.nextTick(()=>{let C=0;const L=M.getElement();if(L){let G=0;for(let y=0;y{M.removeChildMenuItem(T)});function F(C){if(!x.value){if(C){const L=C.target;if(L.classList.contains("mx-context-no-clickable")||f.value.ignoreClickClassName&&L.classList.contains(f.value.ignoreClickClassName))return;if(f.value.clickCloseClassName&&L.classList.contains(f.value.clickCloseClassName)){C.stopPropagation(),I(u.rawMenuItem);return}}v.value?w.value?(typeof p.value=="function"&&p.value(C),m("click",C)):h.value||K():(typeof p.value=="function"&&p.value(C),m("click",C),a.value&&I(u.rawMenuItem))}}function K(C){d.value=!1,M.checkCloseOtherSubMenuTimeOut()||M.closeOtherSubMenu(),x.value||(M.markActiveMenuItem(T),v.value&&(C||M.markThisOpenedByKeyBoard(),M.addOpenedSubMenu(()=>{d.value=!1,h.value=!1,m("subMenuClose")}),h.value=!0,m("subMenuOpen")))}function H(){return{disabled:x.value,label:o.value,icon:O.value,iconFontClass:W.value,showRightArrow:A.value,clickClose:a.value,clickableWhenHasChildren:w.value,shortcut:B.value,theme:f.value.theme,isOpen:h,hasChildren:v,onClick:F,onMouseEnter:K,closeMenu:I}}return n({showSubMenu:h,keyBoardFocusMenu:d}),(C,L)=>e.unref(c)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mx-context-menu-item-wrapper",ref_key:"menuItemRef",ref:i,"data-type":"ContextMenuItem"},[e.unref(g)("itemRender")?(e.openBlock(),e.createBlock(e.unref(P),{key:0,vnode:()=>e.unref(r)("itemRender",H())},null,8,["vnode"])):t.customRender?(e.openBlock(),e.createBlock(e.unref(P),{key:1,vnode:t.customRender,data:H()},null,8,["vnode","data"])):(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["mx-context-menu-item",e.unref(x)?"disabled":"",d.value?"keyboard-focus":"",t.customClass?" "+t.customClass:"",h.value?"open":""]),onClick:F,onMouseenter:K},[e.renderSlot(C.$slots,"default",{},()=>[e.createElementVNode("div",it,[e.createElementVNode("div",{class:e.normalizeClass(["mx-icon-placeholder",t.preserveIconWidth?"preserve-width":""])},[e.renderSlot(C.$slots,"icon",{},()=>[e.unref(g)("itemIconRender")?(e.openBlock(),e.createBlock(e.unref(P),{key:0,vnode:()=>e.unref(r)("itemIconRender",H())},null,8,["vnode"])):typeof t.svgIcon=="string"&&t.svgIcon?(e.openBlock(),e.createElementBlock("svg",e.mergeProps({key:1,class:"icon svg"},t.svgProps),[e.createElementVNode("use",{"xlink:href":t.svgIcon},null,8,ut)],16)):typeof e.unref(O)!="string"?(e.openBlock(),e.createBlock(e.unref(P),{key:2,vnode:e.unref(O),data:e.unref(O)},null,8,["vnode","data"])):typeof e.unref(O)=="string"&&e.unref(O)!==""?(e.openBlock(),e.createElementBlock("i",{key:3,class:e.normalizeClass(e.unref(O)+" icon "+e.unref(W)+" "+e.unref(f).iconFontClass)},null,2)):e.createCommentVNode("",!0)]),t.checked?e.renderSlot(C.$slots,"check",{key:0},()=>[e.unref(g)("itemCheckRender")?(e.openBlock(),e.createBlock(e.unref(P),{key:0,vnode:()=>e.unref(r)("itemCheckRender",H())},null,8,["vnode"])):e.createCommentVNode("",!0),e.createVNode(ot)]):e.createCommentVNode("",!0)],2),e.renderSlot(C.$slots,"label",{},()=>[e.unref(g)("itemLabelRender")?(e.openBlock(),e.createBlock(e.unref(P),{key:0,vnode:()=>e.unref(r)("itemLabelRender",H())},null,8,["vnode"])):typeof e.unref(o)=="string"?(e.openBlock(),e.createElementBlock("span",ct,e.toDisplayString(e.unref(o)),1)):(e.openBlock(),e.createBlock(e.unref(P),{key:2,vnode:e.unref(o),data:e.unref(o)},null,8,["vnode","data"]))])]),e.createElementVNode("div",dt,[e.unref(B)?e.renderSlot(C.$slots,"shortcut",{key:0},()=>[e.unref(g)("itemShortcutRender")?(e.openBlock(),e.createBlock(e.unref(P),{key:0,vnode:()=>e.unref(r)("itemShortcutRender",H())},null,8,["vnode"])):e.createCommentVNode("",!0),e.createElementVNode("span",mt,e.toDisplayString(e.unref(B)),1)]):e.createCommentVNode("",!0),e.unref(A)?e.renderSlot(C.$slots,"rightArrow",{key:1},()=>[e.unref(g)("itemRightArrowRender")?(e.openBlock(),e.createBlock(e.unref(P),{key:0,vnode:()=>e.unref(r)("itemRightArrowRender",H())},null,8,["vnode"])):e.createCommentVNode("",!0),e.createVNode(We)]):e.createCommentVNode("",!0)])])],34)),e.unref(f).menuTransitionProps?(e.openBlock(),e.createBlock(e.Transition,e.normalizeProps(e.mergeProps({key:3},e.unref(f).menuTransitionProps)),{default:e.withCtx(()=>[h.value?e.renderSlot(C.$slots,"submenu",{key:0}):e.createCommentVNode("",!0)]),_:3},16)):h.value?e.renderSlot(C.$slots,"submenu",{key:4}):e.createCommentVNode("",!0)],512))}}),ft=e.defineComponent({name:"ContextMenuSperator",components:{VNodeRender:P},setup(){const t=e.inject("globalHasSlot"),n=e.inject("globalRenderSlot");return{globalHasSlot:t,globalRenderSlot:n}}}),pt={key:1,class:"mx-context-menu-item-sperator mx-context-no-clickable"};function vt(t,n,s,u,m,p){const a=e.resolveComponent("VNodeRender");return t.globalHasSlot("separatorRender")?(e.openBlock(),e.createBlock(a,{key:0,vnode:()=>t.globalRenderSlot("separatorRender",{})},null,8,["vnode"])):(e.openBlock(),e.createElementBlock("div",pt))}const ue=b(ft,[["render",vt]]),ht=e.defineComponent({name:"ContextSubMenu",components:{ContextMenuItem:ie,ContextMenuSeparator:ue,ContextMenuIconRight:We},props:{items:{type:Object,default:null},maxWidth:{type:[String,Number],default:0},minWidth:{type:[String,Number],default:0},adjustPosition:{type:Boolean,default:!0},direction:{type:String,default:"br"}},setup(t){const n=e.inject("menuContext"),s=e.inject("globalOptions"),u=e.inject("globalHasSlot"),m=e.inject("globalRenderSlot"),{zIndex:p,getParentWidth:a,getParentHeight:w}=n,{adjustPosition:x}=e.toRefs(t),c=e.ref(),o=e.ref(),O=e.ref(),W=[],A=e.inject("globalSetCurrentSubMenu"),B=[];let v=null,h=0;function d(){v&&v.blur()}function i(l,S){if(l){for(let _=S!==void 0?S:0;_=0;_--)if(!B[_].isDisabledOrHidden()){f(_);break}}function f(l){if(v&&d(),l!==void 0&&(v=B[Math.max(0,Math.min(l,B.length-1))]),!!v&&(v.focus(),G.value)){const S=v.getElement();S&&(F.value=Math.min(Math.max(-K.value,-S.offsetTop-S.offsetHeight+X.value),0))}}function g(){A(r)}const r={isTopLevel:()=>n.getParentContext()===null,closeSelfAndActiveParent:()=>{const l=T.getParentContext();if(l){l.closeOtherSubMenu();const S=l.getSubMenuInstanceContext();if(S)return S.focusCurrentItem(),!0}return!1},closeCurrentSubMenu:()=>{var l;return(l=T.getParentContext())==null?void 0:l.closeOtherSubMenu()},moveCurrentItemFirst:()=>i(!0),moveCurrentItemLast:()=>i(!1),moveCurrentItemDown:()=>i(!0,v?B.indexOf(v)+1:0),moveCurrentItemUp:()=>i(!1,v?B.indexOf(v)-1:0),focusCurrentItem:()=>f(),openCurrentItemSubMenu:()=>v?v==null?void 0:v.showSubMenu():!1,triggerCurrentItemClick:l=>v==null?void 0:v.click(l)};let I=!1,M=!1;const T={zIndex:p+1,container:n.container,adjustPadding:s.value.adjustPadding||N.defaultAdjustPadding,getParentWidth:()=>{var l;return((l=c.value)==null?void 0:l.offsetWidth)||0},getParentHeight:()=>{var l;return((l=c.value)==null?void 0:l.offsetHeight)||0},getParentX:()=>y.value.x,getParentY:()=>y.value.y,getParentAbsX:()=>c.value?D(c.value,n.container):0,getParentAbsY:()=>c.value?Y(c.value,n.container):0,getPositon:()=>[0,0],addOpenedSubMenu(l){W.push(l)},closeOtherSubMenu(){W.forEach(l=>l()),W.splice(0,W.length),A(r)},checkCloseOtherSubMenuTimeOut(){return h?(clearTimeout(h),h=0,!0):!1},closeOtherSubMenuWithTimeOut(){h=setTimeout(()=>{h=0,this.closeOtherSubMenu()},200)},addChildMenuItem:(l,S)=>{S===void 0?B.push(l):B.splice(S,0,l)},removeChildMenuItem:l=>{B.splice(B.indexOf(l),1)},markActiveMenuItem:(l,S=!1)=>{d(),v=l,S&&f()},markThisOpenedByKeyBoard:()=>{I=!0},isOpenedByKeyBoardFlag:()=>I?(I=!1,!0):!1,isMenuItemDataCollectedFlag:()=>M,getElement:()=>c.value||null,getParentContext:()=>n,getSubMenuInstanceContext:()=>r};e.provide("menuContext",T);const F=e.ref(0),K=e.ref(0);function H(l){l?F.value=Math.min(Math.max(F.value-50,-K.value),0):F.value=Math.min(F.value+50,0)}function C(l){l.preventDefault(),l.stopPropagation(),H(l.deltaY>0)}function L(l){s.value.mouseScroll&&(l.preventDefault(),l.stopPropagation(),H(l.deltaY>0))}const G=e.ref(!1),y=e.ref({x:0,y:0}),X=e.ref(0);return e.onMounted(()=>{const l=n.getPositon();y.value={x:l[0]??s.value.xOffset??0,y:l[1]??s.value.yOffset??0},A(r),e.nextTick(()=>{var S,_;const V=c.value;if(V&&o.value){const{container:Q}=n,ke=(a==null?void 0:a())??0,Rt=(w==null?void 0:w())??0,de=typeof n.adjustPadding=="number"?n.adjustPadding:((S=n.adjustPadding)==null?void 0:S.x)??0,me=typeof n.adjustPadding=="number"?n.adjustPadding:((_=n.adjustPadding)==null?void 0:_.y)??0,ae=Rt>0?me:0,Et=document.documentElement.scrollHeight,Ot=document.documentElement.scrollWidth,Nt=Math.min(Ot,Q.offsetWidth),xe=Math.min(Et,Q.offsetHeight);let ge=D(V,Q),ye=Y(V,Q);t.direction.includes("l")?y.value.x-=V.offsetWidth+de:t.direction.includes("r")?y.value.x+=ke+de:(y.value.x+=ke/2,y.value.x-=(V.offsetWidth+de)/2),t.direction.includes("t")?y.value.y-=V.offsetHeight+me*2:t.direction.includes("b")?y.value.y-=me:y.value.y-=(V.offsetHeight+me)/2,x.value&&e.nextTick(()=>{ge=D(V,Q),ye=Y(V,Q);const Tt=ge+V.offsetWidth-Nt,Te=ye+V.offsetHeight+ae*2-xe;if(G.value=Te>0,K.value=V.offsetHeight-xe+ae*2,Tt>0){const le=ke+V.offsetWidth-de,se=ge;le>se?y.value.x-=se:y.value.x-=le}if(G.value){const le=Te,se=ye;le>se?y.value.y-=se-ae:y.value.y-=le-ae,X.value=xe-ae*2}else X.value=0})}V==null||V.focus({preventScroll:!0}),n.isOpenedByKeyBoardFlag()&&i(!0),M=!0})}),{menu:c,scroll:o,options:s,zIndex:p,constOptions:N,scrollValue:F,upScrollButton:O,overflow:G,position:y,scrollHeight:K,maxHeight:X,globalHasSlot:u,globalRenderSlot:m,onScroll:H,onSubMenuBodyClick:g,onMouseWhell:L,onMouseWhellMx:C,solveNumberOrStringSize:R}}}),bt={key:0,class:"mx-context-menu-updown placeholder"},Ct={key:1,class:"mx-context-menu-updown placeholder"},kt={class:"mx-context-menu-scroll",ref:"scroll"};function xt(t,n,s,u,m,p){const a=e.resolveComponent("ContextMenuSeparator"),w=e.resolveComponent("ContextSubMenu",!0),x=e.resolveComponent("ContextMenuItem"),c=e.resolveComponent("ContextMenuIconRight");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-context-menu",t.options.customClass?t.options.customClass:"",t.options.theme??""]),style:e.normalizeStyle({maxWidth:t.maxWidth?t.solveNumberOrStringSize(t.maxWidth):`${t.constOptions.defaultMaxWidth}px`,minWidth:t.minWidth?t.solveNumberOrStringSize(t.minWidth):`${t.constOptions.defaultMinWidth}px`,maxHeight:t.overflow&&t.maxHeight>0?`${t.maxHeight}px`:void 0,zIndex:t.zIndex,left:`${t.position.x}px`,top:`${t.position.y}px`}),"data-type":"ContextSubMenu",onClick:n[4]||(n[4]=(...o)=>t.onSubMenuBodyClick&&t.onSubMenuBodyClick(...o)),onWheel:n[5]||(n[5]=(...o)=>t.onMouseWhell&&t.onMouseWhell(...o))},[e.createElementVNode("div",{class:e.normalizeClass(["mx-context-menu-items"]),ref:"menu",style:e.normalizeStyle({top:`${t.scrollValue}px`})},[e.renderSlot(t.$slots,"default",{},()=>[t.overflow&&t.options.updownButtonSpaceholder?(e.openBlock(),e.createElementBlock("div",bt)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(o,O)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:O},[o.hidden!==!0&&o.divided==="up"?(e.openBlock(),e.createBlock(a,{key:0})):e.createCommentVNode("",!0),o.hidden!==!0&&o.divided==="self"?(e.openBlock(),e.createBlock(a,{key:1})):(e.openBlock(),e.createBlock(x,{key:2,clickHandler:o.onClick?W=>o.onClick(W):void 0,disabled:o.disabled,hidden:o.hidden,icon:o.icon,iconFontClass:o.iconFontClass,svgIcon:o.svgIcon,svgProps:o.svgProps,label:o.label,customRender:o.customRender,customClass:o.customClass,checked:o.checked,shortcut:o.shortcut,clickClose:o.clickClose,clickableWhenHasChildren:o.clickableWhenHasChildren,preserveIconWidth:o.preserveIconWidth!==void 0?o.preserveIconWidth:t.options.preserveIconWidth,showRightArrow:o.children&&o.children.length>0,hasChildren:o.children&&o.children.length>0,rawMenuItem:o,onSubMenuOpen:o.onSubMenuOpen,onSubMenuClose:o.onSubMenuClose},e.createSlots({_:2},[o.children&&o.children.length>0?{name:"submenu",fn:e.withCtx(()=>[e.createVNode(w,{items:o.children,maxWidth:o.maxWidth,minWidth:o.minWidth,adjustPosition:o.adjustSubMenuPosition!==void 0?o.adjustSubMenuPosition:t.options.adjustPosition,direction:o.direction!==void 0?o.direction:t.options.direction},null,8,["items","maxWidth","minWidth","adjustPosition","direction"])]),key:"0"}:void 0]),1032,["clickHandler","disabled","hidden","icon","iconFontClass","svgIcon","svgProps","label","customRender","customClass","checked","shortcut","clickClose","clickableWhenHasChildren","preserveIconWidth","showRightArrow","hasChildren","rawMenuItem","onSubMenuOpen","onSubMenuClose"])),o.hidden!==!0&&(o.divided==="down"||o.divided===!0)?(e.openBlock(),e.createBlock(a,{key:3})):e.createCommentVNode("",!0)],64))),128)),t.overflow&&t.options.updownButtonSpaceholder?(e.openBlock(),e.createElementBlock("div",Ct)):e.createCommentVNode("",!0)])],4),e.createElementVNode("div",kt,[e.withDirectives(e.createElementVNode("div",{ref:"upScrollButton",class:e.normalizeClass("mx-context-menu-updown mx-context-no-clickable up"+(t.overflow&&t.scrollValue<0?"":" disabled")),onClick:n[0]||(n[0]=o=>t.onScroll(!1)),onWheel:n[1]||(n[1]=(...o)=>t.onMouseWhellMx&&t.onMouseWhellMx(...o))},[e.createVNode(c)],34),[[e.vShow,t.overflow]]),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass("mx-context-menu-updown mx-context-no-clickable down"+(t.overflow&&t.scrollValue>-t.scrollHeight?"":" disabled")),onClick:n[2]||(n[2]=o=>t.onScroll(!0)),onWheel:n[3]||(n[3]=(...o)=>t.onMouseWhellMx&&t.onMouseWhellMx(...o))},[e.createVNode(c)],34),[[e.vShow,t.overflow]])],512)],38)}const ce=b(ht,[["render",xt]]),gt={class:"mx-menu-ghost-host"},Re=e.defineComponent({__name:"ContextSubMenuWrapper",props:{options:{type:Object,default:null},show:{type:Object,default:null},container:{type:Object,default:null},isFullScreenContainer:{type:Boolean,default:!0}},emits:["close","closeAnimFinished"],setup(t,{expose:n,emit:s}){const u=t,m=s,p=e.useSlots(),{options:a,show:w,container:x}=e.toRefs(u);e.onMounted(()=>{w.value&&O()}),e.onBeforeUnmount(()=>{v()}),e.watch(w,r=>{r?O():(re(c),v())});const c={closeMenu:W,isClosed:A};let o=!1;function O(){B(),pe(c)}function W(r){o=!0,m("close",r),a.value.menuTransitionProps||m("closeAnimFinished"),re(c)}function A(){return o}function B(){setTimeout(()=>{document.addEventListener("click",f,!0),document.addEventListener("contextmenu",f,!0),document.addEventListener("scroll",i,!0),!u.isFullScreenContainer&&x.value&&x.value.addEventListener("scroll",i,!0),a.value.keyboardControl!==!1&&document.addEventListener("keydown",d)},50)}function v(){document.removeEventListener("contextmenu",f,!0),document.removeEventListener("click",f,!0),document.removeEventListener("scroll",i,!0),!u.isFullScreenContainer&&x.value&&x.value.removeEventListener("scroll",i,!0),a.value.keyboardControl!==!1&&document.removeEventListener("keydown",d)}const h=e.ref();e.provide("globalSetCurrentSubMenu",r=>h.value=r);function d(r){var I,M,T,F,K,H,C,L,G,y,X,l,S;let _=!0;switch(r.key){case"Escape":{((I=h.value)==null?void 0:I.isTopLevel())===!1?(M=h.value)==null||M.closeCurrentSubMenu():W();break}case"ArrowDown":(T=h.value)==null||T.moveCurrentItemDown();break;case"ArrowUp":(F=h.value)==null||F.moveCurrentItemUp();break;case"Home":(K=h.value)==null||K.moveCurrentItemFirst();break;case"End":(H=h.value)==null||H.moveCurrentItemLast();break;case"ArrowLeft":{(C=h.value)!=null&&C.closeSelfAndActiveParent()||(G=(L=a.value).onKeyFocusMoveLeft)==null||G.call(L);break}case"ArrowRight":(y=h.value)!=null&&y.openCurrentItemSubMenu()||(l=(X=a.value).onKeyFocusMoveRight)==null||l.call(X);break;case"Enter":(S=h.value)==null||S.triggerCurrentItemClick(r);break;default:_=!1;break}_&&h.value&&(r.stopPropagation(),r.preventDefault())}function i(){a.value.closeWhenScroll!==!1&&W()}function f(r){g(r.target,r)}function g(r,I){for(var M,T;r;){if(r.classList&&r.classList.contains("mx-menu-host"))return;r=r.parentNode}a.value.clickCloseOnOutside!==!1?(v(),W()):(T=(M=a.value).onClickOnOutside)==null||T.call(M,I)}return e.provide("globalOptions",a),e.provide("globalCloseMenu",W),e.provide("globalIsFullScreenContainer",u.isFullScreenContainer),e.provide("globalHasSlot",r=>p[r]!==void 0),e.provide("globalRenderSlot",(r,I)=>e.renderSlot(p,r,{...I},()=>[e.h("span","Render slot failed")],!1)),e.provide("menuContext",{zIndex:a.value.zIndex||N.defaultZindex,container:x.value,adjustPadding:{x:0,y:0},getParentAbsY:()=>a.value.x,getParentAbsX:()=>a.value.y,getParentX:()=>0,getParentY:()=>0,getParentWidth:()=>0,getParentHeight:()=>0,getPositon:()=>[a.value.x,a.value.y],closeOtherSubMenuWithTimeOut:()=>{},checkCloseOtherSubMenuTimeOut:()=>!1,addOpenedSubMenu:()=>{},closeOtherSubMenu:()=>{},getParentContext:()=>null,getSubMenuInstanceContext:()=>null,getElement:()=>null,addChildMenuItem:()=>{},removeChildMenuItem:()=>{},markActiveMenuItem:()=>{},markThisOpenedByKeyBoard:()=>{},isOpenedByKeyBoardFlag:()=>!1,isMenuItemDataCollectedFlag:()=>!1}),n(c),(r,I)=>(e.openBlock(),e.createElementBlock("div",gt,[e.unref(a).menuTransitionProps?(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({key:0,appear:""},e.unref(a).menuTransitionProps,{onAfterLeave:I[0]||(I[0]=M=>m("closeAnimFinished"))}),{default:e.withCtx(()=>[e.unref(w)?(e.openBlock(),e.createBlock(ce,{key:0,class:"mx-menu-host",items:e.unref(a).items,adjustPosition:e.unref(a).adjustPosition,maxWidth:e.unref(a).maxWidth||e.unref(N).defaultMaxWidth,minWidth:e.unref(a).minWidth||e.unref(N).defaultMinWidth,direction:e.unref(a).direction||e.unref(N).defaultDirection},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["items","adjustPosition","maxWidth","minWidth","direction"])):e.createCommentVNode("",!0)]),_:3},16)):e.unref(w)?(e.openBlock(),e.createBlock(ce,{key:1,class:"mx-menu-host",items:e.unref(a).items,adjustPosition:e.unref(a).adjustPosition,maxWidth:e.unref(a).maxWidth||e.unref(N).defaultMaxWidth,minWidth:e.unref(a).minWidth||e.unref(N).defaultMinWidth,direction:e.unref(a).direction||e.unref(N).defaultDirection},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["items","adjustPosition","maxWidth","minWidth","direction"])):e.createCommentVNode("",!0)]))}}),Ee=e.defineComponent({name:"ContextMenu",emits:["update:show","close"],props:{options:{type:Object,default:null},show:{type:Boolean,default:!1}},setup(t,n){const{options:s,show:u}=e.toRefs(t);return n.expose({closeMenu:()=>n.emit("update:show",!1),isClosed:()=>!u.value}),()=>{const{isNew:m,container:p,eleId:a}=E(s.value);return[e.h(e.Teleport,{to:`#${a}`},[e.h(Re,{options:s,show:u,container:p,isFullScreenContainer:!m,onClose:w=>{var x,c;n.emit("update:show",!1),n.emit("close"),(c=(x=s.value).onClose)==null||c.call(x,w)}},n.slots)])]}}}),Oe=e.defineComponent({name:"ContextMenuGroup",props:{disabled:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},clickHandler:{type:Function,default:null},label:{type:String,default:""},icon:{type:String,default:""},iconFontClass:{type:String,default:"iconfont"},checked:{type:Boolean,default:!1},shortcut:{type:String,default:""},svgIcon:{type:String,default:""},svgProps:{type:Object,default:null},preserveIconWidth:{type:Boolean,default:!0},showRightArrow:{type:Boolean,default:!1},clickClose:{type:Boolean,default:!0},adjustSubMenuPosition:{type:Boolean,default:void 0},maxWidth:{type:[String,Number],default:0},minWidth:{type:[String,Number],default:0}},setup(t,n){const s=e.inject("globalOptions"),{adjustSubMenuPosition:u,maxWidth:m,minWidth:p}=e.toRefs(t),a=typeof u.value<"u"?u.value:s.value.adjustPosition;return()=>e.h(ie,{...t,showRightArrow:!0,maxWidth:void 0,minWidth:void 0,adjustSubMenuPosition:void 0,hasChildren:typeof n.slots.default!==void 0},n.slots.default?{submenu:()=>e.h(ce,{maxWidth:m.value,minWidth:p.value,adjustPosition:a},{default:n.slots.default})}:void 0)}});function yt(t,n,s,u){const m=e.ref(!0),p=e.h(Re,{options:t,show:m,container:n,isFullScreenContainer:!s,onCloseAnimFinished:()=>{e.render(null,n)},onClose:a=>{var w;(w=t.onClose)==null||w.call(t,a),m.value=!1}},u);return e.render(p,n),p.component}function Ne(t,n){const s=E(t);return yt(t,s.container,s.isNew,n).exposed}const Ce={install(t){t.config.globalProperties.$contextmenu=Ne,t.component("ContextMenu",Ee),t.component("ContextMenuItem",ie),t.component("ContextMenuGroup",Oe),t.component("ContextMenuSperator",ue),t.component("ContextMenuSeparator",ue),t.component("ContextSubMenu",ce)},showContextMenu(t,n){return Ne(t,n)},isAnyContextMenuOpen(){return z()},closeContextMenu:U,transformMenuPosition:ve},St={},Mt={class:"mx-menu-bar-icon-menu",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"},Bt=[e.createElementVNode("path",{d:"M133.310936 296.552327l757.206115 0c19.781623 0 35.950949-16.169326 35.950949-35.950949 0-19.781623-15.997312-35.950949-35.950949-35.950949L133.310936 224.650428c-19.781623 0-35.950949 16.169326-35.950949 35.950949C97.359987 280.383 113.529313 296.552327 133.310936 296.552327z"},null,-1),e.createElementVNode("path",{d:"M890.51705 476.135058 133.310936 476.135058c-19.781623 0-35.950949 16.169326-35.950949 35.950949 0 19.781623 16.169326 35.950949 35.950949 35.950949l757.206115 0c19.781623 0 35.950949-16.169326 35.950949-35.950949C926.467999 492.304384 910.298673 476.135058 890.51705 476.135058z"},null,-1),e.createElementVNode("path",{d:"M890.51705 727.447673 133.310936 727.447673c-19.781623 0-35.950949 15.997312-35.950949 35.950949s16.169326 35.950949 35.950949 35.950949l757.206115 0c19.781623 0 35.950949-15.997312 35.950949-35.950949S910.298673 727.447673 890.51705 727.447673z"},null,-1)];function wt(t,n){return e.openBlock(),e.createElementBlock("svg",Mt,Bt)}const It=b(St,[["render",wt]]),Pt=["onClick","onMouseenter"],Wt=e.defineComponent({__name:"MenuBar",props:{options:{type:Object,default:null}},setup(t){const n=t,s=e.ref(),u=e.ref(!1),m=e.ref([]),p=e.ref(null);function a(){u.value=!0}function w(){u.value=!1}e.onMounted(()=>{m.value=n.options.items||[]}),e.watch(()=>n.options,()=>{m.value=n.options.items||[]});let x=null,c=-1;function o(){c0?c--:c=m.value.length-1,A(c,m.value[c])}function W(d){const i=n.options.barPopDirection??"bl";let f=0,g=0;return i.startsWith("b")?g=Y(d)+d.offsetHeight:i.startsWith("t")?g=Y(d):g=Y(d)+d.offsetHeight/2,i.endsWith("l")?f=D(d):i.startsWith("r")?f=D(d)+d.offsetWidth:f=D(d)+d.offsetWidth/2,{x:f,y:g}}function A(d,i){var f;if(c=d,!i.children)return;x&&(x.closeMenu(),x=null,u.value=!0),p.value=i;const g=(f=s.value)==null?void 0:f.children[d];if(g){const{x:r,y:I}=W(g);x=Ce.showContextMenu({...n.options,items:i.children,x:r,y:I,onKeyFocusMoveLeft(){O()},onKeyFocusMoveRight(){o()},onClose(){p.value==i&&(u.value=!1,p.value=null)}})}}function B(){c=0;const d=s.value;if(d){const{x:i,y:f}=W(d);x=Ce.showContextMenu({...n.options,x:i,y:f})}}function v(d,i){i?(u.value=!0,A(d,i),i.onClick&&(i.clickableWhenHasChildren===!0&&i.children&&i.children.length>0||!i.children||i.children.length===0)&&i.onClick()):B()}function h(d,i){u.value&&A(d,i)}return(d,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-menu-bar",t.options.theme??"",t.options.mini?"mini":""]),onFocus:a,onBlur:w},[e.renderSlot(d.$slots,"prefix"),t.options.mini?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"menuBarContent",ref:s,class:"mx-menu-bar-content"},[e.createElementVNode("div",{class:"mx-menu-bar-item",onClick:i[0]||(i[0]=f=>v(0,null))},[e.createVNode(It)])],512)):(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"menuBarContent",ref:s,class:"mx-menu-bar-content"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(f,g)=>(e.openBlock(),e.createElementBlock("div",{key:g,class:e.normalizeClass(["mx-menu-bar-item",f==p.value?"active":""]),onClick:r=>v(g,f),onMouseenter:r=>h(g,f)},e.toDisplayString(f.label),43,Pt))),128))],512)),e.renderSlot(d.$slots,"suffix")],34))}});j.ContextMenu=Ee,j.ContextMenuGroup=Oe,j.ContextMenuItem=ie,j.ContextMenuSeparator=ue,j.MenuBar=Wt,j.default=Ce,Object.defineProperties(j,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})})})(Pe,Pe.exports);var ya=Pe.exports;const Sa=ia(ya),et=ne=>(Ye("data-v-39d55a7e"),ne=ne(),Ue(),ne),Ma={class:"tabbar-container"},Ba=["data-index","title","onClick","onContextmenu"],wa=et(()=>te("div",{class:"tab-dividers"},null,-1)),Ia=et(()=>te("div",{class:"tab-background"},null,-1)),Pa={class:"tab-content"},Wa=["onClick"],Ra=Le({name:"Tabbar",__name:"index",setup(ne){const fe=ua(),j=ca(),e=da(),k=ha(),z=ba(),pe=Ca(),re=va({reactive:!0}),U=He(()=>z.getId()),N=Be(),Y=Be(),D=Xe([]);De(()=>{D.value=[]}),qe(()=>fe,E=>{e.settings.tabbar.enable&&k.add(E).then(()=>{const R=k.list.findIndex(P=>P.tabId===U.value);R!==-1&&(he(D.value[R].offsetLeft),ve())})},{immediate:!0,deep:!0});function ve(){Y.value.$el.clientWidth>N.value.clientWidth&&localStorage.getItem("tabbarScrollTip")===void 0&&(localStorage.setItem("tabbarScrollTip",""),ma.info("标签栏数量超过展示区域范围,可以将鼠标移到标签栏上,通过鼠标滚轮滑动浏览",{title:"温馨提示",duration:5e3,closable:!0,zIndex:2e3}))}function oe(E){N.value.scrollBy({left:E.deltaY||E.detail})}function he(E){N.value.scrollTo({left:E-50,behavior:"smooth"})}function be(E,R){E.preventDefault(),Sa.showContextMenu({x:E.x,y:E.y,zIndex:1050,iconFontClass:"",customClass:"tabbar-contextmenu",items:[{label:"重新加载",icon:"i-ri:refresh-line",disabled:R.tabId!==U.value,onClick:()=>pe.reload()},{label:"关闭标签页",icon:"i-ri:close-line",disabled:k.list.length<=1,divided:!0,onClick:()=>{z.closeById(R.tabId)}},{label:"关闭其他标签页",disabled:!z.checkCloseOtherSide(R.tabId),onClick:()=>{z.closeOtherSide(R.tabId)}},{label:"关闭左侧标签页",disabled:!z.checkCloseLeftSide(R.tabId),onClick:()=>{z.closeLeftSide(R.tabId)}},{label:"关闭右侧标签页",disabled:!z.checkCloseRightSide(R.tabId),onClick:()=>{z.closeRightSide(R.tabId)}}]})}return $e(()=>{_e("alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0",(E,R)=>{var P,b;if(e.settings.tabbar.enable&&e.settings.tabbar.enableHotkeys)switch(E.preventDefault(),R.key){case"alt+left":if(k.list[0].tabId!==U.value){const $=k.list.findIndex(Z=>Z.tabId===U.value);j.push(k.list[$-1].fullPath)}break;case"alt+right":if(((P=k.list.at(-1))==null?void 0:P.tabId)!==U.value){const $=k.list.findIndex(Z=>Z.tabId===U.value);j.push(k.list[$+1].fullPath)}break;case"alt+w":z.closeById(U.value);break;case"alt+1":case"alt+2":case"alt+3":case"alt+4":case"alt+5":case"alt+6":case"alt+7":case"alt+8":case"alt+9":{const $=Number(R.key.split("+")[1]);(b=k.list[$-1])!=null&&b.fullPath&&j.push(k.list[$-1].fullPath);break}case"alt+0":j.push(k.list[k.list.length-1].fullPath);break}})}),Ke(()=>{_e.unbind("alt+left,alt+right,alt+w,alt+1,alt+2,alt+3,alt+4,alt+5,alt+6,alt+7,alt+8,alt+9,alt+0")}),(E,R)=>{const P=fa;return J(),ee("div",Ma,[te("div",{ref_key:"tabsRef",ref:N,class:"tabs",onWheel:Ie(oe,["prevent"])},[Me(je,{ref_key:"tabContainerRef",ref:Y,name:"tabbar",tag:"div",class:"tab-container"},{default:Je(()=>[(J(!0),ee(Ve,null,Ge(q(k).list,(b,$)=>(J(),ee("div",{key:b.tabId,ref_for:!0,ref_key:"tabRef",ref:D,"data-index":$,class:ze(["tab",{actived:b.tabId===q(U)}]),title:typeof(b==null?void 0:b.title)=="function"?b.title():b.title,onClick:Z=>q(j).push(b.fullPath),onContextmenu:Z=>be(Z,b)},[wa,Ia,te("div",Pa,[(J(),ee("div",{key:b.tabId,class:"title"},[q(e).settings.tabbar.enableIcon&&b.icon?(J(),Ae(P,{key:0,name:b.icon,class:"icon"},null,8,["name"])):Se("",!0),Fe(" "+we(typeof(b==null?void 0:b.title)=="function"?b.title():b.title),1)])),q(k).list.length>1?(J(),ee("div",{key:0,class:"action-icon",onClick:Ie(Z=>q(z).closeById(b.tabId),["stop"])},[Me(P,{name:"i-ri:close-fill"})],8,Wa)):Se("",!0),Qe(te("div",{class:"hotkey-number"},we($+1),513),[[Ze,q(re).alt&&$<9]])])],42,Ba))),128))]),_:1},512)],544)])}}}),_a=pa(Ra,[["__scopeId","data-v-39d55a7e"]]);export{_a as default}; diff --git a/assets/index-By_8I9Xc.js.br b/assets/index-By_8I9Xc.js.br new file mode 100644 index 000000000..9d9bd801d Binary files /dev/null and b/assets/index-By_8I9Xc.js.br differ diff --git a/assets/index-By_8I9Xc.js.gz b/assets/index-By_8I9Xc.js.gz new file mode 100644 index 000000000..973261499 Binary files /dev/null and b/assets/index-By_8I9Xc.js.gz differ diff --git a/assets/index-C1GwVDnp.js b/assets/index-C1GwVDnp.js new file mode 100644 index 000000000..766168925 --- /dev/null +++ b/assets/index-C1GwVDnp.js @@ -0,0 +1 @@ +import{y as t,o as s,f as r,X as c}from"./index-C_dOR4Zc.js";const o={},n={class:"flex items-center text-sm"};function a(e,d){return s(),r("div",n,[c(e.$slots,"default",{},void 0,!0)])}const f=t(o,[["render",a],["__scopeId","data-v-57b61e27"]]);export{f as default}; diff --git a/assets/index-C1GwVDnp.js.br b/assets/index-C1GwVDnp.js.br new file mode 100644 index 000000000..b2f6743ef --- /dev/null +++ b/assets/index-C1GwVDnp.js.br @@ -0,0 +1,2 @@ + +dim!6dE|~O 0iKkt=Y)ɹ!F Ly=I/hBTq0j†3!%~Lݫò vLQΨIqVB6pwU7CIFN@CA 4-suDrml ;Uk \ No newline at end of file diff --git a/assets/index-C1GwVDnp.js.gz b/assets/index-C1GwVDnp.js.gz new file mode 100644 index 000000000..e2a9f392b Binary files /dev/null and b/assets/index-C1GwVDnp.js.gz differ diff --git a/assets/index-C5u5Fr6q.css b/assets/index-C5u5Fr6q.css new file mode 100644 index 000000000..c123db55f --- /dev/null +++ b/assets/index-C5u5Fr6q.css @@ -0,0 +1 @@ +.test[data-v-ad3b43b5]{font-size:24px}.test span[data-v-ad3b43b5]{font-weight:700;color:red} diff --git a/assets/index-C5u5Fr6q.css.br b/assets/index-C5u5Fr6q.css.br new file mode 100644 index 000000000..8cb63ceb7 Binary files /dev/null and b/assets/index-C5u5Fr6q.css.br differ diff --git a/assets/index-C5u5Fr6q.css.gz b/assets/index-C5u5Fr6q.css.gz new file mode 100644 index 000000000..30817d133 Binary files /dev/null and b/assets/index-C5u5Fr6q.css.gz differ diff --git a/assets/index-C7lymP1E.css b/assets/index-C7lymP1E.css new file mode 100644 index 000000000..185383df6 --- /dev/null +++ b/assets/index-C7lymP1E.css @@ -0,0 +1 @@ +.fixed-action-bar[data-v-9af45002]{box-shadow:0 0 1px 0 var(--g-box-shadow-color)}.fixed-action-bar.shadow[data-v-9af45002]{box-shadow:0 -10px 10px -10px var(--g-box-shadow-color)} diff --git a/assets/index-C7lymP1E.css.br b/assets/index-C7lymP1E.css.br new file mode 100644 index 000000000..e80eb27e3 Binary files /dev/null and b/assets/index-C7lymP1E.css.br differ diff --git a/assets/index-C7lymP1E.css.gz b/assets/index-C7lymP1E.css.gz new file mode 100644 index 000000000..97c813d50 Binary files /dev/null and b/assets/index-C7lymP1E.css.gz differ diff --git a/assets/index-CBg0uKPW.js b/assets/index-CBg0uKPW.js new file mode 100644 index 000000000..db41c72d2 --- /dev/null +++ b/assets/index-CBg0uKPW.js @@ -0,0 +1 @@ +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BIyQmgkq.js";import"./HDropdown-CAkYOxIm.js";import"./index-C_dOR4Zc.js";export{o as default}; diff --git a/assets/index-CBg0uKPW.js.br b/assets/index-CBg0uKPW.js.br new file mode 100644 index 000000000..feb141aaa Binary files /dev/null and b/assets/index-CBg0uKPW.js.br differ diff --git a/assets/index-CBg0uKPW.js.gz b/assets/index-CBg0uKPW.js.gz new file mode 100644 index 000000000..30f640b58 Binary files /dev/null and b/assets/index-CBg0uKPW.js.gz differ diff --git a/assets/index-CEi5K4E8.js b/assets/index-CEi5K4E8.js new file mode 100644 index 000000000..4770cf5c7 --- /dev/null +++ b/assets/index-CEi5K4E8.js @@ -0,0 +1 @@ +import{d as a,i as s,n as e,y as t}from"./index-C_dOR4Zc.js";const u=a({name:"JsxComp",setup(){return()=>s("div",{class:"test"},[e("这是一个用"),s("span",null,[e("JSX")]),e("编写的SFC组件。")])}}),n=t(u,[["__scopeId","data-v-ad3b43b5"]]);export{n as default}; diff --git a/assets/index-CEi5K4E8.js.br b/assets/index-CEi5K4E8.js.br new file mode 100644 index 000000000..7e597fd37 Binary files /dev/null and b/assets/index-CEi5K4E8.js.br differ diff --git a/assets/index-CEi5K4E8.js.gz b/assets/index-CEi5K4E8.js.gz new file mode 100644 index 000000000..eaa98c5d0 Binary files /dev/null and b/assets/index-CEi5K4E8.js.gz differ diff --git a/assets/index-CVZAi7I6.css b/assets/index-CVZAi7I6.css new file mode 100644 index 000000000..7c8c04d26 --- /dev/null +++ b/assets/index-CVZAi7I6.css @@ -0,0 +1 @@ +[data-mode=mobile] .sidebar-container[data-v-aa863081]{transform:translate(calc((var(--g-main-sidebar-width) + var(--g-sub-sidebar-width)) * -1))}[data-mode=mobile] .sidebar-container.show[data-v-aa863081]{transform:translate(0)}[data-mode=mobile] .main-container[data-v-aa863081]{margin-left:0!important}[data-mode=mobile][data-menu-mode=single] .sidebar-container[data-v-aa863081]{transform:translate(calc(var(--g-sub-sidebar-width) * -1))}[data-mode=mobile][data-menu-mode=single] .sidebar-container.show[data-v-aa863081]{transform:translate(0)}.layout[data-v-aa863081]{height:100%}#app-main[data-v-aa863081]{width:100%;height:100%;margin:0 auto}.wrapper[data-v-aa863081]{position:relative;width:100%;height:100%;transition:padding-top .3s}.wrapper .sidebar-container[data-v-aa863081]{position:fixed;top:0;bottom:0;z-index:1010;display:flex;width:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));box-shadow:-1px 0 0 0 var(--g-border-color),1px 0 0 0 var(--g-border-color);transition:width .3s,transform .3s,box-shadow .3s,top .3s}.wrapper .sidebar-container[data-v-aa863081]:has(>.main-sidebar-container.main-sidebar-enter-active),.wrapper .sidebar-container[data-v-aa863081]:has(>.main-sidebar-container.main-sidebar-leave-active){overflow:hidden}.wrapper .sidebar-mask[data-v-aa863081]{position:fixed;top:0;left:0;z-index:1000;width:100%;height:100%;visibility:hidden;background-image:radial-gradient(transparent 1px,rgba(0,0,0,.3) 1px);background-size:4px 4px;-webkit-backdrop-filter:saturate(50%) blur(4px);backdrop-filter:saturate(50%) blur(4px);opacity:0;transition:all .2s}.wrapper .sidebar-mask.show[data-v-aa863081]{visibility:visible;opacity:1}.wrapper .main-sidebar-container:not(.main-sidebar-leave-active)+.sub-sidebar-container[data-v-aa863081]{left:var(--g-main-sidebar-width)}.wrapper .main-container[data-v-aa863081]{display:flex;flex-direction:column;min-height:100%;margin-left:calc(var(--g-main-sidebar-actual-width) + var(--g-sub-sidebar-actual-width));background-color:var(--g-bg);box-shadow:-1px 0 0 0 var(--g-border-color),1px 0 0 0 var(--g-border-color);transition:margin-left .3s,background-color .3s,box-shadow .3s}.wrapper .main-container .main[data-v-aa863081]{position:relative;flex:auto;height:100%;overflow:hidden;transition:.3s}.wrapper .main-container .topbar-container.has-tabbar+.main[data-v-aa863081]{margin:var(--g-tabbar-height) 0 0}.wrapper .main-container .topbar-container.has-toolbar+.main[data-v-aa863081]{margin:var(--g-toolbar-height) 0 0}.wrapper .main-container .topbar-container.has-tabbar.has-toolbar+.main[data-v-aa863081]{margin:calc(var(--g-tabbar-height) + var(--g-toolbar-height)) 0 0}header:not(.header-leave-active)+.wrapper[data-v-aa863081]{padding-top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-aa863081]{top:var(--g-header-height)}header:not(.header-leave-active)+.wrapper .sidebar-container[data-v-aa863081] .sidebar-logo{display:none}header:not(.header-leave-active)+.wrapper .main-container .topbar-container[data-v-aa863081]{top:var(--g-header-height)}.app-setting[data-v-aa863081]{--un-bg-opacity:1;background-color:rgb(var(--ui-primary) / var(--un-bg-opacity));--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity));position:fixed;top:calc(50% + 250px);right:0;z-index:10;display:flex;align-items:center;justify-content:center;width:50px;height:50px;font-size:24px;cursor:pointer;border-top-left-radius:5px;border-bottom-left-radius:5px}.dark .app-setting[data-v-aa863081]{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.app-setting .icon[data-v-aa863081]{animation:rotate-aa863081 5s linear infinite}@keyframes rotate-aa863081{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.slide-right-enter-active[data-v-aa863081]{transition:.2s}.slide-right-leave-active[data-v-aa863081]{transition:.15s}.slide-right-enter-from[data-v-aa863081]{margin-left:-20px;opacity:0}.slide-right-leave-to[data-v-aa863081]{margin-left:20px;opacity:0} diff --git a/assets/index-CVZAi7I6.css.br b/assets/index-CVZAi7I6.css.br new file mode 100644 index 000000000..e8a81b280 Binary files /dev/null and b/assets/index-CVZAi7I6.css.br differ diff --git a/assets/index-CVZAi7I6.css.gz b/assets/index-CVZAi7I6.css.gz new file mode 100644 index 000000000..3d50b0420 Binary files /dev/null and b/assets/index-CVZAi7I6.css.gz differ diff --git a/assets/index-CY8w4_IP.js b/assets/index-CY8w4_IP.js new file mode 100644 index 000000000..ce79e2da8 --- /dev/null +++ b/assets/index-CY8w4_IP.js @@ -0,0 +1 @@ +import{d as u,r as c,e as d,o as m,f as p,i as a,j as r,h as _,l as i,g as f,Q as v,z as o}from"./index-C_dOR4Zc.js";const x=f("div",null,"层级 1-1-1",-1),V=u({name:"TabExampleNestedTest",__name:"index",setup(E){const e=c("");return(k,n)=>{const t=d("ElInput"),l=v;return m(),p("div",null,[a(l,null,{default:r(()=>[x,a(t,{modelValue:_(e),"onUpdate:modelValue":n[0]||(n[0]=s=>i(e)?e.value=s:null)},null,8,["modelValue"])]),_:1})])}}});typeof o=="function"&&o(V);export{V as default}; diff --git a/assets/index-CY8w4_IP.js.br b/assets/index-CY8w4_IP.js.br new file mode 100644 index 000000000..41ea683ea Binary files /dev/null and b/assets/index-CY8w4_IP.js.br differ diff --git a/assets/index-CY8w4_IP.js.gz b/assets/index-CY8w4_IP.js.gz new file mode 100644 index 000000000..ae197d36a Binary files /dev/null and b/assets/index-CY8w4_IP.js.gz differ diff --git a/assets/index-C_dOR4Zc.js b/assets/index-C_dOR4Zc.js new file mode 100644 index 000000000..d0a1f0d3c --- /dev/null +++ b/assets/index-C_dOR4Zc.js @@ -0,0 +1,462 @@ +const __vite__fileDeps=["./index-UWKq7iLF.js","./HInput.vue_vue_type_script_setup_true_lang-BQ_SyW_i.js","./HCheckList.vue_vue_type_script_setup_true_lang-DhtA3117.js","./HToggle.vue_vue_type_script_setup_true_lang-7iOspIqc.js","./HTooltip.vue_vue_type_script_setup_true_lang-DXikoTOh.js","./index-RuUgmrQn.js","./index-6Kdv6eht.css","./index-DU7y7giX.js","./index.vue_vue_type_script_setup_true_lang-BDz8s9Ag.js","./index-C1GwVDnp.js","./index-D4nnD7rC.css","./item-ByulVX88.js","./item.vue_vue_type_script_setup_true_lang-Cd-uOXRf.js","./index-Bmf2pdWe.js","./HDialog.vue_vue_type_script_setup_true_lang-CKIzR5CU.js","./index-DO260h7V.css","./index-B4q664cX.js","./index-DLgR7VQ5.css","./index-uXVohOgz.js","./index.vue_vue_type_script_setup_true_lang-BuGk_rHJ.js","./logo-CnmYMRkt.js","./rightSide.vue_vue_type_script_setup_true_lang-oseSX-2F.js","./index.vue_vue_type_script_setup_true_lang-9qHcVx90.js","./HKbd-N6bQnSsP.js","./index.vue_vue_type_script_setup_true_lang-hZk76by-.js","./index.vue_vue_type_script_setup_true_lang-BlX7i_Wu.js","./useMainPage-oUacr1Rm.js","./index.vue_vue_type_script_setup_true_lang-BIyQmgkq.js","./HDropdown-CAkYOxIm.js","./useMenu-Cata_gzW.js","./index-BnE9B1jp.css","./index-CkYyNSo2.js","./index.vue_vue_type_script_setup_true_lang-D5qk_C-g.js","./index-aJsMriwX.js","./index-Zs7f_cxP.js","./index-CdF5Ek7G.css","./index-D6Rgp6Dn.js","./index.vue_vue_type_script_setup_true_lang-BocYym52.js","./sub.vue_vue_type_script_setup_true_lang-vsrW8xth.js","./item.vue_vue_type_script_setup_true_lang-y06vEbMT.js","./item-D1sKaWd7.js","./sub-B8zBO3zX.js","./index-DwvGASf5.js","./index.vue_vue_type_script_setup_true_lang-iOCPUiXc.js","./index-cnAlzK1O.js","./index-CyUQOSLA.css","./index-By_8I9Xc.js","./useTabbar-DpwLU9rk.js","./index-D9XTqpwG.css","./index-BCKUShgC.js","./index-KzA8AQdP.css","./index-CBg0uKPW.js","./index-DJEwuCpM.js","./index-D2uSziTl.js","./index-BsES5Bem.js","./index-DXzPRKLc.js","./leftSide.vue_vue_type_script_setup_true_lang-i0jn6tQ8.js","./index--3skRaHe.css","./leftSide-CUN8qIJO.js","./rightSide-fmaFKrnl.js","./index-7o0mln3O.js","./index-DARZUbFw.css","./link-xKmZUMdX.js","./link-DKw3pmEk.css","./index-BUt_d0s5.js","./index-CVZAi7I6.css","./HCheckList-CipK58z7.js","./HDialog-CMCJhean.js","./HInput-DiRqJRHN.js","./HSelect-BkRs5ftS.js","./HSelect.vue_vue_type_script_setup_true_lang-B99CIjD4.js","./HToggle-CLrcusmR.js","./HTooltip-DwStXIVu.js","./index-B1iCgRe4.js","./vxe-table-Ds6Gm-wn.js","./alert-CMVXPJVB.js","./alert-Dnb39lfx.css","./vchart-DhdoL1xu.js","./tinymce-yl8vpVFI.js","./tinymce-DFCVjnDd.css","./swiper-5fwNnHs9.js","./swiper-CHFEA0UW.css","./splitpanes-CCKTdXNM.js","./splitpanes-BQVwM9BY.css","./qrcode-Bp7Y_AAd.js","./qrcode-20sxzR6l.css","./print-ZeFHwu7A.js","./markdown-B3oMSZdI.js","./markdown-DiY2kHbE.css","./hooks.plus-HjUtBwJP.js","./g2plot-ByQeLT_O.js","./esign-Cuj_essY.js","./esign-L8gvZECO.css","./echarts-BAT7EzJz.js","./currency.input-C0jKDMYz.js","./count.to-CBGGjY0N.js","./count-DL7-Rq8-.css","./animation-BN8wHLjB.js","./animation-C7fubJ7D.css","./setting-BJ8xHLSN.js","./index-0HPOmlta.js","./index-Bo_ClZjR.css","./setting-eNwCJ0KT.css","./edit.password-DB5WTCLO.js","./index-BdK60VIt.js","./index-C7lymP1E.css","./index-Chwh-KEK.js","./page-oX3MKObb.js","./page-eNuLSCxM.css","./iconify-dEf93DN0.js","./iconify-5gi1snBD.css","./vueuse-CMt6xdQp.js","./table.autoheight-Cbxxgn_N.js","./table-BnX9o6vh.css","./rules-x1294wyC.js","./rules-Cq1gOno9.css","./reload-DZYhdZu_.js","./menuswitch-CzF3GG4X.js","./upload.demo-BE0nPsG5.js","./upload-DWKuZ8mO.css","./searchbar.demo-BUj-kGgd.js","./searchbar-BX3Kq0tC.css","./pagemain.demo-D1gusBJr.js","./image.preview.demo-CEgYQSAv.js","./image.preview-D2SxEu7s.css","./actionbar.demo-Czcr5Qqb.js","./index-BBGH0I-h.js","./index-pccH_1jI.css","./index-DWyqNuQb.js","./icon-DsvBNOl7.js","./icon-4QKxi1eC.css","./button-BQb5TCsM.js","./button-CnPNnTPE.css","./link-CEBGZSS0.js","./link-DBxIN6Ge.css","./radio.vue_vue_type_script_setup_true_lang-GnU52VqO.js","./checkbox.vue_vue_type_script_setup_true_lang-qEvJnSoT.js","./input.vue_vue_type_script_setup_true_lang-CpKwcL8u.js","./inputnumber.vue_vue_type_script_setup_true_lang-LcVj5nq_.js","./select.vue_vue_type_script_setup_true_lang-BnjQzX7p.js","./switch.vue_vue_type_script_setup_true_lang-C44KNinl.js","./slider.vue_vue_type_script_setup_true_lang-zqvOKCks.js","./rate.vue_vue_type_script_setup_true_lang-CMCB_VvN.js","./login-Buw6gyVw.js","./login-Z8oZ5Vlo.css","./index-j5ZvTrDL.js","./index-CEi5K4E8.js","./index-C5u5Fr6q.css","./index-_zKN2Q3R.css","./checkbox-DbYp0mSG.js","./input-DLkKmoVq.js","./inputnumber-tO8c1l7A.js","./radio-C6jKg6Jd.js","./rate-Bj15H1c7.js","./select-DzNL1_TK.js","./slider-BoCe7lkj.js","./switch-DU6J0Et0.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +(function(){const Ie=document.createElement("link").relList;if(Ie&&Ie.supports&&Ie.supports("modulepreload"))return;for(const qe of document.querySelectorAll('link[rel="modulepreload"]'))Ue(qe);new MutationObserver(qe=>{for(const At of qe)if(At.type==="childList")for(const Dt of At.addedNodes)Dt.tagName==="LINK"&&Dt.rel==="modulepreload"&&Ue(Dt)}).observe(document,{childList:!0,subtree:!0});function Fe(qe){const At={};return qe.integrity&&(At.integrity=qe.integrity),qe.referrerPolicy&&(At.referrerPolicy=qe.referrerPolicy),qe.crossOrigin==="use-credentials"?At.credentials="include":qe.crossOrigin==="anonymous"?At.credentials="omit":At.credentials="same-origin",At}function Ue(qe){if(qe.ep)return;qe.ep=!0;const At=Fe(qe);fetch(qe.href,At)}})();window.__VITE__PLUGIN__FAKE__SERVER__={meta:{name:"vite-plugin-fake-server",version:"2.1.1",type:"module",license:"MIT",author:"Condor Hero",description:"A fake server plugin for Vite.",exports:{".":{require:"./dist/index.cjs",import:"./dist/index.mjs"},"./client":{require:"./dist/client.cjs",import:"./dist/client.mjs"}},main:"dist/index.cjs",module:"dist/index.mjs",types:"dist/index.d.cts",typesVersions:{"*":{"*":["./dist/*","./dist/index.d.ts"]}},files:["dist"],keywords:["vite-plugin-fake-server","vite-plugin-fake","vite-plugin-faker","vite-plugin-mock-server","vite-plugin-mock","faker-server"],repository:{type:"git",url:"git+https://github.com/condorheroblog/vite-plugin-fake-server.git",directory:"packages/vite-plugin-fake-server"},bugs:{url:"https://github.com/condorheroblog/vite-plugin-fake-server/issues"},homepage:"https://github.com/condorheroblog/vite-plugin-fake-server/blob/main/README.md",scripts:{prepublishOnly:"nr build",test:"vitest",dev:"esno ./src/index.ts",build:"rimraf dist && rollup -c","build:watch":"rimraf dist && rollup -c -w",typecheck:"tsc --noEmit"},dependencies:{"bundle-import":"^0.0.1",chokidar:"^3.5.3","fast-glob":"^3.3.2","path-to-regexp":"^6.2.1",picocolors:"^1.0.0"},devDependencies:{vite:"^5.0.11"},publishConfig:{access:"public",registry:"https://registry.npmjs.org"}},vitePluginFakeServerOptions:{include:"src/mock",exclude:[],infixName:!1,extensions:["ts","js","mjs","cjs","cts","mts"],enableProd:!0,enableDev:!0,watch:!0,logger:!1,basename:"",headers:{},build:!1,http2:!0}};function defineFakeRoute($e){return $e}const app$1=[{url:"/mock/app/route/list",method:"get",response:()=>({error:"",status:1,data:[{meta:{title:"演示",icon:"uim:box"},children:[{path:"/multilevel_menu_example",component:"Layout",redirect:"/multilevel_menu_example/page",name:"multilevelMenuExample",meta:{title:"多级导航",icon:"heroicons-solid:menu-alt-3"},children:[{path:"page",name:"multilevelMenuExample1",component:"multilevel_menu_example/page.vue",meta:{title:"导航1"}},{path:"level2",name:"multilevelMenuExample2",redirect:"/multilevel_menu_example/level2/page",meta:{title:"导航2"},children:[{path:"page",name:"multilevelMenuExample2-1",component:"multilevel_menu_example/level2/page.vue",meta:{title:"导航2-1"}},{path:"level3",name:"multilevelMenuExample2-2",redirect:"/multilevel_menu_example/level2/level3/page1",meta:{title:"导航2-2"},children:[{path:"page1",name:"multilevelMenuExample2-2-1",component:"multilevel_menu_example/level2/level3/page1.vue",meta:{title:"导航2-2-1"}},{path:"page2",name:"multilevelMenuExample2-2-2",component:"multilevel_menu_example/level2/level3/page2.vue",meta:{title:"导航2-2-2"}}]}]}]},{path:"/permission_example",component:"Layout",redirect:"/permission_example/index",name:"permissionExample",meta:{title:"权限验证",icon:"ri:shield-keyhole-line"},children:[{path:"index",name:"permissionExampleIndex",component:"permission_example/index.vue",meta:{title:"权限验证",menu:!1,breadcrumb:!1,activeMenu:"/permission_example"}},{path:"test",name:"permissionExampleTest",component:"permission_example/test.vue",meta:{title:"测试页面",auth:["permission.browse"],menu:!1,breadcrumb:!1,activeMenu:"/permission_example"}}]}]}]})},{url:"/mock/app/menu/list",method:"get",response:()=>({error:"",status:1,data:[{meta:{title:"演示",icon:"uim:box"},children:[{meta:{title:"多级导航",icon:"heroicons-solid:menu-alt-3"},children:[{path:"/multilevel_menu_example/page",meta:{title:"导航1"}},{meta:{title:"导航2"},children:[{path:"/multilevel_menu_example/level2/page",meta:{title:"导航2-1"}},{meta:{title:"导航2-2"},children:[{path:"/multilevel_menu_example/level2/level3/page1",meta:{title:"导航2-2-1"}},{path:"/multilevel_menu_example/level2/level3/page2",meta:{title:"导航2-2-2"}}]}]}]},{path:"/permission_example",meta:{title:"权限验证",icon:"ri:shield-keyhole-line"}}]}]})}],__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:app$1},Symbol.toStringTag,{value:"Module"}));var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs($e){return $e&&$e.__esModule&&Object.prototype.hasOwnProperty.call($e,"default")?$e.default:$e}function getAugmentedNamespace($e){if($e.__esModule)return $e;var Ie=$e.default;if(typeof Ie=="function"){var Fe=function Ue(){return this instanceof Ue?Reflect.construct(Ie,arguments,this.constructor):Ie.apply(this,arguments)};Fe.prototype=Ie.prototype}else Fe={};return Object.defineProperty(Fe,"__esModule",{value:!0}),Object.keys($e).forEach(function(Ue){var qe=Object.getOwnPropertyDescriptor($e,Ue);Object.defineProperty(Fe,Ue,qe.get?qe:{enumerable:!0,get:function(){return $e[Ue]}})}),Fe}var mock={exports:{}};(function(module,exports){(function(Ie,Fe){module.exports=Fe()})(commonjsGlobal,function(){return function($e){var Ie={};function Fe(Ue){if(Ie[Ue])return Ie[Ue].exports;var qe=Ie[Ue]={exports:{},id:Ue,loaded:!1};return $e[Ue].call(qe.exports,qe,qe.exports,Fe),qe.loaded=!0,qe.exports}return Fe.m=$e,Fe.c=Ie,Fe.p="",Fe(0)}([function($e,Ie,Fe){var Ue=Fe(1),qe=Fe(3),At=Fe(5),Dt=Fe(20),Lt=Fe(23),jt=Fe(25),hn;typeof window<"u"&&(hn=Fe(27));/*! + Mock - 模拟请求 & 模拟数据 + https://github.com/nuysoft/Mock + 墨智 mozhi.gyy@taobao.com nuysoft@gmail.com +*/var vn={Handler:Ue,Random:At,Util:qe,XHR:hn,RE:Dt,toJSONSchema:Lt,valid:jt,heredoc:qe.heredoc,setup:function(bn){return hn.setup(bn)},_mocked:{}};vn.version="1.0.1-beta3",hn&&(hn.Mock=vn),vn.mock=function(bn,kn,Cn){return arguments.length===1?Ue.gen(bn):(arguments.length===2&&(Cn=kn,kn=void 0),hn&&(window.XMLHttpRequest=hn),vn._mocked[bn+(kn||"")]={rurl:bn,rtype:kn,template:Cn},vn)},$e.exports=vn},function(module,exports,__webpack_require__){var Constant=__webpack_require__(2),Util=__webpack_require__(3),Parser=__webpack_require__(4),Random=__webpack_require__(5),RE=__webpack_require__(20),Handler={extend:Util.extend};Handler.gen=function($e,Ie,Fe){Ie=Ie==null?"":Ie+"",Fe=Fe||{},Fe={path:Fe.path||[Constant.GUID],templatePath:Fe.templatePath||[Constant.GUID++],currentContext:Fe.currentContext,templateCurrentContext:Fe.templateCurrentContext||$e,root:Fe.root||Fe.currentContext,templateRoot:Fe.templateRoot||Fe.templateCurrentContext||$e};var Ue=Parser.parse(Ie),qe=Util.type($e),At;return Handler[qe]?(At=Handler[qe]({type:qe,template:$e,name:Ie,parsedName:Ie&&Ie.replace(Constant.RE_KEY,"$1"),rule:Ue,context:Fe}),Fe.root||(Fe.root=At),At):$e},Handler.extend({array:function($e){var Ie=[],Fe,Ue;if($e.template.length===0)return Ie;if($e.rule.parameters)if($e.rule.min===1&&$e.rule.max===void 0)$e.context.path.push($e.name),$e.context.templatePath.push($e.name),Ie=Random.pick(Handler.gen($e.template,void 0,{path:$e.context.path,templatePath:$e.context.templatePath,currentContext:Ie,templateCurrentContext:$e.template,root:$e.context.root||Ie,templateRoot:$e.context.templateRoot||$e.template})),$e.context.path.pop(),$e.context.templatePath.pop();else if($e.rule.parameters[2])$e.template.__order_index=$e.template.__order_index||0,$e.context.path.push($e.name),$e.context.templatePath.push($e.name),Ie=Handler.gen($e.template,void 0,{path:$e.context.path,templatePath:$e.context.templatePath,currentContext:Ie,templateCurrentContext:$e.template,root:$e.context.root||Ie,templateRoot:$e.context.templateRoot||$e.template})[$e.template.__order_index%$e.template.length],$e.template.__order_index+=+$e.rule.parameters[2],$e.context.path.pop(),$e.context.templatePath.pop();else for(Fe=0;Fe<$e.rule.count;Fe++)for(Ue=0;Ue<$e.template.length;Ue++)$e.context.path.push(Ie.length),$e.context.templatePath.push(Ue),Ie.push(Handler.gen($e.template[Ue],Ie.length,{path:$e.context.path,templatePath:$e.context.templatePath,currentContext:Ie,templateCurrentContext:$e.template,root:$e.context.root||Ie,templateRoot:$e.context.templateRoot||$e.template})),$e.context.path.pop(),$e.context.templatePath.pop();else for(Fe=0;Fe<$e.template.length;Fe++)$e.context.path.push(Fe),$e.context.templatePath.push(Fe),Ie.push(Handler.gen($e.template[Fe],Fe,{path:$e.context.path,templatePath:$e.context.templatePath,currentContext:Ie,templateCurrentContext:$e.template,root:$e.context.root||Ie,templateRoot:$e.context.templateRoot||$e.template})),$e.context.path.pop(),$e.context.templatePath.pop();return Ie},object:function($e){var Ie={},Fe,Ue,qe,At,Dt,Lt;if($e.rule.min!=null)for(Fe=Util.keys($e.template),Fe=Random.shuffle(Fe),Fe=Fe.slice(0,$e.rule.count),Lt=0;Lt1)return this.getValueByKeyPath(key,options);if(templateContext&&typeof templateContext=="object"&&key in templateContext&&placeholder!==templateContext[key])return templateContext[key]=Handler.gen(templateContext[key],key,{currentContext:obj,templateCurrentContext:templateContext}),templateContext[key];if(!(key in Random)&&!(lkey in Random)&&!(okey in Random))return placeholder;for(var i=0;i1&&(qe=Ie.context.path.slice(0),qe.pop(),qe=this.normalizePath(qe.concat(Ue)));try{$e=Ue[Ue.length-1];for(var At=Ie.context.root,Dt=Ie.context.templateRoot,Lt=1;Lt1/(Fe+Ue)*Fe?!qe:qe):Math.random()>=.5},bool:function(Fe,Ue,qe){return this.boolean(Fe,Ue,qe)},natural:function(Fe,Ue){return Fe=typeof Fe<"u"?parseInt(Fe,10):0,Ue=typeof Ue<"u"?parseInt(Ue,10):9007199254740992,Math.round(Math.random()*(Ue-Fe))+Fe},integer:function(Fe,Ue){return Fe=typeof Fe<"u"?parseInt(Fe,10):-9007199254740992,Ue=typeof Ue<"u"?parseInt(Ue,10):9007199254740992,Math.round(Math.random()*(Ue-Fe))+Fe},int:function(Fe,Ue){return this.integer(Fe,Ue)},float:function(Fe,Ue,qe,At){qe=qe===void 0?0:qe,qe=Math.max(Math.min(qe,17),0),At=At===void 0?17:At,At=Math.max(Math.min(At,17),0);for(var Dt=this.integer(Fe,Ue)+".",Lt=0,jt=this.natural(qe,At);Lt1&&hn--,6*hn<1?bn=Lt+(jt-Lt)*6*hn:2*hn<1?bn=jt:3*hn<2?bn=Lt+(jt-Lt)*(2/3-hn)*6:bn=Lt,vn[kn]=bn*255;return vn},hsl2hsv:function(Ue){var qe=Ue[0],At=Ue[1]/100,Dt=Ue[2]/100,Lt,jt;return Dt*=2,At*=Dt<=1?Dt:2-Dt,jt=(Dt+At)/2,Lt=2*At/(Dt+At),[qe,Lt*100,jt*100]},hsv2rgb:function(Ue){var qe=Ue[0]/60,At=Ue[1]/100,Dt=Ue[2]/100,Lt=Math.floor(qe)%6,jt=qe-Math.floor(qe),hn=255*Dt*(1-At),vn=255*Dt*(1-At*jt),bn=255*Dt*(1-At*(1-jt));switch(Dt=255*Dt,Lt){case 0:return[Dt,bn,hn];case 1:return[vn,Dt,hn];case 2:return[hn,Dt,bn];case 3:return[hn,vn,Dt];case 4:return[bn,hn,Dt];case 5:return[Dt,hn,vn]}},hsv2hsl:function(Ue){var qe=Ue[0],At=Ue[1]/100,Dt=Ue[2]/100,Lt,jt;return jt=(2-At)*Dt,Lt=At*Dt,Lt/=jt<=1?jt:2-jt,jt/=2,[qe,Lt*100,jt*100]},rgb2hex:function(Fe,Ue,qe){return"#"+((256+Fe<<8|Ue)<<8|qe).toString(16).slice(1)},hex2rgb:function(Fe){return Fe="0x"+Fe.slice(1).replace(Fe.length>4?Fe:/./g,"$&$&")|0,[Fe>>16,Fe>>8&255,Fe&255]}}},function($e,Ie){$e.exports={navy:{value:"#000080",nicer:"#001F3F"},blue:{value:"#0000ff",nicer:"#0074D9"},aqua:{value:"#00ffff",nicer:"#7FDBFF"},teal:{value:"#008080",nicer:"#39CCCC"},olive:{value:"#008000",nicer:"#3D9970"},green:{value:"#008000",nicer:"#2ECC40"},lime:{value:"#00ff00",nicer:"#01FF70"},yellow:{value:"#ffff00",nicer:"#FFDC00"},orange:{value:"#ffa500",nicer:"#FF851B"},red:{value:"#ff0000",nicer:"#FF4136"},maroon:{value:"#800000",nicer:"#85144B"},fuchsia:{value:"#ff00ff",nicer:"#F012BE"},purple:{value:"#800080",nicer:"#B10DC9"},silver:{value:"#c0c0c0",nicer:"#DDDDDD"},gray:{value:"#808080",nicer:"#AAAAAA"},black:{value:"#000000",nicer:"#111111"},white:{value:"#FFFFFF",nicer:"#FFFFFF"}}},function($e,Ie,Fe){var Ue=Fe(6),qe=Fe(14);function At(Dt,Lt,jt,hn){return jt===void 0?Ue.natural(Dt,Lt):hn===void 0?jt:Ue.natural(parseInt(jt,10),parseInt(hn,10))}$e.exports={paragraph:function(Dt,Lt){for(var jt=At(3,7,Dt,Lt),hn=[],vn=0;vn1&&(At=[].slice.call(arguments,0));var Dt=qe.options,Lt=Dt.context.templatePath.join("."),jt=qe.cache[Lt]=qe.cache[Lt]||{index:0,array:At};return jt.array[jt.index++%jt.array.length]}}},function($e,Ie){$e.exports={first:function(){var Fe=["James","John","Robert","Michael","William","David","Richard","Charles","Joseph","Thomas","Christopher","Daniel","Paul","Mark","Donald","George","Kenneth","Steven","Edward","Brian","Ronald","Anthony","Kevin","Jason","Matthew","Gary","Timothy","Jose","Larry","Jeffrey","Frank","Scott","Eric"].concat(["Mary","Patricia","Linda","Barbara","Elizabeth","Jennifer","Maria","Susan","Margaret","Dorothy","Lisa","Nancy","Karen","Betty","Helen","Sandra","Donna","Carol","Ruth","Sharon","Michelle","Laura","Sarah","Kimberly","Deborah","Jessica","Shirley","Cynthia","Angela","Melissa","Brenda","Amy","Anna"]);return this.pick(Fe)},last:function(){var Fe=["Smith","Johnson","Williams","Brown","Jones","Miller","Davis","Garcia","Rodriguez","Wilson","Martinez","Anderson","Taylor","Thomas","Hernandez","Moore","Martin","Jackson","Thompson","White","Lopez","Lee","Gonzalez","Harris","Clark","Lewis","Robinson","Walker","Perez","Hall","Young","Allen"];return this.pick(Fe)},name:function(Fe){return this.first()+" "+(Fe?this.first()+" ":"")+this.last()},cfirst:function(){var Fe="王 李 张 刘 陈 杨 赵 黄 周 吴 徐 孙 胡 朱 高 林 何 郭 马 罗 梁 宋 郑 谢 韩 唐 冯 于 董 萧 程 曹 袁 邓 许 傅 沈 曾 彭 吕 苏 卢 蒋 蔡 贾 丁 魏 薛 叶 阎 余 潘 杜 戴 夏 锺 汪 田 任 姜 范 方 石 姚 谭 廖 邹 熊 金 陆 郝 孔 白 崔 康 毛 邱 秦 江 史 顾 侯 邵 孟 龙 万 段 雷 钱 汤 尹 黎 易 常 武 乔 贺 赖 龚 文".split(" ");return this.pick(Fe)},clast:function(){var Fe="伟 芳 娜 秀英 敏 静 丽 强 磊 军 洋 勇 艳 杰 娟 涛 明 超 秀兰 霞 平 刚 桂英".split(" ");return this.pick(Fe)},cname:function(){return this.cfirst()+this.clast()}}},function($e,Ie){$e.exports={url:function(Fe,Ue){return(Fe||this.protocol())+"://"+(Ue||this.domain())+"/"+this.word()},protocol:function(){return this.pick("http ftp gopher mailto mid cid news nntp prospero telnet rlogin tn3270 wais".split(" "))},domain:function(Fe){return this.word()+"."+(Fe||this.tld())},tld:function(){return this.pick("com net org edu gov int mil cn com.cn net.cn gov.cn org.cn 中国 中国互联.公司 中国互联.网络 tel biz cc tv info name hk mobi asia cd travel pro museum coop aero ad ae af ag ai al am an ao aq ar as at au aw az ba bb bd be bf bg bh bi bj bm bn bo br bs bt bv bw by bz ca cc cf cg ch ci ck cl cm cn co cq cr cu cv cx cy cz de dj dk dm do dz ec ee eg eh es et ev fi fj fk fm fo fr ga gb gd ge gf gh gi gl gm gn gp gr gt gu gw gy hk hm hn hr ht hu id ie il in io iq ir is it jm jo jp ke kg kh ki km kn kp kr kw ky kz la lb lc li lk lr ls lt lu lv ly ma mc md mg mh ml mm mn mo mp mq mr ms mt mv mw mx my mz na nc ne nf ng ni nl no np nr nt nu nz om qa pa pe pf pg ph pk pl pm pn pr pt pw py re ro ru rw sa sb sc sd se sg sh si sj sk sl sm sn so sr st su sy sz tc td tf tg th tj tk tm tn to tp tr tt tv tw tz ua ug uk us uy va vc ve vg vn vu wf ws ye yu za zm zr zw".split(" "))},email:function(Fe){return this.character("lower")+"."+this.word()+"@"+(Fe||this.word()+"."+this.tld())},ip:function(){return this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)+"."+this.natural(0,255)}}},function($e,Ie,Fe){var Ue=Fe(18),qe=["东北","华北","华东","华中","华南","西南","西北"];$e.exports={region:function(){return this.pick(qe)},province:function(){return this.pick(Ue).name},city:function(At){var Dt=this.pick(Ue),Lt=this.pick(Dt.children);return At?[Dt.name,Lt.name].join(" "):Lt.name},county:function(At){var Dt=this.pick(Ue),Lt=this.pick(Dt.children),jt=this.pick(Lt.children)||{name:"-"};return At?[Dt.name,Lt.name,jt.name].join(" "):jt.name},zip:function(At){for(var Dt="",Lt=0;Lt<(At||6);Lt++)Dt+=this.natural(0,9);return Dt}}},function($e,Ie){var Fe={11e4:"北京",110100:"北京市",110101:"东城区",110102:"西城区",110105:"朝阳区",110106:"丰台区",110107:"石景山区",110108:"海淀区",110109:"门头沟区",110111:"房山区",110112:"通州区",110113:"顺义区",110114:"昌平区",110115:"大兴区",110116:"怀柔区",110117:"平谷区",110228:"密云县",110229:"延庆县",110230:"其它区",12e4:"天津",120100:"天津市",120101:"和平区",120102:"河东区",120103:"河西区",120104:"南开区",120105:"河北区",120106:"红桥区",120110:"东丽区",120111:"西青区",120112:"津南区",120113:"北辰区",120114:"武清区",120115:"宝坻区",120116:"滨海新区",120221:"宁河县",120223:"静海县",120225:"蓟县",120226:"其它区",13e4:"河北省",130100:"石家庄市",130102:"长安区",130103:"桥东区",130104:"桥西区",130105:"新华区",130107:"井陉矿区",130108:"裕华区",130121:"井陉县",130123:"正定县",130124:"栾城县",130125:"行唐县",130126:"灵寿县",130127:"高邑县",130128:"深泽县",130129:"赞皇县",130130:"无极县",130131:"平山县",130132:"元氏县",130133:"赵县",130181:"辛集市",130182:"藁城市",130183:"晋州市",130184:"新乐市",130185:"鹿泉市",130186:"其它区",130200:"唐山市",130202:"路南区",130203:"路北区",130204:"古冶区",130205:"开平区",130207:"丰南区",130208:"丰润区",130223:"滦县",130224:"滦南县",130225:"乐亭县",130227:"迁西县",130229:"玉田县",130230:"曹妃甸区",130281:"遵化市",130283:"迁安市",130284:"其它区",130300:"秦皇岛市",130302:"海港区",130303:"山海关区",130304:"北戴河区",130321:"青龙满族自治县",130322:"昌黎县",130323:"抚宁县",130324:"卢龙县",130398:"其它区",130400:"邯郸市",130402:"邯山区",130403:"丛台区",130404:"复兴区",130406:"峰峰矿区",130421:"邯郸县",130423:"临漳县",130424:"成安县",130425:"大名县",130426:"涉县",130427:"磁县",130428:"肥乡县",130429:"永年县",130430:"邱县",130431:"鸡泽县",130432:"广平县",130433:"馆陶县",130434:"魏县",130435:"曲周县",130481:"武安市",130482:"其它区",130500:"邢台市",130502:"桥东区",130503:"桥西区",130521:"邢台县",130522:"临城县",130523:"内丘县",130524:"柏乡县",130525:"隆尧县",130526:"任县",130527:"南和县",130528:"宁晋县",130529:"巨鹿县",130530:"新河县",130531:"广宗县",130532:"平乡县",130533:"威县",130534:"清河县",130535:"临西县",130581:"南宫市",130582:"沙河市",130583:"其它区",130600:"保定市",130602:"新市区",130603:"北市区",130604:"南市区",130621:"满城县",130622:"清苑县",130623:"涞水县",130624:"阜平县",130625:"徐水县",130626:"定兴县",130627:"唐县",130628:"高阳县",130629:"容城县",130630:"涞源县",130631:"望都县",130632:"安新县",130633:"易县",130634:"曲阳县",130635:"蠡县",130636:"顺平县",130637:"博野县",130638:"雄县",130681:"涿州市",130682:"定州市",130683:"安国市",130684:"高碑店市",130699:"其它区",130700:"张家口市",130702:"桥东区",130703:"桥西区",130705:"宣化区",130706:"下花园区",130721:"宣化县",130722:"张北县",130723:"康保县",130724:"沽源县",130725:"尚义县",130726:"蔚县",130727:"阳原县",130728:"怀安县",130729:"万全县",130730:"怀来县",130731:"涿鹿县",130732:"赤城县",130733:"崇礼县",130734:"其它区",130800:"承德市",130802:"双桥区",130803:"双滦区",130804:"鹰手营子矿区",130821:"承德县",130822:"兴隆县",130823:"平泉县",130824:"滦平县",130825:"隆化县",130826:"丰宁满族自治县",130827:"宽城满族自治县",130828:"围场满族蒙古族自治县",130829:"其它区",130900:"沧州市",130902:"新华区",130903:"运河区",130921:"沧县",130922:"青县",130923:"东光县",130924:"海兴县",130925:"盐山县",130926:"肃宁县",130927:"南皮县",130928:"吴桥县",130929:"献县",130930:"孟村回族自治县",130981:"泊头市",130982:"任丘市",130983:"黄骅市",130984:"河间市",130985:"其它区",131e3:"廊坊市",131002:"安次区",131003:"广阳区",131022:"固安县",131023:"永清县",131024:"香河县",131025:"大城县",131026:"文安县",131028:"大厂回族自治县",131081:"霸州市",131082:"三河市",131083:"其它区",131100:"衡水市",131102:"桃城区",131121:"枣强县",131122:"武邑县",131123:"武强县",131124:"饶阳县",131125:"安平县",131126:"故城县",131127:"景县",131128:"阜城县",131181:"冀州市",131182:"深州市",131183:"其它区",14e4:"山西省",140100:"太原市",140105:"小店区",140106:"迎泽区",140107:"杏花岭区",140108:"尖草坪区",140109:"万柏林区",140110:"晋源区",140121:"清徐县",140122:"阳曲县",140123:"娄烦县",140181:"古交市",140182:"其它区",140200:"大同市",140202:"城区",140203:"矿区",140211:"南郊区",140212:"新荣区",140221:"阳高县",140222:"天镇县",140223:"广灵县",140224:"灵丘县",140225:"浑源县",140226:"左云县",140227:"大同县",140228:"其它区",140300:"阳泉市",140302:"城区",140303:"矿区",140311:"郊区",140321:"平定县",140322:"盂县",140323:"其它区",140400:"长治市",140421:"长治县",140423:"襄垣县",140424:"屯留县",140425:"平顺县",140426:"黎城县",140427:"壶关县",140428:"长子县",140429:"武乡县",140430:"沁县",140431:"沁源县",140481:"潞城市",140482:"城区",140483:"郊区",140485:"其它区",140500:"晋城市",140502:"城区",140521:"沁水县",140522:"阳城县",140524:"陵川县",140525:"泽州县",140581:"高平市",140582:"其它区",140600:"朔州市",140602:"朔城区",140603:"平鲁区",140621:"山阴县",140622:"应县",140623:"右玉县",140624:"怀仁县",140625:"其它区",140700:"晋中市",140702:"榆次区",140721:"榆社县",140722:"左权县",140723:"和顺县",140724:"昔阳县",140725:"寿阳县",140726:"太谷县",140727:"祁县",140728:"平遥县",140729:"灵石县",140781:"介休市",140782:"其它区",140800:"运城市",140802:"盐湖区",140821:"临猗县",140822:"万荣县",140823:"闻喜县",140824:"稷山县",140825:"新绛县",140826:"绛县",140827:"垣曲县",140828:"夏县",140829:"平陆县",140830:"芮城县",140881:"永济市",140882:"河津市",140883:"其它区",140900:"忻州市",140902:"忻府区",140921:"定襄县",140922:"五台县",140923:"代县",140924:"繁峙县",140925:"宁武县",140926:"静乐县",140927:"神池县",140928:"五寨县",140929:"岢岚县",140930:"河曲县",140931:"保德县",140932:"偏关县",140981:"原平市",140982:"其它区",141e3:"临汾市",141002:"尧都区",141021:"曲沃县",141022:"翼城县",141023:"襄汾县",141024:"洪洞县",141025:"古县",141026:"安泽县",141027:"浮山县",141028:"吉县",141029:"乡宁县",141030:"大宁县",141031:"隰县",141032:"永和县",141033:"蒲县",141034:"汾西县",141081:"侯马市",141082:"霍州市",141083:"其它区",141100:"吕梁市",141102:"离石区",141121:"文水县",141122:"交城县",141123:"兴县",141124:"临县",141125:"柳林县",141126:"石楼县",141127:"岚县",141128:"方山县",141129:"中阳县",141130:"交口县",141181:"孝义市",141182:"汾阳市",141183:"其它区",15e4:"内蒙古自治区",150100:"呼和浩特市",150102:"新城区",150103:"回民区",150104:"玉泉区",150105:"赛罕区",150121:"土默特左旗",150122:"托克托县",150123:"和林格尔县",150124:"清水河县",150125:"武川县",150126:"其它区",150200:"包头市",150202:"东河区",150203:"昆都仑区",150204:"青山区",150205:"石拐区",150206:"白云鄂博矿区",150207:"九原区",150221:"土默特右旗",150222:"固阳县",150223:"达尔罕茂明安联合旗",150224:"其它区",150300:"乌海市",150302:"海勃湾区",150303:"海南区",150304:"乌达区",150305:"其它区",150400:"赤峰市",150402:"红山区",150403:"元宝山区",150404:"松山区",150421:"阿鲁科尔沁旗",150422:"巴林左旗",150423:"巴林右旗",150424:"林西县",150425:"克什克腾旗",150426:"翁牛特旗",150428:"喀喇沁旗",150429:"宁城县",150430:"敖汉旗",150431:"其它区",150500:"通辽市",150502:"科尔沁区",150521:"科尔沁左翼中旗",150522:"科尔沁左翼后旗",150523:"开鲁县",150524:"库伦旗",150525:"奈曼旗",150526:"扎鲁特旗",150581:"霍林郭勒市",150582:"其它区",150600:"鄂尔多斯市",150602:"东胜区",150621:"达拉特旗",150622:"准格尔旗",150623:"鄂托克前旗",150624:"鄂托克旗",150625:"杭锦旗",150626:"乌审旗",150627:"伊金霍洛旗",150628:"其它区",150700:"呼伦贝尔市",150702:"海拉尔区",150703:"扎赉诺尔区",150721:"阿荣旗",150722:"莫力达瓦达斡尔族自治旗",150723:"鄂伦春自治旗",150724:"鄂温克族自治旗",150725:"陈巴尔虎旗",150726:"新巴尔虎左旗",150727:"新巴尔虎右旗",150781:"满洲里市",150782:"牙克石市",150783:"扎兰屯市",150784:"额尔古纳市",150785:"根河市",150786:"其它区",150800:"巴彦淖尔市",150802:"临河区",150821:"五原县",150822:"磴口县",150823:"乌拉特前旗",150824:"乌拉特中旗",150825:"乌拉特后旗",150826:"杭锦后旗",150827:"其它区",150900:"乌兰察布市",150902:"集宁区",150921:"卓资县",150922:"化德县",150923:"商都县",150924:"兴和县",150925:"凉城县",150926:"察哈尔右翼前旗",150927:"察哈尔右翼中旗",150928:"察哈尔右翼后旗",150929:"四子王旗",150981:"丰镇市",150982:"其它区",152200:"兴安盟",152201:"乌兰浩特市",152202:"阿尔山市",152221:"科尔沁右翼前旗",152222:"科尔沁右翼中旗",152223:"扎赉特旗",152224:"突泉县",152225:"其它区",152500:"锡林郭勒盟",152501:"二连浩特市",152502:"锡林浩特市",152522:"阿巴嘎旗",152523:"苏尼特左旗",152524:"苏尼特右旗",152525:"东乌珠穆沁旗",152526:"西乌珠穆沁旗",152527:"太仆寺旗",152528:"镶黄旗",152529:"正镶白旗",152530:"正蓝旗",152531:"多伦县",152532:"其它区",152900:"阿拉善盟",152921:"阿拉善左旗",152922:"阿拉善右旗",152923:"额济纳旗",152924:"其它区",21e4:"辽宁省",210100:"沈阳市",210102:"和平区",210103:"沈河区",210104:"大东区",210105:"皇姑区",210106:"铁西区",210111:"苏家屯区",210112:"东陵区",210113:"新城子区",210114:"于洪区",210122:"辽中县",210123:"康平县",210124:"法库县",210181:"新民市",210184:"沈北新区",210185:"其它区",210200:"大连市",210202:"中山区",210203:"西岗区",210204:"沙河口区",210211:"甘井子区",210212:"旅顺口区",210213:"金州区",210224:"长海县",210281:"瓦房店市",210282:"普兰店市",210283:"庄河市",210298:"其它区",210300:"鞍山市",210302:"铁东区",210303:"铁西区",210304:"立山区",210311:"千山区",210321:"台安县",210323:"岫岩满族自治县",210381:"海城市",210382:"其它区",210400:"抚顺市",210402:"新抚区",210403:"东洲区",210404:"望花区",210411:"顺城区",210421:"抚顺县",210422:"新宾满族自治县",210423:"清原满族自治县",210424:"其它区",210500:"本溪市",210502:"平山区",210503:"溪湖区",210504:"明山区",210505:"南芬区",210521:"本溪满族自治县",210522:"桓仁满族自治县",210523:"其它区",210600:"丹东市",210602:"元宝区",210603:"振兴区",210604:"振安区",210624:"宽甸满族自治县",210681:"东港市",210682:"凤城市",210683:"其它区",210700:"锦州市",210702:"古塔区",210703:"凌河区",210711:"太和区",210726:"黑山县",210727:"义县",210781:"凌海市",210782:"北镇市",210783:"其它区",210800:"营口市",210802:"站前区",210803:"西市区",210804:"鲅鱼圈区",210811:"老边区",210881:"盖州市",210882:"大石桥市",210883:"其它区",210900:"阜新市",210902:"海州区",210903:"新邱区",210904:"太平区",210905:"清河门区",210911:"细河区",210921:"阜新蒙古族自治县",210922:"彰武县",210923:"其它区",211e3:"辽阳市",211002:"白塔区",211003:"文圣区",211004:"宏伟区",211005:"弓长岭区",211011:"太子河区",211021:"辽阳县",211081:"灯塔市",211082:"其它区",211100:"盘锦市",211102:"双台子区",211103:"兴隆台区",211121:"大洼县",211122:"盘山县",211123:"其它区",211200:"铁岭市",211202:"银州区",211204:"清河区",211221:"铁岭县",211223:"西丰县",211224:"昌图县",211281:"调兵山市",211282:"开原市",211283:"其它区",211300:"朝阳市",211302:"双塔区",211303:"龙城区",211321:"朝阳县",211322:"建平县",211324:"喀喇沁左翼蒙古族自治县",211381:"北票市",211382:"凌源市",211383:"其它区",211400:"葫芦岛市",211402:"连山区",211403:"龙港区",211404:"南票区",211421:"绥中县",211422:"建昌县",211481:"兴城市",211482:"其它区",22e4:"吉林省",220100:"长春市",220102:"南关区",220103:"宽城区",220104:"朝阳区",220105:"二道区",220106:"绿园区",220112:"双阳区",220122:"农安县",220181:"九台市",220182:"榆树市",220183:"德惠市",220188:"其它区",220200:"吉林市",220202:"昌邑区",220203:"龙潭区",220204:"船营区",220211:"丰满区",220221:"永吉县",220281:"蛟河市",220282:"桦甸市",220283:"舒兰市",220284:"磐石市",220285:"其它区",220300:"四平市",220302:"铁西区",220303:"铁东区",220322:"梨树县",220323:"伊通满族自治县",220381:"公主岭市",220382:"双辽市",220383:"其它区",220400:"辽源市",220402:"龙山区",220403:"西安区",220421:"东丰县",220422:"东辽县",220423:"其它区",220500:"通化市",220502:"东昌区",220503:"二道江区",220521:"通化县",220523:"辉南县",220524:"柳河县",220581:"梅河口市",220582:"集安市",220583:"其它区",220600:"白山市",220602:"浑江区",220621:"抚松县",220622:"靖宇县",220623:"长白朝鲜族自治县",220625:"江源区",220681:"临江市",220682:"其它区",220700:"松原市",220702:"宁江区",220721:"前郭尔罗斯蒙古族自治县",220722:"长岭县",220723:"乾安县",220724:"扶余市",220725:"其它区",220800:"白城市",220802:"洮北区",220821:"镇赉县",220822:"通榆县",220881:"洮南市",220882:"大安市",220883:"其它区",222400:"延边朝鲜族自治州",222401:"延吉市",222402:"图们市",222403:"敦化市",222404:"珲春市",222405:"龙井市",222406:"和龙市",222424:"汪清县",222426:"安图县",222427:"其它区",23e4:"黑龙江省",230100:"哈尔滨市",230102:"道里区",230103:"南岗区",230104:"道外区",230106:"香坊区",230108:"平房区",230109:"松北区",230111:"呼兰区",230123:"依兰县",230124:"方正县",230125:"宾县",230126:"巴彦县",230127:"木兰县",230128:"通河县",230129:"延寿县",230181:"阿城区",230182:"双城市",230183:"尚志市",230184:"五常市",230186:"其它区",230200:"齐齐哈尔市",230202:"龙沙区",230203:"建华区",230204:"铁锋区",230205:"昂昂溪区",230206:"富拉尔基区",230207:"碾子山区",230208:"梅里斯达斡尔族区",230221:"龙江县",230223:"依安县",230224:"泰来县",230225:"甘南县",230227:"富裕县",230229:"克山县",230230:"克东县",230231:"拜泉县",230281:"讷河市",230282:"其它区",230300:"鸡西市",230302:"鸡冠区",230303:"恒山区",230304:"滴道区",230305:"梨树区",230306:"城子河区",230307:"麻山区",230321:"鸡东县",230381:"虎林市",230382:"密山市",230383:"其它区",230400:"鹤岗市",230402:"向阳区",230403:"工农区",230404:"南山区",230405:"兴安区",230406:"东山区",230407:"兴山区",230421:"萝北县",230422:"绥滨县",230423:"其它区",230500:"双鸭山市",230502:"尖山区",230503:"岭东区",230505:"四方台区",230506:"宝山区",230521:"集贤县",230522:"友谊县",230523:"宝清县",230524:"饶河县",230525:"其它区",230600:"大庆市",230602:"萨尔图区",230603:"龙凤区",230604:"让胡路区",230605:"红岗区",230606:"大同区",230621:"肇州县",230622:"肇源县",230623:"林甸县",230624:"杜尔伯特蒙古族自治县",230625:"其它区",230700:"伊春市",230702:"伊春区",230703:"南岔区",230704:"友好区",230705:"西林区",230706:"翠峦区",230707:"新青区",230708:"美溪区",230709:"金山屯区",230710:"五营区",230711:"乌马河区",230712:"汤旺河区",230713:"带岭区",230714:"乌伊岭区",230715:"红星区",230716:"上甘岭区",230722:"嘉荫县",230781:"铁力市",230782:"其它区",230800:"佳木斯市",230803:"向阳区",230804:"前进区",230805:"东风区",230811:"郊区",230822:"桦南县",230826:"桦川县",230828:"汤原县",230833:"抚远县",230881:"同江市",230882:"富锦市",230883:"其它区",230900:"七台河市",230902:"新兴区",230903:"桃山区",230904:"茄子河区",230921:"勃利县",230922:"其它区",231e3:"牡丹江市",231002:"东安区",231003:"阳明区",231004:"爱民区",231005:"西安区",231024:"东宁县",231025:"林口县",231081:"绥芬河市",231083:"海林市",231084:"宁安市",231085:"穆棱市",231086:"其它区",231100:"黑河市",231102:"爱辉区",231121:"嫩江县",231123:"逊克县",231124:"孙吴县",231181:"北安市",231182:"五大连池市",231183:"其它区",231200:"绥化市",231202:"北林区",231221:"望奎县",231222:"兰西县",231223:"青冈县",231224:"庆安县",231225:"明水县",231226:"绥棱县",231281:"安达市",231282:"肇东市",231283:"海伦市",231284:"其它区",232700:"大兴安岭地区",232702:"松岭区",232703:"新林区",232704:"呼中区",232721:"呼玛县",232722:"塔河县",232723:"漠河县",232724:"加格达奇区",232725:"其它区",31e4:"上海",310100:"上海市",310101:"黄浦区",310104:"徐汇区",310105:"长宁区",310106:"静安区",310107:"普陀区",310108:"闸北区",310109:"虹口区",310110:"杨浦区",310112:"闵行区",310113:"宝山区",310114:"嘉定区",310115:"浦东新区",310116:"金山区",310117:"松江区",310118:"青浦区",310120:"奉贤区",310230:"崇明县",310231:"其它区",32e4:"江苏省",320100:"南京市",320102:"玄武区",320104:"秦淮区",320105:"建邺区",320106:"鼓楼区",320111:"浦口区",320113:"栖霞区",320114:"雨花台区",320115:"江宁区",320116:"六合区",320124:"溧水区",320125:"高淳区",320126:"其它区",320200:"无锡市",320202:"崇安区",320203:"南长区",320204:"北塘区",320205:"锡山区",320206:"惠山区",320211:"滨湖区",320281:"江阴市",320282:"宜兴市",320297:"其它区",320300:"徐州市",320302:"鼓楼区",320303:"云龙区",320305:"贾汪区",320311:"泉山区",320321:"丰县",320322:"沛县",320323:"铜山区",320324:"睢宁县",320381:"新沂市",320382:"邳州市",320383:"其它区",320400:"常州市",320402:"天宁区",320404:"钟楼区",320405:"戚墅堰区",320411:"新北区",320412:"武进区",320481:"溧阳市",320482:"金坛市",320483:"其它区",320500:"苏州市",320505:"虎丘区",320506:"吴中区",320507:"相城区",320508:"姑苏区",320581:"常熟市",320582:"张家港市",320583:"昆山市",320584:"吴江区",320585:"太仓市",320596:"其它区",320600:"南通市",320602:"崇川区",320611:"港闸区",320612:"通州区",320621:"海安县",320623:"如东县",320681:"启东市",320682:"如皋市",320684:"海门市",320694:"其它区",320700:"连云港市",320703:"连云区",320705:"新浦区",320706:"海州区",320721:"赣榆县",320722:"东海县",320723:"灌云县",320724:"灌南县",320725:"其它区",320800:"淮安市",320802:"清河区",320803:"淮安区",320804:"淮阴区",320811:"清浦区",320826:"涟水县",320829:"洪泽县",320830:"盱眙县",320831:"金湖县",320832:"其它区",320900:"盐城市",320902:"亭湖区",320903:"盐都区",320921:"响水县",320922:"滨海县",320923:"阜宁县",320924:"射阳县",320925:"建湖县",320981:"东台市",320982:"大丰市",320983:"其它区",321e3:"扬州市",321002:"广陵区",321003:"邗江区",321023:"宝应县",321081:"仪征市",321084:"高邮市",321088:"江都区",321093:"其它区",321100:"镇江市",321102:"京口区",321111:"润州区",321112:"丹徒区",321181:"丹阳市",321182:"扬中市",321183:"句容市",321184:"其它区",321200:"泰州市",321202:"海陵区",321203:"高港区",321281:"兴化市",321282:"靖江市",321283:"泰兴市",321284:"姜堰区",321285:"其它区",321300:"宿迁市",321302:"宿城区",321311:"宿豫区",321322:"沭阳县",321323:"泗阳县",321324:"泗洪县",321325:"其它区",33e4:"浙江省",330100:"杭州市",330102:"上城区",330103:"下城区",330104:"江干区",330105:"拱墅区",330106:"西湖区",330108:"滨江区",330109:"萧山区",330110:"余杭区",330122:"桐庐县",330127:"淳安县",330182:"建德市",330183:"富阳市",330185:"临安市",330186:"其它区",330200:"宁波市",330203:"海曙区",330204:"江东区",330205:"江北区",330206:"北仑区",330211:"镇海区",330212:"鄞州区",330225:"象山县",330226:"宁海县",330281:"余姚市",330282:"慈溪市",330283:"奉化市",330284:"其它区",330300:"温州市",330302:"鹿城区",330303:"龙湾区",330304:"瓯海区",330322:"洞头县",330324:"永嘉县",330326:"平阳县",330327:"苍南县",330328:"文成县",330329:"泰顺县",330381:"瑞安市",330382:"乐清市",330383:"其它区",330400:"嘉兴市",330402:"南湖区",330411:"秀洲区",330421:"嘉善县",330424:"海盐县",330481:"海宁市",330482:"平湖市",330483:"桐乡市",330484:"其它区",330500:"湖州市",330502:"吴兴区",330503:"南浔区",330521:"德清县",330522:"长兴县",330523:"安吉县",330524:"其它区",330600:"绍兴市",330602:"越城区",330621:"绍兴县",330624:"新昌县",330681:"诸暨市",330682:"上虞市",330683:"嵊州市",330684:"其它区",330700:"金华市",330702:"婺城区",330703:"金东区",330723:"武义县",330726:"浦江县",330727:"磐安县",330781:"兰溪市",330782:"义乌市",330783:"东阳市",330784:"永康市",330785:"其它区",330800:"衢州市",330802:"柯城区",330803:"衢江区",330822:"常山县",330824:"开化县",330825:"龙游县",330881:"江山市",330882:"其它区",330900:"舟山市",330902:"定海区",330903:"普陀区",330921:"岱山县",330922:"嵊泗县",330923:"其它区",331e3:"台州市",331002:"椒江区",331003:"黄岩区",331004:"路桥区",331021:"玉环县",331022:"三门县",331023:"天台县",331024:"仙居县",331081:"温岭市",331082:"临海市",331083:"其它区",331100:"丽水市",331102:"莲都区",331121:"青田县",331122:"缙云县",331123:"遂昌县",331124:"松阳县",331125:"云和县",331126:"庆元县",331127:"景宁畲族自治县",331181:"龙泉市",331182:"其它区",34e4:"安徽省",340100:"合肥市",340102:"瑶海区",340103:"庐阳区",340104:"蜀山区",340111:"包河区",340121:"长丰县",340122:"肥东县",340123:"肥西县",340192:"其它区",340200:"芜湖市",340202:"镜湖区",340203:"弋江区",340207:"鸠江区",340208:"三山区",340221:"芜湖县",340222:"繁昌县",340223:"南陵县",340224:"其它区",340300:"蚌埠市",340302:"龙子湖区",340303:"蚌山区",340304:"禹会区",340311:"淮上区",340321:"怀远县",340322:"五河县",340323:"固镇县",340324:"其它区",340400:"淮南市",340402:"大通区",340403:"田家庵区",340404:"谢家集区",340405:"八公山区",340406:"潘集区",340421:"凤台县",340422:"其它区",340500:"马鞍山市",340503:"花山区",340504:"雨山区",340506:"博望区",340521:"当涂县",340522:"其它区",340600:"淮北市",340602:"杜集区",340603:"相山区",340604:"烈山区",340621:"濉溪县",340622:"其它区",340700:"铜陵市",340702:"铜官山区",340703:"狮子山区",340711:"郊区",340721:"铜陵县",340722:"其它区",340800:"安庆市",340802:"迎江区",340803:"大观区",340811:"宜秀区",340822:"怀宁县",340823:"枞阳县",340824:"潜山县",340825:"太湖县",340826:"宿松县",340827:"望江县",340828:"岳西县",340881:"桐城市",340882:"其它区",341e3:"黄山市",341002:"屯溪区",341003:"黄山区",341004:"徽州区",341021:"歙县",341022:"休宁县",341023:"黟县",341024:"祁门县",341025:"其它区",341100:"滁州市",341102:"琅琊区",341103:"南谯区",341122:"来安县",341124:"全椒县",341125:"定远县",341126:"凤阳县",341181:"天长市",341182:"明光市",341183:"其它区",341200:"阜阳市",341202:"颍州区",341203:"颍东区",341204:"颍泉区",341221:"临泉县",341222:"太和县",341225:"阜南县",341226:"颍上县",341282:"界首市",341283:"其它区",341300:"宿州市",341302:"埇桥区",341321:"砀山县",341322:"萧县",341323:"灵璧县",341324:"泗县",341325:"其它区",341400:"巢湖市",341421:"庐江县",341422:"无为县",341423:"含山县",341424:"和县",341500:"六安市",341502:"金安区",341503:"裕安区",341521:"寿县",341522:"霍邱县",341523:"舒城县",341524:"金寨县",341525:"霍山县",341526:"其它区",341600:"亳州市",341602:"谯城区",341621:"涡阳县",341622:"蒙城县",341623:"利辛县",341624:"其它区",341700:"池州市",341702:"贵池区",341721:"东至县",341722:"石台县",341723:"青阳县",341724:"其它区",341800:"宣城市",341802:"宣州区",341821:"郎溪县",341822:"广德县",341823:"泾县",341824:"绩溪县",341825:"旌德县",341881:"宁国市",341882:"其它区",35e4:"福建省",350100:"福州市",350102:"鼓楼区",350103:"台江区",350104:"仓山区",350105:"马尾区",350111:"晋安区",350121:"闽侯县",350122:"连江县",350123:"罗源县",350124:"闽清县",350125:"永泰县",350128:"平潭县",350181:"福清市",350182:"长乐市",350183:"其它区",350200:"厦门市",350203:"思明区",350205:"海沧区",350206:"湖里区",350211:"集美区",350212:"同安区",350213:"翔安区",350214:"其它区",350300:"莆田市",350302:"城厢区",350303:"涵江区",350304:"荔城区",350305:"秀屿区",350322:"仙游县",350323:"其它区",350400:"三明市",350402:"梅列区",350403:"三元区",350421:"明溪县",350423:"清流县",350424:"宁化县",350425:"大田县",350426:"尤溪县",350427:"沙县",350428:"将乐县",350429:"泰宁县",350430:"建宁县",350481:"永安市",350482:"其它区",350500:"泉州市",350502:"鲤城区",350503:"丰泽区",350504:"洛江区",350505:"泉港区",350521:"惠安县",350524:"安溪县",350525:"永春县",350526:"德化县",350527:"金门县",350581:"石狮市",350582:"晋江市",350583:"南安市",350584:"其它区",350600:"漳州市",350602:"芗城区",350603:"龙文区",350622:"云霄县",350623:"漳浦县",350624:"诏安县",350625:"长泰县",350626:"东山县",350627:"南靖县",350628:"平和县",350629:"华安县",350681:"龙海市",350682:"其它区",350700:"南平市",350702:"延平区",350721:"顺昌县",350722:"浦城县",350723:"光泽县",350724:"松溪县",350725:"政和县",350781:"邵武市",350782:"武夷山市",350783:"建瓯市",350784:"建阳市",350785:"其它区",350800:"龙岩市",350802:"新罗区",350821:"长汀县",350822:"永定县",350823:"上杭县",350824:"武平县",350825:"连城县",350881:"漳平市",350882:"其它区",350900:"宁德市",350902:"蕉城区",350921:"霞浦县",350922:"古田县",350923:"屏南县",350924:"寿宁县",350925:"周宁县",350926:"柘荣县",350981:"福安市",350982:"福鼎市",350983:"其它区",36e4:"江西省",360100:"南昌市",360102:"东湖区",360103:"西湖区",360104:"青云谱区",360105:"湾里区",360111:"青山湖区",360121:"南昌县",360122:"新建县",360123:"安义县",360124:"进贤县",360128:"其它区",360200:"景德镇市",360202:"昌江区",360203:"珠山区",360222:"浮梁县",360281:"乐平市",360282:"其它区",360300:"萍乡市",360302:"安源区",360313:"湘东区",360321:"莲花县",360322:"上栗县",360323:"芦溪县",360324:"其它区",360400:"九江市",360402:"庐山区",360403:"浔阳区",360421:"九江县",360423:"武宁县",360424:"修水县",360425:"永修县",360426:"德安县",360427:"星子县",360428:"都昌县",360429:"湖口县",360430:"彭泽县",360481:"瑞昌市",360482:"其它区",360483:"共青城市",360500:"新余市",360502:"渝水区",360521:"分宜县",360522:"其它区",360600:"鹰潭市",360602:"月湖区",360622:"余江县",360681:"贵溪市",360682:"其它区",360700:"赣州市",360702:"章贡区",360721:"赣县",360722:"信丰县",360723:"大余县",360724:"上犹县",360725:"崇义县",360726:"安远县",360727:"龙南县",360728:"定南县",360729:"全南县",360730:"宁都县",360731:"于都县",360732:"兴国县",360733:"会昌县",360734:"寻乌县",360735:"石城县",360781:"瑞金市",360782:"南康市",360783:"其它区",360800:"吉安市",360802:"吉州区",360803:"青原区",360821:"吉安县",360822:"吉水县",360823:"峡江县",360824:"新干县",360825:"永丰县",360826:"泰和县",360827:"遂川县",360828:"万安县",360829:"安福县",360830:"永新县",360881:"井冈山市",360882:"其它区",360900:"宜春市",360902:"袁州区",360921:"奉新县",360922:"万载县",360923:"上高县",360924:"宜丰县",360925:"靖安县",360926:"铜鼓县",360981:"丰城市",360982:"樟树市",360983:"高安市",360984:"其它区",361e3:"抚州市",361002:"临川区",361021:"南城县",361022:"黎川县",361023:"南丰县",361024:"崇仁县",361025:"乐安县",361026:"宜黄县",361027:"金溪县",361028:"资溪县",361029:"东乡县",361030:"广昌县",361031:"其它区",361100:"上饶市",361102:"信州区",361121:"上饶县",361122:"广丰县",361123:"玉山县",361124:"铅山县",361125:"横峰县",361126:"弋阳县",361127:"余干县",361128:"鄱阳县",361129:"万年县",361130:"婺源县",361181:"德兴市",361182:"其它区",37e4:"山东省",370100:"济南市",370102:"历下区",370103:"市中区",370104:"槐荫区",370105:"天桥区",370112:"历城区",370113:"长清区",370124:"平阴县",370125:"济阳县",370126:"商河县",370181:"章丘市",370182:"其它区",370200:"青岛市",370202:"市南区",370203:"市北区",370211:"黄岛区",370212:"崂山区",370213:"李沧区",370214:"城阳区",370281:"胶州市",370282:"即墨市",370283:"平度市",370285:"莱西市",370286:"其它区",370300:"淄博市",370302:"淄川区",370303:"张店区",370304:"博山区",370305:"临淄区",370306:"周村区",370321:"桓台县",370322:"高青县",370323:"沂源县",370324:"其它区",370400:"枣庄市",370402:"市中区",370403:"薛城区",370404:"峄城区",370405:"台儿庄区",370406:"山亭区",370481:"滕州市",370482:"其它区",370500:"东营市",370502:"东营区",370503:"河口区",370521:"垦利县",370522:"利津县",370523:"广饶县",370591:"其它区",370600:"烟台市",370602:"芝罘区",370611:"福山区",370612:"牟平区",370613:"莱山区",370634:"长岛县",370681:"龙口市",370682:"莱阳市",370683:"莱州市",370684:"蓬莱市",370685:"招远市",370686:"栖霞市",370687:"海阳市",370688:"其它区",370700:"潍坊市",370702:"潍城区",370703:"寒亭区",370704:"坊子区",370705:"奎文区",370724:"临朐县",370725:"昌乐县",370781:"青州市",370782:"诸城市",370783:"寿光市",370784:"安丘市",370785:"高密市",370786:"昌邑市",370787:"其它区",370800:"济宁市",370802:"市中区",370811:"任城区",370826:"微山县",370827:"鱼台县",370828:"金乡县",370829:"嘉祥县",370830:"汶上县",370831:"泗水县",370832:"梁山县",370881:"曲阜市",370882:"兖州市",370883:"邹城市",370884:"其它区",370900:"泰安市",370902:"泰山区",370903:"岱岳区",370921:"宁阳县",370923:"东平县",370982:"新泰市",370983:"肥城市",370984:"其它区",371e3:"威海市",371002:"环翠区",371081:"文登市",371082:"荣成市",371083:"乳山市",371084:"其它区",371100:"日照市",371102:"东港区",371103:"岚山区",371121:"五莲县",371122:"莒县",371123:"其它区",371200:"莱芜市",371202:"莱城区",371203:"钢城区",371204:"其它区",371300:"临沂市",371302:"兰山区",371311:"罗庄区",371312:"河东区",371321:"沂南县",371322:"郯城县",371323:"沂水县",371324:"苍山县",371325:"费县",371326:"平邑县",371327:"莒南县",371328:"蒙阴县",371329:"临沭县",371330:"其它区",371400:"德州市",371402:"德城区",371421:"陵县",371422:"宁津县",371423:"庆云县",371424:"临邑县",371425:"齐河县",371426:"平原县",371427:"夏津县",371428:"武城县",371481:"乐陵市",371482:"禹城市",371483:"其它区",371500:"聊城市",371502:"东昌府区",371521:"阳谷县",371522:"莘县",371523:"茌平县",371524:"东阿县",371525:"冠县",371526:"高唐县",371581:"临清市",371582:"其它区",371600:"滨州市",371602:"滨城区",371621:"惠民县",371622:"阳信县",371623:"无棣县",371624:"沾化县",371625:"博兴县",371626:"邹平县",371627:"其它区",371700:"菏泽市",371702:"牡丹区",371721:"曹县",371722:"单县",371723:"成武县",371724:"巨野县",371725:"郓城县",371726:"鄄城县",371727:"定陶县",371728:"东明县",371729:"其它区",41e4:"河南省",410100:"郑州市",410102:"中原区",410103:"二七区",410104:"管城回族区",410105:"金水区",410106:"上街区",410108:"惠济区",410122:"中牟县",410181:"巩义市",410182:"荥阳市",410183:"新密市",410184:"新郑市",410185:"登封市",410188:"其它区",410200:"开封市",410202:"龙亭区",410203:"顺河回族区",410204:"鼓楼区",410205:"禹王台区",410211:"金明区",410221:"杞县",410222:"通许县",410223:"尉氏县",410224:"开封县",410225:"兰考县",410226:"其它区",410300:"洛阳市",410302:"老城区",410303:"西工区",410304:"瀍河回族区",410305:"涧西区",410306:"吉利区",410307:"洛龙区",410322:"孟津县",410323:"新安县",410324:"栾川县",410325:"嵩县",410326:"汝阳县",410327:"宜阳县",410328:"洛宁县",410329:"伊川县",410381:"偃师市",410400:"平顶山市",410402:"新华区",410403:"卫东区",410404:"石龙区",410411:"湛河区",410421:"宝丰县",410422:"叶县",410423:"鲁山县",410425:"郏县",410481:"舞钢市",410482:"汝州市",410483:"其它区",410500:"安阳市",410502:"文峰区",410503:"北关区",410505:"殷都区",410506:"龙安区",410522:"安阳县",410523:"汤阴县",410526:"滑县",410527:"内黄县",410581:"林州市",410582:"其它区",410600:"鹤壁市",410602:"鹤山区",410603:"山城区",410611:"淇滨区",410621:"浚县",410622:"淇县",410623:"其它区",410700:"新乡市",410702:"红旗区",410703:"卫滨区",410704:"凤泉区",410711:"牧野区",410721:"新乡县",410724:"获嘉县",410725:"原阳县",410726:"延津县",410727:"封丘县",410728:"长垣县",410781:"卫辉市",410782:"辉县市",410783:"其它区",410800:"焦作市",410802:"解放区",410803:"中站区",410804:"马村区",410811:"山阳区",410821:"修武县",410822:"博爱县",410823:"武陟县",410825:"温县",410881:"济源市",410882:"沁阳市",410883:"孟州市",410884:"其它区",410900:"濮阳市",410902:"华龙区",410922:"清丰县",410923:"南乐县",410926:"范县",410927:"台前县",410928:"濮阳县",410929:"其它区",411e3:"许昌市",411002:"魏都区",411023:"许昌县",411024:"鄢陵县",411025:"襄城县",411081:"禹州市",411082:"长葛市",411083:"其它区",411100:"漯河市",411102:"源汇区",411103:"郾城区",411104:"召陵区",411121:"舞阳县",411122:"临颍县",411123:"其它区",411200:"三门峡市",411202:"湖滨区",411221:"渑池县",411222:"陕县",411224:"卢氏县",411281:"义马市",411282:"灵宝市",411283:"其它区",411300:"南阳市",411302:"宛城区",411303:"卧龙区",411321:"南召县",411322:"方城县",411323:"西峡县",411324:"镇平县",411325:"内乡县",411326:"淅川县",411327:"社旗县",411328:"唐河县",411329:"新野县",411330:"桐柏县",411381:"邓州市",411382:"其它区",411400:"商丘市",411402:"梁园区",411403:"睢阳区",411421:"民权县",411422:"睢县",411423:"宁陵县",411424:"柘城县",411425:"虞城县",411426:"夏邑县",411481:"永城市",411482:"其它区",411500:"信阳市",411502:"浉河区",411503:"平桥区",411521:"罗山县",411522:"光山县",411523:"新县",411524:"商城县",411525:"固始县",411526:"潢川县",411527:"淮滨县",411528:"息县",411529:"其它区",411600:"周口市",411602:"川汇区",411621:"扶沟县",411622:"西华县",411623:"商水县",411624:"沈丘县",411625:"郸城县",411626:"淮阳县",411627:"太康县",411628:"鹿邑县",411681:"项城市",411682:"其它区",411700:"驻马店市",411702:"驿城区",411721:"西平县",411722:"上蔡县",411723:"平舆县",411724:"正阳县",411725:"确山县",411726:"泌阳县",411727:"汝南县",411728:"遂平县",411729:"新蔡县",411730:"其它区",42e4:"湖北省",420100:"武汉市",420102:"江岸区",420103:"江汉区",420104:"硚口区",420105:"汉阳区",420106:"武昌区",420107:"青山区",420111:"洪山区",420112:"东西湖区",420113:"汉南区",420114:"蔡甸区",420115:"江夏区",420116:"黄陂区",420117:"新洲区",420118:"其它区",420200:"黄石市",420202:"黄石港区",420203:"西塞山区",420204:"下陆区",420205:"铁山区",420222:"阳新县",420281:"大冶市",420282:"其它区",420300:"十堰市",420302:"茅箭区",420303:"张湾区",420321:"郧县",420322:"郧西县",420323:"竹山县",420324:"竹溪县",420325:"房县",420381:"丹江口市",420383:"其它区",420500:"宜昌市",420502:"西陵区",420503:"伍家岗区",420504:"点军区",420505:"猇亭区",420506:"夷陵区",420525:"远安县",420526:"兴山县",420527:"秭归县",420528:"长阳土家族自治县",420529:"五峰土家族自治县",420581:"宜都市",420582:"当阳市",420583:"枝江市",420584:"其它区",420600:"襄阳市",420602:"襄城区",420606:"樊城区",420607:"襄州区",420624:"南漳县",420625:"谷城县",420626:"保康县",420682:"老河口市",420683:"枣阳市",420684:"宜城市",420685:"其它区",420700:"鄂州市",420702:"梁子湖区",420703:"华容区",420704:"鄂城区",420705:"其它区",420800:"荆门市",420802:"东宝区",420804:"掇刀区",420821:"京山县",420822:"沙洋县",420881:"钟祥市",420882:"其它区",420900:"孝感市",420902:"孝南区",420921:"孝昌县",420922:"大悟县",420923:"云梦县",420981:"应城市",420982:"安陆市",420984:"汉川市",420985:"其它区",421e3:"荆州市",421002:"沙市区",421003:"荆州区",421022:"公安县",421023:"监利县",421024:"江陵县",421081:"石首市",421083:"洪湖市",421087:"松滋市",421088:"其它区",421100:"黄冈市",421102:"黄州区",421121:"团风县",421122:"红安县",421123:"罗田县",421124:"英山县",421125:"浠水县",421126:"蕲春县",421127:"黄梅县",421181:"麻城市",421182:"武穴市",421183:"其它区",421200:"咸宁市",421202:"咸安区",421221:"嘉鱼县",421222:"通城县",421223:"崇阳县",421224:"通山县",421281:"赤壁市",421283:"其它区",421300:"随州市",421302:"曾都区",421321:"随县",421381:"广水市",421382:"其它区",422800:"恩施土家族苗族自治州",422801:"恩施市",422802:"利川市",422822:"建始县",422823:"巴东县",422825:"宣恩县",422826:"咸丰县",422827:"来凤县",422828:"鹤峰县",422829:"其它区",429004:"仙桃市",429005:"潜江市",429006:"天门市",429021:"神农架林区",43e4:"湖南省",430100:"长沙市",430102:"芙蓉区",430103:"天心区",430104:"岳麓区",430105:"开福区",430111:"雨花区",430121:"长沙县",430122:"望城区",430124:"宁乡县",430181:"浏阳市",430182:"其它区",430200:"株洲市",430202:"荷塘区",430203:"芦淞区",430204:"石峰区",430211:"天元区",430221:"株洲县",430223:"攸县",430224:"茶陵县",430225:"炎陵县",430281:"醴陵市",430282:"其它区",430300:"湘潭市",430302:"雨湖区",430304:"岳塘区",430321:"湘潭县",430381:"湘乡市",430382:"韶山市",430383:"其它区",430400:"衡阳市",430405:"珠晖区",430406:"雁峰区",430407:"石鼓区",430408:"蒸湘区",430412:"南岳区",430421:"衡阳县",430422:"衡南县",430423:"衡山县",430424:"衡东县",430426:"祁东县",430481:"耒阳市",430482:"常宁市",430483:"其它区",430500:"邵阳市",430502:"双清区",430503:"大祥区",430511:"北塔区",430521:"邵东县",430522:"新邵县",430523:"邵阳县",430524:"隆回县",430525:"洞口县",430527:"绥宁县",430528:"新宁县",430529:"城步苗族自治县",430581:"武冈市",430582:"其它区",430600:"岳阳市",430602:"岳阳楼区",430603:"云溪区",430611:"君山区",430621:"岳阳县",430623:"华容县",430624:"湘阴县",430626:"平江县",430681:"汨罗市",430682:"临湘市",430683:"其它区",430700:"常德市",430702:"武陵区",430703:"鼎城区",430721:"安乡县",430722:"汉寿县",430723:"澧县",430724:"临澧县",430725:"桃源县",430726:"石门县",430781:"津市市",430782:"其它区",430800:"张家界市",430802:"永定区",430811:"武陵源区",430821:"慈利县",430822:"桑植县",430823:"其它区",430900:"益阳市",430902:"资阳区",430903:"赫山区",430921:"南县",430922:"桃江县",430923:"安化县",430981:"沅江市",430982:"其它区",431e3:"郴州市",431002:"北湖区",431003:"苏仙区",431021:"桂阳县",431022:"宜章县",431023:"永兴县",431024:"嘉禾县",431025:"临武县",431026:"汝城县",431027:"桂东县",431028:"安仁县",431081:"资兴市",431082:"其它区",431100:"永州市",431102:"零陵区",431103:"冷水滩区",431121:"祁阳县",431122:"东安县",431123:"双牌县",431124:"道县",431125:"江永县",431126:"宁远县",431127:"蓝山县",431128:"新田县",431129:"江华瑶族自治县",431130:"其它区",431200:"怀化市",431202:"鹤城区",431221:"中方县",431222:"沅陵县",431223:"辰溪县",431224:"溆浦县",431225:"会同县",431226:"麻阳苗族自治县",431227:"新晃侗族自治县",431228:"芷江侗族自治县",431229:"靖州苗族侗族自治县",431230:"通道侗族自治县",431281:"洪江市",431282:"其它区",431300:"娄底市",431302:"娄星区",431321:"双峰县",431322:"新化县",431381:"冷水江市",431382:"涟源市",431383:"其它区",433100:"湘西土家族苗族自治州",433101:"吉首市",433122:"泸溪县",433123:"凤凰县",433124:"花垣县",433125:"保靖县",433126:"古丈县",433127:"永顺县",433130:"龙山县",433131:"其它区",44e4:"广东省",440100:"广州市",440103:"荔湾区",440104:"越秀区",440105:"海珠区",440106:"天河区",440111:"白云区",440112:"黄埔区",440113:"番禺区",440114:"花都区",440115:"南沙区",440116:"萝岗区",440183:"增城市",440184:"从化市",440189:"其它区",440200:"韶关市",440203:"武江区",440204:"浈江区",440205:"曲江区",440222:"始兴县",440224:"仁化县",440229:"翁源县",440232:"乳源瑶族自治县",440233:"新丰县",440281:"乐昌市",440282:"南雄市",440283:"其它区",440300:"深圳市",440303:"罗湖区",440304:"福田区",440305:"南山区",440306:"宝安区",440307:"龙岗区",440308:"盐田区",440309:"其它区",440320:"光明新区",440321:"坪山新区",440322:"大鹏新区",440323:"龙华新区",440400:"珠海市",440402:"香洲区",440403:"斗门区",440404:"金湾区",440488:"其它区",440500:"汕头市",440507:"龙湖区",440511:"金平区",440512:"濠江区",440513:"潮阳区",440514:"潮南区",440515:"澄海区",440523:"南澳县",440524:"其它区",440600:"佛山市",440604:"禅城区",440605:"南海区",440606:"顺德区",440607:"三水区",440608:"高明区",440609:"其它区",440700:"江门市",440703:"蓬江区",440704:"江海区",440705:"新会区",440781:"台山市",440783:"开平市",440784:"鹤山市",440785:"恩平市",440786:"其它区",440800:"湛江市",440802:"赤坎区",440803:"霞山区",440804:"坡头区",440811:"麻章区",440823:"遂溪县",440825:"徐闻县",440881:"廉江市",440882:"雷州市",440883:"吴川市",440884:"其它区",440900:"茂名市",440902:"茂南区",440903:"茂港区",440923:"电白县",440981:"高州市",440982:"化州市",440983:"信宜市",440984:"其它区",441200:"肇庆市",441202:"端州区",441203:"鼎湖区",441223:"广宁县",441224:"怀集县",441225:"封开县",441226:"德庆县",441283:"高要市",441284:"四会市",441285:"其它区",441300:"惠州市",441302:"惠城区",441303:"惠阳区",441322:"博罗县",441323:"惠东县",441324:"龙门县",441325:"其它区",441400:"梅州市",441402:"梅江区",441421:"梅县",441422:"大埔县",441423:"丰顺县",441424:"五华县",441426:"平远县",441427:"蕉岭县",441481:"兴宁市",441482:"其它区",441500:"汕尾市",441502:"城区",441521:"海丰县",441523:"陆河县",441581:"陆丰市",441582:"其它区",441600:"河源市",441602:"源城区",441621:"紫金县",441622:"龙川县",441623:"连平县",441624:"和平县",441625:"东源县",441626:"其它区",441700:"阳江市",441702:"江城区",441721:"阳西县",441723:"阳东县",441781:"阳春市",441782:"其它区",441800:"清远市",441802:"清城区",441821:"佛冈县",441823:"阳山县",441825:"连山壮族瑶族自治县",441826:"连南瑶族自治县",441827:"清新区",441881:"英德市",441882:"连州市",441883:"其它区",441900:"东莞市",442e3:"中山市",442101:"东沙群岛",445100:"潮州市",445102:"湘桥区",445121:"潮安区",445122:"饶平县",445186:"其它区",445200:"揭阳市",445202:"榕城区",445221:"揭东区",445222:"揭西县",445224:"惠来县",445281:"普宁市",445285:"其它区",445300:"云浮市",445302:"云城区",445321:"新兴县",445322:"郁南县",445323:"云安县",445381:"罗定市",445382:"其它区",45e4:"广西壮族自治区",450100:"南宁市",450102:"兴宁区",450103:"青秀区",450105:"江南区",450107:"西乡塘区",450108:"良庆区",450109:"邕宁区",450122:"武鸣县",450123:"隆安县",450124:"马山县",450125:"上林县",450126:"宾阳县",450127:"横县",450128:"其它区",450200:"柳州市",450202:"城中区",450203:"鱼峰区",450204:"柳南区",450205:"柳北区",450221:"柳江县",450222:"柳城县",450223:"鹿寨县",450224:"融安县",450225:"融水苗族自治县",450226:"三江侗族自治县",450227:"其它区",450300:"桂林市",450302:"秀峰区",450303:"叠彩区",450304:"象山区",450305:"七星区",450311:"雁山区",450321:"阳朔县",450322:"临桂区",450323:"灵川县",450324:"全州县",450325:"兴安县",450326:"永福县",450327:"灌阳县",450328:"龙胜各族自治县",450329:"资源县",450330:"平乐县",450331:"荔浦县",450332:"恭城瑶族自治县",450333:"其它区",450400:"梧州市",450403:"万秀区",450405:"长洲区",450406:"龙圩区",450421:"苍梧县",450422:"藤县",450423:"蒙山县",450481:"岑溪市",450482:"其它区",450500:"北海市",450502:"海城区",450503:"银海区",450512:"铁山港区",450521:"合浦县",450522:"其它区",450600:"防城港市",450602:"港口区",450603:"防城区",450621:"上思县",450681:"东兴市",450682:"其它区",450700:"钦州市",450702:"钦南区",450703:"钦北区",450721:"灵山县",450722:"浦北县",450723:"其它区",450800:"贵港市",450802:"港北区",450803:"港南区",450804:"覃塘区",450821:"平南县",450881:"桂平市",450882:"其它区",450900:"玉林市",450902:"玉州区",450903:"福绵区",450921:"容县",450922:"陆川县",450923:"博白县",450924:"兴业县",450981:"北流市",450982:"其它区",451e3:"百色市",451002:"右江区",451021:"田阳县",451022:"田东县",451023:"平果县",451024:"德保县",451025:"靖西县",451026:"那坡县",451027:"凌云县",451028:"乐业县",451029:"田林县",451030:"西林县",451031:"隆林各族自治县",451032:"其它区",451100:"贺州市",451102:"八步区",451119:"平桂管理区",451121:"昭平县",451122:"钟山县",451123:"富川瑶族自治县",451124:"其它区",451200:"河池市",451202:"金城江区",451221:"南丹县",451222:"天峨县",451223:"凤山县",451224:"东兰县",451225:"罗城仫佬族自治县",451226:"环江毛南族自治县",451227:"巴马瑶族自治县",451228:"都安瑶族自治县",451229:"大化瑶族自治县",451281:"宜州市",451282:"其它区",451300:"来宾市",451302:"兴宾区",451321:"忻城县",451322:"象州县",451323:"武宣县",451324:"金秀瑶族自治县",451381:"合山市",451382:"其它区",451400:"崇左市",451402:"江州区",451421:"扶绥县",451422:"宁明县",451423:"龙州县",451424:"大新县",451425:"天等县",451481:"凭祥市",451482:"其它区",46e4:"海南省",460100:"海口市",460105:"秀英区",460106:"龙华区",460107:"琼山区",460108:"美兰区",460109:"其它区",460200:"三亚市",460300:"三沙市",460321:"西沙群岛",460322:"南沙群岛",460323:"中沙群岛的岛礁及其海域",469001:"五指山市",469002:"琼海市",469003:"儋州市",469005:"文昌市",469006:"万宁市",469007:"东方市",469025:"定安县",469026:"屯昌县",469027:"澄迈县",469028:"临高县",469030:"白沙黎族自治县",469031:"昌江黎族自治县",469033:"乐东黎族自治县",469034:"陵水黎族自治县",469035:"保亭黎族苗族自治县",469036:"琼中黎族苗族自治县",471005:"其它区",5e5:"重庆",500100:"重庆市",500101:"万州区",500102:"涪陵区",500103:"渝中区",500104:"大渡口区",500105:"江北区",500106:"沙坪坝区",500107:"九龙坡区",500108:"南岸区",500109:"北碚区",500110:"万盛区",500111:"双桥区",500112:"渝北区",500113:"巴南区",500114:"黔江区",500115:"长寿区",500222:"綦江区",500223:"潼南县",500224:"铜梁县",500225:"大足区",500226:"荣昌县",500227:"璧山县",500228:"梁平县",500229:"城口县",500230:"丰都县",500231:"垫江县",500232:"武隆县",500233:"忠县",500234:"开县",500235:"云阳县",500236:"奉节县",500237:"巫山县",500238:"巫溪县",500240:"石柱土家族自治县",500241:"秀山土家族苗族自治县",500242:"酉阳土家族苗族自治县",500243:"彭水苗族土家族自治县",500381:"江津区",500382:"合川区",500383:"永川区",500384:"南川区",500385:"其它区",51e4:"四川省",510100:"成都市",510104:"锦江区",510105:"青羊区",510106:"金牛区",510107:"武侯区",510108:"成华区",510112:"龙泉驿区",510113:"青白江区",510114:"新都区",510115:"温江区",510121:"金堂县",510122:"双流县",510124:"郫县",510129:"大邑县",510131:"蒲江县",510132:"新津县",510181:"都江堰市",510182:"彭州市",510183:"邛崃市",510184:"崇州市",510185:"其它区",510300:"自贡市",510302:"自流井区",510303:"贡井区",510304:"大安区",510311:"沿滩区",510321:"荣县",510322:"富顺县",510323:"其它区",510400:"攀枝花市",510402:"东区",510403:"西区",510411:"仁和区",510421:"米易县",510422:"盐边县",510423:"其它区",510500:"泸州市",510502:"江阳区",510503:"纳溪区",510504:"龙马潭区",510521:"泸县",510522:"合江县",510524:"叙永县",510525:"古蔺县",510526:"其它区",510600:"德阳市",510603:"旌阳区",510623:"中江县",510626:"罗江县",510681:"广汉市",510682:"什邡市",510683:"绵竹市",510684:"其它区",510700:"绵阳市",510703:"涪城区",510704:"游仙区",510722:"三台县",510723:"盐亭县",510724:"安县",510725:"梓潼县",510726:"北川羌族自治县",510727:"平武县",510781:"江油市",510782:"其它区",510800:"广元市",510802:"利州区",510811:"昭化区",510812:"朝天区",510821:"旺苍县",510822:"青川县",510823:"剑阁县",510824:"苍溪县",510825:"其它区",510900:"遂宁市",510903:"船山区",510904:"安居区",510921:"蓬溪县",510922:"射洪县",510923:"大英县",510924:"其它区",511e3:"内江市",511002:"市中区",511011:"东兴区",511024:"威远县",511025:"资中县",511028:"隆昌县",511029:"其它区",511100:"乐山市",511102:"市中区",511111:"沙湾区",511112:"五通桥区",511113:"金口河区",511123:"犍为县",511124:"井研县",511126:"夹江县",511129:"沐川县",511132:"峨边彝族自治县",511133:"马边彝族自治县",511181:"峨眉山市",511182:"其它区",511300:"南充市",511302:"顺庆区",511303:"高坪区",511304:"嘉陵区",511321:"南部县",511322:"营山县",511323:"蓬安县",511324:"仪陇县",511325:"西充县",511381:"阆中市",511382:"其它区",511400:"眉山市",511402:"东坡区",511421:"仁寿县",511422:"彭山县",511423:"洪雅县",511424:"丹棱县",511425:"青神县",511426:"其它区",511500:"宜宾市",511502:"翠屏区",511521:"宜宾县",511522:"南溪区",511523:"江安县",511524:"长宁县",511525:"高县",511526:"珙县",511527:"筠连县",511528:"兴文县",511529:"屏山县",511530:"其它区",511600:"广安市",511602:"广安区",511603:"前锋区",511621:"岳池县",511622:"武胜县",511623:"邻水县",511681:"华蓥市",511683:"其它区",511700:"达州市",511702:"通川区",511721:"达川区",511722:"宣汉县",511723:"开江县",511724:"大竹县",511725:"渠县",511781:"万源市",511782:"其它区",511800:"雅安市",511802:"雨城区",511821:"名山区",511822:"荥经县",511823:"汉源县",511824:"石棉县",511825:"天全县",511826:"芦山县",511827:"宝兴县",511828:"其它区",511900:"巴中市",511902:"巴州区",511903:"恩阳区",511921:"通江县",511922:"南江县",511923:"平昌县",511924:"其它区",512e3:"资阳市",512002:"雁江区",512021:"安岳县",512022:"乐至县",512081:"简阳市",512082:"其它区",513200:"阿坝藏族羌族自治州",513221:"汶川县",513222:"理县",513223:"茂县",513224:"松潘县",513225:"九寨沟县",513226:"金川县",513227:"小金县",513228:"黑水县",513229:"马尔康县",513230:"壤塘县",513231:"阿坝县",513232:"若尔盖县",513233:"红原县",513234:"其它区",513300:"甘孜藏族自治州",513321:"康定县",513322:"泸定县",513323:"丹巴县",513324:"九龙县",513325:"雅江县",513326:"道孚县",513327:"炉霍县",513328:"甘孜县",513329:"新龙县",513330:"德格县",513331:"白玉县",513332:"石渠县",513333:"色达县",513334:"理塘县",513335:"巴塘县",513336:"乡城县",513337:"稻城县",513338:"得荣县",513339:"其它区",513400:"凉山彝族自治州",513401:"西昌市",513422:"木里藏族自治县",513423:"盐源县",513424:"德昌县",513425:"会理县",513426:"会东县",513427:"宁南县",513428:"普格县",513429:"布拖县",513430:"金阳县",513431:"昭觉县",513432:"喜德县",513433:"冕宁县",513434:"越西县",513435:"甘洛县",513436:"美姑县",513437:"雷波县",513438:"其它区",52e4:"贵州省",520100:"贵阳市",520102:"南明区",520103:"云岩区",520111:"花溪区",520112:"乌当区",520113:"白云区",520121:"开阳县",520122:"息烽县",520123:"修文县",520151:"观山湖区",520181:"清镇市",520182:"其它区",520200:"六盘水市",520201:"钟山区",520203:"六枝特区",520221:"水城县",520222:"盘县",520223:"其它区",520300:"遵义市",520302:"红花岗区",520303:"汇川区",520321:"遵义县",520322:"桐梓县",520323:"绥阳县",520324:"正安县",520325:"道真仡佬族苗族自治县",520326:"务川仡佬族苗族自治县",520327:"凤冈县",520328:"湄潭县",520329:"余庆县",520330:"习水县",520381:"赤水市",520382:"仁怀市",520383:"其它区",520400:"安顺市",520402:"西秀区",520421:"平坝县",520422:"普定县",520423:"镇宁布依族苗族自治县",520424:"关岭布依族苗族自治县",520425:"紫云苗族布依族自治县",520426:"其它区",522200:"铜仁市",522201:"碧江区",522222:"江口县",522223:"玉屏侗族自治县",522224:"石阡县",522225:"思南县",522226:"印江土家族苗族自治县",522227:"德江县",522228:"沿河土家族自治县",522229:"松桃苗族自治县",522230:"万山区",522231:"其它区",522300:"黔西南布依族苗族自治州",522301:"兴义市",522322:"兴仁县",522323:"普安县",522324:"晴隆县",522325:"贞丰县",522326:"望谟县",522327:"册亨县",522328:"安龙县",522329:"其它区",522400:"毕节市",522401:"七星关区",522422:"大方县",522423:"黔西县",522424:"金沙县",522425:"织金县",522426:"纳雍县",522427:"威宁彝族回族苗族自治县",522428:"赫章县",522429:"其它区",522600:"黔东南苗族侗族自治州",522601:"凯里市",522622:"黄平县",522623:"施秉县",522624:"三穗县",522625:"镇远县",522626:"岑巩县",522627:"天柱县",522628:"锦屏县",522629:"剑河县",522630:"台江县",522631:"黎平县",522632:"榕江县",522633:"从江县",522634:"雷山县",522635:"麻江县",522636:"丹寨县",522637:"其它区",522700:"黔南布依族苗族自治州",522701:"都匀市",522702:"福泉市",522722:"荔波县",522723:"贵定县",522725:"瓮安县",522726:"独山县",522727:"平塘县",522728:"罗甸县",522729:"长顺县",522730:"龙里县",522731:"惠水县",522732:"三都水族自治县",522733:"其它区",53e4:"云南省",530100:"昆明市",530102:"五华区",530103:"盘龙区",530111:"官渡区",530112:"西山区",530113:"东川区",530121:"呈贡区",530122:"晋宁县",530124:"富民县",530125:"宜良县",530126:"石林彝族自治县",530127:"嵩明县",530128:"禄劝彝族苗族自治县",530129:"寻甸回族彝族自治县",530181:"安宁市",530182:"其它区",530300:"曲靖市",530302:"麒麟区",530321:"马龙县",530322:"陆良县",530323:"师宗县",530324:"罗平县",530325:"富源县",530326:"会泽县",530328:"沾益县",530381:"宣威市",530382:"其它区",530400:"玉溪市",530402:"红塔区",530421:"江川县",530422:"澄江县",530423:"通海县",530424:"华宁县",530425:"易门县",530426:"峨山彝族自治县",530427:"新平彝族傣族自治县",530428:"元江哈尼族彝族傣族自治县",530429:"其它区",530500:"保山市",530502:"隆阳区",530521:"施甸县",530522:"腾冲县",530523:"龙陵县",530524:"昌宁县",530525:"其它区",530600:"昭通市",530602:"昭阳区",530621:"鲁甸县",530622:"巧家县",530623:"盐津县",530624:"大关县",530625:"永善县",530626:"绥江县",530627:"镇雄县",530628:"彝良县",530629:"威信县",530630:"水富县",530631:"其它区",530700:"丽江市",530702:"古城区",530721:"玉龙纳西族自治县",530722:"永胜县",530723:"华坪县",530724:"宁蒗彝族自治县",530725:"其它区",530800:"普洱市",530802:"思茅区",530821:"宁洱哈尼族彝族自治县",530822:"墨江哈尼族自治县",530823:"景东彝族自治县",530824:"景谷傣族彝族自治县",530825:"镇沅彝族哈尼族拉祜族自治县",530826:"江城哈尼族彝族自治县",530827:"孟连傣族拉祜族佤族自治县",530828:"澜沧拉祜族自治县",530829:"西盟佤族自治县",530830:"其它区",530900:"临沧市",530902:"临翔区",530921:"凤庆县",530922:"云县",530923:"永德县",530924:"镇康县",530925:"双江拉祜族佤族布朗族傣族自治县",530926:"耿马傣族佤族自治县",530927:"沧源佤族自治县",530928:"其它区",532300:"楚雄彝族自治州",532301:"楚雄市",532322:"双柏县",532323:"牟定县",532324:"南华县",532325:"姚安县",532326:"大姚县",532327:"永仁县",532328:"元谋县",532329:"武定县",532331:"禄丰县",532332:"其它区",532500:"红河哈尼族彝族自治州",532501:"个旧市",532502:"开远市",532522:"蒙自市",532523:"屏边苗族自治县",532524:"建水县",532525:"石屏县",532526:"弥勒市",532527:"泸西县",532528:"元阳县",532529:"红河县",532530:"金平苗族瑶族傣族自治县",532531:"绿春县",532532:"河口瑶族自治县",532533:"其它区",532600:"文山壮族苗族自治州",532621:"文山市",532622:"砚山县",532623:"西畴县",532624:"麻栗坡县",532625:"马关县",532626:"丘北县",532627:"广南县",532628:"富宁县",532629:"其它区",532800:"西双版纳傣族自治州",532801:"景洪市",532822:"勐海县",532823:"勐腊县",532824:"其它区",532900:"大理白族自治州",532901:"大理市",532922:"漾濞彝族自治县",532923:"祥云县",532924:"宾川县",532925:"弥渡县",532926:"南涧彝族自治县",532927:"巍山彝族回族自治县",532928:"永平县",532929:"云龙县",532930:"洱源县",532931:"剑川县",532932:"鹤庆县",532933:"其它区",533100:"德宏傣族景颇族自治州",533102:"瑞丽市",533103:"芒市",533122:"梁河县",533123:"盈江县",533124:"陇川县",533125:"其它区",533300:"怒江傈僳族自治州",533321:"泸水县",533323:"福贡县",533324:"贡山独龙族怒族自治县",533325:"兰坪白族普米族自治县",533326:"其它区",533400:"迪庆藏族自治州",533421:"香格里拉县",533422:"德钦县",533423:"维西傈僳族自治县",533424:"其它区",54e4:"西藏自治区",540100:"拉萨市",540102:"城关区",540121:"林周县",540122:"当雄县",540123:"尼木县",540124:"曲水县",540125:"堆龙德庆县",540126:"达孜县",540127:"墨竹工卡县",540128:"其它区",542100:"昌都地区",542121:"昌都县",542122:"江达县",542123:"贡觉县",542124:"类乌齐县",542125:"丁青县",542126:"察雅县",542127:"八宿县",542128:"左贡县",542129:"芒康县",542132:"洛隆县",542133:"边坝县",542134:"其它区",542200:"山南地区",542221:"乃东县",542222:"扎囊县",542223:"贡嘎县",542224:"桑日县",542225:"琼结县",542226:"曲松县",542227:"措美县",542228:"洛扎县",542229:"加查县",542231:"隆子县",542232:"错那县",542233:"浪卡子县",542234:"其它区",542300:"日喀则地区",542301:"日喀则市",542322:"南木林县",542323:"江孜县",542324:"定日县",542325:"萨迦县",542326:"拉孜县",542327:"昂仁县",542328:"谢通门县",542329:"白朗县",542330:"仁布县",542331:"康马县",542332:"定结县",542333:"仲巴县",542334:"亚东县",542335:"吉隆县",542336:"聂拉木县",542337:"萨嘎县",542338:"岗巴县",542339:"其它区",542400:"那曲地区",542421:"那曲县",542422:"嘉黎县",542423:"比如县",542424:"聂荣县",542425:"安多县",542426:"申扎县",542427:"索县",542428:"班戈县",542429:"巴青县",542430:"尼玛县",542431:"其它区",542432:"双湖县",542500:"阿里地区",542521:"普兰县",542522:"札达县",542523:"噶尔县",542524:"日土县",542525:"革吉县",542526:"改则县",542527:"措勤县",542528:"其它区",542600:"林芝地区",542621:"林芝县",542622:"工布江达县",542623:"米林县",542624:"墨脱县",542625:"波密县",542626:"察隅县",542627:"朗县",542628:"其它区",61e4:"陕西省",610100:"西安市",610102:"新城区",610103:"碑林区",610104:"莲湖区",610111:"灞桥区",610112:"未央区",610113:"雁塔区",610114:"阎良区",610115:"临潼区",610116:"长安区",610122:"蓝田县",610124:"周至县",610125:"户县",610126:"高陵县",610127:"其它区",610200:"铜川市",610202:"王益区",610203:"印台区",610204:"耀州区",610222:"宜君县",610223:"其它区",610300:"宝鸡市",610302:"渭滨区",610303:"金台区",610304:"陈仓区",610322:"凤翔县",610323:"岐山县",610324:"扶风县",610326:"眉县",610327:"陇县",610328:"千阳县",610329:"麟游县",610330:"凤县",610331:"太白县",610332:"其它区",610400:"咸阳市",610402:"秦都区",610403:"杨陵区",610404:"渭城区",610422:"三原县",610423:"泾阳县",610424:"乾县",610425:"礼泉县",610426:"永寿县",610427:"彬县",610428:"长武县",610429:"旬邑县",610430:"淳化县",610431:"武功县",610481:"兴平市",610482:"其它区",610500:"渭南市",610502:"临渭区",610521:"华县",610522:"潼关县",610523:"大荔县",610524:"合阳县",610525:"澄城县",610526:"蒲城县",610527:"白水县",610528:"富平县",610581:"韩城市",610582:"华阴市",610583:"其它区",610600:"延安市",610602:"宝塔区",610621:"延长县",610622:"延川县",610623:"子长县",610624:"安塞县",610625:"志丹县",610626:"吴起县",610627:"甘泉县",610628:"富县",610629:"洛川县",610630:"宜川县",610631:"黄龙县",610632:"黄陵县",610633:"其它区",610700:"汉中市",610702:"汉台区",610721:"南郑县",610722:"城固县",610723:"洋县",610724:"西乡县",610725:"勉县",610726:"宁强县",610727:"略阳县",610728:"镇巴县",610729:"留坝县",610730:"佛坪县",610731:"其它区",610800:"榆林市",610802:"榆阳区",610821:"神木县",610822:"府谷县",610823:"横山县",610824:"靖边县",610825:"定边县",610826:"绥德县",610827:"米脂县",610828:"佳县",610829:"吴堡县",610830:"清涧县",610831:"子洲县",610832:"其它区",610900:"安康市",610902:"汉滨区",610921:"汉阴县",610922:"石泉县",610923:"宁陕县",610924:"紫阳县",610925:"岚皋县",610926:"平利县",610927:"镇坪县",610928:"旬阳县",610929:"白河县",610930:"其它区",611e3:"商洛市",611002:"商州区",611021:"洛南县",611022:"丹凤县",611023:"商南县",611024:"山阳县",611025:"镇安县",611026:"柞水县",611027:"其它区",62e4:"甘肃省",620100:"兰州市",620102:"城关区",620103:"七里河区",620104:"西固区",620105:"安宁区",620111:"红古区",620121:"永登县",620122:"皋兰县",620123:"榆中县",620124:"其它区",620200:"嘉峪关市",620300:"金昌市",620302:"金川区",620321:"永昌县",620322:"其它区",620400:"白银市",620402:"白银区",620403:"平川区",620421:"靖远县",620422:"会宁县",620423:"景泰县",620424:"其它区",620500:"天水市",620502:"秦州区",620503:"麦积区",620521:"清水县",620522:"秦安县",620523:"甘谷县",620524:"武山县",620525:"张家川回族自治县",620526:"其它区",620600:"武威市",620602:"凉州区",620621:"民勤县",620622:"古浪县",620623:"天祝藏族自治县",620624:"其它区",620700:"张掖市",620702:"甘州区",620721:"肃南裕固族自治县",620722:"民乐县",620723:"临泽县",620724:"高台县",620725:"山丹县",620726:"其它区",620800:"平凉市",620802:"崆峒区",620821:"泾川县",620822:"灵台县",620823:"崇信县",620824:"华亭县",620825:"庄浪县",620826:"静宁县",620827:"其它区",620900:"酒泉市",620902:"肃州区",620921:"金塔县",620922:"瓜州县",620923:"肃北蒙古族自治县",620924:"阿克塞哈萨克族自治县",620981:"玉门市",620982:"敦煌市",620983:"其它区",621e3:"庆阳市",621002:"西峰区",621021:"庆城县",621022:"环县",621023:"华池县",621024:"合水县",621025:"正宁县",621026:"宁县",621027:"镇原县",621028:"其它区",621100:"定西市",621102:"安定区",621121:"通渭县",621122:"陇西县",621123:"渭源县",621124:"临洮县",621125:"漳县",621126:"岷县",621127:"其它区",621200:"陇南市",621202:"武都区",621221:"成县",621222:"文县",621223:"宕昌县",621224:"康县",621225:"西和县",621226:"礼县",621227:"徽县",621228:"两当县",621229:"其它区",622900:"临夏回族自治州",622901:"临夏市",622921:"临夏县",622922:"康乐县",622923:"永靖县",622924:"广河县",622925:"和政县",622926:"东乡族自治县",622927:"积石山保安族东乡族撒拉族自治县",622928:"其它区",623e3:"甘南藏族自治州",623001:"合作市",623021:"临潭县",623022:"卓尼县",623023:"舟曲县",623024:"迭部县",623025:"玛曲县",623026:"碌曲县",623027:"夏河县",623028:"其它区",63e4:"青海省",630100:"西宁市",630102:"城东区",630103:"城中区",630104:"城西区",630105:"城北区",630121:"大通回族土族自治县",630122:"湟中县",630123:"湟源县",630124:"其它区",632100:"海东市",632121:"平安县",632122:"民和回族土族自治县",632123:"乐都区",632126:"互助土族自治县",632127:"化隆回族自治县",632128:"循化撒拉族自治县",632129:"其它区",632200:"海北藏族自治州",632221:"门源回族自治县",632222:"祁连县",632223:"海晏县",632224:"刚察县",632225:"其它区",632300:"黄南藏族自治州",632321:"同仁县",632322:"尖扎县",632323:"泽库县",632324:"河南蒙古族自治县",632325:"其它区",632500:"海南藏族自治州",632521:"共和县",632522:"同德县",632523:"贵德县",632524:"兴海县",632525:"贵南县",632526:"其它区",632600:"果洛藏族自治州",632621:"玛沁县",632622:"班玛县",632623:"甘德县",632624:"达日县",632625:"久治县",632626:"玛多县",632627:"其它区",632700:"玉树藏族自治州",632721:"玉树市",632722:"杂多县",632723:"称多县",632724:"治多县",632725:"囊谦县",632726:"曲麻莱县",632727:"其它区",632800:"海西蒙古族藏族自治州",632801:"格尔木市",632802:"德令哈市",632821:"乌兰县",632822:"都兰县",632823:"天峻县",632824:"其它区",64e4:"宁夏回族自治区",640100:"银川市",640104:"兴庆区",640105:"西夏区",640106:"金凤区",640121:"永宁县",640122:"贺兰县",640181:"灵武市",640182:"其它区",640200:"石嘴山市",640202:"大武口区",640205:"惠农区",640221:"平罗县",640222:"其它区",640300:"吴忠市",640302:"利通区",640303:"红寺堡区",640323:"盐池县",640324:"同心县",640381:"青铜峡市",640382:"其它区",640400:"固原市",640402:"原州区",640422:"西吉县",640423:"隆德县",640424:"泾源县",640425:"彭阳县",640426:"其它区",640500:"中卫市",640502:"沙坡头区",640521:"中宁县",640522:"海原县",640523:"其它区",65e4:"新疆维吾尔自治区",650100:"乌鲁木齐市",650102:"天山区",650103:"沙依巴克区",650104:"新市区",650105:"水磨沟区",650106:"头屯河区",650107:"达坂城区",650109:"米东区",650121:"乌鲁木齐县",650122:"其它区",650200:"克拉玛依市",650202:"独山子区",650203:"克拉玛依区",650204:"白碱滩区",650205:"乌尔禾区",650206:"其它区",652100:"吐鲁番地区",652101:"吐鲁番市",652122:"鄯善县",652123:"托克逊县",652124:"其它区",652200:"哈密地区",652201:"哈密市",652222:"巴里坤哈萨克自治县",652223:"伊吾县",652224:"其它区",652300:"昌吉回族自治州",652301:"昌吉市",652302:"阜康市",652323:"呼图壁县",652324:"玛纳斯县",652325:"奇台县",652327:"吉木萨尔县",652328:"木垒哈萨克自治县",652329:"其它区",652700:"博尔塔拉蒙古自治州",652701:"博乐市",652702:"阿拉山口市",652722:"精河县",652723:"温泉县",652724:"其它区",652800:"巴音郭楞蒙古自治州",652801:"库尔勒市",652822:"轮台县",652823:"尉犁县",652824:"若羌县",652825:"且末县",652826:"焉耆回族自治县",652827:"和静县",652828:"和硕县",652829:"博湖县",652830:"其它区",652900:"阿克苏地区",652901:"阿克苏市",652922:"温宿县",652923:"库车县",652924:"沙雅县",652925:"新和县",652926:"拜城县",652927:"乌什县",652928:"阿瓦提县",652929:"柯坪县",652930:"其它区",653e3:"克孜勒苏柯尔克孜自治州",653001:"阿图什市",653022:"阿克陶县",653023:"阿合奇县",653024:"乌恰县",653025:"其它区",653100:"喀什地区",653101:"喀什市",653121:"疏附县",653122:"疏勒县",653123:"英吉沙县",653124:"泽普县",653125:"莎车县",653126:"叶城县",653127:"麦盖提县",653128:"岳普湖县",653129:"伽师县",653130:"巴楚县",653131:"塔什库尔干塔吉克自治县",653132:"其它区",653200:"和田地区",653201:"和田市",653221:"和田县",653222:"墨玉县",653223:"皮山县",653224:"洛浦县",653225:"策勒县",653226:"于田县",653227:"民丰县",653228:"其它区",654e3:"伊犁哈萨克自治州",654002:"伊宁市",654003:"奎屯市",654021:"伊宁县",654022:"察布查尔锡伯自治县",654023:"霍城县",654024:"巩留县",654025:"新源县",654026:"昭苏县",654027:"特克斯县",654028:"尼勒克县",654029:"其它区",654200:"塔城地区",654201:"塔城市",654202:"乌苏市",654221:"额敏县",654223:"沙湾县",654224:"托里县",654225:"裕民县",654226:"和布克赛尔蒙古自治县",654227:"其它区",654300:"阿勒泰地区",654301:"阿勒泰市",654321:"布尔津县",654322:"富蕴县",654323:"福海县",654324:"哈巴河县",654325:"青河县",654326:"吉木乃县",654327:"其它区",659001:"石河子市",659002:"阿拉尔市",659003:"图木舒克市",659004:"五家渠市",71e4:"台湾",710100:"台北市",710101:"中正区",710102:"大同区",710103:"中山区",710104:"松山区",710105:"大安区",710106:"万华区",710107:"信义区",710108:"士林区",710109:"北投区",710110:"内湖区",710111:"南港区",710112:"文山区",710113:"其它区",710200:"高雄市",710201:"新兴区",710202:"前金区",710203:"芩雅区",710204:"盐埕区",710205:"鼓山区",710206:"旗津区",710207:"前镇区",710208:"三民区",710209:"左营区",710210:"楠梓区",710211:"小港区",710212:"其它区",710241:"苓雅区",710242:"仁武区",710243:"大社区",710244:"冈山区",710245:"路竹区",710246:"阿莲区",710247:"田寮区",710248:"燕巢区",710249:"桥头区",710250:"梓官区",710251:"弥陀区",710252:"永安区",710253:"湖内区",710254:"凤山区",710255:"大寮区",710256:"林园区",710257:"鸟松区",710258:"大树区",710259:"旗山区",710260:"美浓区",710261:"六龟区",710262:"内门区",710263:"杉林区",710264:"甲仙区",710265:"桃源区",710266:"那玛夏区",710267:"茂林区",710268:"茄萣区",710300:"台南市",710301:"中西区",710302:"东区",710303:"南区",710304:"北区",710305:"安平区",710306:"安南区",710307:"其它区",710339:"永康区",710340:"归仁区",710341:"新化区",710342:"左镇区",710343:"玉井区",710344:"楠西区",710345:"南化区",710346:"仁德区",710347:"关庙区",710348:"龙崎区",710349:"官田区",710350:"麻豆区",710351:"佳里区",710352:"西港区",710353:"七股区",710354:"将军区",710355:"学甲区",710356:"北门区",710357:"新营区",710358:"后壁区",710359:"白河区",710360:"东山区",710361:"六甲区",710362:"下营区",710363:"柳营区",710364:"盐水区",710365:"善化区",710366:"大内区",710367:"山上区",710368:"新市区",710369:"安定区",710400:"台中市",710401:"中区",710402:"东区",710403:"南区",710404:"西区",710405:"北区",710406:"北屯区",710407:"西屯区",710408:"南屯区",710409:"其它区",710431:"太平区",710432:"大里区",710433:"雾峰区",710434:"乌日区",710435:"丰原区",710436:"后里区",710437:"石冈区",710438:"东势区",710439:"和平区",710440:"新社区",710441:"潭子区",710442:"大雅区",710443:"神冈区",710444:"大肚区",710445:"沙鹿区",710446:"龙井区",710447:"梧栖区",710448:"清水区",710449:"大甲区",710450:"外埔区",710451:"大安区",710500:"金门县",710507:"金沙镇",710508:"金湖镇",710509:"金宁乡",710510:"金城镇",710511:"烈屿乡",710512:"乌坵乡",710600:"南投县",710614:"南投市",710615:"中寮乡",710616:"草屯镇",710617:"国姓乡",710618:"埔里镇",710619:"仁爱乡",710620:"名间乡",710621:"集集镇",710622:"水里乡",710623:"鱼池乡",710624:"信义乡",710625:"竹山镇",710626:"鹿谷乡",710700:"基隆市",710701:"仁爱区",710702:"信义区",710703:"中正区",710704:"中山区",710705:"安乐区",710706:"暖暖区",710707:"七堵区",710708:"其它区",710800:"新竹市",710801:"东区",710802:"北区",710803:"香山区",710804:"其它区",710900:"嘉义市",710901:"东区",710902:"西区",710903:"其它区",711100:"新北市",711130:"万里区",711131:"金山区",711132:"板桥区",711133:"汐止区",711134:"深坑区",711135:"石碇区",711136:"瑞芳区",711137:"平溪区",711138:"双溪区",711139:"贡寮区",711140:"新店区",711141:"坪林区",711142:"乌来区",711143:"永和区",711144:"中和区",711145:"土城区",711146:"三峡区",711147:"树林区",711148:"莺歌区",711149:"三重区",711150:"新庄区",711151:"泰山区",711152:"林口区",711153:"芦洲区",711154:"五股区",711155:"八里区",711156:"淡水区",711157:"三芝区",711158:"石门区",711200:"宜兰县",711214:"宜兰市",711215:"头城镇",711216:"礁溪乡",711217:"壮围乡",711218:"员山乡",711219:"罗东镇",711220:"三星乡",711221:"大同乡",711222:"五结乡",711223:"冬山乡",711224:"苏澳镇",711225:"南澳乡",711226:"钓鱼台",711300:"新竹县",711314:"竹北市",711315:"湖口乡",711316:"新丰乡",711317:"新埔镇",711318:"关西镇",711319:"芎林乡",711320:"宝山乡",711321:"竹东镇",711322:"五峰乡",711323:"横山乡",711324:"尖石乡",711325:"北埔乡",711326:"峨眉乡",711400:"桃园县",711414:"中坜市",711415:"平镇市",711416:"龙潭乡",711417:"杨梅市",711418:"新屋乡",711419:"观音乡",711420:"桃园市",711421:"龟山乡",711422:"八德市",711423:"大溪镇",711424:"复兴乡",711425:"大园乡",711426:"芦竹乡",711500:"苗栗县",711519:"竹南镇",711520:"头份镇",711521:"三湾乡",711522:"南庄乡",711523:"狮潭乡",711524:"后龙镇",711525:"通霄镇",711526:"苑里镇",711527:"苗栗市",711528:"造桥乡",711529:"头屋乡",711530:"公馆乡",711531:"大湖乡",711532:"泰安乡",711533:"铜锣乡",711534:"三义乡",711535:"西湖乡",711536:"卓兰镇",711700:"彰化县",711727:"彰化市",711728:"芬园乡",711729:"花坛乡",711730:"秀水乡",711731:"鹿港镇",711732:"福兴乡",711733:"线西乡",711734:"和美镇",711735:"伸港乡",711736:"员林镇",711737:"社头乡",711738:"永靖乡",711739:"埔心乡",711740:"溪湖镇",711741:"大村乡",711742:"埔盐乡",711743:"田中镇",711744:"北斗镇",711745:"田尾乡",711746:"埤头乡",711747:"溪州乡",711748:"竹塘乡",711749:"二林镇",711750:"大城乡",711751:"芳苑乡",711752:"二水乡",711900:"嘉义县",711919:"番路乡",711920:"梅山乡",711921:"竹崎乡",711922:"阿里山乡",711923:"中埔乡",711924:"大埔乡",711925:"水上乡",711926:"鹿草乡",711927:"太保市",711928:"朴子市",711929:"东石乡",711930:"六脚乡",711931:"新港乡",711932:"民雄乡",711933:"大林镇",711934:"溪口乡",711935:"义竹乡",711936:"布袋镇",712100:"云林县",712121:"斗南镇",712122:"大埤乡",712123:"虎尾镇",712124:"土库镇",712125:"褒忠乡",712126:"东势乡",712127:"台西乡",712128:"仑背乡",712129:"麦寮乡",712130:"斗六市",712131:"林内乡",712132:"古坑乡",712133:"莿桐乡",712134:"西螺镇",712135:"二仑乡",712136:"北港镇",712137:"水林乡",712138:"口湖乡",712139:"四湖乡",712140:"元长乡",712400:"屏东县",712434:"屏东市",712435:"三地门乡",712436:"雾台乡",712437:"玛家乡",712438:"九如乡",712439:"里港乡",712440:"高树乡",712441:"盐埔乡",712442:"长治乡",712443:"麟洛乡",712444:"竹田乡",712445:"内埔乡",712446:"万丹乡",712447:"潮州镇",712448:"泰武乡",712449:"来义乡",712450:"万峦乡",712451:"崁顶乡",712452:"新埤乡",712453:"南州乡",712454:"林边乡",712455:"东港镇",712456:"琉球乡",712457:"佳冬乡",712458:"新园乡",712459:"枋寮乡",712460:"枋山乡",712461:"春日乡",712462:"狮子乡",712463:"车城乡",712464:"牡丹乡",712465:"恒春镇",712466:"满州乡",712500:"台东县",712517:"台东市",712518:"绿岛乡",712519:"兰屿乡",712520:"延平乡",712521:"卑南乡",712522:"鹿野乡",712523:"关山镇",712524:"海端乡",712525:"池上乡",712526:"东河乡",712527:"成功镇",712528:"长滨乡",712529:"金峰乡",712530:"大武乡",712531:"达仁乡",712532:"太麻里乡",712600:"花莲县",712615:"花莲市",712616:"新城乡",712617:"太鲁阁",712618:"秀林乡",712619:"吉安乡",712620:"寿丰乡",712621:"凤林镇",712622:"光复乡",712623:"丰滨乡",712624:"瑞穗乡",712625:"万荣乡",712626:"玉里镇",712627:"卓溪乡",712628:"富里乡",712700:"澎湖县",712707:"马公市",712708:"西屿乡",712709:"望安乡",712710:"七美乡",712711:"白沙乡",712712:"湖西乡",712800:"连江县",712805:"南竿乡",712806:"北竿乡",712807:"莒光乡",712808:"东引乡",81e4:"香港特别行政区",810100:"香港岛",810101:"中西区",810102:"湾仔",810103:"东区",810104:"南区",810200:"九龙",810201:"九龙城区",810202:"油尖旺区",810203:"深水埗区",810204:"黄大仙区",810205:"观塘区",810300:"新界",810301:"北区",810302:"大埔区",810303:"沙田区",810304:"西贡区",810305:"元朗区",810306:"屯门区",810307:"荃湾区",810308:"葵青区",810309:"离岛区",82e4:"澳门特别行政区",820100:"澳门半岛",820200:"离岛",99e4:"海外",990100:"海外"};function Ue(At){for(var Dt={},Lt=0,jt;LtMa;Ma++)Ka=An.charAt(Ma),Ka===` +`?(Vr.seenCR||Vr.line++,Vr.column=1,Vr.seenCR=!1):Ka==="\r"||Ka==="\u2028"||Ka==="\u2029"?(Vr.line++,Vr.column=1,Vr.seenCR=!0):(Vr.column++,Vr.seenCR=!1)}return Va!==co&&(Va>co&&(Va=0,Da={line:1,column:1,seenCR:!1}),Lo(Da,Va,co),Va=co),Da}function Rn(co){$a>Jo||(Jo>$a&&($a=Jo,Aa=[]),Aa.push(co))}function Un(co){var Lo=0;for(co.sort();LoJo?(Vr=An.charAt(Jo),Jo++):(Vr=null,ni===0&&Rn(Li)),Vr!==null?(yi=co,Lo=Qi(Vr),Lo===null&&(Jo=co),co=Lo):(Jo=co,co=Cr)):(Jo=co,co=Cr),co}function er(){var co,Lo,Vr;return co=Jo,An.charCodeAt(Jo)===92?(Lo=Wi,Jo++):(Lo=null,ni===0&&Rn(ka)),Lo!==null?(aa.test(An.charAt(Jo))?(Vr=An.charAt(Jo),Jo++):(Vr=null,ni===0&&Rn(Ki)),Vr!==null?(yi=co,Lo=pa(Vr),Lo===null&&(Jo=co),co=Lo):(Jo=co,co=Cr)):(Jo=co,co=Cr),co}function go(){var co,Lo,Vr,fi;if(co=Jo,An.substr(Jo,2)===Oa?(Lo=Oa,Jo+=2):(Lo=null,ni===0&&Rn(xa)),Lo!==null){if(Vr=[],ja.test(An.charAt(Jo))?(fi=An.charAt(Jo),Jo++):(fi=null,ni===0&&Rn(Wa)),fi!==null)for(;fi!==null;)Vr.push(fi),ja.test(An.charAt(Jo))?(fi=An.charAt(Jo),Jo++):(fi=null,ni===0&&Rn(Wa));else Vr=Cr;Vr!==null?(yi=co,Lo=ma(Vr),Lo===null&&(Jo=co),co=Lo):(Jo=co,co=Cr)}else Jo=co,co=Cr;return co}function rr(){var co,Lo,Vr,fi;if(co=Jo,An.substr(Jo,2)===ua?(Lo=ua,Jo+=2):(Lo=null,ni===0&&Rn(la)),Lo!==null){if(Vr=[],da.test(An.charAt(Jo))?(fi=An.charAt(Jo),Jo++):(fi=null,ni===0&&Rn(Xi)),fi!==null)for(;fi!==null;)Vr.push(fi),da.test(An.charAt(Jo))?(fi=An.charAt(Jo),Jo++):(fi=null,ni===0&&Rn(Xi));else Vr=Cr;Vr!==null?(yi=co,Lo=ga(Vr),Lo===null&&(Jo=co),co=Lo):(Jo=co,co=Cr)}else Jo=co,co=Cr;return co}function hr(){var co,Lo,Vr,fi;if(co=Jo,An.substr(Jo,2)===ea?(Lo=ea,Jo+=2):(Lo=null,ni===0&&Rn(za)),Lo!==null){if(Vr=[],da.test(An.charAt(Jo))?(fi=An.charAt(Jo),Jo++):(fi=null,ni===0&&Rn(Xi)),fi!==null)for(;fi!==null;)Vr.push(fi),da.test(An.charAt(Jo))?(fi=An.charAt(Jo),Jo++):(fi=null,ni===0&&Rn(Xi));else Vr=Cr;Vr!==null?(yi=co,Lo=Ua(Vr),Lo===null&&(Jo=co),co=Lo):(Jo=co,co=Cr)}else Jo=co,co=Cr;return co}function gr(){var co,Lo;return co=Jo,An.substr(Jo,2)===Oa?(Lo=Oa,Jo+=2):(Lo=null,ni===0&&Rn(xa)),Lo!==null&&(yi=co,Lo=Ha()),Lo===null&&(Jo=co),co=Lo,co}function mr(){var co,Lo,Vr;return co=Jo,An.charCodeAt(Jo)===92?(Lo=Wi,Jo++):(Lo=null,ni===0&&Rn(ka)),Lo!==null?(An.length>Jo?(Vr=An.charAt(Jo),Jo++):(Vr=null,ni===0&&Rn(Li)),Vr!==null?(yi=co,Lo=Ca(Vr),Lo===null&&(Jo=co),co=Lo):(Jo=co,co=Cr)):(Jo=co,co=Cr),co}var kr,Er=arguments.length>1?arguments[1]:{},Rr={regexp:Wn},Wr=Wn,Cr=null,ai="",hi="|",pi='"|"',vi=function(co,Lo){return Lo?new Ue(co,Lo[1]):co},li=function(co,Lo,Vr){return new qe([co].concat(Lo).concat([Vr]))},oi="^",Zr='"^"',_r=function(){return new Fe("start")},ir="$",lr='"$"',Go=function(){return new Fe("end")},Fr=function(co,Lo){return new Lt(co,Lo)},si="Quantifier",Jr=function(co,Lo){return Lo&&(co.greedy=!1),co},Gr="{",Kr='"{"',Lr=",",Or='","',Pr="}",sr='"}"',Ar=function(co,Lo){return new jt(co,Lo)},Ir=",}",Mr='",}"',Xr=function(co){return new jt(co,1/0)},ci=function(co){return new jt(co,co)},di="+",ki='"+"',$i=function(){return new jt(1,1/0)},Ti="*",Ei='"*"',Pi=function(){return new jt(0,1/0)},ji="?",Di='"?"',Fi=function(){return new jt(0,1)},Mi=/^[0-9]/,Bi="[0-9]",qo=function(co){return+co.join("")},fr="(",wr='"("',xr=")",zr='")"',Br=function(co){return co},qr=function(co){return new Dt(co)},ri="?:",$r='"?:"',ti=function(co){return new At("non-capture-group",co)},Oi="?=",_i='"?="',Ai=function(co){return new At("positive-lookahead",co)},oa="?!",qi='"?!"',Ui=function(co){return new At("negative-lookahead",co)},Ri="CharacterSet",Yi="[",ya='"["',Ra="]",Pa='"]"',Ba=function(co,Lo){return new hn(!!co,Lo)},Ta="CharacterRange",La="-",Na='"-"',Ia=function(co,Lo){return new vn(co,Lo)},ra="Character",Fa=/^[^\\\]]/,Ni="[^\\\\\\]]",Ca=function(co){return new bn(co)},Vo=".",dr='"."',br=function(){return new Fe("any-character")},Tr="Literal",jr=/^[^|\\\/.[()?+*$\^]/,Dr="[^|\\\\\\/.[()?+*$\\^]",Qr="\\b",Kn='"\\\\b"',Jn=function(){return new Fe("backspace")},uo=function(){return new Fe("word-boundary")},To="\\B",Bo='"\\\\B"',Uo=function(){return new Fe("non-word-boundary")},Ko="\\d",nr='"\\\\d"',Ho=function(){return new Fe("digit")},or="\\D",tr='"\\\\D"',wo=function(){return new Fe("non-digit")},So="\\f",Do='"\\\\f"',Qo=function(){return new Fe("form-feed")},pr="\\n",ur='"\\\\n"',cr=function(){return new Fe("line-feed")},vr="\\r",Sr='"\\\\r"',Yr=function(){return new Fe("carriage-return")},Ur="\\s",ii='"\\\\s"',xi=function(){return new Fe("white-space")},mi="\\S",wi='"\\\\S"',bi=function(){return new Fe("non-white-space")},gi="\\t",Ii='"\\\\t"',Gi=function(){return new Fe("tab")},ia="\\v",fa='"\\\\v"',Zi=function(){return new Fe("vertical-tab")},ta="\\w",sa='"\\\\w"',ca=function(){return new Fe("word")},va="\\W",wa='"\\\\W"',Ji=function(){return new Fe("non-word")},ba="\\c",Hi='"\\\\c"',Li="any character",Qi=function(co){return new Sn(co)},Wi="\\",ka='"\\\\"',aa=/^[1-9]/,Ki="[1-9]",pa=function(co){return new wn(co)},Oa="\\0",xa='"\\\\0"',ja=/^[0-7]/,Wa="[0-7]",ma=function(co){return new xn(co.join(""))},ua="\\x",la='"\\\\x"',da=/^[0-9a-fA-F]/,Xi="[0-9a-fA-F]",ga=function(co){return new Cn(co.join(""))},ea="\\u",za='"\\\\u"',Ua=function(co){return new kn(co.join(""))},Ha=function(){return new Fe("null-character")},Jo=0,yi=0,Va=0,Da={line:1,column:1,seenCR:!1},$a=0,Aa=[],ni=0;if("startRule"in Er){if(!(Er.startRule in Rr))throw new Error(`Can't start parsing from rule "`+Er.startRule+'".');Wr=Rr[Er.startRule]}if(Fe.offset=In,Fe.text=Pn,kr=Wr(),kr!==null&&Jo===An.length)return kr;throw Un(Aa),yi=Math.max(Jo,$a),new On(Aa,yikn)return!0;var wn={path:vn,type:hn,actual:bn,expected:kn,action:"is greater than",message:xn};return wn.message=jt.message(wn),Cn.push(wn),!1},lessThan:function(hn,vn,bn,kn,Cn,xn){if(bn=kn)return!0;var wn={path:vn,type:hn,actual:bn,expected:kn,action:"is greater than or equal to",message:xn};return wn.message=jt.message(wn),Cn.push(wn),!1},lessThanOrEqualTo:function(hn,vn,bn,kn,Cn,xn){if(bn<=kn)return!0;var wn={path:vn,type:hn,actual:bn,expected:kn,action:"is less than or equal to",message:xn};return wn.message=jt.message(wn),Cn.push(wn),!1}};Dt.Diff=Lt,Dt.Assert=jt,$e.exports=Dt},function($e,Ie,Fe){$e.exports=Fe(28)},function($e,Ie,Fe){var Ue=Fe(3);window._XMLHttpRequest=window.XMLHttpRequest,window._ActiveXObject=window.ActiveXObject;try{new window.Event("custom")}catch{window.Event=function(xn,wn,Sn,_n){var En=document.createEvent("CustomEvent");return En.initCustomEvent(xn,wn,Sn,_n),En}}var qe={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},At="readystatechange loadstart progress abort error load timeout loadend".split(" "),Dt="timeout withCredentials".split(" "),Lt="readyState responseURL status statusText responseType response responseText responseXML".split(" "),jt={100:"Continue",101:"Switching Protocols",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",300:"Multiple Choice",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Requested Range Not Satisfiable",417:"Expectation Failed",422:"Unprocessable Entity",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported"};function hn(){this.custom={events:{},requestHeaders:{},responseHeaders:{}}}hn._settings={timeout:"10-100"},hn.setup=function(Cn){return Ue.extend(hn._settings,Cn),hn._settings},Ue.extend(hn,qe),Ue.extend(hn.prototype,qe),hn.prototype.mock=!0,hn.prototype.match=!1,Ue.extend(hn.prototype,{open:function(Cn,xn,wn,Sn,_n){var En=this;Ue.extend(this.custom,{method:Cn,url:xn,async:typeof wn=="boolean"?wn:!0,username:Sn,password:_n,options:{url:xn,type:Cn}}),this.custom.timeout=function(Pn){if(typeof Pn=="number")return Pn;if(typeof Pn=="string"&&!~Pn.indexOf("-"))return parseInt(Pn,10);if(typeof Pn=="string"&&~Pn.indexOf("-")){var In=Pn.split("-"),Mn=parseInt(In[0],10),Rn=parseInt(In[1],10);return Math.round(Math.random()*(Rn-Mn))+Mn}}(hn._settings.timeout);var $n=bn(this.custom.options);function Tn(Pn){for(var In=0;In({error:"",status:1,data:Mock.mock({account:$e.account,token:`${$e.account}_@string`,avatar:"https://fantastic-admin.github.io/logo.png"})})},{url:"/mock/user/permission",method:"get",response:({headers:$e})=>{var Fe,Ue;let Ie=[];return((Fe=$e.token)==null?void 0:Fe.indexOf("admin"))===0?Ie=["permission.browse","permission.create","permission.edit","permission.remove"]:((Ue=$e.token)==null?void 0:Ue.indexOf("test"))===0&&(Ie=["permission.browse"]),{error:"",status:1,data:{permissions:Ie}}}},{url:"/mock/user/password/edit",method:"post",response:()=>({error:"",status:1,data:{isSuccess:!0}})}],__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:user},Symbol.toStringTag,{value:"Module"})),modules=Object.assign({"/src/mock/app.ts":__vite_glob_0_0,"/src/mock/user.ts":__vite_glob_0_1}),fakeModuleList$1=Object.keys(modules).reduce(($e,Ie)=>{const Fe=modules[Ie]??{};if(Fe.default)for(const Ue of Object.keys(Fe)){const qe=modules[Ie][Ue]??[],At=Array.isArray(qe)?[...qe]:[qe];return[...$e,...At]}else return $e},[]);window.__VITE__PLUGIN__FAKE__SERVER__.fakeModuleList=fakeModuleList$1;function xhook(){const $e=Fn=>{try{return new URL(Fn),!0}catch{return!1}},Ie=(Fn,Bn)=>Array.prototype.slice.call(Fn,Bn);let Fe=null;typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?Fe=self:typeof global<"u"?Fe=global:window&&(Fe=window);const Ue=Fe,qe=Fe.document,At=["load","loadend","loadstart"],Dt=["progress","abort","error","timeout"],Lt=Fn=>["returnValue","totalSize","position"].includes(Fn),jt=function(Fn,Bn){for(let Dn in Fn){if(Lt(Dn))continue;const Ln=Fn[Dn];try{Bn[Dn]=Ln}catch{}}return Bn},hn=function(Fn,Bn,Dn){const Ln=Vn=>function(zn){const Hn={};for(let Yn in zn){if(Lt(Yn))continue;const Qn=zn[Yn];Hn[Yn]=Qn===Bn?Dn:Qn}return Dn.dispatchEvent(Vn,Hn)};for(let Vn of Array.from(Fn))Dn._has(Vn)&&(Bn[`on${Vn}`]=Ln(Vn))},vn=function(Fn){if(qe&&qe.createEventObject!=null){const Bn=qe.createEventObject();return Bn.type=Fn,Bn}try{return new Event(Fn)}catch{return{type:Fn}}},bn=function(Fn){let Bn={};const Dn=Vn=>Bn[Vn]||[],Ln={};return Ln.addEventListener=function(Vn,zn,Hn){Bn[Vn]=Dn(Vn),!(Bn[Vn].indexOf(zn)>=0)&&(Hn=Hn===void 0?Bn[Vn].length:Hn,Bn[Vn].splice(Hn,0,zn))},Ln.removeEventListener=function(Vn,zn){if(Vn===void 0){Bn={};return}zn===void 0&&(Bn[Vn]=[]);const Hn=Dn(Vn).indexOf(zn);Hn!==-1&&Dn(Vn).splice(Hn,1)},Ln.dispatchEvent=function(){const Vn=Ie(arguments),zn=Vn.shift();Fn||(Vn[0]=jt(Vn[0],vn(zn)),Object.defineProperty(Vn[0],"target",{writable:!1,value:this}));const Hn=Ln[`on${zn}`];Hn&&Hn.apply(Ln,Vn);const Yn=Dn(zn).concat(Dn("*"));for(let Qn=0;Qn!!(Bn[Vn]||Ln[`on${Vn}`]),Fn&&(Ln.listeners=Vn=>Ie(Dn(Vn)),Ln.on=Ln.addEventListener,Ln.off=Ln.removeEventListener,Ln.fire=Ln.dispatchEvent,Ln.once=function(Vn,zn){var Hn=function(){return Ln.off(Vn,Hn),zn.apply(null,arguments)};return Ln.on(Vn,Hn)},Ln.destroy=()=>Bn={}),Ln},kn=`\r +`,Cn=function(Fn){return Object.entries(Fn).map(([Ln,Vn])=>`${Ln.toLowerCase()}: ${Vn}`).join(kn)},xn=function(Fn,Bn){const Dn=Fn.split(kn);Bn==null&&(Bn={});for(let Ln of Dn)if(/([^:]+):\s*(.+)/.test(Ln)){const Vn=RegExp.$1!=null?RegExp.$1.toLowerCase():void 0,zn=RegExp.$2;Bn[Vn]==null&&(Bn[Vn]=zn)}return Bn};var Sn={convert:function(Fn,Bn){switch(typeof Fn){case"object":return Cn(Fn);case"string":return xn(Fn,Bn)}return[]}};const _n=bn(!0),En=Fn=>Fn===void 0?null:Fn,$n=Ue.XMLHttpRequest,Tn=function(){const Bn=new $n,Dn={};let Ln=null,Vn,zn,Hn;var Yn=0;const Qn=function(){if(Hn.status=Ln||Bn.status,Ln!==-1&&(Hn.statusText=Bn.statusText),Ln!==-1){const fo=Sn.convert(Bn.getAllResponseHeaders());for(let Zn in fo){const to=fo[Zn];if(!Hn.headers[Zn]){const ao=Zn.toLowerCase();Hn.headers[ao]=to}}return}},lo=function(){if(!Bn.responseType||Bn.responseType==="text"){Hn.text=Bn.responseText,Hn.data=Bn.responseText;try{Hn.xml=Bn.responseXML}catch{}}else Bn.responseType==="document"?(Hn.xml=Bn.responseXML,Hn.data=Bn.responseXML):Hn.data=Bn.response;"responseURL"in Bn&&(Hn.responseURL=Bn.responseURL)},ro=function(){Xn.status=Hn.status,Xn.statusText=Hn.statusText},no=function(){if("text"in Hn&&(Xn.responseText=Hn.text),"xml"in Hn&&(Xn.responseXML=Hn.xml),"data"in Hn)Xn.response=Hn.data;else{const fo={"":"",text:"",json:null,blob:new Blob([],{type:new Headers(Hn.headers??{}).get("content-type")}),arraybuffer:new ArrayBuffer};Xn.response=fo[Xn.responseType]}("responseURL"in Hn||Dn.url)&&(Xn.responseURL=Hn.responseURL??($e(Dn.url)?Dn.url:new URL(location.href).origin+Dn.url))},qn=function(){Vn||Xn.dispatchEvent("load",{}),Xn.dispatchEvent("loadend",{}),Vn&&(Xn.readyState=0)},Gn=function(fo){for(;fo>Yn&&Yn<4;)Xn.readyState=++Yn,Yn===1&&Xn.dispatchEvent("loadstart",{}),Yn===2&&ro(),Yn===4&&(ro(),no()),Xn.dispatchEvent("readystatechange",{}),Yn===4&&(Dn.async===!1?qn():setTimeout(qn,0))},so=function(fo){if(fo!==4){Gn(fo);return}const Zn=_n.listeners("after");var to=function(){if(Zn.length>0){const ao=Zn.shift();ao.length===2?(ao(Dn,Hn),to()):ao.length===3&&Dn.async?ao(Dn,Hn,to):to()}else Gn(4)};to()};var Xn=bn();Dn.xhr=Xn,Bn.onreadystatechange=function(fo){try{Bn.readyState===2&&Qn()}catch{}Bn.readyState===4&&(zn=!1,Qn(),lo()),so(Bn.readyState)};const io=function(){Vn=!0};Xn.addEventListener("error",io),Xn.addEventListener("timeout",io),Xn.addEventListener("abort",io),Xn.addEventListener("progress",function(fo){Yn<3?so(3):Bn.readyState<=3&&Xn.dispatchEvent("readystatechange",{})}),"withCredentials"in Bn&&(Xn.withCredentials=!1),Xn.status=0;for(let fo of Array.from(Dt.concat(At)))Xn[`on${fo}`]=null;if(Xn.open=function(fo,Zn,to,ao,po){Yn=0,Vn=!1,zn=!1,Dn.headers={},Dn.headerNames={},Dn.status=0,Dn.method=fo,Dn.url=Zn,Dn.async=to!==!1,Dn.user=ao,Dn.pass=po,Hn={},Hn.headers={},so(1)},Xn.send=function(fo){let Zn,to;for(Zn of["type","timeout","withCredentials"])to=Zn==="type"?"responseType":Zn,to in Xn&&(Dn[Zn]=Xn[to]);Dn.body=fo;const ao=function(){hn(Dt,Bn,Xn),Xn.upload&&hn(Dt.concat(At),Bn.upload,Xn.upload),zn=!0,Bn.open(Dn.method,Dn.url,Dn.async,Dn.user,Dn.pass);for(Zn of["type","timeout","withCredentials"])to=Zn==="type"?"responseType":Zn,Zn in Dn&&(Bn[to]=Dn[Zn]);for(let No in Dn.headers){const Mo=Dn.headers[No];No&&Bn.setRequestHeader(No,Mo)}Bn.send(Dn.body)},po=_n.listeners("before");var mo=function(){if(!po.length)return ao();const No=function(vo){if(typeof vo=="object"&&(typeof vo.status=="number"||typeof Hn.status=="number")){jt(vo,Hn),"data"in vo||(vo.data=vo.response||vo.text),so(4);return}mo()};No.head=function(vo){jt(vo,Hn),so(2)},No.progress=function(vo){jt(vo,Hn),so(3)};const Mo=po.shift();Mo.length===1?No(Mo(Dn)):Mo.length===2&&Dn.async?Mo(Dn,No):No()};mo()},Xn.abort=function(){Ln=-1,zn?Bn.abort():Xn.dispatchEvent("abort",{})},Xn.setRequestHeader=function(fo,Zn){const to=fo!=null?fo.toLowerCase():void 0,ao=Dn.headerNames[to]=Dn.headerNames[to]||fo;Dn.headers[ao]&&(Zn=Dn.headers[ao]+", "+Zn),Dn.headers[ao]=Zn},Xn.getResponseHeader=fo=>En(Hn.headers[fo?fo.toLowerCase():void 0]),Xn.getAllResponseHeaders=()=>En(Sn.convert(Hn.headers)),Bn.overrideMimeType&&(Xn.overrideMimeType=function(){Bn.overrideMimeType.apply(Bn,arguments)}),Bn.upload){let fo=bn();Xn.upload=fo,Dn.upload=fo}return Xn.UNSENT=0,Xn.OPENED=1,Xn.HEADERS_RECEIVED=2,Xn.LOADING=3,Xn.DONE=4,Xn.response="",Xn.responseText="",Xn.responseXML=null,Xn.readyState=0,Xn.statusText="",Xn};Tn.UNSENT=0,Tn.OPENED=1,Tn.HEADERS_RECEIVED=2,Tn.LOADING=3,Tn.DONE=4;var On={patch(){$n&&(Ue.XMLHttpRequest=Tn)},unpatch(){$n&&(Ue.XMLHttpRequest=$n)},Native:$n,Xhook:Tn};function Nn(Fn,Bn){var Dn={};for(var Ln in Fn)Object.prototype.hasOwnProperty.call(Fn,Ln)&&Bn.indexOf(Ln)<0&&(Dn[Ln]=Fn[Ln]);if(Fn!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vn=0,Ln=Object.getOwnPropertySymbols(Fn);VnDn[Ln]=Fn[Ln]),Dn}function Mn(Fn){return Fn instanceof Headers?Rn([...Fn.entries()]):Array.isArray(Fn)?Rn(Fn):Fn}function Rn(Fn){return Fn.reduce((Bn,[Dn,Ln])=>(Bn[Dn]=Ln,Bn),{})}const Un=function(Fn,Bn={headers:{}}){let Dn=Object.assign(Object.assign({},Bn),{isFetch:!0});if(Fn instanceof Request){const zn=In(Fn),Hn=Object.assign(Object.assign({},Mn(zn.headers)),Mn(Dn.headers));Dn=Object.assign(Object.assign(Object.assign({},zn),Bn),{headers:Hn,acceptedRequest:!0,isFetch:!0})}else Dn.url=Fn;const Ln=_n.listeners("before"),Vn=_n.listeners("after");return new Promise(function(zn,Hn){let Yn=zn;const Qn=function(qn){if(!Vn.length)return Yn(qn);const Gn=Vn.shift();return Gn.length===2?(Gn(Dn,qn),Qn(qn)):Gn.length===3?Gn(Dn,qn,Qn):Qn(qn)},lo=function(qn){if(qn!==void 0){const Gn=new Response(qn.body||qn.text,qn);Object.defineProperty(Gn,"url",{value:$e(Dn.url)?Dn.url:new URL(location.href).origin+Dn.url}),zn(Gn),Qn(Gn);return}ro()},ro=function(){if(!Ln.length){no();return}const qn=Ln.shift();if(qn.length===1)return lo(qn(Dn));if(qn.length===2)return qn(Dn,lo)},no=()=>An(this,void 0,void 0,function*(){const{url:qn,isFetch:Gn,acceptedRequest:so}=Dn,Xn=Nn(Dn,["url","isFetch","acceptedRequest"]);return Fn instanceof Request&&Xn.body instanceof ReadableStream&&(Xn.body=yield new Response(Xn.body).text()),Pn(qn,Xn).then(io=>Qn(io)).catch(function(io){return Yn=Hn,Qn(io),Hn(io)})});ro()})};var Wn={patch(){Pn&&(Ue.fetch=Un)},unpatch(){Pn&&(Ue.fetch=Pn)},Native:Pn,Xhook:Un};const jn=_n;return jn.EventEmitter=bn,jn.before=function(Fn,Bn){if(Fn.length<1||Fn.length>2)throw"invalid hook";return jn.on("before",Fn,Bn)},jn.after=function(Fn,Bn){if(Fn.length<2||Fn.length>3)throw"invalid hook";return jn.on("after",Fn,Bn)},jn.enable=function(){On.patch(),Wn.patch()},jn.disable=function(){On.unpatch(),Wn.unpatch()},jn.XMLHttpRequest=On.Native,jn.fetch=Wn.Native,jn.headers=Sn.convert,jn.enable(),jn}window.__VITE__PLUGIN__FAKE__SERVER__.xhook=xhook();function lexer($e){for(var Ie=[],Fe=0;Fe<$e.length;){var Ue=$e[Fe];if(Ue==="*"||Ue==="+"||Ue==="?"){Ie.push({type:"MODIFIER",index:Fe,value:$e[Fe++]});continue}if(Ue==="\\"){Ie.push({type:"ESCAPED_CHAR",index:Fe++,value:$e[Fe++]});continue}if(Ue==="{"){Ie.push({type:"OPEN",index:Fe,value:$e[Fe++]});continue}if(Ue==="}"){Ie.push({type:"CLOSE",index:Fe,value:$e[Fe++]});continue}if(Ue===":"){for(var qe="",At=Fe+1;At<$e.length;){var Dt=$e.charCodeAt(At);if(Dt>=48&&Dt<=57||Dt>=65&&Dt<=90||Dt>=97&&Dt<=122||Dt===95){qe+=$e[At++];continue}break}if(!qe)throw new TypeError("Missing parameter name at ".concat(Fe));Ie.push({type:"NAME",index:Fe,value:qe}),Fe=At;continue}if(Ue==="("){var Lt=1,jt="",At=Fe+1;if($e[At]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(At));for(;At<$e.length;){if($e[At]==="\\"){jt+=$e[At++]+$e[At++];continue}if($e[At]===")"){if(Lt--,Lt===0){At++;break}}else if($e[At]==="("&&(Lt++,$e[At+1]!=="?"))throw new TypeError("Capturing groups are not allowed at ".concat(At));jt+=$e[At++]}if(Lt)throw new TypeError("Unbalanced pattern at ".concat(Fe));if(!jt)throw new TypeError("Missing pattern at ".concat(Fe));Ie.push({type:"PATTERN",index:Fe,value:jt}),Fe=At;continue}Ie.push({type:"CHAR",index:Fe,value:$e[Fe++]})}return Ie.push({type:"END",index:Fe,value:""}),Ie}function parse($e,Ie){Ie===void 0&&(Ie={});for(var Fe=lexer($e),Ue=Ie.prefixes,qe=Ue===void 0?"./":Ue,At="[^".concat(escapeString(Ie.delimiter||"/#?"),"]+?"),Dt=[],Lt=0,jt=0,hn="",vn=function(Nn){if(jt)?(?!\?)/g,Ue=0,qe=Fe.exec($e.source);qe;)Ie.push({name:qe[1]||Ue++,prefix:"",suffix:"",modifier:"",pattern:""}),qe=Fe.exec($e.source);return $e}function arrayToRegexp($e,Ie,Fe){var Ue=$e.map(function(qe){return pathToRegexp$1(qe,Ie,Fe).source});return new RegExp("(?:".concat(Ue.join("|"),")"),flags(Fe))}function stringToRegexp($e,Ie,Fe){return tokensToRegexp(parse($e,Fe),Ie,Fe)}function tokensToRegexp($e,Ie,Fe){Fe===void 0&&(Fe={});for(var Ue=Fe.strict,qe=Ue===void 0?!1:Ue,At=Fe.start,Dt=At===void 0?!0:At,Lt=Fe.end,jt=Lt===void 0?!0:Lt,hn=Fe.encode,vn=hn===void 0?function(Mn){return Mn}:hn,bn=Fe.delimiter,kn=bn===void 0?"/#?":bn,Cn=Fe.endsWith,xn=Cn===void 0?"":Cn,wn="[".concat(escapeString(xn),"]|$"),Sn="[".concat(escapeString(kn),"]"),_n=Dt?"^":"",En=0,$n=$e;En<$n.length;En++){var Tn=$n[En];if(typeof Tn=="string")_n+=escapeString(vn(Tn));else{var On=escapeString(vn(Tn.prefix)),Nn=escapeString(vn(Tn.suffix));if(Tn.pattern)if(Ie&&Ie.push(Tn),On||Nn)if(Tn.modifier==="+"||Tn.modifier==="*"){var An=Tn.modifier==="*"?"?":"";_n+="(?:".concat(On,"((?:").concat(Tn.pattern,")(?:").concat(Nn).concat(On,"(?:").concat(Tn.pattern,"))*)").concat(Nn,")").concat(An)}else _n+="(?:".concat(On,"(").concat(Tn.pattern,")").concat(Nn,")").concat(Tn.modifier);else Tn.modifier==="+"||Tn.modifier==="*"?_n+="((?:".concat(Tn.pattern,")").concat(Tn.modifier,")"):_n+="(".concat(Tn.pattern,")").concat(Tn.modifier);else _n+="(?:".concat(On).concat(Nn,")").concat(Tn.modifier)}}if(jt)qe||(_n+="".concat(Sn,"?")),_n+=Fe.endsWith?"(?=".concat(wn,")"):"$";else{var Pn=$e[$e.length-1],In=typeof Pn=="string"?Sn.indexOf(Pn[Pn.length-1])>-1:Pn===void 0;qe||(_n+="(?:".concat(Sn,"(?=").concat(wn,"))?")),In||(_n+="(?=".concat(Sn,"|").concat(wn,")"))}return new RegExp(_n,flags(Fe))}function pathToRegexp$1($e,Ie,Fe){return $e instanceof RegExp?regexpToRegexp($e,Ie):Array.isArray($e)?arrayToRegexp($e,Ie,Fe):stringToRegexp($e,Ie,Fe)}window.__VITE__PLUGIN__FAKE__SERVER__.pathToRegexp={pathToRegexp:pathToRegexp$1,match:match$1};const fakeModuleList=window.__VITE__PLUGIN__FAKE__SERVER__.fakeModuleList,{pathToRegexp,match}=window.__VITE__PLUGIN__FAKE__SERVER__.pathToRegexp;window.__VITE__PLUGIN__FAKE__SERVER__.xhook.before(async function($e,Ie){function Fe(jt){return new Promise(hn=>{const vn=setTimeout(()=>{hn(vn),clearTimeout(vn)},jt)})}function Ue(jt){let hn="";try{hn=JSON.parse(jt)}catch{hn=jt}return hn}async function qe({URL:jt,req:hn,fakeModuleList:vn,pathToRegexp:bn,match:kn,basename:Cn,defaultTimeout:xn,globalResponseHeaders:wn}){function Sn(_n,En){const $n=new jt(_n,"http://localhost:5173/").pathname,Tn=new jt(En,"http://localhost:5173/").pathname;return $n.endsWith("/")?$n.slice(0,-1)+Tn:$n+Tn}if(hn.url){const _n=new jt(hn.url,"http://localhost:5173/"),En=_n.pathname,$n=vn.find(Tn=>{if(!En||!Tn||!Tn.url)return!1;const On=Tn.method??"GET",Nn=hn.method??"GET";if(On.toUpperCase()!==Nn.toUpperCase())return!1;const An=Sn(Cn,Tn.url);return bn(An).test(En)});if($n){const{response:Tn,rawResponse:On,timeout:Nn=xn,statusCode:An,statusText:Pn,url:In,headers:Mn={}}=$n;Nn&&await Fe(Nn);const Rn=Sn(Cn,In),Un=kn(Rn,{encode:encodeURI}),Wn=_n.searchParams,jn={};for(const[Bn,Dn]of Wn.entries())if(jn.hasOwnProperty(Bn)){const Ln=jn[Bn];Array.isArray(Ln)?Ln.push(Dn):jn[Bn]=[Ln,Dn]}else jn[Bn]=Dn;let Fn={};if(En){const Bn=Un(En);Bn&&(Fn=Bn.params)}return{response:Tn,rawResponse:On,timeout:Nn,statusCode:An??200,statusText:Pn,url:hn.url,query:jn,params:Fn,responseHeaders:new Headers({...wn,...Mn})}}}}const At={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"};function Dt(jt){const hn={};for(const[vn,bn]of jt.entries())hn[vn]=bn;return hn}const Lt=await qe({URL,req:$e,fakeModuleList,pathToRegexp,match,basename:"",defaultTimeout:void 0,globalResponseHeaders:{}});if(Lt){const{response:jt,statusCode:hn,statusText:vn=At[hn],url:bn,query:kn,params:Cn,responseHeaders:xn}=Lt??{},wn="",Sn=typeof jt=="function",_n={};for(const $n in $e.headers)_n[$n.toLowerCase()]=$e.headers[$n];const En=!Sn||await Promise.resolve(jt({url:bn,body:Ue($e.body),rawBody:$e.body,query:kn,params:Cn,headers:_n}));if($e.isFetch)typeof En=="string"?(xn.get("Content-Type")||xn.set("Content-Type","text/plain"),Ie(new Response(Sn?En:null,{statusText:wn,status:hn,headers:Dt(xn)}))):(xn.get("Content-Type")||xn.set("Content-Type","application/json"),Ie(new Response(Sn?JSON.stringify(En,null,2):null,{statusText:wn,status:hn,headers:Dt(xn)})));else{const $n=Sn?{data:En}:{};if(!$e.type||$e.type.toLowerCase()==="text")xn.get("Content-Type")||xn.set("Content-Type","text/plain"),Ie({statusText:wn,status:hn,text:En,...$n,headers:Dt(xn)});else if($e.type.toLowerCase()==="json")xn.get("Content-Type")||xn.set("Content-Type","application/json"),Ie({statusText:wn,status:hn,...$n,headers:Dt(xn)});else if($e.type.toLowerCase()==="document"){xn.get("Content-Type")||xn.set("Content-Type","application/xml");const On=new DOMParser().parseFromString(En,"application/xml");Ie({statusText:wn,status:hn,xml:On,data:On,headers:Dt(xn)})}else Ie({statusText:wn,status:hn,...$n,headers:Dt(xn)})}}else Ie()});(function(){var Fe;const $e=document.createElement("script");$e.src="https://hm.baidu.com/hm.js?7bb58fdfd1fe8ab146d4b4f23686b768";const Ie=document.getElementsByTagName("script")[0];(Fe=Ie.parentNode)==null||Fe.insertBefore($e,Ie)})();{const $e="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",Ie=`${$e} background: #e24329;`,Fe=`${$e} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",Fe,Ie,Fe,` +https://fantastic-admin.github.io`):console.info("%cPowered by%cFantastic-admin",Fe,Ie,` +https://fantastic-admin.github.io`)}/** +* @vue/shared v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function makeMap($e,Ie){const Fe=new Set($e.split(","));return Ue=>Fe.has(Ue)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=$e=>$e.charCodeAt(0)===111&&$e.charCodeAt(1)===110&&($e.charCodeAt(2)>122||$e.charCodeAt(2)<97),isModelListener=$e=>$e.startsWith("onUpdate:"),extend$1=Object.assign,remove$3=($e,Ie)=>{const Fe=$e.indexOf(Ie);Fe>-1&&$e.splice(Fe,1)},hasOwnProperty$g=Object.prototype.hasOwnProperty,hasOwn=($e,Ie)=>hasOwnProperty$g.call($e,Ie),isArray$w=Array.isArray,isMap$3=$e=>toTypeString($e)==="[object Map]",isSet$3=$e=>toTypeString($e)==="[object Set]",isDate$a=$e=>toTypeString($e)==="[object Date]",isRegExp$5=$e=>toTypeString($e)==="[object RegExp]",isFunction$i=$e=>typeof $e=="function",isString$d=$e=>typeof $e=="string",isSymbol$4=$e=>typeof $e=="symbol",isObject$9=$e=>$e!==null&&typeof $e=="object",isPromise=$e=>(isObject$9($e)||isFunction$i($e))&&isFunction$i($e.then)&&isFunction$i($e.catch),objectToString$4=Object.prototype.toString,toTypeString=$e=>objectToString$4.call($e),toRawType=$e=>toTypeString($e).slice(8,-1),isPlainObject$b=$e=>toTypeString($e)==="[object Object]",isIntegerKey=$e=>isString$d($e)&&$e!=="NaN"&&$e[0]!=="-"&&""+parseInt($e,10)===$e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction$1=$e=>{const Ie=Object.create(null);return Fe=>Ie[Fe]||(Ie[Fe]=$e(Fe))},camelizeRE$1=/-(\w)/g,camelize$1=cacheStringFunction$1($e=>$e.replace(camelizeRE$1,(Ie,Fe)=>Fe?Fe.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction$1($e=>$e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction$1($e=>$e.charAt(0).toUpperCase()+$e.slice(1)),toHandlerKey=cacheStringFunction$1($e=>$e?`on${capitalize$1($e)}`:""),hasChanged=($e,Ie)=>!Object.is($e,Ie),invokeArrayFns=($e,...Ie)=>{for(let Fe=0;Fe<$e.length;Fe++)$e[Fe](...Ie)},def=($e,Ie,Fe,Ue=!1)=>{Object.defineProperty($e,Ie,{configurable:!0,enumerable:!1,writable:Ue,value:Fe})},looseToNumber=$e=>{const Ie=parseFloat($e);return isNaN(Ie)?$e:Ie},toNumber$9=$e=>{const Ie=isString$d($e)?Number($e):NaN;return isNaN(Ie)?$e:Ie};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_ALLOWED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle($e){if(isArray$w($e)){const Ie={};for(let Fe=0;Fe<$e.length;Fe++){const Ue=$e[Fe],qe=isString$d(Ue)?parseStringStyle(Ue):normalizeStyle(Ue);if(qe)for(const At in qe)Ie[At]=qe[At]}return Ie}else if(isString$d($e)||isObject$9($e))return $e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle($e){const Ie={};return $e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(Fe=>{if(Fe){const Ue=Fe.split(propertyDelimiterRE);Ue.length>1&&(Ie[Ue[0].trim()]=Ue[1].trim())}}),Ie}function normalizeClass($e){let Ie="";if(isString$d($e))Ie=$e;else if(isArray$w($e))for(let Fe=0;Fe<$e.length;Fe++){const Ue=normalizeClass($e[Fe]);Ue&&(Ie+=Ue+" ")}else if(isObject$9($e))for(const Fe in $e)$e[Fe]&&(Ie+=Fe+" ");return Ie.trim()}function normalizeProps($e){if(!$e)return null;let{class:Ie,style:Fe}=$e;return Ie&&!isString$d(Ie)&&($e.class=normalizeClass(Ie)),Fe&&($e.style=normalizeStyle(Fe)),$e}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr($e){return!!$e||$e===""}function looseCompareArrays($e,Ie){if($e.length!==Ie.length)return!1;let Fe=!0;for(let Ue=0;Fe&&Ue<$e.length;Ue++)Fe=looseEqual($e[Ue],Ie[Ue]);return Fe}function looseEqual($e,Ie){if($e===Ie)return!0;let Fe=isDate$a($e),Ue=isDate$a(Ie);if(Fe||Ue)return Fe&&Ue?$e.getTime()===Ie.getTime():!1;if(Fe=isSymbol$4($e),Ue=isSymbol$4(Ie),Fe||Ue)return $e===Ie;if(Fe=isArray$w($e),Ue=isArray$w(Ie),Fe||Ue)return Fe&&Ue?looseCompareArrays($e,Ie):!1;if(Fe=isObject$9($e),Ue=isObject$9(Ie),Fe||Ue){if(!Fe||!Ue)return!1;const qe=Object.keys($e).length,At=Object.keys(Ie).length;if(qe!==At)return!1;for(const Dt in $e){const Lt=$e.hasOwnProperty(Dt),jt=Ie.hasOwnProperty(Dt);if(Lt&&!jt||!Lt&&jt||!looseEqual($e[Dt],Ie[Dt]))return!1}}return String($e)===String(Ie)}function looseIndexOf($e,Ie){return $e.findIndex(Fe=>looseEqual(Fe,Ie))}const toDisplayString=$e=>isString$d($e)?$e:$e==null?"":isArray$w($e)||isObject$9($e)&&($e.toString===objectToString$4||!isFunction$i($e.toString))?JSON.stringify($e,replacer,2):String($e),replacer=($e,Ie)=>Ie&&Ie.__v_isRef?replacer($e,Ie.value):isMap$3(Ie)?{[`Map(${Ie.size})`]:[...Ie.entries()].reduce((Fe,[Ue,qe],At)=>(Fe[stringifySymbol(Ue,At)+" =>"]=qe,Fe),{})}:isSet$3(Ie)?{[`Set(${Ie.size})`]:[...Ie.values()].map(Fe=>stringifySymbol(Fe))}:isSymbol$4(Ie)?stringifySymbol(Ie):isObject$9(Ie)&&!isArray$w(Ie)&&!isPlainObject$b(Ie)?String(Ie):Ie,stringifySymbol=($e,Ie="")=>{var Fe;return isSymbol$4($e)?`Symbol(${(Fe=$e.description)!=null?Fe:Ie})`:$e};/** +* @vue/reactivity v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let activeEffectScope;class EffectScope{constructor(Ie=!1){this.detached=Ie,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!Ie&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(Ie){if(this._active){const Fe=activeEffectScope;try{return activeEffectScope=this,Ie()}finally{activeEffectScope=Fe}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(Ie){if(this._active){let Fe,Ue;for(Fe=0,Ue=this.effects.length;Fe=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=5}set dirty(Ie){this._dirtyLevel=Ie?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let Ie=shouldTrack,Fe=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=Fe,shouldTrack=Ie}}stop(){this.active&&(preCleanupEffect(this),postCleanupEffect(this),this.onStop&&this.onStop(),this.active=!1)}}function triggerComputed($e){return $e.value}function preCleanupEffect($e){$e._trackId++,$e._depsLength=0}function postCleanupEffect($e){if($e.deps.length>$e._depsLength){for(let Ie=$e._depsLength;Ie<$e.deps.length;Ie++)cleanupDepEffect($e.deps[Ie],$e);$e.deps.length=$e._depsLength}}function cleanupDepEffect($e,Ie){const Fe=$e.get(Ie);Fe!==void 0&&Ie._trackId!==Fe&&($e.delete(Ie),$e.size===0&&$e.cleanup())}function effect($e,Ie){$e.effect instanceof ReactiveEffect&&($e=$e.effect.fn);const Fe=new ReactiveEffect($e,NOOP,()=>{Fe.dirty&&Fe.run()});Ie&&(extend$1(Fe,Ie),Ie.scope&&recordEffectScope(Fe,Ie.scope)),(!Ie||!Ie.lazy)&&Fe.run();const Ue=Fe.run.bind(Fe);return Ue.effect=Fe,Ue}function stop($e){$e.effect.stop()}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const $e=trackStack.pop();shouldTrack=$e===void 0?!0:$e}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect($e,Ie,Fe){if(Ie.get($e)!==$e._trackId){Ie.set($e,$e._trackId);const Ue=$e.deps[$e._depsLength];Ue!==Ie?(Ue&&cleanupDepEffect(Ue,$e),$e.deps[$e._depsLength++]=Ie):$e._depsLength++}}const queueEffectSchedulers=[];function triggerEffects($e,Ie,Fe){pauseScheduling();for(const Ue of $e.keys()){if(!$e.computed&&Ue.computed&&$e.get(Ue)===Ue._trackId&&Ue._runnings>0){Ue._dirtyLevel=2;continue}let qe;Ue._dirtyLevel{const Fe=new Map;return Fe.cleanup=$e,Fe.computed=Ie,Fe},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track($e,Ie,Fe){if(shouldTrack&&activeEffect){let Ue=targetMap.get($e);Ue||targetMap.set($e,Ue=new Map);let qe=Ue.get(Fe);qe||Ue.set(Fe,qe=createDep(()=>Ue.delete(Fe))),trackEffect(activeEffect,qe)}}function trigger$1($e,Ie,Fe,Ue,qe,At){const Dt=targetMap.get($e);if(!Dt)return;let Lt=[];if(Ie==="clear")Lt=[...Dt.values()];else if(Fe==="length"&&isArray$w($e)){const jt=Number(Ue);Dt.forEach((hn,vn)=>{(vn==="length"||!isSymbol$4(vn)&&vn>=jt)&&Lt.push(hn)})}else switch(Fe!==void 0&&Lt.push(Dt.get(Fe)),Ie){case"add":isArray$w($e)?isIntegerKey(Fe)&&Lt.push(Dt.get("length")):(Lt.push(Dt.get(ITERATE_KEY)),isMap$3($e)&&Lt.push(Dt.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$w($e)||(Lt.push(Dt.get(ITERATE_KEY)),isMap$3($e)&&Lt.push(Dt.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$3($e)&&Lt.push(Dt.get(ITERATE_KEY));break}pauseScheduling();for(const jt of Lt)jt&&triggerEffects(jt,5);resetScheduling()}function getDepFromReactive($e,Ie){const Fe=targetMap.get($e);return Fe&&Fe.get(Ie)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter($e=>$e!=="arguments"&&$e!=="caller").map($e=>Symbol[$e]).filter(isSymbol$4)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const $e={};return["includes","indexOf","lastIndexOf"].forEach(Ie=>{$e[Ie]=function(...Fe){const Ue=toRaw(this);for(let At=0,Dt=this.length;At{$e[Ie]=function(...Fe){pauseTracking(),pauseScheduling();const Ue=toRaw(this)[Ie].apply(this,Fe);return resetScheduling(),resetTracking(),Ue}}),$e}function hasOwnProperty$f($e){isSymbol$4($e)||($e=String($e));const Ie=toRaw(this);return track(Ie,"has",$e),Ie.hasOwnProperty($e)}class BaseReactiveHandler{constructor(Ie=!1,Fe=!1){this._isReadonly=Ie,this._isShallow=Fe}get(Ie,Fe,Ue){const qe=this._isReadonly,At=this._isShallow;if(Fe==="__v_isReactive")return!qe;if(Fe==="__v_isReadonly")return qe;if(Fe==="__v_isShallow")return At;if(Fe==="__v_raw")return Ue===(qe?At?shallowReadonlyMap:readonlyMap:At?shallowReactiveMap:reactiveMap).get(Ie)||Object.getPrototypeOf(Ie)===Object.getPrototypeOf(Ue)?Ie:void 0;const Dt=isArray$w(Ie);if(!qe){if(Dt&&hasOwn(arrayInstrumentations,Fe))return Reflect.get(arrayInstrumentations,Fe,Ue);if(Fe==="hasOwnProperty")return hasOwnProperty$f}const Lt=Reflect.get(Ie,Fe,Ue);return(isSymbol$4(Fe)?builtInSymbols.has(Fe):isNonTrackableKeys(Fe))||(qe||track(Ie,"get",Fe),At)?Lt:isRef(Lt)?Dt&&isIntegerKey(Fe)?Lt:Lt.value:isObject$9(Lt)?qe?readonly(Lt):reactive(Lt):Lt}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(Ie=!1){super(!1,Ie)}set(Ie,Fe,Ue,qe){let At=Ie[Fe];if(!this._isShallow){const jt=isReadonly(At);if(!isShallow(Ue)&&!isReadonly(Ue)&&(At=toRaw(At),Ue=toRaw(Ue)),!isArray$w(Ie)&&isRef(At)&&!isRef(Ue))return jt?!1:(At.value=Ue,!0)}const Dt=isArray$w(Ie)&&isIntegerKey(Fe)?Number(Fe)$e,getProto=$e=>Reflect.getPrototypeOf($e);function get$7($e,Ie,Fe=!1,Ue=!1){$e=$e.__v_raw;const qe=toRaw($e),At=toRaw(Ie);Fe||(hasChanged(Ie,At)&&track(qe,"get",Ie),track(qe,"get",At));const{has:Dt}=getProto(qe),Lt=Ue?toShallow:Fe?toReadonly:toReactive;if(Dt.call(qe,Ie))return Lt($e.get(Ie));if(Dt.call(qe,At))return Lt($e.get(At));$e!==qe&&$e.get(Ie)}function has$2($e,Ie=!1){const Fe=this.__v_raw,Ue=toRaw(Fe),qe=toRaw($e);return Ie||(hasChanged($e,qe)&&track(Ue,"has",$e),track(Ue,"has",qe)),$e===qe?Fe.has($e):Fe.has($e)||Fe.has(qe)}function size$1($e,Ie=!1){return $e=$e.__v_raw,!Ie&&track(toRaw($e),"iterate",ITERATE_KEY),Reflect.get($e,"size",$e)}function add$2($e){$e=toRaw($e);const Ie=toRaw(this);return getProto(Ie).has.call(Ie,$e)||(Ie.add($e),trigger$1(Ie,"add",$e,$e)),this}function set$3($e,Ie){Ie=toRaw(Ie);const Fe=toRaw(this),{has:Ue,get:qe}=getProto(Fe);let At=Ue.call(Fe,$e);At||($e=toRaw($e),At=Ue.call(Fe,$e));const Dt=qe.call(Fe,$e);return Fe.set($e,Ie),At?hasChanged(Ie,Dt)&&trigger$1(Fe,"set",$e,Ie):trigger$1(Fe,"add",$e,Ie),this}function deleteEntry($e){const Ie=toRaw(this),{has:Fe,get:Ue}=getProto(Ie);let qe=Fe.call(Ie,$e);qe||($e=toRaw($e),qe=Fe.call(Ie,$e)),Ue&&Ue.call(Ie,$e);const At=Ie.delete($e);return qe&&trigger$1(Ie,"delete",$e,void 0),At}function clear$3(){const $e=toRaw(this),Ie=$e.size!==0,Fe=$e.clear();return Ie&&trigger$1($e,"clear",void 0,void 0),Fe}function createForEach($e,Ie){return function(Ue,qe){const At=this,Dt=At.__v_raw,Lt=toRaw(Dt),jt=Ie?toShallow:$e?toReadonly:toReactive;return!$e&&track(Lt,"iterate",ITERATE_KEY),Dt.forEach((hn,vn)=>Ue.call(qe,jt(hn),jt(vn),At))}}function createIterableMethod($e,Ie,Fe){return function(...Ue){const qe=this.__v_raw,At=toRaw(qe),Dt=isMap$3(At),Lt=$e==="entries"||$e===Symbol.iterator&&Dt,jt=$e==="keys"&&Dt,hn=qe[$e](...Ue),vn=Fe?toShallow:Ie?toReadonly:toReactive;return!Ie&&track(At,"iterate",jt?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:bn,done:kn}=hn.next();return kn?{value:bn,done:kn}:{value:Lt?[vn(bn[0]),vn(bn[1])]:vn(bn),done:kn}},[Symbol.iterator](){return this}}}}function createReadonlyMethod($e){return function(...Ie){return $e==="delete"?!1:$e==="clear"?void 0:this}}function createInstrumentations(){const $e={get(At){return get$7(this,At)},get size(){return size$1(this)},has:has$2,add:add$2,set:set$3,delete:deleteEntry,clear:clear$3,forEach:createForEach(!1,!1)},Ie={get(At){return get$7(this,At,!1,!0)},get size(){return size$1(this)},has:has$2,add:add$2,set:set$3,delete:deleteEntry,clear:clear$3,forEach:createForEach(!1,!0)},Fe={get(At){return get$7(this,At,!0)},get size(){return size$1(this,!0)},has(At){return has$2.call(this,At,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},Ue={get(At){return get$7(this,At,!0,!0)},get size(){return size$1(this,!0)},has(At){return has$2.call(this,At,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(At=>{$e[At]=createIterableMethod(At,!1,!1),Fe[At]=createIterableMethod(At,!0,!1),Ie[At]=createIterableMethod(At,!1,!0),Ue[At]=createIterableMethod(At,!0,!0)}),[$e,Fe,Ie,Ue]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter($e,Ie){const Fe=Ie?$e?shallowReadonlyInstrumentations:shallowInstrumentations:$e?readonlyInstrumentations:mutableInstrumentations;return(Ue,qe,At)=>qe==="__v_isReactive"?!$e:qe==="__v_isReadonly"?$e:qe==="__v_raw"?Ue:Reflect.get(hasOwn(Fe,qe)&&qe in Ue?Fe:Ue,qe,At)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap($e){switch($e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType($e){return $e.__v_skip||!Object.isExtensible($e)?0:targetTypeMap(toRawType($e))}function reactive($e){return isReadonly($e)?$e:createReactiveObject($e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive($e){return createReactiveObject($e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly($e){return createReactiveObject($e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly($e){return createReactiveObject($e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject($e,Ie,Fe,Ue,qe){if(!isObject$9($e)||$e.__v_raw&&!(Ie&&$e.__v_isReactive))return $e;const At=qe.get($e);if(At)return At;const Dt=getTargetType($e);if(Dt===0)return $e;const Lt=new Proxy($e,Dt===2?Ue:Fe);return qe.set($e,Lt),Lt}function isReactive($e){return isReadonly($e)?isReactive($e.__v_raw):!!($e&&$e.__v_isReactive)}function isReadonly($e){return!!($e&&$e.__v_isReadonly)}function isShallow($e){return!!($e&&$e.__v_isShallow)}function isProxy($e){return $e?!!$e.__v_raw:!1}function toRaw($e){const Ie=$e&&$e.__v_raw;return Ie?toRaw(Ie):$e}function markRaw($e){return Object.isExtensible($e)&&def($e,"__v_skip",!0),$e}const toReactive=$e=>isObject$9($e)?reactive($e):$e,toReadonly=$e=>isObject$9($e)?readonly($e):$e;class ComputedRefImpl{constructor(Ie,Fe,Ue,qe){this.getter=Ie,this._setter=Fe,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>Ie(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!qe,this.__v_isReadonly=Ue}get value(){const Ie=toRaw(this);return(!Ie._cacheable||Ie.effect.dirty)&&hasChanged(Ie._value,Ie._value=Ie.effect.run())&&triggerRefValue(Ie,5),trackRefValue(Ie),Ie.effect._dirtyLevel>=2&&triggerRefValue(Ie,3),Ie._value}set value(Ie){this._setter(Ie)}get _dirty(){return this.effect.dirty}set _dirty(Ie){this.effect.dirty=Ie}}function computed$1($e,Ie,Fe=!1){let Ue,qe;const At=isFunction$i($e);return At?(Ue=$e,qe=NOOP):(Ue=$e.get,qe=$e.set),new ComputedRefImpl(Ue,qe,At||!qe,Fe)}function trackRefValue($e){var Ie;shouldTrack&&activeEffect&&($e=toRaw($e),trackEffect(activeEffect,(Ie=$e.dep)!=null?Ie:$e.dep=createDep(()=>$e.dep=void 0,$e instanceof ComputedRefImpl?$e:void 0)))}function triggerRefValue($e,Ie=5,Fe,Ue){$e=toRaw($e);const qe=$e.dep;qe&&triggerEffects(qe,Ie)}function isRef($e){return!!($e&&$e.__v_isRef===!0)}function ref($e){return createRef($e,!1)}function shallowRef($e){return createRef($e,!0)}function createRef($e,Ie){return isRef($e)?$e:new RefImpl($e,Ie)}class RefImpl{constructor(Ie,Fe){this.__v_isShallow=Fe,this.dep=void 0,this.__v_isRef=!0,this._rawValue=Fe?Ie:toRaw(Ie),this._value=Fe?Ie:toReactive(Ie)}get value(){return trackRefValue(this),this._value}set value(Ie){const Fe=this.__v_isShallow||isShallow(Ie)||isReadonly(Ie);Ie=Fe?Ie:toRaw(Ie),hasChanged(Ie,this._rawValue)&&(this._rawValue,this._rawValue=Ie,this._value=Fe?Ie:toReactive(Ie),triggerRefValue(this,5))}}function triggerRef($e){triggerRefValue($e,5)}function unref($e){return isRef($e)?$e.value:$e}function toValue$1($e){return isFunction$i($e)?$e():unref($e)}const shallowUnwrapHandlers={get:($e,Ie,Fe)=>unref(Reflect.get($e,Ie,Fe)),set:($e,Ie,Fe,Ue)=>{const qe=$e[Ie];return isRef(qe)&&!isRef(Fe)?(qe.value=Fe,!0):Reflect.set($e,Ie,Fe,Ue)}};function proxyRefs($e){return isReactive($e)?$e:new Proxy($e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(Ie){this.dep=void 0,this.__v_isRef=!0;const{get:Fe,set:Ue}=Ie(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=Fe,this._set=Ue}get value(){return this._get()}set value(Ie){this._set(Ie)}}function customRef($e){return new CustomRefImpl($e)}function toRefs($e){const Ie=isArray$w($e)?new Array($e.length):{};for(const Fe in $e)Ie[Fe]=propertyToRef($e,Fe);return Ie}class ObjectRefImpl{constructor(Ie,Fe,Ue){this._object=Ie,this._key=Fe,this._defaultValue=Ue,this.__v_isRef=!0}get value(){const Ie=this._object[this._key];return Ie===void 0?this._defaultValue:Ie}set value(Ie){this._object[this._key]=Ie}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(Ie){this._getter=Ie,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef($e,Ie,Fe){return isRef($e)?$e:isFunction$i($e)?new GetterRefImpl($e):isObject$9($e)&&arguments.length>1?propertyToRef($e,Ie,Fe):ref($e)}function propertyToRef($e,Ie,Fe){const Ue=$e[Ie];return isRef(Ue)?Ue:new ObjectRefImpl($e,Ie,Fe)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/** +* @vue/runtime-core v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const stack=[];function warn$1($e,...Ie){pauseTracking();const Fe=stack.length?stack[stack.length-1].component:null,Ue=Fe&&Fe.appContext.config.warnHandler,qe=getComponentTrace();if(Ue)callWithErrorHandling(Ue,Fe,11,[$e+Ie.map(At=>{var Dt,Lt;return(Lt=(Dt=At.toString)==null?void 0:Dt.call(At))!=null?Lt:JSON.stringify(At)}).join(""),Fe&&Fe.proxy,qe.map(({vnode:At})=>`at <${formatComponentName(Fe,At.type)}>`).join(` +`),qe]);else{const At=[`[Vue warn]: ${$e}`,...Ie];qe.length&&At.push(` +`,...formatTrace(qe)),console.warn(...At)}resetTracking()}function getComponentTrace(){let $e=stack[stack.length-1];if(!$e)return[];const Ie=[];for(;$e;){const Fe=Ie[0];Fe&&Fe.vnode===$e?Fe.recurseCount++:Ie.push({vnode:$e,recurseCount:0});const Ue=$e.component&&$e.component.parent;$e=Ue&&Ue.vnode}return Ie}function formatTrace($e){const Ie=[];return $e.forEach((Fe,Ue)=>{Ie.push(...Ue===0?[]:[` +`],...formatTraceEntry(Fe))}),Ie}function formatTraceEntry({vnode:$e,recurseCount:Ie}){const Fe=Ie>0?`... (${Ie} recursive calls)`:"",Ue=$e.component?$e.component.parent==null:!1,qe=` at <${formatComponentName($e.component,$e.type,Ue)}`,At=">"+Fe;return $e.props?[qe,...formatProps($e.props),At]:[qe+At]}function formatProps($e){const Ie=[],Fe=Object.keys($e);return Fe.slice(0,3).forEach(Ue=>{Ie.push(...formatProp(Ue,$e[Ue]))}),Fe.length>3&&Ie.push(" ..."),Ie}function formatProp($e,Ie,Fe){return isString$d(Ie)?(Ie=JSON.stringify(Ie),Fe?Ie:[`${$e}=${Ie}`]):typeof Ie=="number"||typeof Ie=="boolean"||Ie==null?Fe?Ie:[`${$e}=${Ie}`]:isRef(Ie)?(Ie=formatProp($e,toRaw(Ie.value),!0),Fe?Ie:[`${$e}=Ref<`,Ie,">"]):isFunction$i(Ie)?[`${$e}=fn${Ie.name?`<${Ie.name}>`:""}`]:(Ie=toRaw(Ie),Fe?Ie:[`${$e}=`,Ie])}function assertNumber($e,Ie){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling($e,Ie,Fe,Ue){try{return Ue?$e(...Ue):$e()}catch(qe){handleError(qe,Ie,Fe)}}function callWithAsyncErrorHandling($e,Ie,Fe,Ue){if(isFunction$i($e)){const qe=callWithErrorHandling($e,Ie,Fe,Ue);return qe&&isPromise(qe)&&qe.catch(At=>{handleError(At,Ie,Fe)}),qe}if(isArray$w($e)){const qe=[];for(let At=0;At<$e.length;At++)qe.push(callWithAsyncErrorHandling($e[At],Ie,Fe,Ue));return qe}}function handleError($e,Ie,Fe,Ue=!0){const qe=Ie?Ie.vnode:null;if(Ie){let At=Ie.parent;const Dt=Ie.proxy,Lt=`https://vuejs.org/error-reference/#runtime-${Fe}`;for(;At;){const hn=At.ec;if(hn){for(let vn=0;vn>>1,qe=queue[Ue],At=getId(qe);At<$e||At===$e&&qe.pre?Ie=Ue+1:Fe=Ue}return Ie}function queueJob($e){(!queue.length||!queue.includes($e,isFlushing&&$e.allowRecurse?flushIndex+1:flushIndex))&&($e.id==null?queue.push($e):queue.splice(findInsertionIndex$1($e.id),0,$e),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob($e){const Ie=queue.indexOf($e);Ie>flushIndex&&queue.splice(Ie,1)}function queuePostFlushCb($e){isArray$w($e)?pendingPostFlushCbs.push(...$e):(!activePostFlushCbs||!activePostFlushCbs.includes($e,$e.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push($e),queueFlush()}function flushPreFlushCbs($e,Ie,Fe=isFlushing?flushIndex+1:0){for(;FegetId(Fe)-getId(Ue));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...Ie);return}for(activePostFlushCbs=Ie,postFlushIndex=0;postFlushIndex$e.id==null?1/0:$e.id,comparator=($e,Ie)=>{const Fe=getId($e)-getId(Ie);if(Fe===0){if($e.pre&&!Ie.pre)return-1;if(Ie.pre&&!$e.pre)return 1}return Fe};function flushJobs($e){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndexdevtools$1.emit(qe,...At)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((Ue=(Fe=window.navigator)==null?void 0:Fe.userAgent)!=null&&Ue.includes("jsdom"))?((Ie.__VUE_DEVTOOLS_HOOK_REPLAY__=Ie.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(At=>{setDevtoolsHook$1(At,Ie)}),setTimeout(()=>{devtools$1||(Ie.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit($e,Ie,...Fe){if($e.isUnmounted)return;const Ue=$e.vnode.props||EMPTY_OBJ;let qe=Fe;const At=Ie.startsWith("update:"),Dt=At&&Ie.slice(7);if(Dt&&Dt in Ue){const vn=`${Dt==="modelValue"?"model":Dt}Modifiers`,{number:bn,trim:kn}=Ue[vn]||EMPTY_OBJ;kn&&(qe=Fe.map(Cn=>isString$d(Cn)?Cn.trim():Cn)),bn&&(qe=Fe.map(looseToNumber))}let Lt,jt=Ue[Lt=toHandlerKey(Ie)]||Ue[Lt=toHandlerKey(camelize$1(Ie))];!jt&&At&&(jt=Ue[Lt=toHandlerKey(hyphenate(Ie))]),jt&&callWithAsyncErrorHandling(jt,$e,6,qe);const hn=Ue[Lt+"Once"];if(hn){if(!$e.emitted)$e.emitted={};else if($e.emitted[Lt])return;$e.emitted[Lt]=!0,callWithAsyncErrorHandling(hn,$e,6,qe)}}function normalizeEmitsOptions($e,Ie,Fe=!1){const Ue=Ie.emitsCache,qe=Ue.get($e);if(qe!==void 0)return qe;const At=$e.emits;let Dt={},Lt=!1;if(!isFunction$i($e)){const jt=hn=>{const vn=normalizeEmitsOptions(hn,Ie,!0);vn&&(Lt=!0,extend$1(Dt,vn))};!Fe&&Ie.mixins.length&&Ie.mixins.forEach(jt),$e.extends&&jt($e.extends),$e.mixins&&$e.mixins.forEach(jt)}return!At&&!Lt?(isObject$9($e)&&Ue.set($e,null),null):(isArray$w(At)?At.forEach(jt=>Dt[jt]=null):extend$1(Dt,At),isObject$9($e)&&Ue.set($e,Dt),Dt)}function isEmitListener($e,Ie){return!$e||!isOn(Ie)?!1:(Ie=Ie.slice(2).replace(/Once$/,""),hasOwn($e,Ie[0].toLowerCase()+Ie.slice(1))||hasOwn($e,hyphenate(Ie))||hasOwn($e,Ie))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance($e){const Ie=currentRenderingInstance;return currentRenderingInstance=$e,currentScopeId=$e&&$e.type.__scopeId||null,Ie}function pushScopeId($e){currentScopeId=$e}function popScopeId(){currentScopeId=null}const withScopeId=$e=>withCtx;function withCtx($e,Ie=currentRenderingInstance,Fe){if(!Ie||$e._n)return $e;const Ue=(...qe)=>{Ue._d&&setBlockTracking(-1);const At=setCurrentRenderingInstance(Ie);let Dt;try{Dt=$e(...qe)}finally{setCurrentRenderingInstance(At),Ue._d&&setBlockTracking(1)}return Dt};return Ue._n=!0,Ue._c=!0,Ue._d=!0,Ue}function markAttrsAccessed(){}function renderComponentRoot($e){const{type:Ie,vnode:Fe,proxy:Ue,withProxy:qe,propsOptions:[At],slots:Dt,attrs:Lt,emit:jt,render:hn,renderCache:vn,props:bn,data:kn,setupState:Cn,ctx:xn,inheritAttrs:wn}=$e,Sn=setCurrentRenderingInstance($e);let _n,En;try{if(Fe.shapeFlag&4){const Tn=qe||Ue,On=Tn;_n=normalizeVNode(hn.call(On,Tn,vn,bn,Cn,kn,xn)),En=Lt}else{const Tn=Ie;_n=normalizeVNode(Tn.length>1?Tn(bn,{attrs:Lt,slots:Dt,emit:jt}):Tn(bn,null)),En=Ie.props?Lt:getFunctionalFallthrough(Lt)}}catch(Tn){blockStack.length=0,handleError(Tn,$e,1),_n=createVNode(Comment$1)}let $n=_n;if(En&&wn!==!1){const Tn=Object.keys(En),{shapeFlag:On}=$n;Tn.length&&On&7&&(At&&Tn.some(isModelListener)&&(En=filterModelListeners(En,At)),$n=cloneVNode($n,En,!1,!0))}return Fe.dirs&&($n=cloneVNode($n,null,!1,!0),$n.dirs=$n.dirs?$n.dirs.concat(Fe.dirs):Fe.dirs),Fe.transition&&($n.transition=Fe.transition),_n=$n,setCurrentRenderingInstance(Sn),_n}function filterSingleRoot($e,Ie=!0){let Fe;for(let Ue=0;Ue<$e.length;Ue++){const qe=$e[Ue];if(isVNode(qe)){if(qe.type!==Comment$1||qe.children==="v-if"){if(Fe)return;Fe=qe}}else return}return Fe}const getFunctionalFallthrough=$e=>{let Ie;for(const Fe in $e)(Fe==="class"||Fe==="style"||isOn(Fe))&&((Ie||(Ie={}))[Fe]=$e[Fe]);return Ie},filterModelListeners=($e,Ie)=>{const Fe={};for(const Ue in $e)(!isModelListener(Ue)||!(Ue.slice(9)in Ie))&&(Fe[Ue]=$e[Ue]);return Fe};function shouldUpdateComponent($e,Ie,Fe){const{props:Ue,children:qe,component:At}=$e,{props:Dt,children:Lt,patchFlag:jt}=Ie,hn=At.emitsOptions;if(Ie.dirs||Ie.transition)return!0;if(Fe&&jt>=0){if(jt&1024)return!0;if(jt&16)return Ue?hasPropsChanged(Ue,Dt,hn):!!Dt;if(jt&8){const vn=Ie.dynamicProps;for(let bn=0;bn$e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){if($e==null)mountSuspense(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn);else{if(At&&At.deps>0&&!$e.suspense.isInFallback){Ie.suspense=$e.suspense,Ie.suspense.vnode=Ie,Ie.el=$e.el;return}patchSuspense($e,Ie,Fe,Ue,qe,Dt,Lt,jt,hn)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$3($e,Ie){const Fe=$e.props&&$e.props[Ie];isFunction$i(Fe)&&Fe()}function mountSuspense($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){const{p:hn,o:{createElement:vn}}=jt,bn=vn("div"),kn=$e.suspense=createSuspenseBoundary($e,qe,Ue,Ie,bn,Fe,At,Dt,Lt,jt);hn(null,kn.pendingBranch=$e.ssContent,bn,null,Ue,kn,At,Dt),kn.deps>0?(triggerEvent$3($e,"onPending"),triggerEvent$3($e,"onFallback"),hn(null,$e.ssFallback,Ie,Fe,Ue,null,At,Dt),setActiveBranch(kn,$e.ssFallback)):kn.resolve(!1,!0)}function patchSuspense($e,Ie,Fe,Ue,qe,At,Dt,Lt,{p:jt,um:hn,o:{createElement:vn}}){const bn=Ie.suspense=$e.suspense;bn.vnode=Ie,Ie.el=$e.el;const kn=Ie.ssContent,Cn=Ie.ssFallback,{activeBranch:xn,pendingBranch:wn,isInFallback:Sn,isHydrating:_n}=bn;if(wn)bn.pendingBranch=kn,isSameVNodeType(kn,wn)?(jt(wn,kn,bn.hiddenContainer,null,qe,bn,At,Dt,Lt),bn.deps<=0?bn.resolve():Sn&&(_n||(jt(xn,Cn,Fe,Ue,qe,null,At,Dt,Lt),setActiveBranch(bn,Cn)))):(bn.pendingId=suspenseId++,_n?(bn.isHydrating=!1,bn.activeBranch=wn):hn(wn,qe,bn),bn.deps=0,bn.effects.length=0,bn.hiddenContainer=vn("div"),Sn?(jt(null,kn,bn.hiddenContainer,null,qe,bn,At,Dt,Lt),bn.deps<=0?bn.resolve():(jt(xn,Cn,Fe,Ue,qe,null,At,Dt,Lt),setActiveBranch(bn,Cn))):xn&&isSameVNodeType(kn,xn)?(jt(xn,kn,Fe,Ue,qe,bn,At,Dt,Lt),bn.resolve(!0)):(jt(null,kn,bn.hiddenContainer,null,qe,bn,At,Dt,Lt),bn.deps<=0&&bn.resolve()));else if(xn&&isSameVNodeType(kn,xn))jt(xn,kn,Fe,Ue,qe,bn,At,Dt,Lt),setActiveBranch(bn,kn);else if(triggerEvent$3(Ie,"onPending"),bn.pendingBranch=kn,kn.shapeFlag&512?bn.pendingId=kn.component.suspenseId:bn.pendingId=suspenseId++,jt(null,kn,bn.hiddenContainer,null,qe,bn,At,Dt,Lt),bn.deps<=0)bn.resolve();else{const{timeout:En,pendingId:$n}=bn;En>0?setTimeout(()=>{bn.pendingId===$n&&bn.fallback(Cn)},En):En===0&&bn.fallback(Cn)}}function createSuspenseBoundary($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn=!1){const{p:bn,m:kn,um:Cn,n:xn,o:{parentNode:wn,remove:Sn}}=hn;let _n;const En=isVNodeSuspensible($e);En&&Ie&&Ie.pendingBranch&&(_n=Ie.pendingId,Ie.deps++);const $n=$e.props?toNumber$9($e.props.timeout):void 0,Tn=At,On={vnode:$e,parent:Ie,parentComponent:Fe,namespace:Dt,container:Ue,hiddenContainer:qe,deps:0,pendingId:suspenseId++,timeout:typeof $n=="number"?$n:-1,activeBranch:null,pendingBranch:null,isInFallback:!vn,isHydrating:vn,isUnmounted:!1,effects:[],resolve(Nn=!1,An=!1){const{vnode:Pn,activeBranch:In,pendingBranch:Mn,pendingId:Rn,effects:Un,parentComponent:Wn,container:jn}=On;let Fn=!1;On.isHydrating?On.isHydrating=!1:Nn||(Fn=In&&Mn.transition&&Mn.transition.mode==="out-in",Fn&&(In.transition.afterLeave=()=>{Rn===On.pendingId&&(kn(Mn,jn,At===Tn?xn(In):At,0),queuePostFlushCb(Un))}),In&&(wn(In.el)!==On.hiddenContainer&&(At=xn(In)),Cn(In,Wn,On,!0)),Fn||kn(Mn,jn,At,0)),setActiveBranch(On,Mn),On.pendingBranch=null,On.isInFallback=!1;let Bn=On.parent,Dn=!1;for(;Bn;){if(Bn.pendingBranch){Bn.effects.push(...Un),Dn=!0;break}Bn=Bn.parent}!Dn&&!Fn&&queuePostFlushCb(Un),On.effects=[],En&&Ie&&Ie.pendingBranch&&_n===Ie.pendingId&&(Ie.deps--,Ie.deps===0&&!An&&Ie.resolve()),triggerEvent$3(Pn,"onResolve")},fallback(Nn){if(!On.pendingBranch)return;const{vnode:An,activeBranch:Pn,parentComponent:In,container:Mn,namespace:Rn}=On;triggerEvent$3(An,"onFallback");const Un=xn(Pn),Wn=()=>{On.isInFallback&&(bn(null,Nn,Mn,Un,In,null,Rn,Lt,jt),setActiveBranch(On,Nn))},jn=Nn.transition&&Nn.transition.mode==="out-in";jn&&(Pn.transition.afterLeave=Wn),On.isInFallback=!0,Cn(Pn,In,null,!0),jn||Wn()},move(Nn,An,Pn){On.activeBranch&&kn(On.activeBranch,Nn,An,Pn),On.container=Nn},next(){return On.activeBranch&&xn(On.activeBranch)},registerDep(Nn,An,Pn){const In=!!On.pendingBranch;In&&On.deps++;const Mn=Nn.vnode.el;Nn.asyncDep.catch(Rn=>{handleError(Rn,Nn,0)}).then(Rn=>{if(Nn.isUnmounted||On.isUnmounted||On.pendingId!==Nn.suspenseId)return;Nn.asyncResolved=!0;const{vnode:Un}=Nn;handleSetupResult(Nn,Rn,!1),Mn&&(Un.el=Mn);const Wn=!Mn&&Nn.subTree.el;An(Nn,Un,wn(Mn||Nn.subTree.el),Mn?null:xn(Nn.subTree),On,Dt,Pn),Wn&&Sn(Wn),updateHOCHostEl(Nn,Un.el),In&&--On.deps===0&&On.resolve()})},unmount(Nn,An){On.isUnmounted=!0,On.activeBranch&&Cn(On.activeBranch,Fe,Nn,An),On.pendingBranch&&Cn(On.pendingBranch,Fe,Nn,An)}};return On}function hydrateSuspense($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){const hn=Ie.suspense=createSuspenseBoundary(Ie,Ue,Fe,$e.parentNode,document.createElement("div"),null,qe,At,Dt,Lt,!0),vn=jt($e,hn.pendingBranch=Ie.ssContent,Fe,hn,At,Dt);return hn.deps===0&&hn.resolve(!1,!0),vn}function normalizeSuspenseChildren($e){const{shapeFlag:Ie,children:Fe}=$e,Ue=Ie&32;$e.ssContent=normalizeSuspenseSlot(Ue?Fe.default:Fe),$e.ssFallback=Ue?normalizeSuspenseSlot(Fe.fallback):createVNode(Comment$1)}function normalizeSuspenseSlot($e){let Ie;if(isFunction$i($e)){const Fe=isBlockTreeEnabled&&$e._c;Fe&&($e._d=!1,openBlock()),$e=$e(),Fe&&($e._d=!0,Ie=currentBlock,closeBlock())}return isArray$w($e)&&($e=filterSingleRoot($e)),$e=normalizeVNode($e),Ie&&!$e.dynamicChildren&&($e.dynamicChildren=Ie.filter(Fe=>Fe!==$e)),$e}function queueEffectWithSuspense($e,Ie){Ie&&Ie.pendingBranch?isArray$w($e)?Ie.effects.push(...$e):Ie.effects.push($e):queuePostFlushCb($e)}function setActiveBranch($e,Ie){$e.activeBranch=Ie;const{vnode:Fe,parentComponent:Ue}=$e;let qe=Ie.el;for(;!qe&&Ie.component;)Ie=Ie.component.subTree,qe=Ie.el;Fe.el=qe,Ue&&Ue.subTree===Fe&&(Ue.vnode.el=qe,updateHOCHostEl(Ue,qe))}function isVNodeSuspensible($e){const Ie=$e.props&&$e.props.suspensible;return Ie!=null&&Ie!==!1}function injectHook($e,Ie,Fe=currentInstance,Ue=!1){if(Fe){const qe=Fe[$e]||(Fe[$e]=[]),At=Ie.__weh||(Ie.__weh=(...Dt)=>{pauseTracking();const Lt=setCurrentInstance(Fe),jt=callWithAsyncErrorHandling(Ie,Fe,$e,Dt);return Lt(),resetTracking(),jt});return Ue?qe.unshift(At):qe.push(At),At}}const createHook=$e=>(Ie,Fe=currentInstance)=>{(!isInSSRComponentSetup||$e==="sp")&&injectHook($e,(...Ue)=>Ie(...Ue),Fe)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured($e,Ie=currentInstance){injectHook("ec",$e,Ie)}function withDirectives($e,Ie){if(currentRenderingInstance===null)return $e;const Fe=getComponentPublicInstance(currentRenderingInstance),Ue=$e.dirs||($e.dirs=[]);for(let qe=0;qeIe(Dt,Lt,void 0,At&&At[Lt]));else{const Dt=Object.keys($e);qe=new Array(Dt.length);for(let Lt=0,jt=Dt.length;Lt{const At=Ue.fn(...qe);return At&&(At.key=Ue.key),At}:Ue.fn)}return $e}/*! #__NO_SIDE_EFFECTS__ */function defineComponent($e,Ie){return isFunction$i($e)?extend$1({name:$e.name},Ie,{setup:$e}):$e}const isAsyncWrapper=$e=>!!$e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent($e){isFunction$i($e)&&($e={loader:$e});const{loader:Ie,loadingComponent:Fe,errorComponent:Ue,delay:qe=200,timeout:At,suspensible:Dt=!0,onError:Lt}=$e;let jt=null,hn,vn=0;const bn=()=>(vn++,jt=null,kn()),kn=()=>{let Cn;return jt||(Cn=jt=Ie().catch(xn=>{if(xn=xn instanceof Error?xn:new Error(String(xn)),Lt)return new Promise((wn,Sn)=>{Lt(xn,()=>wn(bn()),()=>Sn(xn),vn+1)});throw xn}).then(xn=>Cn!==jt&&jt?jt:(xn&&(xn.__esModule||xn[Symbol.toStringTag]==="Module")&&(xn=xn.default),hn=xn,xn)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:kn,get __asyncResolved(){return hn},setup(){const Cn=currentInstance;if(hn)return()=>createInnerComp(hn,Cn);const xn=En=>{jt=null,handleError(En,Cn,13,!Ue)};if(Dt&&Cn.suspense||isInSSRComponentSetup)return kn().then(En=>()=>createInnerComp(En,Cn)).catch(En=>(xn(En),()=>Ue?createVNode(Ue,{error:En}):null));const wn=ref(!1),Sn=ref(),_n=ref(!!qe);return qe&&setTimeout(()=>{_n.value=!1},qe),At!=null&&setTimeout(()=>{if(!wn.value&&!Sn.value){const En=new Error(`Async component timed out after ${At}ms.`);xn(En),Sn.value=En}},At),kn().then(()=>{wn.value=!0,Cn.parent&&isKeepAlive(Cn.parent.vnode)&&(Cn.parent.effect.dirty=!0,queueJob(Cn.parent.update))}).catch(En=>{xn(En),Sn.value=En}),()=>{if(wn.value&&hn)return createInnerComp(hn,Cn);if(Sn.value&&Ue)return createVNode(Ue,{error:Sn.value});if(Fe&&!_n.value)return createVNode(Fe)}}})}function createInnerComp($e,Ie){const{ref:Fe,props:Ue,children:qe,ce:At}=Ie.vnode,Dt=createVNode($e,Ue,qe);return Dt.ref=Fe,Dt.ce=At,delete Ie.vnode.ce,Dt}function renderSlot($e,Ie,Fe={},Ue,qe){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return Ie!=="default"&&(Fe.name=Ie),createVNode("slot",Fe,Ue&&Ue());let At=$e[Ie];At&&At._c&&(At._d=!1),openBlock();const Dt=At&&ensureValidVNode(At(Fe)),Lt=createBlock(Fragment,{key:Fe.key||Dt&&Dt.key||`_${Ie}`},Dt||(Ue?Ue():[]),Dt&&$e._===1?64:-2);return!qe&&Lt.scopeId&&(Lt.slotScopeIds=[Lt.scopeId+"-s"]),At&&At._c&&(At._d=!0),Lt}function ensureValidVNode($e){return $e.some(Ie=>isVNode(Ie)?!(Ie.type===Comment$1||Ie.type===Fragment&&!ensureValidVNode(Ie.children)):!0)?$e:null}function toHandlers($e,Ie){const Fe={};for(const Ue in $e)Fe[Ie&&/[A-Z]/.test(Ue)?`on:${Ue}`:toHandlerKey(Ue)]=$e[Ue];return Fe}const getPublicInstance=$e=>$e?isStatefulComponent($e)?getComponentPublicInstance($e):getPublicInstance($e.parent):null,publicPropertiesMap=extend$1(Object.create(null),{$:$e=>$e,$el:$e=>$e.vnode.el,$data:$e=>$e.data,$props:$e=>$e.props,$attrs:$e=>$e.attrs,$slots:$e=>$e.slots,$refs:$e=>$e.refs,$parent:$e=>getPublicInstance($e.parent),$root:$e=>getPublicInstance($e.root),$emit:$e=>$e.emit,$options:$e=>resolveMergedOptions($e),$forceUpdate:$e=>$e.f||($e.f=()=>{$e.effect.dirty=!0,queueJob($e.update)}),$nextTick:$e=>$e.n||($e.n=nextTick.bind($e.proxy)),$watch:$e=>instanceWatch.bind($e)}),hasSetupBinding=($e,Ie)=>$e!==EMPTY_OBJ&&!$e.__isScriptSetup&&hasOwn($e,Ie),PublicInstanceProxyHandlers={get({_:$e},Ie){if(Ie==="__v_skip")return!0;const{ctx:Fe,setupState:Ue,data:qe,props:At,accessCache:Dt,type:Lt,appContext:jt}=$e;let hn;if(Ie[0]!=="$"){const Cn=Dt[Ie];if(Cn!==void 0)switch(Cn){case 1:return Ue[Ie];case 2:return qe[Ie];case 4:return Fe[Ie];case 3:return At[Ie]}else{if(hasSetupBinding(Ue,Ie))return Dt[Ie]=1,Ue[Ie];if(qe!==EMPTY_OBJ&&hasOwn(qe,Ie))return Dt[Ie]=2,qe[Ie];if((hn=$e.propsOptions[0])&&hasOwn(hn,Ie))return Dt[Ie]=3,At[Ie];if(Fe!==EMPTY_OBJ&&hasOwn(Fe,Ie))return Dt[Ie]=4,Fe[Ie];shouldCacheAccess&&(Dt[Ie]=0)}}const vn=publicPropertiesMap[Ie];let bn,kn;if(vn)return Ie==="$attrs"&&track($e.attrs,"get",""),vn($e);if((bn=Lt.__cssModules)&&(bn=bn[Ie]))return bn;if(Fe!==EMPTY_OBJ&&hasOwn(Fe,Ie))return Dt[Ie]=4,Fe[Ie];if(kn=jt.config.globalProperties,hasOwn(kn,Ie))return kn[Ie]},set({_:$e},Ie,Fe){const{data:Ue,setupState:qe,ctx:At}=$e;return hasSetupBinding(qe,Ie)?(qe[Ie]=Fe,!0):Ue!==EMPTY_OBJ&&hasOwn(Ue,Ie)?(Ue[Ie]=Fe,!0):hasOwn($e.props,Ie)||Ie[0]==="$"&&Ie.slice(1)in $e?!1:(At[Ie]=Fe,!0)},has({_:{data:$e,setupState:Ie,accessCache:Fe,ctx:Ue,appContext:qe,propsOptions:At}},Dt){let Lt;return!!Fe[Dt]||$e!==EMPTY_OBJ&&hasOwn($e,Dt)||hasSetupBinding(Ie,Dt)||(Lt=At[0])&&hasOwn(Lt,Dt)||hasOwn(Ue,Dt)||hasOwn(publicPropertiesMap,Dt)||hasOwn(qe.config.globalProperties,Dt)},defineProperty($e,Ie,Fe){return Fe.get!=null?$e._.accessCache[Ie]=0:hasOwn(Fe,"value")&&this.set($e,Ie,Fe.value,null),Reflect.defineProperty($e,Ie,Fe)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$1({},PublicInstanceProxyHandlers,{get($e,Ie){if(Ie!==Symbol.unscopables)return PublicInstanceProxyHandlers.get($e,Ie,$e)},has($e,Ie){return Ie[0]!=="_"&&!isGloballyAllowed(Ie)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose($e){}function defineOptions($e){}function defineSlots(){return null}function defineModel(){}function withDefaults($e,Ie){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const $e=getCurrentInstance();return $e.setupContext||($e.setupContext=createSetupContext($e))}function normalizePropsOrEmits($e){return isArray$w($e)?$e.reduce((Ie,Fe)=>(Ie[Fe]=null,Ie),{}):$e}function mergeDefaults($e,Ie){const Fe=normalizePropsOrEmits($e);for(const Ue in Ie){if(Ue.startsWith("__skip"))continue;let qe=Fe[Ue];qe?isArray$w(qe)||isFunction$i(qe)?qe=Fe[Ue]={type:qe,default:Ie[Ue]}:qe.default=Ie[Ue]:qe===null&&(qe=Fe[Ue]={default:Ie[Ue]}),qe&&Ie[`__skip_${Ue}`]&&(qe.skipFactory=!0)}return Fe}function mergeModels($e,Ie){return!$e||!Ie?$e||Ie:isArray$w($e)&&isArray$w(Ie)?$e.concat(Ie):extend$1({},normalizePropsOrEmits($e),normalizePropsOrEmits(Ie))}function createPropsRestProxy($e,Ie){const Fe={};for(const Ue in $e)Ie.includes(Ue)||Object.defineProperty(Fe,Ue,{enumerable:!0,get:()=>$e[Ue]});return Fe}function withAsyncContext($e){const Ie=getCurrentInstance();let Fe=$e();return unsetCurrentInstance(),isPromise(Fe)&&(Fe=Fe.catch(Ue=>{throw setCurrentInstance(Ie),Ue})),[Fe,()=>setCurrentInstance(Ie)]}let shouldCacheAccess=!0;function applyOptions($e){const Ie=resolveMergedOptions($e),Fe=$e.proxy,Ue=$e.ctx;shouldCacheAccess=!1,Ie.beforeCreate&&callHook$1(Ie.beforeCreate,$e,"bc");const{data:qe,computed:At,methods:Dt,watch:Lt,provide:jt,inject:hn,created:vn,beforeMount:bn,mounted:kn,beforeUpdate:Cn,updated:xn,activated:wn,deactivated:Sn,beforeDestroy:_n,beforeUnmount:En,destroyed:$n,unmounted:Tn,render:On,renderTracked:Nn,renderTriggered:An,errorCaptured:Pn,serverPrefetch:In,expose:Mn,inheritAttrs:Rn,components:Un,directives:Wn,filters:jn}=Ie;if(hn&&resolveInjections(hn,Ue,null),Dt)for(const Dn in Dt){const Ln=Dt[Dn];isFunction$i(Ln)&&(Ue[Dn]=Ln.bind(Fe))}if(qe){const Dn=qe.call(Fe,Fe);isObject$9(Dn)&&($e.data=reactive(Dn))}if(shouldCacheAccess=!0,At)for(const Dn in At){const Ln=At[Dn],Vn=isFunction$i(Ln)?Ln.bind(Fe,Fe):isFunction$i(Ln.get)?Ln.get.bind(Fe,Fe):NOOP,zn=!isFunction$i(Ln)&&isFunction$i(Ln.set)?Ln.set.bind(Fe):NOOP,Hn=computed({get:Vn,set:zn});Object.defineProperty(Ue,Dn,{enumerable:!0,configurable:!0,get:()=>Hn.value,set:Yn=>Hn.value=Yn})}if(Lt)for(const Dn in Lt)createWatcher(Lt[Dn],Ue,Fe,Dn);if(jt){const Dn=isFunction$i(jt)?jt.call(Fe):jt;Reflect.ownKeys(Dn).forEach(Ln=>{provide(Ln,Dn[Ln])})}vn&&callHook$1(vn,$e,"c");function Bn(Dn,Ln){isArray$w(Ln)?Ln.forEach(Vn=>Dn(Vn.bind(Fe))):Ln&&Dn(Ln.bind(Fe))}if(Bn(onBeforeMount,bn),Bn(onMounted,kn),Bn(onBeforeUpdate,Cn),Bn(onUpdated,xn),Bn(onActivated,wn),Bn(onDeactivated,Sn),Bn(onErrorCaptured,Pn),Bn(onRenderTracked,Nn),Bn(onRenderTriggered,An),Bn(onBeforeUnmount,En),Bn(onUnmounted,Tn),Bn(onServerPrefetch,In),isArray$w(Mn))if(Mn.length){const Dn=$e.exposed||($e.exposed={});Mn.forEach(Ln=>{Object.defineProperty(Dn,Ln,{get:()=>Fe[Ln],set:Vn=>Fe[Ln]=Vn})})}else $e.exposed||($e.exposed={});On&&$e.render===NOOP&&($e.render=On),Rn!=null&&($e.inheritAttrs=Rn),Un&&($e.components=Un),Wn&&($e.directives=Wn)}function resolveInjections($e,Ie,Fe=NOOP){isArray$w($e)&&($e=normalizeInject($e));for(const Ue in $e){const qe=$e[Ue];let At;isObject$9(qe)?"default"in qe?At=inject(qe.from||Ue,qe.default,!0):At=inject(qe.from||Ue):At=inject(qe),isRef(At)?Object.defineProperty(Ie,Ue,{enumerable:!0,configurable:!0,get:()=>At.value,set:Dt=>At.value=Dt}):Ie[Ue]=At}}function callHook$1($e,Ie,Fe){callWithAsyncErrorHandling(isArray$w($e)?$e.map(Ue=>Ue.bind(Ie.proxy)):$e.bind(Ie.proxy),Ie,Fe)}function createWatcher($e,Ie,Fe,Ue){const qe=Ue.includes(".")?createPathGetter(Fe,Ue):()=>Fe[Ue];if(isString$d($e)){const At=Ie[$e];isFunction$i(At)&&watch(qe,At)}else if(isFunction$i($e))watch(qe,$e.bind(Fe));else if(isObject$9($e))if(isArray$w($e))$e.forEach(At=>createWatcher(At,Ie,Fe,Ue));else{const At=isFunction$i($e.handler)?$e.handler.bind(Fe):Ie[$e.handler];isFunction$i(At)&&watch(qe,At,$e)}}function resolveMergedOptions($e){const Ie=$e.type,{mixins:Fe,extends:Ue}=Ie,{mixins:qe,optionsCache:At,config:{optionMergeStrategies:Dt}}=$e.appContext,Lt=At.get(Ie);let jt;return Lt?jt=Lt:!qe.length&&!Fe&&!Ue?jt=Ie:(jt={},qe.length&&qe.forEach(hn=>mergeOptions$2(jt,hn,Dt,!0)),mergeOptions$2(jt,Ie,Dt)),isObject$9(Ie)&&At.set(Ie,jt),jt}function mergeOptions$2($e,Ie,Fe,Ue=!1){const{mixins:qe,extends:At}=Ie;At&&mergeOptions$2($e,At,Fe,!0),qe&&qe.forEach(Dt=>mergeOptions$2($e,Dt,Fe,!0));for(const Dt in Ie)if(!(Ue&&Dt==="expose")){const Lt=internalOptionMergeStrats[Dt]||Fe&&Fe[Dt];$e[Dt]=Lt?Lt($e[Dt],Ie[Dt]):Ie[Dt]}return $e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn($e,Ie){return Ie?$e?function(){return extend$1(isFunction$i($e)?$e.call(this,this):$e,isFunction$i(Ie)?Ie.call(this,this):Ie)}:Ie:$e}function mergeInject($e,Ie){return mergeObjectOptions(normalizeInject($e),normalizeInject(Ie))}function normalizeInject($e){if(isArray$w($e)){const Ie={};for(let Fe=0;Fe<$e.length;Fe++)Ie[$e[Fe]]=$e[Fe];return Ie}return $e}function mergeAsArray($e,Ie){return $e?[...new Set([].concat($e,Ie))]:Ie}function mergeObjectOptions($e,Ie){return $e?extend$1(Object.create(null),$e,Ie):Ie}function mergeEmitsOrPropsOptions($e,Ie){return $e?isArray$w($e)&&isArray$w(Ie)?[...new Set([...$e,...Ie])]:extend$1(Object.create(null),normalizePropsOrEmits($e),normalizePropsOrEmits(Ie??{})):Ie}function mergeWatchOptions($e,Ie){if(!$e)return Ie;if(!Ie)return $e;const Fe=extend$1(Object.create(null),$e);for(const Ue in Ie)Fe[Ue]=mergeAsArray($e[Ue],Ie[Ue]);return Fe}function createAppContext(){return{app:null,config:{isNativeTag:NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let uid$1=0;function createAppAPI($e,Ie){return function(Ue,qe=null){isFunction$i(Ue)||(Ue=extend$1({},Ue)),qe!=null&&!isObject$9(qe)&&(qe=null);const At=createAppContext(),Dt=new WeakSet;let Lt=!1;const jt=At.app={_uid:uid$1++,_component:Ue,_props:qe,_container:null,_context:At,_instance:null,version:version$4,get config(){return At.config},set config(hn){},use(hn,...vn){return Dt.has(hn)||(hn&&isFunction$i(hn.install)?(Dt.add(hn),hn.install(jt,...vn)):isFunction$i(hn)&&(Dt.add(hn),hn(jt,...vn))),jt},mixin(hn){return At.mixins.includes(hn)||At.mixins.push(hn),jt},component(hn,vn){return vn?(At.components[hn]=vn,jt):At.components[hn]},directive(hn,vn){return vn?(At.directives[hn]=vn,jt):At.directives[hn]},mount(hn,vn,bn){if(!Lt){const kn=createVNode(Ue,qe);return kn.appContext=At,bn===!0?bn="svg":bn===!1&&(bn=void 0),vn&&Ie?Ie(kn,hn):$e(kn,hn,bn),Lt=!0,jt._container=hn,hn.__vue_app__=jt,getComponentPublicInstance(kn.component)}},unmount(){Lt&&($e(null,jt._container),delete jt._container.__vue_app__)},provide(hn,vn){return At.provides[hn]=vn,jt},runWithContext(hn){const vn=currentApp;currentApp=jt;try{return hn()}finally{currentApp=vn}}};return jt}}let currentApp=null;function provide($e,Ie){if(currentInstance){let Fe=currentInstance.provides;const Ue=currentInstance.parent&¤tInstance.parent.provides;Ue===Fe&&(Fe=currentInstance.provides=Object.create(Ue)),Fe[$e]=Ie}}function inject($e,Ie,Fe=!1){const Ue=currentInstance||currentRenderingInstance;if(Ue||currentApp){const qe=Ue?Ue.parent==null?Ue.vnode.appContext&&Ue.vnode.appContext.provides:Ue.parent.provides:currentApp._context.provides;if(qe&&$e in qe)return qe[$e];if(arguments.length>1)return Fe&&isFunction$i(Ie)?Ie.call(Ue&&Ue.proxy):Ie}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=$e=>Object.getPrototypeOf($e)===internalObjectProto;function initProps($e,Ie,Fe,Ue=!1){const qe={},At=createInternalObject();$e.propsDefaults=Object.create(null),setFullProps($e,Ie,qe,At);for(const Dt in $e.propsOptions[0])Dt in qe||(qe[Dt]=void 0);Fe?$e.props=Ue?qe:shallowReactive(qe):$e.type.props?$e.props=qe:$e.props=At,$e.attrs=At}function updateProps($e,Ie,Fe,Ue){const{props:qe,attrs:At,vnode:{patchFlag:Dt}}=$e,Lt=toRaw(qe),[jt]=$e.propsOptions;let hn=!1;if((Ue||Dt>0)&&!(Dt&16)){if(Dt&8){const vn=$e.vnode.dynamicProps;for(let bn=0;bn{jt=!0;const[kn,Cn]=normalizePropsOptions(bn,Ie,!0);extend$1(Dt,kn),Cn&&Lt.push(...Cn)};!Fe&&Ie.mixins.length&&Ie.mixins.forEach(vn),$e.extends&&vn($e.extends),$e.mixins&&$e.mixins.forEach(vn)}if(!At&&!jt)return isObject$9($e)&&Ue.set($e,EMPTY_ARR),EMPTY_ARR;if(isArray$w(At))for(let vn=0;vn-1,Cn[1]=wn<0||xn-1||hasOwn(Cn,"default"))&&Lt.push(bn)}}}const hn=[Dt,Lt];return isObject$9($e)&&Ue.set($e,hn),hn}function validatePropName($e){return $e[0]!=="$"&&!isReservedProp($e)}function getType$2($e){return $e===null?"null":typeof $e=="function"?$e.name||"":typeof $e=="object"&&$e.constructor&&$e.constructor.name||""}function isSameType($e,Ie){return getType$2($e)===getType$2(Ie)}function getTypeIndex($e,Ie){return isArray$w(Ie)?Ie.findIndex(Fe=>isSameType(Fe,$e)):isFunction$i(Ie)&&isSameType(Ie,$e)?0:-1}const isInternalKey=$e=>$e[0]==="_"||$e==="$stable",normalizeSlotValue=$e=>isArray$w($e)?$e.map(normalizeVNode):[normalizeVNode($e)],normalizeSlot$1=($e,Ie,Fe)=>{if(Ie._n)return Ie;const Ue=withCtx((...qe)=>normalizeSlotValue(Ie(...qe)),Fe);return Ue._c=!1,Ue},normalizeObjectSlots=($e,Ie,Fe)=>{const Ue=$e._ctx;for(const qe in $e){if(isInternalKey(qe))continue;const At=$e[qe];if(isFunction$i(At))Ie[qe]=normalizeSlot$1(qe,At,Ue);else if(At!=null){const Dt=normalizeSlotValue(At);Ie[qe]=()=>Dt}}},normalizeVNodeSlots=($e,Ie)=>{const Fe=normalizeSlotValue(Ie);$e.slots.default=()=>Fe},initSlots=($e,Ie)=>{const Fe=$e.slots=createInternalObject();if($e.vnode.shapeFlag&32){const Ue=Ie._;Ue?(extend$1(Fe,Ie),def(Fe,"_",Ue,!0)):normalizeObjectSlots(Ie,Fe)}else Ie&&normalizeVNodeSlots($e,Ie)},updateSlots=($e,Ie,Fe)=>{const{vnode:Ue,slots:qe}=$e;let At=!0,Dt=EMPTY_OBJ;if(Ue.shapeFlag&32){const Lt=Ie._;Lt?Fe&&Lt===1?At=!1:(extend$1(qe,Ie),!Fe&&Lt===1&&delete qe._):(At=!Ie.$stable,normalizeObjectSlots(Ie,qe)),Dt=Ie}else Ie&&(normalizeVNodeSlots($e,Ie),Dt={default:1});if(At)for(const Lt in qe)!isInternalKey(Lt)&&Dt[Lt]==null&&delete qe[Lt]};function setRef($e,Ie,Fe,Ue,qe=!1){if(isArray$w($e)){$e.forEach((kn,Cn)=>setRef(kn,Ie&&(isArray$w(Ie)?Ie[Cn]:Ie),Fe,Ue,qe));return}if(isAsyncWrapper(Ue)&&!qe)return;const At=Ue.shapeFlag&4?getComponentPublicInstance(Ue.component):Ue.el,Dt=qe?null:At,{i:Lt,r:jt}=$e,hn=Ie&&Ie.r,vn=Lt.refs===EMPTY_OBJ?Lt.refs={}:Lt.refs,bn=Lt.setupState;if(hn!=null&&hn!==jt&&(isString$d(hn)?(vn[hn]=null,hasOwn(bn,hn)&&(bn[hn]=null)):isRef(hn)&&(hn.value=null)),isFunction$i(jt))callWithErrorHandling(jt,Lt,12,[Dt,vn]);else{const kn=isString$d(jt),Cn=isRef(jt);if(kn||Cn){const xn=()=>{if($e.f){const wn=kn?hasOwn(bn,jt)?bn[jt]:vn[jt]:jt.value;qe?isArray$w(wn)&&remove$3(wn,At):isArray$w(wn)?wn.includes(At)||wn.push(At):kn?(vn[jt]=[At],hasOwn(bn,jt)&&(bn[jt]=vn[jt])):(jt.value=[At],$e.k&&(vn[$e.k]=jt.value))}else kn?(vn[jt]=Dt,hasOwn(bn,jt)&&(bn[jt]=Dt)):Cn&&(jt.value=Dt,$e.k&&(vn[$e.k]=Dt))};Dt?(xn.id=-1,queuePostRenderEffect(xn,Fe)):xn()}}}let hasLoggedMismatchError=!1;const logMismatchError=()=>{hasLoggedMismatchError||(console.error("Hydration completed but contains mismatches."),hasLoggedMismatchError=!0)},isSVGContainer=$e=>$e.namespaceURI.includes("svg")&&$e.tagName!=="foreignObject",isMathMLContainer=$e=>$e.namespaceURI.includes("MathML"),getContainerType=$e=>{if(isSVGContainer($e))return"svg";if(isMathMLContainer($e))return"mathml"},isComment$1=$e=>$e.nodeType===8;function createHydrationFunctions($e){const{mt:Ie,p:Fe,o:{patchProp:Ue,createText:qe,nextSibling:At,parentNode:Dt,remove:Lt,insert:jt,createComment:hn}}=$e,vn=($n,Tn)=>{if(!Tn.hasChildNodes()){Fe(null,$n,Tn),flushPostFlushCbs(),Tn._vnode=$n;return}bn(Tn.firstChild,$n,null,null,null),flushPostFlushCbs(),Tn._vnode=$n},bn=($n,Tn,On,Nn,An,Pn=!1)=>{Pn=Pn||!!Tn.dynamicChildren;const In=isComment$1($n)&&$n.data==="[",Mn=()=>wn($n,Tn,On,Nn,An,In),{type:Rn,ref:Un,shapeFlag:Wn,patchFlag:jn}=Tn;let Fn=$n.nodeType;Tn.el=$n,jn===-2&&(Pn=!1,Tn.dynamicChildren=null);let Bn=null;switch(Rn){case Text$3:Fn!==3?Tn.children===""?(jt(Tn.el=qe(""),Dt($n),$n),Bn=$n):Bn=Mn():($n.data!==Tn.children&&(logMismatchError(),$n.data=Tn.children),Bn=At($n));break;case Comment$1:En($n)?(Bn=At($n),_n(Tn.el=$n.content.firstChild,$n,On)):Fn!==8||In?Bn=Mn():Bn=At($n);break;case Static:if(In&&($n=At($n),Fn=$n.nodeType),Fn===1||Fn===3){Bn=$n;const Dn=!Tn.children.length;for(let Ln=0;Ln{Pn=Pn||!!Tn.dynamicChildren;const{type:In,props:Mn,patchFlag:Rn,shapeFlag:Un,dirs:Wn,transition:jn}=Tn,Fn=In==="input"||In==="option";if(Fn||Rn!==-1){Wn&&invokeDirectiveHook(Tn,null,On,"created");let Bn=!1;if(En($n)){Bn=needTransition(Nn,jn)&&On&&On.vnode.props&&On.vnode.props.appear;const Ln=$n.content.firstChild;Bn&&jn.beforeEnter(Ln),_n(Ln,$n,On),Tn.el=$n=Ln}if(Un&16&&!(Mn&&(Mn.innerHTML||Mn.textContent))){let Ln=Cn($n.firstChild,Tn,$n,On,Nn,An,Pn);for(;Ln;){logMismatchError();const Vn=Ln;Ln=Ln.nextSibling,Lt(Vn)}}else Un&8&&$n.textContent!==Tn.children&&(logMismatchError(),$n.textContent=Tn.children);if(Mn)if(Fn||!Pn||Rn&48)for(const Ln in Mn)(Fn&&(Ln.endsWith("value")||Ln==="indeterminate")||isOn(Ln)&&!isReservedProp(Ln)||Ln[0]===".")&&Ue($n,Ln,null,Mn[Ln],void 0,void 0,On);else Mn.onClick&&Ue($n,"onClick",null,Mn.onClick,void 0,void 0,On);let Dn;(Dn=Mn&&Mn.onVnodeBeforeMount)&&invokeVNodeHook(Dn,On,Tn),Wn&&invokeDirectiveHook(Tn,null,On,"beforeMount"),((Dn=Mn&&Mn.onVnodeMounted)||Wn||Bn)&&queueEffectWithSuspense(()=>{Dn&&invokeVNodeHook(Dn,On,Tn),Bn&&jn.enter($n),Wn&&invokeDirectiveHook(Tn,null,On,"mounted")},Nn)}return $n.nextSibling},Cn=($n,Tn,On,Nn,An,Pn,In)=>{In=In||!!Tn.dynamicChildren;const Mn=Tn.children,Rn=Mn.length;for(let Un=0;Un{const{slotScopeIds:In}=Tn;In&&(An=An?An.concat(In):In);const Mn=Dt($n),Rn=Cn(At($n),Tn,Mn,On,Nn,An,Pn);return Rn&&isComment$1(Rn)&&Rn.data==="]"?At(Tn.anchor=Rn):(logMismatchError(),jt(Tn.anchor=hn("]"),Mn,Rn),Rn)},wn=($n,Tn,On,Nn,An,Pn)=>{if(logMismatchError(),Tn.el=null,Pn){const Rn=Sn($n);for(;;){const Un=At($n);if(Un&&Un!==Rn)Lt(Un);else break}}const In=At($n),Mn=Dt($n);return Lt($n),Fe(null,Tn,Mn,In,On,Nn,getContainerType(Mn),An),In},Sn=($n,Tn="[",On="]")=>{let Nn=0;for(;$n;)if($n=At($n),$n&&isComment$1($n)&&($n.data===Tn&&Nn++,$n.data===On)){if(Nn===0)return At($n);Nn--}return $n},_n=($n,Tn,On)=>{const Nn=Tn.parentNode;Nn&&Nn.replaceChild($n,Tn);let An=On;for(;An;)An.vnode.el===Tn&&(An.vnode.el=An.subTree.el=$n),An=An.parent},En=$n=>$n.nodeType===1&&$n.tagName.toLowerCase()==="template";return[vn,bn]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer($e){return baseCreateRenderer($e)}function createHydrationRenderer($e){return baseCreateRenderer($e,createHydrationFunctions)}function baseCreateRenderer($e,Ie){const Fe=getGlobalThis();Fe.__VUE__=!0;const{insert:Ue,remove:qe,patchProp:At,createElement:Dt,createText:Lt,createComment:jt,setText:hn,setElementText:vn,parentNode:bn,nextSibling:kn,setScopeId:Cn=NOOP,insertStaticContent:xn}=$e,wn=(Zn,to,ao,po=null,mo=null,No=null,Mo=void 0,vo=null,ho=!!to.dynamicChildren)=>{if(Zn===to)return;Zn&&!isSameVNodeType(Zn,to)&&(po=qn(Zn),Yn(Zn,mo,No,!0),Zn=null),to.patchFlag===-2&&(ho=!1,to.dynamicChildren=null);const{type:$o,ref:_o,shapeFlag:Oo}=to;switch($o){case Text$3:Sn(Zn,to,ao,po);break;case Comment$1:_n(Zn,to,ao,po);break;case Static:Zn==null&&En(to,ao,po,Mo);break;case Fragment:Un(Zn,to,ao,po,mo,No,Mo,vo,ho);break;default:Oo&1?On(Zn,to,ao,po,mo,No,Mo,vo,ho):Oo&6?Wn(Zn,to,ao,po,mo,No,Mo,vo,ho):(Oo&64||Oo&128)&&$o.process(Zn,to,ao,po,mo,No,Mo,vo,ho,Xn)}_o!=null&&mo&&setRef(_o,Zn&&Zn.ref,No,to||Zn,!to)},Sn=(Zn,to,ao,po)=>{if(Zn==null)Ue(to.el=Lt(to.children),ao,po);else{const mo=to.el=Zn.el;to.children!==Zn.children&&hn(mo,to.children)}},_n=(Zn,to,ao,po)=>{Zn==null?Ue(to.el=jt(to.children||""),ao,po):to.el=Zn.el},En=(Zn,to,ao,po)=>{[Zn.el,Zn.anchor]=xn(Zn.children,to,ao,po,Zn.el,Zn.anchor)},$n=({el:Zn,anchor:to},ao,po)=>{let mo;for(;Zn&&Zn!==to;)mo=kn(Zn),Ue(Zn,ao,po),Zn=mo;Ue(to,ao,po)},Tn=({el:Zn,anchor:to})=>{let ao;for(;Zn&&Zn!==to;)ao=kn(Zn),qe(Zn),Zn=ao;qe(to)},On=(Zn,to,ao,po,mo,No,Mo,vo,ho)=>{to.type==="svg"?Mo="svg":to.type==="math"&&(Mo="mathml"),Zn==null?Nn(to,ao,po,mo,No,Mo,vo,ho):In(Zn,to,mo,No,Mo,vo,ho)},Nn=(Zn,to,ao,po,mo,No,Mo,vo)=>{let ho,$o;const{props:_o,shapeFlag:Oo,transition:oo,dirs:Co}=Zn;if(ho=Zn.el=Dt(Zn.type,No,_o&&_o.is,_o),Oo&8?vn(ho,Zn.children):Oo&16&&Pn(Zn.children,ho,null,po,mo,resolveChildrenNamespace(Zn,No),Mo,vo),Co&&invokeDirectiveHook(Zn,null,po,"created"),An(ho,Zn,Zn.scopeId,Mo,po),_o){for(const Io in _o)Io!=="value"&&!isReservedProp(Io)&&At(ho,Io,null,_o[Io],No,Zn.children,po,mo,no);"value"in _o&&At(ho,"value",null,_o.value,No),($o=_o.onVnodeBeforeMount)&&invokeVNodeHook($o,po,Zn)}Co&&invokeDirectiveHook(Zn,null,po,"beforeMount");const yo=needTransition(mo,oo);yo&&oo.beforeEnter(ho),Ue(ho,to,ao),(($o=_o&&_o.onVnodeMounted)||yo||Co)&&queuePostRenderEffect(()=>{$o&&invokeVNodeHook($o,po,Zn),yo&&oo.enter(ho),Co&&invokeDirectiveHook(Zn,null,po,"mounted")},mo)},An=(Zn,to,ao,po,mo)=>{if(ao&&Cn(Zn,ao),po)for(let No=0;No{for(let $o=ho;$o{const vo=to.el=Zn.el;let{patchFlag:ho,dynamicChildren:$o,dirs:_o}=to;ho|=Zn.patchFlag&16;const Oo=Zn.props||EMPTY_OBJ,oo=to.props||EMPTY_OBJ;let Co;if(ao&&toggleRecurse(ao,!1),(Co=oo.onVnodeBeforeUpdate)&&invokeVNodeHook(Co,ao,to,Zn),_o&&invokeDirectiveHook(to,Zn,ao,"beforeUpdate"),ao&&toggleRecurse(ao,!0),$o?Mn(Zn.dynamicChildren,$o,vo,ao,po,resolveChildrenNamespace(to,mo),No):Mo||Ln(Zn,to,vo,null,ao,po,resolveChildrenNamespace(to,mo),No,!1),ho>0){if(ho&16)Rn(vo,to,Oo,oo,ao,po,mo);else if(ho&2&&Oo.class!==oo.class&&At(vo,"class",null,oo.class,mo),ho&4&&At(vo,"style",Oo.style,oo.style,mo),ho&8){const yo=to.dynamicProps;for(let Io=0;Io{Co&&invokeVNodeHook(Co,ao,to,Zn),_o&&invokeDirectiveHook(to,Zn,ao,"updated")},po)},Mn=(Zn,to,ao,po,mo,No,Mo)=>{for(let vo=0;vo{if(ao!==po){if(ao!==EMPTY_OBJ)for(const vo in ao)!isReservedProp(vo)&&!(vo in po)&&At(Zn,vo,ao[vo],null,Mo,to.children,mo,No,no);for(const vo in po){if(isReservedProp(vo))continue;const ho=po[vo],$o=ao[vo];ho!==$o&&vo!=="value"&&At(Zn,vo,$o,ho,Mo,to.children,mo,No,no)}"value"in po&&At(Zn,"value",ao.value,po.value,Mo)}},Un=(Zn,to,ao,po,mo,No,Mo,vo,ho)=>{const $o=to.el=Zn?Zn.el:Lt(""),_o=to.anchor=Zn?Zn.anchor:Lt("");let{patchFlag:Oo,dynamicChildren:oo,slotScopeIds:Co}=to;Co&&(vo=vo?vo.concat(Co):Co),Zn==null?(Ue($o,ao,po),Ue(_o,ao,po),Pn(to.children||[],ao,_o,mo,No,Mo,vo,ho)):Oo>0&&Oo&64&&oo&&Zn.dynamicChildren?(Mn(Zn.dynamicChildren,oo,ao,mo,No,Mo,vo),(to.key!=null||mo&&to===mo.subTree)&&traverseStaticChildren(Zn,to,!0)):Ln(Zn,to,ao,_o,mo,No,Mo,vo,ho)},Wn=(Zn,to,ao,po,mo,No,Mo,vo,ho)=>{to.slotScopeIds=vo,Zn==null?to.shapeFlag&512?mo.ctx.activate(to,ao,po,Mo,ho):jn(to,ao,po,mo,No,Mo,ho):Fn(Zn,to,ho)},jn=(Zn,to,ao,po,mo,No,Mo)=>{const vo=Zn.component=createComponentInstance(Zn,po,mo);if(isKeepAlive(Zn)&&(vo.ctx.renderer=Xn),setupComponent(vo),vo.asyncDep){if(mo&&mo.registerDep(vo,Bn,Mo),!Zn.el){const ho=vo.subTree=createVNode(Comment$1);_n(null,ho,to,ao)}}else Bn(vo,Zn,to,ao,mo,No,Mo)},Fn=(Zn,to,ao)=>{const po=to.component=Zn.component;if(shouldUpdateComponent(Zn,to,ao))if(po.asyncDep&&!po.asyncResolved){Dn(po,to,ao);return}else po.next=to,invalidateJob(po.update),po.effect.dirty=!0,po.update();else to.el=Zn.el,po.vnode=to},Bn=(Zn,to,ao,po,mo,No,Mo)=>{const vo=()=>{if(Zn.isMounted){let{next:_o,bu:Oo,u:oo,parent:Co,vnode:yo}=Zn;{const Fo=locateNonHydratedAsyncRoot(Zn);if(Fo){_o&&(_o.el=yo.el,Dn(Zn,_o,Mo)),Fo.asyncDep.then(()=>{Zn.isUnmounted||vo()});return}}let Io=_o,xo;toggleRecurse(Zn,!1),_o?(_o.el=yo.el,Dn(Zn,_o,Mo)):_o=yo,Oo&&invokeArrayFns(Oo),(xo=_o.props&&_o.props.onVnodeBeforeUpdate)&&invokeVNodeHook(xo,Co,_o,yo),toggleRecurse(Zn,!0);const Ao=renderComponentRoot(Zn),bo=Zn.subTree;Zn.subTree=Ao,wn(bo,Ao,bn(bo.el),qn(bo),Zn,mo,No),_o.el=Ao.el,Io===null&&updateHOCHostEl(Zn,Ao.el),oo&&queuePostRenderEffect(oo,mo),(xo=_o.props&&_o.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(xo,Co,_o,yo),mo)}else{let _o;const{el:Oo,props:oo}=to,{bm:Co,m:yo,parent:Io}=Zn,xo=isAsyncWrapper(to);if(toggleRecurse(Zn,!1),Co&&invokeArrayFns(Co),!xo&&(_o=oo&&oo.onVnodeBeforeMount)&&invokeVNodeHook(_o,Io,to),toggleRecurse(Zn,!0),Oo&&fo){const Ao=()=>{Zn.subTree=renderComponentRoot(Zn),fo(Oo,Zn.subTree,Zn,mo,null)};xo?to.type.__asyncLoader().then(()=>!Zn.isUnmounted&&Ao()):Ao()}else{const Ao=Zn.subTree=renderComponentRoot(Zn);wn(null,Ao,ao,po,Zn,mo,No),to.el=Ao.el}if(yo&&queuePostRenderEffect(yo,mo),!xo&&(_o=oo&&oo.onVnodeMounted)){const Ao=to;queuePostRenderEffect(()=>invokeVNodeHook(_o,Io,Ao),mo)}(to.shapeFlag&256||Io&&isAsyncWrapper(Io.vnode)&&Io.vnode.shapeFlag&256)&&Zn.a&&queuePostRenderEffect(Zn.a,mo),Zn.isMounted=!0,to=ao=po=null}},ho=Zn.effect=new ReactiveEffect(vo,NOOP,()=>queueJob($o),Zn.scope),$o=Zn.update=()=>{ho.dirty&&ho.run()};$o.id=Zn.uid,toggleRecurse(Zn,!0),$o()},Dn=(Zn,to,ao)=>{to.component=Zn;const po=Zn.vnode.props;Zn.vnode=to,Zn.next=null,updateProps(Zn,to.props,po,ao),updateSlots(Zn,to.children,ao),pauseTracking(),flushPreFlushCbs(Zn),resetTracking()},Ln=(Zn,to,ao,po,mo,No,Mo,vo,ho=!1)=>{const $o=Zn&&Zn.children,_o=Zn?Zn.shapeFlag:0,Oo=to.children,{patchFlag:oo,shapeFlag:Co}=to;if(oo>0){if(oo&128){zn($o,Oo,ao,po,mo,No,Mo,vo,ho);return}else if(oo&256){Vn($o,Oo,ao,po,mo,No,Mo,vo,ho);return}}Co&8?(_o&16&&no($o,mo,No),Oo!==$o&&vn(ao,Oo)):_o&16?Co&16?zn($o,Oo,ao,po,mo,No,Mo,vo,ho):no($o,mo,No,!0):(_o&8&&vn(ao,""),Co&16&&Pn(Oo,ao,po,mo,No,Mo,vo,ho))},Vn=(Zn,to,ao,po,mo,No,Mo,vo,ho)=>{Zn=Zn||EMPTY_ARR,to=to||EMPTY_ARR;const $o=Zn.length,_o=to.length,Oo=Math.min($o,_o);let oo;for(oo=0;oo_o?no(Zn,mo,No,!0,!1,Oo):Pn(to,ao,po,mo,No,Mo,vo,ho,Oo)},zn=(Zn,to,ao,po,mo,No,Mo,vo,ho)=>{let $o=0;const _o=to.length;let Oo=Zn.length-1,oo=_o-1;for(;$o<=Oo&&$o<=oo;){const Co=Zn[$o],yo=to[$o]=ho?cloneIfMounted(to[$o]):normalizeVNode(to[$o]);if(isSameVNodeType(Co,yo))wn(Co,yo,ao,null,mo,No,Mo,vo,ho);else break;$o++}for(;$o<=Oo&&$o<=oo;){const Co=Zn[Oo],yo=to[oo]=ho?cloneIfMounted(to[oo]):normalizeVNode(to[oo]);if(isSameVNodeType(Co,yo))wn(Co,yo,ao,null,mo,No,Mo,vo,ho);else break;Oo--,oo--}if($o>Oo){if($o<=oo){const Co=oo+1,yo=Co<_o?to[Co].el:po;for(;$o<=oo;)wn(null,to[$o]=ho?cloneIfMounted(to[$o]):normalizeVNode(to[$o]),ao,yo,mo,No,Mo,vo,ho),$o++}}else if($o>oo)for(;$o<=Oo;)Yn(Zn[$o],mo,No,!0),$o++;else{const Co=$o,yo=$o,Io=new Map;for($o=yo;$o<=oo;$o++){const Yo=to[$o]=ho?cloneIfMounted(to[$o]):normalizeVNode(to[$o]);Yo.key!=null&&Io.set(Yo.key,$o)}let xo,Ao=0;const bo=oo-yo+1;let Fo=!1,Po=0;const ko=new Array(bo);for($o=0;$o=bo){Yn(Yo,mo,No,!0);continue}let Ro;if(Yo.key!=null)Ro=Io.get(Yo.key);else for(xo=yo;xo<=oo;xo++)if(ko[xo-yo]===0&&isSameVNodeType(Yo,to[xo])){Ro=xo;break}Ro===void 0?Yn(Yo,mo,No,!0):(ko[Ro-yo]=$o+1,Ro>=Po?Po=Ro:Fo=!0,wn(Yo,to[Ro],ao,null,mo,No,Mo,vo,ho),Ao++)}const zo=Fo?getSequence(ko):EMPTY_ARR;for(xo=zo.length-1,$o=bo-1;$o>=0;$o--){const Yo=yo+$o,Ro=to[Yo],er=Yo+1<_o?to[Yo+1].el:po;ko[$o]===0?wn(null,Ro,ao,er,mo,No,Mo,vo,ho):Fo&&(xo<0||$o!==zo[xo]?Hn(Ro,ao,er,2):xo--)}}},Hn=(Zn,to,ao,po,mo=null)=>{const{el:No,type:Mo,transition:vo,children:ho,shapeFlag:$o}=Zn;if($o&6){Hn(Zn.component.subTree,to,ao,po);return}if($o&128){Zn.suspense.move(to,ao,po);return}if($o&64){Mo.move(Zn,to,ao,Xn);return}if(Mo===Fragment){Ue(No,to,ao);for(let Oo=0;Oovo.enter(No),mo);else{const{leave:Oo,delayLeave:oo,afterLeave:Co}=vo,yo=()=>Ue(No,to,ao),Io=()=>{Oo(No,()=>{yo(),Co&&Co()})};oo?oo(No,yo,Io):Io()}else Ue(No,to,ao)},Yn=(Zn,to,ao,po=!1,mo=!1)=>{const{type:No,props:Mo,ref:vo,children:ho,dynamicChildren:$o,shapeFlag:_o,patchFlag:Oo,dirs:oo,memoIndex:Co}=Zn;if(vo!=null&&setRef(vo,null,ao,Zn,!0),Co!=null&&(to.renderCache[Co]=void 0),_o&256){to.ctx.deactivate(Zn);return}const yo=_o&1&&oo,Io=!isAsyncWrapper(Zn);let xo;if(Io&&(xo=Mo&&Mo.onVnodeBeforeUnmount)&&invokeVNodeHook(xo,to,Zn),_o&6)ro(Zn.component,ao,po);else{if(_o&128){Zn.suspense.unmount(ao,po);return}yo&&invokeDirectiveHook(Zn,null,to,"beforeUnmount"),_o&64?Zn.type.remove(Zn,to,ao,mo,Xn,po):$o&&(No!==Fragment||Oo>0&&Oo&64)?no($o,to,ao,!1,!0):(No===Fragment&&Oo&384||!mo&&_o&16)&&no(ho,to,ao),po&&Qn(Zn)}(Io&&(xo=Mo&&Mo.onVnodeUnmounted)||yo)&&queuePostRenderEffect(()=>{xo&&invokeVNodeHook(xo,to,Zn),yo&&invokeDirectiveHook(Zn,null,to,"unmounted")},ao)},Qn=Zn=>{const{type:to,el:ao,anchor:po,transition:mo}=Zn;if(to===Fragment){lo(ao,po);return}if(to===Static){Tn(Zn);return}const No=()=>{qe(ao),mo&&!mo.persisted&&mo.afterLeave&&mo.afterLeave()};if(Zn.shapeFlag&1&&mo&&!mo.persisted){const{leave:Mo,delayLeave:vo}=mo,ho=()=>Mo(ao,No);vo?vo(Zn.el,No,ho):ho()}else No()},lo=(Zn,to)=>{let ao;for(;Zn!==to;)ao=kn(Zn),qe(Zn),Zn=ao;qe(to)},ro=(Zn,to,ao)=>{const{bum:po,scope:mo,update:No,subTree:Mo,um:vo,m:ho,a:$o}=Zn;invalidateMount(ho),invalidateMount($o),po&&invokeArrayFns(po),mo.stop(),No&&(No.active=!1,Yn(Mo,Zn,to,ao)),vo&&queuePostRenderEffect(vo,to),queuePostRenderEffect(()=>{Zn.isUnmounted=!0},to),to&&to.pendingBranch&&!to.isUnmounted&&Zn.asyncDep&&!Zn.asyncResolved&&Zn.suspenseId===to.pendingId&&(to.deps--,to.deps===0&&to.resolve())},no=(Zn,to,ao,po=!1,mo=!1,No=0)=>{for(let Mo=No;MoZn.shapeFlag&6?qn(Zn.component.subTree):Zn.shapeFlag&128?Zn.suspense.next():kn(Zn.anchor||Zn.el);let Gn=!1;const so=(Zn,to,ao)=>{Zn==null?to._vnode&&Yn(to._vnode,null,null,!0):wn(to._vnode||null,Zn,to,null,null,null,ao),Gn||(Gn=!0,flushPreFlushCbs(),flushPostFlushCbs(),Gn=!1),to._vnode=Zn},Xn={p:wn,um:Yn,m:Hn,r:Qn,mt:jn,mc:Pn,pc:Ln,pbc:Mn,n:qn,o:$e};let io,fo;return Ie&&([io,fo]=Ie(Xn)),{render:so,hydrate:io,createApp:createAppAPI(so,io)}}function resolveChildrenNamespace({type:$e,props:Ie},Fe){return Fe==="svg"&&$e==="foreignObject"||Fe==="mathml"&&$e==="annotation-xml"&&Ie&&Ie.encoding&&Ie.encoding.includes("html")?void 0:Fe}function toggleRecurse({effect:$e,update:Ie},Fe){$e.allowRecurse=Ie.allowRecurse=Fe}function needTransition($e,Ie){return(!$e||$e&&!$e.pendingBranch)&&Ie&&!Ie.persisted}function traverseStaticChildren($e,Ie,Fe=!1){const Ue=$e.children,qe=Ie.children;if(isArray$w(Ue)&&isArray$w(qe))for(let At=0;At>1,$e[Fe[Lt]]0&&(Ie[Ue]=Fe[At-1]),Fe[At]=Ue)}}for(At=Fe.length,Dt=Fe[At-1];At-- >0;)Fe[At]=Dt,Dt=Ie[Dt];return Fe}function locateNonHydratedAsyncRoot($e){const Ie=$e.subTree.component;if(Ie)return Ie.asyncDep&&!Ie.asyncResolved?Ie:locateNonHydratedAsyncRoot(Ie)}function invalidateMount($e){if($e)for(let Ie=0;Ie<$e.length;Ie++)$e[Ie].active=!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect($e,Ie){return doWatch($e,null,Ie)}function watchPostEffect($e,Ie){return doWatch($e,null,{flush:"post"})}function watchSyncEffect($e,Ie){return doWatch($e,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch($e,Ie,Fe){return doWatch($e,Ie,Fe)}function doWatch($e,Ie,{immediate:Fe,deep:Ue,flush:qe,once:At,onTrack:Dt,onTrigger:Lt}=EMPTY_OBJ){if(Ie&&At){const Nn=Ie;Ie=(...An)=>{Nn(...An),On()}}const jt=currentInstance,hn=Nn=>Ue===!0?Nn:traverse(Nn,Ue===!1?1:void 0);let vn,bn=!1,kn=!1;if(isRef($e)?(vn=()=>$e.value,bn=isShallow($e)):isReactive($e)?(vn=()=>hn($e),bn=!0):isArray$w($e)?(kn=!0,bn=$e.some(Nn=>isReactive(Nn)||isShallow(Nn)),vn=()=>$e.map(Nn=>{if(isRef(Nn))return Nn.value;if(isReactive(Nn))return hn(Nn);if(isFunction$i(Nn))return callWithErrorHandling(Nn,jt,2)})):isFunction$i($e)?Ie?vn=()=>callWithErrorHandling($e,jt,2):vn=()=>(Cn&&Cn(),callWithAsyncErrorHandling($e,jt,3,[xn])):vn=NOOP,Ie&&Ue){const Nn=vn;vn=()=>traverse(Nn())}let Cn,xn=Nn=>{Cn=$n.onStop=()=>{callWithErrorHandling(Nn,jt,4),Cn=$n.onStop=void 0}},wn;if(isInSSRComponentSetup)if(xn=NOOP,Ie?Fe&&callWithAsyncErrorHandling(Ie,jt,3,[vn(),kn?[]:void 0,xn]):vn(),qe==="sync"){const Nn=useSSRContext();wn=Nn.__watcherHandles||(Nn.__watcherHandles=[])}else return NOOP;let Sn=kn?new Array($e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const _n=()=>{if(!(!$n.active||!$n.dirty))if(Ie){const Nn=$n.run();(Ue||bn||(kn?Nn.some((An,Pn)=>hasChanged(An,Sn[Pn])):hasChanged(Nn,Sn)))&&(Cn&&Cn(),callWithAsyncErrorHandling(Ie,jt,3,[Nn,Sn===INITIAL_WATCHER_VALUE?void 0:kn&&Sn[0]===INITIAL_WATCHER_VALUE?[]:Sn,xn]),Sn=Nn)}else $n.run()};_n.allowRecurse=!!Ie;let En;qe==="sync"?En=_n:qe==="post"?En=()=>queuePostRenderEffect(_n,jt&&jt.suspense):(_n.pre=!0,jt&&(_n.id=jt.uid),En=()=>queueJob(_n));const $n=new ReactiveEffect(vn,NOOP,En),Tn=getCurrentScope(),On=()=>{$n.stop(),Tn&&remove$3(Tn.effects,$n)};return Ie?Fe?_n():Sn=$n.run():qe==="post"?queuePostRenderEffect($n.run.bind($n),jt&&jt.suspense):$n.run(),wn&&wn.push(On),On}function instanceWatch($e,Ie,Fe){const Ue=this.proxy,qe=isString$d($e)?$e.includes(".")?createPathGetter(Ue,$e):()=>Ue[$e]:$e.bind(Ue,Ue);let At;isFunction$i(Ie)?At=Ie:(At=Ie.handler,Fe=Ie);const Dt=setCurrentInstance(this),Lt=doWatch(qe,At.bind(Ue),Fe);return Dt(),Lt}function createPathGetter($e,Ie){const Fe=Ie.split(".");return()=>{let Ue=$e;for(let qe=0;qe{traverse(Ue,Ie,Fe)});else if(isPlainObject$b($e)){for(const Ue in $e)traverse($e[Ue],Ie,Fe);for(const Ue of Object.getOwnPropertySymbols($e))Object.prototype.propertyIsEnumerable.call($e,Ue)&&traverse($e[Ue],Ie,Fe)}return $e}const isKeepAlive=$e=>$e.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup($e,{slots:Ie}){const Fe=getCurrentInstance(),Ue=Fe.ctx;if(!Ue.renderer)return()=>{const En=Ie.default&&Ie.default();return En&&En.length===1?En[0]:En};const qe=new Map,At=new Set;let Dt=null;const Lt=Fe.suspense,{renderer:{p:jt,m:hn,um:vn,o:{createElement:bn}}}=Ue,kn=bn("div");Ue.activate=(En,$n,Tn,On,Nn)=>{const An=En.component;hn(En,$n,Tn,0,Lt),jt(An.vnode,En,$n,Tn,An,Lt,On,En.slotScopeIds,Nn),queuePostRenderEffect(()=>{An.isDeactivated=!1,An.a&&invokeArrayFns(An.a);const Pn=En.props&&En.props.onVnodeMounted;Pn&&invokeVNodeHook(Pn,An.parent,En)},Lt)},Ue.deactivate=En=>{const $n=En.component;invalidateMount($n.m),invalidateMount($n.a),hn(En,kn,null,1,Lt),queuePostRenderEffect(()=>{$n.da&&invokeArrayFns($n.da);const Tn=En.props&&En.props.onVnodeUnmounted;Tn&&invokeVNodeHook(Tn,$n.parent,En),$n.isDeactivated=!0},Lt)};function Cn(En){resetShapeFlag(En),vn(En,Fe,Lt,!0)}function xn(En){qe.forEach(($n,Tn)=>{const On=getComponentName($n.type);On&&(!En||!En(On))&&wn(Tn)})}function wn(En){const $n=qe.get(En);!Dt||!isSameVNodeType($n,Dt)?Cn($n):Dt&&resetShapeFlag(Dt),qe.delete(En),At.delete(En)}watch(()=>[$e.include,$e.exclude],([En,$n])=>{En&&xn(Tn=>matches(En,Tn)),$n&&xn(Tn=>!matches($n,Tn))},{flush:"post",deep:!0});let Sn=null;const _n=()=>{Sn!=null&&(isSuspense(Fe.subTree.type)?queuePostRenderEffect(()=>{qe.set(Sn,getInnerChild(Fe.subTree))},Fe.subTree.suspense):qe.set(Sn,getInnerChild(Fe.subTree)))};return onMounted(_n),onUpdated(_n),onBeforeUnmount(()=>{qe.forEach(En=>{const{subTree:$n,suspense:Tn}=Fe,On=getInnerChild($n);if(En.type===On.type&&En.key===On.key){resetShapeFlag(On);const Nn=On.component.da;Nn&&queuePostRenderEffect(Nn,Tn);return}Cn(En)})}),()=>{if(Sn=null,!Ie.default)return null;const En=Ie.default(),$n=En[0];if(En.length>1)return Dt=null,En;if(!isVNode($n)||!($n.shapeFlag&4)&&!($n.shapeFlag&128))return Dt=null,$n;let Tn=getInnerChild($n);const On=Tn.type,Nn=getComponentName(isAsyncWrapper(Tn)?Tn.type.__asyncResolved||{}:On),{include:An,exclude:Pn,max:In}=$e;if(An&&(!Nn||!matches(An,Nn))||Pn&&Nn&&matches(Pn,Nn))return Dt=Tn,$n;const Mn=Tn.key==null?On:Tn.key,Rn=qe.get(Mn);return Tn.el&&(Tn=cloneVNode(Tn),$n.shapeFlag&128&&($n.ssContent=Tn)),Sn=Mn,Rn?(Tn.el=Rn.el,Tn.component=Rn.component,Tn.transition&&setTransitionHooks(Tn,Tn.transition),Tn.shapeFlag|=512,At.delete(Mn),At.add(Mn)):(At.add(Mn),In&&At.size>parseInt(In,10)&&wn(At.values().next().value)),Tn.shapeFlag|=256,Dt=Tn,isSuspense($n.type)?$n:Tn}}},KeepAlive=KeepAliveImpl;function matches($e,Ie){return isArray$w($e)?$e.some(Fe=>matches(Fe,Ie)):isString$d($e)?$e.split(",").includes(Ie):isRegExp$5($e)?$e.test(Ie):!1}function onActivated($e,Ie){registerKeepAliveHook($e,"a",Ie)}function onDeactivated($e,Ie){registerKeepAliveHook($e,"da",Ie)}function registerKeepAliveHook($e,Ie,Fe=currentInstance){const Ue=$e.__wdc||($e.__wdc=()=>{let qe=Fe;for(;qe;){if(qe.isDeactivated)return;qe=qe.parent}return $e()});if(injectHook(Ie,Ue,Fe),Fe){let qe=Fe.parent;for(;qe&&qe.parent;)isKeepAlive(qe.parent.vnode)&&injectToKeepAliveRoot(Ue,Ie,Fe,qe),qe=qe.parent}}function injectToKeepAliveRoot($e,Ie,Fe,Ue){const qe=injectHook(Ie,$e,Ue,!0);onUnmounted(()=>{remove$3(Ue[Ie],qe)},Fe)}function resetShapeFlag($e){$e.shapeFlag&=-257,$e.shapeFlag&=-513}function getInnerChild($e){return $e.shapeFlag&128?$e.ssContent:$e}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const $e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{$e.isMounted=!0}),onBeforeUnmount(()=>{$e.isUnmounting=!0}),$e}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=$e=>{const Ie=$e.subTree;return Ie.component?recursiveGetSubtree(Ie.component):Ie},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup($e,{slots:Ie}){const Fe=getCurrentInstance(),Ue=useTransitionState();return()=>{const qe=Ie.default&&getTransitionRawChildren(Ie.default(),!0);if(!qe||!qe.length)return;let At=qe[0];if(qe.length>1){for(const kn of qe)if(kn.type!==Comment$1){At=kn;break}}const Dt=toRaw($e),{mode:Lt}=Dt;if(Ue.isLeaving)return emptyPlaceholder(At);const jt=getKeepAliveChild(At);if(!jt)return emptyPlaceholder(At);let hn=resolveTransitionHooks(jt,Dt,Ue,Fe,kn=>hn=kn);setTransitionHooks(jt,hn);const vn=Fe.subTree,bn=vn&&getKeepAliveChild(vn);if(bn&&bn.type!==Comment$1&&!isSameVNodeType(jt,bn)&&recursiveGetSubtree(Fe).type!==Comment$1){const kn=resolveTransitionHooks(bn,Dt,Ue,Fe);if(setTransitionHooks(bn,kn),Lt==="out-in"&&jt.type!==Comment$1)return Ue.isLeaving=!0,kn.afterLeave=()=>{Ue.isLeaving=!1,Fe.update.active!==!1&&(Fe.effect.dirty=!0,Fe.update())},emptyPlaceholder(At);Lt==="in-out"&&jt.type!==Comment$1&&(kn.delayLeave=(Cn,xn,wn)=>{const Sn=getLeavingNodesForType(Ue,bn);Sn[String(bn.key)]=bn,Cn[leaveCbKey]=()=>{xn(),Cn[leaveCbKey]=void 0,delete hn.delayedLeave},hn.delayedLeave=wn})}return At}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType($e,Ie){const{leavingVNodes:Fe}=$e;let Ue=Fe.get(Ie.type);return Ue||(Ue=Object.create(null),Fe.set(Ie.type,Ue)),Ue}function resolveTransitionHooks($e,Ie,Fe,Ue,qe){const{appear:At,mode:Dt,persisted:Lt=!1,onBeforeEnter:jt,onEnter:hn,onAfterEnter:vn,onEnterCancelled:bn,onBeforeLeave:kn,onLeave:Cn,onAfterLeave:xn,onLeaveCancelled:wn,onBeforeAppear:Sn,onAppear:_n,onAfterAppear:En,onAppearCancelled:$n}=Ie,Tn=String($e.key),On=getLeavingNodesForType(Fe,$e),Nn=(In,Mn)=>{In&&callWithAsyncErrorHandling(In,Ue,9,Mn)},An=(In,Mn)=>{const Rn=Mn[1];Nn(In,Mn),isArray$w(In)?In.every(Un=>Un.length<=1)&&Rn():In.length<=1&&Rn()},Pn={mode:Dt,persisted:Lt,beforeEnter(In){let Mn=jt;if(!Fe.isMounted)if(At)Mn=Sn||jt;else return;In[leaveCbKey]&&In[leaveCbKey](!0);const Rn=On[Tn];Rn&&isSameVNodeType($e,Rn)&&Rn.el[leaveCbKey]&&Rn.el[leaveCbKey](),Nn(Mn,[In])},enter(In){let Mn=hn,Rn=vn,Un=bn;if(!Fe.isMounted)if(At)Mn=_n||hn,Rn=En||vn,Un=$n||bn;else return;let Wn=!1;const jn=In[enterCbKey$1]=Fn=>{Wn||(Wn=!0,Fn?Nn(Un,[In]):Nn(Rn,[In]),Pn.delayedLeave&&Pn.delayedLeave(),In[enterCbKey$1]=void 0)};Mn?An(Mn,[In,jn]):jn()},leave(In,Mn){const Rn=String($e.key);if(In[enterCbKey$1]&&In[enterCbKey$1](!0),Fe.isUnmounting)return Mn();Nn(kn,[In]);let Un=!1;const Wn=In[leaveCbKey]=jn=>{Un||(Un=!0,Mn(),jn?Nn(wn,[In]):Nn(xn,[In]),In[leaveCbKey]=void 0,On[Rn]===$e&&delete On[Rn])};On[Rn]=$e,Cn?An(Cn,[In,Wn]):Wn()},clone(In){const Mn=resolveTransitionHooks(In,Ie,Fe,Ue,qe);return qe&&qe(Mn),Mn}};return Pn}function emptyPlaceholder($e){if(isKeepAlive($e))return $e=cloneVNode($e),$e.children=null,$e}function getKeepAliveChild($e){if(!isKeepAlive($e))return $e;const{shapeFlag:Ie,children:Fe}=$e;if(Fe){if(Ie&16)return Fe[0];if(Ie&32&&isFunction$i(Fe.default))return Fe.default()}}function setTransitionHooks($e,Ie){$e.shapeFlag&6&&$e.component?setTransitionHooks($e.component.subTree,Ie):$e.shapeFlag&128?($e.ssContent.transition=Ie.clone($e.ssContent),$e.ssFallback.transition=Ie.clone($e.ssFallback)):$e.transition=Ie}function getTransitionRawChildren($e,Ie=!1,Fe){let Ue=[],qe=0;for(let At=0;At<$e.length;At++){let Dt=$e[At];const Lt=Fe==null?Dt.key:String(Fe)+String(Dt.key!=null?Dt.key:At);Dt.type===Fragment?(Dt.patchFlag&128&&qe++,Ue=Ue.concat(getTransitionRawChildren(Dt.children,Ie,Lt))):(Ie||Dt.type!==Comment$1)&&Ue.push(Lt!=null?cloneVNode(Dt,{key:Lt}):Dt)}if(qe>1)for(let At=0;At$e.__isTeleport,isTeleportDisabled=$e=>$e&&($e.disabled||$e.disabled===""),isTargetSVG=$e=>typeof SVGElement<"u"&&$e instanceof SVGElement,isTargetMathML=$e=>typeof MathMLElement=="function"&&$e instanceof MathMLElement,resolveTarget=($e,Ie)=>{const Fe=$e&&$e.to;return isString$d(Fe)?Ie?Ie(Fe):null:Fe},TeleportImpl={name:"Teleport",__isTeleport:!0,process($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){const{mc:vn,pc:bn,pbc:kn,o:{insert:Cn,querySelector:xn,createText:wn,createComment:Sn}}=hn,_n=isTeleportDisabled(Ie.props);let{shapeFlag:En,children:$n,dynamicChildren:Tn}=Ie;if($e==null){const On=Ie.el=wn(""),Nn=Ie.anchor=wn("");Cn(On,Fe,Ue),Cn(Nn,Fe,Ue);const An=Ie.target=resolveTarget(Ie.props,xn),Pn=Ie.targetAnchor=wn("");An&&(Cn(Pn,An),Dt==="svg"||isTargetSVG(An)?Dt="svg":(Dt==="mathml"||isTargetMathML(An))&&(Dt="mathml"));const In=(Mn,Rn)=>{En&16&&vn($n,Mn,Rn,qe,At,Dt,Lt,jt)};_n?In(Fe,Nn):An&&In(An,Pn)}else{Ie.el=$e.el;const On=Ie.anchor=$e.anchor,Nn=Ie.target=$e.target,An=Ie.targetAnchor=$e.targetAnchor,Pn=isTeleportDisabled($e.props),In=Pn?Fe:Nn,Mn=Pn?On:An;if(Dt==="svg"||isTargetSVG(Nn)?Dt="svg":(Dt==="mathml"||isTargetMathML(Nn))&&(Dt="mathml"),Tn?(kn($e.dynamicChildren,Tn,In,qe,At,Dt,Lt),traverseStaticChildren($e,Ie,!0)):jt||bn($e,Ie,In,Mn,qe,At,Dt,Lt,!1),_n)Pn?Ie.props&&$e.props&&Ie.props.to!==$e.props.to&&(Ie.props.to=$e.props.to):moveTeleport(Ie,Fe,On,hn,1);else if((Ie.props&&Ie.props.to)!==($e.props&&$e.props.to)){const Rn=Ie.target=resolveTarget(Ie.props,xn);Rn&&moveTeleport(Ie,Rn,null,hn,0)}else Pn&&moveTeleport(Ie,Nn,An,hn,1)}updateCssVars(Ie)},remove($e,Ie,Fe,Ue,{um:qe,o:{remove:At}},Dt){const{shapeFlag:Lt,children:jt,anchor:hn,targetAnchor:vn,target:bn,props:kn}=$e;if(bn&&At(vn),Dt&&At(hn),Lt&16){const Cn=Dt||!isTeleportDisabled(kn);for(let xn=0;xn0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push($e),$e}function createElementBlock($e,Ie,Fe,Ue,qe,At){return setupBlock(createBaseVNode($e,Ie,Fe,Ue,qe,At,!0))}function createBlock($e,Ie,Fe,Ue,qe){return setupBlock(createVNode($e,Ie,Fe,Ue,qe,!0))}function isVNode($e){return $e?$e.__v_isVNode===!0:!1}function isSameVNodeType($e,Ie){return $e.type===Ie.type&&$e.key===Ie.key}function transformVNodeArgs($e){}const normalizeKey=({key:$e})=>$e??null,normalizeRef=({ref:$e,ref_key:Ie,ref_for:Fe})=>(typeof $e=="number"&&($e=""+$e),$e!=null?isString$d($e)||isRef($e)||isFunction$i($e)?{i:currentRenderingInstance,r:$e,k:Ie,f:!!Fe}:$e:null);function createBaseVNode($e,Ie=null,Fe=null,Ue=0,qe=null,At=$e===Fragment?0:1,Dt=!1,Lt=!1){const jt={__v_isVNode:!0,__v_skip:!0,type:$e,props:Ie,key:Ie&&normalizeKey(Ie),ref:Ie&&normalizeRef(Ie),scopeId:currentScopeId,slotScopeIds:null,children:Fe,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:At,patchFlag:Ue,dynamicProps:qe,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return Lt?(normalizeChildren(jt,Fe),At&128&&$e.normalize(jt)):Fe&&(jt.shapeFlag|=isString$d(Fe)?8:16),isBlockTreeEnabled>0&&!Dt&¤tBlock&&(jt.patchFlag>0||At&6)&&jt.patchFlag!==32&¤tBlock.push(jt),jt}const createVNode=_createVNode;function _createVNode($e,Ie=null,Fe=null,Ue=0,qe=null,At=!1){if((!$e||$e===NULL_DYNAMIC_COMPONENT)&&($e=Comment$1),isVNode($e)){const Lt=cloneVNode($e,Ie,!0);return Fe&&normalizeChildren(Lt,Fe),isBlockTreeEnabled>0&&!At&¤tBlock&&(Lt.shapeFlag&6?currentBlock[currentBlock.indexOf($e)]=Lt:currentBlock.push(Lt)),Lt.patchFlag=-2,Lt}if(isClassComponent($e)&&($e=$e.__vccOpts),Ie){Ie=guardReactiveProps(Ie);let{class:Lt,style:jt}=Ie;Lt&&!isString$d(Lt)&&(Ie.class=normalizeClass(Lt)),isObject$9(jt)&&(isProxy(jt)&&!isArray$w(jt)&&(jt=extend$1({},jt)),Ie.style=normalizeStyle(jt))}const Dt=isString$d($e)?1:isSuspense($e)?128:isTeleport($e)?64:isObject$9($e)?4:isFunction$i($e)?2:0;return createBaseVNode($e,Ie,Fe,Ue,qe,Dt,At,!0)}function guardReactiveProps($e){return $e?isProxy($e)||isInternalObject($e)?extend$1({},$e):$e:null}function cloneVNode($e,Ie,Fe=!1,Ue=!1){const{props:qe,ref:At,patchFlag:Dt,children:Lt,transition:jt}=$e,hn=Ie?mergeProps(qe||{},Ie):qe,vn={__v_isVNode:!0,__v_skip:!0,type:$e.type,props:hn,key:hn&&normalizeKey(hn),ref:Ie&&Ie.ref?Fe&&At?isArray$w(At)?At.concat(normalizeRef(Ie)):[At,normalizeRef(Ie)]:normalizeRef(Ie):At,scopeId:$e.scopeId,slotScopeIds:$e.slotScopeIds,children:Lt,target:$e.target,targetAnchor:$e.targetAnchor,staticCount:$e.staticCount,shapeFlag:$e.shapeFlag,patchFlag:Ie&&$e.type!==Fragment?Dt===-1?16:Dt|16:Dt,dynamicProps:$e.dynamicProps,dynamicChildren:$e.dynamicChildren,appContext:$e.appContext,dirs:$e.dirs,transition:jt,component:$e.component,suspense:$e.suspense,ssContent:$e.ssContent&&cloneVNode($e.ssContent),ssFallback:$e.ssFallback&&cloneVNode($e.ssFallback),el:$e.el,anchor:$e.anchor,ctx:$e.ctx,ce:$e.ce};return jt&&Ue&&setTransitionHooks(vn,jt.clone(vn)),vn}function createTextVNode($e=" ",Ie=0){return createVNode(Text$3,null,$e,Ie)}function createStaticVNode($e,Ie){const Fe=createVNode(Static,null,$e);return Fe.staticCount=Ie,Fe}function createCommentVNode($e="",Ie=!1){return Ie?(openBlock(),createBlock(Comment$1,null,$e)):createVNode(Comment$1,null,$e)}function normalizeVNode($e){return $e==null||typeof $e=="boolean"?createVNode(Comment$1):isArray$w($e)?createVNode(Fragment,null,$e.slice()):typeof $e=="object"?cloneIfMounted($e):createVNode(Text$3,null,String($e))}function cloneIfMounted($e){return $e.el===null&&$e.patchFlag!==-1||$e.memo?$e:cloneVNode($e)}function normalizeChildren($e,Ie){let Fe=0;const{shapeFlag:Ue}=$e;if(Ie==null)Ie=null;else if(isArray$w(Ie))Fe=16;else if(typeof Ie=="object")if(Ue&65){const qe=Ie.default;qe&&(qe._c&&(qe._d=!1),normalizeChildren($e,qe()),qe._c&&(qe._d=!0));return}else{Fe=32;const qe=Ie._;!qe&&!isInternalObject(Ie)?Ie._ctx=currentRenderingInstance:qe===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?Ie._=1:(Ie._=2,$e.patchFlag|=1024))}else isFunction$i(Ie)?(Ie={default:Ie,_ctx:currentRenderingInstance},Fe=32):(Ie=String(Ie),Ue&64?(Fe=16,Ie=[createTextVNode(Ie)]):Fe=8);$e.children=Ie,$e.shapeFlag|=Fe}function mergeProps(...$e){const Ie={};for(let Fe=0;Fe<$e.length;Fe++){const Ue=$e[Fe];for(const qe in Ue)if(qe==="class")Ie.class!==Ue.class&&(Ie.class=normalizeClass([Ie.class,Ue.class]));else if(qe==="style")Ie.style=normalizeStyle([Ie.style,Ue.style]);else if(isOn(qe)){const At=Ie[qe],Dt=Ue[qe];Dt&&At!==Dt&&!(isArray$w(At)&&At.includes(Dt))&&(Ie[qe]=At?[].concat(At,Dt):Dt)}else qe!==""&&(Ie[qe]=Ue[qe])}return Ie}function invokeVNodeHook($e,Ie,Fe,Ue=null){callWithAsyncErrorHandling($e,Ie,7,[Fe,Ue])}const emptyAppContext=createAppContext();let uid$2=0;function createComponentInstance($e,Ie,Fe){const Ue=$e.type,qe=(Ie?Ie.appContext:$e.appContext)||emptyAppContext,At={uid:uid$2++,vnode:$e,type:Ue,parent:Ie,appContext:qe,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:Ie?Ie.provides:Object.create(qe.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(Ue,qe),emitsOptions:normalizeEmitsOptions(Ue,qe),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:Ue.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:Fe,suspenseId:Fe?Fe.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return At.ctx={_:At},At.root=Ie?Ie.root:At,At.emit=emit.bind(null,At),$e.ce&&$e.ce(At),At}let currentInstance=null;const getCurrentInstance=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const $e=getGlobalThis(),Ie=(Fe,Ue)=>{let qe;return(qe=$e[Fe])||(qe=$e[Fe]=[]),qe.push(Ue),At=>{qe.length>1?qe.forEach(Dt=>Dt(At)):qe[0](At)}};internalSetCurrentInstance=Ie("__VUE_INSTANCE_SETTERS__",Fe=>currentInstance=Fe),setInSSRSetupState=Ie("__VUE_SSR_SETTERS__",Fe=>isInSSRComponentSetup=Fe)}const setCurrentInstance=$e=>{const Ie=currentInstance;return internalSetCurrentInstance($e),$e.scope.on(),()=>{$e.scope.off(),internalSetCurrentInstance(Ie)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent($e){return $e.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent($e,Ie=!1){Ie&&setInSSRSetupState(Ie);const{props:Fe,children:Ue}=$e.vnode,qe=isStatefulComponent($e);initProps($e,Fe,qe,Ie),initSlots($e,Ue);const At=qe?setupStatefulComponent($e,Ie):void 0;return Ie&&setInSSRSetupState(!1),At}function setupStatefulComponent($e,Ie){const Fe=$e.type;$e.accessCache=Object.create(null),$e.proxy=new Proxy($e.ctx,PublicInstanceProxyHandlers);const{setup:Ue}=Fe;if(Ue){const qe=$e.setupContext=Ue.length>1?createSetupContext($e):null,At=setCurrentInstance($e);pauseTracking();const Dt=callWithErrorHandling(Ue,$e,0,[$e.props,qe]);if(resetTracking(),At(),isPromise(Dt)){if(Dt.then(unsetCurrentInstance,unsetCurrentInstance),Ie)return Dt.then(Lt=>{handleSetupResult($e,Lt,Ie)}).catch(Lt=>{handleError(Lt,$e,0)});$e.asyncDep=Dt}else handleSetupResult($e,Dt,Ie)}else finishComponentSetup($e,Ie)}function handleSetupResult($e,Ie,Fe){isFunction$i(Ie)?$e.type.__ssrInlineRender?$e.ssrRender=Ie:$e.render=Ie:isObject$9(Ie)&&($e.setupState=proxyRefs(Ie)),finishComponentSetup($e,Fe)}let compile,installWithProxy;function registerRuntimeCompiler($e){compile=$e,installWithProxy=Ie=>{Ie.render._rc&&(Ie.withProxy=new Proxy(Ie.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile;function finishComponentSetup($e,Ie,Fe){const Ue=$e.type;if(!$e.render){if(!Ie&&compile&&!Ue.render){const qe=Ue.template||resolveMergedOptions($e).template;if(qe){const{isCustomElement:At,compilerOptions:Dt}=$e.appContext.config,{delimiters:Lt,compilerOptions:jt}=Ue,hn=extend$1(extend$1({isCustomElement:At,delimiters:Lt},Dt),jt);Ue.render=compile(qe,hn)}}$e.render=Ue.render||NOOP,installWithProxy&&installWithProxy($e)}{const qe=setCurrentInstance($e);pauseTracking();try{applyOptions($e)}finally{resetTracking(),qe()}}}const attrsProxyHandlers={get($e,Ie){return track($e,"get",""),$e[Ie]}};function createSetupContext($e){const Ie=Fe=>{$e.exposed=Fe||{}};return{attrs:new Proxy($e.attrs,attrsProxyHandlers),slots:$e.slots,emit:$e.emit,expose:Ie}}function getComponentPublicInstance($e){return $e.exposed?$e.exposeProxy||($e.exposeProxy=new Proxy(proxyRefs(markRaw($e.exposed)),{get(Ie,Fe){if(Fe in Ie)return Ie[Fe];if(Fe in publicPropertiesMap)return publicPropertiesMap[Fe]($e)},has(Ie,Fe){return Fe in Ie||Fe in publicPropertiesMap}})):$e.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=$e=>$e.replace(classifyRE,Ie=>Ie.toUpperCase()).replace(/[-_]/g,"");function getComponentName($e,Ie=!0){return isFunction$i($e)?$e.displayName||$e.name:$e.name||Ie&&$e.__name}function formatComponentName($e,Ie,Fe=!1){let Ue=getComponentName(Ie);if(!Ue&&Ie.__file){const qe=Ie.__file.match(/([^/\\]+)\.\w+$/);qe&&(Ue=qe[1])}if(!Ue&&$e&&$e.parent){const qe=At=>{for(const Dt in At)if(At[Dt]===Ie)return Dt};Ue=qe($e.components||$e.parent.type.components)||qe($e.appContext.components)}return Ue?classify(Ue):Fe?"App":"Anonymous"}function isClassComponent($e){return isFunction$i($e)&&"__vccOpts"in $e}const computed=($e,Ie)=>computed$1($e,Ie,isInSSRComponentSetup);function useModel($e,Ie,Fe=EMPTY_OBJ){const Ue=getCurrentInstance(),qe=camelize$1(Ie),At=hyphenate(Ie),Dt=customRef((jt,hn)=>{let vn;return watchSyncEffect(()=>{const bn=$e[Ie];hasChanged(vn,bn)&&(vn=bn,hn())}),{get(){return jt(),Fe.get?Fe.get(vn):vn},set(bn){const kn=Ue.vnode.props;!(kn&&(Ie in kn||qe in kn||At in kn)&&(`onUpdate:${Ie}`in kn||`onUpdate:${qe}`in kn||`onUpdate:${At}`in kn))&&hasChanged(bn,vn)&&(vn=bn,hn()),Ue.emit(`update:${Ie}`,Fe.set?Fe.set(bn):bn)}}}),Lt=Ie==="modelValue"?"modelModifiers":`${Ie}Modifiers`;return Dt[Symbol.iterator]=()=>{let jt=0;return{next(){return jt<2?{value:jt++?$e[Lt]||{}:Dt,done:!1}:{done:!0}}}},Dt}function h$5($e,Ie,Fe){const Ue=arguments.length;return Ue===2?isObject$9(Ie)&&!isArray$w(Ie)?isVNode(Ie)?createVNode($e,null,[Ie]):createVNode($e,Ie):createVNode($e,null,Ie):(Ue>3?Fe=Array.prototype.slice.call(arguments,2):Ue===3&&isVNode(Fe)&&(Fe=[Fe]),createVNode($e,Ie,Fe))}function initCustomFormatter(){}function withMemo($e,Ie,Fe,Ue){const qe=Fe[Ue];if(qe&&isMemoSame(qe,$e))return qe;const At=Ie();return At.memo=$e.slice(),At.memoIndex=Ue,Fe[Ue]=At}function isMemoSame($e,Ie){const Fe=$e.memo;if(Fe.length!=Ie.length)return!1;for(let Ue=0;Ue0&¤tBlock&¤tBlock.push($e),!0}const version$4="3.4.29",warn=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode,getComponentPublicInstance},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/** +* @vue/runtime-dom v3.4.29 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:($e,Ie,Fe)=>{Ie.insertBefore($e,Fe||null)},remove:$e=>{const Ie=$e.parentNode;Ie&&Ie.removeChild($e)},createElement:($e,Ie,Fe,Ue)=>{const qe=Ie==="svg"?doc.createElementNS(svgNS,$e):Ie==="mathml"?doc.createElementNS(mathmlNS,$e):Fe?doc.createElement($e,{is:Fe}):doc.createElement($e);return $e==="select"&&Ue&&Ue.multiple!=null&&qe.setAttribute("multiple",Ue.multiple),qe},createText:$e=>doc.createTextNode($e),createComment:$e=>doc.createComment($e),setText:($e,Ie)=>{$e.nodeValue=Ie},setElementText:($e,Ie)=>{$e.textContent=Ie},parentNode:$e=>$e.parentNode,nextSibling:$e=>$e.nextSibling,querySelector:$e=>doc.querySelector($e),setScopeId($e,Ie){$e.setAttribute(Ie,"")},insertStaticContent($e,Ie,Fe,Ue,qe,At){const Dt=Fe?Fe.previousSibling:Ie.lastChild;if(qe&&(qe===At||qe.nextSibling))for(;Ie.insertBefore(qe.cloneNode(!0),Fe),!(qe===At||!(qe=qe.nextSibling)););else{templateContainer.innerHTML=Ue==="svg"?`${$e}`:Ue==="mathml"?`${$e}`:$e;const Lt=templateContainer.content;if(Ue==="svg"||Ue==="mathml"){const jt=Lt.firstChild;for(;jt.firstChild;)Lt.appendChild(jt.firstChild);Lt.removeChild(jt)}Ie.insertBefore(Lt,Fe)}return[Dt?Dt.nextSibling:Ie.firstChild,Fe?Fe.previousSibling:Ie.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=($e,{slots:Ie})=>h$5(BaseTransition,resolveTransitionProps($e),Ie);Transition.displayName="Transition";const DOMTransitionPropsValidators={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},TransitionPropsValidators=Transition.props=extend$1({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=($e,Ie=[])=>{isArray$w($e)?$e.forEach(Fe=>Fe(...Ie)):$e&&$e(...Ie)},hasExplicitCallback=$e=>$e?isArray$w($e)?$e.some(Ie=>Ie.length>1):$e.length>1:!1;function resolveTransitionProps($e){const Ie={};for(const Un in $e)Un in DOMTransitionPropsValidators||(Ie[Un]=$e[Un]);if($e.css===!1)return Ie;const{name:Fe="v",type:Ue,duration:qe,enterFromClass:At=`${Fe}-enter-from`,enterActiveClass:Dt=`${Fe}-enter-active`,enterToClass:Lt=`${Fe}-enter-to`,appearFromClass:jt=At,appearActiveClass:hn=Dt,appearToClass:vn=Lt,leaveFromClass:bn=`${Fe}-leave-from`,leaveActiveClass:kn=`${Fe}-leave-active`,leaveToClass:Cn=`${Fe}-leave-to`}=$e,xn=normalizeDuration(qe),wn=xn&&xn[0],Sn=xn&&xn[1],{onBeforeEnter:_n,onEnter:En,onEnterCancelled:$n,onLeave:Tn,onLeaveCancelled:On,onBeforeAppear:Nn=_n,onAppear:An=En,onAppearCancelled:Pn=$n}=Ie,In=(Un,Wn,jn)=>{removeTransitionClass(Un,Wn?vn:Lt),removeTransitionClass(Un,Wn?hn:Dt),jn&&jn()},Mn=(Un,Wn)=>{Un._isLeaving=!1,removeTransitionClass(Un,bn),removeTransitionClass(Un,Cn),removeTransitionClass(Un,kn),Wn&&Wn()},Rn=Un=>(Wn,jn)=>{const Fn=Un?An:En,Bn=()=>In(Wn,Un,jn);callHook(Fn,[Wn,Bn]),nextFrame(()=>{removeTransitionClass(Wn,Un?jt:At),addTransitionClass(Wn,Un?vn:Lt),hasExplicitCallback(Fn)||whenTransitionEnds(Wn,Ue,wn,Bn)})};return extend$1(Ie,{onBeforeEnter(Un){callHook(_n,[Un]),addTransitionClass(Un,At),addTransitionClass(Un,Dt)},onBeforeAppear(Un){callHook(Nn,[Un]),addTransitionClass(Un,jt),addTransitionClass(Un,hn)},onEnter:Rn(!1),onAppear:Rn(!0),onLeave(Un,Wn){Un._isLeaving=!0;const jn=()=>Mn(Un,Wn);addTransitionClass(Un,bn),addTransitionClass(Un,kn),forceReflow(),nextFrame(()=>{Un._isLeaving&&(removeTransitionClass(Un,bn),addTransitionClass(Un,Cn),hasExplicitCallback(Tn)||whenTransitionEnds(Un,Ue,Sn,jn))}),callHook(Tn,[Un,jn])},onEnterCancelled(Un){In(Un,!1),callHook($n,[Un])},onAppearCancelled(Un){In(Un,!0),callHook(Pn,[Un])},onLeaveCancelled(Un){Mn(Un),callHook(On,[Un])}})}function normalizeDuration($e){if($e==null)return null;if(isObject$9($e))return[NumberOf($e.enter),NumberOf($e.leave)];{const Ie=NumberOf($e);return[Ie,Ie]}}function NumberOf($e){return toNumber$9($e)}function addTransitionClass($e,Ie){Ie.split(/\s+/).forEach(Fe=>Fe&&$e.classList.add(Fe)),($e[vtcKey]||($e[vtcKey]=new Set)).add(Ie)}function removeTransitionClass($e,Ie){Ie.split(/\s+/).forEach(Ue=>Ue&&$e.classList.remove(Ue));const Fe=$e[vtcKey];Fe&&(Fe.delete(Ie),Fe.size||($e[vtcKey]=void 0))}function nextFrame($e){requestAnimationFrame(()=>{requestAnimationFrame($e)})}let endId=0;function whenTransitionEnds($e,Ie,Fe,Ue){const qe=$e._endId=++endId,At=()=>{qe===$e._endId&&Ue()};if(Fe)return setTimeout(At,Fe);const{type:Dt,timeout:Lt,propCount:jt}=getTransitionInfo($e,Ie);if(!Dt)return Ue();const hn=Dt+"end";let vn=0;const bn=()=>{$e.removeEventListener(hn,kn),At()},kn=Cn=>{Cn.target===$e&&++vn>=jt&&bn()};setTimeout(()=>{vn(Fe[xn]||"").split(", "),qe=Ue(`${TRANSITION}Delay`),At=Ue(`${TRANSITION}Duration`),Dt=getTimeout(qe,At),Lt=Ue(`${ANIMATION}Delay`),jt=Ue(`${ANIMATION}Duration`),hn=getTimeout(Lt,jt);let vn=null,bn=0,kn=0;Ie===TRANSITION?Dt>0&&(vn=TRANSITION,bn=Dt,kn=At.length):Ie===ANIMATION?hn>0&&(vn=ANIMATION,bn=hn,kn=jt.length):(bn=Math.max(Dt,hn),vn=bn>0?Dt>hn?TRANSITION:ANIMATION:null,kn=vn?vn===TRANSITION?At.length:jt.length:0);const Cn=vn===TRANSITION&&/\b(transform|all)(,|$)/.test(Ue(`${TRANSITION}Property`).toString());return{type:vn,timeout:bn,propCount:kn,hasTransform:Cn}}function getTimeout($e,Ie){for(;$e.lengthtoMs(Fe)+toMs($e[Ue])))}function toMs($e){return $e==="auto"?0:Number($e.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass($e,Ie,Fe){const Ue=$e[vtcKey];Ue&&(Ie=(Ie?[Ie,...Ue]:[...Ue]).join(" ")),Ie==null?$e.removeAttribute("class"):Fe?$e.setAttribute("class",Ie):$e.className=Ie}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount($e,{value:Ie},{transition:Fe}){$e[vShowOriginalDisplay]=$e.style.display==="none"?"":$e.style.display,Fe&&Ie?Fe.beforeEnter($e):setDisplay($e,Ie)},mounted($e,{value:Ie},{transition:Fe}){Fe&&Ie&&Fe.enter($e)},updated($e,{value:Ie,oldValue:Fe},{transition:Ue}){!Ie!=!Fe&&(Ue?Ie?(Ue.beforeEnter($e),setDisplay($e,!0),Ue.enter($e)):Ue.leave($e,()=>{setDisplay($e,!1)}):setDisplay($e,Ie))},beforeUnmount($e,{value:Ie}){setDisplay($e,Ie)}};function setDisplay($e,Ie){$e.style.display=Ie?$e[vShowOriginalDisplay]:"none",$e[vShowHidden]=!Ie}function initVShowForSSR(){vShow.getSSRProps=({value:$e})=>{if(!$e)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars($e){const Ie=getCurrentInstance();if(!Ie)return;const Fe=Ie.ut=(qe=$e(Ie.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${Ie.uid}"]`)).forEach(At=>setVarsOnNode(At,qe))},Ue=()=>{const qe=$e(Ie.proxy);setVarsOnVNode(Ie.subTree,qe),Fe(qe)};onMounted(()=>{watchPostEffect(Ue);const qe=new MutationObserver(Ue);qe.observe(Ie.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>qe.disconnect())})}function setVarsOnVNode($e,Ie){if($e.shapeFlag&128){const Fe=$e.suspense;$e=Fe.activeBranch,Fe.pendingBranch&&!Fe.isHydrating&&Fe.effects.push(()=>{setVarsOnVNode(Fe.activeBranch,Ie)})}for(;$e.component;)$e=$e.component.subTree;if($e.shapeFlag&1&&$e.el)setVarsOnNode($e.el,Ie);else if($e.type===Fragment)$e.children.forEach(Fe=>setVarsOnVNode(Fe,Ie));else if($e.type===Static){let{el:Fe,anchor:Ue}=$e;for(;Fe&&(setVarsOnNode(Fe,Ie),Fe!==Ue);)Fe=Fe.nextSibling}}function setVarsOnNode($e,Ie){if($e.nodeType===1){const Fe=$e.style;let Ue="";for(const qe in Ie)Fe.setProperty(`--${qe}`,Ie[qe]),Ue+=`--${qe}: ${Ie[qe]};`;Fe[CSS_VAR_TEXT]=Ue}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle($e,Ie,Fe){const Ue=$e.style,qe=isString$d(Fe);let At=!1;if(Fe&&!qe){if(Ie)if(isString$d(Ie))for(const Dt of Ie.split(";")){const Lt=Dt.slice(0,Dt.indexOf(":")).trim();Fe[Lt]==null&&setStyle(Ue,Lt,"")}else for(const Dt in Ie)Fe[Dt]==null&&setStyle(Ue,Dt,"");for(const Dt in Fe)Dt==="display"&&(At=!0),setStyle(Ue,Dt,Fe[Dt])}else if(qe){if(Ie!==Fe){const Dt=Ue[CSS_VAR_TEXT];Dt&&(Fe+=";"+Dt),Ue.cssText=Fe,At=displayRE.test(Fe)}}else Ie&&$e.removeAttribute("style");vShowOriginalDisplay in $e&&($e[vShowOriginalDisplay]=At?Ue.display:"",$e[vShowHidden]&&(Ue.display="none"))}const importantRE=/\s*!important$/;function setStyle($e,Ie,Fe){if(isArray$w(Fe))Fe.forEach(Ue=>setStyle($e,Ie,Ue));else if(Fe==null&&(Fe=""),Ie.startsWith("--"))$e.setProperty(Ie,Fe);else{const Ue=autoPrefix($e,Ie);importantRE.test(Fe)?$e.setProperty(hyphenate(Ue),Fe.replace(importantRE,""),"important"):$e[Ue]=Fe}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix($e,Ie){const Fe=prefixCache[Ie];if(Fe)return Fe;let Ue=camelize$1(Ie);if(Ue!=="filter"&&Ue in $e)return prefixCache[Ie]=Ue;Ue=capitalize$1(Ue);for(let qe=0;qecachedNow||(p$3.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker($e,Ie){const Fe=Ue=>{if(!Ue._vts)Ue._vts=Date.now();else if(Ue._vts<=Fe.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(Ue,Fe.value),Ie,5,[Ue])};return Fe.value=$e,Fe.attached=getNow(),Fe}function patchStopImmediatePropagation($e,Ie){if(isArray$w(Ie)){const Fe=$e.stopImmediatePropagation;return $e.stopImmediatePropagation=()=>{Fe.call($e),$e._stopped=!0},Ie.map(Ue=>qe=>!qe._stopped&&Ue&&Ue(qe))}else return Ie}const isNativeOn=$e=>$e.charCodeAt(0)===111&&$e.charCodeAt(1)===110&&$e.charCodeAt(2)>96&&$e.charCodeAt(2)<123,patchProp=($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt)=>{const hn=qe==="svg";Ie==="class"?patchClass($e,Ue,hn):Ie==="style"?patchStyle($e,Fe,Ue):isOn(Ie)?isModelListener(Ie)||patchEvent($e,Ie,Fe,Ue,Dt):(Ie[0]==="."?(Ie=Ie.slice(1),!0):Ie[0]==="^"?(Ie=Ie.slice(1),!1):shouldSetAsProp($e,Ie,Ue,hn))?(patchDOMProp($e,Ie,Ue,At,Dt,Lt,jt),(Ie==="value"||Ie==="checked"||Ie==="selected")&&patchAttr($e,Ie,Ue,hn,Dt,Ie!=="value")):(Ie==="true-value"?$e._trueValue=Ue:Ie==="false-value"&&($e._falseValue=Ue),patchAttr($e,Ie,Ue,hn))};function shouldSetAsProp($e,Ie,Fe,Ue){if(Ue)return!!(Ie==="innerHTML"||Ie==="textContent"||Ie in $e&&isNativeOn(Ie)&&isFunction$i(Fe));if(Ie==="spellcheck"||Ie==="draggable"||Ie==="translate"||Ie==="form"||Ie==="list"&&$e.tagName==="INPUT"||Ie==="type"&&$e.tagName==="TEXTAREA")return!1;if(Ie==="width"||Ie==="height"){const qe=$e.tagName;if(qe==="IMG"||qe==="VIDEO"||qe==="CANVAS"||qe==="SOURCE")return!1}return isNativeOn(Ie)&&isString$d(Fe)?!1:Ie in $e}/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement($e,Ie,Fe){const Ue=defineComponent($e,Ie);class qe extends VueElement{constructor(Dt){super(Ue,Dt,Fe)}}return qe.def=Ue,qe}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=($e,Ie)=>defineCustomElement($e,Ie,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(Ie,Fe={},Ue){super(),this._def=Ie,this._props=Fe,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&Ue?Ue(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),render$1(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let Ue=0;Ue{for(const qe of Ue)this._setAttr(qe.attributeName)}),this._ob.observe(this,{attributes:!0});const Ie=(Ue,qe=!1)=>{const{props:At,styles:Dt}=Ue;let Lt;if(At&&!isArray$w(At))for(const jt in At){const hn=At[jt];(hn===Number||hn&&hn.type===Number)&&(jt in this._props&&(this._props[jt]=toNumber$9(this._props[jt])),(Lt||(Lt=Object.create(null)))[camelize$1(jt)]=!0)}this._numberProps=Lt,qe&&this._resolveProps(Ue),this._applyStyles(Dt),this._update()},Fe=this._def.__asyncLoader;Fe?Fe().then(Ue=>Ie(Ue,!0)):Ie(this._def)}_resolveProps(Ie){const{props:Fe}=Ie,Ue=isArray$w(Fe)?Fe:Object.keys(Fe||{});for(const qe of Object.keys(this))qe[0]!=="_"&&Ue.includes(qe)&&this._setProp(qe,this[qe],!0,!1);for(const qe of Ue.map(camelize$1))Object.defineProperty(this,qe,{get(){return this._getProp(qe)},set(At){this._setProp(qe,At)}})}_setAttr(Ie){let Fe=this.hasAttribute(Ie)?this.getAttribute(Ie):void 0;const Ue=camelize$1(Ie);this._numberProps&&this._numberProps[Ue]&&(Fe=toNumber$9(Fe)),this._setProp(Ue,Fe,!1)}_getProp(Ie){return this._props[Ie]}_setProp(Ie,Fe,Ue=!0,qe=!0){Fe!==this._props[Ie]&&(this._props[Ie]=Fe,qe&&this._instance&&this._update(),Ue&&(Fe===!0?this.setAttribute(hyphenate(Ie),""):typeof Fe=="string"||typeof Fe=="number"?this.setAttribute(hyphenate(Ie),Fe+""):Fe||this.removeAttribute(hyphenate(Ie))))}_update(){render$1(this._createVNode(),this.shadowRoot)}_createVNode(){const Ie=createVNode(this._def,extend$1({},this._props));return this._instance||(Ie.ce=Fe=>{this._instance=Fe,Fe.isCE=!0;const Ue=(At,Dt)=>{this.dispatchEvent(new CustomEvent(At,{detail:Dt}))};Fe.emit=(At,...Dt)=>{Ue(At,Dt),hyphenate(At)!==At&&Ue(hyphenate(At),Dt)};let qe=this;for(;qe=qe&&(qe.parentNode||qe.host);)if(qe instanceof VueElement){Fe.parent=qe._instance,Fe.provides=qe._instance.provides;break}}),Ie}_applyStyles(Ie){Ie&&Ie.forEach(Fe=>{const Ue=document.createElement("style");Ue.textContent=Fe,this.shadowRoot.appendChild(Ue)})}}function useCssModule($e="$style"){{const Ie=getCurrentInstance();if(!Ie)return EMPTY_OBJ;const Fe=Ie.type.__cssModules;if(!Fe)return EMPTY_OBJ;const Ue=Fe[$e];return Ue||EMPTY_OBJ}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$1({},TransitionPropsValidators,{tag:String,moveClass:String}),setup($e,{slots:Ie}){const Fe=getCurrentInstance(),Ue=useTransitionState();let qe,At;return onUpdated(()=>{if(!qe.length)return;const Dt=$e.moveClass||`${$e.name||"v"}-move`;if(!hasCSSTransform(qe[0].el,Fe.vnode.el,Dt))return;qe.forEach(callPendingCbs),qe.forEach(recordPosition);const Lt=qe.filter(applyTranslation);forceReflow(),Lt.forEach(jt=>{const hn=jt.el,vn=hn.style;addTransitionClass(hn,Dt),vn.transform=vn.webkitTransform=vn.transitionDuration="";const bn=hn[moveCbKey]=kn=>{kn&&kn.target!==hn||(!kn||/transform$/.test(kn.propertyName))&&(hn.removeEventListener("transitionend",bn),hn[moveCbKey]=null,removeTransitionClass(hn,Dt))};hn.addEventListener("transitionend",bn)})}),()=>{const Dt=toRaw($e),Lt=resolveTransitionProps(Dt);let jt=Dt.tag||Fragment;if(qe=[],At)for(let hn=0;hndelete $e.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs($e){const Ie=$e.el;Ie[moveCbKey]&&Ie[moveCbKey](),Ie[enterCbKey]&&Ie[enterCbKey]()}function recordPosition($e){newPositionMap.set($e,$e.el.getBoundingClientRect())}function applyTranslation($e){const Ie=positionMap.get($e),Fe=newPositionMap.get($e),Ue=Ie.left-Fe.left,qe=Ie.top-Fe.top;if(Ue||qe){const At=$e.el.style;return At.transform=At.webkitTransform=`translate(${Ue}px,${qe}px)`,At.transitionDuration="0s",$e}}function hasCSSTransform($e,Ie,Fe){const Ue=$e.cloneNode(),qe=$e[vtcKey];qe&&qe.forEach(Lt=>{Lt.split(/\s+/).forEach(jt=>jt&&Ue.classList.remove(jt))}),Fe.split(/\s+/).forEach(Lt=>Lt&&Ue.classList.add(Lt)),Ue.style.display="none";const At=Ie.nodeType===1?Ie:Ie.parentNode;At.appendChild(Ue);const{hasTransform:Dt}=getTransitionInfo(Ue);return At.removeChild(Ue),Dt}const getModelAssigner=$e=>{const Ie=$e.props["onUpdate:modelValue"]||!1;return isArray$w(Ie)?Fe=>invokeArrayFns(Ie,Fe):Ie};function onCompositionStart($e){$e.target.composing=!0}function onCompositionEnd($e){const Ie=$e.target;Ie.composing&&(Ie.composing=!1,Ie.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created($e,{modifiers:{lazy:Ie,trim:Fe,number:Ue}},qe){$e[assignKey]=getModelAssigner(qe);const At=Ue||qe.props&&qe.props.type==="number";addEventListener$1($e,Ie?"change":"input",Dt=>{if(Dt.target.composing)return;let Lt=$e.value;Fe&&(Lt=Lt.trim()),At&&(Lt=looseToNumber(Lt)),$e[assignKey](Lt)}),Fe&&addEventListener$1($e,"change",()=>{$e.value=$e.value.trim()}),Ie||(addEventListener$1($e,"compositionstart",onCompositionStart),addEventListener$1($e,"compositionend",onCompositionEnd),addEventListener$1($e,"change",onCompositionEnd))},mounted($e,{value:Ie}){$e.value=Ie??""},beforeUpdate($e,{value:Ie,oldValue:Fe,modifiers:{lazy:Ue,trim:qe,number:At}},Dt){if($e[assignKey]=getModelAssigner(Dt),$e.composing)return;const Lt=(At||$e.type==="number")&&!/^0\d/.test($e.value)?looseToNumber($e.value):$e.value,jt=Ie??"";Lt!==jt&&(document.activeElement===$e&&$e.type!=="range"&&(Ue&&Ie===Fe||qe&&$e.value.trim()===jt)||($e.value=jt))}},vModelCheckbox={deep:!0,created($e,Ie,Fe){$e[assignKey]=getModelAssigner(Fe),addEventListener$1($e,"change",()=>{const Ue=$e._modelValue,qe=getValue$2($e),At=$e.checked,Dt=$e[assignKey];if(isArray$w(Ue)){const Lt=looseIndexOf(Ue,qe),jt=Lt!==-1;if(At&&!jt)Dt(Ue.concat(qe));else if(!At&&jt){const hn=[...Ue];hn.splice(Lt,1),Dt(hn)}}else if(isSet$3(Ue)){const Lt=new Set(Ue);At?Lt.add(qe):Lt.delete(qe),Dt(Lt)}else Dt(getCheckboxValue($e,At))})},mounted:setChecked,beforeUpdate($e,Ie,Fe){$e[assignKey]=getModelAssigner(Fe),setChecked($e,Ie,Fe)}};function setChecked($e,{value:Ie,oldValue:Fe},Ue){$e._modelValue=Ie,isArray$w(Ie)?$e.checked=looseIndexOf(Ie,Ue.props.value)>-1:isSet$3(Ie)?$e.checked=Ie.has(Ue.props.value):Ie!==Fe&&($e.checked=looseEqual(Ie,getCheckboxValue($e,!0)))}const vModelRadio={created($e,{value:Ie},Fe){$e.checked=looseEqual(Ie,Fe.props.value),$e[assignKey]=getModelAssigner(Fe),addEventListener$1($e,"change",()=>{$e[assignKey](getValue$2($e))})},beforeUpdate($e,{value:Ie,oldValue:Fe},Ue){$e[assignKey]=getModelAssigner(Ue),Ie!==Fe&&($e.checked=looseEqual(Ie,Ue.props.value))}},vModelSelect={deep:!0,created($e,{value:Ie,modifiers:{number:Fe}},Ue){const qe=isSet$3(Ie);addEventListener$1($e,"change",()=>{const At=Array.prototype.filter.call($e.options,Dt=>Dt.selected).map(Dt=>Fe?looseToNumber(getValue$2(Dt)):getValue$2(Dt));$e[assignKey]($e.multiple?qe?new Set(At):At:At[0]),$e._assigning=!0,nextTick(()=>{$e._assigning=!1})}),$e[assignKey]=getModelAssigner(Ue)},mounted($e,{value:Ie,modifiers:{number:Fe}}){setSelected($e,Ie)},beforeUpdate($e,Ie,Fe){$e[assignKey]=getModelAssigner(Fe)},updated($e,{value:Ie,modifiers:{number:Fe}}){$e._assigning||setSelected($e,Ie)}};function setSelected($e,Ie,Fe){const Ue=$e.multiple,qe=isArray$w(Ie);if(!(Ue&&!qe&&!isSet$3(Ie))){for(let At=0,Dt=$e.options.length;AtString(vn)===String(jt)):Lt.selected=looseIndexOf(Ie,jt)>-1}else Lt.selected=Ie.has(jt);else if(looseEqual(getValue$2(Lt),Ie)){$e.selectedIndex!==At&&($e.selectedIndex=At);return}}!Ue&&$e.selectedIndex!==-1&&($e.selectedIndex=-1)}}function getValue$2($e){return"_value"in $e?$e._value:$e.value}function getCheckboxValue($e,Ie){const Fe=Ie?"_trueValue":"_falseValue";return Fe in $e?$e[Fe]:Ie}const vModelDynamic={created($e,Ie,Fe){callModelHook($e,Ie,Fe,null,"created")},mounted($e,Ie,Fe){callModelHook($e,Ie,Fe,null,"mounted")},beforeUpdate($e,Ie,Fe,Ue){callModelHook($e,Ie,Fe,Ue,"beforeUpdate")},updated($e,Ie,Fe,Ue){callModelHook($e,Ie,Fe,Ue,"updated")}};function resolveDynamicModel($e,Ie){switch($e){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(Ie){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook($e,Ie,Fe,Ue,qe){const Dt=resolveDynamicModel($e.tagName,Fe.props&&Fe.props.type)[qe];Dt&&Dt($e,Ie,Fe,Ue)}function initVModelForSSR(){vModelText.getSSRProps=({value:$e})=>({value:$e}),vModelRadio.getSSRProps=({value:$e},Ie)=>{if(Ie.props&&looseEqual(Ie.props.value,$e))return{checked:!0}},vModelCheckbox.getSSRProps=({value:$e},Ie)=>{if(isArray$w($e)){if(Ie.props&&looseIndexOf($e,Ie.props.value)>-1)return{checked:!0}}else if(isSet$3($e)){if(Ie.props&&$e.has(Ie.props.value))return{checked:!0}}else if($e)return{checked:!0}},vModelDynamic.getSSRProps=($e,Ie)=>{if(typeof Ie.type!="string")return;const Fe=resolveDynamicModel(Ie.type.toUpperCase(),Ie.props&&Ie.props.type);if(Fe.getSSRProps)return Fe.getSSRProps($e,Ie)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:$e=>$e.stopPropagation(),prevent:$e=>$e.preventDefault(),self:$e=>$e.target!==$e.currentTarget,ctrl:$e=>!$e.ctrlKey,shift:$e=>!$e.shiftKey,alt:$e=>!$e.altKey,meta:$e=>!$e.metaKey,left:$e=>"button"in $e&&$e.button!==0,middle:$e=>"button"in $e&&$e.button!==1,right:$e=>"button"in $e&&$e.button!==2,exact:($e,Ie)=>systemModifiers.some(Fe=>$e[`${Fe}Key`]&&!Ie.includes(Fe))},withModifiers=($e,Ie)=>{const Fe=$e._withMods||($e._withMods={}),Ue=Ie.join(".");return Fe[Ue]||(Fe[Ue]=(qe,...At)=>{for(let Dt=0;Dt{const Fe=$e._withKeys||($e._withKeys={}),Ue=Ie.join(".");return Fe[Ue]||(Fe[Ue]=qe=>{if(!("key"in qe))return;const At=hyphenate(qe.key);if(Ie.some(Dt=>Dt===At||keyNames[Dt]===At))return $e(qe)})},rendererOptions=extend$1({patchProp},nodeOps);let renderer$b,enabledHydration=!1;function ensureRenderer(){return renderer$b||(renderer$b=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer$b=enabledHydration?renderer$b:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer$b}const render$1=(...$e)=>{ensureRenderer().render(...$e)},hydrate=(...$e)=>{ensureHydrationRenderer().hydrate(...$e)},createApp=(...$e)=>{const Ie=ensureRenderer().createApp(...$e),{mount:Fe}=Ie;return Ie.mount=Ue=>{const qe=normalizeContainer(Ue);if(!qe)return;const At=Ie._component;!isFunction$i(At)&&!At.render&&!At.template&&(At.template=qe.innerHTML),qe.innerHTML="";const Dt=Fe(qe,!1,resolveRootNamespace(qe));return qe instanceof Element&&(qe.removeAttribute("v-cloak"),qe.setAttribute("data-v-app","")),Dt},Ie},createSSRApp=(...$e)=>{const Ie=ensureHydrationRenderer().createApp(...$e),{mount:Fe}=Ie;return Ie.mount=Ue=>{const qe=normalizeContainer(Ue);if(qe)return Fe(qe,!0,resolveRootNamespace(qe))},Ie};function resolveRootNamespace($e){if($e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&$e instanceof MathMLElement)return"mathml"}function normalizeContainer($e){return isString$d($e)?document.querySelector($e):$e}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},sides=["top","right","bottom","left"],alignments=["start","end"],placements=sides.reduce(($e,Ie)=>$e.concat(Ie,Ie+"-"+alignments[0],Ie+"-"+alignments[1]),[]),min$4=Math.min,max$5=Math.max,oppositeSideMap$1={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap$1={start:"end",end:"start"};function clamp$1($e,Ie,Fe){return max$5($e,min$4(Ie,Fe))}function evaluate$1($e,Ie){return typeof $e=="function"?$e(Ie):$e}function getSide$1($e){return $e.split("-")[0]}function getAlignment$1($e){return $e.split("-")[1]}function getOppositeAxis$1($e){return $e==="x"?"y":"x"}function getAxisLength$1($e){return $e==="y"?"height":"width"}function getSideAxis$1($e){return["top","bottom"].includes(getSide$1($e))?"y":"x"}function getAlignmentAxis$1($e){return getOppositeAxis$1(getSideAxis$1($e))}function getAlignmentSides$1($e,Ie,Fe){Fe===void 0&&(Fe=!1);const Ue=getAlignment$1($e),qe=getAlignmentAxis$1($e),At=getAxisLength$1(qe);let Dt=qe==="x"?Ue===(Fe?"end":"start")?"right":"left":Ue==="start"?"bottom":"top";return Ie.reference[At]>Ie.floating[At]&&(Dt=getOppositePlacement$1(Dt)),[Dt,getOppositePlacement$1(Dt)]}function getExpandedPlacements$1($e){const Ie=getOppositePlacement$1($e);return[getOppositeAlignmentPlacement$1($e),Ie,getOppositeAlignmentPlacement$1(Ie)]}function getOppositeAlignmentPlacement$1($e){return $e.replace(/start|end/g,Ie=>oppositeAlignmentMap$1[Ie])}function getSideList$1($e,Ie,Fe){const Ue=["left","right"],qe=["right","left"],At=["top","bottom"],Dt=["bottom","top"];switch($e){case"top":case"bottom":return Fe?Ie?qe:Ue:Ie?Ue:qe;case"left":case"right":return Ie?At:Dt;default:return[]}}function getOppositeAxisPlacements$1($e,Ie,Fe,Ue){const qe=getAlignment$1($e);let At=getSideList$1(getSide$1($e),Fe==="start",Ue);return qe&&(At=At.map(Dt=>Dt+"-"+qe),Ie&&(At=At.concat(At.map(getOppositeAlignmentPlacement$1)))),At}function getOppositePlacement$1($e){return $e.replace(/left|right|bottom|top/g,Ie=>oppositeSideMap$1[Ie])}function expandPaddingObject$1($e){return{top:0,right:0,bottom:0,left:0,...$e}}function getPaddingObject$1($e){return typeof $e!="number"?expandPaddingObject$1($e):{top:$e,right:$e,bottom:$e,left:$e}}function rectToClientRect$1($e){return{...$e,top:$e.y,left:$e.x,right:$e.x+$e.width,bottom:$e.y+$e.height}}function computeCoordsFromPlacement$1($e,Ie,Fe){let{reference:Ue,floating:qe}=$e;const At=getSideAxis$1(Ie),Dt=getAlignmentAxis$1(Ie),Lt=getAxisLength$1(Dt),jt=getSide$1(Ie),hn=At==="y",vn=Ue.x+Ue.width/2-qe.width/2,bn=Ue.y+Ue.height/2-qe.height/2,kn=Ue[Lt]/2-qe[Lt]/2;let Cn;switch(jt){case"top":Cn={x:vn,y:Ue.y-qe.height};break;case"bottom":Cn={x:vn,y:Ue.y+Ue.height};break;case"right":Cn={x:Ue.x+Ue.width,y:bn};break;case"left":Cn={x:Ue.x-qe.width,y:bn};break;default:Cn={x:Ue.x,y:Ue.y}}switch(getAlignment$1(Ie)){case"start":Cn[Dt]-=kn*(Fe&&hn?-1:1);break;case"end":Cn[Dt]+=kn*(Fe&&hn?-1:1);break}return Cn}const computePosition$2=async($e,Ie,Fe)=>{const{placement:Ue="bottom",strategy:qe="absolute",middleware:At=[],platform:Dt}=Fe,Lt=At.filter(Boolean),jt=await(Dt.isRTL==null?void 0:Dt.isRTL(Ie));let hn=await Dt.getElementRects({reference:$e,floating:Ie,strategy:qe}),{x:vn,y:bn}=computeCoordsFromPlacement$1(hn,Ue,jt),kn=Ue,Cn={},xn=0;for(let wn=0;wn({name:"arrow",options:$e,async fn(Ie){const{x:Fe,y:Ue,placement:qe,rects:At,platform:Dt,elements:Lt,middlewareData:jt}=Ie,{element:hn,padding:vn=0}=evaluate$1($e,Ie)||{};if(hn==null)return{};const bn=getPaddingObject$1(vn),kn={x:Fe,y:Ue},Cn=getAlignmentAxis$1(qe),xn=getAxisLength$1(Cn),wn=await Dt.getDimensions(hn),Sn=Cn==="y",_n=Sn?"top":"left",En=Sn?"bottom":"right",$n=Sn?"clientHeight":"clientWidth",Tn=At.reference[xn]+At.reference[Cn]-kn[Cn]-At.floating[xn],On=kn[Cn]-At.reference[Cn],Nn=await(Dt.getOffsetParent==null?void 0:Dt.getOffsetParent(hn));let An=Nn?Nn[$n]:0;(!An||!await(Dt.isElement==null?void 0:Dt.isElement(Nn)))&&(An=Lt.floating[$n]||At.floating[xn]);const Pn=Tn/2-On/2,In=An/2-wn[xn]/2-1,Mn=min$4(bn[_n],In),Rn=min$4(bn[En],In),Un=Mn,Wn=An-wn[xn]-Rn,jn=An/2-wn[xn]/2+Pn,Fn=clamp$1(Un,jn,Wn),Bn=!jt.arrow&&getAlignment$1(qe)!=null&&jn!==Fn&&At.reference[xn]/2-(jngetAlignment$1(qe)===$e),...Fe.filter(qe=>getAlignment$1(qe)!==$e)]:Fe.filter(qe=>getSide$1(qe)===qe)).filter(qe=>$e?getAlignment$1(qe)===$e||(Ie?getOppositeAlignmentPlacement$1(qe)!==qe:!1):!0)}const autoPlacement=function($e){return $e===void 0&&($e={}),{name:"autoPlacement",options:$e,async fn(Ie){var Fe,Ue,qe;const{rects:At,middlewareData:Dt,placement:Lt,platform:jt,elements:hn}=Ie,{crossAxis:vn=!1,alignment:bn,allowedPlacements:kn=placements,autoAlignment:Cn=!0,...xn}=evaluate$1($e,Ie),wn=bn!==void 0||kn===placements?getPlacementList(bn||null,Cn,kn):kn,Sn=await detectOverflow$2(Ie,xn),_n=((Fe=Dt.autoPlacement)==null?void 0:Fe.index)||0,En=wn[_n];if(En==null)return{};const $n=getAlignmentSides$1(En,At,await(jt.isRTL==null?void 0:jt.isRTL(hn.floating)));if(Lt!==En)return{reset:{placement:wn[0]}};const Tn=[Sn[getSide$1(En)],Sn[$n[0]],Sn[$n[1]]],On=[...((Ue=Dt.autoPlacement)==null?void 0:Ue.overflows)||[],{placement:En,overflows:Tn}],Nn=wn[_n+1];if(Nn)return{data:{index:_n+1,overflows:On},reset:{placement:Nn}};const An=On.map(Mn=>{const Rn=getAlignment$1(Mn.placement);return[Mn.placement,Rn&&vn?Mn.overflows.slice(0,2).reduce((Un,Wn)=>Un+Wn,0):Mn.overflows[0],Mn.overflows]}).sort((Mn,Rn)=>Mn[1]-Rn[1]),In=((qe=An.filter(Mn=>Mn[2].slice(0,getAlignment$1(Mn[0])?2:3).every(Rn=>Rn<=0))[0])==null?void 0:qe[0])||An[0][0];return In!==Lt?{data:{index:_n+1,overflows:On},reset:{placement:In}}:{}}}},flip$2=function($e){return $e===void 0&&($e={}),{name:"flip",options:$e,async fn(Ie){var Fe,Ue;const{placement:qe,middlewareData:At,rects:Dt,initialPlacement:Lt,platform:jt,elements:hn}=Ie,{mainAxis:vn=!0,crossAxis:bn=!0,fallbackPlacements:kn,fallbackStrategy:Cn="bestFit",fallbackAxisSideDirection:xn="none",flipAlignment:wn=!0,...Sn}=evaluate$1($e,Ie);if((Fe=At.arrow)!=null&&Fe.alignmentOffset)return{};const _n=getSide$1(qe),En=getSide$1(Lt)===Lt,$n=await(jt.isRTL==null?void 0:jt.isRTL(hn.floating)),Tn=kn||(En||!wn?[getOppositePlacement$1(Lt)]:getExpandedPlacements$1(Lt));!kn&&xn!=="none"&&Tn.push(...getOppositeAxisPlacements$1(Lt,wn,xn,$n));const On=[Lt,...Tn],Nn=await detectOverflow$2(Ie,Sn),An=[];let Pn=((Ue=At.flip)==null?void 0:Ue.overflows)||[];if(vn&&An.push(Nn[_n]),bn){const Un=getAlignmentSides$1(qe,Dt,$n);An.push(Nn[Un[0]],Nn[Un[1]])}if(Pn=[...Pn,{placement:qe,overflows:An}],!An.every(Un=>Un<=0)){var In,Mn;const Un=(((In=At.flip)==null?void 0:In.index)||0)+1,Wn=On[Un];if(Wn)return{data:{index:Un,overflows:Pn},reset:{placement:Wn}};let jn=(Mn=Pn.filter(Fn=>Fn.overflows[0]<=0).sort((Fn,Bn)=>Fn.overflows[1]-Bn.overflows[1])[0])==null?void 0:Mn.placement;if(!jn)switch(Cn){case"bestFit":{var Rn;const Fn=(Rn=Pn.map(Bn=>[Bn.placement,Bn.overflows.filter(Dn=>Dn>0).reduce((Dn,Ln)=>Dn+Ln,0)]).sort((Bn,Dn)=>Bn[1]-Dn[1])[0])==null?void 0:Rn[0];Fn&&(jn=Fn);break}case"initialPlacement":jn=Lt;break}if(qe!==jn)return{reset:{placement:jn}}}return{}}}};async function convertValueToCoords$1($e,Ie){const{placement:Fe,platform:Ue,elements:qe}=$e,At=await(Ue.isRTL==null?void 0:Ue.isRTL(qe.floating)),Dt=getSide$1(Fe),Lt=getAlignment$1(Fe),jt=getSideAxis$1(Fe)==="y",hn=["left","top"].includes(Dt)?-1:1,vn=At&&jt?-1:1,bn=evaluate$1(Ie,$e);let{mainAxis:kn,crossAxis:Cn,alignmentAxis:xn}=typeof bn=="number"?{mainAxis:bn,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...bn};return Lt&&typeof xn=="number"&&(Cn=Lt==="end"?xn*-1:xn),jt?{x:Cn*vn,y:kn*hn}:{x:kn*hn,y:Cn*vn}}const offset$2=function($e){return $e===void 0&&($e=0),{name:"offset",options:$e,async fn(Ie){var Fe,Ue;const{x:qe,y:At,placement:Dt,middlewareData:Lt}=Ie,jt=await convertValueToCoords$1(Ie,$e);return Dt===((Fe=Lt.offset)==null?void 0:Fe.placement)&&(Ue=Lt.arrow)!=null&&Ue.alignmentOffset?{}:{x:qe+jt.x,y:At+jt.y,data:{...jt,placement:Dt}}}}},shift$2=function($e){return $e===void 0&&($e={}),{name:"shift",options:$e,async fn(Ie){const{x:Fe,y:Ue,placement:qe}=Ie,{mainAxis:At=!0,crossAxis:Dt=!1,limiter:Lt={fn:Sn=>{let{x:_n,y:En}=Sn;return{x:_n,y:En}}},...jt}=evaluate$1($e,Ie),hn={x:Fe,y:Ue},vn=await detectOverflow$2(Ie,jt),bn=getSideAxis$1(getSide$1(qe)),kn=getOppositeAxis$1(bn);let Cn=hn[kn],xn=hn[bn];if(At){const Sn=kn==="y"?"top":"left",_n=kn==="y"?"bottom":"right",En=Cn+vn[Sn],$n=Cn-vn[_n];Cn=clamp$1(En,Cn,$n)}if(Dt){const Sn=bn==="y"?"top":"left",_n=bn==="y"?"bottom":"right",En=xn+vn[Sn],$n=xn-vn[_n];xn=clamp$1(En,xn,$n)}const wn=Lt.fn({...Ie,[kn]:Cn,[bn]:xn});return{...wn,data:{x:wn.x-Fe,y:wn.y-Ue}}}}},size=function($e){return $e===void 0&&($e={}),{name:"size",options:$e,async fn(Ie){const{placement:Fe,rects:Ue,platform:qe,elements:At}=Ie,{apply:Dt=()=>{},...Lt}=evaluate$1($e,Ie),jt=await detectOverflow$2(Ie,Lt),hn=getSide$1(Fe),vn=getAlignment$1(Fe),bn=getSideAxis$1(Fe)==="y",{width:kn,height:Cn}=Ue.floating;let xn,wn;hn==="top"||hn==="bottom"?(xn=hn,wn=vn===(await(qe.isRTL==null?void 0:qe.isRTL(At.floating))?"start":"end")?"left":"right"):(wn=hn,xn=vn==="end"?"top":"bottom");const Sn=Cn-jt[xn],_n=kn-jt[wn],En=!Ie.middlewareData.shift;let $n=Sn,Tn=_n;if(bn){const Nn=kn-jt.left-jt.right;Tn=vn||En?min$4(_n,Nn):Nn}else{const Nn=Cn-jt.top-jt.bottom;$n=vn||En?min$4(Sn,Nn):Nn}if(En&&!vn){const Nn=max$5(jt.left,0),An=max$5(jt.right,0),Pn=max$5(jt.top,0),In=max$5(jt.bottom,0);bn?Tn=kn-2*(Nn!==0||An!==0?Nn+An:max$5(jt.left,jt.right)):$n=Cn-2*(Pn!==0||In!==0?Pn+In:max$5(jt.top,jt.bottom))}await Dt({...Ie,availableWidth:Tn,availableHeight:$n});const On=await qe.getDimensions(At.floating);return kn!==On.width||Cn!==On.height?{reset:{rects:!0}}:{}}}};function n$6($e){var Ie;return((Ie=$e.ownerDocument)==null?void 0:Ie.defaultView)||window}function o$5($e){return n$6($e).getComputedStyle($e)}const i$8=Math.min,r$2=Math.max,l$5=Math.round;function c$6($e){const Ie=o$5($e);let Fe=parseFloat(Ie.width),Ue=parseFloat(Ie.height);const qe=$e.offsetWidth,At=$e.offsetHeight,Dt=l$5(Fe)!==qe||l$5(Ue)!==At;return Dt&&(Fe=qe,Ue=At),{width:Fe,height:Ue,fallback:Dt}}function s$7($e){return h$4($e)?($e.nodeName||"").toLowerCase():""}let f$4;function u$8(){if(f$4)return f$4;const $e=navigator.userAgentData;return $e&&Array.isArray($e.brands)?(f$4=$e.brands.map(Ie=>Ie.brand+"/"+Ie.version).join(" "),f$4):navigator.userAgent}function a$4($e){return $e instanceof n$6($e).HTMLElement}function d$9($e){return $e instanceof n$6($e).Element}function h$4($e){return $e instanceof n$6($e).Node}function p$2($e){return typeof ShadowRoot>"u"?!1:$e instanceof n$6($e).ShadowRoot||$e instanceof ShadowRoot}function g$5($e){const{overflow:Ie,overflowX:Fe,overflowY:Ue,display:qe}=o$5($e);return/auto|scroll|overlay|hidden|clip/.test(Ie+Ue+Fe)&&!["inline","contents"].includes(qe)}function m$6($e){return["table","td","th"].includes(s$7($e))}function y$5($e){const Ie=/firefox/i.test(u$8()),Fe=o$5($e),Ue=Fe.backdropFilter||Fe.WebkitBackdropFilter;return Fe.transform!=="none"||Fe.perspective!=="none"||!!Ue&&Ue!=="none"||Ie&&Fe.willChange==="filter"||Ie&&!!Fe.filter&&Fe.filter!=="none"||["transform","perspective"].some(qe=>Fe.willChange.includes(qe))||["paint","layout","strict","content"].some(qe=>{const At=Fe.contain;return At!=null&&At.includes(qe)})}function x$5(){return!/^((?!chrome|android).)*safari/i.test(u$8())}function w$7($e){return["html","body","#document"].includes(s$7($e))}function v$3($e){return d$9($e)?$e:$e.contextElement}const b$4={x:1,y:1};function L$3($e){const Ie=v$3($e);if(!a$4(Ie))return b$4;const Fe=Ie.getBoundingClientRect(),{width:Ue,height:qe,fallback:At}=c$6(Ie);let Dt=(At?l$5(Fe.width):Fe.width)/Ue,Lt=(At?l$5(Fe.height):Fe.height)/qe;return Dt&&Number.isFinite(Dt)||(Dt=1),Lt&&Number.isFinite(Lt)||(Lt=1),{x:Dt,y:Lt}}function E$8($e,Ie,Fe,Ue){var qe,At;Ie===void 0&&(Ie=!1),Fe===void 0&&(Fe=!1);const Dt=$e.getBoundingClientRect(),Lt=v$3($e);let jt=b$4;Ie&&(Ue?d$9(Ue)&&(jt=L$3(Ue)):jt=L$3($e));const hn=Lt?n$6(Lt):window,vn=!x$5()&&Fe;let bn=(Dt.left+(vn&&((qe=hn.visualViewport)==null?void 0:qe.offsetLeft)||0))/jt.x,kn=(Dt.top+(vn&&((At=hn.visualViewport)==null?void 0:At.offsetTop)||0))/jt.y,Cn=Dt.width/jt.x,xn=Dt.height/jt.y;if(Lt){const wn=n$6(Lt),Sn=Ue&&d$9(Ue)?n$6(Ue):Ue;let _n=wn.frameElement;for(;_n&&Ue&&Sn!==wn;){const En=L$3(_n),$n=_n.getBoundingClientRect(),Tn=getComputedStyle(_n);$n.x+=(_n.clientLeft+parseFloat(Tn.paddingLeft))*En.x,$n.y+=(_n.clientTop+parseFloat(Tn.paddingTop))*En.y,bn*=En.x,kn*=En.y,Cn*=En.x,xn*=En.y,bn+=$n.x,kn+=$n.y,_n=n$6(_n).frameElement}}return{width:Cn,height:xn,top:kn,right:bn+Cn,bottom:kn+xn,left:bn,x:bn,y:kn}}function R$4($e){return((h$4($e)?$e.ownerDocument:$e.document)||window.document).documentElement}function T$5($e){return d$9($e)?{scrollLeft:$e.scrollLeft,scrollTop:$e.scrollTop}:{scrollLeft:$e.pageXOffset,scrollTop:$e.pageYOffset}}function C$4($e){return E$8(R$4($e)).left+T$5($e).scrollLeft}function F$4($e){if(s$7($e)==="html")return $e;const Ie=$e.assignedSlot||$e.parentNode||p$2($e)&&$e.host||R$4($e);return p$2(Ie)?Ie.host:Ie}function W$4($e){const Ie=F$4($e);return w$7(Ie)?Ie.ownerDocument.body:a$4(Ie)&&g$5(Ie)?Ie:W$4(Ie)}function D$2($e,Ie){var Fe;Ie===void 0&&(Ie=[]);const Ue=W$4($e),qe=Ue===((Fe=$e.ownerDocument)==null?void 0:Fe.body),At=n$6(Ue);return qe?Ie.concat(At,At.visualViewport||[],g$5(Ue)?Ue:[]):Ie.concat(Ue,D$2(Ue))}function S$5($e,Ie,Fe){return Ie==="viewport"?rectToClientRect$1(function(Ue,qe){const At=n$6(Ue),Dt=R$4(Ue),Lt=At.visualViewport;let jt=Dt.clientWidth,hn=Dt.clientHeight,vn=0,bn=0;if(Lt){jt=Lt.width,hn=Lt.height;const kn=x$5();(kn||!kn&&qe==="fixed")&&(vn=Lt.offsetLeft,bn=Lt.offsetTop)}return{width:jt,height:hn,x:vn,y:bn}}($e,Fe)):d$9(Ie)?rectToClientRect$1(function(Ue,qe){const At=E$8(Ue,!0,qe==="fixed"),Dt=At.top+Ue.clientTop,Lt=At.left+Ue.clientLeft,jt=a$4(Ue)?L$3(Ue):{x:1,y:1};return{width:Ue.clientWidth*jt.x,height:Ue.clientHeight*jt.y,x:Lt*jt.x,y:Dt*jt.y}}(Ie,Fe)):rectToClientRect$1(function(Ue){const qe=R$4(Ue),At=T$5(Ue),Dt=Ue.ownerDocument.body,Lt=r$2(qe.scrollWidth,qe.clientWidth,Dt.scrollWidth,Dt.clientWidth),jt=r$2(qe.scrollHeight,qe.clientHeight,Dt.scrollHeight,Dt.clientHeight);let hn=-At.scrollLeft+C$4(Ue);const vn=-At.scrollTop;return o$5(Dt).direction==="rtl"&&(hn+=r$2(qe.clientWidth,Dt.clientWidth)-Lt),{width:Lt,height:jt,x:hn,y:vn}}(R$4($e)))}function A$5($e){return a$4($e)&&o$5($e).position!=="fixed"?$e.offsetParent:null}function H$6($e){const Ie=n$6($e);let Fe=A$5($e);for(;Fe&&m$6(Fe)&&o$5(Fe).position==="static";)Fe=A$5(Fe);return Fe&&(s$7(Fe)==="html"||s$7(Fe)==="body"&&o$5(Fe).position==="static"&&!y$5(Fe))?Ie:Fe||function(Ue){let qe=F$4(Ue);for(;a$4(qe)&&!w$7(qe);){if(y$5(qe))return qe;qe=F$4(qe)}return null}($e)||Ie}function O$3($e,Ie,Fe){const Ue=a$4(Ie),qe=R$4(Ie),At=E$8($e,!0,Fe==="fixed",Ie);let Dt={scrollLeft:0,scrollTop:0};const Lt={x:0,y:0};if(Ue||!Ue&&Fe!=="fixed")if((s$7(Ie)!=="body"||g$5(qe))&&(Dt=T$5(Ie)),a$4(Ie)){const jt=E$8(Ie,!0);Lt.x=jt.x+Ie.clientLeft,Lt.y=jt.y+Ie.clientTop}else qe&&(Lt.x=C$4(qe));return{x:At.left+Dt.scrollLeft-Lt.x,y:At.top+Dt.scrollTop-Lt.y,width:At.width,height:At.height}}const P$5={getClippingRect:function($e){let{element:Ie,boundary:Fe,rootBoundary:Ue,strategy:qe}=$e;const At=Fe==="clippingAncestors"?function(hn,vn){const bn=vn.get(hn);if(bn)return bn;let kn=D$2(hn).filter(Sn=>d$9(Sn)&&s$7(Sn)!=="body"),Cn=null;const xn=o$5(hn).position==="fixed";let wn=xn?F$4(hn):hn;for(;d$9(wn)&&!w$7(wn);){const Sn=o$5(wn),_n=y$5(wn);(xn?_n||Cn:_n||Sn.position!=="static"||!Cn||!["absolute","fixed"].includes(Cn.position))?Cn=Sn:kn=kn.filter(En=>En!==wn),wn=F$4(wn)}return vn.set(hn,kn),kn}(Ie,this._c):[].concat(Fe),Dt=[...At,Ue],Lt=Dt[0],jt=Dt.reduce((hn,vn)=>{const bn=S$5(Ie,vn,qe);return hn.top=r$2(bn.top,hn.top),hn.right=i$8(bn.right,hn.right),hn.bottom=i$8(bn.bottom,hn.bottom),hn.left=r$2(bn.left,hn.left),hn},S$5(Ie,Lt,qe));return{width:jt.right-jt.left,height:jt.bottom-jt.top,x:jt.left,y:jt.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function($e){let{rect:Ie,offsetParent:Fe,strategy:Ue}=$e;const qe=a$4(Fe),At=R$4(Fe);if(Fe===At)return Ie;let Dt={scrollLeft:0,scrollTop:0},Lt={x:1,y:1};const jt={x:0,y:0};if((qe||!qe&&Ue!=="fixed")&&((s$7(Fe)!=="body"||g$5(At))&&(Dt=T$5(Fe)),a$4(Fe))){const hn=E$8(Fe);Lt=L$3(Fe),jt.x=hn.x+Fe.clientLeft,jt.y=hn.y+Fe.clientTop}return{width:Ie.width*Lt.x,height:Ie.height*Lt.y,x:Ie.x*Lt.x-Dt.scrollLeft*Lt.x+jt.x,y:Ie.y*Lt.y-Dt.scrollTop*Lt.y+jt.y}},isElement:d$9,getDimensions:function($e){return a$4($e)?c$6($e):$e.getBoundingClientRect()},getOffsetParent:H$6,getDocumentElement:R$4,getScale:L$3,async getElementRects($e){let{reference:Ie,floating:Fe,strategy:Ue}=$e;const qe=this.getOffsetParent||H$6,At=this.getDimensions;return{reference:O$3(Ie,await qe(Fe),Ue),floating:{x:0,y:0,...await At(Fe)}}},getClientRects:$e=>Array.from($e.getClientRects()),isRTL:$e=>o$5($e).direction==="rtl"},B$4=($e,Ie,Fe)=>{const Ue=new Map,qe={platform:P$5,...Fe},At={...qe.platform,_c:Ue};return computePosition$2($e,Ie,{...qe,platform:At})};function ye$1($e,Ie){for(const Fe in Ie)Object.prototype.hasOwnProperty.call(Ie,Fe)&&(typeof Ie[Fe]=="object"&&$e[Fe]?ye$1($e[Fe],Ie[Fe]):$e[Fe]=Ie[Fe])}const h$3={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:$e=>[...$e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function S$4($e,Ie){let Fe=h$3.themes[$e]||{},Ue;do Ue=Fe[Ie],typeof Ue>"u"?Fe.$extend?Fe=h$3.themes[Fe.$extend]||{}:(Fe=null,Ue=h$3[Ie]):Fe=null;while(Fe);return Ue}function Ze$1($e){const Ie=[$e];let Fe=h$3.themes[$e]||{};do Fe.$extend&&!Fe.$resetCss?(Ie.push(Fe.$extend),Fe=h$3.themes[Fe.$extend]||{}):Fe=null;while(Fe);return Ie.map(Ue=>`v-popper--theme-${Ue}`)}function re($e){const Ie=[$e];let Fe=h$3.themes[$e]||{};do Fe.$extend?(Ie.push(Fe.$extend),Fe=h$3.themes[Fe.$extend]||{}):Fe=null;while(Fe);return Ie}let $$3=!1;if(typeof window<"u"){$$3=!1;try{const $e=Object.defineProperty({},"passive",{get(){$$3=!0}});window.addEventListener("test",null,$e)}catch{}}let _e=!1;typeof window<"u"&&typeof navigator<"u"&&(_e=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Te$3=["auto","top","bottom","left","right"].reduce(($e,Ie)=>$e.concat([Ie,`${Ie}-start`,`${Ie}-end`]),[]),pe$2={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ae={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function de($e,Ie){const Fe=$e.indexOf(Ie);Fe!==-1&&$e.splice(Fe,1)}function G$3(){return new Promise($e=>requestAnimationFrame(()=>{requestAnimationFrame($e)}))}const d$8=[];let g$4=null;const le$1={};function he$1($e){let Ie=le$1[$e];return Ie||(Ie=le$1[$e]=[]),Ie}let Y$2=function(){};typeof window<"u"&&(Y$2=window.Element);function n$5($e){return function(Ie){return S$4(Ie.theme,$e)}}const q$3="__floating-vue__popper",Q$3=()=>defineComponent({name:"VPopper",provide(){return{[q$3]:{parentPopper:this}}},inject:{[q$3]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:n$5("disabled")},positioningDisabled:{type:Boolean,default:n$5("positioningDisabled")},placement:{type:String,default:n$5("placement"),validator:$e=>Te$3.includes($e)},delay:{type:[String,Number,Object],default:n$5("delay")},distance:{type:[Number,String],default:n$5("distance")},skidding:{type:[Number,String],default:n$5("skidding")},triggers:{type:Array,default:n$5("triggers")},showTriggers:{type:[Array,Function],default:n$5("showTriggers")},hideTriggers:{type:[Array,Function],default:n$5("hideTriggers")},popperTriggers:{type:Array,default:n$5("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:n$5("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:n$5("popperHideTriggers")},container:{type:[String,Object,Y$2,Boolean],default:n$5("container")},boundary:{type:[String,Y$2],default:n$5("boundary")},strategy:{type:String,validator:$e=>["absolute","fixed"].includes($e),default:n$5("strategy")},autoHide:{type:[Boolean,Function],default:n$5("autoHide")},handleResize:{type:Boolean,default:n$5("handleResize")},instantMove:{type:Boolean,default:n$5("instantMove")},eagerMount:{type:Boolean,default:n$5("eagerMount")},popperClass:{type:[String,Array,Object],default:n$5("popperClass")},computeTransformOrigin:{type:Boolean,default:n$5("computeTransformOrigin")},autoMinSize:{type:Boolean,default:n$5("autoMinSize")},autoSize:{type:[Boolean,String],default:n$5("autoSize")},autoMaxSize:{type:Boolean,default:n$5("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:n$5("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:n$5("preventOverflow")},overflowPadding:{type:[Number,String],default:n$5("overflowPadding")},arrowPadding:{type:[Number,String],default:n$5("arrowPadding")},arrowOverflow:{type:Boolean,default:n$5("arrowOverflow")},flip:{type:Boolean,default:n$5("flip")},shift:{type:Boolean,default:n$5("shift")},shiftCrossAxis:{type:Boolean,default:n$5("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:n$5("noAutoFocus")},disposeTimeout:{type:Number,default:n$5("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":$e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map($e=>$e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var $e;return($e=this[q$3])==null?void 0:$e.parentPopper},hasPopperShowTriggerHover(){var $e,Ie;return(($e=this.popperTriggers)==null?void 0:$e.includes("hover"))||((Ie=this.popperShowTriggers)==null?void 0:Ie.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled($e){$e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce(($e,Ie)=>($e[Ie]="$_computePosition",$e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:$e=null,skipDelay:Ie=!1,force:Fe=!1}={}){var Ue,qe;(Ue=this.parentPopper)!=null&&Ue.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(Fe||!this.disabled)&&(((qe=this.parentPopper)==null?void 0:qe.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow($e,Ie),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:$e=null,skipDelay:Ie=!1}={}){var Fe;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:Ie}),this.parentPopper.lockedChild=null)},1e3));return}((Fe=this.parentPopper)==null?void 0:Fe.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide($e,Ie),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var $e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=(($e=this.referenceNode)==null?void 0:$e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(Ie=>Ie.nodeType===Ie.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const $e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&$e.middleware.push(offset$2({mainAxis:this.distance,crossAxis:this.skidding}));const Ie=this.placement.startsWith("auto");if(Ie?$e.middleware.push(autoPlacement({alignment:this.placement.split("-")[1]??""})):$e.placement=this.placement,this.preventOverflow&&(this.shift&&$e.middleware.push(shift$2({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!Ie&&this.flip&&$e.middleware.push(flip$2({padding:this.overflowPadding,boundary:this.boundary}))),$e.middleware.push(arrow$2({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&$e.middleware.push({name:"arrowOverflow",fn:({placement:Ue,rects:qe,middlewareData:At})=>{let Dt;const{centerOffset:Lt}=At.arrow;return Ue.startsWith("top")||Ue.startsWith("bottom")?Dt=Math.abs(Lt)>qe.reference.width/2:Dt=Math.abs(Lt)>qe.reference.height/2,{data:{overflow:Dt}}}}),this.autoMinSize||this.autoSize){const Ue=this.autoSize?this.autoSize:this.autoMinSize?"min":null;$e.middleware.push({name:"autoSize",fn:({rects:qe,placement:At,middlewareData:Dt})=>{var Lt;if((Lt=Dt.autoSize)!=null&&Lt.skip)return{};let jt,hn;return At.startsWith("top")||At.startsWith("bottom")?jt=qe.reference.width:hn=qe.reference.height,this.$_innerNode.style[Ue==="min"?"minWidth":Ue==="max"?"maxWidth":"width"]=jt!=null?`${jt}px`:null,this.$_innerNode.style[Ue==="min"?"minHeight":Ue==="max"?"maxHeight":"height"]=hn!=null?`${hn}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,$e.middleware.push(size({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:Ue,availableHeight:qe})=>{this.$_innerNode.style.maxWidth=Ue!=null?`${Ue}px`:null,this.$_innerNode.style.maxHeight=qe!=null?`${qe}px`:null}})));const Fe=await B$4(this.$_referenceNode,this.$_popperNode,$e);Object.assign(this.result,{x:Fe.x,y:Fe.y,placement:Fe.placement,strategy:Fe.strategy,arrow:{...Fe.middlewareData.arrow,...Fe.middlewareData.arrowOverflow}})},$_scheduleShow($e,Ie=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),g$4&&this.instantMove&&g$4.instantMove&&g$4!==this.parentPopper){g$4.$_applyHide(!0),this.$_applyShow(!0);return}Ie?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide($e,Ie=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(g$4=this),Ie?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay($e){const Ie=this.delay;return parseInt(Ie&&Ie[$e]||Ie||0)},async $_applyShow($e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=$e,!this.isShown&&(this.$_ensureTeleport(),await G$3(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...D$2(this.$_referenceNode),...D$2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const Ie=this.$_referenceNode.getBoundingClientRect(),Fe=this.$_popperNode.querySelector(".v-popper__wrapper"),Ue=Fe.parentNode.getBoundingClientRect(),qe=Ie.x+Ie.width/2-(Ue.left+Fe.offsetLeft),At=Ie.y+Ie.height/2-(Ue.top+Fe.offsetTop);this.result.transformOrigin=`${qe}px ${At}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const $e=this.showGroup;if($e){let Ie;for(let Fe=0;Fe0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=$e,de(d$8,this),d$8.length===0&&document.body.classList.remove("v-popper--some-open");for(const Fe of re(this.theme)){const Ue=he$1(Fe);de(Ue,this),Ue.length===0&&document.body.classList.remove(`v-popper--some-open--${Fe}`)}g$4===this&&(g$4=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const Ie=this.disposeTimeout;Ie!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},Ie)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await G$3(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let $e=this.container;if(typeof $e=="string"?$e=window.document.querySelector($e):$e===!1&&($e=this.$_targetNodes[0].parentNode),!$e)throw new Error("No container for popover: "+this.container);$e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const $e=Fe=>{this.isShown&&!this.$_hideInProgress||(Fe.usedByTooltip=!0,!this.$_preventShow&&this.show({event:Fe}))};this.$_registerTriggerListeners(this.$_targetNodes,pe$2,this.triggers,this.showTriggers,$e),this.$_registerTriggerListeners([this.$_popperNode],pe$2,this.popperTriggers,this.popperShowTriggers,$e);const Ie=Fe=>{Fe.usedByTooltip||this.hide({event:Fe})};this.$_registerTriggerListeners(this.$_targetNodes,ae,this.triggers,this.hideTriggers,Ie),this.$_registerTriggerListeners([this.$_popperNode],ae,this.popperTriggers,this.popperHideTriggers,Ie)},$_registerEventListeners($e,Ie,Fe){this.$_events.push({targetNodes:$e,eventType:Ie,handler:Fe}),$e.forEach(Ue=>Ue.addEventListener(Ie,Fe,$$3?{passive:!0}:void 0))},$_registerTriggerListeners($e,Ie,Fe,Ue,qe){let At=Fe;Ue!=null&&(At=typeof Ue=="function"?Ue(At):Ue),At.forEach(Dt=>{const Lt=Ie[Dt];Lt&&this.$_registerEventListeners($e,Lt,qe)})},$_removeEventListeners($e){const Ie=[];this.$_events.forEach(Fe=>{const{targetNodes:Ue,eventType:qe,handler:At}=Fe;!$e||$e===qe?Ue.forEach(Dt=>Dt.removeEventListener(qe,At)):Ie.push(Fe)}),this.$_events=Ie},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose($e,Ie=!1){this.$_showFrameLocked||(this.hide({event:$e}),$e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),Ie&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs($e,Ie){for(const Fe of this.$_targetNodes){const Ue=Fe.getAttribute($e);Ue&&(Fe.removeAttribute($e),Fe.setAttribute(Ie,Ue))}},$_applyAttrsToTarget($e){for(const Ie of this.$_targetNodes)for(const Fe in $e){const Ue=$e[Fe];Ue==null?Ie.removeAttribute(Fe):Ie.setAttribute(Fe,Ue)}},$_updateParentShownChildren($e){let Ie=this.parentPopper;for(;Ie;)$e?Ie.shownChildren.add(this.randomId):(Ie.shownChildren.delete(this.randomId),Ie.pendingHide&&Ie.hide()),Ie=Ie.parentPopper},$_isAimingPopper(){const $e=this.$_referenceNode.getBoundingClientRect();if(y$4>=$e.left&&y$4<=$e.right&&_$2>=$e.top&&_$2<=$e.bottom){const Ie=this.$_popperNode.getBoundingClientRect(),Fe=y$4-c$5,Ue=_$2-m$5,qe=Ie.left+Ie.width/2-c$5+(Ie.top+Ie.height/2)-m$5+Ie.width+Ie.height,At=c$5+Fe*qe,Dt=m$5+Ue*qe;return C$3(c$5,m$5,At,Dt,Ie.left,Ie.top,Ie.left,Ie.bottom)||C$3(c$5,m$5,At,Dt,Ie.left,Ie.top,Ie.right,Ie.top)||C$3(c$5,m$5,At,Dt,Ie.right,Ie.top,Ie.right,Ie.bottom)||C$3(c$5,m$5,At,Dt,Ie.left,Ie.bottom,Ie.right,Ie.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(_e){const $e=$$3?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",Ie=>ue$1(Ie,!0),$e),document.addEventListener("touchend",Ie=>fe$1(Ie,!0),$e)}else window.addEventListener("mousedown",$e=>ue$1($e,!1),!0),window.addEventListener("click",$e=>fe$1($e,!1),!0);window.addEventListener("resize",tt$2)}function ue$1($e,Ie){if(h$3.autoHideOnMousedown)Pe$1($e,Ie);else for(let Fe=0;Fe=0;Ue--){const qe=d$8[Ue];try{const At=qe.containsGlobalTarget=qe.mouseDownContains||qe.popperNode().contains($e.target);qe.pendingHide=!1,requestAnimationFrame(()=>{if(qe.pendingHide=!1,!Fe[qe.randomId]&&ce$2(qe,At,$e)){if(qe.$_handleGlobalClose($e,Ie),!$e.closeAllPopover&&$e.closePopover&&At){let Lt=qe.parentPopper;for(;Lt;)Fe[Lt.randomId]=!0,Lt=Lt.parentPopper;return}let Dt=qe.parentPopper;for(;Dt&&ce$2(Dt,Dt.containsGlobalTarget,$e);)Dt.$_handleGlobalClose($e,Ie),Dt=Dt.parentPopper}})}catch{}}}function ce$2($e,Ie,Fe){return Fe.closeAllPopover||Fe.closePopover&&Ie||et$2($e,Fe)&&!Ie}function et$2($e,Ie){if(typeof $e.autoHide=="function"){const Fe=$e.autoHide(Ie);return $e.lastAutoHide=Fe,Fe}return $e.autoHide}function tt$2(){for(let $e=0;$e{c$5=y$4,m$5=_$2,y$4=$e.clientX,_$2=$e.clientY},$$3?{passive:!0}:void 0);function C$3($e,Ie,Fe,Ue,qe,At,Dt,Lt){const jt=((Dt-qe)*(Ie-At)-(Lt-At)*($e-qe))/((Lt-At)*(Fe-$e)-(Dt-qe)*(Ue-Ie)),hn=((Fe-$e)*(Ie-At)-(Ue-Ie)*($e-qe))/((Lt-At)*(Fe-$e)-(Dt-qe)*(Ue-Ie));return jt>=0&&jt<=1&&hn>=0&&hn<=1}const ot$2={extends:Q$3()},B$3=($e,Ie)=>{const Fe=$e.__vccOpts||$e;for(const[Ue,qe]of Ie)Fe[Ue]=qe;return Fe};function it$2($e,Ie,Fe,Ue,qe,At){return openBlock(),createElementBlock("div",{ref:"reference",class:normalizeClass(["v-popper",{"v-popper--shown":$e.slotData.isShown}])},[renderSlot($e.$slots,"default",normalizeProps(guardReactiveProps($e.slotData)))],2)}const st$2=B$3(ot$2,[["render",it$2]]);function nt$2(){var $e=window.navigator.userAgent,Ie=$e.indexOf("MSIE ");if(Ie>0)return parseInt($e.substring(Ie+5,$e.indexOf(".",Ie)),10);var Fe=$e.indexOf("Trident/");if(Fe>0){var Ue=$e.indexOf("rv:");return parseInt($e.substring(Ue+3,$e.indexOf(".",Ue)),10)}var qe=$e.indexOf("Edge/");return qe>0?parseInt($e.substring(qe+5,$e.indexOf(".",qe)),10):-1}let z$3;function X$3(){X$3.init||(X$3.init=!0,z$3=nt$2()!==-1)}var E$7={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){X$3(),nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const $e=document.createElement("object");this._resizeObject=$e,$e.setAttribute("aria-hidden","true"),$e.setAttribute("tabindex",-1),$e.onload=this.addResizeHandlers,$e.type="text/html",z$3&&this.$el.appendChild($e),$e.data="about:blank",z$3||this.$el.appendChild($e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!z$3&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const rt$1=withScopeId();pushScopeId("data-v-b329ee4c");const pt$2={class:"resize-observer",tabindex:"-1"};popScopeId();const at$2=rt$1(($e,Ie,Fe,Ue,qe,At)=>(openBlock(),createBlock("div",pt$2)));E$7.render=at$2;E$7.__scopeId="data-v-b329ee4c";E$7.__file="src/components/ResizeObserver.vue";const Z$2=($e="theme")=>({computed:{themeClass(){return Ze$1(this[$e])}}}),dt$2=defineComponent({name:"VPopperContent",components:{ResizeObserver:E$7},mixins:[Z$2()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx($e){return $e!=null&&!isNaN($e)?`${$e}px`:null}}}),lt$1=["id","aria-hidden","tabindex","data-popper-placement"],ht$2={ref:"inner",class:"v-popper__inner"},ut$2=createBaseVNode("div",{class:"v-popper__arrow-outer"},null,-1),ft$2=createBaseVNode("div",{class:"v-popper__arrow-inner"},null,-1),ct$1=[ut$2,ft$2];function mt$2($e,Ie,Fe,Ue,qe,At){const Dt=resolveComponent("ResizeObserver");return openBlock(),createElementBlock("div",{id:$e.popperId,ref:"popover",class:normalizeClass(["v-popper__popper",[$e.themeClass,$e.classes.popperClass,{"v-popper__popper--shown":$e.shown,"v-popper__popper--hidden":!$e.shown,"v-popper__popper--show-from":$e.classes.showFrom,"v-popper__popper--show-to":$e.classes.showTo,"v-popper__popper--hide-from":$e.classes.hideFrom,"v-popper__popper--hide-to":$e.classes.hideTo,"v-popper__popper--skip-transition":$e.skipTransition,"v-popper__popper--arrow-overflow":$e.result&&$e.result.arrow.overflow,"v-popper__popper--no-positioning":!$e.result}]]),style:normalizeStyle($e.result?{position:$e.result.strategy,transform:`translate3d(${Math.round($e.result.x)}px,${Math.round($e.result.y)}px,0)`}:void 0),"aria-hidden":$e.shown?"false":"true",tabindex:$e.autoHide?0:void 0,"data-popper-placement":$e.result?$e.result.placement:void 0,onKeyup:Ie[2]||(Ie[2]=withKeys(Lt=>$e.autoHide&&$e.$emit("hide"),["esc"]))},[createBaseVNode("div",{class:"v-popper__backdrop",onClick:Ie[0]||(Ie[0]=Lt=>$e.autoHide&&$e.$emit("hide"))}),createBaseVNode("div",{class:"v-popper__wrapper",style:normalizeStyle($e.result?{transformOrigin:$e.result.transformOrigin}:void 0)},[createBaseVNode("div",ht$2,[$e.mounted?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("div",null,[renderSlot($e.$slots,"default")]),$e.handleResize?(openBlock(),createBlock(Dt,{key:0,onNotify:Ie[1]||(Ie[1]=Lt=>$e.$emit("resize",Lt))})):createCommentVNode("",!0)],64)):createCommentVNode("",!0)],512),createBaseVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:normalizeStyle($e.result?{left:$e.toPx($e.result.arrow.x),top:$e.toPx($e.result.arrow.y)}:void 0)},ct$1,4)],4)],46,lt$1)}const ee$1=B$3(dt$2,[["render",mt$2]]),te$2={methods:{show(...$e){return this.$refs.popper.show(...$e)},hide(...$e){return this.$refs.popper.hide(...$e)},dispose(...$e){return this.$refs.popper.dispose(...$e)},onResize(...$e){return this.$refs.popper.onResize(...$e)}}};let K$3=function(){};typeof window<"u"&&(K$3=window.Element);const gt$2=defineComponent({name:"VPopperWrapper",components:{Popper:st$2,PopperContent:ee$1},mixins:[te$2,Z$2("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,K$3,Boolean],default:void 0},boundary:{type:[String,K$3],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":$e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter($e=>$e!==this.$refs.popperContent.$el)}}});function wt$2($e,Ie,Fe,Ue,qe,At){const Dt=resolveComponent("PopperContent"),Lt=resolveComponent("Popper");return openBlock(),createBlock(Lt,mergeProps({ref:"popper"},$e.$props,{theme:$e.finalTheme,"target-nodes":$e.getTargetNodes,"popper-node":()=>$e.$refs.popperContent.$el,class:[$e.themeClass],onShow:Ie[0]||(Ie[0]=()=>$e.$emit("show")),onHide:Ie[1]||(Ie[1]=()=>$e.$emit("hide")),"onUpdate:shown":Ie[2]||(Ie[2]=jt=>$e.$emit("update:shown",jt)),onApplyShow:Ie[3]||(Ie[3]=()=>$e.$emit("apply-show")),onApplyHide:Ie[4]||(Ie[4]=()=>$e.$emit("apply-hide")),onCloseGroup:Ie[5]||(Ie[5]=()=>$e.$emit("close-group")),onCloseDirective:Ie[6]||(Ie[6]=()=>$e.$emit("close-directive")),onAutoHide:Ie[7]||(Ie[7]=()=>$e.$emit("auto-hide")),onResize:Ie[8]||(Ie[8]=()=>$e.$emit("resize"))}),{default:withCtx(({popperId:jt,isShown:hn,shouldMountContent:vn,skipTransition:bn,autoHide:kn,show:Cn,hide:xn,handleResize:wn,onResize:Sn,classes:_n,result:En})=>[renderSlot($e.$slots,"default",{shown:hn,show:Cn,hide:xn}),createVNode(Dt,{ref:"popperContent","popper-id":jt,theme:$e.finalTheme,shown:hn,mounted:vn,"skip-transition":bn,"auto-hide":kn,"handle-resize":wn,classes:_n,result:En,onHide:xn,onResize:Sn},{default:withCtx(()=>[renderSlot($e.$slots,"popper",{shown:hn,hide:xn})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const k$2=B$3(gt$2,[["render",wt$2]]),Se$2={...k$2,name:"VDropdown",vPopperTheme:"dropdown"},be$1={...k$2,name:"VMenu",vPopperTheme:"menu"},Ce={...k$2,name:"VTooltip",vPopperTheme:"tooltip"},$t$2=defineComponent({name:"VTooltipDirective",components:{Popper:Q$3(),PopperContent:ee$1},mixins:[te$2],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:$e=>S$4($e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:$e=>S$4($e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent($e){if(typeof this.content=="function"&&this.$_isShown&&($e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const Ie=++this.$_fetchId,Fe=this.content(this);Fe.then?Fe.then(Ue=>this.onResult(Ie,Ue)):this.onResult(Ie,Fe)}},onResult($e,Ie){$e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=Ie)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),vt$2=["innerHTML"],yt$2=["textContent"];function _t$3($e,Ie,Fe,Ue,qe,At){const Dt=resolveComponent("PopperContent"),Lt=resolveComponent("Popper");return openBlock(),createBlock(Lt,mergeProps({ref:"popper"},$e.$attrs,{theme:$e.theme,"target-nodes":$e.targetNodes,"popper-node":()=>$e.$refs.popperContent.$el,onApplyShow:$e.onShow,onApplyHide:$e.onHide}),{default:withCtx(({popperId:jt,isShown:hn,shouldMountContent:vn,skipTransition:bn,autoHide:kn,hide:Cn,handleResize:xn,onResize:wn,classes:Sn,result:_n})=>[createVNode(Dt,{ref:"popperContent",class:normalizeClass({"v-popper--tooltip-loading":$e.loading}),"popper-id":jt,theme:$e.theme,shown:hn,mounted:vn,"skip-transition":bn,"auto-hide":kn,"handle-resize":xn,classes:Sn,result:_n,onHide:Cn,onResize:wn},{default:withCtx(()=>[$e.html?(openBlock(),createElementBlock("div",{key:0,innerHTML:$e.finalContent},null,8,vt$2)):(openBlock(),createElementBlock("div",{key:1,textContent:toDisplayString($e.finalContent)},null,8,yt$2))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const ze=B$3($t$2,[["render",_t$3]]),Ae$1="v-popper--has-tooltip";function Tt$2($e,Ie){let Fe=$e.placement;if(!Fe&&Ie)for(const Ue of Te$3)Ie[Ue]&&(Fe=Ue);return Fe||(Fe=S$4($e.theme||"tooltip","placement")),Fe}function Ne($e,Ie,Fe){let Ue;const qe=typeof Ie;return qe==="string"?Ue={content:Ie}:Ie&&qe==="object"?Ue=Ie:Ue={content:!1},Ue.placement=Tt$2(Ue,Fe),Ue.targetNodes=()=>[$e],Ue.referenceNode=()=>$e,Ue}let x$4,b$3,Pt=0;function St$2(){if(x$4)return;b$3=ref([]),x$4=createApp({name:"VTooltipDirectiveApp",setup(){return{directives:b$3}},render(){return this.directives.map(Ie=>h$5(ze,{...Ie.options,shown:Ie.shown||Ie.options.shown,key:Ie.id}))},devtools:{hide:!0}});const $e=document.createElement("div");document.body.appendChild($e),x$4.mount($e)}function bt$2($e,Ie,Fe){St$2();const Ue=ref(Ne($e,Ie,Fe)),qe=ref(!1),At={id:Pt++,options:Ue,shown:qe};return b$3.value.push(At),$e.classList&&$e.classList.add(Ae$1),$e.$_popper={options:Ue,item:At,show(){qe.value=!0},hide(){qe.value=!1}}}function He$1($e){if($e.$_popper){const Ie=b$3.value.indexOf($e.$_popper.item);Ie!==-1&&b$3.value.splice(Ie,1),delete $e.$_popper,delete $e.$_popperOldShown,delete $e.$_popperMountTarget}$e.classList&&$e.classList.remove(Ae$1)}function me$3($e,{value:Ie,modifiers:Fe}){const Ue=Ne($e,Ie,Fe);if(!Ue.content||S$4(Ue.theme||"tooltip","disabled"))He$1($e);else{let qe;$e.$_popper?(qe=$e.$_popper,qe.options.value=Ue):qe=bt$2($e,Ie,Fe),typeof Ie.shown<"u"&&Ie.shown!==$e.$_popperOldShown&&($e.$_popperOldShown=Ie.shown,Ie.shown?qe.show():qe.hide())}}const oe={beforeMount:me$3,updated:me$3,beforeUnmount($e){He$1($e)}};function ge$2($e){$e.addEventListener("mousedown",H$5),$e.addEventListener("click",H$5),$e.addEventListener("touchstart",Oe,$$3?{passive:!0}:!1)}function we$1($e){$e.removeEventListener("mousedown",H$5),$e.removeEventListener("click",H$5),$e.removeEventListener("touchstart",Oe),$e.removeEventListener("touchend",Me$1),$e.removeEventListener("touchcancel",Be$1)}function H$5($e){const Ie=$e.currentTarget;$e.closePopover=!Ie.$_vclosepopover_touch,$e.closeAllPopover=Ie.$_closePopoverModifiers&&!!Ie.$_closePopoverModifiers.all}function Oe($e){if($e.changedTouches.length===1){const Ie=$e.currentTarget;Ie.$_vclosepopover_touch=!0;const Fe=$e.changedTouches[0];Ie.$_vclosepopover_touchPoint=Fe,Ie.addEventListener("touchend",Me$1),Ie.addEventListener("touchcancel",Be$1)}}function Me$1($e){const Ie=$e.currentTarget;if(Ie.$_vclosepopover_touch=!1,$e.changedTouches.length===1){const Fe=$e.changedTouches[0],Ue=Ie.$_vclosepopover_touchPoint;$e.closePopover=Math.abs(Fe.screenY-Ue.screenY)<20&&Math.abs(Fe.screenX-Ue.screenX)<20,$e.closeAllPopover=Ie.$_closePopoverModifiers&&!!Ie.$_closePopoverModifiers.all}}function Be$1($e){const Ie=$e.currentTarget;Ie.$_vclosepopover_touch=!1}const ie={beforeMount($e,{value:Ie,modifiers:Fe}){$e.$_closePopoverModifiers=Fe,(typeof Ie>"u"||Ie)&&ge$2($e)},updated($e,{value:Ie,oldValue:Fe,modifiers:Ue}){$e.$_closePopoverModifiers=Ue,Ie!==Fe&&(typeof Ie>"u"||Ie?ge$2($e):we$1($e))},beforeUnmount($e){we$1($e)}};function Ct$2($e,Ie={}){$e.$_vTooltipInstalled||($e.$_vTooltipInstalled=!0,ye$1(h$3,Ie),$e.directive("tooltip",oe),$e.directive("close-popper",ie),$e.component("VTooltip",Ce),$e.component("VDropdown",Se$2),$e.component("VMenu",be$1))}const Gt$1={version:"5.2.2",install:Ct$2,options:h$3};var __defProp$1=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols$1=Object.getOwnPropertySymbols,__hasOwnProp$1=Object.prototype.hasOwnProperty,__propIsEnum$1=Object.prototype.propertyIsEnumerable,__defNormalProp$1=($e,Ie,Fe)=>Ie in $e?__defProp$1($e,Ie,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):$e[Ie]=Fe,__spreadValues$1=($e,Ie)=>{for(var Fe in Ie||(Ie={}))__hasOwnProp$1.call(Ie,Fe)&&__defNormalProp$1($e,Fe,Ie[Fe]);if(__getOwnPropSymbols$1)for(var Fe of __getOwnPropSymbols$1(Ie))__propIsEnum$1.call(Ie,Fe)&&__defNormalProp$1($e,Fe,Ie[Fe]);return $e},__spreadProps=($e,Ie)=>__defProps($e,__getOwnPropDescs(Ie));const icons$1={},addIcon$1=function($e,Ie){icons$1[$e]=Ie},Icon$3=defineComponent({name:"Icon",props:{name:String,color:String},computed:{svg(){if(this.name)return icons$1[this.name]}},render($e){const Ie=this.svg;if(!Ie)return console.warn(`The name of '${this.name}' could not be found.`),createVNode("span",{class:"m-svg-icon"},null);const Fe={color:this.color?this.color:Ie.fill?Ie.fill:null};return createVNode("span",{class:["m-svg-icon","m-svg-icon--"+this.name]},[createVNode("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:Ie.viewBox,style:Fe,class:Ie.class},[Ie.defs&&createVNode("defs",{innerHTML:Ie.defs},null),Ie.path&&createVNode("path",{fill:"currentColor",d:Ie.path},null),Ie.html&&createVNode("g",{innerHTML:Ie.html},null),this.$slots.default])])}});Icon$3.add=addIcon$1;const error={name:"error",fill:"#F56C6C",viewBox:"0 0 1024 1024",path:"M512,952C269,952,72,755,72,512S269,72,512,72s440,197,440,440S755,952,512,952z M579.7,512l101.6-101.6 c18.7-18.7,18.7-49,0-67.7c-18.7-18.7-49-18.7-67.7,0l0,0L512,444.3L410.4,342.7c-18.7-18.7-49-18.7-67.7,0s-18.7,49,0,67.7 L444.3,512L342.7,613.6c-18.7,18.7-18.7,49,0,67.7c18.7,18.7,49,18.7,67.7,0L512,579.7l101.6,101.6c18.7,18.7,49,18.7,67.7,0 c18.7-18.7,18.7-49,0-67.7L579.7,512z"},info={name:"info",fill:"#1CADF2",viewBox:"0 0 1024 1024",path:"M512,72C269,72,72,269,72,512s197,440,440,440s440-197,440-440S755,72,512,72z M581,673.9 c-33.2,49.9-67,88.3-123.8,88.3c-38.8-6.3-54.7-34.1-46.3-62.4L484,457.6c1.8-5.9-1.2-12.3-6.6-14.2c-5.4-1.9-15.9,5.1-25.1,15.1 l-44.2,53.2c-1.2-8.9-0.1-23.7-0.1-29.6c33.2-49.9,87.8-89.2,124.8-89.2c35.2,3.6,51.8,31.7,45.7,62.6l-73.6,243.3 c-1,5.5,1.9,11.1,6.9,12.8c5.4,1.9,16.8-5.1,26-15.1l44.2-53.1C583,652.3,581,667.9,581,673.9z M571.2,357.6 c-28,0-50.6-20.4-50.6-50.4c0-30,22.7-50.3,50.6-50.3c28,0,50.6,20.4,50.6,50.3C621.8,337.3,599.1,357.6,571.2,357.6z"},success={name:"success",fill:"#17B77E",viewBox:"0 0 1024 1024",path:"M512,72C269,72,72,269,72,512s197,440,440,440s440-197,440-440S755,72,512,72L512,72z M758.9,374 c-48.5,48.6-81.2,76.9-172.3,186.8c-52.6,63.4-102.3,131.5-102.7,132L462.1,720c-4.6,6.1-13.5,6.8-19.1,1.6L267.9,558.9 c-17.8-16.5-18.8-44.4-2.3-62.2s44.4-18.8,62.2-2.3l104.9,97.5c5.5,5.1,14.1,4.5,18.9-1.3c16.2-20.1,38.4-44.5,62.4-68.6 c90.2-90.9,145.6-139.7,175.2-161.3c36-26.2,77.3-48.6,87.3-36.2C792,343.9,782.5,350.3,758.9,374L758.9,374z"},warning$1={name:"warning",fill:"#FFC603",viewBox:"0 0 1024 1024",path:"M512,952C269,952,72,755,72,512S269,72,512,72s440,197,440,440S755,952,512,952z M510,770.8 c30.4,0,55-24.6,55-55s-24.6-55-55-55s-55,24.6-55,55S479.6,770.8,510,770.8z M509.8,255.3c-39.3,0-71.2,31.9-71.2,71.2 c0,3.1,0.2,6.2,0.6,9.3L472.4,588c2.5,19.3,18.9,33.7,38.4,33.7c19.4,0,35.8-14.4,38.2-33.7l31.8-252.2c5-39.2-22.8-75-62-79.9 C515.9,255.5,512.8,255.3,509.8,255.3z"},loading={name:"loading",viewBox:"0 0 50 50",html:''};Icon$3.add(error.name,error);Icon$3.add(info.name,info);Icon$3.add(success.name,success);Icon$3.add(warning$1.name,warning$1);Icon$3.add(loading.name,loading);var _export_sfc$2=($e,Ie)=>{const Fe=$e.__vccOpts||$e;for(const[Ue,qe]of Ie)Fe[Ue]=qe;return Fe};function useTimeout$1($e,Ie){const Fe=ref(0);return Fe.value=window.setTimeout($e,Ie),{stop(){window.clearTimeout(Fe.value)}}}const _sfc_main$2D=defineComponent({components:{Icon:Icon$3},name:"m-message",emits:["close","destroy","collapsed"],props:{id:String,type:{type:String,default:"info"},title:String,message:String,iconURL:String,duration:{type:Number,default:3e3},isCollapsed:Boolean,collapsable:Boolean,supportHTML:Boolean,width:String,className:String,wrapperClassName:String,closable:Boolean,stopTimerOnHover:{type:Boolean,default:!0}},setup($e,{expose:Ie,emit:Fe}){const Ue=reactive({visible:!0,collapsed:$e.isCollapsed,timer:null});let qe;const At=()=>{$e.duration<0||({stop:qe}=useTimeout$1(()=>{Lt()},$e.duration))},Dt=()=>{qe==null||qe()},Lt=()=>{Ue.visible=!1},jt=()=>{Ue.collapsed=!Ue.collapsed,Fe("collapsed",Ue.collapsed)},hn=()=>{Ue.visible=!1},vn=()=>{$e.stopTimerOnHover&&Dt()},bn=()=>{$e.stopTimerOnHover&&At()};return onBeforeMount(()=>{Dt()}),onMounted(()=>{At()}),Ie({close:Lt}),{state:Ue,handleClearTimer:vn,handleStartTimer:bn,triggerCollapse:jt,handleClose:hn}}}),_hoisted_1$1i=["id"],_hoisted_2$R={key:0,class:"m-message-icons"},_hoisted_3$r=["src"],_hoisted_4$g={class:"m-message-content"},_hoisted_5$b={key:0,class:"m-message--title"},_hoisted_6$7=["innerHTML"],_hoisted_7$5={key:0,class:"m-message--description"},_hoisted_8$5={class:"m-message--control"},_hoisted_9$4=createBaseVNode("svg",{viewBox:"0 0 35 35",width:"20",height:"20",version:"1.1",fill:"currentColor"},[createBaseVNode("path",{d:"M9.4,13.9c-0.2,0.2-0.2,0.6,0,0.8l8.1,8.1l0,0l0,0l8.1-8.1c0.2-0.2,0.2-0.6,0-0.8l-1.3-1.3 c-0.2-0.2-0.6-0.2-0.8,0l-5.5,5.5c-0.2,0.2-0.6,0.2-0.8,0l-5.5-5.5c-0.2-0.2-0.6-0.2-0.8,0L9.4,13.9z"})],-1),_hoisted_10$3=[_hoisted_9$4],_hoisted_11$3=createBaseVNode("svg",{viewBox:"0 0 35 35",width:"20",height:"20",version:"1.1",fill:"currentColor"},[createBaseVNode("path",{d:"M19.5,17.5l5.1,5.1l-2,2l-5.1-5.1l-5.1,5.1l-2-2l5.1-5.1l-5.1-5.1l2-2l5.1,5.1l5.1-5.1l2,2L19.5,17.5z"})],-1),_hoisted_12$3=[_hoisted_11$3];function _sfc_render$v($e,Ie,Fe,Ue,qe,At){const Dt=resolveComponent("icon");return openBlock(),createBlock(Transition,{name:"m-message-fade",appear:"",mode:"in-out",onBeforeLeave:Ie[4]||(Ie[4]=Lt=>$e.$emit("close")),onAfterLeave:Ie[5]||(Ie[5]=Lt=>$e.$emit("destroy"))},{default:withCtx(()=>[$e.state.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["m-message-wrapper",$e.wrapperClassName]),id:$e.id,style:normalizeStyle({width:$e.width})},[createBaseVNode("div",{class:normalizeClass(["m-message",$e.className]),onMouseenter:Ie[2]||(Ie[2]=(...Lt)=>$e.handleClearTimer&&$e.handleClearTimer(...Lt)),onMouseleave:Ie[3]||(Ie[3]=(...Lt)=>$e.handleStartTimer&&$e.handleStartTimer(...Lt))},[$e.iconURL||$e.type?(openBlock(),createElementBlock("div",_hoisted_2$R,[$e.iconURL?(openBlock(),createElementBlock("img",{key:0,src:$e.iconURL,class:"m-message--icon"},null,8,_hoisted_3$r)):$e.type?(openBlock(),createBlock(Dt,{key:1,name:$e.type,class:"m-message--icon"},null,8,["name"])):createCommentVNode("",!0)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_4$g,[$e.title||$e.$slots.title?(openBlock(),createElementBlock("div",_hoisted_5$b,[renderSlot($e.$slots,"title",{},()=>[createTextVNode(toDisplayString($e.title),1)])])):createCommentVNode("",!0),$e.supportHTML&&$e.message?(openBlock(),createElementBlock(Fragment,{key:1},[$e.state.collapsed?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:0,class:"m-message--description",innerHTML:$e.message},null,8,_hoisted_6$7))],64)):(openBlock(),createElementBlock(Fragment,{key:2},[$e.state.collapsed?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_7$5,[renderSlot($e.$slots,"default",{},()=>[createTextVNode(toDisplayString($e.message),1)])]))],64))]),createBaseVNode("div",_hoisted_8$5,[$e.collapsable&&($e.title||$e.$slots.title)?(openBlock(),createElementBlock("button",{key:0,class:normalizeClass(["m-message--button m-message--arrow-down",{"is-collapsed":$e.state.collapsed}]),onClick:Ie[0]||(Ie[0]=(...Lt)=>$e.triggerCollapse&&$e.triggerCollapse(...Lt))},_hoisted_10$3,2)):createCommentVNode("",!0),$e.closable?(openBlock(),createElementBlock("button",{key:1,class:"m-message--button m-message--close",onClick:Ie[1]||(Ie[1]=(...Lt)=>$e.handleClose&&$e.handleClose(...Lt))},_hoisted_12$3)):createCommentVNode("",!0)])],34)],14,_hoisted_1$1i)):createCommentVNode("",!0)]),_:3})}var MessageComponent=_export_sfc$2(_sfc_main$2D,[["render",_sfc_render$v]]);const instances$1=[];let seed$2=0;const containers={};let globalsOptions={};const defaultOptions={stopTimerOnHover:!0,duration:3e3},message$1=$e=>{const Ie="m-message-"+seed$2++,Fe=__spreadProps(__spreadValues$1(__spreadValues$1(__spreadValues$1({},defaultOptions),globalsOptions),$e),{id:Ie});delete Fe.hasMask,delete Fe.position,delete Fe.zIndex;const Ue=$e.position||"top-center",qe=$e.hasMask||!1,At=Ue+(qe?"-mask":"");let Dt=containers[At];Dt?Dt.count++:(Dt=containers[At]={el:document.createElement("div"),count:1},Dt.el.className=["m-message-container","is-"+Ue,qe?"has-mask":""].filter(function(bn){return!!bn}).join(" "),document.body.appendChild(Dt.el)),$e.zIndex&&(Dt.el.style.zIndex=String($e.zIndex));let Lt=null;isVNode($e.message)?(Lt={default:()=>$e.message},Fe.message=""):typeof $e.message=="function"&&(Lt={default:$e.message},Fe.message="");const jt=createVNode(MessageComponent,Fe,Lt),hn=document.createElement("div");jt.appContext=$e.ctx||message$1._context||null,jt.props.onClose=$e.onClose,jt.props.onDestroy=()=>{Dt.count--,Dt.count===0&&(delete containers[At],Dt.el.remove()),render$1(null,hn)},render$1(jt,hn),Ue.indexOf("bottom")===0&&Dt.el.firstChild?Dt.el.insertBefore(hn.firstElementChild,Dt.el.firstChild):Dt.el.appendChild(hn.firstElementChild);const vn={id:Ie,close(){var bn,kn;(kn=(bn=jt==null?void 0:jt.component)==null?void 0:bn.exposed)==null||kn.close()}};return instances$1.push(vn),vn};message$1.success=($e,Ie)=>message$1(__spreadProps(__spreadValues$1({},Ie),{type:"success",message:$e}));message$1.info=($e,Ie)=>message$1(__spreadProps(__spreadValues$1({},Ie),{type:"info",message:$e}));message$1.warning=($e,Ie)=>message$1(__spreadProps(__spreadValues$1({},Ie),{type:"warning",message:$e}));message$1.error=($e,Ie)=>message$1(__spreadProps(__spreadValues$1({},Ie),{type:"error",message:$e}));message$1.loading=($e,Ie)=>message$1(__spreadProps(__spreadValues$1({},Ie),{type:"loading",message:$e}));message$1.closeAll=function(){for(let $e=instances$1.length-1;$e>=0;$e--)instances$1[$e].close()};message$1.setDefault=$e=>{globalsOptions=__spreadValues$1({},$e)};const withInstall$1=($e,Ie)=>($e.install=Ie,$e);var index$1=withInstall$1(message$1,function($e,Ie={}){message$1._context=$e._context,$e.config.globalProperties["$"+(Ie.name||"mmessage")]=message$1,Ie.defaultOptions&&message$1.setDefault(Ie.defaultOptions)}),setupDefaults$9={cookies:{path:"/"},treeOptions:{parentKey:"parentId",key:"id",children:"children"},parseDateFormat:"yyyy-MM-dd HH:mm:ss",firstDayOfWeek:1},setupDefaults_1=setupDefaults$9;function arrayEach$f($e,Ie,Fe){if($e)if($e.forEach)$e.forEach(Ie,Fe);else for(var Ue=0,qe=$e.length;Ue1?function(At){qe.push([""+At,Ue[At]])}:function(){qe.push(arguments[Ie])})}return qe}}var helperCreateGetObjects_1=helperCreateGetObjects$3,helperCreateGetObjects$2=helperCreateGetObjects_1,keys$c=helperCreateGetObjects$2("keys",1),keys_1=keys$c,objectToString$1=staticObjectToString,objectEach$3=objectEach_1,arrayEach$d=arrayEach_1;function getCativeCtor($e,Ie){var Fe=$e.__proto__.constructor;return Ie?new Fe(Ie):new Fe}function handleValueClone($e,Ie){return Ie?copyValue($e,Ie):$e}function copyValue($e,Ie){if($e)switch(objectToString$1.call($e)){case"[object Object]":{var Fe=Object.create(Object.getPrototypeOf($e));return objectEach$3($e,function(Dt,Lt){Fe[Lt]=handleValueClone(Dt,Ie)}),Fe}case"[object Date]":case"[object RegExp]":return getCativeCtor($e,$e.valueOf());case"[object Array]":case"[object Arguments]":{var Ue=[];return arrayEach$d($e,function(Dt){Ue.push(handleValueClone(Dt,Ie))}),Ue}case"[object Set]":{var qe=getCativeCtor($e);return qe.forEach(function(Dt){qe.add(handleValueClone(Dt,Ie))}),qe}case"[object Map]":{var At=getCativeCtor($e);return At.forEach(function(Dt,Lt){At.set(Lt,handleValueClone(Dt,Ie))}),At}}return $e}function clone$4($e,Ie){return $e&©Value($e,Ie)}var clone_1=clone$4,arrayEach$c=arrayEach_1,keys$b=keys_1,isArray$t=isArray_1,clone$3=clone_1,objectAssignFns=Object.assign;function handleAssign($e,Ie,Fe){for(var Ue=Ie.length,qe,At=1;At1)return $e=isArray$t($e[1])?[]:{},handleAssign($e,Ie,!0)}else return objectAssignFns?objectAssignFns.apply(Object,Ie):handleAssign($e,Ie)}return $e},assign_1=assign$d,setupDefaults$8=setupDefaults_1,arrayEach$b=arrayEach_1,each$i=each_1,isFunction$g=isFunction_1,assign$c=assign_1,XEUtils$2=function(){};function mixin(){arrayEach$b(arguments,function($e){each$i($e,function(Ie,Fe){XEUtils$2[Fe]=isFunction$g(Ie)?function(){var Ue=Ie.apply(XEUtils$2.$context,arguments);return XEUtils$2.$context=null,Ue}:Ie})})}function setup$2($e){return assign$c(setupDefaults$8,$e)}XEUtils$2.VERSION="3.5.27";XEUtils$2.mixin=mixin;XEUtils$2.setup=setup$2;var ctor=XEUtils$2;function lastArrayEach$3($e,Ie,Fe){for(var Ue=$e.length-1;Ue>=0;Ue--)Ie.call(Fe,$e[Ue],Ue,$e)}var lastArrayEach_1=lastArrayEach$3,lastArrayEach$2=lastArrayEach_1,keys$a=keys_1;function lastObjectEach$2($e,Ie,Fe){lastArrayEach$2(keys$a($e),function(Ue){Ie.call(Fe,$e[Ue],Ue,$e)})}var lastObjectEach_1=lastObjectEach$2;function isNull$a($e){return $e===null}var isNull_1=isNull$a,isNull$9=isNull_1;function property$7($e,Ie){return function(Fe){return isNull$9(Fe)?Ie:Fe[$e]}}var property_1=property$7,each$h=each_1,isFunction$f=isFunction_1,property$6=property_1;function objectMap$1($e,Ie,Fe){var Ue={};if($e)if(Ie)isFunction$f(Ie)||(Ie=property$6(Ie)),each$h($e,function(qe,At){Ue[At]=Ie.call(Fe,qe,At,$e)});else return $e;return Ue}var objectMap_1=objectMap$1;function isPlainObject$a($e){return $e?$e.constructor===Object:!1}var isPlainObject_1=isPlainObject$a,isArray$s=isArray_1,isPlainObject$9=isPlainObject_1,each$g=each_1;function handleMerge($e,Ie){return isPlainObject$9($e)&&isPlainObject$9(Ie)||isArray$s($e)&&isArray$s(Ie)?(each$g(Ie,function(Fe,Ue){$e[Ue]=handleMerge($e[Ue],Fe)}),$e):Ie}var merge$3=function($e){$e||($e={});for(var Ie=arguments,Fe=Ie.length,Ue,qe=1;qe1){if($e.map)return $e.map(Ie,Fe);each$f($e,function(){Ue.push(Ie.apply(Fe,arguments))})}return Ue}var map_1=map$7,hasOwnProp$8=hasOwnProp_1,isArray$r=isArray_1;function helperCreateIterateHandle$4($e,Ie,Fe,Ue,qe){return function(At,Dt,Lt){if(At&&Dt){if($e&&At[$e])return At[$e](Dt,Lt);if(Ie&&isArray$r(At)){for(var jt=0,hn=At.length;jtIe?1:-1}function buildMultiOrders($e,Ie,Fe){return function(Ue,qe){var At=Ue[$e],Dt=qe[$e];return At===Dt?Fe?Fe(Ue,qe):0:Ie.order===ORDER_PROP_DESC?handleSort(Dt,At):handleSort(At,Dt)}}function getSortConfs($e,Ie,Fe,Ue){var qe=[];return Fe=isArray$p(Fe)?Fe:[Fe],arrayEach$a(Fe,function(At,Dt){if(At){var Lt=At,jt;isArray$p(At)?(Lt=At[0],jt=At[1]):isPlainObject$8(At)&&(Lt=At.field,jt=At.order),qe.push({field:Lt,order:jt||ORDER_PROP_ASC}),arrayEach$a(Ie,isFunction$d(Lt)?function(hn,vn){hn[Dt]=Lt.call(Ue,hn.data,vn,$e)}:function(hn){hn[Dt]=Lt?get$5(hn.data,Lt):hn.data})}}),qe}function orderBy$4($e,Ie,Fe){if($e){if(eqNull$6(Ie))return toArray$2($e).sort(handleSort);for(var Ue,qe=map$5($e,function(Lt){return{data:Lt}}),At=getSortConfs($e,qe,Ie,Fe),Dt=At.length-1;Dt>=0;)Ue=buildMultiOrders(Dt,At[Dt],Ue),Dt--;return Ue&&(qe=qe.sort(Ue)),map$5(qe,property$4("data"))}return[]}var orderBy_1=orderBy$4,orderBy$3=orderBy_1,sortBy$1=orderBy$3,sortBy_1=sortBy$1;function random$2($e,Ie){return $e>=Ie?$e:($e=$e>>0)+Math.round(Math.random()*((Ie||9)-$e))}var random_1=random$2,helperCreateGetObjects$1=helperCreateGetObjects_1,values$6=helperCreateGetObjects$1("values",0),values_1=values$6,random$1=random_1,values$5=values_1;function shuffle$2($e){for(var Ie,Fe=[],Ue=values$5($e),qe=Ue.length-1;qe>=0;qe--)Ie=qe>0?random$1(0,qe):0,Fe.push(Ue[Ie]),Ue.splice(Ie,1);return Fe}var shuffle_1=shuffle$2,shuffle$1=shuffle_1;function sample$1($e,Ie){var Fe=shuffle$1($e);return arguments.length<=1?Fe[0]:(Ie=2?toNumber$7(Ie):0,Fe=qe>=3?toNumber$7(Fe):$e.length,$e.slice)return $e.slice(Ie,Fe);for(;Ie=0;Ue--)if(Ie.call(Fe,$e[Ue],Ue,$e))return $e[Ue]}}var findLast_1=findLast$1,keys$9=keys_1;function reduce$1($e,Ie,Fe){if($e){var Ue,qe,At=0,Dt=null,Lt=Fe,jt=arguments.length>2,hn=keys$9($e);if($e.length&&$e.reduce)return qe=function(){return Ie.apply(Dt,arguments)},jt?$e.reduce(qe,Lt):$e.reduce(qe);for(jt&&(At=1,Lt=$e[hn[0]]),Ue=hn.length;At>0,Lt=Fe>>0,jt=$e.length,hn=arguments.length>3?Ue>>0:jt;if(Dt=0?Dt:jt+Dt,Dt>=0&&(Lt=Lt>=0?Lt:jt+Lt,hn=hn>=0?hn:jt+hn,Lt>0||1;if(isArray$m($e))if(qe>=0&&$e.length>qe)for(Fe=0;Fe<$e.length;)Ue.push($e.slice(Fe,Fe+qe)),Fe+=qe;else Ue=$e.length?[$e]:$e;return Ue}var chunk_1=chunk$1,map$4=map_1,property$3=property_1;function pluck$2($e,Ie){return map$4($e,property$3(Ie))}var pluck_1=pluck$2,isFunction$c=isFunction_1,eqNull$5=eqNull_1,get$4=get_1,arrayEach$9=arrayEach_1;function helperCreateMinMax$2($e){return function(Ie,Fe){if(Ie&&Ie.length){var Ue,qe;return arrayEach$9(Ie,function(At,Dt){Fe&&(At=isFunction$c(Fe)?Fe(At,Dt,Ie):get$4(At,Fe)),!eqNull$5(At)&&(eqNull$5(Ue)||$e(Ue,At))&&(qe=Dt,Ue=At)}),Ie[qe]}return Ue}}var helperCreateMinMax_1=helperCreateMinMax$2,helperCreateMinMax$1=helperCreateMinMax_1,max$4=helperCreateMinMax$1(function($e,Ie){return $e1&&(isNull$6(Ie)||!isObject$7(Ie)),At=qe?Fe:Ie;if(isPlainObject$7($e))objectEach$2($e,qe?function(Dt,Lt){$e[Lt]=Ie}:function(Dt,Lt){helperDeleteProperty$1($e,Lt)}),At&&assign$b($e,At);else if(isArray$i($e)){if(qe)for(Ue=$e.length;Ue>0;)Ue--,$e[Ue]=Ie;else $e.length=0;At&&$e.push.apply($e,At)}}return $e}var clear_1=clear$2,helperDeleteProperty=helperDeleteProperty_1,isFunction$b=isFunction_1,isArray$h=isArray_1,each$b=each_1,arrayEach$7=arrayEach_1,lastEach$1=lastEach_1,clear$1=clear_1,eqNull$4=eqNull_1;function pluckProperty($e){return function(Ie,Fe){return Fe===$e}}function remove$2($e,Ie,Fe){if($e){if(!eqNull$4(Ie)){var Ue=[],qe=[];return isFunction$b(Ie)||(Ie=pluckProperty(Ie)),each$b($e,function(At,Dt,Lt){Ie.call(Fe,At,Dt,Lt)&&Ue.push(Dt)}),isArray$h($e)?lastEach$1(Ue,function(At,Dt){qe.push($e[At]),$e.splice(At,1)}):(qe={},arrayEach$7(Ue,function(At){qe[At]=$e[At],helperDeleteProperty($e,At)})),qe}return clear$1($e)}return $e}var remove_1=remove$2,setupDefaults$7=setupDefaults_1,orderBy$2=orderBy_1,clone$2=clone_1,eqNull$3=eqNull_1,each$a=each_1,remove$1=remove_1,assign$a=assign_1;function strictTree($e,Ie){each$a($e,function(Fe){Fe[Ie]&&!Fe[Ie].length&&remove$1(Fe,Ie)})}function toArrayTree$1($e,Ie){var Fe=assign$a({},setupDefaults$7.treeOptions,Ie),Ue=Fe.strict,qe=Fe.key,At=Fe.parentKey,Dt=Fe.children,Lt=Fe.mapChildren,jt=Fe.sortKey,hn=Fe.reverse,vn=Fe.data,bn=[],kn={},Cn={},xn,wn,Sn;return jt&&($e=orderBy$2(clone$2($e),jt),hn&&($e=$e.reverse())),each$a($e,function(_n){xn=_n[qe],Cn[xn]=!0}),each$a($e,function(_n){xn=_n[qe],vn?(wn={},wn[vn]=_n):wn=_n,Sn=_n[At],kn[xn]=kn[xn]||[],kn[Sn]=kn[Sn]||[],kn[Sn].push(wn),wn[qe]=xn,wn[At]=Sn,wn[Dt]=kn[xn],Lt&&(wn[Lt]=kn[xn]),(!Ue||Ue&&eqNull$3(Sn))&&(Cn[Sn]||bn.push(wn))}),Ue&&strictTree($e,Dt),bn}var toArrayTree_1=toArrayTree$1,setupDefaults$6=setupDefaults_1,each$9=each_1,assign$9=assign_1;function unTreeList($e,Ie,Fe){var Ue=Fe.children,qe=Fe.data,At=Fe.clear;return each$9(Ie,function(Dt){var Lt=Dt[Ue];qe&&(Dt=Dt[qe]),$e.push(Dt),Lt&&Lt.length&&unTreeList($e,Lt,Fe),At&&delete Dt[Ue]}),$e}function toTreeArray$1($e,Ie){return unTreeList([],$e,assign$9({},setupDefaults$6.treeOptions,Ie))}var toTreeArray_1=toTreeArray$1;function helperCreateTreeFunc$4($e){return function(Ie,Fe,Ue,qe){var At=Ue||{},Dt=At.children||"children";return $e(null,Ie,Fe,qe,[],[],Dt,At)}}var helperCreateTreeFunc_1=helperCreateTreeFunc$4,helperCreateTreeFunc$3=helperCreateTreeFunc_1;function findTreeItem($e,Ie,Fe,Ue,qe,At,Dt,Lt){if(Ie){var jt,hn,vn,bn,kn,Cn;for(hn=0,vn=Ie.length;hn=0;Fe--)if(Ie===$e[Fe])return Fe;return-1}var arrayLastIndexOf_1=arrayLastIndexOf$2,helperCreateInTypeof$2=helperCreateInTypeof_1,isNumber$d=helperCreateInTypeof$2("number"),isNumber_1=isNumber$d,isNumber$c=isNumber_1;function isNumberNaN$1($e){return isNumber$c($e)&&isNaN($e)}var _isNaN=isNumberNaN$1,helperCreateInTypeof$1=helperCreateInTypeof_1,isString$c=helperCreateInTypeof$1("string"),isString_1=isString$c,helperCreateInInObjectString$3=helperCreateInInObjectString_1,isDate$9=helperCreateInInObjectString$3("Date"),isDate_1=isDate$9,staticParseInt$5=parseInt,staticParseInt_1=staticParseInt$5;function helperGetUTCDateTime$1($e){return Date.UTC($e.y,$e.M||0,$e.d||1,$e.H||0,$e.m||0,$e.s||0,$e.S||0)}var helperGetUTCDateTime_1=helperGetUTCDateTime$1;function helperGetDateTime$c($e){return $e.getTime()}var helperGetDateTime_1=helperGetDateTime$c,staticParseInt$4=staticParseInt_1,helperGetUTCDateTime=helperGetUTCDateTime_1,helperGetDateTime$b=helperGetDateTime_1,isString$b=isString_1,isDate$8=isDate_1;function getParseRule($e){return"(\\d{"+$e+"})"}function toParseMs($e){return $e<10?$e*100:$e<100?$e*10:$e}function toParseNum($e){return isNaN($e)?$e:staticParseInt$4($e)}var d2=getParseRule(2),d1or2=getParseRule("1,2"),d1or7=getParseRule("1,7"),d3or4=getParseRule("3,4"),place=".{1}",d1Or2RE=place+d1or2,dzZ="(([zZ])|([-+]\\d{2}:?\\d{2}))",defaulParseStrs=[d3or4,d1Or2RE,d1Or2RE,d1Or2RE,d1Or2RE,d1Or2RE,place+d1or7,dzZ],defaulParseREs=[];for(var len=defaulParseStrs.length-1;len>=0;len--){for(var rule="",i$7=0;i$7=0&&Ie.call(Fe,$e[Ue],Ue,$e)!==!1;Ue--);else for(qe=keys$8($e),Ue=qe.length-1;Ue>=0&&Ie.call(Fe,$e[qe[Ue]],qe[Ue],$e)!==!1;Ue--);}}var lastForOf_1=lastForOf$1,isArray$e=isArray_1,isString$a=isString_1,hasOwnProp$4=hasOwnProp_1;function helperCreateIndexOf$2($e,Ie){return function(Fe,Ue){if(Fe){if(Fe[$e])return Fe[$e](Ue);if(isString$a(Fe)||isArray$e(Fe))return Ie(Fe,Ue);for(var qe in Fe)if(hasOwnProp$4(Fe,qe)&&Ue===Fe[qe])return qe}return-1}}var helperCreateIndexOf_1=helperCreateIndexOf$2,helperCreateIndexOf$1=helperCreateIndexOf_1,arrayIndexOf$1=arrayIndexOf_1,indexOf$1=helperCreateIndexOf$1("indexOf",arrayIndexOf$1),indexOf_1=indexOf$1,helperCreateIndexOf=helperCreateIndexOf_1,arrayLastIndexOf$1=arrayLastIndexOf_1,lastIndexOf$2=helperCreateIndexOf("lastIndexOf",arrayLastIndexOf$1),lastIndexOf_1=lastIndexOf$2,isArray$d=isArray_1,isString$9=isString_1,each$7=each_1;function getSize$2($e){var Ie=0;return isString$9($e)||isArray$d($e)?$e.length:(each$7($e,function(){Ie++}),Ie)}var getSize_1=getSize$2,isNumber$b=isNumber_1;function isNumberFinite$1($e){return isNumber$b($e)&&isFinite($e)}var _isFinite=isNumberFinite$1,isArray$c=isArray_1,isNull$5=isNull_1,isInteger$2=function($e){return!isNull$5($e)&&!isNaN($e)&&!isArray$c($e)&&$e%1===0},isInteger_1=isInteger$2,isArray$b=isArray_1,isInteger$1=isInteger_1,isNull$4=isNull_1;function isFloat$1($e){return!isNull$4($e)&&!isNaN($e)&&!isArray$b($e)&&!isInteger$1($e)}var isFloat_1=isFloat$1,helperCreateInTypeof=helperCreateInTypeof_1,isBoolean$5=helperCreateInTypeof("boolean"),isBoolean_1=isBoolean$5,helperCreateInInObjectString$2=helperCreateInInObjectString_1,isRegExp$4=helperCreateInInObjectString$2("RegExp"),isRegExp_1=isRegExp$4,helperCreateInInObjectString$1=helperCreateInInObjectString_1,isError$2=helperCreateInInObjectString$1("Error"),isError_1=isError$2;function isTypeError$1($e){return $e?$e.constructor===TypeError:!1}var isTypeError_1=isTypeError$1;function isEmpty$3($e){for(var Ie in $e)return!1;return!0}var isEmpty_1=isEmpty$3,staticStrUndefined$9=staticStrUndefined_1,supportSymbol=typeof Symbol!==staticStrUndefined$9;function isSymbol$3($e){return supportSymbol&&Symbol.isSymbol?Symbol.isSymbol($e):typeof $e=="symbol"}var isSymbol_1=isSymbol$3,helperCreateInInObjectString=helperCreateInInObjectString_1,isArguments$2=helperCreateInInObjectString("Arguments"),isArguments_1=isArguments$2,isString$8=isString_1,isNumber$a=isNumber_1;function isElement$4($e){return!!($e&&isString$8($e.nodeName)&&isNumber$a($e.nodeType))}var isElement_1=isElement$4,staticStrUndefined$8=staticStrUndefined_1,staticDocument$3=typeof document===staticStrUndefined$8?0:document,staticDocument_1=staticDocument$3,staticDocument$2=staticDocument_1;function isDocument$2($e){return!!($e&&staticDocument$2&&$e.nodeType===9)}var isDocument_1=isDocument$2,staticStrUndefined$7=staticStrUndefined_1,staticWindow$2=typeof window===staticStrUndefined$7?0:window,staticWindow_1=staticWindow$2,staticWindow$1=staticWindow_1;function isWindow$2($e){return!!(staticWindow$1&&($e&&$e===$e.window))}var isWindow_1=isWindow$2,staticStrUndefined$6=staticStrUndefined_1,supportFormData=typeof FormData!==staticStrUndefined$6;function isFormData$2($e){return supportFormData&&$e instanceof FormData}var isFormData_1=isFormData$2,staticStrUndefined$5=staticStrUndefined_1,supportMap=typeof Map!==staticStrUndefined$5;function isMap$2($e){return supportMap&&$e instanceof Map}var isMap_1=isMap$2,staticStrUndefined$4=staticStrUndefined_1,supportWeakMap=typeof WeakMap!==staticStrUndefined$4;function isWeakMap$1($e){return supportWeakMap&&$e instanceof WeakMap}var isWeakMap_1=isWeakMap$1,staticStrUndefined$3=staticStrUndefined_1,supportSet=typeof Set!==staticStrUndefined$3;function isSet$2($e){return supportSet&&$e instanceof Set}var isSet_1=isSet$2,staticStrUndefined$2=staticStrUndefined_1,supportWeakSet=typeof WeakSet!==staticStrUndefined$2;function isWeakSet$1($e){return supportWeakSet&&$e instanceof WeakSet}var isWeakSet_1=isWeakSet$1,isFunction$a=isFunction_1,isString$7=isString_1,isArray$a=isArray_1,hasOwnProp$3=hasOwnProp_1;function helperCreateiterateIndexOf$2($e){return function(Ie,Fe,Ue){if(Ie&&isFunction$a(Fe)){if(isArray$a(Ie)||isString$7(Ie))return $e(Ie,Fe,Ue);for(var qe in Ie)if(hasOwnProp$3(Ie,qe)&&Fe.call(Ue,Ie[qe],qe,Ie))return qe}return-1}}var helperCreateiterateIndexOf_1=helperCreateiterateIndexOf$2,helperCreateiterateIndexOf$1=helperCreateiterateIndexOf_1,findIndexOf$3=helperCreateiterateIndexOf$1(function($e,Ie,Fe){for(var Ue=0,qe=$e.length;Ue-1})}else return!0;return isEqual$3($e,Ie)}var isMatch_1=isMatch$1,helperEqualCompare=helperEqualCompare_1,helperDefaultCompare=helperDefaultCompare_1,isFunction$9=isFunction_1,isUndefined$9=isUndefined_1;function isEqualWith$1($e,Ie,Fe){return isFunction$9(Fe)?helperEqualCompare($e,Ie,function(Ue,qe,At,Dt,Lt){var jt=Fe(Ue,qe,At,Dt,Lt);return isUndefined$9(jt)?helperDefaultCompare(Ue,qe):!!jt},Fe):helperEqualCompare($e,Ie,helperDefaultCompare)}var isEqualWith_1=isEqualWith$1,isSymbol$2=isSymbol_1,isDate$5=isDate_1,isArray$8=isArray_1,isRegExp$2=isRegExp_1,isError$1=isError_1,isNull$3=isNull_1;function getType$1($e){return isNull$3($e)?"null":isSymbol$2($e)?"symbol":isDate$5($e)?"date":isArray$8($e)?"array":isRegExp$2($e)?"regexp":isError$1($e)?"error":typeof $e}var getType_1=getType$1,__uniqueId=0;function uniqueId$1($e){return[$e,++__uniqueId].join("")}var uniqueId_1=uniqueId$1,helperCreateiterateIndexOf=helperCreateiterateIndexOf_1,findLastIndexOf$1=helperCreateiterateIndexOf(function($e,Ie,Fe){for(var Ue=$e.length-1;Ue>=0;Ue--)if(Ie.call(Fe,$e[Ue],Ue,$e))return Ue;return-1}),findLastIndexOf_1=findLastIndexOf$1,isPlainObject$6=isPlainObject_1,isString$5=isString_1;function toStringJSON$1($e){if(isPlainObject$6($e))return $e;if(isString$5($e))try{return JSON.parse($e)}catch{}return{}}var toStringJSON_1=toStringJSON$1,eqNull$2=eqNull_1;function toJSONString$1($e){return eqNull$2($e)?"":JSON.stringify($e)}var toJSONString_1=toJSONString$1,helperCreateGetObjects=helperCreateGetObjects_1,entries$1=helperCreateGetObjects("entries",2),entries_1=entries$1,isFunction$8=isFunction_1,isArray$7=isArray_1,each$6=each_1,findIndexOf$1=findIndexOf_1;function helperCreatePickOmit$2($e,Ie){return function(Fe,Ue){var qe,At,Dt={},Lt=[],jt=this,hn=arguments,vn=hn.length;if(!isFunction$8(Ue)){for(At=1;At-1)?$e:Ie)&&(Dt[kn]=bn)}),Dt}}var helperCreatePickOmit_1=helperCreatePickOmit$2,helperCreatePickOmit$1=helperCreatePickOmit_1,pick$2=helperCreatePickOmit$1(1,0),pick_1=pick$2,helperCreatePickOmit=helperCreatePickOmit_1,omit$2=helperCreatePickOmit(0,1),omit_1=omit$2,values$2=values_1;function first$1($e){return values$2($e)[0]}var first_1=first$1,values$1=values_1;function last$2($e){var Ie=values$1($e);return Ie[Ie.length-1]}var last_1=last$2,staticHGKeyRE=staticHGKeyRE_1,helperGetHGSKeys$1=helperGetHGSKeys_1,hasOwnProp$2=hasOwnProp_1;function has$1($e,Ie){if($e){if(hasOwnProp$2($e,Ie))return!0;var Fe,Ue,qe,At,Dt,Lt,jt=helperGetHGSKeys$1(Ie),hn=0,vn=jt.length;for(Dt=$e;hn>0,qe=Ie>>0,Ue>0||1;UeIe}),min_1=min$3;function helperNumberDecimal$4($e){return($e.split(".")[1]||"").length}var helperNumberDecimal_1=helperNumberDecimal$4,staticParseInt$2=staticParseInt_1;function helperStringRepeat$5($e,Ie){if($e.repeat)return $e.repeat(Ie);var Fe=isNaN(Ie)?[]:new Array(staticParseInt$2(Ie));return Fe.join($e)+(Fe.length>0?$e:"")}var helperStringRepeat_1=helperStringRepeat$5;function helperNumberOffsetPoint$2($e,Ie){return $e.substring(0,Ie)+"."+$e.substring(Ie,$e.length)}var helperNumberOffsetPoint_1=helperNumberOffsetPoint$2,helperStringRepeat$4=helperStringRepeat_1,helperNumberOffsetPoint$1=helperNumberOffsetPoint_1;function toNumberString$8($e){var Ie=""+$e,Fe=Ie.match(/^([-+]?)((\d+)|((\d+)?[.](\d+)?))e([-+]{1})([0-9]+)$/);if(Fe){var Ue=$e<0,qe=Ue?"-":"",At=Fe[3]||"",Dt=Fe[5]||"",Lt=Fe[6]||"",jt=Fe[7],hn=Fe[8],vn=hn-Lt.length,bn=hn-At.length,kn=hn-Dt.length;return jt==="+"?At?qe+At+helperStringRepeat$4("0",hn):vn>0?qe+Dt+Lt+helperStringRepeat$4("0",vn):qe+Dt+helperNumberOffsetPoint$1(Lt,hn):At?bn>0?qe+"0."+helperStringRepeat$4("0",Math.abs(bn))+At:qe+helperNumberOffsetPoint$1(At,bn):kn>0?qe+"0."+helperStringRepeat$4("0",Math.abs(kn))+Dt+Lt:qe+helperNumberOffsetPoint$1(Dt,kn)+Lt}return Ie}var toNumberString_1=toNumberString$8,helperNumberDecimal$3=helperNumberDecimal_1,toNumberString$7=toNumberString_1;function helperMultiply$2($e,Ie){var Fe=toNumberString$7($e),Ue=toNumberString$7(Ie);return parseInt(Fe.replace(".",""))*parseInt(Ue.replace(".",""))/Math.pow(10,helperNumberDecimal$3(Fe)+helperNumberDecimal$3(Ue))}var helperMultiply_1=helperMultiply$2,helperMultiply$1=helperMultiply_1,toNumber$6=toNumber_1,toNumberString$6=toNumberString_1;function helperCreateMathNumber$3($e){return function(Ie,Fe){var Ue=toNumber$6(Ie),qe=Ue;if(Ue){Fe=Fe>>0;var At=toNumberString$6(Ue),Dt=At.split("."),Lt=Dt[0],jt=Dt[1]||"",hn=jt.substring(0,Fe+1),vn=Lt+(hn?"."+hn:"");if(Fe>=jt.length)return toNumber$6(vn);if(vn=Ue,Fe>0){var bn=Math.pow(10,Fe);qe=Math[$e](helperMultiply$1(vn,bn))/bn}else qe=Math[$e](vn)}return qe}}var helperCreateMathNumber_1=helperCreateMathNumber$3,helperCreateMathNumber$2=helperCreateMathNumber_1,round$4=helperCreateMathNumber$2("round"),round_1=round$4,helperCreateMathNumber$1=helperCreateMathNumber_1,ceil$2=helperCreateMathNumber$1("ceil"),ceil_1=ceil$2,helperCreateMathNumber=helperCreateMathNumber_1,floor$4=helperCreateMathNumber("floor"),floor_1=floor$4,eqNull$1=eqNull_1,isNumber$8=isNumber_1,toNumberString$5=toNumberString_1;function toValueString$e($e){return isNumber$8($e)?toNumberString$5($e):""+(eqNull$1($e)?"":$e)}var toValueString_1=toValueString$e,round$3=round_1,toValueString$d=toValueString_1,helperStringRepeat$3=helperStringRepeat_1,helperNumberOffsetPoint=helperNumberOffsetPoint_1;function toFixed$3($e,Ie){Ie=Ie>>0;var Fe=toValueString$d(round$3($e,Ie)),Ue=Fe.split("."),qe=Ue[0],At=Ue[1]||"",Dt=Ie-At.length;return Ie?Dt>0?qe+"."+At+helperStringRepeat$3("0",Dt):qe+helperNumberOffsetPoint(At,Math.abs(Dt)):qe}var toFixed_1=toFixed$3,setupDefaults$5=setupDefaults_1,round$2=round_1,ceil$1=ceil_1,floor$3=floor_1,isNumber$7=isNumber_1,toValueString$c=toValueString_1,toFixed$2=toFixed_1,toNumberString$4=toNumberString_1,assign$6=assign_1;function commafy$1($e,Ie){var Fe=assign$6({},setupDefaults$5.commafyOptions,Ie),Ue=Fe.digits,qe=isNumber$7($e),At,Dt,Lt,jt,hn;return qe?(At=(Fe.ceil?ceil$1:Fe.floor?floor$3:round$2)($e,Ue),Dt=toNumberString$4(Ue?toFixed$2(At,Ue):At).split("."),jt=Dt[0],hn=Dt[1],Lt=jt&&At<0,Lt&&(jt=jt.substring(1,jt.length))):(At=toValueString$c($e).replace(/,/g,""),Dt=At?[At]:[],jt=Dt[0]),Dt.length?(Lt?"-":"")+jt.replace(new RegExp("(?=(?!(\\b))(.{"+(Fe.spaceNumber||3)+"})+$)","g"),Fe.separator||",")+(hn?"."+hn:""):At}var commafy_1=commafy$1,staticParseInt$1=staticParseInt_1,helperCreateToNumber=helperCreateToNumber_1,toInteger$1=helperCreateToNumber(staticParseInt$1),toInteger_1=toInteger$1,helperMultiply=helperMultiply_1,toNumber$5=toNumber_1;function multiply$3($e,Ie){var Fe=toNumber$5($e),Ue=toNumber$5(Ie);return helperMultiply(Fe,Ue)}var multiply_1=multiply$3,helperNumberDecimal$2=helperNumberDecimal_1,toNumberString$3=toNumberString_1,multiply$2=multiply_1;function helperNumberAdd$2($e,Ie){var Fe=toNumberString$3($e),Ue=toNumberString$3(Ie),qe=Math.pow(10,Math.max(helperNumberDecimal$2(Fe),helperNumberDecimal$2(Ue)));return(multiply$2($e,qe)+multiply$2(Ie,qe))/qe}var helperNumberAdd_1=helperNumberAdd$2,helperNumberAdd$1=helperNumberAdd_1,toNumber$4=toNumber_1;function add$1($e,Ie){return helperNumberAdd$1(toNumber$4($e),toNumber$4(Ie))}var add_1=add$1,helperNumberDecimal$1=helperNumberDecimal_1,toNumberString$2=toNumberString_1,toNumber$3=toNumber_1,toFixed$1=toFixed_1;function subtract$1($e,Ie){var Fe=toNumber$3($e),Ue=toNumber$3(Ie),qe=toNumberString$2(Fe),At=toNumberString$2(Ue),Dt=helperNumberDecimal$1(qe),Lt=helperNumberDecimal$1(At),jt=Math.pow(10,Math.max(Dt,Lt)),hn=Dt>=Lt?Dt:Lt;return parseFloat(toFixed$1((Fe*jt-Ue*jt)/jt,hn))}var subtract_1=subtract$1,helperNumberDecimal=helperNumberDecimal_1,toNumberString$1=toNumberString_1,multiply$1=multiply_1;function helperNumberDivide$2($e,Ie){var Fe=toNumberString$1($e),Ue=toNumberString$1(Ie),qe=helperNumberDecimal(Fe),At=helperNumberDecimal(Ue),Dt=At-qe,Lt=Dt<0,jt=Math.pow(10,Lt?Math.abs(Dt):Dt);return multiply$1(Fe.replace(".","")/Ue.replace(".",""),Lt?1/jt:jt)}var helperNumberDivide_1=helperNumberDivide$2,helperNumberDivide$1=helperNumberDivide_1,toNumber$2=toNumber_1;function divide$1($e,Ie){return helperNumberDivide$1(toNumber$2($e),toNumber$2(Ie))}var divide_1=divide$1,helperNumberAdd=helperNumberAdd_1,isFunction$6=isFunction_1,each$4=each_1,get$3=get_1;function sum$3($e,Ie,Fe){var Ue=0;return each$4($e,Ie?isFunction$6(Ie)?function(){Ue=helperNumberAdd(Ue,Ie.apply(Fe,arguments))}:function(qe){Ue=helperNumberAdd(Ue,get$3(qe,Ie))}:function(qe){Ue=helperNumberAdd(Ue,qe)}),Ue}var sum_1=sum$3,helperNumberDivide=helperNumberDivide_1,getSize$1=getSize_1,sum$2=sum_1;function mean$1($e,Ie,Fe){return helperNumberDivide(sum$2($e,Ie,Fe),getSize$1($e))}var mean_1=mean$1,staticStrFirst$5="first",staticStrFirst_1=staticStrFirst$5,staticStrLast$4="last",staticStrLast_1=staticStrLast$4;function helperGetDateFullYear$5($e){return $e.getFullYear()}var helperGetDateFullYear_1=helperGetDateFullYear$5,staticDayTime$5=864e5,staticDayTime_1=staticDayTime$5;function helperGetDateMonth$4($e){return $e.getMonth()}var helperGetDateMonth_1=helperGetDateMonth$4,isDate$4=isDate_1,helperGetDateTime$a=helperGetDateTime_1;function isValidDate$c($e){return isDate$4($e)&&!isNaN(helperGetDateTime$a($e))}var isValidDate_1=isValidDate$c,staticStrFirst$4=staticStrFirst_1,staticStrLast$3=staticStrLast_1,staticDayTime$4=staticDayTime_1,helperGetDateFullYear$4=helperGetDateFullYear_1,helperGetDateTime$9=helperGetDateTime_1,helperGetDateMonth$3=helperGetDateMonth_1,toStringDate$b=toStringDate_1,isValidDate$b=isValidDate_1,isNumber$6=isNumber_1;function getWhatMonth$5($e,Ie,Fe){var Ue=Ie&&!isNaN(Ie)?Ie:0;if($e=toStringDate$b($e),isValidDate$b($e)){if(Fe===staticStrFirst$4)return new Date(helperGetDateFullYear$4($e),helperGetDateMonth$3($e)+Ue,1);if(Fe===staticStrLast$3)return new Date(helperGetDateTime$9(getWhatMonth$5($e,Ue+1,staticStrFirst$4))-1);if(isNumber$6(Fe)&&$e.setDate(Fe),Ue){var qe=$e.getDate();if($e.setMonth(helperGetDateMonth$3($e)+Ue),qe!==$e.getDate())return $e.setDate(1),new Date(helperGetDateTime$9($e)-staticDayTime$4)}}return $e}var getWhatMonth_1=getWhatMonth$5,staticStrFirst$3=staticStrFirst_1,staticStrLast$2=staticStrLast_1,helperGetDateFullYear$3=helperGetDateFullYear_1,getWhatMonth$4=getWhatMonth_1,toStringDate$a=toStringDate_1,isValidDate$a=isValidDate_1;function getWhatYear$4($e,Ie,Fe){var Ue;if($e=toStringDate$a($e),isValidDate$a($e)&&(Ie&&(Ue=Ie&&!isNaN(Ie)?Ie:0,$e.setFullYear(helperGetDateFullYear$3($e)+Ue)),Fe||!isNaN(Fe))){if(Fe===staticStrFirst$3)return new Date(helperGetDateFullYear$3($e),0,1);if(Fe===staticStrLast$2)return $e.setMonth(11),getWhatMonth$4($e,0,staticStrLast$2);$e.setMonth(Fe)}return $e}var getWhatYear_1=getWhatYear$4,getWhatMonth$3=getWhatMonth_1,toStringDate$9=toStringDate_1,isValidDate$9=isValidDate_1;function getQuarterNumber($e){var Ie=$e.getMonth();return Ie<3?1:Ie<6?2:Ie<9?3:4}function getWhatQuarter$1($e,Ie,Fe){var Ue,qe=Ie&&!isNaN(Ie)?Ie*3:0;return $e=toStringDate$9($e),isValidDate$9($e)?(Ue=(getQuarterNumber($e)-1)*3,$e.setMonth(Ue),getWhatMonth$3($e,qe,Fe)):$e}var getWhatQuarter_1=getWhatQuarter$1,staticStrFirst$2=staticStrFirst_1,staticStrLast$1=staticStrLast_1,staticParseInt=staticParseInt_1,helperGetDateFullYear$2=helperGetDateFullYear_1,helperGetDateMonth$2=helperGetDateMonth_1,helperGetDateTime$8=helperGetDateTime_1,toStringDate$8=toStringDate_1,isValidDate$8=isValidDate_1;function getWhatDay$2($e,Ie,Fe){if($e=toStringDate$8($e),isValidDate$8($e)&&!isNaN(Ie)){if($e.setDate($e.getDate()+staticParseInt(Ie)),Fe===staticStrFirst$2)return new Date(helperGetDateFullYear$2($e),helperGetDateMonth$2($e),$e.getDate());if(Fe===staticStrLast$1)return new Date(helperGetDateTime$8(getWhatDay$2($e,1,staticStrFirst$2))-1)}return $e}var getWhatDay_1=getWhatDay$2;function helperStringUpperCase$2($e){return $e.toUpperCase()}var helperStringUpperCase_1=helperStringUpperCase$2,staticDayTime$3=staticDayTime_1,staticWeekTime$2=staticDayTime$3*7,staticWeekTime_1=staticWeekTime$2,setupDefaults$4=setupDefaults_1,staticDayTime$2=staticDayTime_1,staticWeekTime$1=staticWeekTime_1,helperGetDateTime$7=helperGetDateTime_1,toStringDate$7=toStringDate_1,isValidDate$7=isValidDate_1,isNumber$5=isNumber_1;function getWhatWeek$2($e,Ie,Fe,Ue){if($e=toStringDate$7($e),isValidDate$7($e)){var qe=isNumber$5(Fe),At=isNumber$5(Ue),Dt=helperGetDateTime$7($e);if(qe||At){var Lt=At?Ue:setupDefaults$4.firstDayOfWeek,jt=$e.getDay(),hn=qe?Fe:jt;if(jt!==hn){var vn=0;Lt>jt?vn=-(7-Lt+jt):LtLt?Dt+=((hn===0?7:hn)-Lt+vn)*staticDayTime$2:hnUe&&Dt.setDate(7-Lt+Ue+1),Lt>0,Fe=isUndefined$8(Fe)?" ":""+Fe,Ue.padStart?Ue.padStart(Ie,Fe):Ie>Ue.length?(Ie-=Ue.length,Ie>Fe.length&&(Fe+=helperStringRepeat$2(Fe,Ie/Fe.length)),Fe.slice(0,Ie)+Ue):Ue}var padStart_1=padStart$2,setupDefaults$2=setupDefaults_1,helperStringUpperCase$1=helperStringUpperCase_1,helperGetDateFullYear=helperGetDateFullYear_1,helperGetDateMonth=helperGetDateMonth_1,toStringDate$5=toStringDate_1,getYearWeek$1=getYearWeek_1,getYearDay$1=getYearDay_1,assign$5=assign_1,isValidDate$4=isValidDate_1,isFunction$5=isFunction_1,padStart$1=padStart_1;function handleCustomTemplate($e,Ie,Fe,Ue){var qe=Ie[Fe];return qe?isFunction$5(qe)?qe(Ue,Fe,$e):qe[Ue]:Ue}var dateFormatRE=/\[([^\]]+)]|y{2,4}|M{1,2}|d{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|S{1,3}|Z{1,2}|W{1,2}|D{1,3}|[aAeEq]/g;function toDateString$2($e,Ie,Fe){if($e){if($e=toStringDate$5($e),isValidDate$4($e)){var Ue=Ie||setupDefaults$2.parseDateFormat||setupDefaults$2.formatString,qe=$e.getHours(),At=qe<12?"am":"pm",Dt=assign$5({},setupDefaults$2.parseDateRules||setupDefaults$2.formatStringMatchs,Fe?Fe.formats:null),Lt=function($n,Tn){return(""+helperGetDateFullYear($e)).substr(4-Tn)},jt=function($n,Tn){return padStart$1(helperGetDateMonth($e)+1,Tn,"0")},hn=function($n,Tn){return padStart$1($e.getDate(),Tn,"0")},vn=function($n,Tn){return padStart$1(qe,Tn,"0")},bn=function($n,Tn){return padStart$1(qe<=12?qe:qe-12,Tn,"0")},kn=function($n,Tn){return padStart$1($e.getMinutes(),Tn,"0")},Cn=function($n,Tn){return padStart$1($e.getSeconds(),Tn,"0")},xn=function($n,Tn){return padStart$1($e.getMilliseconds(),Tn,"0")},wn=function($n,Tn){var On=$e.getTimezoneOffset()/60*-1;return handleCustomTemplate($e,Dt,$n,(On>=0?"+":"-")+padStart$1(On,2,"0")+(Tn===1?":":"")+"00")},Sn=function($n,Tn){return padStart$1(handleCustomTemplate($e,Dt,$n,getYearWeek$1($e,(Fe?Fe.firstDay:null)||setupDefaults$2.firstDayOfWeek)),Tn,"0")},_n=function($n,Tn){return padStart$1(handleCustomTemplate($e,Dt,$n,getYearDay$1($e)),Tn,"0")},En={yyyy:Lt,yy:Lt,MM:jt,M:jt,dd:hn,d:hn,HH:vn,H:vn,hh:bn,h:bn,mm:kn,m:kn,ss:Cn,s:Cn,SSS:xn,S:xn,ZZ:wn,Z:wn,WW:Sn,W:Sn,DDD:_n,D:_n,a:function($n){return handleCustomTemplate($e,Dt,$n,At)},A:function($n){return handleCustomTemplate($e,Dt,$n,helperStringUpperCase$1(At))},e:function($n){return handleCustomTemplate($e,Dt,$n,$e.getDay())},E:function($n){return handleCustomTemplate($e,Dt,$n,$e.getDay())},q:function($n){return handleCustomTemplate($e,Dt,$n,Math.floor((helperGetDateMonth($e)+3)/3))}};return Ue.replace(dateFormatRE,function($n,Tn){return Tn||(En[$n]?En[$n]($n,$n.length):$n)})}return"Invalid Date"}return""}var toDateString_1=toDateString$2,helperGetDateTime$4=helperGetDateTime_1,helperNewDate$2=helperNewDate_1,now$3=Date.now||function(){return helperGetDateTime$4(helperNewDate$2())},now_1=now$3,helperGetDateTime$3=helperGetDateTime_1,now$2=now_1,toStringDate$4=toStringDate_1,isDate$3=isDate_1,timestamp$1=function($e,Ie){if($e){var Fe=toStringDate$4($e,Ie);return isDate$3(Fe)?helperGetDateTime$3(Fe):Fe}return now$2()},timestamp_1=timestamp$1,toDateString$1=toDateString_1;function isDateSame$1($e,Ie,Fe){return $e&&Ie?($e=toDateString$1($e,Fe),$e!=="Invalid Date"&&$e===toDateString$1(Ie,Fe)):!1}var isDateSame_1=isDateSame$1,helperCreateGetDateWeek=helperCreateGetDateWeek_1,getMonthWeek$1=helperCreateGetDateWeek(function($e){return new Date($e.getFullYear(),$e.getMonth(),1)}),getMonthWeek_1=getMonthWeek$1,getWhatYear$2=getWhatYear_1,toStringDate$3=toStringDate_1,isValidDate$3=isValidDate_1,isLeapYear$1=isLeapYear_1;function getDayOfYear$1($e,Ie){return $e=toStringDate$3($e),isValidDate$3($e)?isLeapYear$1(getWhatYear$2($e,Ie))?366:365:NaN}var getDayOfYear_1=getDayOfYear$1,staticDayTime=staticDayTime_1,staticStrFirst=staticStrFirst_1,staticStrLast=staticStrLast_1,helperGetDateTime$2=helperGetDateTime_1,getWhatMonth$2=getWhatMonth_1,toStringDate$2=toStringDate_1,isValidDate$2=isValidDate_1;function getDayOfMonth$1($e,Ie){return $e=toStringDate$2($e),isValidDate$2($e)?Math.floor((helperGetDateTime$2(getWhatMonth$2($e,Ie,staticStrLast))-helperGetDateTime$2(getWhatMonth$2($e,Ie,staticStrFirst)))/staticDayTime)+1:NaN}var getDayOfMonth_1=getDayOfMonth$1,helperGetDateTime$1=helperGetDateTime_1,helperNewDate$1=helperNewDate_1,toStringDate$1=toStringDate_1,isValidDate$1=isValidDate_1,dateDiffRules=[["yyyy",31536e6],["MM",2592e6],["dd",864e5],["HH",36e5],["mm",6e4],["ss",1e3],["S",0]];function getDateDiff$1($e,Ie){var Fe,Ue,qe,At,Dt,Lt,jt={done:!1,time:0};if($e=toStringDate$1($e),Ie=Ie?toStringDate$1(Ie):helperNewDate$1(),isValidDate$1($e)&&isValidDate$1(Ie)&&(Fe=helperGetDateTime$1($e),Ue=helperGetDateTime$1(Ie),Fe=qe[1]?Lt===Dt-1?jt[qe[0]]=At||0:(jt[qe[0]]=Math.floor(At/qe[1]),At-=jt[qe[0]]*qe[1]):jt[qe[0]]=0;return jt}var getDateDiff_1=getDateDiff$1,toValueString$a=toValueString_1,isUndefined$7=isUndefined_1,helperStringRepeat$1=helperStringRepeat_1;function padEnd$1($e,Ie,Fe){var Ue=toValueString$a($e);return Ie=Ie>>0,Fe=isUndefined$7(Fe)?" ":""+Fe,Ue.padEnd?Ue.padEnd(Ie,Fe):Ie>Ue.length?(Ie-=Ue.length,Ie>Fe.length&&(Fe+=helperStringRepeat$1(Fe,Ie/Fe.length)),Ue+Fe.slice(0,Ie)):Ue}var padEnd_1=padEnd$1,toValueString$9=toValueString_1,helperStringRepeat=helperStringRepeat_1;function repeat$1($e,Ie){return helperStringRepeat(toValueString$9($e),Ie)}var repeat_1=repeat$1,toValueString$8=toValueString_1;function trimRight$2($e){return $e&&$e.trimRight?$e.trimRight():toValueString$8($e).replace(/[\s\uFEFF\xA0]+$/g,"")}var trimRight_1=trimRight$2,toValueString$7=toValueString_1;function trimLeft$2($e){return $e&&$e.trimLeft?$e.trimLeft():toValueString$7($e).replace(/^[\s\uFEFF\xA0]+/g,"")}var trimLeft_1=trimLeft$2,trimRight$1=trimRight_1,trimLeft$1=trimLeft_1;function trim$3($e){return $e&&$e.trim?$e.trim():trimRight$1(trimLeft$1($e))}var trim_1=trim$3,staticEscapeMap$2={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},staticEscapeMap_1=staticEscapeMap$2,toValueString$6=toValueString_1,keys$4=keys_1;function helperFormatEscaper$2($e){var Ie=new RegExp("(?:"+keys$4($e).join("|")+")","g");return function(Fe){return toValueString$6(Fe).replace(Ie,function(Ue){return $e[Ue]})}}var helperFormatEscaper_1=helperFormatEscaper$2,staticEscapeMap$1=staticEscapeMap_1,helperFormatEscaper$1=helperFormatEscaper_1,escape$1=helperFormatEscaper$1(staticEscapeMap$1),_escape=escape$1,staticEscapeMap=staticEscapeMap_1,helperFormatEscaper=helperFormatEscaper_1,each$3=each_1,unescapeMap={};each$3(staticEscapeMap,function($e,Ie){unescapeMap[staticEscapeMap[Ie]]=Ie});var unescape$2=helperFormatEscaper(unescapeMap),_unescape=unescape$2;function helperStringSubstring$2($e,Ie,Fe){return $e.substring(Ie,Fe)}var helperStringSubstring_1=helperStringSubstring$2;function helperStringLowerCase$2($e){return $e.toLowerCase()}var helperStringLowerCase_1=helperStringLowerCase$2,toValueString$5=toValueString_1,helperStringSubstring$1=helperStringSubstring_1,helperStringUpperCase=helperStringUpperCase_1,helperStringLowerCase$1=helperStringLowerCase_1,camelCacheMaps={};function camelCase$1($e){if($e=toValueString$5($e),camelCacheMaps[$e])return camelCacheMaps[$e];var Ie=$e.length,Fe=$e.replace(/([-]+)/g,function(Ue,qe,At){return At&&At+qe.length2&&At+Dt1&&At+Dt1?Ue+"-"+helperStringLowerCase(helperStringSubstring(qe,0,Dt-1))+"-"+helperStringLowerCase(helperStringSubstring(qe,Dt-1,Dt))+At:helperStringLowerCase(Ue+"-"+qe+At)}).replace(/^([A-Z]+)([a-z]+)?$/,function(Fe,Ue,qe){var At=Ue.length;return helperStringLowerCase(helperStringSubstring(Ue,0,At-1)+"-"+helperStringSubstring(Ue,At-1,At)+(qe||""))}).replace(/([a-z]?)([A-Z]+)([a-z]?)/g,function(Fe,Ue,qe,At,Dt){var Lt=qe.length;return Lt>1&&(Ue&&(Ue+="-"),At)?(Ue||"")+helperStringLowerCase(helperStringSubstring(qe,0,Lt-1))+"-"+helperStringLowerCase(helperStringSubstring(qe,Lt-1,Lt))+At:(Ue||"")+(Dt?"-":"")+helperStringLowerCase(qe)+(At||"")});return Ie=Ie.replace(/([-]+)/g,function(Fe,Ue,qe){return qe&&qe+Ue.length1&&(qe>2?Ue.substring(0,Fe).indexOf(Ie)===Fe-1:Ue.indexOf(Ie)===Ue.length-1)}var endsWith_1=endsWith$2,setupDefaults$1=setupDefaults_1,toValueString$1=toValueString_1,trim$2=trim_1,get$2=get_1;function template$2($e,Ie,Fe){return toValueString$1($e).replace((Fe||setupDefaults$1).tmplRE||/\{{2}([.\w[\]\s]+)\}{2}/g,function(Ue,qe){return get$2(Ie,trim$2(qe))})}var template_1=template$2,template$1=template_1;function toFormatString$1($e,Ie){return template$1($e,Ie,{tmplRE:/\{([.\w[\]\s]+)\}/g})}var toFormatString_1=toFormatString$1;function noop$8(){}var noop_1=noop$8,slice$5=slice_1;function bind$3($e,Ie){var Fe=slice$5(arguments,2);return function(){return $e.apply(Ie,slice$5(arguments).concat(Fe))}}var bind_1=bind$3,slice$4=slice_1;function once$1($e,Ie){var Fe=!1,Ue=null,qe=slice$4(arguments,2);return function(){return Fe||(Ue=$e.apply(Ie,slice$4(arguments).concat(qe)),Fe=!0),Ue}}var once_1=once$1,slice$3=slice_1;function after$1($e,Ie,Fe){var Ue=0,qe=[];return function(){var At=arguments;Ue++,Ue<=$e&&qe.push(At[0]),Ue>=$e&&Ie.apply(Fe,[qe].concat(slice$3(At)))}}var after_1=after$1,slice$2=slice_1;function before$2($e,Ie,Fe){var Ue=0,qe=[];return Fe=Fe||this,function(){var At=arguments;Ue++,Ue<$e&&(qe.push(At[0]),Ie.apply(Fe,[qe].concat(slice$2(At))))}}var before_1=before$2;function throttle$3($e,Ie,Fe){var Ue=null,qe=null,At=Fe||{},Dt=!1,Lt=null,jt="leading"in At?At.leading:!0,hn="trailing"in At?At.trailing:!1,vn=function(){Ue=null,qe=null},bn=function(){Dt=!0,$e.apply(qe,Ue),Lt=setTimeout(kn,Ie),vn()},kn=function(){Lt=null,!Dt&&hn===!0&&bn()},Cn=function(){var wn=Lt!==null;return wn&&clearTimeout(Lt),vn(),Lt=null,Dt=!1,wn},xn=function(){Ue=arguments,qe=this,Dt=!1,Lt===null&&(jt===!0?bn():hn===!0&&(Lt=setTimeout(kn,Ie)))};return xn.cancel=Cn,xn}var throttle_1=throttle$3;function debounce$3($e,Ie,Fe){var Ue=null,qe=null,At=Fe||{},Dt=!1,Lt=null,jt=typeof Fe=="boolean",hn="leading"in At?At.leading:jt,vn="trailing"in At?At.trailing:!jt,bn=function(){Ue=null,qe=null},kn=function(){Dt=!0,$e.apply(qe,Ue),bn()},Cn=function(){hn===!0&&(Lt=null),!Dt&&vn===!0&&kn()},xn=function(){var Sn=Lt!==null;return Sn&&clearTimeout(Lt),bn(),Lt=null,Dt=!1,Sn},wn=function(){Dt=!1,Ue=arguments,qe=this,Lt===null?hn===!0&&kn():clearTimeout(Lt),Lt=setTimeout(Cn,Ie)};return wn.cancel=xn,wn}var debounce_1=debounce$3,slice$1=slice_1;function delay$1($e,Ie){var Fe=slice$1(arguments,2),Ue=this;return setTimeout(function(){$e.apply(Ue,Fe)},Ie)}var delay_1=delay$1,staticDecodeURIComponent$2=decodeURIComponent,staticDecodeURIComponent_1=staticDecodeURIComponent$2,staticDecodeURIComponent$1=staticDecodeURIComponent_1,arrayEach$4=arrayEach_1,isString$4=isString_1;function unserialize$2($e){var Ie,Fe={};return $e&&isString$4($e)&&arrayEach$4($e.split("&"),function(Ue){Ie=Ue.split("="),Fe[staticDecodeURIComponent$1(Ie[0])]=staticDecodeURIComponent$1(Ie[1]||"")}),Fe}var unserialize_1=unserialize$2,staticEncodeURIComponent$2=encodeURIComponent,staticEncodeURIComponent_1=staticEncodeURIComponent$2,staticEncodeURIComponent$1=staticEncodeURIComponent_1,each$2=each_1,isArray$6=isArray_1,isNull$2=isNull_1,isUndefined$6=isUndefined_1,isPlainObject$5=isPlainObject_1;function stringifyParams($e,Ie,Fe){var Ue,qe=[];return each$2($e,function(At,Dt){Ue=isArray$6(At),isPlainObject$5(At)||Ue?qe=qe.concat(stringifyParams(At,Ie+"["+Dt+"]",Ue)):qe.push(staticEncodeURIComponent$1(Ie+"["+(Fe?"":Dt)+"]")+"="+staticEncodeURIComponent$1(isNull$2(At)?"":At))}),qe}function serialize$1($e){var Ie,Fe=[];return each$2($e,function(Ue,qe){isUndefined$6(Ue)||(Ie=isArray$6(Ue),isPlainObject$5(Ue)||Ie?Fe=Fe.concat(stringifyParams(Ue,qe,Ie)):Fe.push(staticEncodeURIComponent$1(qe)+"="+staticEncodeURIComponent$1(isNull$2(Ue)?"":Ue)))}),Fe.join("&").replace(/%20/g,"+")}var serialize_1=serialize$1,staticStrUndefined$1=staticStrUndefined_1,staticLocation$4=typeof location===staticStrUndefined$1?0:location,staticLocation_1=staticLocation$4,staticLocation$3=staticLocation_1;function helperGetLocatOrigin$2(){return staticLocation$3?staticLocation$3.origin||staticLocation$3.protocol+"//"+staticLocation$3.host:""}var helperGetLocatOrigin_1=helperGetLocatOrigin$2,staticLocation$2=staticLocation_1,unserialize$1=unserialize_1,helperGetLocatOrigin$1=helperGetLocatOrigin_1;function parseURLQuery($e){return unserialize$1($e.split("?")[1]||"")}function parseUrl$2($e){var Ie,Fe,Ue,qe,At=""+$e;return At.indexOf("//")===0?At=(staticLocation$2?staticLocation$2.protocol:"")+At:At.indexOf("/")===0&&(At=helperGetLocatOrigin$1()+At),Ue=At.replace(/#.*/,"").match(/(\?.*)/),qe={href:At,hash:"",host:"",hostname:"",protocol:"",port:"",search:Ue&&Ue[1]&&Ue[1].length>1?Ue[1]:""},qe.path=At.replace(/^([a-z0-9.+-]*:)\/\//,function(Dt,Lt){return qe.protocol=Lt,""}).replace(/^([a-z0-9.+-]*)(:\d+)?\/?/,function(Dt,Lt,jt){return Fe=jt||"",qe.port=Fe.replace(":",""),qe.hostname=Lt,qe.host=Lt+Fe,"/"}).replace(/(#.*)/,function(Dt,Lt){return qe.hash=Lt.length>1?Lt:"",""}),Ie=qe.hash.match(/#((.*)\?|(.*))/),qe.pathname=qe.path.replace(/(\?|#.*).*/,""),qe.origin=qe.protocol+"//"+qe.host,qe.hashKey=Ie&&(Ie[2]||Ie[1])||"",qe.hashQuery=parseURLQuery(qe.hash),qe.searchQuery=parseURLQuery(qe.search),qe}var parseUrl_1=parseUrl$2,staticLocation$1=staticLocation_1,helperGetLocatOrigin=helperGetLocatOrigin_1,lastIndexOf$1=lastIndexOf_1;function getBaseURL$1(){if(staticLocation$1){var $e=staticLocation$1.pathname,Ie=lastIndexOf$1($e,"/")+1;return helperGetLocatOrigin()+(Ie===$e.length?$e:$e.substring(0,Ie))}return""}var getBaseURL_1=getBaseURL$1,staticLocation=staticLocation_1,parseUrl$1=parseUrl_1;function locat$1(){return staticLocation?parseUrl$1(staticLocation.href):{}}var locat_1=locat$1,setupDefaults=setupDefaults_1,staticDocument$1=staticDocument_1,staticDecodeURIComponent=staticDecodeURIComponent_1,staticEncodeURIComponent=staticEncodeURIComponent_1,isArray$5=isArray_1,isObject$5=isObject_1,isDate$2=isDate_1,isUndefined$5=isUndefined_1,includes$1=includes_1,keys$3=keys_1,assign$4=assign_1,arrayEach$3=arrayEach_1,helperNewDate=helperNewDate_1,helperGetDateTime=helperGetDateTime_1,getWhatYear$1=getWhatYear_1,getWhatMonth$1=getWhatMonth_1,getWhatDay$1=getWhatDay_1;function toCookieUnitTime($e,Ie){var Fe=parseFloat(Ie),Ue=helperNewDate(),qe=helperGetDateTime(Ue);switch($e){case"y":return helperGetDateTime(getWhatYear$1(Ue,Fe));case"M":return helperGetDateTime(getWhatMonth$1(Ue,Fe));case"d":return helperGetDateTime(getWhatDay$1(Ue,Fe));case"h":case"H":return qe+Fe*60*60*1e3;case"m":return qe+Fe*60*1e3;case"s":return qe+Fe*1e3}return qe}function toCookieUTCString($e){return(isDate$2($e)?$e:new Date($e)).toUTCString()}function cookie$1($e,Ie,Fe){if(staticDocument$1){var Ue,qe,At,Dt,Lt,jt,hn=[],vn=arguments;return isArray$5($e)?hn=$e:vn.length>1?hn=[assign$4({name:$e,value:Ie},Fe)]:isObject$5($e)&&(hn=[$e]),hn.length>0?(arrayEach$3(hn,function(bn){Ue=assign$4({},setupDefaults.cookies,bn),At=[],Ue.name&&(qe=Ue.expires,At.push(staticEncodeURIComponent(Ue.name)+"="+staticEncodeURIComponent(isObject$5(Ue.value)?JSON.stringify(Ue.value):Ue.value)),qe&&(isNaN(qe)?qe=qe.replace(/^([0-9]+)(y|M|d|H|h|m|s)$/,function(kn,Cn,xn){return toCookieUTCString(toCookieUnitTime(xn,Cn))}):/^[0-9]{11,13}$/.test(qe)||isDate$2(qe)?qe=toCookieUTCString(qe):qe=toCookieUTCString(toCookieUnitTime("d",qe)),Ue.expires=qe),arrayEach$3(["expires","path","domain","secure"],function(kn){isUndefined$5(Ue[kn])||At.push(Ue[kn]&&kn==="secure"?kn:kn+"="+Ue[kn])})),staticDocument$1.cookie=At.join("; ")}),!0):(Dt={},Lt=staticDocument$1.cookie,Lt&&arrayEach$3(Lt.split("; "),function(bn){jt=bn.indexOf("="),Dt[staticDecodeURIComponent(bn.substring(0,jt))]=staticDecodeURIComponent(bn.substring(jt+1)||"")}),vn.length===1?Dt[$e]:Dt)}return!1}function hasCookieItem($e){return includes$1(cookieKeys(),$e)}function getCookieItem($e){return cookie$1($e)}function setCookieItem($e,Ie,Fe){return cookie$1($e,Ie,Fe),cookie$1}function removeCookieItem($e,Ie){cookie$1($e,"",assign$4({expires:-1},setupDefaults.cookies,Ie))}function cookieKeys(){return keys$3(cookie$1())}function cookieJson(){return cookie$1()}assign$4(cookie$1,{has:hasCookieItem,set:setCookieItem,setItem:setCookieItem,get:getCookieItem,getItem:getCookieItem,remove:removeCookieItem,removeItem:removeCookieItem,keys:cookieKeys,getJSON:cookieJson});var cookie_1=cookie$1,staticStrUndefined=staticStrUndefined_1,staticDocument=staticDocument_1,staticWindow=staticWindow_1,assign$3=assign_1,arrayEach$2=arrayEach_1;function isBrowseStorage($e){try{var Ie="__xe_t";return $e.setItem(Ie,1),$e.removeItem(Ie),!0}catch{return!1}}function isBrowseType($e){return navigator.userAgent.indexOf($e)>-1}function browse$4(){var $e,Ie,Fe,Ue=!1,qe=!1,At=!1,Dt={isNode:!1,isMobile:Ue,isPC:!1,isDoc:!!staticDocument};if(!staticWindow&&typeof process!==staticStrUndefined)Dt.isNode=!0;else{Fe=isBrowseType("Edge"),Ie=isBrowseType("Chrome"),Ue=/(Android|webOS|iPhone|iPad|iPod|SymbianOS|BlackBerry|Windows Phone)/.test(navigator.userAgent),Dt.isDoc&&($e=staticDocument.body||staticDocument.documentElement,arrayEach$2(["webkit","khtml","moz","ms","o"],function(Lt){Dt["-"+Lt]=!!$e[Lt+"MatchesSelector"]}));try{qe=isBrowseStorage(staticWindow.localStorage)}catch{}try{At=isBrowseStorage(staticWindow.sessionStorage)}catch{}assign$3(Dt,{edge:Fe,firefox:isBrowseType("Firefox"),msie:!Fe&&Dt["-ms"],safari:!Ie&&!Fe&&isBrowseType("Safari"),isMobile:Ue,isPC:!Ue,isLocalStorage:qe,isSessionStorage:At})}return Dt}var browse_1=browse$4,XEUtils=ctor,assign$2=assign_1,objectEach=objectEach_1,lastObjectEach=lastObjectEach_1,objectMap=objectMap_1,merge$2=merge_1,map$1=map_1,some=some_1,every=every_1,includeArrays=includeArrays_1,arrayEach$1=arrayEach_1,lastArrayEach=lastArrayEach_1,uniq=uniq_1,union$1=union_1,toArray$1=toArray_1,sortBy=sortBy_1,orderBy$1=orderBy_1,shuffle=shuffle_1,sample=sample_1,slice=slice_1,filter$1=filter_1,findKey$1=findKey_1,includes=includes_1,find$1=find_1,findLast=findLast_1,reduce=reduce_1,copyWithin=copyWithin_1,chunk=chunk_1,zip=zip_1,unzip=unzip_1,zipObject=zipObject_1,flatten$1=flatten_1,pluck=pluck_1,invoke=invoke_1,toArrayTree=toArrayTree_1,toTreeArray=toTreeArray_1,findTree=findTree_1,eachTree=eachTree_1,mapTree=mapTree_1,filterTree=filterTree_1,searchTree=searchTree_1,arrayIndexOf=arrayIndexOf_1,arrayLastIndexOf=arrayLastIndexOf_1,hasOwnProp=hasOwnProp_1,isArray$4=isArray_1,isNull$1=isNull_1,isNumberNaN=_isNaN,isUndefined$4=isUndefined_1,isFunction$4=isFunction_1,isObject$4=isObject_1,isString$3=isString_1,isPlainObject$4=isPlainObject_1,isLeapYear=isLeapYear_1,isDate$1=isDate_1,eqNull=eqNull_1,each$1=each_1,forOf=forOf_1,lastForOf=lastForOf_1,indexOf=indexOf_1,lastIndexOf=lastIndexOf_1,keys$2=keys_1,values=values_1,clone$1=clone_1,getSize=getSize_1,lastEach=lastEach_1,remove=remove_1,clear=clear_1,isNumberFinite=_isFinite,isFloat=isFloat_1,isInteger=isInteger_1,isBoolean$3=isBoolean_1,isNumber$3=isNumber_1,isRegExp$1=isRegExp_1,isError=isError_1,isTypeError=isTypeError_1,isEmpty$1=isEmpty_1,isSymbol$1=isSymbol_1,isArguments$1=isArguments_1,isElement$3=isElement_1,isDocument$1=isDocument_1,isWindow$1=isWindow_1,isFormData$1=isFormData_1,isMap$1=isMap_1,isWeakMap=isWeakMap_1,isSet$1=isSet_1,isWeakSet=isWeakSet_1,isMatch=isMatch_1,isEqual$2=isEqual_1,isEqualWith=isEqualWith_1,getType=getType_1,uniqueId=uniqueId_1,findIndexOf=findIndexOf_1,findLastIndexOf=findLastIndexOf_1,toStringJSON=toStringJSON_1,toJSONString=toJSONString_1,entries=entries_1,pick$1=pick_1,omit$1=omit_1,first=first_1,last$1=last_1,has=has_1,get$1=get_1,set$1=set_1,groupBy=groupBy_1,countBy=countBy_1,range$1=range_1,destructuring=destructuring_1,random=random_1,max$2=max_1,min$2=min_1,commafy=commafy_1,round$1=round_1,ceil=ceil_1,floor$2=floor_1,toFixed=toFixed_1,toInteger=toInteger_1,toNumber$1=toNumber_1,toNumberString=toNumberString_1,add=add_1,subtract=subtract_1,multiply=multiply_1,divide=divide_1,sum$1=sum_1,mean=mean_1,getWhatYear=getWhatYear_1,getWhatQuarter=getWhatQuarter_1,getWhatMonth=getWhatMonth_1,getWhatDay=getWhatDay_1,toStringDate=toStringDate_1,toDateString=toDateString_1,now$1=now_1,timestamp=timestamp_1,isValidDate=isValidDate_1,isDateSame=isDateSame_1,getWhatWeek=getWhatWeek_1,getYearDay=getYearDay_1,getYearWeek=getYearWeek_1,getMonthWeek=getMonthWeek_1,getDayOfYear=getDayOfYear_1,getDayOfMonth=getDayOfMonth_1,getDateDiff=getDateDiff_1,padEnd=padEnd_1,padStart=padStart_1,repeat=repeat_1,trim$1=trim_1,trimRight=trimRight_1,trimLeft=trimLeft_1,escape=_escape,unescape$1=_unescape,camelCase=camelCase_1,kebabCase=kebabCase_1,startsWith=startsWith_1,endsWith$1=endsWith_1,template=template_1,toFormatString=toFormatString_1,toValueString=toValueString_1,noop$7=noop_1,property$1=property_1,bind$2=bind_1,once=once_1,after=after_1,before$1=before_1,throttle$2=throttle_1,debounce$2=debounce_1,delay=delay_1,unserialize=unserialize_1,serialize=serialize_1,parseUrl=parseUrl_1,getBaseURL=getBaseURL_1,locat=locat_1,cookie=cookie_1,browse$3=browse_1;assign$2(XEUtils,{assign:assign$2,objectEach,lastObjectEach,objectMap,merge:merge$2,uniq,union:union$1,sortBy,orderBy:orderBy$1,shuffle,sample,some,every,slice,filter:filter$1,find:find$1,findLast,findKey:findKey$1,includes,arrayIndexOf,arrayLastIndexOf,map:map$1,reduce,copyWithin,chunk,zip,unzip,zipObject,flatten:flatten$1,toArray:toArray$1,includeArrays,pluck,invoke,arrayEach:arrayEach$1,lastArrayEach,toArrayTree,toTreeArray,findTree,eachTree,mapTree,filterTree,searchTree,hasOwnProp,eqNull,isNaN:isNumberNaN,isFinite:isNumberFinite,isUndefined:isUndefined$4,isArray:isArray$4,isFloat,isInteger,isFunction:isFunction$4,isBoolean:isBoolean$3,isString:isString$3,isNumber:isNumber$3,isRegExp:isRegExp$1,isObject:isObject$4,isPlainObject:isPlainObject$4,isDate:isDate$1,isError,isTypeError,isEmpty:isEmpty$1,isNull:isNull$1,isSymbol:isSymbol$1,isArguments:isArguments$1,isElement:isElement$3,isDocument:isDocument$1,isWindow:isWindow$1,isFormData:isFormData$1,isMap:isMap$1,isWeakMap,isSet:isSet$1,isWeakSet,isLeapYear,isMatch,isEqual:isEqual$2,isEqualWith,getType,uniqueId,getSize,indexOf,lastIndexOf,findIndexOf,findLastIndexOf,toStringJSON,toJSONString,keys:keys$2,values,entries,pick:pick$1,omit:omit$1,first,last:last$1,each:each$1,forOf,lastForOf,lastEach,has,get:get$1,set:set$1,groupBy,countBy,clone:clone$1,clear,remove,range:range$1,destructuring,random,min:min$2,max:max$2,commafy,round:round$1,ceil,floor:floor$2,toFixed,toNumber:toNumber$1,toNumberString,toInteger,add,subtract,multiply,divide,sum:sum$1,mean,now:now$1,timestamp,isValidDate,isDateSame,toStringDate,toDateString,getWhatYear,getWhatQuarter,getWhatMonth,getWhatWeek,getWhatDay,getYearDay,getYearWeek,getMonthWeek,getDayOfYear,getDayOfMonth,getDateDiff,trim:trim$1,trimLeft,trimRight,escape,unescape:unescape$1,camelCase,kebabCase,repeat,padStart,padEnd,startsWith,endsWith:endsWith$1,template,toFormatString,toString:toValueString,toValueString,noop:noop$7,property:property$1,bind:bind$2,once,after,before:before$1,throttle:throttle$2,debounce:debounce$2,delay,unserialize,serialize,parseUrl,getBaseURL,locat,browse:browse$3,cookie});var xeUtils=XEUtils;const XEUtils$1=getDefaultExportFromCjs(xeUtils);var storeEl=null,storeId="z-index-manage",storeMainKey="m",storeSubKey="s",storeData={m:1e3,s:1e3};function isDocument(){return typeof document<"u"}function getDomMaxZIndex(){var $e=0;if(isDocument())for(var Ie=document.body.getElementsByTagName("*"),Fe=0;Fe{$e.cancelBubble||(Fe===$e.type||Ie&&Fe==="mousewheel")&&Ue($e)})}class VxeComponentEvent{constructor(Ie,Fe,Ue){Object.defineProperty(this,"$event",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.$event=Ie,Object.assign(this,Fe,Ue)}stopPropagation(){const Ie=this.$event;Ie&&Ie.stopPropagation()}preventDefault(){const Ie=this.$event;Ie&&Ie.preventDefault()}}const createEvent$3=($e,Ie,Fe)=>new VxeComponentEvent($e,Ie,Fe),globalEvents$4={on($e,Ie,Fe){eventStore$1.push({comp:$e,type:Ie,cb:Fe})},off($e,Ie){XEUtils$1.remove(eventStore$1,Fe=>Fe.comp===$e&&Fe.type===Ie)},hasKey($e,Ie){const{key:Fe}=$e;return Ie=Ie.toLowerCase(),Fe?Ie===Fe.toLowerCase()||!!(convertEventKeys[Fe]&&convertEventKeys[Fe].toLowerCase()===Ie):!1}};browse$2.isDoc&&(browse$2.msie||(window.addEventListener("copy",triggerEvent$2,!1),window.addEventListener("cut",triggerEvent$2,!1),window.addEventListener("paste",triggerEvent$2,!1)),document.addEventListener("keydown",triggerEvent$2,!1),document.addEventListener("contextmenu",triggerEvent$2,!1),window.addEventListener("mousedown",triggerEvent$2,!1),window.addEventListener("blur",triggerEvent$2,!1),window.addEventListener("resize",triggerEvent$2,!1),window.addEventListener(wheelName,XEUtils$1.throttle(triggerEvent$2,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1}));let resizeTimeout;const eventStore=[],defaultInterval=500;function eventHandle(){eventStore.length&&(eventStore.forEach($e=>{$e.tarList.forEach(Ie=>{const{target:Fe,width:Ue,heighe:qe}=Ie,At=Fe.clientWidth,Dt=Fe.clientHeight;(At&&Ue!==At||Dt&&qe!==Dt)&&(Ie.width=At,Ie.heighe=Dt,setTimeout($e.callback))})}),eventListener())}function eventListener(){clearTimeout(resizeTimeout),resizeTimeout=setTimeout(eventHandle,globalConfigStore.resizeInterval||defaultInterval)}class XEResizeObserver{constructor(Ie){Object.defineProperty(this,"tarList",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"callback",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.callback=Ie}observe(Ie){if(Ie){const{tarList:Fe}=this;Fe.some(Ue=>Ue.target===Ie)||Fe.push({target:Ie,width:Ie.clientWidth,heighe:Ie.clientHeight}),eventStore.length||eventListener(),eventStore.some(Ue=>Ue===this)||eventStore.push(this)}}unobserve(Ie){XEUtils$1.remove(eventStore,Fe=>Fe.tarList.some(Ue=>Ue.target===Ie))}disconnect(){XEUtils$1.remove(eventStore,Ie=>Ie===this)}}const globalResize$2={create($e){return window.ResizeObserver?new window.ResizeObserver($e):new XEResizeObserver($e)}};function getI18n$e($e,Ie){const{langMaps:Fe,language:Ue}=i18nConfigStore;return XEUtils$1.toFormatString(XEUtils$1.get(Fe[Ue],$e,$e),Ie)}function createLog($e,Ie){return function(Fe,Ue){const qe=`[vxe ${Ie||""}] ${getI18n$e(Fe,Ue)}`;return console[$e](qe),qe}}const version$3="1.0.1",log$2={create:createLog,warn:createLog("warn",`v${version$3}`),err:createLog("error",`v${version$3}`)},renderMap={},renderer$a={mixin($e){return XEUtils$1.each($e,(Ie,Fe)=>renderer$a.add(Fe,Ie)),renderer$a},get($e){return renderMap[$e]||null},add($e,Ie){if($e&&Ie){const Fe=renderMap[$e];Fe?Object.assign(Fe,Ie):renderMap[$e]=Ie}return renderer$a},forEach($e){return XEUtils$1.objectEach(renderMap,$e),renderer$a},delete($e){return delete renderMap[$e],renderer$a}};let Store$1=class{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(Ie){return XEUtils$1.each(Ie,(Fe,Ue)=>{this.add(Ue,Fe)}),this}has(Ie){return!!this.get(Ie)}get(Ie){return this.store[Ie]}add(Ie,Fe){const Ue=this.store[Ie];return this.store[Ie]=Ue?XEUtils$1.merge(Ue,Fe):Fe,this}delete(Ie){delete this.store[Ie]}forEach(Ie){XEUtils$1.objectEach(this.store,Ie)}};const validators$5=new Store$1;class VXEMenusStore{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(Ie){return XEUtils$1.each(Ie,(Fe,Ue)=>{this.add(Ue,Fe)}),this}has(Ie){return!!this.get(Ie)}get(Ie){return this.store[Ie]}add(Ie,Fe){const Ue=this.store[Ie];return XEUtils$1.isFunction(Fe)&&(Fe={menuMethod:Fe}),this.store[Ie]=Ue?XEUtils$1.merge(Ue,Fe):Fe,this}delete(Ie){delete this.store[Ie]}forEach(Ie){XEUtils$1.objectEach(this.store,Ie)}}const menus$4=new VXEMenusStore;class VXEFormatsStore{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(Ie){return XEUtils$1.each(Ie,(Fe,Ue)=>{this.add(Ue,Fe)}),this}has(Ie){return!!this.get(Ie)}get(Ie){return this.store[Ie]}add(Ie,Fe){const Ue=this.store[Ie];return XEUtils$1.isFunction(Fe)&&(Fe={cellFormatMethod:Fe}),this.store[Ie]=Ue?XEUtils$1.merge(Ue,Fe):Fe,this}delete(Ie){delete this.store[Ie]}forEach(Ie){XEUtils$1.objectEach(this.store,Ie)}}const formats$3=new VXEFormatsStore;class VXECommandsStore{constructor(){Object.defineProperty(this,"store",{enumerable:!0,configurable:!0,writable:!0,value:{}})}mixin(Ie){return XEUtils$1.each(Ie,(Fe,Ue)=>{this.add(Ue,Fe)}),this}has(Ie){return!!this.get(Ie)}get(Ie){return this.store[Ie]}add(Ie,Fe){const Ue=this.store[Ie];return XEUtils$1.isFunction(Fe)&&(Fe={commandMethod:Fe}),this.store[Ie]=Ue?XEUtils$1.merge(Ue,Fe):Fe,this}delete(Ie){delete this.store[Ie]}forEach(Ie){XEUtils$1.objectEach(this.store,Ie)}}const commands$3=new VXECommandsStore,storeMap={},interceptor$2={mixin($e){return XEUtils$1.each($e,(Ie,Fe)=>{interceptor$2.add(Fe,Ie)}),interceptor$2},get($e){return storeMap[$e]||[]},add($e,Ie){if(Ie){let Fe=storeMap[$e];Fe||(Fe=storeMap[$e]=[]),Fe.push(Ie)}return interceptor$2},delete($e,Ie){const Fe=storeMap[$e];Fe&&(Ie?XEUtils$1.remove(Fe,Ue=>Ue===Ie):delete storeMap[$e])}};let copyElem;const clipStore={text:"",html:""};function handleText($e){if(!copyElem){copyElem=document.createElement("textarea"),copyElem.id="$VxeCopy";const Ie=copyElem.style;Ie.width="48px",Ie.height="24px",Ie.position="fixed",Ie.zIndex="0",Ie.left="-500px",Ie.top="-500px",document.body.appendChild(copyElem)}copyElem.value=$e}const clipboard$1={getStore(){return clipStore},setStore($e){Object.assign(clipStore,$e||{})},copy($e){let Ie=!1;try{const Fe=XEUtils$1.toValueString($e);handleText(Fe),copyElem.select(),copyElem.setSelectionRange(0,copyElem.value.length),Ie=document.execCommand("copy"),copyElem.blur(),clipStore.text=Fe,clipStore.html=""}catch{}return Ie}},hooks$9=new Store$1;function useSize($e){const Ie=inject("xeSizeInfo",null),Fe=computed(()=>$e.size||(Ie?Ie.value:null));return provide("xeSizeInfo",Fe),{computeSize:Fe}}const useFns$3={useSize};function setTheme$1($e){const Ie=!$e||$e==="default"?"light":$e;if(themeConfigStore.theme=Ie,typeof document<"u"){const Fe=document.documentElement;Fe&&Fe.setAttribute("data-vxe-ui-theme",Ie)}return VxeUI}function getTheme$1(){return themeConfigStore.theme}function setLanguage$1($e){return i18nConfigStore.language=$e||"zh-CN",VxeUI}function setI18n$1($e,Ie){return i18nConfigStore.langMaps[$e]=Object.assign({},Ie),VxeUI}function setConfig$1($e){return $e&&($e.zIndex&&DomZIndex.setCurrent($e.zIndex),$e.theme&&setTheme$1($e.theme),XEUtils$1.merge(globalConfigStore,$e)),VxeUI}function getConfig$8($e,Ie){return arguments.length?XEUtils$1.get(globalConfigStore,$e,Ie):globalConfigStore}function setIcon$1($e){return $e&&Object.assign(iconConfigStore,$e),VxeUI}function getIcon$7($e){return arguments.length?XEUtils$1.get(iconConfigStore,$e):iconConfigStore}const coreVersion="1.0.1",installedPlugins=[];function use$1($e,Ie){return $e&&$e.install&&installedPlugins.indexOf($e)===-1&&($e.install(VxeUI,Ie),installedPlugins.push($e)),VxeUI}const VxeUI={coreVersion,setTheme:setTheme$1,getTheme:getTheme$1,setConfig:setConfig$1,getConfig:getConfig$8,setIcon:setIcon$1,getIcon:getIcon$7,setLanguage:setLanguage$1,setI18n:setI18n$1,getI18n:getI18n$e,globalEvents:globalEvents$4,GLOBAL_EVENT_KEYS:GLOBAL_EVENT_KEYS$3,createEvent:createEvent$3,globalResize:globalResize$2,renderer:renderer$a,validators:validators$5,menus:menus$4,formats:formats$3,commands:commands$3,interceptor:interceptor$2,clipboard:clipboard$1,log:log$2,hooks:hooks$9,useFns:useFns$3,use:use$1};setTheme$1();function isEnableConf$1($e){return $e&&$e.enabled!==!1}function isEmptyValue$1($e){return $e==null||$e===""}function parseFile$1($e){const Ie=$e.name,Fe=XEUtils$1.lastIndexOf(Ie,"."),Ue=Ie.substring(Fe+1,Ie.length).toLowerCase();return{filename:Ie.substring(0,Fe),type:Ue}}function nextZIndex$1(){return DomZIndex.getNext()}function getLastZIndex$1(){return DomZIndex.getCurrent()}function hasChildrenList($e){return $e&&$e.children&&$e.children.length>0}function getFuncText$1($e,Ie){if($e){const Fe=VxeUI.getConfig().translate;return XEUtils$1.toValueString(Fe?Fe(""+$e,Ie):$e)}return""}function formatText($e,Ie){return""+(isEmptyValue$1($e)?Ie?VxeUI.getConfig().emptyCell:"":$e)}function eqEmptyValue$1($e){return $e===""||XEUtils$1.eqNull($e)}VxeUI.version="4.7.16";VxeUI.tableVersion="4.7.16";VxeUI.setConfig({emptyCell:" ",table:{fit:!0,showHeader:!0,animat:!0,delayHover:250,autoResize:!0,minHeight:144,resizeConfig:{refreshDelay:250},radioConfig:{strict:!0},checkboxConfig:{strict:!0},tooltipConfig:{enterable:!0},validConfig:{showMessage:!0,autoClear:!0,autoPos:!0,message:"inline",msgMode:"single"},columnConfig:{maxFixedSize:4},customConfig:{allowVisible:!0,allowResizable:!0,allowFixed:!0,allowSort:!0,showFooter:!0,placement:"top-right"},sortConfig:{showIcon:!0,iconLayout:"vertical"},filterConfig:{showIcon:!0},treeConfig:{rowField:"id",parentField:"parentId",childrenField:"children",hasChildField:"hasChild",mapChildrenField:"_X_ROW_CHILD",indent:20,showIcon:!0},expandConfig:{showIcon:!0},editConfig:{showIcon:!0,showAsterisk:!0},importConfig:{_typeMaps:{csv:1,html:1,xml:1,txt:1},modes:["insert","covering"]},exportConfig:{_typeMaps:{csv:1,html:1,xml:1,txt:1},modes:["current","selected"]},printConfig:{modes:["current","selected"]},mouseConfig:{extension:!0},keyboardConfig:{isEsc:!0},areaConfig:{autoClear:!0,selectCellByHeader:!0},clipConfig:{isCopy:!0,isCut:!0,isPaste:!0},fnrConfig:{isFind:!0,isReplace:!0},scrollX:{gt:60},scrollY:{gt:100}},grid:{formConfig:{enabled:!0},pagerConfig:{enabled:!0},toolbarConfig:{enabled:!0},proxyConfig:{enabled:!0,autoLoad:!0,message:!0,props:{list:null,result:"result",total:"page.total",message:"message"}}},toolbar:{}});const iconPrefix$1="vxe-icon-";VxeUI.setIcon({TABLE_SORT_ASC:iconPrefix$1+"caret-up",TABLE_SORT_DESC:iconPrefix$1+"caret-down",TABLE_FILTER_NONE:iconPrefix$1+"funnel",TABLE_FILTER_MATCH:iconPrefix$1+"funnel",TABLE_EDIT:iconPrefix$1+"edit",TABLE_TITLE_PREFIX:iconPrefix$1+"question-circle-fill",TABLE_TITLE_SUFFIX:iconPrefix$1+"question-circle-fill",TABLE_TREE_LOADED:iconPrefix$1+"spinner roll",TABLE_TREE_OPEN:iconPrefix$1+"caret-right rotate90",TABLE_TREE_CLOSE:iconPrefix$1+"caret-right",TABLE_EXPAND_LOADED:iconPrefix$1+"spinner roll",TABLE_EXPAND_OPEN:iconPrefix$1+"arrow-right rotate90",TABLE_EXPAND_CLOSE:iconPrefix$1+"arrow-right",TABLE_CHECKBOX_CHECKED:iconPrefix$1+"checkbox-checked-fill",TABLE_CHECKBOX_UNCHECKED:iconPrefix$1+"checkbox-unchecked",TABLE_CHECKBOX_INDETERMINATE:iconPrefix$1+"checkbox-indeterminate-fill",TABLE_RADIO_CHECKED:iconPrefix$1+"radio-checked-fill",TABLE_RADIO_UNCHECKED:iconPrefix$1+"radio-unchecked",TABLE_CUSTOM_SORT:iconPrefix$1+"drag-handle",TOOLBAR_TOOLS_REFRESH:iconPrefix$1+"repeat",TOOLBAR_TOOLS_REFRESH_LOADING:iconPrefix$1+"repeat roll",TOOLBAR_TOOLS_IMPORT:iconPrefix$1+"upload",TOOLBAR_TOOLS_EXPORT:iconPrefix$1+"download",TOOLBAR_TOOLS_PRINT:iconPrefix$1+"print",TOOLBAR_TOOLS_FULLSCREEN:iconPrefix$1+"fullscreen",TOOLBAR_TOOLS_MINIMIZE:iconPrefix$1+"minimize",TOOLBAR_TOOLS_CUSTOM:iconPrefix$1+"custom-column",TOOLBAR_TOOLS_FIXED_LEFT:iconPrefix$1+"fixed-left",TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE:iconPrefix$1+"fixed-left-fill",TOOLBAR_TOOLS_FIXED_RIGHT:iconPrefix$1+"fixed-right",TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE:iconPrefix$1+"fixed-right-fill"});const setTheme=VxeUI.setTheme,getTheme=VxeUI.getTheme,setConfig=VxeUI.setConfig,getConfig$7=VxeUI.getConfig,setIcon=VxeUI.setIcon,getIcon$6=VxeUI.getIcon,setLanguage=VxeUI.setLanguage,setI18n=VxeUI.setI18n,getI18n$d=VxeUI.getI18n,globalEvents$3=VxeUI.globalEvents,globalResize$1=VxeUI.globalResize,renderer$9=VxeUI.renderer,validators$4=VxeUI.validators,menus$3=VxeUI.menus,formats$2=VxeUI.formats,commands$2=VxeUI.commands,interceptor$1=VxeUI.interceptor,clipboard=VxeUI.clipboard,log$1=VxeUI.log,hooks$8=VxeUI.hooks,use=VxeUI.use,setup$1=$e=>VxeUI.setConfig($e),config$1=$e=>VxeUI.setConfig($e),t$8=($e,Ie)=>VxeUI.getI18n($e,Ie),_t$2=($e,Ie)=>getFuncText$1($e,Ie),VXETable=VxeUI,saveFile$1=$e=>VxeUI.saveFile($e),readFile$1=$e=>VxeUI.readFile($e),{log}=VxeUI,version$2="table v4.7.16",warnLog$1=log.create("warn",version$2),errLog$1=log.create("error",version$2),{getI18n:getI18n$c,formats:formats$1}=VxeUI;class ColumnInfo{constructor(Ie,Fe,{renderHeader:Ue,renderCell:qe,renderFooter:At,renderData:Dt}={}){const Lt=Ie.xegrid,jt=Fe.formatter,hn=XEUtils$1.isBoolean(Fe.visible)?Fe.visible:!0;if(Object.assign(this,{type:Fe.type,property:Fe.field,field:Fe.field,title:Fe.title,width:Fe.width,minWidth:Fe.minWidth,maxWidth:Fe.maxWidth,resizable:Fe.resizable,fixed:Fe.fixed,align:Fe.align,headerAlign:Fe.headerAlign,footerAlign:Fe.footerAlign,showOverflow:Fe.showOverflow,showHeaderOverflow:Fe.showHeaderOverflow,showFooterOverflow:Fe.showFooterOverflow,className:Fe.className,headerClassName:Fe.headerClassName,footerClassName:Fe.footerClassName,formatter:jt,sortable:Fe.sortable,sortBy:Fe.sortBy,sortType:Fe.sortType,filters:toFilters(Fe.filters),filterMultiple:XEUtils$1.isBoolean(Fe.filterMultiple)?Fe.filterMultiple:!0,filterMethod:Fe.filterMethod,filterResetMethod:Fe.filterResetMethod,filterRecoverMethod:Fe.filterRecoverMethod,filterRender:Fe.filterRender,treeNode:Fe.treeNode,cellType:Fe.cellType,cellRender:Fe.cellRender,editRender:Fe.editRender,contentRender:Fe.contentRender,headerExportMethod:Fe.headerExportMethod,exportMethod:Fe.exportMethod,footerExportMethod:Fe.footerExportMethod,titleHelp:Fe.titleHelp,titlePrefix:Fe.titlePrefix,titleSuffix:Fe.titleSuffix,params:Fe.params,id:Fe.colId||XEUtils$1.uniqueId("col_"),parentId:null,visible:hn,halfVisible:!1,defaultVisible:hn,defaultFixed:Fe.fixed,checked:!1,halfChecked:!1,disabled:!1,level:1,rowSpan:1,colSpan:1,order:null,sortTime:0,sortNumber:0,renderSortNumber:0,renderFixed:"",renderVisible:!1,renderWidth:0,renderHeight:0,renderResizeWidth:0,resizeWidth:0,renderLeft:0,renderArgs:[],model:{},renderHeader:Ue||Fe.renderHeader,renderCell:qe||Fe.renderCell,renderFooter:At||Fe.renderFooter,renderData:Dt,slots:Fe.slots}),Lt){const{computeProxyOpts:vn}=Lt.getComputeMaps(),bn=vn.value;bn.beforeColumn&&bn.beforeColumn({$grid:Lt,column:this})}}getTitle(){return getFuncText$1(this.title||(this.type==="seq"?getI18n$c("vxe.table.seqTitle"):""))}getKey(){return this.field||(this.type?`type=${this.type}`:null)}update(Ie,Fe){Ie!=="filters"&&(Ie==="field"&&(this.property=Fe),this[Ie]=Fe)}}const reClsMap$1={},browse$1=XEUtils$1.browse();function getPropClass($e,Ie){return $e?XEUtils$1.isFunction($e)?$e(Ie):$e:""}function getClsRE$1($e){return reClsMap$1[$e]||(reClsMap$1[$e]=new RegExp(`(?:^|\\s)${$e}(?!\\S)`,"g")),reClsMap$1[$e]}function getNodeOffset$1($e,Ie,Fe){if($e){const Ue=$e.parentNode;if(Fe.top+=$e.offsetTop,Fe.left+=$e.offsetLeft,Ue&&Ue!==document.documentElement&&Ue!==document.body&&(Fe.top-=Ue.scrollTop,Fe.left-=Ue.scrollLeft),!(Ie&&($e===Ie||$e.offsetParent===Ie))&&$e.offsetParent)return getNodeOffset$1($e.offsetParent,Ie,Fe)}return Fe}function isPx($e){return $e&&/^\d+(px)?$/.test($e)}function isScale($e){return $e&&/^\d+%$/.test($e)}function hasClass$2($e,Ie){return $e&&$e.className&&$e.className.match&&$e.className.match(getClsRE$1(Ie))}function removeClass$3($e,Ie){$e&&hasClass$2($e,Ie)&&($e.className=$e.className.replace(getClsRE$1(Ie),""))}function addClass$3($e,Ie){$e&&!hasClass$2($e,Ie)&&(removeClass$3($e,Ie),$e.className=`${$e.className} ${Ie}`)}function getDomNode$1(){const $e=document.documentElement,Ie=document.body;return{scrollTop:$e.scrollTop||Ie.scrollTop,scrollLeft:$e.scrollLeft||Ie.scrollLeft,visibleHeight:$e.clientHeight||Ie.clientHeight,visibleWidth:$e.clientWidth||Ie.clientWidth}}function getOffsetHeight($e){return $e?$e.offsetHeight:0}function getPaddingTopBottomSize($e){if($e){const Ie=getComputedStyle($e),Fe=XEUtils$1.toNumber(Ie.paddingTop),Ue=XEUtils$1.toNumber(Ie.paddingBottom);return Fe+Ue}return 0}function setScrollTop($e,Ie){$e&&($e.scrollTop=Ie)}function setScrollLeft($e,Ie){$e&&($e.scrollLeft=Ie)}function updateCellTitle($e,Ie){const Fe=Ie.type==="html"?$e.innerText:$e.textContent;$e.getAttribute("title")!==Fe&&$e.setAttribute("title",Fe)}function getEventTargetNode$1($e,Ie,Fe,Ue){let qe,At=$e.target.shadowRoot&&$e.composed&&$e.composedPath()[0]||$e.target;for(;At&&At.nodeType&&At!==document;){if(Fe&&hasClass$2(At,Fe)&&(!Ue||Ue(At)))qe=At;else if(At===Ie)return{flag:Fe?!!qe:!0,container:Ie,targetElem:qe};At=At.parentNode}return{flag:!1}}function getOffsetPos$1($e,Ie){return getNodeOffset$1($e,Ie,{left:0,top:0})}function getAbsolutePos$1($e){const Ie=$e.getBoundingClientRect(),Fe=Ie.top,Ue=Ie.left,{scrollTop:qe,scrollLeft:At,visibleHeight:Dt,visibleWidth:Lt}=getDomNode$1();return{boundingTop:Fe,top:qe+Fe,boundingLeft:Ue,left:At+Ue,visibleHeight:Dt,visibleWidth:Lt}}const scrollIntoViewIfNeeded$1="scrollIntoViewIfNeeded",scrollIntoView$2="scrollIntoView";function scrollToView$1($e){$e&&($e[scrollIntoViewIfNeeded$1]?$e[scrollIntoViewIfNeeded$1]():$e[scrollIntoView$2]&&$e[scrollIntoView$2]())}function triggerEvent$1($e,Ie){$e&&$e.dispatchEvent(new Event(Ie))}function isNodeElement($e){return $e&&$e.nodeType===1}const getAllConvertColumns=($e,Ie)=>{const Fe=[];return $e.forEach(Ue=>{Ue.parentId=Ie?Ie.id:null,Ue.visible&&(Ue.children&&Ue.children.length&&Ue.children.some(qe=>qe.visible)?(Fe.push(Ue),Fe.push(...getAllConvertColumns(Ue.children,Ue))):Fe.push(Ue))}),Fe},convertHeaderColumnToRows=$e=>{let Ie=1;const Fe=(At,Dt)=>{if(Dt&&(At.level=Dt.level+1,IeLt.visible)){let Lt=0;At.children.forEach(jt=>{jt.visible&&(Fe(jt,At),Lt+=jt.colSpan)}),At.colSpan=Lt}else At.colSpan=1};$e.forEach(At=>{At.level=1,Fe(At)});const Ue=[];for(let At=0;At{At.children&&At.children.length&&At.children.some(Dt=>Dt.visible)?At.rowSpan=1:At.rowSpan=Ie-At.level+1,Ue[At.level-1].push(At)}),Ue};function restoreScrollLocation($e,Ie,Fe){const{internalData:Ue}=$e;return $e.clearScroll().then(()=>{if(Ie||Fe)return Ue.lastScrollLeft=0,Ue.lastScrollTop=0,$e.scrollTo(Ie,Fe)})}function removeScrollListener($e){$e&&$e._onscroll&&($e.onscroll=null)}function restoreScrollListener($e){$e&&$e._onscroll&&($e.onscroll=$e._onscroll)}function getRowUniqueId(){return XEUtils$1.uniqueId("row_")}function getRowkey($e){const{props:Ie}=$e,{computeRowOpts:Fe}=$e.getComputeMaps(),{rowId:Ue}=Ie,qe=Fe.value;return Ue||qe.keyField||"_X_ROW_KEY"}function getRowid($e,Ie){const Fe=XEUtils$1.get(Ie,getRowkey($e));return XEUtils$1.eqNull(Fe)?"":encodeURIComponent(Fe)}const handleFieldOrColumn=($e,Ie)=>Ie?XEUtils$1.isString(Ie)?$e.getColumnByField(Ie):Ie:null;function getPaddingLeftRightSize($e){if($e){const Ie=getComputedStyle($e),Fe=XEUtils$1.toNumber(Ie.paddingLeft),Ue=XEUtils$1.toNumber(Ie.paddingRight);return Fe+Ue}return 0}function getElemenMarginWidth($e){if($e){const Ie=getComputedStyle($e),Fe=XEUtils$1.toNumber(Ie.marginLeft),Ue=XEUtils$1.toNumber(Ie.marginRight);return $e.offsetWidth+Fe+Ue}return 0}function queryCellElement($e,Ie){return $e.querySelector(".vxe-cell"+Ie)}function toFilters($e){return $e&&XEUtils$1.isArray($e)?$e.map(({label:Ie,value:Fe,data:Ue,resetValue:qe,checked:At})=>({label:Ie,value:Fe,data:Ue,resetValue:qe,checked:!!At,_checked:!!At})):$e}function toTreePathSeq($e){return $e.map((Ie,Fe)=>Fe%2===0?Number(Ie)+1:".").join("")}function getCellValue($e,Ie){return XEUtils$1.get($e,Ie.field)}function setCellValue($e,Ie,Fe){return XEUtils$1.set($e,Ie.field,Fe)}function getColReMinWidth($e){const{$table:Ie,column:Fe,cell:Ue}=$e,{props:qe}=Ie,{computeResizableOpts:At}=Ie.getComputeMaps(),Dt=At.value,{minWidth:Lt}=Dt;if(Lt){const $n=XEUtils$1.isFunction(Lt)?Lt($e):Lt;if($n!=="auto")return Math.max(1,XEUtils$1.toNumber($n))}const{showHeaderOverflow:jt}=qe,{showHeaderOverflow:hn,minWidth:vn}=Fe,bn=XEUtils$1.isUndefined(hn)||XEUtils$1.isNull(hn)?jt:hn,wn=bn==="title"||(bn===!0||bn==="tooltip")||bn==="ellipsis",Sn=XEUtils$1.floor((XEUtils$1.toNumber(getComputedStyle(Ue).fontSize)||14)*1.6),_n=getPaddingLeftRightSize(Ue)+getPaddingLeftRightSize(queryCellElement(Ue,""));let En=Sn+_n;if(wn){const $n=getPaddingLeftRightSize(queryCellElement(Ue,"--title>.vxe-cell--checkbox")),Tn=getElemenMarginWidth(queryCellElement(Ue,">.vxe-cell--required-icon")),On=getElemenMarginWidth(queryCellElement(Ue,">.vxe-cell--edit-icon")),Nn=getElemenMarginWidth(queryCellElement(Ue,">.vxe-cell-title-prefix-icon")),An=getElemenMarginWidth(queryCellElement(Ue,">.vxe-cell-title-suffix-icon")),Pn=getElemenMarginWidth(queryCellElement(Ue,">.vxe-cell--sort")),In=getElemenMarginWidth(queryCellElement(Ue,">.vxe-cell--filter"));En+=$n+Tn+On+Nn+An+In+Pn}if(vn){const{refTableBody:$n}=Ie.getRefMaps(),Tn=$n.value,On=Tn?Tn.$el:null;if(On){if(isScale(vn)){const An=(On.clientWidth-1)/100;return Math.max(En,Math.floor(XEUtils$1.toInteger(vn)*An))}else if(isPx(vn))return Math.max(En,XEUtils$1.toInteger(vn))}}return En}function isColumnInfo($e){return $e&&($e.constructor===ColumnInfo||$e instanceof ColumnInfo)}function createColumn($e,Ie,Fe){return isColumnInfo(Ie)?Ie:reactive(new ColumnInfo($e,Ie,Fe))}function watchColumn($e,Ie,Fe){Object.keys(Ie).forEach(Ue=>{watch(()=>Ie[Ue],qe=>{Fe.update(Ue,qe),$e&&(Ue==="filters"?($e.setFilter(Fe,qe),$e.handleUpdateDataQueue()):["visible","fixed","width","minWidth","maxWidth"].includes(Ue)&&$e.handleRefreshColumnQueue())})})}function assemColumn($e,Ie,Fe,Ue){const{reactData:qe}=$e,{staticColumns:At}=qe,Dt=Ie.parentNode,Lt=Ue?Ue.column:null,jt=Lt?Lt.children:At;Dt&&jt&&(jt.splice(XEUtils$1.arrayIndexOf(Dt.children,Ie),0,Fe),qe.staticColumns=At.slice(0))}function destroyColumn($e,Ie){const{reactData:Fe}=$e,{staticColumns:Ue}=Fe,qe=XEUtils$1.findTree(Ue,At=>At.id===Ie.id,{children:"children"});qe&&qe.items.splice(qe.index,1),Fe.staticColumns=Ue.slice(0)}function getRootColumn($e,Ie){const{internalData:Fe}=$e,{fullColumnIdData:Ue}=Fe;if(!Ie)return null;let qe=Ie.parentId;for(;Ue[qe];){const At=Ue[qe].column;if(qe=At.parentId,!qe)return At}return Ie}function mergeBodyMethod($e,Ie,Fe){for(let Ue=0;Ue<$e.length;Ue++){const{row:qe,col:At,rowspan:Dt,colspan:Lt}=$e[Ue];if(At>-1&&qe>-1&&Dt&&Lt){if(qe===Ie&&At===Fe)return{rowspan:Dt,colspan:Lt};if(Ie>=qe&&Ie=At&&Fekn+bn)return $e.scrollTo(null,xn);if(xn+wn>=bn+kn)return $e.scrollTo(null,kn+wn)}else if(At)return $e.scrollTo(null,(Dt.indexOf(Ie)-1)*Lt.rowHeight)}return Promise.resolve()}function colToVisible($e,Ie){const{reactData:Fe,internalData:Ue}=$e,{refTableBody:qe}=$e.getRefMaps(),{scrollXLoad:At}=Fe,{visibleColumn:Dt}=Ue,Lt=qe.value,jt=Lt?Lt.$el:null;if(jt){const hn=jt.querySelector(`.${Ie.id}`);if(hn){const vn=jt.clientWidth,bn=jt.scrollLeft,kn=hn.offsetParent,Cn=hn.offsetLeft+(kn?kn.offsetLeft:0),xn=hn.clientWidth;if(Cnbn+vn)return $e.scrollTo(Cn);if(Cn+xn>=vn+bn)return $e.scrollTo(bn+xn)}else if(At){let vn=0;for(let bn=0;bn{At._isResize||(Cn?updateCellTitle(Sn.currentTarget,Ue):(xn||bn)&&Fe.triggerHeaderTooltipEvent(Sn,$e))}),(xn||bn)&&(wn.onMouseleave=Sn=>{At._isResize||(xn||bn)&&Fe.handleTargetLeaveEvent(Sn)}),[jt==="html"&&XEUtils$1.isString(Ie)?h$5("span",Object.assign({class:"vxe-cell--title",innerHTML:Ie},wn)):h$5("span",Object.assign({class:"vxe-cell--title"},wn),getSlotVNs$1(Ie))]}function getFooterContent($e){const{$table:Ie,column:Fe,_columnIndex:Ue,items:qe,row:At}=$e,{slots:Dt,editRender:Lt,cellRender:jt}=Fe,hn=Lt||jt,vn=Dt?Dt.footer:null;if(vn)return Ie.callSlot(vn,$e);if(hn){const bn=renderer$8.get(hn.name);if(bn&&bn.renderFooter)return getSlotVNs$1(bn.renderFooter(hn,$e))}return XEUtils$1.isArray(qe)?[formatText(qe[Ue],1)]:[formatText(XEUtils$1.get(At,Fe.field),1)]}function getDefaultCellLabel($e){const{$table:Ie,row:Fe,column:Ue}=$e;return formatText(Ie.getCellLabel(Fe,Ue),1)}const Cell={createColumn($e,Ie){const{type:Fe,sortable:Ue,filters:qe,editRender:At,treeNode:Dt}=Ie,{props:Lt}=$e,{editConfig:jt}=Lt,{computeEditOpts:hn,computeCheckboxOpts:vn}=$e.getComputeMaps(),bn=vn.value,kn=hn.value,Cn={renderHeader:Cell.renderDefaultHeader,renderCell:Dt?Cell.renderTreeCell:Cell.renderDefaultCell,renderFooter:Cell.renderDefaultFooter};switch(Fe){case"seq":Cn.renderHeader=Cell.renderSeqHeader,Cn.renderCell=Dt?Cell.renderTreeIndexCell:Cell.renderSeqCell;break;case"radio":Cn.renderHeader=Cell.renderRadioHeader,Cn.renderCell=Dt?Cell.renderTreeRadioCell:Cell.renderRadioCell;break;case"checkbox":Cn.renderHeader=Cell.renderCheckboxHeader,Cn.renderCell=bn.checkField?Dt?Cell.renderTreeSelectionCellByProp:Cell.renderCheckboxCellByProp:Dt?Cell.renderTreeSelectionCell:Cell.renderCheckboxCell;break;case"expand":Cn.renderCell=Cell.renderExpandCell,Cn.renderData=Cell.renderExpandData;break;case"html":Cn.renderCell=Dt?Cell.renderTreeHTMLCell:Cell.renderHTMLCell,qe&&Ue?Cn.renderHeader=Cell.renderSortAndFilterHeader:Ue?Cn.renderHeader=Cell.renderSortHeader:qe&&(Cn.renderHeader=Cell.renderFilterHeader);break;default:jt&&At?(Cn.renderHeader=Cell.renderEditHeader,Cn.renderCell=kn.mode==="cell"?Dt?Cell.renderTreeCellEdit:Cell.renderCellEdit:Dt?Cell.renderTreeRowEdit:Cell.renderRowEdit):qe&&Ue?Cn.renderHeader=Cell.renderSortAndFilterHeader:Ue?Cn.renderHeader=Cell.renderSortHeader:qe&&(Cn.renderHeader=Cell.renderFilterHeader)}return createColumn($e,Ie,Cn)},renderHeaderTitle($e){const{$table:Ie,column:Fe}=$e,{slots:Ue,editRender:qe,cellRender:At}=Fe,Dt=qe||At,Lt=Ue?Ue.header:null;if(Lt)return renderTitleContent($e,Ie.callSlot(Lt,$e));if(Dt){const jt=renderer$8.get(Dt.name);if(jt&&jt.renderHeader)return renderTitleContent($e,getSlotVNs$1(jt.renderHeader(Dt,$e)))}return renderTitleContent($e,formatText(Fe.getTitle(),1))},renderDefaultHeader($e){return renderTitlePrefixIcon($e).concat(Cell.renderHeaderTitle($e)).concat(renderTitleSuffixIcon($e))},renderDefaultCell($e){const{$table:Ie,row:Fe,column:Ue}=$e,{slots:qe,editRender:At,cellRender:Dt}=Ue,Lt=At||Dt,jt=qe?qe.default:null;if(jt)return Ie.callSlot(jt,$e);if(Lt){const bn=At?"renderCell":"renderDefault",kn=renderer$8.get(Lt.name),Cn=kn?kn[bn]:null;if(Cn)return getSlotVNs$1(Cn(Lt,Object.assign({$type:At?"edit":"cell"},$e)))}const hn=Ie.getCellLabel(Fe,Ue),vn=At?At.placeholder:"";return[h$5("span",{class:"vxe-cell--label"},At&&eqEmptyValue$1(hn)?[h$5("span",{class:"vxe-cell--placeholder"},formatText(getFuncText$1(vn),1))]:formatText(hn,1))]},renderTreeCell($e){return Cell.renderTreeIcon($e,Cell.renderDefaultCell($e))},renderDefaultFooter($e){return[h$5("span",{class:"vxe-cell--item"},getFooterContent($e))]},renderTreeIcon($e,Ie){const{$table:Fe,isHidden:Ue}=$e,{reactData:qe}=Fe,{computeTreeOpts:At}=Fe.getComputeMaps(),{treeExpandedMaps:Dt,treeExpandLazyLoadedMaps:Lt}=qe,jt=At.value,{row:hn,column:vn,level:bn}=$e,{slots:kn}=vn,{indent:Cn,lazy:xn,trigger:wn,iconLoaded:Sn,showIcon:_n,iconOpen:En,iconClose:$n}=jt,Tn=jt.children||jt.childrenField,On=jt.hasChild||jt.hasChildField,Nn=hn[Tn],An=kn?kn.icon:null;let Pn=!1,In=!1,Mn=!1;const Rn={};if(An)return Fe.callSlot(An,$e);if(!Ue){const Un=getRowid(Fe,hn);In=!!Dt[Un],xn&&(Mn=!!Lt[Un],Pn=hn[On])}return(!wn||wn==="default")&&(Rn.onClick=Un=>{Un.stopPropagation(),Fe.triggerTreeExpandEvent(Un,$e)}),[h$5("div",{class:["vxe-cell--tree-node",{"is--active":In}],style:{paddingLeft:`${bn*Cn}px`}},[_n&&(Nn&&Nn.length||Pn)?[h$5("div",Object.assign({class:"vxe-tree--btn-wrapper"},Rn),[h$5("i",{class:["vxe-tree--node-btn",Mn?Sn||getIcon$5().TABLE_TREE_LOADED:In?En||getIcon$5().TABLE_TREE_OPEN:$n||getIcon$5().TABLE_TREE_CLOSE]})])]:null,h$5("div",{class:"vxe-tree-cell"},Ie)])]},renderSeqHeader($e){const{$table:Ie,column:Fe}=$e,{slots:Ue}=Fe,qe=Ue?Ue.header:null;return renderTitleContent($e,qe?Ie.callSlot(qe,$e):formatText(Fe.getTitle(),1))},renderSeqCell($e){const{$table:Ie,column:Fe}=$e,{props:Ue}=Ie,{treeConfig:qe}=Ue,{computeSeqOpts:At}=Ie.getComputeMaps(),Dt=At.value,{slots:Lt}=Fe,jt=Lt?Lt.default:null;if(jt)return Ie.callSlot(jt,$e);const{seq:hn}=$e,vn=Dt.seqMethod;return[formatText(vn?vn($e):qe?hn:(Dt.startIndex||0)+hn,1)]},renderTreeIndexCell($e){return Cell.renderTreeIcon($e,Cell.renderSeqCell($e))},renderRadioHeader($e){const{$table:Ie,column:Fe}=$e,{slots:Ue}=Fe,qe=Ue?Ue.header:null,At=Ue?Ue.title:null;return renderTitleContent($e,qe?Ie.callSlot(qe,$e):[h$5("span",{class:"vxe-radio--label"},At?Ie.callSlot(At,$e):formatText(Fe.getTitle(),1))])},renderRadioCell($e){const{$table:Ie,column:Fe,isHidden:Ue}=$e,{reactData:qe}=Ie,{computeRadioOpts:At}=Ie.getComputeMaps(),{selectRadioRow:Dt}=qe,Lt=At.value,{slots:jt}=Fe,{labelField:hn,checkMethod:vn,visibleMethod:bn}=Lt,{row:kn}=$e,Cn=jt?jt.default:null,xn=jt?jt.radio:null,wn=Ie.eqRow(kn,Dt),Sn=!bn||bn({row:kn});let _n=!!vn,En;Ue||(En={onClick(On){!_n&&Sn&&(On.stopPropagation(),Ie.triggerRadioRowEvent(On,$e))}},vn&&(_n=!vn({row:kn})));const $n=Object.assign(Object.assign({},$e),{checked:wn,disabled:_n,visible:Sn});if(xn)return Ie.callSlot(xn,$n);const Tn=[];return Sn&&Tn.push(h$5("span",{class:["vxe-radio--icon",wn?getIcon$5().TABLE_RADIO_CHECKED:getIcon$5().TABLE_RADIO_UNCHECKED]})),(Cn||hn)&&Tn.push(h$5("span",{class:"vxe-radio--label"},Cn?Ie.callSlot(Cn,$n):XEUtils$1.get(kn,hn))),[h$5("span",Object.assign({class:["vxe-cell--radio",{"is--checked":wn,"is--disabled":_n}]},En),Tn)]},renderTreeRadioCell($e){return Cell.renderTreeIcon($e,Cell.renderRadioCell($e))},renderCheckboxHeader($e){const{$table:Ie,column:Fe,isHidden:Ue}=$e,{reactData:qe}=Ie,{computeIsAllCheckboxDisabled:At,computeCheckboxOpts:Dt}=Ie.getComputeMaps(),{isAllSelected:Lt,isIndeterminate:jt}=qe,hn=At.value,{slots:vn}=Fe,bn=vn?vn.header:null,kn=vn?vn.title:null,Cn=Dt.value,xn=Fe.getTitle();let wn;Ue||(wn={onClick(_n){hn||(_n.stopPropagation(),Ie.triggerCheckAllEvent(_n,!Lt))}});const Sn=Object.assign(Object.assign({},$e),{checked:Lt,disabled:hn,indeterminate:jt});return bn?renderTitleContent(Sn,Ie.callSlot(bn,Sn)):(Cn.checkStrictly?!Cn.showHeader:Cn.showHeader===!1)?renderTitleContent(Sn,[h$5("span",{class:"vxe-checkbox--label"},kn?Ie.callSlot(kn,Sn):xn)]):renderTitleContent(Sn,[h$5("span",Object.assign({class:["vxe-cell--checkbox",{"is--checked":Lt,"is--disabled":hn,"is--indeterminate":jt}],title:getI18n$b("vxe.table.allTitle")},wn),[h$5("span",{class:["vxe-checkbox--icon",jt?getIcon$5().TABLE_CHECKBOX_INDETERMINATE:Lt?getIcon$5().TABLE_CHECKBOX_CHECKED:getIcon$5().TABLE_CHECKBOX_UNCHECKED]})].concat(kn||xn?[h$5("span",{class:"vxe-checkbox--label"},kn?Ie.callSlot(kn,Sn):xn)]:[]))])},renderCheckboxCell($e){const{$table:Ie,row:Fe,column:Ue,isHidden:qe}=$e,{props:At,reactData:Dt}=Ie,{treeConfig:Lt}=At,{selectCheckboxMaps:jt,treeIndeterminateMaps:hn}=Dt,{computeCheckboxOpts:vn}=Ie.getComputeMaps(),bn=vn.value,{labelField:kn,checkMethod:Cn,visibleMethod:xn}=bn,{slots:wn}=Ue,Sn=wn?wn.default:null,_n=wn?wn.checkbox:null;let En=!1,$n=!1;const Tn=!xn||xn({row:Fe});let On=!!Cn,Nn;if(!qe){const In=getRowid(Ie,Fe);$n=!!jt[In],Nn={onClick(Mn){!On&&Tn&&(Mn.stopPropagation(),Ie.triggerCheckRowEvent(Mn,$e,!$n))}},Cn&&(On=!Cn({row:Fe})),Lt&&(En=!!hn[In])}const An=Object.assign(Object.assign({},$e),{checked:$n,disabled:On,visible:Tn,indeterminate:En});if(_n)return Ie.callSlot(_n,An);const Pn=[];return Tn&&Pn.push(h$5("span",{class:["vxe-checkbox--icon",En?getIcon$5().TABLE_CHECKBOX_INDETERMINATE:$n?getIcon$5().TABLE_CHECKBOX_CHECKED:getIcon$5().TABLE_CHECKBOX_UNCHECKED]})),(Sn||kn)&&Pn.push(h$5("span",{class:"vxe-checkbox--label"},Sn?Ie.callSlot(Sn,An):XEUtils$1.get(Fe,kn))),[h$5("span",Object.assign({class:["vxe-cell--checkbox",{"is--checked":$n,"is--disabled":On,"is--indeterminate":En,"is--hidden":!Tn}]},Nn),Pn)]},renderTreeSelectionCell($e){return Cell.renderTreeIcon($e,Cell.renderCheckboxCell($e))},renderCheckboxCellByProp($e){const{$table:Ie,row:Fe,column:Ue,isHidden:qe}=$e,{props:At,reactData:Dt}=Ie,{treeConfig:Lt}=At,{treeIndeterminateMaps:jt}=Dt,{computeCheckboxOpts:hn}=Ie.getComputeMaps(),vn=hn.value,{labelField:bn,checkField:kn,checkMethod:Cn,visibleMethod:xn}=vn,wn=vn.indeterminateField||vn.halfField,{slots:Sn}=Ue,_n=Sn?Sn.default:null,En=Sn?Sn.checkbox:null;let $n=!1,Tn=!1;const On=!xn||xn({row:Fe});let Nn=!!Cn,An;if(!qe){const Mn=getRowid(Ie,Fe);Tn=XEUtils$1.get(Fe,kn),An={onClick(Rn){!Nn&&On&&(Rn.stopPropagation(),Ie.triggerCheckRowEvent(Rn,$e,!Tn))}},Cn&&(Nn=!Cn({row:Fe})),Lt&&($n=!!jt[Mn])}const Pn=Object.assign(Object.assign({},$e),{checked:Tn,disabled:Nn,visible:On,indeterminate:$n});if(En)return Ie.callSlot(En,Pn);const In=[];return On&&(In.push(h$5("span",{class:["vxe-checkbox--icon",$n?getIcon$5().TABLE_CHECKBOX_INDETERMINATE:Tn?getIcon$5().TABLE_CHECKBOX_CHECKED:getIcon$5().TABLE_CHECKBOX_UNCHECKED]})),(_n||bn)&&In.push(h$5("span",{class:"vxe-checkbox--label"},_n?Ie.callSlot(_n,Pn):XEUtils$1.get(Fe,bn)))),[h$5("span",Object.assign({class:["vxe-cell--checkbox",{"is--checked":Tn,"is--disabled":Nn,"is--indeterminate":wn&&!Tn?Fe[wn]:$n,"is--hidden":!On}]},An),In)]},renderTreeSelectionCellByProp($e){return Cell.renderTreeIcon($e,Cell.renderCheckboxCellByProp($e))},renderExpandCell($e){const{$table:Ie,isHidden:Fe,row:Ue,column:qe}=$e,{reactData:At}=Ie,{rowExpandedMaps:Dt,rowExpandLazyLoadedMaps:Lt}=At,{computeExpandOpts:jt}=Ie.getComputeMaps(),hn=jt.value,{lazy:vn,labelField:bn,iconLoaded:kn,showIcon:Cn,iconOpen:xn,iconClose:wn,visibleMethod:Sn}=hn,{slots:_n}=qe,En=_n?_n.default:null,$n=_n?_n.icon:null;let Tn=!1,On=!1;if($n)return Ie.callSlot($n,$e);if(!Fe){const Nn=getRowid(Ie,Ue);Tn=!!Dt[Nn],vn&&(On=!!Lt[Nn])}return[Cn&&(!Sn||Sn($e))?h$5("span",{class:["vxe-table--expanded",{"is--active":Tn}],onClick(Nn){Nn.stopPropagation(),Ie.triggerRowExpandEvent(Nn,$e)}},[h$5("i",{class:["vxe-table--expand-btn",On?kn||getIcon$5().TABLE_EXPAND_LOADED:Tn?xn||getIcon$5().TABLE_EXPAND_OPEN:wn||getIcon$5().TABLE_EXPAND_CLOSE]})]):null,En||bn?h$5("span",{class:"vxe-table--expand-label"},En?Ie.callSlot(En,$e):XEUtils$1.get(Ue,bn)):null]},renderExpandData($e){const{$table:Ie,column:Fe}=$e,{slots:Ue,contentRender:qe}=Fe,At=Ue?Ue.content:null;if(At)return Ie.callSlot(At,$e);if(qe){const Dt=renderer$8.get(qe.name);if(Dt&&Dt.renderExpand)return getSlotVNs$1(Dt.renderExpand(qe,$e))}return[]},renderHTMLCell($e){const{$table:Ie,column:Fe}=$e,{slots:Ue}=Fe,qe=Ue?Ue.default:null;return qe?Ie.callSlot(qe,$e):[h$5("span",{class:"vxe-cell--html",innerHTML:getDefaultCellLabel($e)})]},renderTreeHTMLCell($e){return Cell.renderTreeIcon($e,Cell.renderHTMLCell($e))},renderSortAndFilterHeader($e){return Cell.renderDefaultHeader($e).concat(Cell.renderSortIcon($e)).concat(Cell.renderFilterIcon($e))},renderSortHeader($e){return Cell.renderDefaultHeader($e).concat(Cell.renderSortIcon($e))},renderSortIcon($e){const{$table:Ie,column:Fe}=$e,{computeSortOpts:Ue}=Ie.getComputeMaps(),qe=Ue.value,{showIcon:At,iconLayout:Dt,iconAsc:Lt,iconDesc:jt}=qe,{order:hn}=Fe;return At?[h$5("span",{class:["vxe-cell--sort",`vxe-cell--sort-${Dt}-layout`]},[h$5("i",{class:["vxe-sort--asc-btn",Lt||getIcon$5().TABLE_SORT_ASC,{"sort--active":hn==="asc"}],title:getI18n$b("vxe.table.sortAsc"),onClick(vn){vn.stopPropagation(),Ie.triggerSortEvent(vn,Fe,"asc")}}),h$5("i",{class:["vxe-sort--desc-btn",jt||getIcon$5().TABLE_SORT_DESC,{"sort--active":hn==="desc"}],title:getI18n$b("vxe.table.sortDesc"),onClick(vn){vn.stopPropagation(),Ie.triggerSortEvent(vn,Fe,"desc")}})])]:[]},renderFilterHeader($e){return Cell.renderDefaultHeader($e).concat(Cell.renderFilterIcon($e))},renderFilterIcon($e){const{$table:Ie,column:Fe,hasFilter:Ue}=$e,{reactData:qe}=Ie,{filterStore:At}=qe,{computeFilterOpts:Dt}=Ie.getComputeMaps(),Lt=Dt.value,{showIcon:jt,iconNone:hn,iconMatch:vn}=Lt;return jt?[h$5("span",{class:["vxe-cell--filter",{"is--active":At.visible&&At.column===Fe}]},[h$5("i",{class:["vxe-filter--btn",Ue?vn||getIcon$5().TABLE_FILTER_MATCH:hn||getIcon$5().TABLE_FILTER_NONE],title:getI18n$b("vxe.table.filter"),onClick(bn){Ie.triggerFilterEvent&&Ie.triggerFilterEvent(bn,$e.column,$e)}})])]:[]},renderEditHeader($e){const{$table:Ie,column:Fe}=$e,{props:Ue}=Ie,{computeEditOpts:qe}=Ie.getComputeMaps(),{editConfig:At,editRules:Dt}=Ue,Lt=qe.value,{sortable:jt,filters:hn,editRender:vn}=Fe;let bn=!1;if(Dt){const kn=XEUtils$1.get(Dt,Fe.field);kn&&(bn=kn.some(Cn=>Cn.required))}return(isEnableConf$1(At)?[bn&&Lt.showAsterisk?h$5("i",{class:"vxe-cell--required-icon"}):null,isEnableConf$1(vn)&&Lt.showIcon?h$5("i",{class:["vxe-cell--edit-icon",Lt.icon||getIcon$5().TABLE_EDIT]}):null]:[]).concat(Cell.renderDefaultHeader($e)).concat(jt?Cell.renderSortIcon($e):[]).concat(hn?Cell.renderFilterIcon($e):[])},renderRowEdit($e){const{$table:Ie,column:Fe}=$e,{reactData:Ue}=Ie,{editStore:qe}=Ue,{actived:At}=qe,{editRender:Dt}=Fe;return Cell.runRenderer($e,isEnableConf$1(Dt)&&At&&At.row===$e.row)},renderTreeRowEdit($e){return Cell.renderTreeIcon($e,Cell.renderRowEdit($e))},renderCellEdit($e){const{$table:Ie,column:Fe}=$e,{reactData:Ue}=Ie,{editStore:qe}=Ue,{actived:At}=qe,{editRender:Dt}=Fe;return Cell.runRenderer($e,isEnableConf$1(Dt)&&At&&At.row===$e.row&&At.column===$e.column)},renderTreeCellEdit($e){return Cell.renderTreeIcon($e,Cell.renderCellEdit($e))},runRenderer($e,Ie){const{$table:Fe,column:Ue}=$e,{slots:qe,editRender:At,formatter:Dt}=Ue,Lt=qe?qe.default:null,jt=qe?qe.edit:null,hn=renderer$8.get(At.name);return Ie?jt?Fe.callSlot(jt,$e):hn&&hn.renderEdit?getSlotVNs$1(hn.renderEdit(At,Object.assign({$type:"edit"},$e))):[]:Lt?Fe.callSlot(Lt,$e):Dt?[h$5("span",{class:"vxe-cell--label"},getDefaultCellLabel($e))]:Cell.renderDefaultCell($e)}},columnProps={colId:[String,Number],type:String,field:String,title:String,width:[Number,String],minWidth:[Number,String],maxWidth:[Number,String],resizable:{type:Boolean,default:null},fixed:String,align:String,headerAlign:String,footerAlign:String,showOverflow:{type:[Boolean,String],default:null},showHeaderOverflow:{type:[Boolean,String],default:null},showFooterOverflow:{type:[Boolean,String],default:null},className:[String,Function],headerClassName:[String,Function],footerClassName:[String,Function],formatter:[Function,Array,String],sortable:Boolean,sortBy:[String,Function],sortType:String,filters:{type:Array,default:null},filterMultiple:{type:Boolean,default:!0},filterMethod:Function,filterResetMethod:Function,filterRecoverMethod:Function,filterRender:Object,treeNode:Boolean,visible:{type:Boolean,default:null},headerExportMethod:Function,exportMethod:Function,footerExportMethod:Function,titleHelp:Object,titlePrefix:Object,titleSuffix:Object,cellType:String,cellRender:Object,editRender:Object,contentRender:Object,params:Object},VxeColumnComponent=defineComponent({name:"VxeColumn",props:columnProps,setup($e,{slots:Ie}){const Fe=ref(),Ue=inject("$xeTable",{}),qe=inject("$xeColgroup",null),At=Cell.createColumn(Ue,$e);At.slots=Ie;const Dt=()=>h$5("div",{ref:Fe}),Lt={column:At,renderVN:Dt};return watchColumn(Ue,$e,At),onMounted(()=>{assemColumn(Ue,Fe.value,At,qe)}),onUnmounted(()=>{destroyColumn(Ue,At)}),provide("$xeColumn",Lt),provide("$xeGrid",null),Dt}}),VxeColumn=Object.assign({},VxeColumnComponent,{install($e){$e.component(VxeColumnComponent.name,VxeColumnComponent),$e.component("VxeTableColumn",VxeColumnComponent)}});VxeUI.dynamicApp&&(VxeUI.dynamicApp.component(VxeColumnComponent.name,VxeColumnComponent),VxeUI.dynamicApp.component("VxeTableColumn",VxeColumnComponent));const Column=VxeColumn,VxeColgroupComponent=defineComponent({name:"VxeColgroup",props:columnProps,setup($e,{slots:Ie}){const Fe=ref(),Ue=inject("$xeTable",{}),qe=inject("$xeColgroup",null),At=Cell.createColumn(Ue,$e),Dt={};Ie.header&&(Dt.header=Ie.header),At.slots=Dt,At.children=[],watchColumn(Ue,$e,At),onMounted(()=>{assemColumn(Ue,Fe.value,At,qe)}),onUnmounted(()=>{destroyColumn(Ue,At)});const Lt=()=>h$5("div",{ref:Fe},Ie.default?Ie.default():[]);return provide("$xeColgroup",{column:At}),provide("$xeGrid",null),Lt}}),VxeColgroup=Object.assign({},VxeColgroupComponent,{install($e){$e.component(VxeColgroupComponent.name,VxeColgroupComponent),$e.component("VxeTableColgroup",VxeColgroupComponent)}});VxeUI.dynamicApp&&(VxeUI.dynamicApp.component(VxeColgroupComponent.name,VxeColgroupComponent),VxeUI.dynamicApp.component("VxeTableColgroup",VxeColgroupComponent));const Colgroup=VxeColgroup,{getI18n:getI18n$a,renderer:renderer$7}=VxeUI,renderType$2="body",lineOffsetSizes={mini:3,small:2,medium:1},TableBodyComponent=defineComponent({name:"VxeTableBody",props:{tableData:Array,tableColumn:Array,fixedColumn:Array,fixedType:{type:String,default:null}},setup($e){const Ie=inject("$xeTable",{}),Fe=inject("xesize",null),{xID:Ue,props:qe,context:At,reactData:Dt,internalData:Lt}=Ie,{refTableHeader:jt,refTableBody:hn,refTableFooter:vn,refTableLeftBody:bn,refTableRightBody:kn,refValidTooltip:Cn}=Ie.getRefMaps(),{computeEditOpts:xn,computeMouseOpts:wn,computeSYOpts:Sn,computeEmptyOpts:_n,computeKeyboardOpts:En,computeTooltipOpts:$n,computeRadioOpts:Tn,computeExpandOpts:On,computeTreeOpts:Nn,computeCheckboxOpts:An,computeValidOpts:Pn,computeRowOpts:In,computeColumnOpts:Mn}=Ie.getComputeMaps(),Rn=ref(),Un=ref(),Wn=ref(),jn=ref(),Fn=ref(),Bn=ref(),Dn=ref(),Ln=()=>{if(Fe){const po=Fe.value;if(po)return lineOffsetSizes[po]||0}return 0},Vn=()=>{const{delayHover:po}=qe,{lastScrollTime:mo,_isResize:No}=Dt;return!!(No||mo&&Date.now(){let No=1;if(!po)return No;const Mo=Nn.value,vo=Mo.children||Mo.childrenField,ho=po[vo];if(ho&&Ie.isTreeExpandByRow(po))for(let $o=0;$o{let Mo=1;return No&&(Mo=zn(mo[No-1])),Dt.rowHeight*Mo-(No?1:12-Ln())},Yn=po=>{const{row:mo,column:No}=po,{afterFullData:Mo}=Lt,{treeConfig:vo}=qe,ho=Nn.value,{slots:$o,treeNode:_o}=No,{fullAllDataRowIdData:Oo}=Lt,oo=getRowid(Ie,mo),Co=Oo[oo];let yo=0,Io=0,xo=[];if(Co&&(yo=Co.level,Io=Co._index,xo=Co.items),$o&&$o.line)return Ie.callSlot($o.line,po);const Ao=Ie.eqRow(Mo[0],mo);return vo&&_o&&(ho.showLine||ho.line)?[h$5("div",{class:"vxe-tree--line-wrapper"},[h$5("div",{class:"vxe-tree--line",style:{height:`${Ao?1:Hn(po,xo,Io)}px`,left:`${yo*ho.indent+(yo?2-Ln():0)+16}px`}})])]:[]},Qn=(po,mo,No,Mo,vo,ho,$o,_o,Oo,oo,Co,yo)=>{const{columnKey:Io,height:xo,showOverflow:Ao,cellClassName:bo,cellStyle:Fo,align:Po,spanMethod:ko,mouseConfig:zo,editConfig:Yo,editRules:Ro,tooltipConfig:er}=qe,{tableData:go,overflowX:rr,scrollYLoad:hr,currentColumn:gr,mergeList:mr,editStore:kr,isAllOverflow:Er,validErrorMaps:Rr}=Dt,{afterFullData:Wr}=Lt,Cr=Pn.value,ai=An.value,hi=xn.value,pi=$n.value,vi=In.value,li=Sn.value,oi=Mn.value,{type:Zr,cellRender:_r,editRender:ir,align:lr,showOverflow:Go,className:Fr,treeNode:si,slots:Jr}=Oo,{actived:Gr}=kr,{rHeight:Kr}=li,{height:Lr}=vi,Or=ir||_r,Pr=Or?renderer$7.get(Or.name):null,sr=Pr?Pr.cellClassName:"",Ar=Pr?Pr.cellStyle:"",Ir=pi.showAll,Mr=Ie.getColumnIndex(Oo),Xr=Ie.getVTColumnIndex(Oo),ci=isEnableConf$1(ir);let di=No?Oo.fixed!==No:Oo.fixed&&rr;const ki=XEUtils$1.isUndefined(Go)||XEUtils$1.isNull(Go)?Ao:Go;let $i=ki==="ellipsis";const Ti=ki==="title",Ei=ki===!0||ki==="tooltip";let Pi=Ti||Ei||$i,ji;const Di={},Fi=lr||Po,Mi=Rr[`${mo}:${Oo.id}`],Bi=Ro&&Cr.showMessage&&(Cr.message==="default"?xo||go.length>1:Cr.message==="inline"),qo={colid:Oo.id},fr={$table:Ie,$grid:Ie.xegrid,seq:po,rowid:mo,row:vo,rowIndex:ho,$rowIndex:$o,_rowIndex:_o,column:Oo,columnIndex:Mr,$columnIndex:oo,_columnIndex:Xr,fixed:No,type:renderType$2,isHidden:di,level:Mo,visibleData:Wr,data:go,items:yo};if(hr&&!Pi&&($i=Pi=!0),(Ti||Ei||Ir||er)&&(Di.onMouseenter=xr=>{Vn()||(Ti?updateCellTitle(xr.currentTarget,Oo):(Ei||Ir)&&Ie.triggerBodyTooltipEvent(xr,fr),Ie.dispatchEvent("cell-mouseenter",Object.assign({cell:xr.currentTarget},fr),xr))}),(Ei||Ir||er)&&(Di.onMouseleave=xr=>{Vn()||((Ei||Ir)&&Ie.handleTargetLeaveEvent(xr),Ie.dispatchEvent("cell-mouseleave",Object.assign({cell:xr.currentTarget},fr),xr))}),(ai.range||zo)&&(Di.onMousedown=xr=>{Ie.triggerCellMousedownEvent(xr,fr)}),Di.onClick=xr=>{Ie.triggerCellClickEvent(xr,fr)},Di.onDblclick=xr=>{Ie.triggerCellDblclickEvent(xr,fr)},mr.length){const xr=mergeBodyMethod(mr,_o,Xr);if(xr){const{rowspan:zr,colspan:Br}=xr;if(!zr||!Br)return null;zr>1&&(qo.rowspan=zr),Br>1&&(qo.colspan=Br)}}else if(ko){const{rowspan:xr=1,colspan:zr=1}=ko(fr)||{};if(!xr||!zr)return null;xr>1&&(qo.rowspan=xr),zr>1&&(qo.colspan=zr)}di&&mr&&(qo.colspan>1||qo.rowspan>1)&&(di=!1),!di&&Yo&&(ir||_r)&&(hi.showStatus||hi.showUpdateStatus)&&(ji=Ie.isUpdateByRow(vo,Oo.field));const wr=[];if(di&&Ao&&Er)wr.push(h$5("div",{class:["vxe-cell",{"c--title":Ti,"c--tooltip":Ei,"c--ellipsis":$i}],style:{maxHeight:Pi&&(Kr||Lr)?`${Kr||Lr}px`:""}}));else if(wr.push(...Yn(fr),h$5("div",{class:["vxe-cell",{"c--title":Ti,"c--tooltip":Ei,"c--ellipsis":$i}],style:{maxHeight:Pi&&(Kr||Lr)?`${Kr||Lr}px`:""},title:Ti?Ie.getCellLabel(vo,Oo):null},Oo.renderCell(fr))),Bi&&Mi){const xr=Mi.rule,zr=Jr?Jr.valid:null,Br=Object.assign(Object.assign({},fr),Mi);wr.push(h$5("div",{class:["vxe-cell--valid-error-hint",getPropClass(Cr.className,Br)],style:xr&&xr.maxWidth?{width:`${xr.maxWidth}px`}:null},zr?Ie.callSlot(zr,Br):[h$5("span",{class:"vxe-cell--valid-error-msg"},Mi.content)]))}return h$5("td",Object.assign(Object.assign(Object.assign({class:["vxe-body--column",Oo.id,{[`col--${Fi}`]:Fi,[`col--${Zr}`]:Zr,"col--last":oo===Co.length-1,"col--tree-node":si,"col--edit":ci,"col--ellipsis":Pi,"fixed--hidden":di,"col--dirty":ji,"col--active":Yo&&ci&&Gr.row===vo&&(Gr.column===Oo||hi.mode==="row"),"col--valid-error":!!Mi,"col--current":gr===Oo},getPropClass(sr,fr),getPropClass(Fr,fr),getPropClass(bo,fr)],key:Io||oi.useKey?Oo.id:oo},qo),{style:Object.assign({height:Pi&&(Kr||Lr)?`${Kr||Lr}px`:""},XEUtils$1.isFunction(Ar)?Ar(fr):Ar,XEUtils$1.isFunction(Fo)?Fo(fr):Fo)}),Di),wr)},lo=(po,mo,No)=>{const{stripe:Mo,rowKey:vo,highlightHoverRow:ho,rowClassName:$o,rowStyle:_o,showOverflow:Oo,editConfig:oo,treeConfig:Co}=qe,{hasFixedColumn:yo,treeExpandedMaps:Io,scrollYLoad:xo,rowExpandedMaps:Ao,expandColumn:bo,selectRadioRow:Fo,pendingRowMaps:Po,pendingRowList:ko}=Dt,{fullAllDataRowIdData:zo}=Lt,Yo=An.value,Ro=Tn.value,er=Nn.value,go=xn.value,rr=In.value,{transform:hr}=er,gr=er.children||er.childrenField,mr=[];return mo.forEach((kr,Er)=>{const Rr={};let Wr=Er;Wr=Ie.getRowIndex(kr),(rr.isHover||ho)&&(Rr.onMouseenter=lr=>{Vn()||Ie.triggerHoverEvent(lr,{row:kr,rowIndex:Wr})},Rr.onMouseleave=()=>{Vn()||Ie.clearHoverRow()});const Cr=getRowid(Ie,kr),ai=zo[Cr];let hi=0,pi=-1,vi=0;ai&&(hi=ai.level,pi=ai.seq,vi=ai._index);const li={$table:Ie,seq:pi,rowid:Cr,fixed:po,type:renderType$2,level:hi,row:kr,rowIndex:Wr,$rowIndex:Er,_rowIndex:vi},oi=bo&&!!Ao[Cr];let Zr=!1,_r=[],ir=!1;if(oo&&(ir=Ie.isInsertByRow(kr)),Co&&!xo&&!hr&&(_r=kr[gr],Zr=_r&&_r.length>0&&!!Io[Cr]),mr.push(h$5("tr",Object.assign({class:["vxe-body--row",Co?`row--level-${hi}`:"",{"row--stripe":Mo&&(Ie.getVTRowIndex(kr)+1)%2===0,"is--new":ir,"is--expand-row":oi,"is--expand-tree":Zr,"row--new":ir&&(go.showStatus||go.showInsertStatus),"row--radio":Ro.highlight&&Ie.eqRow(Fo,kr),"row--checked":Yo.highlight&&Ie.isCheckedByCheckboxRow(kr),"row--pending":ko.length&&!!Po[Cr]},getPropClass($o,li)],rowid:Cr,style:_o?XEUtils$1.isFunction(_o)?_o(li):_o:null,key:vo||rr.useKey||Co?Cr:Er},Rr),No.map((lr,Go)=>Qn(pi,Cr,po,hi,kr,Wr,Er,vi,lr,Go,No,mo)))),oi){const lr=On.value,{height:Go,padding:Fr}=lr,si={};Go&&(si.height=`${Go}px`),Co&&(si.paddingLeft=`${hi*er.indent+30}px`);const{showOverflow:Jr}=bo,Gr=XEUtils$1.isUndefined(Jr)||XEUtils$1.isNull(Jr)?Oo:Jr,Kr={$table:Ie,seq:pi,column:bo,fixed:po,type:renderType$2,level:hi,row:kr,rowIndex:Wr,$rowIndex:Er,_rowIndex:vi};mr.push(h$5("tr",Object.assign({class:["vxe-body--expanded-row",{"is--padding":Fr}],key:`expand_${Cr}`,style:_o?XEUtils$1.isFunction(_o)?_o(Kr):_o:null},Rr),[h$5("td",{class:{"vxe-body--expanded-column":1,"fixed--hidden":po&&!yo,"col--ellipsis":Gr},colspan:No.length},[h$5("div",{class:{"vxe-body--expanded-cell":1,"is--ellipsis":Go},style:si},[bo.renderData(Kr)])])]))}Zr&&mr.push(...lo(po,_r,No))}),mr};let ro;const no=(po,mo,No,Mo)=>{(No||Mo)&&(No&&(removeScrollListener(No),No.scrollTop=mo),Mo&&(removeScrollListener(Mo),Mo.scrollTop=mo),clearTimeout(ro),ro=setTimeout(()=>{restoreScrollListener(No),restoreScrollListener(Mo),Dt.lastScrollTime=Date.now()},300))},qn=po=>{const{fixedType:mo}=$e,{highlightHoverRow:No}=qe,{scrollXLoad:Mo,scrollYLoad:vo}=Dt,{elemStore:ho,lastScrollTop:$o,lastScrollLeft:_o}=Lt,Oo=In.value,oo=jt.value,Co=hn.value,yo=vn.value,Io=bn.value,xo=kn.value,Ao=Cn.value,bo=Rn.value,Fo=oo?oo.$el:null,Po=yo?yo.$el:null,ko=Co.$el,zo=Io?Io.$el:null,Yo=xo?xo.$el:null,Ro=ho["main-body-ySpace"],er=Ro?Ro.value:null,go=ho["main-body-xSpace"],rr=go?go.value:null,hr=vo&&er?er.clientHeight:ko.clientHeight,gr=Mo&&rr?rr.clientWidth:ko.clientWidth;let mr=bo.scrollTop;const kr=ko.scrollLeft,Er=kr!==_o,Rr=mr!==$o;Lt.lastScrollTop=mr,Lt.lastScrollLeft=kr,Dt.lastScrollTime=Date.now(),(Oo.isHover||No)&&Ie.clearHoverRow(),zo&&mo==="left"?(mr=zo.scrollTop,no(mo,mr,ko,Yo)):Yo&&mo==="right"?(mr=Yo.scrollTop,no(mo,mr,ko,zo)):(Er&&(Fo&&(Fo.scrollLeft=ko.scrollLeft),Po&&(Po.scrollLeft=ko.scrollLeft)),(zo||Yo)&&(Ie.checkScrolling(),Rr&&no(mo,mr,zo,Yo))),Mo&&Er&&Ie.triggerScrollXEvent(po),vo&&Rr&&Ie.triggerScrollYEvent(po),Er&&Ao&&Ao.reactData.visible&&Ao.updatePlacement(),Ie.dispatchEvent("scroll",{type:renderType$2,fixed:mo,scrollTop:mr,scrollLeft:kr,scrollHeight:ko.scrollHeight,scrollWidth:ko.scrollWidth,bodyHeight:hr,bodyWidth:gr,isX:Er,isY:Rr},po)};let Gn,so=0,Xn=0,io=0,fo=!1;const Zn=(po,mo,No,Mo,vo)=>{const{elemStore:ho}=Lt,{scrollXLoad:$o,scrollYLoad:_o}=Dt,Oo=hn.value,oo=bn.value,Co=kn.value,yo=oo?oo.$el:null,Io=Co?Co.$el:null,xo=Oo.$el,Ao=ho["main-body-ySpace"],bo=Ao?Ao.value:null,Fo=ho["main-body-xSpace"],Po=Fo?Fo.value:null,ko=_o&&bo?bo.clientHeight:xo.clientHeight,zo=$o&&Po?Po.clientWidth:xo.clientWidth,Yo=fo===mo?Math.max(0,so-io):0;fo=mo,so=Math.abs(mo?No-Yo:No+Yo),Xn=0,io=0,clearTimeout(Gn);const Ro=()=>{if(ioso&&(Xn=Xn-(io-so));const{scrollTop:go,clientHeight:rr,scrollHeight:hr}=xo,gr=go+Xn*(mo?-1:1);xo.scrollTop=gr,yo&&(yo.scrollTop=gr),Io&&(Io.scrollTop=gr),(mo?gr=0)&&(Gn=setTimeout(Ro,10)),Ie.dispatchEvent("scroll",{type:renderType$2,fixed:er,scrollTop:xo.scrollTop,scrollLeft:xo.scrollLeft,scrollHeight:xo.scrollHeight,scrollWidth:xo.scrollWidth,bodyHeight:ko,bodyWidth:zo,isX:Mo,isY:vo},po)}};Ro()},to=po=>{const{deltaY:mo,deltaX:No}=po,{highlightHoverRow:Mo}=qe,{scrollYLoad:vo}=Dt,{lastScrollTop:ho,lastScrollLeft:$o}=Lt,_o=In.value,Oo=hn.value,oo=Rn.value,Co=Oo.$el,yo=mo,Io=No,xo=yo<0;if(xo?oo.scrollTop<=0:oo.scrollTop>=oo.scrollHeight-oo.clientHeight)return;const Ao=oo.scrollTop+yo,bo=Co.scrollLeft+Io,Fo=bo!==$o,Po=Ao!==ho;Po&&(po.preventDefault(),Lt.lastScrollTop=Ao,Lt.lastScrollLeft=bo,Dt.lastScrollTime=Date.now(),(_o.isHover||Mo)&&Ie.clearHoverRow(),Zn(po,xo,yo,Fo,Po),vo&&Ie.triggerScrollYEvent(po))};return onMounted(()=>{nextTick(()=>{const{fixedType:po}=$e,{elemStore:mo}=Lt,No=`${po||"main"}-body-`,Mo=Rn.value;mo[`${No}wrapper`]=Rn,mo[`${No}table`]=Un,mo[`${No}colgroup`]=Wn,mo[`${No}list`]=jn,mo[`${No}xSpace`]=Fn,mo[`${No}ySpace`]=Bn,mo[`${No}emptyBlock`]=Dn,Mo&&(Mo.onscroll=qn,Mo._onscroll=qn)})}),onBeforeUnmount(()=>{const po=Rn.value;clearTimeout(Gn),po&&(po._onscroll=null,po.onscroll=null)}),onUnmounted(()=>{const{fixedType:po}=$e,{elemStore:mo}=Lt,No=`${po||"main"}-body-`;mo[`${No}wrapper`]=null,mo[`${No}table`]=null,mo[`${No}colgroup`]=null,mo[`${No}list`]=null,mo[`${No}xSpace`]=null,mo[`${No}ySpace`]=null,mo[`${No}emptyBlock`]=null}),()=>{let{fixedColumn:po,fixedType:mo,tableColumn:No}=$e;const{keyboardConfig:Mo,showOverflow:vo,spanMethod:ho,mouseConfig:$o}=qe,{tableData:_o,mergeList:Oo,scrollYLoad:oo,isAllOverflow:Co}=Dt,{visibleColumn:yo}=Lt,{slots:Io}=At,xo=Sn.value,Ao=_n.value,bo=En.value,Fo=wn.value;mo&&(!Dt.expandColumn&&(oo||vo&&Co)&&!Oo.length&&!ho&&!(Mo&&bo.isMerge)?No=po:No=yo);let Po;const ko=Io?Io.empty:null;if(ko)Po=Ie.callSlot(ko,{$table:Ie,$grid:Ie.xegrid});else{const zo=Ao.name?renderer$7.get(Ao.name):null,Yo=zo?zo.renderTableEmptyView||zo.renderEmpty:null;Yo?Po=getSlotVNs$1(Yo(Ao,{$table:Ie})):Po=qe.emptyText||getI18n$a("vxe.table.emptyText")}return h$5("div",Object.assign({ref:Rn,class:["vxe-table--body-wrapper",mo?`fixed-${mo}--wrapper`:"body--wrapper"],xid:Ue},xo.mode==="wheel"?{onWheel:to}:{}),[mo?createCommentVNode():h$5("div",{ref:Fn,class:"vxe-body--x-space"}),h$5("div",{ref:Bn,class:"vxe-body--y-space"}),h$5("table",{ref:Un,class:"vxe-table--body",xid:Ue,cellspacing:0,cellpadding:0,border:0},[h$5("colgroup",{ref:Wn},No.map((zo,Yo)=>h$5("col",{name:zo.id,key:Yo}))),h$5("tbody",{ref:jn},lo(mo,_o,No))]),h$5("div",{class:"vxe-table--checkbox-range"}),$o&&Fo.area?h$5("div",{class:"vxe-table--cell-area"},[h$5("span",{class:"vxe-table--cell-main-area"},Fo.extension?[h$5("span",{class:"vxe-table--cell-main-area-btn",onMousedown(zo){Ie.triggerCellExtendMousedownEvent(zo,{$table:Ie,fixed:mo,type:renderType$2})}})]:[]),h$5("span",{class:"vxe-table--cell-copy-area"}),h$5("span",{class:"vxe-table--cell-extend-area"}),h$5("span",{class:"vxe-table--cell-multi-area"}),h$5("span",{class:"vxe-table--cell-active-area"})]):null,mo?null:h$5("div",{class:"vxe-table--empty-block",ref:Dn},[h$5("div",{class:"vxe-table--empty-content"},Po)])])}}}),renderType$1="header",TableHeaderComponent=defineComponent({name:"VxeTableHeader",props:{tableData:Array,tableColumn:Array,tableGroupColumn:Array,fixedColumn:Array,fixedType:{type:String,default:null}},setup($e){const Ie=inject("$xeTable",{}),{xID:Fe,props:Ue,reactData:qe,internalData:At}=Ie,{refElem:Dt,refTableBody:Lt,refLeftContainer:jt,refRightContainer:hn,refCellResizeBar:vn}=Ie.getRefMaps(),{computeColumnOpts:bn}=Ie.getComputeMaps(),kn=ref([]),Cn=ref(),xn=ref(),wn=ref(),Sn=ref(),_n=ref(),En=ref(),$n=()=>{const{isGroup:Nn}=qe;kn.value=Nn?convertHeaderColumnToRows($e.tableGroupColumn):[]},Tn=(Nn,An)=>{const{column:Pn}=An,{fixedType:In}=$e,Mn=Lt.value,Rn=jt.value,Un=hn.value,Wn=vn.value,{clientX:jn}=Nn,Fn=Cn.value,Bn=Nn.target,Dn=An.cell=Bn.parentNode;let Ln=0;const Vn=Mn.$el,zn=getOffsetPos$1(Bn,Fn),Hn=Bn.clientWidth,Yn=Math.floor(Hn/2),Qn=getColReMinWidth(An)-Yn;let lo=zn.left-Dn.clientWidth+Hn+Qn,ro=zn.left+Yn;const no=document.onmousemove,qn=document.onmouseup,Gn=In==="left",so=In==="right",Xn=Dt.value;let io=0;if(Gn||so){const Zn=Gn?"nextElementSibling":"previousElementSibling";let to=Dn[Zn];for(;to&&!hasClass$2(to,"fixed--hidden");)hasClass$2(to,"col--group")||(io+=to.offsetWidth),to=to[Zn];so&&Un&&(ro=Un.offsetLeft+io)}const fo=function(Zn){Zn.stopPropagation(),Zn.preventDefault();const to=Zn.clientX-jn;let ao=ro+to;const po=In?0:Vn.scrollLeft;Gn?ao=Math.min(ao,(Un?Un.offsetLeft:Vn.clientWidth)-io-Qn):so?(lo=(Rn?Rn.clientWidth:0)+io+Qn,ao=Math.min(ao,ro+Dn.clientWidth-Qn)):lo=Math.max(Vn.scrollLeft,lo),Ln=Math.max(ao,lo),Wn.style.left=`${Ln-po}px`};qe._isResize=!0,addClass$3(Xn,"drag--resize"),Wn.style.display="block",document.onmousemove=fo,document.onmouseup=function(Zn){document.onmousemove=no,document.onmouseup=qn;const to=Pn.renderWidth+(so?ro-Ln:Ln-ro);Pn.resizeWidth=to,Wn.style.display="none",qe._isResize=!1,At._lastResizeTime=Date.now(),Ie.analyColumnWidth(),Ie.recalculate(!0).then(()=>{Ie.saveCustomStore("update:visible"),Ie.updateCellAreas(),Ie.dispatchEvent("resizable-change",Object.assign(Object.assign({},An),{resizeWidth:to}),Zn)}),removeClass$3(Xn,"drag--resize")},fo(Nn),Ie.closeMenu&&Ie.closeMenu()};return watch(()=>$e.tableColumn,$n),onMounted(()=>{nextTick(()=>{const{fixedType:Nn}=$e,{internalData:An}=Ie,{elemStore:Pn}=An,In=`${Nn||"main"}-header-`;Pn[`${In}wrapper`]=Cn,Pn[`${In}table`]=xn,Pn[`${In}colgroup`]=wn,Pn[`${In}list`]=Sn,Pn[`${In}xSpace`]=_n,Pn[`${In}repair`]=En,$n()})}),onUnmounted(()=>{const{fixedType:Nn}=$e,{internalData:An}=Ie,{elemStore:Pn}=An,In=`${Nn||"main"}-header-`;Pn[`${In}wrapper`]=null,Pn[`${In}table`]=null,Pn[`${In}colgroup`]=null,Pn[`${In}list`]=null,Pn[`${In}xSpace`]=null,Pn[`${In}repair`]=null}),()=>{const{fixedType:Nn,fixedColumn:An,tableColumn:Pn}=$e,{resizable:In,border:Mn,columnKey:Rn,headerRowClassName:Un,headerCellClassName:Wn,headerRowStyle:jn,headerCellStyle:Fn,showHeaderOverflow:Bn,headerAlign:Dn,align:Ln,mouseConfig:Vn}=Ue,{isGroup:zn,currentColumn:Hn,scrollXLoad:Yn,overflowX:Qn,scrollbarWidth:lo}=qe,{visibleColumn:ro}=At,no=bn.value;let qn=kn.value,Gn=Pn;return zn?Gn=ro:(Nn&&(Yn||Bn)&&(Gn=An),qn=[Gn]),h$5("div",{ref:Cn,class:["vxe-table--header-wrapper",Nn?`fixed-${Nn}--wrapper`:"body--wrapper"],xid:Fe},[Nn?createCommentVNode():h$5("div",{ref:_n,class:"vxe-body--x-space"}),h$5("table",{ref:xn,class:"vxe-table--header",xid:Fe,cellspacing:0,cellpadding:0,border:0},[h$5("colgroup",{ref:wn},Gn.map((so,Xn)=>h$5("col",{name:so.id,key:Xn})).concat(lo?[h$5("col",{name:"col_gutter"})]:[])),h$5("thead",{ref:Sn},qn.map((so,Xn)=>h$5("tr",{class:["vxe-header--row",Un?XEUtils$1.isFunction(Un)?Un({$table:Ie,$rowIndex:Xn,fixed:Nn,type:renderType$1}):Un:""],style:jn?XEUtils$1.isFunction(jn)?jn({$table:Ie,$rowIndex:Xn,fixed:Nn,type:renderType$1}):jn:null},so.map((io,fo)=>{const{type:Zn,showHeaderOverflow:to,headerAlign:ao,align:po,headerClassName:mo}=io,No=io.children&&io.children.length,Mo=Nn?io.fixed!==Nn&&!No:!!io.fixed&&Qn,vo=XEUtils$1.isUndefined(to)||XEUtils$1.isNull(to)?Bn:to,ho=ao||po||Dn||Ln;let $o=vo==="ellipsis";const _o=vo==="title",Oo=vo===!0||vo==="tooltip";let oo=_o||Oo||$o;const Co=io.filters&&io.filters.some(bo=>bo.checked),yo=Ie.getColumnIndex(io),Io=Ie.getVTColumnIndex(io),xo={$table:Ie,$grid:Ie.xegrid,$rowIndex:Xn,column:io,columnIndex:yo,$columnIndex:fo,_columnIndex:Io,fixed:Nn,type:renderType$1,isHidden:Mo,hasFilter:Co},Ao={onClick:bo=>Ie.triggerHeaderCellClickEvent(bo,xo),onDblclick:bo=>Ie.triggerHeaderCellDblclickEvent(bo,xo)};return Yn&&!oo&&($o=oo=!0),Vn&&(Ao.onMousedown=bo=>Ie.triggerHeaderCellMousedownEvent(bo,xo)),h$5("th",Object.assign(Object.assign({class:["vxe-header--column",io.id,{[`col--${ho}`]:ho,[`col--${Zn}`]:Zn,"col--last":fo===so.length-1,"col--fixed":io.fixed,"col--group":No,"col--ellipsis":oo,"fixed--hidden":Mo,"is--sortable":io.sortable,"col--filter":!!io.filters,"is--filter-active":Co,"col--current":Hn===io},mo?XEUtils$1.isFunction(mo)?mo(xo):mo:"",Wn?XEUtils$1.isFunction(Wn)?Wn(xo):Wn:""],colid:io.id,colspan:io.colSpan>1?io.colSpan:null,rowspan:io.rowSpan>1?io.rowSpan:null,style:Fn?XEUtils$1.isFunction(Fn)?Fn(xo):Fn:null},Ao),{key:Rn||no.useKey||No?io.id:fo}),[h$5("div",{class:["vxe-cell",{"c--title":_o,"c--tooltip":Oo,"c--ellipsis":$o}]},io.renderHeader(xo)),!Mo&&!No&&(XEUtils$1.isBoolean(io.resizable)?io.resizable:no.resizable||In)?h$5("div",{class:["vxe-resizable",{"is--line":!Mn||Mn==="none"}],onMousedown:bo=>Tn(bo,xo)}):null])}).concat(lo?[h$5("th",{class:"vxe-header--gutter col--gutter"})]:[]))))]),h$5("div",{ref:En,class:"vxe-table--header-border-line"})])}}}),renderType="footer";function mergeFooterMethod($e,Ie,Fe){for(let Ue=0;Ue<$e.length;Ue++){const{row:qe,col:At,rowspan:Dt,colspan:Lt}=$e[Ue];if(At>-1&&qe>-1&&Dt&&Lt){if(qe===Ie&&At===Fe)return{rowspan:Dt,colspan:Lt};if(Ie>=qe&&Ie=At&&Fe[]},tableColumn:{type:Array,default:()=>[]},fixedColumn:{type:Array,default:()=>[]},fixedType:{type:String,default:null}},setup($e){const Ie=inject("$xeTable",{}),{xID:Fe,props:Ue,reactData:qe,internalData:At}=Ie,{refTableHeader:Dt,refTableBody:Lt,refValidTooltip:jt}=Ie.getRefMaps(),{computeTooltipOpts:hn,computeColumnOpts:vn}=Ie.getComputeMaps(),bn=ref(),kn=ref(),Cn=ref(),xn=ref(),wn=ref(),Sn=En=>{const{fixedType:$n}=$e,{scrollXLoad:Tn}=qe,{lastScrollLeft:On}=At,Nn=jt.value,An=Dt.value,Pn=Lt.value,In=An?An.$el:null,Mn=bn.value,Rn=Pn.$el,Un=Mn.scrollLeft,Wn=Un!==On;At.lastScrollLeft=Un,qe.lastScrollTime=Date.now(),In&&(In.scrollLeft=Un),Rn&&(Rn.scrollLeft=Un),Tn&&Wn&&Ie.triggerScrollXEvent(En),Wn&&Nn&&Nn.reactData.visible&&Nn.updatePlacement(),Ie.dispatchEvent("scroll",{type:renderType,fixed:$n,scrollTop:Rn.scrollTop,scrollLeft:Un,isX:Wn,isY:!1},En)};return onMounted(()=>{nextTick(()=>{const{fixedType:En}=$e,{elemStore:$n}=At,Tn=`${En||"main"}-footer-`;$n[`${Tn}wrapper`]=bn,$n[`${Tn}table`]=kn,$n[`${Tn}colgroup`]=Cn,$n[`${Tn}list`]=xn,$n[`${Tn}xSpace`]=wn})}),onUnmounted(()=>{const{fixedType:En}=$e,{elemStore:$n}=At,Tn=`${En||"main"}-footer-`;$n[`${Tn}wrapper`]=null,$n[`${Tn}table`]=null,$n[`${Tn}colgroup`]=null,$n[`${Tn}list`]=null,$n[`${Tn}xSpace`]=null}),()=>{let{fixedType:En,fixedColumn:$n,tableColumn:Tn,footerTableData:On}=$e;const{footerRowClassName:Nn,footerCellClassName:An,footerRowStyle:Pn,footerCellStyle:In,footerAlign:Mn,footerSpanMethod:Rn,align:Un,columnKey:Wn,showFooterOverflow:jn}=Ue,{visibleColumn:Fn}=At,{scrollXLoad:Bn,overflowX:Dn,scrollbarWidth:Ln,currentColumn:Vn,mergeFooterList:zn}=qe,Hn=hn.value,Yn=vn.value;return En&&(!qe.expandColumn&&(Bn||jn)&&(!zn.length||!Rn)?Tn=$n:Tn=Fn),h$5("div",{ref:bn,class:["vxe-table--footer-wrapper",En?`fixed-${En}--wrapper`:"body--wrapper"],xid:Fe,onScroll:Sn},[En?createCommentVNode():h$5("div",{ref:wn,class:"vxe-body--x-space"}),h$5("table",{ref:kn,class:"vxe-table--footer",xid:Fe,cellspacing:0,cellpadding:0,border:0},[h$5("colgroup",{ref:Cn},Tn.map((Qn,lo)=>h$5("col",{name:Qn.id,key:lo})).concat(Ln?[h$5("col",{name:"col_gutter"})]:[])),h$5("tfoot",{ref:xn},On.map((Qn,lo)=>{const ro=lo,no={$table:Ie,row:Qn,_rowIndex:lo,$rowIndex:ro,fixed:En,type:renderType};return h$5("tr",{class:["vxe-footer--row",Nn?XEUtils$1.isFunction(Nn)?Nn(no):Nn:""],style:Pn?XEUtils$1.isFunction(Pn)?Pn(no):Pn:null},Tn.map((qn,Gn)=>{const{type:so,showFooterOverflow:Xn,footerAlign:io,align:fo,footerClassName:Zn}=qn,to=Hn.showAll,ao=qn.children&&qn.children.length,po=En?qn.fixed!==En&&!ao:qn.fixed&&Dn,mo=XEUtils$1.isUndefined(Xn)||XEUtils$1.isNull(Xn)?jn:Xn,No=io||fo||Mn||Un;let Mo=mo==="ellipsis";const vo=mo==="title",ho=mo===!0||mo==="tooltip";let $o=vo||ho||Mo;const _o={colid:qn.id},Oo={},oo=Ie.getColumnIndex(qn),Co=Ie.getVTColumnIndex(qn),yo=Co,Io={$table:Ie,$grid:Ie.xegrid,row:Qn,rowIndex:lo,_rowIndex:lo,$rowIndex:ro,column:qn,columnIndex:oo,$columnIndex:Gn,_columnIndex:Co,itemIndex:yo,items:Qn,fixed:En,type:renderType,data:On};if(Bn&&!$o&&(Mo=$o=!0),(vo||ho||to)&&(Oo.onMouseenter=xo=>{vo?updateCellTitle(xo.currentTarget,qn):(ho||to)&&Ie.triggerFooterTooltipEvent(xo,Io)}),(ho||to)&&(Oo.onMouseleave=xo=>{(ho||to)&&Ie.handleTargetLeaveEvent(xo)}),Oo.onClick=xo=>{Ie.dispatchEvent("footer-cell-click",Object.assign({cell:xo.currentTarget},Io),xo)},Oo.onDblclick=xo=>{Ie.dispatchEvent("footer-cell-dblclick",Object.assign({cell:xo.currentTarget},Io),xo)},zn.length){const xo=mergeFooterMethod(zn,lo,Co);if(xo){const{rowspan:Ao,colspan:bo}=xo;if(!Ao||!bo)return null;Ao>1&&(_o.rowspan=Ao),bo>1&&(_o.colspan=bo)}}else if(Rn){const{rowspan:xo=1,colspan:Ao=1}=Rn(Io)||{};if(!xo||!Ao)return null;xo>1&&(_o.rowspan=xo),Ao>1&&(_o.colspan=Ao)}return h$5("td",Object.assign(Object.assign(Object.assign(Object.assign({class:["vxe-footer--column",qn.id,{[`col--${No}`]:No,[`col--${so}`]:so,"col--last":Gn===Tn.length-1,"fixed--hidden":po,"col--ellipsis":$o,"col--current":Vn===qn},getPropClass(Zn,Io),getPropClass(An,Io)]},_o),{style:In?XEUtils$1.isFunction(In)?In(Io):In:null}),Oo),{key:Wn||Yn.useKey?qn.id:Gn}),[h$5("div",{class:["vxe-cell",{"c--title":vo,"c--tooltip":ho,"c--ellipsis":Mo}]},qn.renderFooter(Io))])}).concat(Ln?[h$5("td",{class:"vxe-footer--gutter col--gutter"})]:[]))}))])])}}}),{getConfig:getConfig$6}=VxeUI,tableComponentProps={id:String,data:Array,height:[Number,String],minHeight:{type:[Number,String],default:()=>getConfig$6().table.minHeight},maxHeight:[Number,String],resizable:{type:Boolean,default:()=>getConfig$6().table.resizable},stripe:{type:Boolean,default:()=>getConfig$6().table.stripe},border:{type:[Boolean,String],default:()=>getConfig$6().table.border},round:{type:Boolean,default:()=>getConfig$6().table.round},size:{type:String,default:()=>getConfig$6().table.size||getConfig$6().size},fit:{type:Boolean,default:()=>getConfig$6().table.fit},loading:Boolean,align:{type:String,default:()=>getConfig$6().table.align},headerAlign:{type:String,default:()=>getConfig$6().table.headerAlign},footerAlign:{type:String,default:()=>getConfig$6().table.footerAlign},showHeader:{type:Boolean,default:()=>getConfig$6().table.showHeader},highlightCurrentRow:{type:Boolean,default:()=>getConfig$6().table.highlightCurrentRow},highlightHoverRow:{type:Boolean,default:()=>getConfig$6().table.highlightHoverRow},highlightCurrentColumn:{type:Boolean,default:()=>getConfig$6().table.highlightCurrentColumn},highlightHoverColumn:{type:Boolean,default:()=>getConfig$6().table.highlightHoverColumn},highlightCell:Boolean,showFooter:Boolean,footerData:Array,footerMethod:Function,rowClassName:[String,Function],cellClassName:[String,Function],headerRowClassName:[String,Function],headerCellClassName:[String,Function],footerRowClassName:[String,Function],footerCellClassName:[String,Function],cellStyle:[Object,Function],headerCellStyle:[Object,Function],footerCellStyle:[Object,Function],rowStyle:[Object,Function],headerRowStyle:[Object,Function],footerRowStyle:[Object,Function],mergeCells:Array,mergeFooterItems:Array,spanMethod:Function,footerSpanMethod:Function,showOverflow:{type:[Boolean,String],default:()=>getConfig$6().table.showOverflow},showHeaderOverflow:{type:[Boolean,String],default:()=>getConfig$6().table.showHeaderOverflow},showFooterOverflow:{type:[Boolean,String],default:()=>getConfig$6().table.showFooterOverflow},columnKey:Boolean,rowKey:Boolean,rowId:{type:String,default:()=>getConfig$6().table.rowId},zIndex:Number,emptyText:{type:String,default:()=>getConfig$6().table.emptyText},keepSource:{type:Boolean,default:()=>getConfig$6().table.keepSource},autoResize:{type:Boolean,default:()=>getConfig$6().table.autoResize},syncResize:[Boolean,String,Number],resizeConfig:Object,columnConfig:Object,rowConfig:Object,resizableConfig:Object,seqConfig:Object,sortConfig:Object,filterConfig:Object,radioConfig:Object,checkboxConfig:Object,tooltipConfig:Object,exportConfig:Object,importConfig:Object,printConfig:Object,expandConfig:Object,treeConfig:Object,menuConfig:Object,mouseConfig:Object,areaConfig:Object,keyboardConfig:Object,clipConfig:Object,fnrConfig:Object,editConfig:Object,validConfig:Object,editRules:Object,loadingConfig:Object,emptyRender:Object,customConfig:Object,scrollX:Object,scrollY:Object,animat:{type:Boolean,default:()=>getConfig$6().table.animat},delayHover:{type:Number,default:()=>getConfig$6().table.delayHover},params:Object},tableComponentEmits=["update:data","keydown-start","keydown","keydown-end","paste","copy","cut","current-change","radio-change","checkbox-change","checkbox-all","checkbox-range-start","checkbox-range-change","checkbox-range-end","checkbox-range-select","cell-click","cell-dblclick","cell-menu","cell-mouseenter","cell-mouseleave","cell-selected","cell-delete-value","header-cell-click","header-cell-dblclick","header-cell-menu","footer-cell-click","footer-cell-dblclick","footer-cell-menu","clear-merge","sort-change","clear-sort","filter-change","filter-visible","clear-filter","resizable-change","toggle-row-expand","toggle-tree-expand","menu-click","edit-closed","edit-actived","edit-activated","edit-disabled","valid-error","scroll","custom","change-fnr","open-fnr","show-fnr","hide-fnr","fnr-change","fnr-find","fnr-find-all","fnr-replace","fnr-replace-all","cell-area-copy","cell-area-cut","cell-area-paste","cell-area-merge","clear-cell-area-merge","header-cell-area-selection","cell-area-selection-invalid","cell-area-selection-start","cell-area-selection-drag","cell-area-selection-end","cell-area-extension-start","cell-area-extension-drag","cell-area-extension-end","cell-area-selection-all-start","cell-area-selection-all-end","cell-area-arrows-start","cell-area-arrows-end","active-cell-change-start","active-cell-change-end"],{getI18n:getI18n$9,getIcon:getIcon$4}=VxeUI,TableCustomPanelComponent=defineComponent({name:"TableCustomPanel",props:{customStore:{type:Object,default:()=>({})}},setup($e){const Ie=inject("$xeTable",{}),{reactData:Fe}=Ie,{computeCustomOpts:Ue,computeColumnOpts:qe,computeIsMaxFixedColumn:At}=Ie.getComputeMaps(),Dt=ref(),Lt=ref(),jt=ref(),hn=ref();let vn;const bn=jn=>{const{customStore:Fn}=$e;Fn.activeWrapper=!0,Ie.customOpenEvent(jn)},kn=jn=>{const{customStore:Fn}=$e;Fn.activeWrapper=!1,setTimeout(()=>{!Fn.activeBtn&&!Fn.activeWrapper&&Ie.customCloseEvent(jn)},300)},Cn=jn=>{const{customColumnList:Fn}=Fe,Bn=Ue.value,{allowVisible:Dn,allowSort:Ln,allowFixed:Vn,allowResizable:zn}=Bn;XEUtils$1.eachTree(Fn,(Hn,Yn,Qn,lo,ro)=>{if(!ro){if(Ln){const no=Yn+1;Hn.renderSortNumber=no}Vn&&(Hn.fixed=Hn.renderFixed)}zn&&Hn.renderVisible&&(!Hn.children||Hn.children.length)&&Hn.renderResizeWidth!==Hn.renderWidth&&(Hn.resizeWidth=Hn.renderResizeWidth,Hn.renderWidth=Hn.renderResizeWidth),Dn&&(Hn.visible=Hn.renderVisible)}),Ie.closeCustom(),Ie.emitCustomEvent("confirm",jn),Ie.saveCustomStore("confirm")},xn=jn=>{const{customStore:Fn}=$e,{customColumnList:Bn}=Fe,{oldSortMaps:Dn,oldFixedMaps:Ln,oldVisibleMaps:Vn}=Fn,zn=Ue.value,{allowVisible:Hn,allowSort:Yn,allowFixed:Qn,allowResizable:lo}=zn;XEUtils$1.eachTree(Bn,ro=>{const no=ro.getKey(),qn=!!Vn[no],Gn=Ln[no]||"";Hn&&(ro.renderVisible=qn,ro.visible=qn),Qn&&(ro.renderFixed=Gn,ro.fixed=Gn),Yn&&(ro.renderSortNumber=Dn[no]||0),lo&&(ro.renderResizeWidth=ro.renderWidth)},{children:"children"}),Ie.closeCustom(),Ie.emitCustomEvent("cancel",jn)},wn=jn=>{Ie.resetColumn(!0),Ie.closeCustom(),Ie.emitCustomEvent("reset",jn)},Sn=jn=>{VxeUI.modal?VxeUI.modal.confirm({content:getI18n$9("vxe.custom.cstmConfirmRestore"),className:"vxe-table--ignore-clear",escClosable:!0}).then(Fn=>{Fn==="confirm"&&wn(jn)}):wn(jn)},_n=jn=>{const{customColumnList:Fn}=Fe,Bn=XEUtils$1.findTree(Fn,Dn=>Dn===jn);if(Bn&&Bn.parent){const{parent:Dn}=Bn;Dn.children&&Dn.children.length&&(Dn.renderVisible=Dn.children.every(Ln=>Ln.renderVisible),Dn.halfVisible=!Dn.renderVisible&&Dn.children.some(Ln=>Ln.renderVisible||Ln.halfVisible),_n(Dn))}},En=jn=>{const Fn=!jn.renderVisible,Bn=Ue.value;XEUtils$1.eachTree([jn],Dn=>{Dn.renderVisible=Fn,Dn.halfVisible=!1}),_n(jn),Bn.immediate&&(Ie.handleCustom(),Ie.saveCustomStore("update:visible")),Ie.checkCustomStatus()},$n=(jn,Fn)=>{const Bn=At.value;jn.renderFixed===Fn?jn.renderFixed="":(!Bn||jn.renderFixed)&&(jn.renderFixed=Fn)},Tn=()=>{const{customStore:jn}=$e,{customColumnList:Fn}=Fe,Bn=Ue.value,{checkMethod:Dn}=Bn,Ln=!jn.isAll;XEUtils$1.eachTree(Fn,Vn=>{(!Dn||Dn({column:Vn}))&&(Vn.renderVisible=Ln,Vn.halfVisible=!1)}),jn.isAll=Ln,Ie.checkCustomStatus()},On=jn=>{const Dn=jn.currentTarget.parentNode.parentNode,Ln=Dn.getAttribute("colid"),Vn=Ie.getColumnById(Ln);Dn.draggable=!0,hn.value=Vn,addClass$3(Dn,"active--drag-origin")},Nn=jn=>{const Dn=jn.currentTarget.parentNode.parentNode,Ln=jt.value;Dn.draggable=!1,hn.value=null,removeClass$3(Dn,"active--drag-origin"),Ln&&(Ln.style.display="")},An=jn=>{const Fn=new Image;jn.dataTransfer&&jn.dataTransfer.setDragImage(Fn,0,0)},Pn=jn=>{const{customColumnList:Fn}=Fe,Bn=jn.currentTarget,Dn=jt.value;if(vn){if(vn!==Bn){const Ln=vn.getAttribute("drag-pos"),Vn=Bn.getAttribute("colid"),zn=Ie.getColumnById(Vn);if(!zn)return;const Hn=XEUtils$1.findIndexOf(Fn,ro=>ro.id===zn.id),Yn=vn.getAttribute("colid"),Qn=Ie.getColumnById(Yn);if(!Qn)return;Fn.splice(Hn,1);const lo=XEUtils$1.findIndexOf(Fn,ro=>ro.id===Qn.id);Fn.splice(lo+(Ln==="bottom"?1:0),0,zn)}vn.draggable=!1,vn.removeAttribute("drag-pos"),removeClass$3(vn,"active--drag-target")}hn.value=null,Bn.draggable=!1,Bn.removeAttribute("drag-pos"),Dn&&(Dn.style.display=""),removeClass$3(Bn,"active--drag-target"),removeClass$3(Bn,"active--drag-origin")},In=jn=>{const Fn=jn.currentTarget;vn!==Fn&&removeClass$3(vn,"active--drag-target");const Bn=Fn.getAttribute("colid"),Dn=Ie.getColumnById(Bn);if(Dn&&Dn.level===1){jn.preventDefault();const Vn=jn.clientY-Fn.getBoundingClientRect().y{const Fn=jt.value,Bn=Lt.value;if(Bn&&Fn){const Dn=Bn.parentNode,Ln=Dn.getBoundingClientRect();Fn.style.display="block",Fn.style.top=`${Math.min(Dn.clientHeight-Dn.scrollTop-Fn.clientHeight,jn.clientY-Ln.y)}px`,Fn.style.left=`${Math.min(Dn.clientWidth-Dn.scrollLeft-Fn.clientWidth-16,jn.clientX-Ln.x)}px`}},Rn=()=>{const{customStore:jn}=$e,{customColumnList:Fn}=Fe,Bn=Ue.value,{maxHeight:Dn}=jn,{checkMethod:Ln,visibleMethod:Vn,allowVisible:zn,allowSort:Hn,allowFixed:Yn,trigger:Qn,placement:lo}=Bn,ro=At.value,no=[],qn={};Qn==="hover"&&(qn.onMouseenter=bn,qn.onMouseleave=kn),XEUtils$1.eachTree(Fn,(Xn,io,fo,Zn,to)=>{if(Vn?Vn({column:Xn}):!0){const po=Xn.renderVisible,mo=Xn.halfVisible,No=Xn.children&&Xn.children.length,Mo=formatText(Xn.getTitle(),1),vo=Ln?!Ln({column:Xn}):!1;no.push(h$5("li",{key:Xn.id,colid:Xn.id,class:["vxe-table-custom--option",`level--${Xn.level}`,{"is--group":No}],onDragstart:An,onDragend:Pn,onDragover:In},[zn?h$5("div",{class:["vxe-table-custom--checkbox-option",{"is--checked":po,"is--indeterminate":mo,"is--disabled":vo}],title:getI18n$9("vxe.custom.setting.colVisible"),onClick:()=>{vo||En(Xn)}},[h$5("span",{class:["vxe-checkbox--icon",mo?getIcon$4().TABLE_CHECKBOX_INDETERMINATE:po?getIcon$4().TABLE_CHECKBOX_CHECKED:getIcon$4().TABLE_CHECKBOX_UNCHECKED]})]):createCommentVNode(),Hn&&Xn.level===1?h$5("div",{class:"vxe-table-custom--sort-option"},[h$5("span",{class:"vxe-table-custom--sort-btn",title:getI18n$9("vxe.custom.setting.sortHelpTip"),onMousedown:On,onMouseup:Nn},[h$5("i",{class:getIcon$4().TABLE_CUSTOM_SORT})])]):createCommentVNode(),h$5("div",{class:"vxe-table-custom--checkbox-label",title:Mo},Mo),!to&&Yn?h$5("div",{class:"vxe-table-custom--fixed-option"},[h$5("span",{class:["vxe-table-custom--fixed-left-option",Xn.renderFixed==="left"?getIcon$4().TOOLBAR_TOOLS_FIXED_LEFT_ACTIVE:getIcon$4().TOOLBAR_TOOLS_FIXED_LEFT,{"is--checked":Xn.renderFixed==="left","is--disabled":ro&&!Xn.renderFixed}],title:getI18n$9(Xn.renderFixed==="left"?"vxe.toolbar.cancelFixed":"vxe.toolbar.fixedLeft"),onClick:()=>{$n(Xn,"left")}}),h$5("span",{class:["vxe-table-custom--fixed-right-option",Xn.renderFixed==="right"?getIcon$4().TOOLBAR_TOOLS_FIXED_RIGHT_ACTIVE:getIcon$4().TOOLBAR_TOOLS_FIXED_RIGHT,{"is--checked":Xn.renderFixed==="right","is--disabled":ro&&!Xn.renderFixed}],title:getI18n$9(Xn.renderFixed==="right"?"vxe.toolbar.cancelFixed":"vxe.toolbar.fixedRight"),onClick:()=>{$n(Xn,"right")}})]):createCommentVNode()]))}});const Gn=jn.isAll,so=jn.isIndeterminate;return h$5("div",{ref:Dt,key:"simple",class:["vxe-table-custom-wrapper",`placement--${lo}`,{"is--active":jn.visible}],style:Dn&&!["left","right"].includes(lo)?{maxHeight:`${Dn}px`}:{}},jn.visible?[h$5("ul",{class:"vxe-table-custom--header"},[h$5("li",{class:"vxe-table-custom--option"},[zn?h$5("div",{class:["vxe-table-custom--checkbox-option",{"is--checked":Gn,"is--indeterminate":so}],title:getI18n$9("vxe.table.allTitle"),onClick:Tn},[h$5("span",{class:["vxe-checkbox--icon",so?getIcon$4().TABLE_CHECKBOX_INDETERMINATE:Gn?getIcon$4().TABLE_CHECKBOX_CHECKED:getIcon$4().TABLE_CHECKBOX_UNCHECKED]}),h$5("span",{class:"vxe-checkbox--label"},getI18n$9("vxe.toolbar.customAll"))]):h$5("span",{class:"vxe-checkbox--label"},getI18n$9("vxe.table.customTitle"))])]),h$5("div",{ref:Lt,class:"vxe-table-custom--list-wrapper"},[h$5(TransitionGroup,Object.assign({class:"vxe-table-custom--body",name:"vxe-table-custom--list",tag:"ul"},qn),{default:()=>no}),h$5("div",{ref:jt,class:"vxe-table-custom-popup--drag-hint"},getI18n$9("vxe.custom.cstmDragTarget",[hn.value?hn.value.getTitle():""]))]),Bn.showFooter?h$5("div",{class:"vxe-table-custom--footer"},[h$5("button",{class:"btn--reset",onClick:Sn},Bn.resetButtonText||getI18n$9("vxe.table.customRestore")),Bn.immediate?createCommentVNode():h$5("button",{class:"btn--cancel",onClick:xn},Bn.resetButtonText||getI18n$9("vxe.table.customCancel")),h$5("button",{class:"btn--confirm",onClick:Cn},Bn.confirmButtonText||getI18n$9("vxe.table.customConfirm"))]):null]:[])},Un=()=>{const{customStore:jn}=$e,{customColumnList:Fn}=Fe,Bn=Ue.value,{modalOptions:Dn,allowVisible:Ln,allowSort:Vn,allowFixed:zn,allowResizable:Hn,checkMethod:Yn,visibleMethod:Qn}=Bn,lo=qe.value,ro=Object.assign({},Dn),no=At.value,qn=[];XEUtils$1.eachTree(Fn,(Xn,io,fo,Zn,to)=>{if(Qn?Qn({column:Xn}):!0){const po=Xn.renderVisible,mo=Xn.halfVisible,No=formatText(Xn.getTitle(),1),Mo=Xn.children&&Xn.children.length,vo=Yn?!Yn({column:Xn}):!1;qn.push(h$5("tr",{key:Xn.id,colid:Xn.id,class:[`vxe-table-custom-popup--row level--${Xn.level}`,{"is--group":Mo}],onDragstart:An,onDragend:Pn,onDragover:In},[Ln?h$5("td",{class:"vxe-table-custom-popup--column-item col--visible"},[h$5("div",{class:["vxe-table-custom--checkbox-option",{"is--checked":po,"is--indeterminate":mo,"is--disabled":vo}],title:getI18n$9("vxe.custom.setting.colVisible"),onClick:()=>{vo||En(Xn)}},[h$5("span",{class:["vxe-checkbox--icon",mo?getIcon$4().TABLE_CHECKBOX_INDETERMINATE:po?getIcon$4().TABLE_CHECKBOX_CHECKED:getIcon$4().TABLE_CHECKBOX_UNCHECKED]})])]):createCommentVNode(),Vn?h$5("td",{class:"vxe-table-custom-popup--column-item col--sort"},[Xn.level===1?h$5("span",{class:"vxe-table-custom-popup--column-sort-btn",title:getI18n$9("vxe.custom.setting.sortHelpTip"),onMousedown:On,onMouseup:Nn},[h$5("i",{class:getIcon$4().TABLE_CUSTOM_SORT})]):h$5("span","-")]):createCommentVNode(),h$5("td",{class:"vxe-table-custom-popup--column-item col--name"},[h$5("div",{class:"vxe-table-custom-popup--name",title:No},No)]),Hn?h$5("td",{class:"vxe-table-custom-popup--column-item col--resizable"},[!po||Xn.children&&Xn.children.length?h$5("span","-"):h$5(resolveComponent("vxe-input"),{type:"integer",min:40,modelValue:Xn.renderResizeWidth,"onUpdate:modelValue"(ho){Xn.renderResizeWidth=Math.max(40,Number(ho))}})]):createCommentVNode(),zn?h$5("td",{class:"vxe-table-custom-popup--column-item col--fixed"},[to?h$5("span","-"):h$5(resolveComponent("vxe-radio-group"),{modelValue:Xn.renderFixed||"",type:"button",size:"mini",options:[{label:getI18n$9("vxe.custom.setting.fixedLeft"),value:"left",disabled:no},{label:getI18n$9("vxe.custom.setting.fixedUnset"),value:""},{label:getI18n$9("vxe.custom.setting.fixedRight"),value:"right",disabled:no}],"onUpdate:modelValue"(ho){Xn.renderFixed=ho}})]):createCommentVNode()]))}});const Gn=jn.isAll,so=jn.isIndeterminate;return h$5(resolveComponent("vxe-modal"),{key:"popup",className:["vxe-table-custom-popup-wrapper","vxe-table--ignore-clear",ro.className||""].join(" "),modelValue:jn.visible,title:ro.title||getI18n$9("vxe.custom.cstmTitle"),width:ro.width||"50vw",minWidth:ro.minWidth||700,height:ro.height||"50vh",minHeight:ro.minHeight||400,mask:!0,lockView:!0,showFooter:!0,resize:!0,escClosable:!0,destroyOnClose:!0,"onUpdate:modelValue"(Xn){jn.visible=Xn}},{default:()=>h$5("div",{ref:Lt,class:"vxe-table-custom-popup--body"},[h$5("div",{class:"vxe-table-custom-popup--table-wrapper"},[h$5("table",{},[h$5("colgroup",{},[Ln?h$5("col",{style:{width:"80px"}}):createCommentVNode(),Vn?h$5("col",{style:{width:"80px"}}):createCommentVNode(),h$5("col",{style:{minWidth:"120px"}}),Hn?h$5("col",{style:{width:"140px"}}):createCommentVNode(),zn?h$5("col",{style:{width:"200px"}}):createCommentVNode()]),h$5("thead",{},[h$5("tr",{},[Ln?h$5("th",{},[h$5("div",{class:["vxe-table-custom--checkbox-option",{"is--checked":Gn,"is--indeterminate":so}],title:getI18n$9("vxe.table.allTitle"),onClick:Tn},[h$5("span",{class:["vxe-checkbox--icon",so?getIcon$4().TABLE_CHECKBOX_INDETERMINATE:Gn?getIcon$4().TABLE_CHECKBOX_CHECKED:getIcon$4().TABLE_CHECKBOX_UNCHECKED]}),h$5("span",{class:"vxe-checkbox--label"},getI18n$9("vxe.toolbar.customAll"))])]):createCommentVNode(),Vn?h$5("th",{},[h$5("span",{class:"vxe-table-custom-popup--table-sort-help-title"},getI18n$9("vxe.custom.setting.colSort")),h$5(resolveComponent("vxe-tooltip"),{enterable:!0,content:getI18n$9("vxe.custom.setting.sortHelpTip")},{default:()=>h$5("i",{class:"vxe-table-custom-popup--table-sort-help-icon vxe-icon-question-circle-fill"})})]):createCommentVNode(),h$5("th",{},getI18n$9("vxe.custom.setting.colTitle")),Hn?h$5("th",{},getI18n$9("vxe.custom.setting.colResizable")):createCommentVNode(),zn?h$5("th",{},getI18n$9("vxe.custom.setting.colFixed",[lo.maxFixedSize||0])):createCommentVNode()])]),h$5(TransitionGroup,{class:"vxe-table-custom--body",tag:"tbody",name:"vxe-table-custom--list"},{default:()=>qn})])]),h$5("div",{ref:jt,class:"vxe-table-custom-popup--drag-hint"},getI18n$9("vxe.custom.cstmDragTarget",[hn.value?hn.value.getTitle():""]))]),footer:()=>h$5("div",{class:"vxe-table-custom-popup--footer"},[h$5(resolveComponent("vxe-button"),{content:Bn.resetButtonText||getI18n$9("vxe.custom.cstmRestore"),onClick:Sn}),h$5(resolveComponent("vxe-button"),{content:Bn.resetButtonText||getI18n$9("vxe.custom.cstmCancel"),onClick:xn}),h$5(resolveComponent("vxe-button"),{status:"primary",content:Bn.confirmButtonText||getI18n$9("vxe.custom.cstmConfirm"),onClick:Cn})])})};return()=>Ue.value.mode==="popup"?Un():Rn()}}),{getI18n:getI18n$8,getIcon:getIcon$3,renderer:renderer$6}=VxeUI,TableFilterPanelComponent=defineComponent({name:"VxeTableFilterPanel",props:{filterStore:Object},setup($e){const Ie=inject("$xeTable",{}),{reactData:Fe,internalData:Ue,getComputeMaps:qe}=Ie,{computeFilterOpts:At}=qe(),Dt=computed(()=>{const{filterStore:En}=$e;return En&&En.options.some($n=>$n.checked)}),Lt=(En,$n)=>{const{filterStore:Tn}=$e;Tn.options.forEach(On=>{On._checked=$n,On.checked=$n}),Tn.isAllSelected=$n,Tn.isIndeterminate=!1},jt=En=>{const{filterStore:$n}=$e;$n.options.forEach(Tn=>{Tn.checked=Tn._checked}),Ie.confirmFilterEvent(En)},hn=(En,$n,Tn)=>{const{filterStore:On}=$e;On.options.forEach(Nn=>{Nn._checked=!1}),Tn._checked=$n,Ie.checkFilterOptions(),jt(En)},vn=En=>{const{filterStore:$n}=$e;Ie.handleClearFilter($n.column),Ie.confirmFilterEvent(En)},bn=(En,$n,Tn)=>{Tn._checked=$n,Ie.checkFilterOptions()},kn=(En,$n,Tn)=>{const{filterStore:On}=$e;On.multiple?bn(En,$n,Tn):hn(En,$n,Tn)},Cn=(En,$n)=>{const{filterStore:Tn}=$e;Tn.multiple?Lt(En,$n):vn(En)},xn={changeRadioOption:hn,changeMultipleOption:bn,changeAllOption:Cn,changeOption:kn,confirmFilter:jt,resetFilter:vn},wn=(En,$n)=>{const{filterStore:Tn}=$e,{column:On,multiple:Nn,maxHeight:An}=Tn,{slots:Pn}=On,In=Pn?Pn.filter:null,Mn=Object.assign({},Ue._currFilterParams,{$panel:xn,$table:Ie});if(In)return[h$5("div",{class:"vxe-table--filter-template"},Ie.callSlot(In,Mn))];if($n&&$n.renderFilter)return[h$5("div",{class:"vxe-table--filter-template"},getSlotVNs$1($n.renderFilter(En,Mn)))];const Rn=Nn?Tn.isAllSelected:!Tn.options.some(Wn=>Wn._checked),Un=Nn&&Tn.isIndeterminate;return[h$5("ul",{class:"vxe-table--filter-header"},[h$5("li",{class:["vxe-table--filter-option",{"is--checked":Rn,"is--indeterminate":Un}],title:getI18n$8(Nn?"vxe.table.allTitle":"vxe.table.allFilter"),onClick:Wn=>{Cn(Wn,!Tn.isAllSelected)}},(Nn?[h$5("span",{class:["vxe-checkbox--icon",Un?getIcon$3().TABLE_CHECKBOX_INDETERMINATE:Rn?getIcon$3().TABLE_CHECKBOX_CHECKED:getIcon$3().TABLE_CHECKBOX_UNCHECKED]})]:[]).concat([h$5("span",{class:"vxe-checkbox--label"},getI18n$8("vxe.table.allFilter"))]))]),h$5("ul",{class:"vxe-table--filter-body",style:An?{maxHeight:`${An}px`}:{}},Tn.options.map(Wn=>{const jn=Wn._checked;return h$5("li",{class:["vxe-table--filter-option",{"is--checked":Wn._checked}],title:Wn.label,onClick:Fn=>{kn(Fn,!Wn._checked,Wn)}},(Nn?[h$5("span",{class:["vxe-checkbox--icon",jn?getIcon$3().TABLE_CHECKBOX_CHECKED:getIcon$3().TABLE_CHECKBOX_UNCHECKED]})]:[]).concat([h$5("span",{class:"vxe-checkbox--label"},formatText(Wn.label,1))]))}))]},Sn=()=>{const{filterStore:En}=$e,{column:$n,multiple:Tn}=En,On=At.value,Nn=Dt.value,An=$n.filterRender,Pn=An?renderer$6.get(An.name):null,In=!Nn&&!En.isAllSelected&&!En.isIndeterminate;return Tn&&(!Pn||Pn.showFilterFooter!==!1)?[h$5("div",{class:"vxe-table--filter-footer"},[h$5("button",{class:{"is--disabled":In},disabled:In,onClick:jt},On.confirmButtonText||getI18n$8("vxe.table.confirmFilter")),h$5("button",{onClick:vn},On.resetButtonText||getI18n$8("vxe.table.resetFilter"))])]:[]};return()=>{const{filterStore:En}=$e,{initStore:$n}=Fe,{column:Tn}=En,On=Tn?Tn.filterRender:null,Nn=On?renderer$6.get(On.name):null,An=Nn?Nn.filterClassName:"",Pn=Object.assign({},Ue._currFilterParams,{$panel:xn,$table:Ie});return h$5("div",{class:["vxe-table--filter-wrapper","filter--prevent-default",getPropClass(An,Pn),{"is--animat":Ie.props.animat,"is--multiple":En.multiple,"is--active":En.visible}],style:En.style},$n.filter&&En.visible?wn(On,Nn).concat(Sn()):[])}}}),{getI18n:getI18n$7,getIcon:getIcon$2}=VxeUI,TableImportPanelComponent=defineComponent({name:"VxeTableImportPanel",props:{defaultOptions:Object,storeData:Object},setup($e){const Ie=inject("$xeTable",{}),{computeImportOpts:Fe}=Ie.getComputeMaps(),Ue=reactive({loading:!1}),qe=ref(),At=computed(()=>{const{storeData:xn}=$e;return`${xn.filename}.${xn.type}`}),Dt=computed(()=>{const{storeData:xn}=$e;return xn.file&&xn.type}),Lt=computed(()=>{const{storeData:xn}=$e,{type:wn,typeList:Sn}=xn;if(wn){const _n=XEUtils$1.find(Sn,En=>wn===En.value);return _n?getI18n$7(_n.label):"*.*"}return`*.${Sn.map(_n=>_n.value).join(", *.")}`}),jt=()=>{const{storeData:xn}=$e;Object.assign(xn,{filename:"",sheetName:"",type:""})},hn=()=>{const{storeData:xn,defaultOptions:wn}=$e;Ie.readFile(wn).then(Sn=>{const{file:_n}=Sn;Object.assign(xn,parseFile$1(_n),{file:_n})}).catch(Sn=>Sn)},vn=()=>{nextTick(()=>{const xn=qe.value;xn&&xn.focus()})},bn=()=>{const{storeData:xn}=$e;xn.visible=!1},kn=()=>{const{storeData:xn,defaultOptions:wn}=$e,Sn=Fe.value;Ue.loading=!0,Ie.importByFile(xn.file,Object.assign({},Sn,wn)).then(()=>{Ue.loading=!1,xn.visible=!1}).catch(()=>{Ue.loading=!1})};return()=>{const{defaultOptions:xn,storeData:wn}=$e,Sn=At.value,_n=Dt.value,En=Lt.value;return h$5(resolveComponent("vxe-modal"),{modelValue:wn.visible,title:getI18n$7("vxe.import.impTitle"),className:"vxe-table-import-popup-wrapper",width:440,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:Ue.loading,"onUpdate:modelValue"($n){wn.visible=$n},onShow:vn},{default:()=>h$5("div",{class:"vxe-export--panel"},[h$5("table",{cellspacing:0,cellpadding:0,border:0},[h$5("tbody",[h$5("tr",[h$5("td",getI18n$7("vxe.import.impFile")),h$5("td",[_n?h$5("div",{class:"vxe-import-selected--file",title:Sn},[h$5("span",Sn),h$5("i",{class:getIcon$2().INPUT_CLEAR,onClick:jt})]):h$5("button",{ref:qe,class:"vxe-import-select--file",onClick:hn},getI18n$7("vxe.import.impSelect"))])]),h$5("tr",[h$5("td",getI18n$7("vxe.import.impType")),h$5("td",En)]),h$5("tr",[h$5("td",getI18n$7("vxe.import.impOpts")),h$5("td",[h$5(resolveComponent("vxe-radio-group"),{modelValue:xn.mode,"onUpdate:modelValue"($n){xn.mode=$n}},{default:()=>wn.modeList.map($n=>h$5(resolveComponent("vxe-radio"),{label:$n.value,content:getI18n$7($n.label)}))})])])])]),h$5("div",{class:"vxe-export--panel-btns"},[h$5(resolveComponent("vxe-button"),{content:getI18n$7("vxe.import.impCancel"),onClick:bn}),h$5(resolveComponent("vxe-button"),{status:"primary",disabled:!_n,content:getI18n$7("vxe.import.impConfirm"),onClick:kn})])])})}}}),{getI18n:getI18n$6,getIcon:getIcon$1}=VxeUI,TableExportPanelComponent=defineComponent({name:"VxeTableExportPanel",props:{defaultOptions:Object,storeData:Object},setup($e){const Ie=inject("$xeTable",{}),{computeExportOpts:Fe,computePrintOpts:Ue}=Ie.getComputeMaps(),qe=reactive({isAll:!1,isIndeterminate:!1,loading:!1}),At=ref(),Dt=ref(),Lt=ref(),jt=computed(()=>{const{storeData:An}=$e;return An.columns.every(Pn=>Pn.checked)}),hn=computed(()=>{const{defaultOptions:An}=$e;return["html","xml","xlsx","pdf"].indexOf(An.type)>-1}),vn=computed(()=>{const{storeData:An,defaultOptions:Pn}=$e;return!Pn.original&&Pn.mode==="current"&&(An.isPrint||["html","xlsx"].indexOf(Pn.type)>-1)}),bn=computed(()=>{const{defaultOptions:An}=$e;return!An.original&&["xlsx"].indexOf(An.type)>-1}),kn=An=>{const{storeData:Pn}=$e,In=XEUtils$1.findTree(Pn.columns,Mn=>Mn===An);if(In&&In.parent){const{parent:Mn}=In;Mn.children&&Mn.children.length&&(Mn.checked=Mn.children.every(Rn=>Rn.checked),Mn.halfChecked=!Mn.checked&&Mn.children.some(Rn=>Rn.checked||Rn.halfChecked),kn(Mn))}},Cn=()=>{const{storeData:An}=$e,Pn=An.columns;qe.isAll=Pn.every(In=>In.disabled||In.checked),qe.isIndeterminate=!qe.isAll&&Pn.some(In=>!In.disabled&&(In.checked||In.halfChecked))},xn=An=>{const Pn=!An.checked;XEUtils$1.eachTree([An],In=>{In.checked=Pn,In.halfChecked=!1}),kn(An),Cn()},wn=()=>{const{storeData:An}=$e,Pn=!qe.isAll;XEUtils$1.eachTree(An.columns,In=>{In.disabled||(In.checked=Pn,In.halfChecked=!1)}),qe.isAll=Pn,Cn()},Sn=()=>{nextTick(()=>{const An=Dt.value,Pn=Lt.value,In=At.value,Mn=An||Pn||In;Mn&&Mn.focus()}),Cn()},_n=()=>{const{storeData:An,defaultOptions:Pn}=$e,{hasMerge:In,columns:Mn}=An,Rn=jt.value,Un=vn.value,Wn=XEUtils$1.searchTree(Mn,jn=>jn.checked,{children:"children",mapChildren:"childNodes",original:!0});return Object.assign({},Pn,{columns:Wn,isMerge:In&&Un&&Rn?Pn.isMerge:!1})},En=()=>{const{storeData:An}=$e,Pn=Ue.value;An.visible=!1,Ie.print(Object.assign({},Pn,_n()))},$n=()=>{const{storeData:An}=$e,Pn=Fe.value;qe.loading=!0,Ie.exportData(Object.assign({},Pn,_n())).then(()=>{qe.loading=!1,An.visible=!1}).catch(()=>{qe.loading=!1})},Tn=()=>{const{storeData:An}=$e;An.visible=!1},On=()=>{const{storeData:An}=$e;An.isPrint?En():$n()};return()=>{const{defaultOptions:An,storeData:Pn}=$e,{isAll:In,isIndeterminate:Mn}=qe,{hasTree:Rn,hasMerge:Un,isPrint:Wn,hasColgroup:jn}=Pn,{isHeader:Fn}=An,Bn=[],Dn=jt.value,Ln=hn.value,Vn=vn.value,zn=bn.value;return XEUtils$1.eachTree(Pn.columns,Hn=>{const Yn=formatText(Hn.getTitle(),1),Qn=Hn.children&&Hn.children.length,lo=Hn.checked,ro=Hn.halfChecked;Bn.push(h$5("li",{class:["vxe-export--panel-column-option",`level--${Hn.level}`,{"is--group":Qn,"is--checked":lo,"is--indeterminate":ro,"is--disabled":Hn.disabled}],title:Yn,onClick:()=>{Hn.disabled||xn(Hn)}},[h$5("span",{class:["vxe-checkbox--icon",ro?getIcon$1().TABLE_CHECKBOX_INDETERMINATE:lo?getIcon$1().TABLE_CHECKBOX_CHECKED:getIcon$1().TABLE_CHECKBOX_UNCHECKED]}),h$5("span",{class:"vxe-checkbox--label"},Yn)]))}),h$5(resolveComponent("vxe-modal"),{modelValue:Pn.visible,title:getI18n$6(Wn?"vxe.export.printTitle":"vxe.export.expTitle"),className:"vxe-table-export-popup-wrapper",width:660,mask:!0,lockView:!0,showFooter:!1,escClosable:!0,maskClosable:!0,loading:qe.loading,"onUpdate:modelValue"(Hn){Pn.visible=Hn},onShow:Sn},{default:()=>h$5("div",{class:"vxe-export--panel"},[h$5("table",{cellspacing:0,cellpadding:0,border:0},[h$5("tbody",[[Wn?createCommentVNode():h$5("tr",[h$5("td",getI18n$6("vxe.export.expName")),h$5("td",[h$5(resolveComponent("vxe-input"),{ref:Dt,modelValue:An.filename,type:"text",clearable:!0,placeholder:getI18n$6("vxe.export.expNamePlaceholder"),"onUpdate:modelValue"(Hn){An.filename=Hn}})])]),Wn?createCommentVNode():h$5("tr",[h$5("td",getI18n$6("vxe.export.expType")),h$5("td",[h$5(resolveComponent("vxe-select"),{modelValue:An.type,options:Pn.typeList.map(Hn=>({value:Hn.value,label:getI18n$6(Hn.label)})),"onUpdate:modelValue"(Hn){An.type=Hn}})])]),Wn||Ln?h$5("tr",[h$5("td",getI18n$6("vxe.export.expSheetName")),h$5("td",[h$5(resolveComponent("vxe-input"),{ref:Lt,modelValue:An.sheetName,type:"text",clearable:!0,placeholder:getI18n$6("vxe.export.expSheetNamePlaceholder"),"onUpdate:modelValue"(Hn){An.sheetName=Hn}})])]):createCommentVNode(),h$5("tr",[h$5("td",getI18n$6("vxe.export.expMode")),h$5("td",[h$5(resolveComponent("vxe-select"),{modelValue:An.mode,options:Pn.modeList.map(Hn=>({value:Hn.value,label:getI18n$6(Hn.label)})),"onUpdate:modelValue"(Hn){An.mode=Hn}})])]),h$5("tr",[h$5("td",[getI18n$6("vxe.export.expColumn")]),h$5("td",[h$5("div",{class:"vxe-export--panel-column"},[h$5("ul",{class:"vxe-export--panel-column-header"},[h$5("li",{class:["vxe-export--panel-column-option",{"is--checked":In,"is--indeterminate":Mn}],title:getI18n$6("vxe.table.allTitle"),onClick:wn},[h$5("span",{class:["vxe-checkbox--icon",Mn?getIcon$1().TABLE_CHECKBOX_INDETERMINATE:In?getIcon$1().TABLE_CHECKBOX_CHECKED:getIcon$1().TABLE_CHECKBOX_UNCHECKED]}),h$5("span",{class:"vxe-checkbox--label"},getI18n$6("vxe.export.expCurrentColumn"))])]),h$5("ul",{class:"vxe-export--panel-column-body"},Bn)])])]),h$5("tr",[h$5("td",getI18n$6("vxe.export.expOpts")),h$5("td",[h$5("div",{class:"vxe-export--panel-option-row"},[h$5(resolveComponent("vxe-checkbox"),{modelValue:An.isHeader,title:getI18n$6("vxe.export.expHeaderTitle"),content:getI18n$6("vxe.export.expOptHeader"),"onUpdate:modelValue"(Hn){An.isHeader=Hn}}),h$5(resolveComponent("vxe-checkbox"),{modelValue:An.isFooter,disabled:!Pn.hasFooter,title:getI18n$6("vxe.export.expFooterTitle"),content:getI18n$6("vxe.export.expOptFooter"),"onUpdate:modelValue"(Hn){An.isFooter=Hn}}),h$5(resolveComponent("vxe-checkbox"),{modelValue:An.original,title:getI18n$6("vxe.export.expOriginalTitle"),content:getI18n$6("vxe.export.expOptOriginal"),"onUpdate:modelValue"(Hn){An.original=Hn}})]),h$5("div",{class:"vxe-export--panel-option-row"},[h$5(resolveComponent("vxe-checkbox"),{modelValue:Fn&&jn&&Vn?An.isColgroup:!1,title:getI18n$6("vxe.export.expColgroupTitle"),disabled:!Fn||!jn||!Vn,content:getI18n$6("vxe.export.expOptColgroup"),"onUpdate:modelValue"(Hn){An.isColgroup=Hn}}),h$5(resolveComponent("vxe-checkbox"),{modelValue:Un&&Vn&&Dn?An.isMerge:!1,title:getI18n$6("vxe.export.expMergeTitle"),disabled:!Un||!Vn||!Dn,content:getI18n$6("vxe.export.expOptMerge"),"onUpdate:modelValue"(Hn){An.isMerge=Hn}}),Wn?createCommentVNode():h$5(resolveComponent("vxe-checkbox"),{modelValue:zn?An.useStyle:!1,disabled:!zn,title:getI18n$6("vxe.export.expUseStyleTitle"),content:getI18n$6("vxe.export.expOptUseStyle"),"onUpdate:modelValue"(Hn){An.useStyle=Hn}}),h$5(resolveComponent("vxe-checkbox"),{modelValue:Rn?An.isAllExpand:!1,disabled:!Rn,title:getI18n$6("vxe.export.expAllExpandTitle"),content:getI18n$6("vxe.export.expOptAllExpand"),"onUpdate:modelValue"(Hn){An.isAllExpand=Hn}})])])])]])]),h$5("div",{class:"vxe-export--panel-btns"},[h$5(resolveComponent("vxe-button"),{content:getI18n$6("vxe.export.expCancel"),onClick:Tn}),h$5(resolveComponent("vxe-button"),{ref:At,status:"primary",content:getI18n$6(Wn?"vxe.export.expPrint":"vxe.export.expConfirm"),onClick:On})])])})}}}),TableMenuPanelComponent=defineComponent({name:"VxeTableMenuPanel",setup($e,Ie){const Fe=XEUtils$1.uniqueId(),Ue=inject("$xeTable",{}),{reactData:qe}=Ue,At=ref(),Dt={refElem:At},Lt={xID:Fe,props:$e,context:Ie,getRefMaps:()=>Dt},jt=()=>{const{ctxMenuStore:hn}=qe,{computeMenuOpts:vn}=Ue.getComputeMaps(),bn=vn.value;return h$5(Teleport,{to:"body",disabled:!1},[h$5("div",{ref:At,class:["vxe-table--context-menu-wrapper",bn.className,{"is--visible":hn.visible}],style:hn.style},hn.list.map((kn,Cn)=>kn.every(xn=>xn.visible===!1)?createCommentVNode():h$5("ul",{class:"vxe-context-menu--option-wrapper",key:Cn},kn.map((xn,wn)=>{const Sn=xn.children&&xn.children.some(_n=>_n.visible!==!1);return xn.visible===!1?null:h$5("li",{class:[xn.className,{"link--disabled":xn.disabled,"link--active":xn===hn.selected}],key:`${Cn}_${wn}`},[h$5("a",{class:"vxe-context-menu--link",onClick(_n){Ue.ctxMenuLinkEvent(_n,xn)},onMouseover(_n){Ue.ctxMenuMouseoverEvent(_n,xn)},onMouseout(_n){Ue.ctxMenuMouseoutEvent(_n,xn)}},[h$5("i",{class:["vxe-context-menu--link-prefix",xn.prefixIcon]}),h$5("span",{class:"vxe-context-menu--link-content"},getFuncText$1(xn.name)),h$5("i",{class:["vxe-context-menu--link-suffix",Sn?xn.suffixIcon||"suffix--haschild":xn.suffixIcon]})]),Sn?h$5("ul",{class:["vxe-table--context-menu-clild-wrapper",{"is--show":xn===hn.selected&&hn.showChild}]},xn.children.map((_n,En)=>_n.visible===!1?null:h$5("li",{class:[_n.className,{"link--disabled":_n.disabled,"link--active":_n===hn.selectChild}],key:`${Cn}_${wn}_${En}`},[h$5("a",{class:"vxe-context-menu--link",onClick($n){Ue.ctxMenuLinkEvent($n,_n)},onMouseover($n){Ue.ctxMenuMouseoverEvent($n,xn,_n)},onMouseout($n){Ue.ctxMenuMouseoutEvent($n,xn)}},[h$5("i",{class:["vxe-context-menu--link-prefix",_n.prefixIcon]}),h$5("span",{class:"vxe-context-menu--link-content"},getFuncText$1(_n.name))])]))):null])}))))])};return Lt.renderVN=jt,Lt},render(){return this.renderVN()}}),{getConfig:getConfig$5,getI18n:getI18n$5,renderer:renderer$5,formats,createEvent:createEvent$2,globalResize,interceptor,hooks:hooks$7,globalEvents:globalEvents$2,GLOBAL_EVENT_KEYS:GLOBAL_EVENT_KEYS$2,useFns:useFns$2}=VxeUI,isWebkit=browse$1["-webkit"]&&!browse$1.edge,customStorageKey="VXE_CUSTOM_STORE",VxeTableComponent=defineComponent({name:"VxeTable",props:tableComponentProps,emits:tableComponentEmits,setup($e,Ie){const{slots:Fe,emit:Ue}=Ie,qe=XEUtils$1.uniqueId(),{computeSize:At}=useFns$2.useSize($e),Dt=reactive({staticColumns:[],tableGroupColumn:[],tableColumn:[],tableData:[],scrollXLoad:!1,scrollYLoad:!1,overflowY:!0,overflowX:!1,scrollbarWidth:0,scrollbarHeight:0,lastScrollTime:0,rowHeight:0,parentHeight:0,isGroup:!1,isAllOverflow:!1,isAllSelected:!1,isIndeterminate:!1,selectCheckboxMaps:{},currentRow:null,currentColumn:null,selectRadioRow:null,footerTableData:[],expandColumn:null,treeNodeColumn:null,hasFixedColumn:!1,rowExpandedMaps:{},rowExpandLazyLoadedMaps:{},treeExpandedMaps:{},treeExpandLazyLoadedMaps:{},treeIndeterminateMaps:{},mergeList:[],mergeFooterList:[],upDataFlag:0,reColumnFlag:0,pendingRowMaps:{},pendingRowList:[],initStore:{filter:!1,import:!1,export:!1,custom:!1},customStore:{btnEl:null,isAll:!1,isIndeterminate:!1,activeBtn:!1,activeWrapper:!1,visible:!1,maxHeight:0,oldSortMaps:{},oldFixedMaps:{},oldVisibleMaps:{}},customColumnList:[],filterStore:{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1,maxHeight:null},columnStore:{leftList:[],centerList:[],rightList:[],resizeList:[],pxList:[],pxMinList:[],scaleList:[],scaleMinList:[],autoList:[]},ctxMenuStore:{selected:null,visible:!1,showChild:!1,selectChild:null,list:[],style:null},editStore:{indexs:{columns:[]},titles:{columns:[]},selected:{row:null,column:null},copyed:{cut:!1,rows:[],columns:[]},actived:{row:null,column:null},focused:{row:null,column:null},insertMaps:{},removeMaps:{}},tooltipStore:{row:null,column:null,content:null,visible:!1},validStore:{visible:!1},validErrorMaps:{},importStore:{inited:!1,file:null,type:"",modeList:[],typeList:[],filename:"",visible:!1},importParams:{mode:"",types:null,message:!0},exportStore:{inited:!1,name:"",modeList:[],typeList:[],columns:[],isPrint:!1,hasFooter:!1,hasMerge:!1,hasTree:!1,hasColgroup:!1,visible:!1},exportParams:{filename:"",sheetName:"",mode:"",type:"",isColgroup:!1,isMerge:!1,isAllExpand:!1,useStyle:!1,original:!1,message:!0,isHeader:!1,isFooter:!1},scrollVMLoading:!1,_isResize:!1,_isLoading:!1}),Lt={tZindex:0,elemStore:{},scrollXStore:{offsetSize:0,visibleSize:0,startIndex:0,endIndex:0},scrollYStore:{rowHeight:0,offsetSize:0,visibleSize:0,startIndex:0,endIndex:0},tableWidth:0,tableHeight:0,headerHeight:0,footerHeight:0,customHeight:0,customMinHeight:0,customMaxHeight:0,hoverRow:null,lastScrollLeft:0,lastScrollTop:0,radioReserveRow:null,checkboxReserveRowMap:{},rowExpandedReserveRowMap:{},treeExpandedReserveRowMap:{},treeIndeterminateRowMaps:{},tableFullData:[],afterFullData:[],afterTreeFullData:[],afterFullRowMaps:{},tableFullTreeData:[],tableSynchData:[],tableSourceData:[],collectColumn:[],tableFullColumn:[],visibleColumn:[],fullAllDataRowIdData:{},sourceDataRowIdData:{},fullDataRowIdData:{},fullColumnIdData:{},fullColumnFieldData:{},inited:!1,tooltipTimeout:null,initStatus:!1,isActivated:!1};let jt={},hn={};const vn=ref(),bn=ref(),kn=ref(),Cn=ref(),xn=ref(),wn=ref(),Sn=ref(),_n=ref(),En=ref(),$n=ref(),Tn=ref(),On=ref(),Nn=ref(),An=ref(),Pn=ref(),In=ref(),Mn=ref(),Rn=ref(),Un=ref(),Wn=ref(),jn=inject("$xeGrid",null);let Fn;const Bn=computed(()=>Object.assign({},getConfig$5().table.validConfig,$e.validConfig)),Dn=computed(()=>Object.assign({},getConfig$5().table.scrollX,$e.scrollX)),Ln=computed(()=>Object.assign({},getConfig$5().table.scrollY,$e.scrollY)),Vn=computed(()=>({default:48,medium:44,small:40,mini:36})),zn=computed(()=>Object.assign({},getConfig$5().table.columnConfig,$e.columnConfig)),Hn=computed(()=>Object.assign({},getConfig$5().table.rowConfig,$e.rowConfig)),Yn=computed(()=>Object.assign({},getConfig$5().table.resizeConfig,$e.resizeConfig)),Qn=computed(()=>Object.assign({},getConfig$5().table.resizableConfig,$e.resizableConfig)),lo=computed(()=>Object.assign({startIndex:0},getConfig$5().table.seqConfig,$e.seqConfig)),ro=computed(()=>Object.assign({},getConfig$5().table.radioConfig,$e.radioConfig)),no=computed(()=>Object.assign({},getConfig$5().table.checkboxConfig,$e.checkboxConfig));let qn=ref();qn=computed(()=>Object.assign({},getConfig$5().tooltip,getConfig$5().table.tooltipConfig,$e.tooltipConfig));const Gn=computed(()=>{const Kn=qn.value;return Object.assign({},Kn)}),so=computed(()=>{const Kn=qn.value;return Object.assign({isArrow:!1},Kn)}),Xn=computed(()=>Object.assign({},getConfig$5().table.editConfig,$e.editConfig)),io=computed(()=>Object.assign({orders:["asc","desc",null]},getConfig$5().table.sortConfig,$e.sortConfig)),fo=computed(()=>Object.assign({},getConfig$5().table.filterConfig,$e.filterConfig)),Zn=computed(()=>Object.assign({},getConfig$5().table.mouseConfig,$e.mouseConfig)),to=computed(()=>Object.assign({},getConfig$5().table.areaConfig,$e.areaConfig)),ao=computed(()=>Object.assign({},getConfig$5().table.keyboardConfig,$e.keyboardConfig)),po=computed(()=>Object.assign({},getConfig$5().table.clipConfig,$e.clipConfig)),mo=computed(()=>Object.assign({},getConfig$5().table.fnrConfig,$e.fnrConfig)),No=computed(()=>Object.assign({},getConfig$5().table.menuConfig,$e.menuConfig)),Mo=computed(()=>{const Jn=No.value.header;return Jn&&Jn.options?Jn.options:[]}),vo=computed(()=>{const Jn=No.value.body;return Jn&&Jn.options?Jn.options:[]}),ho=computed(()=>{const Jn=No.value.footer;return Jn&&Jn.options?Jn.options:[]}),$o=computed(()=>{const Kn=No.value,Jn=Mo.value,uo=vo.value,To=ho.value;return!!($e.menuConfig&&isEnableConf$1(Kn)&&(Jn.length||uo.length||To.length))}),_o=computed(()=>{const{ctxMenuStore:Kn}=Dt,Jn=[];return Kn.list.forEach(uo=>{uo.forEach(To=>{Jn.push(To)})}),Jn}),Oo=computed(()=>Object.assign({},getConfig$5().table.exportConfig,$e.exportConfig)),oo=computed(()=>Object.assign({},getConfig$5().table.importConfig,$e.importConfig)),Co=computed(()=>Object.assign({},getConfig$5().table.printConfig,$e.printConfig)),yo=computed(()=>Object.assign({},getConfig$5().table.expandConfig,$e.expandConfig)),Io=computed(()=>Object.assign({},getConfig$5().table.treeConfig,$e.treeConfig)),xo=computed(()=>Object.assign({},getConfig$5().table.emptyRender,$e.emptyRender)),Ao=computed(()=>Object.assign({},getConfig$5().table.loadingConfig,$e.loadingConfig)),bo=computed(()=>$e.border?Math.max(2,Math.ceil(Dt.scrollbarWidth/Dt.tableColumn.length)):1),Fo=computed(()=>Object.assign({},getConfig$5().table.customConfig,$e.customConfig)),Po=computed(()=>{const{collectColumn:Kn}=Lt;let Jn=0;return Kn.forEach(uo=>{uo.fixed&&Jn++}),Jn}),ko=computed(()=>{const Kn=Po.value,Jn=zn.value,{maxFixedSize:uo}=Jn;return uo?Kn>=uo:!1}),zo=computed(()=>{const{border:Kn}=$e;return Kn===!0?"full":Kn||"default"}),Yo=computed(()=>{const{tableData:Kn}=Dt,{tableFullData:Jn}=Lt,uo=no.value,{strict:To,checkMethod:Bo}=uo;return To?Kn.length||Jn.length?Bo?Jn.every(Uo=>!Bo({row:Uo})):!1:!0:!1}),Ro={refElem:vn,refTooltip:bn,refValidTooltip:Cn,refTableFilter:wn,refTableCustom:Sn,refTableMenu:xn,refTableHeader:_n,refTableBody:En,refTableFooter:$n,refTableLeftHeader:Tn,refTableLeftBody:On,refTableLeftFooter:Nn,refTableRightHeader:An,refTableRightBody:Pn,refTableRightFooter:In,refLeftContainer:Mn,refRightContainer:Rn,refCellResizeBar:Un},er={computeSize:At,computeValidOpts:Bn,computeSXOpts:Dn,computeSYOpts:Ln,computeColumnOpts:zn,computeRowOpts:Hn,computeResizeleOpts:Yn,computeResizableOpts:Qn,computeSeqOpts:lo,computeRadioOpts:ro,computeCheckboxOpts:no,computeTooltipOpts:qn,computeEditOpts:Xn,computeSortOpts:io,computeFilterOpts:fo,computeMouseOpts:Zn,computeAreaOpts:to,computeKeyboardOpts:ao,computeClipOpts:po,computeFNROpts:mo,computeHeaderMenu:Mo,computeBodyMenu:vo,computeFooterMenu:ho,computeIsMenu:$o,computeMenuOpts:No,computeExportOpts:Oo,computeImportOpts:oo,computePrintOpts:Co,computeExpandOpts:yo,computeTreeOpts:Io,computeEmptyOpts:xo,computeLoadingOpts:Ao,computeCustomOpts:Fo,computeFixedColumnSize:Po,computeIsMaxFixedColumn:ko,computeIsAllCheckboxDisabled:Yo},go={xID:qe,props:$e,context:Ie,reactData:Dt,internalData:Lt,getRefMaps:()=>Ro,getComputeMaps:()=>er,xegrid:jn},rr=(Kn,Jn,uo)=>{const To=XEUtils$1.get(Kn,uo),Bo=XEUtils$1.get(Jn,uo);return eqEmptyValue$1(To)&&eqEmptyValue$1(Bo)?!0:XEUtils$1.isString(To)||XEUtils$1.isNumber(To)?""+To==""+Bo:XEUtils$1.isEqual(To,Bo)},hr=Kn=>{const Jn=io.value,{orders:uo}=Jn,To=Kn.order||null,Bo=uo.indexOf(To)+1;return uo[Bo{const Jn=getConfig$5().version,uo=XEUtils$1.toStringJSON(localStorage.getItem(customStorageKey)||""),To=uo&&uo._v===Jn?uo:{_v:Jn};return(Kn?To[Kn]:To)||{}},mr=(Kn,Jn)=>{const uo=getConfig$5().version,To=gr();To[Kn]=Jn||void 0,To._v=uo,localStorage.setItem(customStorageKey,XEUtils$1.toJSONString(To))},kr=Kn=>{const{fullAllDataRowIdData:Jn}=Lt,uo={};return XEUtils$1.each(Kn,(To,Bo)=>{Jn[Bo]&&(uo[Bo]=To)}),uo},Er=Kn=>{const{fullDataRowIdData:Jn}=Lt,uo=[];return XEUtils$1.each(Kn,(To,Bo)=>{Jn[Bo]&&go.findRowIndexOf(uo,Jn[Bo].row)===-1&&uo.push(Jn[Bo].row)}),uo},Rr=()=>{const{visibleColumn:Kn}=Lt,Jn=En.value,uo=Jn?Jn.$el:null;if(uo){const{scrollLeft:To,clientWidth:Bo}=uo,Uo=To+Bo;let Ko=-1,nr=0,Ho=0;for(let or=0,tr=Kn.length;or=0&&(Ho++,nr>Uo)));or++);return{toVisibleIndex:Math.max(0,Ko),visibleSize:Math.max(8,Ho)}}return{toVisibleIndex:0,visibleSize:8}},Wr=()=>{const Kn=_n.value,Jn=En.value,uo=Jn?Jn.$el:null,To=At.value,Bo=Vn.value;if(uo){const Uo=Kn?Kn.$el:null;let Ko=0,nr;nr=uo.querySelector("tr"),!nr&&Uo&&(nr=Uo.querySelector("tr")),nr&&(Ko=nr.clientHeight),Ko||(Ko=Bo[To||"default"]);const Ho=Math.max(8,Math.ceil(uo.clientHeight/Ko)+2);return{rowHeight:Ko,visibleSize:Ho}}return{rowHeight:0,visibleSize:8}},Cr=(Kn,Jn,uo)=>{for(let To=0,Bo=Kn.length;To{if(Kn){const{treeConfig:To}=$e,{visibleColumn:Bo}=Lt;XEUtils$1.isArray(Kn)||(Kn=[Kn]),To&&Kn.length&&errLog$1("vxe.error.noTree",["merge-cells | merge-footer-items"]),Kn.forEach(Uo=>{let{row:Ko,col:nr,rowspan:Ho,colspan:or}=Uo;if(uo&&XEUtils$1.isNumber(Ko)&&(Ko=uo[Ko]),XEUtils$1.isNumber(nr)&&(nr=Bo[nr]),(uo?Ko:XEUtils$1.isNumber(Ko))&&nr&&(Ho||or)&&(Ho=XEUtils$1.toNumber(Ho)||1,or=XEUtils$1.toNumber(or)||1,Ho>1||or>1)){const tr=XEUtils$1.findIndexOf(Jn,So=>(So._row===Ko||getRowid(go,So._row)===getRowid(go,Ko))&&(So._col.id===nr||So._col.id===nr.id)),wo=Jn[tr];if(wo)wo.rowspan=Ho,wo.colspan=or,wo._rowspan=Ho,wo._colspan=or;else{const So=uo?go.findRowIndexOf(uo,Ko):Ko,Do=jt.getVTColumnIndex(nr);Jn.push({row:So,col:Do,rowspan:Ho,colspan:or,_row:Ko,_col:nr,_rowspan:Ho,_colspan:or})}}})}},hi=(Kn,Jn,uo)=>{const To=[];if(Kn){const{treeConfig:Bo}=$e,{visibleColumn:Uo}=Lt;XEUtils$1.isArray(Kn)||(Kn=[Kn]),Bo&&Kn.length&&errLog$1("vxe.error.noTree",["merge-cells | merge-footer-items"]),Kn.forEach(Ko=>{let{row:nr,col:Ho}=Ko;uo&&XEUtils$1.isNumber(nr)&&(nr=uo[nr]),XEUtils$1.isNumber(Ho)&&(Ho=Uo[Ho]);const or=XEUtils$1.findIndexOf(Jn,tr=>(tr._row===nr||getRowid(go,tr._row)===getRowid(go,nr))&&(tr._col.id===Ho||tr._col.id===Ho.id));if(or>-1){const tr=Jn.splice(or,1);To.push(tr[0])}})}return To},pi=()=>{const{tableFullColumn:Kn}=Lt;Kn.forEach(Jn=>{Jn.order=null})},vi=Kn=>{const{parentHeight:Jn}=Dt,uo=$e[Kn];let To=0;if(uo)if(uo==="auto")To=Jn;else{const Bo=go.getExcludeHeight();isScale(uo)?To=Math.floor((XEUtils$1.toInteger(uo)||1)/100*Jn):To=XEUtils$1.toNumber(uo),To=Math.max(40,To-Bo)}return To},li=Kn=>{const{tableFullColumn:Jn}=Lt;let{collectColumn:uo}=Lt;const{resizableData:To,sortData:Bo,visibleData:Uo,fixedData:Ko}=Kn;let nr=!1;(To||Bo||Uo||Ko)&&(Jn.forEach(Ho=>{const or=Ho.getKey();To&&XEUtils$1.isNumber(To[or])&&(Ho.resizeWidth=To[or]),Uo&&XEUtils$1.isBoolean(Uo[or])&&(Ho.visible=Uo[or]),Ko&&Ko[or]&&(Ho.fixed=Ko[or]),Bo&&XEUtils$1.isNumber(Bo[or])&&(nr=!0,Ho.renderSortNumber=Bo[or])}),nr&&(uo=XEUtils$1.orderBy(uo,"renderSortNumber"),Lt.collectColumn=uo,Lt.tableFullColumn=xr(uo)))},oi=()=>{const{id:Kn,customConfig:Jn}=$e,uo=Fo.value,{storage:To,restoreStore:Bo}=uo,Uo=To===!0,Ko=Uo?{}:Object.assign({},To||{}),nr=Uo||Ko.resizable,Ho=Uo||Ko.visible,or=Uo||Ko.fixed,tr=Uo||Ko.sort;if(Jn&&(nr||Ho||or||tr)){if(!Kn){errLog$1("vxe.error.reqProp",["id"]);return}const wo=gr(Kn);return Bo?Promise.resolve(Bo({id:Kn,type:"restore",storeData:wo})).then(So=>{if(So)return li(So)}).catch(So=>So):li(wo)}},Zr=()=>{const{tableFullColumn:Kn,collectColumn:Jn}=Lt,uo=Lt.fullColumnIdData={},To=Lt.fullColumnFieldData={};Zn.value,zn.value,Hn.value;const Bo=Jn.some(hasChildrenList);let Uo=!!$e.showOverflow,Ko,nr;const Ho=(or,tr,wo,So,Do)=>{const{id:Qo,field:pr,fixed:ur,type:cr,treeNode:vr}=or,Sr={column:or,colid:Qo,index:tr,items:wo,parent:Do};pr&&(To[pr]=Sr),vr?nr||(nr=or):cr==="expand"&&(Ko||(Ko=or)),Uo&&or.showOverflow===!1&&(Uo=!1),uo[Qo]&&errLog$1("vxe.error.colRepet",["colId",Qo]),uo[Qo]=Sr};Bo?XEUtils$1.eachTree(Jn,(or,tr,wo,So,Do,Qo)=>{or.level=Qo.length,Ho(or,tr,wo,So,Do)}):Kn.forEach(Ho),Dt.isGroup=Bo,Dt.treeNodeColumn=nr,Dt.expandColumn=Ko,Dt.isAllOverflow=Uo},_r=()=>{Lt.customHeight=vi("height"),Lt.customMinHeight=vi("minHeight"),Lt.customMaxHeight=vi("maxHeight")},ir=()=>{const Kn=_n.value,Jn=En.value,uo=$n.value,To=Jn?Jn.$el:null,Bo=Kn?Kn.$el:null,Uo=uo?uo.$el:null;if(!To)return;let Ko=0;const nr=40,Ho=To.clientWidth-1;let or=Ho,tr=or/100;const{fit:wo}=$e,{columnStore:So}=Dt,{resizeList:Do,pxMinList:Qo,pxList:pr,scaleList:ur,scaleMinList:cr,autoList:vr}=So;if(Qo.forEach(bi=>{const gi=XEUtils$1.toInteger(bi.minWidth);Ko+=gi,bi.renderWidth=gi}),cr.forEach(bi=>{const gi=Math.floor(XEUtils$1.toInteger(bi.minWidth)*tr);Ko+=gi,bi.renderWidth=gi}),ur.forEach(bi=>{const gi=Math.floor(XEUtils$1.toInteger(bi.width)*tr);Ko+=gi,bi.renderWidth=gi}),pr.forEach(bi=>{const gi=XEUtils$1.toInteger(bi.width);Ko+=gi,bi.renderWidth=gi}),Do.forEach(bi=>{const gi=XEUtils$1.toInteger(bi.resizeWidth);Ko+=gi,bi.renderWidth=gi}),or-=Ko,tr=or>0?Math.floor(or/(cr.length+Qo.length+vr.length)):0,wo?or>0&&cr.concat(Qo).forEach(bi=>{Ko+=tr,bi.renderWidth+=tr}):tr=nr,vr.forEach(bi=>{const gi=Math.max(tr,nr);bi.renderWidth=gi,Ko+=gi}),wo){const bi=ur.concat(cr).concat(Qo).concat(vr);let gi=bi.length-1;if(gi>0){let Ii=Ho-Ko;if(Ii>0){for(;Ii>0&&gi>=0;)Ii--,bi[gi--].renderWidth++;Ko=Ho}}}const Sr=To.offsetHeight,Yr=To.scrollHeight>To.clientHeight;let Ur=0;Yr&&(Ur=Math.max(To.offsetWidth-To.clientWidth,0)),Dt.scrollbarWidth=Ur,Dt.overflowY=Yr,Lt.tableWidth=Ko,Lt.tableHeight=Sr;let ii=0;Bo&&(ii=Bo.clientHeight,nextTick(()=>{Bo&&To&&Bo.scrollLeft!==To.scrollLeft&&(Bo.scrollLeft=To.scrollLeft)})),Lt.headerHeight=ii;let xi=!1,mi=0,wi=0;Uo?(mi=Uo.offsetHeight,xi=Ko>Uo.clientWidth,xi&&(wi=Math.max(mi-Uo.clientHeight,0))):(xi=Ko>Ho,xi&&(wi=Math.max(Sr-To.clientHeight,0))),Lt.footerHeight=mi,Dt.overflowX=xi,Dt.scrollbarHeight=wi,_r(),Dt.parentHeight=Math.max(Lt.headerHeight+mi+20,hn.getParentHeight()),xi&&hn.checkScrolling()},lr=Kn=>{const{sortBy:Jn,sortType:uo}=Kn;return To=>{let Bo;return Jn?Bo=XEUtils$1.isFunction(Jn)?Jn({row:To,column:Kn}):XEUtils$1.get(To,Jn):Bo=hn.getCellLabel(To,Kn),!uo||uo==="auto"?isNaN(Bo)?Bo:XEUtils$1.toNumber(Bo):uo==="number"?XEUtils$1.toNumber(Bo):uo==="string"?XEUtils$1.toValueString(Bo):Bo}},Go=()=>{const{treeConfig:Kn}=$e,{afterFullData:Jn,fullDataRowIdData:uo,fullAllDataRowIdData:To}=Lt,{afterTreeFullData:Bo}=Lt,Uo=Io.value,Ko=Uo.children||Uo.childrenField,nr={};Kn?XEUtils$1.eachTree(Bo,(Ho,or,tr,wo)=>{const So=getRowid(go,Ho),Do=To[So],Qo=wo.map((pr,ur)=>ur%2===0?Number(pr)+1:".").join("");if(Do)Do.seq=Qo,Do._index=or;else{const pr={row:Ho,rowid:So,seq:Qo,index:-1,$index:-1,_index:or,items:[],parent:null,level:0};To[So]=pr,uo[So]=pr}nr[So]=Ho},{children:Uo.transform?Uo.mapChildrenField:Ko}):Jn.forEach((Ho,or)=>{const tr=getRowid(go,Ho),wo=To[tr],So=or+1;if(wo)wo.seq=So,wo._index=or;else{const Do={row:Ho,rowid:tr,seq:So,index:-1,$index:-1,_index:or,items:[],parent:null,level:0};To[tr]=Do,uo[tr]=Do}nr[tr]=Ho}),Lt.afterFullRowMaps=nr},Fr=()=>{const{treeConfig:Kn}=$e,{treeExpandedMaps:Jn}=Dt,uo=Io.value;if(Kn&&uo.transform){const To=[],Bo={};return XEUtils$1.eachTree(Lt.afterTreeFullData,(Uo,Ko,nr,Ho,or)=>{const tr=getRowid(go,Uo),wo=getRowid(go,or);(!or||Bo[wo]&&Jn[wo])&&(Bo[tr]=1,To.push(Uo))},{children:uo.mapChildrenField}),Lt.afterFullData=To,ri(To),To}return Lt.afterFullData},si=()=>{const{treeConfig:Kn}=$e,{tableFullColumn:Jn,tableFullData:uo,tableFullTreeData:To}=Lt,Bo=fo.value,Uo=io.value,Ko=Io.value,{transform:nr}=Ko,{remote:Ho,filterMethod:or}=Bo,{remote:tr,sortMethod:wo,multiple:So,chronological:Do}=Uo;let Qo=[],pr=[];if(!Ho||!tr){const ur=[];let cr=[];if(Jn.forEach(vr=>{const{field:Sr,sortable:Yr,order:Ur,filters:ii}=vr;if(!Ho&&ii&&ii.length){const xi=[],mi=[];ii.forEach(wi=>{wi.checked&&(mi.push(wi),xi.push(wi.value))}),mi.length&&ur.push({column:vr,valueList:xi,itemList:mi})}!tr&&Yr&&Ur&&cr.push({column:vr,field:Sr,property:Sr,order:Ur,sortTime:vr.sortTime})}),So&&Do&&cr.length>1&&(cr=XEUtils$1.orderBy(cr,"sortTime")),!Ho&&ur.length){const vr=Sr=>ur.every(({column:Yr,valueList:Ur,itemList:ii})=>{const{filterMethod:xi,filterRender:mi}=Yr,wi=mi?renderer$5.get(mi.name):null,bi=wi?wi.filterMethod:null,gi=wi?wi.defaultFilterMethod:null,Ii=getCellValue(Sr,Yr);return xi?ii.some(Gi=>xi({value:Gi.value,option:Gi,cellValue:Ii,row:Sr,column:Yr,$table:go})):bi?ii.some(Gi=>bi({value:Gi.value,option:Gi,cellValue:Ii,row:Sr,column:Yr,$table:go})):or?or({options:ii,values:Ur,cellValue:Ii,row:Sr,column:Yr}):gi?ii.some(Gi=>gi({value:Gi.value,option:Gi,cellValue:Ii,row:Sr,column:Yr,$table:go})):Ur.indexOf(XEUtils$1.get(Sr,Yr.field))>-1});Kn&&nr?(pr=XEUtils$1.searchTree(To,vr,Object.assign(Object.assign({},Ko),{original:!0})),Qo=pr):(Qo=Kn?To.filter(vr):uo.filter(vr),pr=Qo)}else Kn&&nr?(pr=XEUtils$1.searchTree(To,()=>!0,Object.assign(Object.assign({},Ko),{original:!0})),Qo=pr):(Qo=Kn?To.slice(0):uo.slice(0),pr=Qo);if(!tr&&cr.length)if(Kn&&nr){if(wo){const vr=wo({data:pr,sortList:cr,$table:go});pr=XEUtils$1.isArray(vr)?vr:pr}else pr=XEUtils$1.orderBy(pr,cr.map(({column:vr,order:Sr})=>[lr(vr),Sr]));Qo=pr}else{if(wo){const vr=wo({data:Qo,sortList:cr,$table:go});Qo=XEUtils$1.isArray(vr)?vr:Qo}else Qo=XEUtils$1.orderBy(Qo,cr.map(({column:vr,order:Sr})=>[lr(vr),Sr]));pr=Qo}}else Kn&&nr?(pr=XEUtils$1.searchTree(To,()=>!0,Object.assign(Object.assign({},Ko),{original:!0})),Qo=pr):(Qo=Kn?To.slice(0):uo.slice(0),pr=Qo);Lt.afterFullData=Qo,Lt.afterTreeFullData=pr,Go()},Jr=()=>{const{border:Kn,showFooter:Jn,showOverflow:uo,showHeaderOverflow:To,showFooterOverflow:Bo,mouseConfig:Uo,spanMethod:Ko,footerSpanMethod:nr,keyboardConfig:Ho}=$e,{isGroup:or,currentRow:tr,tableColumn:wo,scrollXLoad:So,scrollYLoad:Do,scrollbarWidth:Qo,scrollbarHeight:pr,columnStore:ur,editStore:cr,mergeList:vr,mergeFooterList:Sr,isAllOverflow:Yr}=Dt;let{visibleColumn:Ur,fullColumnIdData:ii,tableHeight:xi,tableWidth:mi,headerHeight:wi,footerHeight:bi,elemStore:gi,customHeight:Ii,customMinHeight:Gi,customMaxHeight:ia}=Lt;const fa=["main","left","right"],Zi=Wn.value,ta=bo.value,sa=Zn.value,ca=ao.value,va=gi["main-body-wrapper"],wa=va?va.value:null;return Zi&&(Zi.style.top=`${wi}px`,Zi.style.height=wa?`${wa.offsetHeight-pr}px`:""),Ii>0&&Jn&&(Ii+=pr),fa.forEach((Ji,ba)=>{const Hi=ba>0?Ji:"",Li=["header","body","footer"],Qi=Hi==="left";let Wi=[],ka;Hi&&(Wi=Qi?ur.leftList:ur.rightList,ka=Qi?Mn.value:Rn.value),Li.forEach(aa=>{const Ki=gi[`${Ji}-${aa}-wrapper`],pa=Ki?Ki.value:null,Oa=gi[`${Ji}-${aa}-table`],xa=Oa?Oa.value:null;if(aa==="header"){let ma=mi,ua=wo;or?ua=Ur:Hi&&(So||To)&&(ua=Wi),ma=ua.reduce((ea,za)=>ea+za.renderWidth,0),xa&&(xa.style.width=ma?`${ma+Qo}px`:"");const la=gi[`${Ji}-${aa}-repair`],da=la?la.value:null;da&&(da.style.width=`${mi}px`);const Xi=gi[`${Ji}-${aa}-list`],ga=Xi?Xi.value:null;or&&ga&&XEUtils$1.arrayEach(ga.querySelectorAll(".col--group"),ea=>{const za=jt.getColumnNode(ea);if(za){const Ua=za.item,{showHeaderOverflow:Ha}=Ua,Jo=XEUtils$1.isBoolean(Ha)?Ha:To,$a=Jo==="title"||(Jo===!0||Jo==="tooltip")||Jo==="ellipsis";let Aa=0,ni=0;$a&&XEUtils$1.eachTree(Ua.children,co=>{(!co.children||!Ua.children.length)&&ni++,Aa+=co.renderWidth},{children:"children"}),ea.style.width=$a?`${Aa-ni-(Kn?2:0)}px`:""}})}else if(aa==="body"){const ma=gi[`${Ji}-${aa}-emptyBlock`],ua=ma?ma.value:null;if(isNodeElement(pa)){let Xi=0;const ga=Gi-wi-bi;if(ia&&(Xi=ia-wi-bi,Hi&&(Xi-=Jn?0:pr),Xi=Math.max(ga,Xi),pa.style.maxHeight=`${Xi}px`),Ii){let ea=Ii-wi-bi;Hi&&(ea-=Jn?0:pr),Xi&&(ea=Math.min(Xi,ea)),pa.style.height=`${Math.max(ga,ea)}px`}else pa.style.height="";pa.style.minHeight=`${ga}px`}ka&&(isNodeElement(pa)&&(pa.style.top=`${wi}px`),ka.style.height=`${(Ii>0?Ii-wi-bi:xi)+wi+bi-pr*(Jn?2:1)}px`,ka.style.width=`${Wi.reduce((Xi,ga)=>Xi+ga.renderWidth,Qi?0:Qo)}px`);let la=mi,da=wo;Hi&&(!Dt.expandColumn&&(Do||uo&&Yr)&&!vr.length&&!Ko&&!(Ho&&ca.isMerge)?da=Wi:da=Ur),la=da.reduce((Xi,ga)=>Xi+ga.renderWidth,0),xa&&(xa.style.width=la?`${la}px`:"",xa.style.paddingRight=Qo&&Hi&&(browse$1["-moz"]||browse$1.safari)?`${Qo}px`:""),ua&&(ua.style.width=la?`${la}px`:"")}else if(aa==="footer"){let ma=mi,ua=wo;Hi&&(!Dt.expandColumn&&(So||Bo)&&(!Sr.length||!nr)?ua=Wi:ua=Ur),ma=ua.reduce((la,da)=>la+da.renderWidth,0),isNodeElement(pa)&&(ka&&(pa.style.top=`${Ii>0?Ii-bi:xi+wi}px`),pa.style.marginTop=`${-Math.max(1,pr)}px`),xa&&(xa.style.width=ma?`${ma+Qo}px`:"")}const ja=gi[`${Ji}-${aa}-colgroup`],Wa=ja?ja.value:null;Wa&&XEUtils$1.arrayEach(Wa.children,ma=>{const ua=ma.getAttribute("name");if(ua==="col_gutter"&&(ma.style.width=`${Qo}px`),ii[ua]){const la=ii[ua].column,{showHeaderOverflow:da,showFooterOverflow:Xi,showOverflow:ga}=la;let ea;ma.style.width=`${la.renderWidth}px`,aa==="header"?ea=XEUtils$1.isUndefined(da)||XEUtils$1.isNull(da)?To:da:aa==="footer"?ea=XEUtils$1.isUndefined(Xi)||XEUtils$1.isNull(Xi)?Bo:Xi:ea=XEUtils$1.isUndefined(ga)||XEUtils$1.isNull(ga)?uo:ga;let Jo=ea==="title"||(ea===!0||ea==="tooltip")||ea==="ellipsis";const yi=gi[`${Ji}-${aa}-list`],Va=yi?yi.value:null;Do&&!Jo&&(Jo=!0),Va&&XEUtils$1.arrayEach(Va.querySelectorAll(`.${la.id}`),Da=>{const $a=parseInt(Da.getAttribute("colspan")||1),Aa=Da.querySelector(".vxe-cell");let ni=la.renderWidth;if(Aa){if($a>1){const co=jt.getColumnIndex(la);for(let Lo=1;Lo<$a;Lo++){const Vr=jt.getColumns(co+Lo);Vr&&(ni+=Vr.renderWidth)}}Aa.style.width=Jo?`${ni-ta*$a}px`:""}})}})})}),tr&&jt.setCurrentRow(tr),Uo&&sa.selected&&cr.selected.row&&cr.selected.column&&go.addCellSelectedClass(),nextTick()},Gr=Kn=>go.triggerValidate?go.triggerValidate(Kn):nextTick(),Kr=(Kn,Jn)=>{Gr("blur").catch(uo=>uo).then(()=>{go.handleActived(Jn,Kn).then(()=>Gr("change")).catch(uo=>uo)})},Lr=()=>{const{sortConfig:Kn}=$e;if(Kn){const Jn=io.value;let{defaultSort:uo}=Jn;uo&&(XEUtils$1.isArray(uo)||(uo=[uo]),uo.length&&((Kn.multiple?uo:uo.slice(0,1)).forEach((To,Bo)=>{const{field:Uo,order:Ko}=To;if(Uo&&Ko){const nr=jt.getColumnByField(Uo);nr&&nr.sortable&&(nr.order=Ko,nr.sortTime=Date.now()+Bo)}}),Jn.remote||hn.handleTableData(!0).then(Jr)))}},Or=()=>{const{checkboxConfig:Kn}=$e;if(Kn){const{fullDataRowIdData:Jn}=Lt,uo=no.value,{checkAll:To,checkRowKeys:Bo}=uo;if(To)ci(!0,!0);else if(Bo){const Uo=[];Bo.forEach(Ko=>{Jn[Ko]&&Uo.push(Jn[Ko].row)}),Xr(Uo,!0,!0)}}},Pr=()=>{const{radioConfig:Kn}=$e;if(Kn){const{fullDataRowIdData:Jn}=Lt,uo=ro.value,{checkRowKey:To,reserve:Bo}=uo;if(To&&(Jn[To]&&Mr(Jn[To].row,!0),Bo)){const Uo=getRowkey(go);Lt.radioReserveRow={[Uo]:To}}}},sr=()=>{const{expandConfig:Kn}=$e;if(Kn){const{fullDataRowIdData:Jn}=Lt,uo=yo.value,{expandAll:To,expandRowKeys:Bo}=uo;if(To)jt.setAllRowExpand(!0);else if(Bo){const Uo=[];Bo.forEach(Ko=>{Jn[Ko]&&Uo.push(Jn[Ko].row)}),jt.setRowExpand(Uo,!0)}}},Ar=Kn=>{ro.value.reserve&&(Lt.radioReserveRow=Kn)},Ir=(Kn,Jn)=>{const{checkboxReserveRowMap:uo}=Lt;if(no.value.reserve){const Bo=getRowid(go,Kn);Jn?uo[Bo]=Kn:uo[Bo]&&delete uo[Bo]}},Mr=(Kn,Jn)=>{const uo=ro.value,{checkMethod:To}=uo;return Kn&&(Jn||!To||To({row:Kn}))&&(Dt.selectRadioRow=Kn,Ar(Kn)),nextTick()},Xr=(Kn,Jn,uo)=>(Kn&&!XEUtils$1.isArray(Kn)&&(Kn=[Kn]),Kn.forEach(To=>hn.handleSelectRow({row:To},!!Jn,uo)),nextTick()),ci=(Kn,Jn)=>{const{treeConfig:uo}=$e,{selectCheckboxMaps:To}=Dt,{afterFullData:Bo,afterFullRowMaps:Uo,checkboxReserveRowMap:Ko}=Lt,nr=Io.value,Ho=nr.children||nr.childrenField,or=no.value,{checkField:tr,reserve:wo,checkStrictly:So,checkMethod:Do}=or,Qo=or.indeterminateField||or.halfField,pr={};if(uo||XEUtils$1.each(To,(ur,cr)=>{Uo[cr]||(pr[cr]=ur)}),So)Dt.isAllSelected=Kn;else{if(tr){const ur=cr=>{(Jn||!Do||Do({row:cr}))&&(Kn&&(pr[getRowid(go,cr)]=cr),XEUtils$1.set(cr,tr,Kn)),uo&&Qo&&XEUtils$1.set(cr,Qo,!1)};uo?XEUtils$1.eachTree(Bo,ur,{children:Ho}):Bo.forEach(ur)}else uo?Kn?XEUtils$1.eachTree(Bo,ur=>{(Jn||!Do||Do({row:ur}))&&(pr[getRowid(go,ur)]=ur)},{children:Ho}):!Jn&&Do&&XEUtils$1.eachTree(Bo,ur=>{const cr=getRowid(go,ur);!Do({row:ur})&&To[cr]&&(pr[cr]=ur)},{children:Ho}):Kn?!Jn&&Do?Bo.forEach(ur=>{const cr=getRowid(go,ur);(To[cr]||Do({row:ur}))&&(pr[cr]=ur)}):Bo.forEach(ur=>{pr[getRowid(go,ur)]=ur}):!Jn&&Do&&Bo.forEach(ur=>{const cr=getRowid(go,ur);!Do({row:ur})&&To[cr]&&(pr[cr]=ur)});wo&&(Kn?XEUtils$1.each(pr,(ur,cr)=>{Ko[cr]=ur}):Bo.forEach(ur=>Ir(ur,!1))),Dt.selectCheckboxMaps=tr?{}:pr}return Dt.treeIndeterminateMaps={},Lt.treeIndeterminateRowMaps={},hn.checkSelectionStatus(),nextTick()},di=()=>{const{treeConfig:Kn}=$e,{expandColumn:Jn,currentRow:uo,selectCheckboxMaps:To,selectRadioRow:Bo,rowExpandedMaps:Uo,treeExpandedMaps:Ko}=Dt,{fullDataRowIdData:nr,fullAllDataRowIdData:Ho,radioReserveRow:or}=Lt,tr=yo.value,wo=Io.value,So=ro.value,Do=no.value;if(Bo&&!Ho[getRowid(go,Bo)]&&(Dt.selectRadioRow=null),So.reserve&&or){const Qo=getRowid(go,or);nr[Qo]&&Mr(nr[Qo].row,!0)}Dt.selectCheckboxMaps=kr(To),Do.reserve&&Xr(Er(Lt.checkboxReserveRowMap),!0,!0),uo&&!Ho[getRowid(go,uo)]&&(Dt.currentRow=null),Dt.rowExpandedMaps=Jn?kr(Uo):{},Jn&&tr.reserve&&jt.setRowExpand(Er(Lt.rowExpandedReserveRowMap),!0),Dt.treeExpandedMaps=Kn?kr(Ko):{},Kn&&wo.reserve&&jt.setTreeExpand(Er(Lt.treeExpandedReserveRowMap),!0)},ki=()=>{const{treeConfig:Kn}=$e;if(Kn){const{tableFullData:Jn}=Lt,uo=Io.value,{expandAll:To,expandRowKeys:Bo}=uo,Uo=uo.children||uo.childrenField;if(To)jt.setAllTreeExpand(!0);else if(Bo){const Ko=[],nr=getRowkey(go);Bo.forEach(Ho=>{const or=XEUtils$1.findTree(Jn,tr=>Ho===XEUtils$1.get(tr,nr),{children:Uo});or&&Ko.push(or.item)}),jt.setTreeExpand(Ko,!0)}}},$i=Kn=>{const Jn=Io.value,uo=no.value,{transform:To,loadMethod:Bo}=Jn,{checkStrictly:Uo}=uo;return new Promise(Ko=>{if(Bo){const{treeExpandLazyLoadedMaps:nr}=Dt,{fullAllDataRowIdData:Ho}=Lt,or=getRowid(go,Kn),tr=Ho[or];nr[or]=Kn,Bo({$table:go,row:Kn}).then(wo=>{if(tr.treeLoaded=!0,nr[or]&&delete nr[or],XEUtils$1.isArray(wo)||(wo=[]),wo)return jt.loadTreeChildren(Kn,wo).then(So=>{const{treeExpandedMaps:Do}=Dt;return So.length&&!Do[or]&&(Do[or]=Kn),!Uo&&jt.isCheckedByCheckboxRow(Kn)&&Xr(So,!0),nextTick().then(()=>{if(To)return hn.handleTableData()})})}).catch(()=>{const{treeExpandLazyLoadedMaps:wo}=Dt;tr.treeLoaded=!1,wo[or]&&delete wo[or]}).finally(()=>{nextTick().then(()=>jt.recalculate()).then(()=>Ko())})}else Ko()})},Ti=(Kn,Jn)=>{const{treeExpandedReserveRowMap:uo}=Lt;if(Io.value.reserve){const Bo=getRowid(go,Kn);Jn?uo[Bo]=Kn:uo[Bo]&&delete uo[Bo]}},Ei=Kn=>new Promise(Jn=>{const uo=yo.value,{loadMethod:To}=uo;if(To){const{fullAllDataRowIdData:Bo}=Lt,{rowExpandLazyLoadedMaps:Uo}=Dt,Ko=getRowid(go,Kn),nr=Bo[Ko];Uo[Ko]=Kn,To({$table:go,row:Kn,rowIndex:jt.getRowIndex(Kn),$rowIndex:jt.getVMRowIndex(Kn)}).then(()=>{const{rowExpandedMaps:Ho}=Dt;nr.expandLoaded=!0,Ho[Ko]=Kn}).catch(()=>{nr.expandLoaded=!1}).finally(()=>{const{rowExpandLazyLoadedMaps:Ho}=Dt;Ho[Ko]&&delete Ho[Ko],nextTick().then(()=>jt.recalculate()).then(()=>Jn())})}else Jn()}),Pi=(Kn,Jn)=>{const{rowExpandedReserveRowMap:uo}=Lt;if(yo.value.reserve){const Bo=getRowid(go,Kn);Jn?uo[Bo]=Kn:uo[Bo]&&delete uo[Bo]}},ji=()=>{const{mergeCells:Kn}=$e;Kn&&jt.setMergeCells(Kn)},Di=()=>{const{mergeFooterItems:Kn}=$e;Kn&&jt.setMergeFooterItems(Kn)},Fi=()=>nextTick().then(()=>{const{scrollXLoad:Kn,scrollYLoad:Jn}=Dt,{scrollXStore:uo,scrollYStore:To}=Lt,Bo=Ln.value,Uo=Dn.value;if(Kn){const{visibleSize:Ho}=Rr(),or=Uo.oSize?XEUtils$1.toNumber(Uo.oSize):browse$1.edge?5:0;uo.offsetSize=or,uo.visibleSize=Ho,uo.endIndex=Math.max(uo.startIndex+uo.visibleSize+or,uo.endIndex),hn.updateScrollXData()}else hn.updateScrollXSpace();const{rowHeight:Ko,visibleSize:nr}=Wr();if(To.rowHeight=Ko,Jn){const Ho=Bo.oSize?XEUtils$1.toNumber(Bo.oSize):browse$1.edge?10:0;To.offsetSize=Ho,To.visibleSize=nr,To.endIndex=Math.max(To.startIndex+nr+Ho,To.endIndex),hn.updateScrollYData()}else hn.updateScrollYSpace();Dt.rowHeight=Ko,nextTick(Jr)}),Mi=Kn=>{const{keepSource:Jn,treeConfig:uo}=$e,{editStore:To,scrollYLoad:Bo}=Dt,{scrollYStore:Uo,scrollXStore:Ko,lastScrollLeft:nr,lastScrollTop:Ho}=Lt,or=Io.value,{transform:tr}=or,wo=or.children||or.childrenField;let So=[],Do=reactive(Kn?Kn.slice(0):[]);uo&&(tr?(So=XEUtils$1.toArrayTree(Do,{key:or.rowField,parentKey:or.parentField,children:wo,mapChildren:or.mapChildrenField}),Do=So.slice(0)):So=Do.slice(0)),Uo.startIndex=0,Uo.endIndex=1,Ko.startIndex=0,Ko.endIndex=1,Dt.scrollVMLoading=!1,To.insertMaps={},To.removeMaps={};const Qo=ri(Do);return Dt.scrollYLoad=Qo,Lt.tableFullData=Do,Lt.tableFullTreeData=So,hn.cacheRowMap(!0),Lt.tableSynchData=Kn,Jn&&hn.cacheSourceMap(Do),go.clearCellAreas&&$e.mouseConfig&&(go.clearCellAreas(),go.clearCopyCellArea()),jt.clearMergeCells(),jt.clearMergeFooterItems(),hn.handleTableData(!0),jt.updateFooter(),nextTick().then(()=>{_r(),Jr()}).then(()=>{Fi()}).then(()=>(Qo&&(Uo.endIndex=Uo.visibleSize),di(),hn.checkSelectionStatus(),new Promise(pr=>{nextTick().then(()=>jt.recalculate()).then(()=>{let ur=nr,cr=Ho;const vr=Dn.value,Sr=Ln.value;vr.scrollToLeftOnChange&&(ur=0),Sr.scrollToTopOnChange&&(cr=0),Bo===Qo?restoreScrollLocation(go,ur,cr).then(pr):setTimeout(()=>restoreScrollLocation(go,ur,cr).then(pr))})})))},Bi=()=>{Or(),Pr(),sr(),ki(),ji(),Di(),nextTick(()=>setTimeout(()=>jt.recalculate()))},qo=()=>{Lr()},fr=()=>{const{scrollXLoad:Kn}=Dt,{visibleColumn:Jn,scrollXStore:uo,fullColumnIdData:To}=Lt,Bo=Kn?Jn.slice(uo.startIndex,uo.endIndex):Jn.slice(0);Bo.forEach((Uo,Ko)=>{const nr=Uo.id,Ho=To[nr];Ho&&(Ho.$index=Ko)}),Dt.tableColumn=Bo},wr=()=>{const{mergeList:Kn,mergeFooterList:Jn}=Dt,{scrollXStore:uo}=Lt,{startIndex:To,endIndex:Bo,offsetSize:Uo}=uo,{toVisibleIndex:Ko,visibleSize:nr}=Rr(),Ho={startIndex:Math.max(0,Ko-1-Uo),endIndex:Ko+nr+Uo};Cr(Kn.concat(Jn),Ho,"col");const{startIndex:or,endIndex:tr}=Ho;(Ko<=To||Ko>=Bo-nr-1)&&(To!==or||Bo!==tr)&&(uo.startIndex=or,uo.endIndex=tr,hn.updateScrollXData()),jt.closeTooltip()},xr=Kn=>{const Jn=[];return Kn.forEach(uo=>{Jn.push(...uo.children&&uo.children.length?xr(uo.children):[uo])}),Jn},zr=()=>{const Kn=[],Jn=[],uo=[],{isGroup:To,columnStore:Bo}=Dt,Uo=Dn.value,{collectColumn:Ko,tableFullColumn:nr,scrollXStore:Ho,fullColumnIdData:or}=Lt;if(To){const So=[],Do=[],Qo=[];XEUtils$1.eachTree(Ko,(pr,ur,cr,vr,Sr)=>{const Yr=hasChildrenList(pr);Sr&&Sr.fixed&&(pr.fixed=Sr.fixed),Sr&&pr.fixed!==Sr.fixed&&errLog$1("vxe.error.groupFixed"),Yr?pr.visible=!!XEUtils$1.findTree(pr.children,Ur=>hasChildrenList(Ur)?!1:Ur.visible):pr.visible&&(pr.fixed==="left"?Kn.push(pr):pr.fixed==="right"?uo.push(pr):Jn.push(pr))}),Ko.forEach(pr=>{pr.visible&&(pr.fixed==="left"?So.push(pr):pr.fixed==="right"?Qo.push(pr):Do.push(pr))}),Dt.tableGroupColumn=So.concat(Do).concat(Qo)}else nr.forEach(So=>{So.visible&&(So.fixed==="left"?Kn.push(So):So.fixed==="right"?uo.push(So):Jn.push(So))});const tr=Kn.concat(Jn).concat(uo),wo=!!Uo.enabled&&Uo.gt>-1&&(Uo.gt===0||Uo.gt0||uo.length>0,Object.assign(Bo,{leftList:Kn,centerList:Jn,rightList:uo}),wo){const{visibleSize:So}=Rr();Ho.startIndex=0,Ho.endIndex=So,Ho.visibleSize=So}return(tr.length!==Lt.visibleColumn.length||!Lt.visibleColumn.every((So,Do)=>So===tr[Do]))&&(jt.clearMergeCells(),jt.clearMergeFooterItems()),Dt.scrollXLoad=wo,tr.forEach((So,Do)=>{const Qo=So.id,pr=or[Qo];pr&&(pr._index=Do)}),Lt.visibleColumn=tr,fr(),jt.updateFooter().then(()=>jt.recalculate()).then(()=>(jt.updateCellAreas(),jt.recalculate()))},Br=()=>{const{collectColumn:Kn}=Lt;Kn.forEach((Jn,uo)=>{const To=uo+1;Jn.sortNumber=To,Jn.renderSortNumber=To})},qr=Kn=>{Lt.collectColumn=Kn;const Jn=xr(Kn);return Lt.tableFullColumn=Jn,Dt._isLoading=!0,Br(),Promise.resolve(oi()).then(()=>(Dt._isLoading=!1,Zr(),zr().then(()=>{Dt.scrollXLoad&&wr()}),jt.clearMergeCells(),jt.clearMergeFooterItems(),hn.handleTableData(!0),nextTick().then(()=>(Fn&&Fn.syncUpdate({collectColumn:Kn,$table:go}),jt.recalculate()))))},ri=Kn=>{const{treeConfig:Jn}=$e,uo=Ln.value,To=Io.value,{transform:Bo}=To,Uo=Kn||Lt.tableFullData,Ko=(Bo||!Jn)&&!!uo.enabled&&uo.gt>-1&&(uo.gt===0||uo.gt{const{treeExpandedMaps:uo,treeExpandLazyLoadedMaps:To,treeNodeColumn:Bo}=Dt,Uo=Object.assign({},uo),{fullAllDataRowIdData:Ko,tableFullData:nr}=Lt,Ho=Io.value,{reserve:or,lazy:tr,accordion:wo,toggleMethod:So}=Ho,Do=Ho.children||Ho.childrenField,Qo=Ho.hasChild||Ho.hasChildField,pr=[],ur=jt.getColumnIndex(Bo),cr=jt.getVMColumnIndex(Bo);let vr=So?Kn.filter(Sr=>So({$table:go,expanded:Jn,column:Bo,columnIndex:ur,$columnIndex:cr,row:Sr})):Kn;if(wo){vr=vr.length?[vr[vr.length-1]]:[];const Sr=XEUtils$1.findTree(nr,Yr=>Yr===vr[0],{children:Do});Sr&&Sr.items.forEach(Yr=>{const Ur=getRowid(go,Yr);Uo[Ur]&&delete Uo[Ur]})}return Jn?vr.forEach(Sr=>{const Yr=getRowid(go,Sr);if(!Uo[Yr]){const Ur=Ko[Yr];tr&&Sr[Qo]&&!Ur.treeLoaded&&!To[Yr]?pr.push($i(Sr)):Sr[Do]&&Sr[Do].length&&(Uo[Yr]=Sr)}}):vr.forEach(Sr=>{const Yr=getRowid(go,Sr);Uo[Yr]&&delete Uo[Yr]}),or&&vr.forEach(Sr=>Ti(Sr,Jn)),Dt.treeExpandedMaps=Uo,Promise.all(pr).then(()=>jt.recalculate())},ti=(Kn,Jn)=>$r(Kn,Jn).then(()=>(Fr(),hn.handleTableData())).then(()=>jt.recalculate()),Oi=Kn=>{const{mergeList:Jn}=Dt,{scrollYStore:uo}=Lt,{startIndex:To,endIndex:Bo,visibleSize:Uo,offsetSize:Ko,rowHeight:nr}=uo,or=(Kn.currentTarget||Kn.target).scrollTop,tr=Math.floor(or/nr),wo={startIndex:Math.max(0,tr-1-Ko),endIndex:tr+Uo+Ko};Cr(Jn,wo,"row");const{startIndex:So,endIndex:Do}=wo;(tr<=To||tr>=Bo-Uo-1)&&(To!==So||Bo!==Do)&&(uo.startIndex=So,uo.endIndex=Do,hn.updateScrollYData())},_i=Kn=>function(Jn){const{fullAllDataRowIdData:uo}=Lt;if(Jn){const To=getRowid(go,Jn),Bo=uo[To];if(Bo)return Bo[Kn]}return-1},Ai=Kn=>function(Jn){const{fullColumnIdData:uo}=Lt;if(Jn){const To=uo[Jn.id];if(To)return To[Kn]}return-1},oa=XEUtils$1.debounce(function(Kn){Oi(Kn)},20,{leading:!1,trailing:!0});let qi;jt={dispatchEvent(Kn,Jn,uo){Ue(Kn,createEvent$2(uo,{$table:go,$grid:jn},Jn))},clearAll(){return clearTableAllStatus(go)},syncData(){return warnLog$1("vxe.error.delFunc",["syncData","getData"]),nextTick().then(()=>(Dt.tableData=[],Ue("update:data",Lt.tableFullData),nextTick()))},updateData(){const{scrollXLoad:Kn,scrollYLoad:Jn}=Dt;return hn.handleTableData(!0).then(()=>{if(jt.updateFooter(),Kn||Jn)return Kn&&hn.updateScrollXSpace(),Jn&&hn.updateScrollYSpace(),jt.refreshScroll()}).then(()=>(jt.updateCellAreas(),jt.recalculate(!0))).then(()=>{setTimeout(()=>go.recalculate(),50)})},loadData(Kn){const{inited:Jn,initStatus:uo}=Lt;return Mi(Kn).then(()=>(Lt.inited=!0,Lt.initStatus=!0,uo||Bi(),Jn||qo(),jt.recalculate()))},reloadData(Kn){const{inited:Jn}=Lt;return jt.clearAll().then(()=>(Lt.inited=!0,Lt.initStatus=!0,Mi(Kn))).then(()=>(Bi(),Jn||qo(),jt.recalculate()))},setRow(Kn,Jn){if(Kn&&Jn){let uo=Kn;XEUtils$1.isArray(Kn)||(uo=[Kn]),uo.forEach(To=>Object.assign(To,Jn))}return nextTick()},reloadRow(Kn,Jn,uo){const{keepSource:To}=$e,{tableData:Bo}=Dt,{tableSourceData:Uo}=Lt;if(To){const Ko=jt.getRowIndex(Kn),nr=Uo[Ko];if(nr&&Kn)if(uo){const Ho=XEUtils$1.get(Jn||Kn,uo);XEUtils$1.set(Kn,uo,Ho),XEUtils$1.set(nr,uo,Ho)}else{const Ho=XEUtils$1.clone(Object.assign({},Jn),!0);XEUtils$1.destructuring(nr,Object.assign(Kn,Ho))}Dt.tableData=Bo.slice(0)}return nextTick()},loadTreeChildren(Kn,Jn){const{keepSource:uo}=$e,{tableSourceData:To,fullDataRowIdData:Bo,fullAllDataRowIdData:Uo,sourceDataRowIdData:Ko}=Lt,nr=Io.value,{transform:Ho,mapChildrenField:or}=nr,tr=nr.children||nr.childrenField,wo=Uo[getRowid(go,Kn)],So=wo?wo.level:0;return jt.createData(Jn).then(Do=>{if(uo){const Qo=getRowid(go,Kn),pr=XEUtils$1.findTree(To,ur=>Qo===getRowid(go,ur),{children:tr});pr&&(pr.item[tr]=XEUtils$1.clone(Do,!0)),Do.forEach(ur=>{const cr=getRowid(go,ur);Ko[cr]=XEUtils$1.clone(ur,!0)})}return XEUtils$1.eachTree(Do,(Qo,pr,ur,cr,vr,Sr)=>{const Yr=getRowid(go,Qo),Ur=vr||wo.row,ii={row:Qo,rowid:Yr,seq:-1,index:pr,_index:-1,$index:-1,items:ur,parent:Ur,level:So+Sr.length};Bo[Yr]=ii,Uo[Yr]=ii},{children:tr}),Kn[tr]=Do,Ho&&(Kn[or]=Do),Go(),Do})},loadColumn(Kn){const Jn=XEUtils$1.mapTree(Kn,uo=>reactive(Cell.createColumn(go,uo)));return qr(Jn)},reloadColumn(Kn){return jt.clearAll().then(()=>jt.loadColumn(Kn))},getRowNode(Kn){if(Kn){const{fullAllDataRowIdData:Jn}=Lt,uo=Kn.getAttribute("rowid");if(uo){const To=Jn[uo];if(To)return{rowid:To.rowid,item:To.row,index:To.index,items:To.items,parent:To.parent}}}return null},getColumnNode(Kn){if(Kn){const{fullColumnIdData:Jn}=Lt,uo=Kn.getAttribute("colid");if(uo){const To=Jn[uo];if(To)return{colid:To.colid,item:To.column,index:To.index,items:To.items,parent:To.parent}}}return null},getRowSeq:_i("seq"),getRowIndex:_i("index"),getVTRowIndex:_i("_index"),getVMRowIndex:_i("$index"),getColumnIndex:Ai("index"),getVTColumnIndex:Ai("_index"),getVMColumnIndex:Ai("$index"),createData(Kn){return nextTick().then(()=>reactive(hn.defineField(Kn)))},createRow(Kn){const Jn=XEUtils$1.isArray(Kn);return Jn||(Kn=[Kn||{}]),jt.createData(Kn).then(uo=>Jn?uo:uo[0])},revertData(Kn,Jn){const{keepSource:uo}=$e,{tableSourceData:To,sourceDataRowIdData:Bo}=Lt;if(!uo)return nextTick();let Uo=Kn;return Kn?XEUtils$1.isArray(Kn)||(Uo=[Kn]):Uo=XEUtils$1.toArray(go.getUpdateRecords()),Uo.length&&Uo.forEach(Ko=>{if(!jt.isInsertByRow(Ko)){const nr=getRowid(go,Ko),Ho=Bo[nr];Ho&&Ko&&(Jn?XEUtils$1.set(Ko,Jn,XEUtils$1.clone(XEUtils$1.get(Ho,Jn),!0)):XEUtils$1.destructuring(Ko,XEUtils$1.clone(Ho,!0)))}}),Kn?nextTick():jt.reloadData(To)},clearData(Kn,Jn){const{tableFullData:uo,visibleColumn:To}=Lt;return arguments.length?Kn&&!XEUtils$1.isArray(Kn)&&(Kn=[Kn]):Kn=uo,Jn?Kn.forEach(Bo=>XEUtils$1.set(Bo,Jn,null)):Kn.forEach(Bo=>{To.forEach(Uo=>{Uo.field&&setCellValue(Bo,Uo,null)})}),nextTick()},isInsertByRow(Kn){const{editStore:Jn}=Dt,uo=getRowid(go,Kn);return Jn.insertMaps[uo]},removeInsertRow(){const{editStore:Kn}=Dt;return Kn.insertMaps={},go.remove(go.getInsertRecords())},isUpdateByRow(Kn,Jn){const{keepSource:uo}=$e,{tableFullColumn:To,fullDataRowIdData:Bo,sourceDataRowIdData:Uo}=Lt;if(uo){const Ko=getRowid(go,Kn);if(!Bo[Ko])return!1;const nr=Uo[Ko];if(nr){if(arguments.length>1)return!rr(nr,Kn,Jn);for(let Ho=0,or=To.length;HoXEUtils$1.get(ur,So),{children:tr?wo:Do}):Qo=pr.filter(ur=>XEUtils$1.get(ur,So));else{const{selectCheckboxMaps:ur}=Dt;XEUtils$1.each(ur,(cr,vr)=>{Kn?Ko[vr]&&Qo.push(Ko[vr].row):nr[vr]&&Qo.push(nr[vr])})}return Qo},getParentRow(Kn){const{treeConfig:Jn}=$e,{fullDataRowIdData:uo}=Lt;if(Kn&&Jn){let To;if(XEUtils$1.isString(Kn)?To=Kn:To=getRowid(go,Kn),To){const Bo=uo[To];return Bo?Bo.parent:null}}return null},getRowById(Kn){const{fullDataRowIdData:Jn}=Lt,uo=XEUtils$1.eqNull(Kn)?"":encodeURIComponent(Kn||"");return Jn[uo]?Jn[uo].row:null},getRowid(Kn){return getRowid(go,Kn)},getTableData(){const{tableData:Kn,footerTableData:Jn}=Dt,{tableFullData:uo,afterFullData:To,tableFullTreeData:Bo}=Lt;return{fullData:$e.treeConfig?Bo.slice(0):uo.slice(0),visibleData:To.slice(0),tableData:Kn.slice(0),footerData:Jn.slice(0)}},setColumnFixed(Kn,Jn){const uo=handleFieldOrColumn(go,Kn),To=getRootColumn(go,uo),Bo=ko.value,Uo=zn.value,{maxFixedSize:Ko}=Uo;return To&&To.fixed!==Jn?!To.fixed&&Bo?(VxeUI.modal&&VxeUI.modal.message({status:"error",content:getI18n$5("vxe.table.maxFixedCol",[Ko])}),nextTick()):(XEUtils$1.eachTree([To],nr=>{nr.fixed=Jn}),hn.saveCustomStore("update:fixed"),jt.refreshColumn()):nextTick()},clearColumnFixed(Kn){const Jn=handleFieldOrColumn(go,Kn),uo=getRootColumn(go,Jn);return uo&&uo.fixed?(XEUtils$1.eachTree([uo],To=>{To.fixed=null}),hn.saveCustomStore("update:fixed"),jt.refreshColumn()):nextTick()},hideColumn(Kn){const Jn=handleFieldOrColumn(go,Kn);return Jn&&Jn.visible?(Jn.visible=!1,hn.handleCustom()):nextTick()},showColumn(Kn){const Jn=handleFieldOrColumn(go,Kn);return Jn&&!Jn.visible?(Jn.visible=!0,hn.handleCustom()):nextTick()},setColumnWidth(Kn,Jn){const uo=handleFieldOrColumn(go,Kn);if(uo){const To=XEUtils$1.toInteger(Jn);let Bo=To;if(isScale(Jn)){const Uo=En.value,Ko=Uo?Uo.$el:null,nr=Ko?Ko.clientWidth-1:0;Bo=Math.floor(To*nr)}uo.renderWidth=Bo}return nextTick()},getColumnWidth(Kn){const Jn=handleFieldOrColumn(go,Kn);return Jn?Jn.renderWidth:0},resetColumn(Kn){const{collectColumn:Jn}=Lt,uo=Fo.value,{checkMethod:To}=uo,Bo=Object.assign({visible:!0,resizable:Kn===!0,fixed:Kn===!0,sort:Kn===!0},Kn);return XEUtils$1.eachTree(Jn,Uo=>{Bo.resizable&&(Uo.resizeWidth=0),Bo.fixed&&(Uo.fixed=Uo.defaultFixed),Bo.sort&&(Uo.renderSortNumber=Uo.sortNumber),(!To||To({column:Uo}))&&(Uo.visible=Uo.defaultVisible),Uo.renderResizeWidth=Uo.renderWidth}),go.saveCustomStore("reset"),hn.handleCustom()},refreshColumn(Kn){if(Kn){const Jn=XEUtils$1.orderBy(Lt.collectColumn,"renderSortNumber");Lt.collectColumn=Jn;const uo=xr(Jn);Lt.tableFullColumn=uo,Zr()}return zr().then(()=>jt.refreshScroll()).then(()=>jt.recalculate())},refreshScroll(){const{lastScrollLeft:Kn,lastScrollTop:Jn}=Lt,uo=En.value,To=$n.value,Bo=On.value,Uo=Pn.value,Ko=uo?uo.$el:null,nr=Bo?Bo.$el:null,Ho=Uo?Uo.$el:null,or=To?To.$el:null;return new Promise(tr=>{if(Kn||Jn)return restoreScrollLocation(go,Kn,Jn).then().then(()=>{setTimeout(tr,30)});setScrollTop(Ko,Jn),setScrollTop(nr,Jn),setScrollTop(Ho,Jn),setScrollLeft(or,Kn),setTimeout(tr,30)})},recalculate(Kn){return ir(),Kn===!0?Fi().then(()=>(ir(),Fi())):Fi()},openTooltip(Kn,Jn){const uo=kn.value;return uo&&uo.open?uo.open(Kn,Jn):nextTick()},closeTooltip(){const{tooltipStore:Kn}=Dt,Jn=bn.value,uo=kn.value;return Kn.visible&&(Object.assign(Kn,{row:null,column:null,content:null,visible:!1}),Jn&&Jn.close&&Jn.close()),uo&&uo.close&&uo.close(),nextTick()},isAllCheckboxChecked(){return Dt.isAllSelected},isAllCheckboxIndeterminate(){return!Dt.isAllSelected&&Dt.isIndeterminate},getCheckboxIndeterminateRecords(Kn){const{treeConfig:Jn}=$e,{fullDataRowIdData:uo}=Lt,{treeIndeterminateMaps:To}=Dt;if(Jn){const Bo=[],Uo=[];return XEUtils$1.each(To,(Ko,nr)=>{Ko&&(Bo.push(Ko),uo[nr]&&Uo.push(Ko))}),Kn?Bo:Uo}return[]},setCheckboxRow(Kn,Jn){return Xr(Kn,Jn,!0)},isCheckedByCheckboxRow(Kn){const{selectCheckboxMaps:Jn}=Dt,uo=no.value,{checkField:To}=uo;return To?XEUtils$1.get(Kn,To):!!Jn[getRowid(go,Kn)]},isIndeterminateByCheckboxRow(Kn){const{treeIndeterminateMaps:Jn}=Dt;return!!Jn[getRowid(go,Kn)]&&!jt.isCheckedByCheckboxRow(Kn)},toggleCheckboxRow(Kn){const{selectCheckboxMaps:Jn}=Dt,uo=no.value,{checkField:To}=uo,Bo=To?!XEUtils$1.get(Kn,To):!Jn[getRowid(go,Kn)];return hn.handleSelectRow({row:Kn},Bo,!0),nextTick()},setAllCheckboxRow(Kn){return ci(Kn,!0)},getRadioReserveRecord(Kn){const{treeConfig:Jn}=$e,{fullDataRowIdData:uo,radioReserveRow:To,afterFullData:Bo}=Lt,Uo=ro.value,Ko=Io.value,nr=Ko.children||Ko.childrenField;if(Uo.reserve&&To){const Ho=getRowid(go,To);if(Kn){if(!uo[Ho])return To}else{const or=getRowkey(go);if(Jn){if(XEUtils$1.findTree(Bo,wo=>Ho===XEUtils$1.get(wo,or),{children:nr}))return To}else if(!Bo.some(tr=>Ho===XEUtils$1.get(tr,or)))return To}}return null},clearRadioReserve(){return Lt.radioReserveRow=null,nextTick()},getCheckboxReserveRecords(Kn){const{treeConfig:Jn}=$e,{afterFullData:uo,fullDataRowIdData:To,checkboxReserveRowMap:Bo}=Lt,Uo=no.value,Ko=Io.value,nr=Ko.children||Ko.childrenField,Ho=[];if(Uo.reserve){const or={};Jn?XEUtils$1.eachTree(uo,tr=>{or[getRowid(go,tr)]=1},{children:nr}):uo.forEach(tr=>{or[getRowid(go,tr)]=1}),XEUtils$1.each(Bo,(tr,wo)=>{tr&&(Kn?To[wo]||Ho.push(tr):or[wo]||Ho.push(tr))})}return Ho},clearCheckboxReserve(){return Lt.checkboxReserveRowMap={},nextTick()},toggleAllCheckboxRow(){return hn.triggerCheckAllEvent(null,!Dt.isAllSelected),nextTick()},clearCheckboxRow(){const{treeConfig:Kn}=$e,{tableFullData:Jn}=Lt,uo=Io.value,To=uo.children||uo.childrenField,Bo=no.value,{checkField:Uo,reserve:Ko}=Bo,nr=Bo.indeterminateField||Bo.halfField;if(Uo){const Ho=or=>{Kn&&nr&&XEUtils$1.set(or,nr,!1),XEUtils$1.set(or,Uo,!1)};Kn?XEUtils$1.eachTree(Jn,Ho,{children:To}):Jn.forEach(Ho)}return Ko&&Jn.forEach(Ho=>Ir(Ho,!1)),Dt.isAllSelected=!1,Dt.isIndeterminate=!1,Dt.selectCheckboxMaps={},Dt.treeIndeterminateMaps={},nextTick()},setCurrentRow(Kn){const Jn=Hn.value,uo=vn.value;return jt.clearCurrentRow(),Dt.currentRow=Kn,(Jn.isCurrent||$e.highlightCurrentRow)&&uo&&XEUtils$1.arrayEach(uo.querySelectorAll(`[rowid="${getRowid(go,Kn)}"]`),To=>addClass$3(To,"row--current")),nextTick()},isCheckedByRadioRow(Kn){return go.eqRow(Dt.selectRadioRow,Kn)},setRadioRow(Kn){return Mr(Kn,!0)},clearCurrentRow(){const Kn=vn.value;return Dt.currentRow=null,Lt.hoverRow=null,Kn&&XEUtils$1.arrayEach(Kn.querySelectorAll(".row--current"),Jn=>removeClass$3(Jn,"row--current")),nextTick()},clearRadioRow(){return Dt.selectRadioRow=null,nextTick()},getCurrentRecord(){return Hn.value.isCurrent||$e.highlightCurrentRow?Dt.currentRow:null},getRadioRecord(Kn){const{fullDataRowIdData:Jn,afterFullRowMaps:uo}=Lt,{selectRadioRow:To}=Dt;if(To){const Bo=getRowid(go,To);if(Kn){if(Jn[Bo])return To}else if(uo[Bo])return To}return null},getCurrentColumn(){return zn.value.isCurrent||$e.highlightCurrentColumn?Dt.currentColumn:null},setCurrentColumn(Kn){const Jn=handleFieldOrColumn(go,Kn);return Jn&&(jt.clearCurrentColumn(),Dt.currentColumn=Jn),nextTick()},clearCurrentColumn(){return Dt.currentColumn=null,nextTick()},setPendingRow(Kn,Jn){const uo=Object.assign({},Dt.pendingRowMaps),To=[...Dt.pendingRowList];return Kn&&!XEUtils$1.isArray(Kn)&&(Kn=[Kn]),Jn?Kn.forEach(Bo=>{const Uo=getRowid(go,Bo);Uo&&!uo[Uo]&&(To.push(Bo),uo[Uo]=Bo)}):Kn.forEach(Bo=>{const Uo=getRowid(go,Bo);if(Uo&&uo[Uo]){const Ko=go.findRowIndexOf(To,Bo);Ko>-1&&To.splice(Ko,1),delete uo[Uo]}}),Dt.pendingRowMaps=uo,Dt.pendingRowList=To,nextTick()},togglePendingRow(Kn){const Jn=Object.assign({},Dt.pendingRowMaps),uo=[...Dt.pendingRowList];return Kn&&!XEUtils$1.isArray(Kn)&&(Kn=[Kn]),Kn.forEach(To=>{const Bo=getRowid(go,To);if(Bo)if(Jn[Bo]){const Uo=go.findRowIndexOf(uo,To);Uo>-1&&uo.splice(Uo,1),delete Jn[Bo]}else uo.push(To),Jn[Bo]=To}),Dt.pendingRowMaps=Jn,Dt.pendingRowList=uo,nextTick()},hasPendingByRow(Kn){return jt.isPendingByRow(Kn)},isPendingByRow(Kn){const{pendingRowMaps:Jn}=Dt,uo=getRowid(go,Kn);return!!Jn[uo]},getPendingRecords(){const{pendingRowList:Kn}=Dt;return Kn.slice(0)},clearPendingRow(){return Dt.pendingRowMaps={},Dt.pendingRowList=[],nextTick()},sort(Kn,Jn){const uo=io.value,{multiple:To,remote:Bo,orders:Uo}=uo;return Kn&&XEUtils$1.isString(Kn)&&(Kn=[{field:Kn,order:Jn}]),XEUtils$1.isArray(Kn)||(Kn=[Kn]),Kn.length?(To||pi(),(To?Kn:[Kn[0]]).forEach((Ko,nr)=>{let{field:Ho,order:or}=Ko,tr=Ho;XEUtils$1.isString(Ho)&&(tr=jt.getColumnByField(Ho)),tr&&tr.sortable&&(Uo.indexOf(or)===-1&&(or=hr(tr)),tr.order!==or&&(tr.order=or),tr.sortTime=Date.now()+nr)}),Bo||hn.handleTableData(!0),nextTick().then(()=>(jt.updateCellAreas(),Jr()))):nextTick()},clearSort(Kn){const Jn=io.value;if(Kn){const uo=handleFieldOrColumn(go,Kn);uo&&(uo.order=null)}else pi();return Jn.remote||hn.handleTableData(!0),nextTick().then(Jr)},isSort(Kn){if(Kn){const Jn=handleFieldOrColumn(go,Kn);return Jn?Jn.sortable&&!!Jn.order:!1}return jt.getSortColumns().length>0},getSortColumns(){const Kn=io.value,{multiple:Jn,chronological:uo}=Kn,To=[],{tableFullColumn:Bo}=Lt;return Bo.forEach(Uo=>{const{field:Ko,order:nr}=Uo;Uo.sortable&&nr&&To.push({column:Uo,field:Ko,property:Ko,order:nr,sortTime:Uo.sortTime})}),Jn&&uo&&To.length>1?XEUtils$1.orderBy(To,"sortTime"):To},closeFilter(){const{filterStore:Kn}=Dt,{column:Jn,visible:uo}=Kn;return Object.assign(Kn,{isAllSelected:!1,isIndeterminate:!1,options:[],visible:!1}),uo&&go.dispatchEvent("filter-visible",{column:Jn,property:Jn.field,field:Jn.field,filterList:go.getCheckedFilters(),visible:!1},null),nextTick()},isActiveFilterByColumn(Kn){const Jn=handleFieldOrColumn(go,Kn);return Jn?Jn.filters&&Jn.filters.some(uo=>uo.checked):go.getCheckedFilters().length>0},isFilter(Kn){return jt.isActiveFilterByColumn(Kn)},isRowExpandLoaded(Kn){const{fullAllDataRowIdData:Jn}=Lt,uo=Jn[getRowid(go,Kn)];return uo&&!!uo.expandLoaded},clearRowExpandLoaded(Kn){const{rowExpandLazyLoadedMaps:Jn}=Dt,{fullAllDataRowIdData:uo}=Lt,To=yo.value,{lazy:Bo}=To,Uo=getRowid(go,Kn),Ko=uo[Uo];return Bo&&Ko&&(Ko.expandLoaded=!1,delete Jn[Uo]),nextTick()},reloadRowExpand(Kn){const{rowExpandLazyLoadedMaps:Jn}=Dt,uo=yo.value,{lazy:To}=uo,Bo=getRowid(go,Kn);return To&&!Jn[Bo]&&jt.clearRowExpandLoaded(Kn).then(()=>Ei(Kn)),nextTick()},reloadExpandContent(Kn){return jt.reloadRowExpand(Kn)},toggleRowExpand(Kn){return jt.setRowExpand(Kn,!jt.isRowExpandByRow(Kn))},setAllRowExpand(Kn){const Jn=Io.value,{tableFullData:uo,tableFullTreeData:To}=Lt,Bo=Jn.children||Jn.childrenField;let Uo=[];return $e.treeConfig?XEUtils$1.eachTree(To,Ko=>{Uo.push(Ko)},{children:Bo}):Uo=uo,jt.setRowExpand(Uo,Kn)},setRowExpand(Kn,Jn){const{rowExpandedMaps:uo,rowExpandLazyLoadedMaps:To,expandColumn:Bo}=Dt,{fullAllDataRowIdData:Uo}=Lt;let Ko=Object.assign({},uo);const nr=yo.value,{reserve:Ho,lazy:or,accordion:tr,toggleMethod:wo}=nr,So=[],Do=jt.getColumnIndex(Bo),Qo=jt.getVMColumnIndex(Bo);if(Kn){XEUtils$1.isArray(Kn)||(Kn=[Kn]),tr&&(Ko={},Kn=Kn.slice(Kn.length-1,Kn.length));const pr=wo?Kn.filter(ur=>wo({$table:go,expanded:Jn,column:Bo,columnIndex:Do,$columnIndex:Qo,row:ur,rowIndex:jt.getRowIndex(ur),$rowIndex:jt.getVMRowIndex(ur)})):Kn;Jn?pr.forEach(ur=>{const cr=getRowid(go,ur);if(!Ko[cr]){const vr=Uo[cr];or&&!vr.expandLoaded&&!To[cr]?So.push(Ei(ur)):Ko[cr]=ur}}):pr.forEach(ur=>{const cr=getRowid(go,ur);Ko[cr]&&delete Ko[cr]}),Ho&&pr.forEach(ur=>Pi(ur,Jn))}return Dt.rowExpandedMaps=Ko,Promise.all(So).then(()=>jt.recalculate())},isRowExpandByRow(Kn){const{rowExpandedMaps:Jn}=Dt,uo=getRowid(go,Kn);return!!Jn[uo]},isExpandByRow(Kn){return jt.isRowExpandByRow(Kn)},clearRowExpand(){const{tableFullData:Kn}=Lt,Jn=yo.value,{reserve:uo}=Jn,To=jt.getRowExpandRecords();return Dt.rowExpandedMaps={},uo&&Kn.forEach(Bo=>Pi(Bo,!1)),nextTick().then(()=>{To.length&&jt.recalculate()})},clearRowExpandReserve(){return Lt.rowExpandedReserveRowMap={},nextTick()},getRowExpandRecords(){const Kn=[];return XEUtils$1.each(Dt.rowExpandedMaps,Jn=>{Jn&&Kn.push(Jn)}),Kn},getTreeExpandRecords(){const Kn=[];return XEUtils$1.each(Dt.treeExpandedMaps,Jn=>{Jn&&Kn.push(Jn)}),Kn},isTreeExpandLoaded(Kn){const{fullAllDataRowIdData:Jn}=Lt,uo=Jn[getRowid(go,Kn)];return uo&&!!uo.treeLoaded},clearTreeExpandLoaded(Kn){const{treeExpandedMaps:Jn}=Dt,{fullAllDataRowIdData:uo}=Lt,To=Io.value,{transform:Bo,lazy:Uo}=To,Ko=getRowid(go,Kn),nr=uo[Ko];return Uo&&nr&&(nr.treeLoaded=!1,Jn[Ko]&&delete Jn[Ko]),Bo?(Fr(),hn.handleTableData()):nextTick()},reloadTreeExpand(Kn){const{treeExpandLazyLoadedMaps:Jn}=Dt,uo=Io.value,To=uo.hasChild||uo.hasChildField,{transform:Bo,lazy:Uo}=uo,Ko=getRowid(go,Kn);return Uo&&Kn[To]&&!Jn[Ko]&&jt.clearTreeExpandLoaded(Kn).then(()=>$i(Kn)).then(()=>{if(Bo)return Fr(),hn.handleTableData()}).then(()=>jt.recalculate()),nextTick()},reloadTreeChilds(Kn){return jt.reloadTreeExpand(Kn)},toggleTreeExpand(Kn){return jt.setTreeExpand(Kn,!jt.isTreeExpandByRow(Kn))},setAllTreeExpand(Kn){const{tableFullData:Jn}=Lt,uo=Io.value,{transform:To,lazy:Bo}=uo,Uo=uo.children||uo.childrenField,Ko=[];return XEUtils$1.eachTree(Jn,nr=>{const Ho=nr[Uo];(Bo||Ho&&Ho.length)&&Ko.push(nr)},{children:Uo}),jt.setTreeExpand(Ko,Kn).then(()=>{if(To)return Fr(),jt.recalculate()})},setTreeExpand(Kn,Jn){const uo=Io.value,{transform:To}=uo;return Kn&&(XEUtils$1.isArray(Kn)||(Kn=[Kn]),Kn.length)?To?ti(Kn,Jn):$r(Kn,Jn):nextTick()},isTreeExpandByRow(Kn){const{treeExpandedMaps:Jn}=Dt;return!!Jn[getRowid(go,Kn)]},clearTreeExpand(){const{tableFullTreeData:Kn}=Lt,Jn=Io.value,uo=Jn.children||Jn.childrenField,{transform:To,reserve:Bo}=Jn,Uo=jt.getTreeExpandRecords();return Dt.treeExpandedMaps={},Bo&&XEUtils$1.eachTree(Kn,Ko=>Ti(Ko,!1),{children:uo}),hn.handleTableData().then(()=>{if(To)return Fr(),hn.handleTableData()}).then(()=>{if(Uo.length)return jt.recalculate()})},clearTreeExpandReserve(){return Lt.treeExpandedReserveRowMap={},nextTick()},getScroll(){const{scrollXLoad:Kn,scrollYLoad:Jn}=Dt,To=En.value.$el;return{virtualX:Kn,virtualY:Jn,scrollTop:To.scrollTop,scrollLeft:To.scrollLeft}},scrollTo(Kn,Jn){const uo=En.value,To=$n.value,Bo=Pn.value,Uo=uo?uo.$el:null,Ko=Bo?Bo.$el:null,nr=To?To.$el:null;return XEUtils$1.isNumber(Kn)&&setScrollLeft(nr||Uo,Kn),XEUtils$1.isNumber(Jn)&&setScrollTop(Ko||Uo,Jn),Dt.scrollXLoad||Dt.scrollYLoad?new Promise(Ho=>{setTimeout(()=>{nextTick(()=>{Ho()})},50)}):nextTick()},scrollToRow(Kn,Jn){const uo=[];return Kn&&($e.treeConfig?uo.push(hn.scrollToTreeRow(Kn)):uo.push(rowToVisible(go,Kn))),Jn&&uo.push(jt.scrollToColumn(Jn)),Promise.all(uo)},scrollToColumn(Kn){const{fullColumnIdData:Jn}=Lt,uo=handleFieldOrColumn(go,Kn);return uo&&Jn[uo.id]?colToVisible(go,uo):nextTick()},clearScroll(){const{scrollXStore:Kn,scrollYStore:Jn}=Lt,uo=En.value,To=$n.value,Bo=Pn.value,Uo=uo?uo.$el:null,Ko=Bo?Bo.$el:null,nr=To?To.$el:null;return Ko&&(restoreScrollListener(Ko),Ko.scrollTop=0),nr&&(nr.scrollLeft=0),Uo&&(restoreScrollListener(Uo),Uo.scrollTop=0,Uo.scrollLeft=0),Kn.startIndex=0,Jn.startIndex=0,nextTick()},updateFooter(){const{showFooter:Kn,footerData:Jn,footerMethod:uo}=$e,{visibleColumn:To,afterFullData:Bo}=Lt;let Uo=[];return Kn&&Jn&&Jn.length?Uo=Jn.slice(0):Kn&&uo&&(Uo=To.length?uo({columns:To,data:Bo,$table:go,$grid:jn}):[]),Dt.footerTableData=Uo,nextTick()},updateStatus(Kn,Jn){const uo=!XEUtils$1.isUndefined(Jn);return nextTick().then(()=>{const{editRules:To}=$e,{validStore:Bo}=Dt,Uo=En.value;if(Kn&&Uo&&To){const{row:Ko,column:nr}=Kn,Ho="change";if(go.hasCellRules&&go.hasCellRules(Ho,Ko,nr)){const or=hn.getCell(Ko,nr);if(or)return go.validCellRules(Ho,Ko,nr,Jn).then(()=>{uo&&Bo.visible&&setCellValue(Ko,nr,Jn),go.clearValidate(Ko,nr)}).catch(({rule:tr})=>{uo&&setCellValue(Ko,nr,Jn),go.showValidTooltip({rule:tr,row:Ko,column:nr,cell:or})})}}})},setMergeCells(Kn){return $e.spanMethod&&errLog$1("vxe.error.errConflicts",["merge-cells","span-method"]),ai(Kn,Dt.mergeList,Lt.afterFullData),nextTick().then(()=>(jt.updateCellAreas(),Jr()))},removeMergeCells(Kn){$e.spanMethod&&errLog$1("vxe.error.errConflicts",["merge-cells","span-method"]);const Jn=hi(Kn,Dt.mergeList,Lt.afterFullData);return nextTick().then(()=>(jt.updateCellAreas(),Jr(),Jn))},getMergeCells(){return Dt.mergeList.slice(0)},clearMergeCells(){return Dt.mergeList=[],nextTick().then(()=>Jr())},setMergeFooterItems(Kn){return $e.footerSpanMethod&&errLog$1("vxe.error.errConflicts",["merge-footer-items","footer-span-method"]),ai(Kn,Dt.mergeFooterList),nextTick().then(()=>(jt.updateCellAreas(),Jr()))},removeMergeFooterItems(Kn){$e.footerSpanMethod&&errLog$1("vxe.error.errConflicts",["merge-footer-items","footer-span-method"]);const Jn=hi(Kn,Dt.mergeFooterList);return nextTick().then(()=>(jt.updateCellAreas(),Jr(),Jn))},getMergeFooterItems(){return Dt.mergeFooterList.slice(0)},clearMergeFooterItems(){return Dt.mergeFooterList=[],nextTick().then(()=>Jr())},updateCellAreas(){const{mouseConfig:Kn}=$e,Jn=Zn.value;return Kn&&Jn.area&&go.handleUpdateCellAreas?go.handleUpdateCellAreas():nextTick()},getCustomStoreData(){const{id:Kn}=$e,Jn=Fo.value,{collectColumn:uo}=Lt,{checkMethod:To}=Jn,Bo={},Uo={},Ko={},nr={},Ho={resizableData:void 0,sortData:void 0,visibleData:void 0,fixedData:void 0};if(!Kn)return errLog$1("vxe.error.reqProp",["id"]),Ho;let or=0,tr=0,wo=0,So=0;return XEUtils$1.eachTree(uo,(Do,Qo,pr,ur,cr)=>{if(cr||uo.forEach(vr=>{const Sr=vr.getKey();Sr&&(tr=1,Uo[Sr]=vr.renderSortNumber)}),Do.resizeWidth){const vr=Do.getKey();vr&&(or=1,Bo[vr]=Do.renderWidth)}if(Do.fixed&&Do.fixed!==Do.defaultFixed){const vr=Do.getKey();vr&&(wo=1,nr[vr]=Do.fixed)}if(!To||To({column:Do})){if(!Do.visible&&Do.defaultVisible){const vr=Do.getKey();vr&&(So=1,Ko[vr]=!1)}else if(Do.visible&&!Do.defaultVisible){const vr=Do.getKey();vr&&(So=1,Ko[vr]=!0)}}}),or&&(Ho.resizableData=Bo),tr&&(Ho.sortData=Uo),wo&&(Ho.fixedData=nr),So&&(Ho.visibleData=Ko),Ho},focus(){return Lt.isActivated=!0,nextTick()},blur(){return Lt.isActivated=!1,nextTick()},connect(Kn){return Kn?(Fn=Kn,Fn.syncUpdate({collectColumn:Lt.collectColumn,$table:go})):errLog$1("vxe.error.barUnableLink"),nextTick()}};const Ui=Kn=>{const{editStore:Jn,ctxMenuStore:uo,filterStore:To,customStore:Bo}=Dt,{mouseConfig:Uo,editRules:Ko}=$e,nr=vn.value,Ho=Xn.value,or=Bn.value,tr=to.value,{actived:wo}=Jn,So=Cn.value,Do=wn.value,Qo=Sn.value,pr=xn.value;if(Do&&(getEventTargetNode$1(Kn,nr,"vxe-cell--filter").flag||getEventTargetNode$1(Kn,Do.$el).flag||getEventTargetNode$1(Kn,document.body,"vxe-table--ignore-clear").flag||hn.preventEvent(Kn,"event.clearFilter",To.args,jt.closeFilter)),Qo&&(Bo.btnEl===Kn.target||getEventTargetNode$1(Kn,document.body,"vxe-toolbar-custom-target").flag||getEventTargetNode$1(Kn,Qo.$el).flag||getEventTargetNode$1(Kn,document.body,"vxe-table--ignore-clear").flag||hn.preventEvent(Kn,"event.clearCustom",{},()=>{go.closeCustom&&go.closeCustom()})),wo.row){if(Ho.autoClear!==!1){const cr=wo.args.cell;(!cr||!getEventTargetNode$1(Kn,cr).flag)&&(So&&getEventTargetNode$1(Kn,So.$el).flag||(!Lt._lastCallTime||Lt._lastCallTime+50{let vr;if(Ho.mode==="row"){const Sr=getEventTargetNode$1(Kn,nr,"vxe-body--row"),Yr=Sr.flag?jt.getRowNode(Sr.targetElem):null;vr=Yr?!go.eqRow(Yr.item,wo.args.row):!1}else vr=!getEventTargetNode$1(Kn,nr,"col--edit").flag;if(vr||(vr=getEventTargetNode$1(Kn,nr,"vxe-header--row").flag),vr||(vr=getEventTargetNode$1(Kn,nr,"vxe-footer--row").flag),!vr&&$e.height&&!Dt.overflowY){const Sr=Kn.target;hasClass$2(Sr,"vxe-table--body-wrapper")&&(vr=Kn.offsetYgo.clearEdit(Kn))})))}}else Uo&&!getEventTargetNode$1(Kn,nr).flag&&!(jn&&getEventTargetNode$1(Kn,jn.getRefMaps().refElem.value).flag)&&!(pr&&getEventTargetNode$1(Kn,pr.getRefMaps().refElem.value).flag)&&!(Fn&&getEventTargetNode$1(Kn,Fn.getRefMaps().refElem.value).flag)&&(go.clearSelected&&go.clearSelected(),tr.autoClear&&go.clearCellAreas&&(getEventTargetNode$1(Kn,document.body,"vxe-table--ignore-areas-clear").flag||hn.preventEvent(Kn,"event.clearAreas",{},()=>{go.clearCellAreas(),go.clearCopyCellArea()})));go.closeMenu&&uo.visible&&pr&&!getEventTargetNode$1(Kn,pr.getRefMaps().refElem.value).flag&&go.closeMenu();const ur=getEventTargetNode$1(Kn,jn?jn.getRefMaps().refElem.value:nr).flag;!ur&&Ko&&or.autoClear&&(Dt.validErrorMaps={}),Lt.isActivated=ur},Ri=()=>{jt.closeFilter(),go.closeMenu&&go.closeMenu()},Yi=()=>{jt.closeTooltip(),go.closeMenu&&go.closeMenu()},ya=Kn=>{const{mouseConfig:Jn,keyboardConfig:uo}=$e,{filterStore:To,ctxMenuStore:Bo,editStore:Uo}=Dt,Ko=Zn.value,nr=ao.value,{actived:Ho}=Uo;globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.ESCAPE)&&hn.preventEvent(Kn,"event.keydown",null,()=>{if(jt.dispatchEvent("keydown-start",{},Kn),uo&&Jn&&Ko.area&&go.handleKeyboardEvent)go.handleKeyboardEvent(Kn);else if((Ho.row||To.visible||Bo.visible)&&(Kn.stopPropagation(),go.closeMenu&&go.closeMenu(),jt.closeFilter(),uo&&nr.isEsc&&Ho.row)){const tr=Ho.args;go.clearEdit(Kn),Ko.selected&&nextTick(()=>go.handleSelected(tr,Kn))}jt.dispatchEvent("keydown",{},Kn),jt.dispatchEvent("keydown-end",{},Kn)})},Ra=Kn=>{Lt.isActivated&&hn.preventEvent(Kn,"event.keydown",null,()=>{const{mouseConfig:Jn,keyboardConfig:uo,treeConfig:To,editConfig:Bo,highlightCurrentRow:Uo}=$e,{ctxMenuStore:Ko,editStore:nr,currentRow:Ho}=Dt,or=$o.value,tr=vo.value,wo=ao.value,So=Zn.value,Do=Xn.value,Qo=Io.value,pr=_o.value,ur=Hn.value,{selected:cr,actived:vr}=nr,Sr=Qo.children||Qo.childrenField,Yr=Kn.keyCode,Ur=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.ESCAPE),ii=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.BACKSPACE),xi=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.TAB),mi=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.ENTER),wi=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.SPACEBAR),bi=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.ARROW_LEFT),gi=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.ARROW_UP),Ii=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.ARROW_RIGHT),Gi=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.ARROW_DOWN),ia=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.DELETE),fa=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.F2),Zi=globalEvents$2.hasKey(Kn,GLOBAL_EVENT_KEYS$2.CONTEXT_MENU),ta=Kn.metaKey,sa=Kn.ctrlKey,ca=Kn.shiftKey,va=Kn.altKey,wa=bi||gi||Ii||Gi,Ji=or&&Ko.visible&&(mi||wi||wa),ba=isEnableConf$1(Bo)&&vr.column&&vr.row;let Hi;if(Ji)Kn.preventDefault(),Ko.showChild&&hasChildrenList(Ko.selected)?go.moveCtxMenu(Kn,Ko,"selectChild",bi,!1,Ko.selected.children):go.moveCtxMenu(Kn,Ko,"selected",Ii,!0,pr);else if(uo&&Jn&&So.area&&go.handleKeyboardEvent)go.handleKeyboardEvent(Kn);else if(Ur){if(go.closeMenu&&go.closeMenu(),jt.closeFilter(),uo&&wo.isEsc&&vr.row){const Li=vr.args;go.clearEdit(Kn),So.selected&&nextTick(()=>go.handleSelected(Li,Kn))}}else if(wi&&uo&&wo.isChecked&&cr.row&&cr.column&&(cr.column.type==="checkbox"||cr.column.type==="radio"))Kn.preventDefault(),cr.column.type==="checkbox"?hn.handleToggleCheckRowEvent(Kn,cr.args):hn.triggerRadioRowEvent(Kn,cr.args);else if(fa&&isEnableConf$1(Bo))ba||cr.row&&cr.column&&(Kn.preventDefault(),go.handleActived(cr.args,Kn));else if(Zi)Lt._keyCtx=cr.row&&cr.column&&tr.length,clearTimeout(qi),qi=setTimeout(()=>{Lt._keyCtx=!1},1e3);else if(mi&&!va&&uo&&wo.isEnter&&(cr.row||vr.row||To&&(ur.isCurrent||Uo)&&Ho)){if(sa)vr.row&&(Hi=vr.args,go.clearEdit(Kn),So.selected&&nextTick(()=>go.handleSelected(Hi,Kn)));else if(cr.row||vr.row){const Li=cr.row?cr.args:vr.args;ca?wo.enterToTab?go.moveTabSelected(Li,ca,Kn):go.moveSelected(Li,bi,!0,Ii,!1,Kn):wo.enterToTab?go.moveTabSelected(Li,ca,Kn):go.moveSelected(Li,bi,!1,Ii,!0,Kn)}else if(To&&(ur.isCurrent||Uo)&&Ho){const Li=Ho[Sr];if(Li&&Li.length){Kn.preventDefault();const Qi=Li[0];Hi={$table:go,row:Qi,rowIndex:jt.getRowIndex(Qi),$rowIndex:jt.getVMRowIndex(Qi)},jt.setTreeExpand(Ho,!0).then(()=>jt.scrollToRow(Qi)).then(()=>hn.triggerCurrentRowEvent(Kn,Hi))}}}else if(wa&&uo&&wo.isArrow)ba||(cr.row&&cr.column?go.moveSelected(cr.args,bi,gi,Ii,Gi,Kn):(gi||Gi)&&(ur.isCurrent||Uo)&&go.moveCurrentRow(gi,Gi,Kn));else if(xi&&uo&&wo.isTab)cr.row||cr.column?go.moveTabSelected(cr.args,ca,Kn):(vr.row||vr.column)&&go.moveTabSelected(vr.args,ca,Kn);else if(uo&&isEnableConf$1(Bo)&&(ia||(To&&(ur.isCurrent||Uo)&&Ho?ii&&wo.isArrow:ii))){if(!ba){const{delMethod:Li,backMethod:Qi}=wo;if(wo.isDel&&(cr.row||cr.column)){const Wi={row:cr.row,rowIndex:jt.getRowIndex(cr.row),column:cr.column,columnIndex:jt.getColumnIndex(cr.column),$table:go};Li?Li(Wi):setCellValue(cr.row,cr.column,null),ii?Qi?Qi({row:cr.row,rowIndex:jt.getRowIndex(cr.row),column:cr.column,columnIndex:jt.getColumnIndex(cr.column),$table:go}):go.handleActived(cr.args,Kn):ia&&jt.updateFooter(),go.dispatchEvent("cell-delete-value",Wi,Kn)}else if(ii&&wo.isArrow&&To&&(ur.isCurrent||Uo)&&Ho){const{parent:Wi}=XEUtils$1.findTree(Lt.afterFullData,ka=>ka===Ho,{children:Sr});Wi&&(Kn.preventDefault(),Hi={$table:go,row:Wi,rowIndex:jt.getRowIndex(Wi),$rowIndex:jt.getVMRowIndex(Wi)},jt.setTreeExpand(Wi,!1).then(()=>jt.scrollToRow(Wi)).then(()=>hn.triggerCurrentRowEvent(Kn,Hi)))}}}else if(uo&&isEnableConf$1(Bo)&&wo.isEdit&&!sa&&!ta&&(wi||Yr>=48&&Yr<=57||Yr>=65&&Yr<=90||Yr>=96&&Yr<=111||Yr>=186&&Yr<=192||Yr>=219&&Yr<=222)){const{editMethod:Li}=wo;if(cr.column&&cr.row&&isEnableConf$1(cr.column.editRender)){const Qi=Do.beforeEditMethod||Do.activeMethod;if(!Qi||Qi(Object.assign(Object.assign({},cr.args),{$table:go,$grid:jn}))){Li?Li({row:cr.row,rowIndex:jt.getRowIndex(cr.row),column:cr.column,columnIndex:jt.getColumnIndex(cr.column),$table:go,$grid:jn}):(setCellValue(cr.row,cr.column,null),go.handleActived(cr.args,Kn));const Wi=Do.afterEditMethod;Wi&&nextTick(()=>{Wi({row:cr.row,rowIndex:jt.getRowIndex(cr.row),column:cr.column,columnIndex:jt.getColumnIndex(cr.column),$table:go,$grid:jn})})}}}jt.dispatchEvent("keydown",{},Kn)})},Pa=Kn=>{const{keyboardConfig:Jn,mouseConfig:uo}=$e,{editStore:To,filterStore:Bo}=Dt,{isActivated:Uo}=Lt,Ko=Zn.value,nr=ao.value,{actived:Ho}=To;Uo&&!Bo.visible&&(Ho.row||Ho.column||Jn&&nr.isClip&&uo&&Ko.area&&go.handlePasteCellAreaEvent&&go.handlePasteCellAreaEvent(Kn),jt.dispatchEvent("paste",{},Kn))},Ba=Kn=>{const{keyboardConfig:Jn,mouseConfig:uo}=$e,{editStore:To,filterStore:Bo}=Dt,{isActivated:Uo}=Lt,Ko=Zn.value,nr=ao.value,{actived:Ho}=To;Uo&&!Bo.visible&&(Ho.row||Ho.column||Jn&&nr.isClip&&uo&&Ko.area&&go.handleCopyCellAreaEvent&&go.handleCopyCellAreaEvent(Kn),jt.dispatchEvent("copy",{},Kn))},Ta=Kn=>{const{keyboardConfig:Jn,mouseConfig:uo}=$e,{editStore:To,filterStore:Bo}=Dt,{isActivated:Uo}=Lt,Ko=Zn.value,nr=ao.value,{actived:Ho}=To;Uo&&!Bo.visible&&(Ho.row||Ho.column||Jn&&nr.isClip&&uo&&Ko.area&&go.handleCutCellAreaEvent&&go.handleCutCellAreaEvent(Kn),jt.dispatchEvent("cut",{},Kn))},La=()=>{go.closeMenu&&go.closeMenu(),jt.updateCellAreas(),jt.recalculate(!0)},Na=Kn=>{const Jn=bn.value;clearTimeout(Lt.tooltipTimeout),Kn?jt.closeTooltip():Jn&&Jn.setActived&&Jn.setActived(!0)},Ia=(Kn,Jn,uo,To,Bo)=>{Bo.cell=Jn;const{tooltipStore:Uo}=Dt,Ko=qn.value,{column:nr,row:Ho}=Bo,{showAll:or,contentMethod:tr}=Ko,wo=tr?tr(Bo):null,So=tr&&!XEUtils$1.eqNull(wo),Do=So?wo:XEUtils$1.toString(nr.type==="html"?uo.innerText:uo.textContent).trim(),Qo=uo.scrollWidth>uo.clientWidth;return Do&&(or||So||Qo)&&(Object.assign(Uo,{row:Ho,column:nr,visible:!0}),nextTick(()=>{const pr=bn.value;pr&&pr.open&&pr.open(Qo?uo:To||uo,formatText(Do))})),nextTick()};hn={getSetupOptions(){return getConfig$5()},updateAfterDataIndex:Go,callSlot(Kn,Jn){if(Kn){if(jn)return jn.callSlot(Kn,Jn);if(XEUtils$1.isFunction(Kn))return getSlotVNs$1(Kn(Jn))}return[]},getParentElem(){const Kn=vn.value;if(jn){const Jn=jn.getRefMaps().refElem.value;return Jn?Jn.parentNode:null}return Kn?Kn.parentNode:null},getParentHeight(){const{height:Kn}=$e,Jn=vn.value;if(Jn){const uo=Jn.parentNode,To=Kn==="auto"?getPaddingTopBottomSize(uo):0;return Math.floor(jn?jn.getParentHeight():XEUtils$1.toNumber(getComputedStyle(uo).height)-To)}return 0},getExcludeHeight(){return jn?jn.getExcludeHeight():0},defineField(Kn){const{treeConfig:Jn}=$e,uo=yo.value,To=Io.value,Bo=ro.value,Uo=no.value,Ko=To.children||To.childrenField,nr=getRowkey(go);return XEUtils$1.isArray(Kn)||(Kn=[Kn]),Kn.map(Ho=>(Lt.tableFullColumn.forEach(tr=>{const{field:wo,editRender:So}=tr;if(wo&&!XEUtils$1.has(Ho,wo)&&!Ho[wo]){let Do=null;if(So){const{defaultValue:Qo}=So;XEUtils$1.isFunction(Qo)?Do=Qo({column:tr}):XEUtils$1.isUndefined(Qo)||(Do=Qo)}XEUtils$1.set(Ho,wo,Do)}}),[Bo.labelField,Uo.checkField,Uo.labelField,uo.labelField].forEach(tr=>{tr&&eqEmptyValue$1(XEUtils$1.get(Ho,tr))&&XEUtils$1.set(Ho,tr,null)}),Jn&&To.lazy&&XEUtils$1.isUndefined(Ho[Ko])&&(Ho[Ko]=null),eqEmptyValue$1(XEUtils$1.get(Ho,nr))&&XEUtils$1.set(Ho,nr,getRowUniqueId()),Ho))},handleTableData(Kn){const{scrollYLoad:Jn}=Dt,{scrollYStore:uo,fullDataRowIdData:To}=Lt;let Bo=Lt.afterFullData;Kn&&(si(),Bo=Fr());const Uo=Jn?Bo.slice(uo.startIndex,uo.endIndex):Bo.slice(0);return Uo.forEach((Ko,nr)=>{const Ho=getRowid(go,Ko),or=To[Ho];or&&(or.$index=nr)}),Dt.tableData=Uo,nextTick()},cacheRowMap(Kn){const{treeConfig:Jn}=$e,uo=Io.value;let{fullDataRowIdData:To,fullAllDataRowIdData:Bo,tableFullData:Uo,tableFullTreeData:Ko}=Lt;const nr=uo.children||uo.childrenField,Ho=uo.hasChild||uo.hasChildField,or=getRowkey(go),tr=Jn&&uo.lazy,wo=(So,Do,Qo,pr,ur,cr)=>{let vr=getRowid(go,So);const Sr=Jn&&pr?toTreePathSeq(pr):Do+1,Yr=cr?cr.length-1:0;eqEmptyValue$1(vr)&&(vr=getRowUniqueId(),XEUtils$1.set(So,or,vr)),tr&&So[Ho]&&XEUtils$1.isUndefined(So[nr])&&(So[nr]=null);const Ur={row:So,rowid:vr,seq:Sr,index:Jn&&ur?-1:Do,_index:-1,$index:-1,items:Qo,parent:ur,level:Yr};Kn&&(To[vr]=Ur),Bo[vr]=Ur};Kn&&(To=Lt.fullDataRowIdData={}),Bo=Lt.fullAllDataRowIdData={},Jn?XEUtils$1.eachTree(Ko,wo,{children:nr}):Uo.forEach(wo)},cacheSourceMap(Kn){const{treeConfig:Jn}=$e,uo=Io.value;let{sourceDataRowIdData:To}=Lt;const Bo=XEUtils$1.clone(Kn,!0),Uo=getRowkey(go);To=Lt.sourceDataRowIdData={};const Ko=nr=>{let Ho=getRowid(go,nr);eqEmptyValue$1(Ho)&&(Ho=getRowUniqueId(),XEUtils$1.set(nr,Uo,Ho)),To[Ho]=nr};if(Jn){const nr=uo.children||uo.childrenField;XEUtils$1.eachTree(Bo,Ko,{children:uo.transform?uo.mapChildrenField:nr})}else Bo.forEach(Ko);Lt.tableSourceData=Bo},analyColumnWidth(){const{tableFullColumn:Kn}=Lt,Jn=zn.value,{width:uo,minWidth:To}=Jn,Bo=[],Uo=[],Ko=[],nr=[],Ho=[],or=[];Kn.forEach(tr=>{uo&&!tr.width&&(tr.width=uo),To&&!tr.minWidth&&(tr.minWidth=To),tr.visible&&(tr.resizeWidth?Bo.push(tr):isPx(tr.width)?Uo.push(tr):isScale(tr.width)?nr.push(tr):isPx(tr.minWidth)?Ko.push(tr):isScale(tr.minWidth)?Ho.push(tr):or.push(tr))}),Object.assign(Dt.columnStore,{resizeList:Bo,pxList:Uo,pxMinList:Ko,scaleList:nr,scaleMinList:Ho,autoList:or})},saveCustomStore(Kn){const{id:Jn}=$e,uo=Fo.value,{updateStore:To,storage:Bo}=uo,Uo=Bo===!0,Ko=Uo?{}:Object.assign({},Bo||{}),nr=Uo||Ko.resizable,Ho=Uo||Ko.visible,or=Uo||Ko.fixed,tr=Uo||Ko.sort;if(nr||Ho||or||tr){if(!Jn)return errLog$1("vxe.error.reqProp",["id"]),nextTick();const wo=Kn==="reset"?{resizableData:{},sortData:{},visibleData:{},fixedData:{}}:jt.getCustomStoreData();if(To)return To({id:Jn,type:Kn,storeData:wo});mr(Jn,Kn==="reset"?null:wo)}return nextTick()},handleCustom(){const{mouseConfig:Kn}=$e;return Kn&&(go.clearSelected&&go.clearSelected(),go.clearCellAreas&&(go.clearCellAreas(),go.clearCopyCellArea())),hn.analyColumnWidth(),jt.refreshColumn(!0)},handleUpdateDataQueue(){Dt.upDataFlag++},handleRefreshColumnQueue(){Dt.reColumnFlag++},preventEvent(Kn,Jn,uo,To,Bo){let Uo=interceptor.get(Jn);!Uo.length&&Jn==="event.clearEdit"&&(Uo=interceptor.get("event.clearActived"));let Ko;return Uo.some(nr=>nr(Object.assign({$grid:jn,$table:go,$event:Kn},uo))===!1)||To&&(Ko=To()),Bo&&Bo(),Ko},checkSelectionStatus(){const{treeConfig:Kn}=$e,{selectCheckboxMaps:Jn,treeIndeterminateMaps:uo}=Dt,{afterFullData:To}=Lt,Bo=no.value,{checkField:Uo,checkStrictly:Ko,checkMethod:nr}=Bo,Ho=Bo.indeterminateField||Bo.halfField;if(!Ko){const or=[];let tr=!1,wo=!1,So=!1;Uo?(tr=To.every(nr?Do=>nr({row:Do})?!!XEUtils$1.get(Do,Uo):(or.push(Do),!0):Do=>XEUtils$1.get(Do,Uo)),wo=tr&&To.length!==or.length,Kn?Ho?So=!wo&&To.some(Do=>XEUtils$1.get(Do,Uo)||XEUtils$1.get(Do,Ho)||!!uo[getRowid(go,Do)]):So=!wo&&To.some(Do=>XEUtils$1.get(Do,Uo)||!!uo[getRowid(go,Do)]):Ho?So=!wo&&To.some(Do=>XEUtils$1.get(Do,Uo)||XEUtils$1.get(Do,Ho)):So=!wo&&To.some(Do=>XEUtils$1.get(Do,Uo))):(tr=To.every(nr?Do=>nr({row:Do})?!!Jn[getRowid(go,Do)]:(or.push(Do),!0):Do=>Jn[getRowid(go,Do)]),wo=tr&&To.length!==or.length,Kn?So=!wo&&To.some(Do=>{const Qo=getRowid(go,Do);return uo[Qo]||Jn[Qo]}):So=!wo&&To.some(Do=>Jn[getRowid(go,Do)])),Dt.isAllSelected=wo,Dt.isIndeterminate=So}},handleSelectRow({row:Kn},Jn,uo){const{treeConfig:To}=$e,{selectCheckboxMaps:Bo,treeIndeterminateMaps:Uo}=Dt,Ko=Object.assign({},Bo),{afterFullData:nr}=Lt,Ho=Io.value,or=Ho.children||Ho.childrenField,tr=no.value,{checkField:wo,checkStrictly:So,checkMethod:Do}=tr,Qo=tr.indeterminateField||tr.halfField,pr=getRowid(go,Kn);if(wo)if(To&&!So){Jn===-1?(Uo[pr]||(Qo&&XEUtils$1.set(Kn,Qo,!0),Uo[pr]=Kn),XEUtils$1.set(Kn,wo,!1)):XEUtils$1.eachTree([Kn],cr=>{(go.eqRow(cr,Kn)||uo||!Do||Do({row:cr}))&&(XEUtils$1.set(cr,wo,Jn),Qo&&XEUtils$1.set(Kn,Qo,!1),delete Uo[getRowid(go,cr)],Ir(Kn,Jn))},{children:or});const ur=XEUtils$1.findTree(nr,cr=>go.eqRow(cr,Kn),{children:or});if(ur&&ur.parent){let cr;const vr=[],Sr={};if(!uo&&Do?ur.items.forEach(Ur=>{if(Do({row:Ur})){const ii=getRowid(go,Ur);Sr[ii]=Ur,vr.push(Ur)}}):ur.items.forEach(Ur=>{const ii=getRowid(go,Ur);Sr[ii]=Ur,vr.push(Ur)}),XEUtils$1.find(ur.items,Ur=>!!Uo[getRowid(go,Ur)]))cr=-1;else{const Ur=[];ur.items.forEach(ii=>{XEUtils$1.get(ii,wo)&&Ur.push(ii)}),cr=Ur.filter(ii=>Sr[getRowid(go,ii)]).length===vr.length?!0:Ur.length||Jn===-1?-1:!1}return Dt.selectCheckboxMaps=Ko,hn.handleSelectRow({row:ur.parent},cr,uo)}}else(uo||!Do||Do({row:Kn}))&&(XEUtils$1.set(Kn,wo,Jn),Ir(Kn,Jn));else if(To&&!So){Jn===-1?(Uo[pr]||(Qo&&XEUtils$1.set(Kn,Qo,!0),Uo[pr]=Kn),Ko[pr]&&delete Ko[pr]):XEUtils$1.eachTree([Kn],cr=>{const vr=getRowid(go,cr);(go.eqRow(cr,Kn)||uo||!Do||Do({row:cr}))&&(Jn?Ko[vr]=cr:Ko[vr]&&delete Ko[vr],Qo&&XEUtils$1.set(Kn,Qo,!1),delete Uo[getRowid(go,cr)],Ir(Kn,Jn))},{children:or});const ur=XEUtils$1.findTree(nr,cr=>go.eqRow(cr,Kn),{children:or});if(ur&&ur.parent){let cr;const vr=[],Sr={};if(!uo&&Do?ur.items.forEach(Ur=>{if(Do({row:Ur})){const ii=getRowid(go,Ur);Sr[ii]=Ur,vr.push(Ur)}}):ur.items.forEach(Ur=>{const ii=getRowid(go,Ur);Sr[ii]=Ur,vr.push(Ur)}),XEUtils$1.find(ur.items,Ur=>!!Uo[getRowid(go,Ur)]))cr=-1;else{const Ur=[];ur.items.forEach(ii=>{const xi=getRowid(go,ii);Ko[xi]&&Ur.push(ii)}),cr=Ur.filter(ii=>Sr[getRowid(go,ii)]).length===vr.length?!0:Ur.length||Jn===-1?-1:!1}return Dt.selectCheckboxMaps=Ko,hn.handleSelectRow({row:ur.parent},cr,uo)}}else(uo||!Do||Do({row:Kn}))&&(Jn?Ko[pr]||(Ko[pr]=Kn):Ko[pr]&&delete Ko[pr],Ir(Kn,Jn));Dt.selectCheckboxMaps=Ko,hn.checkSelectionStatus()},triggerHeaderTitleEvent(Kn,Jn,uo){const To=Jn.content||Jn.message;if(To){const{tooltipStore:Bo}=Dt,{column:Uo}=uo,Ko=getFuncText$1(To);Na(!0),Bo.row=null,Bo.column=Uo,Bo.visible=!0,nextTick(()=>{const nr=bn.value;nr&&nr.open&&nr.open(Kn.currentTarget,Ko)})}},triggerHeaderTooltipEvent(Kn,Jn){const{tooltipStore:uo}=Dt,{column:To}=Jn,Bo=Kn.currentTarget;Na(!0),(uo.column!==To||!uo.visible)&&Ia(Kn,Bo,Bo,null,Jn)},triggerBodyTooltipEvent(Kn,Jn){const{editConfig:uo}=$e,{editStore:To}=Dt,{tooltipStore:Bo}=Dt,Uo=Xn.value,{actived:Ko}=To,{row:nr,column:Ho}=Jn,or=Kn.currentTarget;if(Na(Bo.column!==Ho||Bo.row!==nr),!(Ho.editRender&&isEnableConf$1(uo)&&(Uo.mode==="row"&&Ko.row===nr||Ko.row===nr&&Ko.column===Ho))&&(Bo.column!==Ho||Bo.row!==nr||!Bo.visible)){let tr,wo;Ho.treeNode?(tr=or.querySelector(".vxe-tree-cell"),Ho.type==="html"&&(wo=or.querySelector(".vxe-cell--html"))):wo=or.querySelector(Ho.type==="html"?".vxe-cell--html":".vxe-cell--label"),Ia(Kn,or,tr||or.children[0],wo,Jn)}},triggerFooterTooltipEvent(Kn,Jn){const{column:uo}=Jn,{tooltipStore:To}=Dt,Bo=Kn.currentTarget;Na(To.column!==uo||!!To.row),(To.column!==uo||!To.visible)&&Ia(Kn,Bo,Bo.querySelector(".vxe-cell--item")||Bo.children[0],null,Jn)},handleTargetLeaveEvent(){const Kn=qn.value;let Jn=bn.value;Jn&&Jn.setActived&&Jn.setActived(!1),Kn.enterable?Lt.tooltipTimeout=setTimeout(()=>{Jn=bn.value,Jn&&Jn.isActived&&!Jn.isActived()&&jt.closeTooltip()},Kn.leaveDelay):jt.closeTooltip()},triggerHeaderCellClickEvent(Kn,Jn){const{_lastResizeTime:uo}=Lt,To=io.value,Bo=zn.value,{column:Uo}=Jn,Ko=Kn.currentTarget,nr=uo&&uo>Date.now()-300,Ho=getEventTargetNode$1(Kn,Ko,"vxe-cell--sort").flag,or=getEventTargetNode$1(Kn,Ko,"vxe-cell--filter").flag;To.trigger==="cell"&&!(nr||Ho||or)&&hn.triggerSortEvent(Kn,Uo,hr(Uo)),jt.dispatchEvent("header-cell-click",Object.assign({triggerResizable:nr,triggerSort:Ho,triggerFilter:or,cell:Ko},Jn),Kn),(Bo.isCurrent||$e.highlightCurrentColumn)&&jt.setCurrentColumn(Uo)},triggerHeaderCellDblclickEvent(Kn,Jn){jt.dispatchEvent("header-cell-dblclick",Object.assign({cell:Kn.currentTarget},Jn),Kn)},triggerCellClickEvent(Kn,Jn){const{highlightCurrentRow:uo,editConfig:To}=$e,{editStore:Bo}=Dt,Uo=yo.value,Ko=Xn.value,nr=Io.value,Ho=ro.value,or=no.value,tr=ao.value,wo=Hn.value,{actived:So,focused:Do}=Bo,{row:Qo,column:pr}=Jn,{type:ur,treeNode:cr}=pr,vr=ur==="radio",Sr=ur==="checkbox",Yr=ur==="expand",Ur=Kn.currentTarget,ii=vr&&getEventTargetNode$1(Kn,Ur,"vxe-cell--radio").flag,xi=Sr&&getEventTargetNode$1(Kn,Ur,"vxe-cell--checkbox").flag,mi=cr&&getEventTargetNode$1(Kn,Ur,"vxe-tree--btn-wrapper").flag,wi=Yr&&getEventTargetNode$1(Kn,Ur,"vxe-table--expanded").flag;Jn=Object.assign({cell:Ur,triggerRadio:ii,triggerCheckbox:xi,triggerTreeNode:mi,triggerExpandNode:wi},Jn),!xi&&!ii&&(!wi&&(Uo.trigger==="row"||Yr&&Uo.trigger==="cell")&&hn.triggerRowExpandEvent(Kn,Jn),(nr.trigger==="row"||cr&&nr.trigger==="cell")&&hn.triggerTreeExpandEvent(Kn,Jn)),mi||(wi||((wo.isCurrent||uo)&&!xi&&!ii&&hn.triggerCurrentRowEvent(Kn,Jn),!ii&&(Ho.trigger==="row"||vr&&Ho.trigger==="cell")&&hn.triggerRadioRowEvent(Kn,Jn),!xi&&(or.trigger==="row"||Sr&&or.trigger==="cell")&&hn.handleToggleCheckRowEvent(Kn,Jn)),isEnableConf$1(To)&&(tr.arrowCursorLock&&Kn&&Ko.mode==="cell"&&Kn.target&&/^input|textarea$/i.test(Kn.target.tagName)&&(Do.column=pr,Do.row=Qo),Ko.trigger==="manual"?So.args&&So.row===Qo&&pr!==So.column&&Kr(Kn,Jn):(!So.args||Qo!==So.row||pr!==So.column)&&(Ko.trigger==="click"||Ko.trigger==="dblclick"&&Ko.mode==="row"&&So.row===Qo)&&Kr(Kn,Jn))),jt.dispatchEvent("cell-click",Jn,Kn)},triggerCellDblclickEvent(Kn,Jn){const{editConfig:uo}=$e,{editStore:To}=Dt,Bo=Xn.value,{actived:Uo}=To,Ko=Kn.currentTarget;Jn=Object.assign({cell:Ko},Jn),isEnableConf$1(uo)&&Bo.trigger==="dblclick"&&(!Uo.args||Kn.currentTarget!==Uo.args.cell)&&(Bo.mode==="row"?Gr("blur").catch(nr=>nr).then(()=>{go.handleActived(Jn,Kn).then(()=>Gr("change")).catch(nr=>nr)}):Bo.mode==="cell"&&go.handleActived(Jn,Kn).then(()=>Gr("change")).catch(nr=>nr)),jt.dispatchEvent("cell-dblclick",Jn,Kn)},handleToggleCheckRowEvent(Kn,Jn){const{selectCheckboxMaps:uo}=Dt,To=no.value,{checkField:Bo}=To,{row:Uo}=Jn;let Ko=!1;Bo?Ko=!XEUtils$1.get(Uo,Bo):Ko=!uo[getRowid(go,Uo)],Kn?hn.triggerCheckRowEvent(Kn,Jn,Ko):hn.handleSelectRow(Jn,Ko)},triggerCheckRowEvent(Kn,Jn,uo){const To=no.value,{row:Bo}=Jn,{afterFullData:Uo}=Lt,{checkMethod:Ko}=To;if(To.isShiftKey&&Kn.shiftKey&&!$e.treeConfig){const nr=jt.getCheckboxRecords();if(nr.length){const Ho=nr[0],or=jt.getVTRowIndex(Bo),tr=jt.getVTRowIndex(Ho);if(or!==tr){jt.setAllCheckboxRow(!1);const wo=orgo.eqRow(nr,Kn),{children:Uo});if(Ko){const nr=Ko.nodes;nr.forEach((Ho,or)=>{orrowToVisible(go,Kn))},updateScrollYStatus:ri,updateScrollXSpace(){const{isGroup:Kn,scrollXLoad:Jn,scrollbarWidth:uo}=Dt,{visibleColumn:To,scrollXStore:Bo,elemStore:Uo,tableWidth:Ko}=Lt,nr=_n.value,Ho=En.value,or=$n.value,tr=Ho?Ho.$el:null;if(tr){const wo=nr?nr.$el:null,So=or?or.$el:null,Do=wo?wo.querySelector(".vxe-table--header"):null,Qo=tr.querySelector(".vxe-table--body"),pr=So?So.querySelector(".vxe-table--footer"):null,ur=To.slice(0,Bo.startIndex).reduce((Sr,Yr)=>Sr+Yr.renderWidth,0);let cr="";Jn&&(cr=`${ur}px`),Do&&(Do.style.marginLeft=Kn?"":cr),Qo.style.marginLeft=cr,pr&&(pr.style.marginLeft=cr),["main"].forEach(Sr=>{["header","body","footer"].forEach(Ur=>{const ii=Uo[`${Sr}-${Ur}-xSpace`],xi=ii?ii.value:null;xi&&(xi.style.width=Jn?`${Ko+(Ur==="header"?uo:0)}px`:"")})}),nextTick(Jr)}},updateScrollYSpace(){const{scrollYLoad:Kn}=Dt,{scrollYStore:Jn,elemStore:uo,afterFullData:To}=Lt,{startIndex:Bo,rowHeight:Uo}=Jn,Ko=To.length*Uo,nr=Math.max(0,Bo*Uo),Ho=["main","left","right"];let or="",tr="";Kn&&(or=`${nr}px`,tr=`${Ko}px`),Ho.forEach(wo=>{const So=["header","body","footer"],Do=uo[`${wo}-body-table`],Qo=Do?Do.value:null;Qo&&(Qo.style.marginTop=or),So.forEach(pr=>{const ur=uo[`${wo}-${pr}-ySpace`],cr=ur?ur.value:null;cr&&(cr.style.height=tr)})}),nextTick(Jr)},updateScrollXData(){nextTick(()=>{fr(),hn.updateScrollXSpace()})},updateScrollYData(){nextTick(()=>{hn.handleTableData(),hn.updateScrollYSpace()})},checkScrolling(){const Kn=Mn.value,Jn=Rn.value,uo=En.value,To=uo?uo.$el:null;To&&(Kn&&(To.scrollLeft>0?addClass$3(Kn,"scrolling--middle"):removeClass$3(Kn,"scrolling--middle")),Jn&&(To.clientWidthaddClass$3(To,"row--hover")),Lt.hoverRow=Kn},clearHoverRow(){const Kn=vn.value;Kn&&XEUtils$1.arrayEach(Kn.querySelectorAll(".vxe-body--row.row--hover"),Jn=>removeClass$3(Jn,"row--hover")),Lt.hoverRow=null},getCell(Kn,Jn){const uo=getRowid(go,Kn),To=En.value,Bo=On.value,Uo=Pn.value;let Ko;return Jn&&(Jn.fixed&&(Jn.fixed==="left"?Bo&&(Ko=Bo.$el):Uo&&(Ko=Uo.$el)),Ko||(Ko=To.$el),Ko)?Ko.querySelector(`.vxe-body--row[rowid="${uo}"] .${Jn.id}`):null},getCellLabel(Kn,Jn){const uo=Jn.formatter,To=getCellValue(Kn,Jn);let Bo=To;if(uo){let Uo;const{fullAllDataRowIdData:Ko}=Lt,nr=getRowid(go,Kn),Ho=Jn.id,or=Ko[nr];if(or&&(Uo=or.formatData,Uo||(Uo=Ko[nr].formatData={}),or&&Uo[Ho]&&Uo[Ho].value===To))return Uo[Ho].label;const tr={cellValue:To,row:Kn,rowIndex:jt.getRowIndex(Kn),column:Jn,columnIndex:jt.getColumnIndex(Jn)};if(XEUtils$1.isString(uo)){const wo=formats.get(uo);Bo=wo&&wo.cellFormatMethod?wo.cellFormatMethod(tr):""}else if(XEUtils$1.isArray(uo)){const wo=formats.get(uo[0]);Bo=wo&&wo.cellFormatMethod?wo.cellFormatMethod(tr,...uo.slice(1)):""}else Bo=uo(tr);Uo&&(Uo[Ho]={value:To,label:Bo})}return Bo},findRowIndexOf(Kn,Jn){return Jn?XEUtils$1.findIndexOf(Kn,uo=>go.eqRow(uo,Jn)):-1},eqRow(Kn,Jn){return Kn&&Jn?Kn===Jn?!0:getRowid(go,Kn)===getRowid(go,Jn):!1}},Object.assign(go,jt,hn);const ra=Kn=>{const{showHeader:Jn,showFooter:uo}=$e,{tableData:To,tableColumn:Bo,tableGroupColumn:Uo,columnStore:Ko,footerTableData:nr}=Dt,Ho=Kn==="left",or=Ho?Ko.leftList:Ko.rightList;return h$5("div",{ref:Ho?Mn:Rn,class:`vxe-table--fixed-${Kn}-wrapper`},[Jn?h$5(TableHeaderComponent,{ref:Ho?Tn:An,fixedType:Kn,tableData:To,tableColumn:Bo,tableGroupColumn:Uo,fixedColumn:or}):createCommentVNode(),h$5(TableBodyComponent,{ref:Ho?On:Pn,fixedType:Kn,tableData:To,tableColumn:Bo,fixedColumn:or}),uo?h$5(TableFooterComponent,{ref:Ho?Nn:In,footerTableData:nr,tableColumn:Bo,fixedColumn:or,fixedType:Kn}):createCommentVNode()])},Fa=()=>{const Kn=xo.value,Jn={$table:go};if(Fe.empty)return Fe.empty(Jn);{const uo=Kn.name?renderer$5.get(Kn.name):null,To=uo?uo.renderTableEmptyView||uo.renderEmpty:null;if(To)return getSlotVNs$1(To(Kn,Jn))}return getFuncText$1($e.emptyText)||getI18n$5("vxe.table.emptyText")};function Ni(){const Kn=vn.value;Kn&&Kn.clientWidth&&Kn.clientHeight&&jt.recalculate()}const Ca=ref(0);watch(()=>$e.data?$e.data.length:-1,()=>{Ca.value++}),watch(()=>$e.data,()=>{Ca.value++}),watch(Ca,()=>{const{inited:Kn,initStatus:Jn}=Lt;Mi($e.data||[]).then(()=>{Lt.inited=!0,Lt.initStatus=!0,Jn||Bi(),Kn||qo(),jt.recalculate()})});const Vo=ref(0);watch(()=>Dt.staticColumns.length,()=>{Vo.value++}),watch(()=>Dt.staticColumns,()=>{Vo.value++}),watch(Vo,()=>{qr(Dt.staticColumns)});const dr=ref(0);watch(()=>Dt.tableColumn.length,()=>{dr.value++}),watch(()=>Dt.tableColumn,()=>{dr.value++}),watch(dr,()=>{hn.analyColumnWidth()}),watch(()=>Dt.upDataFlag,()=>{nextTick(()=>{jt.updateData()})}),watch(()=>Dt.reColumnFlag,()=>{nextTick(()=>{jt.refreshColumn()})}),watch(()=>$e.showHeader,()=>{nextTick(()=>{jt.recalculate(!0).then(()=>jt.refreshScroll())})}),watch(()=>$e.showFooter,()=>{nextTick(()=>{jt.recalculate(!0).then(()=>jt.refreshScroll())})});const br=ref(0);watch(()=>$e.footerData?$e.footerData.length:-1,()=>{br.value++}),watch(()=>$e.footerData,()=>{br.value++}),watch(br,()=>{jt.updateFooter()}),watch(()=>$e.height,()=>{nextTick(()=>jt.recalculate(!0))}),watch(()=>$e.maxHeight,()=>{nextTick(()=>jt.recalculate(!0))}),watch(()=>$e.syncResize,Kn=>{Kn&&(Ni(),nextTick(()=>{Ni(),setTimeout(()=>Ni())}))});const Tr=ref(0);watch(()=>$e.mergeCells?$e.mergeCells.length:-1,()=>{Tr.value++}),watch(()=>$e.mergeCells,()=>{Tr.value++}),watch(Tr,()=>{jt.clearMergeCells(),nextTick(()=>{$e.mergeCells&&jt.setMergeCells($e.mergeCells)})});const jr=ref(0);watch(()=>$e.mergeFooterItems?$e.mergeFooterItems.length:-1,()=>{jr.value++}),watch(()=>$e.mergeFooterItems,()=>{jr.value++}),watch(jr,()=>{jt.clearMergeFooterItems(),nextTick(()=>{$e.mergeFooterItems&&jt.setMergeFooterItems($e.mergeFooterItems)})}),hooks$7.forEach(Kn=>{const{setupTable:Jn}=Kn;if(Jn){const uo=Jn(go);uo&&XEUtils$1.isObject(uo)&&Object.assign(go,uo)}}),hn.preventEvent(null,"created",{$table:go});let Dr;onActivated(()=>{jt.recalculate().then(()=>jt.refreshScroll()),hn.preventEvent(null,"activated",{$table:go})}),onDeactivated(()=>{Lt.isActivated=!1,hn.preventEvent(null,"deactivated",{$table:go})}),onMounted(()=>{nextTick(()=>{const{data:Kn,treeConfig:Jn,showOverflow:uo}=$e,{scrollXStore:To,scrollYStore:Bo}=Lt,Uo=Ln.value;if(Xn.value,Io.value,ro.value,no.value,yo.value,Hn.value,Object.assign(Bo,{startIndex:0,endIndex:0,visibleSize:0,adaptive:Uo.adaptive!==!1}),Object.assign(To,{startIndex:0,endIndex:0,visibleSize:0}),Mi(Kn||[]).then(()=>{Kn&&Kn.length&&(Lt.inited=!0,Lt.initStatus=!0,Bi(),qo()),Jr()}),$e.autoResize){const Ko=Yn.value,{refreshDelay:nr}=Ko,Ho=vn.value,or=hn.getParentElem(),tr=nr?XEUtils$1.throttle(()=>jt.recalculate(!0),nr,{leading:!0,trailing:!0}):null;Dr=globalResize.create(tr?()=>{$e.autoResize&&requestAnimationFrame(tr)}:()=>{$e.autoResize&&jt.recalculate(!0)}),Ho&&Dr.observe(Ho),or&&Dr.observe(or)}}),globalEvents$2.on(go,"paste",Pa),globalEvents$2.on(go,"copy",Ba),globalEvents$2.on(go,"cut",Ta),globalEvents$2.on(go,"mousedown",Ui),globalEvents$2.on(go,"blur",Ri),globalEvents$2.on(go,"mousewheel",Yi),globalEvents$2.on(go,"keydown",Ra),globalEvents$2.on(go,"resize",La),go.handleGlobalContextmenuEvent&&globalEvents$2.on(go,"contextmenu",go.handleGlobalContextmenuEvent),hn.preventEvent(null,"mounted",{$table:go})}),onBeforeUnmount(()=>{Dr&&Dr.disconnect(),jt.closeFilter(),go.closeMenu&&go.closeMenu(),hn.preventEvent(null,"beforeUnmount",{$table:go})}),onUnmounted(()=>{globalEvents$2.off(go,"paste"),globalEvents$2.off(go,"copy"),globalEvents$2.off(go,"cut"),globalEvents$2.off(go,"mousedown"),globalEvents$2.off(go,"blur"),globalEvents$2.off(go,"mousewheel"),globalEvents$2.off(go,"keydown"),globalEvents$2.off(go,"resize"),globalEvents$2.off(go,"contextmenu"),hn.preventEvent(null,"unmounted",{$table:go})});const Qr=()=>{const{loading:Kn,stripe:Jn,showHeader:uo,height:To,treeConfig:Bo,mouseConfig:Uo,showFooter:Ko,highlightCell:nr,highlightHoverRow:Ho,highlightHoverColumn:or,editConfig:tr,editRules:wo}=$e,{isGroup:So,overflowX:Do,overflowY:Qo,scrollXLoad:pr,scrollYLoad:ur,scrollbarHeight:cr,tableData:vr,tableColumn:Sr,tableGroupColumn:Yr,footerTableData:Ur,initStore:ii,columnStore:xi,filterStore:mi,customStore:wi}=Dt,{leftList:bi,rightList:gi}=xi,Ii=Fe.loading,Gi=Gn.value,ia=Bn.value,fa=Io.value,Zi=Hn.value,ta=zn.value,sa=At.value,ca=zo.value,va=Zn.value,wa=so.value,Ji=Ao.value,ba=$o.value,Hi=Dt._isLoading||Kn;return h$5("div",{ref:vn,class:["vxe-table","vxe-table--render-default",`tid_${qe}`,`border--${ca}`,{[`size--${sa}`]:sa,[`valid-msg--${ia.msgMode}`]:!!wo,"vxe-editable":!!tr,"old-cell-valid":wo&&getConfig$5().cellVaildMode==="obsolete","cell--highlight":nr,"cell--selected":Uo&&va.selected,"cell--area":Uo&&va.area,"row--highlight":Zi.isHover||Ho,"column--highlight":ta.isHover||or,"is--header":uo,"is--footer":Ko,"is--group":So,"is--tree-line":Bo&&(fa.showLine||fa.line),"is--fixed-left":bi.length,"is--fixed-right":gi.length,"is--animat":!!$e.animat,"is--round":$e.round,"is--stripe":!Bo&&Jn,"is--loading":Hi,"is--empty":!Hi&&!vr.length,"is--scroll-y":Qo,"is--scroll-x":Do,"is--virtual-x":pr,"is--virtual-y":ur}],onKeydown:ya},[h$5("div",{class:"vxe-table-slots"},Fe.default?Fe.default({}):[]),h$5("div",{class:"vxe-table--render-wrapper"},[h$5("div",{class:"vxe-table--main-wrapper"},[uo?h$5(TableHeaderComponent,{ref:_n,tableData:vr,tableColumn:Sr,tableGroupColumn:Yr}):createCommentVNode(),h$5(TableBodyComponent,{ref:En,tableData:vr,tableColumn:Sr}),Ko?h$5(TableFooterComponent,{ref:$n,footerTableData:Ur,tableColumn:Sr}):createCommentVNode()]),h$5("div",{class:"vxe-table--fixed-wrapper"},[bi&&bi.length&&Do?ra("left"):createCommentVNode(),gi&&gi.length&&Do?ra("right"):createCommentVNode()])]),h$5("div",{ref:Wn,class:"vxe-table--empty-placeholder"},[h$5("div",{class:"vxe-table--empty-content"},Fa())]),h$5("div",{class:"vxe-table--border-line"}),h$5("div",{ref:Un,class:"vxe-table--resizable-bar",style:Do?{"padding-bottom":`${cr}px`}:null}),h$5(resolveComponent("vxe-loading"),{class:"vxe-table--loading",modelValue:Hi,icon:Ji.icon,text:Ji.text},Ii?{default:()=>Ii({$table:go,$grid:jn})}:{}),ii.custom?h$5(TableCustomPanelComponent,{ref:Sn,customStore:wi}):createCommentVNode(),ii.filter?h$5(TableFilterPanelComponent,{ref:wn,filterStore:mi}):createCommentVNode(),ii.import&&$e.importConfig?h$5(TableImportPanelComponent,{defaultOptions:Dt.importParams,storeData:Dt.importStore}):createCommentVNode(),ii.export&&($e.exportConfig||$e.printConfig)?h$5(TableExportPanelComponent,{defaultOptions:Dt.exportParams,storeData:Dt.exportStore}):createCommentVNode(),ba?h$5(TableMenuPanelComponent,{ref:xn}):createCommentVNode(),h$5(resolveComponent("vxe-tooltip"),{ref:kn,isArrow:!1,enterable:!1}),h$5(resolveComponent("vxe-tooltip"),Object.assign({ref:bn},Gi)),$e.editRules&&ia.showMessage&&(ia.message==="default"?!To:ia.message==="tooltip")?h$5(resolveComponent("vxe-tooltip"),Object.assign({ref:Cn,class:[{"old-cell-valid":wo&&getConfig$5().cellVaildMode==="obsolete"},"vxe-table--valid-error"]},ia.message==="tooltip"||vr.length===1?wa:{})):createCommentVNode()])};return go.renderVN=Qr,provide("$xeColgroup",null),provide("$xeTable",go),go},render(){return this.renderVN()}}),{renderer:renderer$4,hooks:hooks$6}=VxeUI,tableFilterMethodKeys=["setFilter","clearFilter","getCheckedFilters"];hooks$6.add("tableFilterModule",{setupTable($e){const{props:Ie,reactData:Fe,internalData:Ue}=$e,{refTableBody:qe,refTableFilter:At}=$e.getRefMaps(),{computeFilterOpts:Dt,computeMouseOpts:Lt}=$e.getComputeMaps(),jt={checkFilterOptions(){const{filterStore:vn}=Fe;vn.isAllSelected=vn.options.every(bn=>bn._checked),vn.isIndeterminate=!vn.isAllSelected&&vn.options.some(bn=>bn._checked)},triggerFilterEvent(vn,bn,kn){const{initStore:Cn,filterStore:xn}=Fe;if(xn.column===bn&&xn.visible)xn.visible=!1;else{const{target:wn,pageX:Sn}=vn,{visibleWidth:_n}=getDomNode$1(),{filters:En,filterMultiple:$n,filterRender:Tn}=bn,On=Tn?renderer$4.get(Tn.name):null,Nn=bn.filterRecoverMethod||(On?On.filterRecoverMethod:null);Ue._currFilterParams=kn,Object.assign(xn,{multiple:$n,options:En,column:bn,style:null}),xn.options.forEach(An=>{const{_checked:Pn,checked:In}=An;An._checked=In,!In&&Pn!==In&&Nn&&Nn({option:An,column:bn,$table:$e})}),this.checkFilterOptions(),xn.visible=!0,Cn.filter=!0,nextTick(()=>{const Pn=qe.value.$el,In=At.value,Mn=In?In.$el:null;let Rn=0,Un=0,Wn=null,jn=null;Mn&&(Rn=Mn.offsetWidth,Un=Mn.offsetHeight,Wn=Mn.querySelector(".vxe-table--filter-header"),jn=Mn.querySelector(".vxe-table--filter-footer"));const Fn=Rn/2,Bn=10,Dn=Pn.clientWidth-Rn-Bn;let Ln,Vn;const zn={top:`${wn.offsetTop+wn.offsetParent.offsetTop+wn.offsetHeight+8}px`};let Hn=null;if(Un>=Pn.clientHeight&&(Hn=Math.max(60,Pn.clientHeight-(jn?jn.offsetHeight:0)-(Wn?Wn.offsetHeight:0))),bn.fixed==="left"?Ln=wn.offsetLeft+wn.offsetParent.offsetLeft-Fn:bn.fixed==="right"?Vn=wn.offsetParent.offsetWidth-wn.offsetLeft+(wn.offsetParent.offsetParent.offsetWidth-wn.offsetParent.offsetLeft)-bn.renderWidth-Fn:Ln=wn.offsetLeft+wn.offsetParent.offsetLeft-Fn-Pn.scrollLeft,Ln){const Yn=Sn+Rn-Fn+Bn-_n;Yn>0&&(Ln-=Yn),zn.left=`${Math.min(Dn,Math.max(Bn,Ln))}px`}else if(Vn){const Yn=Sn+Rn-Fn+Bn-_n;Yn>0&&(Vn+=Yn),zn.right=`${Math.max(Bn,Vn)}px`}xn.style=zn,xn.maxHeight=Hn})}$e.dispatchEvent("filter-visible",{column:bn,field:bn.field,property:bn.field,filterList:$e.getCheckedFilters(),visible:xn.visible},vn)},handleClearFilter(vn){if(vn){const{filters:bn,filterRender:kn}=vn;if(bn){const Cn=kn?renderer$4.get(kn.name):null,xn=vn.filterResetMethod||(Cn?Cn.filterResetMethod:null);bn.forEach(wn=>{wn._checked=!1,wn.checked=!1,xn||(wn.data=XEUtils$1.clone(wn.resetValue,!0))}),xn&&xn({options:bn,column:vn,$table:$e})}}},confirmFilterEvent(vn){const{mouseConfig:bn}=Ie,{filterStore:kn,scrollXLoad:Cn,scrollYLoad:xn}=Fe,wn=Dt.value,Sn=Lt.value,{column:_n}=kn,{field:En}=_n,$n=[],Tn=[];_n.filters.forEach(An=>{An.checked&&($n.push(An.value),Tn.push(An.data))});const On=$e.getCheckedFilters(),Nn={$table:$e,$event:vn,column:_n,field:En,property:En,values:$n,datas:Tn,filters:On,filterList:On};wn.remote||($e.handleTableData(!0),$e.checkSelectionStatus()),bn&&Sn.area&&$e.handleFilterEvent&&$e.handleFilterEvent(vn,Nn),$e.dispatchEvent("filter-change",Nn,vn),$e.closeFilter(),$e.updateFooter().then(()=>{const{scrollXLoad:An,scrollYLoad:Pn}=Fe;if(Cn||An||xn||Pn)return(Cn||An)&&$e.updateScrollXSpace(),(xn||Pn)&&$e.updateScrollYSpace(),$e.refreshScroll()}).then(()=>($e.updateCellAreas(),$e.recalculate(!0))).then(()=>{setTimeout(()=>$e.recalculate(),50)})}};return Object.assign(Object.assign({},{openFilter(vn){const bn=handleFieldOrColumn($e,vn);if(bn&&bn.filters){const{elemStore:kn}=Ue,{fixed:Cn}=bn;return $e.scrollToColumn(bn).then(()=>{const xn=kn[`${Cn||"main"}-header-wrapper`]||kn["main-header-wrapper"],wn=xn?xn.value:null;if(wn){const Sn=wn.querySelector(`.vxe-header--column.${bn.id} .vxe-filter--btn`);triggerEvent$1(Sn,"click")}})}return nextTick()},setFilter(vn,bn){const kn=handleFieldOrColumn($e,vn);return kn&&kn.filters&&(kn.filters=toFilters(bn||[])),nextTick()},clearFilter(vn){const{filterStore:bn}=Fe,{tableFullColumn:kn}=Ue,Cn=Dt.value;let xn;return vn?(xn=handleFieldOrColumn($e,vn),xn&&jt.handleClearFilter(xn)):kn.forEach(jt.handleClearFilter),(!vn||xn!==bn.column)&&Object.assign(bn,{isAllSelected:!1,isIndeterminate:!1,style:null,options:[],column:null,multiple:!1,visible:!1}),Cn.remote?nextTick():$e.updateData()},getCheckedFilters(){const{tableFullColumn:vn}=Ue,bn=[];return vn.forEach(kn=>{const{field:Cn,filters:xn}=kn,wn=[],Sn=[];xn&&xn.length&&(xn.forEach(_n=>{_n.checked&&(wn.push(_n.value),Sn.push(_n.data))}),wn.length&&bn.push({column:kn,field:Cn,property:Cn,values:wn,datas:Sn}))}),bn}}),jt)},setupGrid($e){return $e.extendTableMethods(tableFilterMethodKeys)}});const{menus:menus$2,hooks:hooks$5,globalEvents:globalEvents$1,GLOBAL_EVENT_KEYS:GLOBAL_EVENT_KEYS$1}=VxeUI,tableMenuMethodKeys=["closeMenu"];hooks$5.add("tableMenuModule",{setupTable($e){const{xID:Ie,props:Fe,reactData:Ue,internalData:qe}=$e,{refElem:At,refTableFilter:Dt,refTableMenu:Lt}=$e.getRefMaps(),{computeMouseOpts:jt,computeIsMenu:hn,computeMenuOpts:vn}=$e.getComputeMaps();let bn={},kn={};const Cn=(xn,wn,Sn)=>{const{ctxMenuStore:_n}=Ue,En=hn.value,$n=vn.value,Tn=$n[wn],On=$n.visibleMethod;if(Tn){const{options:Nn,disabled:An}=Tn;An?xn.preventDefault():En&&Nn&&Nn.length&&(Sn.options=Nn,$e.preventEvent(xn,"event.showMenu",Sn,()=>{if(!On||On(Sn)){xn.preventDefault(),$e.updateZindex();const{scrollTop:Pn,scrollLeft:In,visibleHeight:Mn,visibleWidth:Rn}=getDomNode$1();let Un=xn.clientY+Pn,Wn=xn.clientX+In;const jn=()=>{qe._currMenuParams=Sn,Object.assign(_n,{visible:!0,list:Nn,selected:null,selectChild:null,showChild:!1,style:{zIndex:qe.tZindex,top:`${Un}px`,left:`${Wn}px`}}),nextTick(()=>{const Vn=Lt.value.getRefMaps().refElem.value,zn=Vn.clientHeight,Hn=Vn.clientWidth,{boundingTop:Yn,boundingLeft:Qn}=getAbsolutePos$1(Vn),lo=Yn+zn-Mn,ro=Qn+Hn-Rn;lo>-10&&(_n.style.top=`${Math.max(Pn+2,Un-zn-2)}px`),ro>-10&&(_n.style.left=`${Math.max(In+2,Wn-Hn-2)}px`)})},{keyboard:Fn,row:Bn,column:Dn}=Sn;Fn&&Bn&&Dn?$e.scrollToRow(Bn,Dn).then(()=>{const Ln=$e.getCell(Bn,Dn);if(Ln){const{boundingTop:Vn,boundingLeft:zn}=getAbsolutePos$1(Ln);Un=Vn+Pn+Math.floor(Ln.offsetHeight/2),Wn=zn+In+Math.floor(Ln.offsetWidth/2)}jn()}):jn()}else bn.closeMenu()}))}$e.closeFilter()};return bn={closeMenu(){return Object.assign(Ue.ctxMenuStore,{visible:!1,selected:null,selectChild:null,showChild:!1}),nextTick()}},kn={moveCtxMenu(xn,wn,Sn,_n,En,$n){let Tn;const On=XEUtils$1.findIndexOf($n,Nn=>wn[Sn]===Nn);if(_n)En&&hasChildrenList(wn.selected)?wn.showChild=!0:(wn.showChild=!1,wn.selectChild=null);else if(globalEvents$1.hasKey(xn,GLOBAL_EVENT_KEYS$1.ARROW_UP)){for(let Nn=On-1;Nn>=0;Nn--)if($n[Nn].visible!==!1){Tn=$n[Nn];break}wn[Sn]=Tn||$n[$n.length-1]}else if(globalEvents$1.hasKey(xn,GLOBAL_EVENT_KEYS$1.ARROW_DOWN)){for(let Nn=On+1;Nn<$n.length;Nn++)if($n[Nn].visible!==!1){Tn=$n[Nn];break}wn[Sn]=Tn||$n[0]}else wn[Sn]&&(globalEvents$1.hasKey(xn,GLOBAL_EVENT_KEYS$1.ENTER)||globalEvents$1.hasKey(xn,GLOBAL_EVENT_KEYS$1.SPACEBAR))&&kn.ctxMenuLinkEvent(xn,wn[Sn])},handleOpenMenuEvent:Cn,handleGlobalContextmenuEvent(xn){const{mouseConfig:wn,menuConfig:Sn}=Fe,{editStore:_n,ctxMenuStore:En}=Ue,{visibleColumn:$n}=qe,Tn=Dt.value,On=Lt.value,Nn=jt.value,An=vn.value,Pn=At.value,{selected:In}=_n,Mn=["header","body","footer"];if(isEnableConf$1(Sn)){if(En.visible&&On&&getEventTargetNode$1(xn,On.getRefMaps().refElem.value).flag){xn.preventDefault();return}if(qe._keyCtx){const Rn="body",Un={type:Rn,$table:$e,keyboard:!0,columns:$n.slice(0),$event:xn};if(wn&&Nn.area){const Wn=$e.getActiveCellArea();if(Wn&&Wn.row&&Wn.column){Un.row=Wn.row,Un.column=Wn.column,Cn(xn,Rn,Un);return}}else if(wn&&Nn.selected&&In.row&&In.column){Un.row=In.row,Un.column=In.column,Cn(xn,Rn,Un);return}}for(let Rn=0;RnFn.parentNode.parentNode.parentNode.getAttribute("xid")===Ie),jn={type:Un,$table:$e,columns:$n.slice(0),$event:xn};if(Wn.flag){const Fn=Wn.targetElem,Bn=$e.getColumnNode(Fn),Dn=Bn?Bn.item:null;let Ln=`${Un}-`;if(Dn&&Object.assign(jn,{column:Dn,columnIndex:$e.getColumnIndex(Dn),cell:Fn}),Un==="body"){const zn=$e.getRowNode(Fn.parentNode),Hn=zn?zn.item:null;Ln="",Hn&&(jn.row=Hn,jn.rowIndex=$e.getRowIndex(Hn))}const Vn=`${Ln}cell-menu`;Cn(xn,Un,jn),$e.dispatchEvent(Vn,jn,xn);return}else if(getEventTargetNode$1(xn,Pn,`vxe-table--${Un}-wrapper`,Fn=>Fn.getAttribute("xid")===Ie).flag){An.trigger==="cell"?xn.preventDefault():Cn(xn,Un,jn);return}}}Tn&&!getEventTargetNode$1(xn,Tn.$el).flag&&$e.closeFilter(),bn.closeMenu()},ctxMenuMouseoverEvent(xn,wn,Sn){const _n=xn.currentTarget,{ctxMenuStore:En}=Ue;xn.preventDefault(),xn.stopPropagation(),En.selected=wn,En.selectChild=Sn,Sn||(En.showChild=hasChildrenList(wn),En.showChild&&nextTick(()=>{const $n=_n.nextElementSibling;if($n){const{boundingTop:Tn,boundingLeft:On,visibleHeight:Nn,visibleWidth:An}=getAbsolutePos$1(_n),Pn=Tn+_n.offsetHeight,In=On+_n.offsetWidth;let Mn="",Rn="";In+$n.offsetWidth>An-10&&(Mn="auto",Rn=`${_n.offsetWidth}px`);let Un="",Wn="";Pn+$n.offsetHeight>Nn-10&&(Un="auto",Wn="0"),$n.style.left=Mn,$n.style.right=Rn,$n.style.top=Un,$n.style.bottom=Wn}}))},ctxMenuMouseoutEvent(xn,wn){const{ctxMenuStore:Sn}=Ue;wn.children||(Sn.selected=null),Sn.selectChild=null},ctxMenuLinkEvent(xn,wn){if(!wn.disabled&&(wn.code||!wn.children||!wn.children.length)){const Sn=menus$2.get(wn.code),_n=Object.assign({},qe._currMenuParams,{menu:wn,$table:$e,$grid:$e.xegrid,$event:xn});Sn&&Sn.menuMethod&&Sn.menuMethod(_n,xn),$e.dispatchEvent("menu-click",_n,xn),bn.closeMenu()}}},Object.assign(Object.assign({},bn),kn)},setupGrid($e){return $e.extendTableMethods(tableMenuMethodKeys)}});const{getConfig:getConfig$4,renderer:renderer$3,hooks:hooks$4,getI18n:getI18n$4}=VxeUI,tableEditMethodKeys=["insert","insertAt","insertNextAt","remove","removeCheckboxRow","removeRadioRow","removeCurrentRow","getRecordset","getInsertRecords","getRemoveRecords","getUpdateRecords","getEditRecord","getActiveRecord","getSelectedCell","clearEdit","clearActived","clearSelected","isEditByRow","isActiveByRow","setEditRow","setActiveRow","setEditCell","setActiveCell","setSelectCell"];hooks$4.add("tableEditModule",{setupTable($e){const{props:Ie,reactData:Fe,internalData:Ue}=$e,{refElem:qe}=$e.getRefMaps(),{computeMouseOpts:At,computeEditOpts:Dt,computeCheckboxOpts:Lt,computeTreeOpts:jt}=$e.getComputeMaps();let hn={},vn={};const bn=(_n,En)=>{const{model:$n,editRender:Tn}=En;Tn&&($n.value=getCellValue(_n,En),$n.update=!1)},kn=(_n,En)=>{const{model:$n,editRender:Tn}=En;Tn&&$n.update&&(setCellValue(_n,En,$n.value),$n.update=!1,$n.value=null)},Cn=()=>{const _n=qe.value;if(_n){const En=_n.querySelector(".col--selected");En&&removeClass$3(En,"col--selected")}};function xn(){const{editStore:_n,tableColumn:En}=Fe,$n=Dt.value,{actived:Tn}=_n,{row:On,column:Nn}=Tn;(On||Nn)&&($n.mode==="row"?En.forEach(An=>kn(On,An)):kn(On,Nn))}function wn(_n,En){const{tableFullTreeData:$n,afterFullData:Tn,fullDataRowIdData:On,fullAllDataRowIdData:Nn}=Ue,An=jt.value,{rowField:Pn,parentField:In,mapChildrenField:Mn}=An,Rn=An.children||An.childrenField,Un=En?"push":"unshift";_n.forEach(Wn=>{const jn=Wn[In],Fn=getRowid($e,Wn),Bn=jn?XEUtils$1.findTree($n,Dn=>jn===Dn[Pn],{children:Mn}):null;if(Bn){const{item:Dn}=Bn,Ln=Nn[getRowid($e,Dn)],Vn=Ln?Ln.level:0;let zn=Dn[Rn],Hn=Dn[Mn];XEUtils$1.isArray(zn)||(zn=Dn[Rn]=[]),XEUtils$1.isArray(Hn)||(Hn=Dn[Rn]=[]),zn[Un](Wn),Hn[Un](Wn);const Yn={row:Wn,rowid:Fn,seq:-1,index:-1,_index:-1,$index:-1,items:zn,parent:Dn,level:Vn+1};On[Fn]=Yn,Nn[Fn]=Yn}else{Tn[Un](Wn),$n[Un](Wn);const Dn={row:Wn,rowid:Fn,seq:-1,index:-1,_index:-1,$index:-1,items:$n,parent:null,level:0};On[Fn]=Dn,Nn[Fn]=Dn}})}const Sn=(_n,En,$n)=>{const{treeConfig:Tn}=Ie,{mergeList:On,editStore:Nn}=Fe,{tableFullTreeData:An,afterFullData:Pn,tableFullData:In,fullDataRowIdData:Mn,fullAllDataRowIdData:Rn}=Ue,Un=jt.value,{transform:Wn,rowField:jn,mapChildrenField:Fn}=Un,Bn=Un.children||Un.childrenField;XEUtils$1.isArray(_n)||(_n=[_n]);const Dn=reactive($e.defineField(_n.map(Vn=>Object.assign(Tn&&Wn?{[Fn]:[],[Bn]:[]}:{},Vn))));if(XEUtils$1.eqNull(En))Tn&&Wn?wn(Dn,!1):(Pn.unshift(...Dn),In.unshift(...Dn),On.forEach(Vn=>{const{row:zn}=Vn;zn>0&&(Vn.row=zn+Dn.length)}));else if(En===-1)Tn&&Wn?wn(Dn,!0):(Pn.push(...Dn),In.push(...Dn),On.forEach(Vn=>{const{row:zn,rowspan:Hn}=Vn;zn+Hn>Pn.length&&(Vn.rowspan=Hn+Dn.length)}));else if(Tn&&Wn){const Vn=XEUtils$1.findTree(An,zn=>En[jn]===zn[jn],{children:Fn});if(Vn){const{parent:zn}=Vn,Hn=zn?zn[Fn]:An,Yn=Rn[getRowid($e,zn)],Qn=Yn?Yn.level:0;if(Dn.forEach((lo,ro)=>{const no=getRowid($e,lo);zn&&(lo[Un.parentField]=zn[jn]);let qn=Vn.index+ro;$n&&(qn=qn+1),Hn.splice(qn,0,lo);const Gn={row:lo,rowid:no,seq:-1,index:-1,_index:-1,$index:-1,items:Hn,parent:zn,level:Qn+1};Mn[no]=Gn,Rn[no]=Gn}),zn){const lo=XEUtils$1.findTree(An,ro=>En[jn]===ro[jn],{children:Bn});if(lo){const ro=lo.items;let no=lo.index;$n&&(no=no+1),ro.splice(no,0,...Dn)}}}else wn(Dn,!0)}else{if(Tn)throw new Error(getI18n$4("vxe.error.noTree",["insert"]));let Vn=-1;if(XEUtils$1.isNumber(En)?En{const{row:Hn,rowspan:Yn}=zn;Hn>Vn?zn.row=Hn+Dn.length:Hn+Yn>Vn&&(zn.rowspan=Yn+Dn.length)})}const{insertMaps:Ln}=Nn;return Dn.forEach(Vn=>{const zn=getRowid($e,Vn);Ln[zn]=Vn}),$e.cacheRowMap(),$e.updateScrollYStatus(),$e.handleTableData(Tn&&Wn),Tn&&Wn||$e.updateAfterDataIndex(),$e.updateFooter(),$e.checkSelectionStatus(),Fe.scrollYLoad&&$e.updateScrollYSpace(),nextTick().then(()=>($e.updateCellAreas(),$e.recalculate())).then(()=>({row:Dn.length?Dn[Dn.length-1]:null,rows:Dn}))};return hn={insert(_n){return Sn(_n,null)},insertAt(_n,En){return Sn(_n,En)},insertNextAt(_n,En){return Sn(_n,En,!0)},remove(_n){const{treeConfig:En}=Ie,{mergeList:$n,editStore:Tn,selectCheckboxMaps:On}=Fe,{tableFullTreeData:Nn,afterFullData:An,tableFullData:Pn}=Ue,In=Lt.value,Mn=jt.value,{transform:Rn,mapChildrenField:Un}=Mn,Wn=Mn.children||Mn.childrenField,{actived:jn,removeMaps:Fn,insertMaps:Bn}=Tn,{checkField:Dn}=In;let Ln=[];if(_n?XEUtils$1.isArray(_n)||(_n=[_n]):_n=Pn,_n.forEach(Vn=>{if(!$e.isInsertByRow(Vn)){const zn=getRowid($e,Vn);Fn[zn]=Vn}}),!Dn){const Vn=Object.assign({},On);_n.forEach(zn=>{const Hn=getRowid($e,zn);Vn[Hn]&&delete Vn[Hn]}),Fe.selectCheckboxMaps=Vn}return Pn===_n?(_n=Ln=Pn.slice(0),Ue.tableFullData=[],Ue.afterFullData=[],$e.clearMergeCells()):En&&Rn?_n.forEach(Vn=>{const zn=getRowid($e,Vn),Hn=XEUtils$1.findTree(Nn,lo=>zn===getRowid($e,lo),{children:Un});if(Hn){const lo=Hn.items.splice(Hn.index,1);Ln.push(lo[0])}const Yn=XEUtils$1.findTree(Nn,lo=>zn===getRowid($e,lo),{children:Wn});Yn&&Yn.items.splice(Yn.index,1);const Qn=$e.findRowIndexOf(An,Vn);Qn>-1&&An.splice(Qn,1)}):_n.forEach(Vn=>{const zn=$e.findRowIndexOf(Pn,Vn);if(zn>-1){const Yn=Pn.splice(zn,1);Ln.push(Yn[0])}const Hn=$e.findRowIndexOf(An,Vn);Hn>-1&&($n.forEach(Yn=>{const{row:Qn,rowspan:lo}=Yn;Qn>Hn?Yn.row=Qn-1:Qn+lo>Hn&&(Yn.rowspan=lo-1)}),An.splice(Hn,1))}),jn.row&&$e.findRowIndexOf(_n,jn.row)>-1&&hn.clearEdit(),_n.forEach(Vn=>{const zn=getRowid($e,Vn);Bn[zn]&&delete Bn[zn]}),$e.updateFooter(),$e.cacheRowMap(),$e.handleTableData(En&&Rn),En&&Rn||$e.updateAfterDataIndex(),$e.checkSelectionStatus(),Fe.scrollYLoad&&$e.updateScrollYSpace(),nextTick().then(()=>($e.updateCellAreas(),$e.recalculate())).then(()=>({row:Ln.length?Ln[Ln.length-1]:null,rows:Ln}))},removeCheckboxRow(){return hn.remove($e.getCheckboxRecords()).then(_n=>($e.clearCheckboxRow(),_n))},removeRadioRow(){const _n=$e.getRadioRecord();return hn.remove(_n||[]).then(En=>($e.clearRadioRow(),En))},removeCurrentRow(){const _n=$e.getCurrentRecord();return hn.remove(_n||[]).then(En=>($e.clearCurrentRow(),En))},getRecordset(){return{insertRecords:hn.getInsertRecords(),removeRecords:hn.getRemoveRecords(),updateRecords:hn.getUpdateRecords(),pendingRecords:$e.getPendingRecords()}},getInsertRecords(){const{editStore:_n}=Fe,{fullAllDataRowIdData:En}=Ue,{insertMaps:$n}=_n,Tn=[];return XEUtils$1.each($n,(On,Nn)=>{En[Nn]&&Tn.push(On)}),Tn},getRemoveRecords(){const{editStore:_n}=Fe,{removeMaps:En}=_n,$n=[];return XEUtils$1.each(En,Tn=>{$n.push(Tn)}),$n},getUpdateRecords(){const{keepSource:_n,treeConfig:En}=Ie,{tableFullData:$n}=Ue,Tn=jt.value;return _n?(xn(),En?XEUtils$1.filterTree($n,On=>$e.isUpdateByRow(On),Tn):$n.filter(On=>$e.isUpdateByRow(On))):[]},getActiveRecord(){return this.getEditRecord()},getEditRecord(){const{editStore:_n}=Fe,{afterFullData:En}=Ue,$n=qe.value,{args:Tn,row:On}=_n.actived;return Tn&&$e.findRowIndexOf(En,On)>-1&&$n.querySelectorAll(".vxe-body--column.col--active").length?Object.assign({},Tn):null},getSelectedCell(){const{editStore:_n}=Fe,{args:En,column:$n}=_n.selected;return En&&$n?Object.assign({},En):null},clearActived(_n){return this.clearEdit(_n)},clearEdit(_n){const{editStore:En}=Fe,{actived:$n,focused:Tn}=En,{row:On,column:Nn}=$n;return(On||Nn)&&(xn(),$n.args=null,$n.row=null,$n.column=null,$e.updateFooter(),$e.dispatchEvent("edit-closed",{row:On,rowIndex:$e.getRowIndex(On),$rowIndex:$e.getVMRowIndex(On),column:Nn,columnIndex:$e.getColumnIndex(Nn),$columnIndex:$e.getVMColumnIndex(Nn)},_n||null)),getConfig$4().cellVaildMode==="obsolete"&&$e.clearValidate?$e.clearValidate():(Tn.row=null,Tn.column=null,nextTick())},clearSelected(){const{editStore:_n}=Fe,{selected:En}=_n;return En.row=null,En.column=null,Cn(),nextTick()},isActiveByRow(_n){return this.isEditByRow(_n)},isEditByRow(_n){const{editStore:En}=Fe;return En.actived.row===_n},setActiveRow(_n){return hn.setEditRow(_n)},setEditRow(_n,En){const{visibleColumn:$n}=Ue;let Tn=XEUtils$1.find($n,On=>isEnableConf$1(On.editRender));return En&&(Tn=XEUtils$1.isString(En)?$e.getColumnByField(En):En),$e.setEditCell(_n,Tn)},setActiveCell(_n,En){return hn.setEditCell(_n,En)},setEditCell(_n,En){const{editConfig:$n}=Ie,Tn=XEUtils$1.isString(En)?$e.getColumnByField(En):En;return _n&&Tn&&isEnableConf$1($n)&&isEnableConf$1(Tn.editRender)?$e.scrollToRow(_n,Tn).then(()=>{const On=$e.getCell(_n,Tn);return On&&(vn.handleActived({row:_n,rowIndex:$e.getRowIndex(_n),column:Tn,columnIndex:$e.getColumnIndex(Tn),cell:On,$table:$e}),Ue._lastCallTime=Date.now()),nextTick()}):nextTick()},setSelectCell(_n,En){const{tableData:$n}=Fe,Tn=Dt.value,On=XEUtils$1.isString(En)?$e.getColumnByField(En):En;if(_n&&On&&Tn.trigger!=="manual"){const Nn=$e.findRowIndexOf($n,_n);if(Nn>-1&&On){const An=$e.getCell(_n,On),Pn={row:_n,rowIndex:Nn,column:On,columnIndex:$e.getColumnIndex(On),cell:An};$e.handleSelected(Pn,{})}}return nextTick()}},vn={handleActived(_n,En){const{editConfig:$n,mouseConfig:Tn}=Ie,{editStore:On,tableColumn:Nn}=Fe,An=Dt.value,{mode:Pn}=An,{actived:In,focused:Mn}=On,{row:Rn,column:Un}=_n,{editRender:Wn}=Un,jn=_n.cell||$e.getCell(Rn,Un),Fn=An.beforeEditMethod||An.activeMethod;if(_n.cell=jn,jn&&isEnableConf$1($n)&&isEnableConf$1(Wn)&&!$e.hasPendingByRow(Rn)){if(In.row!==Rn||Pn==="cell"&&In.column!==Un){let Bn="edit-disabled";if(!Fn||Fn(Object.assign(Object.assign({},_n),{$table:$e,$grid:$e.xegrid}))){Tn&&(hn.clearSelected(),$e.clearCellAreas&&($e.clearCellAreas(),$e.clearCopyCellArea())),$e.closeTooltip(),In.column&&hn.clearEdit(En),Bn="edit-activated",Un.renderHeight=jn.offsetHeight,In.args=_n,In.row=Rn,In.column=Un,Pn==="row"?Nn.forEach(Ln=>bn(Rn,Ln)):bn(Rn,Un);const Dn=An.afterEditMethod;nextTick(()=>{vn.handleFocus(_n,En),Dn&&Dn(Object.assign(Object.assign({},_n),{$table:$e,$grid:$e.xegrid}))})}$e.dispatchEvent(Bn,{row:Rn,rowIndex:$e.getRowIndex(Rn),$rowIndex:$e.getVMRowIndex(Rn),column:Un,columnIndex:$e.getColumnIndex(Un),$columnIndex:$e.getVMColumnIndex(Un)},En),Bn==="edit-activated"&&$e.dispatchEvent("edit-actived",{row:Rn,rowIndex:$e.getRowIndex(Rn),$rowIndex:$e.getVMRowIndex(Rn),column:Un,columnIndex:$e.getColumnIndex(Un),$columnIndex:$e.getVMColumnIndex(Un)},En)}else{const{column:Bn}=In;if(Tn&&(hn.clearSelected(),$e.clearCellAreas&&($e.clearCellAreas(),$e.clearCopyCellArea())),Bn!==Un){const{model:Dn}=Bn;Dn.update&&setCellValue(Rn,Bn,Dn.value),$e.clearValidate&&$e.clearValidate(Rn,Un)}Un.renderHeight=jn.offsetHeight,In.args=_n,In.column=Un,setTimeout(()=>{vn.handleFocus(_n,En)})}Mn.column=null,Mn.row=null,$e.focus()}return nextTick()},handleFocus(_n){const{row:En,column:$n,cell:Tn}=_n,{editRender:On}=$n;if(isEnableConf$1(On)){const Nn=renderer$3.get(On.name);let{autofocus:An,autoselect:Pn}=On,In;if(!An&&Nn&&(An=Nn.autofocus),!Pn&&Nn&&(Pn=Nn.autoselect),XEUtils$1.isFunction(An)?In=An.call(this,_n):An&&(In=Tn.querySelector(An),In&&In.focus()),In){if(Pn)In.select();else if(browse$1.msie){const Mn=In.createTextRange();Mn.collapse(!1),Mn.select()}}else $e.scrollToRow(En,$n)}},handleSelected(_n,En){const{mouseConfig:$n}=Ie,{editStore:Tn}=Fe,On=At.value,Nn=Dt.value,{actived:An,selected:Pn}=Tn,{row:In,column:Mn}=_n,Rn=$n&&On.selected;return Rn&&(Pn.row!==In||Pn.column!==Mn)&&(An.row!==In||Nn.mode==="cell"&&An.column!==Mn)&&(hn.clearEdit(En),hn.clearSelected(),$e.clearCellAreas&&($e.clearCellAreas(),$e.clearCopyCellArea()),Pn.args=_n,Pn.row=In,Pn.column=Mn,Rn&&vn.addCellSelectedClass(),$e.focus(),En&&$e.dispatchEvent("cell-selected",_n,En)),nextTick()},addCellSelectedClass(){const{editStore:_n}=Fe,{selected:En}=_n,{row:$n,column:Tn}=En;if(Cn(),$n&&Tn){const On=$e.getCell($n,Tn);On&&addClass$3(On,"col--selected")}}},Object.assign(Object.assign({},hn),vn)},setupGrid($e){return $e.extendTableMethods(tableEditMethodKeys)}});const defaultHtmlStyle$1='body{margin:0;padding: 0 1px;color:#333333;font-size:14px;font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu}body *{-webkit-box-sizing:border-box;box-sizing:border-box}.vxe-table{border-collapse:collapse;text-align:left;border-spacing:0}.vxe-table:not(.is--print){table-layout:fixed}.vxe-table,.vxe-table th,.vxe-table td,.vxe-table td{border-color:#D0D0D0;border-style:solid;border-width:0}.vxe-table.is--print{width:100%}.border--default,.border--full,.border--outer{border-top-width:1px}.border--default,.border--full,.border--outer{border-left-width:1px}.border--outer,.border--default th,.border--default td,.border--full th,.border--full td,.border--outer th,.border--inner th,.border--inner td{border-bottom-width:1px}.border--default,.border--outer,.border--full th,.border--full td{border-right-width:1px}.border--default th,.border--full th,.border--outer th{background-color:#f8f8f9}.vxe-table td>div,.vxe-table th>div{padding:.5em .4em}.col--center{text-align:center}.col--right{text-align:right}.vxe-table:not(.is--print) .col--ellipsis>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.vxe-table--tree-node{text-align:left}.vxe-table--tree-node-wrapper{position:relative}.vxe-table--tree-icon-wrapper{position:absolute;top:50%;width:1em;height:1em;text-align:center;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.vxe-table--tree-unfold-icon,.vxe-table--tree-fold-icon{position:absolute;width:0;height:0;border-style:solid;border-width:.5em;border-right-color:transparent;border-bottom-color:transparent}.vxe-table--tree-unfold-icon{left:.3em;top:0;border-left-color:#939599;border-top-color:transparent}.vxe-table--tree-fold-icon{left:0;top:.3em;border-left-color:transparent;border-top-color:#939599}.vxe-table--tree-cell{display:block;padding-left:1.5em}.vxe-table input[type="checkbox"]{margin:0}.vxe-table input[type="checkbox"],.vxe-table input[type="radio"],.vxe-table input[type="checkbox"]+span,.vxe-table input[type="radio"]+span{vertical-align:middle;padding-left:0.4em}';function getExportBlobByContent$1($e,Ie){return new Blob([$e],{type:`text/${Ie.type};charset=utf-8;`})}function createHtmlPage$1($e,Ie){const{style:Fe}=$e;return["","",'',`${$e.sheetName}`,'',``,Fe?``:"","",`${Ie}`,""].join("")}const{getI18n:getI18n$3,hooks:hooks$3,renderer:renderer$2}=VxeUI;let htmlCellElem;const csvBOM="\uFEFF",enterSymbol=`\r +`;function defaultFilterExportColumn($e){return $e.property||["seq","checkbox","radio"].indexOf($e.type)>-1}const getConvertColumns=$e=>{const Ie=[];return $e.forEach(Fe=>{Fe.childNodes&&Fe.childNodes.length?(Ie.push(Fe),Ie.push(...getConvertColumns(Fe.childNodes))):Ie.push(Fe)}),Ie},convertToRows$1=$e=>{let Ie=1;const Fe=(At,Dt)=>{if(Dt&&(At._level=Dt._level+1,Ie{Fe(jt,At),Lt+=jt._colSpan}),At._colSpan=Lt}else At._colSpan=1};$e.forEach(At=>{At._level=1,Fe(At)});const Ue=[];for(let At=0;At{At.childNodes&&At.childNodes.length?At._rowSpan=1:At._rowSpan=Ie-At._level+1,Ue[At._level-1].push(At)}),Ue};function toTableBorder($e){return $e===!0?"full":$e||"default"}function getBooleanValue($e){return $e==="TRUE"||$e==="true"||$e===!0}function getFooterData($e,Ie){const{footerFilterMethod:Fe}=$e;return Fe?Ie.filter((Ue,qe)=>Fe({items:Ue,$rowIndex:qe})):Ie}function getCsvCellTypeLabel($e,Ie){if(Ie){if($e.type==="seq")return` ${Ie}`;switch($e.cellType){case"string":if(!isNaN(Ie))return` ${Ie}`;break;case"number":break;default:if(Ie.length>=12&&!isNaN(Ie))return` ${Ie}`;break}}return Ie}function toTxtCellLabel($e){return/[",\s\n]/.test($e)?`"${$e.replace(/"/g,'""')}"`:$e}function getElementsByTagName($e,Ie){return $e.getElementsByTagName(Ie)}function getTxtCellKey($e){return`#${$e}@${XEUtils$1.uniqueId()}`}function replaceTxtCell($e,Ie){return $e.replace(/#\d+@\d+/g,Fe=>XEUtils$1.hasOwnProp(Ie,Fe)?Ie[Fe]:Fe)}function getTxtCellValue($e,Ie){return replaceTxtCell($e,Ie).replace(/^"+$/g,Ue=>'"'.repeat(Math.ceil(Ue.length/2)))}function parseCsvAndTxt($e,Ie,Fe){const Ue=Ie.split(enterSymbol),qe=[];let At=[];if(Ue.length){const Dt={},Lt=Date.now();Ue.forEach(jt=>{if(jt){const hn={};jt=jt.replace(/("")|(\n)/g,(bn,kn)=>{const Cn=getTxtCellKey(Lt);return Dt[Cn]=kn?'"':` +`,Cn}).replace(/"(.*?)"/g,(bn,kn)=>{const Cn=getTxtCellKey(Lt);return Dt[Cn]=replaceTxtCell(kn,Dt),Cn});const vn=jt.split(Fe);At.length?(vn.forEach((bn,kn)=>{kngetTxtCellValue(bn.trim(),Dt))}})}return{fields:At,rows:qe}}function parseCsv($e,Ie){return parseCsvAndTxt($e,Ie,",")}function parseTxt($e,Ie){return parseCsvAndTxt($e,Ie," ")}function parseHTML($e,Ie){const Ue=new DOMParser().parseFromString(Ie,"text/html"),qe=getElementsByTagName(Ue,"body"),At=[],Dt=[];if(qe.length){const Lt=getElementsByTagName(qe[0],"table");if(Lt.length){const jt=getElementsByTagName(Lt[0],"thead");if(jt.length){XEUtils$1.arrayEach(getElementsByTagName(jt[0],"tr"),vn=>{XEUtils$1.arrayEach(getElementsByTagName(vn,"th"),bn=>{Dt.push(bn.textContent)})});const hn=getElementsByTagName(Lt[0],"tbody");hn.length&&XEUtils$1.arrayEach(getElementsByTagName(hn[0],"tr"),vn=>{const bn={};XEUtils$1.arrayEach(getElementsByTagName(vn,"td"),(kn,Cn)=>{Dt[Cn]&&(bn[Dt[Cn]]=kn.textContent||"")}),At.push(bn)})}}}return{fields:Dt,rows:At}}function parseXML($e,Ie){const Ue=new DOMParser().parseFromString(Ie,"application/xml"),qe=getElementsByTagName(Ue,"Worksheet"),At=[],Dt=[];if(qe.length){const Lt=getElementsByTagName(qe[0],"Table");if(Lt.length){const jt=getElementsByTagName(Lt[0],"Row");jt.length&&(XEUtils$1.arrayEach(getElementsByTagName(jt[0],"Cell"),hn=>{Dt.push(hn.textContent)}),XEUtils$1.arrayEach(jt,(hn,vn)=>{if(vn){const bn={},kn=getElementsByTagName(hn,"Cell");XEUtils$1.arrayEach(kn,(Cn,xn)=>{Dt[xn]&&(bn[Dt[xn]]=Cn.textContent)}),At.push(bn)}}))}}return{fields:Dt,rows:At}}function clearColumnConvert($e){XEUtils$1.eachTree($e,Ie=>{delete Ie._level,delete Ie._colSpan,delete Ie._rowSpan,delete Ie._children,delete Ie.childNodes},{children:"children"})}function checkImportData($e,Ie){const Fe=[];return $e.forEach(Ue=>{const qe=Ue.property;qe&&Fe.push(qe)}),Ie.some(Ue=>Fe.indexOf(Ue)>-1)}const tableExportMethodKeys=["exportData","importByFile","importData","saveFile","readFile","print","openImport","openExport","openPrint"];hooks$3.add("tableExportModule",{setupTable($e){const{props:Ie,reactData:Fe,internalData:Ue}=$e,{computeTreeOpts:qe,computePrintOpts:At,computeExportOpts:Dt,computeImportOpts:Lt,computeCustomOpts:jt,computeSeqOpts:hn,computeRadioOpts:vn,computeCheckboxOpts:bn,computeColumnOpts:kn}=$e.getComputeMaps(),Cn=inject("$xeGrid",null),xn=Dn=>{const Ln=qe.value,Vn=Ln.children||Ln.childrenField;return Dn[Vn]&&Dn[Vn].length},wn=(Dn,Ln,Vn,zn)=>{const Yn=hn.value.seqMethod||Vn.seqMethod;return Yn?Yn({row:Dn,rowIndex:$e.getRowIndex(Dn),$rowIndex:Ln,column:Vn,columnIndex:$e.getColumnIndex(Vn),$columnIndex:zn}):$e.getRowSeq(Dn)};function Sn(Dn,Ln){const Vn=kn.value,zn=Ln.headerExportMethod||Vn.headerExportMethod;return zn?zn({column:Ln,options:Dn,$table:$e}):(Dn.original?Ln.property:Ln.getTitle())||""}const _n=Dn=>XEUtils$1.isBoolean(Dn)?Dn?"TRUE":"FALSE":Dn,En=(Dn,Ln,Vn)=>{const{isAllExpand:zn,mode:Hn}=Dn,{treeConfig:Yn}=Ie,Qn=vn.value,lo=bn.value,ro=qe.value,no=kn.value;if(htmlCellElem||(htmlCellElem=document.createElement("div")),Yn){const qn=ro.children||ro.childrenField,Gn=[],so=new Map;return XEUtils$1.eachTree(Vn,(Xn,io,fo,Zn,to,ao)=>{const po=Xn._row||Xn,mo=to&&to._row?to._row:to;if(zn||!mo||so.has(mo)&&$e.isTreeExpandByRow(mo)){const No=xn(po),Mo={_row:po,_level:ao.length-1,_hasChild:No,_expand:No&&$e.isTreeExpandByRow(po)};Ln.forEach((vo,ho)=>{let $o="";const _o=vo.editRender||vo.cellRender;let Oo=vo.exportMethod;if(!Oo&&_o&&_o.name){const oo=renderer$2.get(_o.name);oo&&(Oo=oo.exportMethod)}if(Oo||(Oo=no.exportMethod),Oo)$o=Oo({$table:$e,row:po,column:vo,options:Dn});else switch(vo.type){case"seq":$o=Hn==="all"?Zn.map((oo,Co)=>Co%2===0?Number(oo)+1:".").join(""):wn(po,io,vo,ho);break;case"checkbox":$o=_n($e.isCheckedByCheckboxRow(po)),Mo._checkboxLabel=lo.labelField?XEUtils$1.get(po,lo.labelField):"",Mo._checkboxDisabled=lo.checkMethod&&!lo.checkMethod({row:po});break;case"radio":$o=_n($e.isCheckedByRadioRow(po)),Mo._radioLabel=Qn.labelField?XEUtils$1.get(po,Qn.labelField):"",Mo._radioDisabled=Qn.checkMethod&&!Qn.checkMethod({row:po});break;default:if(Dn.original)$o=getCellValue(po,vo);else if($o=$e.getCellLabel(po,vo),vo.type==="html")htmlCellElem.innerHTML=$o,$o=htmlCellElem.innerText.trim();else{const oo=$e.getCell(po,vo);oo&&($o=oo.innerText.trim())}}Mo[vo.id]=XEUtils$1.toValueString($o)}),so.set(po,1),Gn.push(Object.assign(Mo,po))}},{children:qn}),Gn}return Vn.map((qn,Gn)=>{const so={_row:qn};return Ln.forEach((Xn,io)=>{let fo="";const Zn=Xn.editRender||Xn.cellRender;let to=Xn.exportMethod;if(!to&&Zn&&Zn.name){const ao=renderer$2.get(Zn.name);ao&&(to=ao.exportMethod)}if(to)fo=to({$table:$e,row:qn,column:Xn,options:Dn});else switch(Xn.type){case"seq":fo=Hn==="all"?Gn+1:wn(qn,Gn,Xn,io);break;case"checkbox":fo=_n($e.isCheckedByCheckboxRow(qn)),so._checkboxLabel=lo.labelField?XEUtils$1.get(qn,lo.labelField):"",so._checkboxDisabled=lo.checkMethod&&!lo.checkMethod({row:qn});break;case"radio":fo=_n($e.isCheckedByRadioRow(qn)),so._radioLabel=Qn.labelField?XEUtils$1.get(qn,Qn.labelField):"",so._radioDisabled=Qn.checkMethod&&!Qn.checkMethod({row:qn});break;default:if(Dn.original)fo=getCellValue(qn,Xn);else if(fo=$e.getCellLabel(qn,Xn),Xn.type==="html")htmlCellElem.innerHTML=fo,fo=htmlCellElem.innerText.trim();else{const ao=$e.getCell(qn,Xn);ao&&(fo=ao.innerText.trim())}}so[Xn.id]=XEUtils$1.toValueString(fo)}),so})},$n=Dn=>{const{columns:Ln,dataFilterMethod:Vn}=Dn;let zn=Dn.data;return Vn&&(zn=zn.filter((Hn,Yn)=>Vn({row:Hn,$rowIndex:Yn}))),En(Dn,Ln,zn)},Tn=(Dn,Ln,Vn)=>{const zn=kn.value,Hn=Vn.editRender||Vn.cellRender;let Yn=Vn.footerExportMethod;if(!Yn&&Hn&&Hn.name){const ro=renderer$2.get(Hn.name);ro&&(Yn=ro.footerExportMethod)}Yn||(Yn=zn.footerExportMethod);const Qn=$e.getVTColumnIndex(Vn);return Yn?Yn({$table:$e,items:Ln,itemIndex:Qn,row:Ln,_columnIndex:Qn,column:Vn,options:Dn}):XEUtils$1.toValueString(Ln[Qn])},On=(Dn,Ln,Vn)=>{let zn=csvBOM;if(Dn.isHeader&&(zn+=Ln.map(Hn=>toTxtCellLabel(Sn(Dn,Hn))).join(",")+enterSymbol),Vn.forEach(Hn=>{zn+=Ln.map(Yn=>toTxtCellLabel(getCsvCellTypeLabel(Yn,Hn[Yn.id]))).join(",")+enterSymbol}),Dn.isFooter){const{footerTableData:Hn}=Fe;getFooterData(Dn,Hn).forEach(Qn=>{zn+=Ln.map(lo=>toTxtCellLabel(Tn(Dn,Qn,lo))).join(",")+enterSymbol})}return zn},Nn=(Dn,Ln,Vn)=>{let zn="";if(Dn.isHeader&&(zn+=Ln.map(Hn=>toTxtCellLabel(Sn(Dn,Hn))).join(" ")+enterSymbol),Vn.forEach(Hn=>{zn+=Ln.map(Yn=>toTxtCellLabel(Hn[Yn.id])).join(" ")+enterSymbol}),Dn.isFooter){const{footerTableData:Hn}=Fe;getFooterData(Dn,Hn).forEach(Qn=>{zn+=Ln.map(lo=>toTxtCellLabel(Tn(Dn,Qn,lo))).join(",")+enterSymbol})}return zn},An=(Dn,Ln,Vn)=>{const zn=Dn[Ln],Hn=XEUtils$1.isUndefined(zn)||XEUtils$1.isNull(zn)?Vn:zn;let ro=Hn==="title"||(Hn===!0||Hn==="tooltip")||Hn==="ellipsis";const{scrollXLoad:no,scrollYLoad:qn}=Fe;return(no||qn)&&!ro&&(ro=!0),ro},Pn=(Dn,Ln,Vn)=>{const{id:zn,border:Hn,treeConfig:Yn,headerAlign:Qn,align:lo,footerAlign:ro,showOverflow:no,showHeaderOverflow:qn}=Ie,{isAllSelected:Gn,isIndeterminate:so,mergeList:Xn}=Fe,io=qe.value,{print:fo,isHeader:Zn,isFooter:to,isColgroup:ao,isMerge:po,colgroups:mo,original:No}=Dn,Mo="check-all",ho=[`_o).join(" ")}" border="0" cellspacing="0" cellpadding="0">`,`${Ln.map(_o=>``).join("")}`];if(Zn&&(ho.push(""),ao&&!No?mo.forEach(_o=>{ho.push(`${_o.map(Oo=>{const oo=Oo.headerAlign||Oo.align||Qn||lo,Co=An(Oo,"showHeaderOverflow",qn)?["col--ellipsis"]:[],yo=Sn(Dn,Oo);let Io=0,xo=0;XEUtils$1.eachTree([Oo],bo=>{(!bo.childNodes||!Oo.childNodes.length)&&xo++,Io+=bo.renderWidth},{children:"childNodes"});const Ao=Io-xo;return oo&&Co.push(`col--${oo}`),Oo.type==="checkbox"?``:``}).join("")}`)}):ho.push(`${Ln.map(_o=>{const Oo=_o.headerAlign||_o.align||Qn||lo,oo=An(_o,"showHeaderOverflow",qn)?["col--ellipsis"]:[],Co=Sn(Dn,_o);return Oo&&oo.push(`col--${Oo}`),_o.type==="checkbox"?``:``}).join("")}`),ho.push("")),Vn.length&&(ho.push(""),Yn?Vn.forEach(_o=>{ho.push(""+Ln.map(Oo=>{const oo=Oo.align||lo,Co=An(Oo,"showOverflow",no)?["col--ellipsis"]:[],yo=_o[Oo.id];if(oo&&Co.push(`col--${oo}`),Oo.treeNode){let Io="";return _o._hasChild&&(Io=``),Co.push("vxe-table--tree-node"),Oo.type==="radio"?``:Oo.type==="checkbox"?``:``}return Oo.type==="radio"?``:Oo.type==="checkbox"?``:``}).join("")+"")}):Vn.forEach(_o=>{ho.push(""+Ln.map(Oo=>{const oo=Oo.align||lo,Co=An(Oo,"showOverflow",no)?["col--ellipsis"]:[],yo=_o[Oo.id];let Io=1,xo=1;if(po&&Xn.length){const Ao=$e.getVTRowIndex(_o._row),bo=$e.getVTColumnIndex(Oo),Fo=mergeBodyMethod(Xn,Ao,bo);if(Fo){const{rowspan:Po,colspan:ko}=Fo;if(!Po||!ko)return"";Po>1&&(Io=Po),ko>1&&(xo=ko)}}return oo&&Co.push(`col--${oo}`),Oo.type==="radio"?``:Oo.type==="checkbox"?``:``}).join("")+"")}),ho.push("")),to){const{footerTableData:_o}=Fe,Oo=getFooterData(Dn,_o);Oo.length&&(ho.push(""),Oo.forEach(oo=>{ho.push(`${Ln.map(Co=>{const yo=Co.footerAlign||Co.align||ro||lo,Io=An(Co,"showOverflow",no)?["col--ellipsis"]:[],xo=Tn(Dn,oo,Co);return yo&&Io.push(`col--${yo}`),``}).join("")}`)}),ho.push(""))}const $o=!Gn&&so?` + + + + + + + + + + + Fantastic-admin 基础版 + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    载入中
    +
    +
    +
    为了您的体验,推荐使用以下浏览器
    + +
    +
    + + + diff --git a/index.html.br b/index.html.br new file mode 100644 index 000000000..cf4820138 Binary files /dev/null and b/index.html.br differ diff --git a/index.html.gz b/index.html.gz new file mode 100644 index 000000000..b0eb03fb5 Binary files /dev/null and b/index.html.gz differ diff --git a/loading.css b/loading.css new file mode 100755 index 000000000..f9a8a12c2 --- /dev/null +++ b/loading.css @@ -0,0 +1,92 @@ +#app { + height: 100%; +} + +.fantastic-admin-home { + position: absolute; + top: 0; + left: 0; + z-index: 10000; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + color: #736477; + user-select: none; + background-color: snow; +} + +.fantastic-admin-home .loading { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; +} + +.fantastic-admin-home .loading .square { + display: flex; + align-items: center; + justify-content: center; + width: 20px; + height: 20px; +} + +.fantastic-admin-home .loading .square::before { + width: 10px; + height: 10px; + content: ""; + border: 3px solid #8c858f; + border-radius: 15%; + animation: square-to-dot-animation 2s linear infinite; +} + +.fantastic-admin-home .loading .square:nth-child(1)::before { + animation-delay: calc(150ms * 1); +} + +.fantastic-admin-home .loading .square:nth-child(2)::before { + animation-delay: calc(150ms * 2); +} + +.fantastic-admin-home .loading .square:nth-child(3)::before { + animation-delay: calc(150ms * 3); +} + +.fantastic-admin-home .loading .square:nth-child(4)::before { + animation-delay: calc(150ms * 4); +} + +@keyframes square-to-dot-animation { + 15%, + 25% { + width: 0; + height: 0; + margin: 5px; + border-width: 5px; + border-radius: 100%; + } + + 40% { + width: 10px; + height: 10px; + margin: initial; + border-width: 3px; + border-radius: 15%; + } +} + +.fantastic-admin-home .text { + position: relative; + margin-top: 20px; + font-size: 24px; +} + +.fantastic-admin-home .text::after { + position: absolute; + padding-left: 5px; + content: "…"; +} diff --git a/loading.css.br b/loading.css.br new file mode 100644 index 000000000..786ae1262 Binary files /dev/null and b/loading.css.br differ diff --git a/loading.css.gz b/loading.css.gz new file mode 100644 index 000000000..a2fff59b2 Binary files /dev/null and b/loading.css.gz differ diff --git a/tinymce/langs/zh-Hans.js b/tinymce/langs/zh-Hans.js new file mode 100755 index 000000000..58c59b28d --- /dev/null +++ b/tinymce/langs/zh-Hans.js @@ -0,0 +1,7 @@ +/*! + * TinyMCE Language Pack + * + * Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc. + * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/ + */ +tinymce.addI18n("zh-Hans",{"Redo":"\u91cd\u505a","Undo":"\u64a4\u9500","Cut":"\u526a\u5207","Copy":"\u590d\u5236","Paste":"\u7c98\u8d34","Select all":"\u5168\u9009","New document":"\u65b0\u5efa\u6587\u6863","Ok":"\u786e\u5b9a","Cancel":"\u53d6\u6d88","Visual aids":"\u7f51\u683c\u7ebf","Bold":"\u7c97\u4f53","Italic":"\u659c\u4f53","Underline":"\u4e0b\u5212\u7ebf","Strikethrough":"\u5220\u9664\u7ebf","Superscript":"\u4e0a\u6807","Subscript":"\u4e0b\u6807","Clear formatting":"\u6e05\u9664\u683c\u5f0f","Remove":"\u79fb\u9664","Align left":"\u5de6\u5bf9\u9f50","Align center":"\u5c45\u4e2d\u5bf9\u9f50","Align right":"\u53f3\u5bf9\u9f50","No alignment":"\u672a\u5bf9\u9f50","Justify":"\u4e24\u7aef\u5bf9\u9f50","Bullet list":"\u65e0\u5e8f\u5217\u8868","Numbered list":"\u6709\u5e8f\u5217\u8868","Decrease indent":"\u51cf\u5c11\u7f29\u8fdb","Increase indent":"\u589e\u52a0\u7f29\u8fdb","Close":"\u5173\u95ed","Formats":"\u683c\u5f0f","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u6253\u5f00\u526a\u8d34\u677f\uff0c\u8bf7\u4f7f\u7528Ctrl+X/C/V\u7b49\u5feb\u6377\u952e\u3002","Headings":"\u6807\u9898","Heading 1":"\u4e00\u7ea7\u6807\u9898","Heading 2":"\u4e8c\u7ea7\u6807\u9898","Heading 3":"\u4e09\u7ea7\u6807\u9898","Heading 4":"\u56db\u7ea7\u6807\u9898","Heading 5":"\u4e94\u7ea7\u6807\u9898","Heading 6":"\u516d\u7ea7\u6807\u9898","Preformatted":"\u9884\u5148\u683c\u5f0f\u5316\u7684","Div":"Div","Pre":"\u524d\u8a00","Code":"\u4ee3\u7801","Paragraph":"\u6bb5\u843d","Blockquote":"\u5f15\u6587\u533a\u5757","Inline":"\u6587\u672c","Blocks":"\u6837\u5f0f","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"\u5f53\u524d\u4e3a\u7eaf\u6587\u672c\u7c98\u8d34\u6a21\u5f0f\uff0c\u518d\u6b21\u70b9\u51fb\u53ef\u4ee5\u56de\u5230\u666e\u901a\u7c98\u8d34\u6a21\u5f0f\u3002","Fonts":"\u5b57\u4f53","Font sizes":"\u5b57\u4f53\u5927\u5c0f","Class":"\u7c7b\u578b","Browse for an image":"\u6d4f\u89c8\u56fe\u50cf","OR":"\u6216","Drop an image here":"\u62d6\u653e\u4e00\u5f20\u56fe\u50cf\u81f3\u6b64","Upload":"\u4e0a\u4f20","Uploading image":"\u4e0a\u4f20\u56fe\u7247","Block":"\u5757","Align":"\u5bf9\u9f50","Default":"\u9884\u8bbe","Circle":"\u7a7a\u5fc3\u5706","Disc":"\u5b9e\u5fc3\u5706","Square":"\u5b9e\u5fc3\u65b9\u5757","Lower Alpha":"\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd","Lower Greek":"\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd","Lower Roman":"\u5c0f\u5199\u7f57\u9a6c\u6570\u5b57","Upper Alpha":"\u5927\u5199\u82f1\u6587\u5b57\u6bcd","Upper Roman":"\u5927\u5199\u7f57\u9a6c\u6570\u5b57","Anchor...":"\u951a\u70b9...","Anchor":"\u951a\u70b9","Name":"\u540d\u79f0","ID":"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"ID\u5e94\u8be5\u4ee5\u82f1\u6587\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u9762\u53ea\u80fd\u6709\u82f1\u6587\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7834\u6298\u53f7\u3001\u70b9\u3001\u5192\u53f7\u6216\u4e0b\u5212\u7ebf\u3002","You have unsaved changes are you sure you want to navigate away?":"\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f","Restore last draft":"\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f","Special character...":"\u7279\u6b8a\u5b57\u7b26...","Special Character":"\u7279\u6b8a\u5b57\u7b26","Source code":"\u6e90\u4ee3\u7801","Insert/Edit code sample":"\u63d2\u5165/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b","Language":"\u8bed\u8a00","Code sample...":"\u793a\u4f8b\u4ee3\u7801...","Left to right":"\u7531\u5de6\u5230\u53f3","Right to left":"\u7531\u53f3\u5230\u5de6","Title":"\u6807\u9898","Fullscreen":"\u5168\u5c4f","Action":"\u52a8\u4f5c","Shortcut":"\u5feb\u6377\u65b9\u5f0f","Help":"\u5e2e\u52a9","Address":"\u5730\u5740","Focus to menubar":"\u79fb\u52a8\u7126\u70b9\u5230\u83dc\u5355\u680f","Focus to toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u5de5\u5177\u680f","Focus to element path":"\u79fb\u52a8\u7126\u70b9\u5230\u5143\u7d20\u8def\u5f84","Focus to contextual toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u4e0a\u4e0b\u6587\u83dc\u5355","Insert link (if link plugin activated)":"\u63d2\u5165\u94fe\u63a5 (\u5982\u679c\u94fe\u63a5\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Save (if save plugin activated)":"\u4fdd\u5b58(\u5982\u679c\u4fdd\u5b58\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Find (if searchreplace plugin activated)":"\u67e5\u627e(\u5982\u679c\u67e5\u627e\u66ff\u6362\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Plugins installed ({0}):":"\u5df2\u5b89\u88c5\u63d2\u4ef6 ({0}):","Premium plugins:":"\u4f18\u79c0\u63d2\u4ef6\uff1a","Learn more...":"\u4e86\u89e3\u66f4\u591a...","You are using {0}":"\u4f60\u6b63\u5728\u4f7f\u7528 {0}","Plugins":"\u63d2\u4ef6","Handy Shortcuts":"\u5feb\u6377\u952e","Horizontal line":"\u6c34\u5e73\u5206\u5272\u7ebf","Insert/edit image":"\u63d2\u5165/\u7f16\u8f91\u56fe\u7247","Alternative description":"\u66ff\u4ee3\u63cf\u8ff0","Accessibility":"\u8f85\u52a9\u529f\u80fd","Image is decorative":"\u56fe\u50cf\u662f\u88c5\u9970\u6027\u7684","Source":"\u6e90","Dimensions":"\u5c3a\u5bf8","Constrain proportions":"\u4fdd\u6301\u6bd4\u4f8b","General":"\u4e00\u822c","Advanced":"\u9ad8\u7ea7","Style":"\u6837\u5f0f","Vertical space":"\u5782\u76f4\u95f4\u8ddd","Horizontal space":"\u6c34\u5e73\u95f4\u8ddd","Border":"\u6846\u7ebf","Insert image":"\u63d2\u5165\u56fe\u7247","Image...":"\u56fe\u7247...","Image list":"\u56fe\u7247\u6e05\u5355","Resize":"\u8c03\u6574\u5927\u5c0f","Insert date/time":"\u63d2\u5165\u65e5\u671f/\u65f6\u95f4","Date/time":"\u65e5\u671f/\u65f6\u95f4","Insert/edit link":"\u63d2\u5165/\u7f16\u8f91\u94fe\u63a5","Text to display":"\u8981\u663e\u793a\u7684\u6587\u672c","Url":"\u5730\u5740","Open link in...":"\u94fe\u63a5\u6253\u5f00\u4f4d\u7f6e...","Current window":"\u5f53\u524d\u7a97\u53e3","None":"\u65e0","New window":"\u65b0\u7a97\u53e3","Open link":"\u6253\u5f00\u94fe\u63a5","Remove link":"\u79fb\u9664\u94fe\u63a5","Anchors":"\u951a\u70b9","Link...":"\u94fe\u63a5...","Paste or type a link":"\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u4e3a\u90ae\u4ef6\u5730\u5740\uff0c\u9700\u8981\u52a0\u4e0amailto: \u524d\u7f00\u5417\uff1f","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u5c5e\u4e8e\u5916\u90e8\u94fe\u63a5\uff0c\u9700\u8981\u52a0\u4e0ahttp:// \u524d\u7f00\u5417\uff1f","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"\u60a8\u8f93\u5165\u7684 URL \u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002\u60a8\u60f3\u6dfb\u52a0\u6240\u9700\u7684 https:// \u524d\u7f00\u5417\uff1f","Link list":"\u94fe\u63a5\u6e05\u5355","Insert video":"\u63d2\u5165\u89c6\u9891","Insert/edit video":"\u63d2\u5165/\u7f16\u8f91\u89c6\u9891","Insert/edit media":"\u63d2\u5165/\u7f16\u8f91\u5a92\u4f53","Alternative source":"\u955c\u50cf","Alternative source URL":"\u66ff\u4ee3\u6765\u6e90\u7f51\u5740","Media poster (Image URL)":"\u5c01\u9762(\u56fe\u7247\u5730\u5740)","Paste your embed code below:":"\u5c06\u5185\u5d4c\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:","Embed":"\u5185\u5d4c","Media...":"\u591a\u5a92\u4f53...","Nonbreaking space":"\u4e0d\u95f4\u65ad\u7a7a\u683c","Page break":"\u5206\u9875\u7b26","Paste as text":"\u7c98\u8d34\u4e3a\u6587\u672c","Preview":"\u9884\u89c8","Print":"\u6253\u5370","Print...":"\u6253\u5370...","Save":"\u4fdd\u5b58","Find":"\u5bfb\u627e","Replace with":"\u66ff\u6362\u4e3a","Replace":"\u66ff\u6362","Replace all":"\u66ff\u6362\u5168\u90e8","Previous":"\u4e0a\u4e00\u4e2a","Next":"\u4e0b\u4e00\u4e2a","Find and Replace":"\u67e5\u627e\u548c\u66ff\u6362","Find and replace...":"\u67e5\u627e\u5e76\u66ff\u6362...","Could not find the specified string.":"\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9\u3002","Match case":"\u5927\u5c0f\u5199\u5339\u914d","Find whole words only":"\u5168\u5b57\u5339\u914d","Find in selection":"\u5728\u9009\u533a\u4e2d\u67e5\u627e","Insert table":"\u63d2\u5165\u8868\u683c","Table properties":"\u8868\u683c\u5c5e\u6027","Delete table":"\u5220\u9664\u8868\u683c","Cell":"\u5355\u5143\u683c","Row":"\u884c","Column":"\u680f\u76ee","Cell properties":"\u5355\u5143\u683c\u5c5e\u6027","Merge cells":"\u5408\u5e76\u5355\u5143\u683c","Split cell":"\u62c6\u5206\u5355\u5143\u683c","Insert row before":"\u5728\u4e0a\u65b9\u63d2\u5165\u884c","Insert row after":"\u5728\u4e0b\u65b9\u63d2\u5165\u884c","Delete row":"\u5220\u9664\u884c","Row properties":"\u884c\u5c5e\u6027","Cut row":"\u526a\u5207\u884c","Cut column":"\u526a\u5207\u5217","Copy row":"\u590d\u5236\u884c","Copy column":"\u590d\u5236\u5217","Paste row before":"\u7c98\u8d34\u884c\u5230\u4e0a\u65b9","Paste column before":"\u7c98\u8d34\u6b64\u5217\u524d","Paste row after":"\u7c98\u8d34\u884c\u5230\u4e0b\u65b9","Paste column after":"\u7c98\u8d34\u540e\u9762\u7684\u5217","Insert column before":"\u5728\u5de6\u4fa7\u63d2\u5165\u5217","Insert column after":"\u5728\u53f3\u4fa7\u63d2\u5165\u5217","Delete column":"\u5220\u9664\u5217","Cols":"\u5217","Rows":"\u884c\u6570","Width":"\u5bbd\u5ea6","Height":"\u9ad8\u5ea6","Cell spacing":"\u5355\u5143\u683c\u5916\u95f4\u8ddd","Cell padding":"\u5355\u5143\u683c\u5185\u8fb9\u8ddd","Row clipboard actions":"\u884c\u526a\u8d34\u677f\u64cd\u4f5c","Column clipboard actions":"\u5217\u526a\u8d34\u677f\u64cd\u4f5c","Table styles":"\u8868\u683c\u6837\u5f0f","Cell styles":"\u5355\u5143\u683c\u6837\u5f0f","Column header":"\u5217\u6807\u9898","Row header":"\u884c\u5934","Table caption":"\u8868\u683c\u6807\u9898","Caption":"\u6807\u9898","Show caption":"\u663e\u793a\u6807\u9898","Left":"\u5de6","Center":"\u5c45\u4e2d","Right":"\u53f3","Cell type":"\u50a8\u5b58\u683c\u522b","Scope":"\u8303\u56f4","Alignment":"\u5bf9\u9f50","Horizontal align":"\u6c34\u5e73\u5bf9\u9f50","Vertical align":"\u5782\u76f4\u5bf9\u9f50","Top":"\u4e0a\u65b9\u5bf9\u9f50","Middle":"\u5c45\u4e2d\u5bf9\u9f50","Bottom":"\u4e0b\u65b9\u5bf9\u9f50","Header cell":"\u8868\u5934\u5355\u5143\u683c","Row group":"\u884c\u7ec4","Column group":"\u5217\u7ec4","Row type":"\u884c\u7c7b\u578b","Header":"\u8868\u5934","Body":"\u8868\u4f53","Footer":"\u8868\u5c3e","Border color":"\u6846\u7ebf\u989c\u8272","Solid":"\u5b9e\u7ebf","Dotted":"\u865a\u7ebf","Dashed":"\u865a\u7ebf","Double":"\u53cc\u7cbe\u5ea6","Groove":"\u51f9\u69fd","Ridge":"\u6d77\u810a\u5ea7","Inset":"\u5d4c\u5165","Outset":"\u5916\u7f6e","Hidden":"\u9690\u85cf","Insert template...":"\u63d2\u5165\u6a21\u677f...","Templates":"\u6a21\u677f","Template":"\u6a21\u677f","Insert Template":"\u63d2\u5165\u6a21\u677f","Text color":"\u6587\u672c\u989c\u8272","Background color":"\u80cc\u666f\u989c\u8272","Custom...":"\u81ea\u5b9a\u4e49......","Custom color":"\u81ea\u5b9a\u4e49\u989c\u8272","No color":"\u65e0","Remove color":"\u79fb\u9664\u989c\u8272","Show blocks":"\u663e\u793a\u533a\u5757\u8fb9\u6846","Show invisible characters":"\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26","Word count":"\u5b57\u6570","Count":"\u8ba1\u6570","Document":"\u6587\u6863","Selection":"\u9009\u62e9","Words":"\u5355\u8bcd","Words: {0}":"\u5b57\u6570\uff1a{0}","{0} words":"{0} \u5b57","File":"\u6587\u4ef6","Edit":"\u7f16\u8f91","Insert":"\u63d2\u5165","View":"\u67e5\u770b","Format":"\u683c\u5f0f","Table":"\u8868\u683c","Tools":"\u5de5\u5177","Powered by {0}":"\u7531{0}\u9a71\u52a8","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"\u7f16\u8f91\u533a\u3002\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9","Image title":"\u56fe\u7247\u6807\u9898","Border width":"\u8fb9\u6846\u5bbd\u5ea6","Border style":"\u8fb9\u6846\u6837\u5f0f","Error":"\u9519\u8bef","Warn":"\u8b66\u544a","Valid":"\u6709\u6548","To open the popup, press Shift+Enter":"\u6309Shitf+Enter\u952e\u6253\u5f00\u5bf9\u8bdd\u6846","Rich Text Area":"\u5bcc\u6587\u672c\u533a\u57df","Rich Text Area. Press ALT-0 for help.":"\u7f16\u8f91\u533a\u3002\u6309Alt+0\u952e\u6253\u5f00\u5e2e\u52a9\u3002","System Font":"\u7cfb\u7edf\u5b57\u4f53","Failed to upload image: {0}":"\u56fe\u7247\u4e0a\u4f20\u5931\u8d25: {0}","Failed to load plugin: {0} from url {1}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25: {0} \u6765\u81ea\u94fe\u63a5 {1}","Failed to load plugin url: {0}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25 \u94fe\u63a5: {0}","Failed to initialize plugin: {0}":"\u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25: {0}","example":"\u793a\u4f8b","Search":"\u641c\u7d22","All":"\u5168\u90e8","Currency":"\u8d27\u5e01","Text":"\u6587\u5b57","Quotations":"\u5f15\u7528","Mathematical":"\u6570\u5b66","Extended Latin":"\u62c9\u4e01\u8bed\u6269\u5145","Symbols":"\u7b26\u53f7","Arrows":"\u7bad\u5934","User Defined":"\u81ea\u5b9a\u4e49","dollar sign":"\u7f8e\u5143\u7b26\u53f7","currency sign":"\u8d27\u5e01\u7b26\u53f7","euro-currency sign":"\u6b27\u5143\u7b26\u53f7","colon sign":"\u5192\u53f7","cruzeiro sign":"\u514b\u9c81\u8d5b\u7f57\u5e01\u7b26\u53f7","french franc sign":"\u6cd5\u90ce\u7b26\u53f7","lira sign":"\u91cc\u62c9\u7b26\u53f7","mill sign":"\u5bc6\u5c14\u7b26\u53f7","naira sign":"\u5948\u62c9\u7b26\u53f7","peseta sign":"\u6bd4\u585e\u5854\u7b26\u53f7","rupee sign":"\u5362\u6bd4\u7b26\u53f7","won sign":"\u97e9\u5143\u7b26\u53f7","new sheqel sign":"\u65b0\u8c22\u514b\u5c14\u7b26\u53f7","dong sign":"\u8d8a\u5357\u76fe\u7b26\u53f7","kip sign":"\u8001\u631d\u57fa\u666e\u7b26\u53f7","tugrik sign":"\u56fe\u683c\u91cc\u514b\u7b26\u53f7","drachma sign":"\u5fb7\u62c9\u514b\u9a6c\u7b26\u53f7","german penny symbol":"\u5fb7\u56fd\u4fbf\u58eb\u7b26\u53f7","peso sign":"\u6bd4\u7d22\u7b26\u53f7","guarani sign":"\u74dc\u62c9\u5c3c\u7b26\u53f7","austral sign":"\u6fb3\u5143\u7b26\u53f7","hryvnia sign":"\u683c\u91cc\u592b\u5c3c\u4e9a\u7b26\u53f7","cedi sign":"\u585e\u5730\u7b26\u53f7","livre tournois sign":"\u91cc\u5f17\u5f17\u5c14\u7b26\u53f7","spesmilo sign":"spesmilo\u7b26\u53f7","tenge sign":"\u575a\u6208\u7b26\u53f7","indian rupee sign":"\u5370\u5ea6\u5362\u6bd4","turkish lira sign":"\u571f\u8033\u5176\u91cc\u62c9","nordic mark sign":"\u5317\u6b27\u9a6c\u514b","manat sign":"\u9a6c\u7eb3\u7279\u7b26\u53f7","ruble sign":"\u5362\u5e03\u7b26\u53f7","yen character":"\u65e5\u5143\u5b57\u6837","yuan character":"\u4eba\u6c11\u5e01\u5143\u5b57\u6837","yuan character, in hong kong and taiwan":"\u5143\u5b57\u6837\uff08\u6e2f\u53f0\u5730\u533a\uff09","yen/yuan character variant one":"\u5143\u5b57\u6837\uff08\u5927\u5199\uff09","Emojis":"Emojis","Emojis...":"Emojis...","Loading emojis...":"\u6b63\u5728\u52a0\u8f7dEmojis...","Could not load emojis":"\u65e0\u6cd5\u52a0\u8f7dEmojis","People":"\u4eba\u7c7b","Animals and Nature":"\u52a8\u7269\u548c\u81ea\u7136","Food and Drink":"\u98df\u7269\u548c\u996e\u54c1","Activity":"\u6d3b\u52a8","Travel and Places":"\u65c5\u6e38\u548c\u5730\u70b9","Objects":"\u7269\u4ef6","Flags":"\u65d7\u5e1c","Characters":"\u5b57\u7b26","Characters (no spaces)":"\u5b57\u7b26(\u65e0\u7a7a\u683c)","{0} characters":"{0} \u4e2a\u5b57\u7b26","Error: Form submit field collision.":"\u9519\u8bef: \u8868\u5355\u63d0\u4ea4\u5b57\u6bb5\u51b2\u7a81\u3002","Error: No form element found.":"\u9519\u8bef: \u6ca1\u6709\u8868\u5355\u63a7\u4ef6\u3002","Color swatch":"\u989c\u8272\u6837\u672c","Color Picker":"\u9009\u8272\u5668","Invalid hex color code: {0}":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\u65e0\u6548\uff1a {0}","Invalid input":"\u65e0\u6548\u8f93\u5165","R":"R","Red component":"\u7ea2\u8272\u90e8\u5206","G":"G","Green component":"\u7eff\u8272\u90e8\u5206","B":"B","Blue component":"\u767d\u8272\u90e8\u5206","#":"#","Hex color code":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801","Range 0 to 255":"\u8303\u56f40\u81f3255","Turquoise":"\u9752\u7eff\u8272","Green":"\u7eff\u8272","Blue":"\u84dd\u8272","Purple":"\u7d2b\u8272","Navy Blue":"\u6d77\u519b\u84dd","Dark Turquoise":"\u6df1\u84dd\u7eff\u8272","Dark Green":"\u6df1\u7eff\u8272","Medium Blue":"\u4e2d\u84dd\u8272","Medium Purple":"\u4e2d\u7d2b\u8272","Midnight Blue":"\u6df1\u84dd\u8272","Yellow":"\u9ec4\u8272","Orange":"\u6a59\u8272","Red":"\u7ea2\u8272","Light Gray":"\u6d45\u7070\u8272","Gray":"\u7070\u8272","Dark Yellow":"\u6697\u9ec4\u8272","Dark Orange":"\u6df1\u6a59\u8272","Dark Red":"\u6df1\u7ea2\u8272","Medium Gray":"\u4e2d\u7070\u8272","Dark Gray":"\u6df1\u7070\u8272","Light Green":"\u6d45\u7eff\u8272","Light Yellow":"\u6d45\u9ec4\u8272","Light Red":"\u6d45\u7ea2\u8272","Light Purple":"\u6d45\u7d2b\u8272","Light Blue":"\u6d45\u84dd\u8272","Dark Purple":"\u6df1\u7d2b\u8272","Dark Blue":"\u6df1\u84dd\u8272","Black":"\u9ed1\u8272","White":"\u767d\u8272","Switch to or from fullscreen mode":"\u5207\u6362\u5168\u5c4f\u6a21\u5f0f","Open help dialog":"\u6253\u5f00\u5e2e\u52a9\u5bf9\u8bdd\u6846","history":"\u5386\u53f2","styles":"\u6837\u5f0f","formatting":"\u683c\u5f0f\u5316","alignment":"\u5bf9\u9f50","indentation":"\u7f29\u8fdb","Font":"\u5b57\u4f53","Size":"\u5b57\u53f7","More...":"\u66f4\u591a...","Select...":"\u9009\u62e9...","Preferences":"\u9996\u9009\u9879","Yes":"\u662f","No":"\u5426","Keyboard Navigation":"\u952e\u76d8\u6307\u5f15","Version":"\u7248\u672c","Code view":"\u4ee3\u7801\u89c6\u56fe","Open popup menu for split buttons":"\u6253\u5f00\u5f39\u51fa\u5f0f\u83dc\u5355\uff0c\u7528\u4e8e\u62c6\u5206\u6309\u94ae","List Properties":"\u5217\u8868\u5c5e\u6027","List properties...":"\u6807\u9898\u5b57\u4f53\u5c5e\u6027","Start list at number":"\u4ee5\u6570\u5b57\u5f00\u59cb\u5217\u8868","Line height":"\u884c\u9ad8","Dropped file type is not supported":"\u6b64\u6587\u4ef6\u7c7b\u578b\u4e0d\u652f\u6301\u62d6\u653e","Loading...":"\u52a0\u8f7d\u4e2d...","ImageProxy HTTP error: Rejected request":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u8bf7\u6c42\u88ab\u62d2\u7edd","ImageProxy HTTP error: Could not find Image Proxy":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u65e0\u6cd5\u627e\u5230\u56fe\u7247\u4ee3\u7406","ImageProxy HTTP error: Incorrect Image Proxy URL":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u56fe\u7247\u4ee3\u7406\u5730\u5740\u9519\u8bef","ImageProxy HTTP error: Unknown ImageProxy error":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u672a\u77e5\u7684\u56fe\u7247\u4ee3\u7406\u9519\u8bef"}); \ No newline at end of file diff --git a/tinymce/langs/zh-Hans.js.br b/tinymce/langs/zh-Hans.js.br new file mode 100644 index 000000000..18ebd9366 Binary files /dev/null and b/tinymce/langs/zh-Hans.js.br differ diff --git a/tinymce/langs/zh-Hans.js.gz b/tinymce/langs/zh-Hans.js.gz new file mode 100644 index 000000000..e91947955 Binary files /dev/null and b/tinymce/langs/zh-Hans.js.gz differ diff --git a/tinymce/skins/content/dark/content.css b/tinymce/skins/content/dark/content.css new file mode 100755 index 000000000..307ba1706 --- /dev/null +++ b/tinymce/skins/content/dark/content.css @@ -0,0 +1,78 @@ +body { + background-color: #222f3e; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; + line-height: 1.4; + margin: 1rem; +} + +a { + color: #4099ff; +} + +table { + border-collapse: collapse; +} + +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-width"]) th, +table[border]:not([border="0"], [style*="border-width"]) td { + border-width: 1px; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-style"]) th, +table[border]:not([border="0"], [style*="border-style"]) td { + border-style: solid; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-color"]) th, +table[border]:not([border="0"], [style*="border-color"]) td { + border-color: #6d737b; +} + +figure { + display: table; + margin: 1rem auto; +} + +figure figcaption { + color: #8a8f97; + display: block; + margin-top: 0.25rem; + text-align: center; +} + +hr { + border-color: #6d737b; + border-style: solid; + border-width: 1px 0 0; +} + +code { + background-color: #6d737b; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} + +.mce-content-body:not([dir="rtl"]) blockquote { + border-left: 2px solid #6d737b; + margin-left: 1.5rem; + padding-left: 1rem; +} + +.mce-content-body[dir="rtl"] blockquote { + border-right: 2px solid #6d737b; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/dark/content.css.br b/tinymce/skins/content/dark/content.css.br new file mode 100644 index 000000000..9cba96e86 Binary files /dev/null and b/tinymce/skins/content/dark/content.css.br differ diff --git a/tinymce/skins/content/dark/content.css.gz b/tinymce/skins/content/dark/content.css.gz new file mode 100644 index 000000000..66214c00e Binary files /dev/null and b/tinymce/skins/content/dark/content.css.gz differ diff --git a/tinymce/skins/content/dark/content.min.css b/tinymce/skins/content/dark/content.min.css new file mode 100755 index 000000000..6718ba295 --- /dev/null +++ b/tinymce/skins/content/dark/content.min.css @@ -0,0 +1,21 @@ +body { background-color: #222f3e; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; line-height: 1.4; margin: 1rem; } +a { color: #4099ff; } +table { border-collapse: collapse; } + +table:not([cellpadding]) td, +table:not([cellpadding]) th { padding: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { border-color: #6d737b; } +figure { display: table; margin: 1rem auto; } +figure figcaption { color: #8a8f97; display: block; margin-top: 0.25rem; text-align: center; } +hr { border-color: #6d737b; border-style: solid; border-width: 1px 0 0; } +code { background-color: #6d737b; border-radius: 3px; padding: 0.1rem 0.2rem; } +.mce-content-body:not([dir="rtl"]) blockquote { border-left: 2px solid #6d737b; margin-left: 1.5rem; padding-left: 1rem; } +.mce-content-body[dir="rtl"] blockquote { border-right: 2px solid #6d737b; margin-right: 1.5rem; padding-right: 1rem; } diff --git a/tinymce/skins/content/dark/content.min.css.br b/tinymce/skins/content/dark/content.min.css.br new file mode 100644 index 000000000..dea585755 Binary files /dev/null and b/tinymce/skins/content/dark/content.min.css.br differ diff --git a/tinymce/skins/content/dark/content.min.css.gz b/tinymce/skins/content/dark/content.min.css.gz new file mode 100644 index 000000000..66c62b477 Binary files /dev/null and b/tinymce/skins/content/dark/content.min.css.gz differ diff --git a/tinymce/skins/content/default/content.css b/tinymce/skins/content/default/content.css new file mode 100755 index 000000000..f0efa6cb5 --- /dev/null +++ b/tinymce/skins/content/default/content.css @@ -0,0 +1,72 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; + line-height: 1.4; + margin: 1rem; +} + +table { + border-collapse: collapse; +} + +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-width"]) th, +table[border]:not([border="0"], [style*="border-width"]) td { + border-width: 1px; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-style"]) th, +table[border]:not([border="0"], [style*="border-style"]) td { + border-style: solid; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-color"]) th, +table[border]:not([border="0"], [style*="border-color"]) td { + border-color: #ccc; +} + +figure { + display: table; + margin: 1rem auto; +} + +figure figcaption { + color: #999; + display: block; + margin-top: 0.25rem; + text-align: center; +} + +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0; +} + +code { + background-color: #e8e8e8; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} + +.mce-content-body:not([dir="rtl"]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} + +.mce-content-body[dir="rtl"] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/default/content.css.br b/tinymce/skins/content/default/content.css.br new file mode 100644 index 000000000..3f2801b06 Binary files /dev/null and b/tinymce/skins/content/default/content.css.br differ diff --git a/tinymce/skins/content/default/content.css.gz b/tinymce/skins/content/default/content.css.gz new file mode 100644 index 000000000..a7ead4444 Binary files /dev/null and b/tinymce/skins/content/default/content.css.gz differ diff --git a/tinymce/skins/content/default/content.min.css b/tinymce/skins/content/default/content.min.css new file mode 100755 index 000000000..25265e750 --- /dev/null +++ b/tinymce/skins/content/default/content.min.css @@ -0,0 +1,20 @@ +body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; line-height: 1.4; margin: 1rem; } +table { border-collapse: collapse; } + +table:not([cellpadding]) td, +table:not([cellpadding]) th { padding: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { border-color: #ccc; } +figure { display: table; margin: 1rem auto; } +figure figcaption { color: #999; display: block; margin-top: 0.25rem; text-align: center; } +hr { border-color: #ccc; border-style: solid; border-width: 1px 0 0; } +code { background-color: #e8e8e8; border-radius: 3px; padding: 0.1rem 0.2rem; } +.mce-content-body:not([dir="rtl"]) blockquote { border-left: 2px solid #ccc; margin-left: 1.5rem; padding-left: 1rem; } +.mce-content-body[dir="rtl"] blockquote { border-right: 2px solid #ccc; margin-right: 1.5rem; padding-right: 1rem; } diff --git a/tinymce/skins/content/default/content.min.css.br b/tinymce/skins/content/default/content.min.css.br new file mode 100644 index 000000000..694e0c41c --- /dev/null +++ b/tinymce/skins/content/default/content.min.css.br @@ -0,0 +1,3 @@ + .cmͩlՈP0EpE J*UYН)Bւ|! š+wJ;.sK +/jֻ8*:;Qu.8eu'$ Z F$ c$769@X-50Q,;9 g'=Ǎ2=-eɅ ېJYS(Ucv= e +@ynHz FQ#GJok7e"=X14串%}"I0O~:2Wa7؀gmNt7cR9x-?GD@*mvwN4nao>KU]kξ,RD3n:51N@`{)V? qnvUoEQG \ No newline at end of file diff --git a/tinymce/skins/content/default/content.min.css.gz b/tinymce/skins/content/default/content.min.css.gz new file mode 100644 index 000000000..6288f1c34 Binary files /dev/null and b/tinymce/skins/content/default/content.min.css.gz differ diff --git a/tinymce/skins/content/document/content.css b/tinymce/skins/content/document/content.css new file mode 100755 index 000000000..dc5b3414f --- /dev/null +++ b/tinymce/skins/content/document/content.css @@ -0,0 +1,77 @@ +@media screen { + html { + background: #f4f4f4; + min-height: 100%; + } +} + +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; +} + +@media screen { + body { + background-color: #fff; + box-shadow: 0 0 4px rgb(0 0 0 / 15%); + box-sizing: border-box; + margin: 1rem auto 0; + max-width: 820px; + min-height: calc(100vh - 1rem); + padding: 4rem 6rem 6rem; + } +} + +table { + border-collapse: collapse; +} + +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-width"]) th, +table[border]:not([border="0"], [style*="border-width"]) td { + border-width: 1px; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-style"]) th, +table[border]:not([border="0"], [style*="border-style"]) td { + border-style: solid; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-color"]) th, +table[border]:not([border="0"], [style*="border-color"]) td { + border-color: #ccc; +} + +figure figcaption { + color: #999; + margin-top: 0.25rem; + text-align: center; +} + +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0; +} + +.mce-content-body:not([dir="rtl"]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} + +.mce-content-body[dir="rtl"] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/document/content.css.br b/tinymce/skins/content/document/content.css.br new file mode 100644 index 000000000..428b586f4 Binary files /dev/null and b/tinymce/skins/content/document/content.css.br differ diff --git a/tinymce/skins/content/document/content.css.gz b/tinymce/skins/content/document/content.css.gz new file mode 100644 index 000000000..7d24be2a4 Binary files /dev/null and b/tinymce/skins/content/document/content.css.gz differ diff --git a/tinymce/skins/content/document/content.min.css b/tinymce/skins/content/document/content.min.css new file mode 100755 index 000000000..cf266f6eb --- /dev/null +++ b/tinymce/skins/content/document/content.min.css @@ -0,0 +1,21 @@ +@media screen { html { background: #f4f4f4; min-height: 100%; } } +body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; } + +@media screen { body { background-color: #fff; box-shadow: 0 0 4px rgb(0 0 0 / 15%); box-sizing: border-box; margin: 1rem auto 0; max-width: 820px; min-height: calc(100vh - 1rem); padding: 4rem 6rem 6rem; } } +table { border-collapse: collapse; } + +table:not([cellpadding]) td, +table:not([cellpadding]) th { padding: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { border-color: #ccc; } +figure figcaption { color: #999; margin-top: 0.25rem; text-align: center; } +hr { border-color: #ccc; border-style: solid; border-width: 1px 0 0; } +.mce-content-body:not([dir="rtl"]) blockquote { border-left: 2px solid #ccc; margin-left: 1.5rem; padding-left: 1rem; } +.mce-content-body[dir="rtl"] blockquote { border-right: 2px solid #ccc; margin-right: 1.5rem; padding-right: 1rem; } diff --git a/tinymce/skins/content/document/content.min.css.br b/tinymce/skins/content/document/content.min.css.br new file mode 100644 index 000000000..b29bbdaac Binary files /dev/null and b/tinymce/skins/content/document/content.min.css.br differ diff --git a/tinymce/skins/content/document/content.min.css.gz b/tinymce/skins/content/document/content.min.css.gz new file mode 100644 index 000000000..32d05acfa Binary files /dev/null and b/tinymce/skins/content/document/content.min.css.gz differ diff --git a/tinymce/skins/content/tinymce-5-dark/content.css b/tinymce/skins/content/tinymce-5-dark/content.css new file mode 100755 index 000000000..21b2bb8eb --- /dev/null +++ b/tinymce/skins/content/tinymce-5-dark/content.css @@ -0,0 +1,78 @@ +body { + background-color: #2f3742; + color: #dfe0e4; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; + line-height: 1.4; + margin: 1rem; +} + +a { + color: #4099ff; +} + +table { + border-collapse: collapse; +} + +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-width"]) th, +table[border]:not([border="0"], [style*="border-width"]) td { + border-width: 1px; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-style"]) th, +table[border]:not([border="0"], [style*="border-style"]) td { + border-style: solid; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-color"]) th, +table[border]:not([border="0"], [style*="border-color"]) td { + border-color: #6d737b; +} + +figure { + display: table; + margin: 1rem auto; +} + +figure figcaption { + color: #8a8f97; + display: block; + margin-top: 0.25rem; + text-align: center; +} + +hr { + border-color: #6d737b; + border-style: solid; + border-width: 1px 0 0; +} + +code { + background-color: #6d737b; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} + +.mce-content-body:not([dir="rtl"]) blockquote { + border-left: 2px solid #6d737b; + margin-left: 1.5rem; + padding-left: 1rem; +} + +.mce-content-body[dir="rtl"] blockquote { + border-right: 2px solid #6d737b; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/tinymce-5-dark/content.css.br b/tinymce/skins/content/tinymce-5-dark/content.css.br new file mode 100644 index 000000000..9d6373974 --- /dev/null +++ b/tinymce/skins/content/tinymce-5-dark/content.css.br @@ -0,0 +1,3 @@ +@F#_j~FEpcPm>QpkVߨ&{Z(3T[(LNz%>3{_ n 㨡%M[ԡ:#K_&W$>*| ^,VQq\KU]kξ,RD3n:51N@`{)V? qnvUoEQG \ No newline at end of file diff --git a/tinymce/skins/content/tinymce-5/content.min.css.gz b/tinymce/skins/content/tinymce-5/content.min.css.gz new file mode 100644 index 000000000..6288f1c34 Binary files /dev/null and b/tinymce/skins/content/tinymce-5/content.min.css.gz differ diff --git a/tinymce/skins/content/writer/content.css b/tinymce/skins/content/writer/content.css new file mode 100755 index 000000000..01b16ebd5 --- /dev/null +++ b/tinymce/skins/content/writer/content.css @@ -0,0 +1,73 @@ +body { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; + line-height: 1.4; + margin: 1rem auto; + max-width: 900px; +} + +table { + border-collapse: collapse; +} + +/* Apply a default padding if legacy cellpadding attribute is missing */ +table:not([cellpadding]) th, +table:not([cellpadding]) td { + padding: 0.4rem; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-width"]) th, +table[border]:not([border="0"], [style*="border-width"]) td { + border-width: 1px; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-style"]) th, +table[border]:not([border="0"], [style*="border-style"]) td { + border-style: solid; +} + +/* Set default table styles if a table has a positive border attribute + and no inline css */ +table[border]:not([border="0"], [style*="border-color"]) th, +table[border]:not([border="0"], [style*="border-color"]) td { + border-color: #ccc; +} + +figure { + display: table; + margin: 1rem auto; +} + +figure figcaption { + color: #999; + display: block; + margin-top: 0.25rem; + text-align: center; +} + +hr { + border-color: #ccc; + border-style: solid; + border-width: 1px 0 0; +} + +code { + background-color: #e8e8e8; + border-radius: 3px; + padding: 0.1rem 0.2rem; +} + +.mce-content-body:not([dir="rtl"]) blockquote { + border-left: 2px solid #ccc; + margin-left: 1.5rem; + padding-left: 1rem; +} + +.mce-content-body[dir="rtl"] blockquote { + border-right: 2px solid #ccc; + margin-right: 1.5rem; + padding-right: 1rem; +} diff --git a/tinymce/skins/content/writer/content.css.br b/tinymce/skins/content/writer/content.css.br new file mode 100644 index 000000000..d7c5003d1 Binary files /dev/null and b/tinymce/skins/content/writer/content.css.br differ diff --git a/tinymce/skins/content/writer/content.css.gz b/tinymce/skins/content/writer/content.css.gz new file mode 100644 index 000000000..4980bf845 Binary files /dev/null and b/tinymce/skins/content/writer/content.css.gz differ diff --git a/tinymce/skins/content/writer/content.min.css b/tinymce/skins/content/writer/content.min.css new file mode 100755 index 000000000..7da8c559c --- /dev/null +++ b/tinymce/skins/content/writer/content.min.css @@ -0,0 +1,20 @@ +body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; line-height: 1.4; margin: 1rem auto; max-width: 900px; } +table { border-collapse: collapse; } + +table:not([cellpadding]) td, +table:not([cellpadding]) th { padding: 0.4rem; } + +table[border]:not([border="0"], [style*="border-width"]) td, +table[border]:not([border="0"], [style*="border-width"]) th { border-width: 1px; } + +table[border]:not([border="0"], [style*="border-style"]) td, +table[border]:not([border="0"], [style*="border-style"]) th { border-style: solid; } + +table[border]:not([border="0"], [style*="border-color"]) td, +table[border]:not([border="0"], [style*="border-color"]) th { border-color: #ccc; } +figure { display: table; margin: 1rem auto; } +figure figcaption { color: #999; display: block; margin-top: 0.25rem; text-align: center; } +hr { border-color: #ccc; border-style: solid; border-width: 1px 0 0; } +code { background-color: #e8e8e8; border-radius: 3px; padding: 0.1rem 0.2rem; } +.mce-content-body:not([dir="rtl"]) blockquote { border-left: 2px solid #ccc; margin-left: 1.5rem; padding-left: 1rem; } +.mce-content-body[dir="rtl"] blockquote { border-right: 2px solid #ccc; margin-right: 1.5rem; padding-right: 1rem; } diff --git a/tinymce/skins/content/writer/content.min.css.br b/tinymce/skins/content/writer/content.min.css.br new file mode 100644 index 000000000..03e372c2b Binary files /dev/null and b/tinymce/skins/content/writer/content.min.css.br differ diff --git a/tinymce/skins/content/writer/content.min.css.gz b/tinymce/skins/content/writer/content.min.css.gz new file mode 100644 index 000000000..e8f5cc5ce Binary files /dev/null and b/tinymce/skins/content/writer/content.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.css b/tinymce/skins/ui/oxide-dark/content.css new file mode 100755 index 000000000..a983cac9a --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.css @@ -0,0 +1,756 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * Dracula Theme originally by Zeno Rocha [@zenorocha] + * https://draculatheme.com/ + * + * Ported for PrismJS by Albert Vallverdu [@byverdu] + */ +code[class*="language-"], +pre[class*="language-"] { + color: #f8f8f2; + background: none; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; + border-radius: 0.3em; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #282a36; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: #6272a4; +} +.token.punctuation { + color: #f8f8f2; +} +.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.constant, +.token.symbol, +.token.deleted { + color: #ff79c6; +} +.token.boolean, +.token.number { + color: #bd93f9; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #50fa7b; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string, +.token.variable { + color: #f8f8f2; +} +.token.atrule, +.token.attr-value, +.token.function, +.token.class-name { + color: #f1fa8c; +} +.token.keyword { + color: #8be9fd; +} +.token.regex, +.token.important { + color: #ffb86c; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.3); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.3); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #4099ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #4099ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #4099ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #4099ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #4099ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid transparent; + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: lighten; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #4099ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/oxide-dark/content.css.br b/tinymce/skins/ui/oxide-dark/content.css.br new file mode 100644 index 000000000..ebb67b4c1 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.css.gz b/tinymce/skins/ui/oxide-dark/content.css.gz new file mode 100644 index 000000000..551134cb1 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.css b/tinymce/skins/ui/oxide-dark/content.inline.css new file mode 100755 index 000000000..9bd1e2974 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/oxide-dark/content.inline.css.br b/tinymce/skins/ui/oxide-dark/content.inline.css.br new file mode 100644 index 000000000..9abbc6973 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.css.gz b/tinymce/skins/ui/oxide-dark/content.inline.css.gz new file mode 100644 index 000000000..08fe3e7b7 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.min.css b/tinymce/skins/ui/oxide-dark/content.inline.min.css new file mode 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.inline.min.css @@ -0,0 +1,310 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #000; background: 0 0; text-shadow: 0 1px #fff; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::selection, +code[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +pre[class*="language-"]::-moz-selection { text-shadow: none; background: #b3d4fc; } + +code[class*="language-"] ::selection, +code[class*="language-"]::selection, +pre[class*="language-"] ::selection, +pre[class*="language-"]::selection { text-shadow: none; background: #b3d4fc; } + +@media print { code[class*="language-"], +pre[class*="language-"] { text-shadow: none; } } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.7; } + +.token.boolean, +.token.constant, +.token.deleted, +.token.number, +.token.property, +.token.symbol, +.token.tag { color: #905; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #690; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url { color: #9a6e3a; background: hsl(0deg 0% 100% / 50%); } + +.token.atrule, +.token.attr-value, +.token.keyword { color: #07a; } + +.token.class-name, +.token.function { color: #dd4a68; } + +.token.important, +.token.regex, +.token.variable { color: #e90; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #b4d7ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #b4d7ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #b4d7ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #b4d7ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #b4d7ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #b4d7ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } diff --git a/tinymce/skins/ui/oxide-dark/content.inline.min.css.br b/tinymce/skins/ui/oxide-dark/content.inline.min.css.br new file mode 100644 index 000000000..7cb4e7145 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.inline.min.css.gz b/tinymce/skins/ui/oxide-dark/content.inline.min.css.gz new file mode 100644 index 000000000..d9256b8d3 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/content.min.css b/tinymce/skins/ui/oxide-dark/content.min.css new file mode 100755 index 000000000..3b8d79a91 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/content.min.css @@ -0,0 +1,299 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #f8f8f2; background: 0 0; text-shadow: 0 1px rgb(0 0 0 / 30%); font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: 0.3em; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #282a36; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #6272a4; } +.token.punctuation { color: #f8f8f2; } +.namespace { opacity: 0.7; } + +.token.constant, +.token.deleted, +.token.property, +.token.symbol, +.token.tag { color: #ff79c6; } + +.token.boolean, +.token.number { color: #bd93f9; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #50fa7b; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url, +.token.variable { color: #f8f8f2; } + +.token.atrule, +.token.attr-value, +.token.class-name, +.token.function { color: #f1fa8c; } +.token.keyword { color: #8be9fd; } + +.token.important, +.token.regex { color: #ffb86c; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 30%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 30%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #4099ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #4099ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #4099ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #4099ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #4099ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #4099ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #4099ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid transparent; inset: -1px; content: ""; mix-blend-mode: lighten; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #4099ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } +body { font-family: sans-serif; } +table { border-collapse: collapse; } diff --git a/tinymce/skins/ui/oxide-dark/content.min.css.br b/tinymce/skins/ui/oxide-dark/content.min.css.br new file mode 100644 index 000000000..bb780cea6 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.min.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/content.min.css.gz b/tinymce/skins/ui/oxide-dark/content.min.css.gz new file mode 100644 index 000000000..eaccefe6c Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/content.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/skin.css b/tinymce/skins/ui/oxide-dark/skin.css new file mode 100755 index 000000000..301ec5558 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.css @@ -0,0 +1,3112 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #222f3e; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 2px solid #161f29; + border-radius: 10px; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #222F3E; + border: 2px solid #161f29; + border-radius: 10px; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #161f29; + border-radius: 6px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #161f29; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(0, 108, 231, 0.5); + border-color: rgba(0, 108, 231, 0.4); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: rgba(0, 108, 231, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.5); + border-color: rgba(255, 165, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.5); + border-color: rgba(204, 0, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.5); + border-color: rgba(120, 171, 70, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #006ce7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #006ce7; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 6px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgba(0, 108, 231, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #006ce7; + background-image: none; + border-color: #006ce7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #3d546f; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #3d546f; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #3d546f; + background-image: none; + border-color: #3d546f; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #2b3b4e; + background-image: none; + border-color: #2b3b4e; + box-shadow: none; + color: #fff; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked[disabled] { + background-color: rgba(255, 255, 255, 0.2); + border-color: transparent; + box-shadow: unset; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: rgba(255, 255, 255, 0.2); + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: rgba(255, 255, 255, 0.2); + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: rgba(255, 255, 255, 0.3); + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #fff; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 6px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 6px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(255, 255, 255, 0.2); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox--disabled { + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 6px; + box-shadow: inset 0 0 0 1px #006ce7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: rgba(255, 255, 255, 0.15); + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: rgba(255, 255, 255, 0.15); + color: rgba(255, 255, 255, 0.5); + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #fff; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #2b3b4e; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #3389ec; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #599fef; + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #3389ec; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #599fef; + color: #fff; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #3389ec; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #fff; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #2b3b4e; + border: 1px solid rgba(255, 255, 255, 0.15); + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 28px; + margin: 6px 1px 5px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 5px 0 6px 11px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px -4px; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #fff; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #3389ec; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #2b3b4e; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #2b3b4e; + border: 1px solid #161f29; + border-radius: 6px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #fff; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #fff; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(255, 255, 255, 0.5); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #2b3b4e; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(43, 59, 78, 0), #2b3b4e); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #2b3b4e; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #fff; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #2b3b4e; + box-shadow: 0 0 8px 8px #2b3b4e; + color: #fff; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #2b3b4e; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #222F3E; +} +.tox .tox-dialog { + background-color: #2b3b4e; + border-color: #161f29; + border-radius: 10px; + border-style: solid; + border-width: 0px; + box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #2b3b4e; + border-bottom: none; + color: #fff; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #fff; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(0, 108, 231, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #006ce7; + color: #006ce7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #006ce7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #fff; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #fff; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #fff; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #2b3b4e; + border-top: none; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #161f29; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #161f29; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(255, 255, 255, 0.5); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #161f29; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #222F3E; + border-bottom: 1px solid rgba(255, 255, 255, 0.15); + box-shadow: none; + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid rgba(255, 255, 255, 0.15); + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #222F3E; + box-shadow: none; + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: none; +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(34, 47, 62, 0.2); + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #006ce7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #2b3b4e; + border-radius: 6px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(255, 255, 255, 0.5); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #161f29; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #222f3e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #2b3b4e; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #006ce7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #fff; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #fff; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #161f29; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #2b3b4e; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: rgba(255, 255, 255, 0.15); + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(0, 108, 231, 0.5); + border-color: rgba(0, 108, 231, 0.5); +} +.tox .tox-insert-table-picker__label { + color: #fff; + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #2b3b4e; + border: 1px solid rgba(255, 255, 255, 0.15); + border-radius: 6px; + box-shadow: none; + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 4px; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 8px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 8px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #222F3E; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 11px 0 12px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #222F3E; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 5px 1px 6px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn--active { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #334840; + border-color: #3c5440; + color: #fff; +} +.tox .tox-notification--success p { + color: #fff; +} +.tox .tox-notification--success a { + color: #b5d199; +} +.tox .tox-notification--success svg { + fill: #fff; +} +.tox .tox-notification--error { + background-color: #442632; + border-color: #55212b; + color: #fff; +} +.tox .tox-notification--error p { + color: #fff; +} +.tox .tox-notification--error a { + color: #e68080; +} +.tox .tox-notification--error svg { + fill: #fff; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #222F3E; + border-color: rgba(255, 255, 255, 0.15); + color: #fff0b3; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #fff0b3; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #ffcc00; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #fff0b3; +} +.tox .tox-notification--info { + background-color: #254161; + border-color: #264972; + color: #fff; +} +.tox .tox-notification--info p { + color: #fff; +} +.tox .tox-notification--info a { + color: #83b7f3; +} +.tox .tox-notification--info svg { + fill: #fff; +} +.tox .tox-notification__body { + align-self: center; + color: #fff; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #222F3E; + border: 1px solid #161f29; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #222F3E transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #161f29 transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #222F3E transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #161f29 transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #222F3E transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #161f29 transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #222F3E; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #161f29; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #222F3E; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #161f29; + border-radius: 6px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #006ce7; + border: 2px solid #0054b4; + border-radius: 6px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(255, 255, 255, 0.5); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #222F3E; + border-top: 1px solid rgba(255, 255, 255, 0.15); + color: rgba(255, 255, 255, 0.75); + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-weight: normal; + height: 25px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: none; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: rgba(255, 255, 255, 0.75); + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #fff; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(255, 255, 255, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #fff; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #434e5b; + border-radius: 1px 1px 5px 1px; + box-shadow: 0 0 0 2px #434e5b; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 6px 1px 5px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #fff; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #3389ec; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #3389ec; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:hover svg { + fill: #fff; +} +.tox .tox-tbtn:active { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:active svg { + fill: #fff; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #599fef; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #fff; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 42px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 56px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--bespoke { + background: #2f4055; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 4px; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 6px 1px 5px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #3389ec inset; +} +.tox .tox-split-button:focus { + background: #3389ec; + box-shadow: none; + color: #fff; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #222F3E; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #222F3E; + background-image: repeating-linear-gradient(rgba(255, 255, 255, 0.15) 0px 1px, transparent 1px 39px); + background-position: center top 40px; + background-repeat: no-repeat; + background-size: calc(100% - 11px * 2) calc(100% - 41px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 11px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid transparent; + margin-top: -1px; + padding-bottom: 1px; + padding-top: 1px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #222F3E; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 11px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 11px 0 12px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #3d546f; + border-radius: 6px; + box-shadow: 0 2px 4px rgba(34, 47, 62, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #3d546f; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #3d546f; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #3d546f; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #3d546f; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #161f29; + border-radius: 6px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #161f29; + border-radius: 6px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15); +} diff --git a/tinymce/skins/ui/oxide-dark/skin.css.br b/tinymce/skins/ui/oxide-dark/skin.css.br new file mode 100644 index 000000000..617d96acd Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/skin.css.gz b/tinymce/skins/ui/oxide-dark/skin.css.gz new file mode 100644 index 000000000..6d6f56c11 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/skin.min.css b/tinymce/skins/ui/oxide-dark/skin.min.css new file mode 100755 index 000000000..3a63363fa --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.min.css @@ -0,0 +1,772 @@ +.tox { box-shadow: none; box-sizing: content-box; color: #222f3e; cursor: auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-style: normal; font-weight: 400; line-height: normal; -webkit-tap-highlight-color: transparent; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: initial; white-space: normal; } +.tox :not(svg, rect) { box-sizing: inherit; color: inherit; cursor: inherit; direction: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; -webkit-tap-highlight-color: inherit; text-align: inherit; text-decoration: inherit; text-shadow: inherit; text-transform: inherit; vertical-align: inherit; white-space: inherit; } +.tox :not(svg, rect) { background: 0 0; border: 0; box-shadow: none; float: none; height: auto; margin: 0; max-width: none; outline: 0; padding: 0; position: static; width: auto; } +.tox:not([dir="rtl"]) { direction: ltr; text-align: left; } +.tox[dir="rtl"] { direction: rtl; text-align: right; } +.tox-tinymce { border: 2px solid #161f29; border-radius: 10px; box-shadow: none; box-sizing: border-box; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; overflow: hidden; position: relative; visibility: inherit !important; } +.tox.tox-tinymce-inline { border: none; box-shadow: none; overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-container { overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-header { background-color: #222f3e; border: 2px solid #161f29; border-radius: 10px; box-shadow: none; overflow: hidden; } +.tox-tinymce-aux { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; z-index: 1300; } + +.tox-tinymce :focus, +.tox-tinymce-aux :focus { outline: 0; } +button::-moz-focus-inner { border: 0; } +.tox[dir="rtl"] .tox-icon--flip svg { transform: rotateY(180deg); } +.tox .accessibility-issue__header { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description { align-items: stretch; border: 1px solid #161f29; border-radius: 6px; display: flex; justify-content: space-between; } +.tox .accessibility-issue__description > div { padding-bottom: 4px; } +.tox .accessibility-issue__description > div > div { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description > :last-child:not(:only-child) { border-color: #161f29; border-style: solid; } +.tox .accessibility-issue__repair { margin-top: 16px; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { background-color: rgb(0 108 231 / 50%); border-color: rgb(0 108 231 / 40%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > :last-child { border-color: rgb(0 108 231 / 40%); } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { background-color: rgb(255 165 0 / 50%); border-color: rgb(255 165 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 80%); } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { background-color: rgb(204 0 0 / 50%); border-color: rgb(204 0 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 80%); } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { background-color: rgb(120 171 70 / 50%); border-color: rgb(120 171 70 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 80%); } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { color: #fff; } + +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { margin-top: 0; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-left: auto; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description { padding: 4px 4px 4px 8px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description > :last-child { border-left-width: 1px; padding-left: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-right: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-right: auto; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description { padding: 4px 8px 4px 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description > :last-child { border-right-width: 1px; padding-right: 4px; } +.tox .tox-anchorbar { display: flex; flex: 0 0 auto; } +.tox .tox-bar { display: flex; flex: 0 0 auto; } +.tox .tox-button { background-color: #006ce7; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #006ce7; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; line-height: 24px; margin: 0; outline: 0; padding: 4px 16px; position: relative; text-align: center; text-decoration: none; text-transform: none; white-space: nowrap; } +.tox .tox-button::before { border-radius: 6px; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgb(0 108 231 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #006ce7; background-image: none; border-color: #006ce7; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-button:focus:not(:disabled) { background-color: #0060ce; background-image: none; border-color: #0060ce; box-shadow: none; color: #fff; } +.tox .tox-button:focus-visible:not(:disabled)::before { opacity: 1; } +.tox .tox-button:hover:not(:disabled) { background-color: #0060ce; background-image: none; border-color: #0060ce; box-shadow: none; color: #fff; } +.tox .tox-button:active:not(:disabled) { background-color: #0054b4; background-image: none; border-color: #0054b4; box-shadow: none; color: #fff; } +.tox .tox-button--secondary { background-color: #3d546f; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #3d546f; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; color: #fff; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; outline: 0; padding: 4px 16px; text-decoration: none; text-transform: none; } +.tox .tox-button--secondary[disabled] { background-color: #3d546f; background-image: none; border-color: #3d546f; box-shadow: none; color: rgb(255 255 255 / 50%); } +.tox .tox-button--secondary:focus:not(:disabled) { background-color: #34485f; background-image: none; border-color: #34485f; box-shadow: none; color: #fff; } +.tox .tox-button--secondary:hover:not(:disabled) { background-color: #34485f; background-image: none; border-color: #34485f; box-shadow: none; color: #fff; } +.tox .tox-button--secondary:active:not(:disabled) { background-color: #2b3b4e; background-image: none; border-color: #2b3b4e; box-shadow: none; color: #fff; } + +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { padding: 4px; } + +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { display: block; fill: currentcolor; } +.tox .tox-button-link { background: 0; border: none; box-sizing: border-box; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.3; margin: 0; padding: 0; white-space: nowrap; } +.tox .tox-button-link--sm { font-size: 14px; } +.tox .tox-button--naked { background-color: transparent; border-color: transparent; box-shadow: unset; color: #fff; } +.tox .tox-button--naked[disabled] { background-color: rgb(255 255 255 / 20%); border-color: transparent; box-shadow: unset; color: rgb(255 255 255 / 50%); } +.tox .tox-button--naked:hover:not(:disabled) { background-color: rgb(255 255 255 / 20%); border-color: transparent; box-shadow: unset; color: #fff; } +.tox .tox-button--naked:focus:not(:disabled) { background-color: rgb(255 255 255 / 20%); border-color: transparent; box-shadow: unset; color: #fff; } +.tox .tox-button--naked:active:not(:disabled) { background-color: rgb(255 255 255 / 30%); border-color: transparent; box-shadow: unset; color: #fff; } +.tox .tox-button--naked .tox-icon svg { fill: currentcolor; } +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { color: #fff; } +.tox .tox-checkbox { align-items: center; border-radius: 6px; cursor: pointer; display: flex; height: 36px; min-width: 36px; } +.tox .tox-checkbox__input { height: 1px; overflow: hidden; position: absolute; top: auto; width: 1px; } +.tox .tox-checkbox__icons { align-items: center; border-radius: 6px; box-shadow: 0 0 0 2px transparent; box-sizing: content-box; display: flex; height: 24px; justify-content: center; padding: calc(4px - 1px); width: 24px; } +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: block; fill: rgb(255 255 255 / 20%); } +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: none; fill: #006ce7; } +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: none; fill: #006ce7; } +.tox .tox-checkbox--disabled { color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(255 255 255 / 50%); } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: block; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: block; } +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { border-radius: 6px; box-shadow: inset 0 0 0 1px #006ce7; padding: calc(4px - 1px); } +.tox:not([dir="rtl"]) .tox-checkbox__label { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-checkbox__input { left: -10000px; } +.tox:not([dir="rtl"]) .tox-bar .tox-checkbox { margin-left: 4px; } +.tox[dir="rtl"] .tox-checkbox__label { margin-right: 4px; } +.tox[dir="rtl"] .tox-checkbox__input { right: -10000px; } +.tox[dir="rtl"] .tox-bar .tox-checkbox { margin-right: 4px; } +.tox .tox-collection--toolbar .tox-collection__group { display: flex; padding: 0; } +.tox .tox-collection--grid .tox-collection__group { display: flex; flex-wrap: wrap; max-height: 208px; overflow-x: hidden; overflow-y: auto; padding: 0; } +.tox .tox-collection--list .tox-collection__group { border-width: 1px 0 0; border-color: rgb(255 255 255 / 15%); border-style: solid; padding: 4px 0; } +.tox .tox-collection--list .tox-collection__group:first-child { border-top-width: 0; } +.tox .tox-collection__group-heading { background-color: rgb(255 255 255 / 15%); color: rgb(255 255 255 / 50%); cursor: default; font-size: 12px; font-style: normal; font-weight: 400; margin-bottom: 4px; margin-top: -4px; padding: 4px 8px; text-transform: none; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #fff; display: flex; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection--list .tox-collection__item { padding: 4px 8px; } +.tox .tox-collection--toolbar .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--grid .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--list .tox-collection__item--enabled { background-color: #2b3b4e; color: #fff; } +.tox .tox-collection--list .tox-collection__item--active { background-color: #3389ec; } +.tox .tox-collection--toolbar .tox-collection__item--enabled { background-color: #599fef; color: #fff; } +.tox .tox-collection--toolbar .tox-collection__item--active { background-color: #3389ec; } +.tox .tox-collection--grid .tox-collection__item--enabled { background-color: #599fef; color: #fff; } +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { background-color: #3389ec; color: #fff; } +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #fff; } +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #fff; } + +.tox .tox-collection__item-checkmark, +.tox .tox-collection__item-icon { align-items: center; display: flex; height: 24px; justify-content: center; width: 24px; } + +.tox .tox-collection__item-checkmark svg, +.tox .tox-collection__item-icon svg { fill: currentcolor; } +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { height: 48px; width: 48px; } +.tox .tox-collection__item-label { color: currentcolor; display: inline-block; flex: 1; font-size: 14px; font-style: normal; font-weight: 400; line-height: 24px; text-transform: none; word-break: break-all; } +.tox .tox-collection__item-accessory { color: rgb(255 255 255 / 50%); display: inline-block; font-size: 14px; height: 24px; line-height: 24px; text-transform: none; } +.tox .tox-collection__item-caret { align-items: center; display: flex; min-height: 24px; } +.tox .tox-collection__item-caret::after { content: ""; font-size: 0; min-height: inherit; } +.tox .tox-collection__item-caret svg { fill: #fff; } +.tox .tox-collection__item--state-disabled { background-color: transparent; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { display: none; } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { display: none; } +.tox .tox-collection--horizontal { background-color: #2b3b4e; border: 1px solid rgb(255 255 255 / 15%); border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: nowrap; margin-bottom: 0; overflow-x: auto; padding: 0; } +.tox .tox-collection--horizontal .tox-collection__group { align-items: center; display: flex; flex-wrap: nowrap; margin: 0; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item { height: 28px; margin: 6px 1px 5px 0; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item-label { white-space: nowrap; } +.tox .tox-collection--horizontal .tox-collection__item-caret { margin-left: 4px; } +.tox .tox-collection__item-container { display: flex; } +.tox .tox-collection__item-container--row { align-items: center; flex: 1 1 auto; flex-direction: row; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { margin-right: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { justify-content: flex-end; margin-left: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { align-items: flex-start; margin-bottom: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { align-items: center; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { align-items: flex-end; margin-top: auto; } +.tox .tox-collection__item-container--column { align-self: center; flex: 1 1 auto; flex-direction: column; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { align-items: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { align-items: flex-end; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { align-self: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { align-self: center; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { align-self: flex-end; } +.tox:not([dir="rtl"]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-right: 1px solid transparent; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > :not(:first-child) { margin-left: 8px; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-collection__item-accessory { margin-left: 16px; text-align: right; } +.tox:not([dir="rtl"]) .tox-collection .tox-collection__item-caret { margin-left: 16px; } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-left: 1px solid transparent; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > :not(:first-child) { margin-right: 8px; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-right: 4px; } +.tox[dir="rtl"] .tox-collection__item-accessory { margin-right: 16px; text-align: left; } +.tox[dir="rtl"] .tox-collection .tox-collection__item-caret { margin-right: 16px; transform: rotateY(180deg); } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__item-caret { margin-right: 4px; } +.tox .tox-color-picker-container { display: flex; flex-direction: row; height: 225px; margin: 0; } +.tox .tox-sv-palette { box-sizing: border-box; display: flex; height: 100%; } +.tox .tox-sv-palette-spectrum { height: 100%; } + +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { width: 225px; } +.tox .tox-sv-palette-thumb { background: 0 0; border: 1px solid #000; border-radius: 50%; box-sizing: content-box; height: 12px; position: absolute; width: 12px; } +.tox .tox-sv-palette-inner-thumb { border: 1px solid #fff; border-radius: 50%; height: 10px; position: absolute; width: 10px; } +.tox .tox-hue-slider { box-sizing: border-box; height: 100%; width: 25px; } +.tox .tox-hue-slider-spectrum { background: linear-gradient(to bottom, red, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, red); height: 100%; width: 100%; } + +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { width: 20px; } +.tox .tox-hue-slider-thumb { background: #fff; border: 1px solid #000; box-sizing: content-box; height: 4px; width: 100%; } +.tox .tox-rgb-form { display: flex; flex-direction: column; justify-content: space-between; } +.tox .tox-rgb-form div { align-items: center; display: flex; justify-content: space-between; margin-bottom: 5px; width: inherit; } +.tox .tox-rgb-form input { width: 6em; } +.tox .tox-rgb-form input.tox-invalid { border: 1px solid red !important; } +.tox .tox-rgb-form .tox-rgba-preview { border: 1px solid #000; flex-grow: 2; margin-bottom: 0; } +.tox:not([dir="rtl"]) .tox-sv-palette { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider-thumb { margin-left: -1px; } +.tox:not([dir="rtl"]) .tox-rgb-form label { margin-right: 0.5em; } +.tox[dir="rtl"] .tox-sv-palette { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider-thumb { margin-right: -1px; } +.tox[dir="rtl"] .tox-rgb-form label { margin-left: 0.5em; } + +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches { margin: 5px 0 6px 11px; } +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { border: 0; margin: -4px; } +.tox .tox-swatches__row { display: flex; } +.tox .tox-swatch { height: 30px; transition: transform 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) inset; transform: scale(0.8); } +.tox .tox-swatch--remove { align-items: center; display: flex; justify-content: center; } +.tox .tox-swatch--remove svg path { stroke: #e74c3c; } +.tox .tox-swatches__picker-btn { align-items: center; background-color: transparent; border: 0; cursor: pointer; display: flex; height: 30px; justify-content: center; outline: 0; padding: 0; width: 30px; } +.tox .tox-swatches__picker-btn svg { fill: #fff; height: 24px; width: 24px; } +.tox .tox-swatches__picker-btn:hover { background: #3389ec; } +.tox:not([dir="rtl"]) .tox-swatches__picker-btn { margin-left: auto; } +.tox[dir="rtl"] .tox-swatches__picker-btn { margin-right: auto; } +.tox .tox-comment-thread { background: #2b3b4e; position: relative; } +.tox .tox-comment-thread > :not(:first-child) { margin-top: 8px; } +.tox .tox-comment { background: #2b3b4e; border: 1px solid #161f29; border-radius: 6px; box-shadow: 0 4px 8px 0 rgb(34 47 62 / 10%); padding: 8px 8px 16px; position: relative; } +.tox .tox-comment__header { align-items: center; color: #fff; display: flex; justify-content: space-between; } +.tox .tox-comment__date { color: #fff; font-size: 12px; line-height: 18px; } +.tox .tox-comment__body { color: #fff; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; margin-top: 8px; position: relative; text-transform: initial; } +.tox .tox-comment__body textarea { resize: none; white-space: normal; width: 100%; } +.tox .tox-comment__expander { padding-top: 8px; } +.tox .tox-comment__expander p { color: rgb(255 255 255 / 50%); font-size: 14px; font-style: normal; } +.tox .tox-comment__body p { margin: 0; } +.tox .tox-comment__buttonspacing { padding-top: 16px; text-align: center; } +.tox .tox-comment-thread__overlay::after { background: #2b3b4e; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; z-index: 5; } +.tox .tox-comment__reply { display: flex; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; } +.tox .tox-comment__reply > :first-child { margin-bottom: 8px; width: 100%; } +.tox .tox-comment__edit { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; } +.tox .tox-comment__gradient::after { background: linear-gradient(rgb(43 59 78 / 0%), #2b3b4e); bottom: 0; content: ""; display: block; height: 5em; margin-top: -40px; position: absolute; width: 100%; } +.tox .tox-comment__overlay { background: #2b3b4e; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; z-index: 5; } +.tox .tox-comment__loading-text { align-items: center; color: #fff; display: flex; flex-direction: column; position: relative; } +.tox .tox-comment__loading-text > div { padding-bottom: 16px; } +.tox .tox-comment__overlaytext { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; z-index: 10; } +.tox .tox-comment__overlaytext p { background-color: #2b3b4e; box-shadow: 0 0 8px 8px #2b3b4e; color: #fff; text-align: center; } +.tox .tox-comment__overlaytext div:nth-of-type(2) { font-size: 0.8em; } +.tox .tox-comment__busy-spinner { align-items: center; background-color: #2b3b4e; inset: 0; display: flex; justify-content: center; position: absolute; z-index: 20; } +.tox .tox-comment__scroll { display: flex; flex-direction: column; flex-shrink: 1; overflow: auto; } +.tox .tox-conversations { margin: 8px; } +.tox:not([dir="rtl"]) .tox-comment__edit { margin-left: 8px; } + +.tox:not([dir="rtl"]) .tox-comment__buttonspacing > :last-child, +.tox:not([dir="rtl"]) .tox-comment__edit > :last-child, +.tox:not([dir="rtl"]) .tox-comment__reply > :last-child { margin-left: 8px; } +.tox[dir="rtl"] .tox-comment__edit { margin-right: 8px; } + +.tox[dir="rtl"] .tox-comment__buttonspacing > :last-child, +.tox[dir="rtl"] .tox-comment__edit > :last-child, +.tox[dir="rtl"] .tox-comment__reply > :last-child { margin-right: 8px; } +.tox .tox-user { align-items: center; display: flex; } +.tox .tox-user__avatar svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-user__avatar img { border-radius: 50%; height: 36px; object-fit: cover; vertical-align: middle; width: 36px; } +.tox .tox-user__name { color: #fff; font-size: 14px; font-style: normal; font-weight: 700; line-height: 18px; text-transform: none; } + +.tox:not([dir="rtl"]) .tox-user__avatar img, +.tox:not([dir="rtl"]) .tox-user__avatar svg { margin-right: 8px; } +.tox:not([dir="rtl"]) .tox-user__avatar + .tox-user__name { margin-left: 8px; } + +.tox[dir="rtl"] .tox-user__avatar img, +.tox[dir="rtl"] .tox-user__avatar svg { margin-left: 8px; } +.tox[dir="rtl"] .tox-user__avatar + .tox-user__name { margin-right: 8px; } +.tox .tox-dialog-wrap { align-items: center; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(34 47 62 / 75%); inset: 0; position: absolute; z-index: 1; } +.tox .tox-dialog-wrap__backdrop--opaque { background-color: #222f3e; } +.tox .tox-dialog { background-color: #2b3b4e; border-color: #161f29; border-radius: 10px; border-style: solid; border-width: 0; box-shadow: 0 16px 16px -10px rgb(34 47 62 / 15%), 0 0 40px 1px rgb(34 47 62 / 15%); display: flex; flex-direction: column; max-height: 100%; max-width: 480px; overflow: hidden; position: relative; width: 95vw; z-index: 2; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog { align-self: flex-start; margin: 8px auto; max-height: calc(100vh - 8px * 2); width: calc(100vw - 16px); } } +.tox .tox-dialog-inline { z-index: 1100; } +.tox .tox-dialog__header { align-items: center; background-color: #2b3b4e; border-bottom: none; color: #fff; display: flex; font-size: 16px; justify-content: space-between; padding: 8px 16px 0; position: relative; } +.tox .tox-dialog__header .tox-button { z-index: 1; } +.tox .tox-dialog__draghandle { cursor: grab; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tox .tox-dialog__draghandle:active { cursor: grabbing; } +.tox .tox-dialog__dismiss { margin-left: auto; } +.tox .tox-dialog__title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1.3; margin: 0; text-transform: none; } +.tox .tox-dialog__body { color: #fff; display: flex; flex: 1; font-size: 16px; font-style: normal; font-weight: 400; line-height: 1.3; min-width: 0; text-align: left; text-transform: none; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body { flex-direction: column; } } +.tox .tox-dialog__body-nav { align-items: flex-start; display: flex; flex-direction: column; padding: 16px; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { flex-direction: row; -webkit-overflow-scrolling: touch; overflow-x: auto; padding-bottom: 0; } } +.tox .tox-dialog__body-nav-item { border-bottom: 2px solid transparent; color: rgb(255 255 255 / 50%); display: inline-block; font-size: 14px; line-height: 1.3; margin-bottom: 8px; text-decoration: none; white-space: nowrap; } +.tox .tox-dialog__body-nav-item:focus { background-color: rgb(0 108 231 / 10%); } +.tox .tox-dialog__body-nav-item--active { border-bottom: 2px solid #006ce7; color: #006ce7; } +.tox .tox-dialog__body-content { box-sizing: border-box; display: flex; flex: 1; flex-direction: column; max-height: 650px; overflow: auto; -webkit-overflow-scrolling: touch; padding: 16px; } +.tox .tox-dialog__body-content > * { margin-bottom: 0; margin-top: 16px; } +.tox .tox-dialog__body-content > :first-child { margin-top: 0; } +.tox .tox-dialog__body-content > :last-child { margin-bottom: 0; } +.tox .tox-dialog__body-content > :only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog__body-content a { color: #006ce7; cursor: pointer; text-decoration: none; } + +.tox .tox-dialog__body-content a:focus, +.tox .tox-dialog__body-content a:hover { color: #0054b4; text-decoration: none; } +.tox .tox-dialog__body-content a:active { color: #0054b4; text-decoration: none; } +.tox .tox-dialog__body-content svg { fill: #fff; } +.tox .tox-dialog__body-content ul { display: block; list-style-type: disc; margin-bottom: 16px; margin-inline-end: 0; margin-inline-start: 0; padding-inline-start: 2.5rem; } +.tox .tox-dialog__body-content .tox-form__group h1 { color: #fff; font-size: 20px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group h2 { color: #fff; font-size: 16px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group p { margin-bottom: 16px; } + +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { margin-top: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { margin-bottom: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog--width-lg { height: 650px; max-width: 1200px; } +.tox .tox-dialog--width-md { max-width: 800px; } +.tox .tox-dialog--width-md .tox-dialog__body-content { overflow: auto; } +.tox .tox-dialog__body-content--centered { text-align: center; } +.tox .tox-dialog__footer { align-items: center; background-color: #2b3b4e; border-top: none; display: flex; justify-content: space-between; padding: 8px 16px; } + +.tox .tox-dialog__footer-end, +.tox .tox-dialog__footer-start { display: flex; } +.tox .tox-dialog__busy-spinner { align-items: center; background-color: rgb(34 47 62 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; z-index: 3; } +.tox .tox-dialog__table { border-collapse: collapse; width: 100%; } +.tox .tox-dialog__table thead th { font-weight: 700; padding-bottom: 8px; } +.tox .tox-dialog__table tbody tr { border-bottom: 1px solid #161f29; } +.tox .tox-dialog__table tbody tr:last-child { border-bottom: none; } +.tox .tox-dialog__table td { padding-bottom: 8px; padding-top: 8px; } +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { background: #fff; } +.tox .tox-dialog__popups { position: absolute; width: 100%; z-index: 1100; } +.tox .tox-dialog__body-iframe { display: flex; flex: 1; flex-direction: column; } +.tox .tox-dialog__body-iframe .tox-navobj { display: flex; flex: 1; } +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox .tox-dialog-dock-fadeout { opacity: 0; visibility: hidden; } +.tox .tox-dialog-dock-fadein { opacity: 1; visibility: visible; } +.tox .tox-dialog-dock-transition { transition: visibility 0s linear 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav-item:not(:first-child) { margin-left: 8px; } } + +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-end > *, +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-start > * { margin-left: 8px; } +.tox[dir="rtl"] .tox-dialog__body { text-align: right; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav-item:not(:first-child) { margin-right: 8px; } } + +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-end > *, +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-start > * { margin-right: 8px; } +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox .tox-dropzone-container { display: flex; flex: 1; } +.tox .tox-dropzone { align-items: center; background: #fff; border: 2px dashed #161f29; box-sizing: border-box; display: flex; flex-direction: column; flex-grow: 1; justify-content: center; min-height: 100px; padding: 10px; } +.tox .tox-dropzone p { color: rgb(255 255 255 / 50%); margin: 0 0 16px; } +.tox .tox-edit-area { display: flex; flex: 1; overflow: hidden; position: relative; } +.tox .tox-edit-area__iframe { background-color: #fff; border: 0; box-sizing: border-box; flex: 1; height: 100%; position: absolute; width: 100%; } +.tox.tox-inline-edit-area { border: 1px dotted #161f29; } +.tox .tox-editor-container { display: flex; flex: 1 1 auto; flex-direction: column; overflow: hidden; } +.tox .tox-editor-header { display: grid; grid-template-columns: 1fr min-content; z-index: 1; } +.tox:not(.tox-tinymce-inline) .tox-editor-header { background-color: #222f3e; border-bottom: 1px solid rgb(255 255 255 / 15%); box-shadow: none; padding: 4px 0; transition: box-shadow 0.5s; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { border-top: 1px solid rgb(255 255 255 / 15%); box-shadow: none; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { background-color: #222f3e; box-shadow: none; padding: 4px 0; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { box-shadow: none; } +.tox-editor-dock-fadeout { opacity: 0; visibility: hidden; } +.tox-editor-dock-fadein { opacity: 1; visibility: visible; } +.tox-editor-dock-transition { transition: visibility 0s linear 0.25s, opacity 0.25s ease; } +.tox-editor-dock-transition.tox-editor-dock-fadein { transition-delay: 0s; } +.tox .tox-control-wrap { flex: 1; position: relative; } + +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { display: none; } +.tox .tox-control-wrap svg { display: block; } +.tox .tox-control-wrap__status-icon-wrap { position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-control-wrap__status-icon-invalid svg { fill: #c00; } +.tox .tox-control-wrap__status-icon-unknown svg { fill: orange; } +.tox .tox-control-wrap__status-icon-valid svg { fill: green; } + +.tox:not([dir="rtl"]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-valid .tox-textfield { padding-right: 32px; } +.tox:not([dir="rtl"]) .tox-control-wrap__status-icon-wrap { right: 4px; } + +.tox[dir="rtl"] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-valid .tox-textfield { padding-left: 32px; } +.tox[dir="rtl"] .tox-control-wrap__status-icon-wrap { left: 4px; } +.tox .tox-autocompleter { max-width: 25em; } +.tox .tox-autocompleter .tox-menu { box-sizing: border-box; max-width: 25em; } +.tox .tox-autocompleter .tox-autocompleter-highlight { font-weight: 700; } +.tox .tox-color-input { display: flex; position: relative; z-index: 1; } +.tox .tox-color-input .tox-textfield { z-index: -1; } +.tox .tox-color-input span { border-color: rgb(34 47 62 / 20%); border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; height: 24px; position: absolute; top: 6px; width: 24px; } + +.tox .tox-color-input span:focus:not([aria-disabled="true"]), +.tox .tox-color-input span:hover:not([aria-disabled="true"]) { border-color: #006ce7; cursor: pointer; } +.tox .tox-color-input span::before { background-image: linear-gradient(45deg, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(255 255 255 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(255 255 255 / 25%) 75%); background-position: 0 0, 0 6px, 6px -6px, -6px 0; background-size: 12px 12px; border: 1px solid #2b3b4e; border-radius: 6px; box-sizing: border-box; content: ""; height: 24px; left: -1px; position: absolute; top: -1px; width: 24px; z-index: -1; } +.tox .tox-color-input span[aria-disabled="true"] { cursor: not-allowed; } +.tox:not([dir="rtl"]) .tox-color-input .tox-textfield { padding-left: 36px; } +.tox:not([dir="rtl"]) .tox-color-input span { left: 6px; } +.tox[dir="rtl"] .tox-color-input .tox-textfield { padding-right: 36px; } +.tox[dir="rtl"] .tox-color-input span { right: 6px; } + +.tox .tox-label, +.tox .tox-toolbar-label { color: rgb(255 255 255 / 50%); display: block; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; padding: 0 8px 0 0; text-transform: none; white-space: nowrap; } +.tox .tox-toolbar-label { padding: 0 8px; } +.tox[dir="rtl"] .tox-label { padding: 0 0 0 8px; } +.tox .tox-form { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group { box-sizing: border-box; margin-bottom: 4px; } +.tox .tox-form-group--maximize { flex: 1; } +.tox .tox-form__group--error { color: #c00; } +.tox .tox-form__group--collection { display: flex; } +.tox .tox-form__grid { display: flex; flex-flow: row wrap; justify-content: space-between; } +.tox .tox-form__grid--2col > .tox-form__group { width: calc(50% - (8px / 2)); } +.tox .tox-form__grid--3col > .tox-form__group { width: calc(100% / 3 - (8px / 2)); } +.tox .tox-form__grid--4col > .tox-form__group { width: calc(25% - (8px / 2)); } +.tox .tox-form__controls-h-stack { align-items: center; display: flex; } +.tox .tox-form__group--inline { align-items: center; display: flex; } +.tox .tox-form__group--stretched { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group--stretched .tox-textarea { flex: 1; } +.tox .tox-form__group--stretched .tox-navobj { display: flex; flex: 1; } +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox:not([dir="rtl"]) .tox-form__controls-h-stack > :not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-form__controls-h-stack > :not(:first-child) { margin-right: 4px; } + +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { display: none; } + +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea, +.tox .tox-textfield, +.tox .tox-toolbar-textfield { appearance: none; appearance: none; appearance: none; background-color: #2b3b4e; border-color: #161f29; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 5.5px; resize: none; width: 100%; } + +.tox .tox-textarea[disabled], +.tox .tox-textfield[disabled] { background-color: #222f3e; color: rgb(255 255 255 / 85%); cursor: not-allowed; } + +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus, +.tox .tox-textfield:focus { background-color: #2b3b4e; border-color: #006ce7; box-shadow: 0 0 0 2px rgb(0 108 231 / 25%); outline: 0; } +.tox .tox-toolbar-textfield { border-width: 0; margin-bottom: 3px; margin-top: 2px; max-width: 250px; } +.tox .tox-naked-btn { background-color: transparent; border: 0; border-color: transparent; box-shadow: unset; color: #006ce7; cursor: pointer; display: block; margin: 0; padding: 0; } +.tox .tox-naked-btn svg { display: block; fill: #fff; } +.tox:not([dir="rtl"]) .tox-toolbar-textfield + * { margin-left: 4px; } +.tox[dir="rtl"] .tox-toolbar-textfield + * { margin-right: 4px; } +.tox .tox-listboxfield { cursor: pointer; position: relative; } +.tox .tox-listboxfield .tox-listbox--select[disabled] { background-color: #19232e; color: rgb(255 255 255 / 85%); cursor: not-allowed; } +.tox .tox-listbox__select-label { cursor: default; flex: 1; margin: 0 4px; } +.tox .tox-listbox__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-listbox__select-chevron svg { fill: #fff; } +.tox .tox-listboxfield .tox-listbox--select { align-items: center; display: flex; } +.tox:not([dir="rtl"]) .tox-listboxfield svg { right: 8px; } +.tox[dir="rtl"] .tox-listboxfield svg { left: 8px; } +.tox .tox-selectfield { cursor: pointer; position: relative; } +.tox .tox-selectfield select { appearance: none; appearance: none; appearance: none; background-color: #2b3b4e; border-color: #161f29; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 5.5px; resize: none; width: 100%; } +.tox .tox-selectfield select[disabled] { background-color: #19232e; color: rgb(255 255 255 / 85%); cursor: not-allowed; } +.tox .tox-selectfield select::-ms-expand { display: none; } +.tox .tox-selectfield select:focus { background-color: #2b3b4e; border-color: #006ce7; box-shadow: 0 0 0 2px rgb(0 108 231 / 25%); outline: 0; } +.tox .tox-selectfield svg { pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); } + +.tox:not([dir="rtl"]) .tox-selectfield select[size="0"], +.tox:not([dir="rtl"]) .tox-selectfield select[size="1"] { padding-right: 24px; } +.tox:not([dir="rtl"]) .tox-selectfield svg { right: 8px; } + +.tox[dir="rtl"] .tox-selectfield select[size="0"], +.tox[dir="rtl"] .tox-selectfield select[size="1"] { padding-left: 24px; } +.tox[dir="rtl"] .tox-selectfield svg { left: 8px; } +.tox .tox-textarea { appearance: textarea; appearance: textarea; appearance: textarea; white-space: pre-wrap; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } +.tox .tox-help__more-link { list-style: none; margin-top: 1em; } +.tox .tox-imagepreview { background-color: #666; height: 380px; overflow: hidden; position: relative; width: 100%; } +.tox .tox-imagepreview.tox-imagepreview__loaded { overflow: auto; } +.tox .tox-imagepreview__container { display: flex; left: 100vw; position: absolute; top: 100vw; } +.tox .tox-imagepreview__image { background: url("data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw=="); } +.tox .tox-image-tools .tox-spacer { flex: 1; } +.tox .tox-image-tools .tox-bar { align-items: center; display: flex; height: 60px; justify-content: center; } + +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { margin-top: 8px; } +.tox .tox-image-tools .tox-croprect-block { background: #000; opacity: 0.5; position: absolute; zoom: 1; } +.tox .tox-image-tools .tox-croprect-handle { border: 2px solid #fff; height: 20px; left: 0; position: absolute; top: 0; width: 20px; } +.tox .tox-image-tools .tox-croprect-handle-move { border: 0; cursor: move; position: absolute; } +.tox .tox-image-tools .tox-croprect-handle-nw { border-width: 2px 0 0 2px; cursor: nw-resize; left: 100px; margin: -2px 0 0 -2px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-ne { border-width: 2px 2px 0 0; cursor: ne-resize; left: 200px; margin: -2px 0 0 -20px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-sw { border-width: 0 0 2px 2px; cursor: sw-resize; left: 100px; margin: -20px 2px 0 -2px; top: 200px; } +.tox .tox-image-tools .tox-croprect-handle-se { border-width: 0 2px 2px 0; cursor: se-resize; left: 200px; margin: -20px 0 0 -20px; top: 200px; } +.tox .tox-insert-table-picker { display: flex; flex-wrap: wrap; width: 170px; } +.tox .tox-insert-table-picker > div { border-color: rgb(255 255 255 / 15%); border-style: solid; border-width: 0 1px 1px 0; box-sizing: border-box; height: 17px; width: 17px; } +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { margin: -4px; } +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { background-color: rgb(0 108 231 / 50%); border-color: rgb(0 108 231 / 50%); } +.tox .tox-insert-table-picker__label { color: #fff; display: block; font-size: 14px; padding: 4px; text-align: center; width: 100%; } +.tox:not([dir="rtl"]) .tox-insert-table-picker > div:nth-child(10n) { border-right: 0; } +.tox[dir="rtl"] .tox-insert-table-picker > div:nth-child(10n+1) { border-right: 0; } +.tox .tox-menu { background-color: #2b3b4e; border: 1px solid rgb(255 255 255 / 15%); border-radius: 6px; box-shadow: none; display: inline-block; overflow: hidden; vertical-align: top; z-index: 1150; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 0 4px; } +.tox .tox-menu.tox-collection.tox-collection--toolbar { padding: 8px; } +.tox .tox-menu.tox-collection.tox-collection--grid { padding: 8px; } + +@media only screen and (width >= 768px) { .tox .tox-menu .tox-collection__item-label { overflow-wrap: break-word; word-break: normal; } } + +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code, +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p { margin: 0; } +.tox .tox-menubar { background: repeating-linear-gradient(transparent 0 1px, transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat; background-color: #222f3e; display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; grid-column: 1/-1; grid-row: 1; padding: 0 11px 0 12px; } +.tox .tox-promotion + .tox-menubar { grid-column: 1; } +.tox .tox-promotion { background: repeating-linear-gradient(transparent 0 1px, transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat; background-color: #222f3e; grid-column: 2; grid-row: 1; padding-inline-end: 8px; padding-inline-start: 4px; padding-top: 5px; } +.tox .tox-promotion-link { align-items: unsafe center; background-color: #e8f1f8; border-radius: 5px; color: #086be6; cursor: pointer; display: flex; font-size: 14px; height: 26.6px; padding: 4px 8px; white-space: nowrap; } +.tox .tox-promotion-link:hover { background-color: #b4d7ff; } +.tox .tox-promotion-link:focus { background-color: #d9edf7; } +.tox .tox-mbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #fff; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 28px; justify-content: center; margin: 5px 1px 6px 0; outline: 0; overflow: hidden; padding: 0 4px; text-transform: none; width: auto; } +.tox .tox-mbtn[disabled] { background-color: transparent; border: 0; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-mbtn:focus:not(:disabled) { background: #3389ec; border: 0; box-shadow: none; color: #fff; } +.tox .tox-mbtn--active { background: #599fef; border: 0; box-shadow: none; color: #fff; } +.tox .tox-mbtn:hover:not(:disabled, .tox-mbtn--active) { background: #3389ec; border: 0; box-shadow: none; color: #fff; } +.tox .tox-mbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { cursor: not-allowed; } +.tox .tox-mbtn__select-chevron { align-items: center; justify-content: center; width: 16px; display: none; } +.tox .tox-notification { border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; display: grid; font-size: 14px; font-weight: 400; grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); margin-top: 4px; opacity: 0; padding: 4px; transition: transform 0.1s ease-in, opacity 150ms ease-in; } +.tox .tox-notification p { font-size: 14px; font-weight: 400; } +.tox .tox-notification a { cursor: pointer; text-decoration: underline; } +.tox .tox-notification--in { opacity: 1; } +.tox .tox-notification--success { background-color: #334840; border-color: #3c5440; color: #fff; } +.tox .tox-notification--success p { color: #fff; } +.tox .tox-notification--success a { color: #b5d199; } +.tox .tox-notification--success svg { fill: #fff; } +.tox .tox-notification--error { background-color: #442632; border-color: #55212b; color: #fff; } +.tox .tox-notification--error p { color: #fff; } +.tox .tox-notification--error a { color: #e68080; } +.tox .tox-notification--error svg { fill: #fff; } + +.tox .tox-notification--warn, +.tox .tox-notification--warning { background-color: #222f3e; border-color: rgb(255 255 255 / 15%); color: #fff0b3; } + +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { color: #fff0b3; } + +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { color: #fc0; } + +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { fill: #fff0b3; } +.tox .tox-notification--info { background-color: #254161; border-color: #264972; color: #fff; } +.tox .tox-notification--info p { color: #fff; } +.tox .tox-notification--info a { color: #83b7f3; } +.tox .tox-notification--info svg { fill: #fff; } +.tox .tox-notification__body { align-self: center; color: #fff; font-size: 14px; grid-column: 2 3; text-align: center; white-space: normal; word-break: break-all; word-break: break-word; } +.tox .tox-notification__body > * { margin: 0; } +.tox .tox-notification__body > * + * { margin-top: 1rem; } +.tox .tox-notification__icon { align-self: center; grid-column: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; justify-self: center; } +.tox .tox-pop { display: inline-block; position: relative; } +.tox .tox-pop--resizing { transition: width 0.1s ease; } + +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { flex-wrap: nowrap; } +.tox .tox-pop--transition { transition: 0.15s ease; transition-property: left, right, top, bottom; } + +.tox .tox-pop--transition::after, +.tox .tox-pop--transition::before { transition: all 0.15s, visibility 0s, opacity 75ms ease 75ms; } +.tox .tox-pop__dialog { background-color: #222f3e; border: 1px solid #161f29; border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); min-width: 0; overflow: hidden; } +.tox .tox-pop__dialog > :not(.tox-toolbar) { margin: 4px 4px 4px 8px; } +.tox .tox-pop__dialog .tox-toolbar { background-color: transparent; margin-bottom: -1px; } + +.tox .tox-pop::after, +.tox .tox-pop::before { border-style: solid; content: ""; display: block; height: 0; opacity: 1; position: absolute; width: 0; } + +.tox .tox-pop.tox-pop--inset::after, +.tox .tox-pop.tox-pop--inset::before { opacity: 0; transition: all 0s 0.15s, visibility 0s, opacity 75ms ease; } + +.tox .tox-pop.tox-pop--bottom::after, +.tox .tox-pop.tox-pop--bottom::before { left: 50%; top: 100%; } +.tox .tox-pop.tox-pop--bottom::after { border-color: #222f3e transparent transparent; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #161f29 transparent transparent; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--top::after, +.tox .tox-pop.tox-pop--top::before { left: 50%; top: 0; transform: translateY(-100%); } +.tox .tox-pop.tox-pop--top::after { border-color: transparent transparent #222f3e; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #161f29; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--left::after, +.tox .tox-pop.tox-pop--left::before { left: 0; top: calc(50% - 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--left::after { border-color: transparent #222f3e transparent transparent; border-width: 8px; margin-left: -15px; } +.tox .tox-pop.tox-pop--left::before { border-color: transparent #161f29 transparent transparent; border-width: 10px; margin-left: -19px; } + +.tox .tox-pop.tox-pop--right::after, +.tox .tox-pop.tox-pop--right::before { left: 100%; top: calc(50% + 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--right::after { border-color: transparent transparent transparent #222f3e; border-width: 8px; margin-left: -1px; } +.tox .tox-pop.tox-pop--right::before { border-color: transparent transparent transparent #161f29; border-width: 10px; margin-left: -1px; } + +.tox .tox-pop.tox-pop--align-left::after, +.tox .tox-pop.tox-pop--align-left::before { left: 20px; } + +.tox .tox-pop.tox-pop--align-right::after, +.tox .tox-pop.tox-pop--align-right::before { left: calc(100% - 20px); } +.tox .tox-sidebar-wrap { display: flex; flex-direction: row; flex-grow: 1; min-height: 0; } +.tox .tox-sidebar { background-color: #222f3e; display: flex; flex-direction: row; justify-content: flex-end; } +.tox .tox-sidebar__slider { display: flex; overflow: hidden; } +.tox .tox-sidebar__pane-container { display: flex; } +.tox .tox-sidebar__pane { display: flex; } +.tox .tox-sidebar--sliding-closed { opacity: 0; } +.tox .tox-sidebar--sliding-open { opacity: 1; } + +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { transition: width 0.5s ease, opacity 0.5s ease; } +.tox .tox-selector { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; display: inline-block; height: 10px; position: absolute; width: 10px; } +.tox.tox-platform-touch .tox-selector { height: 12px; width: 12px; } +.tox .tox-slider { align-items: center; display: flex; flex: 1; height: 24px; justify-content: center; position: relative; } +.tox .tox-slider__rail { background-color: transparent; border: 1px solid #161f29; border-radius: 6px; height: 10px; min-width: 120px; width: 100%; } +.tox .tox-slider__handle { background-color: #006ce7; border: 2px solid #0054b4; border-radius: 6px; box-shadow: none; height: 24px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 14px; } +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { margin-inline-start: 8px; } +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { margin-inline-start: 32px; } +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { margin-inline-start: 32px; } +.tox .tox-source-code { overflow: auto; } +.tox .tox-spinner { display: flex; } +.tox .tox-spinner > div { animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; background-color: rgb(255 255 255 / 50%); border-radius: 100%; height: 8px; width: 8px; } +.tox .tox-spinner > div:nth-child(1) { animation-delay: -0.32s; } +.tox .tox-spinner > div:nth-child(2) { animation-delay: -0.16s; } + +@keyframes tam-bouncing-dots { + 0%, +100%, +80% { transform: scale(0); } + 40% { transform: scale(1); } +} +.tox:not([dir="rtl"]) .tox-spinner > div:not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-spinner > div:not(:first-child) { margin-right: 4px; } +.tox .tox-statusbar { align-items: center; background-color: #222f3e; border-top: 1px solid rgb(255 255 255 / 15%); color: rgb(255 255 255 / 75%); display: flex; flex: 0 0 auto; font-size: 14px; font-weight: 400; height: 25px; overflow: hidden; padding: 0 8px; position: relative; text-transform: none; } +.tox .tox-statusbar__text-container { display: flex; flex: 1 1 auto; justify-content: flex-end; overflow: hidden; } +.tox .tox-statusbar__path { display: flex; flex: 1 1 auto; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.tox .tox-statusbar__path > * { display: inline; white-space: nowrap; } +.tox .tox-statusbar__wordcount { flex: 0 0 auto; margin-left: 1ch; } + +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { color: rgb(255 255 255 / 75%); text-decoration: none; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #fff; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(255 255 255 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [aria-disabled="true"]) svg { fill: #fff; } +.tox .tox-statusbar__resize-handle { align-items: flex-end; align-self: stretch; cursor: nwse-resize; display: flex; flex: 0 0 auto; justify-content: flex-end; margin-left: auto; margin-right: -8px; padding-bottom: 3px; padding-left: 1ch; padding-right: 3px; } +.tox .tox-statusbar__resize-handle svg { display: block; fill: rgb(255 255 255 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #434e5b; border-radius: 1px 1px 5px; box-shadow: 0 0 0 2px #434e5b; } +.tox:not([dir="rtl"]) .tox-statusbar__path > * { margin-right: 4px; } +.tox:not([dir="rtl"]) .tox-statusbar__branding { margin-left: 2ch; } +.tox[dir="rtl"] .tox-statusbar { flex-direction: row-reverse; } +.tox[dir="rtl"] .tox-statusbar__path > * { margin-left: 4px; } +.tox .tox-throbber { z-index: 1299; } +.tox .tox-throbber__busy-spinner { align-items: center; background-color: rgb(34 47 62 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.tox .tox-tbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #fff; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 28px; justify-content: center; margin: 6px 1px 5px 0; outline: 0; overflow: hidden; padding: 0; text-transform: none; width: 34px; } +.tox .tox-tbtn svg { display: block; fill: #fff; } +.tox .tox-tbtn.tox-tbtn-more { padding-left: 5px; padding-right: 5px; width: inherit; } +.tox .tox-tbtn:focus { background: #3389ec; border: 0; box-shadow: none; } +.tox .tox-tbtn:hover { background: #3389ec; border: 0; box-shadow: none; color: #fff; } +.tox .tox-tbtn:hover svg { fill: #fff; } +.tox .tox-tbtn:active { background: #599fef; border: 0; box-shadow: none; color: #fff; } +.tox .tox-tbtn:active svg { fill: #fff; } + +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { background: 0 0; border: 0; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } + +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { fill: rgb(255 255 255 / 50%); } + +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { background: #599fef; border: 0; box-shadow: none; color: #fff; } + +.tox .tox-tbtn--enabled:hover > *, +.tox .tox-tbtn--enabled > * { transform: none; } + +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { fill: #fff; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { color: #fff; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { fill: #fff; } +.tox .tox-tbtn:active > * { transform: none; } +.tox .tox-tbtn--md { height: 42px; width: 51px; } +.tox .tox-tbtn--lg { flex-direction: column; height: 56px; width: 68px; } +.tox .tox-tbtn--return { align-self: stretch; height: unset; width: 16px; } +.tox .tox-tbtn--labeled { padding: 0 4px; width: unset; } +.tox .tox-tbtn__vlabel { display: block; font-size: 10px; font-weight: 400; letter-spacing: -0.025em; margin-bottom: 4px; white-space: nowrap; } +.tox .tox-tbtn--select { margin: 6px 1px 5px 0; padding: 0 4px; width: auto; } +.tox .tox-tbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-tbtn__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-tbtn__select-chevron svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-tbtn--bespoke { background: #2f4055; } +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { margin-inline-start: 4px; } +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 7em; } +.tox .tox-split-button { border: 0; border-radius: 3px; box-sizing: border-box; display: flex; margin: 6px 1px 5px 0; overflow: hidden; } +.tox .tox-split-button:hover { box-shadow: 0 0 0 1px #3389ec inset; } +.tox .tox-split-button:focus { background: #3389ec; box-shadow: none; color: #fff; } +.tox .tox-split-button > * { border-radius: 0; } +.tox .tox-split-button__chevron { width: 16px; } +.tox .tox-split-button__chevron svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-split-button .tox-tbtn { margin: 0; } + +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled:hover { background: 0 0; box-shadow: none; color: rgb(255 255 255 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 0; } +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { width: 30px; } +.tox.tox-platform-touch .tox-split-button__chevron { width: 20px; } +.tox .tox-toolbar-overlord { background-color: #222f3e; } + +.tox .tox-toolbar, +.tox .tox-toolbar__overflow, +.tox .tox-toolbar__primary { background-color: #222f3e; background-image: repeating-linear-gradient(rgb(255 255 255 / 15%) 0 1px, transparent 1px 39px); background-position: center top 40px; background-repeat: no-repeat; background-size: calc(100% - 11px * 2) calc(100% - 41px); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; padding: 0; transform: perspective(1px); } + +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow, +.tox .tox-toolbar-overlord > .tox-toolbar__primary { background-position: center top 0; background-size: calc(100% - 11px * 2) calc(100% - 0px); } +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; visibility: hidden; } +.tox .tox-toolbar__overflow--growing { transition: height 0.3s ease, opacity 0.2s linear 0.1s; } +.tox .tox-toolbar__overflow--shrinking { transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; } + +.tox .tox-anchorbar, +.tox .tox-toolbar-overlord { grid-column: 1/-1; } + +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { border-top: 1px solid transparent; margin-top: -1px; padding-bottom: 1px; padding-top: 1px; } +.tox .tox-toolbar--scrolling { flex-wrap: nowrap; overflow-x: auto; } +.tox .tox-pop .tox-toolbar { border-width: 0; } +.tox .tox-toolbar--no-divider { background-image: none; } + +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { background-position: center top 39px; } + +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { background-image: none; } +.tox.tox-tinymce-aux .tox-toolbar__overflow { background-color: #222f3e; background-position: center top 43px; background-size: calc(100% - 8px * 2) calc(100% - 51px); border: none; border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); padding: 4px 0; } +.tox-pop .tox-pop__dialog .tox-toolbar { background-position: center top 43px; background-size: calc(100% - 11px * 2) calc(100% - 51px); padding: 4px 0; } +.tox .tox-toolbar__group { align-items: center; display: flex; flex-wrap: wrap; margin: 0; padding: 0 11px 0 12px; } +.tox .tox-toolbar__group--pull-right { margin-left: auto; } +.tox .tox-toolbar--scrolling .tox-toolbar__group { flex-shrink: 0; flex-wrap: nowrap; } +.tox:not([dir="rtl"]) .tox-toolbar__group:not(:last-of-type) { border-right: 1px solid transparent; } +.tox[dir="rtl"] .tox-toolbar__group:not(:last-of-type) { border-left: 1px solid transparent; } +.tox .tox-tooltip { display: inline-block; padding: 8px; position: relative; } +.tox .tox-tooltip__body { background-color: #3d546f; border-radius: 6px; box-shadow: 0 2px 4px rgb(34 47 62 / 30%); color: rgb(255 255 255 / 75%); font-size: 14px; font-style: normal; font-weight: 400; padding: 4px 8px; text-transform: none; } +.tox .tox-tooltip__arrow { position: absolute; } +.tox .tox-tooltip--down .tox-tooltip__arrow { border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #3d546f; bottom: 0; left: 50%; position: absolute; transform: translateX(-50%); } +.tox .tox-tooltip--up .tox-tooltip__arrow { border-bottom: 8px solid #3d546f; border-left: 8px solid transparent; border-right: 8px solid transparent; left: 50%; position: absolute; top: 0; transform: translateX(-50%); } +.tox .tox-tooltip--right .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-left: 8px solid #3d546f; border-top: 8px solid transparent; position: absolute; right: 0; top: 50%; transform: translateY(-50%); } +.tox .tox-tooltip--left .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-right: 8px solid #3d546f; border-top: 8px solid transparent; left: 0; position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-well { border: 1px solid #161f29; border-radius: 6px; padding: 8px; width: 100%; } +.tox .tox-well > :first-child { margin-top: 0; } +.tox .tox-well > :last-child { margin-bottom: 0; } +.tox .tox-well > :only-child { margin: 0; } +.tox .tox-custom-editor { border: 1px solid #161f29; border-radius: 6px; display: flex; flex: 1; position: relative; } +.tox .tox-dialog-loading::before { background-color: rgb(0 0 0 / 50%); content: ""; height: 100%; position: absolute; width: 100%; z-index: 1000; } +.tox .tox-tab { cursor: pointer; } +.tox .tox-dialog__content-js { display: flex; flex: 1; } +.tox .tox-dialog__body-content .tox-collection { display: flex; flex: 1; } +.tox.tox-tinymce-aux .tox-toolbar__overflow { box-shadow: 0 0 0 1px rgb(255 255 255 / 15%); } diff --git a/tinymce/skins/ui/oxide-dark/skin.min.css.br b/tinymce/skins/ui/oxide-dark/skin.min.css.br new file mode 100644 index 000000000..4e0210344 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.min.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/skin.min.css.gz b/tinymce/skins/ui/oxide-dark/skin.min.css.gz new file mode 100644 index 000000000..908d06567 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.min.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.css b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css new file mode 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css @@ -0,0 +1,35 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} + +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} + +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} + +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} + +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.css.br b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css.br new file mode 100644 index 000000000..671b5c9a5 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.css.gz b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css.gz new file mode 100644 index 000000000..36717f9f5 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.shadowdom.css.gz differ diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css new file mode 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.br b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.br new file mode 100644 index 000000000..276ce6921 Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.br differ diff --git a/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.gz b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.gz new file mode 100644 index 000000000..b368565de Binary files /dev/null and b/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css.gz differ diff --git a/tinymce/skins/ui/oxide/content.css b/tinymce/skins/ui/oxide/content.css new file mode 100755 index 000000000..13cf7b116 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.css @@ -0,0 +1,775 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/oxide/content.css.br b/tinymce/skins/ui/oxide/content.css.br new file mode 100644 index 000000000..40b78c6c3 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.css.br differ diff --git a/tinymce/skins/ui/oxide/content.css.gz b/tinymce/skins/ui/oxide/content.css.gz new file mode 100644 index 000000000..72d87b1cb Binary files /dev/null and b/tinymce/skins/ui/oxide/content.css.gz differ diff --git a/tinymce/skins/ui/oxide/content.inline.css b/tinymce/skins/ui/oxide/content.inline.css new file mode 100755 index 000000000..9bd1e2974 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/oxide/content.inline.css.br b/tinymce/skins/ui/oxide/content.inline.css.br new file mode 100644 index 000000000..9abbc6973 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.css.br differ diff --git a/tinymce/skins/ui/oxide/content.inline.css.gz b/tinymce/skins/ui/oxide/content.inline.css.gz new file mode 100644 index 000000000..08fe3e7b7 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.css.gz differ diff --git a/tinymce/skins/ui/oxide/content.inline.min.css b/tinymce/skins/ui/oxide/content.inline.min.css new file mode 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.inline.min.css @@ -0,0 +1,310 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #000; background: 0 0; text-shadow: 0 1px #fff; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::selection, +code[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +pre[class*="language-"]::-moz-selection { text-shadow: none; background: #b3d4fc; } + +code[class*="language-"] ::selection, +code[class*="language-"]::selection, +pre[class*="language-"] ::selection, +pre[class*="language-"]::selection { text-shadow: none; background: #b3d4fc; } + +@media print { code[class*="language-"], +pre[class*="language-"] { text-shadow: none; } } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.7; } + +.token.boolean, +.token.constant, +.token.deleted, +.token.number, +.token.property, +.token.symbol, +.token.tag { color: #905; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #690; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url { color: #9a6e3a; background: hsl(0deg 0% 100% / 50%); } + +.token.atrule, +.token.attr-value, +.token.keyword { color: #07a; } + +.token.class-name, +.token.function { color: #dd4a68; } + +.token.important, +.token.regex, +.token.variable { color: #e90; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #b4d7ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #b4d7ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #b4d7ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #b4d7ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #b4d7ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #b4d7ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } diff --git a/tinymce/skins/ui/oxide/content.inline.min.css.br b/tinymce/skins/ui/oxide/content.inline.min.css.br new file mode 100644 index 000000000..7cb4e7145 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/oxide/content.inline.min.css.gz b/tinymce/skins/ui/oxide/content.inline.min.css.gz new file mode 100644 index 000000000..d9256b8d3 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/oxide/content.min.css b/tinymce/skins/ui/oxide/content.min.css new file mode 100755 index 000000000..73c3ad285 --- /dev/null +++ b/tinymce/skins/ui/oxide/content.min.css @@ -0,0 +1,312 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #000; background: 0 0; text-shadow: 0 1px #fff; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::selection, +code[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +pre[class*="language-"]::-moz-selection { text-shadow: none; background: #b3d4fc; } + +code[class*="language-"] ::selection, +code[class*="language-"]::selection, +pre[class*="language-"] ::selection, +pre[class*="language-"]::selection { text-shadow: none; background: #b3d4fc; } + +@media print { code[class*="language-"], +pre[class*="language-"] { text-shadow: none; } } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.7; } + +.token.boolean, +.token.constant, +.token.deleted, +.token.number, +.token.property, +.token.symbol, +.token.tag { color: #905; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #690; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url { color: #9a6e3a; background: hsl(0deg 0% 100% / 50%); } + +.token.atrule, +.token.attr-value, +.token.keyword { color: #07a; } + +.token.class-name, +.token.function { color: #dd4a68; } + +.token.important, +.token.regex, +.token.variable { color: #e90; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #b4d7ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #b4d7ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #b4d7ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #b4d7ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #b4d7ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #b4d7ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } +body { font-family: sans-serif; } +table { border-collapse: collapse; } diff --git a/tinymce/skins/ui/oxide/content.min.css.br b/tinymce/skins/ui/oxide/content.min.css.br new file mode 100644 index 000000000..710f8a050 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.min.css.br differ diff --git a/tinymce/skins/ui/oxide/content.min.css.gz b/tinymce/skins/ui/oxide/content.min.css.gz new file mode 100644 index 000000000..53f955485 Binary files /dev/null and b/tinymce/skins/ui/oxide/content.min.css.gz differ diff --git a/tinymce/skins/ui/oxide/skin.css b/tinymce/skins/ui/oxide/skin.css new file mode 100755 index 000000000..31ff6364f --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.css @@ -0,0 +1,3109 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #222f3e; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 2px solid #eeeeee; + border-radius: 10px; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #fff; + border: 2px solid #eeeeee; + border-radius: 10px; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #eeeeee; + border-radius: 6px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #eeeeee; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(0, 108, 231, 0.1); + border-color: #006ce7; + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #006ce7; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.1); + border-color: rgba(255, 165, 0, 0.5); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.5); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.1); + border-color: rgba(204, 0, 0, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.1); + border-color: rgba(120, 171, 70, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #006ce7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #006ce7; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 6px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgba(0, 108, 231, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #006ce7; + background-image: none; + border-color: #006ce7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #0060ce; + background-image: none; + border-color: #0060ce; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #0054b4; + background-image: none; + border-color: #0054b4; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #f0f0f0; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #f0f0f0; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #f0f0f0; + background-image: none; + border-color: #f0f0f0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #d6d6d6; + background-image: none; + border-color: #d6d6d6; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked[disabled] { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: rgba(34, 47, 62, 0.12); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: rgba(34, 47, 62, 0.18); + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #222f3e; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 6px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 6px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(34, 47, 62, 0.3); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #006ce7; +} +.tox .tox-checkbox--disabled { + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 6px; + box-shadow: inset 0 0 0 1px #006ce7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: #e3e3e3; + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: #fcfcfc; + color: rgba(34, 47, 62, 0.7); + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #222f3e; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #fff; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #cce2fa; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #a6ccf7; + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #cce2fa; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #a6ccf7; + color: #222f3e; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #cce2fa; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #222f3e; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #fff; + border: 1px solid #e3e3e3; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 28px; + margin: 6px 1px 5px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 5px 0 6px 11px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px -4px; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #222f3e; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #cce2fa; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #fff; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #fff; + border: 1px solid #eeeeee; + border-radius: 6px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #222f3e; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #222f3e; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(34, 47, 62, 0.7); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #fff; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(255, 255, 255, 0), #fff); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #fff; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #222f3e; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #fff; + box-shadow: 0 0 8px 8px #fff; + color: #222f3e; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #fff; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(34, 47, 62, 0.7); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #fff; +} +.tox .tox-dialog { + background-color: #fff; + border-color: #eeeeee; + border-radius: 10px; + border-style: solid; + border-width: 0px; + box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #fff; + border-bottom: none; + color: #222f3e; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #222f3e; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(0, 108, 231, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #006ce7; + color: #006ce7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #006ce7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #0054b4; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #222f3e; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #222f3e; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #222f3e; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #fff; + border-top: none; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #eeeeee; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #eeeeee; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(34, 47, 62, 0.7); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #eeeeee; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #fff; + border-bottom: none; + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.1), 0 8px 8px -4px rgba(34, 47, 62, 0.07); + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid #e3e3e3; + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #fff; + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.2), 0 8px 8px -4px rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 2px 2px -2px rgba(34, 47, 62, 0.2), 0 8px 8px -4px rgba(34, 47, 62, 0.15); +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(34, 47, 62, 0.2); + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #006ce7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #fff; + border-radius: 6px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #fff; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #006ce7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #222f3e; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #222f3e; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #eeeeee; + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 5.5px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #fff; + border-color: #006ce7; + box-shadow: 0 0 0 2px rgba(0, 108, 231, 0.25); + outline: none; +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: #eeeeee; + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(0, 108, 231, 0.5); + border-color: rgba(0, 108, 231, 0.5); +} +.tox .tox-insert-table-picker__label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #fff; + border: 1px solid transparent; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 4px; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 8px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 8px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #fff; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 11px 0 12px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: repeating-linear-gradient(transparent 0px 1px, transparent 1px 39px) center top 39px / 100% calc(100% - 39px) no-repeat; + background-color: #fff; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 5px 1px 6px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn--active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 6px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #e4eeda; + border-color: #d7e6c8; + color: #222f3e; +} +.tox .tox-notification--success p { + color: #222f3e; +} +.tox .tox-notification--success a { + color: #517342; +} +.tox .tox-notification--success svg { + fill: #222f3e; +} +.tox .tox-notification--error { + background-color: #f5cccc; + border-color: #f0b3b3; + color: #222f3e; +} +.tox .tox-notification--error p { + color: #222f3e; +} +.tox .tox-notification--error a { + color: #77181f; +} +.tox .tox-notification--error svg { + fill: #222f3e; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #fff5cc; + border-color: #fff0b3; + color: #222f3e; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #222f3e; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #7a6e25; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #222f3e; +} +.tox .tox-notification--info { + background-color: #d6e7fb; + border-color: #c1dbf9; + color: #222f3e; +} +.tox .tox-notification--info p { + color: #222f3e; +} +.tox .tox-notification--info a { + color: #2a64a6; +} +.tox .tox-notification--info svg { + fill: #222f3e; +} +.tox .tox-notification__body { + align-self: center; + color: #222f3e; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #fff; + border: 1px solid #eeeeee; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #fff transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #eeeeee transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #fff transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #eeeeee transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #fff transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #eeeeee transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #fff; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #eeeeee; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #fff; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #eeeeee; + border-radius: 6px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #006ce7; + border: 2px solid #0054b4; + border-radius: 6px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(34, 47, 62, 0.7); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #fff; + border-top: 1px solid #e3e3e3; + color: rgba(34, 47, 62, 0.7); + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-weight: normal; + height: 25px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: none; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: rgba(34, 47, 62, 0.7); + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #222f3e; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(34, 47, 62, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #222f3e; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #dee0e2; + border-radius: 1px 1px 5px 1px; + box-shadow: 0 0 0 2px #dee0e2; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 28px; + justify-content: center; + margin: 6px 1px 5px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #222f3e; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #cce2fa; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #cce2fa; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:hover svg { + fill: #222f3e; +} +.tox .tox-tbtn:active { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:active svg { + fill: #222f3e; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #a6ccf7; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #222f3e; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 42px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 56px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 6px 1px 5px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--bespoke { + background: #f7f7f7; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 4px; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 6px 1px 5px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #cce2fa inset; +} +.tox .tox-split-button:focus { + background: #cce2fa; + box-shadow: none; + color: #222f3e; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #fff; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #fff; + background-image: repeating-linear-gradient(#e3e3e3 0px 1px, transparent 1px 39px); + background-position: center top 40px; + background-repeat: no-repeat; + background-size: calc(100% - 11px * 2) calc(100% - 41px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 11px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid transparent; + margin-top: -1px; + padding-bottom: 1px; + padding-top: 1px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #fff; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 6px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 11px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 11px 0 12px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid transparent; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid transparent; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #222f3e; + border-radius: 6px; + box-shadow: 0 2px 4px rgba(34, 47, 62, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #222f3e; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #222f3e; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #222f3e; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #222f3e; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #eeeeee; + border-radius: 6px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #eeeeee; + border-radius: 6px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} diff --git a/tinymce/skins/ui/oxide/skin.css.br b/tinymce/skins/ui/oxide/skin.css.br new file mode 100644 index 000000000..3c3ddeed8 Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.css.br differ diff --git a/tinymce/skins/ui/oxide/skin.css.gz b/tinymce/skins/ui/oxide/skin.css.gz new file mode 100644 index 000000000..ab689160e Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.css.gz differ diff --git a/tinymce/skins/ui/oxide/skin.min.css b/tinymce/skins/ui/oxide/skin.min.css new file mode 100755 index 000000000..38c907ce3 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.min.css @@ -0,0 +1,771 @@ +.tox { box-shadow: none; box-sizing: content-box; color: #222f3e; cursor: auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-style: normal; font-weight: 400; line-height: normal; -webkit-tap-highlight-color: transparent; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: initial; white-space: normal; } +.tox :not(svg, rect) { box-sizing: inherit; color: inherit; cursor: inherit; direction: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; -webkit-tap-highlight-color: inherit; text-align: inherit; text-decoration: inherit; text-shadow: inherit; text-transform: inherit; vertical-align: inherit; white-space: inherit; } +.tox :not(svg, rect) { background: 0 0; border: 0; box-shadow: none; float: none; height: auto; margin: 0; max-width: none; outline: 0; padding: 0; position: static; width: auto; } +.tox:not([dir="rtl"]) { direction: ltr; text-align: left; } +.tox[dir="rtl"] { direction: rtl; text-align: right; } +.tox-tinymce { border: 2px solid #eee; border-radius: 10px; box-shadow: none; box-sizing: border-box; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; overflow: hidden; position: relative; visibility: inherit !important; } +.tox.tox-tinymce-inline { border: none; box-shadow: none; overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-container { overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-header { background-color: #fff; border: 2px solid #eee; border-radius: 10px; box-shadow: none; overflow: hidden; } +.tox-tinymce-aux { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; z-index: 1300; } + +.tox-tinymce :focus, +.tox-tinymce-aux :focus { outline: 0; } +button::-moz-focus-inner { border: 0; } +.tox[dir="rtl"] .tox-icon--flip svg { transform: rotateY(180deg); } +.tox .accessibility-issue__header { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description { align-items: stretch; border: 1px solid #eee; border-radius: 6px; display: flex; justify-content: space-between; } +.tox .accessibility-issue__description > div { padding-bottom: 4px; } +.tox .accessibility-issue__description > div > div { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description > :last-child:not(:only-child) { border-color: #eee; border-style: solid; } +.tox .accessibility-issue__repair { margin-top: 16px; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { background-color: rgb(0 108 231 / 10%); border-color: #006ce7; color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > :last-child { border-color: #006ce7; } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { color: #006ce7; } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { fill: #006ce7; } +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { color: #006ce7; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { background-color: rgb(255 165 0 / 10%); border-color: rgb(255 165 0 / 50%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 50%); } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { color: #cc8500; } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { fill: #cc8500; } +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { color: #cc8500; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { background-color: rgb(204 0 0 / 10%); border-color: rgb(204 0 0 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 40%); } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { color: #c00; } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { fill: #c00; } +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { color: #c00; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { background-color: rgb(120 171 70 / 10%); border-color: rgb(120 171 70 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 40%); } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { color: #78ab46; } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { fill: #78ab46; } +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { color: #78ab46; } + +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { margin-top: 0; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-left: auto; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description { padding: 4px 4px 4px 8px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description > :last-child { border-left-width: 1px; padding-left: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-right: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-right: auto; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description { padding: 4px 8px 4px 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description > :last-child { border-right-width: 1px; padding-right: 4px; } +.tox .tox-anchorbar { display: flex; flex: 0 0 auto; } +.tox .tox-bar { display: flex; flex: 0 0 auto; } +.tox .tox-button { background-color: #006ce7; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #006ce7; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; line-height: 24px; margin: 0; outline: 0; padding: 4px 16px; position: relative; text-align: center; text-decoration: none; text-transform: none; white-space: nowrap; } +.tox .tox-button::before { border-radius: 6px; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #006ce7, 0 0 0 3px rgb(0 108 231 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #006ce7; background-image: none; border-color: #006ce7; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-button:focus:not(:disabled) { background-color: #0060ce; background-image: none; border-color: #0060ce; box-shadow: none; color: #fff; } +.tox .tox-button:focus-visible:not(:disabled)::before { opacity: 1; } +.tox .tox-button:hover:not(:disabled) { background-color: #0060ce; background-image: none; border-color: #0060ce; box-shadow: none; color: #fff; } +.tox .tox-button:active:not(:disabled) { background-color: #0054b4; background-image: none; border-color: #0054b4; box-shadow: none; color: #fff; } +.tox .tox-button--secondary { background-color: #f0f0f0; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #f0f0f0; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; color: #222f3e; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; outline: 0; padding: 4px 16px; text-decoration: none; text-transform: none; } +.tox .tox-button--secondary[disabled] { background-color: #f0f0f0; background-image: none; border-color: #f0f0f0; box-shadow: none; color: rgb(34 47 62 / 50%); } +.tox .tox-button--secondary:focus:not(:disabled) { background-color: #e3e3e3; background-image: none; border-color: #e3e3e3; box-shadow: none; color: #222f3e; } +.tox .tox-button--secondary:hover:not(:disabled) { background-color: #e3e3e3; background-image: none; border-color: #e3e3e3; box-shadow: none; color: #222f3e; } +.tox .tox-button--secondary:active:not(:disabled) { background-color: #d6d6d6; background-image: none; border-color: #d6d6d6; box-shadow: none; color: #222f3e; } + +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { padding: 4px; } + +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { display: block; fill: currentcolor; } +.tox .tox-button-link { background: 0; border: none; box-sizing: border-box; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.3; margin: 0; padding: 0; white-space: nowrap; } +.tox .tox-button-link--sm { font-size: 14px; } +.tox .tox-button--naked { background-color: transparent; border-color: transparent; box-shadow: unset; color: #222f3e; } +.tox .tox-button--naked[disabled] { background-color: rgb(34 47 62 / 12%); border-color: transparent; box-shadow: unset; color: rgb(34 47 62 / 50%); } +.tox .tox-button--naked:hover:not(:disabled) { background-color: rgb(34 47 62 / 12%); border-color: transparent; box-shadow: unset; color: #222f3e; } +.tox .tox-button--naked:focus:not(:disabled) { background-color: rgb(34 47 62 / 12%); border-color: transparent; box-shadow: unset; color: #222f3e; } +.tox .tox-button--naked:active:not(:disabled) { background-color: rgb(34 47 62 / 18%); border-color: transparent; box-shadow: unset; color: #222f3e; } +.tox .tox-button--naked .tox-icon svg { fill: currentcolor; } +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { color: #222f3e; } +.tox .tox-checkbox { align-items: center; border-radius: 6px; cursor: pointer; display: flex; height: 36px; min-width: 36px; } +.tox .tox-checkbox__input { height: 1px; overflow: hidden; position: absolute; top: auto; width: 1px; } +.tox .tox-checkbox__icons { align-items: center; border-radius: 6px; box-shadow: 0 0 0 2px transparent; box-sizing: content-box; display: flex; height: 24px; justify-content: center; padding: calc(4px - 1px); width: 24px; } +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: block; fill: rgb(34 47 62 / 30%); } +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: none; fill: #006ce7; } +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: none; fill: #006ce7; } +.tox .tox-checkbox--disabled { color: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(34 47 62 / 50%); } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: block; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: block; } +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { border-radius: 6px; box-shadow: inset 0 0 0 1px #006ce7; padding: calc(4px - 1px); } +.tox:not([dir="rtl"]) .tox-checkbox__label { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-checkbox__input { left: -10000px; } +.tox:not([dir="rtl"]) .tox-bar .tox-checkbox { margin-left: 4px; } +.tox[dir="rtl"] .tox-checkbox__label { margin-right: 4px; } +.tox[dir="rtl"] .tox-checkbox__input { right: -10000px; } +.tox[dir="rtl"] .tox-bar .tox-checkbox { margin-right: 4px; } +.tox .tox-collection--toolbar .tox-collection__group { display: flex; padding: 0; } +.tox .tox-collection--grid .tox-collection__group { display: flex; flex-wrap: wrap; max-height: 208px; overflow-x: hidden; overflow-y: auto; padding: 0; } +.tox .tox-collection--list .tox-collection__group { border-width: 1px 0 0; border-color: #e3e3e3; border-style: solid; padding: 4px 0; } +.tox .tox-collection--list .tox-collection__group:first-child { border-top-width: 0; } +.tox .tox-collection__group-heading { background-color: #fcfcfc; color: rgb(34 47 62 / 70%); cursor: default; font-size: 12px; font-style: normal; font-weight: 400; margin-bottom: 4px; margin-top: -4px; padding: 4px 8px; text-transform: none; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #222f3e; display: flex; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection--list .tox-collection__item { padding: 4px 8px; } +.tox .tox-collection--toolbar .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--grid .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--list .tox-collection__item--enabled { background-color: #fff; color: #222f3e; } +.tox .tox-collection--list .tox-collection__item--active { background-color: #cce2fa; } +.tox .tox-collection--toolbar .tox-collection__item--enabled { background-color: #a6ccf7; color: #222f3e; } +.tox .tox-collection--toolbar .tox-collection__item--active { background-color: #cce2fa; } +.tox .tox-collection--grid .tox-collection__item--enabled { background-color: #a6ccf7; color: #222f3e; } +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { background-color: #cce2fa; color: #222f3e; } +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #222f3e; } +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #222f3e; } + +.tox .tox-collection__item-checkmark, +.tox .tox-collection__item-icon { align-items: center; display: flex; height: 24px; justify-content: center; width: 24px; } + +.tox .tox-collection__item-checkmark svg, +.tox .tox-collection__item-icon svg { fill: currentcolor; } +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { height: 48px; width: 48px; } +.tox .tox-collection__item-label { color: currentcolor; display: inline-block; flex: 1; font-size: 14px; font-style: normal; font-weight: 400; line-height: 24px; text-transform: none; word-break: break-all; } +.tox .tox-collection__item-accessory { color: rgb(34 47 62 / 70%); display: inline-block; font-size: 14px; height: 24px; line-height: 24px; text-transform: none; } +.tox .tox-collection__item-caret { align-items: center; display: flex; min-height: 24px; } +.tox .tox-collection__item-caret::after { content: ""; font-size: 0; min-height: inherit; } +.tox .tox-collection__item-caret svg { fill: #222f3e; } +.tox .tox-collection__item--state-disabled { background-color: transparent; color: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { display: none; } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { display: none; } +.tox .tox-collection--horizontal { background-color: #fff; border: 1px solid #e3e3e3; border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: nowrap; margin-bottom: 0; overflow-x: auto; padding: 0; } +.tox .tox-collection--horizontal .tox-collection__group { align-items: center; display: flex; flex-wrap: nowrap; margin: 0; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item { height: 28px; margin: 6px 1px 5px 0; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item-label { white-space: nowrap; } +.tox .tox-collection--horizontal .tox-collection__item-caret { margin-left: 4px; } +.tox .tox-collection__item-container { display: flex; } +.tox .tox-collection__item-container--row { align-items: center; flex: 1 1 auto; flex-direction: row; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { margin-right: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { justify-content: flex-end; margin-left: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { align-items: flex-start; margin-bottom: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { align-items: center; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { align-items: flex-end; margin-top: auto; } +.tox .tox-collection__item-container--column { align-self: center; flex: 1 1 auto; flex-direction: column; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { align-items: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { align-items: flex-end; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { align-self: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { align-self: center; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { align-self: flex-end; } +.tox:not([dir="rtl"]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-right: 1px solid transparent; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > :not(:first-child) { margin-left: 8px; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-collection__item-accessory { margin-left: 16px; text-align: right; } +.tox:not([dir="rtl"]) .tox-collection .tox-collection__item-caret { margin-left: 16px; } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-left: 1px solid transparent; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > :not(:first-child) { margin-right: 8px; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-right: 4px; } +.tox[dir="rtl"] .tox-collection__item-accessory { margin-right: 16px; text-align: left; } +.tox[dir="rtl"] .tox-collection .tox-collection__item-caret { margin-right: 16px; transform: rotateY(180deg); } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__item-caret { margin-right: 4px; } +.tox .tox-color-picker-container { display: flex; flex-direction: row; height: 225px; margin: 0; } +.tox .tox-sv-palette { box-sizing: border-box; display: flex; height: 100%; } +.tox .tox-sv-palette-spectrum { height: 100%; } + +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { width: 225px; } +.tox .tox-sv-palette-thumb { background: 0 0; border: 1px solid #000; border-radius: 50%; box-sizing: content-box; height: 12px; position: absolute; width: 12px; } +.tox .tox-sv-palette-inner-thumb { border: 1px solid #fff; border-radius: 50%; height: 10px; position: absolute; width: 10px; } +.tox .tox-hue-slider { box-sizing: border-box; height: 100%; width: 25px; } +.tox .tox-hue-slider-spectrum { background: linear-gradient(to bottom, red, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, red); height: 100%; width: 100%; } + +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { width: 20px; } +.tox .tox-hue-slider-thumb { background: #fff; border: 1px solid #000; box-sizing: content-box; height: 4px; width: 100%; } +.tox .tox-rgb-form { display: flex; flex-direction: column; justify-content: space-between; } +.tox .tox-rgb-form div { align-items: center; display: flex; justify-content: space-between; margin-bottom: 5px; width: inherit; } +.tox .tox-rgb-form input { width: 6em; } +.tox .tox-rgb-form input.tox-invalid { border: 1px solid red !important; } +.tox .tox-rgb-form .tox-rgba-preview { border: 1px solid #000; flex-grow: 2; margin-bottom: 0; } +.tox:not([dir="rtl"]) .tox-sv-palette { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider-thumb { margin-left: -1px; } +.tox:not([dir="rtl"]) .tox-rgb-form label { margin-right: 0.5em; } +.tox[dir="rtl"] .tox-sv-palette { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider-thumb { margin-right: -1px; } +.tox[dir="rtl"] .tox-rgb-form label { margin-left: 0.5em; } + +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches { margin: 5px 0 6px 11px; } +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { border: 0; margin: -4px; } +.tox .tox-swatches__row { display: flex; } +.tox .tox-swatch { height: 30px; transition: transform 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) inset; transform: scale(0.8); } +.tox .tox-swatch--remove { align-items: center; display: flex; justify-content: center; } +.tox .tox-swatch--remove svg path { stroke: #e74c3c; } +.tox .tox-swatches__picker-btn { align-items: center; background-color: transparent; border: 0; cursor: pointer; display: flex; height: 30px; justify-content: center; outline: 0; padding: 0; width: 30px; } +.tox .tox-swatches__picker-btn svg { fill: #222f3e; height: 24px; width: 24px; } +.tox .tox-swatches__picker-btn:hover { background: #cce2fa; } +.tox:not([dir="rtl"]) .tox-swatches__picker-btn { margin-left: auto; } +.tox[dir="rtl"] .tox-swatches__picker-btn { margin-right: auto; } +.tox .tox-comment-thread { background: #fff; position: relative; } +.tox .tox-comment-thread > :not(:first-child) { margin-top: 8px; } +.tox .tox-comment { background: #fff; border: 1px solid #eee; border-radius: 6px; box-shadow: 0 4px 8px 0 rgb(34 47 62 / 10%); padding: 8px 8px 16px; position: relative; } +.tox .tox-comment__header { align-items: center; color: #222f3e; display: flex; justify-content: space-between; } +.tox .tox-comment__date { color: #222f3e; font-size: 12px; line-height: 18px; } +.tox .tox-comment__body { color: #222f3e; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; margin-top: 8px; position: relative; text-transform: initial; } +.tox .tox-comment__body textarea { resize: none; white-space: normal; width: 100%; } +.tox .tox-comment__expander { padding-top: 8px; } +.tox .tox-comment__expander p { color: rgb(34 47 62 / 70%); font-size: 14px; font-style: normal; } +.tox .tox-comment__body p { margin: 0; } +.tox .tox-comment__buttonspacing { padding-top: 16px; text-align: center; } +.tox .tox-comment-thread__overlay::after { background: #fff; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; z-index: 5; } +.tox .tox-comment__reply { display: flex; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; } +.tox .tox-comment__reply > :first-child { margin-bottom: 8px; width: 100%; } +.tox .tox-comment__edit { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; } +.tox .tox-comment__gradient::after { background: linear-gradient(rgb(255 255 255 / 0%), #fff); bottom: 0; content: ""; display: block; height: 5em; margin-top: -40px; position: absolute; width: 100%; } +.tox .tox-comment__overlay { background: #fff; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; z-index: 5; } +.tox .tox-comment__loading-text { align-items: center; color: #222f3e; display: flex; flex-direction: column; position: relative; } +.tox .tox-comment__loading-text > div { padding-bottom: 16px; } +.tox .tox-comment__overlaytext { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; z-index: 10; } +.tox .tox-comment__overlaytext p { background-color: #fff; box-shadow: 0 0 8px 8px #fff; color: #222f3e; text-align: center; } +.tox .tox-comment__overlaytext div:nth-of-type(2) { font-size: 0.8em; } +.tox .tox-comment__busy-spinner { align-items: center; background-color: #fff; inset: 0; display: flex; justify-content: center; position: absolute; z-index: 20; } +.tox .tox-comment__scroll { display: flex; flex-direction: column; flex-shrink: 1; overflow: auto; } +.tox .tox-conversations { margin: 8px; } +.tox:not([dir="rtl"]) .tox-comment__edit { margin-left: 8px; } + +.tox:not([dir="rtl"]) .tox-comment__buttonspacing > :last-child, +.tox:not([dir="rtl"]) .tox-comment__edit > :last-child, +.tox:not([dir="rtl"]) .tox-comment__reply > :last-child { margin-left: 8px; } +.tox[dir="rtl"] .tox-comment__edit { margin-right: 8px; } + +.tox[dir="rtl"] .tox-comment__buttonspacing > :last-child, +.tox[dir="rtl"] .tox-comment__edit > :last-child, +.tox[dir="rtl"] .tox-comment__reply > :last-child { margin-right: 8px; } +.tox .tox-user { align-items: center; display: flex; } +.tox .tox-user__avatar svg { fill: rgb(34 47 62 / 70%); } +.tox .tox-user__avatar img { border-radius: 50%; height: 36px; object-fit: cover; vertical-align: middle; width: 36px; } +.tox .tox-user__name { color: #222f3e; font-size: 14px; font-style: normal; font-weight: 700; line-height: 18px; text-transform: none; } + +.tox:not([dir="rtl"]) .tox-user__avatar img, +.tox:not([dir="rtl"]) .tox-user__avatar svg { margin-right: 8px; } +.tox:not([dir="rtl"]) .tox-user__avatar + .tox-user__name { margin-left: 8px; } + +.tox[dir="rtl"] .tox-user__avatar img, +.tox[dir="rtl"] .tox-user__avatar svg { margin-left: 8px; } +.tox[dir="rtl"] .tox-user__avatar + .tox-user__name { margin-right: 8px; } +.tox .tox-dialog-wrap { align-items: center; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(255 255 255 / 75%); inset: 0; position: absolute; z-index: 1; } +.tox .tox-dialog-wrap__backdrop--opaque { background-color: #fff; } +.tox .tox-dialog { background-color: #fff; border-color: #eee; border-radius: 10px; border-style: solid; border-width: 0; box-shadow: 0 16px 16px -10px rgb(34 47 62 / 15%), 0 0 40px 1px rgb(34 47 62 / 15%); display: flex; flex-direction: column; max-height: 100%; max-width: 480px; overflow: hidden; position: relative; width: 95vw; z-index: 2; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog { align-self: flex-start; margin: 8px auto; max-height: calc(100vh - 8px * 2); width: calc(100vw - 16px); } } +.tox .tox-dialog-inline { z-index: 1100; } +.tox .tox-dialog__header { align-items: center; background-color: #fff; border-bottom: none; color: #222f3e; display: flex; font-size: 16px; justify-content: space-between; padding: 8px 16px 0; position: relative; } +.tox .tox-dialog__header .tox-button { z-index: 1; } +.tox .tox-dialog__draghandle { cursor: grab; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tox .tox-dialog__draghandle:active { cursor: grabbing; } +.tox .tox-dialog__dismiss { margin-left: auto; } +.tox .tox-dialog__title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1.3; margin: 0; text-transform: none; } +.tox .tox-dialog__body { color: #222f3e; display: flex; flex: 1; font-size: 16px; font-style: normal; font-weight: 400; line-height: 1.3; min-width: 0; text-align: left; text-transform: none; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body { flex-direction: column; } } +.tox .tox-dialog__body-nav { align-items: flex-start; display: flex; flex-direction: column; padding: 16px; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { flex-direction: row; -webkit-overflow-scrolling: touch; overflow-x: auto; padding-bottom: 0; } } +.tox .tox-dialog__body-nav-item { border-bottom: 2px solid transparent; color: rgb(34 47 62 / 70%); display: inline-block; font-size: 14px; line-height: 1.3; margin-bottom: 8px; text-decoration: none; white-space: nowrap; } +.tox .tox-dialog__body-nav-item:focus { background-color: rgb(0 108 231 / 10%); } +.tox .tox-dialog__body-nav-item--active { border-bottom: 2px solid #006ce7; color: #006ce7; } +.tox .tox-dialog__body-content { box-sizing: border-box; display: flex; flex: 1; flex-direction: column; max-height: 650px; overflow: auto; -webkit-overflow-scrolling: touch; padding: 16px; } +.tox .tox-dialog__body-content > * { margin-bottom: 0; margin-top: 16px; } +.tox .tox-dialog__body-content > :first-child { margin-top: 0; } +.tox .tox-dialog__body-content > :last-child { margin-bottom: 0; } +.tox .tox-dialog__body-content > :only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog__body-content a { color: #006ce7; cursor: pointer; text-decoration: none; } + +.tox .tox-dialog__body-content a:focus, +.tox .tox-dialog__body-content a:hover { color: #0054b4; text-decoration: none; } +.tox .tox-dialog__body-content a:active { color: #0054b4; text-decoration: none; } +.tox .tox-dialog__body-content svg { fill: #222f3e; } +.tox .tox-dialog__body-content ul { display: block; list-style-type: disc; margin-bottom: 16px; margin-inline-end: 0; margin-inline-start: 0; padding-inline-start: 2.5rem; } +.tox .tox-dialog__body-content .tox-form__group h1 { color: #222f3e; font-size: 20px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group h2 { color: #222f3e; font-size: 16px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group p { margin-bottom: 16px; } + +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { margin-top: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { margin-bottom: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog--width-lg { height: 650px; max-width: 1200px; } +.tox .tox-dialog--width-md { max-width: 800px; } +.tox .tox-dialog--width-md .tox-dialog__body-content { overflow: auto; } +.tox .tox-dialog__body-content--centered { text-align: center; } +.tox .tox-dialog__footer { align-items: center; background-color: #fff; border-top: none; display: flex; justify-content: space-between; padding: 8px 16px; } + +.tox .tox-dialog__footer-end, +.tox .tox-dialog__footer-start { display: flex; } +.tox .tox-dialog__busy-spinner { align-items: center; background-color: rgb(255 255 255 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; z-index: 3; } +.tox .tox-dialog__table { border-collapse: collapse; width: 100%; } +.tox .tox-dialog__table thead th { font-weight: 700; padding-bottom: 8px; } +.tox .tox-dialog__table tbody tr { border-bottom: 1px solid #eee; } +.tox .tox-dialog__table tbody tr:last-child { border-bottom: none; } +.tox .tox-dialog__table td { padding-bottom: 8px; padding-top: 8px; } +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { background: #fff; } +.tox .tox-dialog__popups { position: absolute; width: 100%; z-index: 1100; } +.tox .tox-dialog__body-iframe { display: flex; flex: 1; flex-direction: column; } +.tox .tox-dialog__body-iframe .tox-navobj { display: flex; flex: 1; } +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox .tox-dialog-dock-fadeout { opacity: 0; visibility: hidden; } +.tox .tox-dialog-dock-fadein { opacity: 1; visibility: visible; } +.tox .tox-dialog-dock-transition { transition: visibility 0s linear 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav-item:not(:first-child) { margin-left: 8px; } } + +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-end > *, +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-start > * { margin-left: 8px; } +.tox[dir="rtl"] .tox-dialog__body { text-align: right; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav-item:not(:first-child) { margin-right: 8px; } } + +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-end > *, +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-start > * { margin-right: 8px; } +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox .tox-dropzone-container { display: flex; flex: 1; } +.tox .tox-dropzone { align-items: center; background: #fff; border: 2px dashed #eee; box-sizing: border-box; display: flex; flex-direction: column; flex-grow: 1; justify-content: center; min-height: 100px; padding: 10px; } +.tox .tox-dropzone p { color: rgb(34 47 62 / 70%); margin: 0 0 16px; } +.tox .tox-edit-area { display: flex; flex: 1; overflow: hidden; position: relative; } +.tox .tox-edit-area__iframe { background-color: #fff; border: 0; box-sizing: border-box; flex: 1; height: 100%; position: absolute; width: 100%; } +.tox.tox-inline-edit-area { border: 1px dotted #eee; } +.tox .tox-editor-container { display: flex; flex: 1 1 auto; flex-direction: column; overflow: hidden; } +.tox .tox-editor-header { display: grid; grid-template-columns: 1fr min-content; z-index: 1; } +.tox:not(.tox-tinymce-inline) .tox-editor-header { background-color: #fff; border-bottom: none; box-shadow: 0 2px 2px -2px rgb(34 47 62 / 10%), 0 8px 8px -4px rgb(34 47 62 / 7%); padding: 4px 0; transition: box-shadow 0.5s; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { border-top: 1px solid #e3e3e3; box-shadow: none; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { background-color: #fff; box-shadow: 0 2px 2px -2px rgb(34 47 62 / 20%), 0 8px 8px -4px rgb(34 47 62 / 15%); padding: 4px 0; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { box-shadow: 0 2px 2px -2px rgb(34 47 62 / 20%), 0 8px 8px -4px rgb(34 47 62 / 15%); } +.tox-editor-dock-fadeout { opacity: 0; visibility: hidden; } +.tox-editor-dock-fadein { opacity: 1; visibility: visible; } +.tox-editor-dock-transition { transition: visibility 0s linear 0.25s, opacity 0.25s ease; } +.tox-editor-dock-transition.tox-editor-dock-fadein { transition-delay: 0s; } +.tox .tox-control-wrap { flex: 1; position: relative; } + +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { display: none; } +.tox .tox-control-wrap svg { display: block; } +.tox .tox-control-wrap__status-icon-wrap { position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-control-wrap__status-icon-invalid svg { fill: #c00; } +.tox .tox-control-wrap__status-icon-unknown svg { fill: orange; } +.tox .tox-control-wrap__status-icon-valid svg { fill: green; } + +.tox:not([dir="rtl"]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-valid .tox-textfield { padding-right: 32px; } +.tox:not([dir="rtl"]) .tox-control-wrap__status-icon-wrap { right: 4px; } + +.tox[dir="rtl"] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-valid .tox-textfield { padding-left: 32px; } +.tox[dir="rtl"] .tox-control-wrap__status-icon-wrap { left: 4px; } +.tox .tox-autocompleter { max-width: 25em; } +.tox .tox-autocompleter .tox-menu { box-sizing: border-box; max-width: 25em; } +.tox .tox-autocompleter .tox-autocompleter-highlight { font-weight: 700; } +.tox .tox-color-input { display: flex; position: relative; z-index: 1; } +.tox .tox-color-input .tox-textfield { z-index: -1; } +.tox .tox-color-input span { border-color: rgb(34 47 62 / 20%); border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; height: 24px; position: absolute; top: 6px; width: 24px; } + +.tox .tox-color-input span:focus:not([aria-disabled="true"]), +.tox .tox-color-input span:hover:not([aria-disabled="true"]) { border-color: #006ce7; cursor: pointer; } +.tox .tox-color-input span::before { background-image: linear-gradient(45deg, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(0 0 0 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(0 0 0 / 25%) 75%); background-position: 0 0, 0 6px, 6px -6px, -6px 0; background-size: 12px 12px; border: 1px solid #fff; border-radius: 6px; box-sizing: border-box; content: ""; height: 24px; left: -1px; position: absolute; top: -1px; width: 24px; z-index: -1; } +.tox .tox-color-input span[aria-disabled="true"] { cursor: not-allowed; } +.tox:not([dir="rtl"]) .tox-color-input .tox-textfield { padding-left: 36px; } +.tox:not([dir="rtl"]) .tox-color-input span { left: 6px; } +.tox[dir="rtl"] .tox-color-input .tox-textfield { padding-right: 36px; } +.tox[dir="rtl"] .tox-color-input span { right: 6px; } + +.tox .tox-label, +.tox .tox-toolbar-label { color: rgb(34 47 62 / 70%); display: block; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; padding: 0 8px 0 0; text-transform: none; white-space: nowrap; } +.tox .tox-toolbar-label { padding: 0 8px; } +.tox[dir="rtl"] .tox-label { padding: 0 0 0 8px; } +.tox .tox-form { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group { box-sizing: border-box; margin-bottom: 4px; } +.tox .tox-form-group--maximize { flex: 1; } +.tox .tox-form__group--error { color: #c00; } +.tox .tox-form__group--collection { display: flex; } +.tox .tox-form__grid { display: flex; flex-flow: row wrap; justify-content: space-between; } +.tox .tox-form__grid--2col > .tox-form__group { width: calc(50% - (8px / 2)); } +.tox .tox-form__grid--3col > .tox-form__group { width: calc(100% / 3 - (8px / 2)); } +.tox .tox-form__grid--4col > .tox-form__group { width: calc(25% - (8px / 2)); } +.tox .tox-form__controls-h-stack { align-items: center; display: flex; } +.tox .tox-form__group--inline { align-items: center; display: flex; } +.tox .tox-form__group--stretched { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group--stretched .tox-textarea { flex: 1; } +.tox .tox-form__group--stretched .tox-navobj { display: flex; flex: 1; } +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox:not([dir="rtl"]) .tox-form__controls-h-stack > :not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-form__controls-h-stack > :not(:first-child) { margin-right: 4px; } + +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { display: none; } + +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea, +.tox .tox-textfield, +.tox .tox-toolbar-textfield { appearance: none; appearance: none; appearance: none; background-color: #fff; border-color: #eee; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #222f3e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 5.5px; resize: none; width: 100%; } + +.tox .tox-textarea[disabled], +.tox .tox-textfield[disabled] { background-color: #f2f2f2; color: rgb(34 47 62 / 85%); cursor: not-allowed; } + +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus, +.tox .tox-textfield:focus { background-color: #fff; border-color: #006ce7; box-shadow: 0 0 0 2px rgb(0 108 231 / 25%); outline: 0; } +.tox .tox-toolbar-textfield { border-width: 0; margin-bottom: 3px; margin-top: 2px; max-width: 250px; } +.tox .tox-naked-btn { background-color: transparent; border: 0; border-color: transparent; box-shadow: unset; color: #006ce7; cursor: pointer; display: block; margin: 0; padding: 0; } +.tox .tox-naked-btn svg { display: block; fill: #222f3e; } +.tox:not([dir="rtl"]) .tox-toolbar-textfield + * { margin-left: 4px; } +.tox[dir="rtl"] .tox-toolbar-textfield + * { margin-right: 4px; } +.tox .tox-listboxfield { cursor: pointer; position: relative; } +.tox .tox-listboxfield .tox-listbox--select[disabled] { background-color: #f2f2f2; color: rgb(34 47 62 / 85%); cursor: not-allowed; } +.tox .tox-listbox__select-label { cursor: default; flex: 1; margin: 0 4px; } +.tox .tox-listbox__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-listbox__select-chevron svg { fill: #222f3e; } +.tox .tox-listboxfield .tox-listbox--select { align-items: center; display: flex; } +.tox:not([dir="rtl"]) .tox-listboxfield svg { right: 8px; } +.tox[dir="rtl"] .tox-listboxfield svg { left: 8px; } +.tox .tox-selectfield { cursor: pointer; position: relative; } +.tox .tox-selectfield select { appearance: none; appearance: none; appearance: none; background-color: #fff; border-color: #eee; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #222f3e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 5.5px; resize: none; width: 100%; } +.tox .tox-selectfield select[disabled] { background-color: #f2f2f2; color: rgb(34 47 62 / 85%); cursor: not-allowed; } +.tox .tox-selectfield select::-ms-expand { display: none; } +.tox .tox-selectfield select:focus { background-color: #fff; border-color: #006ce7; box-shadow: 0 0 0 2px rgb(0 108 231 / 25%); outline: 0; } +.tox .tox-selectfield svg { pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); } + +.tox:not([dir="rtl"]) .tox-selectfield select[size="0"], +.tox:not([dir="rtl"]) .tox-selectfield select[size="1"] { padding-right: 24px; } +.tox:not([dir="rtl"]) .tox-selectfield svg { right: 8px; } + +.tox[dir="rtl"] .tox-selectfield select[size="0"], +.tox[dir="rtl"] .tox-selectfield select[size="1"] { padding-left: 24px; } +.tox[dir="rtl"] .tox-selectfield svg { left: 8px; } +.tox .tox-textarea { appearance: textarea; appearance: textarea; appearance: textarea; white-space: pre-wrap; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } +.tox .tox-help__more-link { list-style: none; margin-top: 1em; } +.tox .tox-imagepreview { background-color: #666; height: 380px; overflow: hidden; position: relative; width: 100%; } +.tox .tox-imagepreview.tox-imagepreview__loaded { overflow: auto; } +.tox .tox-imagepreview__container { display: flex; left: 100vw; position: absolute; top: 100vw; } +.tox .tox-imagepreview__image { background: url("data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw=="); } +.tox .tox-image-tools .tox-spacer { flex: 1; } +.tox .tox-image-tools .tox-bar { align-items: center; display: flex; height: 60px; justify-content: center; } + +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { margin-top: 8px; } +.tox .tox-image-tools .tox-croprect-block { background: #000; opacity: 0.5; position: absolute; zoom: 1; } +.tox .tox-image-tools .tox-croprect-handle { border: 2px solid #fff; height: 20px; left: 0; position: absolute; top: 0; width: 20px; } +.tox .tox-image-tools .tox-croprect-handle-move { border: 0; cursor: move; position: absolute; } +.tox .tox-image-tools .tox-croprect-handle-nw { border-width: 2px 0 0 2px; cursor: nw-resize; left: 100px; margin: -2px 0 0 -2px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-ne { border-width: 2px 2px 0 0; cursor: ne-resize; left: 200px; margin: -2px 0 0 -20px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-sw { border-width: 0 0 2px 2px; cursor: sw-resize; left: 100px; margin: -20px 2px 0 -2px; top: 200px; } +.tox .tox-image-tools .tox-croprect-handle-se { border-width: 0 2px 2px 0; cursor: se-resize; left: 200px; margin: -20px 0 0 -20px; top: 200px; } +.tox .tox-insert-table-picker { display: flex; flex-wrap: wrap; width: 170px; } +.tox .tox-insert-table-picker > div { border-color: #eee; border-style: solid; border-width: 0 1px 1px 0; box-sizing: border-box; height: 17px; width: 17px; } +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { margin: -4px; } +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { background-color: rgb(0 108 231 / 50%); border-color: rgb(0 108 231 / 50%); } +.tox .tox-insert-table-picker__label { color: rgb(34 47 62 / 70%); display: block; font-size: 14px; padding: 4px; text-align: center; width: 100%; } +.tox:not([dir="rtl"]) .tox-insert-table-picker > div:nth-child(10n) { border-right: 0; } +.tox[dir="rtl"] .tox-insert-table-picker > div:nth-child(10n+1) { border-right: 0; } +.tox .tox-menu { background-color: #fff; border: 1px solid transparent; border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); display: inline-block; overflow: hidden; vertical-align: top; z-index: 1150; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 0 4px; } +.tox .tox-menu.tox-collection.tox-collection--toolbar { padding: 8px; } +.tox .tox-menu.tox-collection.tox-collection--grid { padding: 8px; } + +@media only screen and (width >= 768px) { .tox .tox-menu .tox-collection__item-label { overflow-wrap: break-word; word-break: normal; } } + +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code, +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p { margin: 0; } +.tox .tox-menubar { background: repeating-linear-gradient(transparent 0 1px, transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat; background-color: #fff; display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; grid-column: 1/-1; grid-row: 1; padding: 0 11px 0 12px; } +.tox .tox-promotion + .tox-menubar { grid-column: 1; } +.tox .tox-promotion { background: repeating-linear-gradient(transparent 0 1px, transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat; background-color: #fff; grid-column: 2; grid-row: 1; padding-inline-end: 8px; padding-inline-start: 4px; padding-top: 5px; } +.tox .tox-promotion-link { align-items: unsafe center; background-color: #e8f1f8; border-radius: 5px; color: #086be6; cursor: pointer; display: flex; font-size: 14px; height: 26.6px; padding: 4px 8px; white-space: nowrap; } +.tox .tox-promotion-link:hover { background-color: #b4d7ff; } +.tox .tox-promotion-link:focus { background-color: #d9edf7; } +.tox .tox-mbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #222f3e; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 28px; justify-content: center; margin: 5px 1px 6px 0; outline: 0; overflow: hidden; padding: 0 4px; text-transform: none; width: auto; } +.tox .tox-mbtn[disabled] { background-color: transparent; border: 0; box-shadow: none; color: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-mbtn:focus:not(:disabled) { background: #cce2fa; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-mbtn--active { background: #a6ccf7; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-mbtn:hover:not(:disabled, .tox-mbtn--active) { background: #cce2fa; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-mbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { cursor: not-allowed; } +.tox .tox-mbtn__select-chevron { align-items: center; justify-content: center; width: 16px; display: none; } +.tox .tox-notification { border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; display: grid; font-size: 14px; font-weight: 400; grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); margin-top: 4px; opacity: 0; padding: 4px; transition: transform 0.1s ease-in, opacity 150ms ease-in; } +.tox .tox-notification p { font-size: 14px; font-weight: 400; } +.tox .tox-notification a { cursor: pointer; text-decoration: underline; } +.tox .tox-notification--in { opacity: 1; } +.tox .tox-notification--success { background-color: #e4eeda; border-color: #d7e6c8; color: #222f3e; } +.tox .tox-notification--success p { color: #222f3e; } +.tox .tox-notification--success a { color: #517342; } +.tox .tox-notification--success svg { fill: #222f3e; } +.tox .tox-notification--error { background-color: #f5cccc; border-color: #f0b3b3; color: #222f3e; } +.tox .tox-notification--error p { color: #222f3e; } +.tox .tox-notification--error a { color: #77181f; } +.tox .tox-notification--error svg { fill: #222f3e; } + +.tox .tox-notification--warn, +.tox .tox-notification--warning { background-color: #fff5cc; border-color: #fff0b3; color: #222f3e; } + +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { color: #222f3e; } + +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { color: #7a6e25; } + +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { fill: #222f3e; } +.tox .tox-notification--info { background-color: #d6e7fb; border-color: #c1dbf9; color: #222f3e; } +.tox .tox-notification--info p { color: #222f3e; } +.tox .tox-notification--info a { color: #2a64a6; } +.tox .tox-notification--info svg { fill: #222f3e; } +.tox .tox-notification__body { align-self: center; color: #222f3e; font-size: 14px; grid-column: 2 3; text-align: center; white-space: normal; word-break: break-all; word-break: break-word; } +.tox .tox-notification__body > * { margin: 0; } +.tox .tox-notification__body > * + * { margin-top: 1rem; } +.tox .tox-notification__icon { align-self: center; grid-column: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; justify-self: center; } +.tox .tox-pop { display: inline-block; position: relative; } +.tox .tox-pop--resizing { transition: width 0.1s ease; } + +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { flex-wrap: nowrap; } +.tox .tox-pop--transition { transition: 0.15s ease; transition-property: left, right, top, bottom; } + +.tox .tox-pop--transition::after, +.tox .tox-pop--transition::before { transition: all 0.15s, visibility 0s, opacity 75ms ease 75ms; } +.tox .tox-pop__dialog { background-color: #fff; border: 1px solid #eee; border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); min-width: 0; overflow: hidden; } +.tox .tox-pop__dialog > :not(.tox-toolbar) { margin: 4px 4px 4px 8px; } +.tox .tox-pop__dialog .tox-toolbar { background-color: transparent; margin-bottom: -1px; } + +.tox .tox-pop::after, +.tox .tox-pop::before { border-style: solid; content: ""; display: block; height: 0; opacity: 1; position: absolute; width: 0; } + +.tox .tox-pop.tox-pop--inset::after, +.tox .tox-pop.tox-pop--inset::before { opacity: 0; transition: all 0s 0.15s, visibility 0s, opacity 75ms ease; } + +.tox .tox-pop.tox-pop--bottom::after, +.tox .tox-pop.tox-pop--bottom::before { left: 50%; top: 100%; } +.tox .tox-pop.tox-pop--bottom::after { border-color: #fff transparent transparent; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #eee transparent transparent; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--top::after, +.tox .tox-pop.tox-pop--top::before { left: 50%; top: 0; transform: translateY(-100%); } +.tox .tox-pop.tox-pop--top::after { border-color: transparent transparent #fff; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #eee; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--left::after, +.tox .tox-pop.tox-pop--left::before { left: 0; top: calc(50% - 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--left::after { border-color: transparent #fff transparent transparent; border-width: 8px; margin-left: -15px; } +.tox .tox-pop.tox-pop--left::before { border-color: transparent #eee transparent transparent; border-width: 10px; margin-left: -19px; } + +.tox .tox-pop.tox-pop--right::after, +.tox .tox-pop.tox-pop--right::before { left: 100%; top: calc(50% + 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--right::after { border-color: transparent transparent transparent #fff; border-width: 8px; margin-left: -1px; } +.tox .tox-pop.tox-pop--right::before { border-color: transparent transparent transparent #eee; border-width: 10px; margin-left: -1px; } + +.tox .tox-pop.tox-pop--align-left::after, +.tox .tox-pop.tox-pop--align-left::before { left: 20px; } + +.tox .tox-pop.tox-pop--align-right::after, +.tox .tox-pop.tox-pop--align-right::before { left: calc(100% - 20px); } +.tox .tox-sidebar-wrap { display: flex; flex-direction: row; flex-grow: 1; min-height: 0; } +.tox .tox-sidebar { background-color: #fff; display: flex; flex-direction: row; justify-content: flex-end; } +.tox .tox-sidebar__slider { display: flex; overflow: hidden; } +.tox .tox-sidebar__pane-container { display: flex; } +.tox .tox-sidebar__pane { display: flex; } +.tox .tox-sidebar--sliding-closed { opacity: 0; } +.tox .tox-sidebar--sliding-open { opacity: 1; } + +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { transition: width 0.5s ease, opacity 0.5s ease; } +.tox .tox-selector { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; display: inline-block; height: 10px; position: absolute; width: 10px; } +.tox.tox-platform-touch .tox-selector { height: 12px; width: 12px; } +.tox .tox-slider { align-items: center; display: flex; flex: 1; height: 24px; justify-content: center; position: relative; } +.tox .tox-slider__rail { background-color: transparent; border: 1px solid #eee; border-radius: 6px; height: 10px; min-width: 120px; width: 100%; } +.tox .tox-slider__handle { background-color: #006ce7; border: 2px solid #0054b4; border-radius: 6px; box-shadow: none; height: 24px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 14px; } +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { margin-inline-start: 8px; } +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { margin-inline-start: 32px; } +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { margin-inline-start: 32px; } +.tox .tox-source-code { overflow: auto; } +.tox .tox-spinner { display: flex; } +.tox .tox-spinner > div { animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; background-color: rgb(34 47 62 / 70%); border-radius: 100%; height: 8px; width: 8px; } +.tox .tox-spinner > div:nth-child(1) { animation-delay: -0.32s; } +.tox .tox-spinner > div:nth-child(2) { animation-delay: -0.16s; } + +@keyframes tam-bouncing-dots { + 0%, +100%, +80% { transform: scale(0); } + 40% { transform: scale(1); } +} +.tox:not([dir="rtl"]) .tox-spinner > div:not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-spinner > div:not(:first-child) { margin-right: 4px; } +.tox .tox-statusbar { align-items: center; background-color: #fff; border-top: 1px solid #e3e3e3; color: rgb(34 47 62 / 70%); display: flex; flex: 0 0 auto; font-size: 14px; font-weight: 400; height: 25px; overflow: hidden; padding: 0 8px; position: relative; text-transform: none; } +.tox .tox-statusbar__text-container { display: flex; flex: 1 1 auto; justify-content: flex-end; overflow: hidden; } +.tox .tox-statusbar__path { display: flex; flex: 1 1 auto; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.tox .tox-statusbar__path > * { display: inline; white-space: nowrap; } +.tox .tox-statusbar__wordcount { flex: 0 0 auto; margin-left: 1ch; } + +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { color: rgb(34 47 62 / 70%); text-decoration: none; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #222f3e; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(34 47 62 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [aria-disabled="true"]) svg { fill: #222f3e; } +.tox .tox-statusbar__resize-handle { align-items: flex-end; align-self: stretch; cursor: nwse-resize; display: flex; flex: 0 0 auto; justify-content: flex-end; margin-left: auto; margin-right: -8px; padding-bottom: 3px; padding-left: 1ch; padding-right: 3px; } +.tox .tox-statusbar__resize-handle svg { display: block; fill: rgb(34 47 62 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #dee0e2; border-radius: 1px 1px 5px; box-shadow: 0 0 0 2px #dee0e2; } +.tox:not([dir="rtl"]) .tox-statusbar__path > * { margin-right: 4px; } +.tox:not([dir="rtl"]) .tox-statusbar__branding { margin-left: 2ch; } +.tox[dir="rtl"] .tox-statusbar { flex-direction: row-reverse; } +.tox[dir="rtl"] .tox-statusbar__path > * { margin-left: 4px; } +.tox .tox-throbber { z-index: 1299; } +.tox .tox-throbber__busy-spinner { align-items: center; background-color: rgb(255 255 255 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.tox .tox-tbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #222f3e; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 28px; justify-content: center; margin: 6px 1px 5px 0; outline: 0; overflow: hidden; padding: 0; text-transform: none; width: 34px; } +.tox .tox-tbtn svg { display: block; fill: #222f3e; } +.tox .tox-tbtn.tox-tbtn-more { padding-left: 5px; padding-right: 5px; width: inherit; } +.tox .tox-tbtn:focus { background: #cce2fa; border: 0; box-shadow: none; } +.tox .tox-tbtn:hover { background: #cce2fa; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-tbtn:hover svg { fill: #222f3e; } +.tox .tox-tbtn:active { background: #a6ccf7; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-tbtn:active svg { fill: #222f3e; } + +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { background: 0 0; border: 0; box-shadow: none; color: rgb(34 47 62 / 50%); cursor: not-allowed; } + +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { fill: rgb(34 47 62 / 50%); } + +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { background: #a6ccf7; border: 0; box-shadow: none; color: #222f3e; } + +.tox .tox-tbtn--enabled:hover > *, +.tox .tox-tbtn--enabled > * { transform: none; } + +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { fill: #222f3e; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { color: #222f3e; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { fill: #222f3e; } +.tox .tox-tbtn:active > * { transform: none; } +.tox .tox-tbtn--md { height: 42px; width: 51px; } +.tox .tox-tbtn--lg { flex-direction: column; height: 56px; width: 68px; } +.tox .tox-tbtn--return { align-self: stretch; height: unset; width: 16px; } +.tox .tox-tbtn--labeled { padding: 0 4px; width: unset; } +.tox .tox-tbtn__vlabel { display: block; font-size: 10px; font-weight: 400; letter-spacing: -0.025em; margin-bottom: 4px; white-space: nowrap; } +.tox .tox-tbtn--select { margin: 6px 1px 5px 0; padding: 0 4px; width: auto; } +.tox .tox-tbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-tbtn__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-tbtn__select-chevron svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-tbtn--bespoke { background: #f7f7f7; } +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { margin-inline-start: 4px; } +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 7em; } +.tox .tox-split-button { border: 0; border-radius: 3px; box-sizing: border-box; display: flex; margin: 6px 1px 5px 0; overflow: hidden; } +.tox .tox-split-button:hover { box-shadow: 0 0 0 1px #cce2fa inset; } +.tox .tox-split-button:focus { background: #cce2fa; box-shadow: none; color: #222f3e; } +.tox .tox-split-button > * { border-radius: 0; } +.tox .tox-split-button__chevron { width: 16px; } +.tox .tox-split-button__chevron svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-split-button .tox-tbtn { margin: 0; } + +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled:hover { background: 0 0; box-shadow: none; color: rgb(34 47 62 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 0; } +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { width: 30px; } +.tox.tox-platform-touch .tox-split-button__chevron { width: 20px; } +.tox .tox-toolbar-overlord { background-color: #fff; } + +.tox .tox-toolbar, +.tox .tox-toolbar__overflow, +.tox .tox-toolbar__primary { background-color: #fff; background-image: repeating-linear-gradient(#e3e3e3 0 1px, transparent 1px 39px); background-position: center top 40px; background-repeat: no-repeat; background-size: calc(100% - 11px * 2) calc(100% - 41px); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; padding: 0; transform: perspective(1px); } + +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow, +.tox .tox-toolbar-overlord > .tox-toolbar__primary { background-position: center top 0; background-size: calc(100% - 11px * 2) calc(100% - 0px); } +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; visibility: hidden; } +.tox .tox-toolbar__overflow--growing { transition: height 0.3s ease, opacity 0.2s linear 0.1s; } +.tox .tox-toolbar__overflow--shrinking { transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; } + +.tox .tox-anchorbar, +.tox .tox-toolbar-overlord { grid-column: 1/-1; } + +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { border-top: 1px solid transparent; margin-top: -1px; padding-bottom: 1px; padding-top: 1px; } +.tox .tox-toolbar--scrolling { flex-wrap: nowrap; overflow-x: auto; } +.tox .tox-pop .tox-toolbar { border-width: 0; } +.tox .tox-toolbar--no-divider { background-image: none; } + +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { background-position: center top 39px; } + +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { background-image: none; } +.tox.tox-tinymce-aux .tox-toolbar__overflow { background-color: #fff; background-position: center top 43px; background-size: calc(100% - 8px * 2) calc(100% - 51px); border: none; border-radius: 6px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); padding: 4px 0; } +.tox-pop .tox-pop__dialog .tox-toolbar { background-position: center top 43px; background-size: calc(100% - 11px * 2) calc(100% - 51px); padding: 4px 0; } +.tox .tox-toolbar__group { align-items: center; display: flex; flex-wrap: wrap; margin: 0; padding: 0 11px 0 12px; } +.tox .tox-toolbar__group--pull-right { margin-left: auto; } +.tox .tox-toolbar--scrolling .tox-toolbar__group { flex-shrink: 0; flex-wrap: nowrap; } +.tox:not([dir="rtl"]) .tox-toolbar__group:not(:last-of-type) { border-right: 1px solid transparent; } +.tox[dir="rtl"] .tox-toolbar__group:not(:last-of-type) { border-left: 1px solid transparent; } +.tox .tox-tooltip { display: inline-block; padding: 8px; position: relative; } +.tox .tox-tooltip__body { background-color: #222f3e; border-radius: 6px; box-shadow: 0 2px 4px rgb(34 47 62 / 30%); color: rgb(255 255 255 / 75%); font-size: 14px; font-style: normal; font-weight: 400; padding: 4px 8px; text-transform: none; } +.tox .tox-tooltip__arrow { position: absolute; } +.tox .tox-tooltip--down .tox-tooltip__arrow { border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #222f3e; bottom: 0; left: 50%; position: absolute; transform: translateX(-50%); } +.tox .tox-tooltip--up .tox-tooltip__arrow { border-bottom: 8px solid #222f3e; border-left: 8px solid transparent; border-right: 8px solid transparent; left: 50%; position: absolute; top: 0; transform: translateX(-50%); } +.tox .tox-tooltip--right .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-left: 8px solid #222f3e; border-top: 8px solid transparent; position: absolute; right: 0; top: 50%; transform: translateY(-50%); } +.tox .tox-tooltip--left .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-right: 8px solid #222f3e; border-top: 8px solid transparent; left: 0; position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-well { border: 1px solid #eee; border-radius: 6px; padding: 8px; width: 100%; } +.tox .tox-well > :first-child { margin-top: 0; } +.tox .tox-well > :last-child { margin-bottom: 0; } +.tox .tox-well > :only-child { margin: 0; } +.tox .tox-custom-editor { border: 1px solid #eee; border-radius: 6px; display: flex; flex: 1; position: relative; } +.tox .tox-dialog-loading::before { background-color: rgb(0 0 0 / 50%); content: ""; height: 100%; position: absolute; width: 100%; z-index: 1000; } +.tox .tox-tab { cursor: pointer; } +.tox .tox-dialog__content-js { display: flex; flex: 1; } +.tox .tox-dialog__body-content .tox-collection { display: flex; flex: 1; } diff --git a/tinymce/skins/ui/oxide/skin.min.css.br b/tinymce/skins/ui/oxide/skin.min.css.br new file mode 100644 index 000000000..dfa1176ef Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.min.css.br differ diff --git a/tinymce/skins/ui/oxide/skin.min.css.gz b/tinymce/skins/ui/oxide/skin.min.css.gz new file mode 100644 index 000000000..429f5ac63 Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.min.css.gz differ diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.css b/tinymce/skins/ui/oxide/skin.shadowdom.css new file mode 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.shadowdom.css @@ -0,0 +1,35 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} + +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} + +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} + +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} + +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.css.br b/tinymce/skins/ui/oxide/skin.shadowdom.css.br new file mode 100644 index 000000000..671b5c9a5 Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.shadowdom.css.br differ diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.css.gz b/tinymce/skins/ui/oxide/skin.shadowdom.css.gz new file mode 100644 index 000000000..36717f9f5 Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.shadowdom.css.gz differ diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.min.css b/tinymce/skins/ui/oxide/skin.shadowdom.min.css new file mode 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/oxide/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.min.css.br b/tinymce/skins/ui/oxide/skin.shadowdom.min.css.br new file mode 100644 index 000000000..276ce6921 Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.shadowdom.min.css.br differ diff --git a/tinymce/skins/ui/oxide/skin.shadowdom.min.css.gz b/tinymce/skins/ui/oxide/skin.shadowdom.min.css.gz new file mode 100644 index 000000000..b368565de Binary files /dev/null and b/tinymce/skins/ui/oxide/skin.shadowdom.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.css b/tinymce/skins/ui/tinymce-5-dark/content.css new file mode 100755 index 000000000..a983cac9a --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.css @@ -0,0 +1,756 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * Dracula Theme originally by Zeno Rocha [@zenorocha] + * https://draculatheme.com/ + * + * Ported for PrismJS by Albert Vallverdu [@byverdu] + */ +code[class*="language-"], +pre[class*="language-"] { + color: #f8f8f2; + background: none; + text-shadow: 0 1px rgba(0, 0, 0, 0.3); + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; + border-radius: 0.3em; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #282a36; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: #6272a4; +} +.token.punctuation { + color: #f8f8f2; +} +.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.constant, +.token.symbol, +.token.deleted { + color: #ff79c6; +} +.token.boolean, +.token.number { + color: #bd93f9; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #50fa7b; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string, +.token.variable { + color: #f8f8f2; +} +.token.atrule, +.token.attr-value, +.token.function, +.token.class-name { + color: #f1fa8c; +} +.token.keyword { + color: #8be9fd; +} +.token.regex, +.token.important { + color: #ffb86c; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.3); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.3); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #4099ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #4099ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #4099ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #4099ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #4099ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #4099ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid transparent; + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: lighten; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #4099ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/content.css.br b/tinymce/skins/ui/tinymce-5-dark/content.css.br new file mode 100644 index 000000000..ebb67b4c1 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.css.gz new file mode 100644 index 000000000..551134cb1 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.css b/tinymce/skins/ui/tinymce-5-dark/content.inline.css new file mode 100755 index 000000000..9bd1e2974 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.css.br b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.br new file mode 100644 index 000000000..9abbc6973 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.gz new file mode 100644 index 000000000..08fe3e7b7 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css new file mode 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css @@ -0,0 +1,310 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #000; background: 0 0; text-shadow: 0 1px #fff; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::selection, +code[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +pre[class*="language-"]::-moz-selection { text-shadow: none; background: #b3d4fc; } + +code[class*="language-"] ::selection, +code[class*="language-"]::selection, +pre[class*="language-"] ::selection, +pre[class*="language-"]::selection { text-shadow: none; background: #b3d4fc; } + +@media print { code[class*="language-"], +pre[class*="language-"] { text-shadow: none; } } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.7; } + +.token.boolean, +.token.constant, +.token.deleted, +.token.number, +.token.property, +.token.symbol, +.token.tag { color: #905; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #690; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url { color: #9a6e3a; background: hsl(0deg 0% 100% / 50%); } + +.token.atrule, +.token.attr-value, +.token.keyword { color: #07a; } + +.token.class-name, +.token.function { color: #dd4a68; } + +.token.important, +.token.regex, +.token.variable { color: #e90; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #b4d7ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #b4d7ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #b4d7ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #b4d7ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #b4d7ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #b4d7ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.br b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.br new file mode 100644 index 000000000..7cb4e7145 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.gz new file mode 100644 index 000000000..d9256b8d3 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.min.css b/tinymce/skins/ui/tinymce-5-dark/content.min.css new file mode 100755 index 000000000..3b8d79a91 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/content.min.css @@ -0,0 +1,299 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #f8f8f2; background: 0 0; text-shadow: 0 1px rgb(0 0 0 / 30%); font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; border-radius: 0.3em; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #282a36; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #6272a4; } +.token.punctuation { color: #f8f8f2; } +.namespace { opacity: 0.7; } + +.token.constant, +.token.deleted, +.token.property, +.token.symbol, +.token.tag { color: #ff79c6; } + +.token.boolean, +.token.number { color: #bd93f9; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #50fa7b; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url, +.token.variable { color: #f8f8f2; } + +.token.atrule, +.token.attr-value, +.token.class-name, +.token.function { color: #f1fa8c; } +.token.keyword { color: #8be9fd; } + +.token.important, +.token.regex { color: #ffb86c; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 30%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 30%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #4099ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #4099ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #4099ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #4099ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #4099ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #4099ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #4099ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid transparent; inset: -1px; content: ""; mix-blend-mode: lighten; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #4099ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } +body { font-family: sans-serif; } +table { border-collapse: collapse; } diff --git a/tinymce/skins/ui/tinymce-5-dark/content.min.css.br b/tinymce/skins/ui/tinymce-5-dark/content.min.css.br new file mode 100644 index 000000000..bb780cea6 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/content.min.css.gz b/tinymce/skins/ui/tinymce-5-dark/content.min.css.gz new file mode 100644 index 000000000..eaccefe6c Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/content.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.css b/tinymce/skins/ui/tinymce-5-dark/skin.css new file mode 100755 index 000000000..676ba4079 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.css @@ -0,0 +1,3199 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #2A3746; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 1px solid #000000; + border-radius: 0; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #222f3e; + border: 1px solid #000000; + border-radius: 0; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #000000; + border-radius: 3px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #000000; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(32, 122, 183, 0.5); + border-color: #207ab7; + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.5); + border-color: rgba(255, 165, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.5); + border-color: rgba(204, 0, 0, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.5); + border-color: rgba(120, 171, 70, 0.8); + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.8); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #fff; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #207ab7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #207ab7; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 3px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgba(32, 122, 183, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #207ab7; + background-image: none; + border-color: #207ab7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #185d8c; + background-image: none; + border-color: #185d8c; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #3d546f; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #3d546f; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #3d546f; + background-image: none; + border-color: #3d546f; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #34485f; + background-image: none; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #2b3b4e; + background-image: none; + border-color: #2b3b4e; + box-shadow: none; + color: #fff; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #fff; +} +.tox .tox-button--naked[disabled] { + background-color: #3d546f; + border-color: #3d546f; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: #34485f; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: #34485f; + border-color: #34485f; + box-shadow: none; + color: #fff; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: #2b3b4e; + border-color: #2b3b4e; + box-shadow: none; + color: #fff; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #fff; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 3px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 3px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(255, 255, 255, 0.2); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox--disabled { + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 3px; + box-shadow: inset 0 0 0 1px #207ab7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: #1a1a1a; + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: #333333; + color: #fff; + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #fff; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #2b3b4e; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #4a5562; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #757d87; + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #4a5562; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #757d87; + color: #fff; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #4a5562; + color: #fff; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #fff; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #fff; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #2b3b4e; + border: 1px solid #1a1a1a; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(42, 55, 70, 0.2), 0 4px 8px 0 rgba(42, 55, 70, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 34px; + margin: 3px 0 2px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid #000000; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid #000000; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 2px 0 3px 4px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px 0; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #fff; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #4a5562; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #2b3b4e; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #2b3b4e; + border: 1px solid #000000; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #fff; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #fff; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(255, 255, 255, 0.5); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #2b3b4e; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(43, 59, 78, 0), #2b3b4e); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #2b3b4e; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #fff; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #2b3b4e; + box-shadow: 0 0 8px 8px #2b3b4e; + color: #fff; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #2b3b4e; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #fff; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #222f3e; +} +.tox .tox-dialog { + background-color: #2b3b4e; + border-color: #000000; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: 0 16px 16px -10px rgba(42, 55, 70, 0.15), 0 0 40px 1px rgba(42, 55, 70, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #2b3b4e; + border-bottom: none; + color: #fff; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #fff; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(255, 255, 255, 0.5); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(32, 122, 183, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #207ab7; + color: #207ab7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #207ab7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #fff; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #fff; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #fff; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #2b3b4e; + border-top: 1px solid #000000; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #000000; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #000000; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(255, 255, 255, 0.5); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #000000; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #222f3e; + border-bottom: none; + box-shadow: none; + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid #000000; + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #222f3e; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(42, 55, 70, 0.2); + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #207ab7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #2b3b4e; + border-radius: 3px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(255, 255, 255, 0.5); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #000000; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #222f3e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #2b3b4e; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #207ab7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #fff; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #fff; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #2b3b4e; + border-color: #000000; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #19232e; + color: rgba(255, 255, 255, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #2b3b4e; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: #000000; + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: 0 -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(32, 122, 183, 0.5); + border-color: rgba(32, 122, 183, 0.5); +} +.tox .tox-insert-table-picker__label { + color: #fff; + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #2b3b4e; + border: 1px solid #000000; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1); + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 0; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 4px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 4px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; + background-color: #222f3e; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 4px 0 4px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; + background-color: #222f3e; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 2px 0 3px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #4a5562; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn--active { + background: #757d87; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #4a5562; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #334840; + border-color: #3c5440; + color: #fff; +} +.tox .tox-notification--success p { + color: #fff; +} +.tox .tox-notification--success a { + color: #b5d199; +} +.tox .tox-notification--success svg { + fill: #fff; +} +.tox .tox-notification--error { + background-color: #442632; + border-color: #55212b; + color: #fff; +} +.tox .tox-notification--error p { + color: #fff; +} +.tox .tox-notification--error a { + color: #e68080; +} +.tox .tox-notification--error svg { + fill: #fff; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #222f3e; + border-color: #000000; + color: #fff0b3; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #fff0b3; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #ffcc00; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #fff0b3; +} +.tox .tox-notification--info { + background-color: #254161; + border-color: #264972; + color: #fff; +} +.tox .tox-notification--info p { + color: #fff; +} +.tox .tox-notification--info a { + color: #83b7f3; +} +.tox .tox-notification--info svg { + fill: #fff; +} +.tox .tox-notification__body { + align-self: center; + color: #fff; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #222f3e; + border: 1px solid #000000; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(42, 55, 70, 0.2), 0 4px 8px 0 rgba(42, 55, 70, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #222f3e transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #000000 transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #222f3e transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #000000 transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #222f3e transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #000000 transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #222f3e; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #000000; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #222f3e; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #000000; + border-radius: 3px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #207ab7; + border: 2px solid #185d8c; + border-radius: 3px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(255, 255, 255, 0.5); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #222f3e; + border-top: 1px solid #000000; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 12px; + font-weight: normal; + height: 18px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: uppercase; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: #fff; + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #fff; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(255, 255, 255, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #fff; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #4a5562; + border-radius: 1px 1px -4px 1px; + box-shadow: 0 0 0 2px #4a5562; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(34, 47, 62, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #fff; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 3px 0 2px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #fff; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #4a5562; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #4a5562; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:hover svg { + fill: #fff; +} +.tox .tox-tbtn:active { + background: #757d87; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn:active svg { + fill: #fff; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #757d87; + border: 0; + box-shadow: none; + color: #fff; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #fff; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #fff; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 51px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 68px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 3px 0 2px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-tbtn--bespoke { + background: transparent; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 0; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 3px 0 2px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #4a5562 inset; +} +.tox .tox-split-button:focus { + background: #4a5562; + box-shadow: none; + color: #fff; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(255, 255, 255, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #222f3e; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #222f3e; + background-image: repeating-linear-gradient(#000000 0px 1px, transparent 1px 39px); + background-position: center top 39px; + background-repeat: no-repeat; + background-size: calc(100% - 4px * 2) calc(100% - 39px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 4px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid #000000; + margin-top: -1px; + padding-bottom: 0px; + padding-top: 0px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #222f3e; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(42, 55, 70, 0.2), 0 4px 8px 0 rgba(42, 55, 70, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 4px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 4px 0 4px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid #000000; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid #000000; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #3d546f; + border-radius: 3px; + box-shadow: 0 2px 4px rgba(42, 55, 70, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #3d546f; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #3d546f; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #3d546f; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #3d546f; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #000000; + border-radius: 3px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #000000; + border-radius: 3px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: none; + padding: 0; +} +.tox.tox-tinymce--toolbar-bottom .tox-editor-header, +.tox.tox-tinymce-inline .tox-editor-header { + margin-bottom: -1px; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: none; + box-shadow: none; +} +.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: transparent; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 0; +} +.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px 0; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0; +} +.tox .tox-pop { + box-shadow: none; +} +.tox .tox-tbtn, +.tox .tox-tbtn--select, +.tox .tox-split-button { + margin: 2px 0 3px 0; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0px #222f3e !important; +} +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: none; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord .tox-toolbar__primary { + border-top: 1px solid #000000; + margin-top: -1px; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + border: 1px solid #000000; + padding: 0; +} +.tox .tox-pop .tox-pop__dialog .tox-toolbar { + padding: 0; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar { + border-top: 1px solid #000000; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary, +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child { + border-top: 1px solid #000000; +} +.tox .tox-toolbar__group { + padding: 0 4px 0 4px; +} +.tox .tox-collection__item { + border-radius: 0; + cursor: pointer; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #fff; + text-decoration: underline; +} +.tox .tox-statusbar__branding svg { + vertical-align: -0.25em; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 1ch; +} +.tox .tox-statusbar__resize-handle { + padding-bottom: 0; + padding-right: 0; +} +.tox .tox-button::before { + display: none; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.css.br b/tinymce/skins/ui/tinymce-5-dark/skin.css.br new file mode 100644 index 000000000..e93ef1547 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.css.gz b/tinymce/skins/ui/tinymce-5-dark/skin.css.gz new file mode 100644 index 000000000..a909acaa4 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.min.css b/tinymce/skins/ui/tinymce-5-dark/skin.min.css new file mode 100755 index 000000000..f0219c803 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.min.css @@ -0,0 +1,812 @@ +.tox { box-shadow: none; box-sizing: content-box; color: #2a3746; cursor: auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-style: normal; font-weight: 400; line-height: normal; -webkit-tap-highlight-color: transparent; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: initial; white-space: normal; } +.tox :not(svg, rect) { box-sizing: inherit; color: inherit; cursor: inherit; direction: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; -webkit-tap-highlight-color: inherit; text-align: inherit; text-decoration: inherit; text-shadow: inherit; text-transform: inherit; vertical-align: inherit; white-space: inherit; } +.tox :not(svg, rect) { background: 0 0; border: 0; box-shadow: none; float: none; height: auto; margin: 0; max-width: none; outline: 0; padding: 0; position: static; width: auto; } +.tox:not([dir="rtl"]) { direction: ltr; text-align: left; } +.tox[dir="rtl"] { direction: rtl; text-align: right; } +.tox-tinymce { border: 1px solid #000; border-radius: 0; box-shadow: none; box-sizing: border-box; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; overflow: hidden; position: relative; visibility: inherit !important; } +.tox.tox-tinymce-inline { border: none; box-shadow: none; overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-container { overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-header { background-color: #222f3e; border: 1px solid #000; border-radius: 0; box-shadow: none; overflow: hidden; } +.tox-tinymce-aux { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; z-index: 1300; } + +.tox-tinymce :focus, +.tox-tinymce-aux :focus { outline: 0; } +button::-moz-focus-inner { border: 0; } +.tox[dir="rtl"] .tox-icon--flip svg { transform: rotateY(180deg); } +.tox .accessibility-issue__header { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description { align-items: stretch; border: 1px solid #000; border-radius: 3px; display: flex; justify-content: space-between; } +.tox .accessibility-issue__description > div { padding-bottom: 4px; } +.tox .accessibility-issue__description > div > div { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description > :last-child:not(:only-child) { border-color: #000; border-style: solid; } +.tox .accessibility-issue__repair { margin-top: 16px; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { background-color: rgb(32 122 183 / 50%); border-color: #207ab7; color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > :last-child { border-color: #207ab7; } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { background-color: rgb(255 165 0 / 50%); border-color: rgb(255 165 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 80%); } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { background-color: rgb(204 0 0 / 50%); border-color: rgb(204 0 0 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 80%); } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { background-color: rgb(120 171 70 / 50%); border-color: rgb(120 171 70 / 80%); color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 80%); } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { color: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { fill: #fff; } +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { color: #fff; } + +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { margin-top: 0; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-left: auto; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description { padding: 4px 4px 4px 8px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description > :last-child { border-left-width: 1px; padding-left: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-right: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-right: auto; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description { padding: 4px 8px 4px 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description > :last-child { border-right-width: 1px; padding-right: 4px; } +.tox .tox-anchorbar { display: flex; flex: 0 0 auto; } +.tox .tox-bar { display: flex; flex: 0 0 auto; } +.tox .tox-button { background-color: #207ab7; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #207ab7; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; line-height: 24px; margin: 0; outline: 0; padding: 4px 16px; position: relative; text-align: center; text-decoration: none; text-transform: none; white-space: nowrap; } +.tox .tox-button::before { border-radius: 3px; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgb(32 122 183 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #207ab7; background-image: none; border-color: #207ab7; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-button:focus:not(:disabled) { background-color: #1c6ca1; background-image: none; border-color: #1c6ca1; box-shadow: none; color: #fff; } +.tox .tox-button:focus-visible:not(:disabled)::before { opacity: 1; } +.tox .tox-button:hover:not(:disabled) { background-color: #1c6ca1; background-image: none; border-color: #1c6ca1; box-shadow: none; color: #fff; } +.tox .tox-button:active:not(:disabled) { background-color: #185d8c; background-image: none; border-color: #185d8c; box-shadow: none; color: #fff; } +.tox .tox-button--secondary { background-color: #3d546f; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #3d546f; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; color: #fff; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; outline: 0; padding: 4px 16px; text-decoration: none; text-transform: none; } +.tox .tox-button--secondary[disabled] { background-color: #3d546f; background-image: none; border-color: #3d546f; box-shadow: none; color: rgb(255 255 255 / 50%); } +.tox .tox-button--secondary:focus:not(:disabled) { background-color: #34485f; background-image: none; border-color: #34485f; box-shadow: none; color: #fff; } +.tox .tox-button--secondary:hover:not(:disabled) { background-color: #34485f; background-image: none; border-color: #34485f; box-shadow: none; color: #fff; } +.tox .tox-button--secondary:active:not(:disabled) { background-color: #2b3b4e; background-image: none; border-color: #2b3b4e; box-shadow: none; color: #fff; } + +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { padding: 4px; } + +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { display: block; fill: currentcolor; } +.tox .tox-button-link { background: 0; border: none; box-sizing: border-box; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.3; margin: 0; padding: 0; white-space: nowrap; } +.tox .tox-button-link--sm { font-size: 14px; } +.tox .tox-button--naked { background-color: transparent; border-color: transparent; box-shadow: unset; color: #fff; } +.tox .tox-button--naked[disabled] { background-color: #3d546f; border-color: #3d546f; box-shadow: none; color: rgb(255 255 255 / 50%); } +.tox .tox-button--naked:hover:not(:disabled) { background-color: #34485f; border-color: #34485f; box-shadow: none; color: #fff; } +.tox .tox-button--naked:focus:not(:disabled) { background-color: #34485f; border-color: #34485f; box-shadow: none; color: #fff; } +.tox .tox-button--naked:active:not(:disabled) { background-color: #2b3b4e; border-color: #2b3b4e; box-shadow: none; color: #fff; } +.tox .tox-button--naked .tox-icon svg { fill: currentcolor; } +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { color: #fff; } +.tox .tox-checkbox { align-items: center; border-radius: 3px; cursor: pointer; display: flex; height: 36px; min-width: 36px; } +.tox .tox-checkbox__input { height: 1px; overflow: hidden; position: absolute; top: auto; width: 1px; } +.tox .tox-checkbox__icons { align-items: center; border-radius: 3px; box-shadow: 0 0 0 2px transparent; box-sizing: content-box; display: flex; height: 24px; justify-content: center; padding: calc(4px - 1px); width: 24px; } +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: block; fill: rgb(255 255 255 / 20%); } +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: none; fill: #207ab7; } +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: none; fill: #207ab7; } +.tox .tox-checkbox--disabled { color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(255 255 255 / 50%); } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: block; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: block; } +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { border-radius: 3px; box-shadow: inset 0 0 0 1px #207ab7; padding: calc(4px - 1px); } +.tox:not([dir="rtl"]) .tox-checkbox__label { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-checkbox__input { left: -10000px; } +.tox:not([dir="rtl"]) .tox-bar .tox-checkbox { margin-left: 4px; } +.tox[dir="rtl"] .tox-checkbox__label { margin-right: 4px; } +.tox[dir="rtl"] .tox-checkbox__input { right: -10000px; } +.tox[dir="rtl"] .tox-bar .tox-checkbox { margin-right: 4px; } +.tox .tox-collection--toolbar .tox-collection__group { display: flex; padding: 0; } +.tox .tox-collection--grid .tox-collection__group { display: flex; flex-wrap: wrap; max-height: 208px; overflow-x: hidden; overflow-y: auto; padding: 0; } +.tox .tox-collection--list .tox-collection__group { border-width: 1px 0 0; border-color: #1a1a1a; border-style: solid; padding: 4px 0; } +.tox .tox-collection--list .tox-collection__group:first-child { border-top-width: 0; } +.tox .tox-collection__group-heading { background-color: #333; color: #fff; cursor: default; font-size: 12px; font-style: normal; font-weight: 400; margin-bottom: 4px; margin-top: -4px; padding: 4px 8px; text-transform: none; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #fff; display: flex; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection--list .tox-collection__item { padding: 4px 8px; } +.tox .tox-collection--toolbar .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--grid .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--list .tox-collection__item--enabled { background-color: #2b3b4e; color: #fff; } +.tox .tox-collection--list .tox-collection__item--active { background-color: #4a5562; } +.tox .tox-collection--toolbar .tox-collection__item--enabled { background-color: #757d87; color: #fff; } +.tox .tox-collection--toolbar .tox-collection__item--active { background-color: #4a5562; } +.tox .tox-collection--grid .tox-collection__item--enabled { background-color: #757d87; color: #fff; } +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { background-color: #4a5562; color: #fff; } +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #fff; } +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #fff; } + +.tox .tox-collection__item-checkmark, +.tox .tox-collection__item-icon { align-items: center; display: flex; height: 24px; justify-content: center; width: 24px; } + +.tox .tox-collection__item-checkmark svg, +.tox .tox-collection__item-icon svg { fill: currentcolor; } +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { height: 48px; width: 48px; } +.tox .tox-collection__item-label { color: currentcolor; display: inline-block; flex: 1; font-size: 14px; font-style: normal; font-weight: 400; line-height: 24px; text-transform: none; word-break: break-all; } +.tox .tox-collection__item-accessory { color: rgb(255 255 255 / 50%); display: inline-block; font-size: 14px; height: 24px; line-height: 24px; text-transform: none; } +.tox .tox-collection__item-caret { align-items: center; display: flex; min-height: 24px; } +.tox .tox-collection__item-caret::after { content: ""; font-size: 0; min-height: inherit; } +.tox .tox-collection__item-caret svg { fill: #fff; } +.tox .tox-collection__item--state-disabled { background-color: transparent; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { display: none; } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { display: none; } +.tox .tox-collection--horizontal { background-color: #2b3b4e; border: 1px solid #1a1a1a; border-radius: 3px; box-shadow: 0 0 2px 0 rgb(42 55 70 / 20%), 0 4px 8px 0 rgb(42 55 70 / 15%); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: nowrap; margin-bottom: 0; overflow-x: auto; padding: 0; } +.tox .tox-collection--horizontal .tox-collection__group { align-items: center; display: flex; flex-wrap: nowrap; margin: 0; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item { height: 34px; margin: 3px 0 2px; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item-label { white-space: nowrap; } +.tox .tox-collection--horizontal .tox-collection__item-caret { margin-left: 4px; } +.tox .tox-collection__item-container { display: flex; } +.tox .tox-collection__item-container--row { align-items: center; flex: 1 1 auto; flex-direction: row; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { margin-right: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { justify-content: flex-end; margin-left: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { align-items: flex-start; margin-bottom: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { align-items: center; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { align-items: flex-end; margin-top: auto; } +.tox .tox-collection__item-container--column { align-self: center; flex: 1 1 auto; flex-direction: column; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { align-items: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { align-items: flex-end; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { align-self: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { align-self: center; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { align-self: flex-end; } +.tox:not([dir="rtl"]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-right: 1px solid #000; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > :not(:first-child) { margin-left: 8px; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-collection__item-accessory { margin-left: 16px; text-align: right; } +.tox:not([dir="rtl"]) .tox-collection .tox-collection__item-caret { margin-left: 16px; } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-left: 1px solid #000; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > :not(:first-child) { margin-right: 8px; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-right: 4px; } +.tox[dir="rtl"] .tox-collection__item-accessory { margin-right: 16px; text-align: left; } +.tox[dir="rtl"] .tox-collection .tox-collection__item-caret { margin-right: 16px; transform: rotateY(180deg); } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__item-caret { margin-right: 4px; } +.tox .tox-color-picker-container { display: flex; flex-direction: row; height: 225px; margin: 0; } +.tox .tox-sv-palette { box-sizing: border-box; display: flex; height: 100%; } +.tox .tox-sv-palette-spectrum { height: 100%; } + +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { width: 225px; } +.tox .tox-sv-palette-thumb { background: 0 0; border: 1px solid #000; border-radius: 50%; box-sizing: content-box; height: 12px; position: absolute; width: 12px; } +.tox .tox-sv-palette-inner-thumb { border: 1px solid #fff; border-radius: 50%; height: 10px; position: absolute; width: 10px; } +.tox .tox-hue-slider { box-sizing: border-box; height: 100%; width: 25px; } +.tox .tox-hue-slider-spectrum { background: linear-gradient(to bottom, red, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, red); height: 100%; width: 100%; } + +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { width: 20px; } +.tox .tox-hue-slider-thumb { background: #fff; border: 1px solid #000; box-sizing: content-box; height: 4px; width: 100%; } +.tox .tox-rgb-form { display: flex; flex-direction: column; justify-content: space-between; } +.tox .tox-rgb-form div { align-items: center; display: flex; justify-content: space-between; margin-bottom: 5px; width: inherit; } +.tox .tox-rgb-form input { width: 6em; } +.tox .tox-rgb-form input.tox-invalid { border: 1px solid red !important; } +.tox .tox-rgb-form .tox-rgba-preview { border: 1px solid #000; flex-grow: 2; margin-bottom: 0; } +.tox:not([dir="rtl"]) .tox-sv-palette { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider-thumb { margin-left: -1px; } +.tox:not([dir="rtl"]) .tox-rgb-form label { margin-right: 0.5em; } +.tox[dir="rtl"] .tox-sv-palette { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider-thumb { margin-right: -1px; } +.tox[dir="rtl"] .tox-rgb-form label { margin-left: 0.5em; } + +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches { margin: 2px 0 3px 4px; } +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { border: 0; margin: -4px 0; } +.tox .tox-swatches__row { display: flex; } +.tox .tox-swatch { height: 30px; transition: transform 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) inset; transform: scale(0.8); } +.tox .tox-swatch--remove { align-items: center; display: flex; justify-content: center; } +.tox .tox-swatch--remove svg path { stroke: #e74c3c; } +.tox .tox-swatches__picker-btn { align-items: center; background-color: transparent; border: 0; cursor: pointer; display: flex; height: 30px; justify-content: center; outline: 0; padding: 0; width: 30px; } +.tox .tox-swatches__picker-btn svg { fill: #fff; height: 24px; width: 24px; } +.tox .tox-swatches__picker-btn:hover { background: #4a5562; } +.tox:not([dir="rtl"]) .tox-swatches__picker-btn { margin-left: auto; } +.tox[dir="rtl"] .tox-swatches__picker-btn { margin-right: auto; } +.tox .tox-comment-thread { background: #2b3b4e; position: relative; } +.tox .tox-comment-thread > :not(:first-child) { margin-top: 8px; } +.tox .tox-comment { background: #2b3b4e; border: 1px solid #000; border-radius: 3px; box-shadow: 0 4px 8px 0 rgb(42 55 70 / 10%); padding: 8px 8px 16px; position: relative; } +.tox .tox-comment__header { align-items: center; color: #fff; display: flex; justify-content: space-between; } +.tox .tox-comment__date { color: #fff; font-size: 12px; line-height: 18px; } +.tox .tox-comment__body { color: #fff; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; margin-top: 8px; position: relative; text-transform: initial; } +.tox .tox-comment__body textarea { resize: none; white-space: normal; width: 100%; } +.tox .tox-comment__expander { padding-top: 8px; } +.tox .tox-comment__expander p { color: rgb(255 255 255 / 50%); font-size: 14px; font-style: normal; } +.tox .tox-comment__body p { margin: 0; } +.tox .tox-comment__buttonspacing { padding-top: 16px; text-align: center; } +.tox .tox-comment-thread__overlay::after { background: #2b3b4e; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; z-index: 5; } +.tox .tox-comment__reply { display: flex; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; } +.tox .tox-comment__reply > :first-child { margin-bottom: 8px; width: 100%; } +.tox .tox-comment__edit { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; } +.tox .tox-comment__gradient::after { background: linear-gradient(rgb(43 59 78 / 0%), #2b3b4e); bottom: 0; content: ""; display: block; height: 5em; margin-top: -40px; position: absolute; width: 100%; } +.tox .tox-comment__overlay { background: #2b3b4e; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; z-index: 5; } +.tox .tox-comment__loading-text { align-items: center; color: #fff; display: flex; flex-direction: column; position: relative; } +.tox .tox-comment__loading-text > div { padding-bottom: 16px; } +.tox .tox-comment__overlaytext { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; z-index: 10; } +.tox .tox-comment__overlaytext p { background-color: #2b3b4e; box-shadow: 0 0 8px 8px #2b3b4e; color: #fff; text-align: center; } +.tox .tox-comment__overlaytext div:nth-of-type(2) { font-size: 0.8em; } +.tox .tox-comment__busy-spinner { align-items: center; background-color: #2b3b4e; inset: 0; display: flex; justify-content: center; position: absolute; z-index: 20; } +.tox .tox-comment__scroll { display: flex; flex-direction: column; flex-shrink: 1; overflow: auto; } +.tox .tox-conversations { margin: 8px; } +.tox:not([dir="rtl"]) .tox-comment__edit { margin-left: 8px; } + +.tox:not([dir="rtl"]) .tox-comment__buttonspacing > :last-child, +.tox:not([dir="rtl"]) .tox-comment__edit > :last-child, +.tox:not([dir="rtl"]) .tox-comment__reply > :last-child { margin-left: 8px; } +.tox[dir="rtl"] .tox-comment__edit { margin-right: 8px; } + +.tox[dir="rtl"] .tox-comment__buttonspacing > :last-child, +.tox[dir="rtl"] .tox-comment__edit > :last-child, +.tox[dir="rtl"] .tox-comment__reply > :last-child { margin-right: 8px; } +.tox .tox-user { align-items: center; display: flex; } +.tox .tox-user__avatar svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-user__avatar img { border-radius: 50%; height: 36px; object-fit: cover; vertical-align: middle; width: 36px; } +.tox .tox-user__name { color: #fff; font-size: 14px; font-style: normal; font-weight: 700; line-height: 18px; text-transform: none; } + +.tox:not([dir="rtl"]) .tox-user__avatar img, +.tox:not([dir="rtl"]) .tox-user__avatar svg { margin-right: 8px; } +.tox:not([dir="rtl"]) .tox-user__avatar + .tox-user__name { margin-left: 8px; } + +.tox[dir="rtl"] .tox-user__avatar img, +.tox[dir="rtl"] .tox-user__avatar svg { margin-left: 8px; } +.tox[dir="rtl"] .tox-user__avatar + .tox-user__name { margin-right: 8px; } +.tox .tox-dialog-wrap { align-items: center; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(34 47 62 / 75%); inset: 0; position: absolute; z-index: 1; } +.tox .tox-dialog-wrap__backdrop--opaque { background-color: #222f3e; } +.tox .tox-dialog { background-color: #2b3b4e; border-color: #000; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: 0 16px 16px -10px rgb(42 55 70 / 15%), 0 0 40px 1px rgb(42 55 70 / 15%); display: flex; flex-direction: column; max-height: 100%; max-width: 480px; overflow: hidden; position: relative; width: 95vw; z-index: 2; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog { align-self: flex-start; margin: 8px auto; max-height: calc(100vh - 8px * 2); width: calc(100vw - 16px); } } +.tox .tox-dialog-inline { z-index: 1100; } +.tox .tox-dialog__header { align-items: center; background-color: #2b3b4e; border-bottom: none; color: #fff; display: flex; font-size: 16px; justify-content: space-between; padding: 8px 16px 0; position: relative; } +.tox .tox-dialog__header .tox-button { z-index: 1; } +.tox .tox-dialog__draghandle { cursor: grab; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tox .tox-dialog__draghandle:active { cursor: grabbing; } +.tox .tox-dialog__dismiss { margin-left: auto; } +.tox .tox-dialog__title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1.3; margin: 0; text-transform: none; } +.tox .tox-dialog__body { color: #fff; display: flex; flex: 1; font-size: 16px; font-style: normal; font-weight: 400; line-height: 1.3; min-width: 0; text-align: left; text-transform: none; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body { flex-direction: column; } } +.tox .tox-dialog__body-nav { align-items: flex-start; display: flex; flex-direction: column; padding: 16px; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { flex-direction: row; -webkit-overflow-scrolling: touch; overflow-x: auto; padding-bottom: 0; } } +.tox .tox-dialog__body-nav-item { border-bottom: 2px solid transparent; color: rgb(255 255 255 / 50%); display: inline-block; font-size: 14px; line-height: 1.3; margin-bottom: 8px; text-decoration: none; white-space: nowrap; } +.tox .tox-dialog__body-nav-item:focus { background-color: rgb(32 122 183 / 10%); } +.tox .tox-dialog__body-nav-item--active { border-bottom: 2px solid #207ab7; color: #207ab7; } +.tox .tox-dialog__body-content { box-sizing: border-box; display: flex; flex: 1; flex-direction: column; max-height: 650px; overflow: auto; -webkit-overflow-scrolling: touch; padding: 16px; } +.tox .tox-dialog__body-content > * { margin-bottom: 0; margin-top: 16px; } +.tox .tox-dialog__body-content > :first-child { margin-top: 0; } +.tox .tox-dialog__body-content > :last-child { margin-bottom: 0; } +.tox .tox-dialog__body-content > :only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog__body-content a { color: #207ab7; cursor: pointer; text-decoration: none; } + +.tox .tox-dialog__body-content a:focus, +.tox .tox-dialog__body-content a:hover { color: #185d8c; text-decoration: none; } +.tox .tox-dialog__body-content a:active { color: #185d8c; text-decoration: none; } +.tox .tox-dialog__body-content svg { fill: #fff; } +.tox .tox-dialog__body-content ul { display: block; list-style-type: disc; margin-bottom: 16px; margin-inline-end: 0; margin-inline-start: 0; padding-inline-start: 2.5rem; } +.tox .tox-dialog__body-content .tox-form__group h1 { color: #fff; font-size: 20px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group h2 { color: #fff; font-size: 16px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group p { margin-bottom: 16px; } + +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { margin-top: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { margin-bottom: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog--width-lg { height: 650px; max-width: 1200px; } +.tox .tox-dialog--width-md { max-width: 800px; } +.tox .tox-dialog--width-md .tox-dialog__body-content { overflow: auto; } +.tox .tox-dialog__body-content--centered { text-align: center; } +.tox .tox-dialog__footer { align-items: center; background-color: #2b3b4e; border-top: 1px solid #000; display: flex; justify-content: space-between; padding: 8px 16px; } + +.tox .tox-dialog__footer-end, +.tox .tox-dialog__footer-start { display: flex; } +.tox .tox-dialog__busy-spinner { align-items: center; background-color: rgb(34 47 62 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; z-index: 3; } +.tox .tox-dialog__table { border-collapse: collapse; width: 100%; } +.tox .tox-dialog__table thead th { font-weight: 700; padding-bottom: 8px; } +.tox .tox-dialog__table tbody tr { border-bottom: 1px solid #000; } +.tox .tox-dialog__table tbody tr:last-child { border-bottom: none; } +.tox .tox-dialog__table td { padding-bottom: 8px; padding-top: 8px; } +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { background: #fff; } +.tox .tox-dialog__popups { position: absolute; width: 100%; z-index: 1100; } +.tox .tox-dialog__body-iframe { display: flex; flex: 1; flex-direction: column; } +.tox .tox-dialog__body-iframe .tox-navobj { display: flex; flex: 1; } +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox .tox-dialog-dock-fadeout { opacity: 0; visibility: hidden; } +.tox .tox-dialog-dock-fadein { opacity: 1; visibility: visible; } +.tox .tox-dialog-dock-transition { transition: visibility 0s linear 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav-item:not(:first-child) { margin-left: 8px; } } + +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-end > *, +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-start > * { margin-left: 8px; } +.tox[dir="rtl"] .tox-dialog__body { text-align: right; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav-item:not(:first-child) { margin-right: 8px; } } + +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-end > *, +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-start > * { margin-right: 8px; } +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox .tox-dropzone-container { display: flex; flex: 1; } +.tox .tox-dropzone { align-items: center; background: #fff; border: 2px dashed #000; box-sizing: border-box; display: flex; flex-direction: column; flex-grow: 1; justify-content: center; min-height: 100px; padding: 10px; } +.tox .tox-dropzone p { color: rgb(255 255 255 / 50%); margin: 0 0 16px; } +.tox .tox-edit-area { display: flex; flex: 1; overflow: hidden; position: relative; } +.tox .tox-edit-area__iframe { background-color: #fff; border: 0; box-sizing: border-box; flex: 1; height: 100%; position: absolute; width: 100%; } +.tox.tox-inline-edit-area { border: 1px dotted #000; } +.tox .tox-editor-container { display: flex; flex: 1 1 auto; flex-direction: column; overflow: hidden; } +.tox .tox-editor-header { display: grid; grid-template-columns: 1fr min-content; z-index: 1; } +.tox:not(.tox-tinymce-inline) .tox-editor-header { background-color: #222f3e; border-bottom: none; box-shadow: none; padding: 4px 0; transition: box-shadow 0.5s; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { border-top: 1px solid #000; box-shadow: none; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { background-color: #222f3e; box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); padding: 4px 0; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); } +.tox-editor-dock-fadeout { opacity: 0; visibility: hidden; } +.tox-editor-dock-fadein { opacity: 1; visibility: visible; } +.tox-editor-dock-transition { transition: visibility 0s linear 0.25s, opacity 0.25s ease; } +.tox-editor-dock-transition.tox-editor-dock-fadein { transition-delay: 0s; } +.tox .tox-control-wrap { flex: 1; position: relative; } + +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { display: none; } +.tox .tox-control-wrap svg { display: block; } +.tox .tox-control-wrap__status-icon-wrap { position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-control-wrap__status-icon-invalid svg { fill: #c00; } +.tox .tox-control-wrap__status-icon-unknown svg { fill: orange; } +.tox .tox-control-wrap__status-icon-valid svg { fill: green; } + +.tox:not([dir="rtl"]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-valid .tox-textfield { padding-right: 32px; } +.tox:not([dir="rtl"]) .tox-control-wrap__status-icon-wrap { right: 4px; } + +.tox[dir="rtl"] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-valid .tox-textfield { padding-left: 32px; } +.tox[dir="rtl"] .tox-control-wrap__status-icon-wrap { left: 4px; } +.tox .tox-autocompleter { max-width: 25em; } +.tox .tox-autocompleter .tox-menu { box-sizing: border-box; max-width: 25em; } +.tox .tox-autocompleter .tox-autocompleter-highlight { font-weight: 700; } +.tox .tox-color-input { display: flex; position: relative; z-index: 1; } +.tox .tox-color-input .tox-textfield { z-index: -1; } +.tox .tox-color-input span { border-color: rgb(42 55 70 / 20%); border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; height: 24px; position: absolute; top: 6px; width: 24px; } + +.tox .tox-color-input span:focus:not([aria-disabled="true"]), +.tox .tox-color-input span:hover:not([aria-disabled="true"]) { border-color: #207ab7; cursor: pointer; } +.tox .tox-color-input span::before { background-image: linear-gradient(45deg, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(255 255 255 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(255 255 255 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(255 255 255 / 25%) 75%); background-position: 0 0, 0 6px, 6px -6px, -6px 0; background-size: 12px 12px; border: 1px solid #2b3b4e; border-radius: 3px; box-sizing: border-box; content: ""; height: 24px; left: -1px; position: absolute; top: -1px; width: 24px; z-index: -1; } +.tox .tox-color-input span[aria-disabled="true"] { cursor: not-allowed; } +.tox:not([dir="rtl"]) .tox-color-input .tox-textfield { padding-left: 36px; } +.tox:not([dir="rtl"]) .tox-color-input span { left: 6px; } +.tox[dir="rtl"] .tox-color-input .tox-textfield { padding-right: 36px; } +.tox[dir="rtl"] .tox-color-input span { right: 6px; } + +.tox .tox-label, +.tox .tox-toolbar-label { color: rgb(255 255 255 / 50%); display: block; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; padding: 0 8px 0 0; text-transform: none; white-space: nowrap; } +.tox .tox-toolbar-label { padding: 0 8px; } +.tox[dir="rtl"] .tox-label { padding: 0 0 0 8px; } +.tox .tox-form { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group { box-sizing: border-box; margin-bottom: 4px; } +.tox .tox-form-group--maximize { flex: 1; } +.tox .tox-form__group--error { color: #c00; } +.tox .tox-form__group--collection { display: flex; } +.tox .tox-form__grid { display: flex; flex-flow: row wrap; justify-content: space-between; } +.tox .tox-form__grid--2col > .tox-form__group { width: calc(50% - (8px / 2)); } +.tox .tox-form__grid--3col > .tox-form__group { width: calc(100% / 3 - (8px / 2)); } +.tox .tox-form__grid--4col > .tox-form__group { width: calc(25% - (8px / 2)); } +.tox .tox-form__controls-h-stack { align-items: center; display: flex; } +.tox .tox-form__group--inline { align-items: center; display: flex; } +.tox .tox-form__group--stretched { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group--stretched .tox-textarea { flex: 1; } +.tox .tox-form__group--stretched .tox-navobj { display: flex; flex: 1; } +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox:not([dir="rtl"]) .tox-form__controls-h-stack > :not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-form__controls-h-stack > :not(:first-child) { margin-right: 4px; } + +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { display: none; } + +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea, +.tox .tox-textfield, +.tox .tox-toolbar-textfield { appearance: none; appearance: none; appearance: none; background-color: #2b3b4e; border-color: #000; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 4.75px; resize: none; width: 100%; } + +.tox .tox-textarea[disabled], +.tox .tox-textfield[disabled] { background-color: #222f3e; color: rgb(255 255 255 / 85%); cursor: not-allowed; } + +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus, +.tox .tox-textfield:focus { background-color: #2b3b4e; border-color: #207ab7; box-shadow: none; outline: 2px solid rgb(32 122 183 / 25%); } +.tox .tox-toolbar-textfield { border-width: 0; margin-bottom: 3px; margin-top: 2px; max-width: 250px; } +.tox .tox-naked-btn { background-color: transparent; border: 0; border-color: transparent; box-shadow: unset; color: #207ab7; cursor: pointer; display: block; margin: 0; padding: 0; } +.tox .tox-naked-btn svg { display: block; fill: #fff; } +.tox:not([dir="rtl"]) .tox-toolbar-textfield + * { margin-left: 4px; } +.tox[dir="rtl"] .tox-toolbar-textfield + * { margin-right: 4px; } +.tox .tox-listboxfield { cursor: pointer; position: relative; } +.tox .tox-listboxfield .tox-listbox--select[disabled] { background-color: #19232e; color: rgb(255 255 255 / 85%); cursor: not-allowed; } +.tox .tox-listbox__select-label { cursor: default; flex: 1; margin: 0 4px; } +.tox .tox-listbox__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-listbox__select-chevron svg { fill: #fff; } +.tox .tox-listboxfield .tox-listbox--select { align-items: center; display: flex; } +.tox:not([dir="rtl"]) .tox-listboxfield svg { right: 8px; } +.tox[dir="rtl"] .tox-listboxfield svg { left: 8px; } +.tox .tox-selectfield { cursor: pointer; position: relative; } +.tox .tox-selectfield select { appearance: none; appearance: none; appearance: none; background-color: #2b3b4e; border-color: #000; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 4.75px; resize: none; width: 100%; } +.tox .tox-selectfield select[disabled] { background-color: #19232e; color: rgb(255 255 255 / 85%); cursor: not-allowed; } +.tox .tox-selectfield select::-ms-expand { display: none; } +.tox .tox-selectfield select:focus { background-color: #2b3b4e; border-color: #207ab7; box-shadow: none; outline: 2px solid rgb(32 122 183 / 25%); } +.tox .tox-selectfield svg { pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); } + +.tox:not([dir="rtl"]) .tox-selectfield select[size="0"], +.tox:not([dir="rtl"]) .tox-selectfield select[size="1"] { padding-right: 24px; } +.tox:not([dir="rtl"]) .tox-selectfield svg { right: 8px; } + +.tox[dir="rtl"] .tox-selectfield select[size="0"], +.tox[dir="rtl"] .tox-selectfield select[size="1"] { padding-left: 24px; } +.tox[dir="rtl"] .tox-selectfield svg { left: 8px; } +.tox .tox-textarea { appearance: textarea; appearance: textarea; appearance: textarea; white-space: pre-wrap; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } +.tox .tox-help__more-link { list-style: none; margin-top: 1em; } +.tox .tox-imagepreview { background-color: #666; height: 380px; overflow: hidden; position: relative; width: 100%; } +.tox .tox-imagepreview.tox-imagepreview__loaded { overflow: auto; } +.tox .tox-imagepreview__container { display: flex; left: 100vw; position: absolute; top: 100vw; } +.tox .tox-imagepreview__image { background: url("data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw=="); } +.tox .tox-image-tools .tox-spacer { flex: 1; } +.tox .tox-image-tools .tox-bar { align-items: center; display: flex; height: 60px; justify-content: center; } + +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { margin-top: 8px; } +.tox .tox-image-tools .tox-croprect-block { background: #000; opacity: 0.5; position: absolute; zoom: 1; } +.tox .tox-image-tools .tox-croprect-handle { border: 2px solid #fff; height: 20px; left: 0; position: absolute; top: 0; width: 20px; } +.tox .tox-image-tools .tox-croprect-handle-move { border: 0; cursor: move; position: absolute; } +.tox .tox-image-tools .tox-croprect-handle-nw { border-width: 2px 0 0 2px; cursor: nw-resize; left: 100px; margin: -2px 0 0 -2px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-ne { border-width: 2px 2px 0 0; cursor: ne-resize; left: 200px; margin: -2px 0 0 -20px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-sw { border-width: 0 0 2px 2px; cursor: sw-resize; left: 100px; margin: -20px 2px 0 -2px; top: 200px; } +.tox .tox-image-tools .tox-croprect-handle-se { border-width: 0 2px 2px 0; cursor: se-resize; left: 200px; margin: -20px 0 0 -20px; top: 200px; } +.tox .tox-insert-table-picker { display: flex; flex-wrap: wrap; width: 170px; } +.tox .tox-insert-table-picker > div { border-color: #000; border-style: solid; border-width: 0 1px 1px 0; box-sizing: border-box; height: 17px; width: 17px; } +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { margin: 0 -4px; } +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { background-color: rgb(32 122 183 / 50%); border-color: rgb(32 122 183 / 50%); } +.tox .tox-insert-table-picker__label { color: #fff; display: block; font-size: 14px; padding: 4px; text-align: center; width: 100%; } +.tox:not([dir="rtl"]) .tox-insert-table-picker > div:nth-child(10n) { border-right: 0; } +.tox[dir="rtl"] .tox-insert-table-picker > div:nth-child(10n+1) { border-right: 0; } +.tox .tox-menu { background-color: #2b3b4e; border: 1px solid #000; border-radius: 3px; box-shadow: 0 4px 8px 0 rgb(42 55 70 / 10%); display: inline-block; overflow: hidden; vertical-align: top; z-index: 1150; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 0; } +.tox .tox-menu.tox-collection.tox-collection--toolbar { padding: 4px; } +.tox .tox-menu.tox-collection.tox-collection--grid { padding: 4px; } + +@media only screen and (width >= 768px) { .tox .tox-menu .tox-collection__item-label { overflow-wrap: break-word; word-break: normal; } } + +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code, +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p { margin: 0; } +.tox .tox-menubar { background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; background-color: #222f3e; display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; grid-column: 1/-1; grid-row: 1; padding: 0 4px; } +.tox .tox-promotion + .tox-menubar { grid-column: 1; } +.tox .tox-promotion { background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; background-color: #222f3e; grid-column: 2; grid-row: 1; padding-inline-end: 8px; padding-inline-start: 4px; padding-top: 5px; } +.tox .tox-promotion-link { align-items: unsafe center; background-color: #e8f1f8; border-radius: 5px; color: #086be6; cursor: pointer; display: flex; font-size: 14px; height: 26.6px; padding: 4px 8px; white-space: nowrap; } +.tox .tox-promotion-link:hover { background-color: #b4d7ff; } +.tox .tox-promotion-link:focus { background-color: #d9edf7; } +.tox .tox-mbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #fff; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 34px; justify-content: center; margin: 2px 0 3px; outline: 0; overflow: hidden; padding: 0 4px; text-transform: none; width: auto; } +.tox .tox-mbtn[disabled] { background-color: transparent; border: 0; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-mbtn:focus:not(:disabled) { background: #4a5562; border: 0; box-shadow: none; color: #fff; } +.tox .tox-mbtn--active { background: #757d87; border: 0; box-shadow: none; color: #fff; } +.tox .tox-mbtn:hover:not(:disabled, .tox-mbtn--active) { background: #4a5562; border: 0; box-shadow: none; color: #fff; } +.tox .tox-mbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { cursor: not-allowed; } +.tox .tox-mbtn__select-chevron { align-items: center; justify-content: center; width: 16px; display: none; } +.tox .tox-notification { border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; display: grid; font-size: 14px; font-weight: 400; grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); margin-top: 4px; opacity: 0; padding: 4px; transition: transform 0.1s ease-in, opacity 150ms ease-in; } +.tox .tox-notification p { font-size: 14px; font-weight: 400; } +.tox .tox-notification a { cursor: pointer; text-decoration: underline; } +.tox .tox-notification--in { opacity: 1; } +.tox .tox-notification--success { background-color: #334840; border-color: #3c5440; color: #fff; } +.tox .tox-notification--success p { color: #fff; } +.tox .tox-notification--success a { color: #b5d199; } +.tox .tox-notification--success svg { fill: #fff; } +.tox .tox-notification--error { background-color: #442632; border-color: #55212b; color: #fff; } +.tox .tox-notification--error p { color: #fff; } +.tox .tox-notification--error a { color: #e68080; } +.tox .tox-notification--error svg { fill: #fff; } + +.tox .tox-notification--warn, +.tox .tox-notification--warning { background-color: #222f3e; border-color: #000; color: #fff0b3; } + +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { color: #fff0b3; } + +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { color: #fc0; } + +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { fill: #fff0b3; } +.tox .tox-notification--info { background-color: #254161; border-color: #264972; color: #fff; } +.tox .tox-notification--info p { color: #fff; } +.tox .tox-notification--info a { color: #83b7f3; } +.tox .tox-notification--info svg { fill: #fff; } +.tox .tox-notification__body { align-self: center; color: #fff; font-size: 14px; grid-column: 2 3; text-align: center; white-space: normal; word-break: break-all; word-break: break-word; } +.tox .tox-notification__body > * { margin: 0; } +.tox .tox-notification__body > * + * { margin-top: 1rem; } +.tox .tox-notification__icon { align-self: center; grid-column: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; justify-self: center; } +.tox .tox-pop { display: inline-block; position: relative; } +.tox .tox-pop--resizing { transition: width 0.1s ease; } + +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { flex-wrap: nowrap; } +.tox .tox-pop--transition { transition: 0.15s ease; transition-property: left, right, top, bottom; } + +.tox .tox-pop--transition::after, +.tox .tox-pop--transition::before { transition: all 0.15s, visibility 0s, opacity 75ms ease 75ms; } +.tox .tox-pop__dialog { background-color: #222f3e; border: 1px solid #000; border-radius: 3px; box-shadow: 0 0 2px 0 rgb(42 55 70 / 20%), 0 4px 8px 0 rgb(42 55 70 / 15%); min-width: 0; overflow: hidden; } +.tox .tox-pop__dialog > :not(.tox-toolbar) { margin: 4px 4px 4px 8px; } +.tox .tox-pop__dialog .tox-toolbar { background-color: transparent; margin-bottom: -1px; } + +.tox .tox-pop::after, +.tox .tox-pop::before { border-style: solid; content: ""; display: block; height: 0; opacity: 1; position: absolute; width: 0; } + +.tox .tox-pop.tox-pop--inset::after, +.tox .tox-pop.tox-pop--inset::before { opacity: 0; transition: all 0s 0.15s, visibility 0s, opacity 75ms ease; } + +.tox .tox-pop.tox-pop--bottom::after, +.tox .tox-pop.tox-pop--bottom::before { left: 50%; top: 100%; } +.tox .tox-pop.tox-pop--bottom::after { border-color: #222f3e transparent transparent; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #000 transparent transparent; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--top::after, +.tox .tox-pop.tox-pop--top::before { left: 50%; top: 0; transform: translateY(-100%); } +.tox .tox-pop.tox-pop--top::after { border-color: transparent transparent #222f3e; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #000; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--left::after, +.tox .tox-pop.tox-pop--left::before { left: 0; top: calc(50% - 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--left::after { border-color: transparent #222f3e transparent transparent; border-width: 8px; margin-left: -15px; } +.tox .tox-pop.tox-pop--left::before { border-color: transparent #000 transparent transparent; border-width: 10px; margin-left: -19px; } + +.tox .tox-pop.tox-pop--right::after, +.tox .tox-pop.tox-pop--right::before { left: 100%; top: calc(50% + 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--right::after { border-color: transparent transparent transparent #222f3e; border-width: 8px; margin-left: -1px; } +.tox .tox-pop.tox-pop--right::before { border-color: transparent transparent transparent #000; border-width: 10px; margin-left: -1px; } + +.tox .tox-pop.tox-pop--align-left::after, +.tox .tox-pop.tox-pop--align-left::before { left: 20px; } + +.tox .tox-pop.tox-pop--align-right::after, +.tox .tox-pop.tox-pop--align-right::before { left: calc(100% - 20px); } +.tox .tox-sidebar-wrap { display: flex; flex-direction: row; flex-grow: 1; min-height: 0; } +.tox .tox-sidebar { background-color: #222f3e; display: flex; flex-direction: row; justify-content: flex-end; } +.tox .tox-sidebar__slider { display: flex; overflow: hidden; } +.tox .tox-sidebar__pane-container { display: flex; } +.tox .tox-sidebar__pane { display: flex; } +.tox .tox-sidebar--sliding-closed { opacity: 0; } +.tox .tox-sidebar--sliding-open { opacity: 1; } + +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { transition: width 0.5s ease, opacity 0.5s ease; } +.tox .tox-selector { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; display: inline-block; height: 10px; position: absolute; width: 10px; } +.tox.tox-platform-touch .tox-selector { height: 12px; width: 12px; } +.tox .tox-slider { align-items: center; display: flex; flex: 1; height: 24px; justify-content: center; position: relative; } +.tox .tox-slider__rail { background-color: transparent; border: 1px solid #000; border-radius: 3px; height: 10px; min-width: 120px; width: 100%; } +.tox .tox-slider__handle { background-color: #207ab7; border: 2px solid #185d8c; border-radius: 3px; box-shadow: none; height: 24px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 14px; } +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { margin-inline-start: 8px; } +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { margin-inline-start: 32px; } +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { margin-inline-start: 32px; } +.tox .tox-source-code { overflow: auto; } +.tox .tox-spinner { display: flex; } +.tox .tox-spinner > div { animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; background-color: rgb(255 255 255 / 50%); border-radius: 100%; height: 8px; width: 8px; } +.tox .tox-spinner > div:nth-child(1) { animation-delay: -0.32s; } +.tox .tox-spinner > div:nth-child(2) { animation-delay: -0.16s; } + +@keyframes tam-bouncing-dots { + 0%, +100%, +80% { transform: scale(0); } + 40% { transform: scale(1); } +} +.tox:not([dir="rtl"]) .tox-spinner > div:not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-spinner > div:not(:first-child) { margin-right: 4px; } +.tox .tox-statusbar { align-items: center; background-color: #222f3e; border-top: 1px solid #000; color: #fff; display: flex; flex: 0 0 auto; font-size: 12px; font-weight: 400; height: 18px; overflow: hidden; padding: 0 8px; position: relative; text-transform: uppercase; } +.tox .tox-statusbar__text-container { display: flex; flex: 1 1 auto; justify-content: flex-end; overflow: hidden; } +.tox .tox-statusbar__path { display: flex; flex: 1 1 auto; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.tox .tox-statusbar__path > * { display: inline; white-space: nowrap; } +.tox .tox-statusbar__wordcount { flex: 0 0 auto; margin-left: 1ch; } + +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { color: #fff; text-decoration: none; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #fff; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(255 255 255 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [aria-disabled="true"]) svg { fill: #fff; } +.tox .tox-statusbar__resize-handle { align-items: flex-end; align-self: stretch; cursor: nwse-resize; display: flex; flex: 0 0 auto; justify-content: flex-end; margin-left: auto; margin-right: -8px; padding-bottom: 3px; padding-left: 1ch; padding-right: 3px; } +.tox .tox-statusbar__resize-handle svg { display: block; fill: rgb(255 255 255 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #4a5562; border-radius: 1px 1px -4px; box-shadow: 0 0 0 2px #4a5562; } +.tox:not([dir="rtl"]) .tox-statusbar__path > * { margin-right: 4px; } +.tox:not([dir="rtl"]) .tox-statusbar__branding { margin-left: 2ch; } +.tox[dir="rtl"] .tox-statusbar { flex-direction: row-reverse; } +.tox[dir="rtl"] .tox-statusbar__path > * { margin-left: 4px; } +.tox .tox-throbber { z-index: 1299; } +.tox .tox-throbber__busy-spinner { align-items: center; background-color: rgb(34 47 62 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.tox .tox-tbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #fff; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 34px; justify-content: center; margin: 3px 0 2px; outline: 0; overflow: hidden; padding: 0; text-transform: none; width: 34px; } +.tox .tox-tbtn svg { display: block; fill: #fff; } +.tox .tox-tbtn.tox-tbtn-more { padding-left: 5px; padding-right: 5px; width: inherit; } +.tox .tox-tbtn:focus { background: #4a5562; border: 0; box-shadow: none; } +.tox .tox-tbtn:hover { background: #4a5562; border: 0; box-shadow: none; color: #fff; } +.tox .tox-tbtn:hover svg { fill: #fff; } +.tox .tox-tbtn:active { background: #757d87; border: 0; box-shadow: none; color: #fff; } +.tox .tox-tbtn:active svg { fill: #fff; } + +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { background: 0 0; border: 0; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } + +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { fill: rgb(255 255 255 / 50%); } + +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { background: #757d87; border: 0; box-shadow: none; color: #fff; } + +.tox .tox-tbtn--enabled:hover > *, +.tox .tox-tbtn--enabled > * { transform: none; } + +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { fill: #fff; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { color: #fff; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { fill: #fff; } +.tox .tox-tbtn:active > * { transform: none; } +.tox .tox-tbtn--md { height: 51px; width: 51px; } +.tox .tox-tbtn--lg { flex-direction: column; height: 68px; width: 68px; } +.tox .tox-tbtn--return { align-self: stretch; height: unset; width: 16px; } +.tox .tox-tbtn--labeled { padding: 0 4px; width: unset; } +.tox .tox-tbtn__vlabel { display: block; font-size: 10px; font-weight: 400; letter-spacing: -0.025em; margin-bottom: 4px; white-space: nowrap; } +.tox .tox-tbtn--select { margin: 3px 0 2px; padding: 0 4px; width: auto; } +.tox .tox-tbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-tbtn__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-tbtn__select-chevron svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-tbtn--bespoke { background: 0 0; } +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { margin-inline-start: 0; } +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 7em; } +.tox .tox-split-button { border: 0; border-radius: 3px; box-sizing: border-box; display: flex; margin: 3px 0 2px; overflow: hidden; } +.tox .tox-split-button:hover { box-shadow: 0 0 0 1px #4a5562 inset; } +.tox .tox-split-button:focus { background: #4a5562; box-shadow: none; color: #fff; } +.tox .tox-split-button > * { border-radius: 0; } +.tox .tox-split-button__chevron { width: 16px; } +.tox .tox-split-button__chevron svg { fill: rgb(255 255 255 / 50%); } +.tox .tox-split-button .tox-tbtn { margin: 0; } + +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled:hover { background: 0 0; box-shadow: none; color: rgb(255 255 255 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 0; } +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { width: 30px; } +.tox.tox-platform-touch .tox-split-button__chevron { width: 20px; } +.tox .tox-toolbar-overlord { background-color: #222f3e; } + +.tox .tox-toolbar, +.tox .tox-toolbar__overflow, +.tox .tox-toolbar__primary { background-color: #222f3e; background-image: repeating-linear-gradient(#000 0 1px, transparent 1px 39px); background-position: center top 39px; background-repeat: no-repeat; background-size: calc(100% - 4px * 2) calc(100% - 39px); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; padding: 0; transform: perspective(1px); } + +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow, +.tox .tox-toolbar-overlord > .tox-toolbar__primary { background-position: center top 0; background-size: calc(100% - 4px * 2) calc(100% - 0px); } +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; visibility: hidden; } +.tox .tox-toolbar__overflow--growing { transition: height 0.3s ease, opacity 0.2s linear 0.1s; } +.tox .tox-toolbar__overflow--shrinking { transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; } + +.tox .tox-anchorbar, +.tox .tox-toolbar-overlord { grid-column: 1/-1; } + +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { border-top: 1px solid #000; margin-top: -1px; padding-bottom: 0; padding-top: 0; } +.tox .tox-toolbar--scrolling { flex-wrap: nowrap; overflow-x: auto; } +.tox .tox-pop .tox-toolbar { border-width: 0; } +.tox .tox-toolbar--no-divider { background-image: none; } + +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { background-position: center top 39px; } + +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { background-image: none; } +.tox.tox-tinymce-aux .tox-toolbar__overflow { background-color: #222f3e; background-position: center top 43px; background-size: calc(100% - 8px * 2) calc(100% - 51px); border: none; border-radius: 3px; box-shadow: 0 0 2px 0 rgb(42 55 70 / 20%), 0 4px 8px 0 rgb(42 55 70 / 15%); padding: 4px 0; } +.tox-pop .tox-pop__dialog .tox-toolbar { background-position: center top 43px; background-size: calc(100% - 4px * 2) calc(100% - 51px); padding: 4px 0; } +.tox .tox-toolbar__group { align-items: center; display: flex; flex-wrap: wrap; margin: 0; padding: 0 4px; } +.tox .tox-toolbar__group--pull-right { margin-left: auto; } +.tox .tox-toolbar--scrolling .tox-toolbar__group { flex-shrink: 0; flex-wrap: nowrap; } +.tox:not([dir="rtl"]) .tox-toolbar__group:not(:last-of-type) { border-right: 1px solid #000; } +.tox[dir="rtl"] .tox-toolbar__group:not(:last-of-type) { border-left: 1px solid #000; } +.tox .tox-tooltip { display: inline-block; padding: 8px; position: relative; } +.tox .tox-tooltip__body { background-color: #3d546f; border-radius: 3px; box-shadow: 0 2px 4px rgb(42 55 70 / 30%); color: rgb(255 255 255 / 75%); font-size: 14px; font-style: normal; font-weight: 400; padding: 4px 8px; text-transform: none; } +.tox .tox-tooltip__arrow { position: absolute; } +.tox .tox-tooltip--down .tox-tooltip__arrow { border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #3d546f; bottom: 0; left: 50%; position: absolute; transform: translateX(-50%); } +.tox .tox-tooltip--up .tox-tooltip__arrow { border-bottom: 8px solid #3d546f; border-left: 8px solid transparent; border-right: 8px solid transparent; left: 50%; position: absolute; top: 0; transform: translateX(-50%); } +.tox .tox-tooltip--right .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-left: 8px solid #3d546f; border-top: 8px solid transparent; position: absolute; right: 0; top: 50%; transform: translateY(-50%); } +.tox .tox-tooltip--left .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-right: 8px solid #3d546f; border-top: 8px solid transparent; left: 0; position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-well { border: 1px solid #000; border-radius: 3px; padding: 8px; width: 100%; } +.tox .tox-well > :first-child { margin-top: 0; } +.tox .tox-well > :last-child { margin-bottom: 0; } +.tox .tox-well > :only-child { margin: 0; } +.tox .tox-custom-editor { border: 1px solid #000; border-radius: 3px; display: flex; flex: 1; position: relative; } +.tox .tox-dialog-loading::before { background-color: rgb(0 0 0 / 50%); content: ""; height: 100%; position: absolute; width: 100%; z-index: 1000; } +.tox .tox-tab { cursor: pointer; } +.tox .tox-dialog__content-js { display: flex; flex: 1; } +.tox .tox-dialog__body-content .tox-collection { display: flex; flex: 1; } +.tox:not(.tox-tinymce-inline) .tox-editor-header { background-color: none; padding: 0; } + +.tox.tox-tinymce--toolbar-bottom .tox-editor-header, +.tox.tox-tinymce-inline .tox-editor-header { margin-bottom: -1px; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { border-top: none; box-shadow: none; } +.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header { background-color: transparent; box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); padding: 0; } +.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); } +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { margin: -4px 0; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 0; } +.tox .tox-pop { box-shadow: none; } + +.tox .tox-split-button, +.tox .tox-tbtn, +.tox .tox-tbtn--select { margin: 2px 0 3px; } + +.tox .tox-toolbar, +.tox .tox-toolbar__overflow, +.tox .tox-toolbar__primary { background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e !important; } +.tox .tox-menubar + .tox-toolbar-overlord { border-top: none; } + +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord .tox-toolbar__primary { border-top: 1px solid #000; margin-top: -1px; } +.tox.tox-tinymce-aux .tox-toolbar__overflow { border: 1px solid #000; padding: 0; } +.tox .tox-pop .tox-pop__dialog .tox-toolbar { padding: 0; } +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar { border-top: 1px solid #000; } + +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary, +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child { border-top: 1px solid #000; } +.tox .tox-toolbar__group { padding: 0 4px; } +.tox .tox-collection__item { border-radius: 0; cursor: pointer; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #fff; text-decoration: underline; } +.tox .tox-statusbar__branding svg { vertical-align: -0.25em; } +.tox:not([dir="rtl"]) .tox-statusbar__branding { margin-left: 1ch; } +.tox .tox-statusbar__resize-handle { padding-bottom: 0; padding-right: 0; } +.tox .tox-button::before { display: none; } diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.min.css.br b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.br new file mode 100644 index 000000000..70fc396e0 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.min.css.gz b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.gz new file mode 100644 index 000000000..b2c6310fe Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css new file mode 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css @@ -0,0 +1,35 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} + +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} + +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} + +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} + +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css.br b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css.br new file mode 100644 index 000000000..671b5c9a5 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css.gz b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css.gz new file mode 100644 index 000000000..36717f9f5 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css new file mode 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.br b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.br new file mode 100644 index 000000000..276ce6921 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.gz b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.gz new file mode 100644 index 000000000..b368565de Binary files /dev/null and b/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/content.css b/tinymce/skins/ui/tinymce-5/content.css new file mode 100755 index 000000000..13cf7b116 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.css @@ -0,0 +1,775 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} +body { + font-family: sans-serif; +} +table { + border-collapse: collapse; +} diff --git a/tinymce/skins/ui/tinymce-5/content.css.br b/tinymce/skins/ui/tinymce-5/content.css.br new file mode 100644 index 000000000..40b78c6c3 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.css.gz b/tinymce/skins/ui/tinymce-5/content.css.gz new file mode 100644 index 000000000..72d87b1cb Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.css b/tinymce/skins/ui/tinymce-5/content.inline.css new file mode 100755 index 000000000..9bd1e2974 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.inline.css @@ -0,0 +1,769 @@ +.mce-content-body .mce-item-anchor { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; +} +.mce-content-body .mce-item-anchor:empty { + cursor: default; + display: inline-block; + height: 12px !important; + padding: 0 2px; + -webkit-user-modify: read-only; + -moz-user-modify: read-only; + -webkit-user-select: all; + -moz-user-select: all; + user-select: all; + width: 8px !important; +} +.mce-content-body .mce-item-anchor:not(:empty) { + background-position-x: 2px; + display: inline-block; + padding-left: 12px; +} +.mce-content-body .mce-item-anchor[data-mce-selected] { + outline-offset: 1px; +} +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #ffe89d; +} +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]) { + outline: 3px solid #fed635; +} +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { + background-color: #ffe89d; + outline: none; +} +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { + background-color: #fed635; +} +.tox-checklist > li:not(.tox-checklist--hidden) { + list-style: none; + margin: 0.25em 0; +} +.tox-checklist > li:not(.tox-checklist--hidden)::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); + cursor: pointer; + height: 1em; + margin-left: -1.5em; + margin-top: 0.125em; + position: absolute; + width: 1em; +} +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { + content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); +} +[dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { + margin-left: 0; + margin-right: -1.5em; +} +/* stylelint-disable */ +/* http://prismjs.com/ */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + -moz-tab-size: 4; + tab-size: 4; + -webkit-hyphens: none; + hyphens: none; +} +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: 0.5em 0; + overflow: auto; +} +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: 0.1em; + border-radius: 0.3em; + white-space: normal; +} +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} +.token.punctuation { + color: #999; +} +.token.namespace { + opacity: 0.7; +} +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + /* This background color was intended by the author of this theme. */ + background: hsla(0, 0%, 100%, 0.5); +} +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} +.token.function, +.token.class-name { + color: #DD4A68; +} +.token.regex, +.token.important, +.token.variable { + color: #e90; +} +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} +.token.entity { + cursor: help; +} +/* stylelint-enable */ +.mce-content-body { + overflow-wrap: break-word; + word-wrap: break-word; +} +.mce-content-body .mce-visual-caret { + background-color: black; + background-color: currentColor; + position: absolute; +} +.mce-content-body .mce-visual-caret-hidden { + display: none; +} +.mce-content-body *[data-mce-caret] { + left: -1000px; + margin: 0; + padding: 0; + position: absolute; + right: auto; + top: 0; +} +.mce-content-body .mce-offscreen-selection { + left: -2000000px; + max-width: 1000000px; + position: absolute; +} +.mce-content-body *[contentEditable=false] { + cursor: default; +} +.mce-content-body *[contentEditable=true] { + cursor: text; +} +.tox-cursor-format-painter { + cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; +} +div.mce-footnotes hr { + margin-inline-end: auto; + margin-inline-start: 0; + width: 25%; +} +div.mce-footnotes li > a.mce-footnotes-backlink { + text-decoration: none; +} +@media print { + sup.mce-footnote a { + color: black; + text-decoration: none; + } + div.mce-footnotes { + break-inside: avoid; + width: 100%; + } + div.mce-footnotes li > a.mce-footnotes-backlink { + display: none; + } +} +.mce-content-body figure.align-left { + float: left; +} +.mce-content-body figure.align-right { + float: right; +} +.mce-content-body figure.image.align-center { + display: table; + margin-left: auto; + margin-right: auto; +} +.mce-preview-object { + border: 1px solid gray; + display: inline-block; + line-height: 0; + margin: 0 2px 0 2px; + position: relative; +} +.mce-preview-object .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-preview-object[data-mce-selected="2"] .mce-shim { + display: none; +} +.mce-content-body .mce-mergetag:hover { + background-color: rgba(0, 108, 231, 0.1); +} +.mce-content-body .mce-mergetag-affix { + background-color: rgba(0, 108, 231, 0.1); + color: #006ce7; +} +.mce-object { + background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; + border: 1px dashed #aaa; +} +.mce-pagebreak { + border: 1px dashed #aaa; + cursor: default; + display: block; + height: 5px; + margin-top: 15px; + page-break-before: always; + width: 100%; +} +@media print { + .mce-pagebreak { + border: 0; + } +} +.tiny-pageembed .mce-shim { + background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tiny-pageembed[data-mce-selected="2"] .mce-shim { + display: none; +} +.tiny-pageembed { + display: inline-block; + position: relative; +} +.tiny-pageembed--21by9, +.tiny-pageembed--16by9, +.tiny-pageembed--4by3, +.tiny-pageembed--1by1 { + display: block; + overflow: hidden; + padding: 0; + position: relative; + width: 100%; +} +.tiny-pageembed--21by9 { + padding-top: 42.857143%; +} +.tiny-pageembed--16by9 { + padding-top: 56.25%; +} +.tiny-pageembed--4by3 { + padding-top: 75%; +} +.tiny-pageembed--1by1 { + padding-top: 100%; +} +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--4by3 iframe, +.tiny-pageembed--1by1 iframe { + border: 0; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.mce-content-body[data-mce-placeholder] { + position: relative; +} +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { + color: rgba(34, 47, 62, 0.7); + content: attr(data-mce-placeholder); + position: absolute; +} +.mce-content-body:not([dir=rtl])[data-mce-placeholder]:not(.mce-visualblocks)::before { + left: 1px; +} +.mce-content-body[dir=rtl][data-mce-placeholder]:not(.mce-visualblocks)::before { + right: 1px; +} +.mce-content-body div.mce-resizehandle { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + height: 10px; + position: absolute; + width: 10px; + z-index: 1298; +} +.mce-content-body div.mce-resizehandle:hover { + background-color: #4099ff; +} +.mce-content-body div.mce-resizehandle:nth-of-type(1) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(2) { + cursor: nesw-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(3) { + cursor: nwse-resize; +} +.mce-content-body div.mce-resizehandle:nth-of-type(4) { + cursor: nesw-resize; +} +.mce-content-body .mce-resize-backdrop { + z-index: 10000; +} +.mce-content-body .mce-clonedresizable { + cursor: default; + opacity: 0.5; + outline: 1px dashed black; + position: absolute; + z-index: 10001; +} +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td { + border: 0; +} +.mce-content-body .mce-resize-helper { + background: #555; + background: rgba(0, 0, 0, 0.75); + border: 1px; + border-radius: 3px; + color: white; + display: none; + font-family: sans-serif; + font-size: 12px; + line-height: 14px; + margin: 5px 10px; + padding: 5px; + position: absolute; + white-space: nowrap; + z-index: 10002; +} +.tox-rtc-user-selection { + position: relative; +} +.tox-rtc-user-cursor { + bottom: 0; + cursor: default; + position: absolute; + top: 0; + width: 2px; +} +.tox-rtc-user-cursor::before { + background-color: inherit; + border-radius: 50%; + content: ''; + display: block; + height: 8px; + position: absolute; + right: -3px; + top: -3px; + width: 8px; +} +.tox-rtc-user-cursor:hover::after { + background-color: inherit; + border-radius: 100px; + box-sizing: border-box; + color: #fff; + content: attr(data-user); + display: block; + font-size: 12px; + font-weight: bold; + left: -5px; + min-height: 8px; + min-width: 8px; + padding: 0 12px; + position: absolute; + top: -11px; + white-space: nowrap; + z-index: 1000; +} +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { + background-color: #2dc26b; +} +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { + background-color: #e03e2d; +} +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { + background-color: #f1c40f; +} +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { + background-color: #3598db; +} +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { + background-color: #b96ad9; +} +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { + background-color: #e67e23; +} +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { + background-color: #aaa69d; +} +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { + background-color: #f368e0; +} +.tox-rtc-remote-image { + background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; + border: 1px solid #ccc; + min-height: 240px; + min-width: 320px; +} +.mce-match-marker { + background: #aaa; + color: #fff; +} +.mce-match-marker-selected { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::-moz-selection { + background: #39f; + color: #fff; +} +.mce-match-marker-selected::selection { + background: #39f; + color: #fff; +} +.mce-content-body img[data-mce-selected], +.mce-content-body video[data-mce-selected], +.mce-content-body audio[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body table[data-mce-selected] { + outline: 3px solid #b4d7ff; +} +.mce-content-body hr[data-mce-selected] { + outline: 3px solid #b4d7ff; + outline-offset: 1px; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { + outline: 3px solid #b4d7ff; +} +.mce-content-body *[contentEditable=false][data-mce-selected] { + cursor: not-allowed; + outline: 3px solid #b4d7ff; +} +.mce-content-body.mce-content-readonly *[contentEditable=true]:focus, +.mce-content-body.mce-content-readonly *[contentEditable=true]:hover { + outline: none; +} +.mce-content-body *[data-mce-selected="inline-boundary"] { + background-color: #b4d7ff; +} +.mce-content-body .mce-edit-focus { + outline: 3px solid #b4d7ff; +} +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { + position: relative; +} +.mce-content-body td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { + background: none; +} +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { + outline: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { + background-color: rgba(180, 215, 255, 0.7); + border: 1px solid rgba(180, 215, 255, 0.7); + bottom: -1px; + content: ''; + left: -1px; + mix-blend-mode: multiply; + position: absolute; + right: -1px; + top: -1px; +} +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { + .mce-content-body td[data-mce-selected]::after, + .mce-content-body th[data-mce-selected]::after { + border-color: rgba(0, 84, 180, 0.7); + } +} +.mce-content-body img[data-mce-selected]::-moz-selection { + background: none; +} +.mce-content-body img[data-mce-selected]::selection { + background: none; +} +.ephox-snooker-resizer-bar { + background-color: #b4d7ff; + opacity: 0; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.ephox-snooker-resizer-cols { + cursor: col-resize; +} +.ephox-snooker-resizer-rows { + cursor: row-resize; +} +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { + opacity: 1; +} +.mce-spellchecker-word { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; + height: 2rem; +} +.mce-spellchecker-grammar { + background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); + background-position: 0 calc(100% + 1px); + background-repeat: repeat-x; + background-size: auto 6px; + cursor: default; +} +.mce-toc { + border: 1px solid gray; +} +.mce-toc h2 { + margin: 4px; +} +.mce-toc li { + list-style-type: none; +} +table[style*="border-width: 0px"], +.mce-item-table:not([border]), +.mce-item-table[border="0"], +table[style*="border-width: 0px"] td, +.mce-item-table:not([border]) td, +.mce-item-table[border="0"] td, +table[style*="border-width: 0px"] th, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"] caption, +.mce-item-table:not([border]) caption, +.mce-item-table[border="0"] caption { + border: 1px dashed #bbb; +} +.mce-visualblocks p, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks section, +.mce-visualblocks article, +.mce-visualblocks blockquote, +.mce-visualblocks address, +.mce-visualblocks pre, +.mce-visualblocks figure, +.mce-visualblocks figcaption, +.mce-visualblocks hgroup, +.mce-visualblocks aside, +.mce-visualblocks ul, +.mce-visualblocks ol, +.mce-visualblocks dl { + background-repeat: no-repeat; + border: 1px dashed #bbb; + margin-left: 3px; + padding-top: 10px; +} +.mce-visualblocks p { + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); +} +.mce-visualblocks h1 { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); +} +.mce-visualblocks h2 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); +} +.mce-visualblocks h3 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); +} +.mce-visualblocks h4 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); +} +.mce-visualblocks h5 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); +} +.mce-visualblocks h6 { + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); +} +.mce-visualblocks div:not([data-mce-bogus]) { + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); +} +.mce-visualblocks section { + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); +} +.mce-visualblocks article { + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); +} +.mce-visualblocks blockquote { + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); +} +.mce-visualblocks address { + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); +} +.mce-visualblocks pre { + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); +} +.mce-visualblocks figure { + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); +} +.mce-visualblocks figcaption { + border: 1px dashed #bbb; +} +.mce-visualblocks hgroup { + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); +} +.mce-visualblocks aside { + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); +} +.mce-visualblocks ul { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); +} +.mce-visualblocks ol { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); +} +.mce-visualblocks dl { + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); +} +.mce-visualblocks:not([dir=rtl]) p, +.mce-visualblocks:not([dir=rtl]) h1, +.mce-visualblocks:not([dir=rtl]) h2, +.mce-visualblocks:not([dir=rtl]) h3, +.mce-visualblocks:not([dir=rtl]) h4, +.mce-visualblocks:not([dir=rtl]) h5, +.mce-visualblocks:not([dir=rtl]) h6, +.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir=rtl]) section, +.mce-visualblocks:not([dir=rtl]) article, +.mce-visualblocks:not([dir=rtl]) blockquote, +.mce-visualblocks:not([dir=rtl]) address, +.mce-visualblocks:not([dir=rtl]) pre, +.mce-visualblocks:not([dir=rtl]) figure, +.mce-visualblocks:not([dir=rtl]) figcaption, +.mce-visualblocks:not([dir=rtl]) hgroup, +.mce-visualblocks:not([dir=rtl]) aside, +.mce-visualblocks:not([dir=rtl]) ul, +.mce-visualblocks:not([dir=rtl]) ol, +.mce-visualblocks:not([dir=rtl]) dl { + margin-left: 3px; +} +.mce-visualblocks[dir=rtl] p, +.mce-visualblocks[dir=rtl] h1, +.mce-visualblocks[dir=rtl] h2, +.mce-visualblocks[dir=rtl] h3, +.mce-visualblocks[dir=rtl] h4, +.mce-visualblocks[dir=rtl] h5, +.mce-visualblocks[dir=rtl] h6, +.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), +.mce-visualblocks[dir=rtl] section, +.mce-visualblocks[dir=rtl] article, +.mce-visualblocks[dir=rtl] blockquote, +.mce-visualblocks[dir=rtl] address, +.mce-visualblocks[dir=rtl] pre, +.mce-visualblocks[dir=rtl] figure, +.mce-visualblocks[dir=rtl] figcaption, +.mce-visualblocks[dir=rtl] hgroup, +.mce-visualblocks[dir=rtl] aside, +.mce-visualblocks[dir=rtl] ul, +.mce-visualblocks[dir=rtl] ol, +.mce-visualblocks[dir=rtl] dl { + background-position-x: right; + margin-right: 3px; +} +.mce-nbsp, +.mce-shy { + background: #aaa; +} +.mce-shy::after { + content: '-'; +} diff --git a/tinymce/skins/ui/tinymce-5/content.inline.css.br b/tinymce/skins/ui/tinymce-5/content.inline.css.br new file mode 100644 index 000000000..9abbc6973 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.css.gz b/tinymce/skins/ui/tinymce-5/content.inline.css.gz new file mode 100644 index 000000000..08fe3e7b7 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.min.css b/tinymce/skins/ui/tinymce-5/content.inline.min.css new file mode 100755 index 000000000..08f5d4b29 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.inline.min.css @@ -0,0 +1,310 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #000; background: 0 0; text-shadow: 0 1px #fff; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::selection, +code[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +pre[class*="language-"]::-moz-selection { text-shadow: none; background: #b3d4fc; } + +code[class*="language-"] ::selection, +code[class*="language-"]::selection, +pre[class*="language-"] ::selection, +pre[class*="language-"]::selection { text-shadow: none; background: #b3d4fc; } + +@media print { code[class*="language-"], +pre[class*="language-"] { text-shadow: none; } } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.7; } + +.token.boolean, +.token.constant, +.token.deleted, +.token.number, +.token.property, +.token.symbol, +.token.tag { color: #905; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #690; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url { color: #9a6e3a; background: hsl(0deg 0% 100% / 50%); } + +.token.atrule, +.token.attr-value, +.token.keyword { color: #07a; } + +.token.class-name, +.token.function { color: #dd4a68; } + +.token.important, +.token.regex, +.token.variable { color: #e90; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #b4d7ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #b4d7ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #b4d7ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #b4d7ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #b4d7ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #b4d7ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } diff --git a/tinymce/skins/ui/tinymce-5/content.inline.min.css.br b/tinymce/skins/ui/tinymce-5/content.inline.min.css.br new file mode 100644 index 000000000..7cb4e7145 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.inline.min.css.gz b/tinymce/skins/ui/tinymce-5/content.inline.min.css.gz new file mode 100644 index 000000000..d9256b8d3 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.inline.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/content.min.css b/tinymce/skins/ui/tinymce-5/content.min.css new file mode 100755 index 000000000..73c3ad285 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/content.min.css @@ -0,0 +1,312 @@ +.mce-content-body .mce-item-anchor { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; } +.mce-content-body .mce-item-anchor:empty { cursor: default; display: inline-block; height: 12px !important; padding: 0 2px; -webkit-user-modify: read-only; -moz-user-modify: read-only; user-select: all; user-select: all; user-select: all; width: 8px !important; } +.mce-content-body .mce-item-anchor:not(:empty) { background-position-x: 2px; display: inline-block; padding-left: 12px; } +.mce-content-body .mce-item-anchor[data-mce-selected] { outline-offset: 1px; } + +.tox-comments-visible .tox-comment[contenteditable="false"]:not([data-mce-selected]), +.tox-comments-visible span.tox-comment img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment > video:not([data-mce-selected]) { outline: 3px solid #ffe89d; } +.tox-comments-visible .tox-comment[contenteditable="false"][data-mce-annotation-active="true"]:not([data-mce-selected]) { outline: 3px solid #fed635; } + +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] img:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] span.mce-preview-object:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > audio:not([data-mce-selected]), +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"] > video:not([data-mce-selected]) { outline: 3px solid #fed635; } +.tox-comments-visible span.tox-comment:not([data-mce-selected]) { background-color: #ffe89d; outline: 0; } +.tox-comments-visible span.tox-comment[data-mce-annotation-active="true"]:not([data-mce-selected="inline-boundary"]) { background-color: #fed635; } +.tox-checklist > li:not(.tox-checklist--hidden) { list-style: none; margin: 0.25em 0; } +.tox-checklist > li:not(.tox-checklist--hidden)::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); cursor: pointer; height: 1em; margin-left: -1.5em; margin-top: 0.125em; position: absolute; width: 1em; } +.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { content: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); } +[dir="rtl"] .tox-checklist > li:not(.tox-checklist--hidden)::before { margin-left: 0; margin-right: -1.5em; } + +code[class*="language-"], +pre[class*="language-"] { color: #000; background: 0 0; text-shadow: 0 1px #fff; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; word-break: normal; word-wrap: normal; line-height: 1.5; tab-size: 4; tab-size: 4; hyphens: none; hyphens: none; } + +code[class*="language-"] ::selection, +code[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +pre[class*="language-"]::-moz-selection { text-shadow: none; background: #b3d4fc; } + +code[class*="language-"] ::selection, +code[class*="language-"]::selection, +pre[class*="language-"] ::selection, +pre[class*="language-"]::selection { text-shadow: none; background: #b3d4fc; } + +@media print { code[class*="language-"], +pre[class*="language-"] { text-shadow: none; } } +pre[class*="language-"] { padding: 1em; margin: 0.5em 0; overflow: auto; } + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { background: #f5f2f0; } +:not(pre) > code[class*="language-"] { padding: 0.1em; border-radius: 0.3em; white-space: normal; } + +.token.cdata, +.token.comment, +.token.doctype, +.token.prolog { color: #708090; } +.token.punctuation { color: #999; } +.token.namespace { opacity: 0.7; } + +.token.boolean, +.token.constant, +.token.deleted, +.token.number, +.token.property, +.token.symbol, +.token.tag { color: #905; } + +.token.attr-name, +.token.builtin, +.token.char, +.token.inserted, +.token.selector, +.token.string { color: #690; } + +.language-css .token.string, +.style .token.string, +.token.entity, +.token.operator, +.token.url { color: #9a6e3a; background: hsl(0deg 0% 100% / 50%); } + +.token.atrule, +.token.attr-value, +.token.keyword { color: #07a; } + +.token.class-name, +.token.function { color: #dd4a68; } + +.token.important, +.token.regex, +.token.variable { color: #e90; } + +.token.bold, +.token.important { font-weight: 700; } +.token.italic { font-style: italic; } +.token.entity { cursor: help; } +.mce-content-body { overflow-wrap: break-word; word-wrap: break-word; } +.mce-content-body .mce-visual-caret { background-color: #000; background-color: currentcolor; position: absolute; } +.mce-content-body .mce-visual-caret-hidden { display: none; } +.mce-content-body [data-mce-caret] { left: -1000px; margin: 0; padding: 0; position: absolute; right: auto; top: 0; } +.mce-content-body .mce-offscreen-selection { left: -2000000px; max-width: 1000000px; position: absolute; } +.mce-content-body [contentEditable="false"] { cursor: default; } +.mce-content-body [contentEditable="true"] { cursor: text; } +.tox-cursor-format-painter { cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; } +div.mce-footnotes hr { margin-inline-end: auto; margin-inline-start: 0; width: 25%; } +div.mce-footnotes li > a.mce-footnotes-backlink { text-decoration: none; } + +@media print { + sup.mce-footnote a { color: #000; text-decoration: none; } + div.mce-footnotes { break-inside: avoid; width: 100%; } + div.mce-footnotes li > a.mce-footnotes-backlink { display: none; } +} +.mce-content-body figure.align-left { float: left; } +.mce-content-body figure.align-right { float: right; } +.mce-content-body figure.image.align-center { display: table; margin-left: auto; margin-right: auto; } +.mce-preview-object { border: 1px solid gray; display: inline-block; line-height: 0; margin: 0 2px; position: relative; } +.mce-preview-object .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-preview-object[data-mce-selected="2"] .mce-shim { display: none; } +.mce-content-body .mce-mergetag:hover { background-color: rgb(0 108 231 / 10%); } +.mce-content-body .mce-mergetag-affix { background-color: rgb(0 108 231 / 10%); color: #006ce7; } +.mce-object { background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; border: 1px dashed #aaa; } +.mce-pagebreak { border: 1px dashed #aaa; cursor: default; display: block; height: 5px; margin-top: 15px; page-break-before: always; width: 100%; } + +@media print { .mce-pagebreak { border: 0; } } +.tiny-pageembed .mce-shim { background: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tiny-pageembed[data-mce-selected="2"] .mce-shim { display: none; } +.tiny-pageembed { display: inline-block; position: relative; } + +.tiny-pageembed--16by9, +.tiny-pageembed--1by1, +.tiny-pageembed--21by9, +.tiny-pageembed--4by3 { display: block; overflow: hidden; padding: 0; position: relative; width: 100%; } +.tiny-pageembed--21by9 { padding-top: 42.857143%; } +.tiny-pageembed--16by9 { padding-top: 56.25%; } +.tiny-pageembed--4by3 { padding-top: 75%; } +.tiny-pageembed--1by1 { padding-top: 100%; } + +.tiny-pageembed--16by9 iframe, +.tiny-pageembed--1by1 iframe, +.tiny-pageembed--21by9 iframe, +.tiny-pageembed--4by3 iframe { border: 0; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.mce-content-body[data-mce-placeholder] { position: relative; } +.mce-content-body[data-mce-placeholder]:not(.mce-visualblocks)::before { color: rgb(34 47 62 / 70%); content: attr(data-mce-placeholder); position: absolute; } +.mce-content-body:not([dir="rtl"])[data-mce-placeholder]:not(.mce-visualblocks)::before { left: 1px; } +.mce-content-body[dir="rtl"][data-mce-placeholder]:not(.mce-visualblocks)::before { right: 1px; } +.mce-content-body div.mce-resizehandle { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; height: 10px; position: absolute; width: 10px; z-index: 1298; } +.mce-content-body div.mce-resizehandle:hover { background-color: #4099ff; } +.mce-content-body div.mce-resizehandle:nth-of-type(1) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(2) { cursor: nesw-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(3) { cursor: nwse-resize; } +.mce-content-body div.mce-resizehandle:nth-of-type(4) { cursor: nesw-resize; } +.mce-content-body .mce-resize-backdrop { z-index: 10000; } +.mce-content-body .mce-clonedresizable { cursor: default; opacity: 0.5; outline: 1px dashed #000; position: absolute; z-index: 10001; } + +.mce-content-body .mce-clonedresizable.mce-resizetable-columns td, +.mce-content-body .mce-clonedresizable.mce-resizetable-columns th { border: 0; } +.mce-content-body .mce-resize-helper { background: #555; background: rgb(0 0 0 / 75%); border: 1px; border-radius: 3px; color: #fff; display: none; font-family: sans-serif; font-size: 12px; line-height: 14px; margin: 5px 10px; padding: 5px; position: absolute; white-space: nowrap; z-index: 10002; } +.tox-rtc-user-selection { position: relative; } +.tox-rtc-user-cursor { bottom: 0; cursor: default; position: absolute; top: 0; width: 2px; } +.tox-rtc-user-cursor::before { background-color: inherit; border-radius: 50%; content: ""; display: block; height: 8px; position: absolute; right: -3px; top: -3px; width: 8px; } +.tox-rtc-user-cursor:hover::after { background-color: inherit; border-radius: 100px; box-sizing: border-box; color: #fff; content: attr(data-user); display: block; font-size: 12px; font-weight: 700; left: -5px; min-height: 8px; min-width: 8px; padding: 0 12px; position: absolute; top: -11px; white-space: nowrap; z-index: 1000; } +.tox-rtc-user-selection--1 .tox-rtc-user-cursor { background-color: #2dc26b; } +.tox-rtc-user-selection--2 .tox-rtc-user-cursor { background-color: #e03e2d; } +.tox-rtc-user-selection--3 .tox-rtc-user-cursor { background-color: #f1c40f; } +.tox-rtc-user-selection--4 .tox-rtc-user-cursor { background-color: #3598db; } +.tox-rtc-user-selection--5 .tox-rtc-user-cursor { background-color: #b96ad9; } +.tox-rtc-user-selection--6 .tox-rtc-user-cursor { background-color: #e67e23; } +.tox-rtc-user-selection--7 .tox-rtc-user-cursor { background-color: #aaa69d; } +.tox-rtc-user-selection--8 .tox-rtc-user-cursor { background-color: #f368e0; } +.tox-rtc-remote-image { background: #eaeaea url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2236%22%20height%3D%2212%22%20viewBox%3D%220%200%2036%2012%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2218%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.33s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%20%20%3Ccircle%20cx%3D%2230%22%20cy%3D%226%22%20r%3D%223%22%20fill%3D%22rgba(0%2C%200%2C%200%2C%20.2)%22%3E%0A%20%20%20%20%3Canimate%20attributeName%3D%22r%22%20values%3D%223%3B5%3B3%22%20calcMode%3D%22linear%22%20begin%3D%22.66s%22%20dur%3D%221s%22%20repeatCount%3D%22indefinite%22%20%2F%3E%0A%20%20%3C%2Fcircle%3E%0A%3C%2Fsvg%3E%0A") no-repeat center center; border: 1px solid #ccc; min-height: 240px; min-width: 320px; } +.mce-match-marker { background: #aaa; color: #fff; } +.mce-match-marker-selected { background: #39f; color: #fff; } +.mcemarker-selected::-moz-selection { background: #39f; color: #fff; } +.mce-match-marker-selected::selection { background: #39f; color: #fff; } + +.mce-content-body audio[data-mce-selected], +.mce-content-body embed[data-mce-selected], +.mce-content-body img[data-mce-selected], +.mce-content-body object[data-mce-selected], +.mce-content-body table[data-mce-selected], +.mce-content-body video[data-mce-selected] { outline: 3px solid #b4d7ff; } +.mce-content-body hr[data-mce-selected] { outline: 3px solid #b4d7ff; outline-offset: 1px; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:focus { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"] [contentEditable="true"]:hover { outline: 3px solid #b4d7ff; } +.mce-content-body [contentEditable="false"][data-mce-selected] { cursor: not-allowed; outline: 3px solid #b4d7ff; } + +.mce-content-body.mce-content-readonly [contentEditable="true"]:focus, +.mce-content-body.mce-content-readonly [contentEditable="true"]:hover { outline: 0; } +.mce-content-body [data-mce-selected="inline-boundary"] { background-color: #b4d7ff; } +.mce-content-body .mce-edit-focus { outline: 3px solid #b4d7ff; } + +.mce-content-body td[data-mce-selected], +.mce-content-body th[data-mce-selected] { position: relative; } + +.mcebody td[data-mce-selected]::-moz-selection, +.mce-content-body th[data-mce-selected]::-moz-selection { background: 0 0; } + +.mce-content-body td[data-mce-selected]::selection, +.mce-content-body th[data-mce-selected]::selection { background: 0 0; } + +.mce-content-body td[data-mce-selected] *, +.mce-content-body th[data-mce-selected] * { outline: 0; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } + +.mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { background-color: rgb(180 215 255 / 70%); border: 1px solid rgb(180 215 255 / 70%); inset: -1px; content: ""; mix-blend-mode: multiply; position: absolute; } + +@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .mce-content-body td[data-mce-selected]::after, +.mce-content-body th[data-mce-selected]::after { border-color: rgb(0 84 180 / 70%); } } +.mcebody img[data-mce-selected]::-moz-selection { background: 0 0; } +.mce-content-body img[data-mce-selected]::selection { background: 0 0; } +.ephox-snooker-resizer-bar { background-color: #b4d7ff; opacity: 0; user-select: none; user-select: none; user-select: none; } +.ephox-snooker-resizer-cols { cursor: col-resize; } +.ephox-snooker-resizer-rows { cursor: row-resize; } +.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { opacity: 1; } +.mce-spellchecker-word { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; height: 2rem; } +.mce-spellchecker-grammar { background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); background-position: 0 calc(100% + 1px); background-repeat: repeat-x; background-size: auto 6px; cursor: default; } +.mce-toc { border: 1px solid gray; } +.mce-toc h2 { margin: 4px; } +.mce-toc li { list-style-type: none; } + +.mce-item-table:not([border]), +.mce-item-table:not([border]) caption, +.mce-item-table:not([border]) td, +.mce-item-table:not([border]) th, +.mce-item-table[border="0"], +.mce-item-table[border="0"] caption, +.mce-item-table[border="0"] td, +.mce-item-table[border="0"] th, +table[style*="border-width: 0px"], +table[style*="border-width: 0px"] caption, +table[style*="border-width: 0px"] td, +table[style*="border-width: 0px"] th { border: 1px dashed #bbb; } + +.mce-visualblocks address, +.mce-visualblocks article, +.mce-visualblocks aside, +.mce-visualblocks blockquote, +.mce-visualblocks div:not([data-mce-bogus]), +.mce-visualblocks dl, +.mce-visualblocks figcaption, +.mce-visualblocks figure, +.mce-visualblocks h1, +.mce-visualblocks h2, +.mce-visualblocks h3, +.mce-visualblocks h4, +.mce-visualblocks h5, +.mce-visualblocks h6, +.mce-visualblocks hgroup, +.mce-visualblocks ol, +.mce-visualblocks p, +.mce-visualblocks pre, +.mce-visualblocks section, +.mce-visualblocks ul { background-repeat: no-repeat; border: 1px dashed #bbb; margin-left: 3px; padding-top: 10px; } +.mce-visualblocks p { background-image: url("data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7"); } +.mce-visualblocks h1 { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw=="); } +.mce-visualblocks h2 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw=="); } +.mce-visualblocks h3 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7"); } +.mce-visualblocks h4 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw=="); } +.mce-visualblocks h5 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw=="); } +.mce-visualblocks h6 { background-image: url("data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw=="); } +.mce-visualblocks div:not([data-mce-bogus]) { background-image: url("data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7"); } +.mce-visualblocks section { background-image: url("data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs="); } +.mce-visualblocks article { background-image: url("data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7"); } +.mce-visualblocks blockquote { background-image: url("data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7"); } +.mce-visualblocks address { background-image: url("data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs="); } +.mce-visualblocks pre { background-image: url("data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw=="); } +.mce-visualblocks figure { background-image: url("data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7"); } +.mce-visualblocks figcaption { border: 1px dashed #bbb; } +.mce-visualblocks hgroup { background-image: url("data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7"); } +.mce-visualblocks aside { background-image: url("data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs="); } +.mce-visualblocks ul { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw=="); } +.mce-visualblocks ol { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw=="); } +.mce-visualblocks dl { background-image: url("data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw=="); } + +.mce-visualblocks:not([dir="rtl"]) address, +.mce-visualblocks:not([dir="rtl"]) article, +.mce-visualblocks:not([dir="rtl"]) aside, +.mce-visualblocks:not([dir="rtl"]) blockquote, +.mce-visualblocks:not([dir="rtl"]) div:not([data-mce-bogus]), +.mce-visualblocks:not([dir="rtl"]) dl, +.mce-visualblocks:not([dir="rtl"]) figcaption, +.mce-visualblocks:not([dir="rtl"]) figure, +.mce-visualblocks:not([dir="rtl"]) h1, +.mce-visualblocks:not([dir="rtl"]) h2, +.mce-visualblocks:not([dir="rtl"]) h3, +.mce-visualblocks:not([dir="rtl"]) h4, +.mce-visualblocks:not([dir="rtl"]) h5, +.mce-visualblocks:not([dir="rtl"]) h6, +.mce-visualblocks:not([dir="rtl"]) hgroup, +.mce-visualblocks:not([dir="rtl"]) ol, +.mce-visualblocks:not([dir="rtl"]) p, +.mce-visualblocks:not([dir="rtl"]) pre, +.mce-visualblocks:not([dir="rtl"]) section, +.mce-visualblocks:not([dir="rtl"]) ul { margin-left: 3px; } + +.mce-visualblocks[dir="rtl"] address, +.mce-visualblocks[dir="rtl"] article, +.mce-visualblocks[dir="rtl"] aside, +.mce-visualblocks[dir="rtl"] blockquote, +.mce-visualblocks[dir="rtl"] div:not([data-mce-bogus]), +.mce-visualblocks[dir="rtl"] dl, +.mce-visualblocks[dir="rtl"] figcaption, +.mce-visualblocks[dir="rtl"] figure, +.mce-visualblocks[dir="rtl"] h1, +.mce-visualblocks[dir="rtl"] h2, +.mce-visualblocks[dir="rtl"] h3, +.mce-visualblocks[dir="rtl"] h4, +.mce-visualblocks[dir="rtl"] h5, +.mce-visualblocks[dir="rtl"] h6, +.mce-visualblocks[dir="rtl"] hgroup, +.mce-visualblocks[dir="rtl"] ol, +.mce-visualblocks[dir="rtl"] p, +.mce-visualblocks[dir="rtl"] pre, +.mce-visualblocks[dir="rtl"] section, +.mce-visualblocks[dir="rtl"] ul { background-position-x: right; margin-right: 3px; } + +.mce-nbsp, +.mce-shy { background: #aaa; } +.mce-shy::after { content: "-"; } +body { font-family: sans-serif; } +table { border-collapse: collapse; } diff --git a/tinymce/skins/ui/tinymce-5/content.min.css.br b/tinymce/skins/ui/tinymce-5/content.min.css.br new file mode 100644 index 000000000..710f8a050 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/content.min.css.gz b/tinymce/skins/ui/tinymce-5/content.min.css.gz new file mode 100644 index 000000000..53f955485 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/content.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/skin.css b/tinymce/skins/ui/tinymce-5/skin.css new file mode 100755 index 000000000..92cf6fe52 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.css @@ -0,0 +1,3199 @@ +.tox { + box-shadow: none; + box-sizing: content-box; + color: #222f3e; + cursor: auto; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: normal; + -webkit-tap-highlight-color: transparent; + text-decoration: none; + text-shadow: none; + text-transform: none; + vertical-align: initial; + white-space: normal; +} +.tox *:not(svg):not(rect) { + box-sizing: inherit; + color: inherit; + cursor: inherit; + direction: inherit; + font-family: inherit; + font-size: inherit; + font-style: inherit; + font-weight: inherit; + line-height: inherit; + -webkit-tap-highlight-color: inherit; + text-align: inherit; + text-decoration: inherit; + text-shadow: inherit; + text-transform: inherit; + vertical-align: inherit; + white-space: inherit; +} +.tox *:not(svg):not(rect) { + /* stylelint-disable-line no-duplicate-selectors */ + background: transparent; + border: 0; + box-shadow: none; + float: none; + height: auto; + margin: 0; + max-width: none; + outline: 0; + padding: 0; + position: static; + width: auto; +} +.tox:not([dir=rtl]) { + direction: ltr; + text-align: left; +} +.tox[dir=rtl] { + direction: rtl; + text-align: right; +} +.tox-tinymce { + border: 1px solid #cccccc; + border-radius: 0; + box-shadow: none; + box-sizing: border-box; + display: flex; + flex-direction: column; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + overflow: hidden; + position: relative; + visibility: inherit !important; +} +.tox.tox-tinymce-inline { + border: none; + box-shadow: none; + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-container { + overflow: initial; +} +.tox.tox-tinymce-inline .tox-editor-header { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 0; + box-shadow: none; + overflow: hidden; +} +.tox-tinymce-aux { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + z-index: 1300; +} +.tox-tinymce *:focus, +.tox-tinymce-aux *:focus { + outline: none; +} +button::-moz-focus-inner { + border: 0; +} +.tox[dir=rtl] .tox-icon--flip svg { + transform: rotateY(180deg); +} +.tox .accessibility-issue__header { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description { + align-items: stretch; + border: 1px solid #cccccc; + border-radius: 3px; + display: flex; + justify-content: space-between; +} +.tox .accessibility-issue__description > div { + padding-bottom: 4px; +} +.tox .accessibility-issue__description > div > div { + align-items: center; + display: flex; + margin-bottom: 4px; +} +.tox .accessibility-issue__description > *:last-child:not(:only-child) { + border-color: #cccccc; + border-style: solid; +} +.tox .accessibility-issue__repair { + margin-top: 16px; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { + background-color: rgba(32, 122, 183, 0.1); + border-color: rgba(32, 122, 183, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > *:last-child { + border-color: rgba(32, 122, 183, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { + color: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { + fill: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { + color: #207ab7; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { + background-color: rgba(255, 165, 0, 0.1); + border-color: rgba(255, 165, 0, 0.5); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > *:last-child { + border-color: rgba(255, 165, 0, 0.5); +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { + fill: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { + color: #cc8500; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { + background-color: rgba(204, 0, 0, 0.1); + border-color: rgba(204, 0, 0, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > *:last-child { + border-color: rgba(204, 0, 0, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { + fill: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { + color: #c00; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { + background-color: rgba(120, 171, 70, 0.1); + border-color: rgba(120, 171, 70, 0.4); + color: #222f3e; +} +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > *:last-child { + border-color: rgba(120, 171, 70, 0.4); +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { + fill: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { + color: #78AB46; +} +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { + margin-top: 0; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-left: auto; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 4px 4px 8px; +} +.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-left-width: 1px; + padding-left: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button { + margin-right: 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header > *:nth-last-child(2) { + margin-right: auto; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description { + padding: 4px 8px 4px 4px; +} +.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description > *:last-child { + border-right-width: 1px; + padding-right: 4px; +} +.tox .tox-anchorbar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-bar { + display: flex; + flex: 0 0 auto; +} +.tox .tox-button { + background-color: #207ab7; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #207ab7; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #fff; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + line-height: 24px; + margin: 0; + outline: none; + padding: 4px 16px; + position: relative; + text-align: center; + text-decoration: none; + text-transform: none; + white-space: nowrap; +} +.tox .tox-button::before { + border-radius: 3px; + bottom: -1px; + box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgba(32, 122, 183, 0.25); + content: ''; + left: -1px; + opacity: 0; + pointer-events: none; + position: absolute; + right: -1px; + top: -1px; +} +.tox .tox-button[disabled] { + background-color: #207ab7; + background-image: none; + border-color: #207ab7; + box-shadow: none; + color: rgba(255, 255, 255, 0.5); + cursor: not-allowed; +} +.tox .tox-button:focus:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:focus-visible:not(:disabled)::before { + opacity: 1; +} +.tox .tox-button:hover:not(:disabled) { + background-color: #1c6ca1; + background-image: none; + border-color: #1c6ca1; + box-shadow: none; + color: #fff; +} +.tox .tox-button:active:not(:disabled) { + background-color: #185d8c; + background-image: none; + border-color: #185d8c; + box-shadow: none; + color: #fff; +} +.tox .tox-button--secondary { + background-color: #f0f0f0; + background-image: none; + background-position: 0 0; + background-repeat: repeat; + border-color: #f0f0f0; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + outline: none; + padding: 4px 16px; + text-decoration: none; + text-transform: none; +} +.tox .tox-button--secondary[disabled] { + background-color: #f0f0f0; + background-image: none; + border-color: #f0f0f0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--secondary:focus:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:hover:not(:disabled) { + background-color: #e3e3e3; + background-image: none; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--secondary:active:not(:disabled) { + background-color: #d6d6d6; + background-image: none; + border-color: #d6d6d6; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { + padding: 4px; +} +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { + display: block; + fill: currentColor; +} +.tox .tox-button-link { + background: 0; + border: none; + box-sizing: border-box; + cursor: pointer; + display: inline-block; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + font-weight: normal; + line-height: 1.3; + margin: 0; + padding: 0; + white-space: nowrap; +} +.tox .tox-button-link--sm { + font-size: 14px; +} +.tox .tox-button--naked { + background-color: transparent; + border-color: transparent; + box-shadow: unset; + color: #222f3e; +} +.tox .tox-button--naked[disabled] { + background-color: #f0f0f0; + border-color: #f0f0f0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox .tox-button--naked:hover:not(:disabled) { + background-color: #e3e3e3; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--naked:focus:not(:disabled) { + background-color: #e3e3e3; + border-color: #e3e3e3; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--naked:active:not(:disabled) { + background-color: #d6d6d6; + border-color: #d6d6d6; + box-shadow: none; + color: #222f3e; +} +.tox .tox-button--naked .tox-icon svg { + fill: currentColor; +} +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { + color: #222f3e; +} +.tox .tox-checkbox { + align-items: center; + border-radius: 3px; + cursor: pointer; + display: flex; + height: 36px; + min-width: 36px; +} +.tox .tox-checkbox__input { + /* Hide from view but visible to screen readers */ + height: 1px; + overflow: hidden; + position: absolute; + top: auto; + width: 1px; +} +.tox .tox-checkbox__icons { + align-items: center; + border-radius: 3px; + box-shadow: 0 0 0 2px transparent; + box-sizing: content-box; + display: flex; + height: 24px; + justify-content: center; + padding: calc(4px - 1px); + width: 24px; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: block; + fill: rgba(34, 47, 62, 0.3); +} +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: none; + fill: #207ab7; +} +.tox .tox-checkbox--disabled { + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { + display: block; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { + display: none; +} +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { + display: block; +} +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { + border-radius: 3px; + box-shadow: inset 0 0 0 1px #207ab7; + padding: calc(4px - 1px); +} +.tox:not([dir=rtl]) .tox-checkbox__label { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-checkbox__input { + left: -10000px; +} +.tox:not([dir=rtl]) .tox-bar .tox-checkbox { + margin-left: 4px; +} +.tox[dir=rtl] .tox-checkbox__label { + margin-right: 4px; +} +.tox[dir=rtl] .tox-checkbox__input { + right: -10000px; +} +.tox[dir=rtl] .tox-bar .tox-checkbox { + margin-right: 4px; +} +.tox { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox .tox-collection--toolbar .tox-collection__group { + display: flex; + padding: 0; +} +.tox .tox-collection--grid .tox-collection__group { + display: flex; + flex-wrap: wrap; + max-height: 208px; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} +.tox .tox-collection--list .tox-collection__group { + border-bottom-width: 0; + border-color: #cccccc; + border-left-width: 0; + border-right-width: 0; + border-style: solid; + border-top-width: 1px; + padding: 4px 0; +} +.tox .tox-collection--list .tox-collection__group:first-child { + border-top-width: 0; +} +.tox .tox-collection__group-heading { + background-color: #e6e6e6; + color: rgba(34, 47, 62, 0.7); + cursor: default; + font-size: 12px; + font-style: normal; + font-weight: normal; + margin-bottom: 4px; + margin-top: -4px; + padding: 4px 8px; + text-transform: none; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection__item { + align-items: center; + border-radius: 3px; + color: #222f3e; + display: flex; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; +} +.tox .tox-collection--list .tox-collection__item { + padding: 4px 8px; +} +.tox .tox-collection--toolbar .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--grid .tox-collection__item { + border-radius: 3px; + padding: 4px; +} +.tox .tox-collection--list .tox-collection__item--enabled { + background-color: #fff; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active { + background-color: #dee0e2; +} +.tox .tox-collection--toolbar .tox-collection__item--enabled { + background-color: #c8cbcf; + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active { + background-color: #dee0e2; +} +.tox .tox-collection--grid .tox-collection__item--enabled { + background-color: #c8cbcf; + color: #222f3e; +} +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + background-color: #dee0e2; + color: #222f3e; +} +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { + color: #222f3e; +} +.tox .tox-collection__item-icon, +.tox .tox-collection__item-checkmark { + align-items: center; + display: flex; + height: 24px; + justify-content: center; + width: 24px; +} +.tox .tox-collection__item-icon svg, +.tox .tox-collection__item-checkmark svg { + fill: currentColor; +} +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { + height: 48px; + width: 48px; +} +.tox .tox-collection__item-label { + color: currentColor; + display: inline-block; + flex: 1; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 24px; + text-transform: none; + word-break: break-all; +} +.tox .tox-collection__item-accessory { + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + height: 24px; + line-height: 24px; + text-transform: none; +} +.tox .tox-collection__item-caret { + align-items: center; + display: flex; + min-height: 24px; +} +.tox .tox-collection__item-caret::after { + content: ''; + font-size: 0; + min-height: inherit; +} +.tox .tox-collection__item-caret svg { + fill: #222f3e; +} +.tox .tox-collection__item--state-disabled { + background-color: transparent; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { + display: none; +} +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { + display: none; +} +.tox .tox-collection--horizontal { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: nowrap; + margin-bottom: 0; + overflow-x: auto; + padding: 0; +} +.tox .tox-collection--horizontal .tox-collection__group { + align-items: center; + display: flex; + flex-wrap: nowrap; + margin: 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item { + height: 34px; + margin: 3px 0 2px 0; + padding: 0 4px; +} +.tox .tox-collection--horizontal .tox-collection__item-label { + white-space: nowrap; +} +.tox .tox-collection--horizontal .tox-collection__item-caret { + margin-left: 4px; +} +.tox .tox-collection__item-container { + display: flex; +} +.tox .tox-collection__item-container--row { + align-items: center; + flex: 1 1 auto; + flex-direction: row; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { + margin-right: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { + justify-content: flex-end; + margin-left: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { + align-items: flex-start; + margin-bottom: auto; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { + align-items: center; +} +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { + align-items: flex-end; + margin-top: auto; +} +.tox .tox-collection__item-container--column { + align-self: center; + flex: 1 1 auto; + flex-direction: column; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { + align-items: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { + align-items: flex-end; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { + align-self: flex-start; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { + align-self: center; +} +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { + align-self: flex-end; +} +.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-right: 1px solid #cccccc; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-left: 4px; +} +.tox:not([dir=rtl]) .tox-collection__item-accessory { + margin-left: 16px; + text-align: right; +} +.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { + margin-left: 16px; +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { + border-left: 1px solid #cccccc; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { + margin-right: 8px; +} +.tox[dir=rtl] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { + margin-right: 4px; +} +.tox[dir=rtl] .tox-collection__item-accessory { + margin-right: 16px; + text-align: left; +} +.tox[dir=rtl] .tox-collection .tox-collection__item-caret { + margin-right: 16px; + transform: rotateY(180deg); +} +.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { + margin-right: 4px; +} +.tox .tox-color-picker-container { + display: flex; + flex-direction: row; + height: 225px; + margin: 0; +} +.tox .tox-sv-palette { + box-sizing: border-box; + display: flex; + height: 100%; +} +.tox .tox-sv-palette-spectrum { + height: 100%; +} +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { + width: 225px; +} +.tox .tox-sv-palette-thumb { + background: none; + border: 1px solid black; + border-radius: 50%; + box-sizing: content-box; + height: 12px; + position: absolute; + width: 12px; +} +.tox .tox-sv-palette-inner-thumb { + border: 1px solid white; + border-radius: 50%; + height: 10px; + position: absolute; + width: 10px; +} +.tox .tox-hue-slider { + box-sizing: border-box; + height: 100%; + width: 25px; +} +.tox .tox-hue-slider-spectrum { + background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); + height: 100%; + width: 100%; +} +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { + width: 20px; +} +.tox .tox-hue-slider-thumb { + background: white; + border: 1px solid black; + box-sizing: content-box; + height: 4px; + width: 100%; +} +.tox .tox-rgb-form { + display: flex; + flex-direction: column; + justify-content: space-between; +} +.tox .tox-rgb-form div { + align-items: center; + display: flex; + justify-content: space-between; + margin-bottom: 5px; + width: inherit; +} +.tox .tox-rgb-form input { + width: 6em; +} +.tox .tox-rgb-form input.tox-invalid { + /* Need !important to override Chrome's focus styling unfortunately */ + border: 1px solid red !important; +} +.tox .tox-rgb-form .tox-rgba-preview { + border: 1px solid black; + flex-grow: 2; + margin-bottom: 0; +} +.tox:not([dir=rtl]) .tox-sv-palette { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider { + margin-right: 15px; +} +.tox:not([dir=rtl]) .tox-hue-slider-thumb { + margin-left: -1px; +} +.tox:not([dir=rtl]) .tox-rgb-form label { + margin-right: 0.5em; +} +.tox[dir=rtl] .tox-sv-palette { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider { + margin-left: 15px; +} +.tox[dir=rtl] .tox-hue-slider-thumb { + margin-right: -1px; +} +.tox[dir=rtl] .tox-rgb-form label { + margin-left: 0.5em; +} +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches { + margin: 2px 0 3px 4px; +} +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { + border: 0; + margin: -4px 0; +} +.tox .tox-swatches__row { + display: flex; +} +.tox .tox-swatch { + height: 30px; + transition: transform 0.15s, box-shadow 0.15s; + width: 30px; +} +.tox .tox-swatch:hover, +.tox .tox-swatch:focus { + box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; + transform: scale(0.8); +} +.tox .tox-swatch--remove { + align-items: center; + display: flex; + justify-content: center; +} +.tox .tox-swatch--remove svg path { + stroke: #e74c3c; +} +.tox .tox-swatches__picker-btn { + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + display: flex; + height: 30px; + justify-content: center; + outline: none; + padding: 0; + width: 30px; +} +.tox .tox-swatches__picker-btn svg { + fill: #222f3e; + height: 24px; + width: 24px; +} +.tox .tox-swatches__picker-btn:hover { + background: #dee0e2; +} +.tox:not([dir=rtl]) .tox-swatches__picker-btn { + margin-left: auto; +} +.tox[dir=rtl] .tox-swatches__picker-btn { + margin-right: auto; +} +.tox .tox-comment-thread { + background: #fff; + position: relative; +} +.tox .tox-comment-thread > *:not(:first-child) { + margin-top: 8px; +} +.tox .tox-comment { + background: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + padding: 8px 8px 16px 8px; + position: relative; +} +.tox .tox-comment__header { + align-items: center; + color: #222f3e; + display: flex; + justify-content: space-between; +} +.tox .tox-comment__date { + color: #222f3e; + font-size: 12px; + line-height: 18px; +} +.tox .tox-comment__body { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin-top: 8px; + position: relative; + text-transform: initial; +} +.tox .tox-comment__body textarea { + resize: none; + white-space: normal; + width: 100%; +} +.tox .tox-comment__expander { + padding-top: 8px; +} +.tox .tox-comment__expander p { + color: rgba(34, 47, 62, 0.7); + font-size: 14px; + font-style: normal; +} +.tox .tox-comment__body p { + margin: 0; +} +.tox .tox-comment__buttonspacing { + padding-top: 16px; + text-align: center; +} +.tox .tox-comment-thread__overlay::after { + background: #fff; + bottom: 0; + content: ""; + display: flex; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + top: 0; + z-index: 5; +} +.tox .tox-comment__reply { + display: flex; + flex-shrink: 0; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 8px; +} +.tox .tox-comment__reply > *:first-child { + margin-bottom: 8px; + width: 100%; +} +.tox .tox-comment__edit { + display: flex; + flex-wrap: wrap; + justify-content: flex-end; + margin-top: 16px; +} +.tox .tox-comment__gradient::after { + background: linear-gradient(rgba(255, 255, 255, 0), #fff); + bottom: 0; + content: ""; + display: block; + height: 5em; + margin-top: -40px; + position: absolute; + width: 100%; +} +.tox .tox-comment__overlay { + background: #fff; + bottom: 0; + display: flex; + flex-direction: column; + flex-grow: 1; + left: 0; + opacity: 0.9; + position: absolute; + right: 0; + text-align: center; + top: 0; + z-index: 5; +} +.tox .tox-comment__loading-text { + align-items: center; + color: #222f3e; + display: flex; + flex-direction: column; + position: relative; +} +.tox .tox-comment__loading-text > div { + padding-bottom: 16px; +} +.tox .tox-comment__overlaytext { + bottom: 0; + flex-direction: column; + font-size: 14px; + left: 0; + padding: 1em; + position: absolute; + right: 0; + top: 0; + z-index: 10; +} +.tox .tox-comment__overlaytext p { + background-color: #fff; + box-shadow: 0 0 8px 8px #fff; + color: #222f3e; + text-align: center; +} +.tox .tox-comment__overlaytext div:nth-of-type(2) { + font-size: 0.8em; +} +.tox .tox-comment__busy-spinner { + align-items: center; + background-color: #fff; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 20; +} +.tox .tox-comment__scroll { + display: flex; + flex-direction: column; + flex-shrink: 1; + overflow: auto; +} +.tox .tox-conversations { + margin: 8px; +} +.tox:not([dir=rtl]) .tox-comment__edit { + margin-left: 8px; +} +.tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, +.tox:not([dir=rtl]) .tox-comment__edit > *:last-child, +.tox:not([dir=rtl]) .tox-comment__reply > *:last-child { + margin-left: 8px; +} +.tox[dir=rtl] .tox-comment__edit { + margin-right: 8px; +} +.tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, +.tox[dir=rtl] .tox-comment__edit > *:last-child, +.tox[dir=rtl] .tox-comment__reply > *:last-child { + margin-right: 8px; +} +.tox .tox-user { + align-items: center; + display: flex; +} +.tox .tox-user__avatar svg { + fill: rgba(34, 47, 62, 0.7); +} +.tox .tox-user__avatar img { + border-radius: 50%; + height: 36px; + object-fit: cover; + vertical-align: middle; + width: 36px; +} +.tox .tox-user__name { + color: #222f3e; + font-size: 14px; + font-style: normal; + font-weight: bold; + line-height: 18px; + text-transform: none; +} +.tox:not([dir=rtl]) .tox-user__avatar svg, +.tox:not([dir=rtl]) .tox-user__avatar img { + margin-right: 8px; +} +.tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar svg, +.tox[dir=rtl] .tox-user__avatar img { + margin-left: 8px; +} +.tox[dir=rtl] .tox-user__avatar + .tox-user__name { + margin-right: 8px; +} +.tox .tox-dialog-wrap { + align-items: center; + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: fixed; + right: 0; + top: 0; + z-index: 1100; +} +.tox .tox-dialog-wrap__backdrop { + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 1; +} +.tox .tox-dialog-wrap__backdrop--opaque { + background-color: #fff; +} +.tox .tox-dialog { + background-color: #fff; + border-color: #cccccc; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); + display: flex; + flex-direction: column; + max-height: 100%; + max-width: 480px; + overflow: hidden; + position: relative; + width: 95vw; + z-index: 2; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog { + align-self: flex-start; + margin: 8px auto; + max-height: calc(100vh - 8px * 2); + width: calc(100vw - 16px); + } +} +.tox .tox-dialog-inline { + z-index: 1100; +} +.tox .tox-dialog__header { + align-items: center; + background-color: #fff; + border-bottom: none; + color: #222f3e; + display: flex; + font-size: 16px; + justify-content: space-between; + padding: 8px 16px 0 16px; + position: relative; +} +.tox .tox-dialog__header .tox-button { + z-index: 1; +} +.tox .tox-dialog__draghandle { + cursor: grab; + height: 100%; + left: 0; + position: absolute; + top: 0; + width: 100%; +} +.tox .tox-dialog__draghandle:active { + cursor: grabbing; +} +.tox .tox-dialog__dismiss { + margin-left: auto; +} +.tox .tox-dialog__title { + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 20px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + margin: 0; + text-transform: none; +} +.tox .tox-dialog__body { + color: #222f3e; + display: flex; + flex: 1; + font-size: 16px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + min-width: 0; + text-align: left; + text-transform: none; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body { + flex-direction: column; + } +} +.tox .tox-dialog__body-nav { + align-items: flex-start; + display: flex; + flex-direction: column; + padding: 16px 16px; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { + flex-direction: row; + -webkit-overflow-scrolling: touch; + overflow-x: auto; + padding-bottom: 0; + } +} +.tox .tox-dialog__body-nav-item { + border-bottom: 2px solid transparent; + color: rgba(34, 47, 62, 0.7); + display: inline-block; + font-size: 14px; + line-height: 1.3; + margin-bottom: 8px; + text-decoration: none; + white-space: nowrap; +} +.tox .tox-dialog__body-nav-item:focus { + background-color: rgba(32, 122, 183, 0.1); +} +.tox .tox-dialog__body-nav-item--active { + border-bottom: 2px solid #207ab7; + color: #207ab7; +} +.tox .tox-dialog__body-content { + box-sizing: border-box; + display: flex; + flex: 1; + flex-direction: column; + max-height: 650px; + overflow: auto; + -webkit-overflow-scrolling: touch; + padding: 16px 16px; +} +.tox .tox-dialog__body-content > * { + margin-bottom: 0; + margin-top: 16px; +} +.tox .tox-dialog__body-content > *:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content > *:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content > *:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog__body-content a { + color: #207ab7; + cursor: pointer; + text-decoration: none; +} +.tox .tox-dialog__body-content a:hover, +.tox .tox-dialog__body-content a:focus { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content a:active { + color: #185d8c; + text-decoration: none; +} +.tox .tox-dialog__body-content svg { + fill: #222f3e; +} +.tox .tox-dialog__body-content ul { + display: block; + list-style-type: disc; + margin-bottom: 16px; + margin-inline-end: 0; + margin-inline-start: 0; + padding-inline-start: 2.5rem; +} +.tox .tox-dialog__body-content .tox-form__group h1 { + color: #222f3e; + font-size: 20px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group h2 { + color: #222f3e; + font-size: 16px; + font-style: normal; + font-weight: bold; + letter-spacing: normal; + margin-bottom: 16px; + margin-top: 2rem; + text-transform: none; +} +.tox .tox-dialog__body-content .tox-form__group p { + margin-bottom: 16px; +} +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { + margin-top: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { + margin-bottom: 0; +} +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { + margin-bottom: 0; + margin-top: 0; +} +.tox .tox-dialog--width-lg { + height: 650px; + max-width: 1200px; +} +.tox .tox-dialog--width-md { + max-width: 800px; +} +.tox .tox-dialog--width-md .tox-dialog__body-content { + overflow: auto; +} +.tox .tox-dialog__body-content--centered { + text-align: center; +} +.tox .tox-dialog__footer { + align-items: center; + background-color: #fff; + border-top: 1px solid #cccccc; + display: flex; + justify-content: space-between; + padding: 8px 16px; +} +.tox .tox-dialog__footer-start, +.tox .tox-dialog__footer-end { + display: flex; +} +.tox .tox-dialog__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.75); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; + z-index: 3; +} +.tox .tox-dialog__table { + border-collapse: collapse; + width: 100%; +} +.tox .tox-dialog__table thead th { + font-weight: bold; + padding-bottom: 8px; +} +.tox .tox-dialog__table tbody tr { + border-bottom: 1px solid #cccccc; +} +.tox .tox-dialog__table tbody tr:last-child { + border-bottom: none; +} +.tox .tox-dialog__table td { + padding-bottom: 8px; + padding-top: 8px; +} +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { + background: #fff; +} +.tox .tox-dialog__popups { + position: absolute; + width: 100%; + z-index: 1100; +} +.tox .tox-dialog__body-iframe { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-dialog__body-iframe .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox .tox-dialog-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox .tox-dialog-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox .tox-dialog-dock-transition { + transition: visibility 0s linear 0.3s, opacity 0.3s ease; +} +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { + transition-delay: 0s; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { + margin-right: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { + margin-left: 8px; + } +} +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, +.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { + margin-left: 8px; +} +.tox[dir=rtl] .tox-dialog__body { + text-align: right; +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { + margin-left: 0; + } +} +@media only screen and (max-width: 767px ) { + body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { + margin-right: 8px; + } +} +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, +.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { + margin-right: 8px; +} +body.tox-dialog__disable-scroll { + overflow: hidden; +} +.tox .tox-dropzone-container { + display: flex; + flex: 1; +} +.tox .tox-dropzone { + align-items: center; + background: #fff; + border: 2px dashed #cccccc; + box-sizing: border-box; + display: flex; + flex-direction: column; + flex-grow: 1; + justify-content: center; + min-height: 100px; + padding: 10px; +} +.tox .tox-dropzone p { + color: rgba(34, 47, 62, 0.7); + margin: 0 0 16px 0; +} +.tox .tox-edit-area { + display: flex; + flex: 1; + overflow: hidden; + position: relative; +} +.tox .tox-edit-area__iframe { + background-color: #fff; + border: 0; + box-sizing: border-box; + flex: 1; + height: 100%; + position: absolute; + width: 100%; +} +.tox.tox-inline-edit-area { + border: 1px dotted #cccccc; +} +.tox .tox-editor-container { + display: flex; + flex: 1 1 auto; + flex-direction: column; + overflow: hidden; +} +.tox .tox-editor-header { + display: grid; + grid-template-columns: 1fr min-content; + z-index: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: #fff; + border-bottom: none; + box-shadow: none; + padding: 4px 0; + transition: box-shadow 0.5s; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: 1px solid #cccccc; + box-shadow: none; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: #fff; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 4px 0; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox-editor-dock-fadeout { + opacity: 0; + visibility: hidden; +} +.tox-editor-dock-fadein { + opacity: 1; + visibility: visible; +} +.tox-editor-dock-transition { + transition: visibility 0s linear 0.25s, opacity 0.25s ease; +} +.tox-editor-dock-transition.tox-editor-dock-fadein { + transition-delay: 0s; +} +.tox .tox-control-wrap { + flex: 1; + position: relative; +} +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { + display: none; +} +.tox .tox-control-wrap svg { + display: block; +} +.tox .tox-control-wrap__status-icon-wrap { + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-control-wrap__status-icon-invalid svg { + fill: #c00; +} +.tox .tox-control-wrap__status-icon-unknown svg { + fill: orange; +} +.tox .tox-control-wrap__status-icon-valid svg { + fill: green; +} +.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { + padding-right: 32px; +} +.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { + right: 4px; +} +.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { + padding-left: 32px; +} +.tox[dir=rtl] .tox-control-wrap__status-icon-wrap { + left: 4px; +} +.tox .tox-autocompleter { + max-width: 25em; +} +.tox .tox-autocompleter .tox-menu { + box-sizing: border-box; + max-width: 25em; +} +.tox .tox-autocompleter .tox-autocompleter-highlight { + font-weight: bold; +} +.tox .tox-color-input { + display: flex; + position: relative; + z-index: 1; +} +.tox .tox-color-input .tox-textfield { + z-index: -1; +} +.tox .tox-color-input span { + border-color: rgba(34, 47, 62, 0.2); + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + height: 24px; + position: absolute; + top: 6px; + width: 24px; +} +.tox .tox-color-input span:hover:not([aria-disabled=true]), +.tox .tox-color-input span:focus:not([aria-disabled=true]) { + border-color: #207ab7; + cursor: pointer; +} +.tox .tox-color-input span::before { + background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(-45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%), linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.25) 75%); + background-position: 0 0, 0 6px, 6px -6px, -6px 0; + background-size: 12px 12px; + border: 1px solid #fff; + border-radius: 3px; + box-sizing: border-box; + content: ''; + height: 24px; + left: -1px; + position: absolute; + top: -1px; + width: 24px; + z-index: -1; +} +.tox .tox-color-input span[aria-disabled=true] { + cursor: not-allowed; +} +.tox:not([dir=rtl]) .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-color-input .tox-textfield { + padding-left: 36px; +} +.tox:not([dir=rtl]) .tox-color-input span { + left: 6px; +} +.tox[dir="rtl"] .tox-color-input { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir="rtl"] .tox-color-input .tox-textfield { + padding-right: 36px; +} +.tox[dir="rtl"] .tox-color-input span { + right: 6px; +} +.tox .tox-label, +.tox .tox-toolbar-label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + font-style: normal; + font-weight: normal; + line-height: 1.3; + padding: 0 8px 0 0; + text-transform: none; + white-space: nowrap; +} +.tox .tox-toolbar-label { + padding: 0 8px; +} +.tox[dir=rtl] .tox-label { + padding: 0 0 0 8px; +} +.tox .tox-form { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group { + box-sizing: border-box; + margin-bottom: 4px; +} +.tox .tox-form-group--maximize { + flex: 1; +} +.tox .tox-form__group--error { + color: #c00; +} +.tox .tox-form__group--collection { + display: flex; +} +.tox .tox-form__grid { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-between; +} +.tox .tox-form__grid--2col > .tox-form__group { + width: calc(50% - (8px / 2)); +} +.tox .tox-form__grid--3col > .tox-form__group { + width: calc(100% / 3 - (8px / 2)); +} +.tox .tox-form__grid--4col > .tox-form__group { + width: calc(25% - (8px / 2)); +} +.tox .tox-form__controls-h-stack { + align-items: center; + display: flex; +} +.tox .tox-form__group--inline { + align-items: center; + display: flex; +} +.tox .tox-form__group--stretched { + display: flex; + flex: 1; + flex-direction: column; +} +.tox .tox-form__group--stretched .tox-textarea { + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj { + display: flex; + flex: 1; +} +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { + flex: 1; + height: 100%; +} +.tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { + margin-right: 4px; +} +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { + display: none; +} +.tox .tox-textfield, +.tox .tox-toolbar-textfield, +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #cccccc; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-textfield[disabled], +.tox .tox-textarea[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-textfield:focus, +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus { + background-color: #fff; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-toolbar-textfield { + border-width: 0; + margin-bottom: 3px; + margin-top: 2px; + max-width: 250px; +} +.tox .tox-naked-btn { + background-color: transparent; + border: 0; + border-color: transparent; + box-shadow: unset; + color: #207ab7; + cursor: pointer; + display: block; + margin: 0; + padding: 0; +} +.tox .tox-naked-btn svg { + display: block; + fill: #222f3e; +} +.tox:not([dir=rtl]) .tox-toolbar-textfield + * { + margin-left: 4px; +} +.tox[dir=rtl] .tox-toolbar-textfield + * { + margin-right: 4px; +} +.tox .tox-listboxfield { + cursor: pointer; + position: relative; +} +.tox .tox-listboxfield .tox-listbox--select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-listbox__select-label { + cursor: default; + flex: 1; + margin: 0 4px; +} +.tox .tox-listbox__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-listbox__select-chevron svg { + fill: #222f3e; +} +.tox .tox-listboxfield .tox-listbox--select { + align-items: center; + display: flex; +} +.tox:not([dir=rtl]) .tox-listboxfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-listboxfield svg { + left: 8px; +} +.tox .tox-selectfield { + cursor: pointer; + position: relative; +} +.tox .tox-selectfield select { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: #fff; + border-color: #cccccc; + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + color: #222f3e; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; + font-size: 16px; + line-height: 24px; + margin: 0; + min-height: 34px; + outline: none; + padding: 5px 4.75px; + resize: none; + width: 100%; +} +.tox .tox-selectfield select[disabled] { + background-color: #f2f2f2; + color: rgba(34, 47, 62, 0.85); + cursor: not-allowed; +} +.tox .tox-selectfield select::-ms-expand { + display: none; +} +.tox .tox-selectfield select:focus { + background-color: #fff; + border-color: #207ab7; + box-shadow: none; + outline: 2px solid rgba(32, 122, 183, 0.25); +} +.tox .tox-selectfield svg { + pointer-events: none; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox:not([dir=rtl]) .tox-selectfield select[size="0"], +.tox:not([dir=rtl]) .tox-selectfield select[size="1"] { + padding-right: 24px; +} +.tox:not([dir=rtl]) .tox-selectfield svg { + right: 8px; +} +.tox[dir=rtl] .tox-selectfield select[size="0"], +.tox[dir=rtl] .tox-selectfield select[size="1"] { + padding-left: 24px; +} +.tox[dir=rtl] .tox-selectfield svg { + left: 8px; +} +.tox .tox-textarea { + -webkit-appearance: textarea; + -moz-appearance: textarea; + appearance: textarea; + white-space: pre-wrap; +} +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} +.tox .tox-help__more-link { + list-style: none; + margin-top: 1em; +} +.tox .tox-imagepreview { + background-color: #666; + height: 380px; + overflow: hidden; + position: relative; + width: 100%; +} +.tox .tox-imagepreview.tox-imagepreview__loaded { + overflow: auto; +} +.tox .tox-imagepreview__container { + display: flex; + left: 100vw; + position: absolute; + top: 100vw; +} +.tox .tox-imagepreview__image { + background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); +} +.tox .tox-image-tools .tox-spacer { + flex: 1; +} +.tox .tox-image-tools .tox-bar { + align-items: center; + display: flex; + height: 60px; + justify-content: center; +} +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { + margin-top: 8px; +} +.tox .tox-image-tools .tox-croprect-block { + background: black; + filter: alpha(opacity=50); + opacity: 0.5; + position: absolute; + zoom: 1; +} +.tox .tox-image-tools .tox-croprect-handle { + border: 2px solid white; + height: 20px; + left: 0; + position: absolute; + top: 0; + width: 20px; +} +.tox .tox-image-tools .tox-croprect-handle-move { + border: 0; + cursor: move; + position: absolute; +} +.tox .tox-image-tools .tox-croprect-handle-nw { + border-width: 2px 0 0 2px; + cursor: nw-resize; + left: 100px; + margin: -2px 0 0 -2px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-ne { + border-width: 2px 2px 0 0; + cursor: ne-resize; + left: 200px; + margin: -2px 0 0 -20px; + top: 100px; +} +.tox .tox-image-tools .tox-croprect-handle-sw { + border-width: 0 0 2px 2px; + cursor: sw-resize; + left: 100px; + margin: -20px 2px 0 -2px; + top: 200px; +} +.tox .tox-image-tools .tox-croprect-handle-se { + border-width: 0 2px 2px 0; + cursor: se-resize; + left: 200px; + margin: -20px 0 0 -20px; + top: 200px; +} +.tox .tox-insert-table-picker { + display: flex; + flex-wrap: wrap; + width: 170px; +} +.tox .tox-insert-table-picker > div { + border-color: #cccccc; + border-style: solid; + border-width: 0 1px 1px 0; + box-sizing: border-box; + height: 17px; + width: 17px; +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: 0 -4px; +} +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { + background-color: rgba(32, 122, 183, 0.5); + border-color: rgba(32, 122, 183, 0.5); +} +.tox .tox-insert-table-picker__label { + color: rgba(34, 47, 62, 0.7); + display: block; + font-size: 14px; + padding: 4px; + text-align: center; + width: 100%; +} +.tox:not([dir=rtl]) { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { + border-right: 0; +} +.tox[dir=rtl] { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { + border-right: 0; +} +.tox { + /* stylelint-disable */ + /* stylelint-enable */ +} +.tox .tox-menu { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); + display: inline-block; + overflow: hidden; + vertical-align: top; + z-index: 1150; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0 0; +} +.tox .tox-menu.tox-collection.tox-collection--toolbar { + padding: 4px; +} +.tox .tox-menu.tox-collection.tox-collection--grid { + padding: 4px; +} +@media only screen and (min-width: 768px ) { + .tox .tox-menu .tox-collection__item-label { + overflow-wrap: break-word; + word-break: normal; + } +} +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p, +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code { + margin: 0; +} +.tox .tox-menubar { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; + background-color: #fff; + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + grid-column: 1 / -1; + grid-row: 1; + padding: 0 4px 0 4px; +} +.tox .tox-promotion + .tox-menubar { + grid-column: 1; +} +.tox .tox-promotion { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; + background-color: #fff; + grid-column: 2; + grid-row: 1; + padding-inline-end: 8px; + padding-inline-start: 4px; + padding-top: 5px; +} +.tox .tox-promotion-link { + align-items: unsafe center; + background-color: #E8F1F8; + border-radius: 5px; + color: #086BE6; + cursor: pointer; + display: flex; + font-size: 14px; + height: 26.6px; + padding: 4px 8px; + white-space: nowrap; +} +.tox .tox-promotion-link:hover { + background-color: #B4D7FF; +} +.tox .tox-promotion-link:focus { + background-color: #D9EDF7; +} +/* Deprecated. Remove in next major release */ +.tox .tox-mbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 2px 0 3px 0; + outline: none; + overflow: hidden; + padding: 0 4px; + text-transform: none; + width: auto; +} +.tox .tox-mbtn[disabled] { + background-color: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-mbtn:focus:not(:disabled) { + background: #dee0e2; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn--active { + background: #c8cbcf; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { + background: #dee0e2; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-mbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { + cursor: not-allowed; +} +.tox .tox-mbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; + display: none; +} +.tox .tox-notification { + border-radius: 3px; + border-style: solid; + border-width: 1px; + box-shadow: none; + box-sizing: border-box; + display: grid; + font-size: 14px; + font-weight: normal; + grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); + margin-top: 4px; + opacity: 0; + padding: 4px; + transition: transform 100ms ease-in, opacity 150ms ease-in; +} +.tox .tox-notification p { + font-size: 14px; + font-weight: normal; +} +.tox .tox-notification a { + cursor: pointer; + text-decoration: underline; +} +.tox .tox-notification--in { + opacity: 1; +} +.tox .tox-notification--success { + background-color: #e4eeda; + border-color: #d7e6c8; + color: #222f3e; +} +.tox .tox-notification--success p { + color: #222f3e; +} +.tox .tox-notification--success a { + color: #517342; +} +.tox .tox-notification--success svg { + fill: #222f3e; +} +.tox .tox-notification--error { + background-color: #f5cccc; + border-color: #f0b3b3; + color: #222f3e; +} +.tox .tox-notification--error p { + color: #222f3e; +} +.tox .tox-notification--error a { + color: #77181f; +} +.tox .tox-notification--error svg { + fill: #222f3e; +} +.tox .tox-notification--warn, +.tox .tox-notification--warning { + background-color: #fff5cc; + border-color: #fff0b3; + color: #222f3e; +} +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { + color: #222f3e; +} +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { + color: #7a6e25; +} +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { + fill: #222f3e; +} +.tox .tox-notification--info { + background-color: #d6e7fb; + border-color: #c1dbf9; + color: #222f3e; +} +.tox .tox-notification--info p { + color: #222f3e; +} +.tox .tox-notification--info a { + color: #2a64a6; +} +.tox .tox-notification--info svg { + fill: #222f3e; +} +.tox .tox-notification__body { + align-self: center; + color: #222f3e; + font-size: 14px; + grid-column-end: 3; + grid-column-start: 2; + grid-row-end: 2; + grid-row-start: 1; + text-align: center; + white-space: normal; + word-break: break-all; + word-break: break-word; +} +.tox .tox-notification__body > * { + margin: 0; +} +.tox .tox-notification__body > * + * { + margin-top: 1rem; +} +.tox .tox-notification__icon { + align-self: center; + grid-column-end: 2; + grid-column-start: 1; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification__icon svg { + display: block; +} +.tox .tox-notification__dismiss { + align-self: start; + grid-column-end: 4; + grid-column-start: 3; + grid-row-end: 2; + grid-row-start: 1; + justify-self: end; +} +.tox .tox-notification .tox-progress-bar { + grid-column-end: 4; + grid-column-start: 1; + grid-row-end: 3; + grid-row-start: 2; + justify-self: center; +} +.tox .tox-pop { + display: inline-block; + position: relative; +} +.tox .tox-pop--resizing { + transition: width 0.1s ease; +} +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { + flex-wrap: nowrap; +} +.tox .tox-pop--transition { + transition: 0.15s ease; + transition-property: left, right, top, bottom; +} +.tox .tox-pop--transition::before, +.tox .tox-pop--transition::after { + transition: all 0.15s, visibility 0s, opacity 0.075s ease 0.075s; +} +.tox .tox-pop__dialog { + background-color: #fff; + border: 1px solid #cccccc; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + min-width: 0; + overflow: hidden; +} +.tox .tox-pop__dialog > *:not(.tox-toolbar) { + margin: 4px 4px 4px 8px; +} +.tox .tox-pop__dialog .tox-toolbar { + background-color: transparent; + margin-bottom: -1px; +} +.tox .tox-pop::before, +.tox .tox-pop::after { + border-style: solid; + content: ''; + display: block; + height: 0; + opacity: 1; + position: absolute; + width: 0; +} +.tox .tox-pop.tox-pop--inset::before, +.tox .tox-pop.tox-pop--inset::after { + opacity: 0; + transition: all 0s 0.15s, visibility 0s, opacity 0.075s ease; +} +.tox .tox-pop.tox-pop--bottom::before, +.tox .tox-pop.tox-pop--bottom::after { + left: 50%; + top: 100%; +} +.tox .tox-pop.tox-pop--bottom::after { + border-color: #fff transparent transparent transparent; + border-width: 8px; + margin-left: -8px; + margin-top: -1px; +} +.tox .tox-pop.tox-pop--bottom::before { + border-color: #cccccc transparent transparent transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--top::before, +.tox .tox-pop.tox-pop--top::after { + left: 50%; + top: 0; + transform: translateY(-100%); +} +.tox .tox-pop.tox-pop--top::after { + border-color: transparent transparent #fff transparent; + border-width: 8px; + margin-left: -8px; + margin-top: 1px; +} +.tox .tox-pop.tox-pop--top::before { + border-color: transparent transparent #cccccc transparent; + border-width: 9px; + margin-left: -9px; +} +.tox .tox-pop.tox-pop--left::before, +.tox .tox-pop.tox-pop--left::after { + left: 0; + top: calc(50% - 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--left::after { + border-color: transparent #fff transparent transparent; + border-width: 8px; + margin-left: -15px; +} +.tox .tox-pop.tox-pop--left::before { + border-color: transparent #cccccc transparent transparent; + border-width: 10px; + margin-left: -19px; +} +.tox .tox-pop.tox-pop--right::before, +.tox .tox-pop.tox-pop--right::after { + left: 100%; + top: calc(50% + 1px); + transform: translateY(-50%); +} +.tox .tox-pop.tox-pop--right::after { + border-color: transparent transparent transparent #fff; + border-width: 8px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--right::before { + border-color: transparent transparent transparent #cccccc; + border-width: 10px; + margin-left: -1px; +} +.tox .tox-pop.tox-pop--align-left::before, +.tox .tox-pop.tox-pop--align-left::after { + left: 20px; +} +.tox .tox-pop.tox-pop--align-right::before, +.tox .tox-pop.tox-pop--align-right::after { + left: calc(100% - 20px); +} +.tox .tox-sidebar-wrap { + display: flex; + flex-direction: row; + flex-grow: 1; + min-height: 0; +} +.tox .tox-sidebar { + background-color: #fff; + display: flex; + flex-direction: row; + justify-content: flex-end; +} +.tox .tox-sidebar__slider { + display: flex; + overflow: hidden; +} +.tox .tox-sidebar__pane-container { + display: flex; +} +.tox .tox-sidebar__pane { + display: flex; +} +.tox .tox-sidebar--sliding-closed { + opacity: 0; +} +.tox .tox-sidebar--sliding-open { + opacity: 1; +} +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { + transition: width 0.5s ease, opacity 0.5s ease; +} +.tox .tox-selector { + background-color: #4099ff; + border-color: #4099ff; + border-style: solid; + border-width: 1px; + box-sizing: border-box; + display: inline-block; + height: 10px; + position: absolute; + width: 10px; +} +.tox.tox-platform-touch .tox-selector { + height: 12px; + width: 12px; +} +.tox .tox-slider { + align-items: center; + display: flex; + flex: 1; + height: 24px; + justify-content: center; + position: relative; +} +.tox .tox-slider__rail { + background-color: transparent; + border: 1px solid #cccccc; + border-radius: 3px; + height: 10px; + min-width: 120px; + width: 100%; +} +.tox .tox-slider__handle { + background-color: #207ab7; + border: 2px solid #185d8c; + border-radius: 3px; + box-shadow: none; + height: 24px; + left: 50%; + position: absolute; + top: 50%; + transform: translateX(-50%) translateY(-50%); + width: 14px; +} +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { + margin-inline-start: 8px; +} +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { + margin-inline-start: 32px; +} +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { + margin-inline-start: 32px; +} +.tox .tox-source-code { + overflow: auto; +} +.tox .tox-spinner { + display: flex; +} +.tox .tox-spinner > div { + animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; + background-color: rgba(34, 47, 62, 0.7); + border-radius: 100%; + height: 8px; + width: 8px; +} +.tox .tox-spinner > div:nth-child(1) { + animation-delay: -0.32s; +} +.tox .tox-spinner > div:nth-child(2) { + animation-delay: -0.16s; +} +@keyframes tam-bouncing-dots { + 0%, + 80%, + 100% { + transform: scale(0); + } + 40% { + transform: scale(1); + } +} +.tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { + margin-left: 4px; +} +.tox[dir=rtl] .tox-spinner > div:not(:first-child) { + margin-right: 4px; +} +.tox .tox-statusbar { + align-items: center; + background-color: #fff; + border-top: 1px solid #cccccc; + color: rgba(34, 47, 62, 0.7); + display: flex; + flex: 0 0 auto; + font-size: 12px; + font-weight: normal; + height: 18px; + overflow: hidden; + padding: 0 8px; + position: relative; + text-transform: uppercase; +} +.tox .tox-statusbar__text-container { + display: flex; + flex: 1 1 auto; + justify-content: flex-end; + overflow: hidden; +} +.tox .tox-statusbar__path { + display: flex; + flex: 1 1 auto; + margin-right: auto; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.tox .tox-statusbar__path > * { + display: inline; + white-space: nowrap; +} +.tox .tox-statusbar__wordcount { + flex: 0 0 auto; + margin-left: 1ch; +} +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { + color: rgba(34, 47, 62, 0.7); + text-decoration: none; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: #222f3e; + cursor: pointer; +} +.tox .tox-statusbar__branding svg { + fill: rgba(34, 47, 62, 0.8); + height: 1.14em; + vertical-align: -0.28em; + width: 3.6em; +} +.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg, +.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg { + fill: #222f3e; +} +.tox .tox-statusbar__resize-handle { + align-items: flex-end; + align-self: stretch; + cursor: nwse-resize; + display: flex; + flex: 0 0 auto; + justify-content: flex-end; + margin-left: auto; + margin-right: -8px; + padding-bottom: 3px; + padding-left: 1ch; + padding-right: 3px; +} +.tox .tox-statusbar__resize-handle svg { + display: block; + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-statusbar__resize-handle:focus svg { + background-color: #dee0e2; + border-radius: 1px 1px -4px 1px; + box-shadow: 0 0 0 2px #dee0e2; +} +.tox:not([dir=rtl]) .tox-statusbar__path > * { + margin-right: 4px; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 2ch; +} +.tox[dir=rtl] .tox-statusbar { + flex-direction: row-reverse; +} +.tox[dir=rtl] .tox-statusbar__path > * { + margin-left: 4px; +} +.tox .tox-throbber { + z-index: 1299; +} +.tox .tox-throbber__busy-spinner { + align-items: center; + background-color: rgba(255, 255, 255, 0.6); + bottom: 0; + display: flex; + justify-content: center; + left: 0; + position: absolute; + right: 0; + top: 0; +} +.tox .tox-tbtn { + align-items: center; + background: transparent; + border: 0; + border-radius: 3px; + box-shadow: none; + color: #222f3e; + display: flex; + flex: 0 0 auto; + font-size: 14px; + font-style: normal; + font-weight: normal; + height: 34px; + justify-content: center; + margin: 3px 0 2px 0; + outline: none; + overflow: hidden; + padding: 0; + text-transform: none; + width: 34px; +} +.tox .tox-tbtn svg { + display: block; + fill: #222f3e; +} +.tox .tox-tbtn.tox-tbtn-more { + padding-left: 5px; + padding-right: 5px; + width: inherit; +} +.tox .tox-tbtn:focus { + background: #dee0e2; + border: 0; + box-shadow: none; +} +.tox .tox-tbtn:hover { + background: #dee0e2; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:hover svg { + fill: #222f3e; +} +.tox .tox-tbtn:active { + background: #c8cbcf; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn:active svg { + fill: #222f3e; +} +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { + background: transparent; + border: 0; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); + cursor: not-allowed; +} +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { + background: #c8cbcf; + border: 0; + box-shadow: none; + color: #222f3e; +} +.tox .tox-tbtn--enabled > *, +.tox .tox-tbtn--enabled:hover > * { + transform: none; +} +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { + /* stylelint-disable-line no-descending-specificity */ + fill: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { + color: #222f3e; +} +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { + fill: #222f3e; +} +.tox .tox-tbtn:active > * { + transform: none; +} +.tox .tox-tbtn--md { + height: 51px; + width: 51px; +} +.tox .tox-tbtn--lg { + flex-direction: column; + height: 68px; + width: 68px; +} +.tox .tox-tbtn--return { + align-self: stretch; + height: unset; + width: 16px; +} +.tox .tox-tbtn--labeled { + padding: 0 4px; + width: unset; +} +.tox .tox-tbtn__vlabel { + display: block; + font-size: 10px; + font-weight: normal; + letter-spacing: -0.025em; + margin-bottom: 4px; + white-space: nowrap; +} +.tox .tox-tbtn--select { + margin: 3px 0 2px 0; + padding: 0 4px; + width: auto; +} +.tox .tox-tbtn__select-label { + cursor: default; + font-weight: normal; + margin: 0 4px; +} +.tox .tox-tbtn__select-chevron { + align-items: center; + display: flex; + justify-content: center; + width: 16px; +} +.tox .tox-tbtn__select-chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-tbtn--bespoke { + background: transparent; +} +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { + margin-inline-start: 0; +} +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 7em; +} +.tox .tox-split-button { + border: 0; + border-radius: 3px; + box-sizing: border-box; + display: flex; + margin: 3px 0 2px 0; + overflow: hidden; +} +.tox .tox-split-button:hover { + box-shadow: 0 0 0 1px #dee0e2 inset; +} +.tox .tox-split-button:focus { + background: #dee0e2; + box-shadow: none; + color: #222f3e; +} +.tox .tox-split-button > * { + border-radius: 0; +} +.tox .tox-split-button__chevron { + width: 16px; +} +.tox .tox-split-button__chevron svg { + fill: rgba(34, 47, 62, 0.5); +} +.tox .tox-split-button .tox-tbtn { + margin: 0; +} +.tox .tox-split-button.tox-tbtn--disabled:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { + background: transparent; + box-shadow: none; + color: rgba(34, 47, 62, 0.5); +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { + padding: 0 0px; +} +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { + width: 30px; +} +.tox.tox-platform-touch .tox-split-button__chevron { + width: 20px; +} +.tox .tox-toolbar-overlord { + background-color: #fff; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background-color: #fff; + background-image: repeating-linear-gradient(#cccccc 0px 1px, transparent 1px 39px); + background-position: center top 39px; + background-repeat: no-repeat; + background-size: calc(100% - 4px * 2) calc(100% - 39px); + display: flex; + flex: 0 0 auto; + flex-shrink: 0; + flex-wrap: wrap; + padding: 0 0px; + transform: perspective(1px); +} +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__primary, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow { + background-position: center top 0px; + background-size: calc(100% - 4px * 2) calc(100% - 0px); +} +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { + height: 0; + opacity: 0; + padding-bottom: 0; + padding-top: 0; + visibility: hidden; +} +.tox .tox-toolbar__overflow--growing { + transition: height 0.3s ease, opacity 0.2s linear 0.1s; +} +.tox .tox-toolbar__overflow--shrinking { + transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; +} +.tox .tox-toolbar-overlord, +.tox .tox-anchorbar { + grid-column: 1 / -1; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: 1px solid #cccccc; + margin-top: -1px; + padding-bottom: 0px; + padding-top: 0px; +} +.tox .tox-toolbar--scrolling { + flex-wrap: nowrap; + overflow-x: auto; +} +.tox .tox-pop .tox-toolbar { + border-width: 0; +} +.tox .tox-toolbar--no-divider { + background-image: none; +} +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { + background-position: center top 39px; +} +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { + background-image: none; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + background-color: #fff; + background-position: center top 43px; + background-size: calc(100% - 8px * 2) calc(100% - 51px); + border: none; + border-radius: 3px; + box-shadow: 0 0 2px 0 rgba(34, 47, 62, 0.2), 0 4px 8px 0 rgba(34, 47, 62, 0.15); + padding: 4px 0; +} +.tox-pop .tox-pop__dialog { + /* stylelint-disable-next-line no-descending-specificity */ +} +.tox-pop .tox-pop__dialog .tox-toolbar { + background-position: center top 43px; + background-size: calc(100% - 4px * 2) calc(100% - 51px); + padding: 4px 0; +} +.tox .tox-toolbar__group { + align-items: center; + display: flex; + flex-wrap: wrap; + margin: 0 0; + padding: 0 4px 0 4px; +} +.tox .tox-toolbar__group--pull-right { + margin-left: auto; +} +.tox .tox-toolbar--scrolling .tox-toolbar__group { + flex-shrink: 0; + flex-wrap: nowrap; +} +.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { + border-right: 1px solid #cccccc; +} +.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { + border-left: 1px solid #cccccc; +} +.tox .tox-tooltip { + display: inline-block; + padding: 8px; + position: relative; +} +.tox .tox-tooltip__body { + background-color: #222f3e; + border-radius: 3px; + box-shadow: 0 2px 4px rgba(34, 47, 62, 0.3); + color: rgba(255, 255, 255, 0.75); + font-size: 14px; + font-style: normal; + font-weight: normal; + padding: 4px 8px; + text-transform: none; +} +.tox .tox-tooltip__arrow { + position: absolute; +} +.tox .tox-tooltip--down .tox-tooltip__arrow { + border-left: 8px solid transparent; + border-right: 8px solid transparent; + border-top: 8px solid #222f3e; + bottom: 0; + left: 50%; + position: absolute; + transform: translateX(-50%); +} +.tox .tox-tooltip--up .tox-tooltip__arrow { + border-bottom: 8px solid #222f3e; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + left: 50%; + position: absolute; + top: 0; + transform: translateX(-50%); +} +.tox .tox-tooltip--right .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-left: 8px solid #222f3e; + border-top: 8px solid transparent; + position: absolute; + right: 0; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-tooltip--left .tox-tooltip__arrow { + border-bottom: 8px solid transparent; + border-right: 8px solid #222f3e; + border-top: 8px solid transparent; + left: 0; + position: absolute; + top: 50%; + transform: translateY(-50%); +} +.tox .tox-well { + border: 1px solid #cccccc; + border-radius: 3px; + padding: 8px; + width: 100%; +} +.tox .tox-well > *:first-child { + margin-top: 0; +} +.tox .tox-well > *:last-child { + margin-bottom: 0; +} +.tox .tox-well > *:only-child { + margin: 0; +} +.tox .tox-custom-editor { + border: 1px solid #cccccc; + border-radius: 3px; + display: flex; + flex: 1; + position: relative; +} +/* stylelint-disable */ +.tox { + /* stylelint-enable */ +} +.tox .tox-dialog-loading::before { + background-color: rgba(0, 0, 0, 0.5); + content: ""; + height: 100%; + position: absolute; + width: 100%; + z-index: 1000; +} +.tox .tox-tab { + cursor: pointer; +} +.tox .tox-dialog__content-js { + display: flex; + flex: 1; +} +.tox .tox-dialog__body-content .tox-collection { + display: flex; + flex: 1; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header { + background-color: none; + padding: 0; +} +.tox.tox-tinymce--toolbar-bottom .tox-editor-header, +.tox.tox-tinymce-inline .tox-editor-header { + margin-bottom: -1px; +} +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { + border-top: none; + box-shadow: none; +} +.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header { + background-color: transparent; + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); + padding: 0; +} +.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { + box-shadow: 0 4px 4px -3px rgba(0, 0, 0, 0.25); +} +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { + margin: -4px 0; +} +.tox .tox-menu.tox-collection.tox-collection--list { + padding: 0; +} +.tox .tox-pop { + box-shadow: none; +} +.tox .tox-tbtn, +.tox .tox-tbtn--select, +.tox .tox-split-button { + margin: 2px 0 3px 0; +} +.tox .tox-toolbar, +.tox .tox-toolbar__primary, +.tox .tox-toolbar__overflow { + background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0px #fff !important; +} +.tox .tox-menubar + .tox-toolbar-overlord { + border-top: none; +} +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord .tox-toolbar__primary { + border-top: 1px solid #cccccc; + margin-top: -1px; +} +.tox.tox-tinymce-aux .tox-toolbar__overflow { + border: 1px solid #cccccc; + padding: 0; +} +.tox .tox-pop .tox-pop__dialog .tox-toolbar { + padding: 0; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar { + border-top: 1px solid #cccccc; +} +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary, +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child { + border-top: 1px solid #cccccc; +} +.tox .tox-toolbar__group { + padding: 0 4px 0 4px; +} +.tox .tox-collection__item { + border-radius: 0; + cursor: pointer; +} +.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]), +.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]) { + color: rgba(34, 47, 62, 0.7); + text-decoration: underline; +} +.tox .tox-statusbar__branding svg { + vertical-align: -0.25em; +} +.tox:not([dir=rtl]) .tox-statusbar__branding { + margin-left: 1ch; +} +.tox .tox-statusbar__resize-handle { + padding-bottom: 0; + padding-right: 0; +} +.tox .tox-button::before { + display: none; +} diff --git a/tinymce/skins/ui/tinymce-5/skin.css.br b/tinymce/skins/ui/tinymce-5/skin.css.br new file mode 100644 index 000000000..61db25b6a Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/skin.css.gz b/tinymce/skins/ui/tinymce-5/skin.css.gz new file mode 100644 index 000000000..94f7ba3b2 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/skin.min.css b/tinymce/skins/ui/tinymce-5/skin.min.css new file mode 100755 index 000000000..89adb857b --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.min.css @@ -0,0 +1,812 @@ +.tox { box-shadow: none; box-sizing: content-box; color: #222f3e; cursor: auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-style: normal; font-weight: 400; line-height: normal; -webkit-tap-highlight-color: transparent; text-decoration: none; text-shadow: none; text-transform: none; vertical-align: initial; white-space: normal; } +.tox :not(svg, rect) { box-sizing: inherit; color: inherit; cursor: inherit; direction: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; -webkit-tap-highlight-color: inherit; text-align: inherit; text-decoration: inherit; text-shadow: inherit; text-transform: inherit; vertical-align: inherit; white-space: inherit; } +.tox :not(svg, rect) { background: 0 0; border: 0; box-shadow: none; float: none; height: auto; margin: 0; max-width: none; outline: 0; padding: 0; position: static; width: auto; } +.tox:not([dir="rtl"]) { direction: ltr; text-align: left; } +.tox[dir="rtl"] { direction: rtl; text-align: right; } +.tox-tinymce { border: 1px solid #ccc; border-radius: 0; box-shadow: none; box-sizing: border-box; display: flex; flex-direction: column; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; overflow: hidden; position: relative; visibility: inherit !important; } +.tox.tox-tinymce-inline { border: none; box-shadow: none; overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-container { overflow: initial; } +.tox.tox-tinymce-inline .tox-editor-header { background-color: #fff; border: 1px solid #ccc; border-radius: 0; box-shadow: none; overflow: hidden; } +.tox-tinymce-aux { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; z-index: 1300; } + +.tox-tinymce :focus, +.tox-tinymce-aux :focus { outline: 0; } +button::-moz-focus-inner { border: 0; } +.tox[dir="rtl"] .tox-icon--flip svg { transform: rotateY(180deg); } +.tox .accessibility-issue__header { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description { align-items: stretch; border: 1px solid #ccc; border-radius: 3px; display: flex; justify-content: space-between; } +.tox .accessibility-issue__description > div { padding-bottom: 4px; } +.tox .accessibility-issue__description > div > div { align-items: center; display: flex; margin-bottom: 4px; } +.tox .accessibility-issue__description > :last-child:not(:only-child) { border-color: #ccc; border-style: solid; } +.tox .accessibility-issue__repair { margin-top: 16px; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description { background-color: rgb(32 122 183 / 10%); border-color: rgb(32 122 183 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description > :last-child { border-color: rgb(32 122 183 / 40%); } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2 { color: #207ab7; } +.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg { fill: #207ab7; } +.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon { color: #207ab7; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description { background-color: rgb(255 165 0 / 10%); border-color: rgb(255 165 0 / 50%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description > :last-child { border-color: rgb(255 165 0 / 50%); } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2 { color: #cc8500; } +.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg { fill: #cc8500; } +.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon { color: #cc8500; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description { background-color: rgb(204 0 0 / 10%); border-color: rgb(204 0 0 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description > :last-child { border-color: rgb(204 0 0 / 40%); } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2 { color: #c00; } +.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg { fill: #c00; } +.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon { color: #c00; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description { background-color: rgb(120 171 70 / 10%); border-color: rgb(120 171 70 / 40%); color: #222f3e; } +.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description > :last-child { border-color: rgb(120 171 70 / 40%); } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2 { color: #78ab46; } +.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg { fill: #78ab46; } +.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon { color: #78ab46; } + +.tox .tox-dialog__body-content .accessibility-issue__header h1, +.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { margin-top: 0; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-left: auto; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description { padding: 4px 4px 4px 8px; } +.tox:not([dir="rtl"]) .tox-dialog__body-content .accessibility-issue__description > :last-child { border-left-width: 1px; padding-left: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header .tox-button { margin-right: 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__header > :nth-last-child(2) { margin-right: auto; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description { padding: 4px 8px 4px 4px; } +.tox[dir="rtl"] .tox-dialog__body-content .accessibility-issue__description > :last-child { border-right-width: 1px; padding-right: 4px; } +.tox .tox-anchorbar { display: flex; flex: 0 0 auto; } +.tox .tox-bar { display: flex; flex: 0 0 auto; } +.tox .tox-button { background-color: #207ab7; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #207ab7; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #fff; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; line-height: 24px; margin: 0; outline: 0; padding: 4px 16px; position: relative; text-align: center; text-decoration: none; text-transform: none; white-space: nowrap; } +.tox .tox-button::before { border-radius: 3px; inset: -1px; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #207ab7, 0 0 0 3px rgb(32 122 183 / 25%); content: ""; opacity: 0; pointer-events: none; position: absolute; } +.tox .tox-button[disabled] { background-color: #207ab7; background-image: none; border-color: #207ab7; box-shadow: none; color: rgb(255 255 255 / 50%); cursor: not-allowed; } +.tox .tox-button:focus:not(:disabled) { background-color: #1c6ca1; background-image: none; border-color: #1c6ca1; box-shadow: none; color: #fff; } +.tox .tox-button:focus-visible:not(:disabled)::before { opacity: 1; } +.tox .tox-button:hover:not(:disabled) { background-color: #1c6ca1; background-image: none; border-color: #1c6ca1; box-shadow: none; color: #fff; } +.tox .tox-button:active:not(:disabled) { background-color: #185d8c; background-image: none; border-color: #185d8c; box-shadow: none; color: #fff; } +.tox .tox-button--secondary { background-color: #f0f0f0; background-image: none; background-position: 0 0; background-repeat: repeat; border-color: #f0f0f0; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; color: #222f3e; font-size: 14px; font-style: normal; font-weight: 700; letter-spacing: normal; outline: 0; padding: 4px 16px; text-decoration: none; text-transform: none; } +.tox .tox-button--secondary[disabled] { background-color: #f0f0f0; background-image: none; border-color: #f0f0f0; box-shadow: none; color: rgb(34 47 62 / 50%); } +.tox .tox-button--secondary:focus:not(:disabled) { background-color: #e3e3e3; background-image: none; border-color: #e3e3e3; box-shadow: none; color: #222f3e; } +.tox .tox-button--secondary:hover:not(:disabled) { background-color: #e3e3e3; background-image: none; border-color: #e3e3e3; box-shadow: none; color: #222f3e; } +.tox .tox-button--secondary:active:not(:disabled) { background-color: #d6d6d6; background-image: none; border-color: #d6d6d6; box-shadow: none; color: #222f3e; } + +.tox .tox-button--icon, +.tox .tox-button.tox-button--icon, +.tox .tox-button.tox-button--secondary.tox-button--icon { padding: 4px; } + +.tox .tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--icon .tox-icon svg, +.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { display: block; fill: currentcolor; } +.tox .tox-button-link { background: 0; border: none; box-sizing: border-box; cursor: pointer; display: inline-block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.3; margin: 0; padding: 0; white-space: nowrap; } +.tox .tox-button-link--sm { font-size: 14px; } +.tox .tox-button--naked { background-color: transparent; border-color: transparent; box-shadow: unset; color: #222f3e; } +.tox .tox-button--naked[disabled] { background-color: #f0f0f0; border-color: #f0f0f0; box-shadow: none; color: rgb(34 47 62 / 50%); } +.tox .tox-button--naked:hover:not(:disabled) { background-color: #e3e3e3; border-color: #e3e3e3; box-shadow: none; color: #222f3e; } +.tox .tox-button--naked:focus:not(:disabled) { background-color: #e3e3e3; border-color: #e3e3e3; box-shadow: none; color: #222f3e; } +.tox .tox-button--naked:active:not(:disabled) { background-color: #d6d6d6; border-color: #d6d6d6; box-shadow: none; color: #222f3e; } +.tox .tox-button--naked .tox-icon svg { fill: currentcolor; } +.tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { color: #222f3e; } +.tox .tox-checkbox { align-items: center; border-radius: 3px; cursor: pointer; display: flex; height: 36px; min-width: 36px; } +.tox .tox-checkbox__input { height: 1px; overflow: hidden; position: absolute; top: auto; width: 1px; } +.tox .tox-checkbox__icons { align-items: center; border-radius: 3px; box-shadow: 0 0 0 2px transparent; box-sizing: content-box; display: flex; height: 24px; justify-content: center; padding: calc(4px - 1px); width: 24px; } +.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: block; fill: rgb(34 47 62 / 30%); } +.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: none; fill: #207ab7; } +.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: none; fill: #207ab7; } +.tox .tox-checkbox--disabled { color: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { fill: rgb(34 47 62 / 50%); } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { display: block; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { display: none; } +.tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { display: block; } +.tox input.tox-checkbox__input:focus + .tox-checkbox__icons { border-radius: 3px; box-shadow: inset 0 0 0 1px #207ab7; padding: calc(4px - 1px); } +.tox:not([dir="rtl"]) .tox-checkbox__label { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-checkbox__input { left: -10000px; } +.tox:not([dir="rtl"]) .tox-bar .tox-checkbox { margin-left: 4px; } +.tox[dir="rtl"] .tox-checkbox__label { margin-right: 4px; } +.tox[dir="rtl"] .tox-checkbox__input { right: -10000px; } +.tox[dir="rtl"] .tox-bar .tox-checkbox { margin-right: 4px; } +.tox .tox-collection--toolbar .tox-collection__group { display: flex; padding: 0; } +.tox .tox-collection--grid .tox-collection__group { display: flex; flex-wrap: wrap; max-height: 208px; overflow-x: hidden; overflow-y: auto; padding: 0; } +.tox .tox-collection--list .tox-collection__group { border-width: 1px 0 0; border-color: #ccc; border-style: solid; padding: 4px 0; } +.tox .tox-collection--list .tox-collection__group:first-child { border-top-width: 0; } +.tox .tox-collection__group-heading { background-color: #e6e6e6; color: rgb(34 47 62 / 70%); cursor: default; font-size: 12px; font-style: normal; font-weight: 400; margin-bottom: 4px; margin-top: -4px; padding: 4px 8px; text-transform: none; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection__item { align-items: center; border-radius: 3px; color: #222f3e; display: flex; -webkit-touch-callout: none; user-select: none; user-select: none; user-select: none; } +.tox .tox-collection--list .tox-collection__item { padding: 4px 8px; } +.tox .tox-collection--toolbar .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--grid .tox-collection__item { border-radius: 3px; padding: 4px; } +.tox .tox-collection--list .tox-collection__item--enabled { background-color: #fff; color: #222f3e; } +.tox .tox-collection--list .tox-collection__item--active { background-color: #dee0e2; } +.tox .tox-collection--toolbar .tox-collection__item--enabled { background-color: #c8cbcf; color: #222f3e; } +.tox .tox-collection--toolbar .tox-collection__item--active { background-color: #dee0e2; } +.tox .tox-collection--grid .tox-collection__item--enabled { background-color: #c8cbcf; color: #222f3e; } +.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { background-color: #dee0e2; color: #222f3e; } +.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #222f3e; } +.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { color: #222f3e; } + +.tox .tox-collection__item-checkmark, +.tox .tox-collection__item-icon { align-items: center; display: flex; height: 24px; justify-content: center; width: 24px; } + +.tox .tox-collection__item-checkmark svg, +.tox .tox-collection__item-icon svg { fill: currentcolor; } +.tox .tox-collection--toolbar-lg .tox-collection__item-icon { height: 48px; width: 48px; } +.tox .tox-collection__item-label { color: currentcolor; display: inline-block; flex: 1; font-size: 14px; font-style: normal; font-weight: 400; line-height: 24px; text-transform: none; word-break: break-all; } +.tox .tox-collection__item-accessory { color: rgb(34 47 62 / 70%); display: inline-block; font-size: 14px; height: 24px; line-height: 24px; text-transform: none; } +.tox .tox-collection__item-caret { align-items: center; display: flex; min-height: 24px; } +.tox .tox-collection__item-caret::after { content: ""; font-size: 0; min-height: inherit; } +.tox .tox-collection__item-caret svg { fill: #222f3e; } +.tox .tox-collection__item--state-disabled { background-color: transparent; color: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { display: none; } +.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory + .tox-collection__item-checkmark { display: none; } +.tox .tox-collection--horizontal { background-color: #fff; border: 1px solid #ccc; border-radius: 3px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: nowrap; margin-bottom: 0; overflow-x: auto; padding: 0; } +.tox .tox-collection--horizontal .tox-collection__group { align-items: center; display: flex; flex-wrap: nowrap; margin: 0; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item { height: 34px; margin: 3px 0 2px; padding: 0 4px; } +.tox .tox-collection--horizontal .tox-collection__item-label { white-space: nowrap; } +.tox .tox-collection--horizontal .tox-collection__item-caret { margin-left: 4px; } +.tox .tox-collection__item-container { display: flex; } +.tox .tox-collection__item-container--row { align-items: center; flex: 1 1 auto; flex-direction: row; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-left { margin-right: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--align-right { justify-content: flex-end; margin-left: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top { align-items: flex-start; margin-bottom: auto; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle { align-items: center; } +.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom { align-items: flex-end; margin-top: auto; } +.tox .tox-collection__item-container--column { align-self: center; flex: 1 1 auto; flex-direction: column; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-left { align-items: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--align-right { align-items: flex-end; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top { align-self: flex-start; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle { align-self: center; } +.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom { align-self: flex-end; } +.tox:not([dir="rtl"]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-right: 1px solid #ccc; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > :not(:first-child) { margin-left: 8px; } +.tox:not([dir="rtl"]) .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-left: 4px; } +.tox:not([dir="rtl"]) .tox-collection__item-accessory { margin-left: 16px; text-align: right; } +.tox:not([dir="rtl"]) .tox-collection .tox-collection__item-caret { margin-left: 16px; } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { border-left: 1px solid #ccc; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > :not(:first-child) { margin-right: 8px; } +.tox[dir="rtl"] .tox-collection--list .tox-collection__item > .tox-collection__item-label:first-child { margin-right: 4px; } +.tox[dir="rtl"] .tox-collection__item-accessory { margin-right: 16px; text-align: left; } +.tox[dir="rtl"] .tox-collection .tox-collection__item-caret { margin-right: 16px; transform: rotateY(180deg); } +.tox[dir="rtl"] .tox-collection--horizontal .tox-collection__item-caret { margin-right: 4px; } +.tox .tox-color-picker-container { display: flex; flex-direction: row; height: 225px; margin: 0; } +.tox .tox-sv-palette { box-sizing: border-box; display: flex; height: 100%; } +.tox .tox-sv-palette-spectrum { height: 100%; } + +.tox .tox-sv-palette, +.tox .tox-sv-palette-spectrum { width: 225px; } +.tox .tox-sv-palette-thumb { background: 0 0; border: 1px solid #000; border-radius: 50%; box-sizing: content-box; height: 12px; position: absolute; width: 12px; } +.tox .tox-sv-palette-inner-thumb { border: 1px solid #fff; border-radius: 50%; height: 10px; position: absolute; width: 10px; } +.tox .tox-hue-slider { box-sizing: border-box; height: 100%; width: 25px; } +.tox .tox-hue-slider-spectrum { background: linear-gradient(to bottom, red, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, red); height: 100%; width: 100%; } + +.tox .tox-hue-slider, +.tox .tox-hue-slider-spectrum { width: 20px; } +.tox .tox-hue-slider-thumb { background: #fff; border: 1px solid #000; box-sizing: content-box; height: 4px; width: 100%; } +.tox .tox-rgb-form { display: flex; flex-direction: column; justify-content: space-between; } +.tox .tox-rgb-form div { align-items: center; display: flex; justify-content: space-between; margin-bottom: 5px; width: inherit; } +.tox .tox-rgb-form input { width: 6em; } +.tox .tox-rgb-form input.tox-invalid { border: 1px solid red !important; } +.tox .tox-rgb-form .tox-rgba-preview { border: 1px solid #000; flex-grow: 2; margin-bottom: 0; } +.tox:not([dir="rtl"]) .tox-sv-palette { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider { margin-right: 15px; } +.tox:not([dir="rtl"]) .tox-hue-slider-thumb { margin-left: -1px; } +.tox:not([dir="rtl"]) .tox-rgb-form label { margin-right: 0.5em; } +.tox[dir="rtl"] .tox-sv-palette { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider { margin-left: 15px; } +.tox[dir="rtl"] .tox-hue-slider-thumb { margin-right: -1px; } +.tox[dir="rtl"] .tox-rgb-form label { margin-left: 0.5em; } + +.tox .tox-toolbar .tox-swatches, +.tox .tox-toolbar__overflow .tox-swatches, +.tox .tox-toolbar__primary .tox-swatches { margin: 2px 0 3px 4px; } +.tox .tox-collection--list .tox-collection__group .tox-swatches-menu { border: 0; margin: -4px 0; } +.tox .tox-swatches__row { display: flex; } +.tox .tox-swatch { height: 30px; transition: transform 0.15s, box-shadow 0.15s; width: 30px; } + +.tox .tox-swatch:focus, +.tox .tox-swatch:hover { box-shadow: 0 0 0 1px rgb(127 127 127 / 30%) inset; transform: scale(0.8); } +.tox .tox-swatch--remove { align-items: center; display: flex; justify-content: center; } +.tox .tox-swatch--remove svg path { stroke: #e74c3c; } +.tox .tox-swatches__picker-btn { align-items: center; background-color: transparent; border: 0; cursor: pointer; display: flex; height: 30px; justify-content: center; outline: 0; padding: 0; width: 30px; } +.tox .tox-swatches__picker-btn svg { fill: #222f3e; height: 24px; width: 24px; } +.tox .tox-swatches__picker-btn:hover { background: #dee0e2; } +.tox:not([dir="rtl"]) .tox-swatches__picker-btn { margin-left: auto; } +.tox[dir="rtl"] .tox-swatches__picker-btn { margin-right: auto; } +.tox .tox-comment-thread { background: #fff; position: relative; } +.tox .tox-comment-thread > :not(:first-child) { margin-top: 8px; } +.tox .tox-comment { background: #fff; border: 1px solid #ccc; border-radius: 3px; box-shadow: 0 4px 8px 0 rgb(34 47 62 / 10%); padding: 8px 8px 16px; position: relative; } +.tox .tox-comment__header { align-items: center; color: #222f3e; display: flex; justify-content: space-between; } +.tox .tox-comment__date { color: #222f3e; font-size: 12px; line-height: 18px; } +.tox .tox-comment__body { color: #222f3e; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; margin-top: 8px; position: relative; text-transform: initial; } +.tox .tox-comment__body textarea { resize: none; white-space: normal; width: 100%; } +.tox .tox-comment__expander { padding-top: 8px; } +.tox .tox-comment__expander p { color: rgb(34 47 62 / 70%); font-size: 14px; font-style: normal; } +.tox .tox-comment__body p { margin: 0; } +.tox .tox-comment__buttonspacing { padding-top: 16px; text-align: center; } +.tox .tox-comment-thread__overlay::after { background: #fff; inset: 0; content: ""; display: flex; opacity: 0.9; position: absolute; z-index: 5; } +.tox .tox-comment__reply { display: flex; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; margin-top: 8px; } +.tox .tox-comment__reply > :first-child { margin-bottom: 8px; width: 100%; } +.tox .tox-comment__edit { display: flex; flex-wrap: wrap; justify-content: flex-end; margin-top: 16px; } +.tox .tox-comment__gradient::after { background: linear-gradient(rgb(255 255 255 / 0%), #fff); bottom: 0; content: ""; display: block; height: 5em; margin-top: -40px; position: absolute; width: 100%; } +.tox .tox-comment__overlay { background: #fff; inset: 0; display: flex; flex-direction: column; flex-grow: 1; opacity: 0.9; position: absolute; text-align: center; z-index: 5; } +.tox .tox-comment__loading-text { align-items: center; color: #222f3e; display: flex; flex-direction: column; position: relative; } +.tox .tox-comment__loading-text > div { padding-bottom: 16px; } +.tox .tox-comment__overlaytext { inset: 0; flex-direction: column; font-size: 14px; padding: 1em; position: absolute; z-index: 10; } +.tox .tox-comment__overlaytext p { background-color: #fff; box-shadow: 0 0 8px 8px #fff; color: #222f3e; text-align: center; } +.tox .tox-comment__overlaytext div:nth-of-type(2) { font-size: 0.8em; } +.tox .tox-comment__busy-spinner { align-items: center; background-color: #fff; inset: 0; display: flex; justify-content: center; position: absolute; z-index: 20; } +.tox .tox-comment__scroll { display: flex; flex-direction: column; flex-shrink: 1; overflow: auto; } +.tox .tox-conversations { margin: 8px; } +.tox:not([dir="rtl"]) .tox-comment__edit { margin-left: 8px; } + +.tox:not([dir="rtl"]) .tox-comment__buttonspacing > :last-child, +.tox:not([dir="rtl"]) .tox-comment__edit > :last-child, +.tox:not([dir="rtl"]) .tox-comment__reply > :last-child { margin-left: 8px; } +.tox[dir="rtl"] .tox-comment__edit { margin-right: 8px; } + +.tox[dir="rtl"] .tox-comment__buttonspacing > :last-child, +.tox[dir="rtl"] .tox-comment__edit > :last-child, +.tox[dir="rtl"] .tox-comment__reply > :last-child { margin-right: 8px; } +.tox .tox-user { align-items: center; display: flex; } +.tox .tox-user__avatar svg { fill: rgb(34 47 62 / 70%); } +.tox .tox-user__avatar img { border-radius: 50%; height: 36px; object-fit: cover; vertical-align: middle; width: 36px; } +.tox .tox-user__name { color: #222f3e; font-size: 14px; font-style: normal; font-weight: 700; line-height: 18px; text-transform: none; } + +.tox:not([dir="rtl"]) .tox-user__avatar img, +.tox:not([dir="rtl"]) .tox-user__avatar svg { margin-right: 8px; } +.tox:not([dir="rtl"]) .tox-user__avatar + .tox-user__name { margin-left: 8px; } + +.tox[dir="rtl"] .tox-user__avatar img, +.tox[dir="rtl"] .tox-user__avatar svg { margin-left: 8px; } +.tox[dir="rtl"] .tox-user__avatar + .tox-user__name { margin-right: 8px; } +.tox .tox-dialog-wrap { align-items: center; inset: 0; display: flex; justify-content: center; position: fixed; z-index: 1100; } +.tox .tox-dialog-wrap__backdrop { background-color: rgb(255 255 255 / 75%); inset: 0; position: absolute; z-index: 1; } +.tox .tox-dialog-wrap__backdrop--opaque { background-color: #fff; } +.tox .tox-dialog { background-color: #fff; border-color: #ccc; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: 0 16px 16px -10px rgb(34 47 62 / 15%), 0 0 40px 1px rgb(34 47 62 / 15%); display: flex; flex-direction: column; max-height: 100%; max-width: 480px; overflow: hidden; position: relative; width: 95vw; z-index: 2; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog { align-self: flex-start; margin: 8px auto; max-height: calc(100vh - 8px * 2); width: calc(100vw - 16px); } } +.tox .tox-dialog-inline { z-index: 1100; } +.tox .tox-dialog__header { align-items: center; background-color: #fff; border-bottom: none; color: #222f3e; display: flex; font-size: 16px; justify-content: space-between; padding: 8px 16px 0; position: relative; } +.tox .tox-dialog__header .tox-button { z-index: 1; } +.tox .tox-dialog__draghandle { cursor: grab; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } +.tox .tox-dialog__draghandle:active { cursor: grabbing; } +.tox .tox-dialog__dismiss { margin-left: auto; } +.tox .tox-dialog__title { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 20px; font-style: normal; font-weight: 400; line-height: 1.3; margin: 0; text-transform: none; } +.tox .tox-dialog__body { color: #222f3e; display: flex; flex: 1; font-size: 16px; font-style: normal; font-weight: 400; line-height: 1.3; min-width: 0; text-align: left; text-transform: none; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body { flex-direction: column; } } +.tox .tox-dialog__body-nav { align-items: flex-start; display: flex; flex-direction: column; padding: 16px; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { flex-direction: row; -webkit-overflow-scrolling: touch; overflow-x: auto; padding-bottom: 0; } } +.tox .tox-dialog__body-nav-item { border-bottom: 2px solid transparent; color: rgb(34 47 62 / 70%); display: inline-block; font-size: 14px; line-height: 1.3; margin-bottom: 8px; text-decoration: none; white-space: nowrap; } +.tox .tox-dialog__body-nav-item:focus { background-color: rgb(32 122 183 / 10%); } +.tox .tox-dialog__body-nav-item--active { border-bottom: 2px solid #207ab7; color: #207ab7; } +.tox .tox-dialog__body-content { box-sizing: border-box; display: flex; flex: 1; flex-direction: column; max-height: 650px; overflow: auto; -webkit-overflow-scrolling: touch; padding: 16px; } +.tox .tox-dialog__body-content > * { margin-bottom: 0; margin-top: 16px; } +.tox .tox-dialog__body-content > :first-child { margin-top: 0; } +.tox .tox-dialog__body-content > :last-child { margin-bottom: 0; } +.tox .tox-dialog__body-content > :only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog__body-content a { color: #207ab7; cursor: pointer; text-decoration: none; } + +.tox .tox-dialog__body-content a:focus, +.tox .tox-dialog__body-content a:hover { color: #185d8c; text-decoration: none; } +.tox .tox-dialog__body-content a:active { color: #185d8c; text-decoration: none; } +.tox .tox-dialog__body-content svg { fill: #222f3e; } +.tox .tox-dialog__body-content ul { display: block; list-style-type: disc; margin-bottom: 16px; margin-inline-end: 0; margin-inline-start: 0; padding-inline-start: 2.5rem; } +.tox .tox-dialog__body-content .tox-form__group h1 { color: #222f3e; font-size: 20px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group h2 { color: #222f3e; font-size: 16px; font-style: normal; font-weight: 700; letter-spacing: normal; margin-bottom: 16px; margin-top: 2rem; text-transform: none; } +.tox .tox-dialog__body-content .tox-form__group p { margin-bottom: 16px; } + +.tox .tox-dialog__body-content .tox-form__group h1:first-child, +.tox .tox-dialog__body-content .tox-form__group h2:first-child, +.tox .tox-dialog__body-content .tox-form__group p:first-child { margin-top: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:last-child, +.tox .tox-dialog__body-content .tox-form__group h2:last-child, +.tox .tox-dialog__body-content .tox-form__group p:last-child { margin-bottom: 0; } + +.tox .tox-dialog__body-content .tox-form__group h1:only-child, +.tox .tox-dialog__body-content .tox-form__group h2:only-child, +.tox .tox-dialog__body-content .tox-form__group p:only-child { margin-bottom: 0; margin-top: 0; } +.tox .tox-dialog--width-lg { height: 650px; max-width: 1200px; } +.tox .tox-dialog--width-md { max-width: 800px; } +.tox .tox-dialog--width-md .tox-dialog__body-content { overflow: auto; } +.tox .tox-dialog__body-content--centered { text-align: center; } +.tox .tox-dialog__footer { align-items: center; background-color: #fff; border-top: 1px solid #ccc; display: flex; justify-content: space-between; padding: 8px 16px; } + +.tox .tox-dialog__footer-end, +.tox .tox-dialog__footer-start { display: flex; } +.tox .tox-dialog__busy-spinner { align-items: center; background-color: rgb(255 255 255 / 75%); inset: 0; display: flex; justify-content: center; position: absolute; z-index: 3; } +.tox .tox-dialog__table { border-collapse: collapse; width: 100%; } +.tox .tox-dialog__table thead th { font-weight: 700; padding-bottom: 8px; } +.tox .tox-dialog__table tbody tr { border-bottom: 1px solid #ccc; } +.tox .tox-dialog__table tbody tr:last-child { border-bottom: none; } +.tox .tox-dialog__table td { padding-bottom: 8px; padding-top: 8px; } +.tox .tox-dialog__iframe.tox-dialog__iframe--opaque { background: #fff; } +.tox .tox-dialog__popups { position: absolute; width: 100%; z-index: 1100; } +.tox .tox-dialog__body-iframe { display: flex; flex: 1; flex-direction: column; } +.tox .tox-dialog__body-iframe .tox-navobj { display: flex; flex: 1; } +.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox .tox-dialog-dock-fadeout { opacity: 0; visibility: hidden; } +.tox .tox-dialog-dock-fadein { opacity: 1; visibility: visible; } +.tox .tox-dialog-dock-transition { transition: visibility 0s linear 0.3s, opacity 0.3s ease; } +.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { transition-delay: 0s; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav { margin-right: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox:not([dir="rtl"]) .tox-dialog__body-nav-item:not(:first-child) { margin-left: 8px; } } + +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-end > *, +.tox:not([dir="rtl"]) .tox-dialog__footer .tox-dialog__footer-start > * { margin-left: 8px; } +.tox[dir="rtl"] .tox-dialog__body { text-align: right; } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav { margin-left: 0; } } + +@media only screen and (width <= 767px) { body:not(.tox-force-desktop) .tox[dir="rtl"] .tox-dialog__body-nav-item:not(:first-child) { margin-right: 8px; } } + +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-end > *, +.tox[dir="rtl"] .tox-dialog__footer .tox-dialog__footer-start > * { margin-right: 8px; } +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox .tox-dropzone-container { display: flex; flex: 1; } +.tox .tox-dropzone { align-items: center; background: #fff; border: 2px dashed #ccc; box-sizing: border-box; display: flex; flex-direction: column; flex-grow: 1; justify-content: center; min-height: 100px; padding: 10px; } +.tox .tox-dropzone p { color: rgb(34 47 62 / 70%); margin: 0 0 16px; } +.tox .tox-edit-area { display: flex; flex: 1; overflow: hidden; position: relative; } +.tox .tox-edit-area__iframe { background-color: #fff; border: 0; box-sizing: border-box; flex: 1; height: 100%; position: absolute; width: 100%; } +.tox.tox-inline-edit-area { border: 1px dotted #ccc; } +.tox .tox-editor-container { display: flex; flex: 1 1 auto; flex-direction: column; overflow: hidden; } +.tox .tox-editor-header { display: grid; grid-template-columns: 1fr min-content; z-index: 1; } +.tox:not(.tox-tinymce-inline) .tox-editor-header { background-color: #fff; border-bottom: none; box-shadow: none; padding: 4px 0; transition: box-shadow 0.5s; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { border-top: 1px solid #ccc; box-shadow: none; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header { background-color: #fff; box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); padding: 4px 0; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); } +.tox-editor-dock-fadeout { opacity: 0; visibility: hidden; } +.tox-editor-dock-fadein { opacity: 1; visibility: visible; } +.tox-editor-dock-transition { transition: visibility 0s linear 0.25s, opacity 0.25s ease; } +.tox-editor-dock-transition.tox-editor-dock-fadein { transition-delay: 0s; } +.tox .tox-control-wrap { flex: 1; position: relative; } + +.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, +.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, +.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { display: none; } +.tox .tox-control-wrap svg { display: block; } +.tox .tox-control-wrap__status-icon-wrap { position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-control-wrap__status-icon-invalid svg { fill: #c00; } +.tox .tox-control-wrap__status-icon-unknown svg { fill: orange; } +.tox .tox-control-wrap__status-icon-valid svg { fill: green; } + +.tox:not([dir="rtl"]) .tox-control-wrap--status-invalid .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-unknown .tox-textfield, +.tox:not([dir="rtl"]) .tox-control-wrap--status-valid .tox-textfield { padding-right: 32px; } +.tox:not([dir="rtl"]) .tox-control-wrap__status-icon-wrap { right: 4px; } + +.tox[dir="rtl"] .tox-control-wrap--status-invalid .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-unknown .tox-textfield, +.tox[dir="rtl"] .tox-control-wrap--status-valid .tox-textfield { padding-left: 32px; } +.tox[dir="rtl"] .tox-control-wrap__status-icon-wrap { left: 4px; } +.tox .tox-autocompleter { max-width: 25em; } +.tox .tox-autocompleter .tox-menu { box-sizing: border-box; max-width: 25em; } +.tox .tox-autocompleter .tox-autocompleter-highlight { font-weight: 700; } +.tox .tox-color-input { display: flex; position: relative; z-index: 1; } +.tox .tox-color-input .tox-textfield { z-index: -1; } +.tox .tox-color-input span { border-color: rgb(34 47 62 / 20%); border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; height: 24px; position: absolute; top: 6px; width: 24px; } + +.tox .tox-color-input span:focus:not([aria-disabled="true"]), +.tox .tox-color-input span:hover:not([aria-disabled="true"]) { border-color: #207ab7; cursor: pointer; } +.tox .tox-color-input span::before { background-image: linear-gradient(45deg, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(-45deg, rgb(0 0 0 / 25%) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgb(0 0 0 / 25%) 75%), linear-gradient(-45deg, transparent 75%, rgb(0 0 0 / 25%) 75%); background-position: 0 0, 0 6px, 6px -6px, -6px 0; background-size: 12px 12px; border: 1px solid #fff; border-radius: 3px; box-sizing: border-box; content: ""; height: 24px; left: -1px; position: absolute; top: -1px; width: 24px; z-index: -1; } +.tox .tox-color-input span[aria-disabled="true"] { cursor: not-allowed; } +.tox:not([dir="rtl"]) .tox-color-input .tox-textfield { padding-left: 36px; } +.tox:not([dir="rtl"]) .tox-color-input span { left: 6px; } +.tox[dir="rtl"] .tox-color-input .tox-textfield { padding-right: 36px; } +.tox[dir="rtl"] .tox-color-input span { right: 6px; } + +.tox .tox-label, +.tox .tox-toolbar-label { color: rgb(34 47 62 / 70%); display: block; font-size: 14px; font-style: normal; font-weight: 400; line-height: 1.3; padding: 0 8px 0 0; text-transform: none; white-space: nowrap; } +.tox .tox-toolbar-label { padding: 0 8px; } +.tox[dir="rtl"] .tox-label { padding: 0 0 0 8px; } +.tox .tox-form { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group { box-sizing: border-box; margin-bottom: 4px; } +.tox .tox-form-group--maximize { flex: 1; } +.tox .tox-form__group--error { color: #c00; } +.tox .tox-form__group--collection { display: flex; } +.tox .tox-form__grid { display: flex; flex-flow: row wrap; justify-content: space-between; } +.tox .tox-form__grid--2col > .tox-form__group { width: calc(50% - (8px / 2)); } +.tox .tox-form__grid--3col > .tox-form__group { width: calc(100% / 3 - (8px / 2)); } +.tox .tox-form__grid--4col > .tox-form__group { width: calc(25% - (8px / 2)); } +.tox .tox-form__controls-h-stack { align-items: center; display: flex; } +.tox .tox-form__group--inline { align-items: center; display: flex; } +.tox .tox-form__group--stretched { display: flex; flex: 1; flex-direction: column; } +.tox .tox-form__group--stretched .tox-textarea { flex: 1; } +.tox .tox-form__group--stretched .tox-navobj { display: flex; flex: 1; } +.tox .tox-form__group--stretched .tox-navobj :nth-child(2) { flex: 1; height: 100%; } +.tox:not([dir="rtl"]) .tox-form__controls-h-stack > :not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-form__controls-h-stack > :not(:first-child) { margin-right: 4px; } + +.tox .tox-lock.tox-locked .tox-lock-icon__unlock, +.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { display: none; } + +.tox .tox-listboxfield .tox-listbox--select, +.tox .tox-textarea, +.tox .tox-textfield, +.tox .tox-toolbar-textfield { appearance: none; appearance: none; appearance: none; background-color: #fff; border-color: #ccc; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #222f3e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 4.75px; resize: none; width: 100%; } + +.tox .tox-textarea[disabled], +.tox .tox-textfield[disabled] { background-color: #f2f2f2; color: rgb(34 47 62 / 85%); cursor: not-allowed; } + +.tox .tox-listboxfield .tox-listbox--select:focus, +.tox .tox-textarea:focus, +.tox .tox-textfield:focus { background-color: #fff; border-color: #207ab7; box-shadow: none; outline: 2px solid rgb(32 122 183 / 25%); } +.tox .tox-toolbar-textfield { border-width: 0; margin-bottom: 3px; margin-top: 2px; max-width: 250px; } +.tox .tox-naked-btn { background-color: transparent; border: 0; border-color: transparent; box-shadow: unset; color: #207ab7; cursor: pointer; display: block; margin: 0; padding: 0; } +.tox .tox-naked-btn svg { display: block; fill: #222f3e; } +.tox:not([dir="rtl"]) .tox-toolbar-textfield + * { margin-left: 4px; } +.tox[dir="rtl"] .tox-toolbar-textfield + * { margin-right: 4px; } +.tox .tox-listboxfield { cursor: pointer; position: relative; } +.tox .tox-listboxfield .tox-listbox--select[disabled] { background-color: #f2f2f2; color: rgb(34 47 62 / 85%); cursor: not-allowed; } +.tox .tox-listbox__select-label { cursor: default; flex: 1; margin: 0 4px; } +.tox .tox-listbox__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-listbox__select-chevron svg { fill: #222f3e; } +.tox .tox-listboxfield .tox-listbox--select { align-items: center; display: flex; } +.tox:not([dir="rtl"]) .tox-listboxfield svg { right: 8px; } +.tox[dir="rtl"] .tox-listboxfield svg { left: 8px; } +.tox .tox-selectfield { cursor: pointer; position: relative; } +.tox .tox-selectfield select { appearance: none; appearance: none; appearance: none; background-color: #fff; border-color: #ccc; border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; color: #222f3e; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 16px; line-height: 24px; margin: 0; min-height: 34px; outline: 0; padding: 5px 4.75px; resize: none; width: 100%; } +.tox .tox-selectfield select[disabled] { background-color: #f2f2f2; color: rgb(34 47 62 / 85%); cursor: not-allowed; } +.tox .tox-selectfield select::-ms-expand { display: none; } +.tox .tox-selectfield select:focus { background-color: #fff; border-color: #207ab7; box-shadow: none; outline: 2px solid rgb(32 122 183 / 25%); } +.tox .tox-selectfield svg { pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); } + +.tox:not([dir="rtl"]) .tox-selectfield select[size="0"], +.tox:not([dir="rtl"]) .tox-selectfield select[size="1"] { padding-right: 24px; } +.tox:not([dir="rtl"]) .tox-selectfield svg { right: 8px; } + +.tox[dir="rtl"] .tox-selectfield select[size="0"], +.tox[dir="rtl"] .tox-selectfield select[size="1"] { padding-left: 24px; } +.tox[dir="rtl"] .tox-selectfield svg { left: 8px; } +.tox .tox-textarea { appearance: textarea; appearance: textarea; appearance: textarea; white-space: pre-wrap; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } +.tox .tox-help__more-link { list-style: none; margin-top: 1em; } +.tox .tox-imagepreview { background-color: #666; height: 380px; overflow: hidden; position: relative; width: 100%; } +.tox .tox-imagepreview.tox-imagepreview__loaded { overflow: auto; } +.tox .tox-imagepreview__container { display: flex; left: 100vw; position: absolute; top: 100vw; } +.tox .tox-imagepreview__image { background: url("data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw=="); } +.tox .tox-image-tools .tox-spacer { flex: 1; } +.tox .tox-image-tools .tox-bar { align-items: center; display: flex; height: 60px; justify-content: center; } + +.tox .tox-image-tools .tox-imagepreview, +.tox .tox-image-tools .tox-imagepreview + .tox-bar { margin-top: 8px; } +.tox .tox-image-tools .tox-croprect-block { background: #000; opacity: 0.5; position: absolute; zoom: 1; } +.tox .tox-image-tools .tox-croprect-handle { border: 2px solid #fff; height: 20px; left: 0; position: absolute; top: 0; width: 20px; } +.tox .tox-image-tools .tox-croprect-handle-move { border: 0; cursor: move; position: absolute; } +.tox .tox-image-tools .tox-croprect-handle-nw { border-width: 2px 0 0 2px; cursor: nw-resize; left: 100px; margin: -2px 0 0 -2px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-ne { border-width: 2px 2px 0 0; cursor: ne-resize; left: 200px; margin: -2px 0 0 -20px; top: 100px; } +.tox .tox-image-tools .tox-croprect-handle-sw { border-width: 0 0 2px 2px; cursor: sw-resize; left: 100px; margin: -20px 2px 0 -2px; top: 200px; } +.tox .tox-image-tools .tox-croprect-handle-se { border-width: 0 2px 2px 0; cursor: se-resize; left: 200px; margin: -20px 0 0 -20px; top: 200px; } +.tox .tox-insert-table-picker { display: flex; flex-wrap: wrap; width: 170px; } +.tox .tox-insert-table-picker > div { border-color: #ccc; border-style: solid; border-width: 0 1px 1px 0; box-sizing: border-box; height: 17px; width: 17px; } +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { margin: 0 -4px; } +.tox .tox-insert-table-picker .tox-insert-table-picker__selected { background-color: rgb(32 122 183 / 50%); border-color: rgb(32 122 183 / 50%); } +.tox .tox-insert-table-picker__label { color: rgb(34 47 62 / 70%); display: block; font-size: 14px; padding: 4px; text-align: center; width: 100%; } +.tox:not([dir="rtl"]) .tox-insert-table-picker > div:nth-child(10n) { border-right: 0; } +.tox[dir="rtl"] .tox-insert-table-picker > div:nth-child(10n+1) { border-right: 0; } +.tox .tox-menu { background-color: #fff; border: 1px solid #ccc; border-radius: 3px; box-shadow: 0 4px 8px 0 rgb(34 47 62 / 10%); display: inline-block; overflow: hidden; vertical-align: top; z-index: 1150; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 0; } +.tox .tox-menu.tox-collection.tox-collection--toolbar { padding: 4px; } +.tox .tox-menu.tox-collection.tox-collection--grid { padding: 4px; } + +@media only screen and (width >= 768px) { .tox .tox-menu .tox-collection__item-label { overflow-wrap: break-word; word-break: normal; } } + +.tox .tox-menu__label blockquote, +.tox .tox-menu__label code, +.tox .tox-menu__label h1, +.tox .tox-menu__label h2, +.tox .tox-menu__label h3, +.tox .tox-menu__label h4, +.tox .tox-menu__label h5, +.tox .tox-menu__label h6, +.tox .tox-menu__label p { margin: 0; } +.tox .tox-menubar { background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; background-color: #fff; display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; grid-column: 1/-1; grid-row: 1; padding: 0 4px; } +.tox .tox-promotion + .tox-menubar { grid-column: 1; } +.tox .tox-promotion { background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; background-color: #fff; grid-column: 2; grid-row: 1; padding-inline-end: 8px; padding-inline-start: 4px; padding-top: 5px; } +.tox .tox-promotion-link { align-items: unsafe center; background-color: #e8f1f8; border-radius: 5px; color: #086be6; cursor: pointer; display: flex; font-size: 14px; height: 26.6px; padding: 4px 8px; white-space: nowrap; } +.tox .tox-promotion-link:hover { background-color: #b4d7ff; } +.tox .tox-promotion-link:focus { background-color: #d9edf7; } +.tox .tox-mbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #222f3e; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 34px; justify-content: center; margin: 2px 0 3px; outline: 0; overflow: hidden; padding: 0 4px; text-transform: none; width: auto; } +.tox .tox-mbtn[disabled] { background-color: transparent; border: 0; box-shadow: none; color: rgb(34 47 62 / 50%); cursor: not-allowed; } +.tox .tox-mbtn:focus:not(:disabled) { background: #dee0e2; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-mbtn--active { background: #c8cbcf; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-mbtn:hover:not(:disabled, .tox-mbtn--active) { background: #dee0e2; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-mbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-mbtn[disabled] .tox-mbtn__select-label { cursor: not-allowed; } +.tox .tox-mbtn__select-chevron { align-items: center; justify-content: center; width: 16px; display: none; } +.tox .tox-notification { border-radius: 3px; border-style: solid; border-width: 1px; box-shadow: none; box-sizing: border-box; display: grid; font-size: 14px; font-weight: 400; grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); margin-top: 4px; opacity: 0; padding: 4px; transition: transform 0.1s ease-in, opacity 150ms ease-in; } +.tox .tox-notification p { font-size: 14px; font-weight: 400; } +.tox .tox-notification a { cursor: pointer; text-decoration: underline; } +.tox .tox-notification--in { opacity: 1; } +.tox .tox-notification--success { background-color: #e4eeda; border-color: #d7e6c8; color: #222f3e; } +.tox .tox-notification--success p { color: #222f3e; } +.tox .tox-notification--success a { color: #517342; } +.tox .tox-notification--success svg { fill: #222f3e; } +.tox .tox-notification--error { background-color: #f5cccc; border-color: #f0b3b3; color: #222f3e; } +.tox .tox-notification--error p { color: #222f3e; } +.tox .tox-notification--error a { color: #77181f; } +.tox .tox-notification--error svg { fill: #222f3e; } + +.tox .tox-notification--warn, +.tox .tox-notification--warning { background-color: #fff5cc; border-color: #fff0b3; color: #222f3e; } + +.tox .tox-notification--warn p, +.tox .tox-notification--warning p { color: #222f3e; } + +.tox .tox-notification--warn a, +.tox .tox-notification--warning a { color: #7a6e25; } + +.tox .tox-notification--warn svg, +.tox .tox-notification--warning svg { fill: #222f3e; } +.tox .tox-notification--info { background-color: #d6e7fb; border-color: #c1dbf9; color: #222f3e; } +.tox .tox-notification--info p { color: #222f3e; } +.tox .tox-notification--info a { color: #2a64a6; } +.tox .tox-notification--info svg { fill: #222f3e; } +.tox .tox-notification__body { align-self: center; color: #222f3e; font-size: 14px; grid-column: 2 3; text-align: center; white-space: normal; word-break: break-all; word-break: break-word; } +.tox .tox-notification__body > * { margin: 0; } +.tox .tox-notification__body > * + * { margin-top: 1rem; } +.tox .tox-notification__icon { align-self: center; grid-column: 1 2; justify-self: end; } +.tox .tox-notification__icon svg { display: block; } +.tox .tox-notification__dismiss { align-self: start; grid-column: 3 4; justify-self: end; } +.tox .tox-notification .tox-progress-bar { grid-column: 1 4; justify-self: center; } +.tox .tox-pop { display: inline-block; position: relative; } +.tox .tox-pop--resizing { transition: width 0.1s ease; } + +.tox .tox-pop--resizing .tox-toolbar, +.tox .tox-pop--resizing .tox-toolbar__group { flex-wrap: nowrap; } +.tox .tox-pop--transition { transition: 0.15s ease; transition-property: left, right, top, bottom; } + +.tox .tox-pop--transition::after, +.tox .tox-pop--transition::before { transition: all 0.15s, visibility 0s, opacity 75ms ease 75ms; } +.tox .tox-pop__dialog { background-color: #fff; border: 1px solid #ccc; border-radius: 3px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); min-width: 0; overflow: hidden; } +.tox .tox-pop__dialog > :not(.tox-toolbar) { margin: 4px 4px 4px 8px; } +.tox .tox-pop__dialog .tox-toolbar { background-color: transparent; margin-bottom: -1px; } + +.tox .tox-pop::after, +.tox .tox-pop::before { border-style: solid; content: ""; display: block; height: 0; opacity: 1; position: absolute; width: 0; } + +.tox .tox-pop.tox-pop--inset::after, +.tox .tox-pop.tox-pop--inset::before { opacity: 0; transition: all 0s 0.15s, visibility 0s, opacity 75ms ease; } + +.tox .tox-pop.tox-pop--bottom::after, +.tox .tox-pop.tox-pop--bottom::before { left: 50%; top: 100%; } +.tox .tox-pop.tox-pop--bottom::after { border-color: #fff transparent transparent; border-width: 8px; margin-left: -8px; margin-top: -1px; } +.tox .tox-pop.tox-pop--bottom::before { border-color: #ccc transparent transparent; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--top::after, +.tox .tox-pop.tox-pop--top::before { left: 50%; top: 0; transform: translateY(-100%); } +.tox .tox-pop.tox-pop--top::after { border-color: transparent transparent #fff; border-width: 8px; margin-left: -8px; margin-top: 1px; } +.tox .tox-pop.tox-pop--top::before { border-color: transparent transparent #ccc; border-width: 9px; margin-left: -9px; } + +.tox .tox-pop.tox-pop--left::after, +.tox .tox-pop.tox-pop--left::before { left: 0; top: calc(50% - 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--left::after { border-color: transparent #fff transparent transparent; border-width: 8px; margin-left: -15px; } +.tox .tox-pop.tox-pop--left::before { border-color: transparent #ccc transparent transparent; border-width: 10px; margin-left: -19px; } + +.tox .tox-pop.tox-pop--right::after, +.tox .tox-pop.tox-pop--right::before { left: 100%; top: calc(50% + 1px); transform: translateY(-50%); } +.tox .tox-pop.tox-pop--right::after { border-color: transparent transparent transparent #fff; border-width: 8px; margin-left: -1px; } +.tox .tox-pop.tox-pop--right::before { border-color: transparent transparent transparent #ccc; border-width: 10px; margin-left: -1px; } + +.tox .tox-pop.tox-pop--align-left::after, +.tox .tox-pop.tox-pop--align-left::before { left: 20px; } + +.tox .tox-pop.tox-pop--align-right::after, +.tox .tox-pop.tox-pop--align-right::before { left: calc(100% - 20px); } +.tox .tox-sidebar-wrap { display: flex; flex-direction: row; flex-grow: 1; min-height: 0; } +.tox .tox-sidebar { background-color: #fff; display: flex; flex-direction: row; justify-content: flex-end; } +.tox .tox-sidebar__slider { display: flex; overflow: hidden; } +.tox .tox-sidebar__pane-container { display: flex; } +.tox .tox-sidebar__pane { display: flex; } +.tox .tox-sidebar--sliding-closed { opacity: 0; } +.tox .tox-sidebar--sliding-open { opacity: 1; } + +.tox .tox-sidebar--sliding-growing, +.tox .tox-sidebar--sliding-shrinking { transition: width 0.5s ease, opacity 0.5s ease; } +.tox .tox-selector { background-color: #4099ff; border-color: #4099ff; border-style: solid; border-width: 1px; box-sizing: border-box; display: inline-block; height: 10px; position: absolute; width: 10px; } +.tox.tox-platform-touch .tox-selector { height: 12px; width: 12px; } +.tox .tox-slider { align-items: center; display: flex; flex: 1; height: 24px; justify-content: center; position: relative; } +.tox .tox-slider__rail { background-color: transparent; border: 1px solid #ccc; border-radius: 3px; height: 10px; min-width: 120px; width: 100%; } +.tox .tox-slider__handle { background-color: #207ab7; border: 2px solid #185d8c; border-radius: 3px; box-shadow: none; height: 24px; left: 50%; position: absolute; top: 50%; transform: translateX(-50%) translateY(-50%); width: 14px; } +.tox .tox-form__controls-h-stack > .tox-slider:not(:first-of-type) { margin-inline-start: 8px; } +.tox .tox-form__controls-h-stack > .tox-form__group + .tox-slider { margin-inline-start: 32px; } +.tox .tox-form__controls-h-stack > .tox-slider + .tox-form__group { margin-inline-start: 32px; } +.tox .tox-source-code { overflow: auto; } +.tox .tox-spinner { display: flex; } +.tox .tox-spinner > div { animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; background-color: rgb(34 47 62 / 70%); border-radius: 100%; height: 8px; width: 8px; } +.tox .tox-spinner > div:nth-child(1) { animation-delay: -0.32s; } +.tox .tox-spinner > div:nth-child(2) { animation-delay: -0.16s; } + +@keyframes tam-bouncing-dots { + 0%, +100%, +80% { transform: scale(0); } + 40% { transform: scale(1); } +} +.tox:not([dir="rtl"]) .tox-spinner > div:not(:first-child) { margin-left: 4px; } +.tox[dir="rtl"] .tox-spinner > div:not(:first-child) { margin-right: 4px; } +.tox .tox-statusbar { align-items: center; background-color: #fff; border-top: 1px solid #ccc; color: rgb(34 47 62 / 70%); display: flex; flex: 0 0 auto; font-size: 12px; font-weight: 400; height: 18px; overflow: hidden; padding: 0 8px; position: relative; text-transform: uppercase; } +.tox .tox-statusbar__text-container { display: flex; flex: 1 1 auto; justify-content: flex-end; overflow: hidden; } +.tox .tox-statusbar__path { display: flex; flex: 1 1 auto; margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.tox .tox-statusbar__path > * { display: inline; white-space: nowrap; } +.tox .tox-statusbar__wordcount { flex: 0 0 auto; margin-left: 1ch; } + +.tox .tox-statusbar a, +.tox .tox-statusbar__path-item, +.tox .tox-statusbar__wordcount { color: rgb(34 47 62 / 70%); text-decoration: none; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: #222f3e; cursor: pointer; } +.tox .tox-statusbar__branding svg { fill: rgb(34 47 62 / 80%); height: 1.14em; vertical-align: -0.28em; width: 3.6em; } + +.tox .tox-statusbar__branding a:focus:not(:disabled, [aria-disabled="true"]) svg, +.tox .tox-statusbar__branding a:hover:not(:disabled, [aria-disabled="true"]) svg { fill: #222f3e; } +.tox .tox-statusbar__resize-handle { align-items: flex-end; align-self: stretch; cursor: nwse-resize; display: flex; flex: 0 0 auto; justify-content: flex-end; margin-left: auto; margin-right: -8px; padding-bottom: 3px; padding-left: 1ch; padding-right: 3px; } +.tox .tox-statusbar__resize-handle svg { display: block; fill: rgb(34 47 62 / 50%); } +.tox .tox-statusbar__resize-handle:focus svg { background-color: #dee0e2; border-radius: 1px 1px -4px; box-shadow: 0 0 0 2px #dee0e2; } +.tox:not([dir="rtl"]) .tox-statusbar__path > * { margin-right: 4px; } +.tox:not([dir="rtl"]) .tox-statusbar__branding { margin-left: 2ch; } +.tox[dir="rtl"] .tox-statusbar { flex-direction: row-reverse; } +.tox[dir="rtl"] .tox-statusbar__path > * { margin-left: 4px; } +.tox .tox-throbber { z-index: 1299; } +.tox .tox-throbber__busy-spinner { align-items: center; background-color: rgb(255 255 255 / 60%); inset: 0; display: flex; justify-content: center; position: absolute; } +.tox .tox-tbtn { align-items: center; background: 0 0; border: 0; border-radius: 3px; box-shadow: none; color: #222f3e; display: flex; flex: 0 0 auto; font-size: 14px; font-style: normal; font-weight: 400; height: 34px; justify-content: center; margin: 3px 0 2px; outline: 0; overflow: hidden; padding: 0; text-transform: none; width: 34px; } +.tox .tox-tbtn svg { display: block; fill: #222f3e; } +.tox .tox-tbtn.tox-tbtn-more { padding-left: 5px; padding-right: 5px; width: inherit; } +.tox .tox-tbtn:focus { background: #dee0e2; border: 0; box-shadow: none; } +.tox .tox-tbtn:hover { background: #dee0e2; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-tbtn:hover svg { fill: #222f3e; } +.tox .tox-tbtn:active { background: #c8cbcf; border: 0; box-shadow: none; color: #222f3e; } +.tox .tox-tbtn:active svg { fill: #222f3e; } + +.tox .tox-tbtn--disabled, +.tox .tox-tbtn--disabled:hover, +.tox .tox-tbtn:disabled, +.tox .tox-tbtn:disabled:hover { background: 0 0; border: 0; box-shadow: none; color: rgb(34 47 62 / 50%); cursor: not-allowed; } + +.tox .tox-tbtn--disabled svg, +.tox .tox-tbtn--disabled:hover svg, +.tox .tox-tbtn:disabled svg, +.tox .tox-tbtn:disabled:hover svg { fill: rgb(34 47 62 / 50%); } + +.tox .tox-tbtn--enabled, +.tox .tox-tbtn--enabled:hover { background: #c8cbcf; border: 0; box-shadow: none; color: #222f3e; } + +.tox .tox-tbtn--enabled:hover > *, +.tox .tox-tbtn--enabled > * { transform: none; } + +.tox .tox-tbtn--enabled svg, +.tox .tox-tbtn--enabled:hover svg { fill: #222f3e; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { color: #222f3e; } +.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { fill: #222f3e; } +.tox .tox-tbtn:active > * { transform: none; } +.tox .tox-tbtn--md { height: 51px; width: 51px; } +.tox .tox-tbtn--lg { flex-direction: column; height: 68px; width: 68px; } +.tox .tox-tbtn--return { align-self: stretch; height: unset; width: 16px; } +.tox .tox-tbtn--labeled { padding: 0 4px; width: unset; } +.tox .tox-tbtn__vlabel { display: block; font-size: 10px; font-weight: 400; letter-spacing: -0.025em; margin-bottom: 4px; white-space: nowrap; } +.tox .tox-tbtn--select { margin: 3px 0 2px; padding: 0 4px; width: auto; } +.tox .tox-tbtn__select-label { cursor: default; font-weight: 400; margin: 0 4px; } +.tox .tox-tbtn__select-chevron { align-items: center; display: flex; justify-content: center; width: 16px; } +.tox .tox-tbtn__select-chevron svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-tbtn--bespoke { background: 0 0; } +.tox .tox-tbtn--bespoke + .tox-tbtn--bespoke { margin-inline-start: 0; } +.tox .tox-tbtn--bespoke .tox-tbtn__select-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 7em; } +.tox .tox-split-button { border: 0; border-radius: 3px; box-sizing: border-box; display: flex; margin: 3px 0 2px; overflow: hidden; } +.tox .tox-split-button:hover { box-shadow: 0 0 0 1px #dee0e2 inset; } +.tox .tox-split-button:focus { background: #dee0e2; box-shadow: none; color: #222f3e; } +.tox .tox-split-button > * { border-radius: 0; } +.tox .tox-split-button__chevron { width: 16px; } +.tox .tox-split-button__chevron svg { fill: rgb(34 47 62 / 50%); } +.tox .tox-split-button .tox-tbtn { margin: 0; } + +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus, +.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, +.tox .tox-split-button.tox-tbtn--disabled:focus, +.tox .tox-split-button.tox-tbtn--disabled:hover { background: 0 0; box-shadow: none; color: rgb(34 47 62 / 50%); } +.tox.tox-platform-touch .tox-split-button .tox-tbtn--select { padding: 0; } +.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child { width: 30px; } +.tox.tox-platform-touch .tox-split-button__chevron { width: 20px; } +.tox .tox-toolbar-overlord { background-color: #fff; } + +.tox .tox-toolbar, +.tox .tox-toolbar__overflow, +.tox .tox-toolbar__primary { background-color: #fff; background-image: repeating-linear-gradient(#ccc 0 1px, transparent 1px 39px); background-position: center top 39px; background-repeat: no-repeat; background-size: calc(100% - 4px * 2) calc(100% - 39px); display: flex; flex: 0 0 auto; flex-shrink: 0; flex-wrap: wrap; padding: 0; transform: perspective(1px); } + +.tox .tox-toolbar-overlord > .tox-toolbar, +.tox .tox-toolbar-overlord > .tox-toolbar__overflow, +.tox .tox-toolbar-overlord > .tox-toolbar__primary { background-position: center top 0; background-size: calc(100% - 4px * 2) calc(100% - 0px); } +.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { height: 0; opacity: 0; padding-bottom: 0; padding-top: 0; visibility: hidden; } +.tox .tox-toolbar__overflow--growing { transition: height 0.3s ease, opacity 0.2s linear 0.1s; } +.tox .tox-toolbar__overflow--shrinking { transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; } + +.tox .tox-anchorbar, +.tox .tox-toolbar-overlord { grid-column: 1/-1; } + +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord { border-top: 1px solid #ccc; margin-top: -1px; padding-bottom: 0; padding-top: 0; } +.tox .tox-toolbar--scrolling { flex-wrap: nowrap; overflow-x: auto; } +.tox .tox-pop .tox-toolbar { border-width: 0; } +.tox .tox-toolbar--no-divider { background-image: none; } + +.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child, +.tox .tox-toolbar-overlord .tox-toolbar__primary { background-position: center top 39px; } + +.tox .tox-editor-header > .tox-toolbar--scrolling, +.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child { background-image: none; } +.tox.tox-tinymce-aux .tox-toolbar__overflow { background-color: #fff; background-position: center top 43px; background-size: calc(100% - 8px * 2) calc(100% - 51px); border: none; border-radius: 3px; box-shadow: 0 0 2px 0 rgb(34 47 62 / 20%), 0 4px 8px 0 rgb(34 47 62 / 15%); padding: 4px 0; } +.tox-pop .tox-pop__dialog .tox-toolbar { background-position: center top 43px; background-size: calc(100% - 4px * 2) calc(100% - 51px); padding: 4px 0; } +.tox .tox-toolbar__group { align-items: center; display: flex; flex-wrap: wrap; margin: 0; padding: 0 4px; } +.tox .tox-toolbar__group--pull-right { margin-left: auto; } +.tox .tox-toolbar--scrolling .tox-toolbar__group { flex-shrink: 0; flex-wrap: nowrap; } +.tox:not([dir="rtl"]) .tox-toolbar__group:not(:last-of-type) { border-right: 1px solid #ccc; } +.tox[dir="rtl"] .tox-toolbar__group:not(:last-of-type) { border-left: 1px solid #ccc; } +.tox .tox-tooltip { display: inline-block; padding: 8px; position: relative; } +.tox .tox-tooltip__body { background-color: #222f3e; border-radius: 3px; box-shadow: 0 2px 4px rgb(34 47 62 / 30%); color: rgb(255 255 255 / 75%); font-size: 14px; font-style: normal; font-weight: 400; padding: 4px 8px; text-transform: none; } +.tox .tox-tooltip__arrow { position: absolute; } +.tox .tox-tooltip--down .tox-tooltip__arrow { border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid #222f3e; bottom: 0; left: 50%; position: absolute; transform: translateX(-50%); } +.tox .tox-tooltip--up .tox-tooltip__arrow { border-bottom: 8px solid #222f3e; border-left: 8px solid transparent; border-right: 8px solid transparent; left: 50%; position: absolute; top: 0; transform: translateX(-50%); } +.tox .tox-tooltip--right .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-left: 8px solid #222f3e; border-top: 8px solid transparent; position: absolute; right: 0; top: 50%; transform: translateY(-50%); } +.tox .tox-tooltip--left .tox-tooltip__arrow { border-bottom: 8px solid transparent; border-right: 8px solid #222f3e; border-top: 8px solid transparent; left: 0; position: absolute; top: 50%; transform: translateY(-50%); } +.tox .tox-well { border: 1px solid #ccc; border-radius: 3px; padding: 8px; width: 100%; } +.tox .tox-well > :first-child { margin-top: 0; } +.tox .tox-well > :last-child { margin-bottom: 0; } +.tox .tox-well > :only-child { margin: 0; } +.tox .tox-custom-editor { border: 1px solid #ccc; border-radius: 3px; display: flex; flex: 1; position: relative; } +.tox .tox-dialog-loading::before { background-color: rgb(0 0 0 / 50%); content: ""; height: 100%; position: absolute; width: 100%; z-index: 1000; } +.tox .tox-tab { cursor: pointer; } +.tox .tox-dialog__content-js { display: flex; flex: 1; } +.tox .tox-dialog__body-content .tox-collection { display: flex; flex: 1; } +.tox:not(.tox-tinymce-inline) .tox-editor-header { background-color: none; padding: 0; } + +.tox.tox-tinymce--toolbar-bottom .tox-editor-header, +.tox.tox-tinymce-inline .tox-editor-header { margin-bottom: -1px; } +.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header { border-top: none; box-shadow: none; } +.tox.tox.tox-tinymce--toolbar-sticky-on .tox-editor-header { background-color: transparent; box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); padding: 0; } +.tox.tox.tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header { box-shadow: 0 4px 4px -3px rgb(0 0 0 / 25%); } +.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { margin: -4px 0; } +.tox .tox-menu.tox-collection.tox-collection--list { padding: 0; } +.tox .tox-pop { box-shadow: none; } + +.tox .tox-split-button, +.tox .tox-tbtn, +.tox .tox-tbtn--select { margin: 2px 0 3px; } + +.tox .tox-toolbar, +.tox .tox-toolbar__overflow, +.tox .tox-toolbar__primary { background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff !important; } +.tox .tox-menubar + .tox-toolbar-overlord { border-top: none; } + +.tox .tox-menubar + .tox-toolbar, +.tox .tox-menubar + .tox-toolbar-overlord .tox-toolbar__primary { border-top: 1px solid #ccc; margin-top: -1px; } +.tox.tox-tinymce-aux .tox-toolbar__overflow { border: 1px solid #ccc; padding: 0; } +.tox .tox-pop .tox-pop__dialog .tox-toolbar { padding: 0; } +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-menubar { border-top: 1px solid #ccc; } + +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar-overlord:first-child .tox-toolbar__primary, +.tox:not(.tox-tinymce-inline) .tox-editor-header:not(:first-child) .tox-toolbar:first-child { border-top: 1px solid #ccc; } +.tox .tox-toolbar__group { padding: 0 4px; } +.tox .tox-collection__item { border-radius: 0; cursor: pointer; } + +.tox .tox-statusbar a:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar a:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__path-item:hover:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:focus:not(:disabled, [aria-disabled="true"]), +.tox .tox-statusbar__wordcount:hover:not(:disabled, [aria-disabled="true"]) { color: rgb(34 47 62 / 70%); text-decoration: underline; } +.tox .tox-statusbar__branding svg { vertical-align: -0.25em; } +.tox:not([dir="rtl"]) .tox-statusbar__branding { margin-left: 1ch; } +.tox .tox-statusbar__resize-handle { padding-bottom: 0; padding-right: 0; } +.tox .tox-button::before { display: none; } diff --git a/tinymce/skins/ui/tinymce-5/skin.min.css.br b/tinymce/skins/ui/tinymce-5/skin.min.css.br new file mode 100644 index 000000000..63c98990f Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/skin.min.css.gz b/tinymce/skins/ui/tinymce-5/skin.min.css.gz new file mode 100644 index 000000000..7739ce452 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.min.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.css b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css new file mode 100755 index 000000000..3b0ea5195 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css @@ -0,0 +1,35 @@ +body.tox-dialog__disable-scroll { + overflow: hidden; +} + +.tox-fullscreen { + border: 0; + height: 100%; + margin: 0; + overflow: hidden; + overscroll-behavior: none; + padding: 0; + touch-action: pinch-zoom; + width: 100%; +} + +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { + display: none; +} + +.tox.tox-tinymce.tox-fullscreen, +.tox-shadowhost.tox-fullscreen { + left: 0; + position: fixed; + top: 0; + z-index: 1200; +} + +.tox.tox-tinymce.tox-fullscreen { + background-color: transparent; +} + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { + z-index: 1201; +} diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.css.br b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css.br new file mode 100644 index 000000000..671b5c9a5 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.css.gz b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css.gz new file mode 100644 index 000000000..36717f9f5 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.shadowdom.css.gz differ diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css new file mode 100755 index 000000000..ea9d2a1a1 --- /dev/null +++ b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css @@ -0,0 +1,10 @@ +body.tox-dialog__disable-scroll { overflow: hidden; } +.tox-fullscreen { border: 0; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; padding: 0; touch-action: pinch-zoom; width: 100%; } +.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { display: none; } + +.tox-shadowhost.tox-fullscreen, +.tox.tox-tinymce.tox-fullscreen { left: 0; position: fixed; top: 0; z-index: 1200; } +.tox.tox-tinymce.tox-fullscreen { background-color: transparent; } + +.tox-fullscreen .tox.tox-tinymce-aux, +.tox-fullscreen ~ .tox.tox-tinymce-aux { z-index: 1201; } diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.br b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.br new file mode 100644 index 000000000..276ce6921 Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.br differ diff --git a/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.gz b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.gz new file mode 100644 index 000000000..b368565de Binary files /dev/null and b/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css.gz differ
    ${yo}
    ${formatText(yo,!0)}
    ${Co}
    ${formatText(Co,!0)}
    ${Io}
    ${_o._radioLabel}
    ${Io}
    ${_o._checkboxLabel}
    ${Io}
    ${yo}
    ${_o._radioLabel}
    ${_o._checkboxLabel}
    ${formatText(yo,!0)}
    ${_o._radioLabel}
    ${_o._checkboxLabel}
    ${formatText(yo,!0)}
    ${formatText(xo,!0)}