@harbour-enterprises/superdoc 0.9.21 → 0.9.22

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.
Files changed (28) hide show
  1. package/dist/chunks/{index-CqRwYOdx.cjs → index-DHS2ANjv.cjs} +1 -1
  2. package/dist/chunks/{index-dZKHAFXF.es.js → index-Dd_ce0Er.es.js} +1 -1
  3. package/dist/chunks/{index-DjLrg1eZ.es.js → index-XHRxRUhd.es.js} +2 -2
  4. package/dist/chunks/{index-BXKGjuVW.cjs → index-YqE5-6V1.cjs} +1 -1
  5. package/dist/chunks/{super-editor.es-BKOFtnKb.es.js → super-editor.es-Biu3hzvL.es.js} +4 -4
  6. package/dist/chunks/{super-editor.es-CGZeYZti.cjs → super-editor.es-CMTCdDpB.cjs} +2 -2
  7. package/dist/chunks/{url-BxDGAI6E.es.js → url-BWFemt_V.es.js} +1 -1
  8. package/dist/chunks/{url-6Xu7gR4T.cjs → url-Cqg7fbSS.cjs} +1 -1
  9. package/dist/chunks/{xml-js-BAML2_fM.es.js → xml-js-Bzw8Bo_u.es.js} +744 -762
  10. package/dist/chunks/xml-js-Zwb1wsIy.cjs +10 -0
  11. package/dist/super-editor/chunks/{converter-Duqg7CGy.js → converter-ClWoW5PX.js} +3 -3
  12. package/dist/super-editor/chunks/{docx-zipper-DWmiIKZ-.js → docx-zipper-B4k46BKl.js} +1 -1
  13. package/dist/super-editor/chunks/{editor-dPX69r76.js → editor-DZjHTvfC.js} +3 -3
  14. package/dist/super-editor/chunks/{toolbar-QSaD4Bth.js → toolbar-CKWbkRLL.js} +2 -2
  15. package/dist/super-editor/converter.es.js +1 -1
  16. package/dist/super-editor/docx-zipper.es.js +2 -2
  17. package/dist/super-editor/editor.es.js +3 -3
  18. package/dist/super-editor/file-zipper.es.js +1 -1
  19. package/dist/super-editor/super-editor.es.js +6 -6
  20. package/dist/super-editor/toolbar.es.js +2 -2
  21. package/dist/super-editor.cjs +1 -1
  22. package/dist/super-editor.es.js +1 -1
  23. package/dist/superdoc.cjs +3 -3
  24. package/dist/superdoc.es.js +6 -6
  25. package/dist/superdoc.umd.js +5 -5
  26. package/dist/superdoc.umd.js.map +1 -1
  27. package/package.json +1 -1
  28. package/dist/chunks/xml-js-zhwNEV5e.cjs +0 -10
