import { createBaseVNode, createElementBlock, normalizeClass, openBlock } from "./chunk-6UGCK2MK.js"; // node_modules/@abi-software/svg-sprite/dist/svg-sprite.js var x = (n, t) => { const e = n.__vccOpts || n; for (const [i, s] of t) e[i] = s; return e; }; var nn = ["xlink:href"]; var en = { __name: "SvgIcon", props: { /** * The svg icon to show. */ icon: { type: String, required: true }, /** * The option to spin the icon. */ spin: { type: Boolean, default: false } }, setup(n) { return (t, e) => (openBlock(), createElementBlock("svg", { class: normalizeClass(["map-icon", { "map-icon-spin": n.spin }]) }, [ createBaseVNode("use", { "xlink:href": `#${n.icon}` }, null, 8, nn) ], 2)); } }; var wn = x(en, [["__scopeId", "data-v-e172d5ff"]]); var v = ` 2horpanel ? `; var w = ` 2vertpanel ? `; var F = ` 3panel ? `; var h = ` 4panel ? `; var y = ` 2horpanel ? `; var k = ` 2horpanel ? `; var f = ` 4panel ? `; var m = ` changeBckgd `; var u = ` close no bk `; var _ = ` close `; var C = ` closeFullScreen `; var L = ` Comment `; var b = ` Connection `; var G = ` dock `; var B = ` drawLine `; var T = ` drawPoint `; var q = ` drawPolygon `; var O = ` drawTrash `; var S = ` fitWindow `; var A = ` fullScreen `; var z = 'DataPortal-Icons'; var U = ` magnifyingGlass `; var M = `Created by Wahyu Prihantorofrom the Noun Project`; var $ = ` openMap `; var H = ` Artboard Copy 6 `; var V = ` permalink `; var R = ` play `; var P = ` resetZoom `; var Z = ` singlepanel ? `; var I = ` tooltips ? `; var j = ` undock `; var E = ` zoomIn `; var N = ` zoomOut `; var W = (n, t, e, i) => { const s = ["title", "desc", "defs", "style"], r = ["width", "height"], J = i || []; let o = document.createElement("div"); o.innerHTML = n, s.map((l) => { const c = o.querySelector(l); c && c.remove(); }), r.map((l) => { o.querySelector("svg").removeAttribute(l); }), i && J.map((l) => { Object.values(o.querySelectorAll(`[${l}]`)).map((Q) => { Q.removeAttribute(l); }); }); const K = o.innerHTML; return o = null, K; }; var D = (n) => [ // Remove XML stuffs and comments [/<\?xml[\s\S]*?>/gi, ""], [//gi, ""], [//gi, ""], // SVG XML -> HTML5 [/\<([A-Za-z]+)([^\>]*)\/\>/g, "<$1$2>"], // convert self-closing XML SVG nodes to explicitly closed HTML5 SVG nodes [/\s+/g, " "], // replace whitespace sequences with a single space [/\> \<"] // remove whitespace between tags ].reduce((i, s) => "".replace.apply(i, s), n).trim(); var tn = true; var sn = true; var on = ["fill"]; var a = Object.assign({ "/assets/icons/2horpanel.svg": v, "/assets/icons/2vertpanel.svg": w, "/assets/icons/3panel.svg": F, "/assets/icons/4panel.svg": h, "/assets/icons/5panel.svg": y, "/assets/icons/6panel.svg": k, "/assets/icons/6panelVertical.svg": f, "/assets/icons/changeBckgd.svg": m, "/assets/icons/close-no-bk.svg": u, "/assets/icons/close.svg": _, "/assets/icons/closeFullScreen.svg": C, "/assets/icons/comment.svg": L, "/assets/icons/connection.svg": b, "/assets/icons/dock.svg": G, "/assets/icons/drawLine.svg": B, "/assets/icons/drawPoint.svg": T, "/assets/icons/drawPolygon.svg": q, "/assets/icons/drawTrash.svg": O, "/assets/icons/fitWindow.svg": S, "/assets/icons/fullScreen.svg": A, "/assets/icons/help.svg": z, "/assets/icons/magnifyingGlass.svg": U, "/assets/icons/noun-filter.svg": M, "/assets/icons/openMap.svg": $, "/assets/icons/pause.svg": H, "/assets/icons/permalink.svg": V, "/assets/icons/play.svg": R, "/assets/icons/resetZoom.svg": P, "/assets/icons/singlepanel.svg": Z, "/assets/icons/tooltips.svg": I, "/assets/icons/undock.svg": j, "/assets/icons/zoomIn.svg": E, "/assets/icons/zoomOut.svg": N }); var ln = Object.keys(a).map((n) => { const t = W(a[n], tn, sn, on), e = n.replace(/^.+\/(\w+).svg$/, "$1"); return D(t).replace("", "symbol>"); }); var rn = { name: "MapSvgSprite", svgContext: a, svgSprite: ln.join(` `) // concatenate all symbols into $options.svgSprite }; var cn = ["innerHTML"]; function an(n, t, e, i, s, r) { return openBlock(), createElementBlock("svg", { width: "0", height: "0", style: { display: "none" }, innerHTML: n.$options.svgSprite }, null, 8, cn); } var Fn = x(rn, [["render", an]]); var g = Object.assign({ "/assets/icons/2horpanel.svg": v, "/assets/icons/2vertpanel.svg": w, "/assets/icons/3panel.svg": F, "/assets/icons/4panel.svg": h, "/assets/icons/5panel.svg": y, "/assets/icons/6panel.svg": k, "/assets/icons/6panelVertical.svg": f, "/assets/icons/changeBckgd.svg": m, "/assets/icons/close-no-bk.svg": u, "/assets/icons/close.svg": _, "/assets/icons/closeFullScreen.svg": C, "/assets/icons/comment.svg": L, "/assets/icons/connection.svg": b, "/assets/icons/dock.svg": G, "/assets/icons/drawLine.svg": B, "/assets/icons/drawPoint.svg": T, "/assets/icons/drawPolygon.svg": q, "/assets/icons/drawTrash.svg": O, "/assets/icons/fitWindow.svg": S, "/assets/icons/fullScreen.svg": A, "/assets/icons/help.svg": z, "/assets/icons/magnifyingGlass.svg": U, "/assets/icons/noun-filter.svg": M, "/assets/icons/openMap.svg": $, "/assets/icons/pause.svg": H, "/assets/icons/permalink.svg": V, "/assets/icons/play.svg": R, "/assets/icons/resetZoom.svg": P, "/assets/icons/singlepanel.svg": Z, "/assets/icons/tooltips.svg": I, "/assets/icons/undock.svg": j, "/assets/icons/zoomIn.svg": E, "/assets/icons/zoomOut.svg": N }); var gn = Object.keys(g).map((n) => { const t = W(g[n]), e = n.replace(/^.+\/(\w+).svg$/, "$1"); return D(t).replace("", "symbol>"); }); var dn = { name: "MapSvgSpriteColor", svgContext: g, svgSprite: gn.join(` `) // concatenate all symbols into $options.svgSprite }; var pn = ["innerHTML"]; function xn(n, t, e, i, s, r) { return openBlock(), createElementBlock("svg", { width: "0", height: "0", style: { display: "none" }, innerHTML: n.$options.svgSprite }, null, 8, pn); } var hn = x(dn, [["render", xn]]); export { wn, Fn, hn }; //# sourceMappingURL=chunk-EEZUFMIV.js.map