@fileverse-dev/ddoc 2.4.4-patch-2 → 2.4.4-patch-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
| 
         @@ -1,4 +1,4 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index- 
     | 
| 
      
 1 
     | 
    
         
            +
            import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as E, b as x, e as R, H as y, f as M } from "./index-Z43mtLly.mjs";
         
     | 
| 
       2 
2 
     | 
    
         
             
            class S extends p {
         
     | 
| 
       3 
3 
     | 
    
         
             
              constructor({ callbackSelector: r, cause: a, data: n, extraData: i, sender: f, urls: t }) {
         
     | 
| 
       4 
4 
     | 
    
         
             
                var o;
         
     | 
| 
         @@ -89862,7 +89862,7 @@ async function G9(e, t) { 
     | 
|
| 
       89862 
89862 
     | 
    
         
             
                });
         
     | 
| 
       89863 
89863 
     | 
    
         
             
                return G === "0x" ? { data: void 0 } : { data: G };
         
     | 
| 
       89864 
89864 
     | 
    
         
             
              } catch (B) {
         
     | 
| 
       89865 
     | 
    
         
            -
                const q = FIt(B), { offchainLookup: _, offchainLookupSignature: N } = await import("./ccip- 
     | 
| 
      
 89865 
     | 
    
         
            +
                const q = FIt(B), { offchainLookup: _, offchainLookupSignature: N } = await import("./ccip-BEIslHaS.mjs");
         
     | 
| 
       89866 
89866 
     | 
    
         
             
                if (e.ccipRead !== !1 && (q == null ? void 0 : q.slice(0, 10)) === N && v)
         
     | 
| 
       89867 
89867 
     | 
    
         
             
                  return { data: await _(e, { data: q, to: v }) };
         
     | 
| 
       89868 
89868 
     | 
    
         
             
                throw A && (q == null ? void 0 : q.slice(0, 10)) === "0x101bb98d" ? new SNt({ factory: c }) : sle(B, {
         
     | 
| 
         @@ -101536,7 +101536,7 @@ ${x.map((w) => `  - ${w}`).join(` 
     | 
|
| 
       101536 
101536 
     | 
    
         
             
                  }),
         
     | 
| 
       101537 
101537 
     | 
    
         
             
                  new Qi({
         
     | 
| 
       101538 
101538 
     | 
    
         
             
                    // eslint-disable-next-line no-useless-escape
         
     | 
| 
       101539 
     | 
    
         
            -
                    find: /(\S*)\^( 
     | 
| 
      
 101539 
     | 
    
         
            +
                    find: /(\S*)\^([^\s^]+)\^/,
         
     | 
| 
       101540 
101540 
     | 
    
         
             
                    handler: ({ state: r, range: o, match: i }) => {
         
     | 
| 
       101541 
101541 
     | 
    
         
             
                      const { tr: a } = r, s = o.from + i[1].length, l = o.to, u = i[2].replace(/\\\^/g, "^");
         
     | 
| 
       101542 
101542 
     | 
    
         
             
                      a.replaceWith(
         
     | 
| 
         @@ -101599,7 +101599,7 @@ function Jqt(e) { 
     | 
|
| 
       101599 
101599 
     | 
    
         
             
              e.match(/!\[.*\]\(.*\)/) !== null || // Images
         
     | 
| 
       101600 
101600 
     | 
    
         
             
              e.match(/\*\*(.*?)\*\*/g) !== null || // Bold
         
     | 
| 
       101601 
101601 
     | 
    
         
             
              e.match(/\*(.*?)\*/g) !== null || // Italic
         
     | 
| 
       101602 
     | 
    
         
            -
              e.match(/`{1,3}[^`]+`{1,3}/g) !== null || e.match(/<sup>(.*?)<\/sup>/g) !== null || e.match(/<sub>(.*?)<\/sub>/g) !== null || e.match(/\^ 
     | 
| 
      
 101602 
     | 
    
         
            +
              e.match(/`{1,3}[^`]+`{1,3}/g) !== null || e.match(/<sup>(.*?)<\/sup>/g) !== null || e.match(/<sub>(.*?)<\/sub>/g) !== null || e.match(/\^[^\s^]+\^/g) !== null || // New superscript syntax
         
     | 
| 
       101603 
101603 
     | 
    
         
             
              e.match(/~(.*?)~/g) !== null || // New subscript syntax
         
     | 
| 
       101604 
101604 
     | 
    
         
             
              e.match(/^===\s*$/m) !== null;
         
     | 
| 
       101605 
101605 
     | 
    
         
             
            }
         
     | 
| 
         @@ -101685,7 +101685,7 @@ async function qv(e, t, n) { 
     | 
|
| 
       101685 
101685 
     | 
    
         
             
                    }
         
     | 
| 
       101686 
101686 
     | 
    
         
             
                }
         
     | 
| 
       101687 
101687 
     | 
    
         
             
              o = s.body.innerHTML;
         
     | 
| 
       101688 
     | 
    
         
            -
              const p = /<(sup|sub)>(.*?)<\/\1>/g, m = /\^( 
     | 
| 
      
 101688 
     | 
    
         
            +
              const p = /<(sup|sub)>(.*?)<\/\1>/g, m = /\^([^\s^]+)\^/g, g = /~(.*?)~/g, y = /===\s*$/gm;
         
     | 
| 
       101689 
101689 
     | 
    
         
             
              o = o.replace(p, (T) => `${T}`), o = o.replace(
         
     | 
| 
       101690 
101690 
     | 
    
         
             
                m,
         
     | 
| 
       101691 
101691 
     | 
    
         
             
                '<sup data-type="sup">$1</sup>'
         
     | 
    
        package/dist/index.es.js
    CHANGED