reactjs-tiptap-editor-pro 0.2.32 → 0.2.34

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.
@@ -1,4 +1,12 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./tiptap-gBG-1T-V.cjs"),p=require("./vendor-BJ0Yf78E.cjs"),a=require("react/jsx-runtime"),g=require("react"),N=require("lucide-react"),r=require("./RichTextEditor-BwbqJLnA.cjs"),w=require("./index-DV-nXpU1.cjs"),q=require("shiki"),be=require("@radix-ui/react-select"),pe=require("@radix-ui/react-slot"),J=require("tippy.js"),Y=require("scroll-into-view-if-needed"),z=require("frimousse"),oe=require("docx"),P=require("prosemirror-docx");function ie(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const D=ie(g),A=ie(be),Q=g.forwardRef(({asChild:e,...t},n)=>{var s;const o=r.icons[t.icon],i=e?pe.Slot:r.Button;return a.jsxs(r.Tooltip,{children:[a.jsx(r.TooltipTrigger,{asChild:!0,children:a.jsx(i,{className:"h-[32px] min-w-24 overflow-hidden px-[5px] py-0",disabled:t==null?void 0:t.disabled,ref:n,variant:"ghost",...t,children:a.jsxs("div",{className:"flex h-full items-center font-normal",children:[(t==null?void 0:t.title)&&a.jsx("div",{className:"grow truncate text-left text-sm",children:t==null?void 0:t.title}),o&&a.jsx(o,{className:"ml-1 size-3 shrink-0 text-zinc-500"})]})})}),a.jsx(r.TooltipContent,{children:a.jsxs("div",{className:"flex max-w-24 flex-col items-center text-center",children:[(t==null?void 0:t.tooltip)&&a.jsx("div",{children:t==null?void 0:t.tooltip}),a.jsx("div",{className:"flex",children:!!((s=t==null?void 0:t.shortcutKeys)!=null&&s.length)&&a.jsx("span",{children:r.getShortcutKeys(t==null?void 0:t.shortcutKeys)})})]})})]})}),we=h.Bold.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.toggleBold(),isActive:()=>t.isActive("bold")||!1,disabled:!t.can().toggleBold(),icon:"Bold",shortcutKeys:["mod","B"],tooltip:n("editor.bold.tooltip")}})}}}),xe=h.Italic.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,t:n}){return{component:r.ActionButton,componentProps:{action:()=>t.commands.toggleItalic(),isActive:()=>t.isActive("italic")||!1,disabled:!t.can().toggleItalic(),shortcutKeys:["mod","I"],icon:"Italic",tooltip:n("editor.italic.tooltip")}}}}}}),ye=h.Underline.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,t:n}){return{component:r.ActionButton,componentProps:{action:()=>t.commands.toggleUnderline(),isActive:()=>t.isActive("underline")||!1,disabled:!t.can().toggleUnderline(),icon:"Underline",shortcutKeys:["mod","U"],tooltip:n("editor.underline.tooltip")}}}}}}),ke=h.Strike.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.toggleStrike(),isActive:()=>t.isActive("strike")||!1,disabled:!t.can().toggleStrike(),icon:"Strikethrough",shortcutKeys:["shift","mod","S"],tooltip:n("editor.strike.tooltip")}})}}}),ve=h.Code.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.toggleCode(),isActive:()=>t.isActive("code")||!1,disabled:!t.can().toggleCode(),icon:"Code",shortcutKeys:["mod","E"],tooltip:n("editor.code.tooltip")}})}}});let M,O;const V=new Set,W=new Set;function je(){return M}function Ce(e){if(!M&&!O){const t=e.themes.filter(o=>!!o&&o in q.bundledThemes),n=e.languages.filter(o=>!!o&&o in q.bundledLanguages);return O=q.createHighlighter({themes:t,langs:n}).then(o=>{M=o}),O}if(O)return O}async function ae(e){return M&&!M.getLoadedThemes().includes(e)&&!W.has(e)&&e in q.bundledThemes?(W.add(e),await M.loadTheme(e),W.delete(e),!0):!1}async function se(e){return M&&!M.getLoadedLanguages().includes(e)&&!V.has(e)&&e in q.bundledLanguages?(V.add(e),await M.loadLanguage(e),V.delete(e),!0):!1}async function Ae({doc:e,name:t,defaultTheme:n,defaultLanguage:o}){const i=h.findChildren(e,c=>c.type.name===t),s=[...i.map(c=>c.node.attrs.theme),n],l=[...i.map(c=>c.node.attrs.language),o];M?await Promise.all([...s.flatMap(c=>ae(c)),...l.flatMap(c=>!!c&&se(c))]):await Ce({languages:l,themes:s})}function X({doc:e,name:t,defaultTheme:n,defaultLanguage:o}){const i=[];return h.findChildren(e,l=>l.type.name===t).forEach(l=>{let c=l.pos+1,m=l.node.attrs.language||o;const u=l.node.attrs.theme||n,d=je();if(!d)return;d.getLoadedLanguages().includes(m)||(m="plaintext");const f=d.getLoadedThemes().includes(u)?u:d.getLoadedThemes()[0],_=d.codeToTokensBase(l.node.textContent,{lang:m,theme:f});for(const b of _){for(const k of b){const v=c+k.content.length,S=p.Decoration.inline(c,v,{style:`color: ${k.color}`});i.push(S),c=v}c+=1}}),p.DecorationSet.create(e,i)}function Ne({name:e,defaultLanguage:t,defaultTheme:n}){const o=new p.Plugin({key:new p.PluginKey("shiki"),view(i){class s{constructor(){this.initDecorations()}update(){this.checkUndecoratedBlocks()}destroy(){}async initDecorations(){const c=i.state.doc;await Ae({doc:c,name:e,defaultLanguage:t,defaultTheme:n});const m=i.state.tr.setMeta("shikiPluginForceDecoration",!0);i.dispatch(m)}async checkUndecoratedBlocks(){const c=h.findChildren(i.state.doc,d=>d.type.name===e);if((await Promise.all(c.flatMap(d=>[ae(d.node.attrs.theme),se(d.node.attrs.language)]))).includes(!0)){const d=i.state.tr.setMeta("shikiPluginForceDecoration",!0);i.dispatch(d)}}}return new s},state:{init:(i,{doc:s})=>X({doc:s,name:e,defaultLanguage:t,defaultTheme:n}),apply:(i,s,l,c)=>{const m=l.selection.$head.parent.type.name,u=c.selection.$head.parent.type.name,d=h.findChildren(l.doc,b=>b.type.name===e),f=h.findChildren(c.doc,b=>b.type.name===e),_=i.docChanged&&([m,u].includes(e)||f.length!==d.length||i.steps.some(b=>b.from!==void 0&&b.to!==void 0&&d.some(k=>k.pos>=b.from&&k.pos+k.node.nodeSize<=b.to)));return i.getMeta("shikiPluginForceDecoration")||_?X({doc:i.doc,name:e,defaultLanguage:t,defaultTheme:n}):s.map(i.mapping,i.doc)}},props:{decorations(i){return o.getState(i)}}});return o}function Se({action:e,languages:t,...n}){const o=s=>{e(s)},i=g.useMemo(()=>t==null?void 0:t.map(s=>({title:w.MAP_LANGUAGE_CODE_LABELS[s]||s,language:s})),[t]);return a.jsxs(r.DropdownMenu,{children:[a.jsx(r.DropdownMenuTrigger,{disabled:n==null?void 0:n.disabled,asChild:!0,children:a.jsx(r.ActionButton,{tooltip:n==null?void 0:n.tooltip,disabled:n==null?void 0:n.disabled,icon:n==null?void 0:n.icon})}),a.jsx(r.DropdownMenuContent,{className:"w-full !max-h-[180px] !overflow-y-scroll",children:i==null?void 0:i.map(s=>a.jsx(r.DropdownMenuItem,{onClick:()=>o(s.language),children:a.jsx("div",{className:"h-full ml-1",children:s.title})},`codeblock-${s.title}`))})]})}const Te=A.Root,Ee=A.Value,re=D.forwardRef(({className:e,children:t,...n},o)=>a.jsxs(A.Trigger,{ref:o,className:r.cn("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,a.jsx(A.Icon,{asChild:!0,children:a.jsx(N.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));re.displayName=A.Trigger.displayName;const le=D.forwardRef(({className:e,...t},n)=>a.jsx(A.ScrollUpButton,{ref:n,className:r.cn("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(N.ChevronUp,{className:"h-4 w-4"})}));le.displayName=A.ScrollUpButton.displayName;const ce=D.forwardRef(({className:e,...t},n)=>a.jsx(A.ScrollDownButton,{ref:n,className:r.cn("flex cursor-default items-center justify-center py-1",e),...t,children:a.jsx(N.ChevronDown,{className:"h-4 w-4"})}));ce.displayName=A.ScrollDownButton.displayName;const de=D.forwardRef(({className:e,children:t,position:n="popper",...o},i)=>a.jsx(A.Portal,{children:a.jsxs(A.Content,{ref:i,className:r.cn("relative z-50 max-h-60 overflow-y-auto min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...o,children:[a.jsx(le,{}),a.jsx(A.Viewport,{className:r.cn("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),a.jsx(ce,{})]})}));de.displayName=A.Content.displayName;const Le=D.forwardRef(({className:e,...t},n)=>a.jsx(A.Label,{ref:n,className:r.cn("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));Le.displayName=A.Label.displayName;const Z=D.forwardRef(({className:e,children:t,...n},o)=>a.jsxs(A.Item,{ref:o,className:r.cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[a.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:a.jsx(A.ItemIndicator,{children:a.jsx(N.Check,{className:"h-4 w-4"})})}),a.jsx(A.ItemText,{children:t})]}));Z.displayName=A.Item.displayName;const Me=D.forwardRef(({className:e,...t},n)=>a.jsx(A.Separator,{ref:n,className:r.cn("-mx-1 my-1 h-px bg-muted",e),...t}));Me.displayName=A.Separator.displayName;function Pe(){const[e,t]=g.useState(!1);return{isCopied:e,copyToClipboard:async o=>{try{await navigator.clipboard.writeText(o),t(!0),setTimeout(()=>t(!1),2e3)}catch(i){console.error("Failed to copy text: ",i),t(!1)}}}}const He="_wrap_fsdar_1",Re="_maxHeight_fsdar_10",Ie="_btnCopy_fsdar_13",ze="_btnDelete_fsdar_14",De="_blockInfo_fsdar_18",Be="_blockInfoEditable_fsdar_28",Oe="_selectLang_fsdar_32",Fe="_copied_fsdar_58",R={wrap:He,maxHeight:Re,btnCopy:Ie,btnDelete:ze,blockInfo:De,blockInfoEditable:Be,selectLang:Oe,copied:Fe};function qe({editor:e,node:{attrs:t},updateAttributes:n,extension:o}){var _,b;const{isCopied:i,copyToClipboard:s}=Pe(),l=g.useMemo(()=>{var k;return(k=o.options.languages)!=null&&k.length?o.options.languages:w.DEFAULT_LANGUAGE_CODE_BLOCK},[o.options.languages]),c=r.useEditableEditor(),m=(b=(_=e==null?void 0:e.options)==null?void 0:_.editorProps)==null?void 0:b.print,{language:u}=t,d=g.useRef(null),f=g.useCallback(()=>r.deleteNode(ue.name,e),[e]);return a.jsxs(h.NodeViewWrapper,{className:p.clsx(R.wrap,!m&&R.maxHeight,"render-wrapper"),children:[a.jsxs("div",{className:p.clsx(R.blockInfo,{[R.blockInfoEditable]:!c}),children:[a.jsx("span",{className:p.clsx(R.btnCopy,i&&R.copied),onClick:()=>s(d.current.innerText),children:i?a.jsx(N.CopyCheck,{size:16}):a.jsx(N.Copy,{size:16})}),a.jsx("span",{className:R.btnDelete,onClick:f,children:a.jsx(r.IconComponent,{name:"Trash2"})}),a.jsx("div",{className:R.selectLang,children:a.jsxs(Te,{defaultValue:u||"auto",disabled:!c,onValueChange:k=>n({language:k}),children:[a.jsx(re,{children:a.jsx(Ee,{placeholder:"Language"})}),a.jsxs(de,{className:"max-h-60 overflow-y-auto",children:[a.jsx(Z,{value:"auto",children:"Auto"}),l.map((k,v)=>a.jsx(Z,{value:k,children:k.charAt(0).toUpperCase()+k.slice(1)},`code-lang-${v}`))]})]})})]}),a.jsx("pre",{ref:d,children:a.jsx(h.NodeViewContent,{as:"code"})})]})}const ue=h.CodeBlock.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),languages:[],button:({editor:t,t:n,extension:o})=>{var s,l,c;const i=(l=(s=o==null?void 0:o.options)==null?void 0:s.languages)!=null&&l.length?(c=o==null?void 0:o.options)==null?void 0:c.languages:w.DEFAULT_LANGUAGE_CODE_BLOCK;return{component:Se,componentProps:{action:(m="js")=>t.commands.setCodeBlock({language:m}),isActive:()=>t.isActive("codeBlock")||!1,disabled:!t.can().toggleCodeBlock(),icon:"Code2",tooltip:n("editor.codeblock.tooltip"),languages:i}}}}},addNodeView(){return h.ReactNodeViewRenderer(qe)},addProseMirrorPlugins(){var e;return[...((e=this.parent)==null?void 0:e.call(this))||[],Ne({name:this.name,defaultLanguage:null,defaultTheme:this.options.defaultTheme})]}});function Ue(e){var i,s,l;const{t,lang:n}=w.useLocale(),o=g.useMemo(()=>{var u;const c=(u=e==null?void 0:e.items)==null?void 0:u.find(d=>d.isActive());return c&&!c.default?{...c}:{title:e.tooltip,font:t("editor.fontFamily.default.tooltip"),isActive:()=>!1,disabled:!1,action:()=>e.editor.chain().focus().unsetFontFamily().run()}},[t,n,e]);return a.jsxs(r.DropdownMenu,{children:[a.jsx(r.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:a.jsx(Q,{disabled:e==null?void 0:e.disabled,icon:"MenuDown",title:((i=o==null?void 0:o.font)==null?void 0:i.length)>7?`${(s=o==null?void 0:o.font)==null?void 0:s.slice(0,6)}...`:o==null?void 0:o.font,tooltip:e==null?void 0:e.tooltip})}),a.jsx(r.DropdownMenuContent,{className:"w-full",children:(l=e==null?void 0:e.items)==null?void 0:l.map((c,m)=>{const u=c.font===t("editor.fontFamily.default.tooltip")?{}:{fontFamily:c.font};return a.jsxs(g.Fragment,{children:[a.jsx(r.DropdownMenuCheckboxItem,{checked:(o==null?void 0:o.font)===c.font,onClick:c.action,children:a.jsx("div",{className:"ml-1 h-full",style:u,children:c.font})}),c.font===t("editor.fontFamily.default.tooltip")&&a.jsx(r.DropdownMenuSeparator,{})]},`font-family-${m}`)})})]})}const Ke=h.FontFamily.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),fontFamilyList:w.DEFAULT_FONT_FAMILY_LIST,button({editor:t,extension:n,t:o}){var u;const{extensions:i=[]}=t.extensionManager??[],s=r.ensureNameValueOptions(((u=n==null?void 0:n.options)==null?void 0:u.fontFamilyList)||[]),l=i.find(d=>d.name==="base-kit"),c=s.map(d=>({action:()=>{t.chain().focus().setFontFamily(d.value).run()},isActive:()=>t.isActive("textStyle",{fontFamily:d.value})||!1,disabled:!t.can().setFontFamily(d.value),title:d.name,font:d.value}));l&&l.options.textStyle!==!1&&c.unshift({action:()=>t.chain().focus().unsetFontFamily().run(),isActive:()=>!1,disabled:!1,font:o("editor.fontFamily.default.tooltip"),title:o("editor.fontFamily.tooltip")});const m=c.filter(d=>d.disabled).length===c.length;return{component:Ue,componentProps:{tooltip:o("editor.fontFamily.tooltip"),disabled:m,items:c,editor:t}}}}}});function $e(e){var n;const t=g.useMemo(()=>{var s;const o=(s=e==null?void 0:e.items)==null?void 0:s.find(l=>l.isActive());return o&&!o.default?{...o}:{title:e.tooltip,level:0,isActive:()=>!1}},[e]);return a.jsxs(r.DropdownMenu,{children:[a.jsx(r.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:a.jsx(Q,{disabled:e==null?void 0:e.disabled,icon:"MenuDown",title:t==null?void 0:t.title,tooltip:e==null?void 0:e.tooltip})}),a.jsx(r.DropdownMenuContent,{className:"w-full",children:(n=e==null?void 0:e.items)==null?void 0:n.map((o,i)=>{var s,l;return a.jsxs(g.Fragment,{children:[a.jsxs(r.DropdownMenuCheckboxItem,{checked:(t==null?void 0:t.title)===o.title,onClick:o.action,children:[a.jsx("div",{className:`heading- ml-1 h-full${o.level}`,children:o.title}),!!((s=o==null?void 0:o.shortcutKeys)!=null&&s.length)&&a.jsx(r.DropdownMenuShortcut,{className:"pl-4",children:(l=o==null?void 0:o.shortcutKeys)==null?void 0:l.map(c=>r.getShortcutKey(c)).join(" ")})]}),o.level===0&&a.jsx(r.DropdownMenuSeparator,{})]},`heading-k-${i}`)})})]})}const Ve=h.Heading.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),levels:[1,2,3,4,5,6],button({editor:t,extension:n,t:o}){var u;const{extensions:i=[]}=t.extensionManager??[],s=((u=n.options)==null?void 0:u.levels)||[],l=i.find(d=>d.name==="base-kit"),c=s.map(d=>({action:()=>t.commands.toggleHeading({level:d}),isActive:()=>t.isActive("heading",{level:d})||!1,disabled:!t.can().toggleHeading({level:d}),title:o(`editor.heading.h${d}.tooltip`),level:d,shortcutKeys:["alt","mod",`${d}`]}));l&&l.options.paragraph!==!1&&c.unshift({action:()=>t.commands.setParagraph(),isActive:()=>t.isActive("paragraph")||!1,disabled:!t.can().setParagraph(),level:0,title:o("editor.paragraph.tooltip"),shortcutKeys:["alt","mod","0"]});const m=c.filter(d=>d.disabled).length===c.length;return{component:$e,componentProps:{tooltip:o("editor.heading.tooltip"),disabled:m,items:c,editor:t}}}}}});function We(e){var n;const t=g.useMemo(()=>{var s;const o=(s=e==null?void 0:e.items)==null?void 0:s.find(l=>l.isActive());return o&&!o.default?{...o,icon:o.icon?o.icon:e.icon}:{title:e==null?void 0:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return a.jsxs(r.Popover,{modal:!0,children:[a.jsx(r.PopoverTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:a.jsx(r.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,tooltip:e==null?void 0:e.tooltip,children:a.jsx(r.IconComponent,{className:"ml-1 size-3 text-zinc-500",name:"MenuDown"})})}),a.jsx(r.PopoverContent,{align:"start",className:"flex w-full min-w-4 flex-row gap-1 !p-[4px]",side:"bottom",children:(n=e==null?void 0:e.items)==null?void 0:n.map((o,i)=>{var s,l;return a.jsxs(r.Tooltip,{children:[a.jsx(r.TooltipTrigger,{asChild:!0,children:a.jsx(r.Toggle,{className:"size-7 p-1","data-state":t.title===o.title?"on":"off",onClick:o==null?void 0:o.action,pressed:t.title===o.title,size:"sm",children:(o==null?void 0:o.icon)&&a.jsx(r.IconComponent,{name:o.icon})})}),a.jsxs(r.TooltipContent,{className:"flex flex-col items-center",children:[a.jsx("span",{children:o.title}),!!((s=o.shortcutKeys)!=null&&s.length)&&a.jsx("span",{children:(l=o.shortcutKeys)==null?void 0:l.map(c=>r.getShortcutKey(c)).join(" ")})]})]},`text-align-${i}`)})})]})}const Ge=h.TextAlign.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["heading","paragraph","list_item","title"],button({editor:t,extension:n,t:o}){var u;const i=((u=n.options)==null?void 0:u.alignments)||[],s={left:["mod","Shift","L"],center:["mod","Shift","E"],right:["mod","Shift","R"],justify:["mod","Shift","J"]},l={left:"AlignLeft",center:"AlignCenter",right:"AlignRight",justify:"AlignJustify"},c=i.map(d=>{var f,_,b;return{title:o(`editor.textalign.${d}.tooltip`),icon:l[d],shortcutKeys:s[d],isActive:()=>t.isActive({textAlign:d})||!1,action:()=>{var k,v;return(v=(k=t.commands)==null?void 0:k.setTextAlign)==null?void 0:v.call(k,d)},disabled:!((b=(_=(f=t==null?void 0:t.can)==null?void 0:f.call(t))==null?void 0:_.setTextAlign)!=null&&b.call(_,d))}}),m=c.filter(d=>d.disabled).length===c.length;return{component:We,componentProps:{icon:"AlignJustify",tooltip:o("editor.textalign.tooltip"),disabled:m,items:c}}}}}});function Ze(e){var i;const{t}=w.useLocale(),n=g.useRef(null),o=g.useMemo(()=>{const s=(e.items||[]).find(c=>c.isActive());return s||{title:t("editor.fontSize.default.tooltip"),isActive:()=>!1}},[e]);return a.jsxs(r.DropdownMenu,{children:[a.jsx(r.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:a.jsx("div",{ref:n,children:a.jsx(Q,{disabled:e==null?void 0:e.disabled,icon:"MenuDown",title:o==null?void 0:o.title,tooltip:`${e==null?void 0:e.tooltip}`})})}),a.jsx(r.DropdownMenuContent,{container:n.current,className:"max-h-[40vh] w-32 overflow-y-auto",children:(i=e==null?void 0:e.items)==null?void 0:i.map((s,l)=>a.jsx(r.DropdownMenuCheckboxItem,{checked:o.title===s.title,onClick:s.action,children:a.jsx("div",{className:"ml-1 h-full",children:s.title})},`font-size-${l}`))})]})}const Je=h.Extension.create({name:"fontSize",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["textStyle"],fontSizes:[...w.DEFAULT_FONT_SIZE_LIST],button({editor:t,extension:n,t:o}){var m;const i=r.ensureNameValueOptions(((m=n.options)==null?void 0:m.fontSizes)||w.DEFAULT_FONT_SIZE_VALUE),s=r.ensureNameValueOptions([w.DEFAULT_FONT_SIZE_VALUE])[0],l=i.map(u=>({title:u.value===s.value?o("editor.fontSize.default.tooltip"):String(u.name),isActive:()=>{const{fontSize:d}=t.getAttributes("textStyle");return u.value===s.value&&d===void 0?!0:t.isActive({fontSize:String(u.value)})||!1},action:()=>{if(u.value===s.value){t.commands.unsetFontSize();return}t.commands.setFontSize(String(u.value))},disabled:!t.can().setFontSize(String(u.value)),divider:u.value===s.value||!1,default:u.value===s.value||!1})),c=l.filter(u=>u.disabled).length===l.length;return{component:Ze,componentProps:{editor:t,tooltip:o("editor.fontSize.tooltip"),disabled:c,items:l,maxHeight:280}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:e=>e.style.fontSize.replaceAll(/["']+/g,""),renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}});function Ye({fill:e}){return a.jsx("svg",{width:"18px",height:"18px",viewBox:"0 0 240 240",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:a.jsx("g",{transform:"translate(0.000000, 0.500000)",children:a.jsxs("g",{transform:"translate(39.000000, 17.353553)",children:[a.jsx("path",{d:"M11,201.146447 L167,201.146447 C173.075132,201.146447 178,206.071314 178,212.146447 C178,218.221579 173.075132,223.146447 167,223.146447 L11,223.146447 C4.92486775,223.146447 7.43989126e-16,218.221579 0,212.146447 C-7.43989126e-16,206.071314 4.92486775,201.146447 11,201.146447 Z",id:"矩形",fill:e||"#DF2A3F",fillRule:"evenodd"}),a.jsx("path",{d:"M72.3425855,16.8295583 C75.799482,7.50883712 86.1577877,2.75526801 95.4785089,6.21216449 C100.284516,7.99463061 104.096358,11.7387855 105.968745,16.4968188 L106.112518,16.8745422 L159.385152,161.694068 C161.291848,166.877345 158.635655,172.624903 153.452378,174.531599 C148.358469,176.405421 142.719567,173.872338 140.716873,168.864661 L140.614848,168.598825 L89.211,28.86 L37.3759214,168.623816 C35.4885354,173.712715 29.8981043,176.351047 24.7909589,174.617647 L24.5226307,174.522368 C19.4337312,172.634982 16.7953993,167.044551 18.5287999,161.937406 L18.6240786,161.669077 L72.3425855,16.8295583 Z",id:"路径-21",fill:"currentColor",fillRule:"nonzero"}),a.jsx("path",{d:"M121,103.146447 C126.522847,103.146447 131,107.623599 131,113.146447 C131,118.575687 126.673329,122.994378 121.279905,123.142605 L121,123.146447 L55,123.146447 C49.4771525,123.146447 45,118.669294 45,113.146447 C45,107.717207 49.3266708,103.298515 54.7200952,103.150288 L55,103.146447 L121,103.146447 Z",id:"路径-22",fill:"currentColor",fillRule:"nonzero"})]})})})})}function Qe(e){const[t,n]=g.useState(void 0);function o(l){var c;(c=e.action)==null||c.call(e,l)}function i(){var l;(l=e.action)==null||l.call(e,t)}const s=g.useCallback(p.debounce(l=>{n(l)},350),[]);return a.jsxs("div",{className:"flex items-center h-[32px]",children:[a.jsx(r.ActionButton,{tooltip:e==null?void 0:e.tooltip,disabled:e==null?void 0:e.disabled,action:i,children:a.jsx("span",{className:"flex items-center justify-center text-sm",children:a.jsx(Ye,{fill:t})})}),a.jsx(r.ColorPicker,{selectedColor:t,setSelectedColor:s,onChange:o,disabled:e==null?void 0:e.disabled,colors:e==null?void 0:e.colors,defaultColor:e==null?void 0:e.defaultColor,children:a.jsx(r.Button,{variant:"ghost",size:"icon",className:"r!ichtext-h-[32px] !w-3",disabled:e==null?void 0:e.disabled,children:a.jsx(r.IconComponent,{className:"!w-3 !h-3 text-zinc-500",name:"MenuDown"})})})]})}const Xe=h.Color.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,t:n,extension:o}){return{component:Qe,componentProps:{colors:o.options.colors,defaultColor:o.options.defaultColor,action:i=>{i===void 0&&t.chain().focus().unsetColor().run(),typeof i=="string"&&t.chain().focus().setColor(i).run()},isActive:()=>{const{color:i}=t.getAttributes("textStyle");return i&&t.isActive({color:i})||!1},editor:t,disabled:!t.can().setColor(""),tooltip:n("editor.color.tooltip")}}}}}}),et=h.Highlight.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),multicolor:!0,button:({editor:t,t:n})=>({component:r.HighlightActionButton,componentProps:{action:o=>{typeof o=="string"&&t.chain().focus().setHighlight({color:o}).run(),o===void 0&&t.chain().focus().unsetHighlight().run()},editor:t,isActive:()=>t.isActive("highlight")||!1,disabled:!t.can().setHighlight(),shortcutKeys:["⇧","mod","H"],tooltip:n("editor.highlight.tooltip")}})}}}),tt=h.BulletList.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.toggleBulletList(),isActive:()=>t.isActive("bulletList")||!1,disabled:!1,shortcutKeys:["shift","mod","8"],icon:"List",tooltip:n("editor.bulletlist.tooltip")}})}}}),nt=h.Node.create({name:"clear",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.chain().focus().clearNodes().unsetAllMarks().run(),disabled:!t.can().chain().focus().clearNodes().unsetAllMarks().run(),icon:"Eraser",tooltip:n("editor.clear.tooltip")}})}}}),ot=h.OrderedList.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.toggleOrderedList(),isActive:()=>t.isActive("orderedList")||!1,disabled:!1,icon:"ListOrdered",shortcutKeys:["mod","shift","7"],tooltip:n("editor.orderedlist.tooltip")}})}}}),it=h.TaskList.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{class:"task-list"},taskItem:{HTMLAttributes:{class:"task-list-item"}},button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.toggleTaskList(),isActive:()=>t.isActive("taskList")||!1,disabled:!1,icon:"ListTodo",shortcutKeys:["shift","mod","9"],tooltip:n("editor.tasklist.tooltip")}})}},addExtensions(){return[h.TaskItem.configure(this.options.taskItem)]}}),at=h.Blockquote.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{class:"blockquote"},button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.toggleBlockquote(),isActive:()=>t.isActive("blockquote")||!1,disabled:!t.can().toggleBlockquote(),icon:"TextQuote",shortcutKeys:["shift","mod","B"],tooltip:n("editor.blockquote.tooltip")}})}}});function st(e){const[t,n]=g.useState(!1);function o(i,s,l){e.action&&(e.action({link:i,text:s,openInNewTab:l}),n(!1))}return a.jsxs(r.Popover,{modal:!0,open:t,onOpenChange:n,children:[a.jsx(r.PopoverTrigger,{disabled:e==null?void 0:e.disabled,asChild:!0,children:a.jsx(r.ActionButton,{tooltip:e==null?void 0:e.tooltip,isActive:e==null?void 0:e.isActive,disabled:e==null?void 0:e.disabled,children:a.jsx(r.IconComponent,{name:e==null?void 0:e.icon})})}),a.jsx(r.PopoverContent,{hideWhenDetached:!0,className:"w-full",align:"start",side:"bottom",children:a.jsx(r.LinkEditBlock,{editor:e.editor,onSetLink:o})})]})}const rt=h.Link.extend({inclusive:!1,parseHTML(){return[{tag:'a[href]:not([data-type="button"]):not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:e}){return["a",h.mergeAttributes(this.options.HTMLAttributes,e,{class:"link"}),0]},addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),openOnClick:!0,button:({editor:t,t:n})=>({component:st,componentProps:{editor:t,action:o=>{const{link:i,text:s,openInNewTab:l}=o;t.chain().extendMarkRange("link").insertContent({type:"text",text:s,marks:[{type:"link",attrs:{href:i,target:l?"_blank":""}}]}).setLink({href:i}).focus().run()},id:"linkk",isActive:()=>t.isActive("link")||!1,disabled:!t.can().setLink({href:""}),icon:"Link",tooltip:n("editor.link.tooltip")}})}},addProseMirrorPlugins(){return[new p.Plugin({props:{handleClick:(e,t)=>{const{schema:n,doc:o,tr:i}=e.state,s=h.getMarkRange(o.resolve(t),n.marks.link);if(!s)return!1;const l=o.resolve(s.from),c=o.resolve(s.to),m=i.setSelection(new p.TextSelection(l,c));e.dispatch(m)}}})]}}),lt=h.HorizontalRule.extend({renderHTML(){return["div",h.mergeAttributes(this.options.HTMLAttributes,{"data-type":this.name}),["hr"]]},addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.commands.setHorizontalRule(),disabled:!t.can().setHorizontalRule(),icon:"Minus",shortcutKeys:["mod","alt","S"],tooltip:n("editor.horizontalrule.tooltip")}})}},addKeyboardShortcuts(){return{"Mod-Alt-s":()=>this.editor.commands.setHorizontalRule()}}});function ct(e){var u;const{icon:t=void 0,tooltip:n=void 0,customClass:o="",tooltipOptions:i={},action:s=void 0,isActive:l=void 0,children:c}=e,m=r.icons[t];return a.jsxs(r.Tooltip,{children:[a.jsx(r.TooltipTrigger,{asChild:!0,children:a.jsxs(r.Toggle,{size:"sm",className:`w-[32px] h-[32px] ${o}`,disabled:l==null?void 0:l(),onClick:s,children:[m&&a.jsx(m,{className:"w-4 h-4"}),c&&a.jsx(a.Fragment,{children:c})]})}),n&&a.jsx(r.TooltipContent,{...i,children:a.jsxs("div",{className:"flex flex-col items-center text-center max-w-24",children:[a.jsx("div",{children:n}),!!((u=e==null?void 0:e.shortcutKeys)!=null&&u.length)&&a.jsx("span",{children:r.getShortcutKeys(e==null?void 0:e.shortcutKeys)})]})})]})}const dt=["undo","redo"],ut=h.History.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),depth:100,newGroupDelay:500,button:({editor:t,t:n})=>dt.map(o=>({component:ct,componentProps:{action:()=>{o==="undo"&&t.chain().focus().undo().run(),o==="redo"&&t.chain().focus().redo().run()},shortcutKeys:o==="undo"?["mod","Z"]:["shift","mod","Z"],disabled:o==="undo"?!t.can().undo():!t.can().redo(),isActive:()=>o==="undo"?!t.can().undo():!t.can().redo(),icon:o==="undo"?"Undo2":"Redo2",tooltip:n(`editor.${o}.tooltip`)}}))}}}),mt=h.Document.extend({content:"(block|columns)+"}),ht=h.Extension.create({name:"columnActionButton",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>{t.chain().focus().insertColumns({cols:2}).run()},icon:"Columns",tooltip:n("editor.columns.tooltip")}})}}}),gt=h.Extension.create({name:"selection",addProseMirrorPlugins(){const{editor:e}=this;return[new p.Plugin({key:new p.PluginKey("selection"),props:{decorations(t){return t.selection.empty||e.isFocused===!0?null:p.DecorationSet.create(t.doc,[p.Decoration.inline(t.selection.from,t.selection.to,{class:"selection"})])}}})]}});function ft(e){const{t}=w.useLocale(),n=g.useMemo(()=>[{name:"paragraph",label:t("editor.paragraph.tooltip"),iconName:"Heading1",isActive:()=>e.editor.isActive("paragraph")&&!e.editor.isActive("orderedList")&&!e.editor.isActive("bulletList")&&!e.editor.isActive("taskList"),action:()=>e.editor.chain().focus().clearNodes().run()},{name:"heading1",label:t("editor.heading.h1.tooltip"),isActive:()=>e.editor.isActive("heading",{level:1}),iconName:"Heading1",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:1}).run()},{name:"heading2",label:t("editor.heading.h2.tooltip"),isActive:()=>e.editor.isActive("heading",{level:2}),iconName:"Heading2",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:2}).run()},{name:"heading3",label:t("editor.heading.h3.tooltip"),isActive:()=>e.editor.isActive("heading",{level:3}),iconName:"Heading3",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:3}).run()},{name:"bulletList",label:t("editor.bulletlist.tooltip"),isActive:()=>e.editor.isActive("bulletList"),iconName:"List",action:()=>e.editor.chain().focus().clearNodes().toggleBulletList().run()},{name:"numberedList",label:t("editor.orderedlist.tooltip"),isActive:()=>e.editor.isActive("orderedList"),iconName:"ListOrdered",action:()=>e.editor.chain().focus().clearNodes().toggleOrderedList().run()},{name:"taskList",label:t("editor.tasklist.tooltip"),isActive:()=>e.editor.isActive("taskList"),iconName:"ListTodo",action:()=>e.editor.chain().focus().clearNodes().toggleTaskList().run()},{name:"blockquote",label:t("editor.blockquote.tooltip"),isActive:()=>e.editor.isActive("blockquote"),iconName:"TextQuote",action:()=>e.editor.chain().focus().clearNodes().toggleBlockquote().run()},{name:"codeBlock",label:t("editor.codeblock.tooltip"),isActive:()=>e.editor.isActive("codeBlock"),iconName:"Code2",action:()=>e.editor.chain().focus().clearNodes().toggleCodeBlock().run()}],[e.editor,t]),o=g.useMemo(()=>n.findLast(i=>i.isActive())??{label:"Empty"},[n]);return a.jsxs(r.DropdownMenu,{children:[a.jsx(r.DropdownMenuTrigger,{asChild:!0,children:a.jsxs(r.Button,{className:"flex h-[32px] gap-1 px-1.5",variant:"ghost",children:[a.jsxs("span",{className:"whitespace-nowrap text-sm font-normal",children:[" ",o==null?void 0:o.label]}),a.jsx(N.ChevronDown,{className:"size-4"})]})}),a.jsx(r.DropdownMenuContent,{align:"start",className:"w-full p-1",hideWhenDetached:!0,sideOffset:5,children:n.map((i,s)=>{var c;const l=r.icons[i.iconName];return a.jsx(r.DropdownMenuCheckboxItem,{checked:((c=i.isActive)==null?void 0:c.call(i))||!1,className:"cursor-pointer",onClick:()=>i.action(),children:a.jsxs("div",{className:"flex items-center gap-2 px-2",children:[a.jsx(l,{className:"h3 w-3"}),a.jsxs("span",{children:[" ",i.label]})]})},`text-bubble-${s}`)})})]})}const _t=h.Extension.create({name:"text-bubble",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),toolbar:!1,button:()=>({component:ft,componentProps:{}})}}});function ee({types:e,node:t}){return Array.isArray(e)&&e.includes(t.type)||t.type===e}const bt=h.Extension.create({name:"trailingNode",addOptions(){return{node:"paragraph",notAfter:["paragraph"]}},addProseMirrorPlugins(){const e=new p.PluginKey(this.name),t=Object.entries(this.editor.schema.nodes).map(([,n])=>n).filter(n=>this.options.notAfter.includes(n.name));return[new p.Plugin({key:e,appendTransaction:(n,o,i)=>{const{doc:s,tr:l,schema:c}=i,m=e.getState(i),u=s.content.size,d=c.nodes[this.options.node];if(m)return l.insert(u,d.create())},state:{init:(n,o)=>{const i=o.tr.doc.lastChild;return!ee({node:i,types:t})},apply:(n,o)=>{if(!n.docChanged)return o;const i=n.doc.lastChild;return!ee({node:i,types:t})}}})]}}),pt=h.Extension.create({name:"base-kit",addExtensions(){const e=[];return this.options.document!==!1&&e.push(mt.configure()),this.options.placeholder!==!1&&e.push(h.Placeholder.configure({placeholder:({node:t,pos:n,editor:o})=>{var i,s,l,c,m;return((i=t==null?void 0:t.type)==null?void 0:i.name)==="columns"||((s=t==null?void 0:t.content)==null?void 0:s.size)!==0?"":((l=t==null?void 0:t.type)==null?void 0:l.name)==="heading"?`${w.localeActions.t(`editor.heading.h${t.attrs.level}.tooltip`)}`:((c=t==null?void 0:t.type)==null?void 0:c.name)==="codeBlock"||((m=t==null?void 0:t.type)==null?void 0:m.name)==="table"?"":o.extensionManager.extensions.some(u=>u.name==="slashCommand")?w.localeActions.t("editor.slash"):w.localeActions.t("editor.content")},...this.options.placeholder})),this.options.focus!==!1&&e.push(h.FocusClasses.configure({className:"focus",...this.options.focus})),this.options.text!==!1&&e.push(h.Text.configure()),this.options.textBubble!==!1&&e.push(_t.configure()),this.options.gapcursor!==!1&&e.push(h.Gapcursor.configure()),this.options.dropcursor!==!1&&e.push(h.Dropcursor.configure({...this.options.dropcursor,width:2,class:"ProseMirror-dropcursor border-black"})),this.options.characterCount!==!1&&e.push(h.CharacterCount.configure(this.options.characterCount)),this.options.paragraph!==!1&&e.push(h.Paragraph.configure(this.options.paragraph)),this.options.hardBreak!==!1&&e.push(h.HardBreak.configure(this.options.hardBreak)),this.options.listItem!==!1&&e.push(h.ListItem.configure(this.options.listItem)),this.options.textStyle!==!1&&e.push(h.TextStyle.configure(this.options.textStyle)),this.options.trailingNode!==!1&&e.push(bt.configure(this.options.trailingNode)),this.options.selection!==!1&&e.push(gt),this.options.multiColumn!==!1&&e.push(r.Column,r.MultiColumn),e}}),wt=h.Extension.create({name:"subAndSuperScript",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,extension:n,t:o})=>{const i=n.options.subscript,s=n.options.superscript,l={component:r.ActionButton,componentProps:{action:()=>t.commands.toggleSubscript(),isActive:()=>t.isActive("subscript")||!1,disabled:!t.can().toggleSubscript(),icon:"Subscript",tooltip:o("editor.subscript.tooltip")}},c={component:r.ActionButton,componentProps:{action:()=>t.commands.toggleSuperscript(),isActive:()=>t.isActive("superscript")||!1,disabled:!t.can().toggleSuperscript(),icon:"Superscript",tooltip:o("editor.superscript.tooltip")}},m=[];return i!==!1&&m.push(l),s!==!1&&m.push(c),m}}},addExtensions(){const e=[];return this.options.subscript!==!1&&e.push(h.Subscript.configure(this.options.subscript)),this.options.superscript!==!1&&e.push(h.Superscript.configure(this.options.superscript)),e}});function xt(e){var n;const t=g.useMemo(()=>{var s;const o=(s=e==null?void 0:e.items)==null?void 0:s.find(l=>l.isActive());return o&&!o.default?{...o,icon:o!=null&&o.icon?o==null?void 0:o.icon:e==null?void 0:e.icon}:{title:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return a.jsxs(r.DropdownMenu,{children:[a.jsx(r.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:a.jsx(r.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,tooltip:e==null?void 0:e.tooltip,children:a.jsx(r.MenuDown,{className:"size-3 text-gray-500"})})}),a.jsx(r.DropdownMenuContent,{className:"w-full",children:(n=e==null?void 0:e.items)==null?void 0:n.map((o,i)=>a.jsxs(r.DropdownMenuCheckboxItem,{checked:t.title===o.title,className:"flex items-center gap-3",onClick:o.action,children:[a.jsx(r.IconComponent,{name:o==null?void 0:o.icon}),a.jsx("span",{className:"ml-1",children:o.title}),!!(o!=null&&o.shortcutKeys)&&a.jsx("span",{className:"ml-auto text-xs tracking-widest opacity-60",children:r.getShortcutKeys(o.shortcutKeys)})]},`more-mark-${i}`))})]})}const yt=h.Extension.create({name:"moreMark",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,extension:n,t:o}){const i=n.options.subscript,s=n.options.superscript,l={action:()=>t.commands.toggleSubscript(),isActive:()=>t.isActive("subscript")||!1,disabled:!t.can().toggleSubscript(),icon:"Subscript",title:o("editor.subscript.tooltip"),shortcutKeys:["mod","."]},c={action:()=>t.commands.toggleSuperscript(),isActive:()=>t.isActive("superscript")||!1,disabled:!t.can().toggleSuperscript(),icon:"Superscript",title:o("editor.superscript.tooltip"),shortcutKeys:["mod",","]},m=[];return i!==!1&&m.push(l),s!==!1&&m.push(c),{component:xt,componentProps:{icon:"Type",tooltip:o("editor.moremark"),disabled:!t.isEditable,items:m}}}}},addExtensions(){const e=[];return this.options.subscript!==!1&&e.push(h.Subscript.configure(this.options.subscript)),this.options.superscript!==!1&&e.push(h.Superscript.configure(this.options.superscript)),e}}),kt=h.Extension.create({name:"indent",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["paragraph","heading","blockquote"],minIndent:r.IndentProps.min,maxIndent:r.IndentProps.max,button({editor:t,t:n}){return[{component:r.ActionButton,componentProps:{action:()=>{t.commands.indent()},shortcutKeys:["Tab"],icon:"IndentIncrease",tooltip:n("editor.indent.tooltip")}},{component:r.ActionButton,componentProps:{action:()=>{t.commands.outdent()},shortcutKeys:["Shift","Tab"],icon:"IndentDecrease",tooltip:n("editor.outdent.tooltip")}}]}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:e=>{const t=e.dataset.indent;return(t?Number.parseInt(t,10):0)||0},renderHTML:e=>e.indent?{"data-indent":e.indent}:{}}}}]},addCommands(){return{indent:()=>r.createIndentCommand({delta:r.IndentProps.more,types:this.options.types}),outdent:()=>r.createIndentCommand({delta:r.IndentProps.less,types:this.options.types})}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.indent(),"Shift-Tab":()=>this.editor.commands.outdent()}}});function vt(e){return Number.parseFloat(e.replace("%",""))/100}function jt(e){const{t}=w.useLocale(),[n,o]=g.useState("default");function i(l){l==="default"?e.editor.commands.unsetLineHeight():e.editor.commands.setLineHeight(l),o(l)}const s=g.useMemo(()=>{const m=e.editor.extensionManager.extensions.find(u=>u.name==="lineHeight").options.lineHeights.map(u=>({label:vt(u),value:u}));return m.unshift({label:t("editor.default"),value:"default"}),m},[e]);return a.jsxs(r.DropdownMenu,{children:[a.jsx(r.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:a.jsx(r.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:"LineHeight",tooltip:e==null?void 0:e.tooltip,children:a.jsx(r.IconComponent,{className:"ml-1 size-3 text-zinc-500",name:"MenuDown"})})}),a.jsx(r.DropdownMenuContent,{className:"min-w-24",children:s==null?void 0:s.map((l,c)=>a.jsx(r.DropdownMenuCheckboxItem,{checked:l.value===n,onClick:()=>i(l.value),children:l.label},`lineHeight-${c}`))})]})}const Ct=["paragraph","heading","list_item","todo_item"];function At(e,t){const{selection:n,doc:o}=e;if(!n||!o||!(n instanceof p.TextSelection||n instanceof p.AllSelection))return e;const{from:i,to:s}=n,l=[],c=t&&t!==w.DEFAULT_LINE_HEIGHT?t:null;if(o.nodesBetween(i,s,(m,u)=>{const d=m.type;return Ct.includes(d.name)?((m.attrs.lineHeight||null)!==c&&l.push({node:m,pos:u,nodeType:d}),d.name!=="list_item"&&d.name!=="todo_item"):!0}),l.length===0)return e;for(const m of l){const{node:u,pos:d,nodeType:f}=m;let{attrs:_}=u;_={..._,lineHeight:c},e=e.setNodeMarkup(d,f,_,u.marks)}return e}function Nt(e){return({state:t,dispatch:n})=>{const{selection:o}=t;let{tr:i}=t;return i=i.setSelection(o),i=At(i,e),i.docChanged?(n&&n(i),!0):!1}}const St=h.Extension.create({name:"lineHeight",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["paragraph","heading","list_item","todo_item"],lineHeights:w.DEFAULT_LINE_HEIGHT_LIST,defaultHeight:w.DEFAULT_LINE_HEIGHT,button({editor:t,t:n}){return{component:jt,componentProps:{editor:t,tooltip:n("editor.lineheight.tooltip")}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:e=>e.style.lineHeight||this.options.defaultHeight,renderHTML:e=>e.lineHeight===this.options.defaultHeight||!e.lineHeight?{}:{style:`line-height: ${e.lineHeight}`}}}}]},addCommands(){return{setLineHeight:e=>Nt(e),unsetLineHeight:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"lineHeight"))}}});function Tt(e,t){var S,E;const[n,o]=g.useState(0),[i,s]=g.useState(0),l=g.useRef(null),{t:c}=w.useLocale(),m=g.useRef([]);g.useImperativeHandle(t,()=>({onKeyDown:u})),g.useEffect(()=>{if(!l.current)return;const x=i*1e3+n,y=m.current[x];y&&y.scrollIntoView({behavior:"smooth",block:"nearest"})},[n,i]);function u({event:x}){return x.key==="ArrowUp"?(d(),!0):x.key==="ArrowDown"?(f(),!0):x.key==="Enter"?(_(),!0):!1}function d(){var C;if(e.items.length===0)return!1;let x=n-1,y=i;x<0&&(y=i-1,x=((C=e.items[y])==null?void 0:C.commands.length)-1||0),y<0&&(y=e.items.length-1,x=e.items[y].commands.length-1),o(x),s(y)}function f(){if(e.items.length===0)return!1;const x=e.items[i].commands;let y=n+1,C=i;x.length-1<y&&(y=0,C=i+1),e.items.length-1<C&&(C=0),o(y),s(C)}function _(){if(e.items.length===0||i===-1||n===-1)return!1;b(i,n)}function b(x,y){const C=e.items[x].commands[y];e.command(C)}function k(x,y){b(x,y)}function v(x,y,C){m.current[x*1e3+y]=C}return a.jsx("div",{className:"mb-8 max-h-[min(80vh,24rem)] flex-wrap overflow-auto rounded-lg !border !border-neutral-200 !bg-white p-1 !text-black shadow-sm dark:!border-neutral-800 dark:!bg-black",ref:l,children:(S=e==null?void 0:e.items)!=null&&S.length?a.jsx("div",{className:"grid min-w-48 grid-cols-1 gap-0.5",children:(E=e==null?void 0:e.items)==null?void 0:E.map((x,y)=>a.jsxs(g.Fragment,{children:[a.jsx("div",{className:"col-[1/-1] mx-2 mt-2 select-none text-[0.65rem] font-semibold uppercase tracking-wider !text-neutral-500 first:mt-0.5",children:x.title}),x.commands.map((C,L)=>a.jsxs("button",{onClick:()=>k(y,L),ref:T=>v(y,L,T),className:r.cn("flex items-center gap-3 px-2 py-1.5 text-sm !text-neutral-800 dark:!text-neutral-200 text-left w-full rounded-sm outline-none transition-colors !bg-transparent hover:!bg-accent ",{"slash-command-active":i===y&&n===L}),children:[C.iconUrl&&a.jsx("img",{alt:"",className:"size-6",src:C.iconUrl}),C.iconName&&a.jsx(r.IconComponent,{className:"!mr-1 !text-lg",name:C.iconName}),C.label]},`command-${L}`))]},`slash-${x.title}`))}):a.jsx("div",{className:"p-3",children:a.jsx("span",{className:"text-xs text-gray-800 dark:text-gray-100",children:c("editor.slash.empty")})})})}const Et=g.forwardRef(Tt),Lt={setOpen:(e,t)=>{r.dispatchEvent(r.EVENTS.UPLOAD_VIDEO(e),t)}};function Mt(e,t){const n=[{name:"format",title:w.localeActions.t("editor.slash.format"),commands:[]},{name:"insert",title:w.localeActions.t("editor.slash.insert"),commands:[]}];return e.forEach(o=>{o.name.toLowerCase()==="heading"&&o.options.levels.forEach(i=>{n[0].commands.push({name:`heading${i}`,label:w.localeActions.t(`editor.heading.h${i}.tooltip`),aliases:[`h${i}`,"bt",`bt${i}`],iconName:`Heading${i}`,action:({editor:s,range:l})=>{s.chain().focus().deleteRange(l).setHeading({level:i}).run()}})}),o.name.toLowerCase()==="bulletlist"&&n[0].commands.push({name:"bulletList",label:w.localeActions.t("editor.bulletlist.tooltip"),aliases:["ul","yxlb"],iconName:"List",action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).toggleBulletList().run()}}),o.name.toLowerCase()==="orderedlist"&&n[0].commands.push({name:"numberedList",label:w.localeActions.t("editor.orderedlist.tooltip"),aliases:["ol","yxlb"],iconName:"ListOrdered",action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).toggleOrderedList().run()}}),o.name.toLowerCase()==="tasklist"&&n[0].commands.push({name:"taskList",label:w.localeActions.t("editor.tasklist.tooltip"),iconName:"ListTodo",description:"Task list with todo items",aliases:["todo"],action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).toggleTaskList().run()}}),o.name.toLowerCase()==="blockquote"&&n[0].commands.push({name:"blockquote",label:w.localeActions.t("editor.blockquote.tooltip"),description:"插入引入格式",aliases:["yr"],iconName:"TextQuote",action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).setBlockquote().run()}}),o.name.toLowerCase()==="codeblock"&&n[0].commands.push({name:"codeBlock",label:w.localeActions.t("editor.codeblock.tooltip"),iconName:"Code2",description:"Code block with syntax highlighting",shouldBeHidden:i=>i.isActive("columns"),action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).setCodeBlock().run()}}),o.name.toLowerCase()===r.Image.name&&n[1].commands.push({name:"image",label:w.localeActions.t("editor.image.tooltip"),iconName:"ImageUp",description:"Insert a image",aliases:["image","tp","tupian"],shouldBeHidden:i=>i.isActive("columns"),action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).run(),r.actionDialogImage.setOpen(i.id,!0)}}),o.name.toLowerCase()===r.Video.name&&n[1].commands.push({name:"video",label:w.localeActions.t("editor.video.tooltip"),iconName:"Video",description:"Insert a video",aliases:["video","sp","shipin"],shouldBeHidden:i=>i.isActive("columns"),action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).run(),Lt.setOpen(i.id,!0)}}),o.name.toLowerCase()==="table"&&n[1].commands.push({name:"table",label:w.localeActions.t("editor.table.tooltip"),iconName:"Table",description:"Insert a table",aliases:["table","bg","biaoge","biao"],shouldBeHidden:i=>i.isActive("columns"),action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).insertTable({rows:3,cols:3,withHeaderRow:!1}).run()}}),o.name.toLowerCase()==="horizontalrule"&&n[1].commands.push({name:"horizontalRule",label:w.localeActions.t("editor.horizontalrule.tooltip"),iconName:"Minus",description:"Insert a horizontal divider",aliases:["hr","fgx","fg"],action:({editor:i,range:s})=>{i.chain().focus().deleteRange(s).setHorizontalRule().run()}}),o.name.toLowerCase()==="columns"&&n[1].commands.push({name:"columns",label:w.localeActions.t("editor.columns.tooltip"),iconName:"Columns2",description:"Add two column content",action:({editor:i})=>{i.chain().focus().insertColumns({cols:2}).run()}}),t==null||t(o,n)}),n}const I="slashCommand";let j;const Pt=h.Extension.create({name:I,priority:200,onCreate(){j=J("body",{interactive:!0,trigger:"manual",placement:"bottom-start",theme:"slash-command",maxWidth:"16rem",offset:[16,8],popperOptions:{strategy:"fixed",modifiers:[{name:"flip",enabled:!1}]}})},addProseMirrorPlugins(){return[h.Suggestion({editor:this.editor,char:"/",allowSpaces:!0,startOfLine:!0,pluginKey:new p.PluginKey(I),allow:({state:e,range:t})=>{var u,d,f;const n=e.doc.resolve(t.from),o=n.depth===1,i=n.parent.type.name==="paragraph",s=((u=n.parent.textContent)==null?void 0:u.charAt(0))==="/",l=this.editor.isActive("column"),c=(f=n.parent.textContent)==null?void 0:f.slice(Math.max(0,(d=n.parent.textContent)==null?void 0:d.indexOf("/"))),m=!(c!=null&&c.endsWith(" "));return(o&&i&&s||l&&i&&s)&&m},command:({editor:e,range:t,props:n})=>{const{view:o}=e;n.action({editor:e,range:t}),o.focus()},items:({query:e,editor:t})=>Mt(t.extensionManager.extensions,this.options.renderGroupItem).map(l=>({...l,commands:l.commands.filter(c=>{const m=c.label.toLowerCase().trim(),u=e.toLowerCase().trim();if(c.aliases){const d=c.aliases.map(b=>b.toLowerCase().trim()),f=m.match(u),_=d.some(b=>b.match(u));return f||_}return m.match(u)}).filter(c=>c.shouldBeHidden?!c.shouldBeHidden(this.editor):!0)})).filter(l=>l.commands.length>0).map(l=>({...l,commands:l.commands.map(c=>({...c,isEnabled:!0}))})),render:()=>{let e,t=null;return{onStart:n=>{var s;e=new h.ReactRenderer(Et,{props:n,editor:n.editor});const{view:o}=n.editor,i=()=>{if(!n.clientRect)return n.editor.storage[I].rect;const l=n.clientRect();if(!l)return n.editor.storage[I].rect;let c=l.y;if(l.top+e.element.offsetHeight+40>window.innerHeight){const m=l.top+e.element.offsetHeight-window.innerHeight+40;c=l.y-m}return new DOMRect(l.x,c,l.width,l.height)};t=()=>{j==null||j[0].setProps({getReferenceClientRect:i})},(s=o.dom.parentElement)==null||s.addEventListener("scroll",t),j==null||j[0].setProps({getReferenceClientRect:i,appendTo:()=>document.body,content:e.element}),j==null||j[0].show()},onUpdate(n){var l;e.updateProps(n);const{view:o}=n.editor,i=()=>{if(!n.clientRect)return n.editor.storage[I].rect;const c=n.clientRect();return c?new DOMRect(c.x,c.y,c.width,c.height):n.editor.storage[I].rect},s=()=>{j==null||j[0].setProps({getReferenceClientRect:i})};(l=o.dom.parentElement)==null||l.addEventListener("scroll",s),n.editor.storage[I].rect=n.clientRect?i():{width:0,height:0,left:0,top:0,right:0,bottom:0},j==null||j[0].setProps({getReferenceClientRect:i})},onKeyDown(n){var o;return n.event.key==="Escape"?(j==null||j[0].hide(),!0):(j!=null&&j[0].state.isShown||j==null||j[0].show(),(o=e.ref)==null?void 0:o.onKeyDown(n))},onExit(n){var o;if(j==null||j[0].hide(),t){const{view:i}=n.editor;(o=i.dom.parentElement)==null||o.removeEventListener("scroll",t)}e.destroy()}}}})]},addStorage(){return{rect:{width:0,height:0,left:0,top:0,right:0,bottom:0}}}}),Ht=h.Extension.create({name:"painter",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>{t.commands.setPainter(t==null?void 0:t.state.selection.$head.marks())},icon:"PaintRoller",tooltip:n("editor.format")}})}},addCommands(){return{setPainter:e=>({view:{dispatch:t,state:{tr:n},dom:o}})=>{const l=`url("data:image/svg+xml;utf8,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#000" d="M9 22v-6H4V7q0-1.65 1.175-2.825T8 3h12v13h-5v6zM6 10h12V5h-1v4h-2V5h-1v2h-2V5H8q-.825 0-1.412.588T6 7zm0 4h12v-2H6zm0 0v-2z"/></svg>')}"), auto`;return o.style.cursor=l,t(n.setMeta("painterAction",{type:"start",marks:e})),!0}}},addProseMirrorPlugins(){return[new p.Plugin({key:new p.PluginKey("format-painter"),state:{init:()=>[],apply:(e,t)=>{const n=e.getMeta("painterAction");return n&&n.type==="start"?t=n.marks:n&&n.type==="end"&&(t=[]),t}},props:{handleDOMEvents:{mousedown(e){const t=this.getState(e.state);if(!t||t.length===0)return e.dom.style.cursor="",!1;const n=()=>{document.removeEventListener("mouseup",n);let{dispatch:o,state:{tr:i,selection:s},dom:l}=e;l.style.cursor="",i=i.removeMark(s.from,s.to);for(const c of t)c.type.name!=="link"&&(i=i.addMark(s.from,s.to,c));o(i.setMeta("painterAction",{type:"end"}))};return document.addEventListener("mouseup",n),!0}}}})]}});function Rt({editor:e,...t}){const{t:n}=w.useLocale(),[o,i]=g.useState(-1),[s,l]=g.useState([]),[c,m]=g.useState(""),[u,d]=g.useState(""),[f,_]=g.useState(!1),[b,k]=g.useState(!1);return g.useEffect(()=>{f||(m(""),d(""),i(-1),l([]),e.commands.setSearchTerm(""),e.commands.setReplaceTerm(""))},[e,f]),g.useEffect(()=>{f&&e&&e.commands&&e.commands.setSearchTerm&&e.commands.setSearchTerm(c)},[f,c,e]),g.useEffect(()=>{f&&e&&e.commands&&e.commands.setReplaceTerm&&e.commands.setReplaceTerm(u)},[f,u,e]),g.useEffect(()=>{if(!e)return;const v=e.extensionManager.extensions.find(E=>E.name===me.name);if(!v)return;const S=()=>{if(!f)return;const E=v?v.storage.currentIndex:-1,x=v?v.storage.results:[];i(y=>y!==E?E:y),l(y=>p.deepEqual(y,x)?y:x)};return r.listenEvent(r.EVENTS.SEARCH_REPLCE,S),()=>{v&&r.listenEvent(r.EVENTS.SEARCH_REPLCE,S)}},[f,e]),a.jsxs(r.Popover,{onOpenChange:_,open:f,children:[a.jsx(r.PopoverTrigger,{asChild:!0,disabled:t==null?void 0:t.disabled,children:a.jsx(r.ActionButton,{disabled:t==null?void 0:t.disabled,isActive:t==null?void 0:t.isActive,tooltip:t==null?void 0:t.tooltip,children:a.jsx(r.IconComponent,{name:t==null?void 0:t.icon})})}),a.jsxs(r.PopoverContent,{align:"start",className:"w-full",hideWhenDetached:!0,side:"bottom",children:[a.jsxs("div",{className:"mb-[6px] flex items-center justify-between",children:[a.jsx(r.Label,{children:n("editor.search.dialog.text")}),a.jsx("span",{className:"font-semibold",children:s.length>0?`${o+1}/${s.length}`:"0/0"})]}),a.jsxs("div",{className:"mb-[10px] flex w-full max-w-sm items-center gap-1.5",children:[a.jsx(r.Input,{autoFocus:!0,className:"w-full",onChange:v=>m(v.target.value),placeholder:"Text",required:!0,type:"text",value:c}),a.jsx(r.Button,{className:"flex-1",disabled:s.length===0,onClick:e.commands.goToPrevSearchResult,children:a.jsx(r.IconComponent,{name:"ChevronUp"})}),a.jsx(r.Button,{className:"flex-1",disabled:s.length===0,onClick:e.commands.goToNextSearchResult,children:a.jsx(r.IconComponent,{name:"ChevronDown"})})]}),a.jsx(r.Label,{className:"mb-[6px]",children:n("editor.replace.dialog.text")}),a.jsx("div",{className:"mb-[5px] flex w-full max-w-sm items-center gap-1.5",children:a.jsx("div",{className:"relative w-full max-w-sm items-center",children:a.jsx(r.Input,{className:"w-80",onChange:v=>d(v.target.value),placeholder:"Text",required:!0,type:"text",value:u})})}),a.jsxs("div",{className:"mb-[10px] flex items-center space-x-2",children:[a.jsx(r.Switch,{checked:b,onCheckedChange:v=>{k(v),e.commands.setCaseSensitive(v)}}),a.jsx(r.Label,{children:n("editor.replace.caseSensitive")})]}),a.jsxs("div",{className:"flex items-center gap-[10px]",children:[a.jsx(r.Button,{className:"flex-1",disabled:s.length===0,onClick:e.commands.replace,children:n("editor.replace.dialog.text")}),a.jsx(r.Button,{className:"flex-1",disabled:s.length===0,onClick:e.commands.replaceAll,children:n("editor.replaceAll.dialog.text")})]})]})]})}const F=(e,t)=>t(e.tr);function It(e,t,n){return RegExp(t?e.replace(/[$()*+./?[\\\]^{|}-]/g,String.raw`\$&`):e,n?"gu":"gui")}function zt(e,t,n){const o=[];let i=[];const s=[];let l=0;if(!t)return{decorationsToReturn:[],results:[]};e==null||e.descendants((c,m)=>{c.isText?i[l]?i[l]={text:i[l].text+c.text,pos:i[l].pos}:i[l]={text:`${c.text}`,pos:m}:l+=1}),i=i.filter(Boolean);for(const{text:c,pos:m}of i){const u=[...c.matchAll(t)];for(const d of u){if(d[0]==="")break;d.index!==void 0&&s.push({from:m+d.index,to:m+d.index+d[0].length})}}for(const c of s)o.push(p.Decoration.inline(c.from,c.to,{class:n}));return{decorationsToReturn:o,results:s}}function te(e,t,{state:n,dispatch:o}){if(!t[0])return;const{from:s,to:l}=t[0];o&&o(n.tr.insertText(e,s,l))}function Dt(e,t,n,o){const i=t+1;if(!o[i])return null;const{from:s,to:l}=o[t],c=l-s-e.length+n,{from:m,to:u}=o[i];return o[i]={to:u-c,from:m-c},[c,o]}function Bt(e,t,{tr:n,dispatch:o}){let i=0,s=t.slice();if(s.length===0)return!1;for(let l=0;l<s.length;l+=1){const{from:c,to:m}=s[l];n.insertText(e,c,m);const u=Dt(e,l,i,s);u&&(i=u[0],s=u[1])}return o(n),!0}function ne({view:e,tr:t,searchResults:n,searchResultCurrentClass:o,gotoIndex:i}){const s=n[i];if(s){const l=t.setMeta("directDecoration",{fromPos:s.from,toPos:s.to,attrs:{class:o}});return e==null||e.dispatch(l),setTimeout(()=>{const c=window.document.querySelector(`.${o}`);c&&Y(c,{behavior:"smooth",scrollMode:"if-needed"})},0),!0}return!1}const me=h.Extension.create({name:"search",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),searchTerm:"",replaceTerm:"",results:[],currentIndex:0,searchResultClass:"search-result",searchResultCurrentClass:"search-result-current",caseSensitive:!1,disableRegex:!1,onChange:()=>{},button:({editor:t,t:n})=>({component:Rt,componentProps:{action:()=>{},icon:"SearchAndReplace",tooltip:n("editor.searchAndReplace.tooltip"),isActive:()=>!1,disabled:!1,editor:t}})}},addStorage(){return{results:[],currentIndex:-1}},addCommands(){return{setSearchTerm:e=>({state:t,dispatch:n})=>(this.options.searchTerm=e,this.storage.results=[],this.storage.currentIndex=0,r.dispatchEvent(r.EVENTS.SEARCH_REPLCE),F(t,n),!1),setReplaceTerm:e=>({state:t,dispatch:n})=>(this.options.replaceTerm=e,F(t,n),!1),setCaseSensitive:e=>({state:t,dispatch:n})=>(this.options.caseSensitive=e,F(t,n),!1),replace:()=>({state:e,dispatch:t})=>{const{replaceTerm:n}=this.options,{currentIndex:o,results:i}=this.storage,s=i[o];return s?(te(n,[s],{state:e,dispatch:t}),this.storage.results.splice(o,1)):(te(n,i,{state:e,dispatch:t}),this.storage.results.shift()),r.dispatchEvent(r.EVENTS.SEARCH_REPLCE),F(e,t),!1},replaceAll:()=>({state:e,tr:t,dispatch:n})=>{const{replaceTerm:o}=this.options,{results:i}=this.storage;return Bt(o,i,{tr:t,dispatch:n}),this.storage.currentIndex=-1,this.storage.results=[],r.dispatchEvent(r.EVENTS.SEARCH_REPLCE),F(e,n),!1},goToPrevSearchResult:()=>({view:e,tr:t})=>{const{searchResultCurrentClass:n}=this.options,{currentIndex:o,results:i}=this.storage,s=(o+i.length-1)%i.length;return this.storage.currentIndex=s,r.dispatchEvent(r.EVENTS.SEARCH_REPLCE),ne({view:e,tr:t,searchResults:i,searchResultCurrentClass:n,gotoIndex:s})},goToNextSearchResult:()=>({view:e,tr:t})=>{const{searchResultCurrentClass:n}=this.options,{currentIndex:o,results:i}=this.storage,s=(o+1)%i.length;return this.storage.currentIndex=s,this.options.onChange&&this.options.onChange(),r.dispatchEvent(r.EVENTS.SEARCH_REPLCE),ne({view:e,tr:t,searchResults:i,searchResultCurrentClass:n,gotoIndex:s})}}},addProseMirrorPlugins(){const e=this;return[new p.Plugin({key:new p.PluginKey("search"),state:{init(){return p.DecorationSet.empty},apply(t){const{doc:n,docChanged:o}=t,{searchTerm:i,searchResultClass:s,searchResultCurrentClass:l,disableRegex:c,caseSensitive:m}=e.options;if(o||i){const{decorationsToReturn:u,results:d}=zt(n,It(i,c,m),s);if(e.storage.results=d,e.storage.currentIndex>d.length-1&&(e.storage.currentIndex=0),r.dispatchEvent(r.EVENTS.SEARCH_REPLCE),t.getMeta("directDecoration")){const{fromPos:f,toPos:_,attrs:b}=t.getMeta("directDecoration");u.push(p.Decoration.inline(f,_,b))}else d.length>0&&(u[0]=p.Decoration.inline(d[0].from,d[0].to,{class:l}));return p.DecorationSet.create(n,u)}return p.DecorationSet.empty}},props:{decorations(t){return this.getState(t)}}})]}});function Ot({className:e,...t}){return a.jsx(z.EmojiPicker.Root,{className:r.cn("bg-popover text-popover-foreground isolate flex h-full w-fit flex-col overflow-hidden rounded-md",e),"data-slot":"emoji-picker",...t})}function Ft({className:e,...t}){return a.jsxs("div",{className:r.cn("flex h-9 items-center gap-2 border-b px-3",e),"data-slot":"emoji-picker-search-wrapper",children:[a.jsx(N.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),a.jsx(z.EmojiPicker.Search,{className:"outline-hidden placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm disabled:cursor-not-allowed disabled:opacity-50","data-slot":"emoji-picker-search",...t})]})}function qt({children:e,...t}){return a.jsx("div",{...t,className:"scroll-my-1 px-1","data-slot":"emoji-picker-row",children:e})}function Ut({emoji:e,className:t,...n}){return a.jsx("button",{...n,className:r.cn("data-[active]:bg-accent flex size-7 items-center justify-center rounded-sm text-base",t),"data-slot":"emoji-picker-emoji",children:e.emoji})}function Kt({category:e,...t}){return a.jsx("div",{...t,className:"bg-popover text-muted-foreground px-3 pb-2 pt-3.5 text-xs leading-none","data-slot":"emoji-picker-category-header",children:e.label})}function $t({className:e,...t}){return a.jsxs(z.EmojiPicker.Viewport,{className:r.cn("outline-hidden relative flex-1",e),"data-slot":"emoji-picker-viewport",...t,children:[a.jsx(z.EmojiPicker.Loading,{className:"absolute inset-0 flex items-center justify-center text-muted-foreground","data-slot":"emoji-picker-loading",children:a.jsx(N.LoaderIcon,{className:"size-4 animate-spin"})}),a.jsx(z.EmojiPicker.Empty,{className:"absolute inset-0 flex items-center justify-center text-muted-foreground text-sm","data-slot":"emoji-picker-empty",children:"No emoji found."}),a.jsx(z.EmojiPicker.List,{className:"select-none pb-1",components:{Row:qt,Emoji:Ut,CategoryHeader:Kt},"data-slot":"emoji-picker-list"})]})}function Vt({className:e,...t}){return a.jsx("div",{className:r.cn("max-w-(--frimousse-viewport-width) flex w-full min-w-0 items-center gap-1 border-t p-2",e),"data-slot":"emoji-picker-footer",...t,children:a.jsx(z.EmojiPicker.ActiveEmoji,{children:({emoji:n})=>n?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"flex size-7 flex-none items-center justify-center text-lg",children:n.emoji}),a.jsx("span",{className:"text-secondary-foreground truncate text-xs",children:n.label})]}):a.jsx("span",{className:"text-muted-foreground ml-1.5 flex h-7 items-center truncate text-xs",children:"Select an emoji…"})})})}function Wt({onSelectEmoji:e,children:t}){return a.jsxs(r.Popover,{modal:!0,children:[a.jsx(r.PopoverTrigger,{asChild:!0,children:t}),a.jsx(r.PopoverContent,{align:"start",className:"size-full p-2",hideWhenDetached:!0,side:"bottom",children:a.jsxs(Ot,{className:"!h-[342px]",onEmojiSelect:({emoji:n})=>{e(n)},children:[a.jsx(Ft,{}),a.jsx($t,{}),a.jsx(Vt,{})]})})]})}function Gt({editor:e,icon:t,...n}){const o=g.useCallback(i=>{const{selection:s}=e.state,{$anchor:l}=s;return e.chain().insertContentAt(l.pos,i).run()},[e]);return a.jsx(Wt,{onSelectEmoji:o,children:a.jsx(r.ActionButton,{icon:t,tooltip:n==null?void 0:n.tooltip})})}const he=g.forwardRef((e,t)=>{const n=g.useRef(null),[o,i]=g.useState(0),{t:s}=w.useLocale(),l=d=>{const f=e.items[d];f&&e.command(f)},c=()=>{i((o+e.items.length-1)%e.items.length)},m=()=>{i((o+1)%e.items.length)},u=()=>{l(o)};return g.useEffect(()=>i(0),[e.items]),g.useEffect(()=>{if(Number.isNaN(o+1))return;const d=n.current.querySelector(`span:nth-of-type(${o+1})`);d&&Y(d,{behavior:"smooth",scrollMode:"if-needed"})},[o]),g.useImperativeHandle(t,()=>({onKeyDown:({event:d})=>d.key==="ArrowUp"?(c(),!0):d.key==="ArrowDown"?(m(),!0):d.key==="Enter"?(u(),!0):!1})),a.jsx("div",{className:"max-h-[320px] w-[200px] overflow-y-auto overflow-x-hidden rounded-sm !border bg-popover p-1 text-popover-foreground shadow-md outline-none",children:a.jsx("div",{ref:n,children:e.items.length>0?e.items.map((d,f)=>a.jsxs("span",{className:p.clsx(" relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground",f===o?"bg-accent":""),onClick:()=>l(f),children:[d.fallbackImage?a.jsx("img",{className:"size-[1em]",src:d.fallbackImage}):d.emoji,":",d.name,":"]},`emoji-list-code-${f}`)):a.jsx("div",{className:"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors",children:a.jsx("span",{children:s("no_result_found")})})})})});he.displayName="EmojiList";const B={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",shushing_face:"🤫",thinking:"🤔",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",lying_face:"🤥",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",kiss:"💋",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart:"❤️",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",white_heart:"🤍",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",bomb:"💣",speech_balloon:"💬",eye_speech_bubble:"👁️‍🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",red_haired_man:"👨‍🦰",curly_haired_man:"👨‍🦱",white_haired_man:"👨‍🦳",bald_man:"👨‍🦲",woman:"👩",red_haired_woman:"👩‍🦰",person_red_hair:"🧑‍🦰",curly_haired_woman:"👩‍🦱",person_curly_hair:"🧑‍🦱",white_haired_woman:"👩‍🦳",person_white_hair:"🧑‍🦳",bald_woman:"👩‍🦲",person_bald:"🧑‍🦲",blond_haired_woman:"👱‍♀️",blonde_woman:"👱‍♀️",blond_haired_man:"👱‍♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍‍♂️",frowning_woman:"🙍‍♀️",pouting_face:"🙎",pouting_man:"🙎‍♂️",pouting_woman:"🙎‍♀️",no_good:"🙅",no_good_man:"🙅‍♂️",ng_man:"🙅‍♂️",no_good_woman:"🙅‍♀️",ng_woman:"🙅‍♀️",ok_person:"🙆",ok_man:"🙆‍♂️",ok_woman:"🙆‍♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁‍♂️",sassy_man:"💁‍♂️",tipping_hand_woman:"💁‍♀️",sassy_woman:"💁‍♀️",raising_hand:"🙋",raising_hand_man:"🙋‍♂️",raising_hand_woman:"🙋‍♀️",deaf_person:"🧏",deaf_man:"🧏‍♂️",deaf_woman:"🧏‍♀️",bow:"🙇",bowing_man:"🙇‍♂️",bowing_woman:"🙇‍♀️",facepalm:"🤦",man_facepalming:"🤦‍♂️",woman_facepalming:"🤦‍♀️",shrug:"🤷",man_shrugging:"🤷‍♂️",woman_shrugging:"🤷‍♀️",health_worker:"🧑‍⚕️",man_health_worker:"👨‍⚕️",woman_health_worker:"👩‍⚕️",student:"🧑‍🎓",man_student:"👨‍🎓",woman_student:"👩‍🎓",teacher:"🧑‍🏫",man_teacher:"👨‍🏫",woman_teacher:"👩‍🏫",judge:"🧑‍⚖️",man_judge:"👨‍⚖️",woman_judge:"👩‍⚖️",farmer:"🧑‍🌾",man_farmer:"👨‍🌾",woman_farmer:"👩‍🌾",cook:"🧑‍🍳",man_cook:"👨‍🍳",woman_cook:"👩‍🍳",mechanic:"🧑‍🔧",man_mechanic:"👨‍🔧",woman_mechanic:"👩‍🔧",factory_worker:"🧑‍🏭",man_factory_worker:"👨‍🏭",woman_factory_worker:"👩‍🏭",office_worker:"🧑‍💼",man_office_worker:"👨‍💼",woman_office_worker:"👩‍💼",scientist:"🧑‍🔬",man_scientist:"👨‍🔬",woman_scientist:"👩‍🔬",technologist:"🧑‍💻",man_technologist:"👨‍💻",woman_technologist:"👩‍💻",singer:"🧑‍🎤",man_singer:"👨‍🎤",woman_singer:"👩‍🎤",artist:"🧑‍🎨",man_artist:"👨‍🎨",woman_artist:"👩‍🎨",pilot:"🧑‍✈️",man_pilot:"👨‍✈️",woman_pilot:"👩‍✈️",astronaut:"🧑‍🚀",man_astronaut:"👨‍🚀",woman_astronaut:"👩‍🚀",firefighter:"🧑‍🚒",man_firefighter:"👨‍🚒",woman_firefighter:"👩‍🚒",police_officer:"👮",cop:"👮",policeman:"👮‍♂️",policewoman:"👮‍♀️",detective:"🕵️",male_detective:"🕵️‍♂️",female_detective:"🕵️‍♀️",guard:"💂",guardsman:"💂‍♂️",guardswoman:"💂‍♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷‍♂️",construction_worker_woman:"👷‍♀️",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳‍♂️",woman_with_turban:"👳‍♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵‍♂️",woman_in_tuxedo:"🤵‍♀️",person_with_veil:"👰",man_with_veil:"👰‍♂️",woman_with_veil:"👰‍♀️",bride_with_veil:"👰‍♀️",pregnant_woman:"🤰",breast_feeding:"🤱",woman_feeding_baby:"👩‍🍼",man_feeding_baby:"👨‍🍼",person_feeding_baby:"🧑‍🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑‍🎄",superhero:"🦸",superhero_man:"🦸‍♂️",superhero_woman:"🦸‍♀️",supervillain:"🦹",supervillain_man:"🦹‍♂️",supervillain_woman:"🦹‍♀️",mage:"🧙",mage_man:"🧙‍♂️",mage_woman:"🧙‍♀️",fairy:"🧚",fairy_man:"🧚‍♂️",fairy_woman:"🧚‍♀️",vampire:"🧛",vampire_man:"🧛‍♂️",vampire_woman:"🧛‍♀️",merperson:"🧜",merman:"🧜‍♂️",mermaid:"🧜‍♀️",elf:"🧝",elf_man:"🧝‍♂️",elf_woman:"🧝‍♀️",genie:"🧞",genie_man:"🧞‍♂️",genie_woman:"🧞‍♀️",zombie:"🧟",zombie_man:"🧟‍♂️",zombie_woman:"🧟‍♀️",massage:"💆",massage_man:"💆‍♂️",massage_woman:"💆‍♀️",haircut:"💇",haircut_man:"💇‍♂️",haircut_woman:"💇‍♀️",walking:"🚶",walking_man:"🚶‍♂️",walking_woman:"🚶‍♀️",standing_person:"🧍",standing_man:"🧍‍♂️",standing_woman:"🧍‍♀️",kneeling_person:"🧎",kneeling_man:"🧎‍♂️",kneeling_woman:"🧎‍♀️",person_with_probing_cane:"🧑‍🦯",man_with_probing_cane:"👨‍🦯",woman_with_probing_cane:"👩‍🦯",person_in_motorized_wheelchair:"🧑‍🦼",man_in_motorized_wheelchair:"👨‍🦼",woman_in_motorized_wheelchair:"👩‍🦼",person_in_manual_wheelchair:"🧑‍🦽",man_in_manual_wheelchair:"👨‍🦽",woman_in_manual_wheelchair:"👩‍🦽",runner:"🏃",running:"🏃",running_man:"🏃‍♂️",running_woman:"🏃‍♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯‍♂️",dancing_women:"👯‍♀️",sauna_person:"🧖",sauna_man:"🧖‍♂️",sauna_woman:"🧖‍♀️",climbing:"🧗",climbing_man:"🧗‍♂️",climbing_woman:"🧗‍♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️‍♂️",golfing_woman:"🏌️‍♀️",surfer:"🏄",surfing_man:"🏄‍♂️",surfing_woman:"🏄‍♀️",rowboat:"🚣",rowing_man:"🚣‍♂️",rowing_woman:"🚣‍♀️",swimmer:"🏊",swimming_man:"🏊‍♂️",swimming_woman:"🏊‍♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️‍♂️",basketball_man:"⛹️‍♂️",bouncing_ball_woman:"⛹️‍♀️",basketball_woman:"⛹️‍♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️‍♂️",weight_lifting_woman:"🏋️‍♀️",bicyclist:"🚴",biking_man:"🚴‍♂️",biking_woman:"🚴‍♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵‍♂️",mountain_biking_woman:"🚵‍♀️",cartwheeling:"🤸",man_cartwheeling:"🤸‍♂️",woman_cartwheeling:"🤸‍♀️",wrestling:"🤼",men_wrestling:"🤼‍♂️",women_wrestling:"🤼‍♀️",water_polo:"🤽",man_playing_water_polo:"🤽‍♂️",woman_playing_water_polo:"🤽‍♀️",handball_person:"🤾",man_playing_handball:"🤾‍♂️",woman_playing_handball:"🤾‍♀️",juggling_person:"🤹",man_juggling:"🤹‍♂️",woman_juggling:"🤹‍♀️",lotus_position:"🧘",lotus_position_man:"🧘‍♂️",lotus_position_woman:"🧘‍♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑‍🤝‍🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩‍❤️‍💋‍👨",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩‍❤️‍👨",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",family:"👪",family_man_woman_boy:"👨‍👩‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕‍🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈‍⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻‍❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",mushroom:"🍄",peanuts:"🥜",chestnut:"🌰",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",nazar_amulet:"🧿",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",gun:"🔫",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",stethoscope:"🩺",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",moyai:"🗿",placard:"🪧",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",ideograph_advantage:"🉐",accept:"🉑",congratulations:"㊗️",secret:"㊙️",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️‍🌈",transgender_flag:"🏳️‍⚧️",pirate_flag:"🏴‍☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",scotland:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",wales:"🏴󠁧󠁢󠁷󠁬󠁳󠁿"};Object.keys(B).reduce((e,t)=>{const n=B[t];return e[n]=t,e},{});const Zt=Object.keys(B).map(e=>e);Object.keys(B).map(e=>B[e]);function Jt(e){return Zt.filter(t=>t.startsWith(e)).map(t=>({name:t,emoji:B[t]}))}const Yt=200,Qt=new p.PluginKey("emoji"),Xt=h.Node.create({name:"emoji",content:"text*",priority:Yt,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{},suggestion:{char:":",pluginKey:Qt,command:({editor:t,range:n,props:o})=>{t.chain().focus().insertContentAt(n,`${o.emoji} `).run()}},button:({editor:t,t:n})=>({component:Gt,componentProps:{editor:t,action:()=>{},isActive:()=>!1,disabled:!1,icon:"EmojiIcon",tooltip:n("editor.emoji.tooltip")}})}},addCommands(){return{setEmoji:e=>({commands:t})=>t.insertContent(`${e.emoji} `)}},addProseMirrorPlugins(){return[h.Suggestion({editor:this.editor,...this.options.suggestion})]}}).configure({suggestion:{items:({query:e})=>Jt(e),render:()=>{let e,t,n;return{onStart:o=>{n=o.editor.isEditable,n&&(e=new h.ReactRenderer(he,{props:o,editor:o.editor}),t=J("body",{getReferenceClientRect:o.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start"}))},onUpdate(o){n&&(e.updateProps(o),t[0].setProps({getReferenceClientRect:o.clientRect}))},onKeyDown(o){var i;if(n)return o.event.key==="Escape"?(t[0].hide(),!0):(i=e.ref)==null?void 0:i.onKeyDown(o)},onExit(){n&&(t[0].destroy(),e.destroy())}}}}});function en(e){const t=document.createElement("iframe");t.setAttribute("style","position: absolute; width: 0; height: 0; top: 0; left: 0;"),document.body.appendChild(t),t.textContent=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("./ColorPicker-DGbrNkQ-.cjs"),On=require("shiki"),O=require("react/jsx-runtime"),pe=require("react"),Ce=require("./locale-bundle-PAhriAQT.cjs"),$e=require("lucide-react"),Id=require("@radix-ui/react-select"),Wd=require("@radix-ui/react-slot"),no=require("tippy.js"),io=require("scroll-into-view-if-needed"),Jt=require("frimousse"),Uu=require("docx"),Ut=require("prosemirror-docx");function Eu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const an=Eu(pe),Me=Eu(Id),ro=pe.forwardRef(({asChild:e,...t},n)=>{var a;const i=T.icons[t.icon],r=e?Wd.Slot:T.Button;return O.jsxs(T.Tooltip,{children:[O.jsx(T.TooltipTrigger,{asChild:!0,children:O.jsx(r,{className:"h-[32px] min-w-24 overflow-hidden px-[5px] py-0",disabled:t==null?void 0:t.disabled,ref:n,variant:"ghost",...t,children:O.jsxs("div",{className:"flex h-full items-center font-normal",children:[(t==null?void 0:t.title)&&O.jsx("div",{className:"grow truncate text-left text-sm",children:t==null?void 0:t.title}),i&&O.jsx(i,{className:"ml-1 size-3 shrink-0 text-zinc-500"})]})})}),O.jsx(T.TooltipContent,{children:O.jsxs("div",{className:"flex max-w-24 flex-col items-center text-center",children:[(t==null?void 0:t.tooltip)&&O.jsx("div",{children:t==null?void 0:t.tooltip}),O.jsx("div",{className:"flex",children:!!((a=t==null?void 0:t.shortcutKeys)!=null&&a.length)&&O.jsx("span",{children:T.getShortcutKeys(t==null?void 0:t.shortcutKeys)})})]})})]})}),Od=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,Md=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,Pd=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,jd=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,qd=T.Mark.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[T.markInputRule({find:Od,type:this.type}),T.markInputRule({find:Pd,type:this.type})]},addPasteRules(){return[T.markPasteRule({find:Md,type:this.type}),T.markPasteRule({find:jd,type:this.type})]}}),Hd=qd.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.toggleBold(),isActive:()=>t.isActive("bold")||!1,disabled:!t.can().toggleBold(),icon:"Bold",shortcutKeys:["mod","B"],tooltip:n("editor.bold.tooltip")}})}}}),zd=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,Xd=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,Vd=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,$d=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,Kd=T.Mark.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>e.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[T.markInputRule({find:zd,type:this.type}),T.markInputRule({find:Vd,type:this.type})]},addPasteRules(){return[T.markPasteRule({find:Xd,type:this.type}),T.markPasteRule({find:$d,type:this.type})]}}),Gd=Kd.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,t:n}){return{component:T.ActionButton,componentProps:{action:()=>t.commands.toggleItalic(),isActive:()=>t.isActive("italic")||!1,disabled:!t.can().toggleItalic(),shortcutKeys:["mod","I"],icon:"Italic",tooltip:n("editor.italic.tooltip")}}}}}}),Zd=T.Mark.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),Yd=Zd.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,t:n}){return{component:T.ActionButton,componentProps:{action:()=>t.commands.toggleUnderline(),isActive:()=>t.isActive("underline")||!1,disabled:!t.can().toggleUnderline(),icon:"Underline",shortcutKeys:["mod","U"],tooltip:n("editor.underline.tooltip")}}}}}}),Qd=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,Jd=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,eh=T.Mark.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["s",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[T.markInputRule({find:Qd,type:this.type})]},addPasteRules(){return[T.markPasteRule({find:Jd,type:this.type})]}}),th=eh.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.toggleStrike(),isActive:()=>t.isActive("strike")||!1,disabled:!t.can().toggleStrike(),icon:"Strikethrough",shortcutKeys:["shift","mod","S"],tooltip:n("editor.strike.tooltip")}})}}}),nh=/(^|[^`])`([^`]+)`(?!`)/,ih=/(^|[^`])`([^`]+)`(?!`)/g,rh=T.Mark.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:e}){return["code",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[T.markInputRule({find:nh,type:this.type})]},addPasteRules(){return[T.markPasteRule({find:ih,type:this.type})]}}),ah=rh.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.toggleCode(),isActive:()=>t.isActive("code")||!1,disabled:!t.can().toggleCode(),icon:"Code",shortcutKeys:["mod","E"],tooltip:n("editor.code.tooltip")}})}}}),oh=/^```([a-z]+)?[\s\n]$/,sh=/^~~~([a-z]+)?[\s\n]$/,ch=T.Node.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;const{languageClassPrefix:n}=this.options,a=[...((t=e.firstElementChild)===null||t===void 0?void 0:t.classList)||[]].filter(o=>o.startsWith(n)).map(o=>o.replace(n,""))[0];return a||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:e,HTMLAttributes:t}){return["pre",T.mergeAttributes(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:e,$anchor:t}=this.editor.state.selection,n=t.pos===1;return!e||t.parent.type.name!==this.name?!1:n||!t.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=e,{selection:n}=t,{$from:i,empty:r}=n;if(!r||i.parent.type!==this.type)return!1;const a=i.parentOffset===i.parent.nodeSize-2,o=i.parent.textContent.endsWith(`
2
+
3
+ `);return!a||!o?!1:e.chain().command(({tr:s})=>(s.delete(i.pos-2,i.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;const{state:t}=e,{selection:n,doc:i}=t,{$from:r,empty:a}=n;if(!a||r.parent.type!==this.type||!(r.parentOffset===r.parent.nodeSize-2))return!1;const s=r.after();return s===void 0?!1:i.nodeAt(s)?e.commands.command(({tr:u})=>(u.setSelection(T.Selection.near(i.resolve(s))),!0)):e.commands.exitCode()}}},addInputRules(){return[T.textblockTypeInputRule({find:oh,type:this.type,getAttributes:e=>({language:e[1]})}),T.textblockTypeInputRule({find:sh,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new T.Plugin({key:new T.PluginKey("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;const n=t.clipboardData.getData("text/plain"),i=t.clipboardData.getData("vscode-editor-data"),r=i?JSON.parse(i):void 0,a=r==null?void 0:r.mode;if(!n||!a)return!1;const{tr:o,schema:s}=e.state,c=s.text(n.replace(/\r\n?/g,`
4
+ `));return o.replaceSelectionWith(this.type.create({language:a},c)),o.selection.$from.parent.type!==this.type&&o.setSelection(T.TextSelection.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),e.dispatch(o),!0}}})]}});let mt,Tn;const Gr=new Set,Zr=new Set;function uh(){return mt}function lh(e){if(!mt&&!Tn){const t=e.themes.filter(i=>!!i&&i in On.bundledThemes),n=e.languages.filter(i=>!!i&&i in On.bundledLanguages);return Tn=On.createHighlighter({themes:t,langs:n}).then(i=>{mt=i}),Tn}if(Tn)return Tn}async function Au(e){return mt&&!mt.getLoadedThemes().includes(e)&&!Zr.has(e)&&e in On.bundledThemes?(Zr.add(e),await mt.loadTheme(e),Zr.delete(e),!0):!1}async function Cu(e){return mt&&!mt.getLoadedLanguages().includes(e)&&!Gr.has(e)&&e in On.bundledLanguages?(Gr.add(e),await mt.loadLanguage(e),Gr.delete(e),!0):!1}async function dh({doc:e,name:t,defaultTheme:n,defaultLanguage:i}){const r=T.findChildren(e,s=>s.type.name===t),a=[...r.map(s=>s.node.attrs.theme),n],o=[...r.map(s=>s.node.attrs.language),i];mt?await Promise.all([...a.flatMap(s=>Au(s)),...o.flatMap(s=>!!s&&Cu(s))]):await lh({languages:o,themes:a})}function us({doc:e,name:t,defaultTheme:n,defaultLanguage:i}){const r=[];return T.findChildren(e,o=>o.type.name===t).forEach(o=>{let s=o.pos+1,c=o.node.attrs.language||i;const u=o.node.attrs.theme||n,l=uh();if(!l)return;l.getLoadedLanguages().includes(c)||(c="plaintext");const f=l.getLoadedThemes().includes(u)?u:l.getLoadedThemes()[0],g=l.codeToTokensBase(o.node.textContent,{lang:c,theme:f});for(const d of g){for(const x of d){const m=s+x.content.length,h=T.Decoration.inline(s,m,{style:`color: ${x.color}`});r.push(h),s=m}s+=1}}),T.DecorationSet.create(e,r)}function hh({name:e,defaultLanguage:t,defaultTheme:n}){const i=new T.Plugin({key:new T.PluginKey("shiki"),view(r){class a{constructor(){this.initDecorations()}update(){this.checkUndecoratedBlocks()}destroy(){}async initDecorations(){const s=r.state.doc;await dh({doc:s,name:e,defaultLanguage:t,defaultTheme:n});const c=r.state.tr.setMeta("shikiPluginForceDecoration",!0);r.dispatch(c)}async checkUndecoratedBlocks(){const s=T.findChildren(r.state.doc,l=>l.type.name===e);if((await Promise.all(s.flatMap(l=>[Au(l.node.attrs.theme),Cu(l.node.attrs.language)]))).includes(!0)){const l=r.state.tr.setMeta("shikiPluginForceDecoration",!0);r.dispatch(l)}}}return new a},state:{init:(r,{doc:a})=>us({doc:a,name:e,defaultLanguage:t,defaultTheme:n}),apply:(r,a,o,s)=>{const c=o.selection.$head.parent.type.name,u=s.selection.$head.parent.type.name,l=T.findChildren(o.doc,d=>d.type.name===e),f=T.findChildren(s.doc,d=>d.type.name===e),g=r.docChanged&&([c,u].includes(e)||f.length!==l.length||r.steps.some(d=>d.from!==void 0&&d.to!==void 0&&l.some(x=>x.pos>=d.from&&x.pos+x.node.nodeSize<=d.to)));return r.getMeta("shikiPluginForceDecoration")||g?us({doc:r.doc,name:e,defaultLanguage:t,defaultTheme:n}):a.map(r.mapping,r.doc)}},props:{decorations(r){return i.getState(r)}}});return i}function fh({action:e,languages:t,...n}){const i=a=>{e(a)},r=pe.useMemo(()=>t==null?void 0:t.map(a=>({title:Ce.MAP_LANGUAGE_CODE_LABELS[a]||a,language:a})),[t]);return O.jsxs(T.DropdownMenu,{children:[O.jsx(T.DropdownMenuTrigger,{disabled:n==null?void 0:n.disabled,asChild:!0,children:O.jsx(T.ActionButton,{tooltip:n==null?void 0:n.tooltip,disabled:n==null?void 0:n.disabled,icon:n==null?void 0:n.icon})}),O.jsx(T.DropdownMenuContent,{className:"w-full !max-h-[180px] !overflow-y-scroll",children:r==null?void 0:r.map(a=>O.jsx(T.DropdownMenuItem,{onClick:()=>i(a.language),children:O.jsx("div",{className:"h-full ml-1",children:a.title})},`codeblock-${a.title}`))})]})}const gh=Me.Root,ph=Me.Value,ku=an.forwardRef(({className:e,children:t,...n},i)=>O.jsxs(Me.Trigger,{ref:i,className:T.cn("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,O.jsx(Me.Icon,{asChild:!0,children:O.jsx($e.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));ku.displayName=Me.Trigger.displayName;const Fu=an.forwardRef(({className:e,...t},n)=>O.jsx(Me.ScrollUpButton,{ref:n,className:T.cn("flex cursor-default items-center justify-center py-1",e),...t,children:O.jsx($e.ChevronUp,{className:"h-4 w-4"})}));Fu.displayName=Me.ScrollUpButton.displayName;const Su=an.forwardRef(({className:e,...t},n)=>O.jsx(Me.ScrollDownButton,{ref:n,className:T.cn("flex cursor-default items-center justify-center py-1",e),...t,children:O.jsx($e.ChevronDown,{className:"h-4 w-4"})}));Su.displayName=Me.ScrollDownButton.displayName;const Bu=an.forwardRef(({className:e,children:t,position:n="popper",...i},r)=>O.jsx(Me.Portal,{children:O.jsxs(Me.Content,{ref:r,className:T.cn("relative z-50 max-h-60 overflow-y-auto min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...i,children:[O.jsx(Fu,{}),O.jsx(Me.Viewport,{className:T.cn("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),O.jsx(Su,{})]})}));Bu.displayName=Me.Content.displayName;const mh=an.forwardRef(({className:e,...t},n)=>O.jsx(Me.Label,{ref:n,className:T.cn("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));mh.displayName=Me.Label.displayName;const Xa=an.forwardRef(({className:e,children:t,...n},i)=>O.jsxs(Me.Item,{ref:i,className:T.cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[O.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:O.jsx(Me.ItemIndicator,{children:O.jsx($e.Check,{className:"h-4 w-4"})})}),O.jsx(Me.ItemText,{children:t})]}));Xa.displayName=Me.Item.displayName;const bh=an.forwardRef(({className:e,...t},n)=>O.jsx(Me.Separator,{ref:n,className:T.cn("-mx-1 my-1 h-px bg-muted",e),...t}));bh.displayName=Me.Separator.displayName;function yh(){const[e,t]=pe.useState(!1);return{isCopied:e,copyToClipboard:async i=>{try{await navigator.clipboard.writeText(i),t(!0),setTimeout(()=>t(!1),2e3)}catch(r){console.error("Failed to copy text: ",r),t(!1)}}}}const xh="_wrap_fsdar_1",Dh="_maxHeight_fsdar_10",vh="_btnCopy_fsdar_13",_h="_btnDelete_fsdar_14",wh="_blockInfo_fsdar_18",Th="_blockInfoEditable_fsdar_28",Uh="_selectLang_fsdar_32",Eh="_copied_fsdar_58",Ft={wrap:xh,maxHeight:Dh,btnCopy:vh,btnDelete:_h,blockInfo:wh,blockInfoEditable:Th,selectLang:Uh,copied:Eh};function Ah({editor:e,node:{attrs:t},updateAttributes:n,extension:i}){var g,d;const{isCopied:r,copyToClipboard:a}=yh(),o=pe.useMemo(()=>{var x;return(x=i.options.languages)!=null&&x.length?i.options.languages:Ce.DEFAULT_LANGUAGE_CODE_BLOCK},[i.options.languages]),s=T.useEditableEditor(),c=(d=(g=e==null?void 0:e.options)==null?void 0:g.editorProps)==null?void 0:d.print,{language:u}=t,l=pe.useRef(null),f=pe.useCallback(()=>T.deleteNode(Nu.name,e),[e]);return O.jsxs(T.NodeViewWrapper,{className:T.clsx(Ft.wrap,!c&&Ft.maxHeight,"render-wrapper"),children:[O.jsxs("div",{className:T.clsx(Ft.blockInfo,{[Ft.blockInfoEditable]:!s}),children:[O.jsx("span",{className:T.clsx(Ft.btnCopy,r&&Ft.copied),onClick:()=>a(l.current.innerText),children:r?O.jsx($e.CopyCheck,{size:16}):O.jsx($e.Copy,{size:16})}),O.jsx("span",{className:Ft.btnDelete,onClick:f,children:O.jsx(T.IconComponent,{name:"Trash2"})}),O.jsx("div",{className:Ft.selectLang,children:O.jsxs(gh,{defaultValue:u||"auto",disabled:!s,onValueChange:x=>n({language:x}),children:[O.jsx(ku,{children:O.jsx(ph,{placeholder:"Language"})}),O.jsxs(Bu,{className:"max-h-60 overflow-y-auto",children:[O.jsx(Xa,{value:"auto",children:"Auto"}),o.map((x,m)=>O.jsx(Xa,{value:x,children:x.charAt(0).toUpperCase()+x.slice(1)},`code-lang-${m}`))]})]})})]}),O.jsx("pre",{ref:l,children:O.jsx(T.NodeViewContent,{as:"code"})})]})}const Nu=ch.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),languages:[],button:({editor:t,t:n,extension:i})=>{var a,o,s;const r=(o=(a=i==null?void 0:i.options)==null?void 0:a.languages)!=null&&o.length?(s=i==null?void 0:i.options)==null?void 0:s.languages:Ce.DEFAULT_LANGUAGE_CODE_BLOCK;return{component:fh,componentProps:{action:(c="js")=>t.commands.setCodeBlock({language:c}),isActive:()=>t.isActive("codeBlock")||!1,disabled:!t.can().toggleCodeBlock(),icon:"Code2",tooltip:n("editor.codeblock.tooltip"),languages:r}}}}},addNodeView(){return T.ReactNodeViewRenderer(Ah)},addProseMirrorPlugins(){var e;return[...((e=this.parent)==null?void 0:e.call(this))||[],hh({name:this.name,defaultLanguage:null,defaultTheme:this.options.defaultTheme})]}}),Ch=e=>{if(!e.children.length)return;const t=e.querySelectorAll("span");t&&t.forEach(n=>{var i,r;const a=n.getAttribute("style"),o=(r=(i=n.parentElement)===null||i===void 0?void 0:i.closest("span"))===null||r===void 0?void 0:r.getAttribute("style");n.setAttribute("style",`${o};${a}`)})},kh=T.Mark.create({name:"textStyle",priority:101,addOptions(){return{HTMLAttributes:{},mergeNestedSpanStyles:!1}},parseHTML(){return[{tag:"span",getAttrs:e=>e.hasAttribute("style")?(this.options.mergeNestedSpanStyles&&Ch(e),{}):!1}]},renderHTML({HTMLAttributes:e}){return["span",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:e})=>{const{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,(n,i)=>{if(n.isTextblock)return!0;n.marks.filter(r=>r.type===this.type).some(r=>Object.values(r.attrs).some(a=>!!a))||e.removeMark(i,i+n.nodeSize,this.type)}),!0}}}}),Fh=T.Extension.create({name:"fontFamily",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:e=>e.style.fontFamily,renderHTML:e=>e.fontFamily?{style:`font-family: ${e.fontFamily}`}:{}}}}]},addCommands(){return{setFontFamily:e=>({chain:t})=>t().setMark("textStyle",{fontFamily:e}).run(),unsetFontFamily:()=>({chain:e})=>e().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}}});function Sh(e){var r,a,o;const{t,lang:n}=Ce.useLocale(),i=pe.useMemo(()=>{var u;const s=(u=e==null?void 0:e.items)==null?void 0:u.find(l=>l.isActive());return s&&!s.default?{...s}:{title:e.tooltip,font:t("editor.fontFamily.default.tooltip"),isActive:()=>!1,disabled:!1,action:()=>e.editor.chain().focus().unsetFontFamily().run()}},[t,n,e]);return O.jsxs(T.DropdownMenu,{children:[O.jsx(T.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:O.jsx(ro,{disabled:e==null?void 0:e.disabled,icon:"MenuDown",title:((r=i==null?void 0:i.font)==null?void 0:r.length)>7?`${(a=i==null?void 0:i.font)==null?void 0:a.slice(0,6)}...`:i==null?void 0:i.font,tooltip:e==null?void 0:e.tooltip})}),O.jsx(T.DropdownMenuContent,{className:"w-full",children:(o=e==null?void 0:e.items)==null?void 0:o.map((s,c)=>{const u=s.font===t("editor.fontFamily.default.tooltip")?{}:{fontFamily:s.font};return O.jsxs(pe.Fragment,{children:[O.jsx(T.DropdownMenuCheckboxItem,{checked:(i==null?void 0:i.font)===s.font,onClick:s.action,children:O.jsx("div",{className:"ml-1 h-full",style:u,children:s.font})}),s.font===t("editor.fontFamily.default.tooltip")&&O.jsx(T.DropdownMenuSeparator,{})]},`font-family-${c}`)})})]})}const Bh=Fh.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),fontFamilyList:Ce.DEFAULT_FONT_FAMILY_LIST,button({editor:t,extension:n,t:i}){var u;const{extensions:r=[]}=t.extensionManager??[],a=T.ensureNameValueOptions(((u=n==null?void 0:n.options)==null?void 0:u.fontFamilyList)||[]),o=r.find(l=>l.name==="base-kit"),s=a.map(l=>({action:()=>{t.chain().focus().setFontFamily(l.value).run()},isActive:()=>t.isActive("textStyle",{fontFamily:l.value})||!1,disabled:!t.can().setFontFamily(l.value),title:l.name,font:l.value}));o&&o.options.textStyle!==!1&&s.unshift({action:()=>t.chain().focus().unsetFontFamily().run(),isActive:()=>!1,disabled:!1,font:i("editor.fontFamily.default.tooltip"),title:i("editor.fontFamily.tooltip")});const c=s.filter(l=>l.disabled).length===s.length;return{component:Sh,componentProps:{tooltip:i("editor.fontFamily.tooltip"),disabled:c,items:s,editor:t}}}}}}),Nh=T.Node.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,T.mergeAttributes(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.setNode(this.name,e):!1,toggleHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.toggleNode(this.name,"paragraph",e):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>T.textblockTypeInputRule({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}});function Lh(e){var n;const t=pe.useMemo(()=>{var a;const i=(a=e==null?void 0:e.items)==null?void 0:a.find(o=>o.isActive());return i&&!i.default?{...i}:{title:e.tooltip,level:0,isActive:()=>!1}},[e]);return O.jsxs(T.DropdownMenu,{children:[O.jsx(T.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:O.jsx(ro,{disabled:e==null?void 0:e.disabled,icon:"MenuDown",title:t==null?void 0:t.title,tooltip:e==null?void 0:e.tooltip})}),O.jsx(T.DropdownMenuContent,{className:"w-full",children:(n=e==null?void 0:e.items)==null?void 0:n.map((i,r)=>{var a,o;return O.jsxs(pe.Fragment,{children:[O.jsxs(T.DropdownMenuCheckboxItem,{checked:(t==null?void 0:t.title)===i.title,onClick:i.action,children:[O.jsx("div",{className:`heading- ml-1 h-full${i.level}`,children:i.title}),!!((a=i==null?void 0:i.shortcutKeys)!=null&&a.length)&&O.jsx(T.DropdownMenuShortcut,{className:"pl-4",children:(o=i==null?void 0:i.shortcutKeys)==null?void 0:o.map(s=>T.getShortcutKey(s)).join(" ")})]}),i.level===0&&O.jsx(T.DropdownMenuSeparator,{})]},`heading-k-${r}`)})})]})}const Rh=Nh.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),levels:[1,2,3,4,5,6],button({editor:t,extension:n,t:i}){var u;const{extensions:r=[]}=t.extensionManager??[],a=((u=n.options)==null?void 0:u.levels)||[],o=r.find(l=>l.name==="base-kit"),s=a.map(l=>({action:()=>t.commands.toggleHeading({level:l}),isActive:()=>t.isActive("heading",{level:l})||!1,disabled:!t.can().toggleHeading({level:l}),title:i(`editor.heading.h${l}.tooltip`),level:l,shortcutKeys:["alt","mod",`${l}`]}));o&&o.options.paragraph!==!1&&s.unshift({action:()=>t.commands.setParagraph(),isActive:()=>t.isActive("paragraph")||!1,disabled:!t.can().setParagraph(),level:0,title:i("editor.paragraph.tooltip"),shortcutKeys:["alt","mod","0"]});const c=s.filter(l=>l.disabled).length===s.length;return{component:Lh,componentProps:{tooltip:i("editor.heading.tooltip"),disabled:c,items:s,editor:t}}}}}}),Ih=T.Extension.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:null}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:e=>{const t=e.style.textAlign;return this.options.alignments.includes(t)?t:this.options.defaultAlignment},renderHTML:e=>e.textAlign?{style:`text-align: ${e.textAlign}`}:{}}}}]},addCommands(){return{setTextAlign:e=>({commands:t})=>this.options.alignments.includes(e)?this.options.types.map(n=>t.updateAttributes(n,{textAlign:e})).every(n=>n):!1,unsetTextAlign:()=>({commands:e})=>this.options.types.map(t=>e.resetAttributes(t,"textAlign")).every(t=>t)}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}});function Wh(e){var n;const t=pe.useMemo(()=>{var a;const i=(a=e==null?void 0:e.items)==null?void 0:a.find(o=>o.isActive());return i&&!i.default?{...i,icon:i.icon?i.icon:e.icon}:{title:e==null?void 0:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return O.jsxs(T.Popover,{modal:!0,children:[O.jsx(T.PopoverTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:O.jsx(T.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,tooltip:e==null?void 0:e.tooltip,children:O.jsx(T.IconComponent,{className:"ml-1 size-3 text-zinc-500",name:"MenuDown"})})}),O.jsx(T.PopoverContent,{align:"start",className:"flex w-full min-w-4 flex-row gap-1 !p-[4px]",side:"bottom",children:(n=e==null?void 0:e.items)==null?void 0:n.map((i,r)=>{var a,o;return O.jsxs(T.Tooltip,{children:[O.jsx(T.TooltipTrigger,{asChild:!0,children:O.jsx(T.Toggle,{className:"size-7 p-1","data-state":t.title===i.title?"on":"off",onClick:i==null?void 0:i.action,pressed:t.title===i.title,size:"sm",children:(i==null?void 0:i.icon)&&O.jsx(T.IconComponent,{name:i.icon})})}),O.jsxs(T.TooltipContent,{className:"flex flex-col items-center",children:[O.jsx("span",{children:i.title}),!!((a=i.shortcutKeys)!=null&&a.length)&&O.jsx("span",{children:(o=i.shortcutKeys)==null?void 0:o.map(s=>T.getShortcutKey(s)).join(" ")})]})]},`text-align-${r}`)})})]})}const Oh=Ih.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["heading","paragraph","list_item","title"],button({editor:t,extension:n,t:i}){var u;const r=((u=n.options)==null?void 0:u.alignments)||[],a={left:["mod","Shift","L"],center:["mod","Shift","E"],right:["mod","Shift","R"],justify:["mod","Shift","J"]},o={left:"AlignLeft",center:"AlignCenter",right:"AlignRight",justify:"AlignJustify"},s=r.map(l=>{var f,g,d;return{title:i(`editor.textalign.${l}.tooltip`),icon:o[l],shortcutKeys:a[l],isActive:()=>t.isActive({textAlign:l})||!1,action:()=>{var x,m;return(m=(x=t.commands)==null?void 0:x.setTextAlign)==null?void 0:m.call(x,l)},disabled:!((d=(g=(f=t==null?void 0:t.can)==null?void 0:f.call(t))==null?void 0:g.setTextAlign)!=null&&d.call(g,l))}}),c=s.filter(l=>l.disabled).length===s.length;return{component:Wh,componentProps:{icon:"AlignJustify",tooltip:i("editor.textalign.tooltip"),disabled:c,items:s}}}}}});function Mh(e){var r;const{t}=Ce.useLocale(),n=pe.useRef(null),i=pe.useMemo(()=>{const a=(e.items||[]).find(s=>s.isActive());return a||{title:t("editor.fontSize.default.tooltip"),isActive:()=>!1}},[e]);return O.jsxs(T.DropdownMenu,{children:[O.jsx(T.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:O.jsx("div",{ref:n,children:O.jsx(ro,{disabled:e==null?void 0:e.disabled,icon:"MenuDown",title:i==null?void 0:i.title,tooltip:`${e==null?void 0:e.tooltip}`})})}),O.jsx(T.DropdownMenuContent,{container:n.current,className:"max-h-[40vh] w-32 overflow-y-auto",children:(r=e==null?void 0:e.items)==null?void 0:r.map((a,o)=>O.jsx(T.DropdownMenuCheckboxItem,{checked:i.title===a.title,onClick:a.action,children:O.jsx("div",{className:"ml-1 h-full",children:a.title})},`font-size-${o}`))})]})}const Ph=T.Extension.create({name:"fontSize",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["textStyle"],fontSizes:[...Ce.DEFAULT_FONT_SIZE_LIST],button({editor:t,extension:n,t:i}){var c;const r=T.ensureNameValueOptions(((c=n.options)==null?void 0:c.fontSizes)||Ce.DEFAULT_FONT_SIZE_VALUE),a=T.ensureNameValueOptions([Ce.DEFAULT_FONT_SIZE_VALUE])[0],o=r.map(u=>({title:u.value===a.value?i("editor.fontSize.default.tooltip"):String(u.name),isActive:()=>{const{fontSize:l}=t.getAttributes("textStyle");return u.value===a.value&&l===void 0?!0:t.isActive({fontSize:String(u.value)})||!1},action:()=>{if(u.value===a.value){t.commands.unsetFontSize();return}t.commands.setFontSize(String(u.value))},disabled:!t.can().setFontSize(String(u.value)),divider:u.value===a.value||!1,default:u.value===a.value||!1})),s=o.filter(u=>u.disabled).length===o.length;return{component:Mh,componentProps:{editor:t,tooltip:i("editor.fontSize.tooltip"),disabled:s,items:o,maxHeight:280}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:e=>e.style.fontSize.replaceAll(/["']+/g,""),renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}),jh=T.Extension.create({name:"color",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{var t;return(t=e.style.color)===null||t===void 0?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.color?{style:`color: ${e.color}`}:{}}}}]},addCommands(){return{setColor:e=>({chain:t})=>t().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}}});function qh({fill:e}){return O.jsx("svg",{width:"18px",height:"18px",viewBox:"0 0 240 240",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:O.jsx("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",children:O.jsx("g",{transform:"translate(0.000000, 0.500000)",children:O.jsxs("g",{transform:"translate(39.000000, 17.353553)",children:[O.jsx("path",{d:"M11,201.146447 L167,201.146447 C173.075132,201.146447 178,206.071314 178,212.146447 C178,218.221579 173.075132,223.146447 167,223.146447 L11,223.146447 C4.92486775,223.146447 7.43989126e-16,218.221579 0,212.146447 C-7.43989126e-16,206.071314 4.92486775,201.146447 11,201.146447 Z",id:"矩形",fill:e||"#DF2A3F",fillRule:"evenodd"}),O.jsx("path",{d:"M72.3425855,16.8295583 C75.799482,7.50883712 86.1577877,2.75526801 95.4785089,6.21216449 C100.284516,7.99463061 104.096358,11.7387855 105.968745,16.4968188 L106.112518,16.8745422 L159.385152,161.694068 C161.291848,166.877345 158.635655,172.624903 153.452378,174.531599 C148.358469,176.405421 142.719567,173.872338 140.716873,168.864661 L140.614848,168.598825 L89.211,28.86 L37.3759214,168.623816 C35.4885354,173.712715 29.8981043,176.351047 24.7909589,174.617647 L24.5226307,174.522368 C19.4337312,172.634982 16.7953993,167.044551 18.5287999,161.937406 L18.6240786,161.669077 L72.3425855,16.8295583 Z",id:"路径-21",fill:"currentColor",fillRule:"nonzero"}),O.jsx("path",{d:"M121,103.146447 C126.522847,103.146447 131,107.623599 131,113.146447 C131,118.575687 126.673329,122.994378 121.279905,123.142605 L121,123.146447 L55,123.146447 C49.4771525,123.146447 45,118.669294 45,113.146447 C45,107.717207 49.3266708,103.298515 54.7200952,103.150288 L55,103.146447 L121,103.146447 Z",id:"路径-22",fill:"currentColor",fillRule:"nonzero"})]})})})})}function Hh(e){const[t,n]=pe.useState(void 0);function i(o){var s;(s=e.action)==null||s.call(e,o)}function r(){var o;(o=e.action)==null||o.call(e,t)}const a=pe.useCallback(T.debounce(o=>{n(o)},350),[]);return O.jsxs("div",{className:"flex items-center h-[32px]",children:[O.jsx(T.ActionButton,{tooltip:e==null?void 0:e.tooltip,disabled:e==null?void 0:e.disabled,action:r,children:O.jsx("span",{className:"flex items-center justify-center text-sm",children:O.jsx(qh,{fill:t})})}),O.jsx(T.ColorPicker,{selectedColor:t,setSelectedColor:a,onChange:i,disabled:e==null?void 0:e.disabled,colors:e==null?void 0:e.colors,defaultColor:e==null?void 0:e.defaultColor,children:O.jsx(T.Button,{variant:"ghost",size:"icon",className:"r!ichtext-h-[32px] !w-3",disabled:e==null?void 0:e.disabled,children:O.jsx(T.IconComponent,{className:"!w-3 !h-3 text-zinc-500",name:"MenuDown"})})})]})}const zh=jh.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,t:n,extension:i}){return{component:Hh,componentProps:{colors:i.options.colors,defaultColor:i.options.defaultColor,action:r=>{r===void 0&&t.chain().focus().unsetColor().run(),typeof r=="string"&&t.chain().focus().setColor(r).run()},isActive:()=>{const{color:r}=t.getAttributes("textStyle");return r&&t.isActive({color:r})||!1},editor:t,disabled:!t.can().setColor(""),tooltip:n("editor.color.tooltip")}}}}}}),Xh=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,Vh=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,$h=T.Mark.create({name:"highlight",addOptions(){return{multicolor:!1,HTMLAttributes:{}}},addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:e=>e.getAttribute("data-color")||e.style.backgroundColor,renderHTML:e=>e.color?{"data-color":e.color,style:`background-color: ${e.color}; color: inherit`}:{}}}:{}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:e}){return["mark",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setHighlight:e=>({commands:t})=>t.setMark(this.name,e),toggleHighlight:e=>({commands:t})=>t.toggleMark(this.name,e),unsetHighlight:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[T.markInputRule({find:Xh,type:this.type})]},addPasteRules(){return[T.markPasteRule({find:Vh,type:this.type})]}}),Kh=$h.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),multicolor:!0,button:({editor:t,t:n})=>({component:T.HighlightActionButton,componentProps:{action:i=>{typeof i=="string"&&t.chain().focus().setHighlight({color:i}).run(),i===void 0&&t.chain().focus().unsetHighlight().run()},editor:t,isActive:()=>t.isActive("highlight")||!1,disabled:!t.can().setHighlight(),shortcutKeys:["⇧","mod","H"],tooltip:n("editor.highlight.tooltip")}})}}}),Gh="listItem",ls="textStyle",ds=/^\s*([-+*])\s$/,Zh=T.Node.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:e}){return["ul",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Gh,this.editor.getAttributes(ls)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=T.wrappingInputRule({find:ds,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=T.wrappingInputRule({find:ds,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(ls),editor:this.editor})),[e]}}),Yh=Zh.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.toggleBulletList(),isActive:()=>t.isActive("bulletList")||!1,disabled:!1,shortcutKeys:["shift","mod","8"],icon:"List",tooltip:n("editor.bulletlist.tooltip")}})}}}),Qh=T.Node.create({name:"clear",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.chain().focus().clearNodes().unsetAllMarks().run(),disabled:!t.can().chain().focus().clearNodes().unsetAllMarks().run(),icon:"Eraser",tooltip:n("editor.clear.tooltip")}})}}}),Jh="listItem",hs="textStyle",fs=/^(\d+)\.\s$/,ef=T.Node.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return t===1?["ol",T.mergeAttributes(this.options.HTMLAttributes,n),0]:["ol",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Jh,this.editor.getAttributes(hs)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=T.wrappingInputRule({find:fs,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=T.wrappingInputRule({find:fs,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(hs)}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1],editor:this.editor})),[e]}}),tf=ef.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.toggleOrderedList(),isActive:()=>t.isActive("orderedList")||!1,disabled:!1,icon:"ListOrdered",shortcutKeys:["mod","shift","7"],tooltip:n("editor.orderedlist.tooltip")}})}}}),nf=/^\s*(\[([( |x])?\])\s$/,rf=T.Node.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList"}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{const t=e.getAttribute("data-checked");return t===""||t==="true"},renderHTML:e=>({"data-checked":e.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",T.mergeAttributes(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:i})=>{const r=document.createElement("li"),a=document.createElement("label"),o=document.createElement("span"),s=document.createElement("input"),c=document.createElement("div");return a.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",u=>u.preventDefault()),s.addEventListener("change",u=>{if(!i.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}const{checked:l}=u.target;i.isEditable&&typeof n=="function"&&i.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:f})=>{const g=n();if(typeof g!="number")return!1;const d=f.doc.nodeAt(g);return f.setNodeMarkup(g,void 0,{...d==null?void 0:d.attrs,checked:l}),!0}).run(),!i.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,l)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([u,l])=>{r.setAttribute(u,l)}),r.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,a.append(s,o),r.append(a,c),Object.entries(t).forEach(([u,l])=>{r.setAttribute(u,l)}),{dom:r,contentDOM:c,update:u=>u.type!==this.type?!1:(r.dataset.checked=u.attrs.checked,s.checked=u.attrs.checked,!0)}}},addInputRules(){return[T.wrappingInputRule({find:nf,type:this.type,getAttributes:e=>({checked:e[e.length-1]==="x"})})]}}),af=T.Node.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",T.mergeAttributes(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}}),of=af.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{class:"task-list"},taskItem:{HTMLAttributes:{class:"task-list-item"}},button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.toggleTaskList(),isActive:()=>t.isActive("taskList")||!1,disabled:!1,icon:"ListTodo",shortcutKeys:["shift","mod","9"],tooltip:n("editor.tasklist.tooltip")}})}},addExtensions(){return[rf.configure(this.options.taskItem)]}}),sf=/^\s*>\s$/,cf=T.Node.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:e}){return["blockquote",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[T.wrappingInputRule({find:sf,type:this.type})]}}),uf=cf.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{class:"blockquote"},button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.toggleBlockquote(),isActive:()=>t.isActive("blockquote")||!1,disabled:!t.can().toggleBlockquote(),icon:"TextQuote",shortcutKeys:["shift","mod","B"],tooltip:n("editor.blockquote.tooltip")}})}}}),lf="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",df="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",bn=(e,t)=>{for(const n in t)e[n]=t[n];return e},Va="numeric",$a="ascii",Ka="alpha",Mn="asciinumeric",Wn="alphanumeric",Ga="domain",Lu="emoji",hf="scheme",ff="slashscheme",Yr="whitespace";function gf(e,t){return e in t||(t[e]=[]),t[e]}function en(e,t,n){t[Va]&&(t[Mn]=!0,t[Wn]=!0),t[$a]&&(t[Mn]=!0,t[Ka]=!0),t[Mn]&&(t[Wn]=!0),t[Ka]&&(t[Wn]=!0),t[Wn]&&(t[Ga]=!0),t[Lu]&&(t[Ga]=!0);for(const i in t){const r=gf(i,n);r.indexOf(e)<0&&r.push(e)}}function pf(e,t){const n={};for(const i in t)t[i].indexOf(e)>=0&&(n[i]=!0);return n}function Ze(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}Ze.groups={};Ze.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let i=0;i<t.jr.length;i++){const r=t.jr[i][0],a=t.jr[i][1];if(a&&r.test(e))return a}return t.jd},has(e,t=!1){return t?e in this.j:!!this.go(e)},ta(e,t,n,i){for(let r=0;r<e.length;r++)this.tt(e[r],t,n,i)},tr(e,t,n,i){i=i||Ze.groups;let r;return t&&t.j?r=t:(r=new Ze(t),n&&i&&en(t,n,i)),this.jr.push([e,r]),r},ts(e,t,n,i){let r=this;const a=e.length;if(!a)return r;for(let o=0;o<a-1;o++)r=r.tt(e[o]);return r.tt(e[a-1],t,n,i)},tt(e,t,n,i){i=i||Ze.groups;const r=this;if(t&&t.j)return r.j[e]=t,t;const a=t;let o,s=r.go(e);if(s?(o=new Ze,bn(o.j,s.j),o.jr.push.apply(o.jr,s.jr),o.jd=s.jd,o.t=s.t):o=new Ze,a){if(i)if(o.t&&typeof o.t=="string"){const c=bn(pf(o.t,i),n);en(a,c,i)}else n&&en(a,n,i);o.t=a}return r.j[e]=o,o}};const Ee=(e,t,n,i,r)=>e.ta(t,n,i,r),We=(e,t,n,i,r)=>e.tr(t,n,i,r),gs=(e,t,n,i,r)=>e.ts(t,n,i,r),le=(e,t,n,i,r)=>e.tt(t,n,i,r),Tt="WORD",Za="UWORD",Ru="ASCIINUMERICAL",Iu="ALPHANUMERICAL",Xn="LOCALHOST",Ya="TLD",Qa="UTLD",wi="SCHEME",gn="SLASH_SCHEME",ao="NUM",Ja="WS",oo="NL",Pn="OPENBRACE",jn="CLOSEBRACE",Vi="OPENBRACKET",$i="CLOSEBRACKET",Ki="OPENPAREN",Gi="CLOSEPAREN",Zi="OPENANGLEBRACKET",Yi="CLOSEANGLEBRACKET",Qi="FULLWIDTHLEFTPAREN",Ji="FULLWIDTHRIGHTPAREN",er="LEFTCORNERBRACKET",tr="RIGHTCORNERBRACKET",nr="LEFTWHITECORNERBRACKET",ir="RIGHTWHITECORNERBRACKET",rr="FULLWIDTHLESSTHAN",ar="FULLWIDTHGREATERTHAN",or="AMPERSAND",so="APOSTROPHE",sr="ASTERISK",Lt="AT",cr="BACKSLASH",ur="BACKTICK",lr="CARET",It="COLON",co="COMMA",dr="DOLLAR",ft="DOT",hr="EQUALS",uo="EXCLAMATION",rt="HYPHEN",qn="PERCENT",fr="PIPE",gr="PLUS",pr="POUND",Hn="QUERY",lo="QUOTE",Wu="FULLWIDTHMIDDLEDOT",ho="SEMI",gt="SLASH",zn="TILDE",mr="UNDERSCORE",Ou="EMOJI",br="SYM";var Mu=Object.freeze({__proto__:null,WORD:Tt,UWORD:Za,ASCIINUMERICAL:Ru,ALPHANUMERICAL:Iu,LOCALHOST:Xn,TLD:Ya,UTLD:Qa,SCHEME:wi,SLASH_SCHEME:gn,NUM:ao,WS:Ja,NL:oo,OPENBRACE:Pn,CLOSEBRACE:jn,OPENBRACKET:Vi,CLOSEBRACKET:$i,OPENPAREN:Ki,CLOSEPAREN:Gi,OPENANGLEBRACKET:Zi,CLOSEANGLEBRACKET:Yi,FULLWIDTHLEFTPAREN:Qi,FULLWIDTHRIGHTPAREN:Ji,LEFTCORNERBRACKET:er,RIGHTCORNERBRACKET:tr,LEFTWHITECORNERBRACKET:nr,RIGHTWHITECORNERBRACKET:ir,FULLWIDTHLESSTHAN:rr,FULLWIDTHGREATERTHAN:ar,AMPERSAND:or,APOSTROPHE:so,ASTERISK:sr,AT:Lt,BACKSLASH:cr,BACKTICK:ur,CARET:lr,COLON:It,COMMA:co,DOLLAR:dr,DOT:ft,EQUALS:hr,EXCLAMATION:uo,HYPHEN:rt,PERCENT:qn,PIPE:fr,PLUS:gr,POUND:pr,QUERY:Hn,QUOTE:lo,FULLWIDTHMIDDLEDOT:Wu,SEMI:ho,SLASH:gt,TILDE:zn,UNDERSCORE:mr,EMOJI:Ou,SYM:br});const Dt=/[a-z]/,Un=new RegExp("\\p{L}","u"),Qr=new RegExp("\\p{Emoji}","u"),vt=/\d/,Jr=/\s/,ps="\r",ea=`
5
+ `,mf="️",bf="‍",ta="";let ri=null,ai=null;function yf(e=[]){const t={};Ze.groups=t;const n=new Ze;ri==null&&(ri=ms(lf)),ai==null&&(ai=ms(df)),le(n,"'",so),le(n,"{",Pn),le(n,"}",jn),le(n,"[",Vi),le(n,"]",$i),le(n,"(",Ki),le(n,")",Gi),le(n,"<",Zi),le(n,">",Yi),le(n,"(",Qi),le(n,")",Ji),le(n,"「",er),le(n,"」",tr),le(n,"『",nr),le(n,"』",ir),le(n,"<",rr),le(n,">",ar),le(n,"&",or),le(n,"*",sr),le(n,"@",Lt),le(n,"`",ur),le(n,"^",lr),le(n,":",It),le(n,",",co),le(n,"$",dr),le(n,".",ft),le(n,"=",hr),le(n,"!",uo),le(n,"-",rt),le(n,"%",qn),le(n,"|",fr),le(n,"+",gr),le(n,"#",pr),le(n,"?",Hn),le(n,'"',lo),le(n,"/",gt),le(n,";",ho),le(n,"~",zn),le(n,"_",mr),le(n,"\\",cr),le(n,"・",Wu);const i=We(n,vt,ao,{[Va]:!0});We(i,vt,i);const r=We(i,Dt,Ru,{[Mn]:!0}),a=We(i,Un,Iu,{[Wn]:!0}),o=We(n,Dt,Tt,{[$a]:!0});We(o,vt,r),We(o,Dt,o),We(r,vt,r),We(r,Dt,r);const s=We(n,Un,Za,{[Ka]:!0});We(s,Dt),We(s,vt,a),We(s,Un,s),We(a,vt,a),We(a,Dt),We(a,Un,a);const c=le(n,ea,oo,{[Yr]:!0}),u=le(n,ps,Ja,{[Yr]:!0}),l=We(n,Jr,Ja,{[Yr]:!0});le(n,ta,l),le(u,ea,c),le(u,ta,l),We(u,Jr,l),le(l,ps),le(l,ea),We(l,Jr,l),le(l,ta,l);const f=We(n,Qr,Ou,{[Lu]:!0});le(f,"#"),We(f,Qr,f),le(f,mf,f);const g=le(f,bf);le(g,"#"),We(g,Qr,f);const d=[[Dt,o],[vt,r]],x=[[Dt,null],[Un,s],[vt,a]];for(let m=0;m<ri.length;m++)St(n,ri[m],Ya,Tt,d);for(let m=0;m<ai.length;m++)St(n,ai[m],Qa,Za,x);en(Ya,{tld:!0,ascii:!0},t),en(Qa,{utld:!0,alpha:!0},t),St(n,"file",wi,Tt,d),St(n,"mailto",wi,Tt,d),St(n,"http",gn,Tt,d),St(n,"https",gn,Tt,d),St(n,"ftp",gn,Tt,d),St(n,"ftps",gn,Tt,d),en(wi,{scheme:!0,ascii:!0},t),en(gn,{slashscheme:!0,ascii:!0},t),e=e.sort((m,h)=>m[0]>h[0]?1:-1);for(let m=0;m<e.length;m++){const h=e[m][0],p=e[m][1]?{[hf]:!0}:{[ff]:!0};h.indexOf("-")>=0?p[Ga]=!0:Dt.test(h)?vt.test(h)?p[Mn]=!0:p[$a]=!0:p[Va]=!0,gs(n,h,h,p)}return gs(n,"localhost",Xn,{ascii:!0}),n.jd=new Ze(br),{start:n,tokens:bn({groups:t},Mu)}}function Pu(e,t){const n=xf(t.replace(/[A-Z]/g,s=>s.toLowerCase())),i=n.length,r=[];let a=0,o=0;for(;o<i;){let s=e,c=null,u=0,l=null,f=-1,g=-1;for(;o<i&&(c=s.go(n[o]));)s=c,s.accepts()?(f=0,g=0,l=s):f>=0&&(f+=n[o].length,g++),u+=n[o].length,a+=n[o].length,o++;a-=f,o-=g,u-=f,r.push({t:l.t,v:t.slice(a-u,a),s:a-u,e:a})}return r}function xf(e){const t=[],n=e.length;let i=0;for(;i<n;){let r=e.charCodeAt(i),a,o=r<55296||r>56319||i+1===n||(a=e.charCodeAt(i+1))<56320||a>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}function St(e,t,n,i,r){let a;const o=t.length;for(let s=0;s<o-1;s++){const c=t[s];e.j[c]?a=e.j[c]:(a=new Ze(i),a.jr=r.slice(),e.j[c]=a),e=a}return a=new Ze(n),a.jr=r.slice(),e.j[t[o-1]]=a,a}function ms(e){const t=[],n=[];let i=0,r="0123456789";for(;i<e.length;){let a=0;for(;r.indexOf(e[i+a])>=0;)a++;if(a>0){t.push(n.join(""));for(let o=parseInt(e.substring(i,i+a),10);o>0;o--)n.pop();i+=a}else n.push(e[i]),i++}return t}const Vn={defaultProtocol:"http",events:null,format:bs,formatHref:bs,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function fo(e,t=null){let n=bn({},Vn);e&&(n=bn(n,e instanceof fo?e.o:e));const i=n.ignoreTags,r=[];for(let a=0;a<i.length;a++)r.push(i[a].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=r}fo.prototype={o:Vn,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const i=t!=null;let r=this.o[e];return r&&(typeof r=="object"?(r=n.t in r?r[n.t]:Vn[e],typeof r=="function"&&i&&(r=r(t,n))):typeof r=="function"&&i&&(r=r(t,n.t,n)),r)},getObj(e,t,n){let i=this.o[e];return typeof i=="function"&&t!=null&&(i=i(t,n.t,n)),i},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function bs(e){return e}function ju(e,t){this.t="token",this.v=e,this.tk=t}ju.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Vn.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",n,this),r=e.get("tagName",n,t),a=this.toFormattedString(e),o={},s=e.get("className",n,t),c=e.get("target",n,t),u=e.get("rel",n,t),l=e.getObj("attributes",n,t),f=e.getObj("events",n,t);return o.href=i,s&&(o.class=s),c&&(o.target=c),u&&(o.rel=u),l&&bn(o,l),{tagName:r,attributes:o,content:a,eventListeners:f}}};function Tr(e,t){class n extends ju{constructor(r,a){super(r,a),this.t=e}}for(const i in t)n.prototype[i]=t[i];return n.t=e,n}const ys=Tr("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),xs=Tr("text"),Df=Tr("nl"),oi=Tr("url",{isLink:!0,toHref(e=Vn.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Xn&&e[1].t===It}}),tt=e=>new Ze(e);function vf({groups:e}){const t=e.domain.concat([or,sr,Lt,cr,ur,lr,dr,hr,rt,ao,qn,fr,gr,pr,gt,br,zn,mr]),n=[It,co,ft,uo,qn,Hn,lo,ho,Zi,Yi,Pn,jn,$i,Vi,Ki,Gi,Qi,Ji,er,tr,nr,ir,rr,ar],i=[or,so,sr,cr,ur,lr,dr,hr,rt,Pn,jn,qn,fr,gr,pr,Hn,gt,br,zn,mr],r=tt(),a=le(r,zn);Ee(a,i,a),Ee(a,e.domain,a);const o=tt(),s=tt(),c=tt();Ee(r,e.domain,o),Ee(r,e.scheme,s),Ee(r,e.slashscheme,c),Ee(o,i,a),Ee(o,e.domain,o);const u=le(o,Lt);le(a,Lt,u),le(s,Lt,u),le(c,Lt,u);const l=le(a,ft);Ee(l,i,a),Ee(l,e.domain,a);const f=tt();Ee(u,e.domain,f),Ee(f,e.domain,f);const g=le(f,ft);Ee(g,e.domain,f);const d=tt(ys);Ee(g,e.tld,d),Ee(g,e.utld,d),le(u,Xn,d);const x=le(f,rt);le(x,rt,x),Ee(x,e.domain,f),Ee(d,e.domain,f),le(d,ft,g),le(d,rt,x);const m=le(d,It);Ee(m,e.numeric,ys);const h=le(o,rt),b=le(o,ft);le(h,rt,h),Ee(h,e.domain,o),Ee(b,i,a),Ee(b,e.domain,o);const p=tt(oi);Ee(b,e.tld,p),Ee(b,e.utld,p),Ee(p,e.domain,o),Ee(p,i,a),le(p,ft,b),le(p,rt,h),le(p,Lt,u);const D=le(p,It),w=tt(oi);Ee(D,e.numeric,w);const _=tt(oi),U=tt();Ee(_,t,_),Ee(_,n,U),Ee(U,t,_),Ee(U,n,U),le(p,gt,_),le(w,gt,_);const E=le(s,It),L=le(c,It),A=le(L,gt),W=le(A,gt);Ee(s,e.domain,o),le(s,ft,b),le(s,rt,h),Ee(c,e.domain,o),le(c,ft,b),le(c,rt,h),Ee(E,e.domain,_),le(E,gt,_),le(E,Hn,_),Ee(W,e.domain,_),Ee(W,t,_),le(W,gt,_);const N=[[Pn,jn],[Vi,$i],[Ki,Gi],[Zi,Yi],[Qi,Ji],[er,tr],[nr,ir],[rr,ar]];for(let F=0;F<N.length;F++){const[q,v]=N[F],k=le(_,q);le(U,q,k),le(k,v,_);const V=tt(oi);Ee(k,t,V);const P=tt();Ee(k,n),Ee(V,t,V),Ee(V,n,P),Ee(P,t,V),Ee(P,n,P),le(V,v,_),le(P,v,_)}return le(r,Xn,p),le(r,oo,Df),{start:r,tokens:Mu}}function _f(e,t,n){let i=n.length,r=0,a=[],o=[];for(;r<i;){let s=e,c=null,u=null,l=0,f=null,g=-1;for(;r<i&&!(c=s.go(n[r].t));)o.push(n[r++]);for(;r<i&&(u=c||s.go(n[r].t));)c=null,s=u,s.accepts()?(g=0,f=s):g>=0&&g++,r++,l++;if(g<0)r-=l,r<i&&(o.push(n[r]),r++);else{o.length>0&&(a.push(na(xs,t,o)),o=[]),r-=g,l-=g;const d=f.t,x=n.slice(r-l,r);a.push(na(d,t,x))}}return o.length>0&&a.push(na(xs,t,o)),a}function na(e,t,n){const i=n[0].s,r=n[n.length-1].e,a=t.slice(i,r);return new e(a,n)}const wf=typeof console<"u"&&console&&console.warn||(()=>{}),Tf="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ie={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Uf(){return Ze.groups={},Ie.scanner=null,Ie.parser=null,Ie.tokenQueue=[],Ie.pluginQueue=[],Ie.customSchemes=[],Ie.initialized=!1,Ie}function Ds(e,t=!1){if(Ie.initialized&&wf(`linkifyjs: already initialized - will not register custom scheme "${e}" ${Tf}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error(`linkifyjs: incorrect scheme format.
6
+ 1. Must only contain digits, lowercase ASCII letters or "-"
7
+ 2. Cannot start or end with "-"
8
+ 3. "-" cannot repeat`);Ie.customSchemes.push([e,t])}function Ef(){Ie.scanner=yf(Ie.customSchemes);for(let e=0;e<Ie.tokenQueue.length;e++)Ie.tokenQueue[e][1]({scanner:Ie.scanner});Ie.parser=vf(Ie.scanner.tokens);for(let e=0;e<Ie.pluginQueue.length;e++)Ie.pluginQueue[e][1]({scanner:Ie.scanner,parser:Ie.parser});return Ie.initialized=!0,Ie}function go(e){return Ie.initialized||Ef(),_f(Ie.parser.start,e,Pu(Ie.scanner.start,e))}go.scan=Pu;function qu(e,t=null,n=null){if(t&&typeof t=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const i=new fo(n),r=go(e),a=[];for(let o=0;o<r.length;o++){const s=r[o];s.isLink&&(!t||s.t===t)&&i.check(s)&&a.push(s.toFormattedObject(i))}return a}function Af(e){return e.length===1?e[0].isLink:e.length===3&&e[1].isLink?["()","[]"].includes(e[0].value+e[2].value):!1}function Cf(e){return new T.Plugin({key:new T.PluginKey("autolink"),appendTransaction:(t,n,i)=>{const r=t.some(u=>u.docChanged)&&!n.doc.eq(i.doc),a=t.some(u=>u.getMeta("preventAutolink"));if(!r||a)return;const{tr:o}=i,s=T.combineTransactionSteps(n.doc,[...t]);if(T.getChangedRanges(s).forEach(({newRange:u})=>{const l=T.findChildrenInRange(i.doc,u,d=>d.isTextblock);let f,g;if(l.length>1?(f=l[0],g=i.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):l.length&&i.doc.textBetween(u.from,u.to," "," ").endsWith(" ")&&(f=l[0],g=i.doc.textBetween(f.pos,u.to,void 0," ")),f&&g){const d=g.split(" ").filter(b=>b!=="");if(d.length<=0)return!1;const x=d[d.length-1],m=f.pos+g.lastIndexOf(x);if(!x)return!1;const h=go(x).map(b=>b.toObject(e.defaultProtocol));if(!Af(h))return!1;h.filter(b=>b.isLink).map(b=>({...b,from:m+b.start+1,to:m+b.end+1})).filter(b=>i.schema.marks.code?!i.doc.rangeHasMark(b.from,b.to,i.schema.marks.code):!0).filter(b=>e.validate(b.value)).filter(b=>e.shouldAutoLink(b.value)).forEach(b=>{T.getMarksBetween(b.from,b.to,i.doc).some(p=>p.mark.type===e.type)||o.addMark(b.from,b.to,e.type.create({href:b.href}))})}}),!!o.steps.length)return o}})}function kf(e){return new T.Plugin({key:new T.PluginKey("handleClickLink"),props:{handleClick:(t,n,i)=>{var r,a;if(i.button!==0||!t.editable)return!1;let o=i.target;const s=[];for(;o.nodeName!=="DIV";)s.push(o),o=o.parentNode;if(!s.find(g=>g.nodeName==="A"))return!1;const c=T.getAttributes(t.state,e.type.name),u=i.target,l=(r=u==null?void 0:u.href)!==null&&r!==void 0?r:c.href,f=(a=u==null?void 0:u.target)!==null&&a!==void 0?a:c.target;return u&&l?(window.open(l,f),!0):!1}}})}function Ff(e){return new T.Plugin({key:new T.PluginKey("handlePasteLink"),props:{handlePaste:(t,n,i)=>{const{state:r}=t,{selection:a}=r,{empty:o}=a;if(o)return!1;let s="";i.content.forEach(u=>{s+=u.textContent});const c=qu(s,{defaultProtocol:e.defaultProtocol}).find(u=>u.isLink&&u.value===s);return!s||!c?!1:e.editor.commands.setMark(e.type,{href:c.href})}}})}const Sf=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function $t(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(i=>{const r=typeof i=="string"?i:i.scheme;r&&n.push(r)}),!e||e.replace(Sf,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const Bf=T.Mark.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{if(typeof e=="string"){Ds(e);return}Ds(e.scheme,e.optionalSlashes)})},onDestroy(){Uf()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!$t(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!t||!this.options.isAllowedUri(t,{defaultValidate:n=>!!$t(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:t=>!!$t(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",T.mergeAttributes(this.options.HTMLAttributes,e),0]:["a",T.mergeAttributes(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:i=>!!$t(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().setMark(this.name,e).setMeta("preventAutolink",!0).run():!1},toggleLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:i=>!!$t(i,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[T.markPasteRule({find:e=>{const t=[];if(e){const{protocols:n,defaultProtocol:i}=this.options,r=qu(e).filter(a=>a.isLink&&this.options.isAllowedUri(a.value,{defaultValidate:o=>!!$t(o,n),protocols:n,defaultProtocol:i}));r.length&&r.forEach(a=>t.push({text:a.value,data:{href:a.href},index:a.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:(t=e.data)===null||t===void 0?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(Cf({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:i=>this.options.isAllowedUri(i,{defaultValidate:r=>!!$t(r,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&e.push(kf({type:this.type})),this.options.linkOnPaste&&e.push(Ff({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}});function Nf(e){const[t,n]=pe.useState(!1);function i(r,a,o){e.action&&(e.action({link:r,text:a,openInNewTab:o}),n(!1))}return O.jsxs(T.Popover,{modal:!0,open:t,onOpenChange:n,children:[O.jsx(T.PopoverTrigger,{disabled:e==null?void 0:e.disabled,asChild:!0,children:O.jsx(T.ActionButton,{tooltip:e==null?void 0:e.tooltip,isActive:e==null?void 0:e.isActive,disabled:e==null?void 0:e.disabled,children:O.jsx(T.IconComponent,{name:e==null?void 0:e.icon})})}),O.jsx(T.PopoverContent,{hideWhenDetached:!0,className:"w-full",align:"start",side:"bottom",children:O.jsx(T.LinkEditBlock,{editor:e.editor,onSetLink:i})})]})}const Lf=Bf.extend({inclusive:!1,parseHTML(){return[{tag:'a[href]:not([data-type="button"]):not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:e}){return["a",T.mergeAttributes(this.options.HTMLAttributes,e,{class:"link"}),0]},addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),openOnClick:!0,button:({editor:t,t:n})=>({component:Nf,componentProps:{editor:t,action:i=>{const{link:r,text:a,openInNewTab:o}=i;t.chain().extendMarkRange("link").insertContent({type:"text",text:a,marks:[{type:"link",attrs:{href:r,target:o?"_blank":""}}]}).setLink({href:r}).focus().run()},id:"linkk",isActive:()=>t.isActive("link")||!1,disabled:!t.can().setLink({href:""}),icon:"Link",tooltip:n("editor.link.tooltip")}})}},addProseMirrorPlugins(){return[new T.Plugin({props:{handleClick:(e,t)=>{const{schema:n,doc:i,tr:r}=e.state,a=T.getMarkRange(i.resolve(t),n.marks.link);if(!a)return!1;const o=i.resolve(a.from),s=i.resolve(a.to),c=r.setSelection(new T.TextSelection(o,s));e.dispatch(c)}}})]}}),Rf=T.Node.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:e}){return["hr",T.mergeAttributes(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{const{selection:n}=t,{$from:i,$to:r}=n,a=e();return i.parentOffset===0?a.insertContentAt({from:Math.max(i.pos-1,0),to:r.pos},{type:this.name}):T.isNodeSelection(n)?a.insertContentAt(r.pos,{type:this.name}):a.insertContent({type:this.name}),a.command(({tr:o,dispatch:s})=>{var c;if(s){const{$to:u}=o.selection,l=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(T.TextSelection.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(T.NodeSelection.create(o.doc,u.pos)):o.setSelection(T.TextSelection.create(o.doc,u.pos));else{const f=(c=u.parent.type.contentMatch.defaultType)===null||c===void 0?void 0:c.create();f&&(o.insert(l,f),o.setSelection(T.TextSelection.create(o.doc,l+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[T.nodeInputRule({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),If=Rf.extend({renderHTML(){return["div",T.mergeAttributes(this.options.HTMLAttributes,{"data-type":this.name}),["hr"]]},addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.commands.setHorizontalRule(),disabled:!t.can().setHorizontalRule(),icon:"Minus",shortcutKeys:["mod","alt","S"],tooltip:n("editor.horizontalrule.tooltip")}})}},addKeyboardShortcuts(){return{"Mod-Alt-s":()=>this.editor.commands.setHorizontalRule()}}});var yr=200,He=function(){};He.prototype.append=function(t){return t.length?(t=He.from(t),!this.length&&t||t.length<yr&&this.leafAppend(t)||this.length<yr&&t.leafPrepend(this)||this.appendInner(t)):this};He.prototype.prepend=function(t){return t.length?He.from(t).append(this):this};He.prototype.appendInner=function(t){return new Wf(this,t)};He.prototype.slice=function(t,n){return t===void 0&&(t=0),n===void 0&&(n=this.length),t>=n?He.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,n))};He.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)};He.prototype.forEach=function(t,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length),n<=i?this.forEachInner(t,n,i,0):this.forEachInvertedInner(t,n,i,0)};He.prototype.map=function(t,n,i){n===void 0&&(n=0),i===void 0&&(i=this.length);var r=[];return this.forEach(function(a,o){return r.push(t(a,o))},n,i),r};He.from=function(t){return t instanceof He?t:t&&t.length?new Hu(t):He.empty};var Hu=function(e){function t(i){e.call(this),this.values=i}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,a){return r==0&&a==this.length?this:new t(this.values.slice(r,a))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,a,o,s){for(var c=a;c<o;c++)if(r(this.values[c],s+c)===!1)return!1},t.prototype.forEachInvertedInner=function(r,a,o,s){for(var c=a-1;c>=o;c--)if(r(this.values[c],s+c)===!1)return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=yr)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=yr)return new t(r.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(He);He.empty=new Hu([]);var Wf=function(e){function t(n,i){e.call(this),this.left=n,this.right=i,this.length=n.length+i.length,this.depth=Math.max(n.depth,i.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(i){return i<this.left.length?this.left.get(i):this.right.get(i-this.left.length)},t.prototype.forEachInner=function(i,r,a,o){var s=this.left.length;if(r<s&&this.left.forEachInner(i,r,Math.min(a,s),o)===!1||a>s&&this.right.forEachInner(i,Math.max(r-s,0),Math.min(this.length,a)-s,o+s)===!1)return!1},t.prototype.forEachInvertedInner=function(i,r,a,o){var s=this.left.length;if(r>s&&this.right.forEachInvertedInner(i,r-s,Math.max(a,s)-s,o+s)===!1||a<s&&this.left.forEachInvertedInner(i,Math.min(r,s),a,o)===!1)return!1},t.prototype.sliceInner=function(i,r){if(i==0&&r==this.length)return this;var a=this.left.length;return r<=a?this.left.slice(i,r):i>=a?this.right.slice(i-a,r-a):this.left.slice(i,a).append(this.right.slice(0,r-a))},t.prototype.leafAppend=function(i){var r=this.right.leafAppend(i);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(i){var r=this.left.leafPrepend(i);if(r)return new t(r,this.right)},t.prototype.appendInner=function(i){return this.left.depth>=Math.max(this.right.depth,i.depth)+1?new t(this.left,new t(this.right,i)):new t(this,i)},t}(He);const Of=500;class ut{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let i=this.items.length;for(;;i--)if(this.items.get(i-1).selection){--i;break}let r,a;n&&(r=this.remapping(i,this.items.length),a=r.maps.length);let o=t.tr,s,c,u=[],l=[];return this.items.forEach((f,g)=>{if(!f.step){r||(r=this.remapping(i,g+1),a=r.maps.length),a--,l.push(f);return}if(r){l.push(new pt(f.map));let d=f.step.map(r.slice(a)),x;d&&o.maybeStep(d).doc&&(x=o.mapping.maps[o.mapping.maps.length-1],u.push(new pt(x,void 0,void 0,u.length+l.length))),a--,x&&r.appendMap(x,a)}else o.maybeStep(f.step);if(f.selection)return s=r?f.selection.map(r.slice(a)):f.selection,c=new ut(this.items.slice(0,i).append(l.reverse().concat(u)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:o,selection:s}}addTransform(t,n,i,r){let a=[],o=this.eventCount,s=this.items,c=!r&&s.length?s.get(s.length-1):null;for(let l=0;l<t.steps.length;l++){let f=t.steps[l].invert(t.docs[l]),g=new pt(t.mapping.maps[l],f,n),d;(d=c&&c.merge(g))&&(g=d,l?a.pop():s=s.slice(0,s.length-1)),a.push(g),n&&(o++,n=void 0),r||(c=g)}let u=o-i.depth;return u>Pf&&(s=Mf(s,u),o-=u),new ut(s.append(a),o)}remapping(t,n){let i=new T.Mapping;return this.items.forEach((r,a)=>{let o=r.mirrorOffset!=null&&a-r.mirrorOffset>=t?i.maps.length-r.mirrorOffset:void 0;i.appendMap(r.map,o)},t,n),i}addMaps(t){return this.eventCount==0?this:new ut(this.items.append(t.map(n=>new pt(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let i=[],r=Math.max(0,this.items.length-n),a=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach(g=>{g.selection&&s--},r);let c=n;this.items.forEach(g=>{let d=a.getMirror(--c);if(d==null)return;o=Math.min(o,d);let x=a.maps[d];if(g.step){let m=t.steps[d].invert(t.docs[d]),h=g.selection&&g.selection.map(a.slice(c+1,d));h&&s++,i.push(new pt(x,m,h))}else i.push(new pt(x))},r);let u=[];for(let g=n;g<o;g++)u.push(new pt(a.maps[g]));let l=this.items.slice(0,r).append(u).append(i),f=new ut(l,s);return f.emptyItemCount()>Of&&(f=f.compress(this.items.length-i.length)),f}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),i=n.maps.length,r=[],a=0;return this.items.forEach((o,s)=>{if(s>=t)r.push(o),o.selection&&a++;else if(o.step){let c=o.step.map(n.slice(i)),u=c&&c.getMap();if(i--,u&&n.appendMap(u,i),c){let l=o.selection&&o.selection.map(n.slice(i));l&&a++;let f=new pt(u.invert(),c,l),g,d=r.length-1;(g=r.length&&r[d].merge(f))?r[d]=g:r.push(f)}}else o.map&&i--},this.items.length,0),new ut(He.from(r.reverse()),a)}}ut.empty=new ut(He.empty,0);function Mf(e,t){let n;return e.forEach((i,r)=>{if(i.selection&&t--==0)return n=r,!1}),e.slice(n)}class pt{constructor(t,n,i,r){this.map=t,this.step=n,this.selection=i,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new pt(n.getMap().invert(),n,this.selection)}}}class Rt{constructor(t,n,i,r,a){this.done=t,this.undone=n,this.prevRanges=i,this.prevTime=r,this.prevComposition=a}}const Pf=20;function jf(e,t,n,i){let r=n.getMeta(tn),a;if(r)return r.historyState;n.getMeta(zf)&&(e=new Rt(e.done,e.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(o&&o.getMeta(tn))return o.getMeta(tn).redo?new Rt(e.done.addTransform(n,void 0,i,Ti(t)),e.undone,vs(n.mapping.maps),e.prevTime,e.prevComposition):new Rt(e.done,e.undone.addTransform(n,void 0,i,Ti(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),c=e.prevTime==0||!o&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-i.newGroupDelay||!qf(n,e.prevRanges)),u=o?ia(e.prevRanges,n.mapping):vs(n.mapping.maps);return new Rt(e.done.addTransform(n,c?t.selection.getBookmark():void 0,i,Ti(t)),ut.empty,u,n.time,s??e.prevComposition)}else return(a=n.getMeta("rebased"))?new Rt(e.done.rebased(n,a),e.undone.rebased(n,a),ia(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new Rt(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),ia(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function qf(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((i,r)=>{for(let a=0;a<t.length;a+=2)i<=t[a+1]&&r>=t[a]&&(n=!0)}),n}function vs(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((i,r,a,o)=>t.push(a,o));return t}function ia(e,t){if(!e)return null;let n=[];for(let i=0;i<e.length;i+=2){let r=t.map(e[i],1),a=t.map(e[i+1],-1);r<=a&&n.push(r,a)}return n}function Hf(e,t,n){let i=Ti(t),r=tn.get(t).spec.config,a=(n?e.undone:e.done).popEvent(t,i);if(!a)return null;let o=a.selection.resolve(a.transform.doc),s=(n?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),r,i),c=new Rt(n?s:a.remaining,n?a.remaining:s,null,0,-1);return a.transform.setSelection(o).setMeta(tn,{redo:n,historyState:c})}let ra=!1,_s=null;function Ti(e){let t=e.plugins;if(_s!=t){ra=!1,_s=t;for(let n=0;n<t.length;n++)if(t[n].spec.historyPreserveItems){ra=!0;break}}return ra}const tn=new T.PluginKey("history"),zf=new T.PluginKey("closeHistory");function Xf(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new T.Plugin({key:tn,state:{init(){return new Rt(ut.empty,ut.empty,null,0,-1)},apply(t,n,i){return jf(n,i,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(t,n){let i=n.inputType,r=i=="historyUndo"?Xu:i=="historyRedo"?Vu:null;return r?(n.preventDefault(),r(t.state,t.dispatch)):!1}}}})}function zu(e,t){return(n,i)=>{let r=tn.getState(n);if(!r||(e?r.undone:r.done).eventCount==0)return!1;if(i){let a=Hf(r,n,e);a&&i(t?a.scrollIntoView():a)}return!0}}const Xu=zu(!1,!0),Vu=zu(!0,!0),Vf=T.Extension.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>Xu(e,t),redo:()=>({state:e,dispatch:t})=>Vu(e,t)}},addProseMirrorPlugins(){return[Xf(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}});function $f(e){var u;const{icon:t=void 0,tooltip:n=void 0,customClass:i="",tooltipOptions:r={},action:a=void 0,isActive:o=void 0,children:s}=e,c=T.icons[t];return O.jsxs(T.Tooltip,{children:[O.jsx(T.TooltipTrigger,{asChild:!0,children:O.jsxs(T.Toggle,{size:"sm",className:`w-[32px] h-[32px] ${i}`,disabled:o==null?void 0:o(),onClick:a,children:[c&&O.jsx(c,{className:"w-4 h-4"}),s&&O.jsx(O.Fragment,{children:s})]})}),n&&O.jsx(T.TooltipContent,{...r,children:O.jsxs("div",{className:"flex flex-col items-center text-center max-w-24",children:[O.jsx("div",{children:n}),!!((u=e==null?void 0:e.shortcutKeys)!=null&&u.length)&&O.jsx("span",{children:T.getShortcutKeys(e==null?void 0:e.shortcutKeys)})]})})]})}const Kf=["undo","redo"],Gf=Vf.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),depth:100,newGroupDelay:500,button:({editor:t,t:n})=>Kf.map(i=>({component:$f,componentProps:{action:()=>{i==="undo"&&t.chain().focus().undo().run(),i==="redo"&&t.chain().focus().redo().run()},shortcutKeys:i==="undo"?["mod","Z"]:["shift","mod","Z"],disabled:i==="undo"?!t.can().undo():!t.can().redo(),isActive:()=>i==="undo"?!t.can().undo():!t.can().redo(),icon:i==="undo"?"Undo2":"Redo2",tooltip:n(`editor.${i}.tooltip`)}}))}}}),Zf=T.Extension.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:e=>e.length,wordCounter:e=>e.split(" ").filter(t=>t!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc;if(((e==null?void 0:e.mode)||this.options.mode)==="textSize"){const i=t.textBetween(0,t.content.size,void 0," ");return this.options.textCounter(i)}return t.nodeSize},this.storage.words=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc,n=t.textBetween(0,t.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new T.Plugin({key:new T.PluginKey("characterCount"),appendTransaction:(t,n,i)=>{if(e)return;const r=this.options.limit;if(r==null||r===0){e=!0;return}const a=this.storage.characters({node:i.doc});if(a>r){const o=a-r,s=0,c=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${r} characters. Content was automatically trimmed.`);const u=i.tr.deleteRange(s,c);return e=!0,u}e=!0},filterTransaction:(t,n)=>{const i=this.options.limit;if(!t.docChanged||i===0||i===null||i===void 0)return!0;const r=this.storage.characters({node:n.doc}),a=this.storage.characters({node:t.doc});if(a<=i||r>i&&a>i&&a<=r)return!0;if(r>i&&a>i&&a>r||!t.getMeta("paste"))return!1;const s=t.selection.$head.pos,c=a-i,u=s-c,l=s;return t.deleteRange(u,l),!(this.storage.characters({node:t.doc})>i)}})]}});function Yf(e={}){return new T.Plugin({view(t){return new Qf(t,e)}})}class Qf{constructor(t,n){var i;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(i=n.width)!==null&&i!==void 0?i:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(r=>{let a=o=>{this[r](o)};return t.dom.addEventListener(r,a),{name:r,handler:a}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,i;if(n){let s=t.nodeBefore,c=t.nodeAfter;if(s||c){let u=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(u){let l=u.getBoundingClientRect(),f=s?l.bottom:l.top;s&&c&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),i={left:l.left,right:l.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!i){let s=this.editorView.coordsAtPos(this.cursorPos);i={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let r=this.editorView.dom.offsetParent;this.element||(this.element=r.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let a,o;if(!r||r==document.body&&getComputedStyle(r).position=="static")a=-pageXOffset,o=-pageYOffset;else{let s=r.getBoundingClientRect();a=s.left-r.scrollLeft,o=s.top-r.scrollTop}this.element.style.left=i.left-a+"px",this.element.style.top=i.top-o+"px",this.element.style.width=i.right-i.left+"px",this.element.style.height=i.bottom-i.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),i=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),r=i&&i.type.spec.disableDropCursor,a=typeof r=="function"?r(this.editorView,n,t):r;if(n&&!a){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=T.dropPoint(this.editorView.state.doc,o,this.editorView.dragging.slice);s!=null&&(o=s)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}const Jf=T.Extension.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[Yf(this.options)]}}),eg=T.Extension.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new T.Plugin({key:new T.PluginKey("focus"),props:{decorations:({doc:e,selection:t})=>{const{isEditable:n,isFocused:i}=this.editor,{anchor:r}=t,a=[];if(!n||!i)return T.DecorationSet.create(e,[]);let o=0;this.options.mode==="deepest"&&e.descendants((c,u)=>{if(c.isText)return;if(!(r>=u&&r<=u+c.nodeSize-1))return!1;o+=1});let s=0;return e.descendants((c,u)=>{if(c.isText||!(r>=u&&r<=u+c.nodeSize-1))return!1;if(s+=1,this.options.mode==="deepest"&&o-s>0||this.options.mode==="shallowest"&&s>1)return this.options.mode==="deepest";a.push(T.Decoration.node(u,u+c.nodeSize,{class:this.options.className}))}),T.DecorationSet.create(e,a)}}})]}});class Oe extends T.Selection{constructor(t){super(t,t)}map(t,n){let i=t.resolve(n.map(this.head));return Oe.valid(i)?new Oe(i):T.Selection.near(i)}content(){return T.Slice.empty}eq(t){return t instanceof Oe&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Oe(t.resolve(n.pos))}getBookmark(){return new po(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!tg(t)||!ng(t))return!1;let i=n.type.spec.allowGapCursor;if(i!=null)return i;let r=n.contentMatchAt(t.index()).defaultType;return r&&r.isTextblock}static findGapCursorFrom(t,n,i=!1){e:for(;;){if(!i&&Oe.valid(t))return t;let r=t.pos,a=null;for(let o=t.depth;;o--){let s=t.node(o);if(n>0?t.indexAfter(o)<s.childCount:t.index(o)>0){a=s.child(n>0?t.indexAfter(o):t.index(o)-1);break}else if(o==0)return null;r+=n;let c=t.doc.resolve(r);if(Oe.valid(c))return c}for(;;){let o=n>0?a.firstChild:a.lastChild;if(!o){if(a.isAtom&&!a.isText&&!T.NodeSelection.isSelectable(a)){t=t.doc.resolve(r+a.nodeSize*n),i=!1;continue e}break}a=o,r+=n;let s=t.doc.resolve(r);if(Oe.valid(s))return s}return null}}}Oe.prototype.visible=!1;Oe.findFrom=Oe.findGapCursorFrom;T.Selection.jsonID("gapcursor",Oe);class po{constructor(t){this.pos=t}map(t){return new po(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Oe.valid(n)?new Oe(n):T.Selection.near(n)}}function tg(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),i=e.node(t);if(n==0){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n-1);;r=r.lastChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function ng(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),i=e.node(t);if(n==i.childCount){if(i.type.spec.isolating)return!0;continue}for(let r=i.child(n);;r=r.firstChild){if(r.childCount==0&&!r.inlineContent||r.isAtom||r.type.spec.isolating)return!0;if(r.inlineContent)return!1}}return!0}function ig(){return new T.Plugin({props:{decorations:sg,createSelectionBetween(e,t,n){return t.pos==n.pos&&Oe.valid(n)?new Oe(n):null},handleClick:ag,handleKeyDown:rg,handleDOMEvents:{beforeinput:og}}})}const rg=T.keydownHandler({ArrowLeft:si("horiz",-1),ArrowRight:si("horiz",1),ArrowUp:si("vert",-1),ArrowDown:si("vert",1)});function si(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(i,r,a){let o=i.selection,s=t>0?o.$to:o.$from,c=o.empty;if(o instanceof T.TextSelection){if(!a.endOfTextblock(n)||s.depth==0)return!1;c=!1,s=i.doc.resolve(t>0?s.after():s.before())}let u=Oe.findGapCursorFrom(s,t,c);return u?(r&&r(i.tr.setSelection(new Oe(u))),!0):!1}}function ag(e,t,n){if(!e||!e.editable)return!1;let i=e.state.doc.resolve(t);if(!Oe.valid(i))return!1;let r=e.posAtCoords({left:n.clientX,top:n.clientY});return r&&r.inside>-1&&T.NodeSelection.isSelectable(e.state.doc.nodeAt(r.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Oe(i))),!0)}function og(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Oe))return!1;let{$from:n}=e.state.selection,i=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!i)return!1;let r=T.Fragment.empty;for(let o=i.length-1;o>=0;o--)r=T.Fragment.from(i[o].createAndFill(null,r));let a=e.state.tr.replace(n.pos,n.pos,new T.Slice(r,0,0));return a.setSelection(T.TextSelection.near(a.doc.resolve(n.pos+1))),e.dispatch(a),!1}function sg(e){if(!(e.selection instanceof Oe))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",T.DecorationSet.create(e.doc,[T.Decoration.widget(e.selection.head,t,{key:"gapcursor"})])}const cg=T.Extension.create({name:"gapCursor",addProseMirrorPlugins(){return[ig()]},extendNodeSchema(e){var t;const n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:(t=T.callOrReturn(T.getExtensionField(e,"allowGapCursor",n)))!==null&&t!==void 0?t:null}}}),ug=T.Node.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:e}){return["br",T.mergeAttributes(this.options.HTMLAttributes,e)]},renderText(){return`
9
+ `},addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:i})=>e.first([()=>e.exitCode(),()=>e.command(()=>{const{selection:r,storedMarks:a}=n;if(r.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:s}=i.extensionManager,c=a||r.$to.parentOffset&&r.$from.marks();return t().insertContent({type:this.name}).command(({tr:u,dispatch:l})=>{if(l&&c&&o){const f=c.filter(g=>s.includes(g.type.name));u.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),lg=T.Node.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),dg=T.Node.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:e}){return["p",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),hg=T.Extension.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new T.Plugin({key:new T.PluginKey("placeholder"),props:{decorations:({doc:e,selection:t})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=t,r=[];if(!n)return null;const a=this.editor.isEmpty;return e.descendants((o,s)=>{const c=i>=s&&i<=s+o.nodeSize,u=!o.isLeaf&&T.isNodeEmpty(o);if((c||!this.options.showOnlyCurrent)&&u){const l=[this.options.emptyNodeClass];a&&l.push(this.options.emptyEditorClass);const f=T.Decoration.node(s,s+o.nodeSize,{class:l.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:o,pos:s,hasAnchor:c}):this.options.placeholder});r.push(f)}return this.options.includeChildren}),T.DecorationSet.create(e,r)}}})]}}),fg=T.Node.create({name:"text",group:"inline"}),gg=T.Node.create({name:"doc",topNode:!0,content:"block+"}),pg=gg.extend({content:"(block|columns)+"}),mg=T.Extension.create({name:"columnActionButton",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>{t.chain().focus().insertColumns({cols:2}).run()},icon:"Columns",tooltip:n("editor.columns.tooltip")}})}}}),bg=T.Extension.create({name:"selection",addProseMirrorPlugins(){const{editor:e}=this;return[new T.Plugin({key:new T.PluginKey("selection"),props:{decorations(t){return t.selection.empty||e.isFocused===!0?null:T.DecorationSet.create(t.doc,[T.Decoration.inline(t.selection.from,t.selection.to,{class:"selection"})])}}})]}});function yg(e){const{t}=Ce.useLocale(),n=pe.useMemo(()=>[{name:"paragraph",label:t("editor.paragraph.tooltip"),iconName:"Heading1",isActive:()=>e.editor.isActive("paragraph")&&!e.editor.isActive("orderedList")&&!e.editor.isActive("bulletList")&&!e.editor.isActive("taskList"),action:()=>e.editor.chain().focus().clearNodes().run()},{name:"heading1",label:t("editor.heading.h1.tooltip"),isActive:()=>e.editor.isActive("heading",{level:1}),iconName:"Heading1",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:1}).run()},{name:"heading2",label:t("editor.heading.h2.tooltip"),isActive:()=>e.editor.isActive("heading",{level:2}),iconName:"Heading2",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:2}).run()},{name:"heading3",label:t("editor.heading.h3.tooltip"),isActive:()=>e.editor.isActive("heading",{level:3}),iconName:"Heading3",action:()=>e.editor.chain().focus().clearNodes().toggleHeading({level:3}).run()},{name:"bulletList",label:t("editor.bulletlist.tooltip"),isActive:()=>e.editor.isActive("bulletList"),iconName:"List",action:()=>e.editor.chain().focus().clearNodes().toggleBulletList().run()},{name:"numberedList",label:t("editor.orderedlist.tooltip"),isActive:()=>e.editor.isActive("orderedList"),iconName:"ListOrdered",action:()=>e.editor.chain().focus().clearNodes().toggleOrderedList().run()},{name:"taskList",label:t("editor.tasklist.tooltip"),isActive:()=>e.editor.isActive("taskList"),iconName:"ListTodo",action:()=>e.editor.chain().focus().clearNodes().toggleTaskList().run()},{name:"blockquote",label:t("editor.blockquote.tooltip"),isActive:()=>e.editor.isActive("blockquote"),iconName:"TextQuote",action:()=>e.editor.chain().focus().clearNodes().toggleBlockquote().run()},{name:"codeBlock",label:t("editor.codeblock.tooltip"),isActive:()=>e.editor.isActive("codeBlock"),iconName:"Code2",action:()=>e.editor.chain().focus().clearNodes().toggleCodeBlock().run()}],[e.editor,t]),i=pe.useMemo(()=>n.findLast(r=>r.isActive())??{label:"Empty"},[n]);return O.jsxs(T.DropdownMenu,{children:[O.jsx(T.DropdownMenuTrigger,{asChild:!0,children:O.jsxs(T.Button,{className:"flex h-[32px] gap-1 px-1.5",variant:"ghost",children:[O.jsxs("span",{className:"whitespace-nowrap text-sm font-normal",children:[" ",i==null?void 0:i.label]}),O.jsx($e.ChevronDown,{className:"size-4"})]})}),O.jsx(T.DropdownMenuContent,{align:"start",className:"w-full p-1",hideWhenDetached:!0,sideOffset:5,children:n.map((r,a)=>{var s;const o=T.icons[r.iconName];return O.jsx(T.DropdownMenuCheckboxItem,{checked:((s=r.isActive)==null?void 0:s.call(r))||!1,className:"cursor-pointer",onClick:()=>r.action(),children:O.jsxs("div",{className:"flex items-center gap-2 px-2",children:[O.jsx(o,{className:"h3 w-3"}),O.jsxs("span",{children:[" ",r.label]})]})},`text-bubble-${a}`)})})]})}const xg=T.Extension.create({name:"text-bubble",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),toolbar:!1,button:()=>({component:yg,componentProps:{}})}}});function ws({types:e,node:t}){return Array.isArray(e)&&e.includes(t.type)||t.type===e}const Dg=T.Extension.create({name:"trailingNode",addOptions(){return{node:"paragraph",notAfter:["paragraph"]}},addProseMirrorPlugins(){const e=new T.PluginKey(this.name),t=Object.entries(this.editor.schema.nodes).map(([,n])=>n).filter(n=>this.options.notAfter.includes(n.name));return[new T.Plugin({key:e,appendTransaction:(n,i,r)=>{const{doc:a,tr:o,schema:s}=r,c=e.getState(r),u=a.content.size,l=s.nodes[this.options.node];if(c)return o.insert(u,l.create())},state:{init:(n,i)=>{const r=i.tr.doc.lastChild;return!ws({node:r,types:t})},apply:(n,i)=>{if(!n.docChanged)return i;const r=n.doc.lastChild;return!ws({node:r,types:t})}}})]}}),vg=T.Extension.create({name:"base-kit",addExtensions(){const e=[];return this.options.document!==!1&&e.push(pg.configure()),this.options.placeholder!==!1&&e.push(hg.configure({placeholder:({node:t,pos:n,editor:i})=>{var r,a,o,s,c;return((r=t==null?void 0:t.type)==null?void 0:r.name)==="columns"||((a=t==null?void 0:t.content)==null?void 0:a.size)!==0?"":((o=t==null?void 0:t.type)==null?void 0:o.name)==="heading"?`${Ce.localeActions.t(`editor.heading.h${t.attrs.level}.tooltip`)}`:((s=t==null?void 0:t.type)==null?void 0:s.name)==="codeBlock"||((c=t==null?void 0:t.type)==null?void 0:c.name)==="table"?"":i.extensionManager.extensions.some(u=>u.name==="slashCommand")?Ce.localeActions.t("editor.slash"):Ce.localeActions.t("editor.content")},...this.options.placeholder})),this.options.focus!==!1&&e.push(eg.configure({className:"focus",...this.options.focus})),this.options.text!==!1&&e.push(fg.configure()),this.options.textBubble!==!1&&e.push(xg.configure()),this.options.gapcursor!==!1&&e.push(cg.configure()),this.options.dropcursor!==!1&&e.push(Jf.configure({...this.options.dropcursor,width:2,class:"ProseMirror-dropcursor border-black"})),this.options.characterCount!==!1&&e.push(Zf.configure(this.options.characterCount)),this.options.paragraph!==!1&&e.push(dg.configure(this.options.paragraph)),this.options.hardBreak!==!1&&e.push(ug.configure(this.options.hardBreak)),this.options.listItem!==!1&&e.push(lg.configure(this.options.listItem)),this.options.textStyle!==!1&&e.push(kh.configure(this.options.textStyle)),this.options.trailingNode!==!1&&e.push(Dg.configure(this.options.trailingNode)),this.options.selection!==!1&&e.push(bg),this.options.multiColumn!==!1&&e.push(T.Column,T.MultiColumn),e}}),$u=T.Mark.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(e){return e!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sub",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setSubscript:()=>({commands:e})=>e.setMark(this.name),toggleSubscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSubscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),Ku=T.Mark.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(e){return e!=="super"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sup",T.mergeAttributes(this.options.HTMLAttributes,e),0]},addCommands(){return{setSuperscript:()=>({commands:e})=>e.setMark(this.name),toggleSuperscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSuperscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),_g=T.Extension.create({name:"subAndSuperScript",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,extension:n,t:i})=>{const r=n.options.subscript,a=n.options.superscript,o={component:T.ActionButton,componentProps:{action:()=>t.commands.toggleSubscript(),isActive:()=>t.isActive("subscript")||!1,disabled:!t.can().toggleSubscript(),icon:"Subscript",tooltip:i("editor.subscript.tooltip")}},s={component:T.ActionButton,componentProps:{action:()=>t.commands.toggleSuperscript(),isActive:()=>t.isActive("superscript")||!1,disabled:!t.can().toggleSuperscript(),icon:"Superscript",tooltip:i("editor.superscript.tooltip")}},c=[];return r!==!1&&c.push(o),a!==!1&&c.push(s),c}}},addExtensions(){const e=[];return this.options.subscript!==!1&&e.push($u.configure(this.options.subscript)),this.options.superscript!==!1&&e.push(Ku.configure(this.options.superscript)),e}});function wg(e){var n;const t=pe.useMemo(()=>{var a;const i=(a=e==null?void 0:e.items)==null?void 0:a.find(o=>o.isActive());return i&&!i.default?{...i,icon:i!=null&&i.icon?i==null?void 0:i.icon:e==null?void 0:e.icon}:{title:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return O.jsxs(T.DropdownMenu,{children:[O.jsx(T.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:O.jsx(T.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,tooltip:e==null?void 0:e.tooltip,children:O.jsx(T.MenuDown,{className:"size-3 text-gray-500"})})}),O.jsx(T.DropdownMenuContent,{className:"w-full",children:(n=e==null?void 0:e.items)==null?void 0:n.map((i,r)=>O.jsxs(T.DropdownMenuCheckboxItem,{checked:t.title===i.title,className:"flex items-center gap-3",onClick:i.action,children:[O.jsx(T.IconComponent,{name:i==null?void 0:i.icon}),O.jsx("span",{className:"ml-1",children:i.title}),!!(i!=null&&i.shortcutKeys)&&O.jsx("span",{className:"ml-auto text-xs tracking-widest opacity-60",children:T.getShortcutKeys(i.shortcutKeys)})]},`more-mark-${r}`))})]})}const Tg=T.Extension.create({name:"moreMark",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button({editor:t,extension:n,t:i}){const r=n.options.subscript,a=n.options.superscript,o={action:()=>t.commands.toggleSubscript(),isActive:()=>t.isActive("subscript")||!1,disabled:!t.can().toggleSubscript(),icon:"Subscript",title:i("editor.subscript.tooltip"),shortcutKeys:["mod","."]},s={action:()=>t.commands.toggleSuperscript(),isActive:()=>t.isActive("superscript")||!1,disabled:!t.can().toggleSuperscript(),icon:"Superscript",title:i("editor.superscript.tooltip"),shortcutKeys:["mod",","]},c=[];return r!==!1&&c.push(o),a!==!1&&c.push(s),{component:wg,componentProps:{icon:"Type",tooltip:i("editor.moremark"),disabled:!t.isEditable,items:c}}}}},addExtensions(){const e=[];return this.options.subscript!==!1&&e.push($u.configure(this.options.subscript)),this.options.superscript!==!1&&e.push(Ku.configure(this.options.superscript)),e}}),Ug=T.Extension.create({name:"indent",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["paragraph","heading","blockquote"],minIndent:T.IndentProps.min,maxIndent:T.IndentProps.max,button({editor:t,t:n}){return[{component:T.ActionButton,componentProps:{action:()=>{t.commands.indent()},shortcutKeys:["Tab"],icon:"IndentIncrease",tooltip:n("editor.indent.tooltip")}},{component:T.ActionButton,componentProps:{action:()=>{t.commands.outdent()},shortcutKeys:["Shift","Tab"],icon:"IndentDecrease",tooltip:n("editor.outdent.tooltip")}}]}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:e=>{const t=e.dataset.indent;return(t?Number.parseInt(t,10):0)||0},renderHTML:e=>e.indent?{"data-indent":e.indent}:{}}}}]},addCommands(){return{indent:()=>T.createIndentCommand({delta:T.IndentProps.more,types:this.options.types}),outdent:()=>T.createIndentCommand({delta:T.IndentProps.less,types:this.options.types})}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.indent(),"Shift-Tab":()=>this.editor.commands.outdent()}}});function Eg(e){return Number.parseFloat(e.replace("%",""))/100}function Ag(e){const{t}=Ce.useLocale(),[n,i]=pe.useState("default");function r(o){o==="default"?e.editor.commands.unsetLineHeight():e.editor.commands.setLineHeight(o),i(o)}const a=pe.useMemo(()=>{const c=e.editor.extensionManager.extensions.find(u=>u.name==="lineHeight").options.lineHeights.map(u=>({label:Eg(u),value:u}));return c.unshift({label:t("editor.default"),value:"default"}),c},[e]);return O.jsxs(T.DropdownMenu,{children:[O.jsx(T.DropdownMenuTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:O.jsx(T.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:"LineHeight",tooltip:e==null?void 0:e.tooltip,children:O.jsx(T.IconComponent,{className:"ml-1 size-3 text-zinc-500",name:"MenuDown"})})}),O.jsx(T.DropdownMenuContent,{className:"min-w-24",children:a==null?void 0:a.map((o,s)=>O.jsx(T.DropdownMenuCheckboxItem,{checked:o.value===n,onClick:()=>r(o.value),children:o.label},`lineHeight-${s}`))})]})}const Cg=["paragraph","heading","list_item","todo_item"];function kg(e,t){const{selection:n,doc:i}=e;if(!n||!i||!(n instanceof T.TextSelection||n instanceof T.AllSelection))return e;const{from:r,to:a}=n,o=[],s=t&&t!==Ce.DEFAULT_LINE_HEIGHT?t:null;if(i.nodesBetween(r,a,(c,u)=>{const l=c.type;return Cg.includes(l.name)?((c.attrs.lineHeight||null)!==s&&o.push({node:c,pos:u,nodeType:l}),l.name!=="list_item"&&l.name!=="todo_item"):!0}),o.length===0)return e;for(const c of o){const{node:u,pos:l,nodeType:f}=c;let{attrs:g}=u;g={...g,lineHeight:s},e=e.setNodeMarkup(l,f,g,u.marks)}return e}function Fg(e){return({state:t,dispatch:n})=>{const{selection:i}=t;let{tr:r}=t;return r=r.setSelection(i),r=kg(r,e),r.docChanged?(n&&n(r),!0):!1}}const Sg=T.Extension.create({name:"lineHeight",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["paragraph","heading","list_item","todo_item"],lineHeights:Ce.DEFAULT_LINE_HEIGHT_LIST,defaultHeight:Ce.DEFAULT_LINE_HEIGHT,button({editor:t,t:n}){return{component:Ag,componentProps:{editor:t,tooltip:n("editor.lineheight.tooltip")}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:null,parseHTML:e=>e.style.lineHeight||this.options.defaultHeight,renderHTML:e=>e.lineHeight===this.options.defaultHeight||!e.lineHeight?{}:{style:`line-height: ${e.lineHeight}`}}}}]},addCommands(){return{setLineHeight:e=>Fg(e),unsetLineHeight:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"lineHeight"))}}});function Bg(e){var t;const{char:n,allowSpaces:i,allowToIncludeChar:r,allowedPrefixes:a,startOfLine:o,$position:s}=e,c=i&&!r,u=T.escapeForRegEx(n),l=new RegExp(`\\s${u}$`),f=o?"^":"",g=r?"":u,d=c?new RegExp(`${f}${u}.*?(?=\\s${g}|$)`,"gm"):new RegExp(`${f}(?:^)?${u}[^\\s${g}]*`,"gm"),x=((t=s.nodeBefore)===null||t===void 0?void 0:t.isText)&&s.nodeBefore.text;if(!x)return null;const m=s.pos-x.length,h=Array.from(x.matchAll(d)).pop();if(!h||h.input===void 0||h.index===void 0)return null;const b=h.input.slice(Math.max(0,h.index-1),h.index),p=new RegExp(`^[${a==null?void 0:a.join("")}\0]?$`).test(b);if(a!==null&&!p)return null;const D=m+h.index;let w=D+h[0].length;return c&&l.test(x.slice(w-1,w+1))&&(h[0]+=" ",w+=1),D<s.pos&&w>=s.pos?{range:{from:D,to:w},query:h[0].slice(n.length),text:h[0]}:null}const Ng=new T.PluginKey("suggestion");function mo({pluginKey:e=Ng,editor:t,char:n="@",allowSpaces:i=!1,allowToIncludeChar:r=!1,allowedPrefixes:a=[" "],startOfLine:o=!1,decorationTag:s="span",decorationClass:c="suggestion",command:u=()=>null,items:l=()=>[],render:f=()=>({}),allow:g=()=>!0,findSuggestionMatch:d=Bg}){let x;const m=f==null?void 0:f(),h=new T.Plugin({key:e,view(){return{update:async(b,p)=>{var D,w,_,U,E,L,A;const W=(D=this.key)===null||D===void 0?void 0:D.getState(p),N=(w=this.key)===null||w===void 0?void 0:w.getState(b.state),F=W.active&&N.active&&W.range.from!==N.range.from,q=!W.active&&N.active,v=W.active&&!N.active,k=!q&&!v&&W.query!==N.query,V=q||F&&k,P=k||F,J=v||F&&k;if(!V&&!P&&!J)return;const K=J&&!V?W:N,re=b.dom.querySelector(`[data-decoration-id="${K.decorationId}"]`);x={editor:t,range:K.range,query:K.query,text:K.text,items:[],command:j=>u({editor:t,range:K.range,props:j}),decorationNode:re,clientRect:re?()=>{var j;const{decorationId:I}=(j=this.key)===null||j===void 0?void 0:j.getState(t.state),oe=b.dom.querySelector(`[data-decoration-id="${I}"]`);return(oe==null?void 0:oe.getBoundingClientRect())||null}:null},V&&((_=m==null?void 0:m.onBeforeStart)===null||_===void 0||_.call(m,x)),P&&((U=m==null?void 0:m.onBeforeUpdate)===null||U===void 0||U.call(m,x)),(P||V)&&(x.items=await l({editor:t,query:K.query})),J&&((E=m==null?void 0:m.onExit)===null||E===void 0||E.call(m,x)),P&&((L=m==null?void 0:m.onUpdate)===null||L===void 0||L.call(m,x)),V&&((A=m==null?void 0:m.onStart)===null||A===void 0||A.call(m,x))},destroy:()=>{var b;x&&((b=m==null?void 0:m.onExit)===null||b===void 0||b.call(m,x))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(b,p,D,w){const{isEditable:_}=t,{composing:U}=t.view,{selection:E}=b,{empty:L,from:A}=E,W={...p};if(W.composing=U,_&&(L||t.view.composing)){(A<p.range.from||A>p.range.to)&&!U&&!p.composing&&(W.active=!1);const N=d({char:n,allowSpaces:i,allowToIncludeChar:r,allowedPrefixes:a,startOfLine:o,$position:E.$from}),F=`id_${Math.floor(Math.random()*4294967295)}`;N&&g({editor:t,state:w,range:N.range,isActive:p.active})?(W.active=!0,W.decorationId=p.decorationId?p.decorationId:F,W.range=N.range,W.query=N.query,W.text=N.text):W.active=!1}else W.active=!1;return W.active||(W.decorationId=null,W.range={from:0,to:0},W.query=null,W.text=null),W}},props:{handleKeyDown(b,p){var D;const{active:w,range:_}=h.getState(b.state);return w&&((D=m==null?void 0:m.onKeyDown)===null||D===void 0?void 0:D.call(m,{view:b,event:p,range:_}))||!1},decorations(b){const{active:p,range:D,decorationId:w}=h.getState(b);return p?T.DecorationSet.create(b.doc,[T.Decoration.inline(D.from,D.to,{nodeName:s,class:c,"data-decoration-id":w})]):null}}});return h}function Lg(e,t){var h,b;const[n,i]=pe.useState(0),[r,a]=pe.useState(0),o=pe.useRef(null),{t:s}=Ce.useLocale(),c=pe.useRef([]);pe.useImperativeHandle(t,()=>({onKeyDown:u})),pe.useEffect(()=>{if(!o.current)return;const p=r*1e3+n,D=c.current[p];D&&D.scrollIntoView({behavior:"smooth",block:"nearest"})},[n,r]);function u({event:p}){return p.key==="ArrowUp"?(l(),!0):p.key==="ArrowDown"?(f(),!0):p.key==="Enter"?(g(),!0):!1}function l(){var w;if(e.items.length===0)return!1;let p=n-1,D=r;p<0&&(D=r-1,p=((w=e.items[D])==null?void 0:w.commands.length)-1||0),D<0&&(D=e.items.length-1,p=e.items[D].commands.length-1),i(p),a(D)}function f(){if(e.items.length===0)return!1;const p=e.items[r].commands;let D=n+1,w=r;p.length-1<D&&(D=0,w=r+1),e.items.length-1<w&&(w=0),i(D),a(w)}function g(){if(e.items.length===0||r===-1||n===-1)return!1;d(r,n)}function d(p,D){const w=e.items[p].commands[D];e.command(w)}function x(p,D){d(p,D)}function m(p,D,w){c.current[p*1e3+D]=w}return O.jsx("div",{className:"mb-8 max-h-[min(80vh,24rem)] flex-wrap overflow-auto rounded-lg !border !border-neutral-200 !bg-white p-1 !text-black shadow-sm dark:!border-neutral-800 dark:!bg-black",ref:o,children:(h=e==null?void 0:e.items)!=null&&h.length?O.jsx("div",{className:"grid min-w-48 grid-cols-1 gap-0.5",children:(b=e==null?void 0:e.items)==null?void 0:b.map((p,D)=>O.jsxs(pe.Fragment,{children:[O.jsx("div",{className:"col-[1/-1] mx-2 mt-2 select-none text-[0.65rem] font-semibold uppercase tracking-wider !text-neutral-500 first:mt-0.5",children:p.title}),p.commands.map((w,_)=>O.jsxs("button",{onClick:()=>x(D,_),ref:U=>m(D,_,U),className:T.cn("flex items-center gap-3 px-2 py-1.5 text-sm !text-neutral-800 dark:!text-neutral-200 text-left w-full rounded-sm outline-none transition-colors !bg-transparent hover:!bg-accent ",{"slash-command-active":r===D&&n===_}),children:[w.iconUrl&&O.jsx("img",{alt:"",className:"size-6",src:w.iconUrl}),w.iconName&&O.jsx(T.IconComponent,{className:"!mr-1 !text-lg",name:w.iconName}),w.label]},`command-${_}`))]},`slash-${p.title}`))}):O.jsx("div",{className:"p-3",children:O.jsx("span",{className:"text-xs text-gray-800 dark:text-gray-100",children:s("editor.slash.empty")})})})}const Rg=pe.forwardRef(Lg),Ig={setOpen:(e,t)=>{T.dispatchEvent(T.EVENTS.UPLOAD_VIDEO(e),t)}};function Wg(e,t){const n=[{name:"format",title:Ce.localeActions.t("editor.slash.format"),commands:[]},{name:"insert",title:Ce.localeActions.t("editor.slash.insert"),commands:[]}];return e.forEach(i=>{i.name.toLowerCase()==="heading"&&i.options.levels.forEach(r=>{n[0].commands.push({name:`heading${r}`,label:Ce.localeActions.t(`editor.heading.h${r}.tooltip`),aliases:[`h${r}`,"bt",`bt${r}`],iconName:`Heading${r}`,action:({editor:a,range:o})=>{a.chain().focus().deleteRange(o).setHeading({level:r}).run()}})}),i.name.toLowerCase()==="bulletlist"&&n[0].commands.push({name:"bulletList",label:Ce.localeActions.t("editor.bulletlist.tooltip"),aliases:["ul","yxlb"],iconName:"List",action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).toggleBulletList().run()}}),i.name.toLowerCase()==="orderedlist"&&n[0].commands.push({name:"numberedList",label:Ce.localeActions.t("editor.orderedlist.tooltip"),aliases:["ol","yxlb"],iconName:"ListOrdered",action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).toggleOrderedList().run()}}),i.name.toLowerCase()==="tasklist"&&n[0].commands.push({name:"taskList",label:Ce.localeActions.t("editor.tasklist.tooltip"),iconName:"ListTodo",description:"Task list with todo items",aliases:["todo"],action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).toggleTaskList().run()}}),i.name.toLowerCase()==="blockquote"&&n[0].commands.push({name:"blockquote",label:Ce.localeActions.t("editor.blockquote.tooltip"),description:"插入引入格式",aliases:["yr"],iconName:"TextQuote",action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).setBlockquote().run()}}),i.name.toLowerCase()==="codeblock"&&n[0].commands.push({name:"codeBlock",label:Ce.localeActions.t("editor.codeblock.tooltip"),iconName:"Code2",description:"Code block with syntax highlighting",shouldBeHidden:r=>r.isActive("columns"),action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).setCodeBlock().run()}}),i.name.toLowerCase()===T.Image.name&&n[1].commands.push({name:"image",label:Ce.localeActions.t("editor.image.tooltip"),iconName:"ImageUp",description:"Insert a image",aliases:["image","tp","tupian"],shouldBeHidden:r=>r.isActive("columns"),action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).run(),T.actionDialogImage.setOpen(r.id,!0)}}),i.name.toLowerCase()===T.Video.name&&n[1].commands.push({name:"video",label:Ce.localeActions.t("editor.video.tooltip"),iconName:"Video",description:"Insert a video",aliases:["video","sp","shipin"],shouldBeHidden:r=>r.isActive("columns"),action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).run(),Ig.setOpen(r.id,!0)}}),i.name.toLowerCase()==="table"&&n[1].commands.push({name:"table",label:Ce.localeActions.t("editor.table.tooltip"),iconName:"Table",description:"Insert a table",aliases:["table","bg","biaoge","biao"],shouldBeHidden:r=>r.isActive("columns"),action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).insertTable({rows:3,cols:3,withHeaderRow:!1}).run()}}),i.name.toLowerCase()==="horizontalrule"&&n[1].commands.push({name:"horizontalRule",label:Ce.localeActions.t("editor.horizontalrule.tooltip"),iconName:"Minus",description:"Insert a horizontal divider",aliases:["hr","fgx","fg"],action:({editor:r,range:a})=>{r.chain().focus().deleteRange(a).setHorizontalRule().run()}}),i.name.toLowerCase()==="columns"&&n[1].commands.push({name:"columns",label:Ce.localeActions.t("editor.columns.tooltip"),iconName:"Columns2",description:"Add two column content",action:({editor:r})=>{r.chain().focus().insertColumns({cols:2}).run()}}),t==null||t(i,n)}),n}const Kt="slashCommand";let Ne;const Og=T.Extension.create({name:Kt,priority:200,onCreate(){Ne=no("body",{interactive:!0,trigger:"manual",placement:"bottom-start",theme:"slash-command",maxWidth:"16rem",offset:[16,8],popperOptions:{strategy:"fixed",modifiers:[{name:"flip",enabled:!1}]}})},addProseMirrorPlugins(){return[mo({editor:this.editor,char:"/",allowSpaces:!0,startOfLine:!0,pluginKey:new T.PluginKey(Kt),allow:({state:e,range:t})=>{var u,l,f;const n=e.doc.resolve(t.from),i=n.depth===1,r=n.parent.type.name==="paragraph",a=((u=n.parent.textContent)==null?void 0:u.charAt(0))==="/",o=this.editor.isActive("column"),s=(f=n.parent.textContent)==null?void 0:f.slice(Math.max(0,(l=n.parent.textContent)==null?void 0:l.indexOf("/"))),c=!(s!=null&&s.endsWith(" "));return(i&&r&&a||o&&r&&a)&&c},command:({editor:e,range:t,props:n})=>{const{view:i}=e;n.action({editor:e,range:t}),i.focus()},items:({query:e,editor:t})=>Wg(t.extensionManager.extensions,this.options.renderGroupItem).map(o=>({...o,commands:o.commands.filter(s=>{const c=s.label.toLowerCase().trim(),u=e.toLowerCase().trim();if(s.aliases){const l=s.aliases.map(d=>d.toLowerCase().trim()),f=c.match(u),g=l.some(d=>d.match(u));return f||g}return c.match(u)}).filter(s=>s.shouldBeHidden?!s.shouldBeHidden(this.editor):!0)})).filter(o=>o.commands.length>0).map(o=>({...o,commands:o.commands.map(s=>({...s,isEnabled:!0}))})),render:()=>{let e,t=null;return{onStart:n=>{var a;e=new T.ReactRenderer(Rg,{props:n,editor:n.editor});const{view:i}=n.editor,r=()=>{if(!n.clientRect)return n.editor.storage[Kt].rect;const o=n.clientRect();if(!o)return n.editor.storage[Kt].rect;let s=o.y;if(o.top+e.element.offsetHeight+40>window.innerHeight){const c=o.top+e.element.offsetHeight-window.innerHeight+40;s=o.y-c}return new DOMRect(o.x,s,o.width,o.height)};t=()=>{Ne==null||Ne[0].setProps({getReferenceClientRect:r})},(a=i.dom.parentElement)==null||a.addEventListener("scroll",t),Ne==null||Ne[0].setProps({getReferenceClientRect:r,appendTo:()=>document.body,content:e.element}),Ne==null||Ne[0].show()},onUpdate(n){var o;e.updateProps(n);const{view:i}=n.editor,r=()=>{if(!n.clientRect)return n.editor.storage[Kt].rect;const s=n.clientRect();return s?new DOMRect(s.x,s.y,s.width,s.height):n.editor.storage[Kt].rect},a=()=>{Ne==null||Ne[0].setProps({getReferenceClientRect:r})};(o=i.dom.parentElement)==null||o.addEventListener("scroll",a),n.editor.storage[Kt].rect=n.clientRect?r():{width:0,height:0,left:0,top:0,right:0,bottom:0},Ne==null||Ne[0].setProps({getReferenceClientRect:r})},onKeyDown(n){var i;return n.event.key==="Escape"?(Ne==null||Ne[0].hide(),!0):(Ne!=null&&Ne[0].state.isShown||Ne==null||Ne[0].show(),(i=e.ref)==null?void 0:i.onKeyDown(n))},onExit(n){var i;if(Ne==null||Ne[0].hide(),t){const{view:r}=n.editor;(i=r.dom.parentElement)==null||i.removeEventListener("scroll",t)}e.destroy()}}}})]},addStorage(){return{rect:{width:0,height:0,left:0,top:0,right:0,bottom:0}}}}),Mg=T.Extension.create({name:"painter",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>{t.commands.setPainter(t==null?void 0:t.state.selection.$head.marks())},icon:"PaintRoller",tooltip:n("editor.format")}})}},addCommands(){return{setPainter:e=>({view:{dispatch:t,state:{tr:n},dom:i}})=>{const o=`url("data:image/svg+xml;utf8,${encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#000" d="M9 22v-6H4V7q0-1.65 1.175-2.825T8 3h12v13h-5v6zM6 10h12V5h-1v4h-2V5h-1v2h-2V5H8q-.825 0-1.412.588T6 7zm0 4h12v-2H6zm0 0v-2z"/></svg>')}"), auto`;return i.style.cursor=o,t(n.setMeta("painterAction",{type:"start",marks:e})),!0}}},addProseMirrorPlugins(){return[new T.Plugin({key:new T.PluginKey("format-painter"),state:{init:()=>[],apply:(e,t)=>{const n=e.getMeta("painterAction");return n&&n.type==="start"?t=n.marks:n&&n.type==="end"&&(t=[]),t}},props:{handleDOMEvents:{mousedown(e){const t=this.getState(e.state);if(!t||t.length===0)return e.dom.style.cursor="",!1;const n=()=>{document.removeEventListener("mouseup",n);let{dispatch:i,state:{tr:r,selection:a},dom:o}=e;o.style.cursor="",r=r.removeMark(a.from,a.to);for(const s of t)s.type.name!=="link"&&(r=r.addMark(a.from,a.to,s));i(r.setMeta("painterAction",{type:"end"}))};return document.addEventListener("mouseup",n),!0}}}})]}});function Pg({editor:e,...t}){const{t:n}=Ce.useLocale(),[i,r]=pe.useState(-1),[a,o]=pe.useState([]),[s,c]=pe.useState(""),[u,l]=pe.useState(""),[f,g]=pe.useState(!1),[d,x]=pe.useState(!1);return pe.useEffect(()=>{f||(c(""),l(""),r(-1),o([]),e.commands.setSearchTerm(""),e.commands.setReplaceTerm(""))},[e,f]),pe.useEffect(()=>{f&&e&&e.commands&&e.commands.setSearchTerm&&e.commands.setSearchTerm(s)},[f,s,e]),pe.useEffect(()=>{f&&e&&e.commands&&e.commands.setReplaceTerm&&e.commands.setReplaceTerm(u)},[f,u,e]),pe.useEffect(()=>{if(!e)return;const m=e.extensionManager.extensions.find(b=>b.name===Gu.name);if(!m)return;const h=()=>{if(!f)return;const b=m?m.storage.currentIndex:-1,p=m?m.storage.results:[];r(D=>D!==b?b:D),o(D=>T.deepEqual(D,p)?D:p)};return T.listenEvent(T.EVENTS.SEARCH_REPLCE,h),()=>{m&&T.listenEvent(T.EVENTS.SEARCH_REPLCE,h)}},[f,e]),O.jsxs(T.Popover,{onOpenChange:g,open:f,children:[O.jsx(T.PopoverTrigger,{asChild:!0,disabled:t==null?void 0:t.disabled,children:O.jsx(T.ActionButton,{disabled:t==null?void 0:t.disabled,isActive:t==null?void 0:t.isActive,tooltip:t==null?void 0:t.tooltip,children:O.jsx(T.IconComponent,{name:t==null?void 0:t.icon})})}),O.jsxs(T.PopoverContent,{align:"start",className:"w-full",hideWhenDetached:!0,side:"bottom",children:[O.jsxs("div",{className:"mb-[6px] flex items-center justify-between",children:[O.jsx(T.Label,{children:n("editor.search.dialog.text")}),O.jsx("span",{className:"font-semibold",children:a.length>0?`${i+1}/${a.length}`:"0/0"})]}),O.jsxs("div",{className:"mb-[10px] flex w-full max-w-sm items-center gap-1.5",children:[O.jsx(T.Input,{autoFocus:!0,className:"w-full",onChange:m=>c(m.target.value),placeholder:"Text",required:!0,type:"text",value:s}),O.jsx(T.Button,{className:"flex-1",disabled:a.length===0,onClick:e.commands.goToPrevSearchResult,children:O.jsx(T.IconComponent,{name:"ChevronUp"})}),O.jsx(T.Button,{className:"flex-1",disabled:a.length===0,onClick:e.commands.goToNextSearchResult,children:O.jsx(T.IconComponent,{name:"ChevronDown"})})]}),O.jsx(T.Label,{className:"mb-[6px]",children:n("editor.replace.dialog.text")}),O.jsx("div",{className:"mb-[5px] flex w-full max-w-sm items-center gap-1.5",children:O.jsx("div",{className:"relative w-full max-w-sm items-center",children:O.jsx(T.Input,{className:"w-80",onChange:m=>l(m.target.value),placeholder:"Text",required:!0,type:"text",value:u})})}),O.jsxs("div",{className:"mb-[10px] flex items-center space-x-2",children:[O.jsx(T.Switch,{checked:d,onCheckedChange:m=>{x(m),e.commands.setCaseSensitive(m)}}),O.jsx(T.Label,{children:n("editor.replace.caseSensitive")})]}),O.jsxs("div",{className:"flex items-center gap-[10px]",children:[O.jsx(T.Button,{className:"flex-1",disabled:a.length===0,onClick:e.commands.replace,children:n("editor.replace.dialog.text")}),O.jsx(T.Button,{className:"flex-1",disabled:a.length===0,onClick:e.commands.replaceAll,children:n("editor.replaceAll.dialog.text")})]})]})]})}const En=(e,t)=>t(e.tr);function jg(e,t,n){return RegExp(t?e.replace(/[$()*+./?[\\\]^{|}-]/g,String.raw`\$&`):e,n?"gu":"gui")}function qg(e,t,n){const i=[];let r=[];const a=[];let o=0;if(!t)return{decorationsToReturn:[],results:[]};e==null||e.descendants((s,c)=>{s.isText?r[o]?r[o]={text:r[o].text+s.text,pos:r[o].pos}:r[o]={text:`${s.text}`,pos:c}:o+=1}),r=r.filter(Boolean);for(const{text:s,pos:c}of r){const u=[...s.matchAll(t)];for(const l of u){if(l[0]==="")break;l.index!==void 0&&a.push({from:c+l.index,to:c+l.index+l[0].length})}}for(const s of a)i.push(T.Decoration.inline(s.from,s.to,{class:n}));return{decorationsToReturn:i,results:a}}function Ts(e,t,{state:n,dispatch:i}){if(!t[0])return;const{from:a,to:o}=t[0];i&&i(n.tr.insertText(e,a,o))}function Hg(e,t,n,i){const r=t+1;if(!i[r])return null;const{from:a,to:o}=i[t],s=o-a-e.length+n,{from:c,to:u}=i[r];return i[r]={to:u-s,from:c-s},[s,i]}function zg(e,t,{tr:n,dispatch:i}){let r=0,a=t.slice();if(a.length===0)return!1;for(let o=0;o<a.length;o+=1){const{from:s,to:c}=a[o];n.insertText(e,s,c);const u=Hg(e,o,r,a);u&&(r=u[0],a=u[1])}return i(n),!0}function Us({view:e,tr:t,searchResults:n,searchResultCurrentClass:i,gotoIndex:r}){const a=n[r];if(a){const o=t.setMeta("directDecoration",{fromPos:a.from,toPos:a.to,attrs:{class:i}});return e==null||e.dispatch(o),setTimeout(()=>{const s=window.document.querySelector(`.${i}`);s&&io(s,{behavior:"smooth",scrollMode:"if-needed"})},0),!0}return!1}const Gu=T.Extension.create({name:"search",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),searchTerm:"",replaceTerm:"",results:[],currentIndex:0,searchResultClass:"search-result",searchResultCurrentClass:"search-result-current",caseSensitive:!1,disableRegex:!1,onChange:()=>{},button:({editor:t,t:n})=>({component:Pg,componentProps:{action:()=>{},icon:"SearchAndReplace",tooltip:n("editor.searchAndReplace.tooltip"),isActive:()=>!1,disabled:!1,editor:t}})}},addStorage(){return{results:[],currentIndex:-1}},addCommands(){return{setSearchTerm:e=>({state:t,dispatch:n})=>(this.options.searchTerm=e,this.storage.results=[],this.storage.currentIndex=0,T.dispatchEvent(T.EVENTS.SEARCH_REPLCE),En(t,n),!1),setReplaceTerm:e=>({state:t,dispatch:n})=>(this.options.replaceTerm=e,En(t,n),!1),setCaseSensitive:e=>({state:t,dispatch:n})=>(this.options.caseSensitive=e,En(t,n),!1),replace:()=>({state:e,dispatch:t})=>{const{replaceTerm:n}=this.options,{currentIndex:i,results:r}=this.storage,a=r[i];return a?(Ts(n,[a],{state:e,dispatch:t}),this.storage.results.splice(i,1)):(Ts(n,r,{state:e,dispatch:t}),this.storage.results.shift()),T.dispatchEvent(T.EVENTS.SEARCH_REPLCE),En(e,t),!1},replaceAll:()=>({state:e,tr:t,dispatch:n})=>{const{replaceTerm:i}=this.options,{results:r}=this.storage;return zg(i,r,{tr:t,dispatch:n}),this.storage.currentIndex=-1,this.storage.results=[],T.dispatchEvent(T.EVENTS.SEARCH_REPLCE),En(e,n),!1},goToPrevSearchResult:()=>({view:e,tr:t})=>{const{searchResultCurrentClass:n}=this.options,{currentIndex:i,results:r}=this.storage,a=(i+r.length-1)%r.length;return this.storage.currentIndex=a,T.dispatchEvent(T.EVENTS.SEARCH_REPLCE),Us({view:e,tr:t,searchResults:r,searchResultCurrentClass:n,gotoIndex:a})},goToNextSearchResult:()=>({view:e,tr:t})=>{const{searchResultCurrentClass:n}=this.options,{currentIndex:i,results:r}=this.storage,a=(i+1)%r.length;return this.storage.currentIndex=a,this.options.onChange&&this.options.onChange(),T.dispatchEvent(T.EVENTS.SEARCH_REPLCE),Us({view:e,tr:t,searchResults:r,searchResultCurrentClass:n,gotoIndex:a})}}},addProseMirrorPlugins(){const e=this;return[new T.Plugin({key:new T.PluginKey("search"),state:{init(){return T.DecorationSet.empty},apply(t){const{doc:n,docChanged:i}=t,{searchTerm:r,searchResultClass:a,searchResultCurrentClass:o,disableRegex:s,caseSensitive:c}=e.options;if(i||r){const{decorationsToReturn:u,results:l}=qg(n,jg(r,s,c),a);if(e.storage.results=l,e.storage.currentIndex>l.length-1&&(e.storage.currentIndex=0),T.dispatchEvent(T.EVENTS.SEARCH_REPLCE),t.getMeta("directDecoration")){const{fromPos:f,toPos:g,attrs:d}=t.getMeta("directDecoration");u.push(T.Decoration.inline(f,g,d))}else l.length>0&&(u[0]=T.Decoration.inline(l[0].from,l[0].to,{class:o}));return T.DecorationSet.create(n,u)}return T.DecorationSet.empty}},props:{decorations(t){return this.getState(t)}}})]}});function Xg({className:e,...t}){return O.jsx(Jt.EmojiPicker.Root,{className:T.cn("bg-popover text-popover-foreground isolate flex h-full w-fit flex-col overflow-hidden rounded-md",e),"data-slot":"emoji-picker",...t})}function Vg({className:e,...t}){return O.jsxs("div",{className:T.cn("flex h-9 items-center gap-2 border-b px-3",e),"data-slot":"emoji-picker-search-wrapper",children:[O.jsx($e.SearchIcon,{className:"size-4 shrink-0 opacity-50"}),O.jsx(Jt.EmojiPicker.Search,{className:"outline-hidden placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm disabled:cursor-not-allowed disabled:opacity-50","data-slot":"emoji-picker-search",...t})]})}function $g({children:e,...t}){return O.jsx("div",{...t,className:"scroll-my-1 px-1","data-slot":"emoji-picker-row",children:e})}function Kg({emoji:e,className:t,...n}){return O.jsx("button",{...n,className:T.cn("data-[active]:bg-accent flex size-7 items-center justify-center rounded-sm text-base",t),"data-slot":"emoji-picker-emoji",children:e.emoji})}function Gg({category:e,...t}){return O.jsx("div",{...t,className:"bg-popover text-muted-foreground px-3 pb-2 pt-3.5 text-xs leading-none","data-slot":"emoji-picker-category-header",children:e.label})}function Zg({className:e,...t}){return O.jsxs(Jt.EmojiPicker.Viewport,{className:T.cn("outline-hidden relative flex-1",e),"data-slot":"emoji-picker-viewport",...t,children:[O.jsx(Jt.EmojiPicker.Loading,{className:"absolute inset-0 flex items-center justify-center text-muted-foreground","data-slot":"emoji-picker-loading",children:O.jsx($e.LoaderIcon,{className:"size-4 animate-spin"})}),O.jsx(Jt.EmojiPicker.Empty,{className:"absolute inset-0 flex items-center justify-center text-muted-foreground text-sm","data-slot":"emoji-picker-empty",children:"No emoji found."}),O.jsx(Jt.EmojiPicker.List,{className:"select-none pb-1",components:{Row:$g,Emoji:Kg,CategoryHeader:Gg},"data-slot":"emoji-picker-list"})]})}function Yg({className:e,...t}){return O.jsx("div",{className:T.cn("max-w-(--frimousse-viewport-width) flex w-full min-w-0 items-center gap-1 border-t p-2",e),"data-slot":"emoji-picker-footer",...t,children:O.jsx(Jt.EmojiPicker.ActiveEmoji,{children:({emoji:n})=>n?O.jsxs(O.Fragment,{children:[O.jsx("div",{className:"flex size-7 flex-none items-center justify-center text-lg",children:n.emoji}),O.jsx("span",{className:"text-secondary-foreground truncate text-xs",children:n.label})]}):O.jsx("span",{className:"text-muted-foreground ml-1.5 flex h-7 items-center truncate text-xs",children:"Select an emoji…"})})})}function Qg({onSelectEmoji:e,children:t}){return O.jsxs(T.Popover,{modal:!0,children:[O.jsx(T.PopoverTrigger,{asChild:!0,children:t}),O.jsx(T.PopoverContent,{align:"start",className:"size-full p-2",hideWhenDetached:!0,side:"bottom",children:O.jsxs(Xg,{className:"!h-[342px]",onEmojiSelect:({emoji:n})=>{e(n)},children:[O.jsx(Vg,{}),O.jsx(Zg,{}),O.jsx(Yg,{})]})})]})}function Jg({editor:e,icon:t,...n}){const i=pe.useCallback(r=>{const{selection:a}=e.state,{$anchor:o}=a;return e.chain().insertContentAt(o.pos,r).run()},[e]);return O.jsx(Qg,{onSelectEmoji:i,children:O.jsx(T.ActionButton,{icon:t,tooltip:n==null?void 0:n.tooltip})})}const Zu=pe.forwardRef((e,t)=>{const n=pe.useRef(null),[i,r]=pe.useState(0),{t:a}=Ce.useLocale(),o=l=>{const f=e.items[l];f&&e.command(f)},s=()=>{r((i+e.items.length-1)%e.items.length)},c=()=>{r((i+1)%e.items.length)},u=()=>{o(i)};return pe.useEffect(()=>r(0),[e.items]),pe.useEffect(()=>{if(Number.isNaN(i+1))return;const l=n.current.querySelector(`span:nth-of-type(${i+1})`);l&&io(l,{behavior:"smooth",scrollMode:"if-needed"})},[i]),pe.useImperativeHandle(t,()=>({onKeyDown:({event:l})=>l.key==="ArrowUp"?(s(),!0):l.key==="ArrowDown"?(c(),!0):l.key==="Enter"?(u(),!0):!1})),O.jsx("div",{className:"max-h-[320px] w-[200px] overflow-y-auto overflow-x-hidden rounded-sm !border bg-popover p-1 text-popover-foreground shadow-md outline-none",children:O.jsx("div",{ref:n,children:e.items.length>0?e.items.map((l,f)=>O.jsxs("span",{className:T.clsx(" relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground",f===i?"bg-accent":""),onClick:()=>o(f),children:[l.fallbackImage?O.jsx("img",{className:"size-[1em]",src:l.fallbackImage}):l.emoji,":",l.name,":"]},`emoji-list-code-${f}`)):O.jsx("div",{className:"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors",children:O.jsx("span",{children:a("no_result_found")})})})})});Zu.displayName="EmojiList";const yn={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",shushing_face:"🤫",thinking:"🤔",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",lying_face:"🤥",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",kiss:"💋",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart:"❤️",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",white_heart:"🤍",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",bomb:"💣",speech_balloon:"💬",eye_speech_bubble:"👁️‍🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",red_haired_man:"👨‍🦰",curly_haired_man:"👨‍🦱",white_haired_man:"👨‍🦳",bald_man:"👨‍🦲",woman:"👩",red_haired_woman:"👩‍🦰",person_red_hair:"🧑‍🦰",curly_haired_woman:"👩‍🦱",person_curly_hair:"🧑‍🦱",white_haired_woman:"👩‍🦳",person_white_hair:"🧑‍🦳",bald_woman:"👩‍🦲",person_bald:"🧑‍🦲",blond_haired_woman:"👱‍♀️",blonde_woman:"👱‍♀️",blond_haired_man:"👱‍♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍‍♂️",frowning_woman:"🙍‍♀️",pouting_face:"🙎",pouting_man:"🙎‍♂️",pouting_woman:"🙎‍♀️",no_good:"🙅",no_good_man:"🙅‍♂️",ng_man:"🙅‍♂️",no_good_woman:"🙅‍♀️",ng_woman:"🙅‍♀️",ok_person:"🙆",ok_man:"🙆‍♂️",ok_woman:"🙆‍♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁‍♂️",sassy_man:"💁‍♂️",tipping_hand_woman:"💁‍♀️",sassy_woman:"💁‍♀️",raising_hand:"🙋",raising_hand_man:"🙋‍♂️",raising_hand_woman:"🙋‍♀️",deaf_person:"🧏",deaf_man:"🧏‍♂️",deaf_woman:"🧏‍♀️",bow:"🙇",bowing_man:"🙇‍♂️",bowing_woman:"🙇‍♀️",facepalm:"🤦",man_facepalming:"🤦‍♂️",woman_facepalming:"🤦‍♀️",shrug:"🤷",man_shrugging:"🤷‍♂️",woman_shrugging:"🤷‍♀️",health_worker:"🧑‍⚕️",man_health_worker:"👨‍⚕️",woman_health_worker:"👩‍⚕️",student:"🧑‍🎓",man_student:"👨‍🎓",woman_student:"👩‍🎓",teacher:"🧑‍🏫",man_teacher:"👨‍🏫",woman_teacher:"👩‍🏫",judge:"🧑‍⚖️",man_judge:"👨‍⚖️",woman_judge:"👩‍⚖️",farmer:"🧑‍🌾",man_farmer:"👨‍🌾",woman_farmer:"👩‍🌾",cook:"🧑‍🍳",man_cook:"👨‍🍳",woman_cook:"👩‍🍳",mechanic:"🧑‍🔧",man_mechanic:"👨‍🔧",woman_mechanic:"👩‍🔧",factory_worker:"🧑‍🏭",man_factory_worker:"👨‍🏭",woman_factory_worker:"👩‍🏭",office_worker:"🧑‍💼",man_office_worker:"👨‍💼",woman_office_worker:"👩‍💼",scientist:"🧑‍🔬",man_scientist:"👨‍🔬",woman_scientist:"👩‍🔬",technologist:"🧑‍💻",man_technologist:"👨‍💻",woman_technologist:"👩‍💻",singer:"🧑‍🎤",man_singer:"👨‍🎤",woman_singer:"👩‍🎤",artist:"🧑‍🎨",man_artist:"👨‍🎨",woman_artist:"👩‍🎨",pilot:"🧑‍✈️",man_pilot:"👨‍✈️",woman_pilot:"👩‍✈️",astronaut:"🧑‍🚀",man_astronaut:"👨‍🚀",woman_astronaut:"👩‍🚀",firefighter:"🧑‍🚒",man_firefighter:"👨‍🚒",woman_firefighter:"👩‍🚒",police_officer:"👮",cop:"👮",policeman:"👮‍♂️",policewoman:"👮‍♀️",detective:"🕵️",male_detective:"🕵️‍♂️",female_detective:"🕵️‍♀️",guard:"💂",guardsman:"💂‍♂️",guardswoman:"💂‍♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷‍♂️",construction_worker_woman:"👷‍♀️",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳‍♂️",woman_with_turban:"👳‍♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵‍♂️",woman_in_tuxedo:"🤵‍♀️",person_with_veil:"👰",man_with_veil:"👰‍♂️",woman_with_veil:"👰‍♀️",bride_with_veil:"👰‍♀️",pregnant_woman:"🤰",breast_feeding:"🤱",woman_feeding_baby:"👩‍🍼",man_feeding_baby:"👨‍🍼",person_feeding_baby:"🧑‍🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑‍🎄",superhero:"🦸",superhero_man:"🦸‍♂️",superhero_woman:"🦸‍♀️",supervillain:"🦹",supervillain_man:"🦹‍♂️",supervillain_woman:"🦹‍♀️",mage:"🧙",mage_man:"🧙‍♂️",mage_woman:"🧙‍♀️",fairy:"🧚",fairy_man:"🧚‍♂️",fairy_woman:"🧚‍♀️",vampire:"🧛",vampire_man:"🧛‍♂️",vampire_woman:"🧛‍♀️",merperson:"🧜",merman:"🧜‍♂️",mermaid:"🧜‍♀️",elf:"🧝",elf_man:"🧝‍♂️",elf_woman:"🧝‍♀️",genie:"🧞",genie_man:"🧞‍♂️",genie_woman:"🧞‍♀️",zombie:"🧟",zombie_man:"🧟‍♂️",zombie_woman:"🧟‍♀️",massage:"💆",massage_man:"💆‍♂️",massage_woman:"💆‍♀️",haircut:"💇",haircut_man:"💇‍♂️",haircut_woman:"💇‍♀️",walking:"🚶",walking_man:"🚶‍♂️",walking_woman:"🚶‍♀️",standing_person:"🧍",standing_man:"🧍‍♂️",standing_woman:"🧍‍♀️",kneeling_person:"🧎",kneeling_man:"🧎‍♂️",kneeling_woman:"🧎‍♀️",person_with_probing_cane:"🧑‍🦯",man_with_probing_cane:"👨‍🦯",woman_with_probing_cane:"👩‍🦯",person_in_motorized_wheelchair:"🧑‍🦼",man_in_motorized_wheelchair:"👨‍🦼",woman_in_motorized_wheelchair:"👩‍🦼",person_in_manual_wheelchair:"🧑‍🦽",man_in_manual_wheelchair:"👨‍🦽",woman_in_manual_wheelchair:"👩‍🦽",runner:"🏃",running:"🏃",running_man:"🏃‍♂️",running_woman:"🏃‍♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯‍♂️",dancing_women:"👯‍♀️",sauna_person:"🧖",sauna_man:"🧖‍♂️",sauna_woman:"🧖‍♀️",climbing:"🧗",climbing_man:"🧗‍♂️",climbing_woman:"🧗‍♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️‍♂️",golfing_woman:"🏌️‍♀️",surfer:"🏄",surfing_man:"🏄‍♂️",surfing_woman:"🏄‍♀️",rowboat:"🚣",rowing_man:"🚣‍♂️",rowing_woman:"🚣‍♀️",swimmer:"🏊",swimming_man:"🏊‍♂️",swimming_woman:"🏊‍♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️‍♂️",basketball_man:"⛹️‍♂️",bouncing_ball_woman:"⛹️‍♀️",basketball_woman:"⛹️‍♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️‍♂️",weight_lifting_woman:"🏋️‍♀️",bicyclist:"🚴",biking_man:"🚴‍♂️",biking_woman:"🚴‍♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵‍♂️",mountain_biking_woman:"🚵‍♀️",cartwheeling:"🤸",man_cartwheeling:"🤸‍♂️",woman_cartwheeling:"🤸‍♀️",wrestling:"🤼",men_wrestling:"🤼‍♂️",women_wrestling:"🤼‍♀️",water_polo:"🤽",man_playing_water_polo:"🤽‍♂️",woman_playing_water_polo:"🤽‍♀️",handball_person:"🤾",man_playing_handball:"🤾‍♂️",woman_playing_handball:"🤾‍♀️",juggling_person:"🤹",man_juggling:"🤹‍♂️",woman_juggling:"🤹‍♀️",lotus_position:"🧘",lotus_position_man:"🧘‍♂️",lotus_position_woman:"🧘‍♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑‍🤝‍🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩‍❤️‍💋‍👨",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩‍❤️‍👨",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",family:"👪",family_man_woman_boy:"👨‍👩‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕‍🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈‍⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻‍❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",mushroom:"🍄",peanuts:"🥜",chestnut:"🌰",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",nazar_amulet:"🧿",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",gun:"🔫",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",stethoscope:"🩺",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",moyai:"🗿",placard:"🪧",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",ideograph_advantage:"🉐",accept:"🉑",congratulations:"㊗️",secret:"㊙️",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️‍🌈",transgender_flag:"🏳️‍⚧️",pirate_flag:"🏴‍☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",scotland:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",wales:"🏴󠁧󠁢󠁷󠁬󠁳󠁿"};Object.keys(yn).reduce((e,t)=>{const n=yn[t];return e[n]=t,e},{});const ep=Object.keys(yn).map(e=>e);Object.keys(yn).map(e=>yn[e]);function tp(e){return ep.filter(t=>t.startsWith(e)).map(t=>({name:t,emoji:yn[t]}))}const np=200,ip=new T.PluginKey("emoji"),rp=T.Node.create({name:"emoji",content:"text*",priority:np,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{},suggestion:{char:":",pluginKey:ip,command:({editor:t,range:n,props:i})=>{t.chain().focus().insertContentAt(n,`${i.emoji} `).run()}},button:({editor:t,t:n})=>({component:Jg,componentProps:{editor:t,action:()=>{},isActive:()=>!1,disabled:!1,icon:"EmojiIcon",tooltip:n("editor.emoji.tooltip")}})}},addCommands(){return{setEmoji:e=>({commands:t})=>t.insertContent(`${e.emoji} `)}},addProseMirrorPlugins(){return[mo({editor:this.editor,...this.options.suggestion})]}}).configure({suggestion:{items:({query:e})=>tp(e),render:()=>{let e,t,n;return{onStart:i=>{n=i.editor.isEditable,n&&(e=new T.ReactRenderer(Zu,{props:i,editor:i.editor}),t=no("body",{getReferenceClientRect:i.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start"}))},onUpdate(i){n&&(e.updateProps(i),t[0].setProps({getReferenceClientRect:i.clientRect}))},onKeyDown(i){var r;if(n)return i.event.key==="Escape"?(t[0].hide(),!0):(r=e.ref)==null?void 0:r.onKeyDown(i)},onExit(){n&&(t[0].destroy(),e.destroy())}}}}});function ap(e){const t=document.createElement("iframe");t.setAttribute("style","position: absolute; width: 0; height: 0; top: 0; left: 0;"),document.body.appendChild(t),t.textContent=`
2
10
  <!DOCTYPE html>
3
11
  <html lang="en">
4
12
  <head>
@@ -12,7 +20,99 @@
12
20
  </div>
13
21
  </body>
14
22
  </html>
15
- `;const n=t.contentWindow,o=t.contentDocument||t.contentWindow&&t.contentWindow.document,i=document.createElement("link");i.rel="stylesheet",i.href="https://cdn.jsdelivr.net/npm/reactjs-tiptap-editor@latest/lib/style.css",o.head.appendChild(i),o&&(o.open(),o.write(e),o.close()),n&&t.addEventListener("load",function(){try{setTimeout(()=>{n.focus();try{n.document.execCommand("print",!1)||n.print()}catch{n.print()}n.close()},10)}catch(s){console.error(s)}setTimeout(()=>{document.body.removeChild(t)},100)})}function tn(e){const t=e.getHTML();return t?(en(t),!0):!1}const nn=h.Extension.create({name:"exportPdf",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>{tn(t)},icon:"ExportPdf",tooltip:n("editor.exportPdf.tooltip"),isActive:()=>!1,disabled:!1}})}}});function on(e,t){const n=atob(e.split(",")[1]),o=Array.from({length:n.length});for(let s=0;s<n.length;s++)o[s]=n.charCodeAt(s);const i=new Uint8Array(o);return new Blob([i],{type:t})}function an(e,t){return new File([e],t,{type:e.type})}function sn(e){const{toast:t}=r.useToast(),{t:n}=w.useLocale(),[o,i]=g.useState(!1),s=g.useRef(null);function l(){var f;(f=s.current)==null||f.click()}function c(f){const _=f.target.files[0];if(_){if(_.size>e.limit){t({variant:"destructive",title:n("editor.importWord.limitSize")});return}u(_)}}async function m(f){var S;const b=new DOMParser().parseFromString(f,"text/html"),k=b.querySelectorAll("img");if(k.length===0)return b.body.innerHTML;if(r.hasExtension(e.editor,"image")){const E=(S=e.editor.extensionManager.extensions.find(x=>x.name==="importWord"))==null?void 0:S.options;if(E&&typeof E.upload=="function"){const x=[];for(const C of k){const L=C.getAttribute("src"),T=on(L,"image/jpeg"),H=an(T,"image.jpeg");x.push(H)}const y=await E.upload(x);for(const[C,L]of k.entries()){L.setAttribute("src",y[C].src);const T=L.parentElement;(T==null?void 0:T.tagName)==="P"&&(T.insertAdjacentElement("beforebegin",L),!T.hasChildNodes()&&T.textContent===""&&T.remove())}return b.body.innerHTML}else return console.warn("Image Upload method found, skip image conversion"),b.body.innerHTML}else return console.error("Image extension not found, unable to convert image"),b.body.innerHTML}async function u(f){i(!0);try{if(e.convert){const _=await e.convert(f);d(_)}else{const _=await f.arrayBuffer(),{value:b}=await p.mammoth.convertToHtml({arrayBuffer:_},e==null?void 0:e.mammothOptions);d(b)}}finally{i(!1)}}async function d(f){const _=await m(f);e.editor.chain().setContent(_,!0).run()}return a.jsxs("div",{children:[a.jsx(r.ActionButton,{action:l,disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,loading:o,tooltip:e==null?void 0:e.tooltip}),a.jsx("input",{accept:".docx",onChange:c,ref:s,type:"file",style:{display:"none"}})]})}const rn=h.Extension.create({name:"importWord",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),upload:void 0,convert:void 0,limit:1024*1024*10,button:({editor:t,extension:n,t:o})=>{const{convert:i,limit:s,mammothOptions:l}=n.options;return{component:sn,componentProps:{editor:t,convert:i,limit:s,mammothOptions:l,action:()=>t.commands.setHorizontalRule(),disabled:!t.can().setHorizontalRule(),icon:"Word",shortcutKeys:["alt","mod","S"],tooltip:o("editor.importWord.tooltip")}}}}}}),ln=typeof window<"u";function cn(e,t){if(ln){const n=window.URL.createObjectURL(e),o=document.createElement("a");return o.href=n,o.download=t,o.click(),window.URL.revokeObjectURL(n),Promise.resolve()}return console.error("Download is not supported in Node.js"),Promise.resolve()}const dn={...P.defaultNodes,hardBreak:P.defaultNodes.hard_break,codeBlock:P.defaultNodes.code_block,orderedList:P.defaultNodes.ordered_list,listItem:P.defaultNodes.list_item,bulletList:P.defaultNodes.bullet_list,horizontalRule:P.defaultNodes.horizontal_rule,image(e,t){e.renderInline(t),e.closeBlock(t)},table(e,t){e.table(t,{tableOptions:{width:{size:100,type:oe.WidthType.PERCENTAGE}}})}},un=new P.DocxSerializer(dn,P.defaultMarks),mn=h.Extension.create({name:"exportWord",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{icon:"ExportWord",action:()=>{t==null||t.commands.exportToWord()},tooltip:n("editor.exportWord.tooltip"),isActive:()=>!1,disabled:!1}})}},addCommands(){return{exportToWord:()=>async({editor:e})=>{const t={getImageBuffer:async o=>{const s=await(await fetch(o)).arrayBuffer();return new Uint8Array(s)}},n=un.serialize(e.state.doc,t);return oe.Packer.toBlob(n).then(o=>cn(new Blob([o]),"export-document.docx")),!0}}}}),hn="_toc_aag8a_1",gn="_visible_aag8a_7",fn="_list_aag8a_11",_n="_item_aag8a_16",K={toc:hn,visible:gn,list:fn,item:_n};function bn(e){const t=[],n=[t];return e.forEach(o=>{let i=-1,s=n[o.level+i];for(;!s;)i-=1,s=n[o.level+i];s.push({...o,children:n[o.level]=[]})}),t}function pn({editor:e}){const t=r.useEditableEditor(),[n,o]=g.useState([]),{t:i}=w.useLocale(),s=g.useCallback(()=>{const l=[],c=e.state.tr;e.state.doc.descendants((m,u)=>{if(m.type.name==="heading"){const d=`heading-${l.length+1}`;m.attrs.id!==d&&c.setNodeMarkup(u,void 0,{...m.attrs,id:d}),l.push({level:m.attrs.level,text:m.textContent,id:d})}}),c.setMeta("addToHistory",!1),c.setMeta("preventUpdate",!0),e.view.dispatch(c),o(l),e.eventEmitter&&e.eventEmitter.emit("TableOfContents",bn(l))},[e]);return g.useEffect(()=>{if(e){if(!e.options.editable){s();return}return e.on("update",s),()=>{e.off("update",s)}}},[e,s]),g.useEffect(()=>{s()},[]),a.jsx(h.NodeViewWrapper,{className:p.clsx("tableOfContent",K.toc,t&&K.visible),children:t?a.jsxs("div",{style:{position:"relative"},children:[a.jsx("p",{className:"text-[20px] mb-[8px] font-semibold",children:i("editor.table_of_content")}),a.jsx("ul",{className:K.list,children:n.map((l,c)=>a.jsx("li",{className:K.item,style:{paddingLeft:`${l.level-1}rem`},children:a.jsx("a",{href:`#${l.id}`,children:l.text})},`table-of-content-${c}`))})]}):null})}function wn(e,...t){const[n,o]=g.useState(!1);return g.useEffect(()=>{const i=()=>{o(e.isActive.apply(e,t))};return e.on("selectionUpdate",i),e.on("transaction",i),()=>{e.off("selectionUpdate",i),e.off("transaction",i)}},[e,t,o]),n}function xn({editor:e,icon:t,tooltip:n}){const o=wn(e,ge.name),i=g.useCallback(()=>{if(o){e.chain().focus().removeTableOfContents().run();return}e.chain().focus().setTableOfContents().run()},[e,o]);return a.jsx(r.ActionButton,{action:i,isActive:()=>o||!1,icon:t,tooltip:n})}function yn(e){return e&&e.type.name==="title"}function kn(e,t){const o=[e.getJSON()],i=[];for(;o.length>0;){const s=o.shift();s.type===t&&i.push(s),s.content&&s.content.length>0&&o.push(...s.content)}return i}const ge=h.Node.create({name:"tableOfContents",group:"block",atom:!0,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),onHasOneBeforeInsert:()=>{},resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!1,button:({editor:t,t:n})=>({component:xn,componentProps:{disabled:!1,icon:"BookMarked",tooltip:n("editor.table.tooltip"),editor:t}})}},parseHTML(){return[{tag:"toc"}]},renderHTML({HTMLAttributes:e}){return["toc",h.mergeAttributes(e)]},addNodeView(){return h.ReactNodeViewRenderer(pn)},addCommands(){return{setTableOfContents:()=>({commands:e,editor:t,view:n})=>{if(kn(t,this.name).length>0){this.options.onHasOneBeforeInsert();return}const i=n.props.state.doc.content.firstChild;if(yn(i)){const s=(i.firstChild&&i.firstChild.nodeSize||0)+1;return e.insertContentAt(s,{type:this.name})}return e.insertContent({type:this.name})},removeTableOfContents:()=>({state:e,dispatch:t})=>{const{tr:n}=e,o=e.schema.nodes.tableOfContents;return e.doc.descendants((i,s)=>{if(i.type===o){const l=s,c=s+i.nodeSize;n.delete(l,c)}}),n.docChanged?(t(n),!0):!1}}},addGlobalAttributes(){return[{types:["heading"],attributes:{id:{default:null}}}]}});function vn(e){var n;const t=g.useMemo(()=>{var s;const o=(s=e==null?void 0:e.items)==null?void 0:s.find(l=>l.isActive());return o&&!o.default?{...o,icon:o.icon?o.icon:e.icon}:{title:e==null?void 0:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return a.jsxs(r.Popover,{modal:!0,children:[a.jsx(r.PopoverTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:a.jsx(r.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,tooltip:e==null?void 0:e.tooltip,children:a.jsx(r.IconComponent,{className:"ml-1 size-3 text-zinc-500",name:"MenuDown"})})}),a.jsx(r.PopoverContent,{align:"start",className:"flex w-full min-w-4 flex-row gap-1 !p-[4px]",side:"bottom",children:(n=e==null?void 0:e.items)==null?void 0:n.map((o,i)=>{var s,l;return a.jsxs(r.Tooltip,{children:[a.jsx(r.TooltipTrigger,{asChild:!0,children:a.jsx(r.Toggle,{className:"size-7 p-1","data-state":t.title===o.title?"on":"off",onClick:o==null?void 0:o.action,pressed:t.title===o.title,size:"sm",children:(o==null?void 0:o.icon)&&a.jsx(r.IconComponent,{name:o.icon})})}),a.jsxs(r.TooltipContent,{className:"flex flex-col items-center",children:[a.jsx("span",{children:o.title}),!!((s=o.shortcutKeys)!=null&&s.length)&&a.jsx("span",{children:(l=o.shortcutKeys)==null?void 0:l.map(c=>r.getShortcutKey(c)).join(" ")})]})]},`text-align-${i}`)})})]})}const jn=h.Extension.create({name:"text-direction",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["heading","paragraph"],directions:["auto","ltr","rtl"],defaultDirection:"auto",button({editor:t,extension:n,t:o}){var m;const i=((m=n.options)==null?void 0:m.directions)||[],s={auto:"TextDirection",ltr:"LeftToRight",rtl:"RightToLeft"},l=i.map(u=>({title:o(`editor.textDirection.${u}.tooltip`),icon:s[u],isActive:()=>!1,action:()=>{var d,f,_,b;if(u==="auto"){(f=(d=t.commands)==null?void 0:d.unsetTextDirection)==null||f.call(d);return}(b=(_=t.commands)==null?void 0:_.setTextDirection)==null||b.call(_,u)},disabled:!1})),c=l.filter(u=>u.disabled).length===l.length;return{component:vn,componentProps:{icon:"TextDirection",tooltip:o("editor.textDirection.tooltip"),disabled:c,items:l}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{dir:{default:this.options.defaultDirection,parseHTML:e=>e.attributes.dir&&this.options.directions.includes(e.attributes.dir)?e.attributes.dir.value:this.options.defaultDirection,renderHTML:e=>({dir:e.dir})}}}]},addCommands(){return{setTextDirection:e=>({commands:t})=>this.options.directions.includes(e)?this.options.types.every(n=>t.updateAttributes(n,{dir:e})):!1,unsetTextDirection:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"dir"))}}}),Cn="_listUsers_en3pm_1",An="_itemUser_en3pm_10",Nn="_selectedUser_en3pm_31",$={listUsers:Cn,itemUser:An,selectedUser:Nn},Sn=g.forwardRef((e,t)=>{const n=g.useRef(null),[o,i]=g.useState(0),s=u=>{const d=e.items[u];d&&e.command({id:d,label:d})},l=()=>{i((o+e.items.length-1)%e.items.length)},c=()=>{i((o+1)%e.items.length)},m=()=>{s(o)};return g.useEffect(()=>i(0),[e.items]),g.useEffect(()=>{if(Number.isNaN(o+1))return;const u=n.current.querySelector(`span:nth-of-type(${o+1})`);u&&Y(u,{behavior:"smooth",scrollMode:"if-needed"})},[o]),g.useImperativeHandle(t,()=>({onKeyDown:({event:u})=>u.key==="ArrowUp"?(l(),!0):u.key==="ArrowDown"?(c(),!0):u.key==="Enter"?(m(),!0):!1})),a.jsx("div",{className:p.clsx("listUsers",$.listUsers),children:a.jsx("div",{ref:n,children:e.items.length>0?e.items.map((u,d)=>a.jsx("span",{className:p.clsx("itemUser",$.itemUser,d===o?$.selectedUser:""),onClick:()=>s(d),children:u},d)):a.jsx("div",{className:p.clsx("itemUserEmpty",$.itemUser),children:"Empty"})})})}),Tn=[{id:"1",name:"John Doe"},{id:"2",name:"Jane Doe"},{id:"3",name:"Alice"},{id:"4",name:"Bob"}],En={items:async({query:e})=>Tn.map(n=>n.name).filter(n=>n.toLowerCase().startsWith(e.toLowerCase())),render:()=>{let e,t;return{onStart:n=>{e=new h.ReactRenderer(Sn,{props:n,editor:n.editor}),t=J("body",{getReferenceClientRect:n.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start"})},onUpdate(n){e.updateProps(n),t[0].setProps({getReferenceClientRect:n.clientRect})},onKeyDown(n){var o;return n.event.key==="Escape"?(t[0].hide(),!0):(o=e.ref)==null?void 0:o.onKeyDown(n)},onExit(){t[0].destroy(),e.destroy()}}}},Ln=h.Mention.extend({addAttributes(){return{id:{default:"",parseHTML:r.getDatasetAttribute("id")},label:{default:"",parseHTML:r.getDatasetAttribute("label")}}}}).configure({HTMLAttributes:{class:"mention"},suggestion:En}),Mn={audio:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-audio-lines"><path d="M2 10v3"/><path d="M6 6v11"/><path d="M10 3v18"/><path d="M14 8v7"/><path d="M18 5v13"/><path d="M22 10v3"/></svg>',video:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-video"><path d="m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"/><rect x="2" y="6" width="14" height="12" rx="2"/></svg>',file:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/></svg>',image:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-image"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/></svg>',pdf:`<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32">
23
+ `;const n=t.contentWindow,i=t.contentDocument||t.contentWindow&&t.contentWindow.document,r=document.createElement("link");r.rel="stylesheet",r.href="https://cdn.jsdelivr.net/npm/reactjs-tiptap-editor@latest/lib/style.css",i.head.appendChild(r),i&&(i.open(),i.write(e),i.close()),n&&t.addEventListener("load",function(){try{setTimeout(()=>{n.focus();try{n.document.execCommand("print",!1)||n.print()}catch{n.print()}n.close()},10)}catch(a){console.error(a)}setTimeout(()=>{document.body.removeChild(t)},100)})}function op(e){const t=e.getHTML();return t?(ap(t),!0):!1}const sp=T.Extension.create({name:"exportPdf",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>{op(t)},icon:"ExportPdf",tooltip:n("editor.exportPdf.tooltip"),isActive:()=>!1,disabled:!1}})}}});var nt={},bo="1.13.7",Es=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},Ur=Array.prototype,yo=Object.prototype,As=typeof Symbol<"u"?Symbol.prototype:null,cp=Ur.push,Jn=Ur.slice,$n=yo.toString,up=yo.hasOwnProperty,Yu=typeof ArrayBuffer<"u",lp=typeof DataView<"u",dp=Array.isArray,Cs=Object.keys,ks=Object.create,Fs=Yu&&ArrayBuffer.isView,hp=isNaN,fp=isFinite,Qu=!{toString:null}.propertyIsEnumerable("toString"),Ss=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],gp=Math.pow(2,53)-1;function Ke(e,t){return t=t==null?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),i=Array(n),r=0;r<n;r++)i[r]=arguments[r+t];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var a=Array(t+1);for(r=0;r<t;r++)a[r]=arguments[r];return a[t]=i,e.apply(this,a)}}function Ot(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function Ju(e){return e===null}function xo(e){return e===void 0}function Do(e){return e===!0||e===!1||$n.call(e)==="[object Boolean]"}function el(e){return!!(e&&e.nodeType===1)}function Ve(e){var t="[object "+e+"]";return function(n){return $n.call(n)===t}}const Er=Ve("String"),vo=Ve("Number"),tl=Ve("Date"),nl=Ve("RegExp"),il=Ve("Error"),_o=Ve("Symbol"),wo=Ve("ArrayBuffer");var ze=Ve("Function"),pp=Es.document&&Es.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof pp!="function"&&(ze=function(e){return typeof e=="function"||!1});const rl=Ve("Object");var al=lp&&(!/\[native code\]/.test(String(DataView))||rl(new DataView(new ArrayBuffer(8)))),To=typeof Map<"u"&&rl(new Map),mp=Ve("DataView");function bp(e){return e!=null&&ze(e.getInt8)&&wo(e.buffer)}const Kn=al?bp:mp,Mt=dp||Ve("Array");function Pt(e,t){return e!=null&&up.call(e,t)}var xn=Ve("Arguments");(function(){xn(arguments)||(xn=function(e){return Pt(e,"callee")})})();function ol(e){return!_o(e)&&fp(e)&&!isNaN(parseFloat(e))}function Uo(e){return vo(e)&&hp(e)}function Eo(e){return function(){return e}}function sl(e){return function(t){var n=e(t);return typeof n=="number"&&n>=0&&n<=gp}}function cl(e){return function(t){return t==null?void 0:t[e]}}const xr=cl("byteLength"),yp=sl(xr);var xp=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Dp(e){return Fs?Fs(e)&&!Kn(e):yp(e)&&xp.test($n.call(e))}const Ao=Yu?Dp:Eo(!1),Ye=cl("length");function vp(e){for(var t={},n=e.length,i=0;i<n;++i)t[e[i]]=!0;return{contains:function(r){return t[r]===!0},push:function(r){return t[r]=!0,e.push(r)}}}function ul(e,t){t=vp(t);var n=Ss.length,i=e.constructor,r=ze(i)&&i.prototype||yo,a="constructor";for(Pt(e,a)&&!t.contains(a)&&t.push(a);n--;)a=Ss[n],a in e&&e[a]!==r[a]&&!t.contains(a)&&t.push(a)}function je(e){if(!Ot(e))return[];if(Cs)return Cs(e);var t=[];for(var n in e)Pt(e,n)&&t.push(n);return Qu&&ul(e,t),t}function ll(e){if(e==null)return!0;var t=Ye(e);return typeof t=="number"&&(Mt(e)||Er(e)||xn(e))?t===0:Ye(je(e))===0}function Co(e,t){var n=je(t),i=n.length;if(e==null)return!i;for(var r=Object(e),a=0;a<i;a++){var o=n[a];if(t[o]!==r[o]||!(o in r))return!1}return!0}function Se(e){if(e instanceof Se)return e;if(!(this instanceof Se))return new Se(e);this._wrapped=e}Se.VERSION=bo;Se.prototype.value=function(){return this._wrapped};Se.prototype.valueOf=Se.prototype.toJSON=Se.prototype.value;Se.prototype.toString=function(){return String(this._wrapped)};function Bs(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,xr(e))}var Ns="[object DataView]";function eo(e,t,n,i){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var r=typeof e;return r!=="function"&&r!=="object"&&typeof t!="object"?!1:dl(e,t,n,i)}function dl(e,t,n,i){e instanceof Se&&(e=e._wrapped),t instanceof Se&&(t=t._wrapped);var r=$n.call(e);if(r!==$n.call(t))return!1;if(al&&r=="[object Object]"&&Kn(e)){if(!Kn(t))return!1;r=Ns}switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return As.valueOf.call(e)===As.valueOf.call(t);case"[object ArrayBuffer]":case Ns:return dl(Bs(e),Bs(t),n,i)}var a=r==="[object Array]";if(!a&&Ao(e)){var o=xr(e);if(o!==xr(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;a=!0}if(!a){if(typeof e!="object"||typeof t!="object")return!1;var s=e.constructor,c=t.constructor;if(s!==c&&!(ze(s)&&s instanceof s&&ze(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],i=i||[];for(var u=n.length;u--;)if(n[u]===e)return i[u]===t;if(n.push(e),i.push(t),a){if(u=e.length,u!==t.length)return!1;for(;u--;)if(!eo(e[u],t[u],n,i))return!1}else{var l=je(e),f;if(u=l.length,je(t).length!==u)return!1;for(;u--;)if(f=l[u],!(Pt(t,f)&&eo(e[f],t[f],n,i)))return!1}return n.pop(),i.pop(),!0}function hl(e,t){return eo(e,t)}function _n(e){if(!Ot(e))return[];var t=[];for(var n in e)t.push(n);return Qu&&ul(e,t),t}function ko(e){var t=Ye(e);return function(n){if(n==null)return!1;var i=_n(n);if(Ye(i))return!1;for(var r=0;r<t;r++)if(!ze(n[e[r]]))return!1;return e!==pl||!ze(n[Fo])}}var Fo="forEach",fl="has",So=["clear","delete"],gl=["get",fl,"set"],_p=So.concat(Fo,gl),pl=So.concat(gl),wp=["add"].concat(So,Fo,fl);const ml=To?ko(_p):Ve("Map"),bl=To?ko(pl):Ve("WeakMap"),yl=To?ko(wp):Ve("Set"),xl=Ve("WeakSet");function on(e){for(var t=je(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=e[t[r]];return i}function Dl(e){for(var t=je(e),n=t.length,i=Array(n),r=0;r<n;r++)i[r]=[t[r],e[t[r]]];return i}function Bo(e){for(var t={},n=je(e),i=0,r=n.length;i<r;i++)t[e[n[i]]]=n[i];return t}function Gn(e){var t=[];for(var n in e)ze(e[n])&&t.push(n);return t.sort()}function No(e,t){return function(n){var i=arguments.length;if(t&&(n=Object(n)),i<2||n==null)return n;for(var r=1;r<i;r++)for(var a=arguments[r],o=e(a),s=o.length,c=0;c<s;c++){var u=o[c];(!t||n[u]===void 0)&&(n[u]=a[u])}return n}}const Lo=No(_n),Dn=No(je),Ro=No(_n,!0);function Tp(){return function(){}}function vl(e){if(!Ot(e))return{};if(ks)return ks(e);var t=Tp();t.prototype=e;var n=new t;return t.prototype=null,n}function _l(e,t){var n=vl(e);return t&&Dn(n,t),n}function wl(e){return Ot(e)?Mt(e)?e.slice():Lo({},e):e}function Tl(e,t){return t(e),e}function Io(e){return Mt(e)?e:[e]}Se.toPath=Io;function ei(e){return Se.toPath(e)}function Wo(e,t){for(var n=t.length,i=0;i<n;i++){if(e==null)return;e=e[t[i]]}return n?e:void 0}function Oo(e,t,n){var i=Wo(e,ei(t));return xo(i)?n:i}function Ul(e,t){t=ei(t);for(var n=t.length,i=0;i<n;i++){var r=t[i];if(!Pt(e,r))return!1;e=e[r]}return!!n}function Ar(e){return e}function rn(e){return e=Dn({},e),function(t){return Co(t,e)}}function Cr(e){return e=ei(e),function(t){return Wo(t,e)}}function ti(e,t,n){if(t===void 0)return e;switch(n??3){case 1:return function(i){return e.call(t,i)};case 3:return function(i,r,a){return e.call(t,i,r,a)};case 4:return function(i,r,a,o){return e.call(t,i,r,a,o)}}return function(){return e.apply(t,arguments)}}function El(e,t,n){return e==null?Ar:ze(e)?ti(e,t,n):Ot(e)&&!Mt(e)?rn(e):Cr(e)}function kr(e,t){return El(e,t,1/0)}Se.iteratee=kr;function Qe(e,t,n){return Se.iteratee!==kr?Se.iteratee(e,t):El(e,t,n)}function Al(e,t,n){t=Qe(t,n);for(var i=je(e),r=i.length,a={},o=0;o<r;o++){var s=i[o];a[s]=t(e[s],s,e)}return a}function Mo(){}function Cl(e){return e==null?Mo:function(t){return Oo(e,t)}}function kl(e,t,n){var i=Array(Math.max(0,e));t=ti(t,n,1);for(var r=0;r<e;r++)i[r]=t(r);return i}function Dr(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}const vn=Date.now||function(){return new Date().getTime()};function Fl(e){var t=function(a){return e[a]},n="(?:"+je(e).join("|")+")",i=RegExp(n),r=RegExp(n,"g");return function(a){return a=a==null?"":""+a,i.test(a)?a.replace(r,t):a}}const Sl={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},Bl=Fl(Sl),Up=Bo(Sl),Nl=Fl(Up),Ll=Se.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var aa=/(.)^/,Ep={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ap=/\\|'|\r|\n|\u2028|\u2029/g;function Cp(e){return"\\"+Ep[e]}var kp=/^\s*(\w|\$)+\s*$/;function Rl(e,t,n){!t&&n&&(t=n),t=Ro({},t,Se.templateSettings);var i=RegExp([(t.escape||aa).source,(t.interpolate||aa).source,(t.evaluate||aa).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,function(u,l,f,g,d){return a+=e.slice(r,d).replace(Ap,Cp),r=d+u.length,l?a+=`'+
24
+ ((__t=(`+l+`))==null?'':_.escape(__t))+
25
+ '`:f?a+=`'+
26
+ ((__t=(`+f+`))==null?'':__t)+
27
+ '`:g&&(a+=`';
28
+ `+g+`
29
+ __p+='`),u}),a+=`';
30
+ `;var o=t.variable;if(o){if(!kp.test(o))throw new Error("variable is not a bare identifier: "+o)}else a=`with(obj||{}){
31
+ `+a+`}
32
+ `,o="obj";a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
33
+ `+a+`return __p;
34
+ `;var s;try{s=new Function(o,"_",a)}catch(u){throw u.source=a,u}var c=function(u){return s.call(this,u,Se)};return c.source="function("+o+`){
35
+ `+a+"}",c}function Il(e,t,n){t=ei(t);var i=t.length;if(!i)return ze(n)?n.call(e):n;for(var r=0;r<i;r++){var a=e==null?void 0:e[t[r]];a===void 0&&(a=n,r=i),e=ze(a)?a.call(e):a}return e}var Fp=0;function Wl(e){var t=++Fp+"";return e?e+t:t}function Ol(e){var t=Se(e);return t._chain=!0,t}function Ml(e,t,n,i,r){if(!(i instanceof t))return e.apply(n,r);var a=vl(e.prototype),o=e.apply(a,r);return Ot(o)?o:a}var sn=Ke(function(e,t){var n=sn.placeholder,i=function(){for(var r=0,a=t.length,o=Array(a),s=0;s<a;s++)o[s]=t[s]===n?arguments[r++]:t[s];for(;r<arguments.length;)o.push(arguments[r++]);return Ml(e,i,this,this,o)};return i});sn.placeholder=Se;const Po=Ke(function(e,t,n){if(!ze(e))throw new TypeError("Bind must be called on a function");var i=Ke(function(r){return Ml(e,i,t,this,n.concat(r))});return i}),et=sl(Ye);function cn(e,t,n,i){if(i=i||[],!t&&t!==0)t=1/0;else if(t<=0)return i.concat(e);for(var r=i.length,a=0,o=Ye(e);a<o;a++){var s=e[a];if(et(s)&&(Mt(s)||xn(s)))if(t>1)cn(s,t-1,n,i),r=i.length;else for(var c=0,u=s.length;c<u;)i[r++]=s[c++];else n||(i[r++]=s)}return i}const Pl=Ke(function(e,t){t=cn(t,!1,!1);var n=t.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var i=t[n];e[i]=Po(e[i],e)}return e});function jl(e,t){var n=function(i){var r=n.cache,a=""+(t?t.apply(this,arguments):i);return Pt(r,a)||(r[a]=e.apply(this,arguments)),r[a]};return n.cache={},n}const jo=Ke(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),ql=sn(jo,Se,1);function Hl(e,t,n){var i,r,a,o,s=0;n||(n={});var c=function(){s=n.leading===!1?0:vn(),i=null,o=e.apply(r,a),i||(r=a=null)},u=function(){var l=vn();!s&&n.leading===!1&&(s=l);var f=t-(l-s);return r=this,a=arguments,f<=0||f>t?(i&&(clearTimeout(i),i=null),s=l,o=e.apply(r,a),i||(r=a=null)):!i&&n.trailing!==!1&&(i=setTimeout(c,f)),o};return u.cancel=function(){clearTimeout(i),s=0,i=r=a=null},u}function zl(e,t,n){var i,r,a,o,s,c=function(){var l=vn()-r;t>l?i=setTimeout(c,t-l):(i=null,n||(o=e.apply(s,a)),i||(a=s=null))},u=Ke(function(l){return s=this,a=l,r=vn(),i||(i=setTimeout(c,t),n&&(o=e.apply(s,a))),o});return u.cancel=function(){clearTimeout(i),i=a=s=null},u}function Xl(e,t){return sn(t,e)}function Fr(e){return function(){return!e.apply(this,arguments)}}function Vl(){var e=arguments,t=e.length-1;return function(){for(var n=t,i=e[t].apply(this,arguments);n--;)i=e[n].call(this,i);return i}}function $l(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function qo(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Kl=sn(qo,2);function Ho(e,t,n){t=Qe(t,n);for(var i=je(e),r,a=0,o=i.length;a<o;a++)if(r=i[a],t(e[r],r,e))return r}function Gl(e){return function(t,n,i){n=Qe(n,i);for(var r=Ye(t),a=e>0?0:r-1;a>=0&&a<r;a+=e)if(n(t[a],a,t))return a;return-1}}const Sr=Gl(1),zo=Gl(-1);function Xo(e,t,n,i){n=Qe(n,i,1);for(var r=n(t),a=0,o=Ye(e);a<o;){var s=Math.floor((a+o)/2);n(e[s])<r?a=s+1:o=s}return a}function Zl(e,t,n){return function(i,r,a){var o=0,s=Ye(i);if(typeof a=="number")e>0?o=a>=0?a:Math.max(a+s,o):s=a>=0?Math.min(a+1,s):a+s+1;else if(n&&a&&s)return a=n(i,r),i[a]===r?a:-1;if(r!==r)return a=t(Jn.call(i,o,s),Uo),a>=0?a+o:-1;for(a=e>0?o:s-1;a>=0&&a<s;a+=e)if(i[a]===r)return a;return-1}}const Vo=Zl(1,Sr,Xo),Yl=Zl(-1,zo);function Zn(e,t,n){var i=et(e)?Sr:Ho,r=i(e,t,n);if(r!==void 0&&r!==-1)return e[r]}function Ql(e,t){return Zn(e,rn(t))}function lt(e,t,n){t=ti(t,n);var i,r;if(et(e))for(i=0,r=e.length;i<r;i++)t(e[i],i,e);else{var a=je(e);for(i=0,r=a.length;i<r;i++)t(e[a[i]],a[i],e)}return e}function Et(e,t,n){t=Qe(t,n);for(var i=!et(e)&&je(e),r=(i||e).length,a=Array(r),o=0;o<r;o++){var s=i?i[o]:o;a[o]=t(e[s],s,e)}return a}function Jl(e){var t=function(n,i,r,a){var o=!et(n)&&je(n),s=(o||n).length,c=e>0?0:s-1;for(a||(r=n[o?o[c]:c],c+=e);c>=0&&c<s;c+=e){var u=o?o[c]:c;r=i(r,n[u],u,n)}return r};return function(n,i,r,a){var o=arguments.length>=3;return t(n,ti(i,a,4),r,o)}}const pn=Jl(1),vr=Jl(-1);function Wt(e,t,n){var i=[];return t=Qe(t,n),lt(e,function(r,a,o){t(r,a,o)&&i.push(r)}),i}function ed(e,t,n){return Wt(e,Fr(Qe(t)),n)}function _r(e,t,n){t=Qe(t,n);for(var i=!et(e)&&je(e),r=(i||e).length,a=0;a<r;a++){var o=i?i[a]:a;if(!t(e[o],o,e))return!1}return!0}function wr(e,t,n){t=Qe(t,n);for(var i=!et(e)&&je(e),r=(i||e).length,a=0;a<r;a++){var o=i?i[a]:a;if(t(e[o],o,e))return!0}return!1}function at(e,t,n,i){return et(e)||(e=on(e)),(typeof n!="number"||i)&&(n=0),Vo(e,t,n)>=0}const td=Ke(function(e,t,n){var i,r;return ze(t)?r=t:(t=ei(t),i=t.slice(0,-1),t=t[t.length-1]),Et(e,function(a){var o=r;if(!o){if(i&&i.length&&(a=Wo(a,i)),a==null)return;o=a[t]}return o==null?o:o.apply(a,n)})});function Br(e,t){return Et(e,Cr(t))}function nd(e,t){return Wt(e,rn(t))}function $o(e,t,n){var i=-1/0,r=-1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=et(e)?e:on(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a>i&&(i=a)}else t=Qe(t,n),lt(e,function(u,l,f){o=t(u,l,f),(o>r||o===-1/0&&i===-1/0)&&(i=u,r=o)});return i}function id(e,t,n){var i=1/0,r=1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=et(e)?e:on(e);for(var s=0,c=e.length;s<c;s++)a=e[s],a!=null&&a<i&&(i=a)}else t=Qe(t,n),lt(e,function(u,l,f){o=t(u,l,f),(o<r||o===1/0&&i===1/0)&&(i=u,r=o)});return i}var Sp=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Ko(e){return e?Mt(e)?Jn.call(e):Er(e)?e.match(Sp):et(e)?Et(e,Ar):on(e):[]}function Go(e,t,n){if(t==null||n)return et(e)||(e=on(e)),e[Dr(e.length-1)];var i=Ko(e),r=Ye(i);t=Math.max(Math.min(t,r),0);for(var a=r-1,o=0;o<t;o++){var s=Dr(o,a),c=i[o];i[o]=i[s],i[s]=c}return i.slice(0,t)}function rd(e){return Go(e,1/0)}function ad(e,t,n){var i=0;return t=Qe(t,n),Br(Et(e,function(r,a,o){return{value:r,index:i++,criteria:t(r,a,o)}}).sort(function(r,a){var o=r.criteria,s=a.criteria;if(o!==s){if(o>s||o===void 0)return 1;if(o<s||s===void 0)return-1}return r.index-a.index}),"value")}function Nr(e,t){return function(n,i,r){var a=t?[[],[]]:{};return i=Qe(i,r),lt(n,function(o,s){var c=i(o,s,n);e(a,o,c)}),a}}const od=Nr(function(e,t,n){Pt(e,n)?e[n].push(t):e[n]=[t]}),sd=Nr(function(e,t,n){e[n]=t}),cd=Nr(function(e,t,n){Pt(e,n)?e[n]++:e[n]=1}),ud=Nr(function(e,t,n){e[n?0:1].push(t)},!0);function ld(e){return e==null?0:et(e)?e.length:je(e).length}function Bp(e,t,n){return t in n}const Zo=Ke(function(e,t){var n={},i=t[0];if(e==null)return n;ze(i)?(t.length>1&&(i=ti(i,t[1])),t=_n(e)):(i=Bp,t=cn(t,!1,!1),e=Object(e));for(var r=0,a=t.length;r<a;r++){var o=t[r],s=e[o];i(s,o,e)&&(n[o]=s)}return n}),dd=Ke(function(e,t){var n=t[0],i;return ze(n)?(n=Fr(n),t.length>1&&(i=t[1])):(t=Et(cn(t,!1,!1),String),n=function(r,a){return!at(t,a)}),Zo(e,n,i)});function Yo(e,t,n){return Jn.call(e,0,Math.max(0,e.length-(t==null||n?1:t)))}function mn(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[0]:Yo(e,e.length-t)}function nn(e,t,n){return Jn.call(e,t==null||n?1:t)}function hd(e,t,n){return e==null||e.length<1?t==null||n?void 0:[]:t==null||n?e[e.length-1]:nn(e,Math.max(0,e.length-t))}function fd(e){return Wt(e,Boolean)}function gd(e,t){return cn(e,t,!1)}const Qo=Ke(function(e,t){return t=cn(t,!0,!0),Wt(e,function(n){return!at(t,n)})}),pd=Ke(function(e,t){return Qo(e,t)});function Yn(e,t,n,i){Do(t)||(i=n,n=t,t=!1),n!=null&&(n=Qe(n,i));for(var r=[],a=[],o=0,s=Ye(e);o<s;o++){var c=e[o],u=n?n(c,o,e):c;t&&!n?((!o||a!==u)&&r.push(c),a=u):n?at(a,u)||(a.push(u),r.push(c)):at(r,c)||r.push(c)}return r}const md=Ke(function(e){return Yn(cn(e,!0,!0))});function bd(e){for(var t=[],n=arguments.length,i=0,r=Ye(e);i<r;i++){var a=e[i];if(!at(t,a)){var o;for(o=1;o<n&&at(arguments[o],a);o++);o===n&&t.push(a)}}return t}function Qn(e){for(var t=e&&$o(e,Ye).length||0,n=Array(t),i=0;i<t;i++)n[i]=Br(e,i);return n}const yd=Ke(Qn);function xd(e,t){for(var n={},i=0,r=Ye(e);i<r;i++)t?n[e[i]]=t[i]:n[e[i][0]]=e[i][1];return n}function Dd(e,t,n){t==null&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var i=Math.max(Math.ceil((t-e)/n),0),r=Array(i),a=0;a<i;a++,e+=n)r[a]=e;return r}function vd(e,t){if(t==null||t<1)return[];for(var n=[],i=0,r=e.length;i<r;)n.push(Jn.call(e,i,i+=t));return n}function Jo(e,t){return e._chain?Se(t).chain():t}function es(e){return lt(Gn(e),function(t){var n=Se[t]=e[t];Se.prototype[t]=function(){var i=[this._wrapped];return cp.apply(i,arguments),Jo(this,n.apply(Se,i))}}),Se}lt(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=Ur[e];Se.prototype[e]=function(){var n=this._wrapped;return n!=null&&(t.apply(n,arguments),(e==="shift"||e==="splice")&&n.length===0&&delete n[0]),Jo(this,n)}});lt(["concat","join","slice"],function(e){var t=Ur[e];Se.prototype[e]=function(){var n=this._wrapped;return n!=null&&(n=t.apply(n,arguments)),Jo(this,n)}});const Np=Object.freeze(Object.defineProperty({__proto__:null,VERSION:bo,after:$l,all:_r,allKeys:_n,any:wr,assign:Dn,before:qo,bind:Po,bindAll:Pl,chain:Ol,chunk:vd,clone:wl,collect:Et,compact:fd,compose:Vl,constant:Eo,contains:at,countBy:cd,create:_l,debounce:zl,default:Se,defaults:Ro,defer:ql,delay:jo,detect:Zn,difference:Qo,drop:nn,each:lt,escape:Bl,every:_r,extend:Lo,extendOwn:Dn,filter:Wt,find:Zn,findIndex:Sr,findKey:Ho,findLastIndex:zo,findWhere:Ql,first:mn,flatten:gd,foldl:pn,foldr:vr,forEach:lt,functions:Gn,get:Oo,groupBy:od,has:Ul,head:mn,identity:Ar,include:at,includes:at,indexBy:sd,indexOf:Vo,initial:Yo,inject:pn,intersection:bd,invert:Bo,invoke:td,isArguments:xn,isArray:Mt,isArrayBuffer:wo,isBoolean:Do,isDataView:Kn,isDate:tl,isElement:el,isEmpty:ll,isEqual:hl,isError:il,isFinite:ol,isFunction:ze,isMap:ml,isMatch:Co,isNaN:Uo,isNull:Ju,isNumber:vo,isObject:Ot,isRegExp:nl,isSet:yl,isString:Er,isSymbol:_o,isTypedArray:Ao,isUndefined:xo,isWeakMap:bl,isWeakSet:xl,iteratee:kr,keys:je,last:hd,lastIndexOf:Yl,map:Et,mapObject:Al,matcher:rn,matches:rn,max:$o,memoize:jl,methods:Gn,min:id,mixin:es,negate:Fr,noop:Mo,now:vn,object:xd,omit:dd,once:Kl,pairs:Dl,partial:sn,partition:ud,pick:Zo,pluck:Br,property:Cr,propertyOf:Cl,random:Dr,range:Dd,reduce:pn,reduceRight:vr,reject:ed,rest:nn,restArguments:Ke,result:Il,sample:Go,select:Wt,shuffle:rd,size:ld,some:wr,sortBy:ad,sortedIndex:Xo,tail:nn,take:mn,tap:Tl,template:Rl,templateSettings:Ll,throttle:Hl,times:kl,toArray:Ko,toPath:Io,transpose:Qn,unescape:Nl,union:md,uniq:Yn,unique:Yn,uniqueId:Wl,unzip:Qn,values:on,where:nd,without:pd,wrap:Xl,zip:yd},Symbol.toStringTag,{value:"Module"}));var to=es(Np);to._=to;const Lp=Object.freeze(Object.defineProperty({__proto__:null,VERSION:bo,after:$l,all:_r,allKeys:_n,any:wr,assign:Dn,before:qo,bind:Po,bindAll:Pl,chain:Ol,chunk:vd,clone:wl,collect:Et,compact:fd,compose:Vl,constant:Eo,contains:at,countBy:cd,create:_l,debounce:zl,default:to,defaults:Ro,defer:ql,delay:jo,detect:Zn,difference:Qo,drop:nn,each:lt,escape:Bl,every:_r,extend:Lo,extendOwn:Dn,filter:Wt,find:Zn,findIndex:Sr,findKey:Ho,findLastIndex:zo,findWhere:Ql,first:mn,flatten:gd,foldl:pn,foldr:vr,forEach:lt,functions:Gn,get:Oo,groupBy:od,has:Ul,head:mn,identity:Ar,include:at,includes:at,indexBy:sd,indexOf:Vo,initial:Yo,inject:pn,intersection:bd,invert:Bo,invoke:td,isArguments:xn,isArray:Mt,isArrayBuffer:wo,isBoolean:Do,isDataView:Kn,isDate:tl,isElement:el,isEmpty:ll,isEqual:hl,isError:il,isFinite:ol,isFunction:ze,isMap:ml,isMatch:Co,isNaN:Uo,isNull:Ju,isNumber:vo,isObject:Ot,isRegExp:nl,isSet:yl,isString:Er,isSymbol:_o,isTypedArray:Ao,isUndefined:xo,isWeakMap:bl,isWeakSet:xl,iteratee:kr,keys:je,last:hd,lastIndexOf:Yl,map:Et,mapObject:Al,matcher:rn,matches:rn,max:$o,memoize:jl,methods:Gn,min:id,mixin:es,negate:Fr,noop:Mo,now:vn,object:xd,omit:dd,once:Kl,pairs:Dl,partial:sn,partition:ud,pick:Zo,pluck:Br,property:Cr,propertyOf:Cl,random:Dr,range:Dd,reduce:pn,reduceRight:vr,reject:ed,rest:nn,restArguments:Ke,result:Il,sample:Go,select:Wt,shuffle:rd,size:ld,some:wr,sortBy:ad,sortedIndex:Xo,tail:nn,take:mn,tap:Tl,template:Rl,templateSettings:Ll,throttle:Hl,times:kl,toArray:Ko,toPath:Io,transpose:Qn,unescape:Nl,union:md,uniq:Yn,unique:Yn,uniqueId:Wl,unzip:Qn,values:on,where:nd,without:pd,wrap:Xl,zip:yd},Symbol.toStringTag,{value:"Module"})),Pe=T.getAugmentedNamespace(Lp);var ci={},it={},oa={exports:{}},ui={exports:{}},Ls;function ni(){if(Ls)return ui.exports;Ls=1;var e=function(){return this===void 0}();if(e)ui.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:e,propertyIsWritable:function(l,f){var g=Object.getOwnPropertyDescriptor(l,f);return!!(!g||g.writable||g.set)}};else{var t={}.hasOwnProperty,n={}.toString,i={}.constructor.prototype,r=function(l){var f=[];for(var g in l)t.call(l,g)&&f.push(g);return f},a=function(l,f){return{value:l[f]}},o=function(l,f,g){return l[f]=g.value,l},s=function(l){return l},c=function(l){try{return Object(l).constructor.prototype}catch{return i}},u=function(l){try{return n.call(l)==="[object Array]"}catch{return!1}};ui.exports={isArray:u,keys:r,names:r,defineProperty:o,getDescriptor:a,freeze:s,getPrototypeOf:c,isES5:e,propertyIsWritable:function(){return!0}}}return ui.exports}var An,Rs;function bt(){if(Rs)return An;Rs=1;var e=ni(),t=typeof navigator>"u",n={e:{}},i,r=typeof self<"u"?self:typeof window<"u"?window:typeof T.commonjsGlobal<"u"?T.commonjsGlobal:An!==void 0?An:null;function a(){try{var I=i;return i=null,I.apply(this,arguments)}catch(oe){return n.e=oe,n}}function o(I){return i=I,a}var s=function(I,oe){var se={}.hasOwnProperty;function ie(){this.constructor=I,this.constructor$=oe;for(var he in oe.prototype)se.call(oe.prototype,he)&&he.charAt(he.length-1)!=="$"&&(this[he+"$"]=oe.prototype[he])}return ie.prototype=oe.prototype,I.prototype=new ie,I.prototype};function c(I){return I==null||I===!0||I===!1||typeof I=="string"||typeof I=="number"}function u(I){return typeof I=="function"||typeof I=="object"&&I!==null}function l(I){return c(I)?new Error(U(I)):I}function f(I,oe){var se=I.length,ie=new Array(se+1),he;for(he=0;he<se;++he)ie[he]=I[he];return ie[he]=oe,ie}function g(I,oe,se){if(e.isES5){var ie=Object.getOwnPropertyDescriptor(I,oe);if(ie!=null)return ie.get==null&&ie.set==null?ie.value:se}else return{}.hasOwnProperty.call(I,oe)?I[oe]:void 0}function d(I,oe,se){if(c(I))return I;var ie={value:se,configurable:!0,enumerable:!1,writable:!0};return e.defineProperty(I,oe,ie),I}function x(I){throw I}var m=function(){var I=[Array.prototype,Object.prototype,Function.prototype],oe=function(he){for(var _e=0;_e<I.length;++_e)if(I[_e]===he)return!0;return!1};if(e.isES5){var se=Object.getOwnPropertyNames;return function(he){for(var _e=[],ge=Object.create(null);he!=null&&!oe(he);){var ye;try{ye=se(he)}catch{return _e}for(var xe=0;xe<ye.length;++xe){var ve=ye[xe];if(!ge[ve]){ge[ve]=!0;var ke=Object.getOwnPropertyDescriptor(he,ve);ke!=null&&ke.get==null&&ke.set==null&&_e.push(ve)}}he=e.getPrototypeOf(he)}return _e}}else{var ie={}.hasOwnProperty;return function(he){if(oe(he))return[];var _e=[];e:for(var ge in he)if(ie.call(he,ge))_e.push(ge);else{for(var ye=0;ye<I.length;++ye)if(ie.call(I[ye],ge))continue e;_e.push(ge)}return _e}}}(),h=/this\s*\.\s*\S+\s*=/;function b(I){try{if(typeof I=="function"){var oe=e.names(I.prototype),se=e.isES5&&oe.length>1,ie=oe.length>0&&!(oe.length===1&&oe[0]==="constructor"),he=h.test(I+"")&&e.names(I).length>0;if(se||ie||he)return!0}return!1}catch{return!1}}function p(I){return I}var D=/^[a-z$_][a-z$_0-9]*$/i;function w(I){return D.test(I)}function _(I,oe,se){for(var ie=new Array(I),he=0;he<I;++he)ie[he]=oe+he+se;return ie}function U(I){try{return I+""}catch{return"[no string representation]"}}function E(I){return I!==null&&typeof I=="object"&&typeof I.message=="string"&&typeof I.name=="string"}function L(I){try{d(I,"isOperational",!0)}catch{}}function A(I){return I==null?!1:I instanceof Error.__BluebirdErrorTypes__.OperationalError||I.isOperational===!0}function W(I){return E(I)&&e.propertyIsWritable(I,"stack")}var N=function(){return"stack"in new Error?function(I){return W(I)?I:new Error(U(I))}:function(I){if(W(I))return I;try{throw new Error(U(I))}catch(oe){return oe}}}();function F(I){return{}.toString.call(I)}function q(I,oe,se){for(var ie=e.names(I),he=0;he<ie.length;++he){var _e=ie[he];if(se(_e))try{e.defineProperty(oe,_e,e.getDescriptor(I,_e))}catch{}}}var v=function(I){return e.isArray(I)?I:null};if(typeof Symbol<"u"&&Symbol.iterator){var k=typeof Array.from=="function"?function(I){return Array.from(I)}:function(I){for(var oe=[],se=I[Symbol.iterator](),ie;!(ie=se.next()).done;)oe.push(ie.value);return oe};v=function(I){return e.isArray(I)?I:I!=null&&typeof I[Symbol.iterator]=="function"?k(I):null}}var V=typeof process<"u"&&F(process).toLowerCase()==="[object process]",P=typeof process<"u"&&typeof process.env<"u";function J(I){return P?process.env[I]:void 0}function K(){if(typeof Promise=="function")try{var I=new Promise(function(){});if({}.toString.call(I)==="[object Promise]")return Promise}catch{}}function re(I,oe){return I.bind(oe)}var j={isClass:b,isIdentifier:w,inheritedDataKeys:m,getDataPropertyOrDefault:g,thrower:x,isArray:e.isArray,asArray:v,notEnumerableProp:d,isPrimitive:c,isObject:u,isError:E,canEvaluate:t,errorObj:n,tryCatch:o,inherits:s,withAppended:f,maybeWrapAsError:l,toFastProperties:p,filledRange:_,toString:U,canAttachTrace:W,ensureErrorObject:N,originatesFromRejection:A,markAsOriginatingFromRejection:L,classString:F,copyDescriptors:q,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:V,hasEnvVariables:P,env:J,global:r,getNativePromise:K,domainBind:re};j.isRecentNode=j.isNode&&function(){var I=process.versions.node.split(".").map(Number);return I[0]===0&&I[1]>10||I[0]>0}(),j.isNode&&j.toFastProperties(process);try{throw new Error}catch(I){j.lastLineError=I}return An=j,An}var li={exports:{}},sa,Is;function Rp(){if(Is)return sa;Is=1;var e=bt(),t,n=function(){throw new Error(`No async scheduler available
36
+
37
+ See http://goo.gl/MqrFmX
38
+ `)},i=e.getNativePromise();if(e.isNode&&typeof MutationObserver>"u"){var r=T.commonjsGlobal.setImmediate,a=process.nextTick;t=e.isRecentNode?function(s){r.call(T.commonjsGlobal,s)}:function(s){a.call(process,s)}}else if(typeof i=="function"&&typeof i.resolve=="function"){var o=i.resolve();t=function(s){o.then(s)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))?t=function(){var s=document.createElement("div"),c={attributes:!0},u=!1,l=document.createElement("div"),f=new MutationObserver(function(){s.classList.toggle("foo"),u=!1});f.observe(l,c);var g=function(){u||(u=!0,l.classList.toggle("foo"))};return function(x){var m=new MutationObserver(function(){m.disconnect(),x()});m.observe(s,c),g()}}():typeof setImmediate<"u"?t=function(s){setImmediate(s)}:typeof setTimeout<"u"?t=function(s){setTimeout(s,0)}:t=n;return sa=t,sa}var ca,Ws;function Ip(){if(Ws)return ca;Ws=1;function e(n,i,r,a,o){for(var s=0;s<o;++s)r[s+a]=n[s+i],n[s+i]=void 0}function t(n){this._capacity=n,this._length=0,this._front=0}return t.prototype._willBeOverCapacity=function(n){return this._capacity<n},t.prototype._pushOne=function(n){var i=this.length();this._checkCapacity(i+1);var r=this._front+i&this._capacity-1;this[r]=n,this._length=i+1},t.prototype.push=function(n,i,r){var a=this.length()+3;if(this._willBeOverCapacity(a)){this._pushOne(n),this._pushOne(i),this._pushOne(r);return}var o=this._front+a-3;this._checkCapacity(a);var s=this._capacity-1;this[o+0&s]=n,this[o+1&s]=i,this[o+2&s]=r,this._length=a},t.prototype.shift=function(){var n=this._front,i=this[n];return this[n]=void 0,this._front=n+1&this._capacity-1,this._length--,i},t.prototype.length=function(){return this._length},t.prototype._checkCapacity=function(n){this._capacity<n&&this._resizeTo(this._capacity<<1)},t.prototype._resizeTo=function(n){var i=this._capacity;this._capacity=n;var r=this._front,a=this._length,o=r+a&i-1;e(this,0,this,i,o)},ca=t,ca}var Os;function Wp(){if(Os)return li.exports;Os=1;var e;try{throw new Error}catch(c){e=c}var t=Rp(),n=Ip(),i=bt();function r(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new n(16),this._normalQueue=new n(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var c=this;this.drainQueues=function(){c._drainQueues()},this._schedule=t}r.prototype.setScheduler=function(c){var u=this._schedule;return this._schedule=c,this._customScheduler=!0,u},r.prototype.hasCustomScheduler=function(){return this._customScheduler},r.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},r.prototype.disableTrampolineIfNecessary=function(){i.hasDevTools&&(this._trampolineEnabled=!1)},r.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},r.prototype.fatalError=function(c,u){u?(process.stderr.write("Fatal "+(c instanceof Error?c.stack:c)+`
39
+ `),process.exit(2)):this.throwLater(c)},r.prototype.throwLater=function(c,u){if(arguments.length===1&&(u=c,c=function(){throw u}),typeof setTimeout<"u")setTimeout(function(){c(u)},0);else try{this._schedule(function(){c(u)})}catch{throw new Error(`No async scheduler available
40
+
41
+ See http://goo.gl/MqrFmX
42
+ `)}};function a(c,u,l){this._lateQueue.push(c,u,l),this._queueTick()}function o(c,u,l){this._normalQueue.push(c,u,l),this._queueTick()}function s(c){this._normalQueue._pushOne(c),this._queueTick()}return i.hasDevTools?(r.prototype.invokeLater=function(c,u,l){this._trampolineEnabled?a.call(this,c,u,l):this._schedule(function(){setTimeout(function(){c.call(u,l)},100)})},r.prototype.invoke=function(c,u,l){this._trampolineEnabled?o.call(this,c,u,l):this._schedule(function(){c.call(u,l)})},r.prototype.settlePromises=function(c){this._trampolineEnabled?s.call(this,c):this._schedule(function(){c._settlePromises()})}):(r.prototype.invokeLater=a,r.prototype.invoke=o,r.prototype.settlePromises=s),r.prototype._drainQueue=function(c){for(;c.length()>0;){var u=c.shift();if(typeof u!="function"){u._settlePromises();continue}var l=c.shift(),f=c.shift();u.call(l,f)}},r.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},r.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},r.prototype._reset=function(){this._isTickUsed=!1},li.exports=r,li.exports.firstLineError=e,li.exports}var ua,Ms;function ts(){if(Ms)return ua;Ms=1;var e=ni(),t=e.freeze,n=bt(),i=n.inherits,r=n.notEnumerableProp;function a(b,p){function D(w){if(!(this instanceof D))return new D(w);r(this,"message",typeof w=="string"?w:p),r(this,"name",b),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return i(D,Error),D}var o,s,c=a("Warning","warning"),u=a("CancellationError","cancellation error"),l=a("TimeoutError","timeout error"),f=a("AggregateError","aggregate error");try{o=TypeError,s=RangeError}catch{o=a("TypeError","type error"),s=a("RangeError","range error")}for(var g="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),d=0;d<g.length;++d)typeof Array.prototype[g[d]]=="function"&&(f.prototype[g[d]]=Array.prototype[g[d]]);e.defineProperty(f.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),f.prototype.isOperational=!0;var x=0;f.prototype.toString=function(){var b=Array(x*4+1).join(" "),p=`
43
+ `+b+`AggregateError of:
44
+ `;x++,b=Array(x*4+1).join(" ");for(var D=0;D<this.length;++D){for(var w=this[D]===this?"[Circular AggregateError]":this[D]+"",_=w.split(`
45
+ `),U=0;U<_.length;++U)_[U]=b+_[U];w=_.join(`
46
+ `),p+=w+`
47
+ `}return x--,p};function m(b){if(!(this instanceof m))return new m(b);r(this,"name","OperationalError"),r(this,"message",b),this.cause=b,this.isOperational=!0,b instanceof Error?(r(this,"message",b.message),r(this,"stack",b.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}i(m,Error);var h=Error.__BluebirdErrorTypes__;return h||(h=t({CancellationError:u,TimeoutError:l,OperationalError:m,RejectionError:m,AggregateError:f}),e.defineProperty(Error,"__BluebirdErrorTypes__",{value:h,writable:!1,enumerable:!1,configurable:!1})),ua={Error,TypeError:o,RangeError:s,CancellationError:h.CancellationError,OperationalError:h.OperationalError,TimeoutError:h.TimeoutError,AggregateError:h.AggregateError,Warning:c},ua}var la,Ps;function Op(){return Ps||(Ps=1,la=function(e,t){var n=bt(),i=n.errorObj,r=n.isObject;function a(f,g){if(r(f)){if(f instanceof e)return f;var d=s(f);if(d===i){g&&g._pushContext();var x=e.reject(d.e);return g&&g._popContext(),x}else if(typeof d=="function"){if(u(f)){var x=new e(t);return f._then(x._fulfill,x._reject,void 0,x,null),x}return l(f,d,g)}}return f}function o(f){return f.then}function s(f){try{return o(f)}catch(g){return i.e=g,i}}var c={}.hasOwnProperty;function u(f){try{return c.call(f,"_promise0")}catch{return!1}}function l(f,g,d){var x=new e(t),m=x;d&&d._pushContext(),x._captureStackTrace(),d&&d._popContext();var h=!0,b=n.tryCatch(g).call(f,p,D);h=!1,x&&b===i&&(x._rejectCallback(b.e,!0,!0),x=null);function p(w){x&&(x._resolveCallback(w),x=null)}function D(w){x&&(x._rejectCallback(w,h,!0),x=null)}return m}return a}),la}var da,js;function Mp(){return js||(js=1,da=function(e,t,n,i,r){var a=bt();function o(c){switch(c){case-2:return[];case-3:return{}}}function s(c){var u=this._promise=new e(t);c instanceof e&&u._propagateFrom(c,3),u._setOnCancel(this),this._values=c,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return a.inherits(s,r),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function c(u,l){var f=n(this._values,this._promise);if(f instanceof e){f=f._target();var g=f._bitField;if(this._values=f,(g&50397184)===0)return this._promise._setAsyncGuaranteed(),f._then(c,this._reject,void 0,this,l);if((g&33554432)!==0)f=f._value();else return(g&16777216)!==0?this._reject(f._reason()):this._cancel()}if(f=a.asArray(f),f===null){var d=i("expecting an array or an iterable object but got "+a.classString(f)).reason();this._promise._rejectCallback(d,!1);return}if(f.length===0){l===-5?this._resolveEmptyArray():this._resolve(o(l));return}this._iterate(f)},s.prototype._iterate=function(c){var u=this.getActualLength(c.length);this._length=u,this._values=this.shouldCopyValues()?new Array(u):this._values;for(var l=this._promise,f=!1,g=null,d=0;d<u;++d){var x=n(c[d],l);x instanceof e?(x=x._target(),g=x._bitField):g=null,f?g!==null&&x.suppressUnhandledRejections():g!==null?(g&50397184)===0?(x._proxy(this,d),this._values[d]=x):(g&33554432)!==0?f=this._promiseFulfilled(x._value(),d):(g&16777216)!==0?f=this._promiseRejected(x._reason(),d):f=this._promiseCancelled(d):f=this._promiseFulfilled(x,d)}f||l._setAsyncGuaranteed()},s.prototype._isResolved=function(){return this._values===null},s.prototype._resolve=function(c){this._values=null,this._promise._fulfill(c)},s.prototype._cancel=function(){this._isResolved()||!this._promise._isCancellable()||(this._values=null,this._promise._cancel())},s.prototype._reject=function(c){this._values=null,this._promise._rejectCallback(c,!1)},s.prototype._promiseFulfilled=function(c,u){this._values[u]=c;var l=++this._totalResolved;return l>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(c){return this._totalResolved++,this._reject(c),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var c=this._values;if(this._cancel(),c instanceof e)c.cancel();else for(var u=0;u<c.length;++u)c[u]instanceof e&&c[u].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(c){return c},s}),da}var ha,qs;function Pp(){return qs||(qs=1,ha=function(e){var t=!1,n=[];e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){};function i(){this._trace=new i.CapturedTrace(a())}i.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,n.push(this._trace))},i.prototype._popContext=function(){if(this._trace!==void 0){var o=n.pop(),s=o._promiseCreated;return o._promiseCreated=null,s}return null};function r(){if(t)return new i}function a(){var o=n.length-1;if(o>=0)return n[o]}return i.CapturedTrace=null,i.create=r,i.deactivateLongStackTraces=function(){},i.activateLongStackTraces=function(){var o=e.prototype._pushContext,s=e.prototype._popContext,c=e._peekContext,u=e.prototype._peekContext,l=e.prototype._promiseCreated;i.deactivateLongStackTraces=function(){e.prototype._pushContext=o,e.prototype._popContext=s,e._peekContext=c,e.prototype._peekContext=u,e.prototype._promiseCreated=l,t=!1},t=!0,e.prototype._pushContext=i.prototype._pushContext,e.prototype._popContext=i.prototype._popContext,e._peekContext=e.prototype._peekContext=a,e.prototype._promiseCreated=function(){var f=this._peekContext();f&&f._promiseCreated==null&&(f._promiseCreated=this)}},i}),ha}var fa,Hs;function jp(){return Hs||(Hs=1,fa=function(e,t){var n=e._getDomain,i=e._async,r=ts().Warning,a=bt(),o=a.canAttachTrace,s,c,u=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,l=/\((?:timers\.js):\d+:\d+\)/,f=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,g=null,d=null,x=!1,m,h=!!(a.env("BLUEBIRD_DEBUG")!=0&&(a.env("BLUEBIRD_DEBUG")||a.env("NODE_ENV")==="development")),b=!!(a.env("BLUEBIRD_WARNINGS")!=0&&(h||a.env("BLUEBIRD_WARNINGS"))),p=!!(a.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(h||a.env("BLUEBIRD_LONG_STACK_TRACES"))),D=a.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(b||!!a.env("BLUEBIRD_W_FORGOTTEN_RETURN"));e.prototype.suppressUnhandledRejections=function(){var M=this._target();M._bitField=M._bitField&-1048577|524288},e.prototype._ensurePossibleRejectionHandled=function(){(this._bitField&524288)===0&&(this._setRejectionIsUnhandled(),i.invokeLater(this._notifyUnhandledRejection,this,void 0))},e.prototype._notifyUnhandledRejectionIsHandled=function(){ke("rejectionHandled",s,void 0,this)},e.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},e.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},e.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var M=this._settledValue();this._setUnhandledRejectionIsNotified(),ke("unhandledRejection",c,M,this)}},e.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},e.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},e.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},e.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},e.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},e.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},e.prototype._warn=function(M,X,Q){return se(M,X,Q||this)},e.onPossiblyUnhandledRejection=function(M){var X=n();c=typeof M=="function"?X===null?M:a.domainBind(X,M):void 0},e.onUnhandledRejectionHandled=function(M){var X=n();s=typeof M=="function"?X===null?M:a.domainBind(X,M):void 0};var w=function(){};e.longStackTraces=function(){if(i.haveItemsQueued()&&!Z.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
48
+
49
+ See http://goo.gl/MqrFmX
50
+ `);if(!Z.longStackTraces&&G()){var M=e.prototype._captureStackTrace,X=e.prototype._attachExtraTrace;Z.longStackTraces=!0,w=function(){if(i.haveItemsQueued()&&!Z.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
51
+
52
+ See http://goo.gl/MqrFmX
53
+ `);e.prototype._captureStackTrace=M,e.prototype._attachExtraTrace=X,t.deactivateLongStackTraces(),i.enableTrampoline(),Z.longStackTraces=!1},e.prototype._captureStackTrace=re,e.prototype._attachExtraTrace=j,t.activateLongStackTraces(),i.disableTrampolineIfNecessary()}},e.hasLongStackTraces=function(){return Z.longStackTraces&&G()};var _=function(){try{if(typeof CustomEvent=="function"){var M=new CustomEvent("CustomEvent");return a.global.dispatchEvent(M),function(X,Q){var ne=new CustomEvent(X.toLowerCase(),{detail:Q,cancelable:!0});return!a.global.dispatchEvent(ne)}}else if(typeof Event=="function"){var M=new Event("CustomEvent");return a.global.dispatchEvent(M),function(Q,ne){var de=new Event(Q.toLowerCase(),{cancelable:!0});return de.detail=ne,!a.global.dispatchEvent(de)}}else{var M=document.createEvent("CustomEvent");return M.initCustomEvent("testingtheevent",!1,!0,{}),a.global.dispatchEvent(M),function(Q,ne){var de=document.createEvent("CustomEvent");return de.initCustomEvent(Q.toLowerCase(),!1,!0,ne),!a.global.dispatchEvent(de)}}}catch{}return function(){return!1}}(),U=function(){return a.isNode?function(){return process.emit.apply(process,arguments)}:a.global?function(M){var X="on"+M.toLowerCase(),Q=a.global[X];return Q?(Q.apply(a.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function E(M,X){return{promise:X}}var L={promiseCreated:E,promiseFulfilled:E,promiseRejected:E,promiseResolved:E,promiseCancelled:E,promiseChained:function(M,X,Q){return{promise:X,child:Q}},warning:function(M,X){return{warning:X}},unhandledRejection:function(M,X,Q){return{reason:X,promise:Q}},rejectionHandled:E},A=function(M){var X=!1;try{X=U.apply(null,arguments)}catch(ne){i.throwLater(ne),X=!0}var Q=!1;try{Q=_(M,L[M].apply(null,arguments))}catch(ne){i.throwLater(ne),Q=!0}return Q||X};e.config=function(M){if(M=Object(M),"longStackTraces"in M&&(M.longStackTraces?e.longStackTraces():!M.longStackTraces&&e.hasLongStackTraces()&&w()),"warnings"in M){var X=M.warnings;Z.warnings=!!X,D=Z.warnings,a.isObject(X)&&"wForgottenReturn"in X&&(D=!!X.wForgottenReturn)}if("cancellation"in M&&M.cancellation&&!Z.cancellation){if(i.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");e.prototype._clearCancellationData=k,e.prototype._propagateFrom=V,e.prototype._onCancel=q,e.prototype._setOnCancel=v,e.prototype._attachCancellationCallback=F,e.prototype._execute=N,J=V,Z.cancellation=!0}return"monitoring"in M&&(M.monitoring&&!Z.monitoring?(Z.monitoring=!0,e.prototype._fireEvent=A):!M.monitoring&&Z.monitoring&&(Z.monitoring=!1,e.prototype._fireEvent=W)),e};function W(){return!1}e.prototype._fireEvent=W,e.prototype._execute=function(M,X,Q){try{M(X,Q)}catch(ne){return ne}},e.prototype._onCancel=function(){},e.prototype._setOnCancel=function(M){},e.prototype._attachCancellationCallback=function(M){},e.prototype._captureStackTrace=function(){},e.prototype._attachExtraTrace=function(){},e.prototype._clearCancellationData=function(){},e.prototype._propagateFrom=function(M,X){};function N(M,X,Q){var ne=this;try{M(X,Q,function(de){if(typeof de!="function")throw new TypeError("onCancel must be a function, got: "+a.toString(de));ne._attachCancellationCallback(de)})}catch(de){return de}}function F(M){if(!this._isCancellable())return this;var X=this._onCancel();X!==void 0?a.isArray(X)?X.push(M):this._setOnCancel([X,M]):this._setOnCancel(M)}function q(){return this._onCancelField}function v(M){this._onCancelField=M}function k(){this._cancellationParent=void 0,this._onCancelField=void 0}function V(M,X){if((X&1)!==0){this._cancellationParent=M;var Q=M._branchesRemainingToCancel;Q===void 0&&(Q=0),M._branchesRemainingToCancel=Q+1}(X&2)!==0&&M._isBound()&&this._setBoundTo(M._boundTo)}function P(M,X){(X&2)!==0&&M._isBound()&&this._setBoundTo(M._boundTo)}var J=P;function K(){var M=this._boundTo;return M!==void 0&&M instanceof e?M.isFulfilled()?M.value():void 0:M}function re(){this._trace=new ae(this._peekContext())}function j(M,X){if(o(M)){var Q=this._trace;if(Q!==void 0&&X&&(Q=Q._parent),Q!==void 0)Q.attachExtraTrace(M);else if(!M.__stackCleaned__){var ne=xe(M);a.notEnumerableProp(M,"stack",ne.message+`
54
+ `+ne.stack.join(`
55
+ `)),a.notEnumerableProp(M,"__stackCleaned__",!0)}}}function I(M,X,Q,ne,de){if(M===void 0&&X!==null&&D){if(de!==void 0&&de._returnedNonUndefined()||(ne._bitField&65535)===0)return;Q&&(Q=Q+" ");var me="",Te="";if(X._trace){for(var De=X._trace.stack.split(`
56
+ `),Y=ge(De),ce=Y.length-1;ce>=0;--ce){var ue=Y[ce];if(!l.test(ue)){var be=ue.match(f);be&&(me="at "+be[1]+":"+be[2]+":"+be[3]+" ");break}}if(Y.length>0){for(var Ae=Y[0],ce=0;ce<De.length;++ce)if(De[ce]===Ae){ce>0&&(Te=`
57
+ `+De[ce-1]);break}}}var Ue="a promise was created in a "+Q+"handler "+me+"but was not returned from it, see http://goo.gl/rRqMUw"+Te;ne._warn(Ue,!0,X)}}function oe(M,X){var Q=M+" is deprecated and will be removed in a future version.";return X&&(Q+=" Use "+X+" instead."),se(Q)}function se(M,X,Q){if(Z.warnings){var ne=new r(M),de;if(X)Q._attachExtraTrace(ne);else if(Z.longStackTraces&&(de=e._peekContext()))de.attachExtraTrace(ne);else{var me=xe(ne);ne.stack=me.message+`
58
+ `+me.stack.join(`
59
+ `)}A("warning",ne)||ve(ne,"",!0)}}function ie(M,X){for(var Q=0;Q<X.length-1;++Q)X[Q].push("From previous event:"),X[Q]=X[Q].join(`
60
+ `);return Q<X.length&&(X[Q]=X[Q].join(`
61
+ `)),M+`
62
+ `+X.join(`
63
+ `)}function he(M){for(var X=0;X<M.length;++X)(M[X].length===0||X+1<M.length&&M[X][0]===M[X+1][0])&&(M.splice(X,1),X--)}function _e(M){for(var X=M[0],Q=1;Q<M.length;++Q){for(var ne=M[Q],de=X.length-1,me=X[de],Te=-1,De=ne.length-1;De>=0;--De)if(ne[De]===me){Te=De;break}for(var De=Te;De>=0;--De){var Y=ne[De];if(X[de]===Y)X.pop(),de--;else break}X=ne}}function ge(M){for(var X=[],Q=0;Q<M.length;++Q){var ne=M[Q],de=ne===" (No stack trace)"||g.test(ne),me=de&&$(ne);de&&!me&&(x&&ne.charAt(0)!==" "&&(ne=" "+ne),X.push(ne))}return X}function ye(M){for(var X=M.stack.replace(/\s+$/g,"").split(`
64
+ `),Q=0;Q<X.length;++Q){var ne=X[Q];if(ne===" (No stack trace)"||g.test(ne))break}return Q>0&&M.name!="SyntaxError"&&(X=X.slice(Q)),X}function xe(M){var X=M.stack,Q=M.toString();return X=typeof X=="string"&&X.length>0?ye(M):[" (No stack trace)"],{message:Q,stack:M.name=="SyntaxError"?X:ge(X)}}function ve(M,X,Q){if(typeof console<"u"){var ne;if(a.isObject(M)){var de=M.stack;ne=X+d(de,M)}else ne=X+String(M);typeof m=="function"?m(ne,Q):(typeof console.log=="function"||typeof console.log=="object")&&console.log(ne)}}function ke(M,X,Q,ne){var de=!1;try{typeof X=="function"&&(de=!0,M==="rejectionHandled"?X(ne):X(Q,ne))}catch(me){i.throwLater(me)}M==="unhandledRejection"?!A(M,Q,ne)&&!de&&ve(Q,"Unhandled rejection "):A(M,ne)}function Be(M){var X;if(typeof M=="function")X="[function "+(M.name||"anonymous")+"]";else{X=M&&typeof M.toString=="function"?M.toString():a.toString(M);var Q=/\[object [a-zA-Z0-9$_]+\]/;if(Q.test(X))try{var ne=JSON.stringify(M);X=ne}catch{}X.length===0&&(X="(empty array)")}return"(<"+y(X)+">, no stack trace)"}function y(M){var X=41;return M.length<X?M:M.substr(0,X-3)+"..."}function G(){return typeof te=="function"}var $=function(){return!1},R=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function B(M){var X=M.match(R);if(X)return{fileName:X[1],line:parseInt(X[2],10)}}function z(M,X){if(G()){for(var Q=M.stack.split(`
65
+ `),ne=X.stack.split(`
66
+ `),de=-1,me=-1,Te,De,Y=0;Y<Q.length;++Y){var ce=B(Q[Y]);if(ce){Te=ce.fileName,de=ce.line;break}}for(var Y=0;Y<ne.length;++Y){var ce=B(ne[Y]);if(ce){De=ce.fileName,me=ce.line;break}}de<0||me<0||!Te||!De||Te!==De||de>=me||($=function(ue){if(u.test(ue))return!0;var be=B(ue);return!!(be&&be.fileName===Te&&de<=be.line&&be.line<=me)})}}function ae(M){this._parent=M,this._promisesCreated=0;var X=this._length=1+(M===void 0?0:M._length);te(this,ae),X>32&&this.uncycle()}a.inherits(ae,Error),t.CapturedTrace=ae,ae.prototype.uncycle=function(){var M=this._length;if(!(M<2)){for(var X=[],Q={},ne=0,de=this;de!==void 0;++ne)X.push(de),de=de._parent;M=this._length=ne;for(var ne=M-1;ne>=0;--ne){var me=X[ne].stack;Q[me]===void 0&&(Q[me]=ne)}for(var ne=0;ne<M;++ne){var Te=X[ne].stack,De=Q[Te];if(De!==void 0&&De!==ne){De>0&&(X[De-1]._parent=void 0,X[De-1]._length=1),X[ne]._parent=void 0,X[ne]._length=1;var Y=ne>0?X[ne-1]:this;De<M-1?(Y._parent=X[De+1],Y._parent.uncycle(),Y._length=Y._parent._length+1):(Y._parent=void 0,Y._length=1);for(var ce=Y._length+1,ue=ne-2;ue>=0;--ue)X[ue]._length=ce,ce++;return}}}},ae.prototype.attachExtraTrace=function(M){if(!M.__stackCleaned__){this.uncycle();for(var X=xe(M),Q=X.message,ne=[X.stack],de=this;de!==void 0;)ne.push(ge(de.stack.split(`
67
+ `))),de=de._parent;_e(ne),he(ne),a.notEnumerableProp(M,"stack",ie(Q,ne)),a.notEnumerableProp(M,"__stackCleaned__",!0)}};var te=function(){var X=/^\s*at\s*/,Q=function(Te,De){return typeof Te=="string"?Te:De.name!==void 0&&De.message!==void 0?De.toString():Be(De)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,g=X,d=Q;var ne=Error.captureStackTrace;return $=function(Te){return u.test(Te)},function(Te,De){Error.stackTraceLimit+=6,ne(Te,De),Error.stackTraceLimit-=6}}var de=new Error;if(typeof de.stack=="string"&&de.stack.split(`
68
+ `)[0].indexOf("stackDetection@")>=0)return g=/@/,d=Q,x=!0,function(De){De.stack=new Error().stack};var me;try{throw new Error}catch(Te){me="stack"in Te}return!("stack"in de)&&me&&typeof Error.stackTraceLimit=="number"?(g=X,d=Q,function(De){Error.stackTraceLimit+=6;try{throw new Error}catch(Y){De.stack=Y.stack}Error.stackTraceLimit-=6}):(d=function(Te,De){return typeof Te=="string"?Te:(typeof De=="object"||typeof De=="function")&&De.name!==void 0&&De.message!==void 0?De.toString():Be(De)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(m=function(M){console.warn(M)},a.isNode&&process.stderr.isTTY?m=function(M,X){var Q=X?"\x1B[33m":"\x1B[31m";console.warn(Q+M+`\x1B[0m
69
+ `)}:!a.isNode&&typeof new Error().stack=="string"&&(m=function(M,X){console.warn("%c"+M,X?"color: darkorange":"color: red")}));var Z={warnings:b,longStackTraces:!1,cancellation:!1,monitoring:!1};return p&&e.longStackTraces(),{longStackTraces:function(){return Z.longStackTraces},warnings:function(){return Z.warnings},cancellation:function(){return Z.cancellation},monitoring:function(){return Z.monitoring},propagateFromFunction:function(){return J},boundValueFunction:function(){return K},checkForgottenReturns:I,setBounds:z,warn:se,deprecated:oe,CapturedTrace:ae,fireDomEvent:_,fireGlobalEvent:U}}),fa}var ga,zs;function qp(){return zs||(zs=1,ga=function(e,t){var n=bt(),i=e.CancellationError,r=n.errorObj;function a(f,g,d){this.promise=f,this.type=g,this.handler=d,this.called=!1,this.cancelPromise=null}a.prototype.isFinallyHandler=function(){return this.type===0};function o(f){this.finallyHandler=f}o.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(f,g){return f.cancelPromise!=null?(arguments.length>1?f.cancelPromise._reject(g):f.cancelPromise._cancel(),f.cancelPromise=null,!0):!1}function c(){return l.call(this,this.promise._target()._settledValue())}function u(f){if(!s(this,f))return r.e=f,r}function l(f){var g=this.promise,d=this.handler;if(!this.called){this.called=!0;var x=this.isFinallyHandler()?d.call(g._boundValue()):d.call(g._boundValue(),f);if(x!==void 0){g._setReturnedNonUndefined();var m=t(x,g);if(m instanceof e){if(this.cancelPromise!=null)if(m._isCancelled()){var h=new i("late cancellation observer");return g._attachExtraTrace(h),r.e=h,r}else m.isPending()&&m._attachCancellationCallback(new o(this));return m._then(c,u,void 0,this,void 0)}}}return g.isRejected()?(s(this),r.e=f,r):(s(this),f)}return e.prototype._passThrough=function(f,g,d,x){return typeof f!="function"?this.then():this._then(d,x,void 0,new a(this,g,f),void 0)},e.prototype.lastly=e.prototype.finally=function(f){return this._passThrough(f,0,l,l)},e.prototype.tap=function(f){return this._passThrough(f,1,l)},a}),ga}var pa,Xs;function Hp(){return Xs||(Xs=1,pa=function(e){var t=bt(),n=ni().keys,i=t.tryCatch,r=t.errorObj;function a(o,s,c){return function(u){var l=c._boundValue();e:for(var f=0;f<o.length;++f){var g=o[f];if(g===Error||g!=null&&g.prototype instanceof Error){if(u instanceof g)return i(s).call(l,u)}else if(typeof g=="function"){var d=i(g).call(l,u);if(d===r)return d;if(d)return i(s).call(l,u)}else if(t.isObject(u)){for(var x=n(g),m=0;m<x.length;++m){var h=x[m];if(g[h]!=u[h])continue e}return i(s).call(l,u)}}return e}}return a}),pa}var ma,Vs;function zp(){if(Vs)return ma;Vs=1;var e=bt(),t=e.maybeWrapAsError,n=ts(),i=n.OperationalError,r=ni();function a(u){return u instanceof Error&&r.getPrototypeOf(u)===Error.prototype}var o=/^(?:name|message|stack|cause)$/;function s(u){var l;if(a(u)){l=new i(u),l.name=u.name,l.message=u.message,l.stack=u.stack;for(var f=r.keys(u),g=0;g<f.length;++g){var d=f[g];o.test(d)||(l[d]=u[d])}return l}return e.markAsOriginatingFromRejection(u),u}function c(u,l){return function(f,g){if(u!==null){if(f){var d=s(t(f));u._attachExtraTrace(d),u._reject(d)}else if(!l)u._fulfill(g);else{for(var x=arguments.length,m=new Array(Math.max(x-1,0)),h=1;h<x;++h)m[h-1]=arguments[h];u._fulfill(m)}u=null}}}return ma=c,ma}var $s;function Xp(){return $s||($s=1,function(e){e.exports=function(){var t=function(){return new g(`circular promise resolution chain
70
+
71
+ See http://goo.gl/MqrFmX
72
+ `)},n=function(){return new N.PromiseInspection(this._target())},i=function(k){return N.reject(new g(k))};function r(){}var a={},o=bt(),s;o.isNode?s=function(){var k=process.domain;return k===void 0&&(k=null),k}:s=function(){return null},o.notEnumerableProp(N,"_getDomain",s);var c=ni(),u=Wp(),l=new u;c.defineProperty(N,"_async",{value:l});var f=ts(),g=N.TypeError=f.TypeError;N.RangeError=f.RangeError;var d=N.CancellationError=f.CancellationError;N.TimeoutError=f.TimeoutError,N.OperationalError=f.OperationalError,N.RejectionError=f.OperationalError,N.AggregateError=f.AggregateError;var x=function(){},m={},h={},b=Op()(N,x),p=Mp()(N,x,b,i,r),D=Pp()(N),w=jp()(N,D),_=qp()(N,b),U=Hp()(h),E=zp(),L=o.errorObj,A=o.tryCatch;function W(k,V){if(typeof V!="function")throw new g("expecting a function but got "+o.classString(V));if(k.constructor!==N)throw new g(`the promise constructor cannot be invoked directly
73
+
74
+ See http://goo.gl/MqrFmX
75
+ `)}function N(k){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,k!==x&&(W(this,k),this._resolveFromExecutor(k)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}N.prototype.toString=function(){return"[object Promise]"},N.prototype.caught=N.prototype.catch=function(k){var V=arguments.length;if(V>1){var P=new Array(V-1),J=0,K;for(K=0;K<V-1;++K){var re=arguments[K];if(o.isObject(re))P[J++]=re;else return i("expecting an object but got A catch statement predicate "+o.classString(re))}return P.length=J,k=arguments[K],this.then(void 0,U(P,k,this))}return this.then(void 0,k)},N.prototype.reflect=function(){return this._then(n,n,void 0,this,void 0)},N.prototype.then=function(k,V){if(w.warnings()&&arguments.length>0&&typeof k!="function"&&typeof V!="function"){var P=".then() only accepts functions but was passed: "+o.classString(k);arguments.length>1&&(P+=", "+o.classString(V)),this._warn(P)}return this._then(k,V,void 0,void 0,void 0)},N.prototype.done=function(k,V){var P=this._then(k,V,void 0,void 0,void 0);P._setIsFinal()},N.prototype.spread=function(k){return typeof k!="function"?i("expecting a function but got "+o.classString(k)):this.all()._then(k,void 0,void 0,m,void 0)},N.prototype.toJSON=function(){var k={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(k.fulfillmentValue=this.value(),k.isFulfilled=!0):this.isRejected()&&(k.rejectionReason=this.reason(),k.isRejected=!0),k},N.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new p(this).promise()},N.prototype.error=function(k){return this.caught(o.originatesFromRejection,k)},N.getNewLibraryCopy=e.exports,N.is=function(k){return k instanceof N},N.fromNode=N.fromCallback=function(k){var V=new N(x);V._captureStackTrace();var P=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,J=A(k)(E(V,P));return J===L&&V._rejectCallback(J.e,!0),V._isFateSealed()||V._setAsyncGuaranteed(),V},N.all=function(k){return new p(k).promise()},N.cast=function(k){var V=b(k);return V instanceof N||(V=new N(x),V._captureStackTrace(),V._setFulfilled(),V._rejectionHandler0=k),V},N.resolve=N.fulfilled=N.cast,N.reject=N.rejected=function(k){var V=new N(x);return V._captureStackTrace(),V._rejectCallback(k,!0),V},N.setScheduler=function(k){if(typeof k!="function")throw new g("expecting a function but got "+o.classString(k));return l.setScheduler(k)},N.prototype._then=function(k,V,P,J,K){var re=K!==void 0,j=re?K:new N(x),I=this._target(),oe=I._bitField;re||(j._propagateFrom(this,3),j._captureStackTrace(),J===void 0&&(this._bitField&2097152)!==0&&((oe&50397184)!==0?J=this._boundValue():J=I===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,j));var se=s();if((oe&50397184)!==0){var ie,he,_e=I._settlePromiseCtx;(oe&33554432)!==0?(he=I._rejectionHandler0,ie=k):(oe&16777216)!==0?(he=I._fulfillmentHandler0,ie=V,I._unsetRejectionIsUnhandled()):(_e=I._settlePromiseLateCancellationObserver,he=new d("late cancellation observer"),I._attachExtraTrace(he),ie=V),l.invoke(_e,I,{handler:se===null?ie:typeof ie=="function"&&o.domainBind(se,ie),promise:j,receiver:J,value:he})}else I._addCallbacks(k,V,j,J,se);return j},N.prototype._length=function(){return this._bitField&65535},N.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},N.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},N.prototype._setLength=function(k){this._bitField=this._bitField&-65536|k&65535},N.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},N.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},N.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},N.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},N.prototype._isFinal=function(){return(this._bitField&4194304)>0},N.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},N.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},N.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},N.prototype._setAsyncGuaranteed=function(){l.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},N.prototype._receiverAt=function(k){var V=k===0?this._receiver0:this[k*4-4+3];if(V!==a)return V===void 0&&this._isBound()?this._boundValue():V},N.prototype._promiseAt=function(k){return this[k*4-4+2]},N.prototype._fulfillmentHandlerAt=function(k){return this[k*4-4+0]},N.prototype._rejectionHandlerAt=function(k){return this[k*4-4+1]},N.prototype._boundValue=function(){},N.prototype._migrateCallback0=function(k){var V=k._fulfillmentHandler0,P=k._rejectionHandler0,J=k._promise0,K=k._receiverAt(0);K===void 0&&(K=a),this._addCallbacks(V,P,J,K,null)},N.prototype._migrateCallbackAt=function(k,V){var P=k._fulfillmentHandlerAt(V),J=k._rejectionHandlerAt(V),K=k._promiseAt(V),re=k._receiverAt(V);re===void 0&&(re=a),this._addCallbacks(P,J,K,re,null)},N.prototype._addCallbacks=function(k,V,P,J,K){var re=this._length();if(re>=65531&&(re=0,this._setLength(0)),re===0)this._promise0=P,this._receiver0=J,typeof k=="function"&&(this._fulfillmentHandler0=K===null?k:o.domainBind(K,k)),typeof V=="function"&&(this._rejectionHandler0=K===null?V:o.domainBind(K,V));else{var j=re*4-4;this[j+2]=P,this[j+3]=J,typeof k=="function"&&(this[j+0]=K===null?k:o.domainBind(K,k)),typeof V=="function"&&(this[j+1]=K===null?V:o.domainBind(K,V))}return this._setLength(re+1),re},N.prototype._proxy=function(k,V){this._addCallbacks(void 0,void 0,V,k,null)},N.prototype._resolveCallback=function(k,V){if((this._bitField&117506048)===0){if(k===this)return this._rejectCallback(t(),!1);var P=b(k,this);if(!(P instanceof N))return this._fulfill(k);V&&this._propagateFrom(P,2);var J=P._target();if(J===this){this._reject(t());return}var K=J._bitField;if((K&50397184)===0){var re=this._length();re>0&&J._migrateCallback0(this);for(var j=1;j<re;++j)J._migrateCallbackAt(this,j);this._setFollowing(),this._setLength(0),this._setFollowee(J)}else if((K&33554432)!==0)this._fulfill(J._value());else if((K&16777216)!==0)this._reject(J._reason());else{var I=new d("late cancellation observer");J._attachExtraTrace(I),this._reject(I)}}},N.prototype._rejectCallback=function(k,V,P){var J=o.ensureErrorObject(k),K=J===k;if(!K&&!P&&w.warnings()){var re="a promise was rejected with a non-error: "+o.classString(k);this._warn(re,!0)}this._attachExtraTrace(J,V?K:!1),this._reject(k)},N.prototype._resolveFromExecutor=function(k){var V=this;this._captureStackTrace(),this._pushContext();var P=!0,J=this._execute(k,function(K){V._resolveCallback(K)},function(K){V._rejectCallback(K,P)});P=!1,this._popContext(),J!==void 0&&V._rejectCallback(J,!0)},N.prototype._settlePromiseFromHandler=function(k,V,P,J){var K=J._bitField;if((K&65536)===0){J._pushContext();var re;V===m?!P||typeof P.length!="number"?(re=L,re.e=new g("cannot .spread() a non-array: "+o.classString(P))):re=A(k).apply(this._boundValue(),P):re=A(k).call(V,P);var j=J._popContext();K=J._bitField,(K&65536)===0&&(re===h?J._reject(P):re===L?J._rejectCallback(re.e,!1):(w.checkForgottenReturns(re,j,"",J,this),J._resolveCallback(re)))}},N.prototype._target=function(){for(var k=this;k._isFollowing();)k=k._followee();return k},N.prototype._followee=function(){return this._rejectionHandler0},N.prototype._setFollowee=function(k){this._rejectionHandler0=k},N.prototype._settlePromise=function(k,V,P,J){var K=k instanceof N,re=this._bitField,j=(re&134217728)!==0;(re&65536)!==0?(K&&k._invokeInternalOnCancel(),P instanceof _&&P.isFinallyHandler()?(P.cancelPromise=k,A(V).call(P,J)===L&&k._reject(L.e)):V===n?k._fulfill(n.call(P)):P instanceof r?P._promiseCancelled(k):K||k instanceof p?k._cancel():P.cancel()):typeof V=="function"?K?(j&&k._setAsyncGuaranteed(),this._settlePromiseFromHandler(V,P,J,k)):V.call(P,J,k):P instanceof r?P._isResolved()||((re&33554432)!==0?P._promiseFulfilled(J,k):P._promiseRejected(J,k)):K&&(j&&k._setAsyncGuaranteed(),(re&33554432)!==0?k._fulfill(J):k._reject(J))},N.prototype._settlePromiseLateCancellationObserver=function(k){var V=k.handler,P=k.promise,J=k.receiver,K=k.value;typeof V=="function"?P instanceof N?this._settlePromiseFromHandler(V,J,K,P):V.call(J,K,P):P instanceof N&&P._reject(K)},N.prototype._settlePromiseCtx=function(k){this._settlePromise(k.promise,k.handler,k.receiver,k.value)},N.prototype._settlePromise0=function(k,V,P){var J=this._promise0,K=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(J,k,K,V)},N.prototype._clearCallbackDataAtIndex=function(k){var V=k*4-4;this[V+2]=this[V+3]=this[V+0]=this[V+1]=void 0},N.prototype._fulfill=function(k){var V=this._bitField;if(!((V&117506048)>>>16)){if(k===this){var P=t();return this._attachExtraTrace(P),this._reject(P)}this._setFulfilled(),this._rejectionHandler0=k,(V&65535)>0&&((V&134217728)!==0?this._settlePromises():l.settlePromises(this))}},N.prototype._reject=function(k){var V=this._bitField;if(!((V&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=k,this._isFinal())return l.fatalError(k,o.isNode);(V&65535)>0?l.settlePromises(this):this._ensurePossibleRejectionHandled()}},N.prototype._fulfillPromises=function(k,V){for(var P=1;P<k;P++){var J=this._fulfillmentHandlerAt(P),K=this._promiseAt(P),re=this._receiverAt(P);this._clearCallbackDataAtIndex(P),this._settlePromise(K,J,re,V)}},N.prototype._rejectPromises=function(k,V){for(var P=1;P<k;P++){var J=this._rejectionHandlerAt(P),K=this._promiseAt(P),re=this._receiverAt(P);this._clearCallbackDataAtIndex(P),this._settlePromise(K,J,re,V)}},N.prototype._settlePromises=function(){var k=this._bitField,V=k&65535;if(V>0){if((k&16842752)!==0){var P=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,P,k),this._rejectPromises(V,P)}else{var J=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,J,k),this._fulfillPromises(V,J)}this._setLength(0)}this._clearCancellationData()},N.prototype._settledValue=function(){var k=this._bitField;if((k&33554432)!==0)return this._rejectionHandler0;if((k&16777216)!==0)return this._fulfillmentHandler0};function F(k){this.promise._resolveCallback(k)}function q(k){this.promise._rejectCallback(k,!1)}N.defer=N.pending=function(){w.deprecated("Promise.defer","new Promise");var k=new N(x);return{promise:k,resolve:F,reject:q}},o.notEnumerableProp(N,"_makeSelfResolutionError",t),N.Promise=N,N.version="3.4.7",o.toFastProperties(N),o.toFastProperties(N.prototype);function v(k){var V=new N(x);V._fulfillmentHandler0=k,V._rejectionHandler0=k,V._promise0=k,V._receiver0=k}return v({a:1}),v({b:2}),v({c:3}),v(1),v(function(){}),v(void 0),v(!1),v(new N(x)),w.setBounds(u.firstLineError,o.lastLineError),N}}(oa)),oa.exports}var Ks;function jt(){if(Ks)return it;Ks=1;var e=Pe,t=Xp()();it.defer=n,it.when=t.resolve,it.resolve=t.resolve,it.all=t.all,it.props=t.props,it.reject=t.reject,it.promisify=t.promisify,it.mapSeries=t.mapSeries,it.attempt=t.attempt,it.nfcall=function(i){var r=Array.prototype.slice.call(arguments,1),a=t.promisify(i);return a.apply(null,r)},t.prototype.fail=t.prototype.caught,t.prototype.also=function(i){return this.then(function(r){var a=e.extend({},r,i(r));return t.props(a)})};function n(){var i,r,a=new t.Promise(function(o,s){i=o,r=s});return{resolve:i,reject:r,promise:a}}return it}var Fe={},Gs;function un(){if(Gs)return Fe;Gs=1;var e=Pe,t=Fe.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function n(U,E){return E=E||{},{type:t.document,children:U,notes:E.notes||new f({}),comments:E.comments||[]}}function i(U,E){E=E||{};var L=E.indent||{};return{type:t.paragraph,children:U,styleId:E.styleId||null,styleName:E.styleName||null,numbering:E.numbering||null,alignment:E.alignment||null,indent:{start:L.start||null,end:L.end||null,firstLine:L.firstLine||null,hanging:L.hanging||null}}}function r(U,E){return E=E||{},{type:t.run,children:U,styleId:E.styleId||null,styleName:E.styleName||null,isBold:!!E.isBold,isUnderline:!!E.isUnderline,isItalic:!!E.isItalic,isStrikethrough:!!E.isStrikethrough,isAllCaps:!!E.isAllCaps,isSmallCaps:!!E.isSmallCaps,verticalAlignment:E.verticalAlignment||a.baseline,font:E.font||null,fontSize:E.fontSize||null,highlight:E.highlight||null}}var a={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function o(U){return{type:t.text,value:U}}function s(){return{type:t.tab}}function c(U){return{type:t.checkbox,checked:U.checked}}function u(U,E){return{type:t.hyperlink,children:U,href:E.href,anchor:E.anchor,targetFrame:E.targetFrame}}function l(U){return{type:t.noteReference,noteType:U.noteType,noteId:U.noteId}}function f(U){this._notes=e.indexBy(U,function(E){return m(E.noteType,E.noteId)})}f.prototype.resolve=function(U){return this.findNoteByKey(m(U.noteType,U.noteId))},f.prototype.findNoteByKey=function(U){return this._notes[U]||null};function g(U){return{type:t.note,noteType:U.noteType,noteId:U.noteId,body:U.body}}function d(U){return{type:t.commentReference,commentId:U.commentId}}function x(U){return{type:t.comment,commentId:U.commentId,body:U.body,authorName:U.authorName,authorInitials:U.authorInitials}}function m(U,E){return U+"-"+E}function h(U){return{type:t.image,read:function(E){return E?U.readImage(E):U.readImage().then(function(L){return Buffer.from(L)})},readAsArrayBuffer:function(){return U.readImage()},readAsBase64String:function(){return U.readImage("base64")},readAsBuffer:function(){return U.readImage().then(function(E){return Buffer.from(E)})},altText:U.altText,contentType:U.contentType}}function b(U,E){return E=E||{},{type:t.table,children:U,styleId:E.styleId||null,styleName:E.styleName||null}}function p(U,E){return E=E||{},{type:t.tableRow,children:U,isHeader:E.isHeader||!1}}function D(U,E){return E=E||{},{type:t.tableCell,children:U,colSpan:E.colSpan==null?1:E.colSpan,rowSpan:E.rowSpan==null?1:E.rowSpan}}function w(U){return{type:t.break,breakType:U}}function _(U){return{type:t.bookmarkStart,name:U.name}}return Fe.document=Fe.Document=n,Fe.paragraph=Fe.Paragraph=i,Fe.run=Fe.Run=r,Fe.text=Fe.Text=o,Fe.tab=Fe.Tab=s,Fe.checkbox=Fe.Checkbox=c,Fe.Hyperlink=u,Fe.noteReference=Fe.NoteReference=l,Fe.Notes=f,Fe.Note=g,Fe.commentReference=d,Fe.comment=x,Fe.Image=h,Fe.Table=b,Fe.TableRow=p,Fe.TableCell=D,Fe.lineBreak=w("line"),Fe.pageBreak=w("page"),Fe.columnBreak=w("column"),Fe.BookmarkStart=_,Fe.verticalAlignment=a,Fe}var dn={},Zs;function At(){if(Zs)return dn;Zs=1;var e=Pe;dn.Result=t,dn.success=n,dn.warning=i,dn.error=r;function t(c,u){this.value=c,this.messages=u||[]}t.prototype.map=function(c){return new t(c(this.value),this.messages)},t.prototype.flatMap=function(c){var u=c(this.value);return new t(u.value,a([this,u]))},t.prototype.flatMapThen=function(c){var u=this;return c(this.value).then(function(l){return new t(l.value,a([u,l]))})},t.combine=function(c){var u=e.flatten(e.pluck(c,"value")),l=a(c);return new t(u,l)};function n(c){return new t(c,[])}function i(c){return{type:"warning",message:c}}function r(c){return{type:"error",message:c.message,error:c}}function a(c){var u=[];return e.flatten(e.pluck(c,"messages"),!0).forEach(function(l){o(u,l)||u.push(l)}),u}function o(c,u){return e.find(c,s.bind(null,u))!==void 0}function s(c,u){return c.type===u.type&&c.message===u.message}return dn}var Cn={},kn={},Ys;function Vp(){if(Ys)return kn;Ys=1,kn.byteLength=s,kn.toByteArray=u,kn.fromByteArray=g;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,a=i.length;r<a;++r)e[r]=i[r],t[i.charCodeAt(r)]=r;t[45]=62,t[95]=63;function o(d){var x=d.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=d.indexOf("=");m===-1&&(m=x);var h=m===x?0:4-m%4;return[m,h]}function s(d){var x=o(d),m=x[0],h=x[1];return(m+h)*3/4-h}function c(d,x,m){return(x+m)*3/4-m}function u(d){var x,m=o(d),h=m[0],b=m[1],p=new n(c(d,h,b)),D=0,w=b>0?h-4:h,_;for(_=0;_<w;_+=4)x=t[d.charCodeAt(_)]<<18|t[d.charCodeAt(_+1)]<<12|t[d.charCodeAt(_+2)]<<6|t[d.charCodeAt(_+3)],p[D++]=x>>16&255,p[D++]=x>>8&255,p[D++]=x&255;return b===2&&(x=t[d.charCodeAt(_)]<<2|t[d.charCodeAt(_+1)]>>4,p[D++]=x&255),b===1&&(x=t[d.charCodeAt(_)]<<10|t[d.charCodeAt(_+1)]<<4|t[d.charCodeAt(_+2)]>>2,p[D++]=x>>8&255,p[D++]=x&255),p}function l(d){return e[d>>18&63]+e[d>>12&63]+e[d>>6&63]+e[d&63]}function f(d,x,m){for(var h,b=[],p=x;p<m;p+=3)h=(d[p]<<16&16711680)+(d[p+1]<<8&65280)+(d[p+2]&255),b.push(l(h));return b.join("")}function g(d){for(var x,m=d.length,h=m%3,b=[],p=16383,D=0,w=m-h;D<w;D+=p)b.push(f(d,D,D+p>w?w:D+p));return h===1?(x=d[m-1],b.push(e[x>>2]+e[x<<4&63]+"==")):h===2&&(x=(d[m-2]<<8)+d[m-1],b.push(e[x>>10]+e[x>>4&63]+e[x<<2&63]+"=")),b.join("")}return kn}function di(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var ba={exports:{}};/*!
76
+
77
+ JSZip v3.10.1 - A JavaScript class for generating and reading zip files
78
+ <http://stuartk.com/jszip>
79
+
80
+ (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
81
+ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
82
+
83
+ JSZip uses the library pako released under the MIT license :
84
+ https://github.com/nodeca/pako/blob/main/LICENSE
85
+ */var Qs;function $p(){return Qs||(Qs=1,function(e,t){(function(n){e.exports=n()})(function(){return function n(i,r,a){function o(u,l){if(!r[u]){if(!i[u]){var f=typeof di=="function"&&di;if(!l&&f)return f(u,!0);if(s)return s(u,!0);var g=new Error("Cannot find module '"+u+"'");throw g.code="MODULE_NOT_FOUND",g}var d=r[u]={exports:{}};i[u][0].call(d.exports,function(x){var m=i[u][1][x];return o(m||x)},d,d.exports,n,i,r,a)}return r[u].exports}for(var s=typeof di=="function"&&di,c=0;c<a.length;c++)o(a[c]);return o}({1:[function(n,i,r){var a=n("./utils"),o=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(c){for(var u,l,f,g,d,x,m,h=[],b=0,p=c.length,D=p,w=a.getTypeOf(c)!=="string";b<c.length;)D=p-b,f=w?(u=c[b++],l=b<p?c[b++]:0,b<p?c[b++]:0):(u=c.charCodeAt(b++),l=b<p?c.charCodeAt(b++):0,b<p?c.charCodeAt(b++):0),g=u>>2,d=(3&u)<<4|l>>4,x=1<D?(15&l)<<2|f>>6:64,m=2<D?63&f:64,h.push(s.charAt(g)+s.charAt(d)+s.charAt(x)+s.charAt(m));return h.join("")},r.decode=function(c){var u,l,f,g,d,x,m=0,h=0,b="data:";if(c.substr(0,b.length)===b)throw new Error("Invalid base64 input, it looks like a data url.");var p,D=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===s.charAt(64)&&D--,c.charAt(c.length-2)===s.charAt(64)&&D--,D%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=o.uint8array?new Uint8Array(0|D):new Array(0|D);m<c.length;)u=s.indexOf(c.charAt(m++))<<2|(g=s.indexOf(c.charAt(m++)))>>4,l=(15&g)<<4|(d=s.indexOf(c.charAt(m++)))>>2,f=(3&d)<<6|(x=s.indexOf(c.charAt(m++))),p[h++]=u,d!==64&&(p[h++]=l),x!==64&&(p[h++]=f);return p}},{"./support":30,"./utils":32}],2:[function(n,i,r){var a=n("./external"),o=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),c=n("./stream/DataLengthProbe");function u(l,f,g,d,x){this.compressedSize=l,this.uncompressedSize=f,this.crc32=g,this.compression=d,this.compressedContent=x}u.prototype={getContentWorker:function(){var l=new o(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),f=this;return l.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),l},getCompressedWorker:function(){return new o(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(l,f,g){return l.pipe(new s).pipe(new c("uncompressedSize")).pipe(f.compressWorker(g)).pipe(new c("compressedSize")).withStreamInfo("compression",f)},i.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,i,r){var a=n("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},r.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,i,r){var a=n("./utils"),o=function(){for(var s,c=[],u=0;u<256;u++){s=u;for(var l=0;l<8;l++)s=1&s?3988292384^s>>>1:s>>>1;c[u]=s}return c}();i.exports=function(s,c){return s!==void 0&&s.length?a.getTypeOf(s)!=="string"?function(u,l,f,g){var d=o,x=g+f;u^=-1;for(var m=g;m<x;m++)u=u>>>8^d[255&(u^l[m])];return-1^u}(0|c,s,s.length,0):function(u,l,f,g){var d=o,x=g+f;u^=-1;for(var m=g;m<x;m++)u=u>>>8^d[255&(u^l.charCodeAt(m))];return-1^u}(0|c,s,s.length,0):0}},{"./utils":32}],5:[function(n,i,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(n,i,r){var a=null;a=typeof Promise<"u"?Promise:n("lie"),i.exports={Promise:a}},{lie:37}],7:[function(n,i,r){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=n("pako"),s=n("./utils"),c=n("./stream/GenericWorker"),u=a?"uint8array":"array";function l(f,g){c.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=g,this.meta={}}r.magic="\b\0",s.inherits(l,c),l.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(u,f.data),!1)},l.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(g){f.push({data:g,meta:f.meta})}},r.compressWorker=function(f){return new l("Deflate",f)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,i,r){function a(d,x){var m,h="";for(m=0;m<x;m++)h+=String.fromCharCode(255&d),d>>>=8;return h}function o(d,x,m,h,b,p){var D,w,_=d.file,U=d.compression,E=p!==u.utf8encode,L=s.transformTo("string",p(_.name)),A=s.transformTo("string",u.utf8encode(_.name)),W=_.comment,N=s.transformTo("string",p(W)),F=s.transformTo("string",u.utf8encode(W)),q=A.length!==_.name.length,v=F.length!==W.length,k="",V="",P="",J=_.dir,K=_.date,re={crc32:0,compressedSize:0,uncompressedSize:0};x&&!m||(re.crc32=d.crc32,re.compressedSize=d.compressedSize,re.uncompressedSize=d.uncompressedSize);var j=0;x&&(j|=8),E||!q&&!v||(j|=2048);var I=0,oe=0;J&&(I|=16),b==="UNIX"?(oe=798,I|=function(ie,he){var _e=ie;return ie||(_e=he?16893:33204),(65535&_e)<<16}(_.unixPermissions,J)):(oe=20,I|=function(ie){return 63&(ie||0)}(_.dosPermissions)),D=K.getUTCHours(),D<<=6,D|=K.getUTCMinutes(),D<<=5,D|=K.getUTCSeconds()/2,w=K.getUTCFullYear()-1980,w<<=4,w|=K.getUTCMonth()+1,w<<=5,w|=K.getUTCDate(),q&&(V=a(1,1)+a(l(L),4)+A,k+="up"+a(V.length,2)+V),v&&(P=a(1,1)+a(l(N),4)+F,k+="uc"+a(P.length,2)+P);var se="";return se+=`
86
+ \0`,se+=a(j,2),se+=U.magic,se+=a(D,2),se+=a(w,2),se+=a(re.crc32,4),se+=a(re.compressedSize,4),se+=a(re.uncompressedSize,4),se+=a(L.length,2),se+=a(k.length,2),{fileRecord:f.LOCAL_FILE_HEADER+se+L+k,dirRecord:f.CENTRAL_FILE_HEADER+a(oe,2)+se+a(N.length,2)+"\0\0\0\0"+a(I,4)+a(h,4)+L+k+N}}var s=n("../utils"),c=n("../stream/GenericWorker"),u=n("../utf8"),l=n("../crc32"),f=n("../signature");function g(d,x,m,h){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=x,this.zipPlatform=m,this.encodeFileName=h,this.streamFiles=d,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(g,c),g.prototype.push=function(d){var x=d.meta.percent||0,m=this.entriesCount,h=this._sources.length;this.accumulate?this.contentBuffer.push(d):(this.bytesWritten+=d.data.length,c.prototype.push.call(this,{data:d.data,meta:{currentFile:this.currentFile,percent:m?(x+100*(m-h-1))/m:100}}))},g.prototype.openedSource=function(d){this.currentSourceOffset=this.bytesWritten,this.currentFile=d.file.name;var x=this.streamFiles&&!d.file.dir;if(x){var m=o(d,x,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},g.prototype.closedSource=function(d){this.accumulate=!1;var x=this.streamFiles&&!d.file.dir,m=o(d,x,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),x)this.push({data:function(h){return f.DATA_DESCRIPTOR+a(h.crc32,4)+a(h.compressedSize,4)+a(h.uncompressedSize,4)}(d),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},g.prototype.flush=function(){for(var d=this.bytesWritten,x=0;x<this.dirRecords.length;x++)this.push({data:this.dirRecords[x],meta:{percent:100}});var m=this.bytesWritten-d,h=function(b,p,D,w,_){var U=s.transformTo("string",_(w));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(b,2)+a(b,2)+a(p,4)+a(D,4)+a(U.length,2)+U}(this.dirRecords.length,m,d,this.zipComment,this.encodeFileName);this.push({data:h,meta:{percent:100}})},g.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},g.prototype.registerPrevious=function(d){this._sources.push(d);var x=this;return d.on("data",function(m){x.processChunk(m)}),d.on("end",function(){x.closedSource(x.previous.streamInfo),x._sources.length?x.prepareNextSource():x.end()}),d.on("error",function(m){x.error(m)}),this},g.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},g.prototype.error=function(d){var x=this._sources;if(!c.prototype.error.call(this,d))return!1;for(var m=0;m<x.length;m++)try{x[m].error(d)}catch{}return!0},g.prototype.lock=function(){c.prototype.lock.call(this);for(var d=this._sources,x=0;x<d.length;x++)d[x].lock()},i.exports=g},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,i,r){var a=n("../compressions"),o=n("./ZipFileWorker");r.generateWorker=function(s,c,u){var l=new o(c.streamFiles,u,c.platform,c.encodeFileName),f=0;try{s.forEach(function(g,d){f++;var x=function(p,D){var w=p||D,_=a[w];if(!_)throw new Error(w+" is not a valid compression method !");return _}(d.options.compression,c.compression),m=d.options.compressionOptions||c.compressionOptions||{},h=d.dir,b=d.date;d._compressWorker(x,m).withStreamInfo("file",{name:g,dir:h,date:b,comment:d.comment||"",unixPermissions:d.unixPermissions,dosPermissions:d.dosPermissions}).pipe(l)}),l.entriesCount=f}catch(g){l.error(g)}return l}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,i,r){function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new a;for(var s in this)typeof this[s]!="function"&&(o[s]=this[s]);return o}}(a.prototype=n("./object")).loadAsync=n("./load"),a.support=n("./support"),a.defaults=n("./defaults"),a.version="3.10.1",a.loadAsync=function(o,s){return new a().loadAsync(o,s)},a.external=n("./external"),i.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,i,r){var a=n("./utils"),o=n("./external"),s=n("./utf8"),c=n("./zipEntries"),u=n("./stream/Crc32Probe"),l=n("./nodejsUtils");function f(g){return new o.Promise(function(d,x){var m=g.decompressed.getContentWorker().pipe(new u);m.on("error",function(h){x(h)}).on("end",function(){m.streamInfo.crc32!==g.decompressed.crc32?x(new Error("Corrupted zip : CRC32 mismatch")):d()}).resume()})}i.exports=function(g,d){var x=this;return d=a.extend(d||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),l.isNode&&l.isStream(g)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",g,!0,d.optimizedBinaryString,d.base64).then(function(m){var h=new c(d);return h.load(m),h}).then(function(m){var h=[o.Promise.resolve(m)],b=m.files;if(d.checkCRC32)for(var p=0;p<b.length;p++)h.push(f(b[p]));return o.Promise.all(h)}).then(function(m){for(var h=m.shift(),b=h.files,p=0;p<b.length;p++){var D=b[p],w=D.fileNameStr,_=a.resolve(D.fileNameStr);x.file(_,D.decompressed,{binary:!0,optimizedBinaryString:!0,date:D.date,dir:D.dir,comment:D.fileCommentStr.length?D.fileCommentStr:null,unixPermissions:D.unixPermissions,dosPermissions:D.dosPermissions,createFolders:d.createFolders}),D.dir||(x.file(_).unsafeOriginalName=w)}return h.zipComment.length&&(x.comment=h.zipComment),x})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,i,r){var a=n("../utils"),o=n("../stream/GenericWorker");function s(c,u){o.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(u)}a.inherits(s,o),s.prototype._bindStream=function(c){var u=this;(this._stream=c).pause(),c.on("data",function(l){u.push({data:l,meta:{percent:0}})}).on("error",function(l){u.isPaused?this.generatedError=l:u.error(l)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},s.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},i.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,i,r){var a=n("readable-stream").Readable;function o(s,c,u){a.call(this,c),this._helper=s;var l=this;s.on("data",function(f,g){l.push(f)||l._helper.pause(),u&&u(g)}).on("error",function(f){l.emit("error",f)}).on("end",function(){l.push(null)})}n("../utils").inherits(o,a),o.prototype._read=function(){this._helper.resume()},i.exports=o},{"../utils":32,"readable-stream":16}],14:[function(n,i,r){i.exports={isNode:typeof Buffer<"u",newBufferFrom:function(a,o){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,o);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,o)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var o=new Buffer(a);return o.fill(0),o},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(n,i,r){function a(_,U,E){var L,A=s.getTypeOf(U),W=s.extend(E||{},l);W.date=W.date||new Date,W.compression!==null&&(W.compression=W.compression.toUpperCase()),typeof W.unixPermissions=="string"&&(W.unixPermissions=parseInt(W.unixPermissions,8)),W.unixPermissions&&16384&W.unixPermissions&&(W.dir=!0),W.dosPermissions&&16&W.dosPermissions&&(W.dir=!0),W.dir&&(_=b(_)),W.createFolders&&(L=h(_))&&p.call(this,L,!0);var N=A==="string"&&W.binary===!1&&W.base64===!1;E&&E.binary!==void 0||(W.binary=!N),(U instanceof f&&U.uncompressedSize===0||W.dir||!U||U.length===0)&&(W.base64=!1,W.binary=!0,U="",W.compression="STORE",A="string");var F=null;F=U instanceof f||U instanceof c?U:x.isNode&&x.isStream(U)?new m(_,U):s.prepareContent(_,U,W.binary,W.optimizedBinaryString,W.base64);var q=new g(_,F,W);this.files[_]=q}var o=n("./utf8"),s=n("./utils"),c=n("./stream/GenericWorker"),u=n("./stream/StreamHelper"),l=n("./defaults"),f=n("./compressedObject"),g=n("./zipObject"),d=n("./generate"),x=n("./nodejsUtils"),m=n("./nodejs/NodejsStreamInputAdapter"),h=function(_){_.slice(-1)==="/"&&(_=_.substring(0,_.length-1));var U=_.lastIndexOf("/");return 0<U?_.substring(0,U):""},b=function(_){return _.slice(-1)!=="/"&&(_+="/"),_},p=function(_,U){return U=U!==void 0?U:l.createFolders,_=b(_),this.files[_]||a.call(this,_,null,{dir:!0,createFolders:U}),this.files[_]};function D(_){return Object.prototype.toString.call(_)==="[object RegExp]"}var w={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(_){var U,E,L;for(U in this.files)L=this.files[U],(E=U.slice(this.root.length,U.length))&&U.slice(0,this.root.length)===this.root&&_(E,L)},filter:function(_){var U=[];return this.forEach(function(E,L){_(E,L)&&U.push(L)}),U},file:function(_,U,E){if(arguments.length!==1)return _=this.root+_,a.call(this,_,U,E),this;if(D(_)){var L=_;return this.filter(function(W,N){return!N.dir&&L.test(W)})}var A=this.files[this.root+_];return A&&!A.dir?A:null},folder:function(_){if(!_)return this;if(D(_))return this.filter(function(A,W){return W.dir&&_.test(A)});var U=this.root+_,E=p.call(this,U),L=this.clone();return L.root=E.name,L},remove:function(_){_=this.root+_;var U=this.files[_];if(U||(_.slice(-1)!=="/"&&(_+="/"),U=this.files[_]),U&&!U.dir)delete this.files[_];else for(var E=this.filter(function(A,W){return W.name.slice(0,_.length)===_}),L=0;L<E.length;L++)delete this.files[E[L].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(_){var U,E={};try{if((E=s.extend(_||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=E.type.toLowerCase(),E.compression=E.compression.toUpperCase(),E.type==="binarystring"&&(E.type="string"),!E.type)throw new Error("No output type specified.");s.checkSupport(E.type),E.platform!=="darwin"&&E.platform!=="freebsd"&&E.platform!=="linux"&&E.platform!=="sunos"||(E.platform="UNIX"),E.platform==="win32"&&(E.platform="DOS");var L=E.comment||this.comment||"";U=d.generateWorker(this,E,L)}catch(A){(U=new c("error")).error(A)}return new u(U,E.type||"string",E.mimeType)},generateAsync:function(_,U){return this.generateInternalStream(_).accumulate(U)},generateNodeStream:function(_,U){return(_=_||{}).type||(_.type="nodebuffer"),this.generateInternalStream(_).toNodejsStream(U)}};i.exports=w},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,i,r){i.exports=n("stream")},{stream:void 0}],17:[function(n,i,r){var a=n("./DataReader");function o(s){a.call(this,s);for(var c=0;c<this.data.length;c++)s[c]=255&s[c]}n("../utils").inherits(o,a),o.prototype.byteAt=function(s){return this.data[this.zero+s]},o.prototype.lastIndexOfSignature=function(s){for(var c=s.charCodeAt(0),u=s.charCodeAt(1),l=s.charCodeAt(2),f=s.charCodeAt(3),g=this.length-4;0<=g;--g)if(this.data[g]===c&&this.data[g+1]===u&&this.data[g+2]===l&&this.data[g+3]===f)return g-this.zero;return-1},o.prototype.readAndCheckSignature=function(s){var c=s.charCodeAt(0),u=s.charCodeAt(1),l=s.charCodeAt(2),f=s.charCodeAt(3),g=this.readData(4);return c===g[0]&&u===g[1]&&l===g[2]&&f===g[3]},o.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},i.exports=o},{"../utils":32,"./DataReader":18}],18:[function(n,i,r){var a=n("../utils");function o(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var c,u=0;for(this.checkOffset(s),c=this.index+s-1;c>=this.index;c--)u=(u<<8)+this.byteAt(c);return this.index+=s,u},readString:function(s){return a.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},i.exports=o},{"../utils":32}],19:[function(n,i,r){var a=n("./Uint8ArrayReader");function o(s){a.call(this,s)}n("../utils").inherits(o,a),o.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},i.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,i,r){var a=n("./DataReader");function o(s){a.call(this,s)}n("../utils").inherits(o,a),o.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},o.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},o.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},o.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},i.exports=o},{"../utils":32,"./DataReader":18}],21:[function(n,i,r){var a=n("./ArrayReader");function o(s){a.call(this,s)}n("../utils").inherits(o,a),o.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},i.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(n,i,r){var a=n("../utils"),o=n("../support"),s=n("./ArrayReader"),c=n("./StringReader"),u=n("./NodeBufferReader"),l=n("./Uint8ArrayReader");i.exports=function(f){var g=a.getTypeOf(f);return a.checkSupport(g),g!=="string"||o.uint8array?g==="nodebuffer"?new u(f):o.uint8array?new l(a.transformTo("uint8array",f)):new s(a.transformTo("array",f)):new c(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,i,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,i,r){var a=n("./GenericWorker"),o=n("../utils");function s(c){a.call(this,"ConvertWorker to "+c),this.destType=c}o.inherits(s,a),s.prototype.processChunk=function(c){this.push({data:o.transformTo(this.destType,c.data),meta:c.meta})},i.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,i,r){var a=n("./GenericWorker"),o=n("../crc32");function s(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,a),s.prototype.processChunk=function(c){this.streamInfo.crc32=o(c.data,this.streamInfo.crc32||0),this.push(c)},i.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,i,r){var a=n("../utils"),o=n("./GenericWorker");function s(c){o.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}a.inherits(s,o),s.prototype.processChunk=function(c){if(c){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+c.data.length}o.prototype.processChunk.call(this,c)},i.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,i,r){var a=n("../utils"),o=n("./GenericWorker");function s(c){o.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(l){u.dataIsReady=!0,u.data=l,u.max=l&&l.length||0,u.type=a.getTypeOf(l),u.isPaused||u._tickAndRepeat()},function(l){u.error(l)})}a.inherits(s,o),s.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,u);break;case"uint8array":c=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":c=this.data.slice(this.index,u)}return this.index=u,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},i.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,i,r){function a(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,s){return this._listeners[o].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,s){if(this._listeners[o])for(var c=0;c<this._listeners[o].length;c++)this._listeners[o][c].call(this,s)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var s=this;return o.on("data",function(c){s.processChunk(c)}),o.on("end",function(){s.end()}),o.on("error",function(c){s.error(c)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,s){return this.extraStreamInfo[o]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},i.exports=a},{}],29:[function(n,i,r){var a=n("../utils"),o=n("./ConvertWorker"),s=n("./GenericWorker"),c=n("../base64"),u=n("../support"),l=n("../external"),f=null;if(u.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function g(x,m){return new l.Promise(function(h,b){var p=[],D=x._internalType,w=x._outputType,_=x._mimeType;x.on("data",function(U,E){p.push(U),m&&m(E)}).on("error",function(U){p=[],b(U)}).on("end",function(){try{var U=function(E,L,A){switch(E){case"blob":return a.newBlob(a.transformTo("arraybuffer",L),A);case"base64":return c.encode(L);default:return a.transformTo(E,L)}}(w,function(E,L){var A,W=0,N=null,F=0;for(A=0;A<L.length;A++)F+=L[A].length;switch(E){case"string":return L.join("");case"array":return Array.prototype.concat.apply([],L);case"uint8array":for(N=new Uint8Array(F),A=0;A<L.length;A++)N.set(L[A],W),W+=L[A].length;return N;case"nodebuffer":return Buffer.concat(L);default:throw new Error("concat : unsupported type '"+E+"'")}}(D,p),_);h(U)}catch(E){b(E)}p=[]}).resume()})}function d(x,m,h){var b=m;switch(m){case"blob":case"arraybuffer":b="uint8array";break;case"base64":b="string"}try{this._internalType=b,this._outputType=m,this._mimeType=h,a.checkSupport(b),this._worker=x.pipe(new o(b)),x.lock()}catch(p){this._worker=new s("error"),this._worker.error(p)}}d.prototype={accumulate:function(x){return g(this,x)},on:function(x,m){var h=this;return x==="data"?this._worker.on(x,function(b){m.call(h,b.data,b.meta)}):this._worker.on(x,function(){a.delay(m,arguments,h)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(x){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},x)}},i.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,i,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",r.nodebuffer=typeof Buffer<"u",r.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")r.blob=!1;else{var a=new ArrayBuffer(0);try{r.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(a),r.blob=o.getBlob("application/zip").size===0}catch{r.blob=!1}}}try{r.nodestream=!!n("readable-stream").Readable}catch{r.nodestream=!1}},{"readable-stream":16}],31:[function(n,i,r){for(var a=n("./utils"),o=n("./support"),s=n("./nodejsUtils"),c=n("./stream/GenericWorker"),u=new Array(256),l=0;l<256;l++)u[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;u[254]=u[254]=1;function f(){c.call(this,"utf-8 decode"),this.leftOver=null}function g(){c.call(this,"utf-8 encode")}r.utf8encode=function(d){return o.nodebuffer?s.newBufferFrom(d,"utf-8"):function(x){var m,h,b,p,D,w=x.length,_=0;for(p=0;p<w;p++)(64512&(h=x.charCodeAt(p)))==55296&&p+1<w&&(64512&(b=x.charCodeAt(p+1)))==56320&&(h=65536+(h-55296<<10)+(b-56320),p++),_+=h<128?1:h<2048?2:h<65536?3:4;for(m=o.uint8array?new Uint8Array(_):new Array(_),p=D=0;D<_;p++)(64512&(h=x.charCodeAt(p)))==55296&&p+1<w&&(64512&(b=x.charCodeAt(p+1)))==56320&&(h=65536+(h-55296<<10)+(b-56320),p++),h<128?m[D++]=h:(h<2048?m[D++]=192|h>>>6:(h<65536?m[D++]=224|h>>>12:(m[D++]=240|h>>>18,m[D++]=128|h>>>12&63),m[D++]=128|h>>>6&63),m[D++]=128|63&h);return m}(d)},r.utf8decode=function(d){return o.nodebuffer?a.transformTo("nodebuffer",d).toString("utf-8"):function(x){var m,h,b,p,D=x.length,w=new Array(2*D);for(m=h=0;m<D;)if((b=x[m++])<128)w[h++]=b;else if(4<(p=u[b]))w[h++]=65533,m+=p-1;else{for(b&=p===2?31:p===3?15:7;1<p&&m<D;)b=b<<6|63&x[m++],p--;1<p?w[h++]=65533:b<65536?w[h++]=b:(b-=65536,w[h++]=55296|b>>10&1023,w[h++]=56320|1023&b)}return w.length!==h&&(w.subarray?w=w.subarray(0,h):w.length=h),a.applyFromCharCode(w)}(d=a.transformTo(o.uint8array?"uint8array":"array",d))},a.inherits(f,c),f.prototype.processChunk=function(d){var x=a.transformTo(o.uint8array?"uint8array":"array",d.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var m=x;(x=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),x.set(m,this.leftOver.length)}else x=this.leftOver.concat(x);this.leftOver=null}var h=function(p,D){var w;for((D=D||p.length)>p.length&&(D=p.length),w=D-1;0<=w&&(192&p[w])==128;)w--;return w<0||w===0?D:w+u[p[w]]>D?w:D}(x),b=x;h!==x.length&&(o.uint8array?(b=x.subarray(0,h),this.leftOver=x.subarray(h,x.length)):(b=x.slice(0,h),this.leftOver=x.slice(h,x.length))),this.push({data:r.utf8decode(b),meta:d.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=f,a.inherits(g,c),g.prototype.processChunk=function(d){this.push({data:r.utf8encode(d.data),meta:d.meta})},r.Utf8EncodeWorker=g},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,i,r){var a=n("./support"),o=n("./base64"),s=n("./nodejsUtils"),c=n("./external");function u(m){return m}function l(m,h){for(var b=0;b<m.length;++b)h[b]=255&m.charCodeAt(b);return h}n("setimmediate"),r.newBlob=function(m,h){r.checkSupport("blob");try{return new Blob([m],{type:h})}catch{try{var b=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return b.append(m),b.getBlob(h)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(m,h,b){var p=[],D=0,w=m.length;if(w<=b)return String.fromCharCode.apply(null,m);for(;D<w;)h==="array"||h==="nodebuffer"?p.push(String.fromCharCode.apply(null,m.slice(D,Math.min(D+b,w)))):p.push(String.fromCharCode.apply(null,m.subarray(D,Math.min(D+b,w)))),D+=b;return p.join("")},stringifyByChar:function(m){for(var h="",b=0;b<m.length;b++)h+=String.fromCharCode(m[b]);return h},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function g(m){var h=65536,b=r.getTypeOf(m),p=!0;if(b==="uint8array"?p=f.applyCanBeUsed.uint8array:b==="nodebuffer"&&(p=f.applyCanBeUsed.nodebuffer),p)for(;1<h;)try{return f.stringifyByChunk(m,b,h)}catch{h=Math.floor(h/2)}return f.stringifyByChar(m)}function d(m,h){for(var b=0;b<m.length;b++)h[b]=m[b];return h}r.applyFromCharCode=g;var x={};x.string={string:u,array:function(m){return l(m,new Array(m.length))},arraybuffer:function(m){return x.string.uint8array(m).buffer},uint8array:function(m){return l(m,new Uint8Array(m.length))},nodebuffer:function(m){return l(m,s.allocBuffer(m.length))}},x.array={string:g,array:u,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(m)}},x.arraybuffer={string:function(m){return g(new Uint8Array(m))},array:function(m){return d(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:u,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(new Uint8Array(m))}},x.uint8array={string:g,array:function(m){return d(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:u,nodebuffer:function(m){return s.newBufferFrom(m)}},x.nodebuffer={string:g,array:function(m){return d(m,new Array(m.length))},arraybuffer:function(m){return x.nodebuffer.uint8array(m).buffer},uint8array:function(m){return d(m,new Uint8Array(m.length))},nodebuffer:u},r.transformTo=function(m,h){if(h=h||"",!m)return h;r.checkSupport(m);var b=r.getTypeOf(h);return x[b][m](h)},r.resolve=function(m){for(var h=m.split("/"),b=[],p=0;p<h.length;p++){var D=h[p];D==="."||D===""&&p!==0&&p!==h.length-1||(D===".."?b.pop():b.push(D))}return b.join("/")},r.getTypeOf=function(m){return typeof m=="string"?"string":Object.prototype.toString.call(m)==="[object Array]"?"array":a.nodebuffer&&s.isBuffer(m)?"nodebuffer":a.uint8array&&m instanceof Uint8Array?"uint8array":a.arraybuffer&&m instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(m){if(!a[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(m){var h,b,p="";for(b=0;b<(m||"").length;b++)p+="\\x"+((h=m.charCodeAt(b))<16?"0":"")+h.toString(16).toUpperCase();return p},r.delay=function(m,h,b){setImmediate(function(){m.apply(b||null,h||[])})},r.inherits=function(m,h){function b(){}b.prototype=h.prototype,m.prototype=new b},r.extend=function(){var m,h,b={};for(m=0;m<arguments.length;m++)for(h in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],h)&&b[h]===void 0&&(b[h]=arguments[m][h]);return b},r.prepareContent=function(m,h,b,p,D){return c.Promise.resolve(h).then(function(w){return a.blob&&(w instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(w))!==-1)&&typeof FileReader<"u"?new c.Promise(function(_,U){var E=new FileReader;E.onload=function(L){_(L.target.result)},E.onerror=function(L){U(L.target.error)},E.readAsArrayBuffer(w)}):w}).then(function(w){var _=r.getTypeOf(w);return _?(_==="arraybuffer"?w=r.transformTo("uint8array",w):_==="string"&&(D?w=o.decode(w):b&&p!==!0&&(w=function(U){return l(U,a.uint8array?new Uint8Array(U.length):new Array(U.length))}(w))),w):c.Promise.reject(new Error("Can't read the data of '"+m+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,i,r){var a=n("./reader/readerFor"),o=n("./utils"),s=n("./signature"),c=n("./zipEntry"),u=n("./support");function l(f){this.files=[],this.loadOptions=f}l.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var g=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(g)+", expected "+o.pretty(f)+")")}},isSignature:function(f,g){var d=this.reader.index;this.reader.setIndex(f);var x=this.reader.readString(4)===g;return this.reader.setIndex(d),x},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),g=u.uint8array?"uint8array":"array",d=o.transformTo(g,f);this.zipComment=this.loadOptions.decodeFileName(d)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,g,d,x=this.zip64EndOfCentralSize-44;0<x;)f=this.reader.readInt(2),g=this.reader.readInt(4),d=this.reader.readData(g),this.zip64ExtensibleData[f]={id:f,length:g,value:d}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,g;for(f=0;f<this.files.length;f++)g=this.files[f],this.reader.setIndex(g.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),g.readLocalPart(this.reader),g.handleUTF8(),g.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(f=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var g=f;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var d=this.centralDirOffset+this.centralDirSize;this.zip64&&(d+=20,d+=12+this.zip64EndOfCentralSize);var x=g-d;if(0<x)this.isSignature(g,s.CENTRAL_FILE_HEADER)||(this.reader.zero=x);else if(x<0)throw new Error("Corrupted zip: missing "+Math.abs(x)+" bytes.")},prepareReader:function(f){this.reader=a(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},i.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,i,r){var a=n("./reader/readerFor"),o=n("./utils"),s=n("./compressedObject"),c=n("./crc32"),u=n("./utf8"),l=n("./compressions"),f=n("./support");function g(d,x){this.options=d,this.loadOptions=x}g.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(d){var x,m;if(d.skip(22),this.fileNameLength=d.readInt(2),m=d.readInt(2),this.fileName=d.readData(this.fileNameLength),d.skip(m),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((x=function(h){for(var b in l)if(Object.prototype.hasOwnProperty.call(l,b)&&l[b].magic===h)return l[b];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,x,d.readData(this.compressedSize))},readCentralPart:function(d){this.versionMadeBy=d.readInt(2),d.skip(2),this.bitFlag=d.readInt(2),this.compressionMethod=d.readString(2),this.date=d.readDate(),this.crc32=d.readInt(4),this.compressedSize=d.readInt(4),this.uncompressedSize=d.readInt(4);var x=d.readInt(2);if(this.extraFieldsLength=d.readInt(2),this.fileCommentLength=d.readInt(2),this.diskNumberStart=d.readInt(2),this.internalFileAttributes=d.readInt(2),this.externalFileAttributes=d.readInt(4),this.localHeaderOffset=d.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");d.skip(x),this.readExtraFields(d),this.parseZIP64ExtraField(d),this.fileComment=d.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var d=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),d==0&&(this.dosPermissions=63&this.externalFileAttributes),d==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var d=a(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=d.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=d.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=d.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=d.readInt(4))}},readExtraFields:function(d){var x,m,h,b=d.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});d.index+4<b;)x=d.readInt(2),m=d.readInt(2),h=d.readData(m),this.extraFields[x]={id:x,length:m,value:h};d.setIndex(b)},handleUTF8:function(){var d=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var x=this.findExtraFieldUnicodePath();if(x!==null)this.fileNameStr=x;else{var m=o.transformTo(d,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var h=this.findExtraFieldUnicodeComment();if(h!==null)this.fileCommentStr=h;else{var b=o.transformTo(d,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(b)}}},findExtraFieldUnicodePath:function(){var d=this.extraFields[28789];if(d){var x=a(d.value);return x.readInt(1)!==1||c(this.fileName)!==x.readInt(4)?null:u.utf8decode(x.readData(d.length-5))}return null},findExtraFieldUnicodeComment:function(){var d=this.extraFields[25461];if(d){var x=a(d.value);return x.readInt(1)!==1||c(this.fileComment)!==x.readInt(4)?null:u.utf8decode(x.readData(d.length-5))}return null}},i.exports=g},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,i,r){function a(x,m,h){this.name=x,this.dir=h.dir,this.date=h.date,this.comment=h.comment,this.unixPermissions=h.unixPermissions,this.dosPermissions=h.dosPermissions,this._data=m,this._dataBinary=h.binary,this.options={compression:h.compression,compressionOptions:h.compressionOptions}}var o=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),c=n("./utf8"),u=n("./compressedObject"),l=n("./stream/GenericWorker");a.prototype={internalStream:function(x){var m=null,h="string";try{if(!x)throw new Error("No output type specified.");var b=(h=x.toLowerCase())==="string"||h==="text";h!=="binarystring"&&h!=="text"||(h="string"),m=this._decompressWorker();var p=!this._dataBinary;p&&!b&&(m=m.pipe(new c.Utf8EncodeWorker)),!p&&b&&(m=m.pipe(new c.Utf8DecodeWorker))}catch(D){(m=new l("error")).error(D)}return new o(m,h,"")},async:function(x,m){return this.internalStream(x).accumulate(m)},nodeStream:function(x,m){return this.internalStream(x||"nodebuffer").toNodejsStream(m)},_compressWorker:function(x,m){if(this._data instanceof u&&this._data.compression.magic===x.magic)return this._data.getCompressedWorker();var h=this._decompressWorker();return this._dataBinary||(h=h.pipe(new c.Utf8EncodeWorker)),u.createWorkerFrom(h,x,m)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof l?this._data:new s(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],g=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<f.length;d++)a.prototype[f[d]]=g;i.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,i,r){(function(a){var o,s,c=a.MutationObserver||a.WebKitMutationObserver;if(c){var u=0,l=new c(x),f=a.document.createTextNode("");l.observe(f,{characterData:!0}),o=function(){f.data=u=++u%2}}else if(a.setImmediate||a.MessageChannel===void 0)o="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var m=a.document.createElement("script");m.onreadystatechange=function(){x(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},a.document.documentElement.appendChild(m)}:function(){setTimeout(x,0)};else{var g=new a.MessageChannel;g.port1.onmessage=x,o=function(){g.port2.postMessage(0)}}var d=[];function x(){var m,h;s=!0;for(var b=d.length;b;){for(h=d,d=[],m=-1;++m<b;)h[m]();b=d.length}s=!1}i.exports=function(m){d.push(m)!==1||s||o()}}).call(this,typeof T.commonjsGlobal<"u"?T.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,i,r){var a=n("immediate");function o(){}var s={},c=["REJECTED"],u=["FULFILLED"],l=["PENDING"];function f(b){if(typeof b!="function")throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,b!==o&&m(this,b)}function g(b,p,D){this.promise=b,typeof p=="function"&&(this.onFulfilled=p,this.callFulfilled=this.otherCallFulfilled),typeof D=="function"&&(this.onRejected=D,this.callRejected=this.otherCallRejected)}function d(b,p,D){a(function(){var w;try{w=p(D)}catch(_){return s.reject(b,_)}w===b?s.reject(b,new TypeError("Cannot resolve promise with itself")):s.resolve(b,w)})}function x(b){var p=b&&b.then;if(b&&(typeof b=="object"||typeof b=="function")&&typeof p=="function")return function(){p.apply(b,arguments)}}function m(b,p){var D=!1;function w(E){D||(D=!0,s.reject(b,E))}function _(E){D||(D=!0,s.resolve(b,E))}var U=h(function(){p(_,w)});U.status==="error"&&w(U.value)}function h(b,p){var D={};try{D.value=b(p),D.status="success"}catch(w){D.status="error",D.value=w}return D}(i.exports=f).prototype.finally=function(b){if(typeof b!="function")return this;var p=this.constructor;return this.then(function(D){return p.resolve(b()).then(function(){return D})},function(D){return p.resolve(b()).then(function(){throw D})})},f.prototype.catch=function(b){return this.then(null,b)},f.prototype.then=function(b,p){if(typeof b!="function"&&this.state===u||typeof p!="function"&&this.state===c)return this;var D=new this.constructor(o);return this.state!==l?d(D,this.state===u?b:p,this.outcome):this.queue.push(new g(D,b,p)),D},g.prototype.callFulfilled=function(b){s.resolve(this.promise,b)},g.prototype.otherCallFulfilled=function(b){d(this.promise,this.onFulfilled,b)},g.prototype.callRejected=function(b){s.reject(this.promise,b)},g.prototype.otherCallRejected=function(b){d(this.promise,this.onRejected,b)},s.resolve=function(b,p){var D=h(x,p);if(D.status==="error")return s.reject(b,D.value);var w=D.value;if(w)m(b,w);else{b.state=u,b.outcome=p;for(var _=-1,U=b.queue.length;++_<U;)b.queue[_].callFulfilled(p)}return b},s.reject=function(b,p){b.state=c,b.outcome=p;for(var D=-1,w=b.queue.length;++D<w;)b.queue[D].callRejected(p);return b},f.resolve=function(b){return b instanceof this?b:s.resolve(new this(o),b)},f.reject=function(b){var p=new this(o);return s.reject(p,b)},f.all=function(b){var p=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var D=b.length,w=!1;if(!D)return this.resolve([]);for(var _=new Array(D),U=0,E=-1,L=new this(o);++E<D;)A(b[E],E);return L;function A(W,N){p.resolve(W).then(function(F){_[N]=F,++U!==D||w||(w=!0,s.resolve(L,_))},function(F){w||(w=!0,s.reject(L,F))})}},f.race=function(b){var p=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var D=b.length,w=!1;if(!D)return this.resolve([]);for(var _=-1,U=new this(o);++_<D;)E=b[_],p.resolve(E).then(function(L){w||(w=!0,s.resolve(U,L))},function(L){w||(w=!0,s.reject(U,L))});var E;return U}},{immediate:36}],38:[function(n,i,r){var a={};(0,n("./lib/utils/common").assign)(a,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),i.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,i,r){var a=n("./zlib/deflate"),o=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/messages"),u=n("./zlib/zstream"),l=Object.prototype.toString,f=0,g=-1,d=0,x=8;function m(b){if(!(this instanceof m))return new m(b);this.options=o.assign({level:g,method:x,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},b||{});var p=this.options;p.raw&&0<p.windowBits?p.windowBits=-p.windowBits:p.gzip&&0<p.windowBits&&p.windowBits<16&&(p.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var D=a.deflateInit2(this.strm,p.level,p.method,p.windowBits,p.memLevel,p.strategy);if(D!==f)throw new Error(c[D]);if(p.header&&a.deflateSetHeader(this.strm,p.header),p.dictionary){var w;if(w=typeof p.dictionary=="string"?s.string2buf(p.dictionary):l.call(p.dictionary)==="[object ArrayBuffer]"?new Uint8Array(p.dictionary):p.dictionary,(D=a.deflateSetDictionary(this.strm,w))!==f)throw new Error(c[D]);this._dict_set=!0}}function h(b,p){var D=new m(p);if(D.push(b,!0),D.err)throw D.msg||c[D.err];return D.result}m.prototype.push=function(b,p){var D,w,_=this.strm,U=this.options.chunkSize;if(this.ended)return!1;w=p===~~p?p:p===!0?4:0,typeof b=="string"?_.input=s.string2buf(b):l.call(b)==="[object ArrayBuffer]"?_.input=new Uint8Array(b):_.input=b,_.next_in=0,_.avail_in=_.input.length;do{if(_.avail_out===0&&(_.output=new o.Buf8(U),_.next_out=0,_.avail_out=U),(D=a.deflate(_,w))!==1&&D!==f)return this.onEnd(D),!(this.ended=!0);_.avail_out!==0&&(_.avail_in!==0||w!==4&&w!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(o.shrinkBuf(_.output,_.next_out))):this.onData(o.shrinkBuf(_.output,_.next_out)))}while((0<_.avail_in||_.avail_out===0)&&D!==1);return w===4?(D=a.deflateEnd(this.strm),this.onEnd(D),this.ended=!0,D===f):w!==2||(this.onEnd(f),!(_.avail_out=0))},m.prototype.onData=function(b){this.chunks.push(b)},m.prototype.onEnd=function(b){b===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=b,this.msg=this.strm.msg},r.Deflate=m,r.deflate=h,r.deflateRaw=function(b,p){return(p=p||{}).raw=!0,h(b,p)},r.gzip=function(b,p){return(p=p||{}).gzip=!0,h(b,p)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,i,r){var a=n("./zlib/inflate"),o=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/constants"),u=n("./zlib/messages"),l=n("./zlib/zstream"),f=n("./zlib/gzheader"),g=Object.prototype.toString;function d(m){if(!(this instanceof d))return new d(m);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},m||{});var h=this.options;h.raw&&0<=h.windowBits&&h.windowBits<16&&(h.windowBits=-h.windowBits,h.windowBits===0&&(h.windowBits=-15)),!(0<=h.windowBits&&h.windowBits<16)||m&&m.windowBits||(h.windowBits+=32),15<h.windowBits&&h.windowBits<48&&(15&h.windowBits)==0&&(h.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var b=a.inflateInit2(this.strm,h.windowBits);if(b!==c.Z_OK)throw new Error(u[b]);this.header=new f,a.inflateGetHeader(this.strm,this.header)}function x(m,h){var b=new d(h);if(b.push(m,!0),b.err)throw b.msg||u[b.err];return b.result}d.prototype.push=function(m,h){var b,p,D,w,_,U,E=this.strm,L=this.options.chunkSize,A=this.options.dictionary,W=!1;if(this.ended)return!1;p=h===~~h?h:h===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof m=="string"?E.input=s.binstring2buf(m):g.call(m)==="[object ArrayBuffer]"?E.input=new Uint8Array(m):E.input=m,E.next_in=0,E.avail_in=E.input.length;do{if(E.avail_out===0&&(E.output=new o.Buf8(L),E.next_out=0,E.avail_out=L),(b=a.inflate(E,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&A&&(U=typeof A=="string"?s.string2buf(A):g.call(A)==="[object ArrayBuffer]"?new Uint8Array(A):A,b=a.inflateSetDictionary(this.strm,U)),b===c.Z_BUF_ERROR&&W===!0&&(b=c.Z_OK,W=!1),b!==c.Z_STREAM_END&&b!==c.Z_OK)return this.onEnd(b),!(this.ended=!0);E.next_out&&(E.avail_out!==0&&b!==c.Z_STREAM_END&&(E.avail_in!==0||p!==c.Z_FINISH&&p!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(D=s.utf8border(E.output,E.next_out),w=E.next_out-D,_=s.buf2string(E.output,D),E.next_out=w,E.avail_out=L-w,w&&o.arraySet(E.output,E.output,D,w,0),this.onData(_)):this.onData(o.shrinkBuf(E.output,E.next_out)))),E.avail_in===0&&E.avail_out===0&&(W=!0)}while((0<E.avail_in||E.avail_out===0)&&b!==c.Z_STREAM_END);return b===c.Z_STREAM_END&&(p=c.Z_FINISH),p===c.Z_FINISH?(b=a.inflateEnd(this.strm),this.onEnd(b),this.ended=!0,b===c.Z_OK):p!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(E.avail_out=0))},d.prototype.onData=function(m){this.chunks.push(m)},d.prototype.onEnd=function(m){m===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},r.Inflate=d,r.inflate=x,r.inflateRaw=function(m,h){return(h=h||{}).raw=!0,x(m,h)},r.ungzip=x},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,i,r){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";r.assign=function(c){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var l=u.shift();if(l){if(typeof l!="object")throw new TypeError(l+"must be non-object");for(var f in l)l.hasOwnProperty(f)&&(c[f]=l[f])}}return c},r.shrinkBuf=function(c,u){return c.length===u?c:c.subarray?c.subarray(0,u):(c.length=u,c)};var o={arraySet:function(c,u,l,f,g){if(u.subarray&&c.subarray)c.set(u.subarray(l,l+f),g);else for(var d=0;d<f;d++)c[g+d]=u[l+d]},flattenChunks:function(c){var u,l,f,g,d,x;for(u=f=0,l=c.length;u<l;u++)f+=c[u].length;for(x=new Uint8Array(f),u=g=0,l=c.length;u<l;u++)d=c[u],x.set(d,g),g+=d.length;return x}},s={arraySet:function(c,u,l,f,g){for(var d=0;d<f;d++)c[g+d]=u[l+d]},flattenChunks:function(c){return[].concat.apply([],c)}};r.setTyped=function(c){c?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,o)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,s))},r.setTyped(a)},{}],42:[function(n,i,r){var a=n("./common"),o=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var c=new a.Buf8(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function l(f,g){if(g<65537&&(f.subarray&&s||!f.subarray&&o))return String.fromCharCode.apply(null,a.shrinkBuf(f,g));for(var d="",x=0;x<g;x++)d+=String.fromCharCode(f[x]);return d}c[254]=c[254]=1,r.string2buf=function(f){var g,d,x,m,h,b=f.length,p=0;for(m=0;m<b;m++)(64512&(d=f.charCodeAt(m)))==55296&&m+1<b&&(64512&(x=f.charCodeAt(m+1)))==56320&&(d=65536+(d-55296<<10)+(x-56320),m++),p+=d<128?1:d<2048?2:d<65536?3:4;for(g=new a.Buf8(p),m=h=0;h<p;m++)(64512&(d=f.charCodeAt(m)))==55296&&m+1<b&&(64512&(x=f.charCodeAt(m+1)))==56320&&(d=65536+(d-55296<<10)+(x-56320),m++),d<128?g[h++]=d:(d<2048?g[h++]=192|d>>>6:(d<65536?g[h++]=224|d>>>12:(g[h++]=240|d>>>18,g[h++]=128|d>>>12&63),g[h++]=128|d>>>6&63),g[h++]=128|63&d);return g},r.buf2binstring=function(f){return l(f,f.length)},r.binstring2buf=function(f){for(var g=new a.Buf8(f.length),d=0,x=g.length;d<x;d++)g[d]=f.charCodeAt(d);return g},r.buf2string=function(f,g){var d,x,m,h,b=g||f.length,p=new Array(2*b);for(d=x=0;d<b;)if((m=f[d++])<128)p[x++]=m;else if(4<(h=c[m]))p[x++]=65533,d+=h-1;else{for(m&=h===2?31:h===3?15:7;1<h&&d<b;)m=m<<6|63&f[d++],h--;1<h?p[x++]=65533:m<65536?p[x++]=m:(m-=65536,p[x++]=55296|m>>10&1023,p[x++]=56320|1023&m)}return l(p,x)},r.utf8border=function(f,g){var d;for((g=g||f.length)>f.length&&(g=f.length),d=g-1;0<=d&&(192&f[d])==128;)d--;return d<0||d===0?g:d+c[f[d]]>g?d:g}},{"./common":41}],43:[function(n,i,r){i.exports=function(a,o,s,c){for(var u=65535&a|0,l=a>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3<s?2e3:s;l=l+(u=u+o[c++]|0)|0,--f;);u%=65521,l%=65521}return u|l<<16|0}},{}],44:[function(n,i,r){i.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,i,r){var a=function(){for(var o,s=[],c=0;c<256;c++){o=c;for(var u=0;u<8;u++)o=1&o?3988292384^o>>>1:o>>>1;s[c]=o}return s}();i.exports=function(o,s,c,u){var l=a,f=u+c;o^=-1;for(var g=u;g<f;g++)o=o>>>8^l[255&(o^s[g])];return-1^o}},{}],46:[function(n,i,r){var a,o=n("../utils/common"),s=n("./trees"),c=n("./adler32"),u=n("./crc32"),l=n("./messages"),f=0,g=4,d=0,x=-2,m=-1,h=4,b=2,p=8,D=9,w=286,_=30,U=19,E=2*w+1,L=15,A=3,W=258,N=W+A+1,F=42,q=113,v=1,k=2,V=3,P=4;function J(y,G){return y.msg=l[G],G}function K(y){return(y<<1)-(4<y?9:0)}function re(y){for(var G=y.length;0<=--G;)y[G]=0}function j(y){var G=y.state,$=G.pending;$>y.avail_out&&($=y.avail_out),$!==0&&(o.arraySet(y.output,G.pending_buf,G.pending_out,$,y.next_out),y.next_out+=$,G.pending_out+=$,y.total_out+=$,y.avail_out-=$,G.pending-=$,G.pending===0&&(G.pending_out=0))}function I(y,G){s._tr_flush_block(y,0<=y.block_start?y.block_start:-1,y.strstart-y.block_start,G),y.block_start=y.strstart,j(y.strm)}function oe(y,G){y.pending_buf[y.pending++]=G}function se(y,G){y.pending_buf[y.pending++]=G>>>8&255,y.pending_buf[y.pending++]=255&G}function ie(y,G){var $,R,B=y.max_chain_length,z=y.strstart,ae=y.prev_length,te=y.nice_match,Z=y.strstart>y.w_size-N?y.strstart-(y.w_size-N):0,M=y.window,X=y.w_mask,Q=y.prev,ne=y.strstart+W,de=M[z+ae-1],me=M[z+ae];y.prev_length>=y.good_match&&(B>>=2),te>y.lookahead&&(te=y.lookahead);do if(M[($=G)+ae]===me&&M[$+ae-1]===de&&M[$]===M[z]&&M[++$]===M[z+1]){z+=2,$++;do;while(M[++z]===M[++$]&&M[++z]===M[++$]&&M[++z]===M[++$]&&M[++z]===M[++$]&&M[++z]===M[++$]&&M[++z]===M[++$]&&M[++z]===M[++$]&&M[++z]===M[++$]&&z<ne);if(R=W-(ne-z),z=ne-W,ae<R){if(y.match_start=G,te<=(ae=R))break;de=M[z+ae-1],me=M[z+ae]}}while((G=Q[G&X])>Z&&--B!=0);return ae<=y.lookahead?ae:y.lookahead}function he(y){var G,$,R,B,z,ae,te,Z,M,X,Q=y.w_size;do{if(B=y.window_size-y.lookahead-y.strstart,y.strstart>=Q+(Q-N)){for(o.arraySet(y.window,y.window,Q,Q,0),y.match_start-=Q,y.strstart-=Q,y.block_start-=Q,G=$=y.hash_size;R=y.head[--G],y.head[G]=Q<=R?R-Q:0,--$;);for(G=$=Q;R=y.prev[--G],y.prev[G]=Q<=R?R-Q:0,--$;);B+=Q}if(y.strm.avail_in===0)break;if(ae=y.strm,te=y.window,Z=y.strstart+y.lookahead,M=B,X=void 0,X=ae.avail_in,M<X&&(X=M),$=X===0?0:(ae.avail_in-=X,o.arraySet(te,ae.input,ae.next_in,X,Z),ae.state.wrap===1?ae.adler=c(ae.adler,te,X,Z):ae.state.wrap===2&&(ae.adler=u(ae.adler,te,X,Z)),ae.next_in+=X,ae.total_in+=X,X),y.lookahead+=$,y.lookahead+y.insert>=A)for(z=y.strstart-y.insert,y.ins_h=y.window[z],y.ins_h=(y.ins_h<<y.hash_shift^y.window[z+1])&y.hash_mask;y.insert&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[z+A-1])&y.hash_mask,y.prev[z&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=z,z++,y.insert--,!(y.lookahead+y.insert<A)););}while(y.lookahead<N&&y.strm.avail_in!==0)}function _e(y,G){for(var $,R;;){if(y.lookahead<N){if(he(y),y.lookahead<N&&G===f)return v;if(y.lookahead===0)break}if($=0,y.lookahead>=A&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+A-1])&y.hash_mask,$=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),$!==0&&y.strstart-$<=y.w_size-N&&(y.match_length=ie(y,$)),y.match_length>=A)if(R=s._tr_tally(y,y.strstart-y.match_start,y.match_length-A),y.lookahead-=y.match_length,y.match_length<=y.max_lazy_match&&y.lookahead>=A){for(y.match_length--;y.strstart++,y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+A-1])&y.hash_mask,$=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart,--y.match_length!=0;);y.strstart++}else y.strstart+=y.match_length,y.match_length=0,y.ins_h=y.window[y.strstart],y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+1])&y.hash_mask;else R=s._tr_tally(y,0,y.window[y.strstart]),y.lookahead--,y.strstart++;if(R&&(I(y,!1),y.strm.avail_out===0))return v}return y.insert=y.strstart<A-1?y.strstart:A-1,G===g?(I(y,!0),y.strm.avail_out===0?V:P):y.last_lit&&(I(y,!1),y.strm.avail_out===0)?v:k}function ge(y,G){for(var $,R,B;;){if(y.lookahead<N){if(he(y),y.lookahead<N&&G===f)return v;if(y.lookahead===0)break}if($=0,y.lookahead>=A&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+A-1])&y.hash_mask,$=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),y.prev_length=y.match_length,y.prev_match=y.match_start,y.match_length=A-1,$!==0&&y.prev_length<y.max_lazy_match&&y.strstart-$<=y.w_size-N&&(y.match_length=ie(y,$),y.match_length<=5&&(y.strategy===1||y.match_length===A&&4096<y.strstart-y.match_start)&&(y.match_length=A-1)),y.prev_length>=A&&y.match_length<=y.prev_length){for(B=y.strstart+y.lookahead-A,R=s._tr_tally(y,y.strstart-1-y.prev_match,y.prev_length-A),y.lookahead-=y.prev_length-1,y.prev_length-=2;++y.strstart<=B&&(y.ins_h=(y.ins_h<<y.hash_shift^y.window[y.strstart+A-1])&y.hash_mask,$=y.prev[y.strstart&y.w_mask]=y.head[y.ins_h],y.head[y.ins_h]=y.strstart),--y.prev_length!=0;);if(y.match_available=0,y.match_length=A-1,y.strstart++,R&&(I(y,!1),y.strm.avail_out===0))return v}else if(y.match_available){if((R=s._tr_tally(y,0,y.window[y.strstart-1]))&&I(y,!1),y.strstart++,y.lookahead--,y.strm.avail_out===0)return v}else y.match_available=1,y.strstart++,y.lookahead--}return y.match_available&&(R=s._tr_tally(y,0,y.window[y.strstart-1]),y.match_available=0),y.insert=y.strstart<A-1?y.strstart:A-1,G===g?(I(y,!0),y.strm.avail_out===0?V:P):y.last_lit&&(I(y,!1),y.strm.avail_out===0)?v:k}function ye(y,G,$,R,B){this.good_length=y,this.max_lazy=G,this.nice_length=$,this.max_chain=R,this.func=B}function xe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=p,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*E),this.dyn_dtree=new o.Buf16(2*(2*_+1)),this.bl_tree=new o.Buf16(2*(2*U+1)),re(this.dyn_ltree),re(this.dyn_dtree),re(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(L+1),this.heap=new o.Buf16(2*w+1),re(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*w+1),re(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ve(y){var G;return y&&y.state?(y.total_in=y.total_out=0,y.data_type=b,(G=y.state).pending=0,G.pending_out=0,G.wrap<0&&(G.wrap=-G.wrap),G.status=G.wrap?F:q,y.adler=G.wrap===2?0:1,G.last_flush=f,s._tr_init(G),d):J(y,x)}function ke(y){var G=ve(y);return G===d&&function($){$.window_size=2*$.w_size,re($.head),$.max_lazy_match=a[$.level].max_lazy,$.good_match=a[$.level].good_length,$.nice_match=a[$.level].nice_length,$.max_chain_length=a[$.level].max_chain,$.strstart=0,$.block_start=0,$.lookahead=0,$.insert=0,$.match_length=$.prev_length=A-1,$.match_available=0,$.ins_h=0}(y.state),G}function Be(y,G,$,R,B,z){if(!y)return x;var ae=1;if(G===m&&(G=6),R<0?(ae=0,R=-R):15<R&&(ae=2,R-=16),B<1||D<B||$!==p||R<8||15<R||G<0||9<G||z<0||h<z)return J(y,x);R===8&&(R=9);var te=new xe;return(y.state=te).strm=y,te.wrap=ae,te.gzhead=null,te.w_bits=R,te.w_size=1<<te.w_bits,te.w_mask=te.w_size-1,te.hash_bits=B+7,te.hash_size=1<<te.hash_bits,te.hash_mask=te.hash_size-1,te.hash_shift=~~((te.hash_bits+A-1)/A),te.window=new o.Buf8(2*te.w_size),te.head=new o.Buf16(te.hash_size),te.prev=new o.Buf16(te.w_size),te.lit_bufsize=1<<B+6,te.pending_buf_size=4*te.lit_bufsize,te.pending_buf=new o.Buf8(te.pending_buf_size),te.d_buf=1*te.lit_bufsize,te.l_buf=3*te.lit_bufsize,te.level=G,te.strategy=z,te.method=$,ke(y)}a=[new ye(0,0,0,0,function(y,G){var $=65535;for($>y.pending_buf_size-5&&($=y.pending_buf_size-5);;){if(y.lookahead<=1){if(he(y),y.lookahead===0&&G===f)return v;if(y.lookahead===0)break}y.strstart+=y.lookahead,y.lookahead=0;var R=y.block_start+$;if((y.strstart===0||y.strstart>=R)&&(y.lookahead=y.strstart-R,y.strstart=R,I(y,!1),y.strm.avail_out===0)||y.strstart-y.block_start>=y.w_size-N&&(I(y,!1),y.strm.avail_out===0))return v}return y.insert=0,G===g?(I(y,!0),y.strm.avail_out===0?V:P):(y.strstart>y.block_start&&(I(y,!1),y.strm.avail_out),v)}),new ye(4,4,8,4,_e),new ye(4,5,16,8,_e),new ye(4,6,32,32,_e),new ye(4,4,16,16,ge),new ye(8,16,32,32,ge),new ye(8,16,128,128,ge),new ye(8,32,128,256,ge),new ye(32,128,258,1024,ge),new ye(32,258,258,4096,ge)],r.deflateInit=function(y,G){return Be(y,G,p,15,8,0)},r.deflateInit2=Be,r.deflateReset=ke,r.deflateResetKeep=ve,r.deflateSetHeader=function(y,G){return y&&y.state?y.state.wrap!==2?x:(y.state.gzhead=G,d):x},r.deflate=function(y,G){var $,R,B,z;if(!y||!y.state||5<G||G<0)return y?J(y,x):x;if(R=y.state,!y.output||!y.input&&y.avail_in!==0||R.status===666&&G!==g)return J(y,y.avail_out===0?-5:x);if(R.strm=y,$=R.last_flush,R.last_flush=G,R.status===F)if(R.wrap===2)y.adler=0,oe(R,31),oe(R,139),oe(R,8),R.gzhead?(oe(R,(R.gzhead.text?1:0)+(R.gzhead.hcrc?2:0)+(R.gzhead.extra?4:0)+(R.gzhead.name?8:0)+(R.gzhead.comment?16:0)),oe(R,255&R.gzhead.time),oe(R,R.gzhead.time>>8&255),oe(R,R.gzhead.time>>16&255),oe(R,R.gzhead.time>>24&255),oe(R,R.level===9?2:2<=R.strategy||R.level<2?4:0),oe(R,255&R.gzhead.os),R.gzhead.extra&&R.gzhead.extra.length&&(oe(R,255&R.gzhead.extra.length),oe(R,R.gzhead.extra.length>>8&255)),R.gzhead.hcrc&&(y.adler=u(y.adler,R.pending_buf,R.pending,0)),R.gzindex=0,R.status=69):(oe(R,0),oe(R,0),oe(R,0),oe(R,0),oe(R,0),oe(R,R.level===9?2:2<=R.strategy||R.level<2?4:0),oe(R,3),R.status=q);else{var ae=p+(R.w_bits-8<<4)<<8;ae|=(2<=R.strategy||R.level<2?0:R.level<6?1:R.level===6?2:3)<<6,R.strstart!==0&&(ae|=32),ae+=31-ae%31,R.status=q,se(R,ae),R.strstart!==0&&(se(R,y.adler>>>16),se(R,65535&y.adler)),y.adler=1}if(R.status===69)if(R.gzhead.extra){for(B=R.pending;R.gzindex<(65535&R.gzhead.extra.length)&&(R.pending!==R.pending_buf_size||(R.gzhead.hcrc&&R.pending>B&&(y.adler=u(y.adler,R.pending_buf,R.pending-B,B)),j(y),B=R.pending,R.pending!==R.pending_buf_size));)oe(R,255&R.gzhead.extra[R.gzindex]),R.gzindex++;R.gzhead.hcrc&&R.pending>B&&(y.adler=u(y.adler,R.pending_buf,R.pending-B,B)),R.gzindex===R.gzhead.extra.length&&(R.gzindex=0,R.status=73)}else R.status=73;if(R.status===73)if(R.gzhead.name){B=R.pending;do{if(R.pending===R.pending_buf_size&&(R.gzhead.hcrc&&R.pending>B&&(y.adler=u(y.adler,R.pending_buf,R.pending-B,B)),j(y),B=R.pending,R.pending===R.pending_buf_size)){z=1;break}z=R.gzindex<R.gzhead.name.length?255&R.gzhead.name.charCodeAt(R.gzindex++):0,oe(R,z)}while(z!==0);R.gzhead.hcrc&&R.pending>B&&(y.adler=u(y.adler,R.pending_buf,R.pending-B,B)),z===0&&(R.gzindex=0,R.status=91)}else R.status=91;if(R.status===91)if(R.gzhead.comment){B=R.pending;do{if(R.pending===R.pending_buf_size&&(R.gzhead.hcrc&&R.pending>B&&(y.adler=u(y.adler,R.pending_buf,R.pending-B,B)),j(y),B=R.pending,R.pending===R.pending_buf_size)){z=1;break}z=R.gzindex<R.gzhead.comment.length?255&R.gzhead.comment.charCodeAt(R.gzindex++):0,oe(R,z)}while(z!==0);R.gzhead.hcrc&&R.pending>B&&(y.adler=u(y.adler,R.pending_buf,R.pending-B,B)),z===0&&(R.status=103)}else R.status=103;if(R.status===103&&(R.gzhead.hcrc?(R.pending+2>R.pending_buf_size&&j(y),R.pending+2<=R.pending_buf_size&&(oe(R,255&y.adler),oe(R,y.adler>>8&255),y.adler=0,R.status=q)):R.status=q),R.pending!==0){if(j(y),y.avail_out===0)return R.last_flush=-1,d}else if(y.avail_in===0&&K(G)<=K($)&&G!==g)return J(y,-5);if(R.status===666&&y.avail_in!==0)return J(y,-5);if(y.avail_in!==0||R.lookahead!==0||G!==f&&R.status!==666){var te=R.strategy===2?function(Z,M){for(var X;;){if(Z.lookahead===0&&(he(Z),Z.lookahead===0)){if(M===f)return v;break}if(Z.match_length=0,X=s._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++,X&&(I(Z,!1),Z.strm.avail_out===0))return v}return Z.insert=0,M===g?(I(Z,!0),Z.strm.avail_out===0?V:P):Z.last_lit&&(I(Z,!1),Z.strm.avail_out===0)?v:k}(R,G):R.strategy===3?function(Z,M){for(var X,Q,ne,de,me=Z.window;;){if(Z.lookahead<=W){if(he(Z),Z.lookahead<=W&&M===f)return v;if(Z.lookahead===0)break}if(Z.match_length=0,Z.lookahead>=A&&0<Z.strstart&&(Q=me[ne=Z.strstart-1])===me[++ne]&&Q===me[++ne]&&Q===me[++ne]){de=Z.strstart+W;do;while(Q===me[++ne]&&Q===me[++ne]&&Q===me[++ne]&&Q===me[++ne]&&Q===me[++ne]&&Q===me[++ne]&&Q===me[++ne]&&Q===me[++ne]&&ne<de);Z.match_length=W-(de-ne),Z.match_length>Z.lookahead&&(Z.match_length=Z.lookahead)}if(Z.match_length>=A?(X=s._tr_tally(Z,1,Z.match_length-A),Z.lookahead-=Z.match_length,Z.strstart+=Z.match_length,Z.match_length=0):(X=s._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++),X&&(I(Z,!1),Z.strm.avail_out===0))return v}return Z.insert=0,M===g?(I(Z,!0),Z.strm.avail_out===0?V:P):Z.last_lit&&(I(Z,!1),Z.strm.avail_out===0)?v:k}(R,G):a[R.level].func(R,G);if(te!==V&&te!==P||(R.status=666),te===v||te===V)return y.avail_out===0&&(R.last_flush=-1),d;if(te===k&&(G===1?s._tr_align(R):G!==5&&(s._tr_stored_block(R,0,0,!1),G===3&&(re(R.head),R.lookahead===0&&(R.strstart=0,R.block_start=0,R.insert=0))),j(y),y.avail_out===0))return R.last_flush=-1,d}return G!==g?d:R.wrap<=0?1:(R.wrap===2?(oe(R,255&y.adler),oe(R,y.adler>>8&255),oe(R,y.adler>>16&255),oe(R,y.adler>>24&255),oe(R,255&y.total_in),oe(R,y.total_in>>8&255),oe(R,y.total_in>>16&255),oe(R,y.total_in>>24&255)):(se(R,y.adler>>>16),se(R,65535&y.adler)),j(y),0<R.wrap&&(R.wrap=-R.wrap),R.pending!==0?d:1)},r.deflateEnd=function(y){var G;return y&&y.state?(G=y.state.status)!==F&&G!==69&&G!==73&&G!==91&&G!==103&&G!==q&&G!==666?J(y,x):(y.state=null,G===q?J(y,-3):d):x},r.deflateSetDictionary=function(y,G){var $,R,B,z,ae,te,Z,M,X=G.length;if(!y||!y.state||(z=($=y.state).wrap)===2||z===1&&$.status!==F||$.lookahead)return x;for(z===1&&(y.adler=c(y.adler,G,X,0)),$.wrap=0,X>=$.w_size&&(z===0&&(re($.head),$.strstart=0,$.block_start=0,$.insert=0),M=new o.Buf8($.w_size),o.arraySet(M,G,X-$.w_size,$.w_size,0),G=M,X=$.w_size),ae=y.avail_in,te=y.next_in,Z=y.input,y.avail_in=X,y.next_in=0,y.input=G,he($);$.lookahead>=A;){for(R=$.strstart,B=$.lookahead-(A-1);$.ins_h=($.ins_h<<$.hash_shift^$.window[R+A-1])&$.hash_mask,$.prev[R&$.w_mask]=$.head[$.ins_h],$.head[$.ins_h]=R,R++,--B;);$.strstart=R,$.lookahead=A-1,he($)}return $.strstart+=$.lookahead,$.block_start=$.strstart,$.insert=$.lookahead,$.lookahead=0,$.match_length=$.prev_length=A-1,$.match_available=0,y.next_in=te,y.input=Z,y.avail_in=ae,$.wrap=z,d},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,i,r){i.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,i,r){i.exports=function(a,o){var s,c,u,l,f,g,d,x,m,h,b,p,D,w,_,U,E,L,A,W,N,F,q,v,k;s=a.state,c=a.next_in,v=a.input,u=c+(a.avail_in-5),l=a.next_out,k=a.output,f=l-(o-a.avail_out),g=l+(a.avail_out-257),d=s.dmax,x=s.wsize,m=s.whave,h=s.wnext,b=s.window,p=s.hold,D=s.bits,w=s.lencode,_=s.distcode,U=(1<<s.lenbits)-1,E=(1<<s.distbits)-1;e:do{D<15&&(p+=v[c++]<<D,D+=8,p+=v[c++]<<D,D+=8),L=w[p&U];t:for(;;){if(p>>>=A=L>>>24,D-=A,(A=L>>>16&255)===0)k[l++]=65535&L;else{if(!(16&A)){if((64&A)==0){L=w[(65535&L)+(p&(1<<A)-1)];continue t}if(32&A){s.mode=12;break e}a.msg="invalid literal/length code",s.mode=30;break e}W=65535&L,(A&=15)&&(D<A&&(p+=v[c++]<<D,D+=8),W+=p&(1<<A)-1,p>>>=A,D-=A),D<15&&(p+=v[c++]<<D,D+=8,p+=v[c++]<<D,D+=8),L=_[p&E];n:for(;;){if(p>>>=A=L>>>24,D-=A,!(16&(A=L>>>16&255))){if((64&A)==0){L=_[(65535&L)+(p&(1<<A)-1)];continue n}a.msg="invalid distance code",s.mode=30;break e}if(N=65535&L,D<(A&=15)&&(p+=v[c++]<<D,(D+=8)<A&&(p+=v[c++]<<D,D+=8)),d<(N+=p&(1<<A)-1)){a.msg="invalid distance too far back",s.mode=30;break e}if(p>>>=A,D-=A,(A=l-f)<N){if(m<(A=N-A)&&s.sane){a.msg="invalid distance too far back",s.mode=30;break e}if(q=b,(F=0)===h){if(F+=x-A,A<W){for(W-=A;k[l++]=b[F++],--A;);F=l-N,q=k}}else if(h<A){if(F+=x+h-A,(A-=h)<W){for(W-=A;k[l++]=b[F++],--A;);if(F=0,h<W){for(W-=A=h;k[l++]=b[F++],--A;);F=l-N,q=k}}}else if(F+=h-A,A<W){for(W-=A;k[l++]=b[F++],--A;);F=l-N,q=k}for(;2<W;)k[l++]=q[F++],k[l++]=q[F++],k[l++]=q[F++],W-=3;W&&(k[l++]=q[F++],1<W&&(k[l++]=q[F++]))}else{for(F=l-N;k[l++]=k[F++],k[l++]=k[F++],k[l++]=k[F++],2<(W-=3););W&&(k[l++]=k[F++],1<W&&(k[l++]=k[F++]))}break}}break}}while(c<u&&l<g);c-=W=D>>3,p&=(1<<(D-=W<<3))-1,a.next_in=c,a.next_out=l,a.avail_in=c<u?u-c+5:5-(c-u),a.avail_out=l<g?g-l+257:257-(l-g),s.hold=p,s.bits=D}},{}],49:[function(n,i,r){var a=n("../utils/common"),o=n("./adler32"),s=n("./crc32"),c=n("./inffast"),u=n("./inftrees"),l=1,f=2,g=0,d=-2,x=1,m=852,h=592;function b(F){return(F>>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function p(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function D(F){var q;return F&&F.state?(q=F.state,F.total_in=F.total_out=q.total=0,F.msg="",q.wrap&&(F.adler=1&q.wrap),q.mode=x,q.last=0,q.havedict=0,q.dmax=32768,q.head=null,q.hold=0,q.bits=0,q.lencode=q.lendyn=new a.Buf32(m),q.distcode=q.distdyn=new a.Buf32(h),q.sane=1,q.back=-1,g):d}function w(F){var q;return F&&F.state?((q=F.state).wsize=0,q.whave=0,q.wnext=0,D(F)):d}function _(F,q){var v,k;return F&&F.state?(k=F.state,q<0?(v=0,q=-q):(v=1+(q>>4),q<48&&(q&=15)),q&&(q<8||15<q)?d:(k.window!==null&&k.wbits!==q&&(k.window=null),k.wrap=v,k.wbits=q,w(F))):d}function U(F,q){var v,k;return F?(k=new p,(F.state=k).window=null,(v=_(F,q))!==g&&(F.state=null),v):d}var E,L,A=!0;function W(F){if(A){var q;for(E=new a.Buf32(512),L=new a.Buf32(32),q=0;q<144;)F.lens[q++]=8;for(;q<256;)F.lens[q++]=9;for(;q<280;)F.lens[q++]=7;for(;q<288;)F.lens[q++]=8;for(u(l,F.lens,0,288,E,0,F.work,{bits:9}),q=0;q<32;)F.lens[q++]=5;u(f,F.lens,0,32,L,0,F.work,{bits:5}),A=!1}F.lencode=E,F.lenbits=9,F.distcode=L,F.distbits=5}function N(F,q,v,k){var V,P=F.state;return P.window===null&&(P.wsize=1<<P.wbits,P.wnext=0,P.whave=0,P.window=new a.Buf8(P.wsize)),k>=P.wsize?(a.arraySet(P.window,q,v-P.wsize,P.wsize,0),P.wnext=0,P.whave=P.wsize):(k<(V=P.wsize-P.wnext)&&(V=k),a.arraySet(P.window,q,v-k,V,P.wnext),(k-=V)?(a.arraySet(P.window,q,v-k,k,0),P.wnext=k,P.whave=P.wsize):(P.wnext+=V,P.wnext===P.wsize&&(P.wnext=0),P.whave<P.wsize&&(P.whave+=V))),0}r.inflateReset=w,r.inflateReset2=_,r.inflateResetKeep=D,r.inflateInit=function(F){return U(F,15)},r.inflateInit2=U,r.inflate=function(F,q){var v,k,V,P,J,K,re,j,I,oe,se,ie,he,_e,ge,ye,xe,ve,ke,Be,y,G,$,R,B=0,z=new a.Buf8(4),ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!F||!F.state||!F.output||!F.input&&F.avail_in!==0)return d;(v=F.state).mode===12&&(v.mode=13),J=F.next_out,V=F.output,re=F.avail_out,P=F.next_in,k=F.input,K=F.avail_in,j=v.hold,I=v.bits,oe=K,se=re,G=g;e:for(;;)switch(v.mode){case x:if(v.wrap===0){v.mode=13;break}for(;I<16;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(2&v.wrap&&j===35615){z[v.check=0]=255&j,z[1]=j>>>8&255,v.check=s(v.check,z,2,0),I=j=0,v.mode=2;break}if(v.flags=0,v.head&&(v.head.done=!1),!(1&v.wrap)||(((255&j)<<8)+(j>>8))%31){F.msg="incorrect header check",v.mode=30;break}if((15&j)!=8){F.msg="unknown compression method",v.mode=30;break}if(I-=4,y=8+(15&(j>>>=4)),v.wbits===0)v.wbits=y;else if(y>v.wbits){F.msg="invalid window size",v.mode=30;break}v.dmax=1<<y,F.adler=v.check=1,v.mode=512&j?10:12,I=j=0;break;case 2:for(;I<16;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(v.flags=j,(255&v.flags)!=8){F.msg="unknown compression method",v.mode=30;break}if(57344&v.flags){F.msg="unknown header flags set",v.mode=30;break}v.head&&(v.head.text=j>>8&1),512&v.flags&&(z[0]=255&j,z[1]=j>>>8&255,v.check=s(v.check,z,2,0)),I=j=0,v.mode=3;case 3:for(;I<32;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}v.head&&(v.head.time=j),512&v.flags&&(z[0]=255&j,z[1]=j>>>8&255,z[2]=j>>>16&255,z[3]=j>>>24&255,v.check=s(v.check,z,4,0)),I=j=0,v.mode=4;case 4:for(;I<16;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}v.head&&(v.head.xflags=255&j,v.head.os=j>>8),512&v.flags&&(z[0]=255&j,z[1]=j>>>8&255,v.check=s(v.check,z,2,0)),I=j=0,v.mode=5;case 5:if(1024&v.flags){for(;I<16;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}v.length=j,v.head&&(v.head.extra_len=j),512&v.flags&&(z[0]=255&j,z[1]=j>>>8&255,v.check=s(v.check,z,2,0)),I=j=0}else v.head&&(v.head.extra=null);v.mode=6;case 6:if(1024&v.flags&&(K<(ie=v.length)&&(ie=K),ie&&(v.head&&(y=v.head.extra_len-v.length,v.head.extra||(v.head.extra=new Array(v.head.extra_len)),a.arraySet(v.head.extra,k,P,ie,y)),512&v.flags&&(v.check=s(v.check,k,ie,P)),K-=ie,P+=ie,v.length-=ie),v.length))break e;v.length=0,v.mode=7;case 7:if(2048&v.flags){if(K===0)break e;for(ie=0;y=k[P+ie++],v.head&&y&&v.length<65536&&(v.head.name+=String.fromCharCode(y)),y&&ie<K;);if(512&v.flags&&(v.check=s(v.check,k,ie,P)),K-=ie,P+=ie,y)break e}else v.head&&(v.head.name=null);v.length=0,v.mode=8;case 8:if(4096&v.flags){if(K===0)break e;for(ie=0;y=k[P+ie++],v.head&&y&&v.length<65536&&(v.head.comment+=String.fromCharCode(y)),y&&ie<K;);if(512&v.flags&&(v.check=s(v.check,k,ie,P)),K-=ie,P+=ie,y)break e}else v.head&&(v.head.comment=null);v.mode=9;case 9:if(512&v.flags){for(;I<16;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(j!==(65535&v.check)){F.msg="header crc mismatch",v.mode=30;break}I=j=0}v.head&&(v.head.hcrc=v.flags>>9&1,v.head.done=!0),F.adler=v.check=0,v.mode=12;break;case 10:for(;I<32;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}F.adler=v.check=b(j),I=j=0,v.mode=11;case 11:if(v.havedict===0)return F.next_out=J,F.avail_out=re,F.next_in=P,F.avail_in=K,v.hold=j,v.bits=I,2;F.adler=v.check=1,v.mode=12;case 12:if(q===5||q===6)break e;case 13:if(v.last){j>>>=7&I,I-=7&I,v.mode=27;break}for(;I<3;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}switch(v.last=1&j,I-=1,3&(j>>>=1)){case 0:v.mode=14;break;case 1:if(W(v),v.mode=20,q!==6)break;j>>>=2,I-=2;break e;case 2:v.mode=17;break;case 3:F.msg="invalid block type",v.mode=30}j>>>=2,I-=2;break;case 14:for(j>>>=7&I,I-=7&I;I<32;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if((65535&j)!=(j>>>16^65535)){F.msg="invalid stored block lengths",v.mode=30;break}if(v.length=65535&j,I=j=0,v.mode=15,q===6)break e;case 15:v.mode=16;case 16:if(ie=v.length){if(K<ie&&(ie=K),re<ie&&(ie=re),ie===0)break e;a.arraySet(V,k,P,ie,J),K-=ie,P+=ie,re-=ie,J+=ie,v.length-=ie;break}v.mode=12;break;case 17:for(;I<14;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(v.nlen=257+(31&j),j>>>=5,I-=5,v.ndist=1+(31&j),j>>>=5,I-=5,v.ncode=4+(15&j),j>>>=4,I-=4,286<v.nlen||30<v.ndist){F.msg="too many length or distance symbols",v.mode=30;break}v.have=0,v.mode=18;case 18:for(;v.have<v.ncode;){for(;I<3;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}v.lens[ae[v.have++]]=7&j,j>>>=3,I-=3}for(;v.have<19;)v.lens[ae[v.have++]]=0;if(v.lencode=v.lendyn,v.lenbits=7,$={bits:v.lenbits},G=u(0,v.lens,0,19,v.lencode,0,v.work,$),v.lenbits=$.bits,G){F.msg="invalid code lengths set",v.mode=30;break}v.have=0,v.mode=19;case 19:for(;v.have<v.nlen+v.ndist;){for(;ye=(B=v.lencode[j&(1<<v.lenbits)-1])>>>16&255,xe=65535&B,!((ge=B>>>24)<=I);){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(xe<16)j>>>=ge,I-=ge,v.lens[v.have++]=xe;else{if(xe===16){for(R=ge+2;I<R;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(j>>>=ge,I-=ge,v.have===0){F.msg="invalid bit length repeat",v.mode=30;break}y=v.lens[v.have-1],ie=3+(3&j),j>>>=2,I-=2}else if(xe===17){for(R=ge+3;I<R;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}I-=ge,y=0,ie=3+(7&(j>>>=ge)),j>>>=3,I-=3}else{for(R=ge+7;I<R;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}I-=ge,y=0,ie=11+(127&(j>>>=ge)),j>>>=7,I-=7}if(v.have+ie>v.nlen+v.ndist){F.msg="invalid bit length repeat",v.mode=30;break}for(;ie--;)v.lens[v.have++]=y}}if(v.mode===30)break;if(v.lens[256]===0){F.msg="invalid code -- missing end-of-block",v.mode=30;break}if(v.lenbits=9,$={bits:v.lenbits},G=u(l,v.lens,0,v.nlen,v.lencode,0,v.work,$),v.lenbits=$.bits,G){F.msg="invalid literal/lengths set",v.mode=30;break}if(v.distbits=6,v.distcode=v.distdyn,$={bits:v.distbits},G=u(f,v.lens,v.nlen,v.ndist,v.distcode,0,v.work,$),v.distbits=$.bits,G){F.msg="invalid distances set",v.mode=30;break}if(v.mode=20,q===6)break e;case 20:v.mode=21;case 21:if(6<=K&&258<=re){F.next_out=J,F.avail_out=re,F.next_in=P,F.avail_in=K,v.hold=j,v.bits=I,c(F,se),J=F.next_out,V=F.output,re=F.avail_out,P=F.next_in,k=F.input,K=F.avail_in,j=v.hold,I=v.bits,v.mode===12&&(v.back=-1);break}for(v.back=0;ye=(B=v.lencode[j&(1<<v.lenbits)-1])>>>16&255,xe=65535&B,!((ge=B>>>24)<=I);){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(ye&&(240&ye)==0){for(ve=ge,ke=ye,Be=xe;ye=(B=v.lencode[Be+((j&(1<<ve+ke)-1)>>ve)])>>>16&255,xe=65535&B,!(ve+(ge=B>>>24)<=I);){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}j>>>=ve,I-=ve,v.back+=ve}if(j>>>=ge,I-=ge,v.back+=ge,v.length=xe,ye===0){v.mode=26;break}if(32&ye){v.back=-1,v.mode=12;break}if(64&ye){F.msg="invalid literal/length code",v.mode=30;break}v.extra=15&ye,v.mode=22;case 22:if(v.extra){for(R=v.extra;I<R;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}v.length+=j&(1<<v.extra)-1,j>>>=v.extra,I-=v.extra,v.back+=v.extra}v.was=v.length,v.mode=23;case 23:for(;ye=(B=v.distcode[j&(1<<v.distbits)-1])>>>16&255,xe=65535&B,!((ge=B>>>24)<=I);){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if((240&ye)==0){for(ve=ge,ke=ye,Be=xe;ye=(B=v.distcode[Be+((j&(1<<ve+ke)-1)>>ve)])>>>16&255,xe=65535&B,!(ve+(ge=B>>>24)<=I);){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}j>>>=ve,I-=ve,v.back+=ve}if(j>>>=ge,I-=ge,v.back+=ge,64&ye){F.msg="invalid distance code",v.mode=30;break}v.offset=xe,v.extra=15&ye,v.mode=24;case 24:if(v.extra){for(R=v.extra;I<R;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}v.offset+=j&(1<<v.extra)-1,j>>>=v.extra,I-=v.extra,v.back+=v.extra}if(v.offset>v.dmax){F.msg="invalid distance too far back",v.mode=30;break}v.mode=25;case 25:if(re===0)break e;if(ie=se-re,v.offset>ie){if((ie=v.offset-ie)>v.whave&&v.sane){F.msg="invalid distance too far back",v.mode=30;break}he=ie>v.wnext?(ie-=v.wnext,v.wsize-ie):v.wnext-ie,ie>v.length&&(ie=v.length),_e=v.window}else _e=V,he=J-v.offset,ie=v.length;for(re<ie&&(ie=re),re-=ie,v.length-=ie;V[J++]=_e[he++],--ie;);v.length===0&&(v.mode=21);break;case 26:if(re===0)break e;V[J++]=v.length,re--,v.mode=21;break;case 27:if(v.wrap){for(;I<32;){if(K===0)break e;K--,j|=k[P++]<<I,I+=8}if(se-=re,F.total_out+=se,v.total+=se,se&&(F.adler=v.check=v.flags?s(v.check,V,se,J-se):o(v.check,V,se,J-se)),se=re,(v.flags?j:b(j))!==v.check){F.msg="incorrect data check",v.mode=30;break}I=j=0}v.mode=28;case 28:if(v.wrap&&v.flags){for(;I<32;){if(K===0)break e;K--,j+=k[P++]<<I,I+=8}if(j!==(4294967295&v.total)){F.msg="incorrect length check",v.mode=30;break}I=j=0}v.mode=29;case 29:G=1;break e;case 30:G=-3;break e;case 31:return-4;case 32:default:return d}return F.next_out=J,F.avail_out=re,F.next_in=P,F.avail_in=K,v.hold=j,v.bits=I,(v.wsize||se!==F.avail_out&&v.mode<30&&(v.mode<27||q!==4))&&N(F,F.output,F.next_out,se-F.avail_out)?(v.mode=31,-4):(oe-=F.avail_in,se-=F.avail_out,F.total_in+=oe,F.total_out+=se,v.total+=se,v.wrap&&se&&(F.adler=v.check=v.flags?s(v.check,V,se,F.next_out-se):o(v.check,V,se,F.next_out-se)),F.data_type=v.bits+(v.last?64:0)+(v.mode===12?128:0)+(v.mode===20||v.mode===15?256:0),(oe==0&&se===0||q===4)&&G===g&&(G=-5),G)},r.inflateEnd=function(F){if(!F||!F.state)return d;var q=F.state;return q.window&&(q.window=null),F.state=null,g},r.inflateGetHeader=function(F,q){var v;return F&&F.state?(2&(v=F.state).wrap)==0?d:((v.head=q).done=!1,g):d},r.inflateSetDictionary=function(F,q){var v,k=q.length;return F&&F.state?(v=F.state).wrap!==0&&v.mode!==11?d:v.mode===11&&o(1,q,k,0)!==v.check?-3:N(F,q,k,k)?(v.mode=31,-4):(v.havedict=1,g):d},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,i,r){var a=n("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],c=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],u=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];i.exports=function(l,f,g,d,x,m,h,b){var p,D,w,_,U,E,L,A,W,N=b.bits,F=0,q=0,v=0,k=0,V=0,P=0,J=0,K=0,re=0,j=0,I=null,oe=0,se=new a.Buf16(16),ie=new a.Buf16(16),he=null,_e=0;for(F=0;F<=15;F++)se[F]=0;for(q=0;q<d;q++)se[f[g+q]]++;for(V=N,k=15;1<=k&&se[k]===0;k--);if(k<V&&(V=k),k===0)return x[m++]=20971520,x[m++]=20971520,b.bits=1,0;for(v=1;v<k&&se[v]===0;v++);for(V<v&&(V=v),F=K=1;F<=15;F++)if(K<<=1,(K-=se[F])<0)return-1;if(0<K&&(l===0||k!==1))return-1;for(ie[1]=0,F=1;F<15;F++)ie[F+1]=ie[F]+se[F];for(q=0;q<d;q++)f[g+q]!==0&&(h[ie[f[g+q]]++]=q);if(E=l===0?(I=he=h,19):l===1?(I=o,oe-=257,he=s,_e-=257,256):(I=c,he=u,-1),F=v,U=m,J=q=j=0,w=-1,_=(re=1<<(P=V))-1,l===1&&852<re||l===2&&592<re)return 1;for(;;){for(L=F-J,W=h[q]<E?(A=0,h[q]):h[q]>E?(A=he[_e+h[q]],I[oe+h[q]]):(A=96,0),p=1<<F-J,v=D=1<<P;x[U+(j>>J)+(D-=p)]=L<<24|A<<16|W|0,D!==0;);for(p=1<<F-1;j&p;)p>>=1;if(p!==0?(j&=p-1,j+=p):j=0,q++,--se[F]==0){if(F===k)break;F=f[g+h[q]]}if(V<F&&(j&_)!==w){for(J===0&&(J=V),U+=v,K=1<<(P=F-J);P+J<k&&!((K-=se[P+J])<=0);)P++,K<<=1;if(re+=1<<P,l===1&&852<re||l===2&&592<re)return 1;x[w=j&_]=V<<24|P<<16|U-m|0}}return j!==0&&(x[U+j]=F-J<<24|64<<16|0),b.bits=V,0}},{"../utils/common":41}],51:[function(n,i,r){i.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,i,r){var a=n("../utils/common"),o=0,s=1;function c(B){for(var z=B.length;0<=--z;)B[z]=0}var u=0,l=29,f=256,g=f+1+l,d=30,x=19,m=2*g+1,h=15,b=16,p=7,D=256,w=16,_=17,U=18,E=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],L=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],W=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=new Array(2*(g+2));c(N);var F=new Array(2*d);c(F);var q=new Array(512);c(q);var v=new Array(256);c(v);var k=new Array(l);c(k);var V,P,J,K=new Array(d);function re(B,z,ae,te,Z){this.static_tree=B,this.extra_bits=z,this.extra_base=ae,this.elems=te,this.max_length=Z,this.has_stree=B&&B.length}function j(B,z){this.dyn_tree=B,this.max_code=0,this.stat_desc=z}function I(B){return B<256?q[B]:q[256+(B>>>7)]}function oe(B,z){B.pending_buf[B.pending++]=255&z,B.pending_buf[B.pending++]=z>>>8&255}function se(B,z,ae){B.bi_valid>b-ae?(B.bi_buf|=z<<B.bi_valid&65535,oe(B,B.bi_buf),B.bi_buf=z>>b-B.bi_valid,B.bi_valid+=ae-b):(B.bi_buf|=z<<B.bi_valid&65535,B.bi_valid+=ae)}function ie(B,z,ae){se(B,ae[2*z],ae[2*z+1])}function he(B,z){for(var ae=0;ae|=1&B,B>>>=1,ae<<=1,0<--z;);return ae>>>1}function _e(B,z,ae){var te,Z,M=new Array(h+1),X=0;for(te=1;te<=h;te++)M[te]=X=X+ae[te-1]<<1;for(Z=0;Z<=z;Z++){var Q=B[2*Z+1];Q!==0&&(B[2*Z]=he(M[Q]++,Q))}}function ge(B){var z;for(z=0;z<g;z++)B.dyn_ltree[2*z]=0;for(z=0;z<d;z++)B.dyn_dtree[2*z]=0;for(z=0;z<x;z++)B.bl_tree[2*z]=0;B.dyn_ltree[2*D]=1,B.opt_len=B.static_len=0,B.last_lit=B.matches=0}function ye(B){8<B.bi_valid?oe(B,B.bi_buf):0<B.bi_valid&&(B.pending_buf[B.pending++]=B.bi_buf),B.bi_buf=0,B.bi_valid=0}function xe(B,z,ae,te){var Z=2*z,M=2*ae;return B[Z]<B[M]||B[Z]===B[M]&&te[z]<=te[ae]}function ve(B,z,ae){for(var te=B.heap[ae],Z=ae<<1;Z<=B.heap_len&&(Z<B.heap_len&&xe(z,B.heap[Z+1],B.heap[Z],B.depth)&&Z++,!xe(z,te,B.heap[Z],B.depth));)B.heap[ae]=B.heap[Z],ae=Z,Z<<=1;B.heap[ae]=te}function ke(B,z,ae){var te,Z,M,X,Q=0;if(B.last_lit!==0)for(;te=B.pending_buf[B.d_buf+2*Q]<<8|B.pending_buf[B.d_buf+2*Q+1],Z=B.pending_buf[B.l_buf+Q],Q++,te===0?ie(B,Z,z):(ie(B,(M=v[Z])+f+1,z),(X=E[M])!==0&&se(B,Z-=k[M],X),ie(B,M=I(--te),ae),(X=L[M])!==0&&se(B,te-=K[M],X)),Q<B.last_lit;);ie(B,D,z)}function Be(B,z){var ae,te,Z,M=z.dyn_tree,X=z.stat_desc.static_tree,Q=z.stat_desc.has_stree,ne=z.stat_desc.elems,de=-1;for(B.heap_len=0,B.heap_max=m,ae=0;ae<ne;ae++)M[2*ae]!==0?(B.heap[++B.heap_len]=de=ae,B.depth[ae]=0):M[2*ae+1]=0;for(;B.heap_len<2;)M[2*(Z=B.heap[++B.heap_len]=de<2?++de:0)]=1,B.depth[Z]=0,B.opt_len--,Q&&(B.static_len-=X[2*Z+1]);for(z.max_code=de,ae=B.heap_len>>1;1<=ae;ae--)ve(B,M,ae);for(Z=ne;ae=B.heap[1],B.heap[1]=B.heap[B.heap_len--],ve(B,M,1),te=B.heap[1],B.heap[--B.heap_max]=ae,B.heap[--B.heap_max]=te,M[2*Z]=M[2*ae]+M[2*te],B.depth[Z]=(B.depth[ae]>=B.depth[te]?B.depth[ae]:B.depth[te])+1,M[2*ae+1]=M[2*te+1]=Z,B.heap[1]=Z++,ve(B,M,1),2<=B.heap_len;);B.heap[--B.heap_max]=B.heap[1],function(me,Te){var De,Y,ce,ue,be,Ae,Ue=Te.dyn_tree,Le=Te.max_code,ot=Te.stat_desc.static_tree,Ct=Te.stat_desc.has_stree,ii=Te.stat_desc.extra_bits,C=Te.stat_desc.extra_base,S=Te.stat_desc.max_length,H=0;for(ue=0;ue<=h;ue++)me.bl_count[ue]=0;for(Ue[2*me.heap[me.heap_max]+1]=0,De=me.heap_max+1;De<m;De++)S<(ue=Ue[2*Ue[2*(Y=me.heap[De])+1]+1]+1)&&(ue=S,H++),Ue[2*Y+1]=ue,Le<Y||(me.bl_count[ue]++,be=0,C<=Y&&(be=ii[Y-C]),Ae=Ue[2*Y],me.opt_len+=Ae*(ue+be),Ct&&(me.static_len+=Ae*(ot[2*Y+1]+be)));if(H!==0){do{for(ue=S-1;me.bl_count[ue]===0;)ue--;me.bl_count[ue]--,me.bl_count[ue+1]+=2,me.bl_count[S]--,H-=2}while(0<H);for(ue=S;ue!==0;ue--)for(Y=me.bl_count[ue];Y!==0;)Le<(ce=me.heap[--De])||(Ue[2*ce+1]!==ue&&(me.opt_len+=(ue-Ue[2*ce+1])*Ue[2*ce],Ue[2*ce+1]=ue),Y--)}}(B,z),_e(M,de,B.bl_count)}function y(B,z,ae){var te,Z,M=-1,X=z[1],Q=0,ne=7,de=4;for(X===0&&(ne=138,de=3),z[2*(ae+1)+1]=65535,te=0;te<=ae;te++)Z=X,X=z[2*(te+1)+1],++Q<ne&&Z===X||(Q<de?B.bl_tree[2*Z]+=Q:Z!==0?(Z!==M&&B.bl_tree[2*Z]++,B.bl_tree[2*w]++):Q<=10?B.bl_tree[2*_]++:B.bl_tree[2*U]++,M=Z,de=(Q=0)===X?(ne=138,3):Z===X?(ne=6,3):(ne=7,4))}function G(B,z,ae){var te,Z,M=-1,X=z[1],Q=0,ne=7,de=4;for(X===0&&(ne=138,de=3),te=0;te<=ae;te++)if(Z=X,X=z[2*(te+1)+1],!(++Q<ne&&Z===X)){if(Q<de)for(;ie(B,Z,B.bl_tree),--Q!=0;);else Z!==0?(Z!==M&&(ie(B,Z,B.bl_tree),Q--),ie(B,w,B.bl_tree),se(B,Q-3,2)):Q<=10?(ie(B,_,B.bl_tree),se(B,Q-3,3)):(ie(B,U,B.bl_tree),se(B,Q-11,7));M=Z,de=(Q=0)===X?(ne=138,3):Z===X?(ne=6,3):(ne=7,4)}}c(K);var $=!1;function R(B,z,ae,te){se(B,(u<<1)+(te?1:0),3),function(Z,M,X,Q){ye(Z),oe(Z,X),oe(Z,~X),a.arraySet(Z.pending_buf,Z.window,M,X,Z.pending),Z.pending+=X}(B,z,ae)}r._tr_init=function(B){$||(function(){var z,ae,te,Z,M,X=new Array(h+1);for(Z=te=0;Z<l-1;Z++)for(k[Z]=te,z=0;z<1<<E[Z];z++)v[te++]=Z;for(v[te-1]=Z,Z=M=0;Z<16;Z++)for(K[Z]=M,z=0;z<1<<L[Z];z++)q[M++]=Z;for(M>>=7;Z<d;Z++)for(K[Z]=M<<7,z=0;z<1<<L[Z]-7;z++)q[256+M++]=Z;for(ae=0;ae<=h;ae++)X[ae]=0;for(z=0;z<=143;)N[2*z+1]=8,z++,X[8]++;for(;z<=255;)N[2*z+1]=9,z++,X[9]++;for(;z<=279;)N[2*z+1]=7,z++,X[7]++;for(;z<=287;)N[2*z+1]=8,z++,X[8]++;for(_e(N,g+1,X),z=0;z<d;z++)F[2*z+1]=5,F[2*z]=he(z,5);V=new re(N,E,f+1,g,h),P=new re(F,L,0,d,h),J=new re(new Array(0),A,0,x,p)}(),$=!0),B.l_desc=new j(B.dyn_ltree,V),B.d_desc=new j(B.dyn_dtree,P),B.bl_desc=new j(B.bl_tree,J),B.bi_buf=0,B.bi_valid=0,ge(B)},r._tr_stored_block=R,r._tr_flush_block=function(B,z,ae,te){var Z,M,X=0;0<B.level?(B.strm.data_type===2&&(B.strm.data_type=function(Q){var ne,de=4093624447;for(ne=0;ne<=31;ne++,de>>>=1)if(1&de&&Q.dyn_ltree[2*ne]!==0)return o;if(Q.dyn_ltree[18]!==0||Q.dyn_ltree[20]!==0||Q.dyn_ltree[26]!==0)return s;for(ne=32;ne<f;ne++)if(Q.dyn_ltree[2*ne]!==0)return s;return o}(B)),Be(B,B.l_desc),Be(B,B.d_desc),X=function(Q){var ne;for(y(Q,Q.dyn_ltree,Q.l_desc.max_code),y(Q,Q.dyn_dtree,Q.d_desc.max_code),Be(Q,Q.bl_desc),ne=x-1;3<=ne&&Q.bl_tree[2*W[ne]+1]===0;ne--);return Q.opt_len+=3*(ne+1)+5+5+4,ne}(B),Z=B.opt_len+3+7>>>3,(M=B.static_len+3+7>>>3)<=Z&&(Z=M)):Z=M=ae+5,ae+4<=Z&&z!==-1?R(B,z,ae,te):B.strategy===4||M===Z?(se(B,2+(te?1:0),3),ke(B,N,F)):(se(B,4+(te?1:0),3),function(Q,ne,de,me){var Te;for(se(Q,ne-257,5),se(Q,de-1,5),se(Q,me-4,4),Te=0;Te<me;Te++)se(Q,Q.bl_tree[2*W[Te]+1],3);G(Q,Q.dyn_ltree,ne-1),G(Q,Q.dyn_dtree,de-1)}(B,B.l_desc.max_code+1,B.d_desc.max_code+1,X+1),ke(B,B.dyn_ltree,B.dyn_dtree)),ge(B),te&&ye(B)},r._tr_tally=function(B,z,ae){return B.pending_buf[B.d_buf+2*B.last_lit]=z>>>8&255,B.pending_buf[B.d_buf+2*B.last_lit+1]=255&z,B.pending_buf[B.l_buf+B.last_lit]=255&ae,B.last_lit++,z===0?B.dyn_ltree[2*ae]++:(B.matches++,z--,B.dyn_ltree[2*(v[ae]+f+1)]++,B.dyn_dtree[2*I(z)]++),B.last_lit===B.lit_bufsize-1},r._tr_align=function(B){se(B,2,3),ie(B,D,N),function(z){z.bi_valid===16?(oe(z,z.bi_buf),z.bi_buf=0,z.bi_valid=0):8<=z.bi_valid&&(z.pending_buf[z.pending++]=255&z.bi_buf,z.bi_buf>>=8,z.bi_valid-=8)}(B)}},{"../utils/common":41}],53:[function(n,i,r){i.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,i,r){(function(a){(function(o,s){if(!o.setImmediate){var c,u,l,f,g=1,d={},x=!1,m=o.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(o);h=h&&h.setTimeout?h:o,c={}.toString.call(o.process)==="[object process]"?function(w){process.nextTick(function(){p(w)})}:function(){if(o.postMessage&&!o.importScripts){var w=!0,_=o.onmessage;return o.onmessage=function(){w=!1},o.postMessage("","*"),o.onmessage=_,w}}()?(f="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",D,!1):o.attachEvent("onmessage",D),function(w){o.postMessage(f+w,"*")}):o.MessageChannel?((l=new MessageChannel).port1.onmessage=function(w){p(w.data)},function(w){l.port2.postMessage(w)}):m&&"onreadystatechange"in m.createElement("script")?(u=m.documentElement,function(w){var _=m.createElement("script");_.onreadystatechange=function(){p(w),_.onreadystatechange=null,u.removeChild(_),_=null},u.appendChild(_)}):function(w){setTimeout(p,0,w)},h.setImmediate=function(w){typeof w!="function"&&(w=new Function(""+w));for(var _=new Array(arguments.length-1),U=0;U<_.length;U++)_[U]=arguments[U+1];var E={callback:w,args:_};return d[g]=E,c(g),g++},h.clearImmediate=b}function b(w){delete d[w]}function p(w){if(x)setTimeout(p,0,w);else{var _=d[w];if(_){x=!0;try{(function(U){var E=U.callback,L=U.args;switch(L.length){case 0:E();break;case 1:E(L[0]);break;case 2:E(L[0],L[1]);break;case 3:E(L[0],L[1],L[2]);break;default:E.apply(s,L)}})(_)}finally{b(w),x=!1}}}}function D(w){w.source===o&&typeof w.data=="string"&&w.data.indexOf(f)===0&&p(+w.data.slice(f.length))}})(typeof self>"u"?a===void 0?this:a:self)}).call(this,typeof T.commonjsGlobal<"u"?T.commonjsGlobal:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}(ba)),ba.exports}var Js;function _d(){if(Js)return Cn;Js=1;var e=Vp(),t=$p();Cn.openArrayBuffer=n,Cn.splitPath=i,Cn.joinPath=r;function n(a){return t.loadAsync(a).then(function(o){function s(f){return o.file(f)!==null}function c(f,g){return o.file(f).async("uint8array").then(function(d){if(g==="base64")return e.fromByteArray(d);if(g){var x=new TextDecoder(g);return x.decode(d)}else return d})}function u(f,g){o.file(f,g)}function l(){return o.generateAsync({type:"arraybuffer"})}return{exists:s,read:c,write:u,toArrayBuffer:l}})}function i(a){var o=a.lastIndexOf("/");return o===-1?{dirname:"",basename:a}:{dirname:a.substring(0,o),basename:a.substring(o+1)}}function r(){var a=Array.prototype.filter.call(arguments,function(s){return s}),o=[];return a.forEach(function(s){/^\//.test(s)?o=[s]:o.push(s)}),o.join("/")}return Cn}var hi={},Bt={},hn={},ec;function wd(){if(ec)return hn;ec=1;var e=Pe;hn.Element=n,hn.element=function(a,o,s){return new n(a,o,s)},hn.text=function(a){return{type:"text",value:a}};var t=hn.emptyElement={first:function(){return null},firstOrEmpty:function(){return t},attributes:{},children:[]};function n(a,o,s){this.type="element",this.name=a,this.attributes=o||{},this.children=s||[]}n.prototype.first=function(a){return e.find(this.children,function(o){return o.name===a})},n.prototype.firstOrEmpty=function(a){return this.first(a)||t},n.prototype.getElementsByTagName=function(a){var o=e.filter(this.children,function(s){return s.name===a});return r(o)},n.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var i={getElementsByTagName:function(a){return r(e.flatten(this.map(function(o){return o.getElementsByTagName(a)},!0)))}};function r(a){return e.extend(a,i)}return hn}var ya={},fi={},Fn={},_t={},Gt={},tc;function Lr(){if(tc)return Gt;tc=1;function e(a,o,s){if(s===void 0&&(s=Array.prototype),a&&typeof s.find=="function")return s.find.call(a,o);for(var c=0;c<a.length;c++)if(Object.prototype.hasOwnProperty.call(a,c)){var u=a[c];if(o.call(void 0,u,c,a))return u}}function t(a,o){return o===void 0&&(o=Object),o&&typeof o.freeze=="function"?o.freeze(a):a}function n(a,o){if(a===null||typeof a!="object")throw new TypeError("target is not an object");for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(a[s]=o[s]);return a}var i=t({HTML:"text/html",isHTML:function(a){return a===i.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),r=t({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(a){return a===r.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return Gt.assign=n,Gt.find=e,Gt.freeze=t,Gt.MIME_TYPE=i,Gt.NAMESPACE=r,Gt}var nc;function ns(){if(nc)return _t;nc=1;var e=Lr(),t=e.find,n=e.NAMESPACE;function i(C){return C!==""}function r(C){return C?C.split(/[\t\n\f\r ]+/).filter(i):[]}function a(C,S){return C.hasOwnProperty(S)||(C[S]=!0),C}function o(C){if(!C)return[];var S=r(C);return Object.keys(S.reduce(a,{}))}function s(C){return function(S){return C&&C.indexOf(S)!==-1}}function c(C,S){for(var H in C)Object.prototype.hasOwnProperty.call(C,H)&&(S[H]=C[H])}function u(C,S){var H=C.prototype;if(!(H instanceof S)){let ee=function(){};ee.prototype=S.prototype,ee=new ee,c(H,ee),C.prototype=H=ee}H.constructor!=C&&(typeof C!="function"&&console.error("unknown Class:"+C),H.constructor=C)}var l={},f=l.ELEMENT_NODE=1,g=l.ATTRIBUTE_NODE=2,d=l.TEXT_NODE=3,x=l.CDATA_SECTION_NODE=4,m=l.ENTITY_REFERENCE_NODE=5,h=l.ENTITY_NODE=6,b=l.PROCESSING_INSTRUCTION_NODE=7,p=l.COMMENT_NODE=8,D=l.DOCUMENT_NODE=9,w=l.DOCUMENT_TYPE_NODE=10,_=l.DOCUMENT_FRAGMENT_NODE=11,U=l.NOTATION_NODE=12,E={},L={};E.INDEX_SIZE_ERR=(L[1]="Index size error",1),E.DOMSTRING_SIZE_ERR=(L[2]="DOMString size error",2);var A=E.HIERARCHY_REQUEST_ERR=(L[3]="Hierarchy request error",3);E.WRONG_DOCUMENT_ERR=(L[4]="Wrong document",4),E.INVALID_CHARACTER_ERR=(L[5]="Invalid character",5),E.NO_DATA_ALLOWED_ERR=(L[6]="No data allowed",6),E.NO_MODIFICATION_ALLOWED_ERR=(L[7]="No modification allowed",7);var W=E.NOT_FOUND_ERR=(L[8]="Not found",8);E.NOT_SUPPORTED_ERR=(L[9]="Not supported",9);var N=E.INUSE_ATTRIBUTE_ERR=(L[10]="Attribute in use",10);E.INVALID_STATE_ERR=(L[11]="Invalid state",11),E.SYNTAX_ERR=(L[12]="Syntax error",12),E.INVALID_MODIFICATION_ERR=(L[13]="Invalid modification",13),E.NAMESPACE_ERR=(L[14]="Invalid namespace",14),E.INVALID_ACCESS_ERR=(L[15]="Invalid access",15);function F(C,S){if(S instanceof Error)var H=S;else H=this,Error.call(this,L[C]),this.message=L[C],Error.captureStackTrace&&Error.captureStackTrace(this,F);return H.code=C,S&&(this.message=this.message+": "+S),H}F.prototype=Error.prototype,c(E,F);function q(){}q.prototype={length:0,item:function(C){return C>=0&&C<this.length?this[C]:null},toString:function(C,S){for(var H=[],ee=0;ee<this.length;ee++)Le(this[ee],H,C,S);return H.join("")},filter:function(C){return Array.prototype.filter.call(this,C)},indexOf:function(C){return Array.prototype.indexOf.call(this,C)}};function v(C,S){this._node=C,this._refresh=S,k(this)}function k(C){var S=C._node._inc||C._node.ownerDocument._inc;if(C._inc!==S){var H=C._refresh(C._node);if(ii(C,"length",H.length),!C.$$length||H.length<C.$$length)for(var ee=H.length;ee in C;ee++)Object.prototype.hasOwnProperty.call(C,ee)&&delete C[ee];c(H,C),C._inc=S}}v.prototype.item=function(C){return k(this),this[C]||null},u(v,q);function V(){}function P(C,S){for(var H=C.length;H--;)if(C[H]===S)return H}function J(C,S,H,ee){if(ee?S[P(S,ee)]=H:S[S.length++]=H,C){H.ownerElement=C;var fe=C.ownerDocument;fe&&(ee&&he(fe,C,ee),ie(fe,C,H))}}function K(C,S,H){var ee=P(S,H);if(ee>=0){for(var fe=S.length-1;ee<fe;)S[ee]=S[++ee];if(S.length=fe,C){var we=C.ownerDocument;we&&(he(we,C,H),H.ownerElement=null)}}else throw new F(W,new Error(C.tagName+"@"+H))}V.prototype={length:0,item:q.prototype.item,getNamedItem:function(C){for(var S=this.length;S--;){var H=this[S];if(H.nodeName==C)return H}},setNamedItem:function(C){var S=C.ownerElement;if(S&&S!=this._ownerElement)throw new F(N);var H=this.getNamedItem(C.nodeName);return J(this._ownerElement,this,C,H),H},setNamedItemNS:function(C){var S=C.ownerElement,H;if(S&&S!=this._ownerElement)throw new F(N);return H=this.getNamedItemNS(C.namespaceURI,C.localName),J(this._ownerElement,this,C,H),H},removeNamedItem:function(C){var S=this.getNamedItem(C);return K(this._ownerElement,this,S),S},removeNamedItemNS:function(C,S){var H=this.getNamedItemNS(C,S);return K(this._ownerElement,this,H),H},getNamedItemNS:function(C,S){for(var H=this.length;H--;){var ee=this[H];if(ee.localName==S&&ee.namespaceURI==C)return ee}return null}};function re(){}re.prototype={hasFeature:function(C,S){return!0},createDocument:function(C,S,H){var ee=new se;if(ee.implementation=this,ee.childNodes=new q,ee.doctype=H||null,H&&ee.appendChild(H),S){var fe=ee.createElementNS(C,S);ee.appendChild(fe)}return ee},createDocumentType:function(C,S,H){var ee=new de;return ee.name=C,ee.nodeName=C,ee.publicId=S||"",ee.systemId=H||"",ee}};function j(){}j.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(C,S){return z(this,C,S)},replaceChild:function(C,S){z(this,C,S,B),S&&this.removeChild(S)},removeChild:function(C){return ge(this,C)},appendChild:function(C){return this.insertBefore(C,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(C){return Ct(this.ownerDocument||this,this,C)},normalize:function(){for(var C=this.firstChild;C;){var S=C.nextSibling;S&&S.nodeType==d&&C.nodeType==d?(this.removeChild(S),C.appendData(S.data)):(C.normalize(),C=S)}},isSupported:function(C,S){return this.ownerDocument.implementation.hasFeature(C,S)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(C){for(var S=this;S;){var H=S._nsMap;if(H){for(var ee in H)if(Object.prototype.hasOwnProperty.call(H,ee)&&H[ee]===C)return ee}S=S.nodeType==g?S.ownerDocument:S.parentNode}return null},lookupNamespaceURI:function(C){for(var S=this;S;){var H=S._nsMap;if(H&&Object.prototype.hasOwnProperty.call(H,C))return H[C];S=S.nodeType==g?S.ownerDocument:S.parentNode}return null},isDefaultNamespace:function(C){var S=this.lookupPrefix(C);return S==null}};function I(C){return C=="<"&&"&lt;"||C==">"&&"&gt;"||C=="&"&&"&amp;"||C=='"'&&"&quot;"||"&#"+C.charCodeAt()+";"}c(l,j),c(l,j.prototype);function oe(C,S){if(S(C))return!0;if(C=C.firstChild)do if(oe(C,S))return!0;while(C=C.nextSibling)}function se(){this.ownerDocument=this}function ie(C,S,H){C&&C._inc++;var ee=H.namespaceURI;ee===n.XMLNS&&(S._nsMap[H.prefix?H.localName:""]=H.value)}function he(C,S,H,ee){C&&C._inc++;var fe=H.namespaceURI;fe===n.XMLNS&&delete S._nsMap[H.prefix?H.localName:""]}function _e(C,S,H){if(C&&C._inc){C._inc++;var ee=S.childNodes;if(H)ee[ee.length++]=H;else{for(var fe=S.firstChild,we=0;fe;)ee[we++]=fe,fe=fe.nextSibling;ee.length=we,delete ee[ee.length]}}}function ge(C,S){var H=S.previousSibling,ee=S.nextSibling;return H?H.nextSibling=ee:C.firstChild=ee,ee?ee.previousSibling=H:C.lastChild=H,S.parentNode=null,S.previousSibling=null,S.nextSibling=null,_e(C.ownerDocument,C),S}function ye(C){return C&&(C.nodeType===j.DOCUMENT_NODE||C.nodeType===j.DOCUMENT_FRAGMENT_NODE||C.nodeType===j.ELEMENT_NODE)}function xe(C){return C&&(ke(C)||Be(C)||ve(C)||C.nodeType===j.DOCUMENT_FRAGMENT_NODE||C.nodeType===j.COMMENT_NODE||C.nodeType===j.PROCESSING_INSTRUCTION_NODE)}function ve(C){return C&&C.nodeType===j.DOCUMENT_TYPE_NODE}function ke(C){return C&&C.nodeType===j.ELEMENT_NODE}function Be(C){return C&&C.nodeType===j.TEXT_NODE}function y(C,S){var H=C.childNodes||[];if(t(H,ke)||ve(S))return!1;var ee=t(H,ve);return!(S&&ee&&H.indexOf(ee)>H.indexOf(S))}function G(C,S){var H=C.childNodes||[];function ee(we){return ke(we)&&we!==S}if(t(H,ee))return!1;var fe=t(H,ve);return!(S&&fe&&H.indexOf(fe)>H.indexOf(S))}function $(C,S,H){if(!ye(C))throw new F(A,"Unexpected parent node type "+C.nodeType);if(H&&H.parentNode!==C)throw new F(W,"child not in parent");if(!xe(S)||ve(S)&&C.nodeType!==j.DOCUMENT_NODE)throw new F(A,"Unexpected node type "+S.nodeType+" for parent node type "+C.nodeType)}function R(C,S,H){var ee=C.childNodes||[],fe=S.childNodes||[];if(S.nodeType===j.DOCUMENT_FRAGMENT_NODE){var we=fe.filter(ke);if(we.length>1||t(fe,Be))throw new F(A,"More than one element or text in fragment");if(we.length===1&&!y(C,H))throw new F(A,"Element in fragment can not be inserted before doctype")}if(ke(S)&&!y(C,H))throw new F(A,"Only one element can be added and only after doctype");if(ve(S)){if(t(ee,ve))throw new F(A,"Only one doctype is allowed");var Re=t(ee,ke);if(H&&ee.indexOf(Re)<ee.indexOf(H))throw new F(A,"Doctype can only be inserted before an element");if(!H&&Re)throw new F(A,"Doctype can not be appended since element is present")}}function B(C,S,H){var ee=C.childNodes||[],fe=S.childNodes||[];if(S.nodeType===j.DOCUMENT_FRAGMENT_NODE){var we=fe.filter(ke);if(we.length>1||t(fe,Be))throw new F(A,"More than one element or text in fragment");if(we.length===1&&!G(C,H))throw new F(A,"Element in fragment can not be inserted before doctype")}if(ke(S)&&!G(C,H))throw new F(A,"Only one element can be added and only after doctype");if(ve(S)){if(t(ee,function(yt){return ve(yt)&&yt!==H}))throw new F(A,"Only one doctype is allowed");var Re=t(ee,ke);if(H&&ee.indexOf(Re)<ee.indexOf(H))throw new F(A,"Doctype can only be inserted before an element")}}function z(C,S,H,ee){$(C,S,H),C.nodeType===j.DOCUMENT_NODE&&(ee||R)(C,S,H);var fe=S.parentNode;if(fe&&fe.removeChild(S),S.nodeType===_){var we=S.firstChild;if(we==null)return S;var Re=S.lastChild}else we=Re=S;var Ge=H?H.previousSibling:C.lastChild;we.previousSibling=Ge,Re.nextSibling=H,Ge?Ge.nextSibling=we:C.firstChild=we,H==null?C.lastChild=Re:H.previousSibling=Re;do we.parentNode=C;while(we!==Re&&(we=we.nextSibling));return _e(C.ownerDocument||C,C),S.nodeType==_&&(S.firstChild=S.lastChild=null),S}function ae(C,S){return S.parentNode&&S.parentNode.removeChild(S),S.parentNode=C,S.previousSibling=C.lastChild,S.nextSibling=null,S.previousSibling?S.previousSibling.nextSibling=S:C.firstChild=S,C.lastChild=S,_e(C.ownerDocument,C,S),S}se.prototype={nodeName:"#document",nodeType:D,doctype:null,documentElement:null,_inc:1,insertBefore:function(C,S){if(C.nodeType==_){for(var H=C.firstChild;H;){var ee=H.nextSibling;this.insertBefore(H,S),H=ee}return C}return z(this,C,S),C.ownerDocument=this,this.documentElement===null&&C.nodeType===f&&(this.documentElement=C),C},removeChild:function(C){return this.documentElement==C&&(this.documentElement=null),ge(this,C)},replaceChild:function(C,S){z(this,C,S,B),C.ownerDocument=this,S&&this.removeChild(S),ke(C)&&(this.documentElement=C)},importNode:function(C,S){return ot(this,C,S)},getElementById:function(C){var S=null;return oe(this.documentElement,function(H){if(H.nodeType==f&&H.getAttribute("id")==C)return S=H,!0}),S},getElementsByClassName:function(C){var S=o(C);return new v(this,function(H){var ee=[];return S.length>0&&oe(H.documentElement,function(fe){if(fe!==H&&fe.nodeType===f){var we=fe.getAttribute("class");if(we){var Re=C===we;if(!Re){var Ge=o(we);Re=S.every(s(Ge))}Re&&ee.push(fe)}}}),ee})},createElement:function(C){var S=new te;S.ownerDocument=this,S.nodeName=C,S.tagName=C,S.localName=C,S.childNodes=new q;var H=S.attributes=new V;return H._ownerElement=S,S},createDocumentFragment:function(){var C=new Y;return C.ownerDocument=this,C.childNodes=new q,C},createTextNode:function(C){var S=new X;return S.ownerDocument=this,S.appendData(C),S},createComment:function(C){var S=new Q;return S.ownerDocument=this,S.appendData(C),S},createCDATASection:function(C){var S=new ne;return S.ownerDocument=this,S.appendData(C),S},createProcessingInstruction:function(C,S){var H=new ce;return H.ownerDocument=this,H.tagName=H.nodeName=H.target=C,H.nodeValue=H.data=S,H},createAttribute:function(C){var S=new Z;return S.ownerDocument=this,S.name=C,S.nodeName=C,S.localName=C,S.specified=!0,S},createEntityReference:function(C){var S=new De;return S.ownerDocument=this,S.nodeName=C,S},createElementNS:function(C,S){var H=new te,ee=S.split(":"),fe=H.attributes=new V;return H.childNodes=new q,H.ownerDocument=this,H.nodeName=S,H.tagName=S,H.namespaceURI=C,ee.length==2?(H.prefix=ee[0],H.localName=ee[1]):H.localName=S,fe._ownerElement=H,H},createAttributeNS:function(C,S){var H=new Z,ee=S.split(":");return H.ownerDocument=this,H.nodeName=S,H.name=S,H.namespaceURI=C,H.specified=!0,ee.length==2?(H.prefix=ee[0],H.localName=ee[1]):H.localName=S,H}},u(se,j);function te(){this._nsMap={}}te.prototype={nodeType:f,hasAttribute:function(C){return this.getAttributeNode(C)!=null},getAttribute:function(C){var S=this.getAttributeNode(C);return S&&S.value||""},getAttributeNode:function(C){return this.attributes.getNamedItem(C)},setAttribute:function(C,S){var H=this.ownerDocument.createAttribute(C);H.value=H.nodeValue=""+S,this.setAttributeNode(H)},removeAttribute:function(C){var S=this.getAttributeNode(C);S&&this.removeAttributeNode(S)},appendChild:function(C){return C.nodeType===_?this.insertBefore(C,null):ae(this,C)},setAttributeNode:function(C){return this.attributes.setNamedItem(C)},setAttributeNodeNS:function(C){return this.attributes.setNamedItemNS(C)},removeAttributeNode:function(C){return this.attributes.removeNamedItem(C.nodeName)},removeAttributeNS:function(C,S){var H=this.getAttributeNodeNS(C,S);H&&this.removeAttributeNode(H)},hasAttributeNS:function(C,S){return this.getAttributeNodeNS(C,S)!=null},getAttributeNS:function(C,S){var H=this.getAttributeNodeNS(C,S);return H&&H.value||""},setAttributeNS:function(C,S,H){var ee=this.ownerDocument.createAttributeNS(C,S);ee.value=ee.nodeValue=""+H,this.setAttributeNode(ee)},getAttributeNodeNS:function(C,S){return this.attributes.getNamedItemNS(C,S)},getElementsByTagName:function(C){return new v(this,function(S){var H=[];return oe(S,function(ee){ee!==S&&ee.nodeType==f&&(C==="*"||ee.tagName==C)&&H.push(ee)}),H})},getElementsByTagNameNS:function(C,S){return new v(this,function(H){var ee=[];return oe(H,function(fe){fe!==H&&fe.nodeType===f&&(C==="*"||fe.namespaceURI===C)&&(S==="*"||fe.localName==S)&&ee.push(fe)}),ee})}},se.prototype.getElementsByTagName=te.prototype.getElementsByTagName,se.prototype.getElementsByTagNameNS=te.prototype.getElementsByTagNameNS,u(te,j);function Z(){}Z.prototype.nodeType=g,u(Z,j);function M(){}M.prototype={data:"",substringData:function(C,S){return this.data.substring(C,C+S)},appendData:function(C){C=this.data+C,this.nodeValue=this.data=C,this.length=C.length},insertData:function(C,S){this.replaceData(C,0,S)},appendChild:function(C){throw new Error(L[A])},deleteData:function(C,S){this.replaceData(C,S,"")},replaceData:function(C,S,H){var ee=this.data.substring(0,C),fe=this.data.substring(C+S);H=ee+H+fe,this.nodeValue=this.data=H,this.length=H.length}},u(M,j);function X(){}X.prototype={nodeName:"#text",nodeType:d,splitText:function(C){var S=this.data,H=S.substring(C);S=S.substring(0,C),this.data=this.nodeValue=S,this.length=S.length;var ee=this.ownerDocument.createTextNode(H);return this.parentNode&&this.parentNode.insertBefore(ee,this.nextSibling),ee}},u(X,M);function Q(){}Q.prototype={nodeName:"#comment",nodeType:p},u(Q,M);function ne(){}ne.prototype={nodeName:"#cdata-section",nodeType:x},u(ne,M);function de(){}de.prototype.nodeType=w,u(de,j);function me(){}me.prototype.nodeType=U,u(me,j);function Te(){}Te.prototype.nodeType=h,u(Te,j);function De(){}De.prototype.nodeType=m,u(De,j);function Y(){}Y.prototype.nodeName="#document-fragment",Y.prototype.nodeType=_,u(Y,j);function ce(){}ce.prototype.nodeType=b,u(ce,j);function ue(){}ue.prototype.serializeToString=function(C,S,H){return be.call(C,S,H)},j.prototype.toString=be;function be(C,S){var H=[],ee=this.nodeType==9&&this.documentElement||this,fe=ee.prefix,we=ee.namespaceURI;if(we&&fe==null){var fe=ee.lookupPrefix(we);if(fe==null)var Re=[{namespace:we,prefix:null}]}return Le(this,H,C,S,Re),H.join("")}function Ae(C,S,H){var ee=C.prefix||"",fe=C.namespaceURI;if(!fe||ee==="xml"&&fe===n.XML||fe===n.XMLNS)return!1;for(var we=H.length;we--;){var Re=H[we];if(Re.prefix===ee)return Re.namespace!==fe}return!0}function Ue(C,S,H){C.push(" ",S,'="',H.replace(/[<>&"\t\n\r]/g,I),'"')}function Le(C,S,H,ee,fe){if(fe||(fe=[]),ee)if(C=ee(C),C){if(typeof C=="string"){S.push(C);return}}else return;switch(C.nodeType){case f:var we=C.attributes,Re=we.length,Xe=C.firstChild,Ge=C.tagName;H=n.isHTML(C.namespaceURI)||H;var yt=Ge;if(!H&&!C.prefix&&C.namespaceURI){for(var kt,xt=0;xt<we.length;xt++)if(we.item(xt).name==="xmlns"){kt=we.item(xt).value;break}if(!kt)for(var Ht=fe.length-1;Ht>=0;Ht--){var zt=fe[Ht];if(zt.prefix===""&&zt.namespace===C.namespaceURI){kt=zt.namespace;break}}if(kt!==C.namespaceURI)for(var Ht=fe.length-1;Ht>=0;Ht--){var zt=fe[Ht];if(zt.namespace===C.namespaceURI){zt.prefix&&(yt=zt.prefix+":"+Ge);break}}}S.push("<",yt);for(var Xt=0;Xt<Re;Xt++){var dt=we.item(Xt);dt.prefix=="xmlns"?fe.push({prefix:dt.localName,namespace:dt.value}):dt.nodeName=="xmlns"&&fe.push({prefix:"",namespace:dt.value})}for(var Xt=0;Xt<Re;Xt++){var dt=we.item(Xt);if(Ae(dt,H,fe)){var Vt=dt.prefix||"",wn=dt.namespaceURI;Ue(S,Vt?"xmlns:"+Vt:"xmlns",wn),fe.push({prefix:Vt,namespace:wn})}Le(dt,S,H,ee,fe)}if(Ge===yt&&Ae(C,H,fe)){var Vt=C.prefix||"",wn=C.namespaceURI;Ue(S,Vt?"xmlns:"+Vt:"xmlns",wn),fe.push({prefix:Vt,namespace:wn})}if(Xe||H&&!/^(?:meta|link|img|br|hr|input)$/i.test(Ge)){if(S.push(">"),H&&/^script$/i.test(Ge))for(;Xe;)Xe.data?S.push(Xe.data):Le(Xe,S,H,ee,fe.slice()),Xe=Xe.nextSibling;else for(;Xe;)Le(Xe,S,H,ee,fe.slice()),Xe=Xe.nextSibling;S.push("</",yt,">")}else S.push("/>");return;case D:case _:for(var Xe=C.firstChild;Xe;)Le(Xe,S,H,ee,fe.slice()),Xe=Xe.nextSibling;return;case g:return Ue(S,C.name,C.value);case d:return S.push(C.data.replace(/[<&>]/g,I));case x:return S.push("<![CDATA[",C.data,"]]>");case p:return S.push("<!--",C.data,"-->");case w:var ss=C.publicId,ln=C.systemId;if(S.push("<!DOCTYPE ",C.name),ss)S.push(" PUBLIC ",ss),ln&&ln!="."&&S.push(" ",ln),S.push(">");else if(ln&&ln!=".")S.push(" SYSTEM ",ln,">");else{var cs=C.internalSubset;cs&&S.push(" [",cs,"]"),S.push(">")}return;case b:return S.push("<?",C.target," ",C.data,"?>");case m:return S.push("&",C.nodeName,";");default:S.push("??",C.nodeName)}}function ot(C,S,H){var ee;switch(S.nodeType){case f:ee=S.cloneNode(!1),ee.ownerDocument=C;case _:break;case g:H=!0;break}if(ee||(ee=S.cloneNode(!1)),ee.ownerDocument=C,ee.parentNode=null,H)for(var fe=S.firstChild;fe;)ee.appendChild(ot(C,fe,H)),fe=fe.nextSibling;return ee}function Ct(C,S,H){var ee=new S.constructor;for(var fe in S)if(Object.prototype.hasOwnProperty.call(S,fe)){var we=S[fe];typeof we!="object"&&we!=ee[fe]&&(ee[fe]=we)}switch(S.childNodes&&(ee.childNodes=new q),ee.ownerDocument=C,ee.nodeType){case f:var Re=S.attributes,Ge=ee.attributes=new V,yt=Re.length;Ge._ownerElement=ee;for(var kt=0;kt<yt;kt++)ee.setAttributeNode(Ct(C,Re.item(kt),!0));break;case g:H=!0}if(H)for(var xt=S.firstChild;xt;)ee.appendChild(Ct(C,xt,H)),xt=xt.nextSibling;return ee}function ii(C,S,H){C[S]=H}try{if(Object.defineProperty){let C=function(S){switch(S.nodeType){case f:case _:var H=[];for(S=S.firstChild;S;)S.nodeType!==7&&S.nodeType!==8&&H.push(C(S)),S=S.nextSibling;return H.join("");default:return S.nodeValue}};Object.defineProperty(v.prototype,"length",{get:function(){return k(this),this.$$length}}),Object.defineProperty(j.prototype,"textContent",{get:function(){return C(this)},set:function(S){switch(this.nodeType){case f:case _:for(;this.firstChild;)this.removeChild(this.firstChild);(S||String(S))&&this.appendChild(this.ownerDocument.createTextNode(S));break;default:this.data=S,this.value=S,this.nodeValue=S}}}),ii=function(S,H,ee){S["$$"+H]=ee}}}catch{}return _t.DocumentType=de,_t.DOMException=F,_t.DOMImplementation=re,_t.Element=te,_t.Node=j,_t.NodeList=q,_t.XMLSerializer=ue,_t}var Sn={},xa={},ic;function Kp(){return ic||(ic=1,function(e){var t=Lr().freeze;e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
87
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),e.entityMap=e.HTML_ENTITIES}(xa)),xa}var gi={},rc;function Gp(){if(rc)return gi;rc=1;var e=Lr().NAMESPACE,t=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,n=new RegExp("[\\-\\.0-9"+t.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),i=new RegExp("^"+t.source+n.source+"*(?::"+t.source+n.source+"*)?$"),r=0,a=1,o=2,s=3,c=4,u=5,l=6,f=7;function g(A,W){this.message=A,this.locator=W,Error.captureStackTrace&&Error.captureStackTrace(this,g)}g.prototype=new Error,g.prototype.name=g.name;function d(){}d.prototype={parse:function(A,W,N){var F=this.domBuilder;F.startDocument(),w(W,W={}),x(A,W,N,F,this.errorHandler),F.endDocument()}};function x(A,W,N,F,q){function v(te){if(te>65535){te-=65536;var Z=55296+(te>>10),M=56320+(te&1023);return String.fromCharCode(Z,M)}else return String.fromCharCode(te)}function k(te){var Z=te.slice(1,-1);return Object.hasOwnProperty.call(N,Z)?N[Z]:Z.charAt(0)==="#"?v(parseInt(Z.substr(1).replace("x","0x"))):(q.error("entity not found:"+te),te)}function V(te){if(te>se){var Z=A.substring(se,te).replace(/&#?\w+;/g,k);j&&P(se),F.characters(Z,0,te-se),se=te}}function P(te,Z){for(;te>=K&&(Z=re.exec(A));)J=Z.index,K=J+Z[0].length,j.lineNumber++;j.columnNumber=te-J+1}for(var J=0,K=0,re=/.*(?:\r\n?|\n)|.*$/g,j=F.locator,I=[{currentNSMap:W}],oe={},se=0;;){try{var ie=A.indexOf("<",se);if(ie<0){if(!A.substr(se).match(/^\s*$/)){var he=F.doc,_e=he.createTextNode(A.substr(se));he.appendChild(_e),F.currentElement=_e}return}switch(ie>se&&V(ie),A.charAt(ie+1)){case"/":var $=A.indexOf(">",ie+3),ge=A.substring(ie+2,$).replace(/[ \t\n\r]+$/g,""),ye=I.pop();$<0?(ge=A.substring(ie+2).replace(/[\s<].*/,""),q.error("end tag name: "+ge+" is not complete:"+ye.tagName),$=ie+1+ge.length):ge.match(/\s</)&&(ge=ge.replace(/[\s<].*/,""),q.error("end tag name: "+ge+" maybe not complete"),$=ie+1+ge.length);var xe=ye.localNSMap,ve=ye.tagName==ge,ke=ve||ye.tagName&&ye.tagName.toLowerCase()==ge.toLowerCase();if(ke){if(F.endElement(ye.uri,ye.localName,ge),xe)for(var Be in xe)Object.prototype.hasOwnProperty.call(xe,Be)&&F.endPrefixMapping(Be);ve||q.fatalError("end tag name: "+ge+" is not match the current start tagName:"+ye.tagName)}else I.push(ye);$++;break;case"?":j&&P(ie),$=U(A,ie,F);break;case"!":j&&P(ie),$=_(A,ie,F,q);break;default:j&&P(ie);var y=new E,G=I[I.length-1].currentNSMap,$=h(A,ie,y,G,k,q),R=y.length;if(!y.closed&&D(A,$,y.tagName,oe)&&(y.closed=!0,N.nbsp||q.warning("unclosed xml attribute")),j&&R){for(var B=m(j,{}),z=0;z<R;z++){var ae=y[z];P(ae.offset),ae.locator=m(j,{})}F.locator=B,b(y,F,G)&&I.push(y),F.locator=j}else b(y,F,G)&&I.push(y);e.isHTML(y.uri)&&!y.closed?$=p(A,$,y.tagName,k,F):$++}}catch(te){if(te instanceof g)throw te;q.error("element parse error: "+te),$=-1}$>se?se=$:V(Math.max(ie,se)+1)}}function m(A,W){return W.lineNumber=A.lineNumber,W.columnNumber=A.columnNumber,W}function h(A,W,N,F,q,v){function k(j,I,oe){N.attributeNames.hasOwnProperty(j)&&v.fatalError("Attribute "+j+" redefined"),N.addValue(j,I.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,q),oe)}for(var V,P,J=++W,K=r;;){var re=A.charAt(J);switch(re){case"=":if(K===a)V=A.slice(W,J),K=s;else if(K===o)K=s;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(K===s||K===a)if(K===a&&(v.warning('attribute value must after "="'),V=A.slice(W,J)),W=J+1,J=A.indexOf(re,W),J>0)P=A.slice(W,J),k(V,P,W-1),K=u;else throw new Error("attribute value no end '"+re+"' match");else if(K==c)P=A.slice(W,J),k(V,P,W),v.warning('attribute "'+V+'" missed start quot('+re+")!!"),W=J+1,K=u;else throw new Error('attribute value must after "="');break;case"/":switch(K){case r:N.setTagName(A.slice(W,J));case u:case l:case f:K=f,N.closed=!0;case c:case a:break;case o:N.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return v.error("unexpected end of input"),K==r&&N.setTagName(A.slice(W,J)),J;case">":switch(K){case r:N.setTagName(A.slice(W,J));case u:case l:case f:break;case c:case a:P=A.slice(W,J),P.slice(-1)==="/"&&(N.closed=!0,P=P.slice(0,-1));case o:K===o&&(P=V),K==c?(v.warning('attribute "'+P+'" missed quot(")!'),k(V,P,W)):((!e.isHTML(F[""])||!P.match(/^(?:disabled|checked|selected)$/i))&&v.warning('attribute "'+P+'" missed value!! "'+P+'" instead!!'),k(P,P,W));break;case s:throw new Error("attribute value missed!!")}return J;case"€":re=" ";default:if(re<=" ")switch(K){case r:N.setTagName(A.slice(W,J)),K=l;break;case a:V=A.slice(W,J),K=o;break;case c:var P=A.slice(W,J);v.warning('attribute "'+P+'" missed quot(")!!'),k(V,P,W);case u:K=l;break}else switch(K){case o:(!e.isHTML(F[""])||!V.match(/^(?:disabled|checked|selected)$/i))&&v.warning('attribute "'+V+'" missed value!! "'+V+'" instead2!!'),k(V,V,W),W=J,K=a;break;case u:v.warning('attribute space is required"'+V+'"!!');case l:K=a,W=J;break;case s:K=c,W=J;break;case f:throw new Error("elements closed character '/' and '>' must be connected to")}}J++}}function b(A,W,N){for(var F=A.tagName,q=null,re=A.length;re--;){var v=A[re],k=v.qName,V=v.value,j=k.indexOf(":");if(j>0)var P=v.prefix=k.slice(0,j),J=k.slice(j+1),K=P==="xmlns"&&J;else J=k,P=null,K=k==="xmlns"&&"";v.localName=J,K!==!1&&(q==null&&(q={},w(N,N={})),N[K]=q[K]=V,v.uri=e.XMLNS,W.startPrefixMapping(K,V))}for(var re=A.length;re--;){v=A[re];var P=v.prefix;P&&(P==="xml"&&(v.uri=e.XML),P!=="xmlns"&&(v.uri=N[P||""]))}var j=F.indexOf(":");j>0?(P=A.prefix=F.slice(0,j),J=A.localName=F.slice(j+1)):(P=null,J=A.localName=F);var I=A.uri=N[P||""];if(W.startElement(I,J,F,A),A.closed){if(W.endElement(I,J,F),q)for(P in q)Object.prototype.hasOwnProperty.call(q,P)&&W.endPrefixMapping(P)}else return A.currentNSMap=N,A.localNSMap=q,!0}function p(A,W,N,F,q){if(/^(?:script|textarea)$/i.test(N)){var v=A.indexOf("</"+N+">",W),k=A.substring(W+1,v);if(/[&<]/.test(k))return/^script$/i.test(N)?(q.characters(k,0,k.length),v):(k=k.replace(/&#?\w+;/g,F),q.characters(k,0,k.length),v)}return W+1}function D(A,W,N,F){var q=F[N];return q==null&&(q=A.lastIndexOf("</"+N+">"),q<W&&(q=A.lastIndexOf("</"+N)),F[N]=q),q<W}function w(A,W){for(var N in A)Object.prototype.hasOwnProperty.call(A,N)&&(W[N]=A[N])}function _(A,W,N,F){var q=A.charAt(W+2);switch(q){case"-":if(A.charAt(W+3)==="-"){var v=A.indexOf("-->",W+4);return v>W?(N.comment(A,W+4,v-W-4),v+3):(F.error("Unclosed comment"),-1)}else return-1;default:if(A.substr(W+3,6)=="CDATA["){var v=A.indexOf("]]>",W+9);return N.startCDATA(),N.characters(A,W+9,v-W-9),N.endCDATA(),v+3}var k=L(A,W),V=k.length;if(V>1&&/!doctype/i.test(k[0][0])){var P=k[1][0],J=!1,K=!1;V>3&&(/^public$/i.test(k[2][0])?(J=k[3][0],K=V>4&&k[4][0]):/^system$/i.test(k[2][0])&&(K=k[3][0]));var re=k[V-1];return N.startDTD(P,J,K),N.endDTD(),re.index+re[0].length}}return-1}function U(A,W,N){var F=A.indexOf("?>",W);if(F){var q=A.substring(W,F).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return q?(N.processingInstruction(q[1],q[2]),F+2):-1}return-1}function E(){this.attributeNames={}}E.prototype={setTagName:function(A){if(!i.test(A))throw new Error("invalid tagName:"+A);this.tagName=A},addValue:function(A,W,N){if(!i.test(A))throw new Error("invalid attribute:"+A);this.attributeNames[A]=this.length,this[this.length++]={qName:A,value:W,offset:N}},length:0,getLocalName:function(A){return this[A].localName},getLocator:function(A){return this[A].locator},getQName:function(A){return this[A].qName},getURI:function(A){return this[A].uri},getValue:function(A){return this[A].value}};function L(A,W){var N,F=[],q=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(q.lastIndex=W,q.exec(A);N=q.exec(A);)if(F.push(N),N[1])return F}return gi.XMLReader=d,gi.ParseError=g,gi}var ac;function Zp(){if(ac)return Sn;ac=1;var e=Lr(),t=ns(),n=Kp(),i=Gp(),r=t.DOMImplementation,a=e.NAMESPACE,o=i.ParseError,s=i.XMLReader;function c(h){return h.replace(/\r[\n\u0085]/g,`
88
+ `).replace(/[\r\u0085\u2028]/g,`
89
+ `)}function u(h){this.options=h||{locator:{}}}u.prototype.parseFromString=function(h,b){var p=this.options,D=new s,w=p.domBuilder||new f,_=p.errorHandler,U=p.locator,E=p.xmlns||{},L=/\/x?html?$/.test(b),A=L?n.HTML_ENTITIES:n.XML_ENTITIES;U&&w.setDocumentLocator(U),D.errorHandler=l(_,w,U),D.domBuilder=p.domBuilder||w,L&&(E[""]=a.HTML),E.xml=E.xml||a.XML;var W=p.normalizeLineEndings||c;return h&&typeof h=="string"?D.parse(W(h),E,A):D.errorHandler.error("invalid doc source"),w.doc};function l(h,b,p){if(!h){if(b instanceof f)return b;h=b}var D={},w=h instanceof Function;p=p||{};function _(U){var E=h[U];!E&&w&&(E=h.length==2?function(L){h(U,L)}:h),D[U]=E&&function(L){E("[xmldom "+U+"] "+L+d(p))}||function(){}}return _("warning"),_("error"),_("fatalError"),D}function f(){this.cdata=!1}function g(h,b){b.lineNumber=h.lineNumber,b.columnNumber=h.columnNumber}f.prototype={startDocument:function(){this.doc=new r().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(h,b,p,D){var w=this.doc,_=w.createElementNS(h,p||b),U=D.length;m(this,_),this.currentElement=_,this.locator&&g(this.locator,_);for(var E=0;E<U;E++){var h=D.getURI(E),L=D.getValue(E),p=D.getQName(E),A=w.createAttributeNS(h,p);this.locator&&g(D.getLocator(E),A),A.value=A.nodeValue=L,_.setAttributeNode(A)}},endElement:function(h,b,p){var D=this.currentElement;this.currentElement=D.parentNode},startPrefixMapping:function(h,b){},endPrefixMapping:function(h){},processingInstruction:function(h,b){var p=this.doc.createProcessingInstruction(h,b);this.locator&&g(this.locator,p),m(this,p)},ignorableWhitespace:function(h,b,p){},characters:function(h,b,p){if(h=x.apply(this,arguments),h){if(this.cdata)var D=this.doc.createCDATASection(h);else var D=this.doc.createTextNode(h);this.currentElement?this.currentElement.appendChild(D):/^\s*$/.test(h)&&this.doc.appendChild(D),this.locator&&g(this.locator,D)}},skippedEntity:function(h){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(h){(this.locator=h)&&(h.lineNumber=0)},comment:function(h,b,p){h=x.apply(this,arguments);var D=this.doc.createComment(h);this.locator&&g(this.locator,D),m(this,D)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(h,b,p){var D=this.doc.implementation;if(D&&D.createDocumentType){var w=D.createDocumentType(h,b,p);this.locator&&g(this.locator,w),m(this,w),this.doc.doctype=w}},warning:function(h){console.warn("[xmldom warning] "+h,d(this.locator))},error:function(h){console.error("[xmldom error] "+h,d(this.locator))},fatalError:function(h){throw new o(h,this.locator)}};function d(h){if(h)return`
90
+ @`+(h.systemId||"")+"#[line:"+h.lineNumber+",col:"+h.columnNumber+"]"}function x(h,b,p){return typeof h=="string"?h.substr(b,p):h.length>=b+p||b?new java.lang.String(h,b,p)+"":h}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(h){f.prototype[h]=function(){return null}});function m(h,b){h.currentElement?h.currentElement.appendChild(b):h.doc.appendChild(b)}return Sn.__DOMHandler=f,Sn.normalizeLineEndings=c,Sn.DOMParser=u,Sn}var oc;function Yp(){if(oc)return Fn;oc=1;var e=ns();return Fn.DOMImplementation=e.DOMImplementation,Fn.XMLSerializer=e.XMLSerializer,Fn.DOMParser=Zp().DOMParser,Fn}var sc;function Qp(){if(sc)return fi;sc=1;var e=Yp(),t=ns();function n(i){var r=null,a=new e.DOMParser({errorHandler:function(s,c){r={level:s,message:c}}}),o=a.parseFromString(i);if(r===null)return o;throw new Error(r.level+": "+r.message)}return fi.parseFromString=n,fi.Node=t.Node,fi}var cc;function Jp(){if(cc)return ya;cc=1;var e=jt(),t=Pe,n=Qp(),i=wd(),r=i.Element;ya.readString=o;var a=n.Node;function o(s,c){c=c||{};try{var u=n.parseFromString(s,"text/xml")}catch(d){return e.reject(d)}if(u.documentElement.tagName==="parsererror")return e.resolve(new Error(u.documentElement.textContent));function l(d){switch(d.nodeType){case a.ELEMENT_NODE:return f(d);case a.TEXT_NODE:return i.text(d.nodeValue)}}function f(d){var x=g(d),m=[];t.forEach(d.childNodes,function(b){var p=l(b);p&&m.push(p)});var h={};return t.forEach(d.attributes,function(b){h[g(b)]=b.value}),new r(x,h,m)}function g(d){if(d.namespaceURI){var x=c[d.namespaceURI],m;return x?m=x+":":m="{"+d.namespaceURI+"}",m+d.localName}else return d.localName}return e.resolve(l(u.documentElement))}return ya}var Da={},Zt={},ht={},uc;function qt(){return uc||(uc=1,(function(){var e,t,n,i,r,a,o,s=[].slice,c={}.hasOwnProperty;e=function(){var u,l,f,g,d,x;if(x=arguments[0],d=2<=arguments.length?s.call(arguments,1):[],r(Object.assign))Object.assign.apply(null,arguments);else for(u=0,f=d.length;u<f;u++)if(g=d[u],g!=null)for(l in g)c.call(g,l)&&(x[l]=g[l]);return x},r=function(u){return!!u&&Object.prototype.toString.call(u)==="[object Function]"},a=function(u){var l;return!!u&&((l=typeof u)=="function"||l==="object")},n=function(u){return r(Array.isArray)?Array.isArray(u):Object.prototype.toString.call(u)==="[object Array]"},i=function(u){var l;if(n(u))return!u.length;for(l in u)if(c.call(u,l))return!1;return!0},o=function(u){var l,f;return a(u)&&(f=Object.getPrototypeOf(u))&&(l=f.constructor)&&typeof l=="function"&&l instanceof l&&Function.prototype.toString.call(l)===Function.prototype.toString.call(Object)},t=function(u){return r(u.valueOf)?u.valueOf():u},ht.assign=e,ht.isFunction=r,ht.isObject=a,ht.isArray=n,ht.isEmpty=i,ht.isPlainObject=o,ht.getValue=t}).call(ht)),ht}var Ui={exports:{}},Ei={exports:{}},Ai={exports:{}},Ci={exports:{}},em=Ci.exports,lc;function Td(){return lc||(lc=1,(function(){Ci.exports=function(){function e(t,n,i){if(this.options=t.options,this.stringify=t.stringify,this.parent=t,n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));if(i==null)throw new Error("Missing attribute value. "+this.debugInfo(n));this.name=this.stringify.attName(n),this.value=this.stringify.attValue(i)}return e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(t){return this.options.writer.set(t).attribute(this)},e.prototype.debugInfo=function(t){return t=t||this.name,t==null?"parent: <"+this.parent.name+">":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},e}()}).call(em)),Ci.exports}var tm=Ai.exports,dc;function Rr(){return dc||(dc=1,(function(){var e,t,n,i,r,a,o=function(c,u){for(var l in u)s.call(u,l)&&(c[l]=u[l]);function f(){this.constructor=c}return f.prototype=u.prototype,c.prototype=new f,c.__super__=u.prototype,c},s={}.hasOwnProperty;a=qt(),r=a.isObject,i=a.isFunction,n=a.getValue,t=Je(),e=Td(),Ai.exports=function(c){o(u,c);function u(l,f,g){if(u.__super__.constructor.call(this,l),f==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(f),this.attributes={},g!=null&&this.attribute(g),l.isDocument&&(this.isRoot=!0,this.documentObject=l,l.rootObject=this)}return u.prototype.clone=function(){var l,f,g,d;g=Object.create(this),g.isRoot&&(g.documentObject=null),g.attributes={},d=this.attributes;for(f in d)s.call(d,f)&&(l=d[f],g.attributes[f]=l.clone());return g.children=[],this.children.forEach(function(x){var m;return m=x.clone(),m.parent=g,g.children.push(m)}),g},u.prototype.attribute=function(l,f){var g,d;if(l!=null&&(l=n(l)),r(l))for(g in l)s.call(l,g)&&(d=l[g],this.attribute(g,d));else i(f)&&(f=f.apply()),(!this.options.skipNullAttributes||f!=null)&&(this.attributes[l]=new e(this,l,f));return this},u.prototype.removeAttribute=function(l){var f,g,d;if(l==null)throw new Error("Missing attribute name. "+this.debugInfo());if(l=n(l),Array.isArray(l))for(g=0,d=l.length;g<d;g++)f=l[g],delete this.attributes[f];else delete this.attributes[l];return this},u.prototype.toString=function(l){return this.options.writer.set(l).element(this)},u.prototype.att=function(l,f){return this.attribute(l,f)},u.prototype.a=function(l,f){return this.attribute(l,f)},u}(t)}).call(tm)),Ai.exports}var ki={exports:{}},nm=ki.exports,hc;function Ir(){return hc||(hc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),ki.exports=function(i){t(r,i);function r(a,o){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(o)}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(a){return this.options.writer.set(a).cdata(this)},r}(e)}).call(nm)),ki.exports}var Fi={exports:{}},im=Fi.exports,fc;function Wr(){return fc||(fc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Fi.exports=function(i){t(r,i);function r(a,o){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(o)}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(a){return this.options.writer.set(a).comment(this)},r}(e)}).call(im)),Fi.exports}var Si={exports:{}},rm=Si.exports,gc;function Or(){return gc||(gc=1,(function(){var e,t,n=function(r,a){for(var o in a)i.call(a,o)&&(r[o]=a[o]);function s(){this.constructor=r}return s.prototype=a.prototype,r.prototype=new s,r.__super__=a.prototype,r},i={}.hasOwnProperty;t=qt().isObject,e=Je(),Si.exports=function(r){n(a,r);function a(o,s,c,u){var l;a.__super__.constructor.call(this,o),t(s)&&(l=s,s=l.version,c=l.encoding,u=l.standalone),s||(s="1.0"),this.version=this.stringify.xmlVersion(s),c!=null&&(this.encoding=this.stringify.xmlEncoding(c)),u!=null&&(this.standalone=this.stringify.xmlStandalone(u))}return a.prototype.toString=function(o){return this.options.writer.set(o).declaration(this)},a}(e)}).call(rm)),Si.exports}var Bi={exports:{}},Ni={exports:{}},am=Ni.exports,pc;function Mr(){return pc||(pc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Ni.exports=function(i){t(r,i);function r(a,o,s,c,u,l){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(s==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(o));if(!c)throw new Error("Missing DTD attribute type. "+this.debugInfo(o));if(!u)throw new Error("Missing DTD attribute default. "+this.debugInfo(o));if(u.indexOf("#")!==0&&(u="#"+u),!u.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(o));if(l&&!u.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(o));this.elementName=this.stringify.eleName(o),this.attributeName=this.stringify.attName(s),this.attributeType=this.stringify.dtdAttType(c),this.defaultValue=this.stringify.dtdAttDefault(l),this.defaultValueType=u}return r.prototype.toString=function(a){return this.options.writer.set(a).dtdAttList(this)},r}(e)}).call(am)),Ni.exports}var Li={exports:{}},om=Li.exports,mc;function Pr(){return mc||(mc=1,(function(){var e,t,n=function(r,a){for(var o in a)i.call(a,o)&&(r[o]=a[o]);function s(){this.constructor=r}return s.prototype=a.prototype,r.prototype=new s,r.__super__=a.prototype,r},i={}.hasOwnProperty;t=qt().isObject,e=Je(),Li.exports=function(r){n(a,r);function a(o,s,c,u){if(a.__super__.constructor.call(this,o),c==null)throw new Error("Missing DTD entity name. "+this.debugInfo(c));if(u==null)throw new Error("Missing DTD entity value. "+this.debugInfo(c));if(this.pe=!!s,this.name=this.stringify.eleName(c),!t(u))this.value=this.stringify.dtdEntityValue(u);else{if(!u.pubID&&!u.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(c));if(u.pubID&&!u.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(c));if(u.pubID!=null&&(this.pubID=this.stringify.dtdPubID(u.pubID)),u.sysID!=null&&(this.sysID=this.stringify.dtdSysID(u.sysID)),u.nData!=null&&(this.nData=this.stringify.dtdNData(u.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(c))}}return a.prototype.toString=function(o){return this.options.writer.set(o).dtdEntity(this)},a}(e)}).call(om)),Li.exports}var Ri={exports:{}},sm=Ri.exports,bc;function jr(){return bc||(bc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Ri.exports=function(i){t(r,i);function r(a,o,s){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing DTD element name. "+this.debugInfo());s||(s="(#PCDATA)"),Array.isArray(s)&&(s="("+s.join(",")+")"),this.name=this.stringify.eleName(o),this.value=this.stringify.dtdElementValue(s)}return r.prototype.toString=function(a){return this.options.writer.set(a).dtdElement(this)},r}(e)}).call(sm)),Ri.exports}var Ii={exports:{}},cm=Ii.exports,yc;function qr(){return yc||(yc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Ii.exports=function(i){t(r,i);function r(a,o,s){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing DTD notation name. "+this.debugInfo(o));if(!s.pubID&&!s.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(o));this.name=this.stringify.eleName(o),s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID))}return r.prototype.toString=function(a){return this.options.writer.set(a).dtdNotation(this)},r}(e)}).call(cm)),Ii.exports}var um=Bi.exports,xc;function Hr(){return xc||(xc=1,(function(){var e,t,n,i,r,a,o=function(c,u){for(var l in u)s.call(u,l)&&(c[l]=u[l]);function f(){this.constructor=c}return f.prototype=u.prototype,c.prototype=new f,c.__super__=u.prototype,c},s={}.hasOwnProperty;a=qt().isObject,r=Je(),e=Mr(),n=Pr(),t=jr(),i=qr(),Bi.exports=function(c){o(u,c);function u(l,f,g){var d,x;u.__super__.constructor.call(this,l),this.name="!DOCTYPE",this.documentObject=l,a(f)&&(d=f,f=d.pubID,g=d.sysID),g==null&&(x=[f,g],g=x[0],f=x[1]),f!=null&&(this.pubID=this.stringify.dtdPubID(f)),g!=null&&(this.sysID=this.stringify.dtdSysID(g))}return u.prototype.element=function(l,f){var g;return g=new t(this,l,f),this.children.push(g),this},u.prototype.attList=function(l,f,g,d,x){var m;return m=new e(this,l,f,g,d,x),this.children.push(m),this},u.prototype.entity=function(l,f){var g;return g=new n(this,!1,l,f),this.children.push(g),this},u.prototype.pEntity=function(l,f){var g;return g=new n(this,!0,l,f),this.children.push(g),this},u.prototype.notation=function(l,f){var g;return g=new i(this,l,f),this.children.push(g),this},u.prototype.toString=function(l){return this.options.writer.set(l).docType(this)},u.prototype.ele=function(l,f){return this.element(l,f)},u.prototype.att=function(l,f,g,d,x){return this.attList(l,f,g,d,x)},u.prototype.ent=function(l,f){return this.entity(l,f)},u.prototype.pent=function(l,f){return this.pEntity(l,f)},u.prototype.not=function(l,f){return this.notation(l,f)},u.prototype.up=function(){return this.root()||this.documentObject},u}(r)}).call(um)),Bi.exports}var Wi={exports:{}},lm=Wi.exports,Dc;function zr(){return Dc||(Dc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Wi.exports=function(i){t(r,i);function r(a,o){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(o)}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(a){return this.options.writer.set(a).raw(this)},r}(e)}).call(lm)),Wi.exports}var Oi={exports:{}},dm=Oi.exports,vc;function Xr(){return vc||(vc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Oi.exports=function(i){t(r,i);function r(a,o){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(o)}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(a){return this.options.writer.set(a).text(this)},r}(e)}).call(dm)),Oi.exports}var Mi={exports:{}},hm=Mi.exports,_c;function Vr(){return _c||(_c=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Mi.exports=function(i){t(r,i);function r(a,o,s){if(r.__super__.constructor.call(this,a),o==null)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(o),s&&(this.value=this.stringify.insValue(s))}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(a){return this.options.writer.set(a).processingInstruction(this)},r}(e)}).call(hm)),Mi.exports}var Pi={exports:{}},fm=Pi.exports,wc;function is(){return wc||(wc=1,(function(){var e,t=function(i,r){for(var a in r)n.call(r,a)&&(i[a]=r[a]);function o(){this.constructor=i}return o.prototype=r.prototype,i.prototype=new o,i.__super__=r.prototype,i},n={}.hasOwnProperty;e=Je(),Pi.exports=function(i){t(r,i);function r(a){r.__super__.constructor.call(this,a),this.isDummy=!0}return r.prototype.clone=function(){return Object.create(this)},r.prototype.toString=function(a){return""},r}(e)}).call(fm)),Pi.exports}var gm=Ei.exports,Tc;function Je(){return Tc||(Tc=1,(function(){var e,t,n,i,r,a,o,s,c,u,l,f,g,d,x={}.hasOwnProperty;d=qt(),g=d.isObject,f=d.isFunction,l=d.isEmpty,u=d.getValue,a=null,e=null,t=null,n=null,i=null,s=null,c=null,o=null,r=null,Ei.exports=function(){function m(h){this.parent=h,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],a||(a=Rr(),e=Ir(),t=Wr(),n=Or(),i=Hr(),s=zr(),c=Xr(),o=Vr(),r=is())}return m.prototype.element=function(h,b,p){var D,w,_,U,E,L,A,W,N,F,q;if(L=null,b===null&&p==null&&(N=[{},null],b=N[0],p=N[1]),b==null&&(b={}),b=u(b),g(b)||(F=[b,p],p=F[0],b=F[1]),h!=null&&(h=u(h)),Array.isArray(h))for(_=0,A=h.length;_<A;_++)w=h[_],L=this.element(w);else if(f(h))L=this.element(h.apply());else if(g(h)){for(E in h)if(x.call(h,E))if(q=h[E],f(q)&&(q=q.apply()),g(q)&&l(q)&&(q=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&E.indexOf(this.stringify.convertAttKey)===0)L=this.attribute(E.substr(this.stringify.convertAttKey.length),q);else if(!this.options.separateArrayItems&&Array.isArray(q))for(U=0,W=q.length;U<W;U++)w=q[U],D={},D[E]=w,L=this.element(D);else g(q)?(L=this.element(E),L.element(q)):L=this.element(E,q)}else this.options.skipNullNodes&&p===null?L=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&h.indexOf(this.stringify.convertTextKey)===0?L=this.text(p):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&h.indexOf(this.stringify.convertCDataKey)===0?L=this.cdata(p):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&h.indexOf(this.stringify.convertCommentKey)===0?L=this.comment(p):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&h.indexOf(this.stringify.convertRawKey)===0?L=this.raw(p):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&h.indexOf(this.stringify.convertPIKey)===0?L=this.instruction(h.substr(this.stringify.convertPIKey.length),p):L=this.node(h,b,p);if(L==null)throw new Error("Could not create any elements with: "+h+". "+this.debugInfo());return L},m.prototype.insertBefore=function(h,b,p){var D,w,_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(h));return w=this.parent.children.indexOf(this),_=this.parent.children.splice(w),D=this.parent.element(h,b,p),Array.prototype.push.apply(this.parent.children,_),D},m.prototype.insertAfter=function(h,b,p){var D,w,_;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(h));return w=this.parent.children.indexOf(this),_=this.parent.children.splice(w+1),D=this.parent.element(h,b,p),Array.prototype.push.apply(this.parent.children,_),D},m.prototype.remove=function(){var h;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return h=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[h,h-h+1].concat([])),this.parent},m.prototype.node=function(h,b,p){var D,w;return h!=null&&(h=u(h)),b||(b={}),b=u(b),g(b)||(w=[b,p],p=w[0],b=w[1]),D=new a(this,h,b),p!=null&&D.text(p),this.children.push(D),D},m.prototype.text=function(h){var b;return b=new c(this,h),this.children.push(b),this},m.prototype.cdata=function(h){var b;return b=new e(this,h),this.children.push(b),this},m.prototype.comment=function(h){var b;return b=new t(this,h),this.children.push(b),this},m.prototype.commentBefore=function(h){var b,p;return b=this.parent.children.indexOf(this),p=this.parent.children.splice(b),this.parent.comment(h),Array.prototype.push.apply(this.parent.children,p),this},m.prototype.commentAfter=function(h){var b,p;return b=this.parent.children.indexOf(this),p=this.parent.children.splice(b+1),this.parent.comment(h),Array.prototype.push.apply(this.parent.children,p),this},m.prototype.raw=function(h){var b;return b=new s(this,h),this.children.push(b),this},m.prototype.dummy=function(){var h;return h=new r(this),this.children.push(h),h},m.prototype.instruction=function(h,b){var p,D,w,_,U;if(h!=null&&(h=u(h)),b!=null&&(b=u(b)),Array.isArray(h))for(_=0,U=h.length;_<U;_++)p=h[_],this.instruction(p);else if(g(h))for(p in h)x.call(h,p)&&(D=h[p],this.instruction(p,D));else f(b)&&(b=b.apply()),w=new o(this,h,b),this.children.push(w);return this},m.prototype.instructionBefore=function(h,b){var p,D;return p=this.parent.children.indexOf(this),D=this.parent.children.splice(p),this.parent.instruction(h,b),Array.prototype.push.apply(this.parent.children,D),this},m.prototype.instructionAfter=function(h,b){var p,D;return p=this.parent.children.indexOf(this),D=this.parent.children.splice(p+1),this.parent.instruction(h,b),Array.prototype.push.apply(this.parent.children,D),this},m.prototype.declaration=function(h,b,p){var D,w;return D=this.document(),w=new n(D,h,b,p),D.children[0]instanceof n?D.children[0]=w:D.children.unshift(w),D.root()||D},m.prototype.doctype=function(h,b){var p,D,w,_,U,E,L,A,W,N;for(D=this.document(),w=new i(D,h,b),W=D.children,_=U=0,L=W.length;U<L;_=++U)if(p=W[_],p instanceof i)return D.children[_]=w,w;for(N=D.children,_=E=0,A=N.length;E<A;_=++E)if(p=N[_],p.isRoot)return D.children.splice(_,0,w),w;return D.children.push(w),w},m.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},m.prototype.root=function(){var h;for(h=this;h;){if(h.isDocument)return h.rootObject;if(h.isRoot)return h;h=h.parent}},m.prototype.document=function(){var h;for(h=this;h;){if(h.isDocument)return h;h=h.parent}},m.prototype.end=function(h){return this.document().end(h)},m.prototype.prev=function(){var h;for(h=this.parent.children.indexOf(this);h>0&&this.parent.children[h-1].isDummy;)h=h-1;if(h<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[h-1]},m.prototype.next=function(){var h;for(h=this.parent.children.indexOf(this);h<this.parent.children.length-1&&this.parent.children[h+1].isDummy;)h=h+1;if(h===-1||h===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[h+1]},m.prototype.importDocument=function(h){var b;return b=h.root().clone(),b.parent=this,b.isRoot=!1,this.children.push(b),this},m.prototype.debugInfo=function(h){var b,p;return h=h||this.name,h==null&&!((b=this.parent)!=null&&b.name)?"":h==null?"parent: <"+this.parent.name+">":(p=this.parent)!=null&&p.name?"node: <"+h+">, parent: <"+this.parent.name+">":"node: <"+h+">"},m.prototype.ele=function(h,b,p){return this.element(h,b,p)},m.prototype.nod=function(h,b,p){return this.node(h,b,p)},m.prototype.txt=function(h){return this.text(h)},m.prototype.dat=function(h){return this.cdata(h)},m.prototype.com=function(h){return this.comment(h)},m.prototype.ins=function(h,b){return this.instruction(h,b)},m.prototype.doc=function(){return this.document()},m.prototype.dec=function(h,b,p){return this.declaration(h,b,p)},m.prototype.dtd=function(h,b){return this.doctype(h,b)},m.prototype.e=function(h,b,p){return this.element(h,b,p)},m.prototype.n=function(h,b,p){return this.node(h,b,p)},m.prototype.t=function(h){return this.text(h)},m.prototype.d=function(h){return this.cdata(h)},m.prototype.c=function(h){return this.comment(h)},m.prototype.r=function(h){return this.raw(h)},m.prototype.i=function(h,b){return this.instruction(h,b)},m.prototype.u=function(){return this.up()},m.prototype.importXMLBuilder=function(h){return this.importDocument(h)},m}()}).call(gm)),Ei.exports}var ji={exports:{}},pm=ji.exports,Uc;function Ud(){return Uc||(Uc=1,(function(){var e=function(n,i){return function(){return n.apply(i,arguments)}},t={}.hasOwnProperty;ji.exports=function(){function n(i){this.assertLegalChar=e(this.assertLegalChar,this);var r,a,o;i||(i={}),this.noDoubleEncoding=i.noDoubleEncoding,a=i.stringify||{};for(r in a)t.call(a,r)&&(o=a[r],this[r]=o)}return n.prototype.eleName=function(i){return i=""+i||"",this.assertLegalChar(i)},n.prototype.eleText=function(i){return i=""+i||"",this.assertLegalChar(this.elEscape(i))},n.prototype.cdata=function(i){return i=""+i||"",i=i.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(i)},n.prototype.comment=function(i){if(i=""+i||"",i.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+i);return this.assertLegalChar(i)},n.prototype.raw=function(i){return""+i||""},n.prototype.attName=function(i){return i=""+i||""},n.prototype.attValue=function(i){return i=""+i||"",this.attEscape(i)},n.prototype.insTarget=function(i){return""+i||""},n.prototype.insValue=function(i){if(i=""+i||"",i.match(/\?>/))throw new Error("Invalid processing instruction value: "+i);return i},n.prototype.xmlVersion=function(i){if(i=""+i||"",!i.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+i);return i},n.prototype.xmlEncoding=function(i){if(i=""+i||"",!i.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+i);return i},n.prototype.xmlStandalone=function(i){return i?"yes":"no"},n.prototype.dtdPubID=function(i){return""+i||""},n.prototype.dtdSysID=function(i){return""+i||""},n.prototype.dtdElementValue=function(i){return""+i||""},n.prototype.dtdAttType=function(i){return""+i||""},n.prototype.dtdAttDefault=function(i){return i!=null?""+i||"":i},n.prototype.dtdEntityValue=function(i){return""+i||""},n.prototype.dtdNData=function(i){return""+i||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(i){var r;if(r=i.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),r)throw new Error("Invalid character in string: "+i+" at index "+r.index);return i},n.prototype.elEscape=function(i){var r;return r=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,i.replace(r,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},n.prototype.attEscape=function(i){var r;return r=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,i.replace(r,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},n}()}).call(pm)),ji.exports}var qi={exports:{}},Hi={exports:{}},mm=Hi.exports,Ec;function Ed(){return Ec||(Ec=1,(function(){var e={}.hasOwnProperty;Hi.exports=function(){function t(n){var i,r,a,o,s,c,u,l,f;n||(n={}),this.pretty=n.pretty||!1,this.allowEmpty=(r=n.allowEmpty)!=null?r:!1,this.pretty?(this.indent=(a=n.indent)!=null?a:" ",this.newline=(o=n.newline)!=null?o:`
91
+ `,this.offset=(s=n.offset)!=null?s:0,this.dontprettytextnodes=(c=n.dontprettytextnodes)!=null?c:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(u=n.spacebeforeslash)!=null?u:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,l=n.writer||{};for(i in l)e.call(l,i)&&(f=l[i],this[i]=f)}return t.prototype.set=function(n){var i,r,a;n||(n={}),"pretty"in n&&(this.pretty=n.pretty),"allowEmpty"in n&&(this.allowEmpty=n.allowEmpty),this.pretty?(this.indent="indent"in n?n.indent:" ",this.newline="newline"in n?n.newline:`
92
+ `,this.offset="offset"in n?n.offset:0,this.dontprettytextnodes="dontprettytextnodes"in n?n.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in n?n.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,r=n.writer||{};for(i in r)e.call(r,i)&&(a=r[i],this[i]=a);return this},t.prototype.space=function(n){var i;return this.pretty?(i=(n||0)+this.offset+1,i>0?new Array(i).join(this.indent):""):""},t}()}).call(mm)),Hi.exports}var bm=qi.exports,Ac;function rs(){return Ac||(Ac=1,(function(){var e,t,n,i,r,a,o,s,c,u,l,f,g,d,x=function(h,b){for(var p in b)m.call(b,p)&&(h[p]=b[p]);function D(){this.constructor=h}return D.prototype=b.prototype,h.prototype=new D,h.__super__=b.prototype,h},m={}.hasOwnProperty;o=Or(),s=Hr(),e=Ir(),t=Wr(),u=Rr(),f=zr(),g=Xr(),l=Vr(),c=is(),n=Mr(),i=jr(),r=Pr(),a=qr(),d=Ed(),qi.exports=function(h){x(b,h);function b(p){b.__super__.constructor.call(this,p)}return b.prototype.document=function(p){var D,w,_,U,E;for(this.textispresent=!1,U="",E=p.children,w=0,_=E.length;w<_;w++)D=E[w],!(D instanceof c)&&(U+=(function(){switch(!1){case!(D instanceof o):return this.declaration(D);case!(D instanceof s):return this.docType(D);case!(D instanceof t):return this.comment(D);case!(D instanceof l):return this.processingInstruction(D);default:return this.element(D,0)}}).call(this));return this.pretty&&U.slice(-this.newline.length)===this.newline&&(U=U.slice(0,-this.newline.length)),U},b.prototype.attribute=function(p){return" "+p.name+'="'+p.value+'"'},b.prototype.cdata=function(p,D){return this.space(D)+"<![CDATA["+p.text+"]]>"+this.newline},b.prototype.comment=function(p,D){return this.space(D)+"<!-- "+p.text+" -->"+this.newline},b.prototype.declaration=function(p,D){var w;return w=this.space(D),w+='<?xml version="'+p.version+'"',p.encoding!=null&&(w+=' encoding="'+p.encoding+'"'),p.standalone!=null&&(w+=' standalone="'+p.standalone+'"'),w+=this.spacebeforeslash+"?>",w+=this.newline,w},b.prototype.docType=function(p,D){var w,_,U,E,L;if(D||(D=0),E=this.space(D),E+="<!DOCTYPE "+p.root().name,p.pubID&&p.sysID?E+=' PUBLIC "'+p.pubID+'" "'+p.sysID+'"':p.sysID&&(E+=' SYSTEM "'+p.sysID+'"'),p.children.length>0){for(E+=" [",E+=this.newline,L=p.children,_=0,U=L.length;_<U;_++)w=L[_],E+=(function(){switch(!1){case!(w instanceof n):return this.dtdAttList(w,D+1);case!(w instanceof i):return this.dtdElement(w,D+1);case!(w instanceof r):return this.dtdEntity(w,D+1);case!(w instanceof a):return this.dtdNotation(w,D+1);case!(w instanceof e):return this.cdata(w,D+1);case!(w instanceof t):return this.comment(w,D+1);case!(w instanceof l):return this.processingInstruction(w,D+1);default:throw new Error("Unknown DTD node type: "+w.constructor.name)}}).call(this);E+="]"}return E+=this.spacebeforeslash+">",E+=this.newline,E},b.prototype.element=function(p,D){var w,_,U,E,L,A,W,N,F,q,v,k,V;D||(D=0),V=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),k=this.space(D),N="",N+=k+"<"+p.name,F=p.attributes;for(W in F)m.call(F,W)&&(w=F[W],N+=this.attribute(w));if(p.children.length===0||p.children.every(function(P){return P.value===""}))this.allowEmpty?N+="></"+p.name+">"+this.newline:N+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&p.children.length===1&&p.children[0].value!=null)N+=">",N+=p.children[0].value,N+="</"+p.name+">"+this.newline;else{if(this.dontprettytextnodes){for(q=p.children,U=0,L=q.length;U<L;U++)if(_=q[U],_.value!=null){this.textispresent++,V=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,k=this.space(D)),N+=">"+this.newline,v=p.children,E=0,A=v.length;E<A;E++)_=v[E],N+=(function(){switch(!1){case!(_ instanceof e):return this.cdata(_,D+1);case!(_ instanceof t):return this.comment(_,D+1);case!(_ instanceof u):return this.element(_,D+1);case!(_ instanceof f):return this.raw(_,D+1);case!(_ instanceof g):return this.text(_,D+1);case!(_ instanceof l):return this.processingInstruction(_,D+1);case!(_ instanceof c):return"";default:throw new Error("Unknown XML node type: "+_.constructor.name)}}).call(this);V&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),N+=k+"</"+p.name+">"+this.newline}return N},b.prototype.processingInstruction=function(p,D){var w;return w=this.space(D)+"<?"+p.target,p.value&&(w+=" "+p.value),w+=this.spacebeforeslash+"?>"+this.newline,w},b.prototype.raw=function(p,D){return this.space(D)+p.value+this.newline},b.prototype.text=function(p,D){return this.space(D)+p.value+this.newline},b.prototype.dtdAttList=function(p,D){var w;return w=this.space(D)+"<!ATTLIST "+p.elementName+" "+p.attributeName+" "+p.attributeType,p.defaultValueType!=="#DEFAULT"&&(w+=" "+p.defaultValueType),p.defaultValue&&(w+=' "'+p.defaultValue+'"'),w+=this.spacebeforeslash+">"+this.newline,w},b.prototype.dtdElement=function(p,D){return this.space(D)+"<!ELEMENT "+p.name+" "+p.value+this.spacebeforeslash+">"+this.newline},b.prototype.dtdEntity=function(p,D){var w;return w=this.space(D)+"<!ENTITY",p.pe&&(w+=" %"),w+=" "+p.name,p.value?w+=' "'+p.value+'"':(p.pubID&&p.sysID?w+=' PUBLIC "'+p.pubID+'" "'+p.sysID+'"':p.sysID&&(w+=' SYSTEM "'+p.sysID+'"'),p.nData&&(w+=" NDATA "+p.nData)),w+=this.spacebeforeslash+">"+this.newline,w},b.prototype.dtdNotation=function(p,D){var w;return w=this.space(D)+"<!NOTATION "+p.name,p.pubID&&p.sysID?w+=' PUBLIC "'+p.pubID+'" "'+p.sysID+'"':p.pubID?w+=' PUBLIC "'+p.pubID+'"':p.sysID&&(w+=' SYSTEM "'+p.sysID+'"'),w+=this.spacebeforeslash+">"+this.newline,w},b.prototype.openNode=function(p,D){var w,_,U,E;if(D||(D=0),p instanceof u){U=this.space(D)+"<"+p.name,E=p.attributes;for(_ in E)m.call(E,_)&&(w=E[_],U+=this.attribute(w));return U+=(p.children?">":"/>")+this.newline,U}else return U=this.space(D)+"<!DOCTYPE "+p.rootNodeName,p.pubID&&p.sysID?U+=' PUBLIC "'+p.pubID+'" "'+p.sysID+'"':p.sysID&&(U+=' SYSTEM "'+p.sysID+'"'),U+=(p.children?" [":">")+this.newline,U},b.prototype.closeNode=function(p,D){switch(D||(D=0),!1){case!(p instanceof u):return this.space(D)+"</"+p.name+">"+this.newline;case!(p instanceof s):return this.space(D)+"]>"+this.newline}},b}(d)}).call(bm)),qi.exports}var ym=Ui.exports,Cc;function xm(){return Cc||(Cc=1,(function(){var e,t,n,i,r=function(o,s){for(var c in s)a.call(s,c)&&(o[c]=s[c]);function u(){this.constructor=o}return u.prototype=s.prototype,o.prototype=new u,o.__super__=s.prototype,o},a={}.hasOwnProperty;i=qt().isPlainObject,e=Je(),n=Ud(),t=rs(),Ui.exports=function(o){r(s,o);function s(c){s.__super__.constructor.call(this,null),this.name="?xml",c||(c={}),c.writer||(c.writer=new t),this.options=c,this.stringify=new n(c),this.isDocument=!0}return s.prototype.end=function(c){var u;return c?i(c)&&(u=c,c=this.options.writer.set(u)):c=this.options.writer,c.document(this)},s.prototype.toString=function(c){return this.options.writer.set(c).document(this)},s}(e)}).call(ym)),Ui.exports}var zi={exports:{}},Dm=zi.exports,kc;function vm(){return kc||(kc=1,(function(){var e,t,n,i,r,a,o,s,c,u,l,f,g,d,x,m,h,b,p,D,w={}.hasOwnProperty;D=qt(),b=D.isObject,h=D.isFunction,p=D.isPlainObject,m=D.getValue,u=Rr(),t=Ir(),n=Wr(),f=zr(),x=Xr(),l=Vr(),s=Or(),c=Hr(),i=Mr(),a=Pr(),r=jr(),o=qr(),e=Td(),d=Ud(),g=rs(),zi.exports=function(){function _(U,E,L){var A;this.name="?xml",U||(U={}),U.writer?p(U.writer)&&(A=U.writer,U.writer=new g(A)):U.writer=new g(U),this.options=U,this.writer=U.writer,this.stringify=new d(U),this.onDataCallback=E||function(){},this.onEndCallback=L||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return _.prototype.node=function(U,E,L){var A,W;if(U==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(U));return this.openCurrent(),U=m(U),E===null&&L==null&&(A=[{},null],E=A[0],L=A[1]),E==null&&(E={}),E=m(E),b(E)||(W=[E,L],L=W[0],E=W[1]),this.currentNode=new u(this,U,E),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,L!=null&&this.text(L),this},_.prototype.element=function(U,E,L){return this.currentNode&&this.currentNode instanceof c?this.dtdElement.apply(this,arguments):this.node(U,E,L)},_.prototype.attribute=function(U,E){var L,A;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(U));if(U!=null&&(U=m(U)),b(U))for(L in U)w.call(U,L)&&(A=U[L],this.attribute(L,A));else h(E)&&(E=E.apply()),(!this.options.skipNullAttributes||E!=null)&&(this.currentNode.attributes[U]=new e(this,U,E));return this},_.prototype.text=function(U){var E;return this.openCurrent(),E=new x(this,U),this.onData(this.writer.text(E,this.currentLevel+1),this.currentLevel+1),this},_.prototype.cdata=function(U){var E;return this.openCurrent(),E=new t(this,U),this.onData(this.writer.cdata(E,this.currentLevel+1),this.currentLevel+1),this},_.prototype.comment=function(U){var E;return this.openCurrent(),E=new n(this,U),this.onData(this.writer.comment(E,this.currentLevel+1),this.currentLevel+1),this},_.prototype.raw=function(U){var E;return this.openCurrent(),E=new f(this,U),this.onData(this.writer.raw(E,this.currentLevel+1),this.currentLevel+1),this},_.prototype.instruction=function(U,E){var L,A,W,N,F;if(this.openCurrent(),U!=null&&(U=m(U)),E!=null&&(E=m(E)),Array.isArray(U))for(L=0,N=U.length;L<N;L++)A=U[L],this.instruction(A);else if(b(U))for(A in U)w.call(U,A)&&(W=U[A],this.instruction(A,W));else h(E)&&(E=E.apply()),F=new l(this,U,E),this.onData(this.writer.processingInstruction(F,this.currentLevel+1),this.currentLevel+1);return this},_.prototype.declaration=function(U,E,L){var A;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return A=new s(this,U,E,L),this.onData(this.writer.declaration(A,this.currentLevel+1),this.currentLevel+1),this},_.prototype.doctype=function(U,E,L){if(this.openCurrent(),U==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new c(this,E,L),this.currentNode.rootNodeName=U,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},_.prototype.dtdElement=function(U,E){var L;return this.openCurrent(),L=new r(this,U,E),this.onData(this.writer.dtdElement(L,this.currentLevel+1),this.currentLevel+1),this},_.prototype.attList=function(U,E,L,A,W){var N;return this.openCurrent(),N=new i(this,U,E,L,A,W),this.onData(this.writer.dtdAttList(N,this.currentLevel+1),this.currentLevel+1),this},_.prototype.entity=function(U,E){var L;return this.openCurrent(),L=new a(this,!1,U,E),this.onData(this.writer.dtdEntity(L,this.currentLevel+1),this.currentLevel+1),this},_.prototype.pEntity=function(U,E){var L;return this.openCurrent(),L=new a(this,!0,U,E),this.onData(this.writer.dtdEntity(L,this.currentLevel+1),this.currentLevel+1),this},_.prototype.notation=function(U,E){var L;return this.openCurrent(),L=new o(this,U,E),this.onData(this.writer.dtdNotation(L,this.currentLevel+1),this.currentLevel+1),this},_.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},_.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},_.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},_.prototype.openNode=function(U){if(!U.isOpen)return!this.root&&this.currentLevel===0&&U instanceof u&&(this.root=U),this.onData(this.writer.openNode(U,this.currentLevel),this.currentLevel),U.isOpen=!0},_.prototype.closeNode=function(U){if(!U.isClosed)return this.onData(this.writer.closeNode(U,this.currentLevel),this.currentLevel),U.isClosed=!0},_.prototype.onData=function(U,E){return this.documentStarted=!0,this.onDataCallback(U,E+1)},_.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},_.prototype.debugInfo=function(U){return U==null?"":"node: <"+U+">"},_.prototype.ele=function(){return this.element.apply(this,arguments)},_.prototype.nod=function(U,E,L){return this.node(U,E,L)},_.prototype.txt=function(U){return this.text(U)},_.prototype.dat=function(U){return this.cdata(U)},_.prototype.com=function(U){return this.comment(U)},_.prototype.ins=function(U,E){return this.instruction(U,E)},_.prototype.dec=function(U,E,L){return this.declaration(U,E,L)},_.prototype.dtd=function(U,E,L){return this.doctype(U,E,L)},_.prototype.e=function(U,E,L){return this.element(U,E,L)},_.prototype.n=function(U,E,L){return this.node(U,E,L)},_.prototype.t=function(U){return this.text(U)},_.prototype.d=function(U){return this.cdata(U)},_.prototype.c=function(U){return this.comment(U)},_.prototype.r=function(U){return this.raw(U)},_.prototype.i=function(U,E){return this.instruction(U,E)},_.prototype.att=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.a=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},_.prototype.ent=function(U,E){return this.entity(U,E)},_.prototype.pent=function(U,E){return this.pEntity(U,E)},_.prototype.not=function(U,E){return this.notation(U,E)},_}()}).call(Dm)),zi.exports}var Xi={exports:{}},_m=Xi.exports,Fc;function wm(){return Fc||(Fc=1,(function(){var e,t,n,i,r,a,o,s,c,u,l,f,g,d,x=function(h,b){for(var p in b)m.call(b,p)&&(h[p]=b[p]);function D(){this.constructor=h}return D.prototype=b.prototype,h.prototype=new D,h.__super__=b.prototype,h},m={}.hasOwnProperty;o=Or(),s=Hr(),e=Ir(),t=Wr(),u=Rr(),f=zr(),g=Xr(),l=Vr(),c=is(),n=Mr(),i=jr(),r=Pr(),a=qr(),d=Ed(),Xi.exports=function(h){x(b,h);function b(p,D){b.__super__.constructor.call(this,D),this.stream=p}return b.prototype.document=function(p){var D,w,_,U,E,L,A,W;for(L=p.children,w=0,U=L.length;w<U;w++)D=L[w],D.isLastRootNode=!1;for(p.children[p.children.length-1].isLastRootNode=!0,A=p.children,W=[],_=0,E=A.length;_<E;_++)if(D=A[_],!(D instanceof c))switch(!1){case!(D instanceof o):W.push(this.declaration(D));break;case!(D instanceof s):W.push(this.docType(D));break;case!(D instanceof t):W.push(this.comment(D));break;case!(D instanceof l):W.push(this.processingInstruction(D));break;default:W.push(this.element(D))}return W},b.prototype.attribute=function(p){return this.stream.write(" "+p.name+'="'+p.value+'"')},b.prototype.cdata=function(p,D){return this.stream.write(this.space(D)+"<![CDATA["+p.text+"]]>"+this.endline(p))},b.prototype.comment=function(p,D){return this.stream.write(this.space(D)+"<!-- "+p.text+" -->"+this.endline(p))},b.prototype.declaration=function(p,D){return this.stream.write(this.space(D)),this.stream.write('<?xml version="'+p.version+'"'),p.encoding!=null&&this.stream.write(' encoding="'+p.encoding+'"'),p.standalone!=null&&this.stream.write(' standalone="'+p.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(p))},b.prototype.docType=function(p,D){var w,_,U,E;if(D||(D=0),this.stream.write(this.space(D)),this.stream.write("<!DOCTYPE "+p.root().name),p.pubID&&p.sysID?this.stream.write(' PUBLIC "'+p.pubID+'" "'+p.sysID+'"'):p.sysID&&this.stream.write(' SYSTEM "'+p.sysID+'"'),p.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(p)),E=p.children,_=0,U=E.length;_<U;_++)switch(w=E[_],!1){case!(w instanceof n):this.dtdAttList(w,D+1);break;case!(w instanceof i):this.dtdElement(w,D+1);break;case!(w instanceof r):this.dtdEntity(w,D+1);break;case!(w instanceof a):this.dtdNotation(w,D+1);break;case!(w instanceof e):this.cdata(w,D+1);break;case!(w instanceof t):this.comment(w,D+1);break;case!(w instanceof l):this.processingInstruction(w,D+1);break;default:throw new Error("Unknown DTD node type: "+w.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(p))},b.prototype.element=function(p,D){var w,_,U,E,L,A,W,N;D||(D=0),N=this.space(D),this.stream.write(N+"<"+p.name),A=p.attributes;for(L in A)m.call(A,L)&&(w=A[L],this.attribute(w));if(p.children.length===0||p.children.every(function(F){return F.value===""}))this.allowEmpty?this.stream.write("></"+p.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&p.children.length===1&&p.children[0].value!=null)this.stream.write(">"),this.stream.write(p.children[0].value),this.stream.write("</"+p.name+">");else{for(this.stream.write(">"+this.newline),W=p.children,U=0,E=W.length;U<E;U++)switch(_=W[U],!1){case!(_ instanceof e):this.cdata(_,D+1);break;case!(_ instanceof t):this.comment(_,D+1);break;case!(_ instanceof u):this.element(_,D+1);break;case!(_ instanceof f):this.raw(_,D+1);break;case!(_ instanceof g):this.text(_,D+1);break;case!(_ instanceof l):this.processingInstruction(_,D+1);break;case!(_ instanceof c):break;default:throw new Error("Unknown XML node type: "+_.constructor.name)}this.stream.write(N+"</"+p.name+">")}return this.stream.write(this.endline(p))},b.prototype.processingInstruction=function(p,D){return this.stream.write(this.space(D)+"<?"+p.target),p.value&&this.stream.write(" "+p.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(p))},b.prototype.raw=function(p,D){return this.stream.write(this.space(D)+p.value+this.endline(p))},b.prototype.text=function(p,D){return this.stream.write(this.space(D)+p.value+this.endline(p))},b.prototype.dtdAttList=function(p,D){return this.stream.write(this.space(D)+"<!ATTLIST "+p.elementName+" "+p.attributeName+" "+p.attributeType),p.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+p.defaultValueType),p.defaultValue&&this.stream.write(' "'+p.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(p))},b.prototype.dtdElement=function(p,D){return this.stream.write(this.space(D)+"<!ELEMENT "+p.name+" "+p.value),this.stream.write(this.spacebeforeslash+">"+this.endline(p))},b.prototype.dtdEntity=function(p,D){return this.stream.write(this.space(D)+"<!ENTITY"),p.pe&&this.stream.write(" %"),this.stream.write(" "+p.name),p.value?this.stream.write(' "'+p.value+'"'):(p.pubID&&p.sysID?this.stream.write(' PUBLIC "'+p.pubID+'" "'+p.sysID+'"'):p.sysID&&this.stream.write(' SYSTEM "'+p.sysID+'"'),p.nData&&this.stream.write(" NDATA "+p.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(p))},b.prototype.dtdNotation=function(p,D){return this.stream.write(this.space(D)+"<!NOTATION "+p.name),p.pubID&&p.sysID?this.stream.write(' PUBLIC "'+p.pubID+'" "'+p.sysID+'"'):p.pubID?this.stream.write(' PUBLIC "'+p.pubID+'"'):p.sysID&&this.stream.write(' SYSTEM "'+p.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(p))},b.prototype.endline=function(p){return p.isLastRootNode?"":this.newline},b}(d)}).call(_m)),Xi.exports}var Sc;function Tm(){return Sc||(Sc=1,(function(){var e,t,n,i,r,a,o;o=qt(),r=o.assign,a=o.isFunction,e=xm(),t=vm(),i=rs(),n=wm(),Zt.create=function(s,c,u,l){var f,g;if(s==null)throw new Error("Root element needs a name.");return l=r({},c,u,l),f=new e(l),g=f.element(s),l.headless||(f.declaration(l),(l.pubID!=null||l.sysID!=null)&&f.doctype(l)),g},Zt.begin=function(s,c,u){var l;return a(s)&&(l=[s,c],c=l[0],u=l[1],s={}),c?new t(s,c,u):new e(s)},Zt.stringWriter=function(s){return new i(s)},Zt.streamWriter=function(s,c){return new n(s,c)}}).call(Zt)),Zt}var Bc;function Um(){if(Bc)return Da;Bc=1;var e=Pe,t=Tm();Da.writeString=n;function n(r,a){var o=e.invert(a),s={element:u,text:i};function c(g,d){return s[d.type](g,d)}function u(g,d){var x=g.element(l(d.name),d.attributes);d.children.forEach(function(m){c(x,m)})}function l(g){var d=/^\{(.*)\}(.*)$/.exec(g);if(d){var x=o[d[1]];return x+(x===""?"":":")+d[2]}else return g}function f(g){var d=t.create(l(g.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return e.forEach(a,function(x,m){var h="xmlns"+(m===""?"":":"+m);d.attribute(h,x)}),g.children.forEach(function(x){c(d,x)}),d.end()}return f(r)}function i(r,a){r.text(a.value)}return Da}var Nc;function as(){if(Nc)return Bt;Nc=1;var e=wd();return Bt.Element=e.Element,Bt.element=e.element,Bt.emptyElement=e.emptyElement,Bt.text=e.text,Bt.readString=Jp().readString,Bt.writeString=Um().writeString,Bt}var Lc;function Em(){if(Lc)return hi;Lc=1;var e=Pe,t=jt(),n=as();hi.read=r,hi.readXmlFromZipFile=a;var i={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function r(c){return n.readString(c,i).then(function(u){return s(u)[0]})}function a(c,u){return c.exists(u)?c.read(u,"utf-8").then(o).then(r):t.resolve(null)}function o(c){return c.replace(/^\uFEFF/g,"")}function s(c){return c.type==="element"?c.name==="mc:AlternateContent"?c.first("mc:Fallback").children:(c.children=e.flatten(c.children.map(s,!0)),[c]):[c]}return hi}var pi={},st={},mi={},Rc;function Am(){if(Rc)return mi;Rc=1,Object.defineProperty(mi,"__esModule",{value:!0});var e=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];return mi.default=e,mi}var Ic;function Cm(){if(Ic)return st;Ic=1;var e=st&&st.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(st,"__esModule",{value:!0}),st.hex=st.dec=st.codePoint=void 0;for(var t=e(Am()),n={},i=String.fromCodePoint?String.fromCodePoint:g,r=0,a=t.default;r<a.length;r++){var o=a[r],s=parseInt(o["Unicode dec"],10),c={codePoint:s,string:i(s)};n[o["Typeface name"].toUpperCase()+"_"+o["Dingbat dec"]]=c}function u(d,x){return n[d.toUpperCase()+"_"+x]}st.codePoint=u;function l(d,x){return u(d,parseInt(x,10))}st.dec=l;function f(d,x){return u(d,parseInt(x,16))}st.hex=f;function g(d){if(d<=65535)return String.fromCharCode(d);var x=Math.floor((d-65536)/1024)+55296,m=(d-65536)%1024+56320;return String.fromCharCode(x,m)}return st}var bi={},Wc;function km(){if(Wc)return bi;Wc=1,bi.uriToZipEntryName=e,bi.replaceFragment=t;function e(n,i){return i.charAt(0)==="/"?i.substr(1):n+"/"+i}function t(n,i){var r=n.indexOf("#");return r!==-1&&(n=n.substring(0,r)),n+"#"+i}return bi}var Oc;function Fm(){if(Oc)return pi;Oc=1,pi.createBodyReader=s,pi._readNumberingProperties=u;var e=Cm(),t=Pe,n=un(),i=At().Result,r=At().warning,a=as(),o=km();function s(w){return{readXmlElement:function(_){return new c(w).readXmlElement(_)},readXmlElements:function(_){return new c(w).readXmlElements(_)}}}function c(w){var _=[],U=[],E=[],L=w.relationships,A=w.contentTypes,W=w.docxFile,N=w.files,F=w.numbering,q=w.styles;function v(Y){var ce=Y.map(k);return b(ce)}function k(Y){if(Y.type==="element"){var ce=$[Y.name];if(ce)return ce(Y);if(!Object.prototype.hasOwnProperty.call(f,Y.name)){var ue=r("An unrecognised element was ignored: "+Y.name);return g([ue])}}return d()}function V(Y){return oe(Y).map(function(ce){return{type:"paragraphProperties",styleId:ce.styleId,styleName:ce.name,alignment:Y.firstOrEmpty("w:jc").attributes["w:val"],numbering:u(ce.styleId,Y.firstOrEmpty("w:numPr"),F),indent:P(Y.firstOrEmpty("w:ind"))}})}function P(Y){return{start:Y.attributes["w:start"]||Y.attributes["w:left"],end:Y.attributes["w:end"]||Y.attributes["w:right"],firstLine:Y.attributes["w:firstLine"],hanging:Y.attributes["w:hanging"]}}function J(Y){return se(Y).map(function(ce){var ue=Y.firstOrEmpty("w:sz").attributes["w:val"],be=/^[0-9]+$/.test(ue)?parseInt(ue,10)/2:null;return{type:"runProperties",styleId:ce.styleId,styleName:ce.name,verticalAlignment:Y.firstOrEmpty("w:vertAlign").attributes["w:val"],font:Y.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:be,isBold:re(Y.first("w:b")),isUnderline:K(Y.first("w:u")),isItalic:re(Y.first("w:i")),isStrikethrough:re(Y.first("w:strike")),isAllCaps:re(Y.first("w:caps")),isSmallCaps:re(Y.first("w:smallCaps")),highlight:I(Y.firstOrEmpty("w:highlight").attributes["w:val"])}})}function K(Y){if(Y){var ce=Y.attributes["w:val"];return ce!==void 0&&ce!=="false"&&ce!=="0"&&ce!=="none"}else return!1}function re(Y){if(Y){var ce=Y.attributes["w:val"];return ce!=="false"&&ce!=="0"}else return!1}function j(Y){return Y!=="false"&&Y!=="0"}function I(Y){return!Y||Y==="none"?null:Y}function oe(Y){return he(Y,"w:pStyle","Paragraph",q.findParagraphStyleById)}function se(Y){return he(Y,"w:rStyle","Run",q.findCharacterStyleById)}function ie(Y){return he(Y,"w:tblStyle","Table",q.findTableStyleById)}function he(Y,ce,ue,be){var Ae=[],Ue=Y.first(ce),Le=null,ot=null;if(Ue&&(Le=Ue.attributes["w:val"],Le)){var Ct=be(Le);Ct?ot=Ct.name:Ae.push(De(ue,Le))}return m({styleId:Le,name:ot},Ae)}function _e(Y){var ce=Y.attributes["w:fldCharType"];if(ce==="begin")_.push({type:"begin",fldChar:Y}),U=[];else if(ce==="end"){var ue=_.pop();if(ue.type==="begin"&&(ue=ye(ue)),ue.type==="checkbox")return x(n.checkbox({checked:ue.checked}))}else if(ce==="separate"){var be=_.pop(),Ae=ye(be);_.push(Ae)}return d()}function ge(){var Y=t.last(_.filter(function(ce){return ce.type==="hyperlink"}));return Y?Y.options:null}function ye(Y){return xe(U.join(""),Y.type==="begin"?Y.fldChar:a.emptyElement)}function xe(Y,ce){var ue=/\s*HYPERLINK "(.*)"/.exec(Y);if(ue)return{type:"hyperlink",options:{href:ue[1]}};var be=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(Y);if(be)return{type:"hyperlink",options:{anchor:be[1]}};var Ae=/\s*FORMCHECKBOX\s*/.exec(Y);if(Ae){var Ue=ce.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),Le=Ue.first("w:checked"),ot=Le==null?re(Ue.first("w:default")):re(Le);return{type:"checkbox",checked:ot}}return{type:"unknown"}}function ve(Y){return U.push(Y.text()),d()}function ke(Y){var ce=Y.attributes["w:font"],ue=Y.attributes["w:char"],be=e.hex(ce,ue);return be==null&&/^F0..$/.test(ue)&&(be=e.hex(ce,ue.substring(2))),be==null?g([r("A w:sym element with an unsupported character was ignored: char "+ue+" in font "+ce)]):x(new n.Text(be.string))}function Be(Y){return function(ce){var ue=ce.attributes["w:id"];return x(new n.NoteReference({noteType:Y,noteId:ue}))}}function y(Y){return x(n.commentReference({commentId:Y.attributes["w:id"]}))}function G(Y){return v(Y.children)}var $={"w:p":function(Y){var ce=Y.firstOrEmpty("w:pPr"),ue=!!ce.firstOrEmpty("w:rPr").first("w:del");if(ue)return Y.children.forEach(function(Ae){E.push(Ae)}),d();var be=Y.children;return E.length>0&&(be=E.concat(be),E=[]),h.map(V(ce),v(be),function(Ae,Ue){return new n.Paragraph(Ue,Ae)}).insertExtra()},"w:r":function(Y){return h.map(J(Y.firstOrEmpty("w:rPr")),v(Y.children),function(ce,ue){var be=ge();return be!==null&&(ue=[new n.Hyperlink(ue,be)]),new n.Run(ue,ce)})},"w:fldChar":_e,"w:instrText":ve,"w:t":function(Y){return x(new n.Text(Y.text()))},"w:tab":function(Y){return x(new n.Tab)},"w:noBreakHyphen":function(){return x(new n.Text("‑"))},"w:softHyphen":function(Y){return x(new n.Text("­"))},"w:sym":ke,"w:hyperlink":function(Y){var ce=Y.attributes["r:id"],ue=Y.attributes["w:anchor"];return v(Y.children).map(function(be){function Ae(Le){var ot=Y.attributes["w:tgtFrame"]||null;return new n.Hyperlink(be,t.extend({targetFrame:ot},Le))}if(ce){var Ue=L.findTargetByRelationshipId(ce);return ue&&(Ue=o.replaceFragment(Ue,ue)),Ae({href:Ue})}else return ue?Ae({anchor:ue}):be})},"w:tbl":R,"w:tr":z,"w:tc":ae,"w:footnoteReference":Be("footnote"),"w:endnoteReference":Be("endnote"),"w:commentReference":y,"w:br":function(Y){var ce=Y.attributes["w:type"];return ce==null||ce==="textWrapping"?x(n.lineBreak):ce==="page"?x(n.pageBreak):ce==="column"?x(n.columnBreak):g([r("Unsupported break type: "+ce)])},"w:bookmarkStart":function(Y){var ce=Y.attributes["w:name"];return ce==="_GoBack"?d():x(new n.BookmarkStart({name:ce}))},"mc:AlternateContent":function(Y){return G(Y.first("mc:Fallback"))},"w:sdt":function(Y){var ce=Y.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(ce){var ue=ce.first("wordml:checked"),be=!!ue&&j(ue.attributes["wordml:val"]);return x(n.checkbox({checked:be}))}else return v(Y.firstOrEmpty("w:sdtContent").children)},"w:ins":G,"w:object":G,"w:smartTag":G,"w:drawing":G,"w:pict":function(Y){return G(Y).toExtra()},"v:roundrect":G,"v:shape":G,"v:textbox":G,"w:txbxContent":G,"wp:inline":M,"wp:anchor":M,"v:imagedata":de,"v:group":G,"v:rect":G};return{readXmlElement:k,readXmlElements:v};function R(Y){var ce=B(Y.firstOrEmpty("w:tblPr"));return v(Y.children).flatMap(Z).flatMap(function(ue){return ce.map(function(be){return n.Table(ue,be)})})}function B(Y){return ie(Y).map(function(ce){return{styleId:ce.styleId,styleName:ce.name}})}function z(Y){var ce=Y.firstOrEmpty("w:trPr"),ue=!!ce.first("w:tblHeader");return v(Y.children).map(function(be){return n.TableRow(be,{isHeader:ue})})}function ae(Y){return v(Y.children).map(function(ce){var ue=Y.firstOrEmpty("w:tcPr"),be=ue.firstOrEmpty("w:gridSpan").attributes["w:val"],Ae=be?parseInt(be,10):1,Ue=n.TableCell(ce,{colSpan:Ae});return Ue._vMerge=te(ue),Ue})}function te(Y){var ce=Y.first("w:vMerge");if(ce){var ue=ce.attributes["w:val"];return ue==="continue"||!ue}else return null}function Z(Y){var ce=t.any(Y,function(Ae){return Ae.type!==n.types.tableRow});if(ce)return m(Y,[r("unexpected non-row element in table, cell merging may be incorrect")]);var ue=t.any(Y,function(Ae){return t.any(Ae.children,function(Ue){return Ue.type!==n.types.tableCell})});if(ue)return m(Y,[r("unexpected non-cell element in table row, cell merging may be incorrect")]);var be={};return Y.forEach(function(Ae){var Ue=0;Ae.children.forEach(function(Le){Le._vMerge&&be[Ue]?be[Ue].rowSpan++:(be[Ue]=Le,Le._vMerge=!1),Ue+=Le.colSpan})}),Y.forEach(function(Ae){Ae.children=Ae.children.filter(function(Ue){return!Ue._vMerge}),Ae.children.forEach(function(Ue){delete Ue._vMerge})}),x(Y)}function M(Y){var ce=Y.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return b(ce.map(X.bind(null,Y)))}function X(Y,ce){var ue=Y.first("wp:docPr").attributes,be=Q(ue.descr)?ue.title:ue.descr,Ae=ne(ce);return Ae===null?g([r("Could not find image file for a:blip element")]):Te(Ae,be)}function Q(Y){return Y==null||/^\s*$/.test(Y)}function ne(Y){var ce=Y.attributes["r:embed"],ue=Y.attributes["r:link"];if(ce)return me(ce);if(ue){var be=L.findTargetByRelationshipId(ue);return{path:be,read:N.read.bind(N,be)}}else return null}function de(Y){var ce=Y.attributes["r:id"];return ce?Te(me(ce),Y.attributes["o:title"]):g([r("A v:imagedata element without a relationship ID was ignored")])}function me(Y){var ce=o.uriToZipEntryName("word",L.findTargetByRelationshipId(Y));return{path:ce,read:W.read.bind(W,ce)}}function Te(Y,ce){var ue=A.findContentType(Y.path),be=n.Image({readImage:Y.read,altText:ce,contentType:ue}),Ae=l[ue]?[]:r("Image of type "+ue+" is unlikely to display in web browsers");return m(be,Ae)}function De(Y,ce){return r(Y+" style with ID "+ce+" was referenced but not defined in the document")}}function u(w,_,U){var E=_.firstOrEmpty("w:ilvl").attributes["w:val"],L=_.firstOrEmpty("w:numId").attributes["w:val"];if(E!==void 0&&L!==void 0)return U.findLevel(L,E);if(w!=null){var A=U.findLevelByParagraphStyleId(w);if(A!=null)return A}return null}var l={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},f={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function g(w){return new h(null,null,w)}function d(){return new h(null)}function x(w){return new h(w)}function m(w,_){return new h(w,null,_)}function h(w,_,U){this.value=w||[],this.extra=_||[],this._result=new i({element:this.value,extra:_},U),this.messages=this._result.messages}h.prototype.toExtra=function(){return new h(null,p(this.extra,this.value),this.messages)},h.prototype.insertExtra=function(){var w=this.extra;return w&&w.length?new h(p(this.value,w),null,this.messages):this},h.prototype.map=function(w){var _=this._result.map(function(U){return w(U.element)});return new h(_.value,this.extra,_.messages)},h.prototype.flatMap=function(w){var _=this._result.flatMap(function(U){return w(U.element)._result});return new h(_.value.element,p(this.extra,_.value.extra),_.messages)},h.map=function(w,_,U){return new h(U(w.value,_.value),p(w.extra,_.extra),w.messages.concat(_.messages))};function b(w){var _=i.combine(t.pluck(w,"_result"));return new h(t.flatten(t.pluck(_.value,"element")),t.filter(t.flatten(t.pluck(_.value,"extra")),D),_.messages)}function p(w,_){return t.flatten([w,_])}function D(w){return w}return pi}var va={},Mc;function Sm(){if(Mc)return va;Mc=1,va.DocumentXmlReader=n;var e=un(),t=At().Result;function n(i){var r=i.bodyReader;function a(o){var s=o.first("w:body");if(s==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var c=r.readXmlElements(s.children).map(function(u){return new e.Document(u,{notes:i.notes,comments:i.comments})});return new t(c.value,c.messages)}return{convertXmlToDocument:a}}return va}var Bn={},Pc;function Bm(){if(Pc)return Bn;Pc=1,Bn.readRelationships=e,Bn.defaultValue=new t([]),Bn.Relationships=t;function e(n){var i=[];return n.children.forEach(function(r){if(r.name==="relationships:Relationship"){var a={relationshipId:r.attributes.Id,target:r.attributes.Target,type:r.attributes.Type};i.push(a)}}),new t(i)}function t(n){var i={};n.forEach(function(a){i[a.relationshipId]=a.target});var r={};return n.forEach(function(a){r[a.type]||(r[a.type]=[]),r[a.type].push(a.target)}),{findTargetByRelationshipId:function(a){return i[a]},findTargetsByType:function(a){return r[a]||[]}}}return Bn}var yi={},jc;function Nm(){if(jc)return yi;jc=1,yi.readContentTypesFromXml=t;var e={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};yi.defaultContentTypes=n({},{});function t(i){var r={},a={};return i.children.forEach(function(o){if(o.name==="content-types:Default"&&(r[o.attributes.Extension]=o.attributes.ContentType),o.name==="content-types:Override"){var s=o.attributes.PartName;s.charAt(0)==="/"&&(s=s.substring(1)),a[s]=o.attributes.ContentType}}),n(a,r)}function n(i,r){return{findContentType:function(a){var o=i[a];if(o)return o;var s=a.split("."),c=s[s.length-1];if(r.hasOwnProperty(c))return r[c];var u=e[c.toLowerCase()];return u?"image/"+u:null}}}return yi}var Nn={},qc;function Lm(){if(qc)return Nn;qc=1;var e=Pe;Nn.readNumberingXml=n,Nn.Numbering=t,Nn.defaultNumbering=new t({},{});function t(o,s,c){var u=e.flatten(e.values(s).map(function(d){return e.values(d.levels)})),l=e.indexBy(u.filter(function(d){return d.paragraphStyleId!=null}),"paragraphStyleId");function f(d,x){var m=o[d];if(m){var h=s[m.abstractNumId];if(h){if(h.numStyleLink==null)return s[m.abstractNumId].levels[x];var b=c.findNumberingStyleById(h.numStyleLink);return f(b.numId,x)}else return null}else return null}function g(d){return l[d]||null}return{findLevel:f,findLevelByParagraphStyleId:g}}function n(o,s){if(!s||!s.styles)throw new Error("styles is missing");var c=i(o),u=a(o);return new t(u,c,s.styles)}function i(o){var s={};return o.getElementsByTagName("w:abstractNum").forEach(function(c){var u=c.attributes["w:abstractNumId"];s[u]=r(c)}),s}function r(o){var s={};o.getElementsByTagName("w:lvl").forEach(function(u){var l=u.attributes["w:ilvl"],f=u.firstOrEmpty("w:numFmt").attributes["w:val"],g=u.firstOrEmpty("w:pStyle").attributes["w:val"];s[l]={isOrdered:f!=="bullet",level:l,paragraphStyleId:g}});var c=o.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:s,numStyleLink:c}}function a(o){var s={};return o.getElementsByTagName("w:num").forEach(function(c){var u=c.attributes["w:numId"],l=c.first("w:abstractNumId").attributes["w:val"];s[u]={abstractNumId:l}}),s}return Nn}var Ln={},Hc;function Rm(){if(Hc)return Ln;Hc=1,Ln.readStylesXml=t,Ln.Styles=e,Ln.defaultStyles=new e({},{});function e(a,o,s,c){return{findParagraphStyleById:function(u){return a[u]},findCharacterStyleById:function(u){return o[u]},findTableStyleById:function(u){return s[u]},findNumberingStyleById:function(u){return c[u]}}}e.EMPTY=new e({},{},{},{});function t(a){var o={},s={},c={},u={},l={paragraph:o,character:s,table:c};return a.getElementsByTagName("w:style").forEach(function(f){var g=n(f);if(g.type==="numbering")u[g.styleId]=r(f);else{var d=l[g.type];d&&(d[g.styleId]=g)}}),new e(o,s,c,u)}function n(a){var o=a.attributes["w:type"],s=a.attributes["w:styleId"],c=i(a);return{type:o,styleId:s,name:c}}function i(a){var o=a.first("w:name");return o?o.attributes["w:val"]:null}function r(a){var o=a.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:o}}return Ln}var fn={},zc;function Im(){if(zc)return fn;zc=1;var e=un(),t=At().Result;fn.createFootnotesReader=n.bind(fn,"footnote"),fn.createEndnotesReader=n.bind(fn,"endnote");function n(i,r){function a(c){return t.combine(c.getElementsByTagName("w:"+i).filter(o).map(s))}function o(c){var u=c.attributes["w:type"];return u!=="continuationSeparator"&&u!=="separator"}function s(c){var u=c.attributes["w:id"];return r.readXmlElements(c.children).map(function(l){return e.Note({noteType:i,noteId:u,body:l})})}return a}return fn}var _a={},Xc;function Wm(){if(Xc)return _a;Xc=1;var e=un(),t=At().Result;function n(i){function r(o){return t.combine(o.getElementsByTagName("w:comment").map(a))}function a(o){var s=o.attributes["w:id"];function c(u){return(o.attributes[u]||"").trim()||null}return i.readXmlElements(o.children).map(function(u){return e.comment({commentId:s,body:u,authorName:c("w:author"),authorInitials:c("w:initials")})})}return r}return _a.createCommentsReader=n,_a}var wa={},Vc;function Om(){if(Vc)return wa;Vc=1;var e=jt();wa.Files=t;function t(){function n(i){return e.reject(new Error("could not open external image: '"+i+`'
93
+ cannot open linked files from a web browser`))}return{read:n}}return wa}var $c;function Mm(){if($c)return ci;$c=1,ci.read=x,ci._findPartPaths=m;var e=jt(),t=un(),n=At().Result,i=_d(),r=Em().readXmlFromZipFile,a=Fm().createBodyReader,o=Sm().DocumentXmlReader,s=Bm(),c=Nm(),u=Lm(),l=Rm(),f=Im(),g=Wm(),d=Om().Files;function x(A,W){return W=W||{},e.props({contentTypes:_(A),partPaths:m(A),docxFile:A,files:W.path?d.relativeToFile(W.path):new d(null)}).also(function(N){return{styles:E(A,N.partPaths.styles)}}).also(function(N){return{numbering:U(A,N.partPaths.numbering,N.styles)}}).also(function(N){return{footnotes:D(N.partPaths.footnotes,N,function(F,q){return q?f.createFootnotesReader(F)(q):new n([])}),endnotes:D(N.partPaths.endnotes,N,function(F,q){return q?f.createEndnotesReader(F)(q):new n([])}),comments:D(N.partPaths.comments,N,function(F,q){return q?g.createCommentsReader(F)(q):new n([])})}}).also(function(N){return{notes:N.footnotes.flatMap(function(F){return N.endnotes.map(function(q){return new t.Notes(F.concat(q))})})}}).then(function(N){return D(N.partPaths.mainDocument,N,function(F,q){return N.notes.flatMap(function(v){return N.comments.flatMap(function(k){var V=new o({bodyReader:F,notes:v,comments:k});return V.convertXmlToDocument(q)})})})})}function m(A){return L(A).then(function(W){var N=h({docxFile:A,relationships:W,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!A.exists(N))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return p({filename:w(N),readElement:s.readRelationships,defaultValue:s.defaultValue})(A).then(function(F){function q(v){return h({docxFile:A,relationships:F,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+v,basePath:i.splitPath(N).dirname,fallbackPath:"word/"+v+".xml"})}return{mainDocument:N,comments:q("comments"),endnotes:q("endnotes"),footnotes:q("footnotes"),numbering:q("numbering"),styles:q("styles")}})})}function h(A){var W=A.docxFile,N=A.relationships,F=A.relationshipType,q=A.basePath,v=A.fallbackPath,k=N.findTargetsByType(F),V=k.map(function(J){return b(i.joinPath(q,J),"/")}),P=V.filter(function(J){return W.exists(J)});return P.length===0?v:P[0]}function b(A,W){return A.substring(0,W.length)===W?A.substring(W.length):A}function p(A){return function(W){return r(W,A.filename).then(function(N){return N?A.readElement(N):A.defaultValue})}}function D(A,W,N){var F=p({filename:w(A),readElement:s.readRelationships,defaultValue:s.defaultValue});return F(W.docxFile).then(function(q){var v=new a({relationships:q,contentTypes:W.contentTypes,docxFile:W.docxFile,numbering:W.numbering,styles:W.styles,files:W.files});return r(W.docxFile,A).then(function(k){return N(v,k)})})}function w(A){var W=i.splitPath(A);return i.joinPath(W.dirname,"_rels",W.basename+".rels")}var _=p({filename:"[Content_Types].xml",readElement:c.readContentTypesFromXml,defaultValue:c.defaultContentTypes});function U(A,W,N){return p({filename:W,readElement:function(F){return u.readNumberingXml(F,{styles:N})},defaultValue:u.defaultNumbering})(A)}function E(A,W){return p({filename:W,readElement:l.readStylesXml,defaultValue:l.defaultStyles})(A)}var L=p({filename:"_rels/.rels",readElement:s.readRelationships,defaultValue:s.defaultValue});return ci}var xi={},Kc;function Pm(){if(Kc)return xi;Kc=1;var e=Pe,t=jt(),n=as();xi.writeStyleMap=o,xi.readStyleMap=l;var i="http://schemas.zwobble.org/mammoth/style-map",r="mammoth/style-map",a="/"+r;function o(f,g){return f.write(r,g),s(f).then(function(){return c(f)})}function s(f){var g="word/_rels/document.xml.rels",d="http://schemas.openxmlformats.org/package/2006/relationships",x="{"+d+"}Relationship";return f.read(g,"utf8").then(n.readString).then(function(m){var h=m.children;u(h,x,"Id",{Id:"rMammothStyleMap",Type:i,Target:a});var b={"":d};return f.write(g,n.writeString(m,b))})}function c(f){var g="[Content_Types].xml",d="http://schemas.openxmlformats.org/package/2006/content-types",x="{"+d+"}Override";return f.read(g,"utf8").then(n.readString).then(function(m){var h=m.children;u(h,x,"PartName",{PartName:a,ContentType:"text/prs.mammoth.style-map"});var b={"":d};return f.write(g,n.writeString(m,b))})}function u(f,g,d,x){var m=e.find(f,function(h){return h.name===g&&h.attributes[d]===x[d]});m?m.attributes=x:f.push(n.element(g,x))}function l(f){return f.exists(r)?f.read(r,"utf8"):t.resolve(null)}return xi}var Di={},Yt={},wt={},Nt={},Gc;function Ad(){if(Gc)return Nt;Gc=1;var e=Kr();function t(c,u,l){return i(e.element(c,u,{fresh:!1}),l)}function n(c,u,l){var f=e.element(c,u,{fresh:!0});return i(f,l)}function i(c,u){return{type:"element",tag:c,children:u||[]}}function r(c){return{type:"text",value:c}}var a={type:"forceWrite"};Nt.freshElement=n,Nt.nonFreshElement=t,Nt.elementWithTag=i,Nt.text=r,Nt.forceWrite=a;var o={br:!0,hr:!0,img:!0,input:!0};function s(c){return c.children.length===0&&o[c.tag.tagName]}return Nt.isVoidElement=s,Nt}var Ta,Zc;function jm(){if(Zc)return Ta;Zc=1;var e=Pe,t=Ad();function n(m){return i(u(m))}function i(m){var h=[];return m.map(r).forEach(function(b){c(h,b)}),h}function r(m){return a[m.type](m)}var a={element:o,text:s,forceWrite:s};function o(m){return t.elementWithTag(m.tag,i(m.children))}function s(m){return m}function c(m,h){var b=m[m.length-1];h.type==="element"&&!h.tag.fresh&&b&&b.type==="element"&&h.tag.matchesElement(b.tag)?(h.tag.separator&&c(b.children,t.text(h.tag.separator)),h.children.forEach(function(p){c(b.children,p)})):m.push(h)}function u(m){return l(m,function(h){return f[h.type](h)})}function l(m,h){return e.flatten(e.map(m,h),!0)}var f={element:d,text:x,forceWrite:g};function g(m){return[m]}function d(m){var h=u(m.children);return h.length===0&&!t.isVoidElement(m)?[]:[t.elementWithTag(m.tag,h)]}function x(m){return m.value.length===0?[]:[m]}return Ta=n,Ta}var Yc;function $r(){if(Yc)return wt;Yc=1;var e=Ad();wt.freshElement=e.freshElement,wt.nonFreshElement=e.nonFreshElement,wt.elementWithTag=e.elementWithTag,wt.text=e.text,wt.forceWrite=e.forceWrite,wt.simplify=jm();function t(o,s){s.forEach(function(c){n(o,c)})}function n(o,s){i[s.type](o,s)}var i={element:r,text:a,forceWrite:function(){}};function r(o,s){e.isVoidElement(s)?o.selfClosing(s.tag.tagName,s.tag.attributes):(o.open(s.tag.tagName,s.tag.attributes),t(o,s.children),o.close(s.tag.tagName))}function a(o,s){o.text(s.value)}return wt.write=t,wt}var Qc;function Kr(){if(Qc)return Yt;Qc=1;var e=Pe,t=$r();Yt.topLevelElement=n,Yt.elements=i,Yt.element=a;function n(s,c){return i([a(s,c,{fresh:!0})])}function i(s){return new r(s.map(function(c){return e.isString(c)?a(c):c}))}function r(s){this._elements=s}r.prototype.wrap=function(c){for(var u=c(),l=this._elements.length-1;l>=0;l--)u=this._elements[l].wrapNodes(u);return u};function a(s,c,u){return u=u||{},new o(s,c,u)}function o(s,c,u){var l={};e.isArray(s)?(s.forEach(function(f){l[f]=!0}),s=s[0]):l[s]=!0,this.tagName=s,this.tagNames=l,this.attributes=c||{},this.fresh=u.fresh,this.separator=u.separator}return o.prototype.matchesElement=function(s){return this.tagNames[s.tagName]&&e.isEqual(this.attributes||{},s.attributes||{})},o.prototype.wrap=function(c){return this.wrapNodes(c())},o.prototype.wrapNodes=function(c){return[t.elementWithTag(this,c)]},Yt.empty=i([]),Yt.ignore={wrap:function(){return[]}},Yt}var Ua={},Jc;function Cd(){return Jc||(Jc=1,function(e){var t=Pe,n=jt(),i=$r();e.imgElement=r;function r(a){return function(o,s){return n.when(a(o)).then(function(c){var u={};return o.altText&&(u.alt=o.altText),t.extend(u,c),[i.freshElement("img",u)]})}}e.inline=e.imgElement,e.dataUri=r(function(a){return a.readAsBase64String().then(function(o){return{src:"data:"+a.contentType+";base64,"+o}})})}(Ua)),Ua}var Ea={},Aa={},eu;function qm(){if(eu)return Aa;eu=1;var e=Pe;Aa.writer=t;function t(s){return s=s||{},s.prettyPrint?i():r()}var n={div:!0,p:!0,ul:!0,li:!0};function i(){var s=0,c=" ",u=[],l=!0,f=!1,g=r();function d(_,U){n[_]&&D(),u.push(_),g.open(_,U),n[_]&&s++,l=!1}function x(_){n[_]&&(s--,D()),u.pop(),g.close(_)}function m(_){p();var U=w()?_:_.replace(`
94
+ `,`
95
+ `+c);g.text(U)}function h(_,U){D(),g.selfClosing(_,U)}function b(){return u.length===0||n[u[u.length-1]]}function p(){f||(D(),f=!0)}function D(){if(f=!1,!l&&b()&&!w()){g._append(`
96
+ `);for(var _=0;_<s;_++)g._append(c)}}function w(){return e.some(u,function(_){return _==="pre"})}return{asString:g.asString,open:d,close:x,text:m,selfClosing:h}}function r(){var s=[];function c(m,h){var b=f(h);s.push("<"+m+b+">")}function u(m){s.push("</"+m+">")}function l(m,h){var b=f(h);s.push("<"+m+b+" />")}function f(m){return e.map(m,function(h,b){return" "+b+'="'+o(h)+'"'}).join("")}function g(m){s.push(a(m))}function d(m){s.push(m)}function x(){return s.join("")}return{asString:x,open:c,close:u,text:g,selfClosing:l,_append:d}}function a(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function o(s){return s.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}return Aa}var Ca={},tu;function Hm(){if(tu)return Ca;tu=1;var e=Pe;function t(f){return n(f,f)}function n(f,g){return function(){return{start:f,end:g}}}function i(f){var g=f.href||"";return g?{start:"[",end:"]("+g+")",anchorPosition:"before"}:{}}function r(f){var g=f.src||"",d=f.alt||"";return g||d?{start:"!["+d+"]("+g+")"}:{}}function a(f){return function(g,d){return{start:d?`
97
+ `:"",end:d?"":`
98
+ `,list:{isOrdered:f.isOrdered,indent:d?d.indent+1:0,count:0}}}}function o(f,g,d){g=g||{indent:0,isOrdered:!1,count:0},g.count++,d.hasClosed=!1;var x=g.isOrdered?g.count+".":"-",m=c(" ",g.indent)+x+" ";return{start:m,end:function(){if(!d.hasClosed)return d.hasClosed=!0,`
99
+ `}}}var s={p:n("",`
100
+
101
+ `),br:n("",`
102
+ `),ul:a({isOrdered:!1}),ol:a({isOrdered:!0}),li:o,strong:t("__"),em:t("*"),a:i,img:r};(function(){for(var f=1;f<=6;f++)s["h"+f]=n(c("#",f)+" ",`
103
+
104
+ `)})();function c(f,g){return new Array(g+1).join(f)}function u(){var f=[],g=[],d=null,x={};function m(_,U){U=U||{};var E=s[_]||function(){return{}},L=E(U,d,x);g.push({end:L.end,list:d}),L.list&&(d=L.list);var A=L.anchorPosition==="before";A&&h(U),f.push(L.start||""),A||h(U)}function h(_){_.id&&f.push('<a id="'+_.id+'"></a>')}function b(_){var U=g.pop();d=U.list;var E=e.isFunction(U.end)?U.end():U.end;f.push(E||"")}function p(_,U){m(_,U),b()}function D(_){f.push(l(_))}function w(){return f.join("")}return{asString:w,open:m,close:b,text:D,selfClosing:p}}Ca.writer=u;function l(f){return f.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}return Ca}var nu;function zm(){if(nu)return Ea;nu=1;var e=qm(),t=Hm();Ea.writer=n;function n(i){return i=i||{},i.outputFormat==="markdown"?t.writer():e.writer(i)}return Ea}var iu;function Xm(){if(iu)return Di;iu=1;var e=Pe,t=jt(),n=un(),i=Kr(),r=At(),a=Cd(),o=$r(),s=zm();Di.DocumentConverter=c;function c(h){return{convertToHtml:function(b){var p=e.indexBy(b.type===n.types.document?b.comments:[],"commentId"),D=new u(h,p);return D.convertToHtml(b)}}}function u(h,b){var p=1,D=[],w=[];h=e.extend({ignoreEmptyParagraphs:!0},h);var _=h.idPrefix===void 0?"":h.idPrefix,U=h.ignoreEmptyParagraphs,E=i.topLevelElement("p"),L=h.styleMap||[];function A(y){var G=[],$=N(y,G,{}),R=[];x($,function(z){z.type==="deferred"&&R.push(z)});var B={};return t.mapSeries(R,function(z){return z.value().then(function(ae){B[z.id]=ae})}).then(function(){function z(te){return d(te,function(Z){return Z.type==="deferred"?B[Z.id]:Z.children?[e.extend({},Z,{children:z(Z.children)})]:[Z]})}var ae=s.writer({prettyPrint:h.prettyPrint,outputFormat:h.outputFormat});return o.write(ae,o.simplify(z($))),new r.Result(ae.asString(),G)})}function W(y,G,$){return d(y,function(R){return N(R,G,$)})}function N(y,G,$){if(!$)throw new Error("options not set");var R=Be[y.type];return R?R(y,G,$):[]}function F(y,G,$){return q(y,G).wrap(function(){var R=W(y.children,G,$);return U?R:[o.forceWrite].concat(R)})}function q(y,G){var $=P(y);return $?$.to:(y.styleId&&G.push(g("paragraph",y)),E)}function v(y,G,$){var R=function(){return W(y.children,G,$)},B=[];if(y.highlight!==null){var z=V({type:"highlight",color:y.highlight});z&&B.push(z)}y.isSmallCaps&&B.push(k("smallCaps")),y.isAllCaps&&B.push(k("allCaps")),y.isStrikethrough&&B.push(k("strikethrough","s")),y.isUnderline&&B.push(k("underline")),y.verticalAlignment===n.verticalAlignment.subscript&&B.push(i.element("sub",{},{fresh:!1})),y.verticalAlignment===n.verticalAlignment.superscript&&B.push(i.element("sup",{},{fresh:!1})),y.isItalic&&B.push(k("italic","em")),y.isBold&&B.push(k("bold","strong"));var ae=i.empty,te=P(y);return te?ae=te.to:y.styleId&&G.push(g("run",y)),B.push(ae),B.forEach(function(Z){R=Z.wrap.bind(Z,R)}),R()}function k(y,G){var $=V({type:y});return $||(G?i.element(G,{},{fresh:!1}):i.empty)}function V(y,G){var $=P(y);return $?$.to:G}function P(y){for(var G=0;G<L.length;G++)if(L[G].from.matches(y))return L[G]}function J(y){return function(G,$){return t.attempt(function(){return y(G,$)}).caught(function(R){return $.push(r.error(R)),[]})}}function K(y){return j(y.noteType,y.noteId)}function re(y){return I(y.noteType,y.noteId)}function j(y,G){return oe(y+"-"+G)}function I(y,G){return oe(y+"-ref-"+G)}function oe(y){return _+y}var se=i.elements([i.element("table",{},{fresh:!0})]);function ie(y,G,$){return V(y,se).wrap(function(){return he(y,G,$)})}function he(y,G,$){var R=e.findIndex(y.children,function(te){return!te.type===n.types.tableRow||!te.isHeader});R===-1&&(R=y.children.length);var B;if(R===0)B=W(y.children,G,e.extend({},$,{isTableHeader:!1}));else{var z=W(y.children.slice(0,R),G,e.extend({},$,{isTableHeader:!0})),ae=W(y.children.slice(R),G,e.extend({},$,{isTableHeader:!1}));B=[o.freshElement("thead",{},z),o.freshElement("tbody",{},ae)]}return[o.forceWrite].concat(B)}function _e(y,G,$){var R=W(y.children,G,$);return[o.freshElement("tr",{},[o.forceWrite].concat(R))]}function ge(y,G,$){var R=$.isTableHeader?"th":"td",B=W(y.children,G,$),z={};return y.colSpan!==1&&(z.colspan=y.colSpan.toString()),y.rowSpan!==1&&(z.rowspan=y.rowSpan.toString()),[o.freshElement(R,z,[o.forceWrite].concat(B))]}function ye(y,G,$){return V(y,i.ignore).wrap(function(){var R=b[y.commentId],B=w.length+1,z="["+m(R)+B+"]";return w.push({label:z,comment:R}),[o.freshElement("a",{href:"#"+j("comment",y.commentId),id:I("comment",y.commentId)},[o.text(z)])]})}function xe(y,G,$){var R=y.label,B=y.comment,z=W(B.body,G,$).concat([o.nonFreshElement("p",{},[o.text(" "),o.freshElement("a",{href:"#"+I("comment",B.commentId)},[o.text("↑")])])]);return[o.freshElement("dt",{id:j("comment",B.commentId)},[o.text("Comment "+R)]),o.freshElement("dd",{},z)]}function ve(y,G,$){return ke(y).wrap(function(){return[]})}function ke(y){var G=P(y);return G?G.to:y.breakType==="line"?i.topLevelElement("br"):i.empty}var Be={document:function(y,G,$){var R=W(y.children,G,$),B=D.map(function(ae){return y.notes.resolve(ae)}),z=W(B,G,$);return R.concat([o.freshElement("ol",{},z),o.freshElement("dl",{},d(w,function(ae){return xe(ae,G,$)}))])},paragraph:F,run:v,text:function(y,G,$){return[o.text(y.value)]},tab:function(y,G,$){return[o.text(" ")]},hyperlink:function(y,G,$){var R=y.anchor?"#"+oe(y.anchor):y.href,B={href:R};y.targetFrame!=null&&(B.target=y.targetFrame);var z=W(y.children,G,$);return[o.nonFreshElement("a",B,z)]},checkbox:function(y){var G={type:"checkbox"};return y.checked&&(G.checked="checked"),[o.freshElement("input",G)]},bookmarkStart:function(y,G,$){var R=o.freshElement("a",{id:oe(y.name)},[o.forceWrite]);return[R]},noteReference:function(y,G,$){D.push(y);var R=o.freshElement("a",{href:"#"+K(y),id:re(y)},[o.text("["+p+++"]")]);return[o.freshElement("sup",{},[R])]},note:function(y,G,$){var R=W(y.body,G,$),B=o.elementWithTag(i.element("p",{},{fresh:!1}),[o.text(" "),o.freshElement("a",{href:"#"+re(y)},[o.text("↑")])]),z=R.concat([B]);return o.freshElement("li",{id:K(y)},z)},commentReference:ye,comment:xe,image:f(J(h.convertImage||a.dataUri)),table:ie,tableRow:_e,tableCell:ge,break:ve};return{convertToHtml:A}}var l=1;function f(h){return function(b,p,D){return[{type:"deferred",id:l++,value:function(){return h(b,p,D)}}]}}function g(h,b){return r.warning("Unrecognised "+h+" style: '"+b.styleName+"' (Style ID: "+b.styleId+")")}function d(h,b){return e.flatten(h.map(b),!0)}function x(h,b){h.forEach(function(p){b(p),p.children&&x(p.children,b)})}var m=Di.commentAuthorLabel=function(b){return b.authorInitials||""};return Di}var ka={},ru;function Vm(){if(ru)return ka;ru=1;var e=un();function t(n){if(n.type==="text")return n.value;if(n.type===e.types.tab)return" ";var i=n.type==="paragraph"?`
105
+
106
+ `:"";return(n.children||[]).map(t).join("")+i}return ka.convertElementToRawText=t,ka}var Rn={},ct={},Fa={},Sa={exports:{}},au;function $m(){if(au)return Sa.exports;au=1;var e=Sa.exports=function(t,n){this._tokens=t,this._startIndex=n||0};return e.prototype.head=function(){return this._tokens[this._startIndex]},e.prototype.tail=function(t){return new e(this._tokens,this._startIndex+1)},e.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},e.prototype.end=function(){return this._tokens[this._tokens.length-1]},e.prototype.to=function(t){var n=this.head().source,i=t.head()||t.end();return n.to(i.source)},Sa.exports}var ou;function Km(){if(ou)return Fa;ou=1;var e=$m();return Fa.Parser=function(t){var n=function(i,r){return i(new e(r))};return{parseTokens:n}},Fa}var Ba={},Na={},su;function Gm(){return su||(su=1,function(e){e.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return e.none},flatMap:function(){return e.none},filter:function(){return e.none},toArray:function(){return[]},orElse:t,valueOrElse:t});function t(i){return typeof i=="function"?i():i}e.some=function(i){return new n(i)};var n=function(i){this._value=i};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(i){return new n(i(this._value))},n.prototype.flatMap=function(i){return i(this._value)},n.prototype.filter=function(i){return i(this._value)?this:e.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(i){return this},n.prototype.valueOrElse=function(i){return this._value},e.isOption=function(i){return i===e.none||i instanceof n},e.fromNullable=function(i){return i==null?e.none:new n(i)}}(Na)),Na}var La,cu;function os(){if(cu)return La;cu=1,La={failure:function(t,n){if(t.length<1)throw new Error("Failure must have errors");return new e({status:"failure",remaining:n,errors:t})},error:function(t,n){if(t.length<1)throw new Error("Failure must have errors");return new e({status:"error",remaining:n,errors:t})},success:function(t,n,i){return new e({status:"success",value:t,source:i,remaining:n,errors:[]})},cut:function(t){return new e({status:"cut",remaining:t,errors:[]})}};var e=function(t){this._value=t.value,this._status=t.status,this._hasValue=t.value!==void 0,this._remaining=t.remaining,this._source=t.source,this._errors=t.errors};return e.prototype.map=function(t){return this._hasValue?new e({value:t(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},e.prototype.changeRemaining=function(t){return new e({value:this._value,status:this._status,remaining:t,source:this._source,errors:this._errors})},e.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"},e.prototype.isFailure=function(){return this._status==="failure"},e.prototype.isError=function(){return this._status==="error"},e.prototype.isCut=function(){return this._status==="cut"},e.prototype.value=function(){return this._value},e.prototype.remaining=function(){return this._remaining},e.prototype.source=function(){return this._source},e.prototype.errors=function(){return this._errors},La}var Ra={},uu;function kd(){if(uu)return Ra;uu=1,Ra.error=function(t){return new e(t)};var e=function(t){this.expected=t.expected,this.actual=t.actual,this._location=t.location};return e.prototype.describe=function(){var t=this._location?this._location.describe()+`:
107
+ `:"";return t+"Expected "+this.expected+`
108
+ but got `+this.actual},e.prototype.lineNumber=function(){return this._location.lineNumber()},e.prototype.characterNumber=function(){return this._location.characterNumber()},Ra}var Ia={},lu;function Zm(){if(lu)return Ia;lu=1,Ia.fromArray=function(t){var n=0,i=function(){return n<t.length};return new e({hasNext:i,next:function(){if(i())return t[n++];throw new Error("No more elements")}})};var e=function(t){this._iterator=t};return e.prototype.map=function(t){var n=this._iterator;return new e({hasNext:function(){return n.hasNext()},next:function(){return t(n.next())}})},e.prototype.filter=function(t){var n=this._iterator,i=!1,r=!1,a,o=function(){if(!i)for(i=!0,r=!1;n.hasNext()&&!r;)a=n.next(),r=t(a)};return new e({hasNext:function(){return o(),r},next:function(){o();var s=a;return i=!1,s}})},e.prototype.first=function(){var t=this._iterator;return this._iterator.hasNext()?t.next():null},e.prototype.toArray=function(){for(var t=[];this._iterator.hasNext();)t.push(this._iterator.next());return t},Ia}var du;function Fd(){return du||(du=1,function(e){var t=Pe,n=Gm(),i=os(),r=kd(),a=Zm();e.token=function(g,d){var x=d!==void 0;return function(m){var h=m.head();if(h&&h.name===g&&(!x||h.value===d))return i.success(h.value,m.tail(),h.source);var b=l({name:g,value:d});return f(m,b)}},e.tokenOfType=function(g){return e.token(g)},e.firstOf=function(g,d){return t.isArray(d)||(d=Array.prototype.slice.call(arguments,1)),function(x){return a.fromArray(d).map(function(m){return m(x)}).filter(function(m){return m.isSuccess()||m.isError()}).first()||f(x,g)}},e.then=function(g,d){return function(x){var m=g(x);return m.map||console.log(m),m.map(d)}},e.sequence=function(){var g=Array.prototype.slice.call(arguments,0),d=function(m){var h=t.foldl(g,function(p,D){var w=p.result,_=p.hasCut;if(!w.isSuccess())return{result:w,hasCut:_};var U=D(w.remaining());if(U.isCut())return{result:w,hasCut:!0};if(U.isSuccess()){var E;D.isCaptured?E=w.value().withValue(D,U.value()):E=w.value();var L=U.remaining(),A=m.to(L);return{result:i.success(E,L,A),hasCut:_}}else return _?{result:i.error(U.errors(),U.remaining()),hasCut:_}:{result:U,hasCut:_}},{result:i.success(new o,m),hasCut:!1}).result,b=m.to(h.remaining());return h.map(function(p){return p.withValue(e.sequence.source,b)})};d.head=function(){var m=t.find(g,x);return e.then(d,e.sequence.extract(m))},d.map=function(m){return e.then(d,function(h){return m.apply(this,h.toArray())})};function x(m){return m.isCaptured}return d};var o=function(g,d){this._values=g||{},this._valuesArray=d||[]};o.prototype.withValue=function(g,d){if(g.captureName&&g.captureName in this._values)throw new Error('Cannot add second value for capture "'+g.captureName+'"');var x=t.clone(this._values);x[g.captureName]=d;var m=this._valuesArray.concat([d]);return new o(x,m)},o.prototype.get=function(g){if(g.captureName in this._values)return this._values[g.captureName];throw new Error('No value for capture "'+g.captureName+'"')},o.prototype.toArray=function(){return this._valuesArray},e.sequence.capture=function(g,d){var x=function(){return g.apply(this,arguments)};return x.captureName=d,x.isCaptured=!0,x},e.sequence.extract=function(g){return function(d){return d.get(g)}},e.sequence.applyValues=function(g){var d=Array.prototype.slice.call(arguments,1);return function(x){var m=d.map(function(h){return x.get(h)});return g.apply(this,m)}},e.sequence.source={captureName:"☃source☃"},e.sequence.cut=function(){return function(g){return i.cut(g)}},e.optional=function(g){return function(d){var x=g(d);return x.isSuccess()?x.map(n.some):x.isFailure()?i.success(n.none,d):x}},e.zeroOrMoreWithSeparator=function(g,d){return u(g,d,!1)},e.oneOrMoreWithSeparator=function(g,d){return u(g,d,!0)};var s=e.zeroOrMore=function(g){return function(d){for(var x=[],m;(m=g(d))&&m.isSuccess();)d=m.remaining(),x.push(m.value());return m.isError()?m:i.success(x,d)}};e.oneOrMore=function(g){return e.oneOrMoreWithSeparator(g,c)};function c(g){return i.success(null,g)}var u=function(g,d,x){return function(m){var h=g(m);if(h.isSuccess()){var b=e.sequence.capture(g,"main"),p=s(e.then(e.sequence(d,b),e.sequence.extract(b))),D=p(h.remaining());return i.success([h.value()].concat(D.value()),D.remaining())}else return x||h.isError()?h:i.success([],m)}};e.leftAssociative=function(g,d,x){var m;x?m=[{func:x,rule:d}]:m=d,m=m.map(function(b){return e.then(b.rule,function(p){return function(D,w){return b.func(D,p,w)}})});var h=e.firstOf.apply(null,["rules"].concat(m));return function(b){var p=b,D=g(b);if(!D.isSuccess())return D;for(var w=h(D.remaining());w.isSuccess();){var _=w.remaining(),U=p.to(w.remaining()),E=w.value();D=i.success(E(D.value(),U),_,U),w=h(D.remaining())}return w.isError()?w:D}},e.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},e.nonConsuming=function(g){return function(d){return g(d).changeRemaining(d)}};var l=function(g){return g.value?g.name+' "'+g.value+'"':g.name};function f(g,d){var x,m=g.head();return m?x=r.error({expected:d,actual:l(m),location:m.source}):x=r.error({expected:d,actual:"end of tokens"}),i.failure([x],g)}}(Ba)),Ba}var Wa={exports:{}},hu;function Sd(){if(hu)return Wa.exports;hu=1,Wa.exports=function(t,n){var i={asString:function(){return t},range:function(r,a){return new e(t,n,r,a)}};return i};var e=function(t,n,i,r){this._string=t,this._description=n,this._startIndex=i,this._endIndex=r};return e.prototype.to=function(t){return new e(this._string,this._description,this._startIndex,t._endIndex)},e.prototype.describe=function(){var t=this._position(),n=this._description?this._description+`
109
+ `:"";return n+"Line number: "+t.lineNumber+`
110
+ Character number: `+t.characterNumber},e.prototype.lineNumber=function(){return this._position().lineNumber},e.prototype.characterNumber=function(){return this._position().characterNumber},e.prototype._position=function(){for(var t=this,n=0,i=function(){return t._string.indexOf(`
111
+ `,n)},r=1;i()!==-1&&i()<this._startIndex;)n=i()+1,r+=1;var a=this._startIndex-n+1;return{lineNumber:r,characterNumber:a}},Wa.exports}var Oa,fu;function Bd(){return fu||(fu=1,Oa=function(e,t,n){this.name=e,this.value=t,n&&(this.source=n)}),Oa}var Ma={},gu;function Ym(){return gu||(gu=1,function(e){var t=Fd(),n=os();e.parser=function(a,o,s){var c={rule:g,leftAssociative:d,rightAssociative:x},u=new i(s.map(f)),l=t.firstOf(a,o);function f(b){return{name:b.name,rule:r(b.ruleBuilder.bind(null,c))}}function g(){return m(u)}function d(b){return m(u.untilExclusive(b))}function x(b){return m(u.untilInclusive(b))}function m(b){return h.bind(null,b)}function h(b,p){var D=l(p);return D.isSuccess()?b.apply(D):D}return c};function i(a){function o(f){return new i(a.slice(0,c().indexOf(f)))}function s(f){return new i(a.slice(0,c().indexOf(f)+1))}function c(){return a.map(function(f){return f.name})}function u(f){for(var g,d;;)if(g=l(f.remaining()),g.isSuccess())d=f.source().to(g.source()),f=n.success(g.value()(f.value(),d),g.remaining(),d);else return g.isFailure()?f:g}function l(f){return t.firstOf("infix",a.map(function(g){return g.rule}))(f)}return{apply:u,untilExclusive:o,untilInclusive:s}}e.infix=function(a,o){function s(c){return e.infix(a,function(u){var l=o(u);return function(f){var g=l(f);return g.map(function(d){return function(x,m){return c(x,d,m)}})}})}return{name:a,ruleBuilder:o,map:s}};var r=function(a){var o;return function(s){return o||(o=a()),o(s)}}}(Ma)),Ma}var Pa={},pu;function Qm(){if(pu)return Pa;pu=1;var e=Bd(),t=Sd();Pa.RegexTokeniser=n;function n(i){i=i.map(function(s){return{name:s.name,regex:new RegExp(s.regex.source,"g")}});function r(s,c){for(var u=new t(s,c),l=0,f=[];l<s.length;){var g=a(s,l,u);l=g.endIndex,f.push(g.token)}return f.push(o(s,u)),f}function a(s,c,u){for(var l=0;l<i.length;l++){var f=i[l].regex;f.lastIndex=c;var g=f.exec(s);if(g){var x=c+g[0].length;if(g.index===c&&x>c){var d=g[1],m=new e(i[l].name,d,u.range(c,x));return{token:m,endIndex:x}}}}var x=c+1,m=new e("unrecognisedCharacter",s.substring(c,x),u.range(c,x));return{token:m,endIndex:x}}function o(s,c){return new e("end",null,c.range(s.length,s.length))}return{tokenise:r}}return Pa}var mu;function Nd(){return mu||(mu=1,ct.Parser=Km().Parser,ct.rules=Fd(),ct.errors=kd(),ct.results=os(),ct.StringSource=Sd(),ct.Token=Bd(),ct.bottomUp=Ym(),ct.RegexTokeniser=Qm().RegexTokeniser,ct.rule=function(e){var t;return function(n){return t||(t=e()),t(n)}}),ct}var qe={},bu;function Jm(){if(bu)return qe;bu=1,qe.paragraph=e,qe.run=t,qe.table=n,qe.bold=new r("bold"),qe.italic=new r("italic"),qe.underline=new r("underline"),qe.strikethrough=new r("strikethrough"),qe.allCaps=new r("allCaps"),qe.smallCaps=new r("smallCaps"),qe.highlight=i,qe.commentReference=new r("commentReference"),qe.lineBreak=new o({breakType:"line"}),qe.pageBreak=new o({breakType:"page"}),qe.columnBreak=new o({breakType:"column"}),qe.equalTo=c,qe.startsWith=u;function e(g){return new r("paragraph",g)}function t(g){return new r("run",g)}function n(g){return new r("table",g)}function i(g){return new a(g)}function r(g,d){d=d||{},this._elementType=g,this._styleId=d.styleId,this._styleName=d.styleName,d.list&&(this._listIndex=d.list.levelIndex,this._listIsOrdered=d.list.isOrdered)}r.prototype.matches=function(g){return g.type===this._elementType&&(this._styleId===void 0||g.styleId===this._styleId)&&(this._styleName===void 0||g.styleName&&this._styleName.operator(this._styleName.operand,g.styleName))&&(this._listIndex===void 0||s(g,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===g.breakType)};function a(g){g=g||{},this._color=g.color}a.prototype.matches=function(g){return g.type==="highlight"&&(this._color===void 0||g.color===this._color)};function o(g){g=g||{},this._breakType=g.breakType}o.prototype.matches=function(g){return g.type==="break"&&(this._breakType===void 0||g.breakType===this._breakType)};function s(g,d,x){return g.numbering&&g.numbering.level==d&&g.numbering.isOrdered==x}function c(g){return{operator:l,operand:g}}function u(g){return{operator:f,operand:g}}function l(g,d){return g.toUpperCase()===d.toUpperCase()}function f(g,d){return d.toUpperCase().indexOf(g.toUpperCase())===0}return qe}var ja={},yu;function e2(){if(yu)return ja;yu=1;var e=Nd(),t=e.RegexTokeniser;ja.tokenise=i;var n="'((?:\\\\.|[^'])*)";function i(r){var a="(?:[a-zA-Z\\-_]|\\\\.)",o=new t([{name:"identifier",regex:new RegExp("("+a+"(?:"+a+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(n+"'")},{name:"unterminated-string",regex:new RegExp(n)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return o.tokenise(r)}return ja}var xu;function t2(){if(xu)return Rn;xu=1;var e=Pe,t=Nd(),n=Jm(),i=Kr(),r=e2().tokenise,a=At();Rn.readHtmlPath=l,Rn.readDocumentMatcher=c,Rn.readStyle=o;function o(L){return w(E,L)}function s(){return t.rules.sequence(t.rules.sequence.capture(u()),t.rules.tokenOfType("whitespace"),t.rules.tokenOfType("arrow"),t.rules.sequence.capture(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("whitespace"),t.rules.sequence.capture(f())).head())),t.rules.tokenOfType("end")).map(function(L,A){return{from:L,to:A.valueOrElse(i.empty)}})}function c(L){return w(u(),L)}function u(){var L=t.rules.sequence,A=function(xe,ve){return t.rules.then(t.rules.token("identifier",xe),function(){return ve})},W=A("p",n.paragraph),N=A("r",n.run),F=t.rules.firstOf("p or r or table",W,N),q=t.rules.sequence(t.rules.tokenOfType("dot"),t.rules.sequence.cut(),t.rules.sequence.capture(g)).map(function(xe){return{styleId:xe}}),v=t.rules.firstOf("style name matcher",t.rules.then(t.rules.sequence(t.rules.tokenOfType("equals"),t.rules.sequence.cut(),t.rules.sequence.capture(x)).head(),function(xe){return{styleName:n.equalTo(xe)}}),t.rules.then(t.rules.sequence(t.rules.tokenOfType("startsWith"),t.rules.sequence.cut(),t.rules.sequence.capture(x)).head(),function(xe){return{styleName:n.startsWith(xe)}})),k=t.rules.sequence(t.rules.tokenOfType("open-square-bracket"),t.rules.sequence.cut(),t.rules.token("identifier","style-name"),t.rules.sequence.capture(v),t.rules.tokenOfType("close-square-bracket")).head(),V=t.rules.firstOf("list type",A("ordered-list",{isOrdered:!0}),A("unordered-list",{isOrdered:!1})),P=L(t.rules.tokenOfType("colon"),L.capture(V),L.cut(),t.rules.tokenOfType("open-paren"),L.capture(d),t.rules.tokenOfType("close-paren")).map(function(xe,ve){return{list:{isOrdered:xe.isOrdered,levelIndex:ve-1}}});function J(xe){var ve=t.rules.firstOf.apply(t.rules.firstOf,["matcher suffix"].concat(xe)),ke=t.rules.zeroOrMore(ve);return t.rules.then(ke,function(Be){var y={};return Be.forEach(function(G){e.extend(y,G)}),y})}var K=L(L.capture(F),L.capture(J([q,k,P]))).map(function(xe,ve){return xe(ve)}),re=L(t.rules.token("identifier","table"),L.capture(J([q,k]))).map(function(xe){return n.table(xe)}),j=A("b",n.bold),I=A("i",n.italic),oe=A("u",n.underline),se=A("strike",n.strikethrough),ie=A("all-caps",n.allCaps),he=A("small-caps",n.smallCaps),_e=L(t.rules.token("identifier","highlight"),t.rules.sequence.capture(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("open-square-bracket"),t.rules.sequence.cut(),t.rules.token("identifier","color"),t.rules.tokenOfType("equals"),t.rules.sequence.capture(x),t.rules.tokenOfType("close-square-bracket")).head()))).map(function(xe){return n.highlight({color:xe.valueOrElse(void 0)})}),ge=A("comment-reference",n.commentReference),ye=L(t.rules.token("identifier","br"),L.cut(),t.rules.tokenOfType("open-square-bracket"),t.rules.token("identifier","type"),t.rules.tokenOfType("equals"),L.capture(x),t.rules.tokenOfType("close-square-bracket")).map(function(xe){switch(xe){case"line":return n.lineBreak;case"page":return n.pageBreak;case"column":return n.columnBreak}});return t.rules.firstOf("element type",K,re,j,I,oe,se,ie,he,_e,ge,ye)}function l(L){return w(f(),L)}function f(){var L=t.rules.sequence.capture,A=t.rules.tokenOfType("whitespace"),W=t.rules.then(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("colon"),t.rules.token("identifier","fresh"))),function(v){return v.map(function(){return!0}).valueOrElse(!1)}),N=t.rules.then(t.rules.optional(t.rules.sequence(t.rules.tokenOfType("colon"),t.rules.token("identifier","separator"),t.rules.tokenOfType("open-paren"),L(x),t.rules.tokenOfType("close-paren")).head()),function(v){return v.valueOrElse("")}),F=t.rules.oneOrMoreWithSeparator(g,t.rules.tokenOfType("choice")),q=t.rules.sequence(L(F),L(t.rules.zeroOrMore(D)),L(W),L(N)).map(function(v,k,V,P){var J={},K={};return k.forEach(function(re){re.append&&J[re.name]?J[re.name]+=" "+re.value:J[re.name]=re.value}),V&&(K.fresh=!0),P&&(K.separator=P),i.element(v,J,K)});return t.rules.firstOf("html path",t.rules.then(t.rules.tokenOfType("bang"),function(){return i.ignore}),t.rules.then(t.rules.zeroOrMoreWithSeparator(q,t.rules.sequence(A,t.rules.tokenOfType("gt"),A)),i.elements))}var g=t.rules.then(t.rules.tokenOfType("identifier"),h),d=t.rules.tokenOfType("integer"),x=t.rules.then(t.rules.tokenOfType("string"),h),m={n:`
112
+ `,r:"\r",t:" "};function h(L){return L.replace(/\\(.)/g,function(A,W){return m[W]||W})}var b=t.rules.sequence(t.rules.tokenOfType("open-square-bracket"),t.rules.sequence.cut(),t.rules.sequence.capture(g),t.rules.tokenOfType("equals"),t.rules.sequence.capture(x),t.rules.tokenOfType("close-square-bracket")).map(function(L,A){return{name:L,value:A,append:!1}}),p=t.rules.sequence(t.rules.tokenOfType("dot"),t.rules.sequence.cut(),t.rules.sequence.capture(g)).map(function(L){return{name:"class",value:L,append:!0}}),D=t.rules.firstOf("attribute or class",b,p);function w(L,A){var W=r(A),N=t.Parser(),F=N.parseTokens(L,W);return F.isSuccess()?a.success(F.value()):new a.Result(null,[a.warning(_(A,F))])}function _(L,A){return"Did not understand this style mapping, so ignored it: "+L+`
113
+ `+A.errors().map(U).join(`
114
+ `)}function U(L){return"Error was at character number "+L.characterNumber()+": Expected "+L.expected+" but got "+L.actual}var E=s();return Rn}var In={},Du;function n2(){if(Du)return In;Du=1,In.readOptions=i;var e=Pe,t=In._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],n=In._standardOptions={transformDocument:a,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function i(o){return o=o||{},e.extend({},n,o,{customStyleMap:r(o.styleMap),readStyleMap:function(){var s=this.customStyleMap;return this.includeEmbeddedStyleMap&&(s=s.concat(r(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(s=s.concat(t)),s}})}function r(o){return o?e.isString(o)?o.split(`
115
+ `).map(function(s){return s.trim()}).filter(function(s){return s!==""&&s.charAt(0)!=="#"}):o:[]}function a(o){return o}return In}var qa={},vu;function i2(){if(vu)return qa;vu=1;var e=jt(),t=_d();qa.openZip=n;function n(i){return i.arrayBuffer?e.resolve(t.openArrayBuffer(i.arrayBuffer)):e.reject(new Error("Could not find file in options"))}return qa}var Qt={},_u;function r2(){if(_u)return Qt;_u=1;var e=Pe;Qt.paragraph=t,Qt.run=n,Qt._elements=r,Qt.getDescendantsOfType=a,Qt.getDescendants=o;function t(c){return i("paragraph",c)}function n(c){return i("run",c)}function i(c,u){return r(function(l){return l.type===c?u(l):l})}function r(c){return function u(l){if(l.children){var f=e.map(l.children,u);l=e.extend(l,{children:f})}return c(l)}}function a(c,u){return o(c).filter(function(l){return l.type===u})}function o(c){var u=[];return s(c,function(l){u.push(l)}),u}function s(c,u){c.children&&c.children.forEach(function(l){s(l,u),u(l)})}return Qt}var Ha={},wu;function a2(){if(wu)return Ha;wu=1;var e=Kr(),t=$r();Ha.element=n;function n(i){return function(r){return t.elementWithTag(e.element(i),[r])}}return Ha}var Tu;function o2(){if(Tu)return nt;Tu=1;var e=Pe,t=Mm(),n=Pm(),i=Xm().DocumentConverter,r=Vm().convertElementToRawText,a=t2().readStyle,o=n2().readOptions,s=i2(),c=At().Result;nt.convertToHtml=u,nt.convertToMarkdown=l,nt.convert=f,nt.extractRawText=m,nt.images=Cd(),nt.transforms=r2(),nt.underline=a2(),nt.embedStyleMap=h,nt.readEmbeddedStyleMap=g;function u(b,p){return f(b,p)}function l(b,p){var D=Object.create(p||{});return D.outputFormat="markdown",f(b,D)}function f(b,p){return p=o(p),s.openZip(b).tap(function(D){return n.readStyleMap(D).then(function(w){p.embeddedStyleMap=w})}).then(function(D){return t.read(D,b).then(function(w){return w.map(p.transformDocument)}).then(function(w){return d(w,p)})})}function g(b){return s.openZip(b).then(n.readStyleMap)}function d(b,p){var D=x(p.readStyleMap()),w=e.extend({},p,{styleMap:D.value}),_=new i(w);return b.flatMapThen(function(U){return D.flatMapThen(function(E){return _.convertToHtml(U)})})}function x(b){return c.combine((b||[]).map(a)).map(function(p){return p.filter(function(D){return!!D})})}function m(b){return s.openZip(b).then(t.read).then(function(p){return p.map(r)})}function h(b,p){return s.openZip(b).tap(function(D){return n.writeStyleMap(D,p)}).then(function(D){return D.toArrayBuffer()}).then(function(D){return{toArrayBuffer:function(){return D},toBuffer:function(){return Buffer.from(D)}}})}return nt.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)},nt}var s2=o2();const c2=T.getDefaultExportFromCjs(s2);function u2(e,t){const n=atob(e.split(",")[1]),i=Array.from({length:n.length});for(let a=0;a<n.length;a++)i[a]=n.charCodeAt(a);const r=new Uint8Array(i);return new Blob([r],{type:t})}function l2(e,t){return new File([e],t,{type:e.type})}function d2(e){const{toast:t}=T.useToast(),{t:n}=Ce.useLocale(),[i,r]=pe.useState(!1),a=pe.useRef(null);function o(){var f;(f=a.current)==null||f.click()}function s(f){const g=f.target.files[0];if(g){if(g.size>e.limit){t({variant:"destructive",title:n("editor.importWord.limitSize")});return}u(g)}}async function c(f){var h;const d=new DOMParser().parseFromString(f,"text/html"),x=d.querySelectorAll("img");if(x.length===0)return d.body.innerHTML;if(T.hasExtension(e.editor,"image")){const b=(h=e.editor.extensionManager.extensions.find(p=>p.name==="importWord"))==null?void 0:h.options;if(b&&typeof b.upload=="function"){const p=[];for(const w of x){const _=w.getAttribute("src"),U=u2(_,"image/jpeg"),E=l2(U,"image.jpeg");p.push(E)}const D=await b.upload(p);for(const[w,_]of x.entries()){_.setAttribute("src",D[w].src);const U=_.parentElement;(U==null?void 0:U.tagName)==="P"&&(U.insertAdjacentElement("beforebegin",_),!U.hasChildNodes()&&U.textContent===""&&U.remove())}return d.body.innerHTML}else return console.warn("Image Upload method found, skip image conversion"),d.body.innerHTML}else return console.error("Image extension not found, unable to convert image"),d.body.innerHTML}async function u(f){r(!0);try{if(e.convert){const g=await e.convert(f);l(g)}else{const g=await f.arrayBuffer(),{value:d}=await c2.convertToHtml({arrayBuffer:g},e==null?void 0:e.mammothOptions);l(d)}}finally{r(!1)}}async function l(f){const g=await c(f);e.editor.chain().setContent(g,!0).run()}return O.jsxs("div",{children:[O.jsx(T.ActionButton,{action:o,disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,loading:i,tooltip:e==null?void 0:e.tooltip}),O.jsx("input",{accept:".docx",onChange:s,ref:a,type:"file",style:{display:"none"}})]})}const h2=T.Extension.create({name:"importWord",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),upload:void 0,convert:void 0,limit:1024*1024*10,button:({editor:t,extension:n,t:i})=>{const{convert:r,limit:a,mammothOptions:o}=n.options;return{component:d2,componentProps:{editor:t,convert:r,limit:a,mammothOptions:o,action:()=>t.commands.setHorizontalRule(),disabled:!t.can().setHorizontalRule(),icon:"Word",shortcutKeys:["alt","mod","S"],tooltip:i("editor.importWord.tooltip")}}}}}}),f2=typeof window<"u";function g2(e,t){if(f2){const n=window.URL.createObjectURL(e),i=document.createElement("a");return i.href=n,i.download=t,i.click(),window.URL.revokeObjectURL(n),Promise.resolve()}return console.error("Download is not supported in Node.js"),Promise.resolve()}const p2={...Ut.defaultNodes,hardBreak:Ut.defaultNodes.hard_break,codeBlock:Ut.defaultNodes.code_block,orderedList:Ut.defaultNodes.ordered_list,listItem:Ut.defaultNodes.list_item,bulletList:Ut.defaultNodes.bullet_list,horizontalRule:Ut.defaultNodes.horizontal_rule,image(e,t){e.renderInline(t),e.closeBlock(t)},table(e,t){e.table(t,{tableOptions:{width:{size:100,type:Uu.WidthType.PERCENTAGE}}})}},m2=new Ut.DocxSerializer(p2,Ut.defaultMarks),b2=T.Extension.create({name:"exportWord",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{icon:"ExportWord",action:()=>{t==null||t.commands.exportToWord()},tooltip:n("editor.exportWord.tooltip"),isActive:()=>!1,disabled:!1}})}},addCommands(){return{exportToWord:()=>async({editor:e})=>{const t={getImageBuffer:async i=>{const a=await(await fetch(i)).arrayBuffer();return new Uint8Array(a)}},n=m2.serialize(e.state.doc,t);return Uu.Packer.toBlob(n).then(i=>g2(new Blob([i]),"export-document.docx")),!0}}}}),y2="_toc_aag8a_1",x2="_visible_aag8a_7",D2="_list_aag8a_11",v2="_item_aag8a_16",vi={toc:y2,visible:x2,list:D2,item:v2};function _2(e){const t=[],n=[t];return e.forEach(i=>{let r=-1,a=n[i.level+r];for(;!a;)r-=1,a=n[i.level+r];a.push({...i,children:n[i.level]=[]})}),t}function w2({editor:e}){const t=T.useEditableEditor(),[n,i]=pe.useState([]),{t:r}=Ce.useLocale(),a=pe.useCallback(()=>{const o=[],s=e.state.tr;e.state.doc.descendants((c,u)=>{if(c.type.name==="heading"){const l=`heading-${o.length+1}`;c.attrs.id!==l&&s.setNodeMarkup(u,void 0,{...c.attrs,id:l}),o.push({level:c.attrs.level,text:c.textContent,id:l})}}),s.setMeta("addToHistory",!1),s.setMeta("preventUpdate",!0),e.view.dispatch(s),i(o),e.eventEmitter&&e.eventEmitter.emit("TableOfContents",_2(o))},[e]);return pe.useEffect(()=>{if(e){if(!e.options.editable){a();return}return e.on("update",a),()=>{e.off("update",a)}}},[e,a]),pe.useEffect(()=>{a()},[]),O.jsx(T.NodeViewWrapper,{className:T.clsx("tableOfContent",vi.toc,t&&vi.visible),children:t?O.jsxs("div",{style:{position:"relative"},children:[O.jsx("p",{className:"text-[20px] mb-[8px] font-semibold",children:r("editor.table_of_content")}),O.jsx("ul",{className:vi.list,children:n.map((o,s)=>O.jsx("li",{className:vi.item,style:{paddingLeft:`${o.level-1}rem`},children:O.jsx("a",{href:`#${o.id}`,children:o.text})},`table-of-content-${s}`))})]}):null})}function T2(e,...t){const[n,i]=pe.useState(!1);return pe.useEffect(()=>{const r=()=>{i(e.isActive.apply(e,t))};return e.on("selectionUpdate",r),e.on("transaction",r),()=>{e.off("selectionUpdate",r),e.off("transaction",r)}},[e,t,i]),n}function U2({editor:e,icon:t,tooltip:n}){const i=T2(e,Ld.name),r=pe.useCallback(()=>{if(i){e.chain().focus().removeTableOfContents().run();return}e.chain().focus().setTableOfContents().run()},[e,i]);return O.jsx(T.ActionButton,{action:r,isActive:()=>i||!1,icon:t,tooltip:n})}function E2(e){return e&&e.type.name==="title"}function A2(e,t){const i=[e.getJSON()],r=[];for(;i.length>0;){const a=i.shift();a.type===t&&r.push(a),a.content&&a.content.length>0&&i.push(...a.content)}return r}const Ld=T.Node.create({name:"tableOfContents",group:"block",atom:!0,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),onHasOneBeforeInsert:()=>{},resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!1,button:({editor:t,t:n})=>({component:U2,componentProps:{disabled:!1,icon:"BookMarked",tooltip:n("editor.table.tooltip"),editor:t}})}},parseHTML(){return[{tag:"toc"}]},renderHTML({HTMLAttributes:e}){return["toc",T.mergeAttributes(e)]},addNodeView(){return T.ReactNodeViewRenderer(w2)},addCommands(){return{setTableOfContents:()=>({commands:e,editor:t,view:n})=>{if(A2(t,this.name).length>0){this.options.onHasOneBeforeInsert();return}const r=n.props.state.doc.content.firstChild;if(E2(r)){const a=(r.firstChild&&r.firstChild.nodeSize||0)+1;return e.insertContentAt(a,{type:this.name})}return e.insertContent({type:this.name})},removeTableOfContents:()=>({state:e,dispatch:t})=>{const{tr:n}=e,i=e.schema.nodes.tableOfContents;return e.doc.descendants((r,a)=>{if(r.type===i){const o=a,s=a+r.nodeSize;n.delete(o,s)}}),n.docChanged?(t(n),!0):!1}}},addGlobalAttributes(){return[{types:["heading"],attributes:{id:{default:null}}}]}});function C2(e){var n;const t=pe.useMemo(()=>{var a;const i=(a=e==null?void 0:e.items)==null?void 0:a.find(o=>o.isActive());return i&&!i.default?{...i,icon:i.icon?i.icon:e.icon}:{title:e==null?void 0:e.tooltip,icon:e.icon,isActive:()=>!1}},[e]);return O.jsxs(T.Popover,{modal:!0,children:[O.jsx(T.PopoverTrigger,{asChild:!0,disabled:e==null?void 0:e.disabled,children:O.jsx(T.ActionButton,{customClass:"!w-12 h-12",disabled:e==null?void 0:e.disabled,icon:e==null?void 0:e.icon,tooltip:e==null?void 0:e.tooltip,children:O.jsx(T.IconComponent,{className:"ml-1 size-3 text-zinc-500",name:"MenuDown"})})}),O.jsx(T.PopoverContent,{align:"start",className:"flex w-full min-w-4 flex-row gap-1 !p-[4px]",side:"bottom",children:(n=e==null?void 0:e.items)==null?void 0:n.map((i,r)=>{var a,o;return O.jsxs(T.Tooltip,{children:[O.jsx(T.TooltipTrigger,{asChild:!0,children:O.jsx(T.Toggle,{className:"size-7 p-1","data-state":t.title===i.title?"on":"off",onClick:i==null?void 0:i.action,pressed:t.title===i.title,size:"sm",children:(i==null?void 0:i.icon)&&O.jsx(T.IconComponent,{name:i.icon})})}),O.jsxs(T.TooltipContent,{className:"flex flex-col items-center",children:[O.jsx("span",{children:i.title}),!!((a=i.shortcutKeys)!=null&&a.length)&&O.jsx("span",{children:(o=i.shortcutKeys)==null?void 0:o.map(s=>T.getShortcutKey(s)).join(" ")})]})]},`text-align-${r}`)})})]})}const k2=T.Extension.create({name:"text-direction",addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),types:["heading","paragraph"],directions:["auto","ltr","rtl"],defaultDirection:"auto",button({editor:t,extension:n,t:i}){var c;const r=((c=n.options)==null?void 0:c.directions)||[],a={auto:"TextDirection",ltr:"LeftToRight",rtl:"RightToLeft"},o=r.map(u=>({title:i(`editor.textDirection.${u}.tooltip`),icon:a[u],isActive:()=>!1,action:()=>{var l,f,g,d;if(u==="auto"){(f=(l=t.commands)==null?void 0:l.unsetTextDirection)==null||f.call(l);return}(d=(g=t.commands)==null?void 0:g.setTextDirection)==null||d.call(g,u)},disabled:!1})),s=o.filter(u=>u.disabled).length===o.length;return{component:C2,componentProps:{icon:"TextDirection",tooltip:i("editor.textDirection.tooltip"),disabled:s,items:o}}}}},addGlobalAttributes(){return[{types:this.options.types,attributes:{dir:{default:this.options.defaultDirection,parseHTML:e=>e.attributes.dir&&this.options.directions.includes(e.attributes.dir)?e.attributes.dir.value:this.options.defaultDirection,renderHTML:e=>({dir:e.dir})}}}]},addCommands(){return{setTextDirection:e=>({commands:t})=>this.options.directions.includes(e)?this.options.types.every(n=>t.updateAttributes(n,{dir:e})):!1,unsetTextDirection:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"dir"))}}}),F2=new T.PluginKey("mention"),S2=T.Node.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({options:e,node:t}){var n;return`${e.suggestion.char}${(n=t.attrs.label)!==null&&n!==void 0?n:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:e,node:t}){var n;return["span",T.mergeAttributes(this.HTMLAttributes,e.HTMLAttributes),`${e.suggestion.char}${(n=t.attrs.label)!==null&&n!==void 0?n:t.attrs.id}`]},suggestion:{char:"@",pluginKey:F2,command:({editor:e,range:t,props:n})=>{var i,r,a;const o=e.view.state.selection.$to.nodeAfter;((i=o==null?void 0:o.text)===null||i===void 0?void 0:i.startsWith(" "))&&(t.to+=1),e.chain().focus().insertContentAt(t,[{type:this.name,attrs:n},{type:"text",text:" "}]).run(),(a=(r=e.view.dom.ownerDocument.defaultView)===null||r===void 0?void 0:r.getSelection())===null||a===void 0||a.collapseToEnd()},allow:({state:e,range:t})=>{const n=e.doc.resolve(t.from),i=e.schema.nodes[this.name];return!!n.parent.type.contentMatch.matchType(i)}}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:e=>e.getAttribute("data-id"),renderHTML:e=>e.id?{"data-id":e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute("data-label"),renderHTML:e=>e.label?{"data-label":e.label}:{}}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:e,HTMLAttributes:t}){if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",T.mergeAttributes({"data-type":this.name},this.options.HTMLAttributes,t),this.options.renderLabel({options:this.options,node:e})];const n={...this.options};n.HTMLAttributes=T.mergeAttributes({"data-type":this.name},this.options.HTMLAttributes,t);const i=this.options.renderHTML({options:n,node:e});return typeof i=="string"?["span",T.mergeAttributes({"data-type":this.name},this.options.HTMLAttributes,t),i]:i},renderText({node:e}){return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel({options:this.options,node:e})):this.options.renderText({options:this.options,node:e})},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:e,state:t})=>{let n=!1;const{selection:i}=t,{empty:r,anchor:a}=i;return r?(t.doc.nodesBetween(a-1,a,(o,s)=>{if(o.type.name===this.name)return n=!0,e.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",s,s+o.nodeSize),!1}),n):!1})}},addProseMirrorPlugins(){return[mo({editor:this.editor,...this.options.suggestion})]}}),B2="_listUsers_en3pm_1",N2="_itemUser_en3pm_10",L2="_selectedUser_en3pm_31",_i={listUsers:B2,itemUser:N2,selectedUser:L2},R2=pe.forwardRef((e,t)=>{const n=pe.useRef(null),[i,r]=pe.useState(0),a=u=>{const l=e.items[u];l&&e.command({id:l,label:l})},o=()=>{r((i+e.items.length-1)%e.items.length)},s=()=>{r((i+1)%e.items.length)},c=()=>{a(i)};return pe.useEffect(()=>r(0),[e.items]),pe.useEffect(()=>{if(Number.isNaN(i+1))return;const u=n.current.querySelector(`span:nth-of-type(${i+1})`);u&&io(u,{behavior:"smooth",scrollMode:"if-needed"})},[i]),pe.useImperativeHandle(t,()=>({onKeyDown:({event:u})=>u.key==="ArrowUp"?(o(),!0):u.key==="ArrowDown"?(s(),!0):u.key==="Enter"?(c(),!0):!1})),O.jsx("div",{className:T.clsx("listUsers",_i.listUsers),children:O.jsx("div",{ref:n,children:e.items.length>0?e.items.map((u,l)=>O.jsx("span",{className:T.clsx("itemUser",_i.itemUser,l===i?_i.selectedUser:""),onClick:()=>a(l),children:u},l)):O.jsx("div",{className:T.clsx("itemUserEmpty",_i.itemUser),children:"Empty"})})})}),I2=[{id:"1",name:"John Doe"},{id:"2",name:"Jane Doe"},{id:"3",name:"Alice"},{id:"4",name:"Bob"}],W2={items:async({query:e})=>I2.map(n=>n.name).filter(n=>n.toLowerCase().startsWith(e.toLowerCase())),render:()=>{let e,t;return{onStart:n=>{e=new T.ReactRenderer(R2,{props:n,editor:n.editor}),t=no("body",{getReferenceClientRect:n.clientRect,appendTo:()=>document.body,content:e.element,showOnCreate:!0,interactive:!0,trigger:"manual",placement:"bottom-start"})},onUpdate(n){e.updateProps(n),t[0].setProps({getReferenceClientRect:n.clientRect})},onKeyDown(n){var i;return n.event.key==="Escape"?(t[0].hide(),!0):(i=e.ref)==null?void 0:i.onKeyDown(n)},onExit(){t[0].destroy(),e.destroy()}}}},O2=S2.extend({addAttributes(){return{id:{default:"",parseHTML:T.getDatasetAttribute("id")},label:{default:"",parseHTML:T.getDatasetAttribute("label")}}}}).configure({HTMLAttributes:{class:"mention"},suggestion:W2}),M2={audio:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-audio-lines"><path d="M2 10v3"/><path d="M6 6v11"/><path d="M10 3v18"/><path d="M14 8v7"/><path d="M18 5v13"/><path d="M22 10v3"/></svg>',video:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-video"><path d="m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"/><rect x="2" y="6" width="14" height="12" rx="2"/></svg>',file:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-file"><path d="M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z"/><path d="M14 2v4a2 2 0 0 0 2 2h4"/></svg>',image:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-image"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/></svg>',pdf:`<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32">
16
116
  <path fill="currentColor" d="M30 18v-2h-6v10h2v-4h3v-2h-3v-2zm-11 8h-4V16h4a3.003 3.003 0 0 1 3 3v4a3.003 3.003 0 0 1-3 3m-2-2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2zm-6-8H6v10h2v-3h3a2.003 2.003 0 0 0 2-2v-3a2 2 0 0 0-2-2m-3 5v-3h3l.001 3z"></path>
17
117
  <path fill="currentColor" d="M22 14v-4a.91.91 0 0 0-.3-.7l-7-7A.9.9 0 0 0 14 2H4a2.006 2.006 0 0 0-2 2v24a2 2 0 0 0 2 2h16v-2H4V4h8v6a2.006 2.006 0 0 0 2 2h6v2Zm-8-4V4.4l5.6 5.6Z"></path>
18
118
  </svg>`,word:`<svg
@@ -30,4 +130,4 @@
30
130
  fill="currentColor"
31
131
  d="m810.667 913.135-.478.068H201.796c-19.865 0-36.727-11.673-36.727-25.6v-618.36h154.965c51.268 0 92.911-39.39 92.911-87.858v-87.86H810.19c19.797 0 36.522 11.742 36.522 25.669V739.26h61.987V119.262c0-46.421-44.169-84.241-98.51-84.241H328.364l-225.28 194.56v658.09c0 46.285 44.236 84.105 98.713 84.105H810.19c43.759 0 80.554-24.713 93.32-58.573h-92.842zM350.89 94.89v86.562c0 16.11-13.858 29.286-30.925 29.286H216.815L350.959 94.891z"
32
132
  />
33
- </svg>`,excel:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sheet"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><line x1="3" x2="21" y1="9" y2="9"/><line x1="3" x2="21" y1="15" y2="15"/><line x1="9" x2="9" y1="9" y2="21"/><line x1="15" x2="15" y1="9" y2="21"/></svg>',ppt:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-table-properties"><path d="M15 3v18"/><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M21 9H3"/><path d="M21 15H3"/></svg>'};function Pn(e){const t=Mn[e],i=new DOMParser().parseFromString(t,"image/svg+xml").documentElement,s=["svg",{...Array.from(i.attributes).reduce((l,c)=>(l[c.name]=c.value,l),{})}];return Array.from(i.childNodes).forEach(l=>{if(l.nodeType===1){const c=[l.tagName.toLowerCase(),Array.from(l.attributes).reduce((m,u)=>(m[u.name]=u.value,m),{})];l.textContent&&c.push(l.textContent),s.push(c)}}),s}const Hn={audio:a.jsx(N.LucideAudioLines,{}),video:a.jsx(N.LucideVideo,{}),file:a.jsx(N.LucideFile,{}),image:a.jsx(N.LucideImage,{}),pdf:a.jsx(r.ExportPdf,{}),word:a.jsx(r.ExportWord,{}),excel:a.jsx(N.LucideSheet,{}),ppt:a.jsx(N.LucideTableProperties,{})};function fe(e,t=!1){const n=r.normalizeFileType(e),o=Hn[n]||a.jsx(a.Fragment,{});return t?Pn(n):o}const Rn="_wrap_1x1ms_2",G={wrap:Rn};function In({editor:e,node:t,updateAttributes:n,deleteNode:o,extension:i}){var L;const s=g.useRef(null),l=r.useEditableEditor(),{hasTrigger:c,fileName:m,fileSize:u,fileExt:d,fileType:f,url:_,error:b}=t.attrs,[k,v]=g.useState(!1),{t:S}=w.useLocale(),E=(L=i==null?void 0:i.options)==null?void 0:L.upload,x=g.useCallback(()=>{!l||_||l&&s.current.click()},[l,_]),y=g.useCallback(async T=>{const H=T.target.files&&T.target.files[0];if(!H)return;const _e={fileName:r.extractFilename(H.name),fileSize:H.size,fileType:H.type,fileExt:r.extractFileExtension(H.name)};v(!0);try{const U=await E(H);n({..._e,url:U}),v(!1)}catch(U){n({error:`File upload fail: ${U&&U.message}`||"Unknown error"}),v(!1),s.current.value=""}},[v,n]);g.useEffect(()=>{!_&&!c&&(x(),n({hasTrigger:!0}))},[_,c,x,n]);const C=g.useCallback(()=>o(),[e]);return l&&!_?a.jsx(h.NodeViewWrapper,{children:a.jsxs("div",{className:p.clsx(G.wrap,"render-wrapper"),children:[a.jsx("p",{onClick:x,style:{cursor:"pointer"},children:k?a.jsx("span",{children:S("editor.attachment.uploading")}):a.jsx("span",{children:S("editor.attachment.please_upload")})}),a.jsx("input",{hidden:!0,onChange:y,ref:s,type:"file"})]})}):_?a.jsx(h.NodeViewWrapper,{children:a.jsxs("div",{className:p.clsx(G.wrap,"render-wrapper"),onClick:x,children:[a.jsxs("div",{className:"flex items-center gap-[4px]",children:[a.jsx("span",{children:fe(f)}),a.jsxs("span",{children:[m,".",d]}),a.jsxs("span",{children:["(",r.normalizeFileSize(u),")"]})]}),a.jsx(r.ActionButton,{action:C,icon:"Trash2",tooltip:S("editor.delete")})]})}):b!=="null"?a.jsx(h.NodeViewWrapper,{children:a.jsx("div",{className:p.clsx(G.wrap,"render-wrapper"),onClick:x,children:a.jsx("p",{children:b})})}):a.jsx(a.Fragment,{})}const zn=h.Node.create({name:"attachment",content:"",marks:"",group:"block",selectable:!0,atom:!0,draggable:!0,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{class:"attachment"},button:({editor:t,t:n})=>({component:r.ActionButton,componentProps:{action:()=>t.chain().focus().setAttachment().run(),isActive:()=>!1,disabled:!1,icon:"Attachment",tooltip:n("editor.attachment.tooltip")}})}},parseHTML(){return[{tag:"div[class=attachment]"}]},renderHTML({HTMLAttributes:e}){const{url:t="",fileName:n="",fileSize:o="",fileType:i="",fileExt:s=""}=e||{};return["div",h.mergeAttributes(this.options.HTMLAttributes||{},e||{}),t?["a",{href:t||"#"},["span",{class:"attachment__icon"},fe(i,!0)],["span",{class:"attachment__text"},`${n}.${s} (${r.normalizeFileSize(o)})`]]:["div",{class:"attachment__placeholder"}]]},addAttributes(){return{fileName:{default:null,parseHTML:r.getDatasetAttribute("filename")},fileSize:{default:null,parseHTML:r.getDatasetAttribute("filesize")},fileType:{default:null,parseHTML:r.getDatasetAttribute("filetype")},fileExt:{default:null,parseHTML:r.getDatasetAttribute("fileext")},url:{default:null,parseHTML:r.getDatasetAttribute("url")},hasTrigger:{default:!1,parseHTML:e=>r.getDatasetAttribute("hastrigger")(e)==="true"},error:{default:null,parseHTML:r.getDatasetAttribute("error")}}},addCommands(){return{setAttachment:(e={})=>({chain:t})=>t().insertContent({type:this.name,attrs:e}).run()}},addNodeView(){return h.ReactNodeViewRenderer(In)}});exports.Column=r.Column;exports.Drawer=r.Drawer;exports.Excalidraw=r.Excalidraw;exports.Iframe=r.Iframe;exports.Image=r.Image;exports.ImageGif=r.ImageGif;exports.Katex=r.Katex;exports.Mermaid=r.Mermaid;exports.MultiColumn=r.MultiColumn;exports.Table=r.Table;exports.Twitter=r.Twitter;exports.Video=r.Video;exports.Attachment=zn;exports.BaseKit=pt;exports.Blockquote=at;exports.Bold=we;exports.BulletList=tt;exports.Clear=nt;exports.Code=ve;exports.CodeBlock=ue;exports.Color=Xe;exports.ColumnActionButton=ht;exports.Emoji=Xt;exports.ExportPdf=nn;exports.ExportWord=mn;exports.FontFamily=Ke;exports.FontSize=Je;exports.FormatPainter=Ht;exports.Heading=Ve;exports.Highlight=et;exports.History=ut;exports.HorizontalRule=lt;exports.ImportWord=rn;exports.Indent=kt;exports.Italic=xe;exports.LineHeight=St;exports.Link=rt;exports.Mention=Ln;exports.MoreMark=yt;exports.OrderedList=ot;exports.SearchAndReplace=me;exports.SlashCommand=Pt;exports.Strike=ke;exports.SubAndSuperScript=wt;exports.TableOfContents=ge;exports.TaskList=it;exports.TextAlign=Ge;exports.TextDirection=jn;exports.Underline=ye;
133
+ </svg>`,excel:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sheet"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><line x1="3" x2="21" y1="9" y2="9"/><line x1="3" x2="21" y1="15" y2="15"/><line x1="9" x2="9" y1="9" y2="21"/><line x1="15" x2="15" y1="9" y2="21"/></svg>',ppt:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-table-properties"><path d="M15 3v18"/><rect width="18" height="18" x="3" y="3" rx="2"/><path d="M21 9H3"/><path d="M21 15H3"/></svg>'};function P2(e){const t=M2[e],r=new DOMParser().parseFromString(t,"image/svg+xml").documentElement,a=["svg",{...Array.from(r.attributes).reduce((o,s)=>(o[s.name]=s.value,o),{})}];return Array.from(r.childNodes).forEach(o=>{if(o.nodeType===1){const s=[o.tagName.toLowerCase(),Array.from(o.attributes).reduce((c,u)=>(c[u.name]=u.value,c),{})];o.textContent&&s.push(o.textContent),a.push(s)}}),a}const j2={audio:O.jsx($e.LucideAudioLines,{}),video:O.jsx($e.LucideVideo,{}),file:O.jsx($e.LucideFile,{}),image:O.jsx($e.LucideImage,{}),pdf:O.jsx(T.ExportPdf,{}),word:O.jsx(T.ExportWord,{}),excel:O.jsx($e.LucideSheet,{}),ppt:O.jsx($e.LucideTableProperties,{})};function Rd(e,t=!1){const n=T.normalizeFileType(e),i=j2[n]||O.jsx(O.Fragment,{});return t?P2(n):i}const q2="_wrap_1x1ms_2",za={wrap:q2};function H2({editor:e,node:t,updateAttributes:n,deleteNode:i,extension:r}){var _;const a=pe.useRef(null),o=T.useEditableEditor(),{hasTrigger:s,fileName:c,fileSize:u,fileExt:l,fileType:f,url:g,error:d}=t.attrs,[x,m]=pe.useState(!1),{t:h}=Ce.useLocale(),b=(_=r==null?void 0:r.options)==null?void 0:_.upload,p=pe.useCallback(()=>{!o||g||o&&a.current.click()},[o,g]),D=pe.useCallback(async U=>{const E=U.target.files&&U.target.files[0];if(!E)return;const L={fileName:T.extractFilename(E.name),fileSize:E.size,fileType:E.type,fileExt:T.extractFileExtension(E.name)};m(!0);try{const A=await b(E);n({...L,url:A}),m(!1)}catch(A){n({error:`File upload fail: ${A&&A.message}`||"Unknown error"}),m(!1),a.current.value=""}},[m,n]);pe.useEffect(()=>{!g&&!s&&(p(),n({hasTrigger:!0}))},[g,s,p,n]);const w=pe.useCallback(()=>i(),[e]);return o&&!g?O.jsx(T.NodeViewWrapper,{children:O.jsxs("div",{className:T.clsx(za.wrap,"render-wrapper"),children:[O.jsx("p",{onClick:p,style:{cursor:"pointer"},children:x?O.jsx("span",{children:h("editor.attachment.uploading")}):O.jsx("span",{children:h("editor.attachment.please_upload")})}),O.jsx("input",{hidden:!0,onChange:D,ref:a,type:"file"})]})}):g?O.jsx(T.NodeViewWrapper,{children:O.jsxs("div",{className:T.clsx(za.wrap,"render-wrapper"),onClick:p,children:[O.jsxs("div",{className:"flex items-center gap-[4px]",children:[O.jsx("span",{children:Rd(f)}),O.jsxs("span",{children:[c,".",l]}),O.jsxs("span",{children:["(",T.normalizeFileSize(u),")"]})]}),O.jsx(T.ActionButton,{action:w,icon:"Trash2",tooltip:h("editor.delete")})]})}):d!=="null"?O.jsx(T.NodeViewWrapper,{children:O.jsx("div",{className:T.clsx(za.wrap,"render-wrapper"),onClick:p,children:O.jsx("p",{children:d})})}):O.jsx(O.Fragment,{})}const z2=T.Node.create({name:"attachment",content:"",marks:"",group:"block",selectable:!0,atom:!0,draggable:!0,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),HTMLAttributes:{class:"attachment"},button:({editor:t,t:n})=>({component:T.ActionButton,componentProps:{action:()=>t.chain().focus().setAttachment().run(),isActive:()=>!1,disabled:!1,icon:"Attachment",tooltip:n("editor.attachment.tooltip")}})}},parseHTML(){return[{tag:"div[class=attachment]"}]},renderHTML({HTMLAttributes:e}){const{url:t="",fileName:n="",fileSize:i="",fileType:r="",fileExt:a=""}=e||{};return["div",T.mergeAttributes(this.options.HTMLAttributes||{},e||{}),t?["a",{href:t||"#"},["span",{class:"attachment__icon"},Rd(r,!0)],["span",{class:"attachment__text"},`${n}.${a} (${T.normalizeFileSize(i)})`]]:["div",{class:"attachment__placeholder"}]]},addAttributes(){return{fileName:{default:null,parseHTML:T.getDatasetAttribute("filename")},fileSize:{default:null,parseHTML:T.getDatasetAttribute("filesize")},fileType:{default:null,parseHTML:T.getDatasetAttribute("filetype")},fileExt:{default:null,parseHTML:T.getDatasetAttribute("fileext")},url:{default:null,parseHTML:T.getDatasetAttribute("url")},hasTrigger:{default:!1,parseHTML:e=>T.getDatasetAttribute("hastrigger")(e)==="true"},error:{default:null,parseHTML:T.getDatasetAttribute("error")}}},addCommands(){return{setAttachment:(e={})=>({chain:t})=>t().insertContent({type:this.name,attrs:e}).run()}},addNodeView(){return T.ReactNodeViewRenderer(H2)}});exports.Column=T.Column;exports.Drawer=T.Drawer;exports.Iframe=T.Iframe;exports.Image=T.Image;exports.ImageGif=T.ImageGif;exports.Katex=T.Katex;exports.Mermaid=T.Mermaid;exports.MultiColumn=T.MultiColumn;exports.Table=T.Table;exports.Twitter=T.Twitter;exports.Video=T.Video;exports.Attachment=z2;exports.BaseKit=vg;exports.Blockquote=uf;exports.Bold=Hd;exports.BulletList=Yh;exports.Clear=Qh;exports.Code=ah;exports.CodeBlock=Nu;exports.Color=zh;exports.ColumnActionButton=mg;exports.Emoji=rp;exports.ExportPdf=sp;exports.ExportWord=b2;exports.FontFamily=Bh;exports.FontSize=Ph;exports.FormatPainter=Mg;exports.Heading=Rh;exports.Highlight=Kh;exports.History=Gf;exports.HorizontalRule=If;exports.ImportWord=h2;exports.Indent=Ug;exports.Italic=Gd;exports.LineHeight=Sg;exports.Link=Lf;exports.Mention=O2;exports.MoreMark=Tg;exports.OrderedList=tf;exports.SearchAndReplace=Gu;exports.SlashCommand=Og;exports.Strike=th;exports.SubAndSuperScript=_g;exports.TableOfContents=Ld;exports.TaskList=of;exports.TextAlign=Oh;exports.TextDirection=k2;exports.Underline=Yd;