ISO-Share/node_modules/zero-md/dist/zero-md.min.js.map
Aroy-Art 092042a42d
Some checks failed
Publish Docker rootless image / Push Docker image to Docker Hub (push) Failing after 38s
Publish Docker image / Push Docker image to Docker Hub (push) Failing after 41s
Add: npm zero-md package
2024-03-27 14:37:57 +01:00

1 line
No EOL
18 KiB
Text

{"version":3,"file":"zero-md.min.js","sources":["../src/index.js"],"sourcesContent":["export class ZeroMd extends HTMLElement {\n get src() {\n return this.getAttribute('src')\n }\n\n set src(val) {\n this.reflect('src', val)\n }\n\n get manualRender() {\n return this.hasAttribute('manual-render')\n }\n\n set manualRender(val) {\n this.reflect('manual-render', val)\n }\n\n reflect(name, val) {\n if (val === false) {\n this.removeAttribute(name)\n } else {\n this.setAttribute(name, val === true ? '' : val)\n }\n }\n\n static get observedAttributes() {\n return ['src']\n }\n\n attributeChangedCallback(name, old, val) {\n if (name === 'src' && this.connected && !this.manualRender && val !== old) {\n this.render()\n }\n }\n\n constructor(defaults) {\n super()\n this.version = '$VERSION'\n this.config = {\n markedUrl: 'https://cdn.jsdelivr.net/gh/markedjs/marked@4/marked.min.js',\n prismUrl: [\n ['https://cdn.jsdelivr.net/gh/PrismJS/prism@1/prism.min.js', 'data-manual'],\n 'https://cdn.jsdelivr.net/gh/PrismJS/prism@1/plugins/autoloader/prism-autoloader.min.js'\n ],\n cssUrls: [\n 'https://cdn.jsdelivr.net/gh/sindresorhus/github-markdown-css@4/github-markdown.min.css',\n 'https://cdn.jsdelivr.net/gh/PrismJS/prism@1/themes/prism.min.css'\n ],\n hostCss:\n ':host{display:block;position:relative;contain:content;}:host([hidden]){display:none;}',\n ...defaults,\n ...window.ZeroMdConfig\n }\n this.root = this.hasAttribute('no-shadow') ? this : this.attachShadow({ mode: 'open' })\n this.root.prepend(\n ...this.makeNodes(`<div class=\"markdown-styles\"></div><div class=\"markdown-body\"></div>`)\n )\n if (!this.constructor.ready) {\n this.constructor.ready = Promise.all([\n !!window.marked || this.loadScript(this.config.markedUrl),\n !!window.Prism || this.loadScript(this.config.prismUrl)\n ])\n }\n this.clicked = this.clicked.bind(this)\n if (!this.manualRender) {\n // Scroll to hash id after first render. However, `history.scrollRestoration` inteferes with this\n // on refresh. It's much better to use a `setTimeout` rather than to alter the browser's behaviour.\n this.render().then(() => setTimeout(() => this.goto(location.hash), 250))\n }\n this.observer = new MutationObserver(() => {\n this.observeChanges()\n if (!this.manualRender) this.render()\n })\n this.observer.observe(this, { childList: true })\n this.observeChanges()\n }\n\n /**\n * Start observing changes, if not already so, in `template` and `script`.\n */\n observeChanges() {\n this.querySelectorAll('template,script[type=\"text/markdown\"]').forEach((n) => {\n this.observer.observe(n.content || n, {\n childList: true,\n subtree: true,\n attributes: true,\n characterData: true\n })\n })\n }\n\n connectedCallback() {\n this.connected = true\n this.fire('zero-md-connected', {}, { bubbles: false, composed: false })\n this.waitForReady().then(() => {\n this.fire('zero-md-ready')\n })\n if (this.shadowRoot) {\n this.shadowRoot.addEventListener('click', this.clicked)\n }\n }\n\n disconnectedCallback() {\n this.connected = false\n if (this.shadowRoot) {\n this.shadowRoot.removeEventListener('click', this.clicked)\n }\n }\n\n waitForReady() {\n const ready =\n this.connected ||\n new Promise((resolve) => {\n this.addEventListener('zero-md-connected', function handler() {\n this.removeEventListener('zero-md-connected', handler)\n resolve()\n })\n })\n return Promise.all([this.constructor.ready, ready])\n }\n\n fire(name, detail = {}, opts = { bubbles: true, composed: true }) {\n if (detail.msg) {\n console.warn(detail.msg)\n }\n this.dispatchEvent(\n new CustomEvent(name, {\n detail: { node: this, ...detail },\n ...opts\n })\n )\n }\n\n tick() {\n return new Promise((resolve) => requestAnimationFrame(resolve))\n }\n\n // Coerce anything into an array\n arrify(any) {\n return any ? (Array.isArray(any) ? any : [any]) : []\n }\n\n // Promisify an element's onload callback\n onload(node) {\n return new Promise((resolve, reject) => {\n node.onload = resolve\n node.onerror = (err) => reject(err.path ? err.path[0] : err.composedPath()[0])\n })\n }\n\n // Load a url or load (in order) an array of urls via <script> tags\n loadScript(urls) {\n return Promise.all(\n this.arrify(urls).map((item) => {\n const [url, ...attrs] = this.arrify(item)\n const el = document.createElement('script')\n el.src = url\n el.async = false\n attrs.forEach((attr) => el.setAttribute(attr, ''))\n return this.onload(document.head.appendChild(el))\n })\n )\n }\n\n // Scroll to selected element\n goto(sel) {\n let el\n try {\n el = this.root.querySelector(sel)\n } catch {}\n if (el) el.scrollIntoView()\n }\n\n // Hijack same-doc anchor hash links\n clicked(ev) {\n if (ev.metaKey || ev.ctrlKey || ev.altKey || ev.shiftKey || ev.defaultPrevented) {\n return\n }\n const a = ev.target.closest('a')\n if (a && a.hash && a.host === location.host && a.pathname === location.pathname) {\n this.goto(a.hash)\n }\n }\n\n dedent(str) {\n str = str.replace(/^\\n/, '')\n const match = str.match(/^\\s+/)\n return match ? str.replace(new RegExp(`^${match[0]}`, 'gm'), '') : str\n }\n\n getBaseUrl(src) {\n const a = document.createElement('a')\n a.href = src\n return a.href.substring(0, a.href.lastIndexOf('/') + 1)\n }\n\n // Runs Prism highlight async; falls back to sync if Web Workers throw\n highlight(container) {\n return new Promise((resolve) => {\n const unhinted = container.querySelectorAll('pre>code:not([class*=\"language-\"])')\n unhinted.forEach((n) => {\n // Dead simple language detection :)\n const lang = n.innerText.match(/^\\s*</)\n ? 'markup'\n : n.innerText.match(/^\\s*(\\$|#)/)\n ? 'bash'\n : 'js'\n n.classList.add(`language-${lang}`)\n })\n try {\n window.Prism.highlightAllUnder(container, true, resolve())\n } catch {\n window.Prism.highlightAllUnder(container)\n resolve()\n }\n })\n }\n\n /**\n * Converts HTML string into HTMLCollection of nodes\n * @param {string} html\n * @returns {HTMLCollection}\n */\n makeNodes(html) {\n const tpl = document.createElement('template')\n tpl.innerHTML = html\n return tpl.content.children\n }\n\n /**\n * Constructs the styles dom and returns HTML string\n * @returns {string} `markdown-styles` string\n */\n buildStyles() {\n const get = (query) => {\n const node = this.querySelector(query)\n return node ? node.innerHTML || ' ' : ''\n }\n const urls = this.arrify(this.config.cssUrls)\n const html = `<style>${this.config.hostCss}</style>${get('template[data-merge=\"prepend\"]')}${\n get('template:not([data-merge])') ||\n urls.reduce((a, c) => `${a}<link rel=\"stylesheet\" href=\"${c}\">`, '')\n }${get('template[data-merge=\"append\"]')}`\n return html\n }\n\n /**\n * Constructs the markdown body nodes and returns HTML string\n * @param {*} opts Markedjs options\n * @returns {Promise<string>} `markdown-body` string\n */\n async buildMd(opts = {}) {\n const src = async () => {\n if (!this.src) return ''\n const resp = await fetch(this.src)\n if (resp.ok) {\n const md = await resp.text()\n return window.marked.parse(md, {\n baseUrl: this.getBaseUrl(this.src),\n ...opts\n })\n } else {\n this.fire('zero-md-error', {\n msg: `[zero-md] HTTP error ${resp.status} while fetching src`,\n status: resp.status,\n src: this.src\n })\n return ''\n }\n }\n const script = () => {\n const el = this.querySelector('script[type=\"text/markdown\"]')\n if (!el) return ''\n const md = el.hasAttribute('data-dedent') ? this.dedent(el.text) : el.text\n return window.marked.parse(md, opts)\n }\n return (await src()) || script()\n }\n\n /**\n * Returns 32-bit DJB2a hash in base36\n * @param {string} str\n * @returns {string}\n */\n getHash(str) {\n let hash = 5381\n for (let index = 0; index < str.length; index++) {\n hash = ((hash << 5) + hash) ^ str.charCodeAt(index)\n }\n return (hash >>> 0).toString(36)\n }\n\n /**\n * Insert or replace styles node in root from a HTML string. If there are external stylesheet\n * links, wait for them to load.\n * @param {string} html styles string\n * @returns {Promise<boolean|undefined>} returns true if stamped\n */\n async stampStyles(html) {\n const hash = this.getHash(html)\n const target = this.root.querySelector('.markdown-styles')\n if (target.getAttribute('data-hash') !== hash) {\n target.setAttribute('data-hash', hash)\n const nodes = this.makeNodes(html)\n const links = [...nodes].filter(\n (i) => i.tagName === 'LINK' && i.getAttribute('rel') === 'stylesheet'\n )\n target.innerHTML = ''\n target.append(...nodes)\n await Promise.all(links.map((l) => this.onload(l))).catch((err) => {\n this.fire('zero-md-error', {\n msg: '[zero-md] An external stylesheet failed to load',\n status: undefined,\n src: err.href\n })\n })\n return true\n }\n }\n\n /**\n * Insert or replace HTML body string into DOM\n * @param {string} html markdown-body string\n * @param {string[]} [classes] list of classes to apply to `.markdown-body` wrapper\n * @returns {Promise<boolean|undefined>} returns true if stamped\n */\n async stampBody(html, classes) {\n const names = this.arrify(classes)\n const hash = this.getHash(html + JSON.stringify(names))\n const target = this.root.querySelector('.markdown-body')\n if (target.getAttribute('data-hash') !== hash) {\n target.setAttribute('data-hash', hash)\n names.unshift('markdown-body')\n target.setAttribute('class', names.join(' '))\n const nodes = this.makeNodes(html)\n target.innerHTML = ''\n target.append(...nodes)\n await this.highlight(target)\n return true\n }\n }\n\n async render(opts = {}) {\n await this.waitForReady()\n const pending = this.buildMd(opts)\n const styles = await this.stampStyles(this.buildStyles())\n await this.tick()\n const body = await this.stampBody(await pending, opts.classes)\n this.fire('zero-md-rendered', { node: this, stamped: { styles, body } })\n }\n}\n\ncustomElements.define('zero-md', ZeroMd)\n"],"names":["ZeroMd","HTMLElement","src","this","getAttribute","val","reflect","manualRender","hasAttribute","name","removeAttribute","setAttribute","observedAttributes","attributeChangedCallback","old","connected","render","constructor","defaults","super","version","config","markedUrl","prismUrl","cssUrls","hostCss","window","ZeroMdConfig","root","attachShadow","mode","prepend","makeNodes","ready","Promise","all","marked","loadScript","Prism","clicked","bind","then","setTimeout","goto","location","hash","observer","MutationObserver","observeChanges","observe","childList","querySelectorAll","forEach","n","content","subtree","attributes","characterData","connectedCallback","fire","bubbles","composed","waitForReady","shadowRoot","addEventListener","disconnectedCallback","removeEventListener","resolve","handler","detail","opts","msg","console","warn","dispatchEvent","CustomEvent","node","tick","requestAnimationFrame","arrify","any","Array","isArray","onload","reject","onerror","err","path","composedPath","urls","map","item","url","attrs","el","document","createElement","async","attr","head","appendChild","sel","querySelector","scrollIntoView","ev","metaKey","ctrlKey","altKey","shiftKey","defaultPrevented","a","target","closest","host","pathname","dedent","str","match","replace","RegExp","getBaseUrl","href","substring","lastIndexOf","highlight","container","lang","innerText","classList","add","highlightAllUnder","html","tpl","innerHTML","children","buildStyles","get","query","reduce","c","buildMd","resp","fetch","ok","md","text","parse","baseUrl","status","script","getHash","index","length","charCodeAt","toString","stampStyles","nodes","links","filter","i","tagName","append","l","catch","undefined","stampBody","classes","names","JSON","stringify","unshift","join","pending","styles","body","stamped","customElements","define"],"mappings":"AAAO,MAAMA,UAAeC,YAC1B,OAAIC,GACF,OAAOC,KAAKC,aAAa,MAC1B,CAED,OAAIF,CAAIG,GACNF,KAAKG,QAAQ,MAAOD,EACrB,CAED,gBAAIE,GACF,OAAOJ,KAAKK,aAAa,gBAC1B,CAED,gBAAID,CAAaF,GACfF,KAAKG,QAAQ,gBAAiBD,EAC/B,CAED,OAAAC,CAAQG,EAAMJ,IACA,IAARA,EACFF,KAAKO,gBAAgBD,GAErBN,KAAKQ,aAAaF,GAAc,IAARJ,EAAe,GAAKA,EAE/C,CAED,6BAAWO,GACT,MAAO,CAAC,MACT,CAED,wBAAAC,CAAyBJ,EAAMK,EAAKT,GACrB,QAATI,GAAkBN,KAAKY,YAAcZ,KAAKI,cAAgBF,IAAQS,GACpEX,KAAKa,QAER,CAED,WAAAC,CAAYC,GACVC,QACAhB,KAAKiB,QAAU,QACfjB,KAAKkB,OAAS,CACZC,UAAW,8DACXC,SAAU,CACR,CAAC,2DAA4D,eAC7D,0FAEFC,QAAS,CACP,yFACA,oEAEFC,QACE,2FACCP,KACAQ,OAAOC,cAEZxB,KAAKyB,KAAOzB,KAAKK,aAAa,aAAeL,KAAOA,KAAK0B,aAAa,CAAEC,KAAM,SAC9E3B,KAAKyB,KAAKG,WACL5B,KAAK6B,UAAU,yEAEf7B,KAAKc,YAAYgB,QACpB9B,KAAKc,YAAYgB,MAAQC,QAAQC,IAAI,GACjCT,OAAOU,QAAUjC,KAAKkC,WAAWlC,KAAKkB,OAAOC,aAC7CI,OAAOY,OAASnC,KAAKkC,WAAWlC,KAAKkB,OAAOE,aAGlDpB,KAAKoC,QAAUpC,KAAKoC,QAAQC,KAAKrC,MAC5BA,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