@@ -0,0 +1,10 @@
1
+ "use strict";const ne=require("./jszip-ChlzEvf9.cjs"),C=require("./vue-Ckf0DkDN.cjs");var Je={exports:{}};typeof Object.create=="function"?Je.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Je.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var Lr=Je.exports,tr={exports:{}},re=typeof Reflect=="object"?Reflect:null,cr=re&&typeof re.apply=="function"?re.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},me;re&&typeof re.ownKeys=="function"?me=re.ownKeys:Object.getOwnPropertySymbols?me=function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:me=function(e){return Object.getOwnPropertyNames(e)};function bt(r){console&&console.warn&&console.warn(r)}var Ur=Number.isNaN||function(e){return e!==e};function S(){S.init.call(this)}tr.exports=S;tr.exports.once=Ot;S.EventEmitter=S;S.prototype._events=void 0;S.prototype._eventsCount=0;S.prototype._maxListeners=void 0;var yr=10;function Be(r){if(typeof r!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}Object.defineProperty(S,"defaultMaxListeners",{enumerable:!0,get:function(){return yr},set:function(r){if(typeof r!="number"||r<0||Ur(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");yr=r}});S.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};S.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||Ur(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this};function Dr(r){return r._maxListeners===void 0?S.defaultMaxListeners:r._maxListeners}S.prototype.getMaxListeners=function(){return Dr(this)};S.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e==="error",c=this._events;if(c!==void 0)i=i&&c.error===void 0;else if(!i)return!1;if(i){var u;if(t.length>0&&(u=t[0]),u instanceof Error)throw u;var p=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw p.context=u,p}var d=c[e];if(d===void 0)return!1;if(typeof d=="function")cr(d,this,t);else for(var E=d.length,j=Wr(d,E),n=0;n<E;++n)cr(j[n],this,t);return!0};function Mr(r,e,t,n){var i,c,u;if(Be(t),c=r._events,c===void 0?(c=r._events=Object.create(null),r._eventsCount=0):(c.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),c=r._events),u=c[e]),u===void 0)u=c[e]=t,++r._eventsCount;else if(typeof u=="function"?u=c[e]=n?[t,u]:[u,t]:n?u.unshift(t):u.push(t),i=Dr(r),i>0&&u.length>i&&!u.warned){u.warned=!0;var p=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");p.name="MaxListenersExceededWarning",p.emitter=r,p.type=e,p.count=u.length,bt(p)}return r}S.prototype.addListener=function(e,t){return Mr(this,e,t,!1)};S.prototype.on=S.prototype.addListener;S.prototype.prependListener=function(e,t){return Mr(this,e,t,!0)};function At(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function kr(r,e,t){var n={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},i=At.bind(n);return i.listener=t,n.wrapFn=i,i}S.prototype.once=function(e,t){return Be(t),this.on(e,kr(this,e,t)),this};S.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,kr(this,e,t)),this};S.prototype.removeListener=function(e,t){var n,i,c,u,p;if(Be(t),i=this._events,i===void 0)return this;if(n=i[e],n===void 0)return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if(typeof n!="function"){for(c=-1,u=n.length-1;u>=0;u--)if(n[u]===t||n[u].listener===t){p=n[u].listener,c=u;break}if(c<0)return this;c===0?n.shift():wt(n,c),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,p||t)}return this};S.prototype.off=S.prototype.removeListener;S.prototype.removeAllListeners=function(e){var t,n,i;if(n=this._events,n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete n[e]),this;if(arguments.length===0){var c=Object.keys(n),u;for(i=0;i<c.length;++i)u=c[i],u!=="removeListener"&&this.removeAllListeners(u);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t=="function")this.removeListener(e,t);else if(t!==void 0)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this};function Gr(r,e,t){var n=r._events;if(n===void 0)return[];var i=n[e];return i===void 0?[]:typeof i=="function"?t?[i.listener||i]:[i]:t?St(i):Wr(i,i.length)}S.prototype.listeners=function(e){return Gr(this,e,!0)};S.prototype.rawListeners=function(e){return Gr(this,e,!1)};S.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):xr.call(r,e)};S.prototype.listenerCount=xr;function xr(r){var e=this._events;if(e!==void 0){var t=e[r];if(typeof t=="function")return 1;if(t!==void 0)return t.length}return 0}S.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Wr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function wt(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function St(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function Ot(r,e){return new Promise(function(t,n){function i(u){r.removeListener(e,c),n(u)}function c(){typeof r.removeListener=="function"&&r.removeListener("error",i),t([].slice.call(arguments))}zr(r,e,c,{once:!0}),e!=="error"&&Pt(r,i,{once:!0})})}function Pt(r,e,t){typeof r.on=="function"&&zr(r,"error",e,t)}function zr(r,e,t,n){if(typeof r.on=="function")n.once?r.once(e,t):r.on(e,t);else if(typeof r.addEventListener=="function")r.addEventListener(e,function i(c){n.once&&r.removeEventListener(e,i),t(c)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var Et=tr.exports;const Vr=ne.getAugmentedNamespace(ne.dist);var qr={},Hr={},Jr=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[t]=i;for(var c in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var u=Object.getOwnPropertySymbols(e);if(u.length!==1||u[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(e,t);if(p.value!==i||p.enumerable!==!0)return!1}return!0},jt=Jr,Te=function(){return jt()&&!!Symbol.toStringTag},Kr=Object,$t=Error,Bt=EvalError,Tt=RangeError,Ft=ReferenceError,Zr=SyntaxError,ie=TypeError,Nt=URIError,It=Math.abs,Rt=Math.floor,_t=Math.max,Ct=Math.min,Lt=Math.pow,Ut=Math.round,Dt=Number.isNaN||function(e){return e!==e},Mt=Dt,kt=function(e){return Mt(e)||e===0?e:e<0?-1:1},Gt=Object.getOwnPropertyDescriptor,be=Gt;if(be)try{be([],"length")}catch{be=null}var ae=be,Ae=Object.defineProperty||!1;if(Ae)try{Ae({},"a",{value:1})}catch{Ae=!1}var Fe=Ae,Ce,pr;function xt(){if(pr)return Ce;pr=1;var r=typeof Symbol<"u"&&Symbol,e=Jr;return Ce=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Ce}var Yr=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Wt=Kr,Qr=Wt.getPrototypeOf||null,zt="Function.prototype.bind called on incompatible ",Vt=Object.prototype.toString,qt=Math.max,Ht="[object Function]",dr=function(e,t){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var c=0;c<t.length;c+=1)n[c+e.length]=t[c];return n},Jt=function(e,t){for(var n=[],i=t,c=0;i<e.length;i+=1,c+=1)n[c]=e[i];return n},Kt=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t},Zt=function(e){var t=this;if(typeof t!="function"||Vt.apply(t)!==Ht)throw new TypeError(zt+t);for(var n=Jt(arguments,1),i,c=function(){if(this instanceof i){var j=t.apply(this,dr(n,arguments));return Object(j)===j?j:this}return t.apply(e,dr(n,arguments))},u=qt(0,t.length-n.length),p=[],d=0;d<u;d++)p[d]="$"+d;if(i=Function("binder","return function ("+Kt(p,",")+"){ return binder.apply(this,arguments); }")(c),t.prototype){var E=function(){};E.prototype=t.prototype,i.prototype=new E,E.prototype=null}return i},Yt=Zt,le=Function.prototype.bind||Yt,nr=Function.prototype.call,Le,hr;function or(){return hr||(hr=1,Le=Function.prototype.apply),Le}var Qt=typeof Reflect<"u"&&Reflect&&Reflect.apply,Xt=le,en=or(),rn=nr,tn=Qt,Xr=tn||Xt.call(rn,en),nn=le,on=ie,an=nr,fn=Xr,ir=function(e){if(e.length<1||typeof e[0]!="function")throw new on("a function is required");return fn(nn,an,e)},sn=ir,gr=ae,et;try{et=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ue=!!et&&gr&&gr(Object.prototype,"__proto__"),rt=Object,vr=rt.getPrototypeOf,un=Ue&&typeof Ue.get=="function"?sn([Ue.get]):typeof vr=="function"?function(e){return vr(e==null?e:rt(e))}:!1,mr=Yr,br=Qr,Ar=un,ar=mr?function(e){return mr(e)}:br?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return br(e)}:Ar?function(e){return Ar(e)}:null,De,wr;function tt(){if(wr)return De;wr=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=le;return De=t.call(r,e),De}var v,ln=Kr,cn=$t,yn=Bt,pn=Tt,dn=Ft,oe=Zr,te=ie,hn=Nt,gn=It,vn=Rt,mn=_t,bn=Ct,An=Lt,wn=Ut,Sn=kt,nt=Function,Me=function(r){try{return nt('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,On=Fe,ke=function(){throw new te},Pn=ue?function(){try{return arguments.callee,ke}catch{try{return ue(arguments,"callee").get}catch{return ke}}}():ke,Y=xt()(),$=ar,En=Qr,jn=Yr,ot=or(),ce=nr,X={},$n=typeof Uint8Array>"u"||!$?v:$(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&$?$([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":X,"%AsyncGenerator%":X,"%AsyncGeneratorFunction%":X,"%AsyncIteratorPrototype%":X,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":cn,"%eval%":eval,"%EvalError%":yn,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":nt,"%GeneratorFunction%":X,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Y&&$?$($([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!$?v:$(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":ln,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":pn,"%ReferenceError%":dn,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!$?v:$(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&$?$(""[Symbol.iterator]()):v,"%Symbol%":Y?Symbol:v,"%SyntaxError%":oe,"%ThrowTypeError%":Pn,"%TypedArray%":$n,"%TypeError%":te,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":hn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":ce,"%Function.prototype.apply%":ot,"%Object.defineProperty%":On,"%Object.getPrototypeOf%":En,"%Math.abs%":gn,"%Math.floor%":vn,"%Math.max%":mn,"%Math.min%":bn,"%Math.pow%":An,"%Math.round%":wn,"%Math.sign%":Sn,"%Reflect.getPrototypeOf%":jn};if($)try{null.error}catch(r){var Bn=$($(r));z["%Error.prototype%"]=Bn}var Tn=function r(e){var t;if(e==="%AsyncFunction%")t=Me("async function () {}");else if(e==="%GeneratorFunction%")t=Me("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Me("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&$&&(t=$(i.prototype))}return z[e]=t,t},Sr={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ye=le,Pe=tt(),Fn=ye.call(ce,Array.prototype.concat),Nn=ye.call(ot,Array.prototype.splice),Or=ye.call(ce,String.prototype.replace),Ee=ye.call(ce,String.prototype.slice),In=ye.call(ce,RegExp.prototype.exec),Rn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_n=/\\(\\)?/g,Cn=function(e){var t=Ee(e,0,1),n=Ee(e,-1);if(t==="%"&&n!=="%")throw new oe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new oe("invalid intrinsic syntax, expected opening `%`");var i=[];return Or(e,Rn,function(c,u,p,d){i[i.length]=p?Or(d,_n,"$1"):u||c}),i},Ln=function(e,t){var n=e,i;if(Pe(Sr,n)&&(i=Sr[n],n="%"+i[0]+"%"),Pe(z,n)){var c=z[n];if(c===X&&(c=Tn(n)),typeof c>"u"&&!t)throw new te("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:c}}throw new oe("intrinsic "+e+" does not exist!")},fr=function(e,t){if(typeof e!="string"||e.length===0)throw new te("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new te('"allowMissing" argument must be a boolean');if(In(/^%?[^%]*%?$/,e)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Cn(e),i=n.length>0?n[0]:"",c=Ln("%"+i+"%",t),u=c.name,p=c.value,d=!1,E=c.alias;E&&(i=E[0],Nn(n,Fn([0,1],E)));for(var j=1,I=!0;j<n.length;j+=1){var B=n[j],R=Ee(B,0,1),F=Ee(B,-1);if((R==='"'||R==="'"||R==="`"||F==='"'||F==="'"||F==="`")&&R!==F)throw new oe("property names with quotes must have matching quotes");if((B==="constructor"||!I)&&(d=!0),i+="."+B,u="%"+i+"%",Pe(z,u))p=z[u];else if(p!=null){if(!(B in p)){if(!t)throw new te("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&j+1>=n.length){var _=ue(p,B);I=!!_,I&&"get"in _&&!("originalValue"in _.get)?p=_.get:p=p[B]}else I=Pe(p,B),p=p[B];I&&!d&&(z[u]=p)}}return p},it=fr,at=ir,Un=at([it("%String.prototype.indexOf%")]),fe=function(e,t){var n=it(e,!!t);return typeof n=="function"&&Un(e,".prototype.")>-1?at([n]):n},Dn=Te(),Mn=fe,Ke=Mn("Object.prototype.toString"),Ne=function(e){return Dn&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Ke(e)==="[object Arguments]"},ft=function(e){return Ne(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&Ke(e)!=="[object Array]"&&"callee"in e&&Ke(e.callee)==="[object Function]"},kn=function(){return Ne(arguments)}();Ne.isLegacyArguments=ft;var Gn=kn?Ne:ft,Pr=fe,xn=Te(),Wn=tt(),zn=ae,Ze;if(xn){var Vn=Pr("RegExp.prototype.exec"),Er={},Ge=function(){throw Er},jr={toString:Ge,valueOf:Ge};typeof Symbol.toPrimitive=="symbol"&&(jr[Symbol.toPrimitive]=Ge),Ze=function(e){if(!e||typeof e!="object")return!1;var t=zn(e,"lastIndex"),n=t&&Wn(t,"value");if(!n)return!1;try{Vn(e,jr)}catch(i){return i===Er}}}else{var qn=Pr("Object.prototype.toString"),Hn="[object RegExp]";Ze=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:qn(e)===Hn}}var Jn=Ze,Kn=fe,Zn=Jn,Yn=Kn("RegExp.prototype.exec"),Qn=ie,Xn=function(e){if(!Zn(e))throw new Qn("`regex` must be a RegExp");return function(n){return Yn(e,n)!==null}},st=fe,eo=Xn,ro=eo(/^\s*(?:function)?\*/),ut=Te(),xe=ar,to=st("Object.prototype.toString"),no=st("Function.prototype.toString"),oo=function(){if(!ut)return!1;try{return Function("return function*() {}")()}catch{}},We,io=function(e){if(typeof e!="function")return!1;if(ro(no(e)))return!0;if(!ut){var t=to(e);return t==="[object GeneratorFunction]"}if(!xe)return!1;if(typeof We>"u"){var n=oo();We=n?xe(n):!1}return xe(e)===We},lt=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ye,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{Ye=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,Ye)}catch(r){r!==we&&(ee=null)}else ee=null;var ao=/^\s*class\b/,Qe=function(e){try{var t=lt.call(e);return ao.test(t)}catch{return!1}},ze=function(e){try{return Qe(e)?!1:(lt.call(e),!0)}catch{return!1}},Se=Object.prototype.toString,fo="[object Object]",so="[object Function]",uo="[object GeneratorFunction]",lo="[object HTMLAllCollection]",co="[object HTML document.all class]",yo="[object HTMLCollection]",po=typeof Symbol=="function"&&!!Symbol.toStringTag,ho=!(0 in[,]),Xe=function(){return!1};if(typeof document=="object"){var go=document.all;Se.call(go)===Se.call(document.all)&&(Xe=function(e){if((ho||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===lo||t===co||t===yo||t===fo)&&e("")==null}catch{}return!1})}var vo=ee?function(e){if(Xe(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,Ye)}catch(t){if(t!==we)return!1}return!Qe(e)&&ze(e)}:function(e){if(Xe(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(po)return ze(e);if(Qe(e))return!1;var t=Se.call(e);return t!==so&&t!==uo&&!/^\[object HTML/.test(t)?!1:ze(e)},mo=vo,bo=Object.prototype.toString,ct=Object.prototype.hasOwnProperty,Ao=function(e,t,n){for(var i=0,c=e.length;i<c;i++)ct.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))},wo=function(e,t,n){for(var i=0,c=e.length;i<c;i++)n==null?t(e.charAt(i),i,e):t.call(n,e.charAt(i),i,e)},So=function(e,t,n){for(var i in e)ct.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))};function Oo(r){return bo.call(r)==="[object Array]"}var Po=function(e,t,n){if(!mo(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Oo(e)?Ao(e,t,i):typeof e=="string"?wo(e,t,i):So(e,t,i)},Eo=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Ve=Eo,jo=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,$o=function(){for(var e=[],t=0;t<Ve.length;t++)typeof jo[Ve[t]]=="function"&&(e[e.length]=Ve[t]);return e},yt={exports:{}},$r=Fe,Bo=Zr,Q=ie,Br=ae,To=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Q("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Q("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Q("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Q("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Q("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Q("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,d=!!Br&&Br(e,t);if($r)$r(e,t,{configurable:u===null&&d?d.configurable:!u,enumerable:i===null&&d?d.enumerable:!i,value:n,writable:c===null&&d?d.writable:!c});else if(p||!i&&!c&&!u)e[t]=n;else throw new Bo("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},er=Fe,pt=function(){return!!er};pt.hasArrayLengthDefineBug=function(){if(!er)return null;try{return er([],"length",{value:1}).length!==1}catch{return!0}};var Fo=pt,No=fr,Tr=To,Io=Fo(),Fr=ae,Nr=ie,Ro=No("%Math.floor%"),_o=function(e,t){if(typeof e!="function")throw new Nr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Ro(t)!==t)throw new Nr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,c=!0;if("length"in e&&Fr){var u=Fr(e,"length");u&&!u.configurable&&(i=!1),u&&!u.writable&&(c=!1)}return(i||c||!n)&&(Io?Tr(e,"length",t,!0,!0):Tr(e,"length",t)),e},Co=le,Lo=or(),Uo=Xr,Do=function(){return Uo(Co,Lo,arguments)};(function(r){var e=_o,t=Fe,n=ir,i=Do;r.exports=function(u){var p=n(arguments),d=u.length-(arguments.length-1);return e(p,1+(d>0?d:0),!0)},t?t(r.exports,"apply",{value:i}):r.exports.apply=i})(yt);var Mo=yt.exports,je=Po,ko=$o,Ir=Mo,sr=fe,Oe=ae,ge=ar,Go=sr("Object.prototype.toString"),dt=Te(),Rr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,rr=ko(),ur=sr("String.prototype.slice"),xo=sr("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},$e={__proto__:null};dt&&Oe&&ge?je(rr,function(r){var e=new Rr[r];if(Symbol.toStringTag in e&&ge){var t=ge(e),n=Oe(t,Symbol.toStringTag);if(!n&&t){var i=ge(t);n=Oe(i,Symbol.toStringTag)}$e["$"+r]=Ir(n.get)}}):je(rr,function(r){var e=new Rr[r],t=e.slice||e.set;t&&($e["$"+r]=Ir(t))});var Wo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{"$"+n(e)===i&&(t=ur(i,1))}catch{}}),t},zo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{n(e),t=ur(i,1)}catch{}}),t},ht=function(e){if(!e||typeof e!="object")return!1;if(!dt){var t=ur(Go(e),8,-1);return xo(rr,t)>-1?t:t!=="Object"?!1:zo(e)}return Oe?Wo(e):null},Vo=ht,qo=function(e){return!!Vo(e)};(function(r){var e=Gn,t=io,n=ht,i=qo;function c(s){return s.call.bind(s)}var u=typeof BigInt<"u",p=typeof Symbol<"u",d=c(Object.prototype.toString),E=c(Number.prototype.valueOf),j=c(String.prototype.valueOf),I=c(Boolean.prototype.valueOf);if(u)var B=c(BigInt.prototype.valueOf);if(p)var R=c(Symbol.prototype.valueOf);function F(s,mt){if(typeof s!="object")return!1;try{return mt(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=i;function _(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}r.isPromise=_;function V(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):i(s)||a(s)}r.isArrayBufferView=V;function f(s){return n(s)==="Uint8Array"}r.isUint8Array=f;function y(s){return n(s)==="Uint8ClampedArray"}r.isUint8ClampedArray=y;function m(s){return n(s)==="Uint16Array"}r.isUint16Array=m;function T(s){return n(s)==="Uint32Array"}r.isUint32Array=T;function P(s){return n(s)==="Int8Array"}r.isInt8Array=P;function Ie(s){return n(s)==="Int16Array"}r.isInt16Array=Ie;function L(s){return n(s)==="Int32Array"}r.isInt32Array=L;function G(s){return n(s)==="Float32Array"}r.isFloat32Array=G;function M(s){return n(s)==="Float64Array"}r.isFloat64Array=M;function q(s){return n(s)==="BigInt64Array"}r.isBigInt64Array=q;function x(s){return n(s)==="BigUint64Array"}r.isBigUint64Array=x;function U(s){return d(s)==="[object Map]"}U.working=typeof Map<"u"&&U(new Map);function Re(s){return typeof Map>"u"?!1:U.working?U(s):s instanceof Map}r.isMap=Re;function k(s){return d(s)==="[object Set]"}k.working=typeof Set<"u"&&k(new Set);function se(s){return typeof Set>"u"?!1:k.working?k(s):s instanceof Set}r.isSet=se;function H(s){return d(s)==="[object WeakMap]"}H.working=typeof WeakMap<"u"&&H(new WeakMap);function _e(s){return typeof WeakMap>"u"?!1:H.working?H(s):s instanceof WeakMap}r.isWeakMap=_e;function J(s){return d(s)==="[object WeakSet]"}J.working=typeof WeakSet<"u"&&J(new WeakSet);function D(s){return J(s)}r.isWeakSet=D;function K(s){return d(s)==="[object ArrayBuffer]"}K.working=typeof ArrayBuffer<"u"&&K(new ArrayBuffer);function pe(s){return typeof ArrayBuffer>"u"?!1:K.working?K(s):s instanceof ArrayBuffer}r.isArrayBuffer=pe;function o(s){return d(s)==="[object DataView]"}o.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&o(new DataView(new ArrayBuffer(1),0,1));function a(s){return typeof DataView>"u"?!1:o.working?o(s):s instanceof DataView}r.isDataView=a;var l=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return d(s)==="[object SharedArrayBuffer]"}function A(s){return typeof l>"u"?!1:(typeof h.working>"u"&&(h.working=h(new l)),h.working?h(s):s instanceof l)}r.isSharedArrayBuffer=A;function w(s){return d(s)==="[object AsyncFunction]"}r.isAsyncFunction=w;function g(s){return d(s)==="[object Map Iterator]"}r.isMapIterator=g;function b(s){return d(s)==="[object Set Iterator]"}r.isSetIterator=b;function O(s){return d(s)==="[object Generator]"}r.isGeneratorObject=O;function N(s){return d(s)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=N;function W(s){return F(s,E)}r.isNumberObject=W;function de(s){return F(s,j)}r.isStringObject=de;function Z(s){return F(s,I)}r.isBooleanObject=Z;function he(s){return u&&F(s,B)}r.isBigIntObject=he;function lr(s){return p&&F(s,R)}r.isSymbolObject=lr;function gt(s){return W(s)||de(s)||Z(s)||he(s)||lr(s)}r.isBoxedPrimitive=gt;function vt(s){return typeof Uint8Array<"u"&&(pe(s)||A(s))}r.isAnyArrayBuffer=vt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(Hr);var Ho=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"};(function(r){var e=Object.getOwnPropertyDescriptors||function(a){for(var l=Object.keys(a),h={},A=0;A<l.length;A++)h[l[A]]=Object.getOwnPropertyDescriptor(a,l[A]);return h},t=/%[sdj%]/g;r.format=function(o){if(!P(o)){for(var a=[],l=0;l<arguments.length;l++)a.push(u(arguments[l]));return a.join(" ")}for(var l=1,h=arguments,A=h.length,w=String(o).replace(t,function(b){if(b==="%%")return"%";if(l>=A)return b;switch(b){case"%s":return String(h[l++]);case"%d":return Number(h[l++]);case"%j":try{return JSON.stringify(h[l++])}catch{return"[Circular]"}default:return b}}),g=h[l];l<A;g=h[++l])y(g)||!M(g)?w+=" "+g:w+=" "+u(g);return w},r.deprecate=function(o,a){if(typeof C.process$1<"u"&&C.process$1.noDeprecation===!0)return o;if(typeof C.process$1>"u")return function(){return r.deprecate(o,a).apply(this,arguments)};var l=!1;function h(){if(!l){if(C.process$1.throwDeprecation)throw new Error(a);C.process$1.traceDeprecation?console.trace(a):console.error(a),l=!0}return o.apply(this,arguments)}return h};var n={},i=/^$/;if(C.process$1.env.NODE_DEBUG){var c=C.process$1.env.NODE_DEBUG;c=c.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+c+"$","i")}r.debuglog=function(o){if(o=o.toUpperCase(),!n[o])if(i.test(o)){var a=C.process$1.pid;n[o]=function(){var l=r.format.apply(r,arguments);console.error("%s %d: %s",o,a,l)}}else n[o]=function(){};return n[o]};function u(o,a){var l={seen:[],stylize:d};return arguments.length>=3&&(l.depth=arguments[2]),arguments.length>=4&&(l.colors=arguments[3]),f(a)?l.showHidden=a:a&&r._extend(l,a),L(l.showHidden)&&(l.showHidden=!1),L(l.depth)&&(l.depth=2),L(l.colors)&&(l.colors=!1),L(l.customInspect)&&(l.customInspect=!0),l.colors&&(l.stylize=p),j(l,o,l.depth)}r.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function p(o,a){var l=u.styles[a];return l?"\x1B["+u.colors[l][0]+"m"+o+"\x1B["+u.colors[l][1]+"m":o}function d(o,a){return o}function E(o){var a={};return o.forEach(function(l,h){a[l]=!0}),a}function j(o,a,l){if(o.customInspect&&a&&U(a.inspect)&&a.inspect!==r.inspect&&!(a.constructor&&a.constructor.prototype===a)){var h=a.inspect(l,o);return P(h)||(h=j(o,h,l)),h}var A=I(o,a);if(A)return A;var w=Object.keys(a),g=E(w);if(o.showHidden&&(w=Object.getOwnPropertyNames(a)),x(a)&&(w.indexOf("message")>=0||w.indexOf("description")>=0))return B(a);if(w.length===0){if(U(a)){var b=a.name?": "+a.name:"";return o.stylize("[Function"+b+"]","special")}if(G(a))return o.stylize(RegExp.prototype.toString.call(a),"regexp");if(q(a))return o.stylize(Date.prototype.toString.call(a),"date");if(x(a))return B(a)}var O="",N=!1,W=["{","}"];if(V(a)&&(N=!0,W=["[","]"]),U(a)){var de=a.name?": "+a.name:"";O=" [Function"+de+"]"}if(G(a)&&(O=" "+RegExp.prototype.toString.call(a)),q(a)&&(O=" "+Date.prototype.toUTCString.call(a)),x(a)&&(O=" "+B(a)),w.length===0&&(!N||a.length==0))return W[0]+O+W[1];if(l<0)return G(a)?o.stylize(RegExp.prototype.toString.call(a),"regexp"):o.stylize("[Object]","special");o.seen.push(a);var Z;return N?Z=R(o,a,l,g,w):Z=w.map(function(he){return F(o,a,l,g,he,N)}),o.seen.pop(),_(Z,O,W)}function I(o,a){if(L(a))return o.stylize("undefined","undefined");if(P(a)){var l="'"+JSON.stringify(a).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(l,"string")}if(T(a))return o.stylize(""+a,"number");if(f(a))return o.stylize(""+a,"boolean");if(y(a))return o.stylize("null","null")}function B(o){return"["+Error.prototype.toString.call(o)+"]"}function R(o,a,l,h,A){for(var w=[],g=0,b=a.length;g<b;++g)J(a,String(g))?w.push(F(o,a,l,h,String(g),!0)):w.push("");return A.forEach(function(O){O.match(/^\d+$/)||w.push(F(o,a,l,h,O,!0))}),w}function F(o,a,l,h,A,w){var g,b,O;if(O=Object.getOwnPropertyDescriptor(a,A)||{value:a[A]},O.get?O.set?b=o.stylize("[Getter/Setter]","special"):b=o.stylize("[Getter]","special"):O.set&&(b=o.stylize("[Setter]","special")),J(h,A)||(g="["+A+"]"),b||(o.seen.indexOf(O.value)<0?(y(l)?b=j(o,O.value,null):b=j(o,O.value,l-1),b.indexOf(`
2
+ `)>-1&&(w?b=b.split(`
3
+ `).map(function(N){return" "+N}).join(`
4
+ `).slice(2):b=`
5
+ `+b.split(`
6
+ `).map(function(N){return" "+N}).join(`
7
+ `))):b=o.stylize("[Circular]","special")),L(g)){if(w&&A.match(/^\d+$/))return b;g=JSON.stringify(""+A),g.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(g=g.slice(1,-1),g=o.stylize(g,"name")):(g=g.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),g=o.stylize(g,"string"))}return g+": "+b}function _(o,a,l){var h=o.reduce(function(A,w){return w.indexOf(`
8
+ `)>=0,A+w.replace(/\u001b\[\d\d?m/g,"").length+1},0);return h>60?l[0]+(a===""?"":a+`
9
+ `)+" "+o.join(`,
10
+ `)+" "+l[1]:l[0]+a+" "+o.join(", ")+" "+l[1]}r.types=Hr;function V(o){return Array.isArray(o)}r.isArray=V;function f(o){return typeof o=="boolean"}r.isBoolean=f;function y(o){return o===null}r.isNull=y;function m(o){return o==null}r.isNullOrUndefined=m;function T(o){return typeof o=="number"}r.isNumber=T;function P(o){return typeof o=="string"}r.isString=P;function Ie(o){return typeof o=="symbol"}r.isSymbol=Ie;function L(o){return o===void 0}r.isUndefined=L;function G(o){return M(o)&&k(o)==="[object RegExp]"}r.isRegExp=G,r.types.isRegExp=G;function M(o){return typeof o=="object"&&o!==null}r.isObject=M;function q(o){return M(o)&&k(o)==="[object Date]"}r.isDate=q,r.types.isDate=q;function x(o){return M(o)&&(k(o)==="[object Error]"||o instanceof Error)}r.isError=x,r.types.isNativeError=x;function U(o){return typeof o=="function"}r.isFunction=U;function Re(o){return o===null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||typeof o=="symbol"||typeof o>"u"}r.isPrimitive=Re,r.isBuffer=Ho;function k(o){return Object.prototype.toString.call(o)}function se(o){return o<10?"0"+o.toString(10):o.toString(10)}var H=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function _e(){var o=new Date,a=[se(o.getHours()),se(o.getMinutes()),se(o.getSeconds())].join(":");return[o.getDate(),H[o.getMonth()],a].join(" ")}r.log=function(){console.log("%s - %s",_e(),r.format.apply(r,arguments))},r.inherits=Lr,r._extend=function(o,a){if(!a||!M(a))return o;for(var l=Object.keys(a),h=l.length;h--;)o[l[h]]=a[l[h]];return o};function J(o,a){return Object.prototype.hasOwnProperty.call(o,a)}var D=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(a){if(typeof a!="function")throw new TypeError('The "original" argument must be of type Function');if(D&&a[D]){var l=a[D];if(typeof l!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(l,D,{value:l,enumerable:!1,writable:!1,configurable:!0}),l}function l(){for(var h,A,w=new Promise(function(O,N){h=O,A=N}),g=[],b=0;b<arguments.length;b++)g.push(arguments[b]);g.push(function(O,N){O?A(O):h(N)});try{a.apply(this,g)}catch(O){A(O)}return w}return Object.setPrototypeOf(l,Object.getPrototypeOf(a)),D&&Object.defineProperty(l,D,{value:l,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(l,e(a))},r.promisify.custom=D;function K(o,a){if(!o){var l=new Error("Promise was rejected with a falsy value");l.reason=o,o=l}return a(o)}function pe(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');function a(){for(var l=[],h=0;h<arguments.length;h++)l.push(arguments[h]);var A=l.pop();if(typeof A!="function")throw new TypeError("The last argument must be of type Function");var w=this,g=function(){return A.apply(w,arguments)};o.apply(this,l).then(function(b){C.process$1.nextTick(g.bind(null,null,b))},function(b){C.process$1.nextTick(K.bind(null,b,g))})}return Object.setPrototypeOf(a,Object.getPrototypeOf(o)),Object.defineProperties(a,e(o)),a}r.callbackify=pe})(qr);var Jo=Ko;function Ko(r,e){if(qe("noDeprecation"))return r;var t=!1;function n(){if(!t){if(qe("throwDeprecation"))throw new Error(e);qe("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function qe(r){try{if(!ne.commonjsGlobal.localStorage)return!1}catch{return!1}var e=ne.commonjsGlobal.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}var He={},ve={exports:{}},_r;function Zo(){return _r||(_r=1,function(r,e){var t=Vr,n=t.Buffer;function i(u,p){for(var d in u)p[d]=u[d]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(i(t,e),e.Buffer=c);function c(u,p,d){return n(u,p,d)}i(n,c),c.from=function(u,p,d){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,p,d)},c.alloc=function(u,p,d){if(typeof u!="number")throw new TypeError("Argument must be a number");var E=n(u);return p!==void 0?typeof d=="string"?E.fill(p,d):E.fill(p):E.fill(0),E},c.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n(u)},c.allocUnsafeSlow=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return t.SlowBuffer(u)}}(ve,ve.exports)),ve.exports}var Cr;function Yo(){if(Cr)return He;Cr=1;var r=Zo().Buffer,e=r.isEncoding||function(f){switch(f=""+f,f&&f.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function t(f){if(!f)return"utf8";for(var y;;)switch(f){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return f;default:if(y)return;f=(""+f).toLowerCase(),y=!0}}function n(f){var y=t(f);if(typeof y!="string"&&(r.isEncoding===e||!e(f)))throw new Error("Unknown encoding: "+f);return y||f}He.StringDecoder=i;function i(f){this.encoding=n(f);var y;switch(this.encoding){case"utf16le":this.text=I,this.end=B,y=4;break;case"utf8":this.fillLast=d,y=4;break;case"base64":this.text=R,this.end=F,y=3;break;default:this.write=_,this.end=V;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(y)}i.prototype.write=function(f){if(f.length===0)return"";var y,m;if(this.lastNeed){if(y=this.fillLast(f),y===void 0)return"";m=this.lastNeed,this.lastNeed=0}else m=0;return m<f.length?y?y+this.text(f,m):this.text(f,m):y||""},i.prototype.end=j,i.prototype.text=E,i.prototype.fillLast=function(f){if(this.lastNeed<=f.length)return f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,this.lastTotal-this.lastNeed,0,f.length),this.lastNeed-=f.length};function c(f){return f<=127?0:f>>5===6?2:f>>4===14?3:f>>3===30?4:f>>6===2?-1:-2}function u(f,y,m){var T=y.length-1;if(T<m)return 0;var P=c(y[T]);return P>=0?(P>0&&(f.lastNeed=P-1),P):--T<m||P===-2?0:(P=c(y[T]),P>=0?(P>0&&(f.lastNeed=P-2),P):--T<m||P===-2?0:(P=c(y[T]),P>=0?(P>0&&(P===2?P=0:f.lastNeed=P-3),P):0))}function p(f,y,m){if((y[0]&192)!==128)return f.lastNeed=0,"�";if(f.lastNeed>1&&y.length>1){if((y[1]&192)!==128)return f.lastNeed=1,"�";if(f.lastNeed>2&&y.length>2&&(y[2]&192)!==128)return f.lastNeed=2,"�"}}function d(f){var y=this.lastTotal-this.lastNeed,m=p(this,f);if(m!==void 0)return m;if(this.lastNeed<=f.length)return f.copy(this.lastChar,y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);f.copy(this.lastChar,y,0,f.length),this.lastNeed-=f.length}function E(f,y){var m=u(this,f,y);if(!this.lastNeed)return f.toString("utf8",y);this.lastTotal=m;var T=f.length-(m-this.lastNeed);return f.copy(this.lastChar,0,T),f.toString("utf8",y,T)}function j(f){var y=f&&f.length?this.write(f):"";return this.lastNeed?y+"�":y}function I(f,y){if((f.length-y)%2===0){var m=f.toString("utf16le",y);if(m){var T=m.charCodeAt(m.length-1);if(T>=55296&&T<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1],m.slice(0,-1)}return m}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=f[f.length-1],f.toString("utf16le",y,f.length-1)}function B(f){var y=f&&f.length?this.write(f):"";if(this.lastNeed){var m=this.lastTotal-this.lastNeed;return y+this.lastChar.toString("utf16le",0,m)}return y}function R(f,y){var m=(f.length-y)%3;return m===0?f.toString("base64",y):(this.lastNeed=3-m,this.lastTotal=3,m===1?this.lastChar[0]=f[f.length-1]:(this.lastChar[0]=f[f.length-2],this.lastChar[1]=f[f.length-1]),f.toString("base64",y,f.length-m))}function F(f){var y=f&&f.length?this.write(f):"";return this.lastNeed?y+this.lastChar.toString("base64",0,3-this.lastNeed):y}function _(f){return f.toString(this.encoding)}function V(f){return f&&f.length?this.write(f):""}return He}exports.browser=Jo;exports.callBound=fe;exports.eventsExports=Et;exports.getIntrinsic=fr;exports.inherits_browserExports=Lr;exports.require$$2=Vr;exports.requireString_decoder=Yo;exports.type=ie;exports.util=qr;
@@ -15575,7 +15575,7 @@ function gu(r) {
15575
15575
  ), u = t.findIndex(
15576
15576
  (k) => k.elements?.some((N) => N.name === "w:fldChar" && N.attributes["w:fldCharType"] === "end")
15577
15577
  ), f = t.slice(a + 1, u), g = (t.find((k) => k.elements?.some((N) => N.name === "w:instrText"))?.elements?.find((k) => k.name === "w:instrText")).elements[0].text;
15578
- i || (i = g?.startsWith("PAGE"));
15578
+ i || (i = g?.includes("PAGE"));
15579
15579
  const S = g?.match(/HYPERLINK\s+"([^"]+)"/);
15580
15580
  if (i)
15581
15581
  return e = e.filter((k) => k.name !== "w:r"), e.push({
@@ -16111,7 +16111,7 @@ const dt = class dt {
16111
16111
  return;
16112
16112
  }
16113
16113
  }
16114
- static updateDocumentVersion(e = this.convertedXml, t = "0.9.21") {
16114
+ static updateDocumentVersion(e = this.convertedXml, t = "0.9.22") {
16115
16115
  const n = "docProps/custom.xml";
16116
16116
  e[n] || (e[n] = Au());
16117
16117
  const i = e["docProps/custom.xml"];
@@ -16336,7 +16336,7 @@ function Jm(r) {
16336
16336
  function Au() {
16337
16337
  return Nf;
16338
16338
  }
16339
- function Du(r = 2, e = "0.9.21") {
16339
+ function Du(r = 2, e = "0.9.22") {
16340
16340
  return {
16341
16341
  type: "element",
16342
16342
  name: "property",
@@ -1,4 +1,4 @@
1
- import { p as Tt, O as wt, B as ut, Q as Bt, U as Rt } from "./converter-Duqg7CGy.js";
1
+ import { p as Tt, O as wt, B as ut, Q as Bt, U as Rt } from "./converter-ClWoW5PX.js";
2
2
  function kt(bt) {
3
3
  throw new Error('Could not dynamically require "' + bt + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
@@ -7,9 +7,9 @@ var P = (t, e, n) => ff(t, typeof e != "symbol" ? e + "" : e, n), Ho = (t, e, n)
7
7
  var Ze = (t, e, n) => (Ho(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ut = (t, e, n) => e.has(t) ? Gs("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), jo = (t, e, n, r) => (Ho(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), I = (t, e, n) => (Ho(t, e, "access private method"), n);
8
8
  import * as T from "yjs";
9
9
  import { UndoManager as pf, Item as hf, ContentType as mf, Text as gf, XmlElement as yf } from "yjs";
10
- import { P as G, a as Z, M as lr, N as B, S as J, T as V, b as H, D as zn, F as E, c as Mn, d as bf, e as Jl, A as Mr, p as ie, B as wf, f as Yl, i as vf, g as bt, l as Ar, h as jt, j as Gl, r as Zl, R as an, o as cr, k as $t, m as bi, n as Ql, q as ue, s as Ve, v as Do, t as vn, u as kf, w as xe, x as to, y as ec, z as kn, C as Wo, E as Uo, G as qo, H as no, I as Cf, J as Zs, K as Sf, L as xf } from "./converter-Duqg7CGy.js";
10
+ import { P as G, a as Z, M as lr, N as B, S as J, T as V, b as H, D as zn, F as E, c as Mn, d as bf, e as Jl, A as Mr, p as ie, B as wf, f as Yl, i as vf, g as bt, l as Ar, h as jt, j as Gl, r as Zl, R as an, o as cr, k as $t, m as bi, n as Ql, q as ue, s as Ve, v as Do, t as vn, u as kf, w as xe, x as to, y as ec, z as kn, C as Wo, E as Uo, G as qo, H as no, I as Cf, J as Zs, K as Sf, L as xf } from "./converter-ClWoW5PX.js";
11
11
  import { ref as Qs, computed as Mf, createElementBlock as Xt, openBlock as Jt, withModifiers as Ko, Fragment as Af, renderList as Of, normalizeClass as Tf, createCommentVNode as ea, toDisplayString as Xo, createElementVNode as Df, createApp as Nf } from "vue";
12
- import { D as ta } from "./docx-zipper-DWmiIKZ-.js";
12
+ import { D as ta } from "./docx-zipper-B4k46BKl.js";
13
13
  function No(t) {
14
14
  const { from: e, to: n, empty: r } = t.selection, o = [];
15
15
  return r ? (t.storedMarks && o.push(...t.storedMarks), o.push(...t.selection.$head.marks())) : t.doc.nodesBetween(e, n, (i) => {
@@ -10018,7 +10018,7 @@ const Js = class Js extends ag {
10018
10018
  * @returns {Y.Doc | undefined} Updated Y.Doc if any, otherwise undefined
10019
10019
  */
10020
10020
  processCollaborationMigrations() {
10021
- if (console.debug("[checkVersionMigrations] Current editor version", "0.9.21"), !this.options.ydoc) return;
10021
+ if (console.debug("[checkVersionMigrations] Current editor version", "0.9.22"), !this.options.ydoc) return;
10022
10022
  let r = this.options.ydoc.getMap("meta").get("version");
10023
10023
  r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
10024
10024
  const o = Qa(r) || [], s = this.state.plugins.find((c) => c.key.startsWith("y-sync"));
@@ -1,6 +1,6 @@
1
1
  import { computed as _, createElementBlock as se, openBlock as q, createElementVNode as pn, createCommentVNode as pe, normalizeClass as Zt, normalizeStyle as Jt, ref as R, unref as W, createBlock as Ge, toDisplayString as ni, withDirectives as dt, withKeys as Nr, withModifiers as Hr, vModelText as jr, getCurrentInstance as _t, createVNode as Et, readonly as Qt, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Ks, onBeforeMount as dr, inject as te, onActivated as Vs, onDeactivated as ri, createTextVNode as At, Fragment as _e, Comment as fr, defineComponent as ee, provide as Se, h as E, Teleport as Us, toRef as ie, nextTick as Gs, renderSlot as Xs, isVNode as qs, shallowRef as Ys, watchEffect as ft, mergeProps as pt, Transition as en, vShow as Zs, cloneVNode as Js, Text as Qs, renderList as el, withCtx as Bn } from "vue";
2
- import { p as tn } from "./converter-Duqg7CGy.js";
3
- import { _ as vt, g as Pt } from "./editor-dPX69r76.js";
2
+ import { p as tn } from "./converter-ClWoW5PX.js";
3
+ import { _ as vt, g as Pt } from "./editor-DZjHTvfC.js";
4
4
  const Mp = (e, t) => {
5
5
  let n = e.replace(/[^0-9.]/g, "");
6
6
  return n = parseFloat(n), isNaN(n) && (n = t), n = parseFloat(n), n;
@@ -1,4 +1,4 @@
1
- import { G as o } from "./chunks/converter-Duqg7CGy.js";
1
+ import { G as o } from "./chunks/converter-ClWoW5PX.js";
2
2
  export {
3
3
  o as SuperConverter
4
4
  };
@@ -1,5 +1,5 @@
1
- import "./chunks/converter-Duqg7CGy.js";
2
- import { D as a } from "./chunks/docx-zipper-DWmiIKZ-.js";
1
+ import "./chunks/converter-ClWoW5PX.js";
2
+ import { D as a } from "./chunks/docx-zipper-B4k46BKl.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { E as m } from "./chunks/editor-dPX69r76.js";
2
- import "./chunks/converter-Duqg7CGy.js";
3
- import "./chunks/docx-zipper-DWmiIKZ-.js";
1
+ import { E as m } from "./chunks/editor-DZjHTvfC.js";
2
+ import "./chunks/converter-ClWoW5PX.js";
3
+ import "./chunks/docx-zipper-B4k46BKl.js";
4
4
  export {
5
5
  m as Editor
6
6
  };
@@ -1,4 +1,4 @@
1
- import { J as p } from "./chunks/docx-zipper-DWmiIKZ-.js";
1
+ import { J as p } from "./chunks/docx-zipper-B4k46BKl.js";
2
2
  async function c(o, t) {
3
3
  const e = new p();
4
4
  return o.forEach((i, n) => {
@@ -6,13 +6,13 @@ var rt = (t, s, o) => s in t ? at(t, s, { enumerable: !0, configurable: !0, writ
6
6
  var Ie = (t, s, o) => rt(t, typeof s != "symbol" ? s + "" : s, o), ze = (t, s, o) => s.has(t) || Ne("Cannot " + o);
7
7
  var we = (t, s, o) => (ze(t, s, "read from private field"), o ? o.call(t) : s.get(t)), Le = (t, s, o) => s.has(t) ? Ne("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(t) : s.set(t, o);
8
8
  var O = (t, s, o) => (ze(t, s, "access private method"), o);
9
- import { _ as K, a as Ue, b as ct, I as Me, f as dt, c as Pe, d as ut, i as mt, u as pt, r as ft, E as De, e as ht, P as vt, h as gt, j as yt, A as bt, N as kt } from "./chunks/editor-dPX69r76.js";
10
- import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-dPX69r76.js";
11
- import { Q as Ct, v as _t, V as wt, T as Ve, a as xt } from "./chunks/converter-Duqg7CGy.js";
12
- import { G as To } from "./chunks/converter-Duqg7CGy.js";
9
+ import { _ as K, a as Ue, b as ct, I as Me, f as dt, c as Pe, d as ut, i as mt, u as pt, r as ft, E as De, e as ht, P as vt, h as gt, j as yt, A as bt, N as kt } from "./chunks/editor-DZjHTvfC.js";
10
+ import { C as ko, T as Co, l as _o, n as wo, k as xo, m as Eo } from "./chunks/editor-DZjHTvfC.js";
11
+ import { Q as Ct, v as _t, V as wt, T as Ve, a as xt } from "./chunks/converter-ClWoW5PX.js";
12
+ import { G as To } from "./chunks/converter-ClWoW5PX.js";
13
13
  import { ref as g, createElementBlock as C, openBlock as k, createElementVNode as x, unref as $, getCurrentInstance as Et, computed as j, watch as St, onMounted as ke, createCommentVNode as ee, withDirectives as Tt, withKeys as At, normalizeClass as te, withModifiers as be, vModelText as Ft, createTextVNode as It, toDisplayString as ne, Fragment as U, renderList as J, normalizeStyle as Y, createVNode as P, h as W, createApp as Lt, reactive as We, onUnmounted as Mt, shallowRef as qe, onBeforeUnmount as Ge, createBlock as Dt } from "vue";
14
- import { t as G, s as $t, T as Bt, N as Z } from "./chunks/toolbar-QSaD4Bth.js";
15
- import { D as Fo } from "./chunks/docx-zipper-DWmiIKZ-.js";
14
+ import { t as G, s as $t, T as Bt, N as Z } from "./chunks/toolbar-CKWbkRLL.js";
15
+ import { D as Fo } from "./chunks/docx-zipper-B4k46BKl.js";
16
16
  import { createZip as Lo } from "./file-zipper.es.js";
17
17
  var Ke = { exports: {} };
18
18
  (function(t) {
@@ -1,6 +1,6 @@
1
1
  import "vue";
2
- import { T as p } from "./chunks/toolbar-QSaD4Bth.js";
3
- import "./chunks/editor-dPX69r76.js";
2
+ import { T as p } from "./chunks/toolbar-CKWbkRLL.js";
3
+ import "./chunks/editor-DZjHTvfC.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-CGZeYZti.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.ho;exports.CommentsPluginKey=e.me;exports.DocxZipper=e.Nt;exports.Editor=e.ji;exports.Extensions=e.go;exports.SuperConverter=e.kt;exports.SuperEditor=e.fo;exports.SuperInput=e.vo;exports.SuperToolbar=e.po;exports.Toolbar=e._p;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Wk;exports.getActiveFormatting=e.Ef;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Ik;exports.getStarterExtensions=e.Pk;exports.helpers=e.Sd;exports.trackChangesHelpers=e.qk;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-CMTCdDpB.cjs");require("./chunks/vue-Ckf0DkDN.cjs");exports.BasicUpload=e.ho;exports.CommentsPluginKey=e.me;exports.DocxZipper=e.Nt;exports.Editor=e.ji;exports.Extensions=e.go;exports.SuperConverter=e.kt;exports.SuperEditor=e.fo;exports.SuperInput=e.vo;exports.SuperToolbar=e.po;exports.Toolbar=e._p;exports.TrackChangesBasePluginKey=e.de;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Wk;exports.getActiveFormatting=e.Ef;exports.getAllowedImageDimensions=e.Gn;exports.getMarksFromSelection=e.No;exports.getRichTextExtensions=e.Ik;exports.getStarterExtensions=e.Pk;exports.helpers=e.Sd;exports.trackChangesHelpers=e.qk;
@@ -1,4 +1,4 @@
1
- import { h as t, m as r, N as o, j as n, g as i, k as p, f as g, v as l, p as c, _ as m, d as u, c as S, W as d, E as x, G as E, a as h, I as k, P as C, S as T, q as f } from "./chunks/super-editor.es-BKOFtnKb.es.js";
1
+ import { h as t, m as r, N as o, j as n, g as i, k as p, f as g, v as l, p as c, _ as m, d as u, c as S, W as d, E as x, G as E, a as h, I as k, P as C, S as T, q as f } from "./chunks/super-editor.es-Biu3hzvL.es.js";
2
2
  import "./chunks/vue-BDbTsTMu.es.js";
3
3
  export {
4
4
  t as BasicUpload,