@docx-editor.dev/core 2.30.0 → 2.32.0
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.
- package/README.md +24 -0
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +18 -27
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +17 -16
- package/dist/binding.js +1 -1
- package/dist/bookmark-names-DDuAra_V.d.ts +37 -0
- package/dist/{chrome-print-BM3Js-6X.d.ts → chrome-print-CznJ0ucN.d.ts} +361 -41
- package/dist/chunk-25EXMBV2.cjs +5 -0
- package/dist/chunk-2CWQY27B.cjs +1 -0
- package/dist/chunk-3IEXDEFH.cjs +7 -0
- package/dist/chunk-65XBN67F.cjs +2 -0
- package/dist/chunk-6NVZNB7O.cjs +3 -0
- package/dist/chunk-6UDJUI3W.cjs +2 -0
- package/dist/chunk-ACLR4DMK.js +1 -0
- package/dist/{chunk-RJCQGJR7.js → chunk-B2BEELUE.js} +1 -1
- package/dist/chunk-DDFHKQFU.js +30 -0
- package/dist/chunk-E4IAO4CY.cjs +2 -0
- package/dist/chunk-ETDZFNMI.js +2 -0
- package/dist/chunk-FDSL5OJU.cjs +30 -0
- package/dist/chunk-FS7CMYLT.js +4 -0
- package/dist/chunk-GDS24SZN.js +30 -0
- package/dist/chunk-GIY6NT2X.js +5 -0
- package/dist/chunk-GWM3AKUD.js +18 -0
- package/dist/chunk-HDOXACHP.js +2 -0
- package/dist/chunk-IILEENID.js +1 -0
- package/dist/chunk-L5TYBFDB.js +1 -0
- package/dist/chunk-MNF2K7NN.cjs +30 -0
- package/dist/chunk-O324RB6R.cjs +1 -0
- package/dist/chunk-OKMEMSKB.cjs +1 -0
- package/dist/chunk-QXJKYNYZ.js +1 -0
- package/dist/chunk-RALTVLB6.js +2 -0
- package/dist/chunk-SRVKFUFI.js +3 -0
- package/dist/chunk-TELQ52LG.cjs +1 -0
- package/dist/chunk-TJHE5EET.cjs +1 -0
- package/dist/chunk-UMMRURPE.js +7 -0
- package/dist/chunk-WN7ICTA5.js +1 -0
- package/dist/{chunk-FLBEJC6X.cjs → chunk-XJYZVGQR.cjs} +1 -1
- package/dist/chunk-ZGTIE3QJ.cjs +4 -0
- package/dist/chunk-ZOZI27AW.cjs +18 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +20 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +5 -6
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +3 -3
- package/dist/contracts/editor.d.ts +13 -10
- package/dist/contracts/interaction.d.ts +2 -2
- package/dist/contracts/modules.d.ts +15 -13
- package/dist/contracts/types.d.ts +135 -2
- package/dist/{custom-node-writes-0v0Kgw1T.d.ts → custom-node-writes-CLJKGD9t.d.ts} +7 -2
- package/dist/{diagnostic-context-CcAO4q1s.d.ts → diagnostic-context-BtDUY3v2.d.ts} +3 -2
- package/dist/{diagnostic-hints-2Bke6H_w.d.ts → diagnostic-hints-DK8-V0fk.d.ts} +2 -2
- package/dist/{document-protection-8eyMWIJ0.d.ts → document-protection-NaniLHWF.d.ts} +1 -1
- package/dist/{editor-DaEJd2so.d.ts → editor-DZwOTmlR.d.ts} +386 -279
- package/dist/editor-fonts-D_-vjuJi.d.ts +53 -0
- package/dist/{editor-scope-7o9xweiJ.d.ts → editor-scope-B3L-1ALc.d.ts} +57 -4
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +6 -4
- package/dist/editor.d.ts +646 -31
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +9 -16
- package/dist/export.js +2 -2
- package/dist/{failure-NS2lsya4.d.ts → failure-6KGFrDO9.d.ts} +1 -1
- package/dist/{font-resolver-CL9BVKZo.d.ts → font-resolver-BlQNGdvR.d.ts} +1 -1
- package/dist/{headless-document-view-DZQN8Bnx.d.ts → headless-document-view-Bcz9_Qva.d.ts} +115 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +27 -26
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-cEnVrhWg.d.ts → layout-shaping-E5J4Z1Gf.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +95 -23
- package/dist/layout.js +1 -1
- package/dist/{note-properties-9FH8zAeG.d.ts → note-properties-Ds5R2_3F.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +24 -10
- package/dist/output.js +1 -1
- package/dist/{protocol-CZ1uUlPO.d.ts → protocol-DKa4qt7F.d.ts} +167 -5
- package/dist/{review-paragraph-order-CqVelc5A.d.ts → review-paragraph-order-Dc17w_6v.d.ts} +1 -1
- package/dist/revision-projection-Cn6rZJ7H.d.ts +258 -0
- package/dist/{semantic-cell-selection-Dr9yxFZt.d.ts → semantic-cell-selection-BaUR0iJ4.d.ts} +2 -2
- package/dist/{semantic-interaction-Dc3pf3hr.d.ts → semantic-interaction-CJoHLoOl.d.ts} +1 -1
- package/dist/{semantic-paint-Bz3FBAoH.d.ts → semantic-paint-BPw_n0li.d.ts} +7 -4
- package/dist/{semantic-record-queries-Bx0pl6kL.d.ts → semantic-record-queries-C0rJ3sB4.d.ts} +1 -1
- package/dist/{semantic-records-CjcF26ZL.d.ts → semantic-records-BvN-WWst.d.ts} +365 -512
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +47 -22
- package/dist/store.js +1 -1
- package/dist/{types-barrel-CA0xB8kH.d.ts → tree-op-types-C_S2niXW.d.ts} +1239 -747
- package/dist/{tree-package-store-DKhdEVym.d.ts → tree-package-store-CRHvMyNj.d.ts} +676 -646
- package/dist/{tree-session-contract-CwnTEVLF.d.ts → tree-session-contract-D1awo_dA.d.ts} +26 -13
- package/dist/unsupported-elements-CVos5cqe.d.ts +23 -0
- package/docs/accept-reject-without-scrolling.md +95 -0
- package/docs/comment-on-found-text.md +72 -0
- package/docs/custom-review-cards.md +178 -0
- package/docs/highlight-ranges.md +48 -0
- package/docs/index.md +36 -0
- package/docs/propose-rewrite.md +247 -0
- package/docs/tracked-replacement.md +68 -0
- package/package.json +3 -2
- package/dist/chunk-2PV5L5NJ.js +0 -5
- package/dist/chunk-5OTS2EJ7.js +0 -7
- package/dist/chunk-5P4223J4.cjs +0 -27
- package/dist/chunk-5RRAZMBU.cjs +0 -1
- package/dist/chunk-5SPITS5F.js +0 -18
- package/dist/chunk-6JIJOZDW.js +0 -1
- package/dist/chunk-7ATNKARV.js +0 -2
- package/dist/chunk-BGCUTKWE.cjs +0 -5
- package/dist/chunk-BTQKU64Q.cjs +0 -1
- package/dist/chunk-EBCXSH2W.js +0 -3
- package/dist/chunk-ERECKTIR.cjs +0 -2
- package/dist/chunk-HYASLE2G.cjs +0 -1
- package/dist/chunk-JC47NRJC.cjs +0 -3
- package/dist/chunk-KJRTNY2Q.cjs +0 -2
- package/dist/chunk-NKPUH3QJ.js +0 -1
- package/dist/chunk-PF5NJWS3.js +0 -2
- package/dist/chunk-PWTRJSES.cjs +0 -18
- package/dist/chunk-QFKGI242.cjs +0 -30
- package/dist/chunk-RPPV4S6T.cjs +0 -4
- package/dist/chunk-T32MGBJS.js +0 -1
- package/dist/chunk-UM26GH5B.js +0 -30
- package/dist/chunk-VRCZBFLH.js +0 -27
- package/dist/chunk-WF7JZ755.cjs +0 -1
- package/dist/chunk-WK5X2MMA.cjs +0 -7
- package/dist/chunk-WPDD2Y32.js +0 -2
- package/dist/chunk-YBMWBXST.cjs +0 -2
- package/dist/chunk-YZGUBCHP.js +0 -1
- package/dist/chunk-ZOS2PM4A.js +0 -4
- package/dist/image-resources-Bipz8toD.d.ts +0 -211
- package/dist/omml-equation-DP2WpUbK.d.ts +0 -97
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunk6NVZNB7O_cjs=require('./chunk-6NVZNB7O.cjs'),chunkFDSL5OJU_cjs=require('./chunk-FDSL5OJU.cjs'),chunkXJYZVGQR_cjs=require('./chunk-XJYZVGQR.cjs'),chunkZOZI27AW_cjs=require('./chunk-ZOZI27AW.cjs');var tt=/^[\p{L}\p{N}\p{M} \-.+_,;]{1,64}$/u;function V(e){let t=new Map;for(let n of e)if(Array.isArray(n)){for(let o of n.slice(0,2048)){if(typeof o!="string"||!tt.test(o))continue;let r=o.toLowerCase();if(t.has(r)||t.set(r,o),t.size===2048)break}if(t.size===2048)break}return Object.freeze([...t.values()])}function _t(e){let t=e&&"failures"in e?e.failures:void 0;return e==null||(e.sources?.length??0)===0&&(e.substitutions?.length??0)===0&&(t===void 0||Array.isArray(t)&&t.length===0)?void 0:e}var Ue=64,ie=Object.freeze({family:"Calibri",sizeHalfPoints:22}),Lt=ie;function G(e,...t){let n=[e,...t],o=[],r=new Set;for(let l of n)for(let c of l.sources??[]){let u=chunkFDSL5OJU_cjs.h(c.request);r.has(u)||(r.add(u),o.push(c));}let s=[],i=new Set;for(let l of n)for(let c of l.substitutions??[]){let u=chunkFDSL5OJU_cjs.h(c.from);r.has(u)||i.has(u)||(i.add(u),s.push(c));}let a=V(n.map(l=>l.supportedFamilies));return Object.freeze({...a.length?{supportedFamilies:a}:{},epoch:e.epoch??0,maxFontBytes:e.maxFontBytes??chunkFDSL5OJU_cjs.a,sources:Object.freeze(o),...s.length>0?{substitutions:Object.freeze(s)}:{},defaultFont:e.defaultFont??ie,...e.language!==void 0?{language:e.language}:{}})}var nt=/^[\p{L}\p{N}\p{M} \-.+_,;]{1,64}$/u;function W(e){let t=e?.defaultFont?.family;return t!==void 0&&nt.test(t)?t:ie.family}var ot="docx-editor.dev/font-resolver",Ve=Symbol.for("docx-editor.dev/font-resolver");function zt(e){let t={value:true,enumerable:false,configurable:true};try{Object.defineProperty(e,Ve,t),Object.defineProperty(e,ot,t);}catch(n){throw new TypeError("defineFontResolver cannot mark a frozen or sealed function; mark it before freezing, or wrap it in a fresh function and mark that.",{cause:n})}return e}function jt(e){return typeof e=="function"&&e[Ve]===true}var le=class extends RangeError{constructor(n,o,r){super(`Font source ${n.family} (${o} bytes) exceeds the shaping byte ceiling (${r} bytes)`);this.request=n;}request},ce=class extends AggregateError{causes;constructor(t){let n=Object.freeze(t.slice(0,chunkFDSL5OJU_cjs.b*2));super(n,`Font origin rejected all ${n.length} face and substitution candidates`),this.causes=n;}},Q=e=>`${e.family.trim().toLowerCase()} ${e.weight} ${e.style}`;function rt(e,t,n){let o=new Map(e.map(r=>[Q(r),r]));for(let[r,s]of t)o.set(r,s);for(let r of n)o.has(Q(r.to))&&o.set(Q(r.from),r.from);return [...o.values()]}async function Ut(e,t,n={}){return Xe(e,t,n)}async function $t(e,t,n={}){return Xe(e,t,n)}async function Xe(e,t,n){let o=n.maxExecutionFontBytes??chunkFDSL5OJU_cjs.a;if(!Number.isSafeInteger(o)||o<=0||o>chunkFDSL5OJU_cjs.a)throw new RangeError("Font execution byte ceiling is outside the supported range");let r=e.map(st),s,i=[],a=[],l=new Map,c=new Set,u=0,d=[],g=new Set,p=[],A=t.resolvedFaces??[],S=t.defaultFamily;for(let m=0;m<e.length;m+=1){Ke(t.signal);let F=e[m],h=rt(A,l,d),R;try{let w=r[m],O;if(w){let f=await $e(w,t.signal);if(!f.ok)throw f.cause;O=f.value;}else if(typeof F=="function"){let f=await $e(Promise.resolve(F(lt(t,S,h,u))).then(b=>({ok:!0,value:b}),b=>({ok:!1,cause:b})),t.signal);if(!f.ok)throw f.cause;O=f.value;}else O=F;if(O==null)continue;if(typeof O=="function"){J(n,F,m,new TypeError("A font origin answered with a function; pass the resolver itself rather than a function returning one"));continue}let k="failures"in O?O.failures:void 0,P=[];if(Array.isArray(k)){let f=Math.min(k.length,chunkFDSL5OJU_cjs.b);for(let b=0;b<f;b++)P.push(k[b]);k.length>f&&P.push(new Error("Additional font-origin failures were omitted"));}else k!==void 0&&P.push(k);let v;try{v=it(O,c,u,g,s?"maxFontBytes"in s&&s.maxFontBytes!==void 0?s.maxFontBytes:chunkFDSL5OJU_cjs.a:void 0,n.reserveOwnedBytes,n.instrumentation,o);}catch(f){for(let b of new Set(P))J(n,F,m,b);throw f}R=v;for(let f of new Set([...v.dropped,...P]))J(n,F,m,f);let T=v.fragment;T.supportedFamilies&&i.push(T.supportedFamilies),p.push(...P);let j=(T.sources??[]).map(f=>(chunkFDSL5OJU_cjs.h(f.request),[Q(f.request),f.request])),x=[...T.substitutions??[]];!s&&"defaultFont"in T&&(S=W(T)),s||(s=T);let E=new Set(v.sourceKeys);if(E.size>0){d=d.filter(f=>!E.has(chunkFDSL5OJU_cjs.h(f.from)));for(let f of E)g.delete(f);}a.push(...T.sources??[]);for(let f of v.sourceKeys)c.add(f);u+=v.ownedBytes;for(let[f,b]of j)l.set(f,b);for(let f of x)d.push(f),g.add(chunkFDSL5OJU_cjs.h(f.from));}catch(w){if(R?.releaseOwnedBytes?.(),t.signal?.aborted)throw t.signal.reason??w;if(w instanceof Z)throw w.cause;J(n,F,m,w);continue}}if(!s)return;let{epoch:C,...L}=G({...s,supportedFamilies:V(i),sources:a,substitutions:d});return p.length===0?L:{...L,failures:Object.freeze(p)}}var Z=class extends Error{constructor(n){super("Unable to reserve owned font bytes");this.cause=n;this.name="FontOwnershipReservationError";}cause},ee=class extends RangeError{};async function $e(e,t){if(!t)return e;Ke(t);let n,o=new Promise((s,i)=>{n=i;}),r=()=>n?.(t.reason);t.addEventListener("abort",r,{once:true});try{return await Promise.race([e,o])}finally{t.removeEventListener("abort",r);}}function st(e){if(e===null||typeof e!="object")return;let t;try{t=e.then;}catch(n){return Promise.resolve({ok:false,cause:n})}if(typeof t=="function")return Promise.resolve(e).then(n=>({ok:true,value:n}),n=>({ok:false,cause:n}))}function it(e,t,n,o,r,s,i,a=chunkFDSL5OJU_cjs.a){let l=e.sources??[],c=e.substitutions??[],u="maxFontBytes"in e?e.maxFontBytes:void 0,d="defaultFont"in e?e.defaultFont:void 0,g="epoch"in e?e.epoch:void 0,p="language"in e?e.language:void 0;if(!Array.isArray(l)||!Array.isArray(c))throw new TypeError("Font origin sources and substitutions must be arrays");let A=l.length,S=c.length;if(A>chunkFDSL5OJU_cjs.b)throw new RangeError(`Font source count must not exceed ${chunkFDSL5OJU_cjs.b}`);if(S>chunkFDSL5OJU_cjs.b)throw new RangeError(`Font substitution count must not exceed ${chunkFDSL5OJU_cjs.b}`);let C=u??chunkFDSL5OJU_cjs.a;if(!Number.isSafeInteger(C)||C<=0||C>chunkFDSL5OJU_cjs.a)throw new RangeError(`Font byte ceiling must be a positive safe integer no greater than ${chunkFDSL5OJU_cjs.a}`);let L=Math.min(r??C,a),m=0,F=[],h=new Set,R=[],w=[];for(let x=0;x<A;x+=1){let E=l[x];try{let f=ae(E.request),b=chunkFDSL5OJU_cjs.h(f);if(t.has(b)||h.has(b))continue;let D=E.availability,M=E.faceIndex,q=E.hash,re=E.id;if(D!==void 0&&D!=="available"&&D!=="forbidden")throw new TypeError("Font source availability must be available or forbidden");if(!Number.isSafeInteger(M)||M<0)throw new RangeError("Font face index must be a non-negative safe integer");if(typeof q!="string"||q.length===0)throw new TypeError("Font source hash must be a non-empty string");let K;if(D!=="forbidden"){if(typeof re!="string"||re.length===0)throw new TypeError("Font source id must be a non-empty string");K=E.bytes;let U=chunkFDSL5OJU_cjs.e(K);if(U>L)throw U<=(r??C)?new le(f,U,a):new RangeError(`Font source ${f.family} (${U} bytes) exceeds the effective base byte ceiling (${L} bytes)`);if(t.has(b)||h.has(b))continue;if(n+m+U>chunkFDSL5OJU_cjs.c)throw new RangeError(`Font sources exceed the aggregate byte ceiling of ${chunkFDSL5OJU_cjs.c}`);m+=U;}else K=new Uint8Array(0);if(t.has(b)||h.has(b))continue;if(t.size+h.size>=chunkFDSL5OJU_cjs.b)throw new ee(`Font source count must not exceed ${chunkFDSL5OJU_cjs.b}`);h.add(b),F.push(b),R.push(Object.freeze({request:f,id:re,bytes:K,hash:q,faceIndex:M,...D?{availability:D}:{}}));}catch(f){if(f instanceof ee)throw f;w.push(f);}}let O=new Set,k=[];for(let x=0;x<S;x+=1){let E=c[x];try{let f=ae(E.from),b=ae(E.to);chunkFDSL5OJU_cjs.h(f),chunkFDSL5OJU_cjs.h(b);let D=E.lineMetrics,M=D?Object.freeze({heightEm:D.heightEm,baselineEm:D.baselineEm}):void 0;if(M&&(!Number.isFinite(M.heightEm)||!Number.isFinite(M.baselineEm)||M.heightEm<=0||M.heightEm>4||M.baselineEm<0||M.baselineEm>M.heightEm))throw new RangeError("Font substitution line metrics must fit within a bounded em box");let q=chunkFDSL5OJU_cjs.h(f);if(t.has(q)||h.has(q)||o.has(q)||O.has(q))continue;O.add(q),k.push(Object.freeze({from:f,to:b,...M?{lineMetrics:M}:{}}));}catch(f){w.push(f);}}if((A>0||S>0)&&R.length===0&&k.length===0&&w.length>0)throw w.length===1?w[0]:new ce(w);let P=o.size;for(let x of h)o.has(x)&&(P-=1);if(P+O.size>chunkFDSL5OJU_cjs.b)throw new RangeError(`Font substitution count must not exceed ${chunkFDSL5OJU_cjs.b}`);let v;if(d!==void 0){let x=d.family,E=d.sizeHalfPoints;if(chunkFDSL5OJU_cjs.h({family:x,weight:400,style:"normal"}),!Number.isSafeInteger(E)||E<=0)throw new RangeError("Default font size must be a positive safe integer in half-points");v=Object.freeze({family:x,sizeHalfPoints:E});}if(g!==void 0&&(!Number.isSafeInteger(g)||g<0))throw new RangeError("Font configuration epoch must be a non-negative safe integer");if(p!==void 0&&typeof p!="string")throw new TypeError("Font shaping language must be a string");let T;if(m>0&&s)try{T=s(m);}catch(x){throw new Z(x)}let j;try{j=R.map(x=>chunkFDSL5OJU_cjs.f(x,i));}catch(x){throw T?.(),x}return {fragment:Object.freeze({supportedFamilies:V([e.supportedFamilies]),sources:Object.freeze(j),substitutions:Object.freeze(k),...g!==void 0?{epoch:g}:{},...u!==void 0?{maxFontBytes:u}:{},...v?{defaultFont:v}:{},...p!==void 0?{language:p}:{}}),sourceKeys:Object.freeze(F),ownedBytes:m,dropped:Object.freeze(w),releaseOwnedBytes:T}}function at(e){return !Number.isSafeInteger(e)||e<=0?0:e>chunkFDSL5OJU_cjs.c?chunkFDSL5OJU_cjs.c:e}function lt(e,t,n,o){let{committedSourceBytes:r,...s}=e,i=at(o);return {...s,defaultFamily:t,...n.length>0?{resolvedFaces:n}:{},...i>0?{committedSourceBytes:i}:{}}}function ae(e){return Object.freeze({family:e.family,weight:e.weight,style:e.style})}function Ke(e){if(e?.aborted)throw e.reason??new DOMException("Font resolution was aborted","AbortError")}function J(e,t,n,o){let r;try{typeof t=="function"&&t.name.length>0&&(r=t.name);}catch{}try{o instanceof Error&&o.stack;}catch{}let s=Object.freeze({originIndex:n,...r!==void 0?{originName:r}:{},cause:o});if(e.onOriginFailure)try{let a=e.onOriginFailure(s);Promise.resolve(a).catch(l=>{console.warn("[fonts] font-origin diagnostic callback failed",l);});return}catch(a){console.warn("[fonts] font-origin diagnostic callback failed",a);}let i="";try{o instanceof Error&&o.message.length>0&&(i=`: ${o.message}`);}catch{}console.warn(`[fonts] a font origin failed and was skipped${i}`,o);}var ct=256,ut=Object.freeze([]);function te(e){let t=new WeakMap;return (n,o)=>{let r=new Set;for(let s of n){let i=[{node:s,context:o,next:0}],a=l=>{i.pop();let c=i.at(-1)?.found??r;for(let u of l)c.add(u);};for(;i.length;){let l=i[i.length-1],c=t.get(l.node);if(c?.key===l.context.key){a(c.families);continue}if(!l.children){let g=e(l.node,l.context);l.children=g.children,l.found=new Set(g.families);}let u=l.children[l.next++];if(u){i.push({...u,next:0});continue}let d=l.found.size===0?ut:[...l.found];d.length<=ct&&chunkZOZI27AW_cjs.vb(l.node)?t.set(l.node,{key:l.context.key,families:d}):t.delete(l.node),a(d);}}return [...r]}}function ne(e,t){return e.children.flatMap(n=>n.kind==="textValue"?[]:[{node:n,context:t}])}var He=new WeakMap,ft=4096;function Ye(e,t){let n=`${e.baseKey}|${e.depth+1}|${JSON.stringify(t)}`,o=He.get(e);o||He.set(e,o=new Map);let r=o.get(n);if(r)return r;let s={...e,depth:e.depth+1,cellStyle:t,key:n};return o.size<ft&&o.set(n,s),s}function dt(e,t){let{styles:n,theme:o,supplementalFamilies:r,depth:s}=t;if(e.kind==="table"){let l=chunkFDSL5OJU_cjs.ee(e,468,s,n),c=[];for(let u of l?.rows??[])for(let d of u.cells){let g=Ye(t,d.styleFormatting);for(let p of d.blocks)c.push({node:p,context:g});}return {children:c.reverse()}}let i=new Set;if(e.kind==="paragraph"){let l=e.children.find(u=>u.kind==="paragraphProperties"),c=chunkFDSL5OJU_cjs.ud(n,l,t.cellStyle).runProperties;for(let u of chunkFDSL5OJU_cjs.sc(e,c,void 0,(d,g)=>chunkFDSL5OJU_cjs.xd(d,g,n),void 0,void 0,"all-markup",void 0,void 0,o)){if(!u.text||u.fontSlot!=="eastAsia"&&!r.has(u.style.fontFamily??""))continue;let d=chunkXJYZVGQR_cjs.b((u.fontSlot==="eastAsia"?u.style.fontFamilyEastAsia:u.style.fontFamily)??void 0);d&&i.add(d);}}let a=e.localName==="txbxContent"?{...t,cellStyle:void 0,key:`${t.baseKey}|${s}|undefined`}:t;return {families:[...i],children:ne(e,a).reverse()}}function mt(){let e=te(dt),t,n,o=(s,i)=>{if(!t||n!==s||t.theme!==i){let a=chunkFDSL5OJU_cjs.td(s,i);n=s,t={key:`${a.cacheToken}|0|undefined`,baseKey:a.cacheToken,styles:a,theme:i,depth:0,supplementalFamilies:new Set([...Object.values(i.majorSupplemental??{}),...Object.values(i.minorSupplemental??{})])};}return t};return Object.assign((s,i,a)=>e([...s].reverse(),o(i,a)),{warmTableRows(s,i,a,l,c){let u=o(l,c),d=chunkFDSL5OJU_cjs.ee(s,468,u.depth,u.styles)?.rows??[];for(let g of d.slice(i,a))for(let p of g.cells)e(p.blocks,Ye(u,p.styleFormatting));return d.length}})}function Qt(e,t,n){return mt()(e,t,n)}function ue(e,t){return e.attributes.find(n=>n.localName===t)?.value}var gt=te((e,t)=>{let n=[];if(e.namespaceUri===chunkZOZI27AW_cjs.pa){if(e.localName==="fldSimple"){let o=chunkFDSL5OJU_cjs.ed(ue(e,"instr")??"")?.font;o&&n.push(o);}if(e.localName==="p")for(let o of yt(e))n.push(o);}return {families:n,children:ne(e,t)}});function fn(e){let t=new Map;for(let n of gt(e,{key:""})){let o=chunkXJYZVGQR_cjs.b(n);o!==null&&!t.has(o.toLowerCase())&&t.set(o.toLowerCase(),o);}return [...t.values()]}function yt(e){let t=[],n=chunkFDSL5OJU_cjs.ac(),o=[];for(let r=e.children.length-1;r>=0;r-=1){let s=e.children[r];s.kind!=="textValue"&&o.push({node:s,containerDepth:0});}for(;o.length>0;){let{node:r,containerDepth:s}=o.pop();if(s>=chunkZOZI27AW_cjs.Aa||r.namespaceUri===chunkZOZI27AW_cjs.pa&&r.localName==="p")continue;if(r.namespaceUri===chunkZOZI27AW_cjs.pa&&r.localName==="fldChar"){let a=ue(r,"fldCharType");a==="begin"?chunkFDSL5OJU_cjs.dc(n):a==="separate"?(n.nesting===1&&Ge(n,t),chunkFDSL5OJU_cjs.fc(n)):a==="end"&&(n.nesting===1&&Ge(n,t),chunkFDSL5OJU_cjs.gc(n));continue}if(r.namespaceUri===chunkZOZI27AW_cjs.pa&&(r.localName==="instrText"||r.localName==="delInstrText")){chunkFDSL5OJU_cjs.ec(n,pt(r),r.localName==="delInstrText");continue}if(r.namespaceUri===chunkZOZI27AW_cjs.pa&&r.localName==="fldSimple"){let a=chunkFDSL5OJU_cjs.ed(ue(r,"instr")??"");a?.font&&t.push(a.font);}let i=chunkZOZI27AW_cjs.Ba(r,s);for(let a=r.children.length-1;a>=0;a-=1){let l=r.children[a];l.kind!=="textValue"&&o.push({node:l,containerDepth:i});}}return chunkFDSL5OJU_cjs.bc(n),t}function Ge(e,t){let n=chunkFDSL5OJU_cjs.cc(e);if(n.overflow)return;let o=chunkFDSL5OJU_cjs.ed(n.instruction);o?.font&&t.push(o.font);}function pt(e){let t="",n=[...e.children].reverse();for(;n.length>0&&t.length<=256;){let o=n.pop();if(o.kind==="textValue")t+=o.value;else for(let r=o.children.length-1;r>=0;r-=1)n.push(o.children[r]);}return t}var Ft=()=>true,ht=/[ᄀ-ᇿ⺀-鿿ꥠ-가-豈-︰-﹏-]/u;function dn(e,t,n,o){if(!t)return [];let r=chunkFDSL5OJU_cjs.vc(t),s=chunkFDSL5OJU_cjs.td(n,o),i=new Map;for(let a of e)for(let l of bt(a)){let c=chunkZOZI27AW_cjs.ad(l.children),u=d=>{if(d)for(let g of d.values()){let p=g.markerText===void 0||ht.test(g.markerText);for(let A of [g.markerStyle.fontFamily,p?g.markerStyle.fontFamilyEastAsia:null]){let S=chunkXJYZVGQR_cjs.b(A??void 0);if(S===null)continue;let C=S.toLowerCase();i.has(C)||i.set(C,S);}}};u(chunkFDSL5OJU_cjs.Ic(c,r,s,Ft));for(let d of c){let g=chunkFDSL5OJU_cjs.hf(d);for(let p of g.contents)u(chunkFDSL5OJU_cjs.gf(p,r,s));}}return [...i.values()].sort((a,l)=>a.localeCompare(l))}function bt(e){if(e.localName==="document"){for(let t of e.children)if(t.kind!=="textValue"&&t.localName==="body")return [t];return []}if(e.localName==="footnotes"||e.localName==="endnotes"){let t=[];for(let n of e.children)n.kind!=="textValue"&&(n.localName==="footnote"||n.localName==="endnote")&&t.push(n);return t}return [e]}var xt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",Je=256,wt=31;function X(e,t){return e.kind!=="textValue"&&e.localName===t&&e.namespaceUri===chunkZOZI27AW_cjs.pa}function oe(e,t){return e.attributes.find(n=>n.localName===t&&n.namespaceUri===chunkZOZI27AW_cjs.pa)?.value}function Qe(e){let t=(e.relationships.get(e.mainDocumentPart)??[]).find(s=>s.type===xt),n=t?chunkZOZI27AW_cjs.N(t):void 0,r=((n?.mode==="Internal"&&n.target.ok?e.parts.get(n.target.partName):void 0)??e.parts.get("/word/fontTable.xml"))?.root;return r&&X(r,"fonts")?r:void 0}function We(e,t){let n=e.children.find(o=>X(o,t));return n&&n.kind!=="textValue"?oe(n,"val"):void 0}function Ze(e){let t=Qe(e),n=new Map;if(!t)return n;let o=0;for(let r of t.children){if(!X(r,"font"))continue;if(++o>Je)break;let s=chunkXJYZVGQR_cjs.a(oe(r,"name"));if(!s)continue;let i=chunk6NVZNB7O_cjs.P(We(r,"family"),We(r,"pitch")),a=s.trim().toLowerCase();i&&!n.has(a)&&n.set(a,i);}return n}function et(e){let t=Qe(e),n=new Map;if(!t)return n;let o=0;for(let r of t.children){if(!X(r,"font"))continue;if(++o>Je)break;let s=chunkXJYZVGQR_cjs.a(oe(r,"name"));if(!s)continue;let i=r.children.find(u=>X(u,"altName")),a=i&&i.kind!=="textValue"?oe(i,"val"):void 0,l=a!==void 0&&a.length<=wt?chunkXJYZVGQR_cjs.a(a):null,c=s.trim().toLowerCase();l&&!n.has(c)&&n.set(c,l);}return n}function vn(e,t,n){let o=new Set,r=new Map;for(let s of e.substitutions??[]){let i=s.from.family.trim().toLowerCase();r.has(i)||r.set(i,s.to.family.trim().toLowerCase());}for(let s of e.substitutions??[]){let i=s.from.family.trim().toLowerCase(),a=s.to.family.trim().toLowerCase(),l=[t.alternates.get(i),t.fallbacks.get(i)].some(c=>{let u=c?.trim().toLowerCase();return u!==void 0&&u!==i&&(u===a||r.get(u)===a)});a!==i&&l&&!(n.resolve(s.from)instanceof chunkFDSL5OJU_cjs.d)&&o.add(s.from.family.toLowerCase());}return o}function St(e,t){return e.attributes.find(n=>n.localName===t&&n.namespaceUri===chunkZOZI27AW_cjs.pa)?.value}var Et=new Set(["document","hdr","ftr","footnotes","endnotes","comments","styles","numbering","glossaryDocument"]),Ot=new Set(["t","delText","instrText","delInstrText"]),Ct=2e6;function Rt(e,t){let n=e.stylesRoot(),o=e.documentThemeFonts(),r=[...chunkFDSL5OJU_cjs.y(n),...n?chunkFDSL5OJU_cjs.Ob(n).run:[]],s=chunkFDSL5OJU_cjs.da(r,o),i=chunkXJYZVGQR_cjs.a(s.fontFamily??void 0)??t,a=chunkXJYZVGQR_cjs.a(chunkFDSL5OJU_cjs.Qb([{text:"\xE9",props:r,style:s,start:0,end:1}],o)[0]?.style.fontFamily??void 0)??i,l=chunkXJYZVGQR_cjs.a(s.fontFamilyEastAsia??void 0),c=chunkXJYZVGQR_cjs.a(s.complexLane?.fontFamily??void 0)??o.minorBidi??t,u=Ze(e.currentPackage()),d=m=>u.get(m.trim().toLowerCase())??chunk6NVZNB7O_cjs.Q(m),g=(m,F)=>{let h=d(m);if(!h)return F;let R=d(F);return R===void 0||R===h?F:chunk6NVZNB7O_cjs.R[h]},p=new Map,A=new Map,S=0;for(let m of e.currentPackage().parts.values()){if(m.root.namespaceUri!==chunkZOZI27AW_cjs.pa||!Et.has(m.root.localName))continue;let F=[m.root];for(;F.length>0&&S<Ct;){S++;let h=F.pop();if(h.kind!=="textValue"){if(h.namespaceUri===chunkZOZI27AW_cjs.pa){if(Ot.has(h.localName))continue;if(h.localName==="rFonts"){for(let[R,w]of [["ascii",i],["hAnsi",a],["eastAsia",l],["cs",c]]){let O=chunkXJYZVGQR_cjs.a(St(h,R));if(!O||!w)continue;let k=O.trim().toLowerCase(),P=p.get(k)??new Set,v=R==="ascii"||R==="hAnsi",T=v?g(O,w):w;if(P.add(T),p.set(k,P),v&&d(O)){let j=A.get(k)??new Set;j.add(T),A.set(k,j);}}continue}}for(let R of h.children)F.push(R);}}}for(let m of chunkZOZI27AW_cjs.a)p.delete(m);let C=new Map,L=[];for(let[m,F]of p){let h=A.get(m);F.size===1?C.set(m,[...F][0]):h?.size===1?C.set(m,[...h][0]):L.push(m);}return {fallbacks:C,ambiguousFamilies:L,defaults:new Map([...p].map(([m,F])=>[m,[...F]]))}}function kt(e,t,n=[],o="Calibri"){let r=et(e.currentPackage()),s=Rt(e,o),i=t.flatMap(c=>{let u=r.get(c.trim().toLowerCase());return u?[u]:[]}),a=new Map,l=t.flatMap(c=>s.defaults.get(c.trim().toLowerCase())??[]).filter(c=>c.trim().toLowerCase()!==o.trim().toLowerCase());for(let c of [...t,...i,...n,...l]){let u=chunkXJYZVGQR_cjs.a(c);if(u&&!a.has(u.trim().toLowerCase())&&a.set(u.trim().toLowerCase(),u),a.size===Ue)break}return {families:[...a.values()],alternates:r,fallbacks:s.fallbacks,ambiguousFamilies:s.ambiguousFamilies}}function Mn(e,t,n){let o=W(n),r=kt(e,t,[],o);return {plan:r,request:{families:r.families,defaultFamily:o}}}function Nn(e,t,n=t.fallbacks){let o=new Map(e.sources.map(c=>[chunkFDSL5OJU_cjs.h(c.request),c.request])),r=[],s=new Set((e.substitutions??[]).map(c=>chunkFDSL5OJU_cjs.h(c.from))),i=new Map((e.substitutions??[]).map(c=>[chunkFDSL5OJU_cjs.h(c.from),c])),a=c=>{let u=o.get(chunkFDSL5OJU_cjs.h(c));if(u)return {to:u};let d=i.get(chunkFDSL5OJU_cjs.h(c)),g=d&&o.get(chunkFDSL5OJU_cjs.h(d.to));if(!(!d||!g))return d.lineMetrics?{to:g,lineMetrics:d.lineMetrics}:{to:g}},l=Math.max(0,chunkFDSL5OJU_cjs.b-s.size);for(let c of t.families){let u=c.trim().toLowerCase(),d=t.alternates.get(u),g=n.get(u);for(let p of [400,700])for(let A of ["normal","italic"]){let S={family:c,weight:p,style:A};if(o.has(chunkFDSL5OJU_cjs.h(S)))continue;let C=i.has(chunkFDSL5OJU_cjs.h(S));for(let L of [d,g]){if(!L||L.trim().toLowerCase()===u)continue;let m={family:L,weight:p,style:A},F=o.get(chunkFDSL5OJU_cjs.h(m)),h=C?F?{to:F}:void 0:a(m);if(h){if(!s.has(chunkFDSL5OJU_cjs.h(S))){if(l===0)break;l--;}r.push({from:S,...h});break}}}}return G({...e,substitutions:[...r,...e.substitutions??[]]})}function _n(e,t,n){let o=new Set((e.substitutions??[]).map(s=>chunkFDSL5OJU_cjs.h(s.from))),r=new Set;for(let s of t.substitutions??[]){if(o.has(chunkFDSL5OJU_cjs.h(s.from)))continue;let i=s.from.family.trim().toLowerCase(),a=s.to.family.trim().toLowerCase();[n.alternates.get(i),n.fallbacks.get(i)].some(c=>c?.trim().toLowerCase()===a)||r.add(i);}return r}function Ln(e,t){let n=new Map;for(let[o,r]of e)t(o)||n.set(o,r);return n}var Tt={regular:{weight:400,style:"normal"},bold:{weight:700,style:"normal"},italic:{weight:400,style:"italic"},boldItalic:{weight:700,style:"italic"}};function Bn(e,t){let n=[],o=[],r=0;for(let s of e){let i=s.bytes.byteLength;if(!Number.isSafeInteger(i)||i>t||i>chunkFDSL5OJU_cjs.a||i>chunkFDSL5OJU_cjs.c-r){o.push(s);continue}r+=i,n.push(s);}return {sources:n,dropped:o}}function Dn(e,t,n){let o=t.reduce((s,i)=>s+i.bytes.byteLength,0),r=new Set(t.filter(s=>s.request.family.trim().length>0).map(s=>chunkFDSL5OJU_cjs.h(s.request)));return At(e,{maxFontBytes:n,aggregateBudget:Math.max(0,chunkFDSL5OJU_cjs.c-o),shadowedRequests:r})}function At(e,t){let n=[],o=[],r=t.aggregateBudget,s=new Set;for(let i of e){let a=Tt[i.style],l=Object.freeze({family:i.family,weight:a.weight,style:a.style});if(i.family.trim().length===0){o.push({request:l,partName:i.partName,reason:"malformed"});continue}let c=chunkFDSL5OJU_cjs.h(l);if(!(t.shadowedRequests?.has(c)||s.has(c))){if(s.add(c),i.bytes.byteLength>t.maxFontBytes||i.bytes.byteLength>r){o.push({request:l,partName:i.partName,reason:"overLimit"});continue}r-=i.bytes.byteLength,n.push({request:l,id:`embedded:${i.partName}#${i.style}`,bytes:i.bytes,hash:chunkZOZI27AW_cjs.f(i.bytes),faceIndex:0});}}return {sources:n,dropped:o}}
|
|
2
|
+
exports.A=_n;exports.B=Ln;exports.C=Bn;exports.D=Dn;exports.E=At;exports.a=V;exports.b=_t;exports.c=Ue;exports.d=ie;exports.e=Lt;exports.f=G;exports.g=W;exports.h=ot;exports.i=Ve;exports.j=zt;exports.k=jt;exports.l=le;exports.m=ce;exports.n=Ut;exports.o=$t;exports.p=te;exports.q=ne;exports.r=mt;exports.s=Qt;exports.t=fn;exports.u=yt;exports.v=dn;exports.w=vn;exports.x=kt;exports.y=Mn;exports.z=Nn;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {d}from'./chunk-ACLR4DMK.js';import {pa,na,oa}from'./chunk-HDOXACHP.js';import {vf,hb,Qf,qg,ib,Xj,gb,vd,wd,fb}from'./chunk-GWM3AKUD.js';function G(n){let t=[],a=0;for(let r of n){let o=a+r.text.length;r.resultRuns?t.push({text:r.text,rawStart:r.rawStart,rawEnd:r.rawEnd,resultRuns:r.resultRuns,...r.symbolOffsets?{symbolOffsets:r.symbolOffsets}:{},...r.symbolDisplays?{symbolDisplays:r.symbolDisplays}:{},projectedStart:a,projectedEnd:o,expansion:r.text.length!==r.rawEnd-r.rawStart}):r.floatingObject?t.push({text:r.text,rawStart:r.rawStart,rawEnd:r.rawEnd,floatingObject:true,projectedStart:a,projectedEnd:o,expansion:r.text.length!==r.rawEnd-r.rawStart}):t.push({text:r.text,rawStart:r.rawStart,rawEnd:r.rawEnd,...r.symbol?{symbol:true}:{},...r.symbolOffsets?{symbolOffsets:r.symbolOffsets}:{},...r.symbolDisplays?{symbolDisplays:r.symbolDisplays}:{},projectedStart:a,projectedEnd:o,expansion:r.text.length!==r.rawEnd-r.rawStart}),a=o;}return t}function B(n,t){return t<=n.rawStart?n.projectedStart:t>=n.rawEnd?n.projectedEnd:n.expansion?n.projectedStart:n.projectedStart+t-n.rawStart}function L(n,t){return n.expansion?n.rawStart:n.rawStart+t-n.projectedStart}function W(n,t){return n.expansion?n.rawEnd:n.rawStart+t-n.projectedStart}var K=new Set([fb,"\u2011"]),Q=/[\u001e\u001f\u2011]/,X="\uFFFF";function Y(n,t){if(!Q.test(n)&&!t?.size)return {text:n,at:null};let a="",r=[];for(let o=0;o<n.length;o+=1){let l=n[o];if(t?.has(o))a+=X;else {if(l===gb)continue;a+=K.has(l)?"-":l;}r.push(o);}return {text:a,at:r}}function U(n){let t;for(let a of n){if(a.symbol){t??=new Set;for(let r=a.projectedStart;r<a.projectedEnd;r+=1)t.add(r);}for(let r of a.symbolOffsets??[])(t??=new Set).add(a.projectedStart+r);}return t}function P(n){let t=G(n),a="";for(let o of n)a+=o.text;let r=null;return {text:a,projectedOffset(o){let l=0;for(let i of t){if(o<=i.rawEnd)return B(i,o);l=i.projectedEnd;}return l},projectedOffsets(o,l){let i=new Int32Array(Math.max(0,l-o+1)),e=0,d=0;for(let s=o;s<=l;s+=1){for(;e<t.length&&s>t[e].rawEnd;)d=t[e].projectedEnd,e+=1;let c=t[e];i[s-o]=c?B(c,s):d;}return i},rawRange(o,l){if(o<0||o>=l||l>a.length)return null;let i=t.find(d=>o>=d.projectedStart&&o<d.projectedEnd),e=t.find(d=>l>d.projectedStart&&l<=d.projectedEnd);return !i||!e?null:{start:L(i,o),end:W(e,l)}},sliceRaw(o,l){if(o>=l)return "";let i="";for(let e of t){if(e.expansion){o<=e.rawStart&&l>=e.rawEnd&&(i+=e.text);continue}let d=Math.max(o,e.rawStart),s=Math.min(l,e.rawEnd);d<s&&(i+=e.text.slice(d-e.rawStart,s-e.rawStart));}return i},displaySlice(o,l){let i="";for(let e of t){if(e.projectedEnd<=o||e.projectedStart>=l)continue;let d=Math.max(o,e.projectedStart)-e.projectedStart,s=Math.min(l,e.projectedEnd)-e.projectedStart;if(e.symbol){i+=e.symbolDisplays?.[0]??"";continue}let c=new Map;e.symbolOffsets?.forEach((f,u)=>c.set(f,e.symbolDisplays?.[u]??""));for(let f=d;f<s;f+=1)i+=c.get(f)??e.text[f];}return i},resultRunAddressAt(o){let l=t.find(e=>e.resultRuns!==void 0&&o>=e.projectedStart&&o<e.projectedEnd);if(!l?.resultRuns)return null;let i=o-l.projectedStart;for(let e of l.resultRuns)if(i>=e.start&&i<e.end)return {runId:e.runId,offset:i-e.start};return null},findOccurrences(o,l,i={}){let e=[];if(l<=0||!pa(o)||a.length===0)return {matches:e,truncated:false};let d=i.matchCase===true,s=i.wholeWord===true;r??=Y(a,U(t));let c=r,f=Y(o).text;if(f.length===0||f.includes(X))return {matches:e,truncated:false};let u=d?f:na(f),j=d?c.text:na(c.text),R=p=>c.at?.[p]??p,v=p=>{if(!c.at)return p;let m=0;for(;m<c.at.length&&c.at[m]<p;)m+=1;return m},z=Math.min(a.length,i.to??a.length),D=new Set,b=j.indexOf(u,v(Math.max(0,i.from??0)));for(;b>=0;){let p=b+u.length,m=R(b),x=R(p-1)+1;if(x>z)return {matches:e,truncated:false};if(t.some(y=>y.floatingObject===true&&y.projectedStart>m&&y.projectedStart<x)){b=j.indexOf(u,b+1);continue}if(!s||oa(c.text,b,p)){let y=t.find(h=>m>=h.projectedStart&&m<h.projectedEnd),E=t.find(h=>x>h.projectedStart&&x<=h.projectedEnd);if(!y||!E)return {matches:e,truncated:false};let S=y===E&&y.expansion?y:null;if(!S||!D.has(S)){if(e.length>=l)return {matches:e,truncated:true};e.push({start:m,length:x-m,rawStart:L(y,m),rawEnd:W(E,x)}),S&&D.add(S);}}b=j.indexOf(u,p);}return {matches:e,truncated:false}}}}function q(n){return n.length===0?P([]):P([{text:n,rawStart:0,rawEnd:n.length}])}var J="http://schemas.openxmlformats.org/markup-compatibility/2006";function Z(n){if(n.kind==="textValue")return false;if(vd(n))return wd(n);let t=a=>a.kind!=="textValue"&&a.children.some(r=>r.kind==="anchoredDrawing"||r.kind!=="textValue"&&r.localName==="anchor");if(n.kind==="drawing")return t(n);if(n.namespaceUri!==J||n.localName!=="AlternateContent")return false;for(let a of n.children){if(a.kind==="textValue"||a.localName!=="Choice")continue;let r=a.children.find(o=>o.kind==="drawing"||o.kind!=="textValue"&&o.localName==="drawing");if(r)return t(r)}return false}function $(n,t,a="allMarkup"){if(!t.includes(vf)&&!t.includes(hb))return t.length===0?[]:[{text:t,rawStart:0,rawEnd:t.length}];let r=Qf(n),o=qg(n,r),l=d(n,r,a),i=new Map;for(let s of r)i.set(s.node.id,s);let e=[],d$1=0;for(let s of o){let c=i.get(s.node.id),f=!c&&ib(s.node);if(!c&&!f){Z(s.node)&&(d$1<s.start&&e.push({text:t.slice(d$1,s.start),rawStart:d$1,rawEnd:s.start}),e.push({text:"",rawStart:s.start,rawEnd:s.end,floatingObject:true}),d$1=s.end);continue}if(d$1<s.start&&e.push({text:t.slice(d$1,s.start),rawStart:d$1,rawEnd:s.start}),!c){e.push({text:hb,rawStart:s.start,rawEnd:s.end,symbol:true,symbolDisplays:[Xj(s.node)]}),d$1=s.end;continue}let u=l.get(c.node.id);c.kind==="simple"&&u?e.push({text:u.text,rawStart:s.start,rawEnd:s.end,resultRuns:u.runs,...u.symbols?{symbolOffsets:u.symbols}:{},...u.symbolDisplays?{symbolDisplays:u.symbolDisplays}:{}}):e.push({text:u?.text??vf,rawStart:s.start,rawEnd:s.end,...u?.symbols?{symbolOffsets:u.symbols}:{},...u?.symbolDisplays?{symbolDisplays:u.symbolDisplays}:{}}),d$1=s.end;}return d$1<t.length&&e.push({text:t.slice(d$1),rawStart:d$1,rawEnd:t.length}),e}function ie(n,t,a="allMarkup"){return !t.includes(vf)&&!t.includes(hb)?q(t):P($(n,t,a))}
|
|
2
|
+
export{P as a,q as b,$ as c,ie as d};
|