pom-text-editor 0.2.24 → 0.2.25

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,2 +1,2 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.heading{content:"H"}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.right-2{right:.5rem}.z-10{z-index:10}.m-1{margin:.25rem}.m-3{margin:.75rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mr-1{margin-right:-.25rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-\\[3vh\\]{height:3vh}.w-\\[12vw\\]{width:12vw}.w-\\[6vw\\]{width:6vw}.w-full{width:100%}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-b-2{border-bottom-width:2px}.border-t-2{border-top-width:2px}.border-none{border-style:none}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.italic{font-style:italic}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.display-color{border:1px solid #ccc;text-align:center;font-size:18px;background-color:#f0f0f0;position:relative;display:inline-block;cursor:pointer}.color-container{width:25vw;display:none;position:absolute;z-index:9999;background-color:#fff;padding:1px;box-shadow:0 4px 6px #0000001a;border:1px solid #ccc;border-radius:5px;transition:opacity .3s ease,visibility .3s ease}.display-color:hover+.color-container,.display-color:active+.color-container{display:block}.color-container:hover{display:block;box-shadow:0 4px 8px #0000001a;padding:14px}.color-grid{display:flex;flex-wrap:wrap;gap:5px}.pom-editor-menu-fonts{display:none;position:absolute}.showfontFamilyMenu:hover+.pom-editor-menu-fonts,.pom-editor-menu-fonts:hover{display:inline-block}.pom-editor-menu:hover{display:block}.pom-editor-menu{display:none;background-color:#fff;border-radius:12px;box-shadow:0 4px 8px #0000001a;width:28vw;height:41vh;overflow:auto}.color-box{width:50px;height:50px;border-radius:8px;transition:transform .3s,box-shadow .3s;cursor:pointer}.color-box:hover{transform:scale(1.1);box-shadow:0 6px 12px #0003}#fullTextEditor .card{padding:2em}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}#fullTextEditor a:hover{color:#747bff}#fullTextEditor button{background-color:#f9f9f9}}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.group:hover .group-hover\\:block{display:block}.editor[data-v-367a2559]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.editor[data-v-367a2559]:focus:before{content:none}.table-picker-wrapper[data-v-367a2559]{position:relative;display:inline-block}.table-picker-trigger[data-v-367a2559]{cursor:pointer;display:flex;align-items:center}.table-picker-container[data-v-367a2559]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.table-picker-wrapper:hover .table-picker-container[data-v-367a2559]{display:block}.table-picker-grid[data-v-367a2559]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.table-picker-grid div[data-v-367a2559]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.table-picker-grid div[data-v-367a2559]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-367a2559]{font-size:12px;color:#333}.pomXEditor[data-v-367a2559]{border:1px;border-style:solid;border-color:#6972734e}#editor[data-v-367a2559]:focus{outline:none;border:none}.pom-table-editor-container[data-v-367a2559]{display:flex}.pom-table-editor-container a[data-v-367a2559]{color:#00f;text-decoration:underline;cursor:pointer}.pom-table-editor-container a[data-v-367a2559]:link{color:#00f}.pom-table-editor-container a[data-v-367a2559]:visited{color:purple}.pom-table-editor-container a[data-v-367a2559]:hover{color:red;text-decoration:none}.pom-table-editor-container a[data-v-367a2559]:active{color:orange}@media print{.hideonprint[data-v-367a2559]{display:none!important}[data-v-367a2559]{overflow:hidden}}/*!\n * Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n * Copyright 2024 Fonticons, Inc.\n */.pom-main-element-container .editor[data-v-705c999a]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.pom-main-element-container .editor[data-v-705c999a]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-705c999a]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-705c999a]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-705c999a]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.pom-main-element-container .table-picker-wrapper:hover .table-picker-container[data-v-705c999a]{display:block}.pom-main-element-container .table-picker-grid[data-v-705c999a]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.pom-main-element-container .table-picker-grid div[data-v-705c999a]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-705c999a]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-705c999a]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-705c999a]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-705c999a]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-705c999a]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-705c999a]:active{color:orange}@media print{.hideonprint[data-v-705c999a]{display:none!important}[data-v-705c999a]{overflow:hidden}}.pom-main-element-container .editor[data-v-705c999a]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-705c999a]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-705c999a] ::-webkit-scrollbar-thumb:hover{background:#555}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).PomTextEditor=t(e.Vue)}(this,(function(e){"use strict";function t(e){e.preventDefault();const t=e.target.parentElement,n=e.clientX,o=e.clientY,l=parseFloat(window.getComputedStyle(t).width),a=parseFloat(window.getComputedStyle(t).height);const r=function(e,t){let n,o;return function(...l){const a=this;o?(clearTimeout(n),n=setTimeout((function(){Date.now()-o>=t&&(e.apply(a,l),o=Date.now())}),t-(Date.now()-o))):(e.apply(a,l),o=Date.now())}}((function(e){const r=e.clientX-n,i=e.clientY-o;t.style.width=`${Math.max(50,l+r)}px`,t.style.height=`${Math.max(50,a+i)}px`;const d=t.querySelector("img");d&&(d.style.width="100%",d.style.height="auto")}),16);document.addEventListener("mousemove",r),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",e)}))}function n(e=!1,t=document.getElementsByClassName("pom-table-editor-container")){(t=Array.from(t)).forEach((t=>{if(e){const e="flex"===t.style.display?"none":"flex";t.style.display=e}else t.remove()}))}function o(e=printWindow.document.querySelectorAll(".pom-4-imageContainer")){e&&e.forEach((function(e){const t=e.querySelector("img"),n=e.getAttribute("style");n?t.style.cssText=n+"; position: initial":t.style.position="initial",e.style.display="block";parseInt(e.style.left,10)>793.7&&(e.style.left="793.7px")}))}function l(e=!0,t=document.getElementById("pom-texedito-container").innerHTML,n="hideonprint"){const l=function(e=document.getElementById("pom-texedito-container").innerHTML,t=".hideonprint"){const n=window.open("","","height=900,width=800");return n.document.write("<html><head><title>Print</title>"),n.document.write(`<style>\n ${t} {\n display: none;\n }\n\n @media print {\n ${t} {\n display: none;\n }\n }\n .pom-4-imageContainer {\n display: block !important;\n }\n </style>`),n.document.write("</head><body>"),n.document.write(e),n.document.write("</body></html>"),n.document.close(),o(n.document.querySelectorAll(".pom-4-imageContainer")),n}(g()+t,n);e&&(l.focus(),l.onload=function(){l.print()},l.onafterprint=function(){l.close()})}function a(){document.querySelectorAll(".pom-table-col-resizer").forEach((e=>{e.addEventListener("mousedown",t)}));document.querySelectorAll("table").forEach((e=>{e.addEventListener("contextmenu",(function(t){t.preventDefault();const n=t.target.parentElement;!function(e,t,n){const o=document.getElementById("custom-context-menu");o&&document.body.removeChild(o);const l=document.createElement("div");l.id="custom-context-menu",l.style.position="absolute",l.style.backgroundColor="white",l.style.border="1px solid #ccc",l.style.padding="10px",l.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",l.style.zIndex="1000",l.style.left=`${null==e?void 0:e.pageX}px`,l.style.top=`${null==e?void 0:e.pageY}px`;const a=[{text:"Delete Table",action:()=>n.remove()},{text:"Toggle Borders",action:()=>{const e=""!==t.style.border;t.style.border=e?"none":"1px solid black",t.style.borderCollapse="collapse",t.querySelectorAll("td").forEach((t=>{t.style.border=e?"none":"1px solid black"}))}},{text:"Color Table",action:()=>{const e=document.createElement("input");e.type="color",e.style.marginTop="5px",e.addEventListener("input",(()=>{t.style.backgroundColor=e.value}));const n=document.createElement("input");n.type="color",n.style.marginTop="5px",n.addEventListener("input",(()=>{t.style.color=n.value})),l.appendChild(document.createTextNode("Background Color:")),l.appendChild(e),l.appendChild(document.createTextNode("Text Color:")),l.appendChild(n)}},{text:"Add Row",action:()=>{const e=document.createElement("tr"),n=t.rows[0].cells.length;for(let o=0;o<n;o++){const n=document.createElement("td");n.style.border="1px solid black",n.style.padding="5px",n.textContent=`Row ${t.rows.length+1}, Cell ${o+1}`,e.appendChild(n)}t.appendChild(e)}},{text:"Add Column",action:()=>{for(let e=0;e<t.rows.length;e++){const n=document.createElement("td");n.style.border="1px solid black",n.style.padding="5px",n.textContent=`Row ${e+1}, Cell ${t.rows[e].cells.length+1}`,t.rows[e].appendChild(n)}}}];a.forEach((e=>{const t=document.createElement("div");t.textContent=e.text,t.style.cursor="pointer",t.addEventListener("click",e.action),l.appendChild(t)})),document.body.appendChild(l),document.addEventListener("click",(function e(){l&&document.body.removeChild(l),document.removeEventListener("click",e)}))}(t,e,n)}))}))}let r;function i(e,t){const[n,o]=t.textContent.split(" x ").map(Number);!function(e,t=2,n=2){const o=r.range;if(o){const l=r.selection,i=document.createElement("div");i.classList.add("pom-table-editor-container"),i.style.display="flex";const d=document.createElement("table");d.style.border="1px solid black",d.style.borderCollapse="collapse",d.classList.add("pom-table-editor");for(let e=0;e<t;e++){const t=document.createElement("tr");for(let o=0;o<n;o++){const n=document.createElement("td");n.style.border="1px solid black",n.style.padding="5px",n.textContent=`Row ${e+1}, Cell ${o+1}`;const l=document.createElement("div");l.style.width="5px",l.style.height="100%",l.style.position="absolute",l.style.right="0",l.style.top="0",l.style.cursor="col-resize",l.style.userSelect="none",l.classList.add("pom-table-col-resizer"),n.style.position="relative",n.appendChild(l),t.appendChild(n)}d.appendChild(t)}i.appendChild(d),o.deleteContents(),o.insertNode(i);const c=d.querySelector("td"),s=document.createRange();s.setStart(c,0),s.collapse(!0),l.addRange(s),r=s.cloneRange(),a(),e.focus()}}(e,o,n)}function d(e,t,n){const o=Array.from(n.children).indexOf(e.target),l=o%10+1,a=Math.floor(o/10)+1;Array.from(n.children).forEach(((e,t)=>{e.style.backgroundColor=t<=o?"#1f9296":"#737979"})),t.textContent=`${l} x ${a}`}function c(e,t="strong",n="*bold text here *",o=[]){var l;if(e){const a=window.getSelection();a.removeAllRanges(),a.addRange(e);const r=a.getRangeAt(0),i=`${r.toString()}`.trim(),d=r.cloneContents(),c=r.commonAncestorContainer,s=c.nodeType===Node.TEXT_NODE?c.parentNode:c,m=`${s.tagName}`.toLowerCase();if("string"==typeof t&&""!==t.trim()){let r=document.createElement(t);r.contenteditable=!1,o&&o.forEach((e=>{const{attr:t,value:n,keyin:o}=e;r.setAttribute(t,n)})),r.appendChild(d),"code"==`${t}`.toLowerCase()?console.log(r.innerHTML,"elmelmelm"):(null==(l=s.classList)?void 0:l.contains("pom-editing-area"))||(s.innerHTML,console.log({highlightedText:d,elementType:t,tagName:m},"parentNodeparentNode",r.innerHTML),t==m&&(r=function(e){const t=document.createElement("div");return t.innerHTML=e,t}(r.innerHTML),s.parentNode.removeChild(s))),r.innerHTML=i.length>0?r.innerHTML:n;const c=document.createElement("span");c.innerHTML="&nbsp;&nbsp;&nbsp;",e.deleteContents(),e.insertNode(c),e.insertNode(r);const p=document.createRange();p.setStartAfter(c),p.collapse(!0),a.removeAllRanges(),a.addRange(p),e=p.cloneRange()}else console.error("Invalid element type:",t)}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}const s={StoredText:{},undoStack:[],redoStack:[],SaveCurrentChanges:function(e=""){if("string"!=typeof e)return void console.error("SaveCurrentChanges expects a string value.");if(this.undoStack.length&&this.undoStack[this.undoStack.length-1].text===e)return void console.log("No changes to save.");const t=Date.now();this.StoredText[t]=e,this.undoStack.push({id:t,text:e}),this.redoStack=[]},Undo:function(){if(0===this.undoStack.length)return console.log("Nothing to undo"),null;const e=this.undoStack.pop();return this.redoStack.push(e),delete this.StoredText[e.id],e.text},Redo:function(){if(0===this.redoStack.length)return console.log("Nothing to redo"),null;const e=this.redoStack.pop();return this.undoStack.push(e),this.StoredText[e.id]=e.text,e.text}};function m(e,t,n,o,l="",a="span"){if(!e)return void console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");const r=window.getSelection();r.removeAllRanges(),r.addRange(e);const i=r.getRangeAt(0),d=i.cloneContents(),c=i.commonAncestorContainer,s=c.nodeType===Node.TEXT_NODE?c.parentNode:c,m=s.tagName.toLowerCase();let p;const u=["font-sze"];if(s&&m===a){const e=s.getAttribute("style")||null;if(console.log(s.style[n],e,"parentNodeparentNodeparentNode"),e){const t=new RegExp(`${n}:\\s*${o};?`,"g"),l=t.test(e);let a;return void(u.includes(n)||!l?s.style[n]=o:(a=e.replace(t,""),l&&s.setAttribute("style",a)))}}else{const t=document.createElement(a);t.style[n]=o,t.appendChild(d),p=t.innerHTML,e.deleteContents(),t.innerHTML=p,e.insertNode(t);const l=document.createRange();l.collapse(!0),r.removeAllRanges(),r.addRange(l),e=l.cloneRange()}}function p(e,t="h6",n="*Header text*",o=[]){if(e){const o=window.getSelection();o.removeAllRanges(),o.addRange(e);const l=o.getRangeAt(0),a=`${l.toString()}`.trim(),r=l.cloneContents(),i=l.commonAncestorContainer,d=i.nodeType===Node.TEXT_NODE?i.parentNode:i,c=`${d.tagName}`.toLowerCase(),s={h1:{"font-family":"'Arial', sans-serif","font-size":"3rem","font-weight":"bold",color:"#333","letter-spacing":"2px"},h2:{"font-family":"'Georgia', serif","font-size":"2rem",color:"#444","font-weight":600,"line-height":"1.4"},h3:{"font-family":"'Roboto', sans-serif","font-size":"1.75rem",color:"#34495e","font-weight":500,"text-align":"center","line-height":"1.4"},h4:{"font-family":"'Roboto', sans-serif","font-size":"1.25rem",color:"#34495e","font-weight":400,"text-align":"center","line-height":"1.4"},h5:{"font-family":"'Roboto', sans-serif","font-size":"1rem",color:"#34495e","font-weight":400,"text-align":"center","line-height":"1.4"},h6:{"font-family":"'Roboto', sans-serif","font-size":".5rem",color:"#34495e","font-weight":200,"text-align":"center","line-height":"1.4"}}[t];if(d&&"span"===c){d.getAttribute("style")||null?d.removeAttribute("style"):u(e,r,s,n,a)}else u(e,r,s,n,a);o.removeAllRanges()}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}function u(e,t,n,o,l){let a=document.createElement("span");a.contenteditable=!1,a.appendChild(t),Object.keys(n).forEach((e=>{a.style[e]=n[e]})),a.innerHTML=l.length>0?a.innerHTML:o,e.deleteContents(),e.insertNode(a)}function g(){return'<style scoped>\n .resizer-image-dropped > div[contenteditable="false"] {\n display: none;\n}\n.resizer-image-dropped{\n border:none !important\n}\n \n.table-picker-wrapper {\n position: relative;\n display: inline-block;\n}\n\n.table-picker-trigger {\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.table-picker-container {\n position: absolute;\n top: 10%;\n right: 90;\n margin-top: 10px;\n padding: 10px;\n border: 0;\n background-color: rgb(244, 244, 244);\n cursor: pointer;\n user-select: none;\n width: max-content;\n display: none;\n left: 85% !important;\n top: -7px;\n /* Hidden by default */\n}\n\n.table-picker-container.hidden {\n /* display: none; */\n}\n\n.table-picker-wrapper:hover .table-picker-container {\n display: block;\n /* Show on hover */\n}\n\n.table-picker-grid {\n display: grid;\n grid-template-columns: repeat(10, 20px);\n grid-template-rows: repeat(10, 20px);\n gap: 2px;\n margin-bottom: 10px;\n}\n\n.table-picker-grid div {\n width: 20px;\n height: 20px;\n border: 1px solid #ddd;\n background-color: #efa153ce;\n}\n\n.table-picker-grid div:hover {\n background-color: rgb(248, 246, 246);\n border: 0;\n}\n\n.table-dimensions {\n font-size: 12px;\n color: #333;\n}\n\n.pomXEditor {\n border: 1px;\n border-style: solid;\n border-color: #6972734e;\n}\n\n#editor:focus {\n outline: none;\n border: none;\n /* Removes any custom borders if applied */\n}\n\n.pom-table-editor-container {\n display: flex;\n}\n\na {\n color: blue;\n /* Default color of the link text */\n text-decoration: underline;\n /* Underline the link text by default */\n cursor: pointer;\n /* Cursor changes to a pointer on hover */\n}\n\n/* Additional pseudo-classes for different link states */\na:link {\n color: blue;\n /* Color of unvisited link */\n}\n\na:visited {\n color: purple;\n /* Color of visited link */\n}\n\na:hover {\n color: red;\n /* Color when the link is hovered over */\n text-decoration: none;\n /* Typically remove underline on hover */\n}\n\na:active {\n color: orange;\n /* Color when the link is clicked */\n}\n\n@media print {\n .print-container {\n /* width: 100%;\nheight: auto;\noverflow: hidden;\npage-break-inside: avoid;\nmargin: 0;\npadding: 0;\nbox-sizing: border-box; */\n }\n\n /* Optional: Set the font size for better print readability */\n /* body {\nfont-size: 12pt;\n} */\n /* Optional: Ensure images or other elements fit within the print area */\n /* img {\nmax-width: 100%;\nheight: auto;\n} */\n .hideonprint {\n display: none !important;\n }\n\n * {\n overflow: hidden;\n /* Hide scrollbar */\n }\n}\n</style>'}const h=(e,t)=>{const n=e.__vccOpts||e;for(const[o,l]of t)n[o]=l;return n},f=t=>(e.pushScopeId("data-v-705c999a"),t=t(),e.popScopeId(),t),v={class:"pom-main-element-container"},x={style:{width:"100%"},id:"fullTextEditor"},b={class:"hideonprint bg-gray-100 items-center",id:"toolbar"},y={class:"flex flex space-x-2 items-center"},E={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},N={class:"relative inline-block text-left group z-10 border-0"},V=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-705c999a><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-705c999a><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-705c999a><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-705c999a>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-705c999a><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-705c999a><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-705c999a></path></svg></div></div>',1),k={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},w={class:"",role:"none"},C=[f((()=>e.createElementVNode("i",{class:"print p x-2"},null,-1))),f((()=>e.createElementVNode("strong",{class:"px-3"},"Print",-1)))],_={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},S=f((()=>e.createElementVNode("i",{class:"eye p x-2"},null,-1))),L=f((()=>e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",id:"fullscreenButton"},[e.createElementVNode("i",{class:"expand-alt p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Fullscreen")],-1))),F={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},A={class:"relative inline-block text-left group z-10 border-0 w-ful l"},z=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-705c999a><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-705c999a><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-705c999a><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-705c999a>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-705c999a><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-705c999a><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-705c999a></path></svg></div></div>',1),T={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},R={class:"",role:"none"},M=[f((()=>e.createElementVNode("i",{class:"bold p x-2"},null,-1))),f((()=>e.createElementVNode("strong",{class:"px-3"},"Bold",-1)))],H=[f((()=>e.createElementVNode("i",{class:"italic p x-2"},null,-1))),f((()=>e.createElementVNode("i",{class:"px-3"},"italic",-1)))],B=[f((()=>e.createElementVNode("i",{class:"underline p x-2"},null,-1))),f((()=>e.createElementVNode("u",{class:"px-3"},"underline",-1)))],j=[f((()=>e.createElementVNode("i",{class:"strikethrough p x-2"},null,-1))),f((()=>e.createElementVNode("del",{class:"px-3"},"strike",-1)))],D=[f((()=>e.createElementVNode("i",{class:"superscript p x-2"},null,-1))),f((()=>e.createElementVNode("sup",{class:"px-3"},"superscript",-1)))],I=[f((()=>e.createElementVNode("i",{class:"subscript p x-2"},null,-1))),f((()=>e.createElementVNode("sub",{class:"px-3"},"subscript",-1)))],$=[f((()=>e.createElementVNode("i",{class:"-list p x-2"},null,-1))),f((()=>e.createElementVNode("summary",{class:"px-3"},"summary",-1)))],Z=[f((()=>e.createElementVNode("i",{class:"list-ol p x-2"},null,-1))),f((()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)))],G=[f((()=>e.createElementVNode("i",{class:"list-ul p x-2"},null,-1))),f((()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)))],O=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H1",-1)))],q=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H2",-1)))],P=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H3",-1)))],W=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H4",-1)))],X=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H5",-1)))],Y=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H6",-1)))],U=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"},"Capitalize",-1)))],K=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"},"Lowercase",-1)))],J=[f((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," Block",-1)))],Q={class:"flex items-center border-1 b g-gray-200 rounded cursor-pointer"},ee={class:"relative inline-block text-left group z-10 border-0 w-ful l"},te=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-705c999a><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-705c999a><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-705c999a><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-705c999a>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-705c999a><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-705c999a><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-705c999a></path></svg></div></div>',1),ne={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},oe={class:"",role:"none"},le={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},ae=f((()=>e.createElementVNode("i",{class:"image p x-2"},null,-1))),re=f((()=>e.createElementVNode("label",{for:"pom43546535435445Image",class:"px-3"},"Image",-1))),ie=[f((()=>e.createElementVNode("i",{class:"anchor p x-2"},null,-1))),f((()=>e.createElementVNode("span",{class:"px-3"},"Anchor",-1)))],de=[f((()=>e.createElementVNode("i",{class:"-calendar-alt 1x"},null,-1))),f((()=>e.createElementVNode("span",{class:"px-1"},"Date/time",-1)))],ce=f((()=>e.createElementVNode("div",{class:"text-center w-full p y-1 bg-gray-100 font-bold"},"Table",-1))),se=[f((()=>e.createElementVNode("i",{class:"trash-can p x-2"},null,-1))),f((()=>e.createElementVNode("span",{class:"px-3"},"Delete All",-1)))],me=[f((()=>e.createElementVNode("i",{class:"eye-slash p x-2"},null,-1))),f((()=>e.createElementVNode("span",{class:"px-3"},"Hide/Show All ",-1)))],pe={class:"table-picker-wrapper"},ue=f((()=>e.createElementVNode("div",{class:"table-picker-trigger"},[e.createElementVNode("i",{class:"table p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Create")],-1))),ge={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},he={class:"relative inline-block text-left group z-10 border-0"},fe=f((()=>e.createElementVNode("div",{class:"w-full flex rounded-md showfontFamilyMenu"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"p y-1 w borde r-1 w-full text-start in flex flex-wrap"},[e.createElementVNode("span",{class:"cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600"},"Fonts")])])],-1))),ve={class:"p y-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts"},xe={class:"cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600"},be={class:"hidden text-left absolute group-hover:block mt-0 gap-2 px-2 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none","data-alloy-placement":"southeast",style:{height:"25vh",overflow:"auto"}},ye={class:"collection__group"},Ee=f((()=>e.createElementVNode("div",{title:"Andale Mono",id:"menu-item_3745045357111728727990777",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--active","aria-disabled":"false","aria-checked":"false","aria-selected":"true"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",{style:{"font-family":"andale mono, monospace"}},"Andale Mono")])],-1))),Ne={title:"Arial",id:"menu-item_8107570667141728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Ve={class:"collection__item-label"},ke={title:"Arial Black",id:"menu-item_7337372467171728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},we={class:"collection__item-label"},Ce={title:"Book Antiqua",id:"menu-item_8277641917201728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},_e={class:"collection__item-label"},Se={title:"Comic Sans MS",id:"menu-item_2698863237231728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Le={class:"collection__item-label"},Fe={title:"Courier New",id:"menu-item_2979203277261728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Ae={class:"collection__item-label"},ze={title:"Georgia",id:"menu-item_8075939747291728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Te={class:"collection__item-label"},Re={title:"Helvetica",id:"menu-item_8872440547321728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--enabled","aria-disabled":"false","aria-checked":"true"},Me={class:"collection__item-label"},He={title:"Impact",id:"menu-item_3423693847351728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Be={class:"collection__item-label"},je={title:"Symbol",id:"menu-item_7163579447381728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},De={class:"collection__item-label"},Ie={title:"Tahoma",id:"menu-item_4449979827411728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},$e={class:"collection__item-label"},Ze={title:"Terminal",id:"menu-item_2511923047441728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Ge={class:"collection__item-label"},Oe={title:"Times New Roman",id:"menu-item_7770771337471728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},qe={class:"collection__item-label"},Pe={title:"Trebuchet MS",id:"menu-item_7916647947501728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},We={class:"collection__item-label"},Xe={title:"Verdana",id:"menu-item_1549891587531728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Ye={class:"collection__item-label"},Ue=f((()=>e.createElementVNode("div",{title:"Webdings",id:"menu-item_955052057561728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Webdings")])],-1))),Ke=f((()=>e.createElementVNode("div",{title:"Wingdings",id:"menu-item_93264657591728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Wingdings")])],-1))),Je={style:{display:"flex","justify-content":"space-between","align-items":"center"}},Qe=[f((()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],et=[f((()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],tt=[f((()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],nt=[f((()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],ot={class:"relative inline-block text-left group z-10 border-0 w-ful l"},lt=f((()=>e.createElementVNode("div",{class:"w-full flex rounded-md"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",id:"menu-button","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"split-button flex items-center",style:{"user-select":"none"}},[e.createElementVNode("span",null,[e.createElementVNode("span",{c:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z","fill-rule":"evenodd"})])])]),e.createElementVNode("span",{role:"presentation",class:"tbtn split-button__chevron","aria-disabled":"false"},[e.createElementVNode("svg",{width:"10",height:"10",focusable:"false"},[e.createElementVNode("path",{d:"M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z","fill-rule":"nonzero"})])])])])],-1))),at={class:"hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},rt={class:"flex",role:"none"},it=[f((()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("circle",{cx:"11",cy:"14",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"24",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"34",r:"3"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)))],dt=[f((()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z","fill-rule":"nonzero"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)))],ct=[f((()=>e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"1"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"2"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"3"),e.createElementVNode("rect",{x:"24",y:"12",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"22",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"32",width:"20",height:"4",fill:"black",opacity:".2"})],-1)))],st=[f((()=>e.createElementVNode("div",{class:"text-sm"},[e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"A"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"B"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"C"),e.createElementVNode("rect",{x:"18",y:"12",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("rect",{x:"18",y:"22",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"18",y:"32",width:"22",height:"4",fill:"black",opacity:".2"})])],-1)))],mt={class:"flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",style:{height:"37px"}},pt=[e.createStaticVNode('<i class="bold p x-2" data-v-705c999a><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><g id="text-bold" transform="translate(-4 -2)" data-v-705c999a><path id="primary" d="M5,3h7.5A4.49,4.49,0,0,1,17,7.5h0A4.49,4.49,0,0,1,12.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-705c999a></path><path id="primary-2" data-name="primary" d="M5,21h9.5A4.49,4.49,0,0,0,19,16.5h0A4.49,4.49,0,0,0,14.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-705c999a></path><path id="primary-3" data-name="primary" d="M7,3V21H8V3Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-705c999a></path></g></g></svg></i>',1)],ut=[e.createStaticVNode('<i class="italic p x-2" data-v-705c999a><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><g id="layer1" data-v-705c999a><path d="M 7 4 L 7 5 L 9.9921875 5 L 8 15.955078 L 8 16 L 5 16 L 5 17 L 12 17 L 12 16 L 9.0078125 16 L 11 5.0449219 L 11 5 L 14 5 L 14 4 L 7 4 z " style="fill:#222222;fill-opacity:1;stroke:none;stroke-width:0px;" data-v-705c999a></path></g></g></svg></i>',1)],gt=[e.createStaticVNode('<i class="underline p x-2" data-v-705c999a><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="13px" height="13px" viewBox="0 0 970.5 970.5" xml:space="preserve" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><g data-v-705c999a><path d="M116.1,868.5c-28.2,0-51,22.8-51,51s22.8,51,51,51h741.5c28.199,0,51-22.8,51-51s-22.801-51-51-51H116.1z" data-v-705c999a></path><path d="M940.9,45.1c0-4.9,0-10.1,0-15.1c0-16.6-13.4-30-30-30H582.199c-16.6,0-30,13.4-30,30v14.5c0,15.5,11.801,28.4,27.201,29.9 c14.5,1.4,29,3.5,43.299,6.3c30.201,5.9,44.9,22.7,44.9,53.3v374.9c0,22-2.5,45.399-7.301,69.5c-4.6,23.1-13.898,45-27.6,65 c-14.299,20.1-34.199,36.899-59,49.899c-21.6,11.3-51.4,17.7-88.299,19.2c-37-1.4-66.7-7.9-88.3-19.2 c-24.801-13-44.7-29.7-59-49.899c-13.7-20-23-41.9-27.601-65c-4.8-24.2-7.3-47.601-7.3-69.5v-375c0-30.5,14.7-47.3,44.9-53.3 c14.3-2.8,28.699-4.9,43.3-6.3c15.399-1.5,27.2-14.4,27.2-29.9V30c0-16.6-13.4-30-30-30h-329c-16.6,0-30,13.4-30,30 c0,5,0,10.2,0,15.1c0,14.7,10.7,27.3,25.2,29.6C73,77.6,94.9,81.8,98.3,83c27,9.8,44.2,27.4,44.2,57v408.6c0,34.4,7.4,67.9,22,99.5 c14.6,31.601,36.5,60,65.2,84.4l0.1,0.1c28.8,24.2,64.8,43.601,106.9,57.7c41.8,14,90,21.101,143.2,21.101c1.7,0,3.5,0,5.399-0.101 c2,0,3.701,0.101,5.4,0.101C543.9,811.4,592,804.3,633.9,790.3c42.1-14.1,78-33.5,106.898-57.7l0.102-0.1 c28.699-24.4,50.6-52.8,65.199-84.4c14.6-31.6,22-65.1,22-99.5V140.1c0-29.6,17.301-47.2,44.199-57c3.4-1.2,25.301-5.4,43.5-8.3 C930.299,72.4,940.9,59.8,940.9,45.1z" data-v-705c999a></path></g></g></svg></i>',1)],ht={class:"strikethrough p x-2"},ft={fill:"#000000",width:"13px",height:"13px",viewBox:"0 0 64 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve","xmlns:serif":"http://www.serif.com/",style:{"fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"}},vt=[f((()=>e.createElementVNode("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"},null,-1))),f((()=>e.createElementVNode("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"},null,-1))),f((()=>e.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[e.createElementVNode("rect",{id:"Icons",x:"-192",y:"0",width:"1280",height:"800",style:{fill:"none"}}),e.createElementVNode("g",{id:"Icons1","serif:id":"Icons"},[e.createElementVNode("g",{id:"Strike"},[e.createElementVNode("rect",{id:"Strike-line","serif:id":"Strike line",x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("rect",{x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("path",{id:"Strike1","serif:id":"Strike",d:"M46.396,35.711c0.414,0.482 0.779,0.983 1.093,1.504c1.06,1.756 1.59,3.823 1.59,6.2c0,3.791 -1.478,6.827 -4.433,9.107c-2.955,2.281 -6.907,3.422 -11.854,3.422c-3.212,0 -6.21,-0.616 -8.994,-1.848c-2.785,-1.231 -4.931,-2.917 -6.441,-5.059c-1.51,-2.142 -2.265,-4.572 -2.265,-7.292l6.2,0c0,2.827 1.044,5.059 3.132,6.698c2.088,1.638 4.877,2.457 8.368,2.457c3.256,0 5.75,-0.664 7.485,-1.992c1.735,-1.327 2.602,-3.137 2.602,-5.429c0,-2.291 -0.803,-4.063 -2.409,-5.316c-1.057,-0.824 -2.68,-1.642 -4.868,-2.452l10.794,0Zm-27.382,-8.094c-1.629,-1.974 -2.444,-4.3 -2.444,-6.978c0,-3.683 1.472,-6.73 4.417,-9.139c2.944,-2.409 6.773,-3.614 11.484,-3.614c3.212,0 6.077,0.621 8.593,1.863c2.517,1.242 4.465,2.956 5.847,5.14c1.381,2.185 2.072,4.572 2.072,7.164l-6.2,0c0,-2.827 -0.9,-5.049 -2.699,-6.666c-1.799,-1.617 -4.336,-2.425 -7.613,-2.425c-3.041,0 -5.413,0.669 -7.115,2.007c-1.703,1.339 -2.554,3.197 -2.554,5.574c0,1.906 0.808,3.518 2.425,4.835c0.966,0.786 2.337,1.533 4.112,2.239l-10.325,0Z",style:{"fill-rule":"nonzero"}})]),e.createElementVNode("g",{id:"H1"}),e.createElementVNode("g",{id:"H2"}),e.createElementVNode("g",{id:"H3"}),e.createElementVNode("g",{id:"list-ul"}),e.createElementVNode("g",{id:"hamburger-1"}),e.createElementVNode("g",{id:"hamburger-2"}),e.createElementVNode("g",{id:"list-ol"}),e.createElementVNode("g",{id:"list-task"}),e.createElementVNode("g",{id:"trash"}),e.createElementVNode("g",{id:"vertical-menu"}),e.createElementVNode("g",{id:"horizontal-menu"}),e.createElementVNode("g",{id:"sidebar-2"}),e.createElementVNode("g",{id:"Pen"}),e.createElementVNode("g",{id:"Pen1","serif:id":"Pen"}),e.createElementVNode("g",{id:"clock"}),e.createElementVNode("g",{id:"external-link"}),e.createElementVNode("g",{id:"hr"}),e.createElementVNode("g",{id:"info"}),e.createElementVNode("g",{id:"warning"}),e.createElementVNode("g",{id:"plus-circle"}),e.createElementVNode("g",{id:"minus-circle"}),e.createElementVNode("g",{id:"vue"}),e.createElementVNode("g",{id:"cog"}),e.createElementVNode("g",{id:"logo"}),e.createElementVNode("g",{id:"radio-check"}),e.createElementVNode("g",{id:"eye-slash"}),e.createElementVNode("g",{id:"eye"}),e.createElementVNode("g",{id:"toggle-off"}),e.createElementVNode("g",{id:"shredder"}),e.createElementVNode("g",{id:"spinner--loading--dots-","serif:id":"spinner [loading, dots]"}),e.createElementVNode("g",{id:"react"}),e.createElementVNode("g",{id:"check-selected"}),e.createElementVNode("g",{id:"turn-off"}),e.createElementVNode("g",{id:"code-block"}),e.createElementVNode("g",{id:"user"}),e.createElementVNode("g",{id:"coffee-bean"}),e.createElementVNode("g",{id:"coffee-beans"},[e.createElementVNode("g",{id:"coffee-bean1","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"coffee-bean-filled"}),e.createElementVNode("g",{id:"coffee-beans-filled"},[e.createElementVNode("g",{id:"coffee-bean2","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"clipboard"}),e.createElementVNode("g",{id:"clipboard-paste"}),e.createElementVNode("g",{id:"clipboard-copy"}),e.createElementVNode("g",{id:"Layer1"})])],-1)))],xt=[f((()=>e.createElementVNode("i",{class:"superscript p x-2"},"sup",-1)))],bt=[f((()=>e.createElementVNode("i",{class:"subscript p x-2"},"sub",-1)))],yt=[e.createStaticVNode('<i class="-code p x-2" data-v-705c999a><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-705c999a></path><path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000" data-v-705c999a></path><path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000" data-v-705c999a></path></g></svg></i>',1)],Et={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},Nt=f((()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-highlight-bg-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{"fill-rule":"nonzero",d:"M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"})])])],-1))),Vt={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"50vh",overflow:"auto"}},kt={class:"color-grid"},wt=["onClick"],Ct={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},_t=f((()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("span",{role:"presentation",class:"tbtn","aria-disabled":"false",style:{width:"34px"}},[e.createElementVNode("span",{class:"icon tbtn__icon-wrap"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-text-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{d:"M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"})])])])])],-1))),St={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},Lt={class:"color-grid"},Ft=["onClick"],At=[e.createStaticVNode('<span class="" data-v-705c999a><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><path fill-rule="evenodd" clip-rule="evenodd" d="M7.53033 3.46967C7.82322 3.76256 7.82322 4.23744 7.53033 4.53033L5.81066 6.25H15C18.1756 6.25 20.75 8.82436 20.75 12C20.75 15.1756 18.1756 17.75 15 17.75H8.00001C7.58579 17.75 7.25001 17.4142 7.25001 17C7.25001 16.5858 7.58579 16.25 8.00001 16.25H15C17.3472 16.25 19.25 14.3472 19.25 12C19.25 9.65279 17.3472 7.75 15 7.75H5.81066L7.53033 9.46967C7.82322 9.76256 7.82322 10.2374 7.53033 10.5303C7.23744 10.8232 6.76256 10.8232 6.46967 10.5303L3.46967 7.53033C3.17678 7.23744 3.17678 6.76256 3.46967 6.46967L6.46967 3.46967C6.76256 3.17678 7.23744 3.17678 7.53033 3.46967Z" fill="#1C274C" data-v-705c999a></path></g></svg></span>',1)],zt=[e.createStaticVNode('<span class="" data-v-705c999a><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><path d="M20 7H9.00001C6.23858 7 4 9.23857 4 12C4 14.7614 6.23858 17 9 17H16M20 7L17 4M20 7L17 10" stroke="#1C274C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></path></g></svg></span>',1)],Tt=[e.createStaticVNode('<span class="" data-v-705c999a><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-705c999a><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-705c999a></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-705c999a></g><g id="SVGRepo_iconCarrier" data-v-705c999a><path fill="#494c4e" d="M16 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm0 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm1 4v2c0 1-1 2-2 2h-2c0 .3 0 .5-.3.7-.2.2-.4.3-.7.3s-.5 0-.7-.3l-1-1c-.4-.4-.4-1 0-1.4l1-1c.4-.4 1-.4 1.4 0 .2.2.3.4.3.7h2v-2H2c-.6 0-1-.5-1-1s.5-1 1-1h13c1 0 2 1 2 2z" data-v-705c999a></path></g></svg></span>',1)],Rt={style:{width:"3%"}},Mt={class:"items-center bo rder-1 b g-gray-200 rounded cursor-pointer"},Ht={class:""},Bt=f((()=>e.createElementVNode("div",{class:"showfontFamilyMenu"},"Sizes",-1))),jt={class:"p y-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts relative inline-block text-left group z-10 border-0",style:{height:"26vh",overflow:"auto",width:"6vw"}},Dt=["onClick","value"],It={style:{"min-height":"100%","text-align":"justify"}},$t=["innerHTML"],Zt={key:0,class:"hideonprint flex items-center",style:{"text-align":"center","align-items":"stretch",gap:"10px"}},Gt=[f((()=>e.createElementVNode("i",{class:"-"},null,-1))),f((()=>e.createElementVNode("strong",{class:"p x-2"},"NEW LINE",-1)))],Ot=f((()=>e.createElementVNode("p",{style:{margin:"0 0 0 10px"}},[e.createTextVNode("Cursor position: "),e.createElementVNode("span",{id:"cursorPosition"},"0")],-1))),qt=f((()=>e.createElementVNode("p",null,[e.createTextVNode("Text at cursor: "),e.createElementVNode("span",{id:"textAtCursor"})],-1)));return h({__name:"Editor",props:{Dvalue:{default:""},TextOnly:{default:!1},cssWanted2:{default:!1},Files:{size:null,limits:30}},emits:["change","update"],setup(t,{emit:u}){const g=e.ref(null),h=e.ref(!1),f=e.ref(null),Pt=e.ref(null),Wt=e.ref(null),Xt=e.ref(null);e.ref([]);let Yt=null;const Ut=e.ref(["FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","5733FF","57FF33","FF3333","33FF33","3333FF","FF33AA","33AAFF","AAFF33","FFAA33","AA33FF","33FFAA","AAFFAA","FFAAFF","FF6347","40E0D0","FFD700","8A2BE2","DC143C","00CED1","7FFF00","FF4500","fffefe","2E8B57","DAA520","6A5ACD","FF1493","B8860B","4682B4","D2691E","ADFF2F","5F9EA0","FF69B4","7B68EE","00FF7F","20B2AA","FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","FFD700","8A2BE2","7FFFD4","FF4500","6A5ACD","00FF7F","FF6347","FF1493","00CED1","989393","000000"]),Kt=u,Jt=t,Qt=e.ref(null);function en(...e){try{var t=document.querySelectorAll(".removeinlineblock");let n;n=Jt.TextOnly?g.value.value:Qt.value.innerHTML,t.forEach((function(e){e.style.display="block"})),l(...e,n)}catch(n){}}function tn(...e){var t;un(),function(e,t,n,o,l="",a="span",r=!1){var i,d;if(!e)return void console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");const c={justify:"left",none:"left",end:"right",start:"left",center:"left"};if(r)return void(r.target.parentElement.style.float=`${c[o]}`);const s=window.getSelection();s.removeAllRanges(),s.addRange(e);const m=s.getRangeAt(0);let p=m.cloneContents();const u=m.commonAncestorContainer,g=u.nodeType===Node.TEXT_NODE?u.parentNode:u;let h,f;h=document.createElement(a),h.classList.add("pom-4-textDirection"),h.setAttribute("id",`pom-4-textDirection-${Date.now()}`);const v=`${g.tagName}`.toLowerCase(),x=g?null==(i=g.classList)?void 0:i.contains("resizer-image-dropped"):null;if(g&&(null==(d=g.classList)?void 0:d.contains("pom-4-textDirection"))&&g.childNodes.forEach((e=>{var t;e.nodeType===Node.ELEMENT_NODE&&((null==(t=e.classList)?void 0:t.contains("resizer-image-dropped"))||e.removeAttribute("style"))})),"ul"==v||x||"img"==v)return g.style.float=`${c[o]}`,void(g.style.fontWeight="bold");h.appendChild(p),"editor"===g.id?(f=h.innerHTML.replace("text-align","note"),e.deleteContents()):(f=h.innerHTML,e.deleteContents());const b=h.style[n]||"",y=new RegExp(l,"ig"),E=o.replace(y,"")+l;b.includes(E)?h.style[n]=b.replace(E,""):h.style[n]=(b+E).trim(),h.style["margin-left"]="4px",h.style["margin-right"]="4px",h.innerHTML=f,e.insertNode(h);const N=document.createRange();N.collapse(!0),s.removeAllRanges(),s.addRange(N),e=N.cloneRange(),t.focus()}(null==(t=f.value)?void 0:t.range,g.value,...e,h.value),h.value=!1,rn()}function nn(...e){var t;m(null==(t=f.value)?void 0:t.range,g.value,...e),Yt=null,rn()}function on(...e){var t;m(null==(t=f.value)?void 0:t.range,g.value,...e),Yt=null,rn()}function ln(e){const t=e.target.files;0!==t.length?Array.from(t).forEach((e=>{if(!e.type.startsWith("image/"))return void console.error("Selected file is not an image:",e.name);const t=new FileReader;t.onload=e=>{hn(e.target.result)},t.onerror=t=>{console.error("Error reading the file:",e.name,t)},t.readAsDataURL(e)})):console.log("No files selected")}function an(...e){!function(e,t,n="span",o="datetime-local",l={},a=[]){const r=document.getElementById("Pom-openInputToFeed"+o);r&&r.remove();const i=document.createElement("div"),d=document.createElement("input");i.id="custom-context-menu",i.style.position="absolute",i.style.backgroundColor="white",i.style.border="1px solid #ccc",i.style.padding="10px",i.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",i.style.zIndex="1000",i.style.left=`${null==t?void 0:t.pageX}px`,i.style.top=`${null==t?void 0:t.pageY}px`,d.id="Pom-openInputToFeed"+o,d.classList.add("Pom-openInputToFeed"),d.type=o,d.style.cssText=l,i.appendChild(d);const s=document.getElementById("toolbar");function m(e){i.contains(e.target)||(i.remove(),window.document.removeEventListener("click",m))}function p(e){e.preventDefault();const t=this.href;window.open(t,"_blank"),window.document.removeEventListener("click",p)}s&&s.appendChild(i),d.addEventListener("change",(function(){const t=`${this.value}`;if("datetime-local"==o)c(e,n,t.replace(/T/," "));else{let o=[];for(const e in a)if(a.hasOwnProperty(e))if("href"===e.toLowerCase())o.push({attr:e,value:t});else{const t=a[e];o.push({attr:e,value:t})}c(e,n,"**link Name** ",o)}i.remove(),window.document.removeEventListener("click",m);const l=document.getElementsByClassName("pom-editor-anchor-tag");for(let e=0;e<l.length;e++)l[e].addEventListener("click",p)}))}(f.value.range,...e),Yt=null}function rn(e){var t;let n;"true"==Jt.TextOnly?e&&(null==(t=e.target)?void 0:t.value)&&(n=`${e.target.value}`.replace(/<\/[a-z]*?>|<\S.*?>/gi,(e=>e.startsWith("</")?"":"\n"))):(n=function(e=document.getElementById("pom-texedito-container")){return o(e.querySelectorAll(".pom-4-imageContainer")),e.innerHTML}(g.value),s.SaveCurrentChanges(n),1==Jt.cssWanted&&Kt("cssWanted",'<style scoped>\n .resizer-image-dropped > div[contenteditable="false"] {\n display: none;\n}\n.resizer-image-dropped{\n border:none !important\n}\n \n.table-picker-wrapper {\n position: relative;\n display: inline-block;\n}\n\n.table-picker-trigger {\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.table-picker-container {\n position: absolute;\n top: 10%;\n right: 90;\n margin-top: 10px;\n padding: 10px;\n border: 0;\n background-color: rgb(244, 244, 244);\n cursor: pointer;\n user-select: none;\n width: max-content;\n display: none;\n left: 85% !important;\n top: -7px;\n /* Hidden by default */\n}\n\n.table-picker-container.hidden {\n /* display: none; */\n}\n\n.table-picker-wrapper:hover .table-picker-container {\n display: block;\n /* Show on hover */\n}\n\n.table-picker-grid {\n display: grid;\n grid-template-columns: repeat(10, 20px);\n grid-template-rows: repeat(10, 20px);\n gap: 2px;\n margin-bottom: 10px;\n}\n\n.table-picker-grid div {\n width: 20px;\n height: 20px;\n border: 1px solid #ddd;\n background-color: #efa153ce;\n}\n\n.table-picker-grid div:hover {\n background-color: rgb(248, 246, 246);\n border: 0;\n}\n\n.table-dimensions {\n font-size: 12px;\n color: #333;\n}\n\n.pomXEditor {\n border: 1px;\n border-style: solid;\n border-color: #6972734e;\n}\n\n#editor:focus {\n outline: none;\n border: none;\n /* Removes any custom borders if applied */\n}\n\n.pom-table-editor-container {\n display: flex;\n}\n\na {\n color: blue;\n /* Default color of the link text */\n text-decoration: underline;\n /* Underline the link text by default */\n cursor: pointer;\n /* Cursor changes to a pointer on hover */\n}\n\n/* Additional pseudo-classes for different link states */\na:link {\n color: blue;\n /* Color of unvisited link */\n}\n\na:visited {\n color: purple;\n /* Color of visited link */\n}\n\na:hover {\n color: red;\n /* Color when the link is hovered over */\n text-decoration: none;\n /* Typically remove underline on hover */\n}\n\na:active {\n color: orange;\n /* Color when the link is clicked */\n}\n\n@media print {\n .print-container {\n /* width: 100%;\nheight: auto;\noverflow: hidden;\npage-break-inside: avoid;\nmargin: 0;\npadding: 0;\nbox-sizing: border-box; */\n }\n\n /* Optional: Set the font size for better print readability */\n /* body {\nfont-size: 12pt;\n} */\n /* Optional: Ensure images or other elements fit within the print area */\n /* img {\nmax-width: 100%;\nheight: auto;\n} */\n .hideonprint {\n display: none !important;\n }\n\n * {\n overflow: hidden;\n /* Hide scrollbar */\n }\n}\n</style>')),n&&setTimeout((()=>{Kt("change",n.replace(/<(\w+)[^>]*>\s*<\/\1>/g,""))}),300)}function dn(e){e.addEventListener("click",(function(t){h.value=t;const n=document.createElement("div");n.style.display="flex",n.style.position="absolute",n.style.bottom="20px",n.style.right="0px",n.style.zIndex="100",n.style.background="white",n.classList.add("Image_dropped_pom"),n.classList.add("hideOnprint");const o=document.createElement("button");o.textContent=" Left",o.style.margin="5px";const l=document.createElement("button");l.textContent=" Right",l.style.margin="5px";const a=document.createElement("button");a.textContent="Center ",a.style.margin="5px",n.appendChild(o),n.appendChild(l),n.appendChild(a),e.appendChild(n),o.addEventListener("click",(()=>{e.style.float="left",fn()})),l.addEventListener("click",(()=>{e.style.float="right",fn()})),a.addEventListener("click",(()=>{e.style.display="block",e.style.margin="0 auto",fn()})),document.addEventListener("click",(function t(n){e.contains(n.target)||(fn(),document.removeEventListener("click",t))}),{once:!0})}))}function cn(){!function(e){const t=document.createElement("div");t.textContent="NeW line ",e.appendChild(t),t.focus()}(g.value)}function sn(...e){p(f.value.range,...e),rn()}function mn(...e){c(f.value.range,...e),rn()}function pn(...e){!function(e,t=2,n="list-style"){if(e){const o=window.getSelection();o.removeAllRanges(),o.addRange(e);const l=document.createElement("ul");l.style.listStyle=n,l.style.paddingLeft="73px";for(let e=0;e<t;e++){const t=document.createElement("li");t.style.padding="5px",t.textContent=`li ${e+1}, `,t.style.position="relative",l.appendChild(t)}e.deleteContents(),e.insertNode(l);const a=l.querySelector("td"),r=document.createRange();r.setStart(a,0),r.collapse(!0),o.removeAllRanges(),o.addRange(r),e=r.cloneRange(),editor.focus()}}(f.value.range,...e),rn()}function un(){f.value=function(){const e=window.getSelection();if(e.rangeCount>0)return{range:e.getRangeAt(0).cloneRange(),selection:e}}(),function(){const e=window.getSelection();if(e.rangeCount>0){const t=e.getRangeAt(0),n=t.startOffset;if(document.getElementById("cursorPosition")){document.getElementById("cursorPosition").textContent=n;const e=t.startContainer;if(e.nodeType===Node.TEXT_NODE){const t=e.textContent.substring(n,n+1);document.getElementById("textAtCursor").textContent=t}else document.getElementById("textAtCursor").textContent="No text here"}}}(),function(e,t,n,o){for(r=e;n.firstChild;){const e=n.firstChild;e.removeEventListener("mouseover",d),e.removeEventListener("click",i),n.removeChild(e)}for(let l=0;l<100;l++){const e=document.createElement("div");e.addEventListener("mouseover",(e=>d(e,o,n))),e.addEventListener("click",(()=>i(t,o))),n.appendChild(e)}}(f.value,g.value,Wt.value,Xt.value),Yt=null,rn()}function gn(e){var t,n,o,l,a;e.preventDefault();const r=e.dataTransfer.files;if(parseFloat(null==(t=Jt.Files)?void 0:t.limits)==parseFloat(null==(n=Jt.Files)?void 0:n.limits))return void alert(`You can not upload more than ${Jt.Files.limits} images`);const i=function(e){const t=(e.size/1024).toFixed(2);return{fileSizeInMB:(t/1024).toFixed(2),fileSizeInKB:t}}(r[0]);if((null==(o=Jt.Files)?void 0:o.size)>0&&i.fileSizeInMB>parseFloat(null==(l=Jt.Files)?void 0:l.size))alert(`File size should be less than ${null==(a=Jt.Files)?void 0:a.size} MB`);else{if(console.log(`Image Droped ${i.fileSizeInMB} MB / ${i.fileSizeInKB} KB`),r.length>0){const e=r[0],t=new FileReader;t.onload=e=>{hn(e.target.result)},t.readAsDataURL(e)}rn()}}function hn(e){fn();const t=f.value.range;if(t){let n=function(e,t){e.preventDefault(),s=t,window.addEventListener("mousemove",o),window.addEventListener("mouseup",l)},o=function(e){const t=r.getBoundingClientRect();if("width"===s||"both"===s){const n=e.clientX-t.left;r.style.width=n+"px",a.style.width=n+"px"}if("height"===s||"both"===s){const n=e.clientY-t.top;a.style.height=n+"px"}},l=function(){window.removeEventListener("mousemove",o),window.removeEventListener("mouseup",l)};const a=document.createElement("img");a.src=e,a.style.maxWidth="100%",a.style.position="relative",a.classList.add("resizable-image");const r=document.createElement("span");r.style.display="inline-block",r.style.width="200px",r.style.position="relative",r.contentEditable=!1,r.classList.add("resizer-image-dropped"),dn(r);const i=document.createElement("div");i.style.width="10px",i.style.height="100%",i.style.background="gray",i.style.position="absolute",i.style.right="0",i.style.top="0",i.style.cursor="ew-resize",i.style.zIndex="2",i.classList.add("hideOnprint"),i.setAttribute("contentEditable",!1);const d=document.createElement("div");d.style.width="100%",d.style.height="10px",d.style.background="gray",d.style.position="absolute",d.style.bottom="0",d.style.left="0",d.style.cursor="ns-resize",d.style.zIndex="2",d.classList.add("hideOnprint"),d.setAttribute("contentEditable",!1);const c=document.createElement("div");let s;c.style.width="20px",c.style.height="20px",c.style.background="gray",c.style.position="absolute",c.style.right="0",c.style.bottom="0",c.style.cursor="nwse-resize",c.style.zIndex="10",c.setAttribute("contentEditable",!1),r.appendChild(a),r.appendChild(i),r.appendChild(d),r.appendChild(c),r.addEventListener("click",(e=>{Yt&&(Yt.style.border=""),Yt=r})),i.addEventListener("mousedown",(e=>n(e,"width"))),d.addEventListener("mousedown",(e=>n(e,"height"))),c.addEventListener("mousedown",(e=>n(e,"both"))),t.insertNode(r),function(){const e=document.getElementsByClassName("resizer-image-dropped");Array.from(e).forEach((e=>{dn(e)})),h.value=!1}(),rn()}}function fn(e="Image_dropped_pom"){const t=document.getElementsByClassName(e);Array.from(t).forEach((e=>{e.remove()})),rn()}function vn(e){const t=s[e]();setTimeout((()=>{t&&(g.value.innerHTML=t,rn())}),100)}return e.onMounted((()=>{g.value.focus(),rn(),a()})),(o,l)=>(e.openBlock(),e.createElementBlock("span",v,[e.createElementVNode("div",x,[e.createElementVNode("div",b,[e.createElementVNode("div",y,[e.createElementVNode("div",E,[e.createElementVNode("div",N,[V,e.createElementVNode("div",k,[e.createElementVNode("div",w,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[0]||(l[0]=e=>en(!0))},C),e.createElementVNode("div",_,[S,e.createElementVNode("strong",{class:"px-3",onClick:l[1]||(l[1]=e=>en(!1))},"Preview")]),L])])])]),e.createElementVNode("div",F,[e.createElementVNode("div",A,[z,e.createElementVNode("div",T,[e.createElementVNode("div",R,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",onClick:l[2]||(l[2]=e=>mn())},M),e.createElementVNode("div",{onClick:l[3]||(l[3]=e=>mn("i","**italic text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},H),e.createElementVNode("div",{onClick:l[4]||(l[4]=e=>mn("u","**underLine text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},B),e.createElementVNode("div",{onClick:l[5]||(l[5]=e=>mn("s","**underLine text**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},j),e.createElementVNode("div",{onClick:l[6]||(l[6]=e=>mn("sup","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},D),e.createElementVNode("div",{onClick:l[7]||(l[7]=e=>mn("sub","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},I),e.createElementVNode("div",{onClick:l[8]||(l[8]=e=>mn("summary","**summary**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},$),e.createElementVNode("div",{onClick:l[9]||(l[9]=e=>mn("ol","1.\tordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},Z),e.createElementVNode("div",{onClick:l[10]||(l[10]=e=>mn("ul","1.\tunordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},G),e.createElementVNode("div",{onClick:l[11]||(l[11]=e=>sn("h1","**h1**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},O),e.createElementVNode("div",{onClick:l[12]||(l[12]=e=>sn("h2","**h2**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},q),e.createElementVNode("div",{onClick:l[13]||(l[13]=e=>sn("h3","**h3**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},P),e.createElementVNode("div",{onClick:l[14]||(l[14]=t=>e.unref(p)("h4","**h4**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},W),e.createElementVNode("div",{onClick:l[15]||(l[15]=e=>sn("h5","**h5**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},X),e.createElementVNode("div",{onClick:l[16]||(l[16]=e=>sn("h6","**h6**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Y),e.createElementVNode("div",{onClick:l[17]||(l[17]=e=>on("text-transform","capitalize")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},U),e.createElementVNode("div",{onClick:l[18]||(l[18]=e=>on("text-transform","lowercase")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},K),e.createElementVNode("div",{onClick:l[19]||(l[19]=e=>on("text-transform","uppercase")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},J)])])])]),e.createElementVNode("div",Q,[e.createElementVNode("div",ee,[te,e.createElementVNode("div",ne,[e.createElementVNode("div",oe,[e.createElementVNode("div",le,[ae,re,e.createElementVNode("input",{type:"file",hidden:"",id:"pom43546535435445Image",accept:"image/*",multiple:"",onChange:ln},null,32)]),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[20]||(l[20]=e=>{an(this,"a","links",{},{href:"",class:"pom-editor-anchor-tag",style:"text-decoration: underline;cursor: pointer"})})},ie),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",onClick:l[21]||(l[21]=e=>an(this))},de),e.createElementVNode("div",null,[ce,e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[22]||(l[22]=t=>e.unref(n)())},se),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[23]||(l[23]=t=>e.unref(n)(!0))},me),e.createElementVNode("div",pe,[ue,e.createElementVNode("div",{id:"table-picker-container",ref_key:"tablePickerContainer",ref:Pt,class:"table-picker-container"},[e.createElementVNode("div",{id:"table-picker-grid",ref_key:"tablePickerGrid",ref:Wt,class:"table-picker-grid"},null,512),e.createElementVNode("span",{id:"table-dimensions",ref_key:"tableDimensions",ref:Xt,class:"table-dimensions"},"0 x 0",512)],512)])])])])])]),e.createElementVNode("div",ge,[e.createElementVNode("div",he,[fe,e.createElementVNode("div",ve,[e.createElementVNode("span",xe,[e.createElementVNode("div",be,[e.createElementVNode("div",ye,[Ee,e.createElementVNode("div",Ne,[e.createElementVNode("div",Ve,[e.createElementVNode("div",{onClick:l[24]||(l[24]=()=>nn("font-family"," arial, helvetica, sans-serif")),style:{"font-family":"arial, helvetica, sans-serif"}},"Arial ")])]),e.createElementVNode("div",ke,[e.createElementVNode("div",we,[e.createElementVNode("div",{style:{"font-family":'"arial black", sans-serif'},onClick:l[25]||(l[25]=()=>nn("font-family","arial black, sans-serif"))}," Arial Black")])]),e.createElementVNode("div",Ce,[e.createElementVNode("div",_e,[e.createElementVNode("div",{style:{"font-family":"book antiqua, palatino, serif"},onClick:l[26]||(l[26]=()=>nn("font-family","book antiqua, palatino, serif"))}," Book Antiqua")])]),e.createElementVNode("div",Se,[e.createElementVNode("div",Le,[e.createElementVNode("div",{style:{"font-family":'"comic sans ms", sans-serif'},onClick:l[27]||(l[27]=()=>nn("font-family",'comic sans ms", sans-serif'))}," Comic Sans MS")])]),e.createElementVNode("div",Fe,[e.createElementVNode("div",Ae,[e.createElementVNode("div",{style:{"font-family":"courier new, courier, monospace"},onClick:l[28]||(l[28]=()=>nn("font-family"," courier new, courier, monospace;"))}," Courier New")])]),e.createElementVNode("div",ze,[e.createElementVNode("div",Te,[e.createElementVNode("div",{style:{"font-family":"georgia, palatino, serif"},onClick:l[29]||(l[29]=()=>nn("font-family"," georgia, palatino, serif"))},"Georgia ")])]),e.createElementVNode("div",Re,[e.createElementVNode("div",Me,[e.createElementVNode("div",{style:{"font-family":"helvetica, arial, sans-serif"},onClick:l[30]||(l[30]=()=>nn("font-family"," helvetica, arial, sans-serif"))}," Helvetica")])]),e.createElementVNode("div",He,[e.createElementVNode("div",Be,[e.createElementVNode("div",{style:{"font-family":"impact, sans-serif"},onClick:l[31]||(l[31]=()=>nn("font-family"," impact, sans-serif"))},"Impact")])]),e.createElementVNode("div",je,[e.createElementVNode("div",De,[e.createElementVNode("div",{style:{"font-family":"symbol"},onClick:l[32]||(l[32]=()=>nn("font-family"," symbol"))},"Symbol")])]),e.createElementVNode("div",Ie,[e.createElementVNode("div",$e,[e.createElementVNode("div",{style:{"font-family":"tahoma, arial, helvetica, sans-serif"},onClick:l[33]||(l[33]=()=>nn("font-family"," tahoma, arial, helvetica, sans-serif"))}," Tahoma")])]),e.createElementVNode("div",Ze,[e.createElementVNode("div",Ge,[e.createElementVNode("div",{style:{"font-family":"terminal, monaco, monospace"},onClick:l[34]||(l[34]=()=>nn("font-family"," terminal, monaco, monospace"))},"Terminal ")])]),e.createElementVNode("div",Oe,[e.createElementVNode("div",qe,[e.createElementVNode("div",{style:{"font-family":"times new roman, times, serif"},onClick:l[35]||(l[35]=()=>nn("font-family"," times new roman, times, serif"))}," Times New Roman")])]),e.createElementVNode("div",Pe,[e.createElementVNode("div",We,[e.createElementVNode("div",{style:{"font-family":"trebuchet ms, geneva, sans-serif"},onClick:l[36]||(l[36]=()=>nn("font-family"," trebuchet ms, geneva, sans-serif"))}," Trebuchet MS")])]),e.createElementVNode("div",Xe,[e.createElementVNode("div",Ye,[e.createElementVNode("div",{style:{"font-family":"verdana, geneva, sans-serif"},onClick:l[37]||(l[37]=()=>nn("font-family"," verdana, geneva, sans-serif"))},"Verdana ")])]),Ue,Ke])])])])])]),e.createElementVNode("div",Je,[e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[38]||(l[38]=e=>tn("text-align","justify","","p"))},Qe),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[39]||(l[39]=e=>tn("text-align","center","","div"))},et),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[40]||(l[40]=e=>tn("text-align","end","","p"))},tt),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[41]||(l[41]=e=>tn("text-align","start","","div"))},nt)]),e.createElementVNode("div",ot,[lt,e.createElementVNode("div",at,[e.createElementVNode("div",rt,[e.createElementVNode("div",{onClick:l[42]||(l[42]=e=>pn(3,"disc"))},it),e.createElementVNode("div",{onClick:l[43]||(l[43]=e=>pn(3,"circle"))},dt),e.createElementVNode("div",null,[e.createElementVNode("div",{class:"",onClick:l[44]||(l[44]=e=>pn())},ct)]),e.createElementVNode("div",{onClick:l[45]||(l[45]=e=>pn(3,"upper-latin"))},st)])])])]),e.createElementVNode("div",mt,[e.renderSlot(o.$slots,"toolbar-before",{},void 0,!0),e.createElementVNode("div",{class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-3",style:{margin:"6px"},onClick:l[46]||(l[46]=e=>mn())},pt),e.createElementVNode("div",{onClick:l[47]||(l[47]=e=>mn("i","**italic text **")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},ut),e.createElementVNode("div",{onClick:l[48]||(l[48]=e=>mn("u","**underLine text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},gt),e.createElementVNode("div",{onClick:l[49]||(l[49]=e=>mn("s","**Strike text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},[e.createElementVNode("i",ht,[(e.openBlock(),e.createElementBlock("svg",ft,vt))])]),e.createElementVNode("div",{onClick:l[50]||(l[50]=e=>mn("sup","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},xt),e.createElementVNode("div",{onClick:l[51]||(l[51]=e=>mn("sub","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},bt),e.createElementVNode("div",{onClick:l[52]||(l[52]=e=>mn("Code","**code**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},yt),e.createElementVNode("div",Et,[Nt,e.createElementVNode("div",Vt,[e.createElementVNode("div",kt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ut.value,(t=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${t} ;`),onClick:e=>on("background",`#${t}`,"","span")},null,12,wt)))),256))])])]),e.createElementVNode("div",Ct,[_t,e.createElementVNode("div",St,[e.createElementVNode("div",Lt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ut.value,(t=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${t} ;`),onClick:e=>on("color",`#${t}`,"","span")},null,12,Ft)))),256))])])]),e.createElementVNode("div",{title:"Redo",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:l[53]||(l[53]=()=>vn("Undo"))},At),e.createElementVNode("div",{title:"Redo",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:l[54]||(l[54]=()=>vn("Redo"))},zt),e.createElementVNode("div",{title:"new fresh line",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:l[55]||(l[55]=e=>cn())},Tt),e.createElementVNode("div",Rt,[e.createElementVNode("div",Mt,[e.createElementVNode("div",Ht,[Bt,e.createElementVNode("div",jt,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(89,(t=>e.createElementVNode("div",{onClick:e=>on("font-size",t+"pt"),key:t,value:t,style:{display:"block"}},e.toDisplayString(t)+"pt",9,Dt))),64))])])])]),e.renderSlot(o.$slots,"toolbar-after",{},void 0,!0)])])]),e.createElementVNode("div",{class:"",ref_key:"pomTextEditorContainer",ref:Qt,id:"pom-texedito-container",style:{width:"100%",overflow:"hidden auto",height:"30vh",border:"1px solid #9d969633",padding:"0px","border-radius":"3px"}},[e.createElementVNode("div",It,[t.TextOnly?(e.openBlock(),e.createElementBlock("textarea",{key:0,onMouseup:l[56]||(l[56]=e=>un()),onKeyup:l[57]||(l[57]=e=>{un()}),onInput:rn,ref_key:"editorRef",ref:g,class:"editor pom-editing-area mt-1 border-gray-300",id:"editor",style:{height:"100%",width:"100%",border:"none",resize:"none"}},e.toDisplayString(t.Dvalue),545)):(e.openBlock(),e.createElementBlock("div",{key:1,"data-placeholder":"Your Editing.....",onDrop:gn,innerHTML:t.Dvalue,onMouseup:l[58]||(l[58]=e=>un()),onKeyup:l[59]||(l[59]=e=>{un()}),ref_key:"editorRef",ref:g,class:"editor pom-editing-area mt-1 border-gray-300",onInput:rn,contenteditable:"true",id:"editor",style:{height:"100%",width:"100%",border:"none"}},null,40,$t))])],512),"true"!=t.TextOnly?(e.openBlock(),e.createElementBlock("div",Zt,[e.createElementVNode("div",{class:"hover:bg-gray-200",onClick:l[60]||(l[60]=e=>cn())},Gt),Ot,qt])):e.createCommentVNode("",!0)]))}},[["__scopeId","data-v-705c999a"]])}));
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('.heading{content:"H"}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-y-0{top:0;bottom:0}.right-2{right:.5rem}.z-10{z-index:10}.m-1{margin:.25rem}.m-3{margin:.75rem}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-mr-1{margin-right:-.25rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-\\[3vh\\]{height:3vh}.w-\\[12vw\\]{width:12vw}.w-\\[6vw\\]{width:6vw}.w-full{width:100%}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-0{border-width:0px}.border-b-2{border-bottom-width:2px}.border-t-2{border-top-width:2px}.border-none{border-style:none}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-start{text-align:start}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.italic{font-style:italic}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.display-color{border:1px solid #ccc;text-align:center;font-size:18px;background-color:#f0f0f0;position:relative;display:inline-block;cursor:pointer}.color-container{width:25vw;display:none;position:absolute;z-index:9999;background-color:#fff;padding:1px;box-shadow:0 4px 6px #0000001a;border:1px solid #ccc;border-radius:5px;transition:opacity .3s ease,visibility .3s ease}.display-color:hover+.color-container,.display-color:active+.color-container{display:block}.color-container:hover{display:block;box-shadow:0 4px 8px #0000001a;padding:14px}.color-grid{display:flex;flex-wrap:wrap;gap:5px}.pom-editor-menu-fonts{display:none;position:absolute}.showfontFamilyMenu:hover+.pom-editor-menu-fonts,.pom-editor-menu-fonts:hover{display:inline-block}.pom-editor-menu-fonts div:hover{border:#c8c8c821 1px solid;background:#eae6e623;color:#000;width:100%;box-shadow:4px 14px 28px -15px #2c2c2cbb;-webkit-box-shadow:4px 14px 28px -15px rgba(44,44,44,.734);-moz-box-shadow:4px 14px 28px -15px rgba(44,44,44,.734)}.pom-editor-menu:hover{display:block}.pom-editor-menu{display:none;background-color:#fff;border-radius:12px;box-shadow:0 4px 8px #0000001a;width:28vw;height:41vh;overflow:auto}.color-box{width:50px;height:50px;border-radius:8px;transition:transform .3s,box-shadow .3s;cursor:pointer}.color-box:hover{transform:scale(1.1);box-shadow:0 6px 12px #0003}#fullTextEditor .card{padding:2em}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}#fullTextEditor a:hover{color:#747bff}#fullTextEditor button{background-color:#f9f9f9}}.hover\\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.group:hover .group-hover\\:block{display:block}.editor[data-v-367a2559]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.editor[data-v-367a2559]:focus:before{content:none}.table-picker-wrapper[data-v-367a2559]{position:relative;display:inline-block}.table-picker-trigger[data-v-367a2559]{cursor:pointer;display:flex;align-items:center}.table-picker-container[data-v-367a2559]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.table-picker-wrapper:hover .table-picker-container[data-v-367a2559]{display:block}.table-picker-grid[data-v-367a2559]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.table-picker-grid div[data-v-367a2559]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.table-picker-grid div[data-v-367a2559]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-367a2559]{font-size:12px;color:#333}.pomXEditor[data-v-367a2559]{border:1px;border-style:solid;border-color:#6972734e}#editor[data-v-367a2559]:focus{outline:none;border:none}.pom-table-editor-container[data-v-367a2559]{display:flex}.pom-table-editor-container a[data-v-367a2559]{color:#00f;text-decoration:underline;cursor:pointer}.pom-table-editor-container a[data-v-367a2559]:link{color:#00f}.pom-table-editor-container a[data-v-367a2559]:visited{color:purple}.pom-table-editor-container a[data-v-367a2559]:hover{color:red;text-decoration:none}.pom-table-editor-container a[data-v-367a2559]:active{color:orange}@media print{.hideonprint[data-v-367a2559]{display:none!important}[data-v-367a2559]{overflow:hidden}}/*!\n * Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n * Copyright 2024 Fonticons, Inc.\n */.pom-main-element-container .editor[data-v-c5407d12]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.pom-main-element-container .editor[data-v-c5407d12]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-c5407d12]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-c5407d12]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-c5407d12]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.pom-main-element-container .table-picker-wrapper:hover .table-picker-container[data-v-c5407d12]{display:block}.pom-main-element-container .table-picker-grid[data-v-c5407d12]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.pom-main-element-container .table-picker-grid div[data-v-c5407d12]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-c5407d12]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-c5407d12]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-c5407d12]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-c5407d12]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-c5407d12]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-c5407d12]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-c5407d12]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-c5407d12]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-c5407d12]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-c5407d12]:active{color:orange}@media print{.hideonprint[data-v-c5407d12]{display:none!important}[data-v-c5407d12]{overflow:hidden}}.pom-main-element-container .editor[data-v-c5407d12]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-c5407d12]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-c5407d12] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-c5407d12] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-c5407d12] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-c5407d12] ::-webkit-scrollbar-thumb:hover{background:#555}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).PomTextEditor=t(e.Vue)}(this,(function(e){"use strict";function t(e){e.preventDefault();const t=e.target.parentElement,n=e.clientX,o=e.clientY,l=parseFloat(window.getComputedStyle(t).width),a=parseFloat(window.getComputedStyle(t).height);function r(e){const r=e.clientX-n,i=e.clientY-o;t.style.width=`${l+r}px`,t.style.height=`${a+i}px`,t.style.minWidth="50px",t.style.minHeight="50px";const d=t.querySelector("img");d&&(d.style.width="100%")}document.addEventListener("mousemove",r),document.addEventListener("mouseup",(function e(){document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",e)}))}function n(e=!1,t=document.getElementsByClassName("pom-table-editor-container")){(t=Array.from(t)).forEach((t=>{if(e){const e="flex"===t.style.display?"none":"flex";t.style.display=e}else t.remove()}))}function o(e=printWindow.document.querySelectorAll(".resizer-image-dropped")){e&&e.forEach((function(e){const t=e.querySelector("img"),n=e.getAttribute("style");n?t.style.cssText=n+"; position: initial":t.style.position="initial",e.style.display="block";parseInt(e.style.left,10)>793.7&&(e.style.left="793.7px")}))}function l(e=!0,t=document.getElementById("pom-texedito-container").innerHTML,n="hideonprint"){const l=function(e=document.getElementById("pom-texedito-container").innerHTML,t=".hideonprint"){const n=window.open("","","height=900,width=800");return n.document.write("<html><head><title>Print</title>"),n.document.write(`<style>\n ${t} {\n display: none;\n }\n\n @media print {\n ${t} {\n display: none;\n }\n }\n .pom-4-imageContainer {\n display: block !important;\n }\n </style>`),n.document.write("</head><body>"),n.document.write(e),n.document.write("</body></html>"),n.document.close(),o(n.document.querySelectorAll(".resizer-image-dropped")),n}(f()+t,n);e&&(l.focus(),l.onload=function(){l.print()},l.onafterprint=function(){l.close()})}function a(){document.querySelectorAll(".pom-table-col-resizer").forEach((e=>{e.addEventListener("mousedown",t)}));document.querySelectorAll("table").forEach((e=>{e.addEventListener("contextmenu",(function(t){t.preventDefault();const n=t.target.parentElement;!function(e,t,n){const o=document.getElementById("custom-context-menu");o&&document.body.removeChild(o);const l=document.createElement("div");l.id="custom-context-menu",l.style.position="absolute",l.style.backgroundColor="white",l.style.border="1px solid #ccc",l.style.padding="10px",l.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",l.style.zIndex="1000",l.style.left=`${null==e?void 0:e.pageX}px`,l.style.top=`${null==e?void 0:e.pageY}px`;const a=[{text:"Delete Table",action:()=>n.remove()},{text:"Toggle Borders",action:()=>{const e=""!==t.style.border;t.style.border=e?"none":"1px solid black",t.style.borderCollapse="collapse",t.querySelectorAll("td").forEach((t=>{t.style.border=e?"none":"1px solid black"}))}},{text:"Color Table",action:()=>{const e=document.createElement("input");e.type="color",e.style.marginTop="5px",e.addEventListener("input",(()=>{t.style.backgroundColor=e.value}));const n=document.createElement("input");n.type="color",n.style.marginTop="5px",n.addEventListener("input",(()=>{t.style.color=n.value})),l.appendChild(document.createTextNode("Background Color:")),l.appendChild(e),l.appendChild(document.createTextNode("Text Color:")),l.appendChild(n)}},{text:"Add Row",action:()=>{const e=document.createElement("tr"),n=t.rows[0].cells.length;for(let o=0;o<n;o++){const n=document.createElement("td");n.style.border="1px solid black",n.style.padding="5px",n.textContent=`Row ${t.rows.length+1}, Cell ${o+1}`,e.appendChild(n)}t.appendChild(e)}},{text:"Add Column",action:()=>{for(let e=0;e<t.rows.length;e++){const n=document.createElement("td");n.style.border="1px solid black",n.style.padding="5px",n.textContent=`Row ${e+1}, Cell ${t.rows[e].cells.length+1}`,t.rows[e].appendChild(n)}}}];a.forEach((e=>{const t=document.createElement("div");t.textContent=e.text,t.style.cursor="pointer",t.addEventListener("click",e.action),l.appendChild(t)})),document.body.appendChild(l),document.addEventListener("click",(function e(){l&&document.body.removeChild(l),document.removeEventListener("click",e)}))}(t,e,n)}))}))}function r(e,t,n,o){e.preventDefault();const l=t;function a(e){!function(e,t,n,o){const l=n.getBoundingClientRect();if("width"===t||"both"===t){const t=e.clientX-l.left;n.style.width=t+"px",o.style.width=t+"px"}if("height"===t||"both"===t){const t=e.clientY-l.top;o.style.height=t+"px"}}(e,l,n,o)}window.addEventListener("mousemove",a),window.addEventListener("mouseup",(function e(){window.removeEventListener("mousemove",a),window.removeEventListener("mouseup",e)}))}function i(){const e=document.getElementsByClassName("widthResizer");Array.from(e).forEach(((e,t)=>{const n=document.getElementsByClassName("resizer-image-dropped")[t],o=document.getElementsByClassName("resizable-image")[t],l=document.getElementsByClassName("heightResizer")[t],a=document.getElementsByClassName("cornerResizer")[t];e&&e.addEventListener("mousedown",(e=>r(e,"width",n,o))),l&&l.addEventListener("mousedown",(e=>r(e,"height",n,o))),a&&a.addEventListener("mousedown",(e=>r(e,"both",n,o)))}))}let d;function s(e,t){const[n,o]=t.textContent.split(" x ").map(Number);!function(e,t=2,n=2){const o=d.range;if(o){const l=d.selection,r=document.createElement("div");r.classList.add("pom-table-editor-container"),r.style.display="flex";const i=document.createElement("table");i.style.border="1px solid black",i.style.borderCollapse="collapse",i.classList.add("pom-table-editor");for(let e=0;e<t;e++){const t=document.createElement("tr");for(let o=0;o<n;o++){const n=document.createElement("td");n.style.border="1px solid black",n.style.padding="5px",n.textContent=`Row ${e+1}, Cell ${o+1}`;const l=document.createElement("div");l.style.width="5px",l.style.height="100%",l.style.position="absolute",l.style.right="0",l.style.top="0",l.style.cursor="col-resize",l.style.userSelect="none",l.classList.add("pom-table-col-resizer"),n.style.position="relative",n.appendChild(l),t.appendChild(n)}i.appendChild(t)}r.appendChild(i),o.deleteContents(),o.insertNode(r);const s=i.querySelector("td"),c=document.createRange();c.setStart(s,0),c.collapse(!0),l.addRange(c),d=c.cloneRange(),a(),e.focus()}}(e,o,n)}function c(e,t,n){const o=Array.from(n.children).indexOf(e.target),l=o%10+1,a=Math.floor(o/10)+1;Array.from(n.children).forEach(((e,t)=>{e.style.backgroundColor=t<=o?"#1f9296":"#737979"})),t.textContent=`${l} x ${a}`}function m(e,t="strong",n="*bold text here *",o=[]){var l;if(e){const a=window.getSelection();a.removeAllRanges(),a.addRange(e);const r=a.getRangeAt(0),i=`${r.toString()}`.trim(),d=r.cloneContents(),s=r.commonAncestorContainer,c=s.nodeType===Node.TEXT_NODE?s.parentNode:s,m=`${c.tagName}`.toLowerCase();if("string"==typeof t&&""!==t.trim()){let r=document.createElement(t);r.contenteditable=!1,o&&o.forEach((e=>{const{attr:t,value:n,keyin:o}=e;r.setAttribute(t,n)})),r.appendChild(d),"code"==`${t}`.toLowerCase()?console.log(r.innerHTML,"elmelmelm"):(null==(l=c.classList)?void 0:l.contains("pom-editing-area"))||(c.innerHTML,console.log({highlightedText:d,elementType:t,tagName:m},"parentNodeparentNode",r.innerHTML),t==m&&(r=function(e){const t=document.createElement("div");return t.innerHTML=e,t}(r.innerHTML),c.parentNode.removeChild(c))),r.innerHTML=i.length>0?r.innerHTML:n;const s=document.createElement("span");s.innerHTML="&nbsp;&nbsp;&nbsp;",e.deleteContents(),e.insertNode(s),e.insertNode(r);const p=document.createRange();p.setStartAfter(s),p.collapse(!0),a.removeAllRanges(),a.addRange(p),e=p.cloneRange()}else console.error("Invalid element type:",t)}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}const p={StoredText:{},undoStack:[],redoStack:[],SaveCurrentChanges:function(e=""){if("string"!=typeof e)return void console.error("SaveCurrentChanges expects a string value.");if(this.undoStack.length&&this.undoStack[this.undoStack.length-1].text===e)return void console.log("No changes to save.");const t=Date.now();this.StoredText[t]=e,this.undoStack.push({id:t,text:e}),this.redoStack=[]},Undo:function(){if(0===this.undoStack.length)return console.log("Nothing to undo"),null;const e=this.undoStack.pop();return this.redoStack.push(e),delete this.StoredText[e.id],e.text},Redo:function(){if(0===this.redoStack.length)return console.log("Nothing to redo"),null;const e=this.redoStack.pop();return this.undoStack.push(e),this.StoredText[e.id]=e.text,e.text}};function u(e,t,n,o,l="",a="span"){if(!e)return void console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");const r=window.getSelection();r.removeAllRanges(),r.addRange(e);const i=r.getRangeAt(0),d=i.cloneContents(),s=i.commonAncestorContainer,c=s.nodeType===Node.TEXT_NODE?s.parentNode:s,m=c.tagName.toLowerCase();let p;const u=["font-sze"];if(c&&m===a){const e=c.getAttribute("style")||null;if(e){const t=new RegExp(`${n}:\\s*${o};?`,"g"),l=t.test(e);let a;u.includes(n)||!l?c.style[n]=o:(a=e.replace(t,""),l&&c.setAttribute("style",a))}}else{const t=document.createElement(a);t.style[n]=o,t.appendChild(d),p=t.innerHTML,e.deleteContents(),t.innerHTML=p,e.insertNode(t);const l=document.createRange();l.collapse(!0),r.removeAllRanges(),r.addRange(l),e=l.cloneRange()}}function g(e,t="h6",n="*Header text*",o=[]){if(e){const o=window.getSelection();o.removeAllRanges(),o.addRange(e);const l=o.getRangeAt(0),a=`${l.toString()}`.trim(),r=l.cloneContents(),i=l.commonAncestorContainer,d=i.nodeType===Node.TEXT_NODE?i.parentNode:i,s=`${d.tagName}`.toLowerCase(),c={h1:{"font-family":"'Arial', sans-serif","font-size":"3rem","font-weight":"bold",color:"#333","letter-spacing":"2px"},h2:{"font-family":"'Georgia', serif","font-size":"2rem",color:"#444","font-weight":600,"line-height":"1.4"},h3:{"font-family":"'Roboto', sans-serif","font-size":"1.75rem",color:"#34495e","font-weight":500,"text-align":"center","line-height":"1.4"},h4:{"font-family":"'Roboto', sans-serif","font-size":"1.25rem",color:"#34495e","font-weight":400,"text-align":"center","line-height":"1.4"},h5:{"font-family":"'Roboto', sans-serif","font-size":"1rem",color:"#34495e","font-weight":400,"text-align":"center","line-height":"1.4"},h6:{"font-family":"'Roboto', sans-serif","font-size":".5rem",color:"#34495e","font-weight":200,"text-align":"center","line-height":"1.4"}}[t];if(d&&"span"===s){d.getAttribute("style")||null?d.removeAttribute("style"):h(e,r,c,n,a)}else h(e,r,c,n,a);o.removeAllRanges()}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}function h(e,t,n,o,l){let a=document.createElement("span");a.contenteditable=!1,a.appendChild(t),Object.keys(n).forEach((e=>{a.style[e]=n[e]})),a.innerHTML=l.length>0?a.innerHTML:o,e.deleteContents(),e.insertNode(a)}function f(){return'<style scoped>\n .resizer-image-dropped > div[contenteditable="false"] {\n display: none;\n}\n.resizer-image-dropped{\n border:none !important\n}\n \n.table-picker-wrapper {\n position: relative;\n display: inline-block;\n}\n\n.table-picker-trigger {\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.table-picker-container {\n position: absolute;\n top: 10%;\n right: 90;\n margin-top: 10px;\n padding: 10px;\n border: 0;\n background-color: rgb(244, 244, 244);\n cursor: pointer;\n user-select: none;\n width: max-content;\n display: none;\n left: 85% !important;\n top: -7px;\n /* Hidden by default */\n}\n\n.table-picker-container.hidden {\n /* display: none; */\n}\n\n.table-picker-wrapper:hover .table-picker-container {\n display: block;\n /* Show on hover */\n}\n\n.table-picker-grid {\n display: grid;\n grid-template-columns: repeat(10, 20px);\n grid-template-rows: repeat(10, 20px);\n gap: 2px;\n margin-bottom: 10px;\n}\n\n.table-picker-grid div {\n width: 20px;\n height: 20px;\n border: 1px solid #ddd;\n background-color: #efa153ce;\n}\n\n.table-picker-grid div:hover {\n background-color: rgb(248, 246, 246);\n border: 0;\n}\n\n.table-dimensions {\n font-size: 12px;\n color: #333;\n}\n\n.pomXEditor {\n border: 1px;\n border-style: solid;\n border-color: #6972734e;\n}\n\n#editor:focus {\n outline: none;\n border: none;\n /* Removes any custom borders if applied */\n}\n\n.pom-table-editor-container {\n display: flex;\n}\n\na {\n color: blue;\n /* Default color of the link text */\n text-decoration: underline;\n /* Underline the link text by default */\n cursor: pointer;\n /* Cursor changes to a pointer on hover */\n}\n\n/* Additional pseudo-classes for different link states */\na:link {\n color: blue;\n /* Color of unvisited link */\n}\n\na:visited {\n color: purple;\n /* Color of visited link */\n}\n\na:hover {\n color: red;\n /* Color when the link is hovered over */\n text-decoration: none;\n /* Typically remove underline on hover */\n}\n\na:active {\n color: orange;\n /* Color when the link is clicked */\n}\n\n@media print {\n .print-container {\n /* width: 100%;\nheight: auto;\noverflow: hidden;\npage-break-inside: avoid;\nmargin: 0;\npadding: 0;\nbox-sizing: border-box; */\n }\n\n /* Optional: Set the font size for better print readability */\n /* body {\nfont-size: 12pt;\n} */\n /* Optional: Ensure images or other elements fit within the print area */\n /* img {\nmax-width: 100%;\nheight: auto;\n} */\n .hideonprint {\n display: none !important;\n }\n\n * {\n overflow: hidden;\n /* Hide scrollbar */\n }\n}\n</style>'}const v=(e,t)=>{const n=e.__vccOpts||e;for(const[o,l]of t)n[o]=l;return n},x=t=>(e.pushScopeId("data-v-c5407d12"),t=t(),e.popScopeId(),t),b={class:"pom-main-element-container"},y={style:{width:"100%"},id:"fullTextEditor"},E={class:"hideonprint bg-gray-100 items-center",id:"toolbar"},N={class:"flex flex space-x-2 items-center"},V={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},k={class:"relative inline-block text-left group z-10 border-0"},w=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5407d12><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5407d12><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5407d12><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5407d12>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5407d12><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5407d12><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5407d12></path></svg></div></div>',1),C={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},_={class:"",role:"none"},S=[x((()=>e.createElementVNode("i",{class:"print p x-2"},null,-1))),x((()=>e.createElementVNode("strong",{class:"px-3"},"Print",-1)))],L={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},F=x((()=>e.createElementVNode("i",{class:"eye p x-2"},null,-1))),A=x((()=>e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",id:"fullscreenButton"},[e.createElementVNode("i",{class:"expand-alt p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Fullscreen")],-1))),z={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},R={class:"relative inline-block text-left group z-10 border-0 w-ful l"},T=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5407d12><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5407d12><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5407d12><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5407d12>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5407d12><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5407d12><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5407d12></path></svg></div></div>',1),M={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},B={class:"",role:"none"},H=[x((()=>e.createElementVNode("i",{class:"bold p x-2"},null,-1))),x((()=>e.createElementVNode("strong",{class:"px-3"},"Bold",-1)))],j=[x((()=>e.createElementVNode("i",{class:"italic p x-2"},null,-1))),x((()=>e.createElementVNode("i",{class:"px-3"},"italic",-1)))],D=[x((()=>e.createElementVNode("i",{class:"underline p x-2"},null,-1))),x((()=>e.createElementVNode("u",{class:"px-3"},"underline",-1)))],I=[x((()=>e.createElementVNode("i",{class:"strikethrough p x-2"},null,-1))),x((()=>e.createElementVNode("del",{class:"px-3"},"strike",-1)))],$=[x((()=>e.createElementVNode("i",{class:"superscript p x-2"},null,-1))),x((()=>e.createElementVNode("sup",{class:"px-3"},"superscript",-1)))],Z=[x((()=>e.createElementVNode("i",{class:"subscript p x-2"},null,-1))),x((()=>e.createElementVNode("sub",{class:"px-3"},"subscript",-1)))],G=[x((()=>e.createElementVNode("i",{class:"-list p x-2"},null,-1))),x((()=>e.createElementVNode("summary",{class:"px-3"},"summary",-1)))],O=[x((()=>e.createElementVNode("i",{class:"list-ol p x-2"},null,-1))),x((()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)))],W=[x((()=>e.createElementVNode("i",{class:"list-ul p x-2"},null,-1))),x((()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)))],q=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H1",-1)))],P=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H2",-1)))],X=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H3",-1)))],Y=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H4",-1)))],U=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H5",-1)))],K=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H6",-1)))],J=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"},"Capitalize",-1)))],Q=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"},"Lowercase",-1)))],ee=[x((()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," Block",-1)))],te={class:"flex items-center border-1 b g-gray-200 rounded cursor-pointer"},ne={class:"relative inline-block text-left group z-10 border-0 w-ful l"},oe=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5407d12><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5407d12><div class="p y-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5407d12><span class="cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5407d12>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5407d12><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5407d12><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5407d12></path></svg></div></div>',1),le={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},ae={class:"",role:"none"},re={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},ie=x((()=>e.createElementVNode("i",{class:"image p x-2"},null,-1))),de=x((()=>e.createElementVNode("label",{for:"pom43546535435445Image",class:"px-3"},"Image",-1))),se=[x((()=>e.createElementVNode("i",{class:"anchor p x-2"},null,-1))),x((()=>e.createElementVNode("span",{class:"px-3"},"Anchor",-1)))],ce=[x((()=>e.createElementVNode("i",{class:"-calendar-alt 1x"},null,-1))),x((()=>e.createElementVNode("span",{class:"px-1"},"Date/time",-1)))],me=x((()=>e.createElementVNode("div",{class:"text-center w-full p y-1 bg-gray-100 font-bold"},"Table",-1))),pe=[x((()=>e.createElementVNode("i",{class:"trash-can p x-2"},null,-1))),x((()=>e.createElementVNode("span",{class:"px-3"},"Delete All",-1)))],ue=[x((()=>e.createElementVNode("i",{class:"eye-slash p x-2"},null,-1))),x((()=>e.createElementVNode("span",{class:"px-3"},"Hide/Show All ",-1)))],ge={class:"table-picker-wrapper"},he=x((()=>e.createElementVNode("div",{class:"table-picker-trigger"},[e.createElementVNode("i",{class:"table p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Create")],-1))),fe={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},ve={class:"relative inline-block text-left group z-10 border-0"},xe=x((()=>e.createElementVNode("div",{class:"w-full flex rounded-md showfontFamilyMenu"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"p y-1 w borde r-1 w-full text-start in flex flex-wrap"},[e.createElementVNode("span",{class:"cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600"},"Fonts")])])],-1))),be={class:"p y-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts"},ye={class:"cursor-pointer z-10 ml-1 mx-1 rounded-full text-center text-sm font-bold text-gray-600"},Ee={class:"hidden text-left absolute group-hover:block mt-0 gap-2 px-2 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none","data-alloy-placement":"southeast",style:{height:"25vh",overflow:"auto"}},Ne={class:"collection__group"},Ve=x((()=>e.createElementVNode("div",{title:"Andale Mono",id:"menu-item_3745045357111728727990777",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--active","aria-disabled":"false","aria-checked":"false","aria-selected":"true"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",{style:{"font-family":"andale mono, monospace"}},"Andale Mono")])],-1))),ke={title:"Arial",id:"menu-item_8107570667141728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},we={class:"collection__item-label"},Ce={title:"Arial Black",id:"menu-item_7337372467171728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},_e={class:"collection__item-label"},Se={title:"Book Antiqua",id:"menu-item_8277641917201728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Le={class:"collection__item-label"},Fe={title:"Comic Sans MS",id:"menu-item_2698863237231728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Ae={class:"collection__item-label"},ze={title:"Courier New",id:"menu-item_2979203277261728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Re={class:"collection__item-label"},Te={title:"Georgia",id:"menu-item_8075939747291728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Me={class:"collection__item-label"},Be={title:"Helvetica",id:"menu-item_8872440547321728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--enabled","aria-disabled":"false","aria-checked":"true"},He={class:"collection__item-label"},je={title:"Impact",id:"menu-item_3423693847351728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},De={class:"collection__item-label"},Ie={title:"Symbol",id:"menu-item_7163579447381728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},$e={class:"collection__item-label"},Ze={title:"Tahoma",id:"menu-item_4449979827411728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Ge={class:"collection__item-label"},Oe={title:"Terminal",id:"menu-item_2511923047441728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},We={class:"collection__item-label"},qe={title:"Times New Roman",id:"menu-item_7770771337471728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Pe={class:"collection__item-label"},Xe={title:"Trebuchet MS",id:"menu-item_7916647947501728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Ye={class:"collection__item-label"},Ue={title:"Verdana",id:"menu-item_1549891587531728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Ke={class:"collection__item-label"},Je=x((()=>e.createElementVNode("div",{title:"Webdings",id:"menu-item_955052057561728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Webdings")])],-1))),Qe=x((()=>e.createElementVNode("div",{title:"Wingdings",id:"menu-item_93264657591728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Wingdings")])],-1))),et={style:{display:"flex","justify-content":"space-between","align-items":"center"}},tt=[x((()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],nt=[x((()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],ot=[x((()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],lt=[x((()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)))],at={class:"relative inline-block text-left group z-10 border-0 w-ful l"},rt=x((()=>e.createElementVNode("div",{class:"w-full flex rounded-md"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",id:"menu-button","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"split-button flex items-center",style:{"user-select":"none"}},[e.createElementVNode("span",null,[e.createElementVNode("span",{c:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z","fill-rule":"evenodd"})])])]),e.createElementVNode("span",{role:"presentation",class:"tbtn split-button__chevron","aria-disabled":"false"},[e.createElementVNode("svg",{width:"10",height:"10",focusable:"false"},[e.createElementVNode("path",{d:"M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z","fill-rule":"nonzero"})])])])])],-1))),it={class:"hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},dt={class:"flex",role:"none"},st=[x((()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("circle",{cx:"11",cy:"14",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"24",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"34",r:"3"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)))],ct=[x((()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z","fill-rule":"nonzero"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)))],mt=[x((()=>e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"1"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"2"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"3"),e.createElementVNode("rect",{x:"24",y:"12",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"22",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"32",width:"20",height:"4",fill:"black",opacity:".2"})],-1)))],pt=[x((()=>e.createElementVNode("div",{class:"text-sm"},[e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"A"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"B"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"C"),e.createElementVNode("rect",{x:"18",y:"12",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("rect",{x:"18",y:"22",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"18",y:"32",width:"22",height:"4",fill:"black",opacity:".2"})])],-1)))],ut={class:"flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",style:{height:"37px"}},gt=[e.createStaticVNode('<i class="bold p x-2" data-v-c5407d12><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5407d12><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5407d12></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></g><g id="SVGRepo_iconCarrier" data-v-c5407d12><g id="text-bold" transform="translate(-4 -2)" data-v-c5407d12><path id="primary" d="M5,3h7.5A4.49,4.49,0,0,1,17,7.5h0A4.49,4.49,0,0,1,12.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5407d12></path><path id="primary-2" data-name="primary" d="M5,21h9.5A4.49,4.49,0,0,0,19,16.5h0A4.49,4.49,0,0,0,14.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5407d12></path><path id="primary-3" data-name="primary" d="M7,3V21H8V3Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5407d12></path></g></g></svg></i>',1)],ht=[e.createStaticVNode('<i class="italic p x-2" data-v-c5407d12><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5407d12><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5407d12></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></g><g id="SVGRepo_iconCarrier" data-v-c5407d12><g id="layer1" data-v-c5407d12><path d="M 7 4 L 7 5 L 9.9921875 5 L 8 15.955078 L 8 16 L 5 16 L 5 17 L 12 17 L 12 16 L 9.0078125 16 L 11 5.0449219 L 11 5 L 14 5 L 14 4 L 7 4 z " style="fill:#222222;fill-opacity:1;stroke:none;stroke-width:0px;" data-v-c5407d12></path></g></g></svg></i>',1)],ft=[e.createStaticVNode('<i class="underline p x-2" data-v-c5407d12><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="13px" height="13px" viewBox="0 0 970.5 970.5" xml:space="preserve" data-v-c5407d12><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5407d12></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></g><g id="SVGRepo_iconCarrier" data-v-c5407d12><g data-v-c5407d12><path d="M116.1,868.5c-28.2,0-51,22.8-51,51s22.8,51,51,51h741.5c28.199,0,51-22.8,51-51s-22.801-51-51-51H116.1z" data-v-c5407d12></path><path d="M940.9,45.1c0-4.9,0-10.1,0-15.1c0-16.6-13.4-30-30-30H582.199c-16.6,0-30,13.4-30,30v14.5c0,15.5,11.801,28.4,27.201,29.9 c14.5,1.4,29,3.5,43.299,6.3c30.201,5.9,44.9,22.7,44.9,53.3v374.9c0,22-2.5,45.399-7.301,69.5c-4.6,23.1-13.898,45-27.6,65 c-14.299,20.1-34.199,36.899-59,49.899c-21.6,11.3-51.4,17.7-88.299,19.2c-37-1.4-66.7-7.9-88.3-19.2 c-24.801-13-44.7-29.7-59-49.899c-13.7-20-23-41.9-27.601-65c-4.8-24.2-7.3-47.601-7.3-69.5v-375c0-30.5,14.7-47.3,44.9-53.3 c14.3-2.8,28.699-4.9,43.3-6.3c15.399-1.5,27.2-14.4,27.2-29.9V30c0-16.6-13.4-30-30-30h-329c-16.6,0-30,13.4-30,30 c0,5,0,10.2,0,15.1c0,14.7,10.7,27.3,25.2,29.6C73,77.6,94.9,81.8,98.3,83c27,9.8,44.2,27.4,44.2,57v408.6c0,34.4,7.4,67.9,22,99.5 c14.6,31.601,36.5,60,65.2,84.4l0.1,0.1c28.8,24.2,64.8,43.601,106.9,57.7c41.8,14,90,21.101,143.2,21.101c1.7,0,3.5,0,5.399-0.101 c2,0,3.701,0.101,5.4,0.101C543.9,811.4,592,804.3,633.9,790.3c42.1-14.1,78-33.5,106.898-57.7l0.102-0.1 c28.699-24.4,50.6-52.8,65.199-84.4c14.6-31.6,22-65.1,22-99.5V140.1c0-29.6,17.301-47.2,44.199-57c3.4-1.2,25.301-5.4,43.5-8.3 C930.299,72.4,940.9,59.8,940.9,45.1z" data-v-c5407d12></path></g></g></svg></i>',1)],vt={class:"strikethrough p x-2"},xt={fill:"#000000",width:"13px",height:"13px",viewBox:"0 0 64 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve","xmlns:serif":"http://www.serif.com/",style:{"fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"}},bt=[x((()=>e.createElementVNode("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"},null,-1))),x((()=>e.createElementVNode("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"},null,-1))),x((()=>e.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[e.createElementVNode("rect",{id:"Icons",x:"-192",y:"0",width:"1280",height:"800",style:{fill:"none"}}),e.createElementVNode("g",{id:"Icons1","serif:id":"Icons"},[e.createElementVNode("g",{id:"Strike"},[e.createElementVNode("rect",{id:"Strike-line","serif:id":"Strike line",x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("rect",{x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("path",{id:"Strike1","serif:id":"Strike",d:"M46.396,35.711c0.414,0.482 0.779,0.983 1.093,1.504c1.06,1.756 1.59,3.823 1.59,6.2c0,3.791 -1.478,6.827 -4.433,9.107c-2.955,2.281 -6.907,3.422 -11.854,3.422c-3.212,0 -6.21,-0.616 -8.994,-1.848c-2.785,-1.231 -4.931,-2.917 -6.441,-5.059c-1.51,-2.142 -2.265,-4.572 -2.265,-7.292l6.2,0c0,2.827 1.044,5.059 3.132,6.698c2.088,1.638 4.877,2.457 8.368,2.457c3.256,0 5.75,-0.664 7.485,-1.992c1.735,-1.327 2.602,-3.137 2.602,-5.429c0,-2.291 -0.803,-4.063 -2.409,-5.316c-1.057,-0.824 -2.68,-1.642 -4.868,-2.452l10.794,0Zm-27.382,-8.094c-1.629,-1.974 -2.444,-4.3 -2.444,-6.978c0,-3.683 1.472,-6.73 4.417,-9.139c2.944,-2.409 6.773,-3.614 11.484,-3.614c3.212,0 6.077,0.621 8.593,1.863c2.517,1.242 4.465,2.956 5.847,5.14c1.381,2.185 2.072,4.572 2.072,7.164l-6.2,0c0,-2.827 -0.9,-5.049 -2.699,-6.666c-1.799,-1.617 -4.336,-2.425 -7.613,-2.425c-3.041,0 -5.413,0.669 -7.115,2.007c-1.703,1.339 -2.554,3.197 -2.554,5.574c0,1.906 0.808,3.518 2.425,4.835c0.966,0.786 2.337,1.533 4.112,2.239l-10.325,0Z",style:{"fill-rule":"nonzero"}})]),e.createElementVNode("g",{id:"H1"}),e.createElementVNode("g",{id:"H2"}),e.createElementVNode("g",{id:"H3"}),e.createElementVNode("g",{id:"list-ul"}),e.createElementVNode("g",{id:"hamburger-1"}),e.createElementVNode("g",{id:"hamburger-2"}),e.createElementVNode("g",{id:"list-ol"}),e.createElementVNode("g",{id:"list-task"}),e.createElementVNode("g",{id:"trash"}),e.createElementVNode("g",{id:"vertical-menu"}),e.createElementVNode("g",{id:"horizontal-menu"}),e.createElementVNode("g",{id:"sidebar-2"}),e.createElementVNode("g",{id:"Pen"}),e.createElementVNode("g",{id:"Pen1","serif:id":"Pen"}),e.createElementVNode("g",{id:"clock"}),e.createElementVNode("g",{id:"external-link"}),e.createElementVNode("g",{id:"hr"}),e.createElementVNode("g",{id:"info"}),e.createElementVNode("g",{id:"warning"}),e.createElementVNode("g",{id:"plus-circle"}),e.createElementVNode("g",{id:"minus-circle"}),e.createElementVNode("g",{id:"vue"}),e.createElementVNode("g",{id:"cog"}),e.createElementVNode("g",{id:"logo"}),e.createElementVNode("g",{id:"radio-check"}),e.createElementVNode("g",{id:"eye-slash"}),e.createElementVNode("g",{id:"eye"}),e.createElementVNode("g",{id:"toggle-off"}),e.createElementVNode("g",{id:"shredder"}),e.createElementVNode("g",{id:"spinner--loading--dots-","serif:id":"spinner [loading, dots]"}),e.createElementVNode("g",{id:"react"}),e.createElementVNode("g",{id:"check-selected"}),e.createElementVNode("g",{id:"turn-off"}),e.createElementVNode("g",{id:"code-block"}),e.createElementVNode("g",{id:"user"}),e.createElementVNode("g",{id:"coffee-bean"}),e.createElementVNode("g",{id:"coffee-beans"},[e.createElementVNode("g",{id:"coffee-bean1","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"coffee-bean-filled"}),e.createElementVNode("g",{id:"coffee-beans-filled"},[e.createElementVNode("g",{id:"coffee-bean2","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"clipboard"}),e.createElementVNode("g",{id:"clipboard-paste"}),e.createElementVNode("g",{id:"clipboard-copy"}),e.createElementVNode("g",{id:"Layer1"})])],-1)))],yt=[x((()=>e.createElementVNode("i",{class:"superscript p x-2"},"sup",-1)))],Et=[x((()=>e.createElementVNode("i",{class:"subscript p x-2"},"sub",-1)))],Nt=[e.createStaticVNode('<i class="-code p x-2" data-v-c5407d12><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c5407d12><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5407d12></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></g><g id="SVGRepo_iconCarrier" data-v-c5407d12><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-c5407d12></path><path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000" data-v-c5407d12></path><path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000" data-v-c5407d12></path></g></svg></i>',1)],Vt={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},kt=x((()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-highlight-bg-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{"fill-rule":"nonzero",d:"M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"})])])],-1))),wt={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"50vh",overflow:"auto"}},Ct={class:"color-grid"},_t=["onClick"],St={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},Lt=x((()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("span",{role:"presentation",class:"tbtn","aria-disabled":"false",style:{width:"34px"}},[e.createElementVNode("span",{class:"icon tbtn__icon-wrap"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-text-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{d:"M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"})])])])])],-1))),Ft={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},At={class:"color-grid"},zt=["onClick"],Rt=[e.createStaticVNode('<span class="" data-v-c5407d12><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-c5407d12><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5407d12></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></g><g id="SVGRepo_iconCarrier" data-v-c5407d12><path fill-rule="evenodd" clip-rule="evenodd" d="M7.53033 3.46967C7.82322 3.76256 7.82322 4.23744 7.53033 4.53033L5.81066 6.25H15C18.1756 6.25 20.75 8.82436 20.75 12C20.75 15.1756 18.1756 17.75 15 17.75H8.00001C7.58579 17.75 7.25001 17.4142 7.25001 17C7.25001 16.5858 7.58579 16.25 8.00001 16.25H15C17.3472 16.25 19.25 14.3472 19.25 12C19.25 9.65279 17.3472 7.75 15 7.75H5.81066L7.53033 9.46967C7.82322 9.76256 7.82322 10.2374 7.53033 10.5303C7.23744 10.8232 6.76256 10.8232 6.46967 10.5303L3.46967 7.53033C3.17678 7.23744 3.17678 6.76256 3.46967 6.46967L6.46967 3.46967C6.76256 3.17678 7.23744 3.17678 7.53033 3.46967Z" fill="#1C274C" data-v-c5407d12></path></g></svg></span>',1)],Tt=[e.createStaticVNode('<span class="" data-v-c5407d12><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-c5407d12><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5407d12></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></g><g id="SVGRepo_iconCarrier" data-v-c5407d12><path d="M20 7H9.00001C6.23858 7 4 9.23857 4 12C4 14.7614 6.23858 17 9 17H16M20 7L17 4M20 7L17 10" stroke="#1C274C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></path></g></svg></span>',1)],Mt=[e.createStaticVNode('<span class="" data-v-c5407d12><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5407d12><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5407d12></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5407d12></g><g id="SVGRepo_iconCarrier" data-v-c5407d12><path fill="#494c4e" d="M16 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm0 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm1 4v2c0 1-1 2-2 2h-2c0 .3 0 .5-.3.7-.2.2-.4.3-.7.3s-.5 0-.7-.3l-1-1c-.4-.4-.4-1 0-1.4l1-1c.4-.4 1-.4 1.4 0 .2.2.3.4.3.7h2v-2H2c-.6 0-1-.5-1-1s.5-1 1-1h13c1 0 2 1 2 2z" data-v-c5407d12></path></g></svg></span>',1)],Bt={style:{width:"3%"}},Ht={class:"items-center bo rder-1 b g-gray-200 rounded cursor-pointer"},jt={class:""},Dt=x((()=>e.createElementVNode("div",{class:"showfontFamilyMenu"},"Sizes",-1))),It={class:"p y-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts inline-block text-left group z-10 border-0",style:{"z-index":"10",margin:"-3px",height:"26vh",overflow:"auto",width:"9vw",background:"white",padding:"9px",border:"1px solid #9d969633"}},$t=["onClick","value"],Zt={style:{"min-height":"100%","text-align":"justify"}},Gt=["innerHTML"],Ot={key:0,class:"hideonprint flex items-center",style:{"text-align":"center","align-items":"stretch",gap:"10px"}},Wt=[x((()=>e.createElementVNode("i",{class:"-"},null,-1))),x((()=>e.createElementVNode("strong",{class:"p x-2"},"NEW LINE",-1)))],qt=x((()=>e.createElementVNode("p",{style:{margin:"0 0 0 10px"}},[e.createTextVNode("Cursor position: "),e.createElementVNode("span",{id:"cursorPosition"},"0")],-1))),Pt=x((()=>e.createElementVNode("p",null,[e.createTextVNode("Text at cursor: "),e.createElementVNode("span",{id:"textAtCursor"})],-1)));return v({__name:"Editor",props:{Dvalue:{default:""},TextOnly:{default:!1},cssWanted2:{default:!1},Files:{size:null,limits:30}},emits:["change","update"],setup(t,{emit:r}){const h=e.ref(null),f=e.ref(!1),v=e.ref(null),x=e.ref(null),Xt=e.ref(null),Yt=e.ref(null);e.ref([]);let Ut=null;const Kt=e.ref(["FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","5733FF","57FF33","FF3333","33FF33","3333FF","FF33AA","33AAFF","AAFF33","FFAA33","AA33FF","33FFAA","AAFFAA","FFAAFF","FF6347","40E0D0","FFD700","8A2BE2","DC143C","00CED1","7FFF00","FF4500","fffefe","2E8B57","DAA520","6A5ACD","FF1493","B8860B","4682B4","D2691E","ADFF2F","5F9EA0","FF69B4","7B68EE","00FF7F","20B2AA","FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","FFD700","8A2BE2","7FFFD4","FF4500","6A5ACD","00FF7F","FF6347","FF1493","00CED1","989393","000000"]),Jt=r,Qt=t,en=e.ref(null);function tn(...e){try{var t=document.querySelectorAll(".removeinlineblock");let n;n=Qt.TextOnly?h.value.value:en.value.innerHTML,t.forEach((function(e){e.style.display="block"})),l(...e,n)}catch(n){}}function nn(...e){var t;hn(),function(e,t,n,o,l="",a="span",r=!1){var i,d;if(!e)return void console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");const s={justify:"left",none:"left",end:"right",start:"left",center:"left"};if(r)return void(r.target.parentElement.style.float=`${s[o]}`);const c=window.getSelection();c.removeAllRanges(),c.addRange(e);const m=c.getRangeAt(0);let p=m.cloneContents();const u=m.commonAncestorContainer,g=u.nodeType===Node.TEXT_NODE?u.parentNode:u;let h,f;h=document.createElement(a),h.classList.add("pom-4-textDirection"),h.setAttribute("id",`pom-4-textDirection-${Date.now()}`);const v=`${g.tagName}`.toLowerCase(),x=g?null==(i=g.classList)?void 0:i.contains("resizer-image-dropped"):null;if(g&&(null==(d=g.classList)?void 0:d.contains("pom-4-textDirection"))&&g.childNodes.forEach((e=>{var t;e.nodeType===Node.ELEMENT_NODE&&((null==(t=e.classList)?void 0:t.contains("resizer-image-dropped"))||e.removeAttribute("style"))})),"ul"==v||x||"img"==v)return g.style.float=`${s[o]}`,void(g.style.fontWeight="bold");h.appendChild(p),"editor"===g.id?(f=h.innerHTML.replace("text-align","note"),e.deleteContents()):(f=h.innerHTML,e.deleteContents());const b=h.style[n]||"",y=new RegExp(l,"ig"),E=o.replace(y,"")+l;b.includes(E)?h.style[n]=b.replace(E,""):h.style[n]=(b+E).trim(),h.style["margin-left"]="4px",h.style["margin-right"]="4px",h.innerHTML=f,e.insertNode(h);const N=document.createRange();N.collapse(!0),c.removeAllRanges(),c.addRange(N),e=N.cloneRange(),t.focus()}(null==(t=v.value)?void 0:t.range,h.value,...e,f.value),f.value=!1,dn()}function on(...e){var t;u(null==(t=v.value)?void 0:t.range,h.value,...e),Ut=null,dn()}function ln(...e){var t;u(null==(t=v.value)?void 0:t.range,h.value,...e),Ut=null,dn()}function an(e){const t=e.target.files;0!==t.length?Array.from(t).forEach((e=>{if(!e.type.startsWith("image/"))return void console.error("Selected file is not an image:",e.name);const t=new FileReader;t.onload=e=>{vn(e.target.result)},t.onerror=t=>{console.error("Error reading the file:",e.name,t)},t.readAsDataURL(e)})):console.log("No files selected")}function rn(...e){!function(e,t,n="span",o="datetime-local",l={},a=[]){const r=document.getElementById("Pom-openInputToFeed"+o);r&&r.remove();const i=document.createElement("div"),d=document.createElement("input");i.id="custom-context-menu",i.style.position="absolute",i.style.backgroundColor="white",i.style.border="1px solid #ccc",i.style.padding="10px",i.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",i.style.zIndex="1000",i.style.left=`${null==t?void 0:t.pageX}px`,i.style.top=`${null==t?void 0:t.pageY}px`,d.id="Pom-openInputToFeed"+o,d.classList.add("Pom-openInputToFeed"),d.type=o,d.style.cssText=l,i.appendChild(d);const s=document.getElementById("toolbar");function c(e){i.contains(e.target)||(i.remove(),window.document.removeEventListener("click",c))}function p(e){e.preventDefault();const t=this.href;window.open(t,"_blank"),window.document.removeEventListener("click",p)}s&&s.appendChild(i),d.addEventListener("change",(function(){const t=`${this.value}`;if("datetime-local"==o)m(e,n,t.replace(/T/," "));else{let o=[];for(const e in a)if(a.hasOwnProperty(e))if("href"===e.toLowerCase())o.push({attr:e,value:t});else{const t=a[e];o.push({attr:e,value:t})}m(e,n,"**link Name** ",o)}i.remove(),window.document.removeEventListener("click",c);const l=document.getElementsByClassName("pom-editor-anchor-tag");for(let e=0;e<l.length;e++)l[e].addEventListener("click",p)}))}(v.value.range,...e),Ut=null}function dn(e){var t;let n;"true"==Qt.TextOnly?e&&(null==(t=e.target)?void 0:t.value)&&(n=`${e.target.value}`.replace(/<\/[a-z]*?>|<\S.*?>/gi,(e=>e.startsWith("</")?"":"\n"))):(n=function(e=document.getElementById("pom-texedito-container")){return o(e.querySelectorAll(".resizer-image-dropped")),e.innerHTML}(h.value),p.SaveCurrentChanges(n),1==Qt.cssWanted&&Jt("cssWanted",'<style scoped>\n .resizer-image-dropped > div[contenteditable="false"] {\n display: none;\n}\n.resizer-image-dropped{\n border:none !important\n}\n \n.table-picker-wrapper {\n position: relative;\n display: inline-block;\n}\n\n.table-picker-trigger {\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n\n.table-picker-container {\n position: absolute;\n top: 10%;\n right: 90;\n margin-top: 10px;\n padding: 10px;\n border: 0;\n background-color: rgb(244, 244, 244);\n cursor: pointer;\n user-select: none;\n width: max-content;\n display: none;\n left: 85% !important;\n top: -7px;\n /* Hidden by default */\n}\n\n.table-picker-container.hidden {\n /* display: none; */\n}\n\n.table-picker-wrapper:hover .table-picker-container {\n display: block;\n /* Show on hover */\n}\n\n.table-picker-grid {\n display: grid;\n grid-template-columns: repeat(10, 20px);\n grid-template-rows: repeat(10, 20px);\n gap: 2px;\n margin-bottom: 10px;\n}\n\n.table-picker-grid div {\n width: 20px;\n height: 20px;\n border: 1px solid #ddd;\n background-color: #efa153ce;\n}\n\n.table-picker-grid div:hover {\n background-color: rgb(248, 246, 246);\n border: 0;\n}\n\n.table-dimensions {\n font-size: 12px;\n color: #333;\n}\n\n.pomXEditor {\n border: 1px;\n border-style: solid;\n border-color: #6972734e;\n}\n\n#editor:focus {\n outline: none;\n border: none;\n /* Removes any custom borders if applied */\n}\n\n.pom-table-editor-container {\n display: flex;\n}\n\na {\n color: blue;\n /* Default color of the link text */\n text-decoration: underline;\n /* Underline the link text by default */\n cursor: pointer;\n /* Cursor changes to a pointer on hover */\n}\n\n/* Additional pseudo-classes for different link states */\na:link {\n color: blue;\n /* Color of unvisited link */\n}\n\na:visited {\n color: purple;\n /* Color of visited link */\n}\n\na:hover {\n color: red;\n /* Color when the link is hovered over */\n text-decoration: none;\n /* Typically remove underline on hover */\n}\n\na:active {\n color: orange;\n /* Color when the link is clicked */\n}\n\n@media print {\n .print-container {\n /* width: 100%;\nheight: auto;\noverflow: hidden;\npage-break-inside: avoid;\nmargin: 0;\npadding: 0;\nbox-sizing: border-box; */\n }\n\n /* Optional: Set the font size for better print readability */\n /* body {\nfont-size: 12pt;\n} */\n /* Optional: Ensure images or other elements fit within the print area */\n /* img {\nmax-width: 100%;\nheight: auto;\n} */\n .hideonprint {\n display: none !important;\n }\n\n * {\n overflow: hidden;\n /* Hide scrollbar */\n }\n}\n</style>')),n&&setTimeout((()=>{Jt("change",n.replace(/<(\w+)[^>]*>\s*<\/\1>/g,""))}),300)}function sn(e){e.addEventListener("click",(function(t){f.value=t;const n=document.createElement("div");n.style.display="flex",n.style.position="absolute",n.style.bottom="20px",n.style.right="0px",n.style.zIndex="100",n.style.background="white",n.classList.add("Image_dropped_pom"),n.classList.add("hideOnprint");const o=document.createElement("button");o.textContent=" Left",o.style.margin="5px";const l=document.createElement("button");l.textContent=" Right",l.style.margin="5px";const a=document.createElement("button");a.textContent="Center ",a.style.margin="5px";const r=document.createElement("button");r.textContent="Wrap",r.style.margin="5px",n.appendChild(r),n.appendChild(o),n.appendChild(l),n.appendChild(a),e.appendChild(n),r.addEventListener("click",(t=>{t.target.parentElement.parentElement;const n=e.parentElement,o=e.parentElement.innerHTML;if("div"==n.tagName.toLowerCase()){const e=document.createElement("span");Array.from(n.attributes).forEach((t=>{e.setAttribute(t.name,t.value)})),e.innerHTML=o,n.replaceWith(e)}xn(),i(),cn()})),o.addEventListener("click",(()=>{e.style.float="left",xn()})),l.addEventListener("click",(()=>{e.style.float="right",xn()})),a.addEventListener("click",(()=>{e.style.display="block",e.style.margin="0 auto",xn()})),document.addEventListener("click",(function t(n){e.contains(n.target)||(xn(),document.removeEventListener("click",t))}),{once:!0})}))}function cn(e){const t=document.getElementsByClassName("resizer-image-dropped");Array.from(t).forEach((e=>{sn(e)})),f.value=!1}function mn(){!function(e){const t=document.createElement("div");t.textContent="NeW line ",e.appendChild(t),t.focus()}(h.value)}function pn(...e){g(v.value.range,...e),dn()}function un(...e){m(v.value.range,...e),dn()}function gn(...e){!function(e,t=2,n="list-style"){if(e){const o=window.getSelection();o.removeAllRanges(),o.addRange(e);const l=document.createElement("ul");l.style.listStyle=n,l.style.paddingLeft="73px";for(let e=0;e<t;e++){const t=document.createElement("li");t.style.padding="5px",t.textContent=`li ${e+1}, `,t.style.position="relative",l.appendChild(t)}e.deleteContents(),e.insertNode(l);const a=l.querySelector("td"),r=document.createRange();r.setStart(a,0),r.collapse(!0),o.removeAllRanges(),o.addRange(r),e=r.cloneRange(),editor.focus()}}(v.value.range,...e),dn()}function hn(){v.value=function(){const e=window.getSelection();if(e.rangeCount>0)return{range:e.getRangeAt(0).cloneRange(),selection:e}}(),function(){const e=window.getSelection();if(e.rangeCount>0){const t=e.getRangeAt(0),n=t.startOffset;if(document.getElementById("cursorPosition")){document.getElementById("cursorPosition").textContent=n;const e=t.startContainer;if(e.nodeType===Node.TEXT_NODE){const t=e.textContent.substring(n,n+1);document.getElementById("textAtCursor").textContent=t}else document.getElementById("textAtCursor").textContent="No text here"}}}(),function(e,t,n,o){for(d=e;n.firstChild;){const e=n.firstChild;e.removeEventListener("mouseover",c),e.removeEventListener("click",s),n.removeChild(e)}for(let l=0;l<100;l++){const e=document.createElement("div");e.addEventListener("mouseover",(e=>c(e,o,n))),e.addEventListener("click",(()=>s(t,o))),n.appendChild(e)}}(v.value,h.value,Xt.value,Yt.value),Ut=null,dn()}function fn(e){var t,n,o,l,a;e.preventDefault();const r=e.dataTransfer.files;if(parseFloat(null==(t=Qt.Files)?void 0:t.limits)==parseFloat(null==(n=Qt.Files)?void 0:n.limits))return void alert(`You can not upload more than ${Qt.Files.limits} images`);const i=function(e){const t=(e.size/1024).toFixed(2);return{fileSizeInMB:(t/1024).toFixed(2),fileSizeInKB:t}}(r[0]);if((null==(o=Qt.Files)?void 0:o.size)>0&&i.fileSizeInMB>parseFloat(null==(l=Qt.Files)?void 0:l.size))alert(`File size should be less than ${null==(a=Qt.Files)?void 0:a.size} MB`);else{if(console.log(`Image Droped ${i.fileSizeInMB} MB / ${i.fileSizeInKB} KB`),r.length>0){const e=r[0],t=new FileReader;t.onload=e=>{vn(e.target.result)},t.readAsDataURL(e)}dn()}}function vn(e){xn();const t=v.value.range;if(t){const n=document.createElement("img");n.src=e,n.style.maxWidth="100%",n.style.position="relative",n.classList.add("resizable-image");const o=document.createElement("span");o.style.display="inline-block",o.style.width="200px",o.style.position="relative",o.contentEditable=!1,o.classList.add("resizer-image-dropped"),o.id=Date.now(),sn(o);const l=document.createElement("div");l.style.width="10px",l.style.height="100%",l.style.background="gray",l.style.position="absolute",l.style.right="0",l.style.top="0",l.style.cursor="ew-resize",l.style.zIndex="2",l.classList.add("hideOnprint"),l.classList.add("widthResizer"),l.setAttribute("contentEditable",!1);const a=document.createElement("div");a.style.width="100%",a.style.height="10px",a.style.background="gray",a.style.position="absolute",a.style.bottom="0",a.style.left="0",a.style.cursor="ns-resize",a.style.zIndex="2",a.classList.add("hideOnprint"),a.classList.add("heightResizer"),a.setAttribute("contentEditable",!1);const r=document.createElement("div");r.style.width="20px",r.style.height="20px",r.style.background="gray",r.style.position="absolute",r.style.right="0",r.style.bottom="0",r.style.cursor="nwse-resize",r.style.zIndex="10",r.setAttribute("contentEditable",!1),r.classList.add("cornerResizer"),o.appendChild(n),o.appendChild(l),o.appendChild(a),o.appendChild(r),o.addEventListener("click",(e=>{Ut&&(Ut.style.border=""),Ut=o})),t.insertNode(o),cn(),i(),dn()}}function xn(e="Image_dropped_pom"){const t=document.getElementsByClassName(e);Array.from(t).forEach((e=>{e.remove()})),dn()}function bn(e){const t=p[e]();setTimeout((()=>{t&&(h.value.innerHTML=t,dn())}),100)}return e.onMounted((()=>{h.value.focus(),e.nextTick((()=>{dn(),a(),i(),cn()}))})),(o,l)=>(e.openBlock(),e.createElementBlock("span",b,[e.createElementVNode("div",y,[e.createElementVNode("div",E,[e.createElementVNode("div",N,[e.createElementVNode("div",V,[e.createElementVNode("div",k,[w,e.createElementVNode("div",C,[e.createElementVNode("div",_,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[0]||(l[0]=e=>tn(!0))},S),e.createElementVNode("div",L,[F,e.createElementVNode("strong",{class:"px-3",onClick:l[1]||(l[1]=e=>tn(!1))},"Preview")]),A])])])]),e.createElementVNode("div",z,[e.createElementVNode("div",R,[T,e.createElementVNode("div",M,[e.createElementVNode("div",B,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",onClick:l[2]||(l[2]=e=>un())},H),e.createElementVNode("div",{onClick:l[3]||(l[3]=e=>un("i","**italic text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},j),e.createElementVNode("div",{onClick:l[4]||(l[4]=e=>un("u","**underLine text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},D),e.createElementVNode("div",{onClick:l[5]||(l[5]=e=>un("s","**underLine text**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},I),e.createElementVNode("div",{onClick:l[6]||(l[6]=e=>un("sup","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},$),e.createElementVNode("div",{onClick:l[7]||(l[7]=e=>un("sub","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Z),e.createElementVNode("div",{onClick:l[8]||(l[8]=e=>un("summary","**summary**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},G),e.createElementVNode("div",{onClick:l[9]||(l[9]=e=>un("ol","1.\tordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},O),e.createElementVNode("div",{onClick:l[10]||(l[10]=e=>un("ul","1.\tunordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},W),e.createElementVNode("div",{onClick:l[11]||(l[11]=e=>pn("h1","**h1**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},q),e.createElementVNode("div",{onClick:l[12]||(l[12]=e=>pn("h2","**h2**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},P),e.createElementVNode("div",{onClick:l[13]||(l[13]=e=>pn("h3","**h3**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},X),e.createElementVNode("div",{onClick:l[14]||(l[14]=t=>e.unref(g)("h4","**h4**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Y),e.createElementVNode("div",{onClick:l[15]||(l[15]=e=>pn("h5","**h5**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},U),e.createElementVNode("div",{onClick:l[16]||(l[16]=e=>pn("h6","**h6**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},K),e.createElementVNode("div",{onClick:l[17]||(l[17]=e=>ln("text-transform","capitalize")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},J),e.createElementVNode("div",{onClick:l[18]||(l[18]=e=>ln("text-transform","lowercase")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Q),e.createElementVNode("div",{onClick:l[19]||(l[19]=e=>ln("text-transform","uppercase")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ee)])])])]),e.createElementVNode("div",te,[e.createElementVNode("div",ne,[oe,e.createElementVNode("div",le,[e.createElementVNode("div",ae,[e.createElementVNode("div",re,[ie,de,e.createElementVNode("input",{type:"file",hidden:"",id:"pom43546535435445Image",accept:"image/*",multiple:"",onChange:an},null,32)]),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[20]||(l[20]=e=>{rn(this,"a","links",{},{href:"",class:"pom-editor-anchor-tag",style:"text-decoration: underline;cursor: pointer"})})},se),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",onClick:l[21]||(l[21]=e=>rn(this))},ce),e.createElementVNode("div",null,[me,e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[22]||(l[22]=t=>e.unref(n)())},pe),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:l[23]||(l[23]=t=>e.unref(n)(!0))},ue),e.createElementVNode("div",ge,[he,e.createElementVNode("div",{id:"table-picker-container",ref_key:"tablePickerContainer",ref:x,class:"table-picker-container"},[e.createElementVNode("div",{id:"table-picker-grid",ref_key:"tablePickerGrid",ref:Xt,class:"table-picker-grid"},null,512),e.createElementVNode("span",{id:"table-dimensions",ref_key:"tableDimensions",ref:Yt,class:"table-dimensions"},"0 x 0",512)],512)])])])])])]),e.createElementVNode("div",fe,[e.createElementVNode("div",ve,[xe,e.createElementVNode("div",be,[e.createElementVNode("span",ye,[e.createElementVNode("div",Ee,[e.createElementVNode("div",Ne,[Ve,e.createElementVNode("div",ke,[e.createElementVNode("div",we,[e.createElementVNode("div",{onClick:l[24]||(l[24]=()=>on("font-family"," arial, helvetica, sans-serif")),style:{"font-family":"arial, helvetica, sans-serif"}},"Arial ")])]),e.createElementVNode("div",Ce,[e.createElementVNode("div",_e,[e.createElementVNode("div",{style:{"font-family":'"arial black", sans-serif'},onClick:l[25]||(l[25]=()=>on("font-family","arial black, sans-serif"))}," Arial Black")])]),e.createElementVNode("div",Se,[e.createElementVNode("div",Le,[e.createElementVNode("div",{style:{"font-family":"book antiqua, palatino, serif"},onClick:l[26]||(l[26]=()=>on("font-family","book antiqua, palatino, serif"))}," Book Antiqua")])]),e.createElementVNode("div",Fe,[e.createElementVNode("div",Ae,[e.createElementVNode("div",{style:{"font-family":'"comic sans ms", sans-serif'},onClick:l[27]||(l[27]=()=>on("font-family",'comic sans ms", sans-serif'))}," Comic Sans MS")])]),e.createElementVNode("div",ze,[e.createElementVNode("div",Re,[e.createElementVNode("div",{style:{"font-family":"courier new, courier, monospace"},onClick:l[28]||(l[28]=()=>on("font-family"," courier new, courier, monospace;"))}," Courier New")])]),e.createElementVNode("div",Te,[e.createElementVNode("div",Me,[e.createElementVNode("div",{style:{"font-family":"georgia, palatino, serif"},onClick:l[29]||(l[29]=()=>on("font-family"," georgia, palatino, serif"))},"Georgia ")])]),e.createElementVNode("div",Be,[e.createElementVNode("div",He,[e.createElementVNode("div",{style:{"font-family":"helvetica, arial, sans-serif"},onClick:l[30]||(l[30]=()=>on("font-family"," helvetica, arial, sans-serif"))}," Helvetica")])]),e.createElementVNode("div",je,[e.createElementVNode("div",De,[e.createElementVNode("div",{style:{"font-family":"impact, sans-serif"},onClick:l[31]||(l[31]=()=>on("font-family"," impact, sans-serif"))},"Impact")])]),e.createElementVNode("div",Ie,[e.createElementVNode("div",$e,[e.createElementVNode("div",{style:{"font-family":"symbol"},onClick:l[32]||(l[32]=()=>on("font-family"," symbol"))},"Symbol")])]),e.createElementVNode("div",Ze,[e.createElementVNode("div",Ge,[e.createElementVNode("div",{style:{"font-family":"tahoma, arial, helvetica, sans-serif"},onClick:l[33]||(l[33]=()=>on("font-family"," tahoma, arial, helvetica, sans-serif"))}," Tahoma")])]),e.createElementVNode("div",Oe,[e.createElementVNode("div",We,[e.createElementVNode("div",{style:{"font-family":"terminal, monaco, monospace"},onClick:l[34]||(l[34]=()=>on("font-family"," terminal, monaco, monospace"))},"Terminal ")])]),e.createElementVNode("div",qe,[e.createElementVNode("div",Pe,[e.createElementVNode("div",{style:{"font-family":"times new roman, times, serif"},onClick:l[35]||(l[35]=()=>on("font-family"," times new roman, times, serif"))}," Times New Roman")])]),e.createElementVNode("div",Xe,[e.createElementVNode("div",Ye,[e.createElementVNode("div",{style:{"font-family":"trebuchet ms, geneva, sans-serif"},onClick:l[36]||(l[36]=()=>on("font-family"," trebuchet ms, geneva, sans-serif"))}," Trebuchet MS")])]),e.createElementVNode("div",Ue,[e.createElementVNode("div",Ke,[e.createElementVNode("div",{style:{"font-family":"verdana, geneva, sans-serif"},onClick:l[37]||(l[37]=()=>on("font-family"," verdana, geneva, sans-serif"))},"Verdana ")])]),Je,Qe])])])])])]),e.createElementVNode("div",et,[e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[38]||(l[38]=e=>nn("text-align","justify","","p"))},tt),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[39]||(l[39]=e=>nn("text-align","center","","div"))},nt),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[40]||(l[40]=e=>nn("text-align","end","","p"))},ot),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:l[41]||(l[41]=e=>nn("text-align","start","","div"))},lt)]),e.createElementVNode("div",at,[rt,e.createElementVNode("div",it,[e.createElementVNode("div",dt,[e.createElementVNode("div",{onClick:l[42]||(l[42]=e=>gn(3,"disc"))},st),e.createElementVNode("div",{onClick:l[43]||(l[43]=e=>gn(3,"circle"))},ct),e.createElementVNode("div",null,[e.createElementVNode("div",{class:"",onClick:l[44]||(l[44]=e=>gn())},mt)]),e.createElementVNode("div",{onClick:l[45]||(l[45]=e=>gn(3,"upper-latin"))},pt)])])])]),e.createElementVNode("div",ut,[e.renderSlot(o.$slots,"toolbar-before",{},void 0,!0),e.createElementVNode("div",{class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-3",style:{margin:"6px"},onClick:l[46]||(l[46]=e=>un())},gt),e.createElementVNode("div",{onClick:l[47]||(l[47]=e=>un("i","**italic text **")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},ht),e.createElementVNode("div",{onClick:l[48]||(l[48]=e=>un("u","**underLine text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},ft),e.createElementVNode("div",{onClick:l[49]||(l[49]=e=>un("s","**Strike text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},[e.createElementVNode("i",vt,[(e.openBlock(),e.createElementBlock("svg",xt,bt))])]),e.createElementVNode("div",{onClick:l[50]||(l[50]=e=>un("sup","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},yt),e.createElementVNode("div",{onClick:l[51]||(l[51]=e=>un("sub","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Et),e.createElementVNode("div",{onClick:l[52]||(l[52]=e=>un("Code","**code**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Nt),e.createElementVNode("div",Vt,[kt,e.createElementVNode("div",wt,[e.createElementVNode("div",Ct,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Kt.value,(t=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${t} ;`),onClick:e=>ln("background",`#${t}`,"","span")},null,12,_t)))),256))])])]),e.createElementVNode("div",St,[Lt,e.createElementVNode("div",Ft,[e.createElementVNode("div",At,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Kt.value,(t=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${t} ;`),onClick:e=>ln("color",`#${t}`,"","span")},null,12,zt)))),256))])])]),e.createElementVNode("div",{title:"Redo",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:l[53]||(l[53]=()=>bn("Undo"))},Rt),e.createElementVNode("div",{title:"Redo",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:l[54]||(l[54]=()=>bn("Redo"))},Tt),e.createElementVNode("div",{title:"new fresh line",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:l[55]||(l[55]=e=>mn())},Mt),e.createElementVNode("div",Bt,[e.createElementVNode("div",Ht,[e.createElementVNode("div",jt,[Dt,e.createElementVNode("div",It,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(89,(t=>e.createElementVNode("div",{onClick:e=>ln("font-size",t+"pt"),key:t,value:t,style:{display:"block"}},e.toDisplayString(t)+"pt",9,$t))),64))])])])]),e.renderSlot(o.$slots,"toolbar-after",{},void 0,!0)])])]),e.createElementVNode("div",{class:"",ref_key:"pomTextEditorContainer",ref:en,id:"pom-texedito-container",style:{width:"100%",overflow:"hidden auto","min-height":"30vh",height:"40vh",border:"1px solid #9d969633",padding:"0px","border-radius":"3px"}},[e.createElementVNode("div",Zt,[t.TextOnly?(e.openBlock(),e.createElementBlock("textarea",{key:0,onMouseup:l[56]||(l[56]=e=>hn()),onKeyup:l[57]||(l[57]=e=>{hn()}),onInput:dn,ref_key:"editorRef",ref:h,class:"editor pom-editing-area mt-1 border-gray-300",id:"editor",style:{height:"100%",width:"100%",border:"none",resize:"none"}},e.toDisplayString(t.Dvalue),545)):(e.openBlock(),e.createElementBlock("div",{key:1,"data-placeholder":"Your Editing.....",onDrop:fn,innerHTML:t.Dvalue,onMouseup:l[58]||(l[58]=e=>hn()),onKeyup:l[59]||(l[59]=e=>{hn()}),ref_key:"editorRef",ref:h,class:"editor pom-editing-area mt-1 border-gray-300",onInput:dn,contenteditable:"true",id:"editor",style:{height:"100%",width:"100%",border:"none"}},null,40,Gt))])],512),"true"!=t.TextOnly?(e.openBlock(),e.createElementBlock("div",Ot,[e.createElementVNode("div",{class:"hover:bg-gray-200",onClick:l[60]||(l[60]=e=>mn())},Wt),qt,Pt])):e.createCommentVNode("",!0)]))}},[["__scopeId","data-v-c5407d12"]])}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pom-text-editor",
3
3
  "private": false,
4
- "version": "0.2.24",
4
+ "version": "0.2.25",
5
5
  "license": "MIT",
6
6
  "description": "A customizable and free text editor designed for modern web applications, built with Vue 3.",
7
7
  "bugs": {