golden-logic-ui 1.0.171 → 1.0.172

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42669,7 +42669,7 @@ const YJ = { class: "font-bold ptext-lg dark:text-white" }, XJ = ["id"], JJ = /*
42669
42669
  });
42670
42670
  }
42671
42671
  });
42672
- console.log("tinymce init ", we), console.log("tinymce field_name ", "#" + pe.field_name);
42672
+ console.log("tinymce init ", we.getContent()), console.log("tinymce field_name ", "#" + pe.field_name);
42673
42673
  };
42674
42674
  Bd(() => {
42675
42675
  Te(), console.log("tinymce ", pe.modelValue), KG.init({
@@ -81,6 +81,6 @@ The conflicting element is`+(pn(S.element)?" ":" not ")+"already in the DOM")},d
81
81
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10.143 0c2.608.015 5.186 2.178 5.186 5.331 0 0 .077 3.812-.084 4.87-.361 2.41-2.164 4.074-4.65 4.496-1.453.284-2.523.49-3.212.623-.373.071-.634.122-.785.152-.184.038-.997.145-1.35.145-2.732 0-5.21-2.04-5.248-5.33 0 0 0-3.514.03-4.442.093-2.4 1.758-4.342 4.926-4.963 0 0 3.875-.752 4.036-.782.368-.07.775-.1 1.15-.1Zm1.826 2.8L5.83 3.989v2.393l-2.455.475v5.968l6.137-1.189V9.243l2.456-.476V2.8ZM5.83 6.382l3.682-.713v3.574l-3.682.713V6.382Zm27.173-1.64-.084-1.066h-2.226v9.132h2.456V7.743c-.008-1.151.998-2.064 2.149-2.072 1.15-.008 1.987.92 1.995 2.072v5.065h2.455V7.359c-.015-2.18-1.657-3.929-3.837-3.913a3.993 3.993 0 0 0-2.908 1.296Zm-6.3-4.266L29.16 0v2.387l-2.456.475V.476Zm0 3.2v9.132h2.456V3.676h-2.456Zm18.179 11.787L49.11 3.676H46.58l-1.612 4.527-.46 1.382-.384-1.382-1.611-4.527H39.98l3.3 9.132L42.15 16l2.732-.537ZM22.867 9.738c0 .752.568 1.075.921 1.075.353 0 .668-.047.998-.154l.537 1.765c-.23.154-.92.537-2.225.537-1.305 0-2.655-.997-2.686-2.686a136.877 136.877 0 0 1 0-4.374H18.8V3.676h1.612v-1.98l2.455-.476v2.456h2.302V5.9h-2.302v3.837Z"/>
82
82
  </svg>
83
83
  `;const zv=t=>t.nodeName==="BR"||!!t.getAttribute("data-mce-bogus")||t.getAttribute("data-mce-type")==="bookmark",jZ=(t,s,a)=>{var i;const d=(i=s.delimiter)!==null&&i!==void 0?i:"›",m=(x,C,S)=>bs.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{"data-index":S,"aria-level":S+1}},components:[Oo(x)],action:A=>{t.focus(),t.selection.select(C),t.nodeChanged()},buttonBehaviours:Re([qo.button(a.isDisabled),Jo()])}),g=()=>({dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0}},components:[Oo(` ${d} `)]}),b=x=>Lo(x,(C,S,A)=>{const O=m(S.name,S.element,A);return A===0?C.concat([O]):C.concat([g(),O])},[]),y=x=>{const C=[];let S=x.length;for(;S-- >0;){const A=x[S];if(A.nodeType===1&&!zv(A)){const O=$5(t,A);if(O.isDefaultPrevented()||C.push({name:O.name,element:A}),O.isPropagationStopped())break}}return C};return{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"navigation"}},behaviours:Re([mt.config({mode:"flow",selector:"div[role=button]"}),vt.config({disabled:a.isDisabled}),Jo(),oo.config({}),Pt.config({}),It("elementPathEvents",[Yn((x,C)=>{t.shortcuts.add("alt+F11","focus statusbar elementpath",()=>mt.focusIn(x)),t.on("NodeChange",S=>{const A=y(S.parents),O=A.length>0?b(A):[];Pt.set(x,O)})})])]),components:[]}};var hu;(function(t){t[t.None=0]="None",t[t.Both=1]="Both",t[t.Vertical=2]="Vertical"})(hu||(hu={}));const GZ=(t,s,a,i,d)=>{const m={height:Tv(i+s.top,eg(t),nC(t))};return a===hu.Both&&(m.width=Tv(d+s.left,tC(t),Tb(t))),m},r$=(t,s,a)=>{const i=ze.fromDom(t.getContainer()),d=GZ(t,s,a,os(i),vr(i));zo(d,(m,g)=>{Es(m)&&dt(i,g,Ev(m))}),B5(t)},qZ=t=>{const s=vA(t);return s===!1?hu.None:s==="both"?hu.Both:hu.Vertical},mc=(t,s,a,i)=>{const m=_o(a*20,i*20);return r$(t,m,s),w.some(!0)},a$=(t,s)=>{const a=qZ(t);if(a===hu.None)return w.none();const i=a===hu.Both?"Press the arrow keys to resize the editor.":"Press the Up and Down arrow keys to resize the editor.";return w.some(El("resize-handle",{tag:"div",classes:["tox-statusbar__resize-handle"],attributes:{title:s.translate("Resize"),"aria-label":s.translate(i)},behaviours:[Hm.config({mode:"mouse",repositionTarget:!1,onDrag:(d,m,g)=>r$(t,g,a),blockerClass:"tox-blocker"}),mt.config({mode:"special",onLeft:()=>mc(t,a,-1,0),onRight:()=>mc(t,a,1,0),onUp:()=>mc(t,a,0,-1),onDown:()=>mc(t,a,0,1)}),oo.config({}),wt.config({})]},s.icons))},KZ=(t,s)=>{const a=(i,d,m)=>Pt.set(i,[Oo(s.translate(["{0} "+m,d[m]]))]);return bs.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:Re([qo.button(s.isDisabled),Jo(),oo.config({}),Pt.config({}),We.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),It("wordcount-events",[Uc(i=>{const d=We.getValue(i),m=d.mode==="words"?"characters":"words";We.setValue(i,{mode:m,count:d.count}),a(i,d.count,m)}),Yn(i=>{t.on("wordCountUpdate",d=>{const{mode:m}=We.getValue(i);We.setValue(i,{mode:m,count:d.wordCount}),a(i,d.wordCount,m)})})])]),eventOrder:{[wa()]:["disabling","alloy.base.behaviour","wordcount-events"]}})},YZ=(t,s)=>{const a=()=>({dom:{tag:"span",classes:["tox-statusbar__branding"]},components:[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/powered-by-tiny?utm_campaign=poweredby&utm_source=tiny&utm_medium=referral&utm_content=v6",rel:"noopener",target:"_blank","aria-label":Oa.translate(["Powered by {0}","Tiny"])},innerHtml:JS.trim()},behaviours:Re([wt.config({})])}]}),i=()=>{const b=Xb("Alt+0");return{dom:{tag:"div",classes:["tox-statusbar__help-text"]},components:[Oo(Oa.translate(["Press {0} for help",b]))]}},d=()=>{const b=[];return t.hasPlugin("wordcount")&&b.push(KZ(t,s)),cC(t)&&b.push(a()),{dom:{tag:"div",classes:["tox-statusbar__right-container"]},components:b}},m=()=>{const b=[],y=Mb(t),x=ng(t),C=cC(t)||t.hasPlugin("wordcount"),S=()=>{const A="tox-statusbar__text-container--flex-start",O="tox-statusbar__text-container--flex-end",$="tox-statusbar__text-container--space-around";if(y){const z="tox-statusbar__text-container-3-cols";return!C&&!x?[z,$]:C&&!x?[z,O]:[z,A]}return[C&&!x?O:A]};return x&&b.push(jZ(t,{},s)),y&&b.push(i()),C&&b.push(d()),b.length>0?[{dom:{tag:"div",classes:["tox-statusbar__text-container",...S()]},components:b}]:[]};return{dom:{tag:"div",classes:["tox-statusbar"]},components:(()=>{const b=m(),y=a$(t,s);return b.concat(y.toArray())})()}},l$=(t,s)=>s.get().getOrDie(`UI for ${t} has not been rendered`),XZ=(t,s)=>{const a=t.inline,i=a?wU:mM,d=wp(t)?XO:f1,m=CU(),g=Jn(),b=Jn(),y=Jn(),A=Pi().deviceType.isTouch()?["tox-platform-touch"]:[],O=mC(t),$=tg(t),z=Sn({dom:{tag:"div",classes:["tox-anchorbar"]}}),ne=Sn({dom:{tag:"div",classes:["tox-bottom-anchorbar"]}}),G=()=>m.mainUi.get().map(pt=>pt.outerContainer).bind(Ln.getHeader),W=()=>Zt.fromOption(m.dialogUi.get().map(pt=>pt.sink),"UI has not been rendered"),ee=()=>Zt.fromOption(m.popupUi.get().map(pt=>pt.sink),"(popup) UI has not been rendered"),Ae=m.lazyGetInOuterOrDie("anchor bar",z.getOpt),ye=m.lazyGetInOuterOrDie("bottom anchor bar",ne.getOpt),he=m.lazyGetInOuterOrDie("toolbar",Ln.getToolbar),Be=m.lazyGetInOuterOrDie("throbber",Ln.getThrobber),Le=Og({popup:ee,dialog:W},t,Ae,ye),Ft=()=>{const pt={attributes:{[B0]:O?qc.BottomToTop:qc.TopToBottom}},Rt=Ln.parts.menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:Le.popup,onEscape:()=>{t.focus()}}),Pn=Ln.parts.toolbar({dom:{tag:"div",classes:["tox-toolbar"]},getSink:Le.popup.shared.getSink,providers:Le.popup.shared.providers,onEscape:()=>{t.focus()},onToolbarToggled:R1=>{EV(t,R1)},type:$,lazyToolbar:he,lazyHeader:()=>G().getOrDie("Could not find header element"),...pt}),cn=Ln.parts["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},providers:Le.popup.shared.providers,onEscape:()=>{t.focus()},type:$}),Ss=xp(t),zr=Rb(t),nl=og(t),Ll=xA(t),wu=Ye(),Gm=Ss||zr||nl,ki=()=>Ss?[cn]:zr?[Pn]:[],yd=Ll?[wu,Rt]:[Rt];return Ln.parts.header({dom:{tag:"div",classes:["tox-editor-header"].concat(Gm?[]:["tox-editor-header--empty"]),...pt},components:bt([nl?yd:[],ki(),sg(t)?[]:[z.asSpec()]]),sticky:wp(t),editor:t,sharedBackstage:Le.popup.shared})},Ye=()=>Ln.parts.promotion({dom:{tag:"div",classes:["tox-promotion"]}}),Tt=()=>{const pt=Ln.parts.socket({dom:{tag:"div",classes:["tox-edit-area"]}}),Rt=Ln.parts.sidebar({dom:{tag:"div",classes:["tox-sidebar"]}});return{dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[pt,Rt]}},Ct=()=>{const pt=fC(t),Rt=Rn(Do(),pt)&&go(pt,"display")==="grid",Pn={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(A),attributes:{...Oa.isRtl()?{dir:"rtl"}:{}}},behaviours:Re([er.config({useFixed:()=>d.isDocked(G)})])},cn={dom:{styles:{width:document.body.clientWidth+"px"}},events:no([we(ph(),nl=>{dt(nl.element,"width",document.body.clientWidth+"px")})])},Ss=Js(to(Pn,Rt?cn:{})),zr=fy(Ss);return b.set(zr),{sink:Ss,mothership:zr}},kn=()=>{const pt={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-silver-popup-sink","tox-tinymce-aux"].concat(A),attributes:{...Oa.isRtl()?{dir:"rtl"}:{}}},behaviours:Re([er.config({useFixed:()=>d.isDocked(G),getBounds:()=>s.getPopupSinkBounds()})])},Rt=Js(pt),Pn=fy(Rt);return y.set(Pn),{sink:Rt,mothership:Pn}},ht=()=>{const pt=Ft(),Rt=Tt(),Pn=Ln.parts.throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:Le.popup}),cn=Ln.parts.viewWrapper({backstage:Le.popup}),Ss=yA(t)&&!a?w.some(YZ(t,Le.popup.shared.providers)):w.none(),zr=bt([O?[]:[pt],a?[]:[Rt],O?[pt]:[]]),nl=Ln.parts.editorContainer({components:bt([zr,a?[]:[ne.asSpec(),...Ss.toArray()]])}),Ll=gC(t),wu={role:"application",...Oa.isRtl()?{dir:"rtl"}:{},...Ll?{"aria-hidden":"true"}:{}},Gm=Js(Ln.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(a?["tox-tinymce-inline"]:[]).concat(O?["tox-tinymce--toolbar-bottom"]:[]).concat(A),styles:{visibility:"hidden",...Ll?{opacity:"0",border:"0"}:{}},attributes:wu},components:[nl,...a?[]:[cn],Pn],behaviours:Re([Jo(),vt.config({disableClass:"tox-tinymce--disabled"}),mt.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle"})])})),ki=fy(Gm);return g.set(ki),{mothership:ki,outerContainer:Gm}},nn=pt=>{const Rt=Ev(hU(t)),Pn=Ev(pU(t));return t.inline||(L1("div","width",Pn)&&dt(pt.element,"width",Pn),L1("div","height",Rt)?dt(pt.element,"height",Rt):dt(pt.element,"height","400px")),Rt},He=pt=>{t.addShortcut("alt+F9","focus menubar",()=>{Ln.focusMenubar(pt)}),t.addShortcut("alt+F10","focus toolbar",()=>{Ln.focusToolbar(pt)}),t.addCommand("ToggleToolbarDrawer",(Rt,Pn)=>{Pn!=null&&Pn.skipFocus?Ln.toggleToolbarDrawerWithoutFocusing(pt):Ln.toggleToolbarDrawer(pt)}),t.addQueryStateHandler("ToggleToolbarDrawer",()=>Ln.isToolbarDrawerToggled(pt))},st=pt=>{const{mainUi:Rt,popupUi:Pn,uiMotherships:cn}=pt;ro(fA(t),(Wg,Qv)=>{t.ui.registry.addGroupToolbarButton(Qv,Wg)});const{buttons:Ss,menuItems:zr,contextToolbars:nl,sidebars:Ll,views:wu}=t.ui.registry.getAll(),Gm=uC(t),ki={menuItems:zr,menus:kA(t),menubar:sC(t),toolbar:Gm.getOrThunk(()=>Nb(t)),allowToolbarGroups:$===aa.floating,buttons:Ss,sidebar:Ll,views:wu};He(Rt.outerContainer),$O(t,Rt.mothership,cn),d.setup(t,Le.popup.shared,G),PM(t,Le.popup),gZ(t,Le.popup.shared.getSink,Le.popup),nB(t),V9(t,Be,Le.popup.shared),AM(t,nl,Pn.sink,{backstage:Le.popup}),WZ(t,Pn.sink);const yd=t.getElement(),R1=nn(Rt.outerContainer),dE={targetNode:yd,height:R1};return i.render(t,pt,ki,Le.popup,dE)},At=pt=>(y.set(pt.mothership),pt),Ot=()=>{const pt=ht(),Rt=Ct(),Pn=Ji(t)?kn():At(Rt);m.dialogUi.set(Rt),m.popupUi.set(Pn),m.mainUi.set(pt);const cn={popupUi:Pn,dialogUi:Rt,mainUi:pt,uiMotherships:m.getUiMotherships()};return st(cn)};return{popups:{backstage:Le.popup,getMothership:()=>l$("popups",y)},dialogs:{backstage:Le.dialog,getMothership:()=>l$("dialogs",b)},renderUI:Ot}},JZ=(t,s)=>{const a=E(t,"id").fold(()=>{const i=et("dialog-label");return je(s,"id",i),i},qt);je(t,"aria-labelledby",a)},QZ=X([_e("lazySink"),Tn("dragBlockClass"),_s("getBounds",rr),oe("useTabstopAt",xe),oe("firstTabstop",0),oe("eventOrder",{}),is("modalBehaviours",[mt]),Qr("onExecute"),J2("onEscape")]),QS={sketch:qt},eW=X([Na({name:"draghandle",overrides:(t,s)=>({behaviours:Re([Hm.config({mode:"mouse",getTarget:a=>_a(a,'[role="dialog"]').getOr(a),blockerClass:t.dragBlockClass.getOrDie(new Error(`The drag blocker class was not specified for a dialog with a drag handle:
84
- `+JSON.stringify(s,null,2)).message),getBounds:t.getDragBounds})])})}),tr({schema:[_e("dom")],name:"title"}),tr({factory:QS,schema:[_e("dom")],name:"close"}),tr({factory:QS,schema:[_e("dom")],name:"body"}),Na({factory:QS,schema:[_e("dom")],name:"footer"}),Cl({factory:{sketch:(t,s)=>({...t,dom:s.dom,components:s.components})},schema:[oe("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),oe("components",[])],name:"blocker"})]),eE=(t,s,a,i)=>{const d=Jn(),m=O=>{d.set(O);const $=t.lazySink(O).getOrDie(),z=i.blocker(),ne=$.getSystem().build({...z,components:z.components.concat([Za(O)]),behaviours:Re([wt.config({}),It("dialog-blocker-events",[zc(Fc(),()=>{Pl.isBlocked(O)?le():mt.focusIn(O)})])])});Wd($,ne),mt.focusIn(O)},g=O=>{d.clear(),yr(O.element).each($=>{O.getSystem().getByDom($).each(z=>{Xc(z)})})},b=O=>td(O,t,"body"),y=O=>Gn(O,t,"footer"),x=(O,$)=>{Pl.block(O,$)},C=O=>{Pl.unblock(O)},S=et("modal-events"),A={...t.eventOrder,[oi()]:[S].concat(t.eventOrder["alloy.system.attached"]||[])};return{uid:t.uid,dom:t.dom,components:s,apis:{show:m,hide:g,getBody:b,getFooter:y,setIdle:C,setBusy:x},eventOrder:A,domModification:{attributes:{role:"dialog","aria-modal":"true"}},behaviours:ps(t.modalBehaviours,[Pt.config({}),mt.config({mode:"cyclic",onEnter:t.onExecute,onEscape:t.onEscape,useTabstopAt:t.useTabstopAt,firstTabstop:t.firstTabstop}),Pl.config({getRoot:d.get}),It(S,[Yn(O=>{JZ(O.element,td(O,t,"title").element)})])])}},Bo=nr({name:"ModalDialog",configFields:QZ(),partFields:eW(),factory:eE,apis:{show:(t,s)=>{t.show(s)},hide:(t,s)=>{t.hide(s)},getBody:(t,s)=>t.getBody(s),getFooter:(t,s)=>t.getFooter(s),setBusy:(t,s,a)=>{t.setBusy(s,a)},setIdle:(t,s)=>{t.setIdle(s)}}}),tE=ft([Fo,DC].concat(_m)),Uv=Yl,bd=[Gb("button"),Ba,ya("align","end",["start","end"]),nc,ja,UE("buttonType",["primary","secondary"])],A1=[...bd,cd],nE=[Xl("type",["submit","cancel","custom"]),...A1],i$=[Xl("type",["menu"]),tc,Sp,Ba,pa("items",tE),...bd],c$=[...bd,Xl("type",["togglebutton"]),_n("tooltip"),Ba,tc,Cs("active",!1)],d$=wn("type",{submit:nE,cancel:nE,custom:nE,menu:i$,togglebutton:c$}),tW=[Fo,cd,Xl("level",["info","warn","error","success"]),OC,oe("url","")],nW=ft(tW),oW=t=>[Fo,t],u$=[Fo,cd,ja,Gb("button"),Ba,ZA,UE("buttonType",["primary","secondary","toolbar"]),nc],m$=ft(u$),pu=[Fo,DC],Ci=pu.concat([Wb]),sW=pu.concat([Zb,ja]),rW=ft(sW),f$=Yl,aW=Ci.concat([WA("auto")]),lW=ft(aW),iW=Lu([ig,cd,OC]),oE=Ci.concat([Rc("storageKey","default")]),sE=ft(oE),cW=Os,uW=ft(Ci),mW=Os,g$=pu.concat([Rc("tag","textarea"),_n("scriptId"),_n("scriptUrl"),J$("settings",void 0)]),fW=pu.concat([Rc("tag","textarea"),Jl("init")]),gW=lh(t=>po("customeditor.old",Kn(fW),t).orThunk(()=>po("customeditor.new",Kn(g$),t))),zm=Os,pW=ft(Ci),Zv=Y$(),Fg=t=>[Fo,dh("columns"),t],Wv=[Fo,_n("html"),ya("presets","presentation",["presentation","document"])],h$=ft(Wv),jv=Ci.concat([Cs("border",!1),Cs("sandboxed",!0),Cs("streamContent",!1),Cs("transparent",!0)]),Lr=ft(jv),Gv=Os,p$=ft(pu.concat([ar("height")])),b$=ft([_n("url"),uh("zoom"),uh("cachedWidth"),uh("cachedHeight")]),bW=Ci.concat([ar("inputMode"),ar("placeholder"),Cs("maximized",!1),ja]),yW=ft(bW),bu=Os,aG=t=>[Fo,Zb,t,ya("align","start",["start","center","end"])],vW=[cd,ig],y$=[cd,pa("items",ch("items",()=>Um))],Um=rt([ft(vW),ft(y$)]),qv=Ci.concat([pa("items",Um),ja]),v$=ft(qv),xW=Os,wW=Ci.concat([S2("items",[cd,ig]),Wu("size",1),ja]),CW=ft(wW),_W=Os,Lg=Ci.concat([Cs("constrain",!0),ja]),lG=ft(Lg),x$=ft([_n("width"),_n("height")]),kW=pu.concat([Zb,Wu("min",0),Wu("max",0)]),iG=ft(kW),SW=ah,EW=[Fo,pa("header",Os),pa("cells",Kl(Os))],N1=ft(EW),TW=Ci.concat([ar("placeholder"),Cs("maximized",!1),ja]),AW=ft(TW),w$=Os,C$=[Xl("type",["directory","leaf"]),HA,_n("id"),Ii("menu",nS)],e=ft(C$),n=C$.concat([pa("children",ch("children",()=>De("type",{directory:o,leaf:e})))]),o=ft(n),r=De("type",{directory:o,leaf:e}),l=[Fo,pa("items",r),zu("onLeafAction"),zu("onToggleExpand"),ei("defaultExpandedIds",[],Os),ar("defaultSelectedId")],c=ft(l),u=Ci.concat([ya("filetype","file",["image","media","file"]),ja,ar("picker_text")]),h=ft(u),p=ft([ig,Ep]),v=t=>Hs("items","items",An(),Kl(lh(s=>po(`Checking item of ${t}`,_,s).fold(a=>Zt.error(wr(a)),a=>Zt.value(a))))),_=Xs(()=>De("type",{alertbanner:nW,bar:ft(oW(v("bar"))),button:m$,checkbox:rW,colorinput:sE,colorpicker:uW,dropzone:pW,grid:ft(Fg(v("grid"))),iframe:Lr,input:yW,listbox:v$,selectbox:CW,sizeinput:lG,slider:iG,textarea:AW,urlinput:h,customeditor:gW,htmlpanel:h$,imagepreview:p$,collection:lW,label:ft(aG(v("label"))),table:N1,tree:c,panel:T})),k=[Fo,oe("classes",[]),pa("items",_)],T=ft(k),P=[Gb("tab"),HA,pa("items",_)],V=[Fo,S2("tabs",P)],M=ft(V),I=A1,j=d$,K=ft([_n("title"),ha("body",De("type",{panel:T,tabpanel:M})),Rc("size","normal"),ei("buttons",[],j),oe("initialData",{}),_s("onAction",le),_s("onChange",le),_s("onSubmit",le),_s("onClose",le),_s("onCancel",le),_s("onTabChange",le)]),q=t=>po("dialog",K,t),se=ft([Xl("type",["cancel","custom"]),...I]),ke=ft([_n("title"),_n("url"),uh("height"),uh("width"),Uu("buttons",se),_s("onAction",le),_s("onCancel",le),_s("onClose",le),_s("onMessage",le)]),Me=t=>po("dialog",ke,t),Ze=t=>ve(t)?[t].concat(pe(xd(t),Ze)):Ut(t)?pe(t,Ze):[],ge=t=>Y(t.type)&&Y(t.name),ie={checkbox:f$,colorinput:cW,colorpicker:mW,dropzone:Zv,input:bu,iframe:Gv,imagepreview:b$,selectbox:_W,sizeinput:x$,slider:SW,listbox:xW,size:x$,textarea:w$,urlinput:p,customeditor:zm,collection:iW,togglemenuitem:Uv},Ce=t=>w.from(ie[t.type]),Je=t=>hn(Ze(t),ge),ut=t=>{const s=Je(t),a=pe(s,i=>Ce(i).fold(()=>[],d=>[ha(i.name,d)]));return ft(a)},jt=t=>{var s;const a=Wn(q(t)),i=ut(t),d=(s=t.initialData)!==null&&s!==void 0?s:{};return{internalDialog:a,dataValidator:i,initialData:d}},Ht={open:(t,s)=>{const a=jt(s);return t(a.internalDialog,a.initialData,a.dataValidator)},openUrl:(t,s)=>{const a=Wn(Me(s));return t(a)},redial:t=>jt(t)};var Hn=Object.freeze({__proto__:null,events:(t,s)=>{const a=(i,d)=>{t.updateState.each(m=>{const g=m(i,d);s.set(g)}),t.renderComponents.each(m=>{const g=m(d,s.get());(t.reuseDom?kT:ur)(i,g)})};return no([we(Ku(),(i,d)=>{const m=d;if(!m.universal){const g=t.channel;fo(m.channels,g)&&a(i,m.data)}}),Yn((i,d)=>{t.initialData.each(m=>{a(i,m)})})])}}),Ps=Object.freeze({__proto__:null,getState:(t,s,a)=>a}),Nn=[_e("channel"),Tn("renderComponents"),Tn("updateState"),Tn("initialData"),Cs("reuseDom",!0)],lt=Object.freeze({__proto__:null,init:()=>{const t=yt(w.none()),s=()=>t.set(w.none());return{readState:()=>t.get().getOr("none"),get:t.get,set:t.set,clear:s}}});const zt=Ms({fields:Nn,name:"reflecting",active:Hn,apis:Ps,state:lt}),Kt=t=>{const s=[],a={};return zo(t,(i,d)=>{i.fold(()=>{s.push(d)},m=>{a[d]=m})}),s.length>0?Zt.error(s):Zt.value(a)},ot=(t,s,a)=>{const i=Sn(_g.sketch(d=>({dom:{tag:"div",classes:["tox-form"].concat(t.classes)},components:Te(t.items,m=>n1(d,m,s,a))})));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[i.asSpec()]}],behaviours:Re([mt.config({mode:"acyclic",useTabstopAt:Ee(Sg)}),Vr.memento(i),aD(i,{postprocess:d=>Kt(d).fold(m=>(console.error(m),{}),qt)}),It("dialog-body-panel",[we(Fc(),(d,m)=>{d.getSystem().broadcastOn([Tg],{newFocus:w.some(m.event.target)})})])])}},Nt=(t,s)=>({uid:t.uid,dom:t.dom,components:t.components,events:ui(t.action),behaviours:ps(t.tabButtonBehaviours,[wt.config({}),mt.config({mode:"execution",useSpace:!0,useEnter:!0}),We.config({store:{mode:"memory",initialValue:t.value}})]),domModification:t.domModification}),$e=oa({name:"TabButton",configFields:[oe("uid",void 0),_e("value"),Hs("dom","dom",q1(()=>({attributes:{role:"tab",id:et("aria"),"aria-selected":"false"}})),Ds()),Tn("action"),oe("domModification",{}),is("tabButtonBehaviours",[wt,mt,We]),_e("view")],factory:Nt}),Dt=X([_e("tabs"),_e("dom"),oe("clickToDismiss",!1),is("tabbarBehaviours",[Cn,mt]),Hd(["tabClass","selectedClass"])]),tn=Xh({factory:$e,name:"tabs",unit:"tab",overrides:t=>{const s=(i,d)=>{Cn.dehighlight(i,d),gt(i,o0(),{tabbar:i,button:d})},a=(i,d)=>{Cn.highlight(i,d),gt(i,XE(),{tabbar:i,button:d})};return{action:i=>{const d=i.getSystem().getByUid(t.uid).getOrDie(),m=Cn.isHighlighted(d,i);(m&&t.clickToDismiss?s:m?le:a)(d,i)},domModification:{classes:[t.markers.tabClass]}}}}),$n=X([tn]),Mn=(t,s,a,i)=>({uid:t.uid,dom:t.dom,components:s,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:ps(t.tabbarBehaviours,[Cn.config({highlightClass:t.markers.selectedClass,itemClass:t.markers.tabClass,onHighlight:(d,m)=>{je(m.element,"aria-selected","true")},onDehighlight:(d,m)=>{je(m.element,"aria-selected","false")}}),mt.config({mode:"flow",getInitial:d=>Cn.getHighlighted(d).map(m=>m.element),selector:"."+t.markers.tabClass,executeOnMove:!0})])}),ds=nr({name:"Tabbar",configFields:Dt(),partFields:$n(),factory:Mn}),Vl=(t,s)=>({uid:t.uid,dom:t.dom,behaviours:ps(t.tabviewBehaviours,[Pt.config({})]),domModification:{attributes:{role:"tabpanel"}}}),fc=oa({name:"Tabview",configFields:[is("tabviewBehaviours",[Pt])],factory:Vl}),Tr=X([oe("selectFirst",!0),rn("onChangeTab"),rn("onDismissTab"),oe("tabs",[]),is("tabSectionBehaviours",[])]),Qa=tr({factory:ds,schema:[_e("dom"),Ql("markers",[_e("tabClass"),_e("selectedClass")])],name:"tabbar",defaults:t=>({tabs:t.tabs})}),$t=tr({factory:fc,name:"tabview"}),mn=X([Qa,$t]),zn=(t,s,a,i)=>{const d=g=>{const b=We.getValue(g);Gn(g,t,"tabview").each(y=>{Vt(t.tabs,C=>C.value===b).each(C=>{const S=C.view();E(g.element,"id").each(A=>{je(y.element,"aria-labelledby",A)}),Pt.set(y,S),t.onChangeTab(y,g,S)})})},m=(g,b)=>{Gn(g,t,"tabbar").each(y=>{b(y).each(Lc)})};return{uid:t.uid,dom:t.dom,components:s,behaviours:Qc(t.tabSectionBehaviours),events:no(bt([t.selectFirst?[Yn((g,b)=>{m(g,Cn.getFirst)})]:[],[we(XE(),(g,b)=>{const y=b.event.button;d(y)}),we(o0(),(g,b)=>{const y=b.event.button;t.onDismissTab(g,y)})]])),apis:{getViewItems:g=>Gn(g,t,"tabview").map(b=>Pt.contents(b)).getOr([]),showTab:(g,b)=>{m(g,x=>{const C=Cn.getCandidates(x);return Vt(C,A=>We.getValue(A)===b).filter(A=>!Cn.isHighlighted(x,A))})}}}},so=nr({name:"TabSection",configFields:Tr(),partFields:mn(),factory:zn,apis:{getViewItems:(t,s)=>t.getViewItems(s),showTab:(t,s,a)=>{t.showTab(s,a)}}}),uo=(t,s,a)=>Te(t,(i,d)=>{Pt.set(a,t[d].view());const m=s.dom.getBoundingClientRect();return Pt.set(a,[]),m.height}),Hr=t=>Vs(xc(t,(s,a)=>s>a?-1:s<a?1:0)),_i=(t,s,a)=>{const i=Ec(t).dom,d=_a(t,".tox-dialog-wrap").getOr(t),m=go(d,"position")==="fixed";let g;m?g=Math.max(i.clientHeight,window.innerHeight):g=Math.max(i.offsetHeight,i.scrollHeight);const b=os(s),x=s.dom.offsetLeft>=a.dom.offsetLeft+vr(a)?Math.max(os(a),b):b,C=parseInt(go(t,"margin-top"),10)||0,S=parseInt(go(t,"margin-bottom"),10)||0,O=os(t)+C+S-x;return g-O},yu=(t,s)=>{Vs(t).each(a=>so.showTab(s,a.value))},D1=(t,s)=>{dt(t,"height",s+"px"),dt(t,"flex-basis",s+"px")},Zm=(t,s,a)=>{_a(t,'[role="dialog"]').each(i=>{Io(i,'[role="tablist"]').each(d=>{a.get().map(m=>(dt(s,"height","0"),dt(s,"flex-basis","0"),Math.min(m,_i(i,s,d)))).each(m=>{D1(s,m)})})})},Hg=t=>Io(t,'[role="tabpanel"]'),zg=t=>{const s=Jn();return{extraEvents:[Yn(d=>{const m=d.element;Hg(m).each(g=>{dt(g,"visibility","hidden"),d.getSystem().getByDom(g).toOptional().each(b=>{const y=uo(t,g,b);Hr(y).fold(s.clear,s.set)}),Zm(m,g,s),vn(g,"visibility"),yu(t,d),requestAnimationFrame(()=>{Zm(m,g,s)})})}),we(ph(),d=>{const m=d.element;Hg(m).each(g=>{Zm(m,g,s)})}),we(wN,(d,m)=>{const g=d.element;Hg(g).each(b=>{const y=Wi(be(b));dt(b,"visibility","hidden");const x=Zo(b,"height").map(A=>parseInt(A,10));vn(b,"height"),vn(b,"flex-basis");const C=b.dom.getBoundingClientRect().height;x.forall(A=>C>A)?(s.set(C),Zm(g,b,s)):x.each(A=>{D1(b,A)}),vn(b,"visibility"),y.each(Sa)})})],selectFirst:!1}},O1="send-data-to-section",Wm="send-data-to-view",jm=(t,s,a)=>{const i=yt({}),d=x=>{const C=We.getValue(x),S=Kt(C).getOr({}),A=i.get(),O=to(A,S);i.set(O)},m=x=>{const C=i.get();We.setValue(x,C)},g=yt(null),b=Te(t.tabs,x=>({value:x.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"]},components:[Oo(a.shared.providers.translate(x.title))],view:()=>[_g.sketch(C=>({dom:{tag:"div",classes:["tox-form"]},components:Te(x.items,S=>n1(C,S,s,a)),formBehaviours:Re([mt.config({mode:"acyclic",useTabstopAt:Ee(Sg)}),It("TabView.form.events",[Yn(m),Li(d)]),ea.config({channels:lr([{key:O1,value:{onReceive:d}},{key:Wm,value:{onReceive:m}}])})])}))]})),y=zg(b);return so.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:(x,C,S)=>{const A=We.getValue(C);gt(x,xN,{name:A,oldName:g.get()}),g.set(A)},tabs:b,components:[so.parts.tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[ds.parts.tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:Re([oo.config({})])}),so.parts.tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:y.selectFirst,tabSectionBehaviours:Re([It("tabpanel",y.extraEvents),mt.config({mode:"acyclic"}),Qt.config({find:x=>Vs(so.getViewItems(x))}),au(w.none(),x=>(x.getSystem().broadcastOn([O1],{}),i.get()),(x,C)=>{i.set(C),x.getSystem().broadcastOn([Wm],{})})])})},Il=(t,s,a,i,d)=>{const m=y=>{const x=y.body;switch(x.type){case"tabpanel":return[jm(x,y.initialData,i)];default:return[ot(x,y.initialData,i)]}},g=(y,x)=>w.some({isTabPanel:()=>x.body.type==="tabpanel"}),b={"aria-live":"polite"};return{dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:{...a.map(y=>({id:y})).getOr({}),...d?b:{}}},components:[],behaviours:Re([Vr.childAt(0),zt.config({channel:`${$y}-${s}`,updateState:g,renderComponents:m,initialData:t})])}},gc=(t,s,a,i,d)=>Il(t,s,w.some(a),i,d),B1=(t,s,a)=>{const i=Il(t,s,w.none(),a,!1);return Bo.parts.body(i)},Ug=t=>{const s={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[fD(w.none(),{dom:{tag:"iframe",attributes:{src:t.url}},behaviours:Re([oo.config({}),wt.config({})])})]}],behaviours:Re([mt.config({mode:"acyclic",useTabstopAt:Ee(Sg)})])};return Bo.parts.body(s)},Kv=Qf.deviceType.isTouch(),hc=(t,s)=>({dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[t,s]}),Yv=(t,s)=>Bo.parts.close(bs.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":s.translate("Close")}},action:t,buttonBehaviours:Re([oo.config({})])})),M1=()=>Bo.parts.title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}}),qs=(t,s)=>Bo.parts.body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:ad(`<p>${qw(s.translate(t))}</p>`)}]}]}),vu=t=>Bo.parts.footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:t}),rE=(t,s)=>[hi.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:t}),hi.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:s})],$1=t=>{const s="tox-dialog",a=s+"-wrap",i=a+"__backdrop",d=s+"__disable-scroll";return Bo.sketch({lazySink:t.lazySink,onEscape:m=>(t.onEscape(m),w.some(!0)),useTabstopAt:m=>!Sg(m),firstTabstop:t.firstTabstop,dom:{tag:"div",classes:[s].concat(t.extraClasses),styles:{position:"relative",...t.extraStyles}},components:[t.header,t.body,...t.footer.toArray()],parts:{blocker:{dom:ad(`<div class="${a}"></div>`),components:[{dom:{tag:"div",classes:Kv?[i,i+"--opaque"]:[i]}}]}},dragBlockClass:a,modalBehaviours:Re([wt.config({}),It("dialog-events",t.dialogEvents.concat([zc(Fc(),(m,g)=>{Pl.isBlocked(m)?le():mt.focusIn(m)}),we(n0(),(m,g)=>{m.getSystem().broadcastOn([Tg],{newFocus:g.event.newFocus})})])),It("scroll-lock",[Yn(()=>{Go(Do(),d)}),Li(()=>{ho(Do(),d)})]),...t.extraBehaviours]),eventOrder:{[wa()]:["dialog-events"],[oi()]:["scroll-lock","dialog-events","alloy.base.behaviour"],[Yu()]:["alloy.base.behaviour","dialog-events","scroll-lock"],...t.eventOrder}})},P1=t=>bs.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close"),title:t.translate("Close")}},buttonBehaviours:Re([oo.config({})]),components:[El("close",{tag:"span",classes:["tox-icon"]},t.icons)],action:s=>{sn(s,ou)}}),pc=(t,s,a,i)=>{const d=m=>[Oo(i.translate(m.title))];return{dom:{tag:"div",classes:["tox-dialog__title"],attributes:{...a.map(m=>({id:m})).getOr({})}},components:[],behaviours:Re([zt.config({channel:`${cc}-${s}`,initialData:t,renderComponents:d})])}},Zg=()=>({dom:ad('<div class="tox-dialog__draghandle"></div>')}),re=(t,s,a,i)=>hi.sketch({dom:ad('<div class="tox-dialog__header"></div>'),components:[pc(t,s,w.some(a),i),Zg(),P1(i)],containerBehaviours:Re([Hm.config({mode:"mouse",blockerClass:"blocker",getTarget:d=>ai(d,'[role="dialog"]').getOrDie(),snaps:{getSnapPoints:()=>[],leftAttr:"data-drag-left",topAttr:"data-drag-top"}})])}),ae=(t,s,a)=>{const i=Bo.parts.title(pc(t,s,w.none(),a)),d=Bo.parts.draghandle(Zg()),m=Bo.parts.close(P1(a)),g=[i].concat(t.draggable?[d]:[]).concat([m]);return hi.sketch({dom:ad('<div class="tox-dialog__header"></div>'),components:g})},Ie=(t,s,a)=>ae({title:a.shared.providers.translate(t),draggable:a.dialog.isDraggableModal()},s,a.shared.providers),Oe=(t,s,a,i)=>({dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":a.translate(t)},styles:{left:"0px",right:"0px",bottom:"0px",top:`${i.getOr(0)}px`,position:"absolute"}},behaviours:s,components:[{dom:ad('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}),ct=(t,s,a)=>({onClose:()=>a.closeWindow(),onBlock:i=>{const d=Io(t().element,".tox-dialog__header").map(m=>os(m));Bo.setBusy(t(),(m,g)=>Oe(i.message,g,s,d))},onUnblock:()=>{Bo.setIdle(t())}}),Yt="tox-dialog--fullscreen",lo="tox-dialog--width-lg",Ar="tox-dialog--width-md",vs=t=>{switch(t){case"large":return w.some(lo);case"medium":return w.some(Ar);default:return w.none()}},xu=(t,s)=>{const a=ze.fromDom(s.element.dom);ls(a,Yt)||(bl(a,[lo,Ar]),vs(t).each(i=>Go(a,i)))},el=(t,s)=>{const a=ze.fromDom(t.element.dom),i=g0(a),d=Vt(i,m=>m===lo||m===Ar).or(vs(s));BP(a,[Yt,...d.toArray()])},aE=(t,s,a)=>Js($1({...t,firstTabstop:1,lazySink:a.shared.getSink,extraBehaviours:[By({}),...t.extraBehaviours],onEscape:i=>{sn(i,ou)},dialogEvents:s,eventOrder:{[Ku()]:[zt.name(),ea.name()],[oi()]:["scroll-lock",zt.name(),"messages","dialog-events","alloy.base.behaviour"],[Yu()]:["alloy.base.behaviour","dialog-events","messages",zt.name(),"scroll-lock"]}})),Xv=(t,s={})=>{const a=i=>{const d=Te(i.items,m=>{const g=Ue(s,m.name).getOr(yt(!1));return{...m,storage:g}});return{...i,items:d}};return Te(t,i=>i.type==="menu"?a(i):i)},lE=t=>Lo(t,(s,a)=>a.type==="menu"?Lo(a.items,(d,m)=>(d[m.name]=m.storage,d),s):s,{}),iE=(t,s)=>[V2(Fc(),aL),t(yg,(a,i,d,m)=>{Wi(be(m.element)).fold(le,gx),s.onClose(),i.onClose()}),t(ou,(a,i,d,m)=>{i.onCancel(a),sn(m,yg)}),we(E_,(a,i)=>s.onUnblock()),we(S_,(a,i)=>s.onBlock(i.event))],NW=(t,s)=>{const a=(d,m)=>we(d,(g,b)=>{i(g,(y,x)=>{m(t(),y,b.event,g)})}),i=(d,m)=>{zt.getState(d).get().each(g=>{m(g,d)})};return[...iE(a,s),a(ac,(d,m,g)=>{m.onAction(d,{name:g.name})})]},Gt=(t,s,a)=>{const i=(m,g)=>we(m,(b,y)=>{d(b,(x,C)=>{g(t(),x,y.event,b)})}),d=(m,g)=>{zt.getState(m).get().each(b=>{g(b.internalDialog,m)})};return[...iE(i,s),i(Hp,(m,g)=>g.onSubmit(m)),i(Pr,(m,g,b)=>{g.onChange(m,{name:b.name})}),i(ac,(m,g,b,y)=>{const x=()=>y.getSystem().isConnected()?mt.focusIn(y):void 0,C=O=>R(O,"disabled")||E(O,"aria-disabled").exists($=>$==="true"),S=be(y.element),A=Wi(S);g.onAction(m,{name:b.name,value:b.value}),Wi(S).fold(x,O=>{C(O)||A.exists($=>Wl(O,$)&&C($))?x():a().toOptional().filter($=>!Wl($.element,O)).each(x)})}),i(xN,(m,g,b)=>{g.onTabChange(m,{newTabName:b.name,oldTabName:b.oldName})}),Li(m=>{const g=t();We.setValue(m,g.getData())})]},de=(t,s)=>Wy(t,t.type,s),at=(t,s,a)=>Vt(s,i=>i.name===a).bind(i=>i.memento.getOpt(t)),St=(t,s)=>{const a=s.map(b=>b.footerButtons).getOr([]),i=rl(a,b=>b.align==="start"),d=(b,y)=>hi.sketch({dom:{tag:"div",classes:[`tox-dialog__footer-${b}`]},components:Te(y,x=>x.memento.asSpec())}),m=d("start",i.pass),g=d("end",i.fail);return[m,g]},To=(t,s,a)=>{const i=(d,m)=>{const g=Te(m.buttons,y=>{const x=Sn(de(y,a));return{name:y.name,align:y.align,memento:x}}),b=y=>at(d,g,y);return w.some({lookupByName:b,footerButtons:g})};return{dom:ad('<div class="tox-dialog__footer"></div>'),components:[],behaviours:Re([zt.config({channel:`${nk}-${s}`,initialData:t,updateState:i,renderComponents:St})])}},hr=(t,s,a)=>To(t,s,a),tl=(t,s,a)=>Bo.parts.footer(To(t,s,a)),us=(t,s)=>{if(t.getRoot().getSystem().isConnected()){const i=Qt.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());return _g.getField(i,s).orThunk(()=>t.getFooter().bind(g=>zt.getState(g).get()).bind(g=>g.lookupByName(s)))}else return w.none()},Fl=(t,s)=>{const a=t.getRoot();return zt.getState(a).get().map(i=>Wn(po("data",i.dataValidator,s))).getOr(s)},Jv=(t,s,a)=>{const i=$=>{const z=t.getRoot();z.getSystem().isConnected()&&$(z)},O={getData:()=>{const $=t.getRoot(),z=$.getSystem().isConnected()?t.getFormWrapper():$,ne=We.getValue(z),G=ro(a,W=>W.get());return{...ne,...G}},setData:$=>{i(z=>{const ne=O.getData(),G=to(ne,$),W=Fl(t,G),ee=t.getFormWrapper();We.setValue(ee,W),zo(a,(Ae,ye)=>{bn(G,ye)&&Ae.set(G[ye])})})},setEnabled:($,z)=>{us(t,$).each(z?vt.enable:vt.disable)},focus:$=>{us(t,$).each(wt.focus)},block:$=>{if(!Y($))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");i(z=>{gt(z,S_,{message:$})})},unblock:()=>{i($=>{sn($,E_)})},showTab:$=>{i(z=>{const ne=t.getBody();zt.getState(ne).get().exists(W=>W.isTabPanel())&&Qt.getCurrent(ne).each(W=>{so.showTab(W,$)})})},redial:$=>{i(z=>{const ne=t.getId(),G=s($),W=Xv(G.internalDialog.buttons,a);z.getSystem().broadcastOn([`${Eg}-${ne}`],G),z.getSystem().broadcastOn([`${cc}-${ne}`],G.internalDialog),z.getSystem().broadcastOn([`${$y}-${ne}`],G.internalDialog),z.getSystem().broadcastOn([`${nk}-${ne}`],{...G.internalDialog,buttons:W}),O.setData(G.initialData)})},close:()=>{i($=>{sn($,yg)})},toggleFullscreen:t.toggleFullscreen};return O},DW=(t,s,a)=>{const i=et("dialog"),d=t.internalDialog,m=Ie(d.title,i,a),g=yt(d.size),b=vs(g.get()).toArray(),y=(W,ee)=>(g.set(ee.internalDialog.size),xu(ee.internalDialog.size,W),w.some(ee)),x=B1({body:d.body,initialData:d.initialData},i,a),C=Xv(d.buttons),S=lE(C),A=_t(C.length!==0,tl({buttons:C},i,a)),O=Gt(()=>G,ct(()=>z,a.shared.providers,s),a.shared.getSink),$={id:i,header:m,body:x,footer:A,extraClasses:b,extraBehaviours:[zt.config({channel:`${Eg}-${i}`,updateState:y,initialData:t})],extraStyles:{}},z=aE($,O,a),ne=(()=>{const W=()=>{const Ae=Bo.getBody(z);return Qt.getCurrent(Ae).getOr(Ae)},ee=()=>{el(z,g.get())};return{getId:X(i),getRoot:X(z),getBody:()=>Bo.getBody(z),getFooter:()=>Bo.getFooter(z),getFormWrapper:W,toggleFullscreen:ee}})(),G=Jv(ne,s.redial,S);return{dialog:z,instanceApi:G}},cE=(t,s,a,i=!1,d)=>{const m=et("dialog"),g=et("dialog-label"),b=et("dialog-content"),y=t.internalDialog,x=yt(y.size),C=vs(x.get()).toArray(),S=(he,Be)=>(x.set(Be.internalDialog.size),xu(Be.internalDialog.size,he),d(),w.some(Be)),A=Sn(re({title:y.title,draggable:!0},m,g,a.shared.providers)),O=Sn(gc({body:y.body,initialData:y.initialData},m,b,a,i)),$=Xv(y.buttons),z=lE($),ne=_t($.length!==0,Sn(hr({buttons:$},m,a))),G=Gt(()=>ye,{onBlock:he=>{Pl.block(ee,(Be,Le)=>{const Ft=A.getOpt(ee).map(Ye=>os(Ye.element));return Oe(he.message,Le,a.shared.providers,Ft)})},onUnblock:()=>{Pl.unblock(ee)},onClose:()=>s.closeWindow()},a.shared.getSink),ee=Js({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline",...C],attributes:{role:"dialog","aria-labelledby":g}},eventOrder:{[Ku()]:[zt.name(),ea.name()],[wa()]:["execute-on-form"],[oi()]:["reflecting","execute-on-form"]},behaviours:Re([mt.config({mode:"cyclic",onEscape:he=>(sn(he,yg),w.some(!0)),useTabstopAt:he=>!Sg(he)&&(jr(he)!=="button"||As(he,"disabled")!=="disabled"),firstTabstop:1}),zt.config({channel:`${Eg}-${m}`,updateState:S,initialData:t}),wt.config({}),It("execute-on-form",G.concat([zc(Fc(),(he,Be)=>{mt.focusIn(he)}),we(n0(),(he,Be)=>{he.getSystem().broadcastOn([Tg],{newFocus:Be.event.newFocus})})])),Pl.config({getRoot:()=>w.some(ee)}),Pt.config({}),By({})]),components:[A.asSpec(),O.asSpec(),...ne.map(he=>he.asSpec()).toArray()]}),Ae=()=>{el(ee,x.get())},ye=Jv({getId:X(m),getRoot:X(ee),getFooter:()=>ne.map(he=>he.get(ee)),getBody:()=>O.get(ee),getFormWrapper:()=>{const he=O.get(ee);return Qt.getCurrent(he).getOr(he)},toggleFullscreen:Ae},s.redial,z);return{dialog:ee,instanceApi:ye}};var _$=tinymce.util.Tools.resolve("tinymce.util.URI");const toe=t=>{const s=g=>{t.getSystem().isConnected()&&g(t)};return{block:g=>{if(!Y(g))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");s(b=>{gt(b,S_,{message:g})})},unblock:()=>{s(g=>{sn(g,E_)})},close:()=>{s(g=>{sn(g,yg)})},sendMessage:g=>{s(b=>{b.getSystem().broadcastOn([ok],g)})}}},noe=["insertContent","setContent","execCommand","close","block","unblock"],cG=t=>ve(t)&&noe.indexOf(t.mceAction)!==-1,ooe=t=>!cG(t)&&ve(t)&&bn(t,"mceAction"),soe=(t,s,a)=>{switch(a.mceAction){case"insertContent":t.insertContent(a.content);break;case"setContent":t.setContent(a.content);break;case"execCommand":const i=Un(a.ui)?a.ui:!1;t.execCommand(a.cmd,i,a.value);break;case"close":s.close();break;case"block":s.block(a.message);break;case"unblock":s.unblock();break}},roe=(t,s,a,i)=>{const d=et("dialog"),m=Ie(t.title,d,i),g=Ug(t),b=t.buttons.bind(ee=>ee.length===0?w.none():w.some(tl({buttons:ee},d,i))),y=NW(()=>W,ct(()=>G,i.shared.providers,s)),x={...t.height.fold(()=>({}),ee=>({height:ee+"px","max-height":ee+"px"})),...t.width.fold(()=>({}),ee=>({width:ee+"px","max-width":ee+"px"}))},C=t.width.isNone()&&t.height.isNone()?["tox-dialog--width-lg"]:[],S=new _$(t.url,{base_uri:new _$(window.location.href)}),A=`${S.protocol}://${S.host}${S.port?":"+S.port:""}`,O=Nf(),$=(ee,Ae)=>w.some(Ae),z=[zt.config({channel:`${Eg}-${d}`,updateState:$,initialData:t}),It("messages",[Yn(()=>{const ee=kr(ze.fromDom(window),"message",Ae=>{if(S.isSameOrigin(new _$(Ae.raw.origin))){const ye=Ae.raw.data;cG(ye)?soe(a,W,ye):ooe(ye)&&t.onMessage(W,ye)}});O.set(ee)}),Li(O.clear)]),ea.config({channels:{[ok]:{onReceive:(ee,Ae)=>{Io(ee.element,"iframe").each(ye=>{const he=ye.dom.contentWindow;qn(he)&&he.postMessage(Ae,A)})}}}})],G=aE({id:d,header:m,body:g,footer:b,extraClasses:C,extraBehaviours:z,extraStyles:x},y,i),W=toe(G);return{dialog:G,instanceApi:W}},aoe=t=>{const s=t.shared;return{open:(i,d)=>{const m=()=>{Bo.hide(x),d()},g=Sn(Wy({name:"close-alert",text:"OK",primary:!0,buttonType:w.some("primary"),align:"end",enabled:!0,icon:w.none()},"cancel",t)),b=M1(),y=Yv(m,s.providers),x=Js($1({lazySink:()=>s.getSink(),header:hc(b,y),body:qs(i,s.providers),footer:w.some(vu(rE([],[g.asSpec()]))),onEscape:m,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[we(ou,m)],eventOrder:{}}));Bo.show(x);const C=g.get(x);wt.focus(C)}}},loe=t=>{const s=t.shared;return{open:(i,d)=>{const m=A=>{Bo.hide(C),d(A)},g=Sn(Wy({name:"yes",text:"Yes",primary:!0,buttonType:w.some("primary"),align:"end",enabled:!0,icon:w.none()},"submit",t)),b=Wy({name:"no",text:"No",primary:!1,buttonType:w.some("secondary"),align:"end",enabled:!0,icon:w.none()},"cancel",t),y=M1(),x=Yv(()=>m(!1),s.providers),C=Js($1({lazySink:()=>s.getSink(),header:hc(y,x),body:qs(i,s.providers),footer:w.some(vu(rE([],[b,g.asSpec()]))),onEscape:()=>m(!1),extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[we(ou,()=>m(!1)),we(Hp,()=>m(!0))],eventOrder:{}}));Bo.show(C);const S=g.get(C);wt.focus(S)}}},dG=(t,s)=>Wn(po("data",s,t)),uG=t=>Vp(t,".tox-alert-dialog")||Vp(t,".tox-confirm-dialog"),ioe=(t,s,a)=>s&&a?[]:[ao.config({contextual:{lazyContext:()=>w.some(Ro(ze.fromDom(t.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top"],lazyViewport:i=>nu(t,i.element).map(m=>({bounds:bg(m),optScrollEnv:w.some({currentScrollTop:m.element.dom.scrollTop,scrollElmTop:Va(m.element).top})})).getOrThunk(()=>({bounds:rr(),optScrollEnv:w.none()}))})],coe=t=>{const s=t.editor,a=wp(s),i=aoe(t.backstages.dialog),d=loe(t.backstages.dialog),m=($,z,ne)=>{if(!yo(z)){if(z.inline==="toolbar")return x($,t.backstages.popup.shared.anchors.inlineDialog(),ne,z);if(z.inline==="bottom")return C($,t.backstages.popup.shared.anchors.inlineBottomDialog(),ne,z);if(z.inline==="cursor")return x($,t.backstages.popup.shared.anchors.cursor(),ne,z)}return y($,ne)},g=($,z)=>b($,z),b=($,z)=>{const ne=G=>{const W=roe(G,{closeWindow:()=>{Bo.hide(W.dialog),z(W.instanceApi)}},s,t.backstages.dialog);return Bo.show(W.dialog),W.instanceApi};return Ht.openUrl(ne,$)},y=($,z)=>{const ne=(G,W,ee)=>{const Ae=W,he=DW({dataValidator:ee,initialData:Ae,internalDialog:G},{redial:Ht.redial,closeWindow:()=>{Bo.hide(he.dialog),z(he.instanceApi)}},t.backstages.dialog);return Bo.show(he.dialog),he.instanceApi.setData(Ae),he.instanceApi};return Ht.open(ne,$)},x=($,z,ne,G)=>{const W=(ee,Ae,ye)=>{const he=dG(Ae,ye),Be=Jn(),Le=t.backstages.popup.shared.header.isPositionedAtTop(),Ft={dataValidator:ye,initialData:he,internalDialog:ee},Ye=()=>Be.on(ht=>{co.reposition(ht),(!a||!Le)&&ao.refresh(ht)}),Tt=cE(Ft,{redial:Ht.redial,closeWindow:()=>{Be.on(co.hide),s.off("ResizeEditor",Ye),Be.clear(),ne(Tt.instanceApi)}},t.backstages.popup,G.ariaAttrs,Ye),Ct=Js(co.sketch({lazySink:t.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:G.persistent?{event:"doNotDismissYet"}:{},...Le?{}:{fireRepositionEventInstead:{}},inlineBehaviours:Re([It("window-manager-inline-events",[we(Xu(),(ht,nn)=>{sn(Tt.dialog,ou)})]),...ioe(s,a,Le)]),isExtraPart:(ht,nn)=>uG(nn)}));Be.set(Ct);const kn=()=>{const ht=s.inline?Do():ze.fromDom(s.getContainer()),nn=Ro(ht);return w.some(nn)};return co.showWithinBounds(Ct,Za(Tt.dialog),{anchor:z},kn),(!a||!Le)&&(ao.refresh(Ct),s.on("ResizeEditor",Ye)),Tt.instanceApi.setData(he),mt.focusIn(Tt.dialog),Tt.instanceApi};return Ht.open(W,$)},C=($,z,ne,G)=>{const W=(ee,Ae,ye)=>{const he=dG(Ae,ye),Be=Jn(),Le=t.backstages.popup.shared.header.isPositionedAtTop(),Ft={dataValidator:ye,initialData:he,internalDialog:ee},Ye=()=>Be.on(ht=>{co.reposition(ht),ao.refresh(ht)}),Tt=cE(Ft,{redial:Ht.redial,closeWindow:()=>{Be.on(co.hide),s.off("ResizeEditor ScrollWindow ElementScroll",Ye),Be.clear(),ne(Tt.instanceApi)}},t.backstages.popup,G.ariaAttrs,Ye),Ct=Js(co.sketch({lazySink:t.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:G.persistent?{event:"doNotDismissYet"}:{},...Le?{}:{fireRepositionEventInstead:{}},inlineBehaviours:Re([It("window-manager-inline-events",[we(Xu(),(ht,nn)=>{sn(Tt.dialog,ou)})]),ao.config({contextual:{lazyContext:()=>w.some(Ro(ze.fromDom(s.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top","bottom"],lazyViewport:ht=>nu(s,ht.element).map(He=>({bounds:bg(He),optScrollEnv:w.some({currentScrollTop:He.element.dom.scrollTop,scrollElmTop:Va(He.element).top})})).getOrThunk(()=>({bounds:rr(),optScrollEnv:w.none()}))})]),isExtraPart:(ht,nn)=>uG(nn)}));Be.set(Ct);const kn=()=>t.backstages.popup.shared.getSink().toOptional().bind(ht=>{const nn=nu(s,ht.element),He=15,st=nn.map(pt=>bg(pt)).getOr(rr()),At=Ro(ze.fromDom(s.getContentAreaContainer())),Ot=p2(At,st);return w.some(ms(Ot.x,Ot.y,Ot.width,Ot.height-He))});return co.showWithinBounds(Ct,Za(Tt.dialog),{anchor:z},kn),ao.refresh(Ct),s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow",Ye),Tt.instanceApi.setData(he),mt.focusIn(Tt.dialog),Tt.instanceApi};return Ht.open(W,$)};return{open:m,openUrl:g,alert:($,z)=>{i.open($,z)},close:$=>{$.close()},confirm:($,z)=>{d.open($,z)}}},doe=t=>{lA(t),PV(t),HS(t)};var uoe=()=>{nh.add("silver",t=>{doe(t);let s=()=>rr();const{dialogs:a,popups:i,renderUI:d}=XZ(t,{getPopupSinkBounds:()=>s()}),m=()=>{const y=d();return nu(t,i.getMothership().element).each(C=>{s=()=>bg(C)}),y};SI.register(t,i.backstage.shared);const g=coe({editor:t,backstages:{popup:i.backstage,dialog:a.backstage}}),b=()=>eC(t,{backstage:i.backstage},i.getMothership());return{renderUI:m,getWindowManagerImpl:X(g),getNotificationManagerImpl:b}})};uoe()})(),tinymce.IconManager.add("default",{icons:{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1.1.9-2 2-2Zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5c0-.6-.4-1-1-1a1 1 0 0 0-1 1v5c0 .6-.4 1-1 1a1 1 0 0 1-1-1V9H4a1 1 0 1 1 0-2h16c.6 0 1 .4 1 1s-.4 1-1 1Z" fill-rule="nonzero"/></svg>',"accordion-toggle":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3 7.3a1 1 0 0 1 1.4 0L16 9.6l2.3-2.3a1 1 0 1 1 1.4 1.4L16 12.4l-3.7-3.7a1 1 0 0 1 0-1.4ZM4.3 11.7a1 1 0 0 1 0-1.4L6.6 8 4.3 5.7a1 1 0 0 1 1.4-1.4L9.4 8l-3.7 3.7a1 1 0 0 1-1.4 0Z"/></svg>',accordion:'<svg width="24" height="24"><rect x="12" y="7" width="10" height="2" rx="1"/><rect x="12" y="11" width="10" height="2" rx="1"/><rect x="12" y="15" width="6" height="2" rx="1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.3 7.3a1 1 0 0 1 1.4 0L6 9.6l2.3-2.3a1 1 0 0 1 1.4 1.4L6 12.4 2.3 8.7a1 1 0 0 1 0-1.4Z"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 0 0-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 1 0-1.4-1.4L12 13.6 5.7 7.3Z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 0 0 1.4-1.4L12 6.6l-7.7 7.7a1 1 0 0 0 1.4 1.4L12 9.4l6.3 6.3Z"/></svg>',addtag:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 5a2 2 0 0 1 1.6.8L21 12l-4.4 6.2a2 2 0 0 1-1.6.8h-3v-2h3l3.5-5L15 7H5v3H3V7c0-1.1.9-2 2-2h10Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 12a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2H7v-2c0-.6-.4-1-1-1Z"/></svg>',"ai-prompt":'<svg width="24" height="24"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.7a1 1 0 0 0-1.4 0l-9.9 10a1 1 0 0 0 0 1.3l2.1 2.1c.4.4 1 .4 1.4 0l10-9.9c.3-.3.3-1 0-1.4l-2.2-2Zm1.4 2.8-2-2-3 2.7 2.2 2.2 2.8-2.9Z"/><path d="m18.5 7.3-.7-1.5-1.5-.8 1.5-.7.7-1.5.7 1.5 1.5.7-1.5.8-.7 1.5ZM18.5 16.5l-.7-1.6-1.5-.7 1.5-.7.7-1.6.7 1.6 1.5.7-1.5.7-.7 1.6ZM9.7 7.3 9 5.8 7.5 5 9 4.3l.7-1.5.7 1.5L12 5l-1.5.8-.7 1.5Z"/></g><defs><clipPath id="a"><path d="M0 0h24v24H0z"/></clipPath></defs></svg>',ai:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H5Zm6.8 11.5.5 1.2a68.3 68.3 0 0 0 .7 1.1l.4.1c.3 0 .5 0 .7-.3.2-.1.3-.3.3-.6l-.3-1-2.6-6.2a20.4 20.4 0 0 0-.5-1.3l-.5-.4-.7-.2c-.2 0-.5 0-.6.2-.2 0-.4.2-.5.4l-.3.6-.3.7L5.7 15l-.2.6-.1.4c0 .3 0 .5.3.7l.6.2c.3 0 .5 0 .7-.2l.4-1 .5-1.2h3.9ZM9.8 9l1.5 4h-3l1.5-4Zm5.6-.9v7.6c0 .4 0 .7.2 1l.7.2c.3 0 .6 0 .8-.3l.2-.9V8.1c0-.4 0-.7-.2-.9a1 1 0 0 0-.8-.3c-.2 0-.5.1-.7.3l-.2 1Z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24"><path d="M14.2 5 13 7H5a1 1 0 1 1 0-2h9.2Zm4 0h.8a1 1 0 0 1 0 2h-2l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h6.8Zm4 0H19a1 1 0 0 1 0 2h-4.4l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h4.4Zm4 0H19a1 1 0 0 1 0 2h-6.8l1.2-2ZM7 17l-1.2 2H5a1 1 0 0 1 0-2h2Zm4 0h8a1 1 0 0 1 0 2H9.8l1.2-2Zm5.2-13.5 1.3.7-9.7 16.3-1.3-.7 9.7-16.3Z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="m5.6 13 12 6a1 1 0 0 0 1.4-1V6a1 1 0 0 0-1.4-.9l-12 6a1 1 0 0 0 0 1.8Z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="m18.5 13-12 6A1 1 0 0 1 5 18V6a1 1 0 0 1 1.4-.9l12 6a1 1 0 0 1 0 1.8Z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 0 1-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8Zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4Zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4Z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 0 0-1 1Z" fill-rule="nonzero"/></svg>',"border-style":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="2" x="3" y="6" rx="1"/><rect width="2.8" height="2" x="3" y="16" rx="1"/><rect width="2.8" height="2" x="6.8" y="16" rx="1"/><rect width="2.8" height="2" x="10.6" y="16" rx="1"/><rect width="2.8" height="2" x="14.4" y="16" rx="1"/><rect width="2.8" height="2" x="18.2" y="16" rx="1"/><rect width="8" height="2" x="3" y="11" rx="1"/><rect width="8" height="2" x="13" y="11" rx="1"/></g></svg>',"border-width":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="5" x="3" y="5" rx="1"/><rect width="18" height="3.5" x="3" y="11.5" rx="1"/><rect width="18" height="2" x="3" y="17" rx="1"/></g></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3Zm0-10a1 1 0 0 1-.7-.3A1 1 0 0 1 11 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3Zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-1a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1ZM7 12c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H5a1 1 0 0 1-.7-.3A1 1 0 0 1 4 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7Zm10 3.5.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 0 1-.8.3 1 1 0 0 1-.6-.3l-.8-.7a1 1 0 0 1-.3-.8c0-.2.1-.5.3-.7a1 1 0 0 1 1.4 0Zm-10-7-.7-.8a1 1 0 0 1-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.8-.3Zm10 0a1 1 0 0 1-.8.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7Zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 0 1 0 1.4l-.8.8a1 1 0 0 1-.6.3 1 1 0 0 1-.8-.3 1 1 0 0 1-.3-.8c0-.2.1-.5.3-.6l.7-.8ZM12 8a4 4 0 0 1 3.7 2.4 4 4 0 0 1 0 3.2A4 4 0 0 1 12 16a4 4 0 0 1-3.7-2.4 4 4 0 0 1 0-3.2A4 4 0 0 1 12 8Zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7Z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9.4-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6Z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8ZM12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7Z" fill-rule="nonzero"/></svg>',"cell-background-color":'<svg width="24" height="24"><path d="m15.7 2 1.6 1.6-2.7 2.6 5.9 5.8c.7.7.7 1.7 0 2.4l-6.3 6.1a1.7 1.7 0 0 1-2.4 0l-6.3-6.1c-.7-.7-.7-1.7 0-2.4L15.7 2ZM18 12l-4.5-4L9 12h9ZM4 16s2 2.4 2 3.8C6 21 5.1 22 4 22s-2-1-2-2.2C2 18.4 4 16 4 16Z"/></svg>',"cell-border-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M5 13v5h2v2H5a2 2 0 0 1-2-2v-5h2zm8-7V4h6a2 2 0 0 1 2 2h-8z" opacity=".2"/><path fill-rule="nonzero" d="M13 4v2H5v7H3V6c0-1.1.9-2 2-2h8zm-2.6 14.1.1-.1.1.1.2.3.2.2.2.2c.4.6.8 1.2.8 1.7 0 .8-.7 1.5-1.5 1.5S9 21.3 9 20.5c0-.5.4-1.1.8-1.7l.2-.2.2-.2.2-.3z"/><path d="m13 11-2 2H5v-2h6V6h2z"/><path fill-rule="nonzero" d="m18.4 8 1 1-1.8 1.9 4 4c.5.4.5 1.1 0 1.6l-4.3 4.2a1.2 1.2 0 0 1-1.6 0l-4.4-4.2c-.4-.5-.4-1.2 0-1.7l7-6.8Zm1.6 7-3-3-3 3h6Z"/></g></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 0 1-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 0 1-1 .7h-.2a.7.7 0 0 1-.7-1l4-12a1 1 0 0 1 2 0l4 12a.7.7 0 0 1-.8 1h-.2a1 1 0 0 1-1-.7l-.8-2.6zm-.3-1.5-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1Zm4.8-6.8V10H7.7V5.8h-1v-1h2ZM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1Zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1ZM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2V18.7l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 0 1-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 0 0-.5-.1 1 1 0 0 0-.4 0l-.3.4h-1Zm2.3.8h-.2l-.2.1-.4.1a1 1 0 0 0-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6Zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4Zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 0 0 1.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 0 0-.6-.3l-.6.3-.2.8Zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 0 0-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 0 1-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 0 1-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1Z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2h-8a1 1 0 0 1 0-2ZM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3 4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 0 1 0-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1Z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 0 1 0-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 0 1 0-1.1L6 5 2.2 1.3Z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8 5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 0 1 0-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0Z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24"><path d="M17.3 8.2 13.4 12l3.9 3.8a1 1 0 0 1-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 0 1-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 0 1 1.5-1.5l3.8 3.9 3.8-3.9a1 1 0 0 1 1.5 1.5Z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 0 1-.8 2 2.8 2.8 0 0 1 .8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11Zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 0 1-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 0 1 .8-2 2.8 2.8 0 0 1-.8-2Zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2ZM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 0 1-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 0 1-.5-.5V17a3 3 0 0 0 1-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5Z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0 1 18 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 0 1-3.7 3 5.7 5.7 0 0 1-3.2 0A5.9 5.9 0 0 1 7.6 18a6.2 6.2 0 0 1-1.4-2.6 6.7 6.7 0 0 1 0-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 0 1 2.3-4A20 20 0 0 1 12 4a26.4 26.4 0 0 1 3.2 3.4 18.2 18.2 0 0 1 2.3 4Zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 0 0-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 0 1-1.3 3 5.3 5.3 0 0 1-2.3 1.5 4.9 4.9 0 0 1-2 .1 4.3 4.3 0 0 0 2.4.8 4 4 0 0 0 2-.6 4 4 0 0 0 1.5-1.5Z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 0 0 0 18 1.5 1.5 0 0 0 1.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8Zm-5.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3-4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3 3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/><path d="M13 10h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V8a1 1 0 0 1 2 0v2Z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-6 8a6 6 0 0 0 6 6V6a6 6 0 0 0-6 6Z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 0 0-2 2v11h2V5h10V3Zm1 4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7Zm0 12V9h-7v10h7Z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-2H7V9H5a1 1 0 1 1 0-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3ZM9 9v5l5-5H9Zm1 6h5v-5l-5 5Z" fill-rule="evenodd"/></svg>',"cut-column":'<svg width="24" height="24"><path fill-rule="evenodd" d="M7.2 4.5c.9 0 1.6.4 2.2 1A3.7 3.7 0 0 1 10.5 8v.5l1 1 4-4 1-.5a3.3 3.3 0 0 1 2 0c.4 0 .7.3 1 .5L17 8h4v13h-6V10l-1.5 1.5.5.5v4l-2.5-2.5-1 1v.5c0 .4 0 .8-.3 1.2-.2.5-.4.9-.8 1.2-.6.7-1.3 1-2.2 1-.8.2-1.5 0-2-.6l-.5-.8-.2-1c0-.4 0-.8.3-1.2A3.9 3.9 0 0 1 7 12.7c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2-.5-.1-1-.4-1.4-.9-.4-.3-.6-.7-.8-1.2L4.5 7c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7Zm12.3 5h-3v10h3v-10ZM8 13.8h-.3l-.4.2a2.8 2.8 0 0 0-.7.4v.1a2.8 2.8 0 0 0-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 0 0 .8-.3 2.4 2.4 0 0 0 .7-.7 2.5 2.5 0 0 0 .3-.8 1.5 1.5 0 0 0 0-.8 1 1 0 0 0-.2-.4 1 1 0 0 0-.5-.2H8Zm3.5-3.7c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4ZM7 5.8h-.4a1 1 0 0 0-.5.3 1 1 0 0 0-.2.5v.7a2.5 2.5 0 0 0 .3.8l.2.3h.1l.4.4.4.2.4.1h.7L9 9l.2-.4a1.6 1.6 0 0 0 0-.8 2.6 2.6 0 0 0-.3-.8A2.5 2.5 0 0 0 7.7 6l-.4-.1H7Z"/></svg>',"cut-row":'<svg width="24" height="24"><path fill-rule="evenodd" d="M22 3v5H9l3 3 2-2h4l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8.7.6 1 1.3 1 2.2.2.8 0 1.5-.6 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l2 2V3h14ZM8.5 15.3h-.3a2.6 2.6 0 0 0-.8.4 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3L9 18V18l.4-.4.2-.4.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2h-.5Zm7 0H15a1 1 0 0 0-.4.3 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4a2.8 2.8 0 0 0 .5.7h.1a2.8 2.8 0 0 0 .8.6l.4.1h.7l.5-.2.2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3h-.3ZM12 11.6c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4Zm8.5-7.1h-11v2h11v-2Z"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 0 1 0 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8Zm-8.5 2.2.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2 1.6 1.6 0 0 0-.8 0 2.6 2.6 0 0 0-.8.3 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3 2.8 2.8 0 0 0 1-1Zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4Zm5.4 4 .2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3 1.5 1.5 0 0 0-.8 0 1 1 0 0 0-.4.2 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4l.3.4.3.4a2.8 2.8 0 0 0 .8.5l.4.1h.7l.5-.2Z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5Zm0 4h2v2h-2V9ZM9 9h2v2H9V9Zm4 4h2v2h-2v-2Zm-4 0h2v2H9v-2Zm0 4h2v2H9v-2Zm4 0h2v2h-2v-2ZM9 5h2v2H9V5Z" fill-rule="evenodd"/></svg>',"duplicate-column":'<svg width="24" height="24"><path d="M17 6v16h-7V6h7Zm-2 2h-3v12h3V8Zm-2-6v2H8v15H6V2h7Z"/></svg>',"duplicate-row":'<svg width="24" height="24"><path d="M22 11v7H6v-7h16Zm-2 2H8v3h12v-3Zm-1-6v2H4v5H2V7h17Z"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10Zm3 8h-2V9h-7v10h9a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7a2 2 0 0 1 2 2v2Z"/><path d="M17 14h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1Z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="m19.8 8.8-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5Zm-2-.2 1-.9v-.3l-2.2-2.2a.3.3 0 0 0-.3 0l-1 1L18 8.5Zm-1 1-2.5-2.4-6 6 2.5 2.5 6-6Zm-7 7.1-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5Z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 0 0-2-2H7v2h11v9ZM6 17h15a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1H6a2 2 0 0 1-2-2V7H3a1 1 0 1 1 0-2h1V4a1 1 0 1 1 2 0v13Zm3-5.3 1.3 2 3-4.7 3.7 6H7l2-3.3Z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0 1 19 6Zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4Zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6Zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3Zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 0 0 8 19h3ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 0 0-4 4.5h2.2Zm-3.4 0a12 12 0 0 1 2.8-4 12 12 0 0 0-5 4h2.2Z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm4.8 2.6 5.6 4a.5.5 0 0 1 0 .8l-5.6 4A.5.5 0 0 1 9 16V8a.5.5 0 0 1 .8-.4Z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13Z" fill-rule="nonzero"/></svg>',export:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M14.4 3 18 7v1h-5V5H7v14h9a1 1 0 0 1 2 0c0 1-.8 2-1.9 2H7c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2h7.5Z"/><path d="M18.1 12c.5 0 .9.4.9 1 0 .5-.3 1-.8 1h-7.3c-.5 0-.9-.4-.9-1 0-.5.3-1 .8-1h7.3Z"/><path d="M16.4 9.2a1 1 0 0 1 1.4.2l2.4 3.6-2.4 3.6a1 1 0 0 1-1.7-1v-.2l1.7-2.4-1.6-2.4a1 1 0 0 1 .2-1.4Z"/></g></svg>',fill:'<svg width="24" height="26"><path d="m16.6 12-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 0 0 2.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2ZM5.2 13 10 8.2l4.8 4.8H5.2ZM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.3-2-3.5-2-3.5Z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2Zm4-8h2V9h-2v2ZM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 0 0-2 2Zm14-2v2h2a2 2 0 0 0-2-2Zm-7 16h2V3h-2v18Zm7-6h2v-2h-2v2Zm-4-8h2V5h-2v2Zm4 12a2 2 0 0 0 2-2h-2v2Z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5Zm8 4v2h2v-2h-2Zm4-14H7a2 2 0 0 0-2 2v3h2V6h10v3h2V6a2 2 0 0 0-2-2Zm2 14h-2v2a2 2 0 0 0 2-2ZM3 11v2h18v-2H3Zm6 7v2h2v-2H9Zm8-4v2h2v-2h-2ZM5 18c0 1.1.9 2 2 2v-2H5Z" fill-rule="nonzero"/></svg>',footnote:'<svg width="24" height="24"><path d="M19 13c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h14Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19 4v6h-1V5h-1.5V4h2.6Z"/><path d="M12 18c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h7ZM14 8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2h9Z"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 0 0-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3Z" fill-rule="nonzero"/></svg>',format:'<svg width="24" height="24"><path fill-rule="evenodd" d="M17 5a1 1 0 0 1 0 2h-4v11a1 1 0 0 1-2 0V7H7a1 1 0 1 1 0-2h10Z"/></svg>',fullscreen:'<svg width="24" height="24"><path d="m15.3 10-1.2-1.3 2.9-3h-2.3a.9.9 0 1 1 0-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 1 1-1.8 0V7l-2.9 3Zm0 4 3 3v-2.3a.9.9 0 1 1 1.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 1 1 0-1.8H17l-3-2.9 1.3-1.2ZM10 15.4l-2.9 3h2.3a.9.9 0 1 1 0 1.7H5a.9.9 0 0 1-.9-.9v-4.4a.9.9 0 1 1 1.8 0V17l2.9-3 1.2 1.3ZM8.7 10 5.7 7v2.3a.9.9 0 0 1-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 0 1 0 1.8H7l3 2.9-1.3 1.2Z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="m5 15.7 2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7ZM5 18V19h3l1.8-1.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V7c0-.6.4-1 1-1Zm6 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM4.5 4h15a.5.5 0 1 1 0 1h-15a.5.5 0 0 1 0-1Zm2-2h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1Z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 0 0-.4-.8l-.1-.2H8v-1l.3-.1.3-.1h.7a1 1 0 0 1 .6.5l.1.3a8.5 8.5 0 0 1 .3.6l1.9 4.6 2-5.2a1 1 0 0 1 1-.6.5.5 0 0 1 .5.6L13 14v2.8a.7.7 0 0 1-1.4 0Z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 0 0-6 9 6.3 6.3 0 0 0 1.4 2l1 1a6.3 6.3 0 0 0 3.6 1 6.5 6.5 0 0 0 6-9 6.3 6.3 0 0 0-1.4-2l-1-1a6.3 6.3 0 0 0-3.6-1ZM12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Z"/><path d="M9.6 9.7a.7.7 0 0 1-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 0 0-.8.8.8.8 0 0 1-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8Z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="m5 15.7 3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7ZM5 18V19h3l2.8-2.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-1 3v2h2V7h-2Zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4Z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 0 0 1.8-2.9 6.3 6.3 0 0 0-.1-4.1 5.8 5.8 0 0 0-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 0 0-3.9 1.8 6.3 6.3 0 0 0-1.3 6 6.2 6.2 0 0 0 1.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 0 1 4 11c0-1 .2-1.9.6-2.7A7 7 0 0 1 6.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 0 1 5.7 2 7 7 0 0 1 1.7 2.3 6 6 0 0 1 .2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 0 1-3.6 2.5v.5Z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm0 2a9 9 0 1 1 0-18 9 9 0 0 1 0 18Z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 0 0-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1Z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3 16.5 18a5.8 5.8 0 0 1-3.1 1.9 6.1 6.1 0 0 1-5.5-1.6A5.8 5.8 0 0 1 6 14v-.3l.1-1.2A13.9 13.9 0 0 1 7.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6Zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 0 0 .2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 0 0-3-4.2L12 6a26.1 26.1 0 0 0-2.2 2.5l-1-1a20.9 20.9 0 0 1 2.9-3.3L12 4l1 .8a22.2 22.2 0 0 1 4 5.4c.6 1.2 1 2.4 1 3.6Z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="m16.7 4.7-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8Z" fill-rule="evenodd"/></svg>',language:'<svg width="24" height="24"><path d="M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm4.3 13.3c-.5 1-1.2 2-2 2.9a7.5 7.5 0 0 0 3.2-2.1l-.2-.2a6 6 0 0 0-1-.6Zm-8.6 0c-.5.2-.9.5-1.2.8.9 1 2 1.7 3.2 2a10 10 0 0 1-2-2.8Zm3.6-.8c-.8 0-1.6.1-2.2.3.5 1 1.2 1.9 2.1 2.7Zm1.5 0v3c.9-.8 1.6-1.7 2.1-2.7-.6-.2-1.4-.3-2.1-.3Zm-6-2.7H4.5c.2 1 .5 2.1 1 3h.3l1.3-1a10 10 0 0 1-.3-2Zm12.7 0h-2.3c0 .7-.1 1.4-.3 2l1.6 1.1c.5-1 .9-2 1-3.1Zm-3.8 0h-3V14c1 0 2 .1 2.7.4.2-.5.3-1 .3-1.6Zm-4.4 0h-3l.3 1.6c.8-.3 1.7-.4 2.7-.4v-1.3Zm-5.5-5c-.7 1-1.1 2.2-1.3 3.5h2.3c0-1 .2-1.8.5-2.6l-1.5-1Zm2.9 1.4v.1c-.2.6-.4 1.3-.4 2h3V9.4c-1 0-1.8-.1-2.6-.3Zm6.6 0h-.1l-2.4.3v1.8h3l-.5-2.1Zm3-1.4-.3.1-1.3.8c.3.8.5 1.6.5 2.6h2.3a7.5 7.5 0 0 0-1.3-3.5Zm-9 0 2 .2V5.5a9 9 0 0 0-2 2.2Zm3.5-2.3V8c.6 0 1.3 0 1.9-.2a9 9 0 0 0-2-2.3Zm-3-.7h-.1c-1.1.4-2.1 1-3 1.8l1.2.7a10 10 0 0 1 1.9-2.5Zm4.4 0 .1.1a10 10 0 0 1 1.8 2.4l1.1-.7a7.5 7.5 0 0 0-3-1.8Z"/></svg>',"line-height":'<svg width="24" height="24"><path d="M21 5a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zM7 3.6l3.7 3.7a1 1 0 0 1-1.3 1.5h-.1L8 7.3v9.2l1.3-1.3a1 1 0 0 1 1.3 0h.1c.4.4.4 1 0 1.3v.1L7 20.4l-3.7-3.7a1 1 0 0 1 1.3-1.5h.1L6 16.7V7.4L4.7 8.7a1 1 0 0 1-1.3 0h-.1a1 1 0 0 1 0-1.3v-.1L7 3.6z"/></svg>',line:'<svg width="24" height="24"><path d="m15 9-8 8H4v-3l8-8 3 3Zm1-1-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1ZM4 18h16v2H4v-2Z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2-2a2 2 0 1 0-2.6-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2Z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8h-.1l-1.5 1v-1.1l1.6-1.1h1.2v6zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2Zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5Zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7Zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7Zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6ZM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7ZM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4Zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3ZM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6Zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7Zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4Zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3Zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7Zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8Zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4ZM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22Zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3ZM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM37.1 34.6 34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1ZM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4Zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8Zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3ZM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22Zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1Zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33Zm0 10v-1.2h-1.3V26H33Zm0 10v-1.2h-1.3V36H33Z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15Zm0 10v-1.2h1.3V26H15Zm0 10v-1.2h1.3V36H15Z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="m39.3 17-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3Zm-1.6-4.7-.7 2.3h1.6l-.8-2.3ZM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7Zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26ZM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="m12.6 17-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3ZM11 12.3l-.7 2.3h1.6l-.8-2.3Zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7ZM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7ZM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26Zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3Zm0 10v-1.2H33V27h-1.3Zm0 10v-1.2H33V37h-1.3Z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15Zm0 10v-1.2h1.3V27H15Zm0 10v-1.2h1.3V37H15Z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3ZM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7Z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5ZM4.4 16.2 6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',minus:'<svg width="24" height="24"><path d="M19 11a1 1 0 0 1 .1 2H5a1 1 0 0 1-.1-2H19Z"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="m15 13 2-2v8H5V7h8l-2 2H7v8h8v-4Zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19Z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3Zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1Z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M15.5 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7ZM13 17v-2h-2v2h2Zm0-4V7h-2v6h2Z" fill-rule="evenodd" clip-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2Zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19Zm-1 8.8.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3Zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2ZM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6Zm-1 8.8.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3ZM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4 1 13l6.4 6.5 6.5-6.5-6.5-6.5ZM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7ZM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1Z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm1.6-3.8a1 1 0 0 1-1.2 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 0 1 1.2 1.6L6.8 12l1.8 1.2Z" fill-rule="evenodd"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2ZM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1ZM6 22a1 1 0 0 1-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5H7v5c0 .6-.4 1-1 1Z"/></g></svg>',paragraph:'<svg width="24" height="24"><path fill-rule="evenodd" d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z"/></svg>',"paste-column-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h7v2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm8 7v12h-6V8h6Zm-1.5 1.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-column-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V18c0 1-.8 2-1.9 2H11v-2h7V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v2H4V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm-2 7v12H4V8h6ZM8.5 9.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V11h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h14c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 11v5H8v-5h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h12v-4h2v4c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 7v5H8V8h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2Z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24"><path d="M10.5 17.5 8 20H3v-3l3.5-3.5a2 2 0 0 1 0-3L14 3l1 1-7.3 7.3a1 1 0 0 0 0 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 0 1-2.8 0l-.1-.1Z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><path d="M12 4c.5 0 1 .4 1 .9V11h6a1 1 0 0 1 .1 2H13v6a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H11V5c0-.6.4-1 1-1Z"/></svg>',preferences:'<svg width="24" height="24"><path d="m20.1 13.5-1.9.2a5.8 5.8 0 0 1-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 0 1-1.4 0l-1.5-1.2a6.2 6.2 0 0 1-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 0 1-1-.9l-.2-1.9a5.8 5.8 0 0 1-1.5-.6l-1.5 1.2a1 1 0 0 1-1.4 0l-.7-.7a1 1 0 0 1 0-1.4l1.2-1.5a6.2 6.2 0 0 1-.6-1.5l-1.9-.2a1 1 0 0 1-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 0 1 .6-1.5L5.2 7.3a1 1 0 0 1 0-1.4l.7-.7a1 1 0 0 1 1.4 0l1.5 1.2a6.2 6.2 0 0 1 1.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 0 1 1.5.6l1.5-1.2a1 1 0 0 1 1.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 0 1 .6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 0 0 2.1-2.8 15.7 15.7 0 0 0-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 0 0-6.7 3.2A16.2 16.2 0 0 0 3.2 12c0 .2.2.3.3.5Zm-2.4-1 .7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 0 1 2.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 0 1-2.8-3.7 1 1 0 0 1 0-1Zm12-3.3a2 2 0 1 0 2.7 2.6 4 4 0 1 1-2.6-2.6Z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 0 0-3 3v6h2v3h14v-3h2v-6a3 3 0 0 0-3-3Zm-1 10H7v-4h10v4Zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5Zm.5-8H6v2h12V5Z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 1 1-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 1 1 1.4-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4l3.3-3.3Z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m5 22.1-1.2-4.7v-.2a1 1 0 0 1 1-1l5 .4a1 1 0 1 1-.2 2l-2.2-.2a7.8 7.8 0 0 0 8.4.2 7.5 7.5 0 0 0 3.5-6.4 1 1 0 1 1 2 0 9.5 9.5 0 0 1-4.5 8 9.9 9.9 0 0 1-10.2 0l.4 1.4a1 1 0 1 1-2 .5ZM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 0 0-9.5-1 7.5 7.5 0 0 0-3.6 7 1 1 0 0 1-2 0 9.5 9.5 0 0 1 4.5-8.6 10 10 0 0 1 10.9.3l-.3-1a1 1 0 0 1 2-.5l1.1 4.8a1 1 0 0 1-1 1.2l-5-.4a1 1 0 0 1-.9-1Z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 0 1 0 .2l-2.6 10a1 1 0 0 1-1 .8h-.2a.8.8 0 0 1-.8-1l2.6-10H8a1 1 0 1 1 0-2h9a1 1 0 0 1 0 2h-3.8ZM5 18h7a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Zm13 1.5L16.5 18 15 19.5a.7.7 0 0 1-1-1l1.5-1.5-1.5-1.5a.7.7 0 0 1 1-1l1.5 1.5 1.5-1.5a.7.7 0 0 1 1 1L17.5 17l1.5 1.5a.7.7 0 0 1-1 1Z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 0 1 0 2h-1v9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9H5a1 1 0 1 1 0-2h3V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1Zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v1h4Zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9Zm-7 3a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm4 0a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 1 1 9 2l-7 7A.5.5 0 1 1 1 8l7-7ZM8.1 5.1A.5.5 0 1 1 9 6l-3 3A.5.5 0 1 1 5 8l3-3Z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-6a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3A1 1 0 0 1 4 11V5Z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1Z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 0 1 2 0v6c0 .6-.4 1-1 1h-6a1 1 0 0 1 0-2h4.3L16 7A7.2 7.2 0 0 0 7.7 6a7 7 0 0 0 3 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 0 1 1.4 1.5A9.2 9.2 0 0 1 2.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8Z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 4.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L8 5Zm12 11.2a1 1 0 1 1-1 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 1 1 1 1.6L18.4 15l1.8 1.2Z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2Zm0 2v2h14v-2H5Zm10 0h2v2h-2v-2Zm-4-6.4L8.7 9.3a1 1 0 1 0-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 1 0-1.4-1.4L13 11.6V4a1 1 0 0 0-2 0v7.6Z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 0 0-2 2Zm0 8h2v-2H3v2Zm4 8h2v-2H7v2ZM3 9h2V7H3v2Zm10-6h-2v2h2V3Zm6 0v2h2a2 2 0 0 0-2-2ZM5 21v-2H3c0 1.1.9 2 2 2Zm-2-4h2v-2H3v2ZM9 3H7v2h2V3Zm2 18h2v-2h-2v2Zm8-8h2v-2h-2v2Zm0 8a2 2 0 0 0 2-2h-2v2Zm0-12h2V7h-2v2Zm0 8h2v-2h-2v2Zm-4 4h2v-2h-2v2Zm0-16h2V3h-2v2ZM7 17h10V7H7v10Zm2-8h6v6H9V9Z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm3.6 10.9L7 12.3a.7.7 0 0 0-1 1L9.6 17 18 8.6a.7.7 0 0 0 0-1 .7.7 0 0 0-1 0l-7.4 7.3Z"/></svg>',send:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.3 22 7-18.3-18.3 7L9 15l4.3 7ZM18 6.8l-.7-.7L9.4 14l.7.7L18 6.8Z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V8H5a1 1 0 1 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6ZM8 8h2V6H8v2Zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V13H5a1 1 0 0 1 0-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6ZM14 13h2v-2h-2v2Zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V18H5a1 1 0 0 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6ZM8 18h2v-2H8v2Z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="m16 6 4 4-8 9-8-9 4-4h8Zm-4 10.2 5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2Z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 0 1 0-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7ZM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 0 0-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7Z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6Zm0-3v2h2V5H6Zm13 0h-3v5h3v1h-3a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1Zm-5 1.5-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5ZM13 10V8h-2v2h2Zm0-3V5h-2v2h2Zm3 5 1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12Z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 0 1 7 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1Z"/><path d="M5 11h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24"><path d="m10.4 10 4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10ZM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 0 0-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 0 1-1.3 1.3l-.6.6h2.6V19Z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4 10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4Zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11Z" fill-rule="nonzero"/></svg>',"table-caption":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="12" height="2" x="3" y="4" rx="1"/><path d="M19 8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></g></svg>',"table-cell-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M13 4v9H3V6c0-1.1.9-2 2-2h8Zm-2 2H5v5h6V6Z"/><path fill-rule="nonzero" d="M13 4h6a2 2 0 0 1 2 2v7h-8v-2h6V6h-6V4Z" opacity=".2"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/><path fill-rule="nonzero" d="M3 13v5c0 1.1.9 2 2 2h8v-7h-2v5H5v-5H3Z" opacity=".2"/></g></svg>',"table-cell-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8 0h-6v5h6v-5Zm-8-7H5v5h6V6Z"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z" opacity=".2"/></g></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z" opacity=".2"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z"/></g></svg>',"table-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v7h-8v7H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8-7h-6v5h6V6Zm-8 0H5v5h6V6Z"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2Zm.3.5 1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5Z"/></svg>',"table-delete-row":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6Zm-4.7 1.8 1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3Z"/></svg>',"table-delete-table":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 6v12h14V6H5Z"/><path d="m14.4 8.6 1.1 1-2.4 2.4 2.4 2.4-1.1 1.1-2.4-2.4-2.4 2.4-1-1.1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"/></g></svg>',"table-insert-column-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M20 4c.6 0 1 .4 1 1v2a1 1 0 0 1-2 0V6h-8v12h8v-1a1 1 0 0 1 2 0v2c0 .5-.4 1-.9 1H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h15ZM9 13H5v5h4v-5Zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H17v2a1 1 0 0 1-2 .1V13h-2a1 1 0 0 1-.1-2H15V9c0-.6.4-1 1-1ZM9 6H5v5h4V6Z"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a1 1 0 0 1-1-1v-2a1 1 0 0 1 2 0v1h8V6H5v1a1 1 0 1 1-2 0V5c0-.6.4-1 1-1h15Zm0 9h-4v5h4v-5ZM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H9v2a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H7V9c0-.6.4-1 1-1Zm11-2h-4v5h4V6Z"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4a1 1 0 1 1 0 2H5v6h14V6h-1a1 1 0 0 1 0-2h2c.6 0 1 .4 1 1v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-.6.4-1 1-1h2Zm5 10H5v4h6v-4Zm8 0h-6v4h6v-4ZM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 .1V8H9a1 1 0 0 1 0-2h2V4c0-.6.4-1 1-1Z"/></svg>',"table-insert-row-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 0 1 .1 2H13v2a1 1 0 0 1-2 .1V18H9a1 1 0 0 1-.1-2H11v-2c0-.6.4-1 1-1Zm6 7a1 1 0 0 1 0-2h1v-6H5v6h1a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1V6c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v13c0 .5-.4 1-.9 1H18ZM11 6H5v4h6V6Zm8 0h-6v4h6V6Z"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 9h-4v5h4v-5Zm-6 0H9v5h4v-5Zm0-7H9v5h4V6Zm6 0h-4v5h4V6Z"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15.5V18h3v-2.5H5Zm14-5h-9V18h9v-7.5ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Zm-8 7.5h3v-3H5v3Z"/></svg>',"table-row-numbering-rtl":'<svg width="24" height="24"><path d="M6 4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6Zm0 12h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 11h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 6h8v3H6V6Zm11 0c.6 0 1 .4 1 1v1a1 1 0 1 1-2 0V7c0-.6.4-1 1-1Z"/></svg>',"table-row-numbering":'<svg width="24" height="24"><path d="M18 4a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h12Zm0 12h-8v3h8v-3ZM7 16a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8v-3ZM7 11a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8V6ZM7 6a1 1 0 0 0-1 1v1a1 1 0 1 0 2 0V7c0-.6-.4-1-1-1Z"/></svg>',"table-row-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-9h-6v3h6V6ZM5 9h6V6H5v3Z"/></svg>',"table-split-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM8 15.5H5V18h3v-2.5Zm11-5h-9V18h9v-7.5Zm-2.5 1 1 1-2 2 2 2-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2Zm-8.5-1H5v3h3v-3ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Z"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 11H5v3h6v-3Zm8 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></svg>',table:'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 14v4h6v-4H5Zm14 0h-6v4h6v-4Zm0-6h-6v4h6V8ZM5 12h6V8H5v4Z"/></svg>',"template-add":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 12v4H5a2 2 0 0 0-2 2v3h9.3a6 6 0 0 1-.3-2H5v-1h7a6 6 0 0 1 .8-2H11v-5l-.8-.6a3 3 0 1 1 3.6 0l-.8.6v4.7a6 6 0 0 1 2-1.9V12a5 5 0 1 0-6 0Z"/><path d="M18 15c.5 0 1 .4 1 .9V18h2a1 1 0 0 1 .1 2H19v2a1 1 0 0 1-2 .1V20h-2a1 1 0 0 1-.1-2H17v-2c0-.6.4-1 1-1Z"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14ZM9 16v-4a5 5 0 1 1 6 0v4h4a2 2 0 0 1 2 2v3H3v-3c0-1.1.9-2 2-2h4Zm4 0v-5l.8-.6a3 3 0 1 0-3.6 0l.8.6v5h2Z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 1 1 1 0V6H15v1.6a8 8 0 1 1-6 0Zm-2.6 5.3a.5.5 0 0 0 .3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 0 1 3.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 0 0-4.1 3.7Z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"/></g></svg>',"text-size-decrease":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM14 12a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Z"/></svg>',"text-size-increase":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM17 9a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2c0-.6-.4-1-1-1Z"/></svg>',toc:'<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="m12.7 14.3-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8Zm4.3-3 2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 0 1 2 0Zm-2.2 4.4h2.4L16 12.5l-1.2 3.2Z" fill-rule="evenodd"/></svg>',typography:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M17 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H7a1 1 0 0 1 0-2h10Z"/><path d="m17.5 14 .8-1.7 1.7-.8-1.7-.8-.8-1.7-.8 1.7-1.7.8 1.7.8.8 1.7ZM7 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1 1-2Z"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1ZM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8Z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2ZM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1ZM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5Zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5Zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17Zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19Zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19Z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 0 0-.3-.7A1 1 0 0 0 16 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2Z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6Z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12ZM11 6.4 8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4Z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24Zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7ZM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13Z" fill-rule="nonzero"/></svg>',"vertical-align":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 0 1 1.2 1.5l-.1.1-4.1 3-4-3a1 1 0 0 1 1-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8 4 2.9a1 1 0 0 1-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 0 1-1-1v-4l-2 1.3a1 1 0 0 1-1.2-.1l-.1-.1a1 1 0 0 1 .1-1.3l.1-.1 4.1-3z"/></g></svg>',visualblocks:'<svg width="24" height="24"><path d="M9 19v2H7v-2h2Zm-4 0v2a2 2 0 0 1-2-2h2Zm8 0v2h-2v-2h2Zm8 0a2 2 0 0 1-2 2v-2h2Zm-4 0v2h-2v-2h2ZM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15ZM5 15v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 11v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 7v2H3V7h2Zm16 0v2h-2V7h2ZM5 3v2H3c0-1.1.9-2 2-2Zm8 0v2h-2V3h2Zm6 0a2 2 0 0 1 2 2h-2V3ZM9 3v2H7V3h2Zm8 0v2h-2V3h2Z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6ZM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3Zm.7-3 .3-4a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7l.3 4h1.4Z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-1-9a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0V8Zm-2 4a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-3-5a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>'}}),function(){var N=tinymce.util.Tools.resolve("tinymce.PluginManager");const J=(B,Z,Q)=>{var be;return Q(B,Z.prototype)?!0:((be=B.constructor)===null||be===void 0?void 0:be.name)===Z.name},U=B=>{const Z=typeof B;return B===null?"null":Z==="object"&&Array.isArray(B)?"array":Z==="object"&&J(B,String,(Q,be)=>be.isPrototypeOf(Q))?"string":Z},fe=B=>Z=>U(Z)===B,te=B=>Z=>typeof Z===B,H=B=>Z=>B===Z,Se=fe("string"),Y=fe("object"),ve=fe("array"),tt=H(null),Ut=te("boolean"),yn=B=>B==null,Un=B=>!yn(B),yo=te("function"),Wr=(B,Z)=>{if(ve(B)){for(let Q=0,be=B.length;Q<be;++Q)if(!Z(B[Q]))return!1;return!0}return!1},qn=()=>{},Mo=B=>()=>B,Es=(B,Z)=>B===Z;class Mt{constructor(Z,Q){this.tag=Z,this.value=Q}static some(Z){return new Mt(!0,Z)}static none(){return Mt.singletonNone}fold(Z,Q){return this.tag?Q(this.value):Z()}isSome(){return this.tag}isNone(){return!this.tag}map(Z){return this.tag?Mt.some(Z(this.value)):Mt.none()}bind(Z){return this.tag?Z(this.value):Mt.none()}exists(Z){return this.tag&&Z(this.value)}forall(Z){return!this.tag||Z(this.value)}filter(Z){return!this.tag||Z(this.value)?this:Mt.none()}getOr(Z){return this.tag?this.value:Z}or(Z){return this.tag?this:Z}getOrThunk(Z){return this.tag?this.value:Z()}orThunk(Z){return this.tag?this:Z()}getOrDie(Z){if(this.tag)return this.value;throw new Error(Z??"Called getOrDie on None")}static from(Z){return Un(Z)?Mt.some(Z):Mt.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Z){this.tag&&Z(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Mt.singletonNone=new Mt(!1);const le=Array.prototype.indexOf,gn=Array.prototype.push,sl=(B,Z)=>le.call(B,Z),mo=(B,Z)=>sl(B,Z)>-1,X=(B,Z)=>{const Q=B.length,be=new Array(Q);for(let Ve=0;Ve<Q;Ve++){const kt=B[Ve];be[Ve]=Z(kt,Ve)}return be},qt=(B,Z)=>{for(let Q=0,be=B.length;Q<be;Q++){const Ve=B[Q];Z(Ve,Q)}},vo=(B,Z,Q)=>(qt(B,(be,Ve)=>{Q=Z(Q,be,Ve)}),Q),qe=B=>{const Z=[];for(let Q=0,be=B.length;Q<be;++Q){if(!ve(B[Q]))throw new Error("Arr.flatten item "+Q+" was not an array, input: "+B);gn.apply(Z,B[Q])}return Z},Ee=(B,Z)=>qe(X(B,Z)),Lt=(B,Z)=>{for(let Q=0;Q<B.length;Q++){const be=Z(B[Q],Q);if(be.isSome())return be}return Mt.none()},Ao=(B,Z,Q=Es)=>B.exists(be=>Q(be,Z)),on=B=>{const Z=[],Q=be=>{Z.push(be)};for(let be=0;be<B.length;be++)B[be].each(Q);return Z},xe=(B,Z)=>B?Mt.some(Z):Mt.none(),w=B=>Z=>Z.options.get(B),Jt=B=>{const Z=B.options.register;Z("link_assume_external_targets",{processor:Q=>{const be=Se(Q)||Ut(Q);return be?Q===!0?{value:1,valid:be}:Q==="http"||Q==="https"?{value:Q,valid:be}:{value:0,valid:be}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),Z("link_context_toolbar",{processor:"boolean",default:!1}),Z("link_list",{processor:Q=>Se(Q)||yo(Q)||Wr(Q,Y)}),Z("link_default_target",{processor:"string"}),Z("link_default_protocol",{processor:"string",default:"https"}),Z("link_target_list",{processor:Q=>Ut(Q)||Wr(Q,Y),default:!0}),Z("link_rel_list",{processor:"object[]",default:[]}),Z("link_class_list",{processor:"object[]",default:[]}),Z("link_title",{processor:"boolean",default:!0}),Z("allow_unsafe_link_target",{processor:"boolean",default:!1}),Z("link_quicklink",{processor:"boolean",default:!1})},Pe=w("link_assume_external_targets"),ts=w("link_context_toolbar"),Cu=w("link_list"),Qe=w("link_default_target"),fo=w("link_default_protocol"),sr=w("link_target_list"),ia=w("link_rel_list"),vc=w("link_class_list"),Te=w("link_title"),Ge=w("allow_unsafe_link_target"),D=w("link_quicklink");var rl=tinymce.util.Tools.resolve("tinymce.util.Tools");const hn=B=>Se(B.value)?B.value:"",Si=B=>Se(B.text)?B.text:Se(B.title)?B.title:"",Lo=(B,Z)=>{const Q=[];return rl.each(B,be=>{const Ve=Si(be);if(be.menu!==void 0){const kt=Lo(be.menu,Z);Q.push({text:Ve,items:kt})}else{const kt=Z(be);Q.push({text:Ve,value:kt})}}),Q},Ym=(B=hn)=>Z=>Mt.from(Z).map(Q=>Lo(Q,B)),bt={sanitize:B=>Ym(hn)(B),sanitizeWith:Ym,createUi:(B,Z)=>Q=>({name:B,type:"listbox",label:Z,items:Q}),getValue:hn},pe=Object.keys,Hl=Object.hasOwnProperty,ca=(B,Z)=>{const Q=pe(B);for(let be=0,Ve=Q.length;be<Ve;be++){const kt=Q[be],Vn=B[kt];Z(Vn,kt)}},xt=B=>(Z,Q)=>{B[Q]=Z},Ei=(B,Z,Q,be)=>{ca(B,(Ve,kt)=>{(Z(Ve,kt)?Q:be)(Ve,kt)})},Ks=(B,Z)=>{const Q={};return Ei(B,Z,xt(Q),qn),Q},xc=(B,Z)=>Hl.call(B,Z),xo=(B,Z)=>xc(B,Z)&&B[Z]!==void 0&&B[Z]!==null;var Vs=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),vd=tinymce.util.Tools.resolve("tinymce.util.URI");const Is=B=>Un(B)&&B.nodeName.toLowerCase()==="a",Ho=B=>Is(B)&&!!zo(B),io=(B,Z)=>{if(B.collapsed)return[];{const Q=B.cloneContents(),be=Q.firstChild,Ve=new Vs(be,Q),kt=[];let Vn=be;do Z(Vn)&&kt.push(Vn);while(Vn=Ve.next());return kt}},wc=B=>/^\w+:/i.test(B),zo=B=>{var Z,Q;return(Q=(Z=B.getAttribute("data-mce-href"))!==null&&Z!==void 0?Z:B.getAttribute("href"))!==null&&Q!==void 0?Q:""},ro=(B,Z)=>{const Q=["noopener"],be=B?B.split(/\s+/):[],Ve=In=>rl.trim(In.sort().join(" ")),kt=In=>(In=Vn(In),In.length>0?In.concat(Q):Q),Vn=In=>In.filter(Co=>rl.inArray(Q,Co)===-1),eo=Z?kt(be):Vn(be);return eo.length>0?Ve(eo):""},Ti=B=>B.replace(/\uFEFF/g,""),$o=(B,Z)=>(Z=Z||da(B.selection.getRng())[0]||B.selection.getNode(),bn(Z)?Mt.from(B.dom.select("a[href]",Z)[0]):Mt.from(B.dom.getParent(Z,"a[href]"))),Uo=(B,Z)=>$o(B,Z).isSome(),Fs=(B,Z)=>{const Q=Z.fold(()=>B.getContent({format:"text"}),be=>be.innerText||be.textContent||"");return Ti(Q)},da=B=>io(B,Ho),Ai=B=>rl.grep(B,Ho),Po=B=>Ai(B).length>0,xd=B=>da(B).length>0,Ue=B=>{const Z=B.schema.getTextInlineElements(),Q=kt=>kt.nodeType===1&&!Is(kt)&&!xc(Z,kt.nodeName.toLowerCase());if($o(B).exists(kt=>kt.hasAttribute("data-mce-block")))return!1;const Ve=B.selection.getRng();return Ve.collapsed?!0:io(Ve,Q).length===0},bn=B=>Un(B)&&B.nodeName==="FIGURE"&&/\bimage\b/i.test(B.className),Nr=B=>vo(["title","rel","class","target"],(Q,be)=>(B[be].each(Ve=>{Q[be]=Ve.length>0?Ve:null}),Q),{href:B.href}),pr=(B,Z)=>(Z==="http"||Z==="https")&&!wc(B)?Z+"://"+B:B,_u=(B,Z)=>{const Q={...Z};if(ia(B).length===0&&!Ge(B)){const be=ro(Q.rel,Q.target==="_blank");Q.rel=be||null}return Mt.from(Q.target).isNone()&&sr(B)===!1&&(Q.target=Qe(B)),Q.href=pr(Q.href,Pe(B)),Q},al=(B,Z,Q,be)=>{Q.each(Ve=>{xc(Z,"innerText")?Z.innerText=Ve:Z.textContent=Ve}),B.dom.setAttribs(Z,be),B.selection.select(Z)},Ni=(B,Z,Q,be)=>{const Ve=B.dom;bn(Z)?ku(Ve,Z,be):Q.fold(()=>{B.execCommand("mceInsertLink",!1,be)},kt=>{B.insertContent(Ve.createHTML("a",be,Ve.encode(kt)))})},ll=(B,Z,Q)=>{const be=B.selection.getNode(),Ve=$o(B,be),kt=_u(B,Nr(Q));B.undoManager.transact(()=>{Q.href===Z.href&&Z.attach(),Ve.fold(()=>{Ni(B,be,Q.text,kt)},Vn=>{B.focus(),al(B,Vn,Q.text,kt)})})},wd=B=>{const Z=B.dom,Q=B.selection,be=Q.getBookmark(),Ve=Q.getRng().cloneRange(),kt=Z.getParent(Ve.startContainer,"a[href]",B.getBody()),Vn=Z.getParent(Ve.endContainer,"a[href]",B.getBody());kt&&Ve.setStartBefore(kt),Vn&&Ve.setEndAfter(Vn),Q.setRng(Ve),B.execCommand("unlink"),Q.moveToBookmark(be)},Zn=B=>{B.undoManager.transact(()=>{const Z=B.selection.getNode();bn(Z)?_d(B,Z):wd(B),B.focus()})},_t=B=>{const{class:Z,href:Q,rel:be,target:Ve,text:kt,title:Vn}=B;return Ks({class:Z.getOrNull(),href:Q,rel:be.getOrNull(),target:Ve.getOrNull(),text:kt.getOrNull(),title:Vn.getOrNull()},(eo,In)=>tt(eo)===!1)},zl=(B,Z)=>{const Q=B.options.get,be={allow_html_data_urls:Q("allow_html_data_urls"),allow_script_urls:Q("allow_script_urls"),allow_svg_data_urls:Q("allow_svg_data_urls")},Ve=Z.href;return{...Z,href:vd.isDomSafe(Ve,"a",be)?Ve:""}},Cd=(B,Z,Q)=>{const be=zl(B,Q);B.hasPlugin("rtc",!0)?B.execCommand("createlink",!1,_t(be)):ll(B,Z,be)},Di=B=>{B.hasPlugin("rtc",!0)?B.execCommand("unlink"):Zn(B)},_d=(B,Z)=>{var Q;const be=B.dom.select("img",Z)[0];if(be){const Ve=B.dom.getParents(be,"a[href]",Z)[0];Ve&&((Q=Ve.parentNode)===null||Q===void 0||Q.insertBefore(be,Ve),B.dom.remove(Ve))}},ku=(B,Z,Q)=>{var be;const Ve=B.select("img",Z)[0];if(Ve){const kt=B.create("a",Q);(be=Ve.parentNode)===null||be===void 0||be.insertBefore(kt,Ve),kt.appendChild(Ve)}},Ts=B=>xo(B,"items"),Cc=(B,Z)=>Lt(Z,Q=>Ts(Q)?Cc(B,Q.items):xe(Q.value===B,Q)),Ul=(B,Z,Q,be)=>{const Ve=be[Z],kt=B.length>0;return Ve!==void 0?Cc(Ve,Q).map(Vn=>({url:{value:Vn.value,meta:{text:kt?B:Vn.text,attach:qn}},text:kt?B:Vn.text})):Mt.none()},Oi=(B,Z)=>Z==="link"?B.link:Z==="anchor"?B.anchor:Mt.none(),il={init:(B,Z)=>{const Q={text:B.text,title:B.title},be=In=>{var Co;return xe(Q.title.length<=0,Mt.from((Co=In.meta)===null||Co===void 0?void 0:Co.title).getOr(""))},Ve=In=>{var Co;return xe(Q.text.length<=0,Mt.from((Co=In.meta)===null||Co===void 0?void 0:Co.text).getOr(In.value))},kt=In=>{const Co=Ve(In.url),pn=be(In.url);return Co.isSome()||pn.isSome()?Mt.some({...Co.map(Do=>({text:Do})).getOr({}),...pn.map(Do=>({title:Do})).getOr({})}):Mt.none()},Vn=(In,Co)=>{const pn=Oi(Z,Co).getOr([]);return Ul(Q.text,Co,pn,In)};return{onChange:(In,Co)=>{const pn=Co.name;return pn==="url"?kt(In()):mo(["anchor","link"],pn)?Vn(In(),pn):((pn==="text"||pn==="title")&&(Q[pn]=In()[pn]),Mt.none())}}},getDelta:Ul};var Su=tinymce.util.Tools.resolve("tinymce.util.Delay");const Ys=(B,Z,Q)=>{const be=B.selection.getRng();Su.setEditorTimeout(B,()=>{B.windowManager.confirm(Z,Ve=>{B.selection.setRng(be),Q(Ve)})})},cl=B=>{const Z=B.href;return Z.indexOf("@")>0&&Z.indexOf("/")===-1&&Z.indexOf("mailto:")===-1?Mt.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:be=>({...be,href:"mailto:"+Z})}):Mt.none()},_c=(B,Z)=>Q=>{const be=Q.href;return B===1&&!wc(be)||B===0&&/^\s*www(\.|\d\.)/i.test(be)?Mt.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${Z}:// prefix?`,preprocess:kt=>({...kt,href:Z+"://"+be})}):Mt.none()},Bi={preprocess:(B,Z)=>Lt([cl,_c(Pe(B),fo(B))],Q=>Q(Z)).fold(()=>Promise.resolve(Z),Q=>new Promise(be=>{Ys(B,Q.message,Ve=>{be(Ve?Q.preprocess(Z):Z)})}))},ze={getAnchors:B=>{const Z=B.dom.select("a:not([href])"),Q=Ee(Z,be=>{const Ve=be.name||be.id;return Ve?[{text:Ve,value:"#"+Ve}]:[]});return Q.length>0?Mt.some([{text:"None",value:""}].concat(Q)):Mt.none()}},kc={getClasses:B=>{const Z=vc(B);return Z.length>0?bt.sanitize(Z):Mt.none()}},Jm=B=>{try{return Mt.some(JSON.parse(B))}catch{return Mt.none()}},Gg={getLinks:B=>{const Z=be=>B.convertURL(be.value||be.url||"","href"),Q=Cu(B);return new Promise(be=>{Se(Q)?fetch(Q).then(Ve=>Ve.ok?Ve.text().then(Jm):Promise.reject()).then(be,()=>be(Mt.none())):yo(Q)?Q(Ve=>be(Mt.some(Ve))):be(Mt.from(Q))}).then(be=>be.bind(bt.sanitizeWith(Z)).map(Ve=>Ve.length>0?[{text:"None",value:""}].concat(Ve):Ve))}},F1={getRels:(B,Z)=>{const Q=ia(B);if(Q.length>0){const be=Ao(Z,"_blank"),Ve=Ge(B)===!1,kt=eo=>ro(bt.getValue(eo),be);return(Ve?bt.sanitizeWith(kt):bt.sanitize)(Q)}return Mt.none()}},Sc=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],ns={getTargets:B=>{const Z=sr(B);return ve(Z)?bt.sanitize(Z).orThunk(()=>Mt.some(Sc)):Z===!1?Mt.none():Mt.some(Sc)}},wo=(B,Z,Q)=>{const be=B.getAttrib(Z,Q);return be!==null&&be.length>0?Mt.some(be):Mt.none()},Tu=(B,Z)=>{const Q=B.dom,Ve=Ue(B)?Mt.some(Fs(B.selection,Z)):Mt.none(),kt=Z.bind(pn=>Mt.from(Q.getAttrib(pn,"href"))),Vn=Z.bind(pn=>Mt.from(Q.getAttrib(pn,"target"))),eo=Z.bind(pn=>wo(Q,pn,"rel")),In=Z.bind(pn=>wo(Q,pn,"class")),Co=Z.bind(pn=>wo(Q,pn,"title"));return{url:kt,text:Ve,title:Co,target:Vn,rel:eo,linkClass:In}},Zl={collect:(B,Z)=>Gg.getLinks(B).then(Q=>{const be=Tu(B,Z);return{anchor:be,catalogs:{targets:ns.getTargets(B),rels:F1.getRels(B,be.target),classes:kc.getClasses(B),anchor:ze.getAnchors(B),link:Q},optNode:Z,flags:{titleEnabled:Te(B)}}})},kd=(B,Z)=>Q=>{const be=Q.getData();if(!be.url.value){Di(B),Q.close();return}const Ve=eo=>Mt.from(be[eo]).filter(In=>!Ao(Z.anchor[eo],In)),kt={href:be.url.value,text:Ve("text"),target:Ve("target"),rel:Ve("rel"),class:Ve("linkClass"),title:Ve("title")},Vn={href:be.url.value,attach:be.url.meta!==void 0&&be.url.meta.attach?be.url.meta.attach:qn};Bi.preprocess(B,kt).then(eo=>{Cd(B,Vn,eo)}),Q.close()},Au=B=>{const Z=$o(B);return Zl.collect(B,Z)},No=(B,Z)=>{const Q=B.anchor,be=Q.url.getOr("");return{url:{value:be,meta:{original:{value:be}}},text:Q.text.getOr(""),title:Q.title.getOr(""),anchor:be,link:be,rel:Q.rel.getOr(""),target:Q.target.or(Z).getOr(""),linkClass:Q.linkClass.getOr("")}},ua=(B,Z,Q)=>{const be=[{name:"url",type:"urlinput",filetype:"file",label:"URL",picker_text:"Browse links"}],Ve=B.anchor.text.map(()=>({name:"text",type:"input",label:"Text to display"})).toArray(),kt=B.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],Vn=Mt.from(Qe(Q)),eo=No(B,Vn),In=B.catalogs,Co=il.init(eo,In);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:qe([be,Ve,kt,on([In.anchor.map(bt.createUi("anchor","Anchors")),In.rels.map(bt.createUi("rel","Rel")),In.targets.map(bt.createUi("target","Open link in...")),In.link.map(bt.createUi("link","Link list")),In.classes.map(bt.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:eo,onChange:(Do,{name:ml})=>{Co.onChange(Do.getData,{name:ml}).each(tf=>{Do.setData(tf)})},onSubmit:Z}},Mi=B=>{Au(B).then(Q=>{const be=kd(B,Q);return ua(Q,be,B)}).then(Q=>{B.windowManager.open(Q)})},Nu=B=>{B.addCommand("mceLink",(Z,Q)=>{(Q==null?void 0:Q.dialog)===!0||!D(B)?Mi(B):B.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"})})};var Sd=tinymce.util.Tools.resolve("tinymce.util.VK");const Gr=(B,Z)=>{document.body.appendChild(B),B.dispatchEvent(Z),document.body.removeChild(B)},Du=B=>{const Z=document.createElement("a");Z.target="_blank",Z.href=B,Z.rel="noreferrer noopener";const Q=document.createEvent("MouseEvents");Q.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Gr(Z,Q)},qg=(B,Z)=>B.dom.getParent(Z,"a[href]"),Ed=B=>qg(B,B.selection.getStart()),Rn=B=>B.altKey===!0&&B.shiftKey===!1&&B.ctrlKey===!1&&B.metaKey===!1,Wl=(B,Z)=>{if(Z){const Q=zo(Z);if(/^#/.test(Q)){const be=B.dom.select(Q);be.length&&B.selection.scrollIntoView(be[0],!0)}else Du(Z.href)}},br=B=>()=>{B.execCommand("mceLink",!1,{dialog:!0})},dl=B=>()=>{Wl(B,Ed(B))},Ec=B=>{B.on("click",Z=>{const Q=qg(B,Z.target);Q&&Sd.metaKeyPressed(Z)&&(Z.preventDefault(),Wl(B,Q))}),B.on("keydown",Z=>{if(!Z.isDefaultPrevented()&&Z.keyCode===13&&Rn(Z)){const Q=Ed(B);Q&&(Z.preventDefault(),Wl(B,Q))}})},Ra=(B,Z)=>(B.on("NodeChange",Z),()=>B.off("NodeChange",Z)),yr=B=>Z=>{const Q=()=>{Z.setActive(!B.mode.isReadOnly()&&Uo(B,B.selection.getNode())),Z.setEnabled(B.selection.isEditable())};return Q(),Ra(B,Q)},ef=B=>Z=>{const Q=()=>{Z.setEnabled(B.selection.isEditable())};return Q(),Ra(B,Q)},ma=B=>(B.selection.isCollapsed()?Ai(B.dom.getParents(B.selection.getStart())):da(B.selection.getRng())).length===1,Ou=B=>Z=>{const Q=()=>Z.setEnabled(ma(B));return Q(),Ra(B,Q)},Td=B=>Z=>{const Q=kt=>Po(kt)||xd(B.selection.getRng()),be=B.dom.getParents(B.selection.getStart()),Ve=kt=>{Z.setEnabled(Q(kt)&&B.selection.isEditable())};return Ve(be),Ra(B,kt=>Ve(kt.parents))},Ad=B=>{B.addShortcut("Meta+K","",()=>{B.execCommand("mceLink")})},qr=B=>{B.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:br(B),onSetup:yr(B)}),B.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:dl(B),onSetup:Ou(B)}),B.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>Di(B),onSetup:Td(B)})},ul=B=>{B.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:dl(B),onSetup:Ou(B)}),B.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onSetup:ef(B),onAction:br(B)}),B.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>Di(B),onSetup:Td(B)})},Nd=B=>{const Z="link unlink openlink",Q="link";B.ui.registry.addContextMenu("link",{update:be=>B.dom.isEditable(be)?Po(B.dom.getParents(be,"a"))?Z:Q:""})},Bu=B=>{const Z=Ve=>{Ve.selection.collapse(!1)},Q=Ve=>{const kt=B.selection.getNode();return Ve.setEnabled(Uo(B,kt)),qn},be=Ve=>{const kt=$o(B),Vn=Ue(B);if(kt.isNone()&&Vn){const eo=Fs(B.selection,kt);return xe(eo.length===0,Ve)}else return Mt.none()};B.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:yr(B)},label:"Link",predicate:Ve=>ts(B)&&Uo(B,Ve),initValue:()=>$o(B).fold(Mo(""),zo),commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:Ve=>{const kt=B.selection.getNode();return Ve.setActive(Uo(B,kt)),yr(B)(Ve)},onAction:Ve=>{const kt=Ve.getValue(),Vn=be(kt);Cd(B,{href:kt,attach:qn},{href:kt,text:Vn,title:Mt.none(),rel:Mt.none(),target:Mt.none(),class:Mt.none()}),Z(B),Ve.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:Q,onAction:Ve=>{Di(B),Ve.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:Q,onAction:Ve=>{dl(B)(),Ve.hide()}}]})};var Mu=()=>{N.add("link",B=>{Jt(B),qr(B),ul(B),Nd(B),Bu(B),Ec(B),Nu(B),Ad(B)})};Mu()}(),function(){var N=tinymce.util.Tools.resolve("tinymce.PluginManager");const J=Object.getPrototypeOf,U=(E,R,F)=>{var ce;return F(E,R.prototype)?!0:((ce=E.constructor)===null||ce===void 0?void 0:ce.name)===R.name},fe=E=>{const R=typeof E;return E===null?"null":R==="object"&&Array.isArray(E)?"array":R==="object"&&U(E,String,(F,ce)=>ce.isPrototypeOf(F))?"string":R},te=E=>R=>fe(R)===E,H=E=>R=>typeof R===E,Se=E=>R=>E===R,Y=(E,R)=>tt(E)&&U(E,R,(F,ce)=>J(F)===ce),ve=te("string"),tt=te("object"),Ut=E=>Y(E,Object),yn=te("array"),Un=Se(null),yo=H("boolean"),Wr=E=>E==null,qn=E=>!Wr(E),Mo=H("function"),Es=H("number"),Mt=(E,R)=>{if(yn(E)){for(let F=0,ce=E.length;F<ce;++F)if(!R(E[F]))return!1;return!0}return!1},le=()=>{};class gn{constructor(R,F){this.tag=R,this.value=F}static some(R){return new gn(!0,R)}static none(){return gn.singletonNone}fold(R,F){return this.tag?F(this.value):R()}isSome(){return this.tag}isNone(){return!this.tag}map(R){return this.tag?gn.some(R(this.value)):gn.none()}bind(R){return this.tag?R(this.value):gn.none()}exists(R){return this.tag&&R(this.value)}forall(R){return!this.tag||R(this.value)}filter(R){return!this.tag||R(this.value)?this:gn.none()}getOr(R){return this.tag?this.value:R}or(R){return this.tag?this:R}getOrThunk(R){return this.tag?this.value:R()}orThunk(R){return this.tag?this:R()}getOrDie(R){if(this.tag)return this.value;throw new Error(R??"Called getOrDie on None")}static from(R){return qn(R)?gn.some(R):gn.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(R){this.tag&&R(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}gn.singletonNone=new gn(!1);const sl=Object.keys,mo=Object.hasOwnProperty,X=(E,R)=>{const F=sl(E);for(let ce=0,nt=F.length;ce<nt;ce++){const dn=F[ce],dt=E[dn];R(dt,dn)}},qt=E=>(R,F)=>{E[F]=R},vo=(E,R,F,ce)=>{X(E,(nt,dn)=>{(R(nt,dn)?F:ce)(nt,dn)})},qe=(E,R)=>{const F={};return vo(E,R,qt(F),le),F},Ee=(E,R)=>mo.call(E,R),Lt=(E,R)=>Ee(E,R)&&E[R]!==void 0&&E[R]!==null,Ao=Array.prototype.push,on=E=>{const R=[];for(let F=0,ce=E.length;F<ce;++F){if(!yn(E[F]))throw new Error("Arr.flatten item "+F+" was not an array, input: "+E);Ao.apply(R,E[F])}return R},xe=(E,R)=>R>=0&&R<E.length?gn.some(E[R]):gn.none(),w=E=>xe(E,0),Jt=(E,R)=>{for(let F=0;F<E.length;F++){const ce=R(E[F],F);if(ce.isSome())return ce}return gn.none()};typeof window<"u"||Function("return this;")();const Pe=(E,R,F)=>{if(ve(F)||yo(F)||Es(F))E.setAttribute(R,F+"");else throw console.error("Invalid call to Attribute.set. Key ",R,":: Value ",F,":: Element ",E),new Error("Attribute value was not simple")},ts=(E,R,F)=>{Pe(E.dom,R,F)},Cu=(E,R)=>{E.dom.removeAttribute(R)},Qe=(E,R)=>{const ce=(R||document).createElement("div");if(ce.innerHTML=E,!ce.hasChildNodes()||ce.childNodes.length>1){const nt="HTML does not have a single root node";throw console.error(nt,E),new Error(nt)}return ia(ce.childNodes[0])},fo=(E,R)=>{const ce=(R||document).createElement(E);return ia(ce)},sr=(E,R)=>{const ce=(R||document).createTextNode(E);return ia(ce)},ia=E=>{if(E==null)throw new Error("Node cannot be null or undefined");return{dom:E}},Te={fromHtml:Qe,fromTag:fo,fromText:sr,fromDom:ia,fromPoint:(E,R,F)=>gn.from(E.dom.elementFromPoint(R,F)).map(ia)};var Ge=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),D=tinymce.util.Tools.resolve("tinymce.util.URI");const rl=E=>E.length>0,hn=E=>R=>R.options.get(E),Si=E=>{const R=E.options.register;R("image_dimensions",{processor:"boolean",default:!0}),R("image_advtab",{processor:"boolean",default:!1}),R("image_uploadtab",{processor:"boolean",default:!0}),R("image_prepend_url",{processor:"string",default:""}),R("image_class_list",{processor:"object[]"}),R("image_description",{processor:"boolean",default:!0}),R("image_title",{processor:"boolean",default:!1}),R("image_caption",{processor:"boolean",default:!1}),R("image_list",{processor:F=>{const ce=F===!1||ve(F)||Mt(F,tt)||Mo(F);return ce?{value:F,valid:ce}:{valid:!1,message:"Must be false, a string, an array or a function."}},default:!1})},Lo=hn("image_dimensions"),Ym=hn("image_advtab"),Vt=hn("image_uploadtab"),Qn=hn("image_prepend_url"),bt=hn("image_class_list"),pe=hn("image_description"),Hl=hn("image_title"),ca=hn("image_caption"),xt=hn("image_list"),Ei=hn("a11y_advanced_options"),Ks=hn("automatic_uploads"),xc=E=>rl(E.options.get("images_upload_url")),xo=E=>qn(E.options.get("images_upload_handler")),Vs=(E,R)=>Math.max(parseInt(E,10),parseInt(R,10)),vd=E=>new Promise(R=>{const F=document.createElement("img"),ce=dn=>{F.onload=F.onerror=null,F.parentNode&&F.parentNode.removeChild(F),R(dn)};F.onload=()=>{const dn=Vs(F.width,F.clientWidth),dt=Vs(F.height,F.clientHeight),xs={width:dn,height:dt};ce(Promise.resolve(xs))},F.onerror=()=>{ce(Promise.reject(`Failed to get image dimensions for: ${E}`))};const nt=F.style;nt.visibility="hidden",nt.position="fixed",nt.bottom=nt.left="0px",nt.width=nt.height="auto",document.body.appendChild(F),F.src=E}),Is=E=>(E&&(E=E.replace(/px$/,"")),E),Ho=E=>(E.length>0&&/^[0-9]+$/.test(E)&&(E+="px"),E),io=E=>{if(E.margin){const R=String(E.margin).split(" ");switch(R.length){case 1:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[0],E["margin-bottom"]=E["margin-bottom"]||R[0],E["margin-left"]=E["margin-left"]||R[0];break;case 2:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[1],E["margin-bottom"]=E["margin-bottom"]||R[0],E["margin-left"]=E["margin-left"]||R[1];break;case 3:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[1],E["margin-bottom"]=E["margin-bottom"]||R[2],E["margin-left"]=E["margin-left"]||R[1];break;case 4:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[1],E["margin-bottom"]=E["margin-bottom"]||R[2],E["margin-left"]=E["margin-left"]||R[3]}delete E.margin}return E},wc=(E,R)=>{const F=xt(E);ve(F)?fetch(F).then(ce=>{ce.ok&&ce.json().then(R)}):Mo(F)?F(R):R(F)},zo=(E,R,F)=>{const ce=()=>{F.onload=F.onerror=null,E.selection&&(E.selection.select(F),E.nodeChanged())};F.onload=()=>{!R.width&&!R.height&&Lo(E)&&E.dom.setAttribs(F,{width:String(F.clientWidth),height:String(F.clientHeight)}),ce()},F.onerror=ce},ro=E=>new Promise((R,F)=>{const ce=new FileReader;ce.onload=()=>{R(ce.result)},ce.onerror=()=>{var nt;F((nt=ce.error)===null||nt===void 0?void 0:nt.message)},ce.readAsDataURL(E)}),Ti=E=>E.nodeName==="IMG"&&(E.hasAttribute("data-mce-object")||E.hasAttribute("data-mce-placeholder")),$o=(E,R)=>{const F=E.options.get;return D.isDomSafe(R,"img",{allow_html_data_urls:F("allow_html_data_urls"),allow_script_urls:F("allow_script_urls"),allow_svg_data_urls:F("allow_svg_data_urls")})},Uo=Ge.DOM,Fs=E=>E.style.marginLeft&&E.style.marginRight&&E.style.marginLeft===E.style.marginRight?Is(E.style.marginLeft):"",da=E=>E.style.marginTop&&E.style.marginBottom&&E.style.marginTop===E.style.marginBottom?Is(E.style.marginTop):"",Ai=E=>E.style.borderWidth?Is(E.style.borderWidth):"",Po=(E,R)=>{var F;return E.hasAttribute(R)&&(F=E.getAttribute(R))!==null&&F!==void 0?F:""},xd=E=>E.parentNode!==null&&E.parentNode.nodeName==="FIGURE",Ue=(E,R,F)=>{F===""||F===null?E.removeAttribute(R):E.setAttribute(R,F)},bn=E=>{const R=Uo.create("figure",{class:"image"});Uo.insertAfter(R,E),R.appendChild(E),R.appendChild(Uo.create("figcaption",{contentEditable:"true"},"Caption")),R.contentEditable="false"},Nr=E=>{const R=E.parentNode;qn(R)&&(Uo.insertAfter(E,R),Uo.remove(R))},pr=E=>{xd(E)?Nr(E):bn(E)},_u=(E,R)=>{const F=E.getAttribute("style"),ce=R(F!==null?F:"");ce.length>0?(E.setAttribute("style",ce),E.setAttribute("data-mce-style",ce)):E.removeAttribute("style")},al=(E,R)=>(F,ce,nt)=>{const dn=F.style;dn[ce]?(dn[ce]=Ho(nt),_u(F,R)):Ue(F,ce,nt)},Ni=(E,R)=>E.style[R]?Is(E.style[R]):Po(E,R),ll=(E,R)=>{const F=Ho(R);E.style.marginLeft=F,E.style.marginRight=F},wd=(E,R)=>{const F=Ho(R);E.style.marginTop=F,E.style.marginBottom=F},Zn=(E,R)=>{const F=Ho(R);E.style.borderWidth=F},_t=(E,R)=>{E.style.borderStyle=R},zl=E=>{var R;return(R=E.style.borderStyle)!==null&&R!==void 0?R:""},Cd=E=>qn(E)&&E.nodeName==="FIGURE",Di=E=>E.nodeName==="IMG",_d=E=>Uo.getAttrib(E,"alt").length===0&&Uo.getAttrib(E,"role")==="presentation",ku=E=>_d(E)?"":Po(E,"alt"),Ts=()=>({src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}),Cc=(E,R)=>{var F;const ce=document.createElement("img");return Ue(ce,"style",R.style),(Fs(ce)||R.hspace!=="")&&ll(ce,R.hspace),(da(ce)||R.vspace!=="")&&wd(ce,R.vspace),(Ai(ce)||R.border!=="")&&Zn(ce,R.border),(zl(ce)||R.borderStyle!=="")&&_t(ce,R.borderStyle),E((F=ce.getAttribute("style"))!==null&&F!==void 0?F:"")},Ul=(E,R)=>{const F=document.createElement("img");if(cl(E,{...R,caption:!1},F),il(F,R.alt,R.isDecorative),R.caption){const ce=Uo.create("figure",{class:"image"});return ce.appendChild(F),ce.appendChild(Uo.create("figcaption",{contentEditable:"true"},"Caption")),ce.contentEditable="false",ce}else return F},Oi=(E,R)=>({src:Po(R,"src"),alt:ku(R),title:Po(R,"title"),width:Ni(R,"width"),height:Ni(R,"height"),class:Po(R,"class"),style:E(Po(R,"style")),caption:xd(R),hspace:Fs(R),vspace:da(R),border:Ai(R),borderStyle:zl(R),isDecorative:_d(R)}),Dr=(E,R,F,ce,nt)=>{F[ce]!==R[ce]&&nt(E,ce,String(F[ce]))},il=(E,R,F)=>{if(F){Uo.setAttrib(E,"role","presentation");const ce=Te.fromDom(E);ts(ce,"alt","")}else{if(Un(R)){const ce=Te.fromDom(E);Cu(ce,"alt")}else{const ce=Te.fromDom(E);ts(ce,"alt",R)}Uo.getAttrib(E,"role")==="presentation"&&Uo.setAttrib(E,"role","")}},Su=(E,R,F)=>{(F.alt!==R.alt||F.isDecorative!==R.isDecorative)&&il(E,F.alt,F.isDecorative)},Ys=(E,R)=>(F,ce,nt)=>{E(F,nt),_u(F,R)},cl=(E,R,F)=>{const ce=Oi(E,F);Dr(F,ce,R,"caption",(nt,dn,dt)=>pr(nt)),Dr(F,ce,R,"src",Ue),Dr(F,ce,R,"title",Ue),Dr(F,ce,R,"width",al("width",E)),Dr(F,ce,R,"height",al("height",E)),Dr(F,ce,R,"class",Ue),Dr(F,ce,R,"style",Ys((nt,dn)=>Ue(nt,"style",dn),E)),Dr(F,ce,R,"hspace",Ys(ll,E)),Dr(F,ce,R,"vspace",Ys(wd,E)),Dr(F,ce,R,"border",Ys(Zn,E)),Dr(F,ce,R,"borderStyle",Ys(_t,E)),Su(F,ce,R)},_c=(E,R)=>{const F=E.dom.styles.parse(R),ce=io(F),nt=E.dom.styles.parse(E.dom.styles.serialize(ce));return E.dom.styles.serialize(nt)},Eu=E=>{const R=E.selection.getNode(),F=E.dom.getParent(R,"figure.image");return F?E.dom.select("img",F)[0]:R&&(R.nodeName!=="IMG"||Ti(R))?null:R},Bi=(E,R)=>{var F;const ce=E.dom,nt=qe(E.schema.getTextBlockElements(),(dt,xs)=>!E.schema.isValidChild(xs,"figure")),dn=ce.getParent(R.parentNode,dt=>Lt(nt,dt.nodeName),E.getBody());return dn&&(F=ce.split(dn,R))!==null&&F!==void 0?F:R},r2=E=>{const R=Eu(E);return R?Oi(F=>_c(E,F),R):Ts()},ze=(E,R)=>{const F=Ul(nt=>_c(E,nt),R);E.dom.setAttrib(F,"data-mce-id","__mcenew"),E.focus(),E.selection.setContent(F.outerHTML);const ce=E.dom.select('*[data-mce-id="__mcenew"]')[0];if(E.dom.setAttrib(ce,"data-mce-id",null),Cd(ce)){const nt=Bi(E,ce);E.selection.select(nt)}else E.selection.select(ce)},Xm=(E,R)=>{E.dom.setAttrib(R,"src",R.getAttribute("src"))},kc=(E,R)=>{if(R){const F=E.dom.is(R.parentNode,"figure.image")?R.parentNode:R;E.dom.remove(F),E.focus(),E.nodeChanged(),E.dom.isEmpty(E.getBody())&&(E.setContent(""),E.selection.setCursorLocation())}},Jm=(E,R)=>{const F=Eu(E);if(F)if(cl(ce=>_c(E,ce),R,F),Xm(E,F),Cd(F.parentNode)){const ce=F.parentNode;Bi(E,ce),E.selection.select(F.parentNode)}else E.selection.select(F),zo(E,R,F)},jg=(E,R)=>{const F=R.src;return{...R,src:$o(E,F)?F:""}},Gg=(E,R)=>{const F=Eu(E);if(F){const nt={...Oi(dt=>_c(E,dt),F),...R},dn=jg(E,nt);nt.src?Jm(E,dn):kc(E,F)}else R.src&&ze(E,{...Ts(),...R})},Sc=(E=>(...R)=>{if(R.length===0)throw new Error("Can't merge zero objects");const F={};for(let ce=0;ce<R.length;ce++){const nt=R[ce];for(const dn in nt)Ee(nt,dn)&&(F[dn]=E(F[dn],nt[dn]))}return F})((E,R)=>Ut(E)&&Ut(R)?Sc(E,R):R);var Qm=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),ns=tinymce.util.Tools.resolve("tinymce.util.Tools");const wo=E=>ve(E.value)?E.value:"",Tu=E=>ve(E.text)?E.text:ve(E.title)?E.title:"",jr=(E,R)=>{const F=[];return ns.each(E,ce=>{const nt=Tu(ce);if(ce.menu!==void 0){const dn=jr(ce.menu,R);F.push({text:nt,items:dn})}else{const dn=R(ce);F.push({text:nt,value:dn})}}),F},Zl=(E=wo)=>R=>R?gn.from(R).map(F=>jr(F,E)):gn.none(),kd=E=>Zl(wo)(E),Au=E=>Ee(E,"items"),No=(E,R)=>Jt(E,F=>Au(F)?No(F.items,R):F.value===R?gn.some(F):gn.none()),Mi={sanitizer:Zl,sanitize:kd,findEntry:(E,R)=>E.bind(F=>No(F,R))},Sd={makeTab:E=>({title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]})},Gr=E=>{const R=Mi.sanitizer(fl=>E.convertURL(fl.value||fl.url||"","src")),F=new Promise(fl=>{wc(E,nf=>{fl(R(nf).map(os=>on([[{text:"None",value:""}],os])))})}),ce=Mi.sanitize(bt(E)),nt=Ym(E),dn=Vt(E),dt=xc(E),xs=xo(E),Ne=r2(E),go=pe(E),Kr=Hl(E),Zo=Lo(E),Ns=ca(E),L1=Ei(E),vn=Ks(E),Pu=gn.some(Qn(E)).filter(fl=>ve(fl)&&fl.length>0);return F.then(fl=>({image:Ne,imageList:fl,classList:ce,hasAdvTab:nt,hasUploadTab:dn,hasUploadUrl:dt,hasUploadHandler:xs,hasDescription:go,hasImageTitle:Kr,hasDimensions:Zo,hasImageCaption:Ns,prependURL:Pu,hasAccessibilityOptions:L1,automaticUploads:vn}))},Du=E=>{const R={name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"},F=E.imageList.map(Kr=>({name:"images",type:"listbox",label:"Image list",items:Kr})),ce={name:"alt",type:"input",label:"Alternative description",enabled:!(E.hasAccessibilityOptions&&E.image.isDecorative)},nt={name:"title",type:"input",label:"Image title"},dn={name:"dimensions",type:"sizeinput"},dt={type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]},xs=E.classList.map(Kr=>({name:"classes",type:"listbox",label:"Class",items:Kr})),Ne={type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]},go=Kr=>Kr?{type:"grid",columns:2}:{type:"panel"};return on([[R],F.toArray(),E.hasAccessibilityOptions&&E.hasDescription?[dt]:[],E.hasDescription?[ce]:[],E.hasImageTitle?[nt]:[],E.hasDimensions?[dn]:[],[{...go(E.classList.isSome()&&E.hasImageCaption),items:on([xs.toArray(),E.hasImageCaption?[Ne]:[]])}]])},Ed={makeTab:E=>({title:"General",name:"general",items:Du(E)}),makeItems:Du},Wl={makeTab:E=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]})},br=E=>({prevImage:Mi.findEntry(E.imageList,E.image.src),prevAlt:E.image.alt,open:!0}),dl=E=>({src:{value:E.src,meta:{}},images:E.src,alt:E.alt,title:E.title,dimensions:{width:E.width,height:E.height},classes:E.class,caption:E.caption,style:E.style,vspace:E.vspace,border:E.border,hspace:E.hspace,borderstyle:E.borderStyle,fileinput:[],isDecorative:E.isDecorative}),Ec=(E,R)=>({src:E.src.value,alt:(E.alt===null||E.alt.length===0)&&R?null:E.alt,title:E.title,width:E.dimensions.width,height:E.dimensions.height,class:E.classes,style:E.style,caption:E.caption,hspace:E.hspace,vspace:E.vspace,border:E.border,borderStyle:E.borderstyle,isDecorative:E.isDecorative}),Ra=(E,R)=>/^(?:[a-zA-Z]+:)?\/\//.test(R)?gn.none():E.prependURL.bind(F=>R.substring(0,F.length)!==F?gn.some(F+R):gn.none()),yr=(E,R)=>{const F=R.getData();Ra(E,F.src.value).each(ce=>{R.setData({src:{value:ce,meta:F.src.meta}})})},ef=(E,R,F)=>{E.hasDescription&&ve(F.alt)&&(R.alt=F.alt),E.hasAccessibilityOptions&&(R.isDecorative=F.isDecorative||R.isDecorative||!1),E.hasImageTitle&&ve(F.title)&&(R.title=F.title),E.hasDimensions&&(ve(F.width)&&(R.dimensions.width=F.width),ve(F.height)&&(R.dimensions.height=F.height)),ve(F.class)&&Mi.findEntry(E.classList,F.class).each(ce=>{R.classes=ce.value}),E.hasImageCaption&&yo(F.caption)&&(R.caption=F.caption),E.hasAdvTab&&(ve(F.style)&&(R.style=F.style),ve(F.vspace)&&(R.vspace=F.vspace),ve(F.border)&&(R.border=F.border),ve(F.hspace)&&(R.hspace=F.hspace),ve(F.borderstyle)&&(R.borderstyle=F.borderstyle))},ma=(E,R)=>{const F=R.getData(),ce=F.src.meta;if(ce!==void 0){const nt=Sc({},F);ef(E,nt,ce),R.setData(nt)}},Ou=(E,R,F,ce)=>{const nt=ce.getData(),dn=nt.src.value,dt=nt.src.meta||{};!dt.width&&!dt.height&&R.hasDimensions&&(rl(dn)?E.imageSize(dn).then(xs=>{F.open&&ce.setData({dimensions:xs})}).catch(xs=>console.error(xs)):ce.setData({dimensions:{width:"",height:""}}))},Td=(E,R,F)=>{const ce=F.getData(),nt=Mi.findEntry(E.imageList,ce.src.value);R.prevImage=nt,F.setData({images:nt.map(dn=>dn.value).getOr("")})},Ad=(E,R,F,ce)=>{yr(R,ce),ma(R,ce),Ou(E,R,F,ce),Td(R,F,ce)},qr=(E,R,F,ce)=>{const nt=ce.getData(),dn=Mi.findEntry(R.imageList,nt.images);dn.each(dt=>{nt.alt===""||F.prevImage.map(Ne=>Ne.text===nt.alt).getOr(!1)?dt.value===""?ce.setData({src:dt,alt:F.prevAlt}):ce.setData({src:dt,alt:dt.text}):ce.setData({src:dt})}),F.prevImage=dn,Ad(E,R,F,ce)},ul=(E,R,F,ce)=>{const nt=ce.getData();ce.block("Uploading image"),w(nt.fileinput).fold(()=>{ce.unblock()},dn=>{const dt=URL.createObjectURL(dn),xs=()=>{ce.unblock(),URL.revokeObjectURL(dt)},Ne=go=>{ce.setData({src:{value:go,meta:{}}}),ce.showTab("general"),Ad(E,R,F,ce)};ro(dn).then(go=>{const Kr=E.createBlobCache(dn,dt,go);R.automaticUploads?E.uploadImage(Kr).then(Zo=>{Ne(Zo.url),xs()}).catch(Zo=>{xs(),E.alertErr(Zo)}):(E.addToBlobCache(Kr),Ne(Kr.blobUri()),ce.unblock())})})},Nd=(E,R,F)=>(ce,nt)=>{nt.name==="src"?Ad(E,R,F,ce):nt.name==="images"?qr(E,R,F,ce):nt.name==="alt"?F.prevAlt=ce.getData().alt:nt.name==="fileinput"?ul(E,R,F,ce):nt.name==="isDecorative"&&ce.setEnabled("alt",!ce.getData().isDecorative)},Bu=E=>()=>{E.open=!1},Mu=E=>E.hasAdvTab||E.hasUploadUrl||E.hasUploadHandler?{type:"tabpanel",tabs:on([[Ed.makeTab(E)],E.hasAdvTab?[Sd.makeTab(E)]:[],E.hasUploadTab&&(E.hasUploadUrl||E.hasUploadHandler)?[Wl.makeTab(E)]:[]])}:{type:"panel",items:Ed.makeItems(E)},B=(E,R,F)=>ce=>{const nt=Sc(dl(R.image),ce.getData()),dn={...nt,style:Cc(F.normalizeCss,Ec(nt,!1))};E.execCommand("mceUpdateImage",!1,Ec(dn,R.hasAccessibilityOptions)),E.editorUpload.uploadImagesAuto(),ce.close()},Z=E=>R=>$o(E,R)?vd(E.documentBaseURI.toAbsolute(R)).then(F=>({width:String(F.width),height:String(F.height)})):Promise.resolve({width:"",height:""}),Q=E=>(R,F,ce)=>{var nt;return E.editorUpload.blobCache.create({blob:R,blobUri:F,name:(nt=R.name)===null||nt===void 0?void 0:nt.replace(/\.[^\.]+$/,""),filename:R.name,base64:ce.split(",")[1]})},be=E=>R=>{E.editorUpload.blobCache.add(R)},Ve=E=>R=>{E.windowManager.alert(R)},kt=E=>R=>_c(E,R),Vn=E=>R=>E.dom.parseStyle(R),eo=E=>(R,F)=>E.dom.serializeStyle(R,F),In=E=>R=>Qm(E).upload([R],!1).then(F=>{var ce;return F.length===0?Promise.reject("Failed to upload image"):F[0].status===!1?Promise.reject((ce=F[0].error)===null||ce===void 0?void 0:ce.message):F[0]}),Co=E=>{const R={imageSize:Z(E),addToBlobCache:be(E),createBlobCache:Q(E),alertErr:Ve(E),normalizeCss:kt(E),parseStyle:Vn(E),serializeStyle:eo(E),uploadImage:In(E)};return{open:()=>{Gr(E).then(ce=>{const nt=br(ce);return{title:"Insert/Edit Image",size:"normal",body:Mu(ce),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:dl(ce.image),onSubmit:B(E,ce,R),onChange:Nd(R,ce,nt),onClose:Bu(nt)}}).then(E.windowManager.open)}}},pn=E=>{E.addCommand("mceImage",Co(E).open),E.addCommand("mceUpdateImage",(R,F)=>{E.undoManager.transact(()=>Gg(E,F))})},Do=E=>{const R=E.attr("class");return qn(R)&&/\bimage\b/.test(R)},ml=E=>R=>{let F=R.length;const ce=nt=>{nt.attr("contenteditable",E?"true":null)};for(;F--;){const nt=R[F];Do(nt)&&(nt.attr("contenteditable",E?"false":null),ns.each(nt.getAll("figcaption"),ce))}},tf=E=>{E.on("PreInit",()=>{E.parser.addNodeFilter("figure",ml(!0)),E.serializer.addNodeFilter("figure",ml(!1))})},je=E=>R=>{const F=()=>{R.setEnabled(E.selection.isEditable())};return E.on("NodeChange",F),F(),()=>{E.off("NodeChange",F)}},$u=E=>{E.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:Co(E).open,onSetup:R=>{R.setActive(qn(Eu(E)));const F=E.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",R.setActive).unbind,ce=je(E)(R);return()=>{F(),ce()}}}),E.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:Co(E).open,onSetup:je(E)}),E.ui.registry.addContextMenu("image",{update:R=>E.selection.isEditable()&&(Cd(R)||Di(R)&&!Ti(R))?["image"]:[]})};var As=()=>{N.add("image",E=>{Si(E),tf(E),$u(E),pn(E)})};As()}();const IX={class:"font-bold ptext-lg dark:text-white"},FX=["id"],LX=f.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),HX=["for"],zX=["name","id","type"],UX={class:"gl-span-form-error"},ZX={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},WX={__name:"GlTinymce",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},description:{type:String,default:""}},emits:["update:modelValue","keydown"],setup(N,{expose:J,emit:U}){const fe=N,te=U,H=f.ref(null),Se=async()=>{await f.nextTick();const ve=FW.init({selector:"#"+fe.field_name,width:"100%",height:300,setup(tt){tt.on("Change",()=>{te("update:modelValue",tt.getContent())})}});console.log("tinymce init ",ve),console.log("tinymce field_name ","#"+fe.field_name)};f.onMounted(()=>{Se(),console.log("tinymce ",fe.modelValue),FW.init({selector:"#"+fe.field_name,width:"100%",height:300}),H.value!==null&&H.value.hasAttribute("autofocus")&&H.value.focus()});const Y=f.computed({get(){return fe.modelValue},set(ve){te("update:modelValue",ve)}});return J({focus:()=>H.value.focus()}),(ve,tt)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[N.show?(f.openBlock(),f.createElementBlock("div",{key:0,class:f.normalizeClass(N.field_name)},[f.createElementVNode("h3",IX,f.toDisplayString(N.label_name),1),f.createElementVNode("p",{id:N.field_name,class:"mb-4 text-base text-gray-900 input_tr_show dark:text-white"},f.toDisplayString(N.model_value),9,FX),LX],2)):f.createCommentVNode("",!0),N.show?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("div",{key:1,class:f.normalizeClass(["mb-4",N.field_name])},[f.createElementVNode("label",{class:f.normalizeClass({"gl-label-form":N.error_message=="","gl-label-form-invalid":N.error_message!=="",required:N.is_required}),for:N.field_name},f.toDisplayString(N.label_name),11,HX),f.withDirectives(f.createElementVNode("textarea",{name:N.field_name,id:N.field_name,class:f.normalizeClass(["tiny",{" gl-textarea-form mt-4 ":N.error_message==""," gl-textarea-form-invalid mt-4 ":N.error_message!==""}]),type:N.type,"onUpdate:modelValue":tt[0]||(tt[0]=Ut=>Y.value=Ut),onKeydown:tt[1]||(tt[1]=Ut=>ve.$emit("keydown",Ut)),ref_key:"input",ref:H,rows:"4"},`
84
+ `+JSON.stringify(s,null,2)).message),getBounds:t.getDragBounds})])})}),tr({schema:[_e("dom")],name:"title"}),tr({factory:QS,schema:[_e("dom")],name:"close"}),tr({factory:QS,schema:[_e("dom")],name:"body"}),Na({factory:QS,schema:[_e("dom")],name:"footer"}),Cl({factory:{sketch:(t,s)=>({...t,dom:s.dom,components:s.components})},schema:[oe("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),oe("components",[])],name:"blocker"})]),eE=(t,s,a,i)=>{const d=Jn(),m=O=>{d.set(O);const $=t.lazySink(O).getOrDie(),z=i.blocker(),ne=$.getSystem().build({...z,components:z.components.concat([Za(O)]),behaviours:Re([wt.config({}),It("dialog-blocker-events",[zc(Fc(),()=>{Pl.isBlocked(O)?le():mt.focusIn(O)})])])});Wd($,ne),mt.focusIn(O)},g=O=>{d.clear(),yr(O.element).each($=>{O.getSystem().getByDom($).each(z=>{Xc(z)})})},b=O=>td(O,t,"body"),y=O=>Gn(O,t,"footer"),x=(O,$)=>{Pl.block(O,$)},C=O=>{Pl.unblock(O)},S=et("modal-events"),A={...t.eventOrder,[oi()]:[S].concat(t.eventOrder["alloy.system.attached"]||[])};return{uid:t.uid,dom:t.dom,components:s,apis:{show:m,hide:g,getBody:b,getFooter:y,setIdle:C,setBusy:x},eventOrder:A,domModification:{attributes:{role:"dialog","aria-modal":"true"}},behaviours:ps(t.modalBehaviours,[Pt.config({}),mt.config({mode:"cyclic",onEnter:t.onExecute,onEscape:t.onEscape,useTabstopAt:t.useTabstopAt,firstTabstop:t.firstTabstop}),Pl.config({getRoot:d.get}),It(S,[Yn(O=>{JZ(O.element,td(O,t,"title").element)})])])}},Bo=nr({name:"ModalDialog",configFields:QZ(),partFields:eW(),factory:eE,apis:{show:(t,s)=>{t.show(s)},hide:(t,s)=>{t.hide(s)},getBody:(t,s)=>t.getBody(s),getFooter:(t,s)=>t.getFooter(s),setBusy:(t,s,a)=>{t.setBusy(s,a)},setIdle:(t,s)=>{t.setIdle(s)}}}),tE=ft([Fo,DC].concat(_m)),Uv=Yl,bd=[Gb("button"),Ba,ya("align","end",["start","end"]),nc,ja,UE("buttonType",["primary","secondary"])],A1=[...bd,cd],nE=[Xl("type",["submit","cancel","custom"]),...A1],i$=[Xl("type",["menu"]),tc,Sp,Ba,pa("items",tE),...bd],c$=[...bd,Xl("type",["togglebutton"]),_n("tooltip"),Ba,tc,Cs("active",!1)],d$=wn("type",{submit:nE,cancel:nE,custom:nE,menu:i$,togglebutton:c$}),tW=[Fo,cd,Xl("level",["info","warn","error","success"]),OC,oe("url","")],nW=ft(tW),oW=t=>[Fo,t],u$=[Fo,cd,ja,Gb("button"),Ba,ZA,UE("buttonType",["primary","secondary","toolbar"]),nc],m$=ft(u$),pu=[Fo,DC],Ci=pu.concat([Wb]),sW=pu.concat([Zb,ja]),rW=ft(sW),f$=Yl,aW=Ci.concat([WA("auto")]),lW=ft(aW),iW=Lu([ig,cd,OC]),oE=Ci.concat([Rc("storageKey","default")]),sE=ft(oE),cW=Os,uW=ft(Ci),mW=Os,g$=pu.concat([Rc("tag","textarea"),_n("scriptId"),_n("scriptUrl"),J$("settings",void 0)]),fW=pu.concat([Rc("tag","textarea"),Jl("init")]),gW=lh(t=>po("customeditor.old",Kn(fW),t).orThunk(()=>po("customeditor.new",Kn(g$),t))),zm=Os,pW=ft(Ci),Zv=Y$(),Fg=t=>[Fo,dh("columns"),t],Wv=[Fo,_n("html"),ya("presets","presentation",["presentation","document"])],h$=ft(Wv),jv=Ci.concat([Cs("border",!1),Cs("sandboxed",!0),Cs("streamContent",!1),Cs("transparent",!0)]),Lr=ft(jv),Gv=Os,p$=ft(pu.concat([ar("height")])),b$=ft([_n("url"),uh("zoom"),uh("cachedWidth"),uh("cachedHeight")]),bW=Ci.concat([ar("inputMode"),ar("placeholder"),Cs("maximized",!1),ja]),yW=ft(bW),bu=Os,aG=t=>[Fo,Zb,t,ya("align","start",["start","center","end"])],vW=[cd,ig],y$=[cd,pa("items",ch("items",()=>Um))],Um=rt([ft(vW),ft(y$)]),qv=Ci.concat([pa("items",Um),ja]),v$=ft(qv),xW=Os,wW=Ci.concat([S2("items",[cd,ig]),Wu("size",1),ja]),CW=ft(wW),_W=Os,Lg=Ci.concat([Cs("constrain",!0),ja]),lG=ft(Lg),x$=ft([_n("width"),_n("height")]),kW=pu.concat([Zb,Wu("min",0),Wu("max",0)]),iG=ft(kW),SW=ah,EW=[Fo,pa("header",Os),pa("cells",Kl(Os))],N1=ft(EW),TW=Ci.concat([ar("placeholder"),Cs("maximized",!1),ja]),AW=ft(TW),w$=Os,C$=[Xl("type",["directory","leaf"]),HA,_n("id"),Ii("menu",nS)],e=ft(C$),n=C$.concat([pa("children",ch("children",()=>De("type",{directory:o,leaf:e})))]),o=ft(n),r=De("type",{directory:o,leaf:e}),l=[Fo,pa("items",r),zu("onLeafAction"),zu("onToggleExpand"),ei("defaultExpandedIds",[],Os),ar("defaultSelectedId")],c=ft(l),u=Ci.concat([ya("filetype","file",["image","media","file"]),ja,ar("picker_text")]),h=ft(u),p=ft([ig,Ep]),v=t=>Hs("items","items",An(),Kl(lh(s=>po(`Checking item of ${t}`,_,s).fold(a=>Zt.error(wr(a)),a=>Zt.value(a))))),_=Xs(()=>De("type",{alertbanner:nW,bar:ft(oW(v("bar"))),button:m$,checkbox:rW,colorinput:sE,colorpicker:uW,dropzone:pW,grid:ft(Fg(v("grid"))),iframe:Lr,input:yW,listbox:v$,selectbox:CW,sizeinput:lG,slider:iG,textarea:AW,urlinput:h,customeditor:gW,htmlpanel:h$,imagepreview:p$,collection:lW,label:ft(aG(v("label"))),table:N1,tree:c,panel:T})),k=[Fo,oe("classes",[]),pa("items",_)],T=ft(k),P=[Gb("tab"),HA,pa("items",_)],V=[Fo,S2("tabs",P)],M=ft(V),I=A1,j=d$,K=ft([_n("title"),ha("body",De("type",{panel:T,tabpanel:M})),Rc("size","normal"),ei("buttons",[],j),oe("initialData",{}),_s("onAction",le),_s("onChange",le),_s("onSubmit",le),_s("onClose",le),_s("onCancel",le),_s("onTabChange",le)]),q=t=>po("dialog",K,t),se=ft([Xl("type",["cancel","custom"]),...I]),ke=ft([_n("title"),_n("url"),uh("height"),uh("width"),Uu("buttons",se),_s("onAction",le),_s("onCancel",le),_s("onClose",le),_s("onMessage",le)]),Me=t=>po("dialog",ke,t),Ze=t=>ve(t)?[t].concat(pe(xd(t),Ze)):Ut(t)?pe(t,Ze):[],ge=t=>Y(t.type)&&Y(t.name),ie={checkbox:f$,colorinput:cW,colorpicker:mW,dropzone:Zv,input:bu,iframe:Gv,imagepreview:b$,selectbox:_W,sizeinput:x$,slider:SW,listbox:xW,size:x$,textarea:w$,urlinput:p,customeditor:zm,collection:iW,togglemenuitem:Uv},Ce=t=>w.from(ie[t.type]),Je=t=>hn(Ze(t),ge),ut=t=>{const s=Je(t),a=pe(s,i=>Ce(i).fold(()=>[],d=>[ha(i.name,d)]));return ft(a)},jt=t=>{var s;const a=Wn(q(t)),i=ut(t),d=(s=t.initialData)!==null&&s!==void 0?s:{};return{internalDialog:a,dataValidator:i,initialData:d}},Ht={open:(t,s)=>{const a=jt(s);return t(a.internalDialog,a.initialData,a.dataValidator)},openUrl:(t,s)=>{const a=Wn(Me(s));return t(a)},redial:t=>jt(t)};var Hn=Object.freeze({__proto__:null,events:(t,s)=>{const a=(i,d)=>{t.updateState.each(m=>{const g=m(i,d);s.set(g)}),t.renderComponents.each(m=>{const g=m(d,s.get());(t.reuseDom?kT:ur)(i,g)})};return no([we(Ku(),(i,d)=>{const m=d;if(!m.universal){const g=t.channel;fo(m.channels,g)&&a(i,m.data)}}),Yn((i,d)=>{t.initialData.each(m=>{a(i,m)})})])}}),Ps=Object.freeze({__proto__:null,getState:(t,s,a)=>a}),Nn=[_e("channel"),Tn("renderComponents"),Tn("updateState"),Tn("initialData"),Cs("reuseDom",!0)],lt=Object.freeze({__proto__:null,init:()=>{const t=yt(w.none()),s=()=>t.set(w.none());return{readState:()=>t.get().getOr("none"),get:t.get,set:t.set,clear:s}}});const zt=Ms({fields:Nn,name:"reflecting",active:Hn,apis:Ps,state:lt}),Kt=t=>{const s=[],a={};return zo(t,(i,d)=>{i.fold(()=>{s.push(d)},m=>{a[d]=m})}),s.length>0?Zt.error(s):Zt.value(a)},ot=(t,s,a)=>{const i=Sn(_g.sketch(d=>({dom:{tag:"div",classes:["tox-form"].concat(t.classes)},components:Te(t.items,m=>n1(d,m,s,a))})));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[i.asSpec()]}],behaviours:Re([mt.config({mode:"acyclic",useTabstopAt:Ee(Sg)}),Vr.memento(i),aD(i,{postprocess:d=>Kt(d).fold(m=>(console.error(m),{}),qt)}),It("dialog-body-panel",[we(Fc(),(d,m)=>{d.getSystem().broadcastOn([Tg],{newFocus:w.some(m.event.target)})})])])}},Nt=(t,s)=>({uid:t.uid,dom:t.dom,components:t.components,events:ui(t.action),behaviours:ps(t.tabButtonBehaviours,[wt.config({}),mt.config({mode:"execution",useSpace:!0,useEnter:!0}),We.config({store:{mode:"memory",initialValue:t.value}})]),domModification:t.domModification}),$e=oa({name:"TabButton",configFields:[oe("uid",void 0),_e("value"),Hs("dom","dom",q1(()=>({attributes:{role:"tab",id:et("aria"),"aria-selected":"false"}})),Ds()),Tn("action"),oe("domModification",{}),is("tabButtonBehaviours",[wt,mt,We]),_e("view")],factory:Nt}),Dt=X([_e("tabs"),_e("dom"),oe("clickToDismiss",!1),is("tabbarBehaviours",[Cn,mt]),Hd(["tabClass","selectedClass"])]),tn=Xh({factory:$e,name:"tabs",unit:"tab",overrides:t=>{const s=(i,d)=>{Cn.dehighlight(i,d),gt(i,o0(),{tabbar:i,button:d})},a=(i,d)=>{Cn.highlight(i,d),gt(i,XE(),{tabbar:i,button:d})};return{action:i=>{const d=i.getSystem().getByUid(t.uid).getOrDie(),m=Cn.isHighlighted(d,i);(m&&t.clickToDismiss?s:m?le:a)(d,i)},domModification:{classes:[t.markers.tabClass]}}}}),$n=X([tn]),Mn=(t,s,a,i)=>({uid:t.uid,dom:t.dom,components:s,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:ps(t.tabbarBehaviours,[Cn.config({highlightClass:t.markers.selectedClass,itemClass:t.markers.tabClass,onHighlight:(d,m)=>{je(m.element,"aria-selected","true")},onDehighlight:(d,m)=>{je(m.element,"aria-selected","false")}}),mt.config({mode:"flow",getInitial:d=>Cn.getHighlighted(d).map(m=>m.element),selector:"."+t.markers.tabClass,executeOnMove:!0})])}),ds=nr({name:"Tabbar",configFields:Dt(),partFields:$n(),factory:Mn}),Vl=(t,s)=>({uid:t.uid,dom:t.dom,behaviours:ps(t.tabviewBehaviours,[Pt.config({})]),domModification:{attributes:{role:"tabpanel"}}}),fc=oa({name:"Tabview",configFields:[is("tabviewBehaviours",[Pt])],factory:Vl}),Tr=X([oe("selectFirst",!0),rn("onChangeTab"),rn("onDismissTab"),oe("tabs",[]),is("tabSectionBehaviours",[])]),Qa=tr({factory:ds,schema:[_e("dom"),Ql("markers",[_e("tabClass"),_e("selectedClass")])],name:"tabbar",defaults:t=>({tabs:t.tabs})}),$t=tr({factory:fc,name:"tabview"}),mn=X([Qa,$t]),zn=(t,s,a,i)=>{const d=g=>{const b=We.getValue(g);Gn(g,t,"tabview").each(y=>{Vt(t.tabs,C=>C.value===b).each(C=>{const S=C.view();E(g.element,"id").each(A=>{je(y.element,"aria-labelledby",A)}),Pt.set(y,S),t.onChangeTab(y,g,S)})})},m=(g,b)=>{Gn(g,t,"tabbar").each(y=>{b(y).each(Lc)})};return{uid:t.uid,dom:t.dom,components:s,behaviours:Qc(t.tabSectionBehaviours),events:no(bt([t.selectFirst?[Yn((g,b)=>{m(g,Cn.getFirst)})]:[],[we(XE(),(g,b)=>{const y=b.event.button;d(y)}),we(o0(),(g,b)=>{const y=b.event.button;t.onDismissTab(g,y)})]])),apis:{getViewItems:g=>Gn(g,t,"tabview").map(b=>Pt.contents(b)).getOr([]),showTab:(g,b)=>{m(g,x=>{const C=Cn.getCandidates(x);return Vt(C,A=>We.getValue(A)===b).filter(A=>!Cn.isHighlighted(x,A))})}}}},so=nr({name:"TabSection",configFields:Tr(),partFields:mn(),factory:zn,apis:{getViewItems:(t,s)=>t.getViewItems(s),showTab:(t,s,a)=>{t.showTab(s,a)}}}),uo=(t,s,a)=>Te(t,(i,d)=>{Pt.set(a,t[d].view());const m=s.dom.getBoundingClientRect();return Pt.set(a,[]),m.height}),Hr=t=>Vs(xc(t,(s,a)=>s>a?-1:s<a?1:0)),_i=(t,s,a)=>{const i=Ec(t).dom,d=_a(t,".tox-dialog-wrap").getOr(t),m=go(d,"position")==="fixed";let g;m?g=Math.max(i.clientHeight,window.innerHeight):g=Math.max(i.offsetHeight,i.scrollHeight);const b=os(s),x=s.dom.offsetLeft>=a.dom.offsetLeft+vr(a)?Math.max(os(a),b):b,C=parseInt(go(t,"margin-top"),10)||0,S=parseInt(go(t,"margin-bottom"),10)||0,O=os(t)+C+S-x;return g-O},yu=(t,s)=>{Vs(t).each(a=>so.showTab(s,a.value))},D1=(t,s)=>{dt(t,"height",s+"px"),dt(t,"flex-basis",s+"px")},Zm=(t,s,a)=>{_a(t,'[role="dialog"]').each(i=>{Io(i,'[role="tablist"]').each(d=>{a.get().map(m=>(dt(s,"height","0"),dt(s,"flex-basis","0"),Math.min(m,_i(i,s,d)))).each(m=>{D1(s,m)})})})},Hg=t=>Io(t,'[role="tabpanel"]'),zg=t=>{const s=Jn();return{extraEvents:[Yn(d=>{const m=d.element;Hg(m).each(g=>{dt(g,"visibility","hidden"),d.getSystem().getByDom(g).toOptional().each(b=>{const y=uo(t,g,b);Hr(y).fold(s.clear,s.set)}),Zm(m,g,s),vn(g,"visibility"),yu(t,d),requestAnimationFrame(()=>{Zm(m,g,s)})})}),we(ph(),d=>{const m=d.element;Hg(m).each(g=>{Zm(m,g,s)})}),we(wN,(d,m)=>{const g=d.element;Hg(g).each(b=>{const y=Wi(be(b));dt(b,"visibility","hidden");const x=Zo(b,"height").map(A=>parseInt(A,10));vn(b,"height"),vn(b,"flex-basis");const C=b.dom.getBoundingClientRect().height;x.forall(A=>C>A)?(s.set(C),Zm(g,b,s)):x.each(A=>{D1(b,A)}),vn(b,"visibility"),y.each(Sa)})})],selectFirst:!1}},O1="send-data-to-section",Wm="send-data-to-view",jm=(t,s,a)=>{const i=yt({}),d=x=>{const C=We.getValue(x),S=Kt(C).getOr({}),A=i.get(),O=to(A,S);i.set(O)},m=x=>{const C=i.get();We.setValue(x,C)},g=yt(null),b=Te(t.tabs,x=>({value:x.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"]},components:[Oo(a.shared.providers.translate(x.title))],view:()=>[_g.sketch(C=>({dom:{tag:"div",classes:["tox-form"]},components:Te(x.items,S=>n1(C,S,s,a)),formBehaviours:Re([mt.config({mode:"acyclic",useTabstopAt:Ee(Sg)}),It("TabView.form.events",[Yn(m),Li(d)]),ea.config({channels:lr([{key:O1,value:{onReceive:d}},{key:Wm,value:{onReceive:m}}])})])}))]})),y=zg(b);return so.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:(x,C,S)=>{const A=We.getValue(C);gt(x,xN,{name:A,oldName:g.get()}),g.set(A)},tabs:b,components:[so.parts.tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[ds.parts.tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:Re([oo.config({})])}),so.parts.tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:y.selectFirst,tabSectionBehaviours:Re([It("tabpanel",y.extraEvents),mt.config({mode:"acyclic"}),Qt.config({find:x=>Vs(so.getViewItems(x))}),au(w.none(),x=>(x.getSystem().broadcastOn([O1],{}),i.get()),(x,C)=>{i.set(C),x.getSystem().broadcastOn([Wm],{})})])})},Il=(t,s,a,i,d)=>{const m=y=>{const x=y.body;switch(x.type){case"tabpanel":return[jm(x,y.initialData,i)];default:return[ot(x,y.initialData,i)]}},g=(y,x)=>w.some({isTabPanel:()=>x.body.type==="tabpanel"}),b={"aria-live":"polite"};return{dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:{...a.map(y=>({id:y})).getOr({}),...d?b:{}}},components:[],behaviours:Re([Vr.childAt(0),zt.config({channel:`${$y}-${s}`,updateState:g,renderComponents:m,initialData:t})])}},gc=(t,s,a,i,d)=>Il(t,s,w.some(a),i,d),B1=(t,s,a)=>{const i=Il(t,s,w.none(),a,!1);return Bo.parts.body(i)},Ug=t=>{const s={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[fD(w.none(),{dom:{tag:"iframe",attributes:{src:t.url}},behaviours:Re([oo.config({}),wt.config({})])})]}],behaviours:Re([mt.config({mode:"acyclic",useTabstopAt:Ee(Sg)})])};return Bo.parts.body(s)},Kv=Qf.deviceType.isTouch(),hc=(t,s)=>({dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[t,s]}),Yv=(t,s)=>Bo.parts.close(bs.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":s.translate("Close")}},action:t,buttonBehaviours:Re([oo.config({})])})),M1=()=>Bo.parts.title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}}),qs=(t,s)=>Bo.parts.body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:ad(`<p>${qw(s.translate(t))}</p>`)}]}]}),vu=t=>Bo.parts.footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:t}),rE=(t,s)=>[hi.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:t}),hi.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:s})],$1=t=>{const s="tox-dialog",a=s+"-wrap",i=a+"__backdrop",d=s+"__disable-scroll";return Bo.sketch({lazySink:t.lazySink,onEscape:m=>(t.onEscape(m),w.some(!0)),useTabstopAt:m=>!Sg(m),firstTabstop:t.firstTabstop,dom:{tag:"div",classes:[s].concat(t.extraClasses),styles:{position:"relative",...t.extraStyles}},components:[t.header,t.body,...t.footer.toArray()],parts:{blocker:{dom:ad(`<div class="${a}"></div>`),components:[{dom:{tag:"div",classes:Kv?[i,i+"--opaque"]:[i]}}]}},dragBlockClass:a,modalBehaviours:Re([wt.config({}),It("dialog-events",t.dialogEvents.concat([zc(Fc(),(m,g)=>{Pl.isBlocked(m)?le():mt.focusIn(m)}),we(n0(),(m,g)=>{m.getSystem().broadcastOn([Tg],{newFocus:g.event.newFocus})})])),It("scroll-lock",[Yn(()=>{Go(Do(),d)}),Li(()=>{ho(Do(),d)})]),...t.extraBehaviours]),eventOrder:{[wa()]:["dialog-events"],[oi()]:["scroll-lock","dialog-events","alloy.base.behaviour"],[Yu()]:["alloy.base.behaviour","dialog-events","scroll-lock"],...t.eventOrder}})},P1=t=>bs.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close"),title:t.translate("Close")}},buttonBehaviours:Re([oo.config({})]),components:[El("close",{tag:"span",classes:["tox-icon"]},t.icons)],action:s=>{sn(s,ou)}}),pc=(t,s,a,i)=>{const d=m=>[Oo(i.translate(m.title))];return{dom:{tag:"div",classes:["tox-dialog__title"],attributes:{...a.map(m=>({id:m})).getOr({})}},components:[],behaviours:Re([zt.config({channel:`${cc}-${s}`,initialData:t,renderComponents:d})])}},Zg=()=>({dom:ad('<div class="tox-dialog__draghandle"></div>')}),re=(t,s,a,i)=>hi.sketch({dom:ad('<div class="tox-dialog__header"></div>'),components:[pc(t,s,w.some(a),i),Zg(),P1(i)],containerBehaviours:Re([Hm.config({mode:"mouse",blockerClass:"blocker",getTarget:d=>ai(d,'[role="dialog"]').getOrDie(),snaps:{getSnapPoints:()=>[],leftAttr:"data-drag-left",topAttr:"data-drag-top"}})])}),ae=(t,s,a)=>{const i=Bo.parts.title(pc(t,s,w.none(),a)),d=Bo.parts.draghandle(Zg()),m=Bo.parts.close(P1(a)),g=[i].concat(t.draggable?[d]:[]).concat([m]);return hi.sketch({dom:ad('<div class="tox-dialog__header"></div>'),components:g})},Ie=(t,s,a)=>ae({title:a.shared.providers.translate(t),draggable:a.dialog.isDraggableModal()},s,a.shared.providers),Oe=(t,s,a,i)=>({dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":a.translate(t)},styles:{left:"0px",right:"0px",bottom:"0px",top:`${i.getOr(0)}px`,position:"absolute"}},behaviours:s,components:[{dom:ad('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}),ct=(t,s,a)=>({onClose:()=>a.closeWindow(),onBlock:i=>{const d=Io(t().element,".tox-dialog__header").map(m=>os(m));Bo.setBusy(t(),(m,g)=>Oe(i.message,g,s,d))},onUnblock:()=>{Bo.setIdle(t())}}),Yt="tox-dialog--fullscreen",lo="tox-dialog--width-lg",Ar="tox-dialog--width-md",vs=t=>{switch(t){case"large":return w.some(lo);case"medium":return w.some(Ar);default:return w.none()}},xu=(t,s)=>{const a=ze.fromDom(s.element.dom);ls(a,Yt)||(bl(a,[lo,Ar]),vs(t).each(i=>Go(a,i)))},el=(t,s)=>{const a=ze.fromDom(t.element.dom),i=g0(a),d=Vt(i,m=>m===lo||m===Ar).or(vs(s));BP(a,[Yt,...d.toArray()])},aE=(t,s,a)=>Js($1({...t,firstTabstop:1,lazySink:a.shared.getSink,extraBehaviours:[By({}),...t.extraBehaviours],onEscape:i=>{sn(i,ou)},dialogEvents:s,eventOrder:{[Ku()]:[zt.name(),ea.name()],[oi()]:["scroll-lock",zt.name(),"messages","dialog-events","alloy.base.behaviour"],[Yu()]:["alloy.base.behaviour","dialog-events","messages",zt.name(),"scroll-lock"]}})),Xv=(t,s={})=>{const a=i=>{const d=Te(i.items,m=>{const g=Ue(s,m.name).getOr(yt(!1));return{...m,storage:g}});return{...i,items:d}};return Te(t,i=>i.type==="menu"?a(i):i)},lE=t=>Lo(t,(s,a)=>a.type==="menu"?Lo(a.items,(d,m)=>(d[m.name]=m.storage,d),s):s,{}),iE=(t,s)=>[V2(Fc(),aL),t(yg,(a,i,d,m)=>{Wi(be(m.element)).fold(le,gx),s.onClose(),i.onClose()}),t(ou,(a,i,d,m)=>{i.onCancel(a),sn(m,yg)}),we(E_,(a,i)=>s.onUnblock()),we(S_,(a,i)=>s.onBlock(i.event))],NW=(t,s)=>{const a=(d,m)=>we(d,(g,b)=>{i(g,(y,x)=>{m(t(),y,b.event,g)})}),i=(d,m)=>{zt.getState(d).get().each(g=>{m(g,d)})};return[...iE(a,s),a(ac,(d,m,g)=>{m.onAction(d,{name:g.name})})]},Gt=(t,s,a)=>{const i=(m,g)=>we(m,(b,y)=>{d(b,(x,C)=>{g(t(),x,y.event,b)})}),d=(m,g)=>{zt.getState(m).get().each(b=>{g(b.internalDialog,m)})};return[...iE(i,s),i(Hp,(m,g)=>g.onSubmit(m)),i(Pr,(m,g,b)=>{g.onChange(m,{name:b.name})}),i(ac,(m,g,b,y)=>{const x=()=>y.getSystem().isConnected()?mt.focusIn(y):void 0,C=O=>R(O,"disabled")||E(O,"aria-disabled").exists($=>$==="true"),S=be(y.element),A=Wi(S);g.onAction(m,{name:b.name,value:b.value}),Wi(S).fold(x,O=>{C(O)||A.exists($=>Wl(O,$)&&C($))?x():a().toOptional().filter($=>!Wl($.element,O)).each(x)})}),i(xN,(m,g,b)=>{g.onTabChange(m,{newTabName:b.name,oldTabName:b.oldName})}),Li(m=>{const g=t();We.setValue(m,g.getData())})]},de=(t,s)=>Wy(t,t.type,s),at=(t,s,a)=>Vt(s,i=>i.name===a).bind(i=>i.memento.getOpt(t)),St=(t,s)=>{const a=s.map(b=>b.footerButtons).getOr([]),i=rl(a,b=>b.align==="start"),d=(b,y)=>hi.sketch({dom:{tag:"div",classes:[`tox-dialog__footer-${b}`]},components:Te(y,x=>x.memento.asSpec())}),m=d("start",i.pass),g=d("end",i.fail);return[m,g]},To=(t,s,a)=>{const i=(d,m)=>{const g=Te(m.buttons,y=>{const x=Sn(de(y,a));return{name:y.name,align:y.align,memento:x}}),b=y=>at(d,g,y);return w.some({lookupByName:b,footerButtons:g})};return{dom:ad('<div class="tox-dialog__footer"></div>'),components:[],behaviours:Re([zt.config({channel:`${nk}-${s}`,initialData:t,updateState:i,renderComponents:St})])}},hr=(t,s,a)=>To(t,s,a),tl=(t,s,a)=>Bo.parts.footer(To(t,s,a)),us=(t,s)=>{if(t.getRoot().getSystem().isConnected()){const i=Qt.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());return _g.getField(i,s).orThunk(()=>t.getFooter().bind(g=>zt.getState(g).get()).bind(g=>g.lookupByName(s)))}else return w.none()},Fl=(t,s)=>{const a=t.getRoot();return zt.getState(a).get().map(i=>Wn(po("data",i.dataValidator,s))).getOr(s)},Jv=(t,s,a)=>{const i=$=>{const z=t.getRoot();z.getSystem().isConnected()&&$(z)},O={getData:()=>{const $=t.getRoot(),z=$.getSystem().isConnected()?t.getFormWrapper():$,ne=We.getValue(z),G=ro(a,W=>W.get());return{...ne,...G}},setData:$=>{i(z=>{const ne=O.getData(),G=to(ne,$),W=Fl(t,G),ee=t.getFormWrapper();We.setValue(ee,W),zo(a,(Ae,ye)=>{bn(G,ye)&&Ae.set(G[ye])})})},setEnabled:($,z)=>{us(t,$).each(z?vt.enable:vt.disable)},focus:$=>{us(t,$).each(wt.focus)},block:$=>{if(!Y($))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");i(z=>{gt(z,S_,{message:$})})},unblock:()=>{i($=>{sn($,E_)})},showTab:$=>{i(z=>{const ne=t.getBody();zt.getState(ne).get().exists(W=>W.isTabPanel())&&Qt.getCurrent(ne).each(W=>{so.showTab(W,$)})})},redial:$=>{i(z=>{const ne=t.getId(),G=s($),W=Xv(G.internalDialog.buttons,a);z.getSystem().broadcastOn([`${Eg}-${ne}`],G),z.getSystem().broadcastOn([`${cc}-${ne}`],G.internalDialog),z.getSystem().broadcastOn([`${$y}-${ne}`],G.internalDialog),z.getSystem().broadcastOn([`${nk}-${ne}`],{...G.internalDialog,buttons:W}),O.setData(G.initialData)})},close:()=>{i($=>{sn($,yg)})},toggleFullscreen:t.toggleFullscreen};return O},DW=(t,s,a)=>{const i=et("dialog"),d=t.internalDialog,m=Ie(d.title,i,a),g=yt(d.size),b=vs(g.get()).toArray(),y=(W,ee)=>(g.set(ee.internalDialog.size),xu(ee.internalDialog.size,W),w.some(ee)),x=B1({body:d.body,initialData:d.initialData},i,a),C=Xv(d.buttons),S=lE(C),A=_t(C.length!==0,tl({buttons:C},i,a)),O=Gt(()=>G,ct(()=>z,a.shared.providers,s),a.shared.getSink),$={id:i,header:m,body:x,footer:A,extraClasses:b,extraBehaviours:[zt.config({channel:`${Eg}-${i}`,updateState:y,initialData:t})],extraStyles:{}},z=aE($,O,a),ne=(()=>{const W=()=>{const Ae=Bo.getBody(z);return Qt.getCurrent(Ae).getOr(Ae)},ee=()=>{el(z,g.get())};return{getId:X(i),getRoot:X(z),getBody:()=>Bo.getBody(z),getFooter:()=>Bo.getFooter(z),getFormWrapper:W,toggleFullscreen:ee}})(),G=Jv(ne,s.redial,S);return{dialog:z,instanceApi:G}},cE=(t,s,a,i=!1,d)=>{const m=et("dialog"),g=et("dialog-label"),b=et("dialog-content"),y=t.internalDialog,x=yt(y.size),C=vs(x.get()).toArray(),S=(he,Be)=>(x.set(Be.internalDialog.size),xu(Be.internalDialog.size,he),d(),w.some(Be)),A=Sn(re({title:y.title,draggable:!0},m,g,a.shared.providers)),O=Sn(gc({body:y.body,initialData:y.initialData},m,b,a,i)),$=Xv(y.buttons),z=lE($),ne=_t($.length!==0,Sn(hr({buttons:$},m,a))),G=Gt(()=>ye,{onBlock:he=>{Pl.block(ee,(Be,Le)=>{const Ft=A.getOpt(ee).map(Ye=>os(Ye.element));return Oe(he.message,Le,a.shared.providers,Ft)})},onUnblock:()=>{Pl.unblock(ee)},onClose:()=>s.closeWindow()},a.shared.getSink),ee=Js({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline",...C],attributes:{role:"dialog","aria-labelledby":g}},eventOrder:{[Ku()]:[zt.name(),ea.name()],[wa()]:["execute-on-form"],[oi()]:["reflecting","execute-on-form"]},behaviours:Re([mt.config({mode:"cyclic",onEscape:he=>(sn(he,yg),w.some(!0)),useTabstopAt:he=>!Sg(he)&&(jr(he)!=="button"||As(he,"disabled")!=="disabled"),firstTabstop:1}),zt.config({channel:`${Eg}-${m}`,updateState:S,initialData:t}),wt.config({}),It("execute-on-form",G.concat([zc(Fc(),(he,Be)=>{mt.focusIn(he)}),we(n0(),(he,Be)=>{he.getSystem().broadcastOn([Tg],{newFocus:Be.event.newFocus})})])),Pl.config({getRoot:()=>w.some(ee)}),Pt.config({}),By({})]),components:[A.asSpec(),O.asSpec(),...ne.map(he=>he.asSpec()).toArray()]}),Ae=()=>{el(ee,x.get())},ye=Jv({getId:X(m),getRoot:X(ee),getFooter:()=>ne.map(he=>he.get(ee)),getBody:()=>O.get(ee),getFormWrapper:()=>{const he=O.get(ee);return Qt.getCurrent(he).getOr(he)},toggleFullscreen:Ae},s.redial,z);return{dialog:ee,instanceApi:ye}};var _$=tinymce.util.Tools.resolve("tinymce.util.URI");const toe=t=>{const s=g=>{t.getSystem().isConnected()&&g(t)};return{block:g=>{if(!Y(g))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");s(b=>{gt(b,S_,{message:g})})},unblock:()=>{s(g=>{sn(g,E_)})},close:()=>{s(g=>{sn(g,yg)})},sendMessage:g=>{s(b=>{b.getSystem().broadcastOn([ok],g)})}}},noe=["insertContent","setContent","execCommand","close","block","unblock"],cG=t=>ve(t)&&noe.indexOf(t.mceAction)!==-1,ooe=t=>!cG(t)&&ve(t)&&bn(t,"mceAction"),soe=(t,s,a)=>{switch(a.mceAction){case"insertContent":t.insertContent(a.content);break;case"setContent":t.setContent(a.content);break;case"execCommand":const i=Un(a.ui)?a.ui:!1;t.execCommand(a.cmd,i,a.value);break;case"close":s.close();break;case"block":s.block(a.message);break;case"unblock":s.unblock();break}},roe=(t,s,a,i)=>{const d=et("dialog"),m=Ie(t.title,d,i),g=Ug(t),b=t.buttons.bind(ee=>ee.length===0?w.none():w.some(tl({buttons:ee},d,i))),y=NW(()=>W,ct(()=>G,i.shared.providers,s)),x={...t.height.fold(()=>({}),ee=>({height:ee+"px","max-height":ee+"px"})),...t.width.fold(()=>({}),ee=>({width:ee+"px","max-width":ee+"px"}))},C=t.width.isNone()&&t.height.isNone()?["tox-dialog--width-lg"]:[],S=new _$(t.url,{base_uri:new _$(window.location.href)}),A=`${S.protocol}://${S.host}${S.port?":"+S.port:""}`,O=Nf(),$=(ee,Ae)=>w.some(Ae),z=[zt.config({channel:`${Eg}-${d}`,updateState:$,initialData:t}),It("messages",[Yn(()=>{const ee=kr(ze.fromDom(window),"message",Ae=>{if(S.isSameOrigin(new _$(Ae.raw.origin))){const ye=Ae.raw.data;cG(ye)?soe(a,W,ye):ooe(ye)&&t.onMessage(W,ye)}});O.set(ee)}),Li(O.clear)]),ea.config({channels:{[ok]:{onReceive:(ee,Ae)=>{Io(ee.element,"iframe").each(ye=>{const he=ye.dom.contentWindow;qn(he)&&he.postMessage(Ae,A)})}}}})],G=aE({id:d,header:m,body:g,footer:b,extraClasses:C,extraBehaviours:z,extraStyles:x},y,i),W=toe(G);return{dialog:G,instanceApi:W}},aoe=t=>{const s=t.shared;return{open:(i,d)=>{const m=()=>{Bo.hide(x),d()},g=Sn(Wy({name:"close-alert",text:"OK",primary:!0,buttonType:w.some("primary"),align:"end",enabled:!0,icon:w.none()},"cancel",t)),b=M1(),y=Yv(m,s.providers),x=Js($1({lazySink:()=>s.getSink(),header:hc(b,y),body:qs(i,s.providers),footer:w.some(vu(rE([],[g.asSpec()]))),onEscape:m,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[we(ou,m)],eventOrder:{}}));Bo.show(x);const C=g.get(x);wt.focus(C)}}},loe=t=>{const s=t.shared;return{open:(i,d)=>{const m=A=>{Bo.hide(C),d(A)},g=Sn(Wy({name:"yes",text:"Yes",primary:!0,buttonType:w.some("primary"),align:"end",enabled:!0,icon:w.none()},"submit",t)),b=Wy({name:"no",text:"No",primary:!1,buttonType:w.some("secondary"),align:"end",enabled:!0,icon:w.none()},"cancel",t),y=M1(),x=Yv(()=>m(!1),s.providers),C=Js($1({lazySink:()=>s.getSink(),header:hc(y,x),body:qs(i,s.providers),footer:w.some(vu(rE([],[b,g.asSpec()]))),onEscape:()=>m(!1),extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[we(ou,()=>m(!1)),we(Hp,()=>m(!0))],eventOrder:{}}));Bo.show(C);const S=g.get(C);wt.focus(S)}}},dG=(t,s)=>Wn(po("data",s,t)),uG=t=>Vp(t,".tox-alert-dialog")||Vp(t,".tox-confirm-dialog"),ioe=(t,s,a)=>s&&a?[]:[ao.config({contextual:{lazyContext:()=>w.some(Ro(ze.fromDom(t.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top"],lazyViewport:i=>nu(t,i.element).map(m=>({bounds:bg(m),optScrollEnv:w.some({currentScrollTop:m.element.dom.scrollTop,scrollElmTop:Va(m.element).top})})).getOrThunk(()=>({bounds:rr(),optScrollEnv:w.none()}))})],coe=t=>{const s=t.editor,a=wp(s),i=aoe(t.backstages.dialog),d=loe(t.backstages.dialog),m=($,z,ne)=>{if(!yo(z)){if(z.inline==="toolbar")return x($,t.backstages.popup.shared.anchors.inlineDialog(),ne,z);if(z.inline==="bottom")return C($,t.backstages.popup.shared.anchors.inlineBottomDialog(),ne,z);if(z.inline==="cursor")return x($,t.backstages.popup.shared.anchors.cursor(),ne,z)}return y($,ne)},g=($,z)=>b($,z),b=($,z)=>{const ne=G=>{const W=roe(G,{closeWindow:()=>{Bo.hide(W.dialog),z(W.instanceApi)}},s,t.backstages.dialog);return Bo.show(W.dialog),W.instanceApi};return Ht.openUrl(ne,$)},y=($,z)=>{const ne=(G,W,ee)=>{const Ae=W,he=DW({dataValidator:ee,initialData:Ae,internalDialog:G},{redial:Ht.redial,closeWindow:()=>{Bo.hide(he.dialog),z(he.instanceApi)}},t.backstages.dialog);return Bo.show(he.dialog),he.instanceApi.setData(Ae),he.instanceApi};return Ht.open(ne,$)},x=($,z,ne,G)=>{const W=(ee,Ae,ye)=>{const he=dG(Ae,ye),Be=Jn(),Le=t.backstages.popup.shared.header.isPositionedAtTop(),Ft={dataValidator:ye,initialData:he,internalDialog:ee},Ye=()=>Be.on(ht=>{co.reposition(ht),(!a||!Le)&&ao.refresh(ht)}),Tt=cE(Ft,{redial:Ht.redial,closeWindow:()=>{Be.on(co.hide),s.off("ResizeEditor",Ye),Be.clear(),ne(Tt.instanceApi)}},t.backstages.popup,G.ariaAttrs,Ye),Ct=Js(co.sketch({lazySink:t.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:G.persistent?{event:"doNotDismissYet"}:{},...Le?{}:{fireRepositionEventInstead:{}},inlineBehaviours:Re([It("window-manager-inline-events",[we(Xu(),(ht,nn)=>{sn(Tt.dialog,ou)})]),...ioe(s,a,Le)]),isExtraPart:(ht,nn)=>uG(nn)}));Be.set(Ct);const kn=()=>{const ht=s.inline?Do():ze.fromDom(s.getContainer()),nn=Ro(ht);return w.some(nn)};return co.showWithinBounds(Ct,Za(Tt.dialog),{anchor:z},kn),(!a||!Le)&&(ao.refresh(Ct),s.on("ResizeEditor",Ye)),Tt.instanceApi.setData(he),mt.focusIn(Tt.dialog),Tt.instanceApi};return Ht.open(W,$)},C=($,z,ne,G)=>{const W=(ee,Ae,ye)=>{const he=dG(Ae,ye),Be=Jn(),Le=t.backstages.popup.shared.header.isPositionedAtTop(),Ft={dataValidator:ye,initialData:he,internalDialog:ee},Ye=()=>Be.on(ht=>{co.reposition(ht),ao.refresh(ht)}),Tt=cE(Ft,{redial:Ht.redial,closeWindow:()=>{Be.on(co.hide),s.off("ResizeEditor ScrollWindow ElementScroll",Ye),Be.clear(),ne(Tt.instanceApi)}},t.backstages.popup,G.ariaAttrs,Ye),Ct=Js(co.sketch({lazySink:t.backstages.popup.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:G.persistent?{event:"doNotDismissYet"}:{},...Le?{}:{fireRepositionEventInstead:{}},inlineBehaviours:Re([It("window-manager-inline-events",[we(Xu(),(ht,nn)=>{sn(Tt.dialog,ou)})]),ao.config({contextual:{lazyContext:()=>w.some(Ro(ze.fromDom(s.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top","bottom"],lazyViewport:ht=>nu(s,ht.element).map(He=>({bounds:bg(He),optScrollEnv:w.some({currentScrollTop:He.element.dom.scrollTop,scrollElmTop:Va(He.element).top})})).getOrThunk(()=>({bounds:rr(),optScrollEnv:w.none()}))})]),isExtraPart:(ht,nn)=>uG(nn)}));Be.set(Ct);const kn=()=>t.backstages.popup.shared.getSink().toOptional().bind(ht=>{const nn=nu(s,ht.element),He=15,st=nn.map(pt=>bg(pt)).getOr(rr()),At=Ro(ze.fromDom(s.getContentAreaContainer())),Ot=p2(At,st);return w.some(ms(Ot.x,Ot.y,Ot.width,Ot.height-He))});return co.showWithinBounds(Ct,Za(Tt.dialog),{anchor:z},kn),ao.refresh(Ct),s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow",Ye),Tt.instanceApi.setData(he),mt.focusIn(Tt.dialog),Tt.instanceApi};return Ht.open(W,$)};return{open:m,openUrl:g,alert:($,z)=>{i.open($,z)},close:$=>{$.close()},confirm:($,z)=>{d.open($,z)}}},doe=t=>{lA(t),PV(t),HS(t)};var uoe=()=>{nh.add("silver",t=>{doe(t);let s=()=>rr();const{dialogs:a,popups:i,renderUI:d}=XZ(t,{getPopupSinkBounds:()=>s()}),m=()=>{const y=d();return nu(t,i.getMothership().element).each(C=>{s=()=>bg(C)}),y};SI.register(t,i.backstage.shared);const g=coe({editor:t,backstages:{popup:i.backstage,dialog:a.backstage}}),b=()=>eC(t,{backstage:i.backstage},i.getMothership());return{renderUI:m,getWindowManagerImpl:X(g),getNotificationManagerImpl:b}})};uoe()})(),tinymce.IconManager.add("default",{icons:{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1.1.9-2 2-2Zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5c0-.6-.4-1-1-1a1 1 0 0 0-1 1v5c0 .6-.4 1-1 1a1 1 0 0 1-1-1V9H4a1 1 0 1 1 0-2h16c.6 0 1 .4 1 1s-.4 1-1 1Z" fill-rule="nonzero"/></svg>',"accordion-toggle":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 15c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1h-6a1 1 0 0 1-1-1Z"/><path opacity=".2" fill-rule="evenodd" clip-rule="evenodd" d="M4 19c0-.6.4-1 1-1h6c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1-1-1Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.3 7.3a1 1 0 0 1 1.4 0L16 9.6l2.3-2.3a1 1 0 1 1 1.4 1.4L16 12.4l-3.7-3.7a1 1 0 0 1 0-1.4ZM4.3 11.7a1 1 0 0 1 0-1.4L6.6 8 4.3 5.7a1 1 0 0 1 1.4-1.4L9.4 8l-3.7 3.7a1 1 0 0 1-1.4 0Z"/></svg>',accordion:'<svg width="24" height="24"><rect x="12" y="7" width="10" height="2" rx="1"/><rect x="12" y="11" width="10" height="2" rx="1"/><rect x="12" y="15" width="6" height="2" rx="1"/><path fill-rule="evenodd" clip-rule="evenodd" d="M2.3 7.3a1 1 0 0 1 1.4 0L6 9.6l2.3-2.3a1 1 0 0 1 1.4 1.4L6 12.4 2.3 8.7a1 1 0 0 1 0-1.4Z"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 0 0-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 1 0-1.4-1.4L12 13.6 5.7 7.3Z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 0 0 1.4-1.4L12 6.6l-7.7 7.7a1 1 0 0 0 1.4 1.4L12 9.4l6.3 6.3Z"/></svg>',addtag:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 5a2 2 0 0 1 1.6.8L21 12l-4.4 6.2a2 2 0 0 1-1.6.8h-3v-2h3l3.5-5L15 7H5v3H3V7c0-1.1.9-2 2-2h10Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 12a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2H7v-2c0-.6-.4-1-1-1Z"/></svg>',"ai-prompt":'<svg width="24" height="24"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 6.7a1 1 0 0 0-1.4 0l-9.9 10a1 1 0 0 0 0 1.3l2.1 2.1c.4.4 1 .4 1.4 0l10-9.9c.3-.3.3-1 0-1.4l-2.2-2Zm1.4 2.8-2-2-3 2.7 2.2 2.2 2.8-2.9Z"/><path d="m18.5 7.3-.7-1.5-1.5-.8 1.5-.7.7-1.5.7 1.5 1.5.7-1.5.8-.7 1.5ZM18.5 16.5l-.7-1.6-1.5-.7 1.5-.7.7-1.6.7 1.6 1.5.7-1.5.7-.7 1.6ZM9.7 7.3 9 5.8 7.5 5 9 4.3l.7-1.5.7 1.5L12 5l-1.5.8-.7 1.5Z"/></g><defs><clipPath id="a"><path d="M0 0h24v24H0z"/></clipPath></defs></svg>',ai:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3H5Zm6.8 11.5.5 1.2a68.3 68.3 0 0 0 .7 1.1l.4.1c.3 0 .5 0 .7-.3.2-.1.3-.3.3-.6l-.3-1-2.6-6.2a20.4 20.4 0 0 0-.5-1.3l-.5-.4-.7-.2c-.2 0-.5 0-.6.2-.2 0-.4.2-.5.4l-.3.6-.3.7L5.7 15l-.2.6-.1.4c0 .3 0 .5.3.7l.6.2c.3 0 .5 0 .7-.2l.4-1 .5-1.2h3.9ZM9.8 9l1.5 4h-3l1.5-4Zm5.6-.9v7.6c0 .4 0 .7.2 1l.7.2c.3 0 .6 0 .8-.3l.2-.9V8.1c0-.4 0-.7-.2-.9a1 1 0 0 0-.8-.3c-.2 0-.5.1-.7.3l-.2 1Z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24"><path d="M14.2 5 13 7H5a1 1 0 1 1 0-2h9.2Zm4 0h.8a1 1 0 0 1 0 2h-2l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h6.8Zm4 0H19a1 1 0 0 1 0 2h-4.4l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h4.4Zm4 0H19a1 1 0 0 1 0 2h-6.8l1.2-2ZM7 17l-1.2 2H5a1 1 0 0 1 0-2h2Zm4 0h8a1 1 0 0 1 0 2H9.8l1.2-2Zm5.2-13.5 1.3.7-9.7 16.3-1.3-.7 9.7-16.3Z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="m5.6 13 12 6a1 1 0 0 0 1.4-1V6a1 1 0 0 0-1.4-.9l-12 6a1 1 0 0 0 0 1.8Z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="m18.5 13-12 6A1 1 0 0 1 5 18V6a1 1 0 0 1 1.4-.9l12 6a1 1 0 0 1 0 1.8Z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 0 1-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8Zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4Zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4Z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 0 0-1 1Z" fill-rule="nonzero"/></svg>',"border-style":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="2" x="3" y="6" rx="1"/><rect width="2.8" height="2" x="3" y="16" rx="1"/><rect width="2.8" height="2" x="6.8" y="16" rx="1"/><rect width="2.8" height="2" x="10.6" y="16" rx="1"/><rect width="2.8" height="2" x="14.4" y="16" rx="1"/><rect width="2.8" height="2" x="18.2" y="16" rx="1"/><rect width="8" height="2" x="3" y="11" rx="1"/><rect width="8" height="2" x="13" y="11" rx="1"/></g></svg>',"border-width":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="5" x="3" y="5" rx="1"/><rect width="18" height="3.5" x="3" y="11.5" rx="1"/><rect width="18" height="2" x="3" y="17" rx="1"/></g></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3Zm0-10a1 1 0 0 1-.7-.3A1 1 0 0 1 11 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3Zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-1a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1ZM7 12c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H5a1 1 0 0 1-.7-.3A1 1 0 0 1 4 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7Zm10 3.5.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 0 1-.8.3 1 1 0 0 1-.6-.3l-.8-.7a1 1 0 0 1-.3-.8c0-.2.1-.5.3-.7a1 1 0 0 1 1.4 0Zm-10-7-.7-.8a1 1 0 0 1-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.8-.3Zm10 0a1 1 0 0 1-.8.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7Zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 0 1 0 1.4l-.8.8a1 1 0 0 1-.6.3 1 1 0 0 1-.8-.3 1 1 0 0 1-.3-.8c0-.2.1-.5.3-.6l.7-.8ZM12 8a4 4 0 0 1 3.7 2.4 4 4 0 0 1 0 3.2A4 4 0 0 1 12 16a4 4 0 0 1-3.7-2.4 4 4 0 0 1 0-3.2A4 4 0 0 1 12 8Zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7Z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9.4-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6Z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8ZM12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7Z" fill-rule="nonzero"/></svg>',"cell-background-color":'<svg width="24" height="24"><path d="m15.7 2 1.6 1.6-2.7 2.6 5.9 5.8c.7.7.7 1.7 0 2.4l-6.3 6.1a1.7 1.7 0 0 1-2.4 0l-6.3-6.1c-.7-.7-.7-1.7 0-2.4L15.7 2ZM18 12l-4.5-4L9 12h9ZM4 16s2 2.4 2 3.8C6 21 5.1 22 4 22s-2-1-2-2.2C2 18.4 4 16 4 16Z"/></svg>',"cell-border-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M5 13v5h2v2H5a2 2 0 0 1-2-2v-5h2zm8-7V4h6a2 2 0 0 1 2 2h-8z" opacity=".2"/><path fill-rule="nonzero" d="M13 4v2H5v7H3V6c0-1.1.9-2 2-2h8zm-2.6 14.1.1-.1.1.1.2.3.2.2.2.2c.4.6.8 1.2.8 1.7 0 .8-.7 1.5-1.5 1.5S9 21.3 9 20.5c0-.5.4-1.1.8-1.7l.2-.2.2-.2.2-.3z"/><path d="m13 11-2 2H5v-2h6V6h2z"/><path fill-rule="nonzero" d="m18.4 8 1 1-1.8 1.9 4 4c.5.4.5 1.1 0 1.6l-4.3 4.2a1.2 1.2 0 0 1-1.6 0l-4.4-4.2c-.4-.5-.4-1.2 0-1.7l7-6.8Zm1.6 7-3-3-3 3h6Z"/></g></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 0 1-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 0 1-1 .7h-.2a.7.7 0 0 1-.7-1l4-12a1 1 0 0 1 2 0l4 12a.7.7 0 0 1-.8 1h-.2a1 1 0 0 1-1-.7l-.8-2.6zm-.3-1.5-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1Zm4.8-6.8V10H7.7V5.8h-1v-1h2ZM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1Zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1ZM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2V18.7l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 0 1-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 0 0-.5-.1 1 1 0 0 0-.4 0l-.3.4h-1Zm2.3.8h-.2l-.2.1-.4.1a1 1 0 0 0-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6Zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4Zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 0 0 1.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 0 0-.6-.3l-.6.3-.2.8Zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 0 0-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 0 1-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 0 1-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1Z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2h-8a1 1 0 0 1 0-2ZM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3 4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 0 1 0-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1Z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 0 1 0-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 0 1 0-1.1L6 5 2.2 1.3Z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8 5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 0 1 0-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0Z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24"><path d="M17.3 8.2 13.4 12l3.9 3.8a1 1 0 0 1-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 0 1-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 0 1 1.5-1.5l3.8 3.9 3.8-3.9a1 1 0 0 1 1.5 1.5Z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 0 1-.8 2 2.8 2.8 0 0 1 .8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11Zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 0 1-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 0 1 .8-2 2.8 2.8 0 0 1-.8-2Zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2ZM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 0 1-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 0 1-.5-.5V17a3 3 0 0 0 1-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5Z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0 1 18 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 0 1-3.7 3 5.7 5.7 0 0 1-3.2 0A5.9 5.9 0 0 1 7.6 18a6.2 6.2 0 0 1-1.4-2.6 6.7 6.7 0 0 1 0-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 0 1 2.3-4A20 20 0 0 1 12 4a26.4 26.4 0 0 1 3.2 3.4 18.2 18.2 0 0 1 2.3 4Zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 0 0-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 0 1-1.3 3 5.3 5.3 0 0 1-2.3 1.5 4.9 4.9 0 0 1-2 .1 4.3 4.3 0 0 0 2.4.8 4 4 0 0 0 2-.6 4 4 0 0 0 1.5-1.5Z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 0 0 0 18 1.5 1.5 0 0 0 1.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8Zm-5.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3-4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3 3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/><path d="M13 10h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V8a1 1 0 0 1 2 0v2Z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-6 8a6 6 0 0 0 6 6V6a6 6 0 0 0-6 6Z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 0 0-2 2v11h2V5h10V3Zm1 4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7Zm0 12V9h-7v10h7Z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-2H7V9H5a1 1 0 1 1 0-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3ZM9 9v5l5-5H9Zm1 6h5v-5l-5 5Z" fill-rule="evenodd"/></svg>',"cut-column":'<svg width="24" height="24"><path fill-rule="evenodd" d="M7.2 4.5c.9 0 1.6.4 2.2 1A3.7 3.7 0 0 1 10.5 8v.5l1 1 4-4 1-.5a3.3 3.3 0 0 1 2 0c.4 0 .7.3 1 .5L17 8h4v13h-6V10l-1.5 1.5.5.5v4l-2.5-2.5-1 1v.5c0 .4 0 .8-.3 1.2-.2.5-.4.9-.8 1.2-.6.7-1.3 1-2.2 1-.8.2-1.5 0-2-.6l-.5-.8-.2-1c0-.4 0-.8.3-1.2A3.9 3.9 0 0 1 7 12.7c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2-.5-.1-1-.4-1.4-.9-.4-.3-.6-.7-.8-1.2L4.5 7c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7Zm12.3 5h-3v10h3v-10ZM8 13.8h-.3l-.4.2a2.8 2.8 0 0 0-.7.4v.1a2.8 2.8 0 0 0-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 0 0 .8-.3 2.4 2.4 0 0 0 .7-.7 2.5 2.5 0 0 0 .3-.8 1.5 1.5 0 0 0 0-.8 1 1 0 0 0-.2-.4 1 1 0 0 0-.5-.2H8Zm3.5-3.7c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4ZM7 5.8h-.4a1 1 0 0 0-.5.3 1 1 0 0 0-.2.5v.7a2.5 2.5 0 0 0 .3.8l.2.3h.1l.4.4.4.2.4.1h.7L9 9l.2-.4a1.6 1.6 0 0 0 0-.8 2.6 2.6 0 0 0-.3-.8A2.5 2.5 0 0 0 7.7 6l-.4-.1H7Z"/></svg>',"cut-row":'<svg width="24" height="24"><path fill-rule="evenodd" d="M22 3v5H9l3 3 2-2h4l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8.7.6 1 1.3 1 2.2.2.8 0 1.5-.6 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l2 2V3h14ZM8.5 15.3h-.3a2.6 2.6 0 0 0-.8.4 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3L9 18V18l.4-.4.2-.4.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2h-.5Zm7 0H15a1 1 0 0 0-.4.3 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4a2.8 2.8 0 0 0 .5.7h.1a2.8 2.8 0 0 0 .8.6l.4.1h.7l.5-.2.2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3h-.3ZM12 11.6c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4Zm8.5-7.1h-11v2h11v-2Z"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 0 1 0 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8Zm-8.5 2.2.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2 1.6 1.6 0 0 0-.8 0 2.6 2.6 0 0 0-.8.3 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3 2.8 2.8 0 0 0 1-1Zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4Zm5.4 4 .2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3 1.5 1.5 0 0 0-.8 0 1 1 0 0 0-.4.2 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4l.3.4.3.4a2.8 2.8 0 0 0 .8.5l.4.1h.7l.5-.2Z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5Zm0 4h2v2h-2V9ZM9 9h2v2H9V9Zm4 4h2v2h-2v-2Zm-4 0h2v2H9v-2Zm0 4h2v2H9v-2Zm4 0h2v2h-2v-2ZM9 5h2v2H9V5Z" fill-rule="evenodd"/></svg>',"duplicate-column":'<svg width="24" height="24"><path d="M17 6v16h-7V6h7Zm-2 2h-3v12h3V8Zm-2-6v2H8v15H6V2h7Z"/></svg>',"duplicate-row":'<svg width="24" height="24"><path d="M22 11v7H6v-7h16Zm-2 2H8v3h12v-3Zm-1-6v2H4v5H2V7h17Z"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10Zm3 8h-2V9h-7v10h9a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7a2 2 0 0 1 2 2v2Z"/><path d="M17 14h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1Z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="m19.8 8.8-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5Zm-2-.2 1-.9v-.3l-2.2-2.2a.3.3 0 0 0-.3 0l-1 1L18 8.5Zm-1 1-2.5-2.4-6 6 2.5 2.5 6-6Zm-7 7.1-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5Z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 0 0-2-2H7v2h11v9ZM6 17h15a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1H6a2 2 0 0 1-2-2V7H3a1 1 0 1 1 0-2h1V4a1 1 0 1 1 2 0v13Zm3-5.3 1.3 2 3-4.7 3.7 6H7l2-3.3Z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0 1 19 6Zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4Zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6Zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3Zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 0 0 8 19h3ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 0 0-4 4.5h2.2Zm-3.4 0a12 12 0 0 1 2.8-4 12 12 0 0 0-5 4h2.2Z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm4.8 2.6 5.6 4a.5.5 0 0 1 0 .8l-5.6 4A.5.5 0 0 1 9 16V8a.5.5 0 0 1 .8-.4Z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13Z" fill-rule="nonzero"/></svg>',export:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M14.4 3 18 7v1h-5V5H7v14h9a1 1 0 0 1 2 0c0 1-.8 2-1.9 2H7c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2h7.5Z"/><path d="M18.1 12c.5 0 .9.4.9 1 0 .5-.3 1-.8 1h-7.3c-.5 0-.9-.4-.9-1 0-.5.3-1 .8-1h7.3Z"/><path d="M16.4 9.2a1 1 0 0 1 1.4.2l2.4 3.6-2.4 3.6a1 1 0 0 1-1.7-1v-.2l1.7-2.4-1.6-2.4a1 1 0 0 1 .2-1.4Z"/></g></svg>',fill:'<svg width="24" height="26"><path d="m16.6 12-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 0 0 2.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2ZM5.2 13 10 8.2l4.8 4.8H5.2ZM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.3-2-3.5-2-3.5Z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2Zm4-8h2V9h-2v2ZM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 0 0-2 2Zm14-2v2h2a2 2 0 0 0-2-2Zm-7 16h2V3h-2v18Zm7-6h2v-2h-2v2Zm-4-8h2V5h-2v2Zm4 12a2 2 0 0 0 2-2h-2v2Z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5Zm8 4v2h2v-2h-2Zm4-14H7a2 2 0 0 0-2 2v3h2V6h10v3h2V6a2 2 0 0 0-2-2Zm2 14h-2v2a2 2 0 0 0 2-2ZM3 11v2h18v-2H3Zm6 7v2h2v-2H9Zm8-4v2h2v-2h-2ZM5 18c0 1.1.9 2 2 2v-2H5Z" fill-rule="nonzero"/></svg>',footnote:'<svg width="24" height="24"><path d="M19 13c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h14Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19 4v6h-1V5h-1.5V4h2.6Z"/><path d="M12 18c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h7ZM14 8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2h9Z"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 0 0-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3Z" fill-rule="nonzero"/></svg>',format:'<svg width="24" height="24"><path fill-rule="evenodd" d="M17 5a1 1 0 0 1 0 2h-4v11a1 1 0 0 1-2 0V7H7a1 1 0 1 1 0-2h10Z"/></svg>',fullscreen:'<svg width="24" height="24"><path d="m15.3 10-1.2-1.3 2.9-3h-2.3a.9.9 0 1 1 0-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 1 1-1.8 0V7l-2.9 3Zm0 4 3 3v-2.3a.9.9 0 1 1 1.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 1 1 0-1.8H17l-3-2.9 1.3-1.2ZM10 15.4l-2.9 3h2.3a.9.9 0 1 1 0 1.7H5a.9.9 0 0 1-.9-.9v-4.4a.9.9 0 1 1 1.8 0V17l2.9-3 1.2 1.3ZM8.7 10 5.7 7v2.3a.9.9 0 0 1-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 0 1 0 1.8H7l3 2.9-1.3 1.2Z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="m5 15.7 2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7ZM5 18V19h3l1.8-1.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V7c0-.6.4-1 1-1Zm6 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM4.5 4h15a.5.5 0 1 1 0 1h-15a.5.5 0 0 1 0-1Zm2-2h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1Z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 0 0-.4-.8l-.1-.2H8v-1l.3-.1.3-.1h.7a1 1 0 0 1 .6.5l.1.3a8.5 8.5 0 0 1 .3.6l1.9 4.6 2-5.2a1 1 0 0 1 1-.6.5.5 0 0 1 .5.6L13 14v2.8a.7.7 0 0 1-1.4 0Z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 0 0-6 9 6.3 6.3 0 0 0 1.4 2l1 1a6.3 6.3 0 0 0 3.6 1 6.5 6.5 0 0 0 6-9 6.3 6.3 0 0 0-1.4-2l-1-1a6.3 6.3 0 0 0-3.6-1ZM12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Z"/><path d="M9.6 9.7a.7.7 0 0 1-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 0 0-.8.8.8.8 0 0 1-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8Z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="m5 15.7 3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7ZM5 18V19h3l2.8-2.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-1 3v2h2V7h-2Zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4Z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 0 0 1.8-2.9 6.3 6.3 0 0 0-.1-4.1 5.8 5.8 0 0 0-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 0 0-3.9 1.8 6.3 6.3 0 0 0-1.3 6 6.2 6.2 0 0 0 1.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 0 1 4 11c0-1 .2-1.9.6-2.7A7 7 0 0 1 6.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 0 1 5.7 2 7 7 0 0 1 1.7 2.3 6 6 0 0 1 .2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 0 1-3.6 2.5v.5Z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm0 2a9 9 0 1 1 0-18 9 9 0 0 1 0 18Z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 0 0-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1Z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3 16.5 18a5.8 5.8 0 0 1-3.1 1.9 6.1 6.1 0 0 1-5.5-1.6A5.8 5.8 0 0 1 6 14v-.3l.1-1.2A13.9 13.9 0 0 1 7.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6Zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 0 0 .2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 0 0-3-4.2L12 6a26.1 26.1 0 0 0-2.2 2.5l-1-1a20.9 20.9 0 0 1 2.9-3.3L12 4l1 .8a22.2 22.2 0 0 1 4 5.4c.6 1.2 1 2.4 1 3.6Z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="m16.7 4.7-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8Z" fill-rule="evenodd"/></svg>',language:'<svg width="24" height="24"><path d="M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm4.3 13.3c-.5 1-1.2 2-2 2.9a7.5 7.5 0 0 0 3.2-2.1l-.2-.2a6 6 0 0 0-1-.6Zm-8.6 0c-.5.2-.9.5-1.2.8.9 1 2 1.7 3.2 2a10 10 0 0 1-2-2.8Zm3.6-.8c-.8 0-1.6.1-2.2.3.5 1 1.2 1.9 2.1 2.7Zm1.5 0v3c.9-.8 1.6-1.7 2.1-2.7-.6-.2-1.4-.3-2.1-.3Zm-6-2.7H4.5c.2 1 .5 2.1 1 3h.3l1.3-1a10 10 0 0 1-.3-2Zm12.7 0h-2.3c0 .7-.1 1.4-.3 2l1.6 1.1c.5-1 .9-2 1-3.1Zm-3.8 0h-3V14c1 0 2 .1 2.7.4.2-.5.3-1 .3-1.6Zm-4.4 0h-3l.3 1.6c.8-.3 1.7-.4 2.7-.4v-1.3Zm-5.5-5c-.7 1-1.1 2.2-1.3 3.5h2.3c0-1 .2-1.8.5-2.6l-1.5-1Zm2.9 1.4v.1c-.2.6-.4 1.3-.4 2h3V9.4c-1 0-1.8-.1-2.6-.3Zm6.6 0h-.1l-2.4.3v1.8h3l-.5-2.1Zm3-1.4-.3.1-1.3.8c.3.8.5 1.6.5 2.6h2.3a7.5 7.5 0 0 0-1.3-3.5Zm-9 0 2 .2V5.5a9 9 0 0 0-2 2.2Zm3.5-2.3V8c.6 0 1.3 0 1.9-.2a9 9 0 0 0-2-2.3Zm-3-.7h-.1c-1.1.4-2.1 1-3 1.8l1.2.7a10 10 0 0 1 1.9-2.5Zm4.4 0 .1.1a10 10 0 0 1 1.8 2.4l1.1-.7a7.5 7.5 0 0 0-3-1.8Z"/></svg>',"line-height":'<svg width="24" height="24"><path d="M21 5a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zM7 3.6l3.7 3.7a1 1 0 0 1-1.3 1.5h-.1L8 7.3v9.2l1.3-1.3a1 1 0 0 1 1.3 0h.1c.4.4.4 1 0 1.3v.1L7 20.4l-3.7-3.7a1 1 0 0 1 1.3-1.5h.1L6 16.7V7.4L4.7 8.7a1 1 0 0 1-1.3 0h-.1a1 1 0 0 1 0-1.3v-.1L7 3.6z"/></svg>',line:'<svg width="24" height="24"><path d="m15 9-8 8H4v-3l8-8 3 3Zm1-1-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1ZM4 18h16v2H4v-2Z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2-2a2 2 0 1 0-2.6-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2Z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8h-.1l-1.5 1v-1.1l1.6-1.1h1.2v6zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2Zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5Zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7Zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7Zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6ZM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7ZM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4Zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3ZM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6Zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7Zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4Zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3Zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7Zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8Zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4ZM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22Zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3ZM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM37.1 34.6 34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1ZM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4Zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8Zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3ZM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22Zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1Zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33Zm0 10v-1.2h-1.3V26H33Zm0 10v-1.2h-1.3V36H33Z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15Zm0 10v-1.2h1.3V26H15Zm0 10v-1.2h1.3V36H15Z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="m39.3 17-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3Zm-1.6-4.7-.7 2.3h1.6l-.8-2.3ZM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7Zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26ZM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="m12.6 17-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3ZM11 12.3l-.7 2.3h1.6l-.8-2.3Zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7ZM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7ZM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26Zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3Zm0 10v-1.2H33V27h-1.3Zm0 10v-1.2H33V37h-1.3Z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15Zm0 10v-1.2h1.3V27H15Zm0 10v-1.2h1.3V37H15Z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3ZM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7Z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5ZM4.4 16.2 6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',minus:'<svg width="24" height="24"><path d="M19 11a1 1 0 0 1 .1 2H5a1 1 0 0 1-.1-2H19Z"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="m15 13 2-2v8H5V7h8l-2 2H7v8h8v-4Zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19Z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3Zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1Z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M15.5 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7ZM13 17v-2h-2v2h2Zm0-4V7h-2v6h2Z" fill-rule="evenodd" clip-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2Zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19Zm-1 8.8.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3Zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2ZM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6Zm-1 8.8.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3ZM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4 1 13l6.4 6.5 6.5-6.5-6.5-6.5ZM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7ZM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1Z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm1.6-3.8a1 1 0 0 1-1.2 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 0 1 1.2 1.6L6.8 12l1.8 1.2Z" fill-rule="evenodd"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2ZM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1ZM6 22a1 1 0 0 1-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5H7v5c0 .6-.4 1-1 1Z"/></g></svg>',paragraph:'<svg width="24" height="24"><path fill-rule="evenodd" d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z"/></svg>',"paste-column-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h7v2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm8 7v12h-6V8h6Zm-1.5 1.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-column-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V18c0 1-.8 2-1.9 2H11v-2h7V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v2H4V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm-2 7v12H4V8h6ZM8.5 9.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V11h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h14c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 11v5H8v-5h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h12v-4h2v4c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 7v5H8V8h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2Z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24"><path d="M10.5 17.5 8 20H3v-3l3.5-3.5a2 2 0 0 1 0-3L14 3l1 1-7.3 7.3a1 1 0 0 0 0 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 0 1-2.8 0l-.1-.1Z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><path d="M12 4c.5 0 1 .4 1 .9V11h6a1 1 0 0 1 .1 2H13v6a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H11V5c0-.6.4-1 1-1Z"/></svg>',preferences:'<svg width="24" height="24"><path d="m20.1 13.5-1.9.2a5.8 5.8 0 0 1-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 0 1-1.4 0l-1.5-1.2a6.2 6.2 0 0 1-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 0 1-1-.9l-.2-1.9a5.8 5.8 0 0 1-1.5-.6l-1.5 1.2a1 1 0 0 1-1.4 0l-.7-.7a1 1 0 0 1 0-1.4l1.2-1.5a6.2 6.2 0 0 1-.6-1.5l-1.9-.2a1 1 0 0 1-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 0 1 .6-1.5L5.2 7.3a1 1 0 0 1 0-1.4l.7-.7a1 1 0 0 1 1.4 0l1.5 1.2a6.2 6.2 0 0 1 1.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 0 1 1.5.6l1.5-1.2a1 1 0 0 1 1.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 0 1 .6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 0 0 2.1-2.8 15.7 15.7 0 0 0-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 0 0-6.7 3.2A16.2 16.2 0 0 0 3.2 12c0 .2.2.3.3.5Zm-2.4-1 .7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 0 1 2.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 0 1-2.8-3.7 1 1 0 0 1 0-1Zm12-3.3a2 2 0 1 0 2.7 2.6 4 4 0 1 1-2.6-2.6Z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 0 0-3 3v6h2v3h14v-3h2v-6a3 3 0 0 0-3-3Zm-1 10H7v-4h10v4Zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5Zm.5-8H6v2h12V5Z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 1 1-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 1 1 1.4-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4l3.3-3.3Z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m5 22.1-1.2-4.7v-.2a1 1 0 0 1 1-1l5 .4a1 1 0 1 1-.2 2l-2.2-.2a7.8 7.8 0 0 0 8.4.2 7.5 7.5 0 0 0 3.5-6.4 1 1 0 1 1 2 0 9.5 9.5 0 0 1-4.5 8 9.9 9.9 0 0 1-10.2 0l.4 1.4a1 1 0 1 1-2 .5ZM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 0 0-9.5-1 7.5 7.5 0 0 0-3.6 7 1 1 0 0 1-2 0 9.5 9.5 0 0 1 4.5-8.6 10 10 0 0 1 10.9.3l-.3-1a1 1 0 0 1 2-.5l1.1 4.8a1 1 0 0 1-1 1.2l-5-.4a1 1 0 0 1-.9-1Z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 0 1 0 .2l-2.6 10a1 1 0 0 1-1 .8h-.2a.8.8 0 0 1-.8-1l2.6-10H8a1 1 0 1 1 0-2h9a1 1 0 0 1 0 2h-3.8ZM5 18h7a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Zm13 1.5L16.5 18 15 19.5a.7.7 0 0 1-1-1l1.5-1.5-1.5-1.5a.7.7 0 0 1 1-1l1.5 1.5 1.5-1.5a.7.7 0 0 1 1 1L17.5 17l1.5 1.5a.7.7 0 0 1-1 1Z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 0 1 0 2h-1v9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9H5a1 1 0 1 1 0-2h3V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1Zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v1h4Zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9Zm-7 3a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm4 0a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 1 1 9 2l-7 7A.5.5 0 1 1 1 8l7-7ZM8.1 5.1A.5.5 0 1 1 9 6l-3 3A.5.5 0 1 1 5 8l3-3Z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-6a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3A1 1 0 0 1 4 11V5Z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1Z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 0 1 2 0v6c0 .6-.4 1-1 1h-6a1 1 0 0 1 0-2h4.3L16 7A7.2 7.2 0 0 0 7.7 6a7 7 0 0 0 3 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 0 1 1.4 1.5A9.2 9.2 0 0 1 2.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8Z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 4.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L8 5Zm12 11.2a1 1 0 1 1-1 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 1 1 1 1.6L18.4 15l1.8 1.2Z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2Zm0 2v2h14v-2H5Zm10 0h2v2h-2v-2Zm-4-6.4L8.7 9.3a1 1 0 1 0-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 1 0-1.4-1.4L13 11.6V4a1 1 0 0 0-2 0v7.6Z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 0 0-2 2Zm0 8h2v-2H3v2Zm4 8h2v-2H7v2ZM3 9h2V7H3v2Zm10-6h-2v2h2V3Zm6 0v2h2a2 2 0 0 0-2-2ZM5 21v-2H3c0 1.1.9 2 2 2Zm-2-4h2v-2H3v2ZM9 3H7v2h2V3Zm2 18h2v-2h-2v2Zm8-8h2v-2h-2v2Zm0 8a2 2 0 0 0 2-2h-2v2Zm0-12h2V7h-2v2Zm0 8h2v-2h-2v2Zm-4 4h2v-2h-2v2Zm0-16h2V3h-2v2ZM7 17h10V7H7v10Zm2-8h6v6H9V9Z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm3.6 10.9L7 12.3a.7.7 0 0 0-1 1L9.6 17 18 8.6a.7.7 0 0 0 0-1 .7.7 0 0 0-1 0l-7.4 7.3Z"/></svg>',send:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="m13.3 22 7-18.3-18.3 7L9 15l4.3 7ZM18 6.8l-.7-.7L9.4 14l.7.7L18 6.8Z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V8H5a1 1 0 1 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6ZM8 8h2V6H8v2Zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V13H5a1 1 0 0 1 0-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6ZM14 13h2v-2h-2v2Zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V18H5a1 1 0 0 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6ZM8 18h2v-2H8v2Z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="m16 6 4 4-8 9-8-9 4-4h8Zm-4 10.2 5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2Z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 0 1 0-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7ZM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 0 0-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7Z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6Zm0-3v2h2V5H6Zm13 0h-3v5h3v1h-3a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1Zm-5 1.5-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5ZM13 10V8h-2v2h2Zm0-3V5h-2v2h2Zm3 5 1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12Z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 0 1 7 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1Z"/><path d="M5 11h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24"><path d="m10.4 10 4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10ZM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 0 0-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 0 1-1.3 1.3l-.6.6h2.6V19Z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4 10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4Zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11Z" fill-rule="nonzero"/></svg>',"table-caption":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="12" height="2" x="3" y="4" rx="1"/><path d="M19 8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></g></svg>',"table-cell-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M13 4v9H3V6c0-1.1.9-2 2-2h8Zm-2 2H5v5h6V6Z"/><path fill-rule="nonzero" d="M13 4h6a2 2 0 0 1 2 2v7h-8v-2h6V6h-6V4Z" opacity=".2"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/><path fill-rule="nonzero" d="M3 13v5c0 1.1.9 2 2 2h8v-7h-2v5H5v-5H3Z" opacity=".2"/></g></svg>',"table-cell-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8 0h-6v5h6v-5Zm-8-7H5v5h6V6Z"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z" opacity=".2"/></g></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z" opacity=".2"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z"/></g></svg>',"table-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v7h-8v7H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8-7h-6v5h6V6Zm-8 0H5v5h6V6Z"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2Zm.3.5 1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5Z"/></svg>',"table-delete-row":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6Zm-4.7 1.8 1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3Z"/></svg>',"table-delete-table":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 6v12h14V6H5Z"/><path d="m14.4 8.6 1.1 1-2.4 2.4 2.4 2.4-1.1 1.1-2.4-2.4-2.4 2.4-1-1.1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"/></g></svg>',"table-insert-column-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M20 4c.6 0 1 .4 1 1v2a1 1 0 0 1-2 0V6h-8v12h8v-1a1 1 0 0 1 2 0v2c0 .5-.4 1-.9 1H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h15ZM9 13H5v5h4v-5Zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H17v2a1 1 0 0 1-2 .1V13h-2a1 1 0 0 1-.1-2H15V9c0-.6.4-1 1-1ZM9 6H5v5h4V6Z"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a1 1 0 0 1-1-1v-2a1 1 0 0 1 2 0v1h8V6H5v1a1 1 0 1 1-2 0V5c0-.6.4-1 1-1h15Zm0 9h-4v5h4v-5ZM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H9v2a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H7V9c0-.6.4-1 1-1Zm11-2h-4v5h4V6Z"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4a1 1 0 1 1 0 2H5v6h14V6h-1a1 1 0 0 1 0-2h2c.6 0 1 .4 1 1v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-.6.4-1 1-1h2Zm5 10H5v4h6v-4Zm8 0h-6v4h6v-4ZM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 .1V8H9a1 1 0 0 1 0-2h2V4c0-.6.4-1 1-1Z"/></svg>',"table-insert-row-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 0 1 .1 2H13v2a1 1 0 0 1-2 .1V18H9a1 1 0 0 1-.1-2H11v-2c0-.6.4-1 1-1Zm6 7a1 1 0 0 1 0-2h1v-6H5v6h1a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1V6c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v13c0 .5-.4 1-.9 1H18ZM11 6H5v4h6V6Zm8 0h-6v4h6V6Z"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 9h-4v5h4v-5Zm-6 0H9v5h4v-5Zm0-7H9v5h4V6Zm6 0h-4v5h4V6Z"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15.5V18h3v-2.5H5Zm14-5h-9V18h9v-7.5ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Zm-8 7.5h3v-3H5v3Z"/></svg>',"table-row-numbering-rtl":'<svg width="24" height="24"><path d="M6 4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6Zm0 12h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 11h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 6h8v3H6V6Zm11 0c.6 0 1 .4 1 1v1a1 1 0 1 1-2 0V7c0-.6.4-1 1-1Z"/></svg>',"table-row-numbering":'<svg width="24" height="24"><path d="M18 4a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h12Zm0 12h-8v3h8v-3ZM7 16a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8v-3ZM7 11a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8V6ZM7 6a1 1 0 0 0-1 1v1a1 1 0 1 0 2 0V7c0-.6-.4-1-1-1Z"/></svg>',"table-row-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-9h-6v3h6V6ZM5 9h6V6H5v3Z"/></svg>',"table-split-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM8 15.5H5V18h3v-2.5Zm11-5h-9V18h9v-7.5Zm-2.5 1 1 1-2 2 2 2-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2Zm-8.5-1H5v3h3v-3ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Z"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 11H5v3h6v-3Zm8 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></svg>',table:'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 14v4h6v-4H5Zm14 0h-6v4h6v-4Zm0-6h-6v4h6V8ZM5 12h6V8H5v4Z"/></svg>',"template-add":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 12v4H5a2 2 0 0 0-2 2v3h9.3a6 6 0 0 1-.3-2H5v-1h7a6 6 0 0 1 .8-2H11v-5l-.8-.6a3 3 0 1 1 3.6 0l-.8.6v4.7a6 6 0 0 1 2-1.9V12a5 5 0 1 0-6 0Z"/><path d="M18 15c.5 0 1 .4 1 .9V18h2a1 1 0 0 1 .1 2H19v2a1 1 0 0 1-2 .1V20h-2a1 1 0 0 1-.1-2H17v-2c0-.6.4-1 1-1Z"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14ZM9 16v-4a5 5 0 1 1 6 0v4h4a2 2 0 0 1 2 2v3H3v-3c0-1.1.9-2 2-2h4Zm4 0v-5l.8-.6a3 3 0 1 0-3.6 0l.8.6v5h2Z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 1 1 1 0V6H15v1.6a8 8 0 1 1-6 0Zm-2.6 5.3a.5.5 0 0 0 .3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 0 1 3.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 0 0-4.1 3.7Z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path class="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"/></g></svg>',"text-size-decrease":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM14 12a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2h-6Z"/></svg>',"text-size-increase":'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H4a1 1 0 0 1 0-2h10ZM17 9a1 1 0 0 0-1 1v2h-2a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2v-2c0-.6-.4-1-1-1Z"/></svg>',toc:'<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="m12.7 14.3-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8Zm4.3-3 2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 0 1 2 0Zm-2.2 4.4h2.4L16 12.5l-1.2 3.2Z" fill-rule="evenodd"/></svg>',typography:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M17 5a1 1 0 1 1 0 2h-4v11a1 1 0 1 1-2 0V7H7a1 1 0 0 1 0-2h10Z"/><path d="m17.5 14 .8-1.7 1.7-.8-1.7-.8-.8-1.7-.8 1.7-1.7.8 1.7.8.8 1.7ZM7 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1 1-2Z"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1ZM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8Z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2ZM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1ZM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5Zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5Zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17Zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19Zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19Z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 0 0-.3-.7A1 1 0 0 0 16 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2Z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6Z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12ZM11 6.4 8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4Z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24Zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7ZM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13Z" fill-rule="nonzero"/></svg>',"vertical-align":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 0 1 1.2 1.5l-.1.1-4.1 3-4-3a1 1 0 0 1 1-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8 4 2.9a1 1 0 0 1-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 0 1-1-1v-4l-2 1.3a1 1 0 0 1-1.2-.1l-.1-.1a1 1 0 0 1 .1-1.3l.1-.1 4.1-3z"/></g></svg>',visualblocks:'<svg width="24" height="24"><path d="M9 19v2H7v-2h2Zm-4 0v2a2 2 0 0 1-2-2h2Zm8 0v2h-2v-2h2Zm8 0a2 2 0 0 1-2 2v-2h2Zm-4 0v2h-2v-2h2ZM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15ZM5 15v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 11v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 7v2H3V7h2Zm16 0v2h-2V7h2ZM5 3v2H3c0-1.1.9-2 2-2Zm8 0v2h-2V3h2Zm6 0a2 2 0 0 1 2 2h-2V3ZM9 3v2H7V3h2Zm8 0v2h-2V3h2Z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6ZM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3Zm.7-3 .3-4a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7l.3 4h1.4Z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-1-9a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0V8Zm-2 4a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-3-5a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>'}}),function(){var N=tinymce.util.Tools.resolve("tinymce.PluginManager");const J=(B,Z,Q)=>{var be;return Q(B,Z.prototype)?!0:((be=B.constructor)===null||be===void 0?void 0:be.name)===Z.name},U=B=>{const Z=typeof B;return B===null?"null":Z==="object"&&Array.isArray(B)?"array":Z==="object"&&J(B,String,(Q,be)=>be.isPrototypeOf(Q))?"string":Z},fe=B=>Z=>U(Z)===B,te=B=>Z=>typeof Z===B,H=B=>Z=>B===Z,Se=fe("string"),Y=fe("object"),ve=fe("array"),tt=H(null),Ut=te("boolean"),yn=B=>B==null,Un=B=>!yn(B),yo=te("function"),Wr=(B,Z)=>{if(ve(B)){for(let Q=0,be=B.length;Q<be;++Q)if(!Z(B[Q]))return!1;return!0}return!1},qn=()=>{},Mo=B=>()=>B,Es=(B,Z)=>B===Z;class Mt{constructor(Z,Q){this.tag=Z,this.value=Q}static some(Z){return new Mt(!0,Z)}static none(){return Mt.singletonNone}fold(Z,Q){return this.tag?Q(this.value):Z()}isSome(){return this.tag}isNone(){return!this.tag}map(Z){return this.tag?Mt.some(Z(this.value)):Mt.none()}bind(Z){return this.tag?Z(this.value):Mt.none()}exists(Z){return this.tag&&Z(this.value)}forall(Z){return!this.tag||Z(this.value)}filter(Z){return!this.tag||Z(this.value)?this:Mt.none()}getOr(Z){return this.tag?this.value:Z}or(Z){return this.tag?this:Z}getOrThunk(Z){return this.tag?this.value:Z()}orThunk(Z){return this.tag?this:Z()}getOrDie(Z){if(this.tag)return this.value;throw new Error(Z??"Called getOrDie on None")}static from(Z){return Un(Z)?Mt.some(Z):Mt.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(Z){this.tag&&Z(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Mt.singletonNone=new Mt(!1);const le=Array.prototype.indexOf,gn=Array.prototype.push,sl=(B,Z)=>le.call(B,Z),mo=(B,Z)=>sl(B,Z)>-1,X=(B,Z)=>{const Q=B.length,be=new Array(Q);for(let Ve=0;Ve<Q;Ve++){const kt=B[Ve];be[Ve]=Z(kt,Ve)}return be},qt=(B,Z)=>{for(let Q=0,be=B.length;Q<be;Q++){const Ve=B[Q];Z(Ve,Q)}},vo=(B,Z,Q)=>(qt(B,(be,Ve)=>{Q=Z(Q,be,Ve)}),Q),qe=B=>{const Z=[];for(let Q=0,be=B.length;Q<be;++Q){if(!ve(B[Q]))throw new Error("Arr.flatten item "+Q+" was not an array, input: "+B);gn.apply(Z,B[Q])}return Z},Ee=(B,Z)=>qe(X(B,Z)),Lt=(B,Z)=>{for(let Q=0;Q<B.length;Q++){const be=Z(B[Q],Q);if(be.isSome())return be}return Mt.none()},Ao=(B,Z,Q=Es)=>B.exists(be=>Q(be,Z)),on=B=>{const Z=[],Q=be=>{Z.push(be)};for(let be=0;be<B.length;be++)B[be].each(Q);return Z},xe=(B,Z)=>B?Mt.some(Z):Mt.none(),w=B=>Z=>Z.options.get(B),Jt=B=>{const Z=B.options.register;Z("link_assume_external_targets",{processor:Q=>{const be=Se(Q)||Ut(Q);return be?Q===!0?{value:1,valid:be}:Q==="http"||Q==="https"?{value:Q,valid:be}:{value:0,valid:be}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),Z("link_context_toolbar",{processor:"boolean",default:!1}),Z("link_list",{processor:Q=>Se(Q)||yo(Q)||Wr(Q,Y)}),Z("link_default_target",{processor:"string"}),Z("link_default_protocol",{processor:"string",default:"https"}),Z("link_target_list",{processor:Q=>Ut(Q)||Wr(Q,Y),default:!0}),Z("link_rel_list",{processor:"object[]",default:[]}),Z("link_class_list",{processor:"object[]",default:[]}),Z("link_title",{processor:"boolean",default:!0}),Z("allow_unsafe_link_target",{processor:"boolean",default:!1}),Z("link_quicklink",{processor:"boolean",default:!1})},Pe=w("link_assume_external_targets"),ts=w("link_context_toolbar"),Cu=w("link_list"),Qe=w("link_default_target"),fo=w("link_default_protocol"),sr=w("link_target_list"),ia=w("link_rel_list"),vc=w("link_class_list"),Te=w("link_title"),Ge=w("allow_unsafe_link_target"),D=w("link_quicklink");var rl=tinymce.util.Tools.resolve("tinymce.util.Tools");const hn=B=>Se(B.value)?B.value:"",Si=B=>Se(B.text)?B.text:Se(B.title)?B.title:"",Lo=(B,Z)=>{const Q=[];return rl.each(B,be=>{const Ve=Si(be);if(be.menu!==void 0){const kt=Lo(be.menu,Z);Q.push({text:Ve,items:kt})}else{const kt=Z(be);Q.push({text:Ve,value:kt})}}),Q},Ym=(B=hn)=>Z=>Mt.from(Z).map(Q=>Lo(Q,B)),bt={sanitize:B=>Ym(hn)(B),sanitizeWith:Ym,createUi:(B,Z)=>Q=>({name:B,type:"listbox",label:Z,items:Q}),getValue:hn},pe=Object.keys,Hl=Object.hasOwnProperty,ca=(B,Z)=>{const Q=pe(B);for(let be=0,Ve=Q.length;be<Ve;be++){const kt=Q[be],Vn=B[kt];Z(Vn,kt)}},xt=B=>(Z,Q)=>{B[Q]=Z},Ei=(B,Z,Q,be)=>{ca(B,(Ve,kt)=>{(Z(Ve,kt)?Q:be)(Ve,kt)})},Ks=(B,Z)=>{const Q={};return Ei(B,Z,xt(Q),qn),Q},xc=(B,Z)=>Hl.call(B,Z),xo=(B,Z)=>xc(B,Z)&&B[Z]!==void 0&&B[Z]!==null;var Vs=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),vd=tinymce.util.Tools.resolve("tinymce.util.URI");const Is=B=>Un(B)&&B.nodeName.toLowerCase()==="a",Ho=B=>Is(B)&&!!zo(B),io=(B,Z)=>{if(B.collapsed)return[];{const Q=B.cloneContents(),be=Q.firstChild,Ve=new Vs(be,Q),kt=[];let Vn=be;do Z(Vn)&&kt.push(Vn);while(Vn=Ve.next());return kt}},wc=B=>/^\w+:/i.test(B),zo=B=>{var Z,Q;return(Q=(Z=B.getAttribute("data-mce-href"))!==null&&Z!==void 0?Z:B.getAttribute("href"))!==null&&Q!==void 0?Q:""},ro=(B,Z)=>{const Q=["noopener"],be=B?B.split(/\s+/):[],Ve=In=>rl.trim(In.sort().join(" ")),kt=In=>(In=Vn(In),In.length>0?In.concat(Q):Q),Vn=In=>In.filter(Co=>rl.inArray(Q,Co)===-1),eo=Z?kt(be):Vn(be);return eo.length>0?Ve(eo):""},Ti=B=>B.replace(/\uFEFF/g,""),$o=(B,Z)=>(Z=Z||da(B.selection.getRng())[0]||B.selection.getNode(),bn(Z)?Mt.from(B.dom.select("a[href]",Z)[0]):Mt.from(B.dom.getParent(Z,"a[href]"))),Uo=(B,Z)=>$o(B,Z).isSome(),Fs=(B,Z)=>{const Q=Z.fold(()=>B.getContent({format:"text"}),be=>be.innerText||be.textContent||"");return Ti(Q)},da=B=>io(B,Ho),Ai=B=>rl.grep(B,Ho),Po=B=>Ai(B).length>0,xd=B=>da(B).length>0,Ue=B=>{const Z=B.schema.getTextInlineElements(),Q=kt=>kt.nodeType===1&&!Is(kt)&&!xc(Z,kt.nodeName.toLowerCase());if($o(B).exists(kt=>kt.hasAttribute("data-mce-block")))return!1;const Ve=B.selection.getRng();return Ve.collapsed?!0:io(Ve,Q).length===0},bn=B=>Un(B)&&B.nodeName==="FIGURE"&&/\bimage\b/i.test(B.className),Nr=B=>vo(["title","rel","class","target"],(Q,be)=>(B[be].each(Ve=>{Q[be]=Ve.length>0?Ve:null}),Q),{href:B.href}),pr=(B,Z)=>(Z==="http"||Z==="https")&&!wc(B)?Z+"://"+B:B,_u=(B,Z)=>{const Q={...Z};if(ia(B).length===0&&!Ge(B)){const be=ro(Q.rel,Q.target==="_blank");Q.rel=be||null}return Mt.from(Q.target).isNone()&&sr(B)===!1&&(Q.target=Qe(B)),Q.href=pr(Q.href,Pe(B)),Q},al=(B,Z,Q,be)=>{Q.each(Ve=>{xc(Z,"innerText")?Z.innerText=Ve:Z.textContent=Ve}),B.dom.setAttribs(Z,be),B.selection.select(Z)},Ni=(B,Z,Q,be)=>{const Ve=B.dom;bn(Z)?ku(Ve,Z,be):Q.fold(()=>{B.execCommand("mceInsertLink",!1,be)},kt=>{B.insertContent(Ve.createHTML("a",be,Ve.encode(kt)))})},ll=(B,Z,Q)=>{const be=B.selection.getNode(),Ve=$o(B,be),kt=_u(B,Nr(Q));B.undoManager.transact(()=>{Q.href===Z.href&&Z.attach(),Ve.fold(()=>{Ni(B,be,Q.text,kt)},Vn=>{B.focus(),al(B,Vn,Q.text,kt)})})},wd=B=>{const Z=B.dom,Q=B.selection,be=Q.getBookmark(),Ve=Q.getRng().cloneRange(),kt=Z.getParent(Ve.startContainer,"a[href]",B.getBody()),Vn=Z.getParent(Ve.endContainer,"a[href]",B.getBody());kt&&Ve.setStartBefore(kt),Vn&&Ve.setEndAfter(Vn),Q.setRng(Ve),B.execCommand("unlink"),Q.moveToBookmark(be)},Zn=B=>{B.undoManager.transact(()=>{const Z=B.selection.getNode();bn(Z)?_d(B,Z):wd(B),B.focus()})},_t=B=>{const{class:Z,href:Q,rel:be,target:Ve,text:kt,title:Vn}=B;return Ks({class:Z.getOrNull(),href:Q,rel:be.getOrNull(),target:Ve.getOrNull(),text:kt.getOrNull(),title:Vn.getOrNull()},(eo,In)=>tt(eo)===!1)},zl=(B,Z)=>{const Q=B.options.get,be={allow_html_data_urls:Q("allow_html_data_urls"),allow_script_urls:Q("allow_script_urls"),allow_svg_data_urls:Q("allow_svg_data_urls")},Ve=Z.href;return{...Z,href:vd.isDomSafe(Ve,"a",be)?Ve:""}},Cd=(B,Z,Q)=>{const be=zl(B,Q);B.hasPlugin("rtc",!0)?B.execCommand("createlink",!1,_t(be)):ll(B,Z,be)},Di=B=>{B.hasPlugin("rtc",!0)?B.execCommand("unlink"):Zn(B)},_d=(B,Z)=>{var Q;const be=B.dom.select("img",Z)[0];if(be){const Ve=B.dom.getParents(be,"a[href]",Z)[0];Ve&&((Q=Ve.parentNode)===null||Q===void 0||Q.insertBefore(be,Ve),B.dom.remove(Ve))}},ku=(B,Z,Q)=>{var be;const Ve=B.select("img",Z)[0];if(Ve){const kt=B.create("a",Q);(be=Ve.parentNode)===null||be===void 0||be.insertBefore(kt,Ve),kt.appendChild(Ve)}},Ts=B=>xo(B,"items"),Cc=(B,Z)=>Lt(Z,Q=>Ts(Q)?Cc(B,Q.items):xe(Q.value===B,Q)),Ul=(B,Z,Q,be)=>{const Ve=be[Z],kt=B.length>0;return Ve!==void 0?Cc(Ve,Q).map(Vn=>({url:{value:Vn.value,meta:{text:kt?B:Vn.text,attach:qn}},text:kt?B:Vn.text})):Mt.none()},Oi=(B,Z)=>Z==="link"?B.link:Z==="anchor"?B.anchor:Mt.none(),il={init:(B,Z)=>{const Q={text:B.text,title:B.title},be=In=>{var Co;return xe(Q.title.length<=0,Mt.from((Co=In.meta)===null||Co===void 0?void 0:Co.title).getOr(""))},Ve=In=>{var Co;return xe(Q.text.length<=0,Mt.from((Co=In.meta)===null||Co===void 0?void 0:Co.text).getOr(In.value))},kt=In=>{const Co=Ve(In.url),pn=be(In.url);return Co.isSome()||pn.isSome()?Mt.some({...Co.map(Do=>({text:Do})).getOr({}),...pn.map(Do=>({title:Do})).getOr({})}):Mt.none()},Vn=(In,Co)=>{const pn=Oi(Z,Co).getOr([]);return Ul(Q.text,Co,pn,In)};return{onChange:(In,Co)=>{const pn=Co.name;return pn==="url"?kt(In()):mo(["anchor","link"],pn)?Vn(In(),pn):((pn==="text"||pn==="title")&&(Q[pn]=In()[pn]),Mt.none())}}},getDelta:Ul};var Su=tinymce.util.Tools.resolve("tinymce.util.Delay");const Ys=(B,Z,Q)=>{const be=B.selection.getRng();Su.setEditorTimeout(B,()=>{B.windowManager.confirm(Z,Ve=>{B.selection.setRng(be),Q(Ve)})})},cl=B=>{const Z=B.href;return Z.indexOf("@")>0&&Z.indexOf("/")===-1&&Z.indexOf("mailto:")===-1?Mt.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:be=>({...be,href:"mailto:"+Z})}):Mt.none()},_c=(B,Z)=>Q=>{const be=Q.href;return B===1&&!wc(be)||B===0&&/^\s*www(\.|\d\.)/i.test(be)?Mt.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${Z}:// prefix?`,preprocess:kt=>({...kt,href:Z+"://"+be})}):Mt.none()},Bi={preprocess:(B,Z)=>Lt([cl,_c(Pe(B),fo(B))],Q=>Q(Z)).fold(()=>Promise.resolve(Z),Q=>new Promise(be=>{Ys(B,Q.message,Ve=>{be(Ve?Q.preprocess(Z):Z)})}))},ze={getAnchors:B=>{const Z=B.dom.select("a:not([href])"),Q=Ee(Z,be=>{const Ve=be.name||be.id;return Ve?[{text:Ve,value:"#"+Ve}]:[]});return Q.length>0?Mt.some([{text:"None",value:""}].concat(Q)):Mt.none()}},kc={getClasses:B=>{const Z=vc(B);return Z.length>0?bt.sanitize(Z):Mt.none()}},Jm=B=>{try{return Mt.some(JSON.parse(B))}catch{return Mt.none()}},Gg={getLinks:B=>{const Z=be=>B.convertURL(be.value||be.url||"","href"),Q=Cu(B);return new Promise(be=>{Se(Q)?fetch(Q).then(Ve=>Ve.ok?Ve.text().then(Jm):Promise.reject()).then(be,()=>be(Mt.none())):yo(Q)?Q(Ve=>be(Mt.some(Ve))):be(Mt.from(Q))}).then(be=>be.bind(bt.sanitizeWith(Z)).map(Ve=>Ve.length>0?[{text:"None",value:""}].concat(Ve):Ve))}},F1={getRels:(B,Z)=>{const Q=ia(B);if(Q.length>0){const be=Ao(Z,"_blank"),Ve=Ge(B)===!1,kt=eo=>ro(bt.getValue(eo),be);return(Ve?bt.sanitizeWith(kt):bt.sanitize)(Q)}return Mt.none()}},Sc=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],ns={getTargets:B=>{const Z=sr(B);return ve(Z)?bt.sanitize(Z).orThunk(()=>Mt.some(Sc)):Z===!1?Mt.none():Mt.some(Sc)}},wo=(B,Z,Q)=>{const be=B.getAttrib(Z,Q);return be!==null&&be.length>0?Mt.some(be):Mt.none()},Tu=(B,Z)=>{const Q=B.dom,Ve=Ue(B)?Mt.some(Fs(B.selection,Z)):Mt.none(),kt=Z.bind(pn=>Mt.from(Q.getAttrib(pn,"href"))),Vn=Z.bind(pn=>Mt.from(Q.getAttrib(pn,"target"))),eo=Z.bind(pn=>wo(Q,pn,"rel")),In=Z.bind(pn=>wo(Q,pn,"class")),Co=Z.bind(pn=>wo(Q,pn,"title"));return{url:kt,text:Ve,title:Co,target:Vn,rel:eo,linkClass:In}},Zl={collect:(B,Z)=>Gg.getLinks(B).then(Q=>{const be=Tu(B,Z);return{anchor:be,catalogs:{targets:ns.getTargets(B),rels:F1.getRels(B,be.target),classes:kc.getClasses(B),anchor:ze.getAnchors(B),link:Q},optNode:Z,flags:{titleEnabled:Te(B)}}})},kd=(B,Z)=>Q=>{const be=Q.getData();if(!be.url.value){Di(B),Q.close();return}const Ve=eo=>Mt.from(be[eo]).filter(In=>!Ao(Z.anchor[eo],In)),kt={href:be.url.value,text:Ve("text"),target:Ve("target"),rel:Ve("rel"),class:Ve("linkClass"),title:Ve("title")},Vn={href:be.url.value,attach:be.url.meta!==void 0&&be.url.meta.attach?be.url.meta.attach:qn};Bi.preprocess(B,kt).then(eo=>{Cd(B,Vn,eo)}),Q.close()},Au=B=>{const Z=$o(B);return Zl.collect(B,Z)},No=(B,Z)=>{const Q=B.anchor,be=Q.url.getOr("");return{url:{value:be,meta:{original:{value:be}}},text:Q.text.getOr(""),title:Q.title.getOr(""),anchor:be,link:be,rel:Q.rel.getOr(""),target:Q.target.or(Z).getOr(""),linkClass:Q.linkClass.getOr("")}},ua=(B,Z,Q)=>{const be=[{name:"url",type:"urlinput",filetype:"file",label:"URL",picker_text:"Browse links"}],Ve=B.anchor.text.map(()=>({name:"text",type:"input",label:"Text to display"})).toArray(),kt=B.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],Vn=Mt.from(Qe(Q)),eo=No(B,Vn),In=B.catalogs,Co=il.init(eo,In);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:qe([be,Ve,kt,on([In.anchor.map(bt.createUi("anchor","Anchors")),In.rels.map(bt.createUi("rel","Rel")),In.targets.map(bt.createUi("target","Open link in...")),In.link.map(bt.createUi("link","Link list")),In.classes.map(bt.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:eo,onChange:(Do,{name:ml})=>{Co.onChange(Do.getData,{name:ml}).each(tf=>{Do.setData(tf)})},onSubmit:Z}},Mi=B=>{Au(B).then(Q=>{const be=kd(B,Q);return ua(Q,be,B)}).then(Q=>{B.windowManager.open(Q)})},Nu=B=>{B.addCommand("mceLink",(Z,Q)=>{(Q==null?void 0:Q.dialog)===!0||!D(B)?Mi(B):B.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"})})};var Sd=tinymce.util.Tools.resolve("tinymce.util.VK");const Gr=(B,Z)=>{document.body.appendChild(B),B.dispatchEvent(Z),document.body.removeChild(B)},Du=B=>{const Z=document.createElement("a");Z.target="_blank",Z.href=B,Z.rel="noreferrer noopener";const Q=document.createEvent("MouseEvents");Q.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Gr(Z,Q)},qg=(B,Z)=>B.dom.getParent(Z,"a[href]"),Ed=B=>qg(B,B.selection.getStart()),Rn=B=>B.altKey===!0&&B.shiftKey===!1&&B.ctrlKey===!1&&B.metaKey===!1,Wl=(B,Z)=>{if(Z){const Q=zo(Z);if(/^#/.test(Q)){const be=B.dom.select(Q);be.length&&B.selection.scrollIntoView(be[0],!0)}else Du(Z.href)}},br=B=>()=>{B.execCommand("mceLink",!1,{dialog:!0})},dl=B=>()=>{Wl(B,Ed(B))},Ec=B=>{B.on("click",Z=>{const Q=qg(B,Z.target);Q&&Sd.metaKeyPressed(Z)&&(Z.preventDefault(),Wl(B,Q))}),B.on("keydown",Z=>{if(!Z.isDefaultPrevented()&&Z.keyCode===13&&Rn(Z)){const Q=Ed(B);Q&&(Z.preventDefault(),Wl(B,Q))}})},Ra=(B,Z)=>(B.on("NodeChange",Z),()=>B.off("NodeChange",Z)),yr=B=>Z=>{const Q=()=>{Z.setActive(!B.mode.isReadOnly()&&Uo(B,B.selection.getNode())),Z.setEnabled(B.selection.isEditable())};return Q(),Ra(B,Q)},ef=B=>Z=>{const Q=()=>{Z.setEnabled(B.selection.isEditable())};return Q(),Ra(B,Q)},ma=B=>(B.selection.isCollapsed()?Ai(B.dom.getParents(B.selection.getStart())):da(B.selection.getRng())).length===1,Ou=B=>Z=>{const Q=()=>Z.setEnabled(ma(B));return Q(),Ra(B,Q)},Td=B=>Z=>{const Q=kt=>Po(kt)||xd(B.selection.getRng()),be=B.dom.getParents(B.selection.getStart()),Ve=kt=>{Z.setEnabled(Q(kt)&&B.selection.isEditable())};return Ve(be),Ra(B,kt=>Ve(kt.parents))},Ad=B=>{B.addShortcut("Meta+K","",()=>{B.execCommand("mceLink")})},qr=B=>{B.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:br(B),onSetup:yr(B)}),B.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:dl(B),onSetup:Ou(B)}),B.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>Di(B),onSetup:Td(B)})},ul=B=>{B.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:dl(B),onSetup:Ou(B)}),B.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onSetup:ef(B),onAction:br(B)}),B.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>Di(B),onSetup:Td(B)})},Nd=B=>{const Z="link unlink openlink",Q="link";B.ui.registry.addContextMenu("link",{update:be=>B.dom.isEditable(be)?Po(B.dom.getParents(be,"a"))?Z:Q:""})},Bu=B=>{const Z=Ve=>{Ve.selection.collapse(!1)},Q=Ve=>{const kt=B.selection.getNode();return Ve.setEnabled(Uo(B,kt)),qn},be=Ve=>{const kt=$o(B),Vn=Ue(B);if(kt.isNone()&&Vn){const eo=Fs(B.selection,kt);return xe(eo.length===0,Ve)}else return Mt.none()};B.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:yr(B)},label:"Link",predicate:Ve=>ts(B)&&Uo(B,Ve),initValue:()=>$o(B).fold(Mo(""),zo),commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:Ve=>{const kt=B.selection.getNode();return Ve.setActive(Uo(B,kt)),yr(B)(Ve)},onAction:Ve=>{const kt=Ve.getValue(),Vn=be(kt);Cd(B,{href:kt,attach:qn},{href:kt,text:Vn,title:Mt.none(),rel:Mt.none(),target:Mt.none(),class:Mt.none()}),Z(B),Ve.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:Q,onAction:Ve=>{Di(B),Ve.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:Q,onAction:Ve=>{dl(B)(),Ve.hide()}}]})};var Mu=()=>{N.add("link",B=>{Jt(B),qr(B),ul(B),Nd(B),Bu(B),Ec(B),Nu(B),Ad(B)})};Mu()}(),function(){var N=tinymce.util.Tools.resolve("tinymce.PluginManager");const J=Object.getPrototypeOf,U=(E,R,F)=>{var ce;return F(E,R.prototype)?!0:((ce=E.constructor)===null||ce===void 0?void 0:ce.name)===R.name},fe=E=>{const R=typeof E;return E===null?"null":R==="object"&&Array.isArray(E)?"array":R==="object"&&U(E,String,(F,ce)=>ce.isPrototypeOf(F))?"string":R},te=E=>R=>fe(R)===E,H=E=>R=>typeof R===E,Se=E=>R=>E===R,Y=(E,R)=>tt(E)&&U(E,R,(F,ce)=>J(F)===ce),ve=te("string"),tt=te("object"),Ut=E=>Y(E,Object),yn=te("array"),Un=Se(null),yo=H("boolean"),Wr=E=>E==null,qn=E=>!Wr(E),Mo=H("function"),Es=H("number"),Mt=(E,R)=>{if(yn(E)){for(let F=0,ce=E.length;F<ce;++F)if(!R(E[F]))return!1;return!0}return!1},le=()=>{};class gn{constructor(R,F){this.tag=R,this.value=F}static some(R){return new gn(!0,R)}static none(){return gn.singletonNone}fold(R,F){return this.tag?F(this.value):R()}isSome(){return this.tag}isNone(){return!this.tag}map(R){return this.tag?gn.some(R(this.value)):gn.none()}bind(R){return this.tag?R(this.value):gn.none()}exists(R){return this.tag&&R(this.value)}forall(R){return!this.tag||R(this.value)}filter(R){return!this.tag||R(this.value)?this:gn.none()}getOr(R){return this.tag?this.value:R}or(R){return this.tag?this:R}getOrThunk(R){return this.tag?this.value:R()}orThunk(R){return this.tag?this:R()}getOrDie(R){if(this.tag)return this.value;throw new Error(R??"Called getOrDie on None")}static from(R){return qn(R)?gn.some(R):gn.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(R){this.tag&&R(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}gn.singletonNone=new gn(!1);const sl=Object.keys,mo=Object.hasOwnProperty,X=(E,R)=>{const F=sl(E);for(let ce=0,nt=F.length;ce<nt;ce++){const dn=F[ce],dt=E[dn];R(dt,dn)}},qt=E=>(R,F)=>{E[F]=R},vo=(E,R,F,ce)=>{X(E,(nt,dn)=>{(R(nt,dn)?F:ce)(nt,dn)})},qe=(E,R)=>{const F={};return vo(E,R,qt(F),le),F},Ee=(E,R)=>mo.call(E,R),Lt=(E,R)=>Ee(E,R)&&E[R]!==void 0&&E[R]!==null,Ao=Array.prototype.push,on=E=>{const R=[];for(let F=0,ce=E.length;F<ce;++F){if(!yn(E[F]))throw new Error("Arr.flatten item "+F+" was not an array, input: "+E);Ao.apply(R,E[F])}return R},xe=(E,R)=>R>=0&&R<E.length?gn.some(E[R]):gn.none(),w=E=>xe(E,0),Jt=(E,R)=>{for(let F=0;F<E.length;F++){const ce=R(E[F],F);if(ce.isSome())return ce}return gn.none()};typeof window<"u"||Function("return this;")();const Pe=(E,R,F)=>{if(ve(F)||yo(F)||Es(F))E.setAttribute(R,F+"");else throw console.error("Invalid call to Attribute.set. Key ",R,":: Value ",F,":: Element ",E),new Error("Attribute value was not simple")},ts=(E,R,F)=>{Pe(E.dom,R,F)},Cu=(E,R)=>{E.dom.removeAttribute(R)},Qe=(E,R)=>{const ce=(R||document).createElement("div");if(ce.innerHTML=E,!ce.hasChildNodes()||ce.childNodes.length>1){const nt="HTML does not have a single root node";throw console.error(nt,E),new Error(nt)}return ia(ce.childNodes[0])},fo=(E,R)=>{const ce=(R||document).createElement(E);return ia(ce)},sr=(E,R)=>{const ce=(R||document).createTextNode(E);return ia(ce)},ia=E=>{if(E==null)throw new Error("Node cannot be null or undefined");return{dom:E}},Te={fromHtml:Qe,fromTag:fo,fromText:sr,fromDom:ia,fromPoint:(E,R,F)=>gn.from(E.dom.elementFromPoint(R,F)).map(ia)};var Ge=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),D=tinymce.util.Tools.resolve("tinymce.util.URI");const rl=E=>E.length>0,hn=E=>R=>R.options.get(E),Si=E=>{const R=E.options.register;R("image_dimensions",{processor:"boolean",default:!0}),R("image_advtab",{processor:"boolean",default:!1}),R("image_uploadtab",{processor:"boolean",default:!0}),R("image_prepend_url",{processor:"string",default:""}),R("image_class_list",{processor:"object[]"}),R("image_description",{processor:"boolean",default:!0}),R("image_title",{processor:"boolean",default:!1}),R("image_caption",{processor:"boolean",default:!1}),R("image_list",{processor:F=>{const ce=F===!1||ve(F)||Mt(F,tt)||Mo(F);return ce?{value:F,valid:ce}:{valid:!1,message:"Must be false, a string, an array or a function."}},default:!1})},Lo=hn("image_dimensions"),Ym=hn("image_advtab"),Vt=hn("image_uploadtab"),Qn=hn("image_prepend_url"),bt=hn("image_class_list"),pe=hn("image_description"),Hl=hn("image_title"),ca=hn("image_caption"),xt=hn("image_list"),Ei=hn("a11y_advanced_options"),Ks=hn("automatic_uploads"),xc=E=>rl(E.options.get("images_upload_url")),xo=E=>qn(E.options.get("images_upload_handler")),Vs=(E,R)=>Math.max(parseInt(E,10),parseInt(R,10)),vd=E=>new Promise(R=>{const F=document.createElement("img"),ce=dn=>{F.onload=F.onerror=null,F.parentNode&&F.parentNode.removeChild(F),R(dn)};F.onload=()=>{const dn=Vs(F.width,F.clientWidth),dt=Vs(F.height,F.clientHeight),xs={width:dn,height:dt};ce(Promise.resolve(xs))},F.onerror=()=>{ce(Promise.reject(`Failed to get image dimensions for: ${E}`))};const nt=F.style;nt.visibility="hidden",nt.position="fixed",nt.bottom=nt.left="0px",nt.width=nt.height="auto",document.body.appendChild(F),F.src=E}),Is=E=>(E&&(E=E.replace(/px$/,"")),E),Ho=E=>(E.length>0&&/^[0-9]+$/.test(E)&&(E+="px"),E),io=E=>{if(E.margin){const R=String(E.margin).split(" ");switch(R.length){case 1:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[0],E["margin-bottom"]=E["margin-bottom"]||R[0],E["margin-left"]=E["margin-left"]||R[0];break;case 2:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[1],E["margin-bottom"]=E["margin-bottom"]||R[0],E["margin-left"]=E["margin-left"]||R[1];break;case 3:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[1],E["margin-bottom"]=E["margin-bottom"]||R[2],E["margin-left"]=E["margin-left"]||R[1];break;case 4:E["margin-top"]=E["margin-top"]||R[0],E["margin-right"]=E["margin-right"]||R[1],E["margin-bottom"]=E["margin-bottom"]||R[2],E["margin-left"]=E["margin-left"]||R[3]}delete E.margin}return E},wc=(E,R)=>{const F=xt(E);ve(F)?fetch(F).then(ce=>{ce.ok&&ce.json().then(R)}):Mo(F)?F(R):R(F)},zo=(E,R,F)=>{const ce=()=>{F.onload=F.onerror=null,E.selection&&(E.selection.select(F),E.nodeChanged())};F.onload=()=>{!R.width&&!R.height&&Lo(E)&&E.dom.setAttribs(F,{width:String(F.clientWidth),height:String(F.clientHeight)}),ce()},F.onerror=ce},ro=E=>new Promise((R,F)=>{const ce=new FileReader;ce.onload=()=>{R(ce.result)},ce.onerror=()=>{var nt;F((nt=ce.error)===null||nt===void 0?void 0:nt.message)},ce.readAsDataURL(E)}),Ti=E=>E.nodeName==="IMG"&&(E.hasAttribute("data-mce-object")||E.hasAttribute("data-mce-placeholder")),$o=(E,R)=>{const F=E.options.get;return D.isDomSafe(R,"img",{allow_html_data_urls:F("allow_html_data_urls"),allow_script_urls:F("allow_script_urls"),allow_svg_data_urls:F("allow_svg_data_urls")})},Uo=Ge.DOM,Fs=E=>E.style.marginLeft&&E.style.marginRight&&E.style.marginLeft===E.style.marginRight?Is(E.style.marginLeft):"",da=E=>E.style.marginTop&&E.style.marginBottom&&E.style.marginTop===E.style.marginBottom?Is(E.style.marginTop):"",Ai=E=>E.style.borderWidth?Is(E.style.borderWidth):"",Po=(E,R)=>{var F;return E.hasAttribute(R)&&(F=E.getAttribute(R))!==null&&F!==void 0?F:""},xd=E=>E.parentNode!==null&&E.parentNode.nodeName==="FIGURE",Ue=(E,R,F)=>{F===""||F===null?E.removeAttribute(R):E.setAttribute(R,F)},bn=E=>{const R=Uo.create("figure",{class:"image"});Uo.insertAfter(R,E),R.appendChild(E),R.appendChild(Uo.create("figcaption",{contentEditable:"true"},"Caption")),R.contentEditable="false"},Nr=E=>{const R=E.parentNode;qn(R)&&(Uo.insertAfter(E,R),Uo.remove(R))},pr=E=>{xd(E)?Nr(E):bn(E)},_u=(E,R)=>{const F=E.getAttribute("style"),ce=R(F!==null?F:"");ce.length>0?(E.setAttribute("style",ce),E.setAttribute("data-mce-style",ce)):E.removeAttribute("style")},al=(E,R)=>(F,ce,nt)=>{const dn=F.style;dn[ce]?(dn[ce]=Ho(nt),_u(F,R)):Ue(F,ce,nt)},Ni=(E,R)=>E.style[R]?Is(E.style[R]):Po(E,R),ll=(E,R)=>{const F=Ho(R);E.style.marginLeft=F,E.style.marginRight=F},wd=(E,R)=>{const F=Ho(R);E.style.marginTop=F,E.style.marginBottom=F},Zn=(E,R)=>{const F=Ho(R);E.style.borderWidth=F},_t=(E,R)=>{E.style.borderStyle=R},zl=E=>{var R;return(R=E.style.borderStyle)!==null&&R!==void 0?R:""},Cd=E=>qn(E)&&E.nodeName==="FIGURE",Di=E=>E.nodeName==="IMG",_d=E=>Uo.getAttrib(E,"alt").length===0&&Uo.getAttrib(E,"role")==="presentation",ku=E=>_d(E)?"":Po(E,"alt"),Ts=()=>({src:"",alt:"",title:"",width:"",height:"",class:"",style:"",caption:!1,hspace:"",vspace:"",border:"",borderStyle:"",isDecorative:!1}),Cc=(E,R)=>{var F;const ce=document.createElement("img");return Ue(ce,"style",R.style),(Fs(ce)||R.hspace!=="")&&ll(ce,R.hspace),(da(ce)||R.vspace!=="")&&wd(ce,R.vspace),(Ai(ce)||R.border!=="")&&Zn(ce,R.border),(zl(ce)||R.borderStyle!=="")&&_t(ce,R.borderStyle),E((F=ce.getAttribute("style"))!==null&&F!==void 0?F:"")},Ul=(E,R)=>{const F=document.createElement("img");if(cl(E,{...R,caption:!1},F),il(F,R.alt,R.isDecorative),R.caption){const ce=Uo.create("figure",{class:"image"});return ce.appendChild(F),ce.appendChild(Uo.create("figcaption",{contentEditable:"true"},"Caption")),ce.contentEditable="false",ce}else return F},Oi=(E,R)=>({src:Po(R,"src"),alt:ku(R),title:Po(R,"title"),width:Ni(R,"width"),height:Ni(R,"height"),class:Po(R,"class"),style:E(Po(R,"style")),caption:xd(R),hspace:Fs(R),vspace:da(R),border:Ai(R),borderStyle:zl(R),isDecorative:_d(R)}),Dr=(E,R,F,ce,nt)=>{F[ce]!==R[ce]&&nt(E,ce,String(F[ce]))},il=(E,R,F)=>{if(F){Uo.setAttrib(E,"role","presentation");const ce=Te.fromDom(E);ts(ce,"alt","")}else{if(Un(R)){const ce=Te.fromDom(E);Cu(ce,"alt")}else{const ce=Te.fromDom(E);ts(ce,"alt",R)}Uo.getAttrib(E,"role")==="presentation"&&Uo.setAttrib(E,"role","")}},Su=(E,R,F)=>{(F.alt!==R.alt||F.isDecorative!==R.isDecorative)&&il(E,F.alt,F.isDecorative)},Ys=(E,R)=>(F,ce,nt)=>{E(F,nt),_u(F,R)},cl=(E,R,F)=>{const ce=Oi(E,F);Dr(F,ce,R,"caption",(nt,dn,dt)=>pr(nt)),Dr(F,ce,R,"src",Ue),Dr(F,ce,R,"title",Ue),Dr(F,ce,R,"width",al("width",E)),Dr(F,ce,R,"height",al("height",E)),Dr(F,ce,R,"class",Ue),Dr(F,ce,R,"style",Ys((nt,dn)=>Ue(nt,"style",dn),E)),Dr(F,ce,R,"hspace",Ys(ll,E)),Dr(F,ce,R,"vspace",Ys(wd,E)),Dr(F,ce,R,"border",Ys(Zn,E)),Dr(F,ce,R,"borderStyle",Ys(_t,E)),Su(F,ce,R)},_c=(E,R)=>{const F=E.dom.styles.parse(R),ce=io(F),nt=E.dom.styles.parse(E.dom.styles.serialize(ce));return E.dom.styles.serialize(nt)},Eu=E=>{const R=E.selection.getNode(),F=E.dom.getParent(R,"figure.image");return F?E.dom.select("img",F)[0]:R&&(R.nodeName!=="IMG"||Ti(R))?null:R},Bi=(E,R)=>{var F;const ce=E.dom,nt=qe(E.schema.getTextBlockElements(),(dt,xs)=>!E.schema.isValidChild(xs,"figure")),dn=ce.getParent(R.parentNode,dt=>Lt(nt,dt.nodeName),E.getBody());return dn&&(F=ce.split(dn,R))!==null&&F!==void 0?F:R},r2=E=>{const R=Eu(E);return R?Oi(F=>_c(E,F),R):Ts()},ze=(E,R)=>{const F=Ul(nt=>_c(E,nt),R);E.dom.setAttrib(F,"data-mce-id","__mcenew"),E.focus(),E.selection.setContent(F.outerHTML);const ce=E.dom.select('*[data-mce-id="__mcenew"]')[0];if(E.dom.setAttrib(ce,"data-mce-id",null),Cd(ce)){const nt=Bi(E,ce);E.selection.select(nt)}else E.selection.select(ce)},Xm=(E,R)=>{E.dom.setAttrib(R,"src",R.getAttribute("src"))},kc=(E,R)=>{if(R){const F=E.dom.is(R.parentNode,"figure.image")?R.parentNode:R;E.dom.remove(F),E.focus(),E.nodeChanged(),E.dom.isEmpty(E.getBody())&&(E.setContent(""),E.selection.setCursorLocation())}},Jm=(E,R)=>{const F=Eu(E);if(F)if(cl(ce=>_c(E,ce),R,F),Xm(E,F),Cd(F.parentNode)){const ce=F.parentNode;Bi(E,ce),E.selection.select(F.parentNode)}else E.selection.select(F),zo(E,R,F)},jg=(E,R)=>{const F=R.src;return{...R,src:$o(E,F)?F:""}},Gg=(E,R)=>{const F=Eu(E);if(F){const nt={...Oi(dt=>_c(E,dt),F),...R},dn=jg(E,nt);nt.src?Jm(E,dn):kc(E,F)}else R.src&&ze(E,{...Ts(),...R})},Sc=(E=>(...R)=>{if(R.length===0)throw new Error("Can't merge zero objects");const F={};for(let ce=0;ce<R.length;ce++){const nt=R[ce];for(const dn in nt)Ee(nt,dn)&&(F[dn]=E(F[dn],nt[dn]))}return F})((E,R)=>Ut(E)&&Ut(R)?Sc(E,R):R);var Qm=tinymce.util.Tools.resolve("tinymce.util.ImageUploader"),ns=tinymce.util.Tools.resolve("tinymce.util.Tools");const wo=E=>ve(E.value)?E.value:"",Tu=E=>ve(E.text)?E.text:ve(E.title)?E.title:"",jr=(E,R)=>{const F=[];return ns.each(E,ce=>{const nt=Tu(ce);if(ce.menu!==void 0){const dn=jr(ce.menu,R);F.push({text:nt,items:dn})}else{const dn=R(ce);F.push({text:nt,value:dn})}}),F},Zl=(E=wo)=>R=>R?gn.from(R).map(F=>jr(F,E)):gn.none(),kd=E=>Zl(wo)(E),Au=E=>Ee(E,"items"),No=(E,R)=>Jt(E,F=>Au(F)?No(F.items,R):F.value===R?gn.some(F):gn.none()),Mi={sanitizer:Zl,sanitize:kd,findEntry:(E,R)=>E.bind(F=>No(F,R))},Sd={makeTab:E=>({title:"Advanced",name:"advanced",items:[{type:"grid",columns:2,items:[{type:"input",label:"Vertical space",name:"vspace",inputMode:"numeric"},{type:"input",label:"Horizontal space",name:"hspace",inputMode:"numeric"},{type:"input",label:"Border width",name:"border",inputMode:"numeric"},{type:"listbox",name:"borderstyle",label:"Border style",items:[{text:"Select...",value:""},{text:"Solid",value:"solid"},{text:"Dotted",value:"dotted"},{text:"Dashed",value:"dashed"},{text:"Double",value:"double"},{text:"Groove",value:"groove"},{text:"Ridge",value:"ridge"},{text:"Inset",value:"inset"},{text:"Outset",value:"outset"},{text:"None",value:"none"},{text:"Hidden",value:"hidden"}]}]}]})},Gr=E=>{const R=Mi.sanitizer(fl=>E.convertURL(fl.value||fl.url||"","src")),F=new Promise(fl=>{wc(E,nf=>{fl(R(nf).map(os=>on([[{text:"None",value:""}],os])))})}),ce=Mi.sanitize(bt(E)),nt=Ym(E),dn=Vt(E),dt=xc(E),xs=xo(E),Ne=r2(E),go=pe(E),Kr=Hl(E),Zo=Lo(E),Ns=ca(E),L1=Ei(E),vn=Ks(E),Pu=gn.some(Qn(E)).filter(fl=>ve(fl)&&fl.length>0);return F.then(fl=>({image:Ne,imageList:fl,classList:ce,hasAdvTab:nt,hasUploadTab:dn,hasUploadUrl:dt,hasUploadHandler:xs,hasDescription:go,hasImageTitle:Kr,hasDimensions:Zo,hasImageCaption:Ns,prependURL:Pu,hasAccessibilityOptions:L1,automaticUploads:vn}))},Du=E=>{const R={name:"src",type:"urlinput",filetype:"image",label:"Source",picker_text:"Browse files"},F=E.imageList.map(Kr=>({name:"images",type:"listbox",label:"Image list",items:Kr})),ce={name:"alt",type:"input",label:"Alternative description",enabled:!(E.hasAccessibilityOptions&&E.image.isDecorative)},nt={name:"title",type:"input",label:"Image title"},dn={name:"dimensions",type:"sizeinput"},dt={type:"label",label:"Accessibility",items:[{name:"isDecorative",type:"checkbox",label:"Image is decorative"}]},xs=E.classList.map(Kr=>({name:"classes",type:"listbox",label:"Class",items:Kr})),Ne={type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]},go=Kr=>Kr?{type:"grid",columns:2}:{type:"panel"};return on([[R],F.toArray(),E.hasAccessibilityOptions&&E.hasDescription?[dt]:[],E.hasDescription?[ce]:[],E.hasImageTitle?[nt]:[],E.hasDimensions?[dn]:[],[{...go(E.classList.isSome()&&E.hasImageCaption),items:on([xs.toArray(),E.hasImageCaption?[Ne]:[]])}]])},Ed={makeTab:E=>({title:"General",name:"general",items:Du(E)}),makeItems:Du},Wl={makeTab:E=>({title:"Upload",name:"upload",items:[{type:"dropzone",name:"fileinput"}]})},br=E=>({prevImage:Mi.findEntry(E.imageList,E.image.src),prevAlt:E.image.alt,open:!0}),dl=E=>({src:{value:E.src,meta:{}},images:E.src,alt:E.alt,title:E.title,dimensions:{width:E.width,height:E.height},classes:E.class,caption:E.caption,style:E.style,vspace:E.vspace,border:E.border,hspace:E.hspace,borderstyle:E.borderStyle,fileinput:[],isDecorative:E.isDecorative}),Ec=(E,R)=>({src:E.src.value,alt:(E.alt===null||E.alt.length===0)&&R?null:E.alt,title:E.title,width:E.dimensions.width,height:E.dimensions.height,class:E.classes,style:E.style,caption:E.caption,hspace:E.hspace,vspace:E.vspace,border:E.border,borderStyle:E.borderstyle,isDecorative:E.isDecorative}),Ra=(E,R)=>/^(?:[a-zA-Z]+:)?\/\//.test(R)?gn.none():E.prependURL.bind(F=>R.substring(0,F.length)!==F?gn.some(F+R):gn.none()),yr=(E,R)=>{const F=R.getData();Ra(E,F.src.value).each(ce=>{R.setData({src:{value:ce,meta:F.src.meta}})})},ef=(E,R,F)=>{E.hasDescription&&ve(F.alt)&&(R.alt=F.alt),E.hasAccessibilityOptions&&(R.isDecorative=F.isDecorative||R.isDecorative||!1),E.hasImageTitle&&ve(F.title)&&(R.title=F.title),E.hasDimensions&&(ve(F.width)&&(R.dimensions.width=F.width),ve(F.height)&&(R.dimensions.height=F.height)),ve(F.class)&&Mi.findEntry(E.classList,F.class).each(ce=>{R.classes=ce.value}),E.hasImageCaption&&yo(F.caption)&&(R.caption=F.caption),E.hasAdvTab&&(ve(F.style)&&(R.style=F.style),ve(F.vspace)&&(R.vspace=F.vspace),ve(F.border)&&(R.border=F.border),ve(F.hspace)&&(R.hspace=F.hspace),ve(F.borderstyle)&&(R.borderstyle=F.borderstyle))},ma=(E,R)=>{const F=R.getData(),ce=F.src.meta;if(ce!==void 0){const nt=Sc({},F);ef(E,nt,ce),R.setData(nt)}},Ou=(E,R,F,ce)=>{const nt=ce.getData(),dn=nt.src.value,dt=nt.src.meta||{};!dt.width&&!dt.height&&R.hasDimensions&&(rl(dn)?E.imageSize(dn).then(xs=>{F.open&&ce.setData({dimensions:xs})}).catch(xs=>console.error(xs)):ce.setData({dimensions:{width:"",height:""}}))},Td=(E,R,F)=>{const ce=F.getData(),nt=Mi.findEntry(E.imageList,ce.src.value);R.prevImage=nt,F.setData({images:nt.map(dn=>dn.value).getOr("")})},Ad=(E,R,F,ce)=>{yr(R,ce),ma(R,ce),Ou(E,R,F,ce),Td(R,F,ce)},qr=(E,R,F,ce)=>{const nt=ce.getData(),dn=Mi.findEntry(R.imageList,nt.images);dn.each(dt=>{nt.alt===""||F.prevImage.map(Ne=>Ne.text===nt.alt).getOr(!1)?dt.value===""?ce.setData({src:dt,alt:F.prevAlt}):ce.setData({src:dt,alt:dt.text}):ce.setData({src:dt})}),F.prevImage=dn,Ad(E,R,F,ce)},ul=(E,R,F,ce)=>{const nt=ce.getData();ce.block("Uploading image"),w(nt.fileinput).fold(()=>{ce.unblock()},dn=>{const dt=URL.createObjectURL(dn),xs=()=>{ce.unblock(),URL.revokeObjectURL(dt)},Ne=go=>{ce.setData({src:{value:go,meta:{}}}),ce.showTab("general"),Ad(E,R,F,ce)};ro(dn).then(go=>{const Kr=E.createBlobCache(dn,dt,go);R.automaticUploads?E.uploadImage(Kr).then(Zo=>{Ne(Zo.url),xs()}).catch(Zo=>{xs(),E.alertErr(Zo)}):(E.addToBlobCache(Kr),Ne(Kr.blobUri()),ce.unblock())})})},Nd=(E,R,F)=>(ce,nt)=>{nt.name==="src"?Ad(E,R,F,ce):nt.name==="images"?qr(E,R,F,ce):nt.name==="alt"?F.prevAlt=ce.getData().alt:nt.name==="fileinput"?ul(E,R,F,ce):nt.name==="isDecorative"&&ce.setEnabled("alt",!ce.getData().isDecorative)},Bu=E=>()=>{E.open=!1},Mu=E=>E.hasAdvTab||E.hasUploadUrl||E.hasUploadHandler?{type:"tabpanel",tabs:on([[Ed.makeTab(E)],E.hasAdvTab?[Sd.makeTab(E)]:[],E.hasUploadTab&&(E.hasUploadUrl||E.hasUploadHandler)?[Wl.makeTab(E)]:[]])}:{type:"panel",items:Ed.makeItems(E)},B=(E,R,F)=>ce=>{const nt=Sc(dl(R.image),ce.getData()),dn={...nt,style:Cc(F.normalizeCss,Ec(nt,!1))};E.execCommand("mceUpdateImage",!1,Ec(dn,R.hasAccessibilityOptions)),E.editorUpload.uploadImagesAuto(),ce.close()},Z=E=>R=>$o(E,R)?vd(E.documentBaseURI.toAbsolute(R)).then(F=>({width:String(F.width),height:String(F.height)})):Promise.resolve({width:"",height:""}),Q=E=>(R,F,ce)=>{var nt;return E.editorUpload.blobCache.create({blob:R,blobUri:F,name:(nt=R.name)===null||nt===void 0?void 0:nt.replace(/\.[^\.]+$/,""),filename:R.name,base64:ce.split(",")[1]})},be=E=>R=>{E.editorUpload.blobCache.add(R)},Ve=E=>R=>{E.windowManager.alert(R)},kt=E=>R=>_c(E,R),Vn=E=>R=>E.dom.parseStyle(R),eo=E=>(R,F)=>E.dom.serializeStyle(R,F),In=E=>R=>Qm(E).upload([R],!1).then(F=>{var ce;return F.length===0?Promise.reject("Failed to upload image"):F[0].status===!1?Promise.reject((ce=F[0].error)===null||ce===void 0?void 0:ce.message):F[0]}),Co=E=>{const R={imageSize:Z(E),addToBlobCache:be(E),createBlobCache:Q(E),alertErr:Ve(E),normalizeCss:kt(E),parseStyle:Vn(E),serializeStyle:eo(E),uploadImage:In(E)};return{open:()=>{Gr(E).then(ce=>{const nt=br(ce);return{title:"Insert/Edit Image",size:"normal",body:Mu(ce),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:dl(ce.image),onSubmit:B(E,ce,R),onChange:Nd(R,ce,nt),onClose:Bu(nt)}}).then(E.windowManager.open)}}},pn=E=>{E.addCommand("mceImage",Co(E).open),E.addCommand("mceUpdateImage",(R,F)=>{E.undoManager.transact(()=>Gg(E,F))})},Do=E=>{const R=E.attr("class");return qn(R)&&/\bimage\b/.test(R)},ml=E=>R=>{let F=R.length;const ce=nt=>{nt.attr("contenteditable",E?"true":null)};for(;F--;){const nt=R[F];Do(nt)&&(nt.attr("contenteditable",E?"false":null),ns.each(nt.getAll("figcaption"),ce))}},tf=E=>{E.on("PreInit",()=>{E.parser.addNodeFilter("figure",ml(!0)),E.serializer.addNodeFilter("figure",ml(!1))})},je=E=>R=>{const F=()=>{R.setEnabled(E.selection.isEditable())};return E.on("NodeChange",F),F(),()=>{E.off("NodeChange",F)}},$u=E=>{E.ui.registry.addToggleButton("image",{icon:"image",tooltip:"Insert/edit image",onAction:Co(E).open,onSetup:R=>{R.setActive(qn(Eu(E)));const F=E.selection.selectorChangedWithUnbind("img:not([data-mce-object]):not([data-mce-placeholder]),figure.image",R.setActive).unbind,ce=je(E)(R);return()=>{F(),ce()}}}),E.ui.registry.addMenuItem("image",{icon:"image",text:"Image...",onAction:Co(E).open,onSetup:je(E)}),E.ui.registry.addContextMenu("image",{update:R=>E.selection.isEditable()&&(Cd(R)||Di(R)&&!Ti(R))?["image"]:[]})};var As=()=>{N.add("image",E=>{Si(E),tf(E),$u(E),pn(E)})};As()}();const IX={class:"font-bold ptext-lg dark:text-white"},FX=["id"],LX=f.createElementVNode("hr",{class:"!opacity-100 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),HX=["for"],zX=["name","id","type"],UX={class:"gl-span-form-error"},ZX={class:"block mt-1 text-sm font-normal leading-5 text-gray-500"},WX={__name:"GlTinymce",props:{is_required:{type:Boolean,default:!1},show:{type:Boolean,default:!1},error_message:{type:String,default:""},model_value:{type:[String,Number],default:null},modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},field_name:{type:String,default:""},label_name:{type:String,default:""},description:{type:String,default:""}},emits:["update:modelValue","keydown"],setup(N,{expose:J,emit:U}){const fe=N,te=U,H=f.ref(null),Se=async()=>{await f.nextTick();const ve=FW.init({selector:"#"+fe.field_name,width:"100%",height:300,setup(tt){tt.on("Change",()=>{te("update:modelValue",tt.getContent())})}});console.log("tinymce init ",ve.getContent()),console.log("tinymce field_name ","#"+fe.field_name)};f.onMounted(()=>{Se(),console.log("tinymce ",fe.modelValue),FW.init({selector:"#"+fe.field_name,width:"100%",height:300}),H.value!==null&&H.value.hasAttribute("autofocus")&&H.value.focus()});const Y=f.computed({get(){return fe.modelValue},set(ve){te("update:modelValue",ve)}});return J({focus:()=>H.value.focus()}),(ve,tt)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[N.show?(f.openBlock(),f.createElementBlock("div",{key:0,class:f.normalizeClass(N.field_name)},[f.createElementVNode("h3",IX,f.toDisplayString(N.label_name),1),f.createElementVNode("p",{id:N.field_name,class:"mb-4 text-base text-gray-900 input_tr_show dark:text-white"},f.toDisplayString(N.model_value),9,FX),LX],2)):f.createCommentVNode("",!0),N.show?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("div",{key:1,class:f.normalizeClass(["mb-4",N.field_name])},[f.createElementVNode("label",{class:f.normalizeClass({"gl-label-form":N.error_message=="","gl-label-form-invalid":N.error_message!=="",required:N.is_required}),for:N.field_name},f.toDisplayString(N.label_name),11,HX),f.withDirectives(f.createElementVNode("textarea",{name:N.field_name,id:N.field_name,class:f.normalizeClass(["tiny",{" gl-textarea-form mt-4 ":N.error_message==""," gl-textarea-form-invalid mt-4 ":N.error_message!==""}]),type:N.type,"onUpdate:modelValue":tt[0]||(tt[0]=Ut=>Y.value=Ut),onKeydown:tt[1]||(tt[1]=Ut=>ve.$emit("keydown",Ut)),ref_key:"input",ref:H,rows:"4"},`
85
85
  `,42,zX),[[f.vModelText,Y.value]]),f.createElementVNode("span",UX,f.toDisplayString(N.error_message),1),f.createElementVNode("small",ZX,f.toDisplayString(N.description),1)],2))],64))}},jX={compatConfig:{MODE:3},inheritAttrs:!1,emits:["pagination-change-page"],components:{RenderlessPagination:{emits:["pagination-change-page"],props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0}},computed:{isApiResource(){return!!this.data.meta},currentPage(){return this.isApiResource?this.data.meta.current_page:this.data.current_page},firstPageUrl(){return this.isApiResource?this.data.links.first:null},from(){return this.isApiResource?this.data.meta.from:this.data.from},lastPage(){return this.isApiResource?this.data.meta.last_page:this.data.last_page},lastPageUrl(){return this.isApiResource?this.data.links.last:null},nextPageUrl(){return this.isApiResource?this.data.links.next:this.data.next_page_url},perPage(){return this.isApiResource?this.data.meta.per_page:this.data.per_page},prevPageUrl(){return this.isApiResource?this.data.links.prev:this.data.prev_page_url},to(){return this.isApiResource?this.data.meta.to:this.data.to},total(){return this.isApiResource?this.data.meta.total:this.data.total},pageRange(){if(this.limit===-1)return 0;if(this.limit===0)return this.lastPage;for(var N=this.currentPage,J=this.lastPage,U=this.limit,fe=N-U,te=N+U+1,H=[],Se=[],Y,ve=1;ve<=J;ve++)(ve===1||ve===J||ve>=fe&&ve<te)&&H.push(ve);return H.forEach(function(tt){Y&&(tt-Y===2?Se.push(Y+1):tt-Y!==1&&Se.push("...")),Se.push(tt),Y=tt}),Se}},methods:{previousPage(){this.selectPage(this.currentPage-1)},nextPage(){this.selectPage(this.currentPage+1)},selectPage(N){N!=="..."&&this.$emit("pagination-change-page",N)}},render(){return this.$slots.default({data:this.data,limit:this.limit,computed:{isApiResource:this.isApiResource,currentPage:this.currentPage,firstPageUrl:this.firstPageUrl,from:this.from,lastPage:this.lastPage,lastPageUrl:this.lastPageUrl,nextPageUrl:this.nextPageUrl,perPage:this.perPage,prevPageUrl:this.prevPageUrl,to:this.to,total:this.total,pageRange:this.pageRange},prevButtonEvents:{click:N=>{N.preventDefault(),this.previousPage()}},nextButtonEvents:{click:N=>{N.preventDefault(),this.nextPage()}},pageButtonEvents:N=>({click:J=>{J.preventDefault(),this.selectPage(N)}})})}}},props:{data:{type:Object,default:()=>{}},limit:{type:Number,default:0},showDisabled:{type:Boolean,default:!1},size:{type:String,default:"default",validator:N=>["small","default","large"].indexOf(N)!==-1},align:{type:String,default:"left",validator:N=>["left","center","right"].indexOf(N)!==-1}},methods:{onPaginationChangePage(N){this.$emit("pagination-change-page",N)}},mounted(){}},GX={class:"flex flex-col items-center"},qX={key:0,class:"text-sm text-gray-700 dark:text-gray-400"},KX={class:"font-semibold text-gray-900 dark:text-white"},YX={class:"font-semibold text-gray-900 dark:text-white"},XX={class:"font-semibold text-gray-900 dark:text-white"},JX=["tabindex"],QX=f.createElementVNode("span",{class:"sr-only"},"Previous",-1),eJ=f.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 1 1 5l4 4"})],-1),tJ=["aria-current"],nJ=["tabindex"],oJ=f.createElementVNode("span",{class:"sr-only"},"Next",-1),sJ=f.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 9 4-4-4-4"})],-1);function rJ(N,J,U,fe,te,H){const Se=f.resolveComponent("RenderlessPagination");return f.openBlock(),f.createBlock(Se,{data:U.data,limit:U.limit,onPaginationChangePage:H.onPaginationChangePage},{default:f.withCtx(Y=>[f.createElementVNode("div",GX,[Y.computed.total>Y.computed.perPage?(f.openBlock(),f.createElementBlock("span",qX,[f.createTextVNode(" Showing "),f.createElementVNode("span",KX,f.toDisplayString(Y.computed.from),1),f.createTextVNode(" to "),f.createElementVNode("span",YX,f.toDisplayString(Y.computed.to),1),f.createTextVNode(" of "),f.createElementVNode("span",XX,f.toDisplayString(Y.computed.total),1),f.createTextVNode(" Entries ")])):f.createCommentVNode("",!0),Y.computed.total>Y.computed.perPage?(f.openBlock(),f.createElementBlock("ul",f.mergeProps({key:1},N.$attrs,{class:["flex items-center h-8 -space-x-px text-sm",{"pagination-sm":U.size=="small","pagination-lg":U.size=="large","justify-content-center":U.align=="center","justify-content-end":U.align=="right"}]}),[Y.computed.prevPageUrl||U.showDisabled?(f.openBlock(),f.createElementBlock("li",{key:0,class:f.normalizeClass(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",{disabled:!Y.computed.prevPageUrl}])},[f.createElementVNode("a",f.mergeProps({class:"page-link",href:"#","aria-label":"Previous",tabindex:!Y.computed.prevPageUrl&&-1},f.toHandlers(Y.prevButtonEvents,!0)),[f.renderSlot(N.$slots,"prev-nav",{},()=>[QX,eJ])],16,JX)],2)):f.createCommentVNode("",!0),(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(Y.computed.pageRange,(ve,tt)=>(f.openBlock(),f.createElementBlock("li",{class:f.normalizeClass(["",{active:ve==Y.computed.currentPage}]),key:tt},[f.createElementVNode("a",f.mergeProps({class:"",href:"#"},f.toHandlers(Y.pageButtonEvents(ve),!0),{"aria-current":ve==Y.computed.currentPage?"page":null,class:ve==Y.computed.currentPage?"z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white":"flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"}),f.toDisplayString(ve),17,tJ)],2))),128)),Y.computed.nextPageUrl||U.showDisabled?(f.openBlock(),f.createElementBlock("li",{key:1,class:f.normalizeClass(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",{disabled:!Y.computed.nextPageUrl}])},[f.createElementVNode("a",f.mergeProps({class:"",href:"#","aria-label":"Next",tabindex:!Y.computed.nextPageUrl&&-1},f.toHandlers(Y.nextButtonEvents,!0)),[f.renderSlot(N.$slots,"next-nav",{},()=>[oJ,sJ])],16,nJ)],2)):f.createCommentVNode("",!0)],16)):f.createCommentVNode("",!0)])]),_:3},8,["data","limit","onPaginationChangePage"])}const N$=es(jX,[["render",rJ]]),aJ={components:{TailwindPagination:N$},props:{data:Array,columns:Array,get_item_url:String,xprops:Object,refreshData:Boolean},data(){return{isLoading:!1,isMounted:!1,limit:5,showDisabled:!1,size:"default",align:"left",search:"",isDropdownOpen:!1,itemLists:[],tableData:[],sortField:this.columns[0].field_name,sortOrder:"desc",pageOptions:[5,10,20,50],perPage:5,page:1}},emits:["editAction","generalAction"],computed:{filteredData(){const N=this.search.toLowerCase();return this.sortData(this.data).filter(U=>Object.values(U).some(fe=>fe.toString().toLowerCase().includes(N)))}},methods:{editAction(N){this.$emit("editAction",N)},generalAction(N){this.$emit("generalAction",N)},forDynCompIs(N){return typeof N=="object"?N:null},GetItemLists(N=1){this.isLoading=!0,this.page=N;const J={sort:this.sortField,order:this.sortOrder,s:this.search,limit:this.perPage,page:this.page};axios.get(this.xprops.route_get_data,{params:J}).then(U=>{this.itemLists=U.data,this.isLoading=!1}).catch(U=>{console.error(U),this.isLoading=!1})},updateSortColumn(N,J){J&&(N===this.sortField?this.sortOrder=this.sortOrder==="asc"?"desc":"asc":(this.sortField=N,this.sortOrder="asc"),this.GetItemLists(this.page))},handleSearch(){this.sortField=this.columns[0].field_name,this.sortOrder="asc",this.page=1,this.GetItemLists(this.page)}},mounted(){this.GetItemLists(),this.isMounted=!0},watch:{searchFilter(){this.filteredOptions.length===0?this.selected={}:this.selected=this.filteredOptions[0]},perPage(N){this.page=1,this.perPage=N,this.GetItemLists(this.page)},refreshData(N,J){this.isMounted&&N!==J&&this.GetItemLists()}}},lJ={class:"p-2"},iJ={class:"flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0"},cJ={class:"flex items-center gap-2"},dJ=f.createElementVNode("span",{class:"font-medium"}," Show ",-1),uJ={style:{"margin-top":"9px"}},mJ=f.createElementVNode("span",{class:"font-medium"}," Entries ",-1),fJ=f.createElementVNode("label",{for:"table-search",class:"sr-only"},"Search",-1),gJ={class:"relative"},hJ=f.createElementVNode("div",{class:"absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3"},[f.createElementVNode("svg",{class:"w-5 h-5 text-gray-500 dark:text-gray-400","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"})])],-1),pJ={class:"overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800"},bJ={class:"w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark"},yJ={class:"hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400"},vJ=["onClick"],xJ={key:0,class:"ml-2"},wJ={key:0,class:"fa fa-arrow-up"},CJ={key:1,class:"fa fa-arrow-down"},_J={key:0},kJ=["colspan"],SJ=[f.createElementVNode("div",{role:"status",class:"p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"},[f.createElementVNode("div",{class:"flex items-center justify-between"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("span",{class:"sr-only"},"Loading...")],-1)],EJ=["data-label"],TJ={class:"overflow-auto max-h-40"},AJ={class:"flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"};function NJ(N,J,U,fe,te,H){const Se=f.resolveComponent("dropdown"),Y=f.resolveComponent("TailwindPagination");return f.openBlock(),f.createElementBlock("div",lJ,[f.createElementVNode("div",iJ,[f.createElementVNode("div",cJ,[dJ,f.createElementVNode("div",uJ,[f.createVNode(Se,{has_cancel:!1,options:te.pageOptions,modelValue:te.perPage,"onUpdate:modelValue":J[0]||(J[0]=ve=>te.perPage=ve),is_required:!1,field_name:"perPage",label_name:"",default_value:5,show:!1,placeholder:"Please select an option"},null,8,["options","modelValue"])]),mJ]),fJ,f.createElementVNode("div",gJ,[hJ,f.withDirectives(f.createElementVNode("input",{type:"text","onUpdate:modelValue":J[1]||(J[1]=ve=>te.search=ve),onInput:J[2]||(J[2]=ve=>H.handleSearch()),class:"block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search ..."},null,544),[[f.vModelText,te.search]])])]),f.createElementVNode("div",pJ,[f.createElementVNode("table",bJ,[f.createElementVNode("thead",yJ,[f.createElementVNode("tr",null,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(U.columns,(ve,tt)=>(f.openBlock(),f.createElementBlock("th",{key:tt,onClick:Ut=>H.updateSortColumn(ve.field_name,ve.sortable),class:"w-full px-4 py-2 lg:w-2/12"},[f.createTextVNode(f.toDisplayString(ve.field_label)+" ",1),te.sortField===ve.field_name?(f.openBlock(),f.createElementBlock("span",xJ,[te.sortOrder==="asc"?(f.openBlock(),f.createElementBlock("i",wJ)):(f.openBlock(),f.createElementBlock("i",CJ))])):f.createCommentVNode("",!0)],8,vJ))),128))])]),f.createElementVNode("tbody",null,[te.isLoading?(f.openBlock(),f.createElementBlock("tr",_J,[f.createElementVNode("td",{colspan:U.columns.length},SJ,8,kJ)])):f.createCommentVNode("",!0),te.isLoading?f.createCommentVNode("",!0):(f.openBlock(!0),f.createElementBlock(f.Fragment,{key:1},f.renderList(te.itemLists.data,(ve,tt)=>(f.openBlock(),f.createElementBlock("tr",{key:tt,class:"bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"},[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(U.columns,(Ut,yn)=>(f.openBlock(),f.createElementBlock("td",{key:yn,"data-label":Ut.field_label,class:"text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"},[f.createElementVNode("div",TJ,[Ut.tdComp?(f.openBlock(),f.createBlock(f.resolveDynamicComponent(H.forDynCompIs(Ut.tdComp)),{key:0,row:ve,field:Ut.field_name,xprops:U.xprops,tdProps:Ut.tdProps,onDeleteAction:J[3]||(J[3]=Un=>H.GetItemLists()),onEditAction:Un=>H.editAction(ve),onGeneralAction:Un=>H.generalAction(ve)},null,40,["row","field","xprops","tdProps","onEditAction","onGeneralAction"])):(f.openBlock(),f.createElementBlock(f.Fragment,{key:1},[f.createTextVNode(f.toDisplayString(ve[Ut.field_name]),1)],64))])],8,EJ))),128))]))),128))])])]),f.createElementVNode("div",AJ,[f.createVNode(Y,{class:"mt-3 mb-0",data:te.itemLists,limit:te.limit,size:te.size,align:te.align,onPaginationChangePage:H.GetItemLists},null,8,["data","limit","size","align","onPaginationChangePage"])])])}const DJ=es(aJ,[["render",NJ]]),OJ={components:{TailwindPagination:N$},props:{data:Array,columns:Array,get_item_url:String,xprops:Object,refreshData:Boolean,groupField:String},data(){return{isLoading:!1,isMounted:!1,limit:5,showDisabled:!1,size:"default",align:"left",search:"",isDropdownOpen:!1,itemLists:[],tableData:[],sortField:this.columns[0].field_name,sortOrder:"desc",pageOptions:[5,10,20,50],perPage:5,page:1}},emits:["editAction"],computed:{filteredData(){const N=this.search.toLowerCase();return this.sortData(this.data).filter(U=>Object.values(U).some(fe=>fe.toString().toLowerCase().includes(N)))},groupedItems(){return this.groupBy(this.groupField)}},methods:{groupBy(N){return this.itemLists.data?this.itemLists.data.reduce((J,U)=>{const fe=U[N];J[fe]||(J[fe]=[]);const te={...U};return delete te[N],J[fe].push(te),J},{}):[]},editAction(N){this.$emit("editAction",N)},forDynCompIs(N){return typeof N=="object"?N:null},GetItemLists(N=1){this.isLoading=!0,this.page=N;const J={sort:this.sortField,order:this.sortOrder,s:this.search,limit:this.perPage,page:this.page};axios.get(this.xprops.route_get_data,{params:J}).then(U=>{this.itemLists=U.data,this.isLoading=!1}).catch(U=>{console.error(U),this.isLoading=!1})},updateSortColumn(N,J){J&&(N===this.sortField?this.sortOrder=this.sortOrder==="asc"?"desc":"asc":(this.sortField=N,this.sortOrder="asc"),this.GetItemLists(this.page))},handleSearch(){this.sortField=this.columns[0].field_name,this.sortOrder="asc",this.page=1,this.GetItemLists(this.page)}},mounted(){this.GetItemLists(),this.isMounted=!0},watch:{searchFilter(){this.filteredOptions.length===0?this.selected={}:this.selected=this.filteredOptions[0]},perPage(N){this.page=1,this.perPage=N,this.GetItemLists(this.page)},refreshData(N,J){this.isMounted&&N!==J&&this.GetItemLists()}}},BJ={class:"p-2"},MJ={class:"flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0"},$J={class:"flex items-center gap-2"},PJ=f.createElementVNode("span",{class:"font-medium"}," Show ",-1),RJ={style:{"margin-top":"9px"}},VJ=f.createElementVNode("span",{class:"font-medium"}," Entries ",-1),IJ=f.createElementVNode("label",{for:"table-search",class:"sr-only"},"Search",-1),FJ={class:"relative"},LJ=f.createElementVNode("div",{class:"absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3"},[f.createElementVNode("svg",{class:"w-5 h-5 text-gray-500 dark:text-gray-400","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"})])],-1),HJ={class:"overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800"},zJ={class:"w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark"},UJ={class:"hidden text-sm font-normal text-center text-gray-500 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400"},ZJ=["onClick"],WJ={key:0,class:"ml-2"},jJ={key:0,class:"fa fa-arrow-up"},GJ={key:1,class:"fa fa-arrow-down"},qJ={key:0},KJ=["colspan"],YJ=[f.createElementVNode("div",{role:"status",class:"p-4 space-y-4 border border-gray-200 divide-y divide-gray-200 rounded shadow animate-pulse dark:divide-gray-700 md:p-6 dark:border-gray-700"},[f.createElementVNode("div",{class:"flex items-center justify-between"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("div",{class:"flex items-center justify-between pt-4"},[f.createElementVNode("div",null,[f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-600 w-24 mb-3"}),f.createElementVNode("div",{class:"w-32 h-2 bg-gray-200 rounded-full dark:bg-gray-700"})]),f.createElementVNode("div",{class:"h-3 bg-gray-300 rounded-full dark:bg-gray-700 w-12"})]),f.createElementVNode("span",{class:"sr-only"},"Loading...")],-1)],XJ={class:"bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"},JJ=["colspan"],QJ=["data-label"],eQ={class:"overflow-auto max-h-40"},tQ={class:"flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"};function nQ(N,J,U,fe,te,H){const Se=f.resolveComponent("dropdown"),Y=f.resolveComponent("TailwindPagination");return f.openBlock(),f.createElementBlock("div",BJ,[f.createElementVNode("div",MJ,[f.createElementVNode("div",$J,[PJ,f.createElementVNode("div",RJ,[f.createVNode(Se,{has_cancel:!1,options:te.pageOptions,modelValue:te.perPage,"onUpdate:modelValue":J[0]||(J[0]=ve=>te.perPage=ve),is_required:!1,field_name:"perPage",label_name:"",default_value:5,show:!1,placeholder:"Please select an option"},null,8,["options","modelValue"])]),VJ]),IJ,f.createElementVNode("div",FJ,[LJ,f.withDirectives(f.createElementVNode("input",{type:"text","onUpdate:modelValue":J[1]||(J[1]=ve=>te.search=ve),onInput:J[2]||(J[2]=ve=>H.handleSearch()),class:"block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search ..."},null,544),[[f.vModelText,te.search]])])]),f.createElementVNode("div",HJ,[f.createElementVNode("table",zJ,[f.createElementVNode("thead",UJ,[f.createElementVNode("tr",null,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(U.columns,(ve,tt)=>(f.openBlock(),f.createElementBlock("th",{key:tt,onClick:Ut=>H.updateSortColumn(ve.field_name,ve.sortable),class:"w-full px-4 py-2 lg:w-2/12"},[f.createTextVNode(f.toDisplayString(ve.field_label)+" ",1),te.sortField===ve.field_name?(f.openBlock(),f.createElementBlock("span",WJ,[te.sortOrder==="asc"?(f.openBlock(),f.createElementBlock("i",jJ)):(f.openBlock(),f.createElementBlock("i",GJ))])):f.createCommentVNode("",!0)],8,ZJ))),128))])]),f.createElementVNode("tbody",null,[te.isLoading?(f.openBlock(),f.createElementBlock("tr",qJ,[f.createElementVNode("td",{colspan:U.columns.length},YJ,8,KJ)])):f.createCommentVNode("",!0),te.isLoading?f.createCommentVNode("",!0):(f.openBlock(!0),f.createElementBlock(f.Fragment,{key:1},f.renderList(H.groupedItems,(ve,tt)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("tr",XJ,[f.createElementVNode("td",{colspan:U.columns.length,class:"text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"},f.toDisplayString(tt),9,JJ)]),(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(ve,(Ut,yn)=>(f.openBlock(),f.createElementBlock("tr",{key:yn,class:"bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"},[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(U.columns,(Un,yo)=>(f.openBlock(),f.createElementBlock("td",{key:yo,"data-label":Un.field_label,class:"text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"},[f.createElementVNode("div",eQ,[Un.tdComp?(f.openBlock(),f.createBlock(f.resolveDynamicComponent(H.forDynCompIs(Un.tdComp)),{key:0,row:Ut,field:Un.field_name,xprops:U.xprops,tdProps:Un.tdProps,onDeleteAction:J[3]||(J[3]=Wr=>H.GetItemLists()),onEditAction:Wr=>H.editAction(Ut)},null,40,["row","field","xprops","tdProps","onEditAction"])):(f.openBlock(),f.createElementBlock(f.Fragment,{key:1},[f.createTextVNode(f.toDisplayString(Ut[Un.field_name]),1)],64))])],8,QJ))),128))]))),128))],64))),256))])])]),f.createElementVNode("div",tQ,[f.createVNode(Y,{class:"mt-3 mb-0",data:te.itemLists,limit:te.limit,size:te.size,align:te.align,onPaginationChangePage:H.GetItemLists},null,8,["data","limit","size","align","onPaginationChangePage"])])])}const oQ=es(OJ,[["render",nQ]]),sQ={components:{},props:{data:Array,columns:Array},data(){return{showNoOfEntries:[1,2,3,10,20,30,40],search:"",sortKey:"",sortOrder:1,currentPage:1,itemsPerPage:10,jumpToPage:"",maxDisplayedPages:10}},computed:{filteredData(){const N=this.search.toLowerCase();return this.sortData(this.data).filter(U=>Object.values(U).some(fe=>fe!=null&&fe.toString().toLowerCase().includes(N)))},totalPages(){return Math.ceil(this.filteredData.length/this.itemsPerPage)},paginatedData(){const N=(this.currentPage-1)*this.itemsPerPage,J=N+this.itemsPerPage;return this.filteredData.slice(N,J)},displayedPageNumbers(){let N=Math.max(this.currentPage-Math.floor(this.maxDisplayedPages/2),1),J=N+this.maxDisplayedPages-1;return J>this.totalPages&&(J=this.totalPages,N=Math.max(J-this.maxDisplayedPages+1,1)),Array.from({length:J-N+1},(U,fe)=>N+fe)},firstItemIndex(){return this.itemsPerPage*(this.currentPage-1)+1},lastItemIndex(){const N=this.itemsPerPage*this.currentPage;return N>this.filteredData.length?this.filteredData.length:N}},methods:{handleItemsPerPageChange(N){this.itemsPerPage=N},goToPage(N){N>=1&&N<=this.totalPages&&(this.currentPage=N)},sort(N){N===this.sortKey?this.sortOrder*=-1:(this.sortKey=N,this.sortOrder=1)},sortData(N){return this.sortKey?N.slice().sort((J,U)=>(J[this.sortKey]<U[this.sortKey]?-1:1)*this.sortOrder):N},previousPage(){this.currentPage>1&&this.currentPage--},nextPage(){this.currentPage<this.totalPages&&this.currentPage++},firstPage(){this.currentPage=1},lastPage(){this.currentPage=this.totalPages},goToPage(N){N>=1&&N<=this.totalPages&&(this.currentPage=N)}}},rQ={class:"p-2"},aQ={class:"flex flex-wrap pb-4 space-y-4 md:items-center md:justify-between flex-column sm:flex-row sm:space-y-0"},lQ={class:"flex items-center gap-2"},iQ=f.createElementVNode("span",{class:"font-medium"}," Show ",-1),cQ={style:{"margin-top":"9px"}},dQ=f.createElementVNode("span",{class:"font-medium"}," Entries ",-1),uQ=f.createElementVNode("label",{for:"table-search",class:"sr-only"},"Search",-1),mQ={class:"relative"},fQ=f.createElementVNode("div",{class:"absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3"},[f.createElementVNode("svg",{class:"w-5 h-5 text-gray-500 dark:text-gray-400","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"})])],-1),gQ={class:"overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800"},hQ={class:"w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse border-spacing-y-3 lg:border-spacing-y-0 dark:border-strokedark dark:bg-boxdark"},pQ={class:"hidden text-sm font-normal text-center text-gray-700 lg:table-header-group dark:border-strokedark bg-gray-50 dark:bg-gray-700 dark:text-gray-400"},bQ=["onClick"],yQ={key:0,class:"ml-2"},vQ={key:0,class:"fa fa-arrow-up"},xQ={key:1,class:"fa fa-arrow-down"},wQ=["data-label"],CQ=["innerHTML"],_Q={key:0,class:"flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"},kQ={class:"flex justify-between flex-1 sm:hidden"},SQ=["disabled"],EQ=["disabled"],TQ={class:"hidden sm:flex sm:flex-1 sm:items-center sm:justify-between"},AQ={class:"text-sm text-gray-700 dark:text-gray-400"},NQ={class:"font-medium"},DQ={class:"font-medium"},OQ={class:"font-medium"},BQ={"aria-label":"Page navigation"},MQ={class:"flex items-center h-8 -space-x-px text-sm"},$Q=["disabled"],PQ=[f.createElementVNode("span",{class:"sr-only"},"Previous",-1),f.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 1 1 5l4 4"})],-1)],RQ=["onClick"],VQ=["onClick"],IQ=["disabled"],FQ=[f.createElementVNode("span",{class:"sr-only"},"Next",-1),f.createElementVNode("svg",{class:"w-2.5 h-2.5 rtl:rotate-180","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 6 10"},[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 9 4-4-4-4"})],-1)];function LQ(N,J,U,fe,te,H){const Se=f.resolveComponent("dropdown");return f.openBlock(),f.createElementBlock("div",rQ,[f.createElementVNode("div",aQ,[f.createElementVNode("div",lQ,[iQ,f.createElementVNode("div",cQ,[f.createVNode(Se,{has_cancel:!1,options:te.showNoOfEntries,modelValue:te.itemsPerPage,"onUpdate:modelValue":J[0]||(J[0]=Y=>te.itemsPerPage=Y),is_required:!1,field_name:"NoOfEntries",label_name:"",default_value:10,show:!1,placeholder:"Please select an option"},null,8,["options","modelValue"])]),dQ]),uQ,f.createElementVNode("div",mQ,[fQ,f.withDirectives(f.createElementVNode("input",{type:"text","onUpdate:modelValue":J[1]||(J[1]=Y=>te.search=Y),class:"block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Search ..."},null,512),[[f.vModelText,te.search]])])]),f.createElementVNode("div",gQ,[f.createElementVNode("table",hQ,[f.createElementVNode("thead",pQ,[f.createElementVNode("tr",null,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(U.columns,(Y,ve)=>(f.openBlock(),f.createElementBlock("th",{key:ve,onClick:f.withModifiers(tt=>H.sort(Y),["prevent"]),class:"w-full px-4 py-2 lg:w-2/12 capitalize"},[f.createTextVNode(f.toDisplayString(Y)+" ",1),te.sortKey===Y?(f.openBlock(),f.createElementBlock("span",yQ,[te.sortOrder==="asc"?(f.openBlock(),f.createElementBlock("i",vQ)):(f.openBlock(),f.createElementBlock("i",xQ))])):f.createCommentVNode("",!0)],8,bQ))),128))])]),f.createElementVNode("tbody",null,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(H.paginatedData,(Y,ve)=>(f.openBlock(),f.createElementBlock("tr",{key:ve,class:"bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"},[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(U.columns,(tt,Ut)=>(f.openBlock(),f.createElementBlock("td",{key:Ut,"data-label":tt,class:"text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border dark:border-gray-700"},[f.createElementVNode("p",{class:"text-pretty",innerHTML:Y[Ut]},null,8,CQ)],8,wQ))),128))]))),128))])])]),H.paginatedData.length>0?(f.openBlock(),f.createElementBlock("div",_Q,[f.createElementVNode("div",kQ,[f.createElementVNode("a",{href:"#",onClick:J[2]||(J[2]=f.withModifiers((...Y)=>H.previousPage&&H.previousPage(...Y),["prevent"])),disabled:te.currentPage===1,class:"relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"},"Previous",8,SQ),f.createElementVNode("a",{href:"#",onClick:J[3]||(J[3]=f.withModifiers((...Y)=>H.nextPage&&H.nextPage(...Y),["prevent"])),disabled:te.currentPage===H.totalPages,class:"relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"},"Next",8,EQ)]),f.createElementVNode("div",TQ,[f.createElementVNode("div",null,[f.createElementVNode("p",AQ,[f.createTextVNode(" Showing "),f.createElementVNode("span",NQ,f.toDisplayString(H.firstItemIndex),1),f.createTextVNode(" to "),f.createElementVNode("span",DQ,f.toDisplayString(H.lastItemIndex),1),f.createTextVNode(" of "),f.createElementVNode("span",OQ,f.toDisplayString(H.filteredData.length),1),f.createTextVNode(" entries ")])]),f.createElementVNode("div",null,[f.createElementVNode("nav",BQ,[f.createElementVNode("ul",MQ,[f.createElementVNode("li",null,[f.createElementVNode("a",{href:"#",onClick:J[4]||(J[4]=f.withModifiers((...Y)=>H.previousPage&&H.previousPage(...Y),["prevent"])),disabled:te.currentPage===1,class:"flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"},PQ,8,$Q)]),(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(H.displayedPageNumbers,Y=>(f.openBlock(),f.createElementBlock(f.Fragment,{key:Y},[f.createElementVNode("li",null,[te.currentPage!==Y?(f.openBlock(),f.createElementBlock("a",{key:0,href:"#",onClick:f.withModifiers(ve=>H.goToPage(Y),["prevent"]),class:"flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"},f.toDisplayString(Y),9,RQ)):f.createCommentVNode("",!0)]),f.createElementVNode("li",null,[te.currentPage===Y?(f.openBlock(),f.createElementBlock("a",{key:0,href:"#",onClick:f.withModifiers(ve=>H.goToPage(Y),["prevent"]),"aria-current":"page",class:"z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"},f.toDisplayString(Y),9,VQ)):f.createCommentVNode("",!0)])],64))),128)),f.createElementVNode("li",null,[f.createElementVNode("a",{href:"#",onClick:J[5]||(J[5]=f.withModifiers((...Y)=>H.nextPage&&H.nextPage(...Y),["prevent"])),disabled:te.currentPage===H.totalPages,class:"flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"},FQ,8,IQ)])])])])])])):f.createCommentVNode("",!0)])}const HQ=es(sQ,[["render",LQ]]),zQ={setup(){const N=f.ref([]),J=te=>{N.value.push(te)},U=te=>{const H=N.value.indexOf(te);H>-1&&N.value.splice(H,1)},fe=te=>{N.value.forEach(H=>{H!==te&&H.isOpen&&H.isOpen.value!==void 0&&(H.isOpen.value=!1)}),te.isOpen&&te.isOpen.value!==void 0&&(te.isOpen.value=!te.isOpen.value)};return f.provide("accordionsWrapper",{registerAccordion:J,unregisterAccordion:U,toggleAccordion:fe,accordions:N}),{}}};function UQ(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",null,[f.renderSlot(N.$slots,"default")])}const ZQ=es(zQ,[["render",UQ]]),WQ={props:{title:{type:String,required:!0}},setup(){const N=f.ref(!1),J=f.inject("accordionsWrapper"),fe=(()=>{var tt=new Date().getTime();typeof performance<"u"&&typeof performance.now=="function"&&(tt+=performance.now());var Ut="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(yn){var Un=(tt+Math.random()*16)%16|0;return tt=Math.floor(tt/16),(yn==="x"?Un:Un&3|8).toString(16)});return Ut})(),te={isOpen:N,id:fe},H=f.computed(()=>J.accordions.value),Se=f.computed(()=>H.value.length>0&&H.value[0].id===fe),Y=f.computed(()=>H.value.length>0&&H.value[H.value.length-1].id===fe);return f.onMounted(()=>{J.registerAccordion(te)}),f.onUnmounted(()=>{J.unregisterAccordion(te)}),{isOpen:N,isFirstAccordion:Se,isLastAccordion:Y,toggle:()=>{J.toggleAccordion(te)}}}},jQ={class:"flex items-center"},GQ={key:0,class:"w-3 h-3 rotate-180 shrink-0","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 6"},qQ=[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5 5 1 1 5"},null,-1)],KQ={key:1,class:"w-3 h-3 shrink-0","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 6"},YQ=[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5 5 1 1 5"},null,-1)];function XQ(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",null,[f.createElementVNode("h2",null,[f.createElementVNode("button",{onClick:J[0]||(J[0]=(...Se)=>fe.toggle&&fe.toggle(...Se)),type:"button",class:f.normalizeClass(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800",{"rounded-t-xl":fe.isFirstAccordion,"border-b-0":!fe.isLastAccordion,"bg-gray-100 dark:bg-gray-800":fe.isOpen}]),"aria-expanded":"true"},[f.createElementVNode("span",jQ,f.toDisplayString(U.title),1),fe.isOpen?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("svg",GQ,qQ)),fe.isOpen?(f.openBlock(),f.createElementBlock("svg",KQ,YQ)):f.createCommentVNode("",!0)],2)]),fe.isOpen?(f.openBlock(),f.createElementBlock("div",{key:0,class:f.normalizeClass([{"border-b-0":!fe.isLastAccordion,"border-t-0":fe.isLastAccordion},"p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])},[f.renderSlot(N.$slots,"default")],2)):f.createCommentVNode("",!0)])}const JQ=es(WQ,[["render",XQ]]),QQ={class:"flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",role:"alert"},eee={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},tee=[f.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[f.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z"})],-1),f.createElementVNode("span",{class:"sr-only"},"Check icon",-1)],nee={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},oee=[f.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[f.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z"})],-1),f.createElementVNode("span",{class:"sr-only"},"Error icon",-1)],see={key:2,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-orange-500 bg-orange-100 rounded-lg dark:bg-orange-700 dark:text-orange-200"},ree=[f.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 20 20"},[f.createElementVNode("path",{d:"M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z"})],-1),f.createElementVNode("span",{class:"sr-only"},"Warning icon",-1)],aee={class:"ml-3 text-sm font-normal"},lee=[f.createElementVNode("span",{class:"sr-only"},"Close",-1),f.createElementVNode("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)],iee={__name:"ToastListItem",props:{message:String,duration:{type:Number,default:2e3},type:{type:String,default:"success"}},emits:["remove"],setup(N,{emit:J}){const U=N;f.onMounted(()=>{setTimeout(()=>fe("remove"),U.duration)});const fe=J;return(te,H)=>(f.openBlock(),f.createElementBlock("div",QQ,[U.type==="success"?(f.openBlock(),f.createElementBlock("div",eee,tee)):f.createCommentVNode("",!0),U.type==="error"?(f.openBlock(),f.createElementBlock("div",nee,oee)):f.createCommentVNode("",!0),U.type==="warning"?(f.openBlock(),f.createElementBlock("div",see,ree)):f.createCommentVNode("",!0),f.createElementVNode("div",aee,f.toDisplayString(U.message),1),f.createElementVNode("button",{onClick:H[0]||(H[0]=Se=>fe("remove")),type:"button",class:"-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white","data-dismiss-target":"#toast-default","aria-label":"Close"},lee)]))}},D$=f.reactive({items:[]}),s2={state:D$,methods:{add(N){D$.items.unshift({key:Symbol(),message:N.message,type:N.type,duration:N.duration})},remove(N){D$.items.splice(N,1)}}},cee={__name:"GlToastList",setup(N){function J(U){s2.methods.remove(U)}return(U,fe)=>(f.openBlock(),f.createBlock(f.TransitionGroup,{tag:"div","enter-from-class":"translate-x-full opacity-0","enter-active-class":"duration-500","leave-active-class":"duration-500","leave-to-class":"translate-x-full opacity-0",class:"fixed z-50 w-full max-w-xs space-y-4 top-4 right-4"},{default:f.withCtx(()=>[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(f.unref(s2).state.items,(te,H)=>(f.openBlock(),f.createBlock(iee,{key:te.key,message:te.message,type:te.type,duration:te.duration,onRemove:Se=>J(H)},null,8,["message","type","duration","onRemove"]))),128))]),_:1}))}},dee={key:0,class:"flex justify-center"},uee=[f.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 4 15"},[f.createElementVNode("path",{d:"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})],-1)],mee={class:"absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600"},fee={class:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownDividerButton"},gee={key:0},hee=["href"],pee=f.createElementVNode("i",{class:"mr-2 fa-solid fa-list-ul opacity-80"},null,-1),bee={key:1},yee=f.createElementVNode("i",{class:"mr-2 fa-solid fa-trash-can opacity-80"},null,-1),vee={__name:"DatatableAction",props:{field:{type:String,default:""},route_url:{type:String,default:""},row:{type:[Array,Object],default:[]},xprops:{type:Object,default:{}},tdProps:{type:Object,default:{}}},emits:["deleteAction"],setup(N,{emit:J}){const U=N,fe=f.ref(!1),te=f.ref(!1),H=()=>{fe.value=!1},Se=()=>{fe.value=!0},Y=()=>{te.value=!1},ve=()=>{te.value=!0},tt=J,Ut=()=>{axios.delete(`${U.xprops.route}/${U.row.id}`).then(()=>{Y(),tt("deleteAction"),s2.methods.add({message:"Item deleted successfully.",type:"success",duration:5e3})}).catch(yn=>{console.log(yn)})};return(yn,Un)=>{const yo=f.resolveDirective("click-outside");return f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createVNode(fE,{isOpen:te.value,onConfirmDelete:Ut,onCancelDelete:Y},null,8,["isOpen"]),N.row&&yn.can(`edit_${N.xprops.permission} || delete_${N.xprops.permission}`)?f.withDirectives((f.openBlock(),f.createElementBlock("div",dee,[f.createElementVNode("button",{onClick:Se,class:"inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",type:"button"},uee),f.withDirectives(f.createElementVNode("div",mee,[f.createElementVNode("ul",fee,[yn.can(`edit_${N.xprops.permission}`)?(f.openBlock(),f.createElementBlock("li",gee,[f.createElementVNode("a",{href:N.xprops.route+"/"+N.row.id+"/edit",class:"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},[pee,f.createTextVNode(" Edit")],8,hee)])):f.createCommentVNode("",!0),yn.can(`delete_${N.xprops.permission}`)?(f.openBlock(),f.createElementBlock("li",bee,[f.createElementVNode("a",{href:"#",onClick:f.withModifiers(ve,["prevent"]),class:"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},[yee,f.createTextVNode(" Remove")])])):f.createCommentVNode("",!0)])],512),[[f.vShow,fe.value]])])),[[yo,H]]):f.createCommentVNode("",!0)],64)}}},xee={key:0,class:"flex justify-center"},wee=[f.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 4 15"},[f.createElementVNode("path",{d:"M3.5 1.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 6.041a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 5.959a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"})],-1)],Cee={class:"absolute right-0 z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600"},_ee={class:"py-2 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"dropdownDividerButton"},kee={key:0},See=f.createElementVNode("i",{class:"mr-2 fa-solid fa-trash-can opacity-80"},null,-1),Eee={__name:"DatatableDeleteAction",props:{field:{type:String,default:""},route_url:{type:String,default:""},row:{type:[Array,Object],default:[]},xprops:{type:Object,default:{}},tdProps:{type:Object,default:{}}},emits:["deleteAction"],setup(N,{emit:J}){const U=N,fe=f.ref(!1),te=f.ref(!1),H=()=>{fe.value=!1},Se=()=>{fe.value=!0},Y=()=>{te.value=!1},ve=()=>{te.value=!0},tt=J,Ut=()=>{axios.delete(`${U.xprops.route}/${U.row.id}`).then(()=>{Y(),tt("deleteAction"),s2.methods.add({message:"Item deleted successfully.",type:"success",duration:5e3})}).catch(yn=>{console.log(yn)})};return(yn,Un)=>{const yo=f.resolveDirective("click-outside");return f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createVNode(fE,{isOpen:te.value,onConfirmDelete:Ut,onCancelDelete:Y},null,8,["isOpen"]),N.row&&yn.can(`delete_${N.xprops.permission}`)?f.withDirectives((f.openBlock(),f.createElementBlock("div",xee,[f.createElementVNode("button",{onClick:Se,class:"inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",type:"button"},wee),f.withDirectives(f.createElementVNode("div",Cee,[f.createElementVNode("ul",_ee,[yn.can(`delete_${N.xprops.permission}`)?(f.openBlock(),f.createElementBlock("li",kee,[f.createElementVNode("a",{href:"#",onClick:f.withModifiers(ve,["prevent"]),class:"block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"},[See,f.createTextVNode(" Remove")])])):f.createCommentVNode("",!0)])],512),[[f.vShow,fe.value]])])),[[yo,H]]):f.createCommentVNode("",!0)],64)}}},Tee={props:["field","row"],computed:{isArray(){return Array.isArray(this.row)},isObject(){return typeof this.row=="object"},isString(){return typeof this.row=="string"}},mounted(){}},Aee=["href","title"],Nee=f.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),f.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1),Dee={key:1,class:"m-1 d-inline-block"},Oee=["href","title"],Bee=f.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),f.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1);function Mee(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",null,[H.isArray?(f.openBlock(!0),f.createElementBlock(f.Fragment,{key:0},f.renderList(U.row,(Se,Y)=>(f.openBlock(),f.createElementBlock("div",{key:Y,class:"m-1 d-inline-block"},[f.createElementVNode("a",{href:Se,title:Se,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[Nee,f.createTextVNode(" Download ")],8,Aee)]))),128)):H.isString?(f.openBlock(),f.createElementBlock("div",Dee,[f.createElementVNode("a",{href:U.row,title:U.row,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[Bee,f.createTextVNode(" Download ")],8,Oee)])):f.createCommentVNode("",!0)])}const $ee=es(Tee,[["render",Mee]]),Pee={props:["field","row"],computed:{isArray(){return Array.isArray(this.row[this.field])},isObject(){return typeof this.row[this.field]=="object"}}},Ree=["href","title"],Vee=f.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),f.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1),Iee={key:1,class:"m-1 d-inline-block"},Fee=["href","title"],Lee=f.createElementVNode("svg",{class:"w-3 h-3 text-white me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[f.createElementVNode("path",{"fill-rule":"evenodd",d:"M13 11.15V4a1 1 0 1 0-2 0v7.15L8.78 8.374a1 1 0 1 0-1.56 1.25l4 5a1 1 0 0 0 1.56 0l4-5a1 1 0 1 0-1.56-1.25L13 11.15Z","clip-rule":"evenodd"}),f.createElementVNode("path",{"fill-rule":"evenodd",d:"M9.657 15.874 7.358 13H5a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-2.358l-2.3 2.874a3 3 0 0 1-4.685 0ZM17 16a1 1 0 1 0 0 2h.01a1 1 0 1 0 0-2H17Z","clip-rule":"evenodd"})],-1);function Hee(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",null,[H.isArray?(f.openBlock(!0),f.createElementBlock(f.Fragment,{key:0},f.renderList(U.row[U.field],Se=>(f.openBlock(),f.createElementBlock("div",{key:Se.id,class:"m-1 d-inline-block"},[f.createElementVNode("a",{href:Se.url,title:Se.name,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[Vee,f.createTextVNode(" Download ")],8,Ree)]))),128)):H.isObject?(f.openBlock(),f.createElementBlock("div",Iee,[f.createElementVNode("a",{href:U.row[U.field].url,title:U.row[U.field].name,target:"_blank",class:"inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[Lee,f.createTextVNode(" Download ")],8,Fee)])):f.createCommentVNode("",!0)])}const zee=es(Pee,[["render",Hee]]),Uee={props:["field","row","tdProps"]},Zee={key:0},Wee=["innerHTML"];function jee(N,J,U,fe,te,H){return U.row[U.field]?(f.openBlock(),f.createElementBlock("div",Zee,[f.createElementVNode("div",{class:"w-full",innerHTML:U.row[U.field]},null,8,Wee)])):f.createCommentVNode("",!0)}const Gee=es(Uee,[["render",jee]]),qee={props:["field","row","tdProps"],computed:{entry(){const[N,J]=this.field.split(".");return f.markRaw({key:N,field:J})},isArray(){return Array.isArray(this.row[this.entry.key])},isObject(){return typeof this.row[this.entry.key]=="object"}}},Kee={class:"flex flex-wrap gap-2"},Yee={key:1,class:"px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"};function Xee(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",Kee,[H.isArray?(f.openBlock(!0),f.createElementBlock(f.Fragment,{key:0},f.renderList(U.row[H.entry.key],(Se,Y)=>(f.openBlock(),f.createElementBlock("span",{key:Y,class:"px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"},f.toDisplayString(Se[H.entry.field]),1))),128)):H.isObject?(f.openBlock(),f.createElementBlock("span",Yee,f.toDisplayString(U.row[H.entry.key][H.entry.field]),1)):f.createCommentVNode("",!0)])}const Jee=es(qee,[["render",Xee]]),Qee={props:["field","row","tdProps"]},ete={key:0},tte={class:"m-1 d-inline-block"},nte=["href","title"],ote=["src","alt","title"];function ste(N,J,U,fe,te,H){return U.row[U.field]?(f.openBlock(),f.createElementBlock("div",ete,[f.createElementVNode("div",tte,[f.createElementVNode("a",{href:U.row[U.field].url,title:U.row[U.field].name,target:"_blank"},[f.createElementVNode("img",{src:U.row[U.field].thumbnail,alt:U.row[U.field].name,title:U.row[U.field].name},null,8,ote)],8,nte)])])):f.createCommentVNode("",!0)}const rte=es(Qee,[["render",ste],["__scopeId","data-v-3a28c02c"]]),ate={props:["field","row","tdProps"],computed:{isActive(){return this.row[this.field]===1}}},lte={class:"flex flex-wrap gap-2 text-nowrap"},ite={key:0,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"},cte=f.createElementVNode("span",{class:"w-2 h-2 bg-green-500 rounded-full me-1"},null,-1),dte={key:1,class:"inline-flex items-center bg-red-100 text-red-800 text-xs font-medium px-2.5 py-0.5 rounded-full dark:bg-red-900 dark:text-red-300"},ute=f.createElementVNode("span",{class:"w-2 h-2 bg-red-500 rounded-full me-1"},null,-1);function mte(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",lte,[H.isActive?(f.openBlock(),f.createElementBlock("span",ite,[cte,f.createTextVNode(" Active ")])):H.isActive?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("span",dte,[ute,f.createTextVNode(" Inactive ")]))])}const fte=es(ate,[["render",mte]]),gte={props:["field","row","tdProps"],computed:{hasLabelColor(N){const J=this.tdProps.status_general_labels_color.find(U=>U.label===this.row[this.field]);return J?J.class:""}}},hte={class:"flex flex-wrap gap-2 text-nowrap"},pte={key:0,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"},bte=f.createElementVNode("span",{class:"w-2 h-2 bg-green-500 rounded-full me-1"},null,-1),yte={key:1,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"},vte=f.createElementVNode("span",{class:"w-2 h-2 bg-red-500 rounded-full me-1"},null,-1),xte={key:2,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"},wte=f.createElementVNode("span",{class:"w-2 h-2 bg-yellow-500 rounded-full me-1"},null,-1),Cte={key:3,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"},_te=f.createElementVNode("span",{class:"w-2 h-2 bg-blue-500 rounded-full me-1"},null,-1),kte={key:4,class:"inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"},Ste=f.createElementVNode("span",{class:"relative flex w-2 h-2 mr-1"},[f.createElementVNode("span",{class:"absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping"}),f.createElementVNode("span",{class:"relative inline-flex w-2 h-2 bg-blue-500 rounded-full"})],-1);function Ete(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",hte,[H.hasLabelColor=="green"?(f.openBlock(),f.createElementBlock("span",pte,[bte,f.createTextVNode(" "+f.toDisplayString(this.row[this.field]),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="red"?(f.openBlock(),f.createElementBlock("span",yte,[vte,f.createTextVNode(" "+f.toDisplayString(this.row[this.field]),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="yellow"?(f.openBlock(),f.createElementBlock("span",xte,[wte,f.createTextVNode(" "+f.toDisplayString(this.row[this.field]),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="default"?(f.openBlock(),f.createElementBlock("span",Cte,[_te,f.createTextVNode(" "+f.toDisplayString(this.row[this.field]),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="animate"?(f.openBlock(),f.createElementBlock("span",kte,[Ste,f.createTextVNode(" "+f.toDisplayString(this.row[this.field]),1)])):f.createCommentVNode("",!0)])}const Tte=es(gte,[["render",Ete]]),Ate={props:["field","row","tdProps"],computed:{hasLabelColor(){return this.tdProps.specfic_color??""},badgeType(){switch(this.tdProps.badge_type){case"Default":return"rounded text-xs";case"Large":return"rounded text-sm ";case"Bordered":return"rounded text-xs border";case"Pills":return"rounded-full text-xs";default:return""}}}},Nte={class:"flex flex-wrap gap-2 text-nowrap justify-center"};function Dte(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",Nte,[H.hasLabelColor=="Default"?(f.openBlock(),f.createElementBlock("span",{key:0,class:f.normalizeClass(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0),H.hasLabelColor=="Dark"?(f.openBlock(),f.createElementBlock("span",{key:1,class:f.normalizeClass(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0),H.hasLabelColor=="Red"?(f.openBlock(),f.createElementBlock("span",{key:2,class:f.normalizeClass(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0),H.hasLabelColor=="Green"?(f.openBlock(),f.createElementBlock("span",{key:3,class:f.normalizeClass(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0),H.hasLabelColor=="Yellow"?(f.openBlock(),f.createElementBlock("span",{key:4,class:f.normalizeClass(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0),H.hasLabelColor=="Indigo"?(f.openBlock(),f.createElementBlock("span",{key:5,class:f.normalizeClass(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0),H.hasLabelColor=="Purple"?(f.openBlock(),f.createElementBlock("span",{key:6,class:f.normalizeClass(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0),H.hasLabelColor=="Pink"?(f.openBlock(),f.createElementBlock("span",{key:7,class:f.normalizeClass(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400",H.badgeType])},f.toDisplayString(this.row[this.field]),3)):f.createCommentVNode("",!0)])}const Ote=es(Ate,[["render",Dte]]),Bte={props:["field","row","tdProps"],computed:{hasLabelColor(N){const J=this.tdProps.status_general_labels_color.find(U=>U.text===this.row[this.field]);return J?J.class:""},getLabel(){const N=this.tdProps.status_general_labels_color.find(J=>J.text===this.row[this.field]);return N?N.label:""}}},Mte={class:"flex flex-wrap gap-2 text-nowrap"},$te={key:0,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"},Pte=f.createElementVNode("span",{class:"w-2 h-2 bg-green-500 rounded-full me-1"},null,-1),Rte={key:1,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-red-800 bg-red-100 rounded-full dark:bg-red-900 dark:text-red-300"},Vte=f.createElementVNode("span",{class:"w-2 h-2 bg-red-500 rounded-full me-1"},null,-1),Ite={key:2,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"},Fte=f.createElementVNode("span",{class:"w-2 h-2 bg-yellow-500 rounded-full me-1"},null,-1),Lte={key:3,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-full dark:bg-gray-700 dark:text-blue-400"},Hte=f.createElementVNode("span",{class:"w-2 h-2 bg-blue-500 rounded-full me-1"},null,-1),zte={key:4,class:"inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"},Ute=f.createElementVNode("span",{class:"relative flex w-2 h-2 mr-1"},[f.createElementVNode("span",{class:"absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping"}),f.createElementVNode("span",{class:"relative inline-flex w-2 h-2 bg-blue-500 rounded-full"})],-1);function Zte(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",Mte,[H.hasLabelColor=="green"?(f.openBlock(),f.createElementBlock("span",$te,[Pte,f.createTextVNode(" "+f.toDisplayString(H.getLabel),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="red"?(f.openBlock(),f.createElementBlock("span",Rte,[Vte,f.createTextVNode(" "+f.toDisplayString(H.getLabel),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="yellow"?(f.openBlock(),f.createElementBlock("span",Ite,[Fte,f.createTextVNode(" "+f.toDisplayString(H.getLabel),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="default"?(f.openBlock(),f.createElementBlock("span",Lte,[Hte,f.createTextVNode(" "+f.toDisplayString(H.getLabel),1)])):f.createCommentVNode("",!0),H.hasLabelColor=="animate"?(f.openBlock(),f.createElementBlock("span",zte,[Ute,f.createTextVNode(" "+f.toDisplayString(H.getLabel),1)])):f.createCommentVNode("",!0)])}const Wte=es(Bte,[["render",Zte]]),jte={props:["field","row","tdProps"],computed:{formattedDate(){if(!this.row[this.field])return"";const N=new Date(this.row[this.field]),J=N.getFullYear(),U=N.toLocaleString("default",{month:"long"}),fe=N.getDate();let te=N.getHours();const H=N.getMinutes(),Se=N.getSeconds(),Y=te>=12?"pm":"am";return te=te%12,te=te||12,`${U} ${fe}, ${J}, ${te}:${H}:${Se} ${Y}`},isActive(){return this.row[this.field]===1}}},Gte={class:"w-full"};function qte(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",Gte,f.toDisplayString(H.formattedDate),1)}const Kte=es(jte,[["render",qte]]),Yte={props:["field","row","tdProps"]},Xte={class:"flex flex-wrap gap-2 text-nowrap"},Jte={key:0,class:"inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"},Qte=f.createElementVNode("span",{class:"relative flex w-2 h-2 mr-1"},[f.createElementVNode("span",{class:"absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping"}),f.createElementVNode("span",{class:"relative inline-flex w-2 h-2 bg-blue-500 rounded-full"})],-1),ene={key:1,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-yellow-800 bg-yellow-100 rounded-full dark:bg-gray-700 dark:text-yellow-300"},tne=f.createElementVNode("span",{class:"w-2 h-2 bg-yellow-500 rounded-full me-1"},null,-1),nne={key:2,class:"inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"},one=f.createElementVNode("span",{class:"w-2 h-2 bg-green-500 rounded-full me-1"},null,-1);function sne(N,J,U,fe,te,H){return f.openBlock(),f.createElementBlock("div",Xte,[U.row[U.field]===0?(f.openBlock(),f.createElementBlock("span",Jte,[Qte,f.createTextVNode(" Provisioning")])):f.createCommentVNode("",!0),U.row[U.field]===2?(f.openBlock(),f.createElementBlock("span",ene,[tne,f.createTextVNode(" Paused ")])):f.createCommentVNode("",!0),U.row[U.field]===1?(f.openBlock(),f.createElementBlock("span",nne,[one,f.createTextVNode(" Active ")])):f.createCommentVNode("",!0)])}const rne=es(Yte,[["render",sne]]),ane={props:["field","row","tdProps"]},lne={key:0,class:"text-nowrap"},ine={class:"w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles"};function cne(N,J,U,fe,te,H){return U.row[U.field]?(f.openBlock(),f.createElementBlock("div",lne,[f.createElementVNode("pre",ine," "+f.toDisplayString(U.row[U.field])+`
86
86
  `,1)])):f.createCommentVNode("",!0)}const dne=es(ane,[["render",cne]]),une={props:["isOpen","title","button_text"],methods:{confirmAction(){this.$emit("confirm-action")},cancelAction(){this.$emit("cancel-action")}}},mne={key:0,class:"fixed inset-0 z-50 overflow-y-auto",role:"dialog","aria-modal":"true"},fne={class:"flex items-end justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:block sm:p-0"},gne=f.createElementVNode("div",{class:"fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75","aria-hidden":"true"},null,-1),hne=f.createElementVNode("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"​",-1),pne={class:"inline-block overflow-hidden text-left align-bottom transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full"},bne={class:"px-4 pt-5 pb-4 bg-white sm:p-6 sm:pb-4"},yne={class:"sm:flex sm:items-start"},vne={class:"mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"},xne={class:"text-lg font-medium leading-6 text-gray-900"},wne={class:"mt-2"},Cne={class:"px-4 py-3 bg-gray-50 sm:px-6 sm:flex sm:flex-row-reverse"};function _ne(N,J,U,fe,te,H){return U.isOpen?(f.openBlock(),f.createElementBlock("div",mne,[f.createElementVNode("div",fne,[gne,hne,f.createElementVNode("div",pne,[f.createElementVNode("div",bne,[f.createElementVNode("div",yne,[f.createElementVNode("div",vne,[f.createElementVNode("h3",xne,f.toDisplayString(U.title),1),f.createElementVNode("div",wne,[f.renderSlot(N.$slots,"default")])])])]),f.createElementVNode("div",Cne,[f.createElementVNode("button",{onClick:J[0]||(J[0]=(...Se)=>H.confirmAction&&H.confirmAction(...Se)),type:"button",class:"inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"},f.toDisplayString(U.button_text),1),f.createElementVNode("button",{onClick:J[1]||(J[1]=(...Se)=>H.cancelAction&&H.cancelAction(...Se)),type:"button",class:"inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"}," Cancel ")])])])])):f.createCommentVNode("",!0)}const kne=es(une,[["render",_ne]]),Sne={class:"w-full"},Ene={class:"mb-2 flex justify-between items-center"},Tne={class:"text-sm font-medium text-gray-900 dark:text-white"},Ane={class:"relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto"},Nne={class:"overflow-auto max-h-32"},Dne={class:"text-sm text-gray-500 dark:text-gray-400"},One={class:"absolute top-2 end-2 bg-gray-50 dark:bg-gray-700"},Bne={key:0,class:"inline-flex items-center"},Mne=[f.createElementVNode("svg",{class:"w-3 h-3 me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 18 20"},[f.createElementVNode("path",{d:"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z"})],-1),f.createElementVNode("span",{class:"text-xs font-semibold"},"Copy",-1)],$ne={key:1,class:"inline-flex items-center"},Pne=[f.createElementVNode("svg",{class:"w-3 h-3 text-blue-700 dark:text-blue-500 me-2","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M1 5.917 5.724 10.5 15 1.5"})],-1),f.createElementVNode("span",{class:"text-xs font-semibold text-blue-700 dark:text-blue-500"},"Copied",-1)],Rne={class:"mt-2 text-sm text-gray-500 dark:text-gray-400"},Vne={__name:"GlCodeCopy",props:{label_name:{type:String,default:""},code:{type:String,default:""},description:{type:String,default:""}},setup(N){const J=N,U=f.ref(!1),fe=H=>{navigator.clipboard.writeText(H).then(function(){U.value=!0,setTimeout(()=>{U.value=!1},2e3)}).catch(function(Se){console.error("Error copying to clipboard: ",Se)})},te=f.computed(()=>J.code);return(H,Se)=>(f.openBlock(),f.createElementBlock("div",Sne,[f.createElementVNode("div",Ene,[f.createElementVNode("p",Tne,f.toDisplayString(N.label_name),1)]),f.createElementVNode("div",Ane,[f.createElementVNode("div",Nne,[f.createElementVNode("code",Dne,f.toDisplayString(te.value),1)]),f.createElementVNode("div",One,[f.createElementVNode("button",{onClick:Se[0]||(Se[0]=Y=>fe(te.value)),class:"text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"},[U.value?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("span",Bne,Mne)),U.value?(f.openBlock(),f.createElementBlock("span",$ne,Pne)):f.createCommentVNode("",!0)])])]),f.createElementVNode("p",Rne,f.toDisplayString(N.description),1)]))}},Ine={class:"w-full"},Fne={class:"flex justify-between items-center"},Lne={class:"gl-label-form"},Hne={class:"flex items-center"},zne={class:"flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600"},Une={class:"relative w-full"},Zne=["value"],Wne={key:0},jne=[f.createElementVNode("svg",{class:"w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 18 20"},[f.createElementVNode("path",{d:"M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z"})],-1)],Gne={key:1,class:"inline-flex items-center"},qne=[f.createElementVNode("svg",{class:"w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 12"},[f.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M1 5.917 5.724 10.5 15 1.5"})],-1)],Kne={class:"mt-2 text-sm text-gray-500 dark:text-gray-400"},Yne={__name:"GlTextCopy",props:{label_name:{type:String,default:""},text_name:{type:String,default:""},code:{type:String,default:""},description:{type:String,default:""}},setup(N){const J=N,U=f.ref(!1),fe=H=>{navigator.clipboard.writeText(H).then(function(){U.value=!0,setTimeout(()=>{U.value=!1},2e3)}).catch(function(Se){console.error("Error copying to clipboard: ",Se)})},te=f.computed(()=>J.code);return(H,Se)=>(f.openBlock(),f.createElementBlock("div",Ine,[f.createElementVNode("div",Fne,[f.createElementVNode("label",Lne,f.toDisplayString(N.label_name),1)]),f.createElementVNode("div",Hne,[f.createElementVNode("span",zne,f.toDisplayString(N.text_name),1),f.createElementVNode("div",Une,[f.createElementVNode("input",{type:"text","aria-describedby":"helper-text-explanation",class:"bg-gray-50 border border-e-0 border-gray-300 text-gray-500 dark:text-gray-400 text-sm border-s-0 focus:ring-blue-500 focus:border-blue-500 block w-full p-2 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500",value:te.value,readonly:"",disabled:""},null,8,Zne)]),f.createElementVNode("button",{style:{padding:".61rem"},onClick:Se[0]||(Se[0]=Y=>fe(te.value)),class:"flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",type:"button"},[U.value?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("span",Wne,jne)),U.value?(f.openBlock(),f.createElementBlock("span",Gne,qne)):f.createCommentVNode("",!0)])]),f.createElementVNode("p",Kne,f.toDisplayString(N.description),1)]))}};fn.DatatableStatusTextLabelGeneral=Wte,fn.GLDatatableCommand=dne,fn.GLDatatableDateTime=Kte,fn.GLDatatableStatusServer=rne,fn.GlAccordion=JQ,fn.GlAccordionsWrapper=ZQ,fn.GlButton=Uq,fn.GlCard=wq,fn.GlCodeCopy=Vne,fn.GlConfirmationModal=kne,fn.GlDataTable=HQ,fn.GlDataTableServerSide=DJ,fn.GlDataTableServerSideGroupBy=oQ,fn.GlDatatableAction=vee,fn.GlDatatableDeleteAction=Eee,fn.GlDatatableFileDownload=$ee,fn.GlDatatableFiles=zee,fn.GlDatatableHtml=Gee,fn.GlDatatableList=Jee,fn.GlDatatablePicture=rte,fn.GlDatatableStatus=fte,fn.GlDatatableStatusGeneral=Tte,fn.GlDatatableStatusSpecficColor=Ote,fn.GlDeleteConfirmationModal=fE,fn.GlDropdown=TX,fn.GlFilesUpload=uq,fn.GlLanguageSelector=bq,fn.GlModal=UY,fn.GlMultiItemSlide=RY,fn.GlMultiSelectDropdown=Fq,fn.GlTab=ZK,fn.GlTabsWrapper=LK,fn.GlTailwindPagination=N$,fn.GlTextCopy=Yne,fn.GlTextInput=DK,fn.GlTextTranslate=CK,fn.GlTextarea=PX,fn.GlTextareaTranslate=eK,fn.GlTinymce=WX,fn.GlTinymceTranslate=uK,fn.GlToast=s2,fn.GlToastList=cee,fn.GlToggleBox=oX,Object.defineProperty(fn,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "./dist/style.css": "./dist/style.css"
18
18
  },
19
19
  "private": false,
20
- "version": "1.0.171",
20
+ "version": "1.0.172",
21
21
  "scripts": {
22
22
  "dev": "vite",
23
23
  "build": "vite build",