@harbour-enterprises/superdoc 0.11.56 → 0.11.57
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/dist/chunks/{index-kWwSELc2.es.js → index-CVyuWad2.es.js} +2 -2
- package/dist/chunks/{index-BTkgQgI7.es.js → index-CWj8iOm4.es.js} +1 -1
- package/dist/chunks/{index-CbUTRvRk.cjs → index-Dnm6LcB6.cjs} +1 -1
- package/dist/chunks/{index-C6SLw2ph.cjs → index-Dw-Q9hD6.cjs} +1 -1
- package/dist/chunks/{super-editor.es-CQmuhKm9.es.js → super-editor.es-BuT2FFqD.es.js} +11 -8
- package/dist/chunks/{super-editor.es-DnOzCemu.cjs → super-editor.es-kMbvFzrR.cjs} +5 -5
- package/dist/chunks/{url-DRGmEUtI.cjs → url-BV2RvrTf.cjs} +1 -1
- package/dist/chunks/{url-C29KYeaj.es.js → url-NtSPOzqh.es.js} +1 -1
- package/dist/chunks/{xml-js-CgHhGhcJ.es.js → xml-js-BvgqUvJ5.es.js} +303 -296
- package/dist/chunks/xml-js-CCvZbbr7.cjs +10 -0
- package/dist/super-editor/ai-writer.es.js +2 -2
- package/dist/super-editor/chunks/{converter-CAbmlx7Y.js → converter-D3X034CV.js} +2 -2
- package/dist/super-editor/chunks/{docx-zipper-D2F03nnu.js → docx-zipper-CczfH-Gl.js} +1 -1
- package/dist/super-editor/chunks/{editor-Dl99D4Z6.js → editor-CMO-734F.js} +7 -6
- package/dist/super-editor/chunks/{toolbar-Y408xd1k.js → toolbar-d1TvqceK.js} +2 -2
- package/dist/super-editor/components/toolbar/super-toolbar.d.ts.map +1 -1
- package/dist/super-editor/converter.es.js +1 -1
- package/dist/super-editor/core/helpers/annotator.d.ts.map +1 -1
- package/dist/super-editor/docx-zipper.es.js +2 -2
- package/dist/super-editor/editor.es.js +3 -3
- package/dist/super-editor/file-zipper.es.js +1 -1
- package/dist/super-editor/super-editor.es.js +10 -8
- package/dist/super-editor/toolbar.es.js +2 -2
- package/dist/super-editor.cjs +1 -1
- package/dist/super-editor.es.js +1 -1
- package/dist/superdoc.cjs +3 -3
- package/dist/superdoc.es.js +6 -6
- package/dist/superdoc.umd.js +12 -9
- package/dist/superdoc.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/xml-js-CMQ3QRee.cjs +0 -10
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";const ne=require("./jszip-D9YbjC4E.cjs"),L=require("./vue-BQCc2YbW.cjs");var Qe={exports:{}};typeof Object.create=="function"?Qe.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:Qe.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 Wr=Qe.exports,ar={exports:{}},re=typeof Reflect=="object"?Reflect:null,hr=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 jt(r){console&&console.warn&&console.warn(r)}var qr=Number.isNaN||function(e){return e!==e};function P(){P.init.call(this)}ar.exports=P;ar.exports.once=Ft;P.EventEmitter=P;P.prototype._events=void 0;P.prototype._eventsCount=0;P.prototype._maxListeners=void 0;var gr=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(P,"defaultMaxListeners",{enumerable:!0,get:function(){return gr},set:function(r){if(typeof r!="number"||r<0||qr(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");gr=r}});P.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};P.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||qr(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 zr(r){return r._maxListeners===void 0?P.defaultMaxListeners:r._maxListeners}P.prototype.getMaxListeners=function(){return zr(this)};P.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e==="error",l=this._events;if(l!==void 0)i=i&&l.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 d=new Error("Unhandled error."+(u?" ("+u.message+")":""));throw d.context=u,d}var y=l[e];if(y===void 0)return!1;if(typeof y=="function")hr(y,this,t);else for(var m=y.length,w=Zr(y,m),n=0;n<m;++n)hr(w[n],this,t);return!0};function Vr(r,e,t,n){var i,l,u;if(Be(t),l=r._events,l===void 0?(l=r._events=Object.create(null),r._eventsCount=0):(l.newListener!==void 0&&(r.emit("newListener",e,t.listener?t.listener:t),l=r._events),u=l[e]),u===void 0)u=l[e]=t,++r._eventsCount;else if(typeof u=="function"?u=l[e]=n?[t,u]:[u,t]:n?u.unshift(t):u.push(t),i=zr(r),i>0&&u.length>i&&!u.warned){u.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+u.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=r,d.type=e,d.count=u.length,jt(d)}return r}P.prototype.addListener=function(e,t){return Vr(this,e,t,!1)};P.prototype.on=P.prototype.addListener;P.prototype.prependListener=function(e,t){return Vr(this,e,t,!0)};function $t(){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 Hr(r,e,t){var n={fired:!1,wrapFn:void 0,target:r,type:e,listener:t},i=$t.bind(n);return i.listener=t,n.wrapFn=i,i}P.prototype.once=function(e,t){return Be(t),this.on(e,Hr(this,e,t)),this};P.prototype.prependOnceListener=function(e,t){return Be(t),this.prependListener(e,Hr(this,e,t)),this};P.prototype.removeListener=function(e,t){var n,i,l,u,d;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(l=-1,u=n.length-1;u>=0;u--)if(n[u]===t||n[u].listener===t){d=n[u].listener,l=u;break}if(l<0)return this;l===0?n.shift():Bt(n,l),n.length===1&&(i[e]=n[0]),i.removeListener!==void 0&&this.emit("removeListener",e,d||t)}return this};P.prototype.off=P.prototype.removeListener;P.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 l=Object.keys(n),u;for(i=0;i<l.length;++i)u=l[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 Jr(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?Tt(i):Zr(i,i.length)}P.prototype.listeners=function(e){return Jr(this,e,!0)};P.prototype.rawListeners=function(e){return Jr(this,e,!1)};P.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):Kr.call(r,e)};P.prototype.listenerCount=Kr;function Kr(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}P.prototype.eventNames=function(){return this._eventsCount>0?me(this._events):[]};function Zr(r,e){for(var t=new Array(e),n=0;n<e;++n)t[n]=r[n];return t}function Bt(r,e){for(;e+1<r.length;e++)r[e]=r[e+1];r.pop()}function Tt(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}function Ft(r,e){return new Promise(function(t,n){function i(u){r.removeListener(e,l),n(u)}function l(){typeof r.removeListener=="function"&&r.removeListener("error",i),t([].slice.call(arguments))}Yr(r,e,l,{once:!0}),e!=="error"&&It(r,i,{once:!0})})}function It(r,e,t){typeof r.on=="function"&&Yr(r,"error",e,t)}function Yr(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(l){n.once&&r.removeEventListener(e,i),t(l)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r)}var Nt=ar.exports;const Qr=ne.getAugmentedNamespace(ne.dist);var Xr={},et={},rt=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 l 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 d=Object.getOwnPropertyDescriptor(e,t);if(d.value!==i||d.enumerable!==!0)return!1}return!0},Rt=rt,Te=function(){return Rt()&&!!Symbol.toStringTag},tt=Object,_t=Error,Ct=EvalError,Lt=RangeError,Ut=ReferenceError,nt=SyntaxError,ie=TypeError,Dt=URIError,Mt=Math.abs,kt=Math.floor,Gt=Math.max,xt=Math.min,Wt=Math.pow,qt=Math.round,zt=Number.isNaN||function(e){return e!==e},Vt=zt,Ht=function(e){return Vt(e)||e===0?e:e<0?-1:1},Jt=Object.getOwnPropertyDescriptor,be=Jt;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,vr;function Kt(){if(vr)return Ce;vr=1;var r=typeof Symbol<"u"&&Symbol,e=rt;return Ce=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Ce}var ot=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,Le,mr;function it(){if(mr)return Le;mr=1;var r=tt;return Le=r.getPrototypeOf||null,Le}var Ue,br;function Zt(){if(br)return Ue;br=1;var r="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,t=Math.max,n="[object Function]",i=function(y,m){for(var w=[],$=0;$<y.length;$+=1)w[$]=y[$];for(var E=0;E<m.length;E+=1)w[E+y.length]=m[E];return w},l=function(y,m){for(var w=[],$=m,E=0;$<y.length;$+=1,E+=1)w[E]=y[$];return w},u=function(d,y){for(var m="",w=0;w<d.length;w+=1)m+=d[w],w+1<d.length&&(m+=y);return m};return Ue=function(y){var m=this;if(typeof m!="function"||e.apply(m)!==n)throw new TypeError(r+m);for(var w=l(arguments,1),$,E=function(){if(this instanceof $){var a=m.apply(this,i(w,arguments));return Object(a)===a?a:this}return m.apply(y,i(w,arguments))},_=t(0,m.length-w.length),T=[],N=0;N<_;N++)T[N]="$"+N;if($=Function("binder","return function ("+u(T,",")+"){ return binder.apply(this,arguments); }")(E),m.prototype){var C=function(){};C.prototype=m.prototype,$.prototype=new C,C.prototype=null}return $},Ue}var De,Ar;function ce(){if(Ar)return De;Ar=1;var r=Zt();return De=Function.prototype.bind||r,De}var Me,wr;function fr(){return wr||(wr=1,Me=Function.prototype.call),Me}var ke,Sr;function sr(){return Sr||(Sr=1,ke=Function.prototype.apply),ke}var Yt=typeof Reflect<"u"&&Reflect&&Reflect.apply,Qt=ce(),Xt=sr(),en=fr(),rn=Yt,at=rn||Qt.call(en,Xt),tn=ce(),nn=ie,on=fr(),an=at,ur=function(e){if(e.length<1||typeof e[0]!="function")throw new nn("a function is required");return an(tn,on,e)},fn=ur,Or=ae,ft;try{ft=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Ge=!!ft&&Or&&Or(Object.prototype,"__proto__"),st=Object,Pr=st.getPrototypeOf,sn=Ge&&typeof Ge.get=="function"?fn([Ge.get]):typeof Pr=="function"?function(e){return Pr(e==null?e:st(e))}:!1,Er=ot,jr=it(),$r=sn,cr=Er?function(e){return Er(e)}:jr?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return jr(e)}:$r?function(e){return $r(e)}:null,xe,Br;function ut(){if(Br)return xe;Br=1;var r=Function.prototype.call,e=Object.prototype.hasOwnProperty,t=ce();return xe=t.call(r,e),xe}var v,un=tt,cn=_t,ln=Ct,yn=Lt,pn=Ut,oe=nt,te=ie,dn=Dt,hn=Mt,gn=kt,vn=Gt,mn=xt,bn=Wt,An=qt,wn=Ht,ct=Function,We=function(r){try{return ct('"use strict"; return ('+r+").constructor;")()}catch{}},ue=ae,Sn=Fe,qe=function(){throw new te},On=ue?function(){try{return arguments.callee,qe}catch{try{return ue(arguments,"callee").get}catch{return qe}}}():qe,Y=Kt()(),F=cr,Pn=it(),En=ot,lt=sr(),le=fr(),X={},jn=typeof Uint8Array>"u"||!F?v:F(Uint8Array),z={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":Y&&F?F([][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%":ln,"%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%":ct,"%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&&F?F(F([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Y||!F?v:F(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":un,"%Object.getOwnPropertyDescriptor%":ue,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":yn,"%ReferenceError%":pn,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Y||!F?v:F(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Y&&F?F(""[Symbol.iterator]()):v,"%Symbol%":Y?Symbol:v,"%SyntaxError%":oe,"%ThrowTypeError%":On,"%TypedArray%":jn,"%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%":dn,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":le,"%Function.prototype.apply%":lt,"%Object.defineProperty%":Sn,"%Object.getPrototypeOf%":Pn,"%Math.abs%":hn,"%Math.floor%":gn,"%Math.max%":vn,"%Math.min%":mn,"%Math.pow%":bn,"%Math.round%":An,"%Math.sign%":wn,"%Reflect.getPrototypeOf%":En};if(F)try{null.error}catch(r){var $n=F(F(r));z["%Error.prototype%"]=$n}var Bn=function r(e){var t;if(e==="%AsyncFunction%")t=We("async function () {}");else if(e==="%GeneratorFunction%")t=We("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=We("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=r("%AsyncGenerator%");i&&F&&(t=F(i.prototype))}return z[e]=t,t},Tr={__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=ce(),Pe=ut(),Tn=ye.call(le,Array.prototype.concat),Fn=ye.call(lt,Array.prototype.splice),Fr=ye.call(le,String.prototype.replace),Ee=ye.call(le,String.prototype.slice),In=ye.call(le,RegExp.prototype.exec),Nn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Rn=/\\(\\)?/g,_n=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 Fr(e,Nn,function(l,u,d,y){i[i.length]=d?Fr(y,Rn,"$1"):u||l}),i},Cn=function(e,t){var n=e,i;if(Pe(Tr,n)&&(i=Tr[n],n="%"+i[0]+"%"),Pe(z,n)){var l=z[n];if(l===X&&(l=Bn(n)),typeof l>"u"&&!t)throw new te("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:l}}throw new oe("intrinsic "+e+" does not exist!")},lr=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=_n(e),i=n.length>0?n[0]:"",l=Cn("%"+i+"%",t),u=l.name,d=l.value,y=!1,m=l.alias;m&&(i=m[0],Fn(n,Tn([0,1],m)));for(var w=1,$=!0;w<n.length;w+=1){var E=n[w],_=Ee(E,0,1),T=Ee(E,-1);if((_==='"'||_==="'"||_==="`"||T==='"'||T==="'"||T==="`")&&_!==T)throw new oe("property names with quotes must have matching quotes");if((E==="constructor"||!$)&&(y=!0),i+="."+E,u="%"+i+"%",Pe(z,u))d=z[u];else if(d!=null){if(!(E in d)){if(!t)throw new te("base intrinsic for "+e+" exists, but the property is not available.");return}if(ue&&w+1>=n.length){var N=ue(d,E);$=!!N,$&&"get"in N&&!("originalValue"in N.get)?d=N.get:d=d[E]}else $=Pe(d,E),d=d[E];$&&!y&&(z[u]=d)}}return d},yt=lr,pt=ur,Ln=pt([yt("%String.prototype.indexOf%")]),fe=function(e,t){var n=yt(e,!!t);return typeof n=="function"&&Ln(e,".prototype.")>-1?pt([n]):n},Un=Te(),Dn=fe,Xe=Dn("Object.prototype.toString"),Ie=function(e){return Un&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Xe(e)==="[object Arguments]"},dt=function(e){return Ie(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&Xe(e)!=="[object Array]"&&"callee"in e&&Xe(e.callee)==="[object Function]"},Mn=function(){return Ie(arguments)}();Ie.isLegacyArguments=dt;var kn=Mn?Ie:dt,Ir=fe,Gn=Te(),xn=ut(),Wn=ae,er;if(Gn){var qn=Ir("RegExp.prototype.exec"),Nr={},ze=function(){throw Nr},Rr={toString:ze,valueOf:ze};typeof Symbol.toPrimitive=="symbol"&&(Rr[Symbol.toPrimitive]=ze),er=function(e){if(!e||typeof e!="object")return!1;var t=Wn(e,"lastIndex"),n=t&&xn(t,"value");if(!n)return!1;try{qn(e,Rr)}catch(i){return i===Nr}}}else{var zn=Ir("Object.prototype.toString"),Vn="[object RegExp]";er=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:zn(e)===Vn}}var Hn=er,Jn=fe,Kn=Hn,Zn=Jn("RegExp.prototype.exec"),Yn=ie,Qn=function(e){if(!Kn(e))throw new Yn("`regex` must be a RegExp");return function(n){return Zn(e,n)!==null}},ht=fe,Xn=Qn,eo=Xn(/^\s*(?:function)?\*/),gt=Te(),Ve=cr,ro=ht("Object.prototype.toString"),to=ht("Function.prototype.toString"),no=function(){if(!gt)return!1;try{return Function("return function*() {}")()}catch{}},He,oo=function(e){if(typeof e!="function")return!1;if(eo(to(e)))return!0;if(!gt){var t=ro(e);return t==="[object GeneratorFunction]"}if(!Ve)return!1;if(typeof He>"u"){var n=no();He=n?Ve(n):!1}return Ve(e)===He},vt=Function.prototype.toString,ee=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,rr,we;if(typeof ee=="function"&&typeof Object.defineProperty=="function")try{rr=Object.defineProperty({},"length",{get:function(){throw we}}),we={},ee(function(){throw 42},null,rr)}catch(r){r!==we&&(ee=null)}else ee=null;var io=/^\s*class\b/,tr=function(e){try{var t=vt.call(e);return io.test(t)}catch{return!1}},Je=function(e){try{return tr(e)?!1:(vt.call(e),!0)}catch{return!1}},Se=Object.prototype.toString,ao="[object Object]",fo="[object Function]",so="[object GeneratorFunction]",uo="[object HTMLAllCollection]",co="[object HTML document.all class]",lo="[object HTMLCollection]",yo=typeof Symbol=="function"&&!!Symbol.toStringTag,po=!(0 in[,]),nr=function(){return!1};if(typeof document=="object"){var ho=document.all;Se.call(ho)===Se.call(document.all)&&(nr=function(e){if((po||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=Se.call(e);return(t===uo||t===co||t===lo||t===ao)&&e("")==null}catch{}return!1})}var go=ee?function(e){if(nr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ee(e,null,rr)}catch(t){if(t!==we)return!1}return!tr(e)&&Je(e)}:function(e){if(nr(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(yo)return Je(e);if(tr(e))return!1;var t=Se.call(e);return t!==fo&&t!==so&&!/^\[object HTML/.test(t)?!1:Je(e)},vo=go,mo=Object.prototype.toString,mt=Object.prototype.hasOwnProperty,bo=function(e,t,n){for(var i=0,l=e.length;i<l;i++)mt.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))},Ao=function(e,t,n){for(var i=0,l=e.length;i<l;i++)n==null?t(e.charAt(i),i,e):t.call(n,e.charAt(i),i,e)},wo=function(e,t,n){for(var i in e)mt.call(e,i)&&(n==null?t(e[i],i,e):t.call(n,e[i],i,e))};function So(r){return mo.call(r)==="[object Array]"}var Oo=function(e,t,n){if(!vo(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),So(e)?bo(e,t,i):typeof e=="string"?Ao(e,t,i):wo(e,t,i)},Po=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Ke=Po,Eo=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,jo=function(){for(var e=[],t=0;t<Ke.length;t++)typeof Eo[Ke[t]]=="function"&&(e[e.length]=Ke[t]);return e},bt={exports:{}},_r=Fe,$o=nt,Q=ie,Cr=ae,Bo=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,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6?arguments[6]:!1,y=!!Cr&&Cr(e,t);if(_r)_r(e,t,{configurable:u===null&&y?y.configurable:!u,enumerable:i===null&&y?y.enumerable:!i,value:n,writable:l===null&&y?y.writable:!l});else if(d||!i&&!l&&!u)e[t]=n;else throw new $o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},or=Fe,At=function(){return!!or};At.hasArrayLengthDefineBug=function(){if(!or)return null;try{return or([],"length",{value:1}).length!==1}catch{return!0}};var To=At,Fo=lr,Lr=Bo,Io=To(),Ur=ae,Dr=ie,No=Fo("%Math.floor%"),Ro=function(e,t){if(typeof e!="function")throw new Dr("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||No(t)!==t)throw new Dr("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,l=!0;if("length"in e&&Ur){var u=Ur(e,"length");u&&!u.configurable&&(i=!1),u&&!u.writable&&(l=!1)}return(i||l||!n)&&(Io?Lr(e,"length",t,!0,!0):Lr(e,"length",t)),e},_o=ce(),Co=sr(),Lo=at,Uo=function(){return Lo(_o,Co,arguments)};(function(r){var e=Ro,t=Fe,n=ur,i=Uo;r.exports=function(u){var d=n(arguments),y=u.length-(arguments.length-1);return e(d,1+(y>0?y:0),!0)},t?t(r.exports,"apply",{value:i}):r.exports.apply=i})(bt);var Do=bt.exports,je=Oo,Mo=jo,Mr=Do,yr=fe,Oe=ae,ge=cr,ko=yr("Object.prototype.toString"),wt=Te(),kr=typeof globalThis>"u"?ne.commonjsGlobal:globalThis,ir=Mo(),pr=yr("String.prototype.slice"),Go=yr("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};wt&&Oe&&ge?je(ir,function(r){var e=new kr[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]=Mr(n.get)}}):je(ir,function(r){var e=new kr[r],t=e.slice||e.set;t&&($e["$"+r]=Mr(t))});var xo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{"$"+n(e)===i&&(t=pr(i,1))}catch{}}),t},Wo=function(e){var t=!1;return je($e,function(n,i){if(!t)try{n(e),t=pr(i,1)}catch{}}),t},St=function(e){if(!e||typeof e!="object")return!1;if(!wt){var t=pr(ko(e),8,-1);return Go(ir,t)>-1?t:t!=="Object"?!1:Wo(e)}return Oe?xo(e):null},qo=St,zo=function(e){return!!qo(e)};(function(r){var e=kn,t=oo,n=St,i=zo;function l(s){return s.call.bind(s)}var u=typeof BigInt<"u",d=typeof Symbol<"u",y=l(Object.prototype.toString),m=l(Number.prototype.valueOf),w=l(String.prototype.valueOf),$=l(Boolean.prototype.valueOf);if(u)var E=l(BigInt.prototype.valueOf);if(d)var _=l(Symbol.prototype.valueOf);function T(s,Et){if(typeof s!="object")return!1;try{return Et(s),!0}catch{return!1}}r.isArgumentsObject=e,r.isGeneratorFunction=t,r.isTypedArray=i;function N(s){return typeof Promise<"u"&&s instanceof Promise||s!==null&&typeof s=="object"&&typeof s.then=="function"&&typeof s.catch=="function"}r.isPromise=N;function C(s){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(s):i(s)||f(s)}r.isArrayBufferView=C;function a(s){return n(s)==="Uint8Array"}r.isUint8Array=a;function p(s){return n(s)==="Uint8ClampedArray"}r.isUint8ClampedArray=p;function b(s){return n(s)==="Uint16Array"}r.isUint16Array=b;function I(s){return n(s)==="Uint32Array"}r.isUint32Array=I;function B(s){return n(s)==="Int8Array"}r.isInt8Array=B;function Ne(s){return n(s)==="Int16Array"}r.isInt16Array=Ne;function U(s){return n(s)==="Int32Array"}r.isInt32Array=U;function x(s){return n(s)==="Float32Array"}r.isFloat32Array=x;function k(s){return n(s)==="Float64Array"}r.isFloat64Array=k;function V(s){return n(s)==="BigInt64Array"}r.isBigInt64Array=V;function W(s){return n(s)==="BigUint64Array"}r.isBigUint64Array=W;function D(s){return y(s)==="[object Map]"}D.working=typeof Map<"u"&&D(new Map);function Re(s){return typeof Map>"u"?!1:D.working?D(s):s instanceof Map}r.isMap=Re;function G(s){return y(s)==="[object Set]"}G.working=typeof Set<"u"&&G(new Set);function se(s){return typeof Set>"u"?!1:G.working?G(s):s instanceof Set}r.isSet=se;function H(s){return y(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 y(s)==="[object WeakSet]"}J.working=typeof WeakSet<"u"&&J(new WeakSet);function M(s){return J(s)}r.isWeakSet=M;function K(s){return y(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 y(s)==="[object DataView]"}o.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&o(new DataView(new ArrayBuffer(1),0,1));function f(s){return typeof DataView>"u"?!1:o.working?o(s):s instanceof DataView}r.isDataView=f;var c=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function h(s){return y(s)==="[object SharedArrayBuffer]"}function S(s){return typeof c>"u"?!1:(typeof h.working>"u"&&(h.working=h(new c)),h.working?h(s):s instanceof c)}r.isSharedArrayBuffer=S;function O(s){return y(s)==="[object AsyncFunction]"}r.isAsyncFunction=O;function g(s){return y(s)==="[object Map Iterator]"}r.isMapIterator=g;function A(s){return y(s)==="[object Set Iterator]"}r.isSetIterator=A;function j(s){return y(s)==="[object Generator]"}r.isGeneratorObject=j;function R(s){return y(s)==="[object WebAssembly.Module]"}r.isWebAssemblyCompiledModule=R;function q(s){return T(s,m)}r.isNumberObject=q;function de(s){return T(s,w)}r.isStringObject=de;function Z(s){return T(s,$)}r.isBooleanObject=Z;function he(s){return u&&T(s,E)}r.isBigIntObject=he;function dr(s){return d&&T(s,_)}r.isSymbolObject=dr;function Ot(s){return q(s)||de(s)||Z(s)||he(s)||dr(s)}r.isBoxedPrimitive=Ot;function Pt(s){return typeof Uint8Array<"u"&&(pe(s)||S(s))}r.isAnyArrayBuffer=Pt,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(s){Object.defineProperty(r,s,{enumerable:!1,value:function(){throw new Error(s+" is not supported in userland")}})})})(et);var Vo=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(f){for(var c=Object.keys(f),h={},S=0;S<c.length;S++)h[c[S]]=Object.getOwnPropertyDescriptor(f,c[S]);return h},t=/%[sdj%]/g;r.format=function(o){if(!B(o)){for(var f=[],c=0;c<arguments.length;c++)f.push(u(arguments[c]));return f.join(" ")}for(var c=1,h=arguments,S=h.length,O=String(o).replace(t,function(A){if(A==="%%")return"%";if(c>=S)return A;switch(A){case"%s":return String(h[c++]);case"%d":return Number(h[c++]);case"%j":try{return JSON.stringify(h[c++])}catch{return"[Circular]"}default:return A}}),g=h[c];c<S;g=h[++c])p(g)||!k(g)?O+=" "+g:O+=" "+u(g);return O},r.deprecate=function(o,f){if(typeof L.process$1<"u"&&L.process$1.noDeprecation===!0)return o;if(typeof L.process$1>"u")return function(){return r.deprecate(o,f).apply(this,arguments)};var c=!1;function h(){if(!c){if(L.process$1.throwDeprecation)throw new Error(f);L.process$1.traceDeprecation?console.trace(f):console.error(f),c=!0}return o.apply(this,arguments)}return h};var n={},i=/^$/;if(L.process$1.env.NODE_DEBUG){var l=L.process$1.env.NODE_DEBUG;l=l.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),i=new RegExp("^"+l+"$","i")}r.debuglog=function(o){if(o=o.toUpperCase(),!n[o])if(i.test(o)){var f=L.process$1.pid;n[o]=function(){var c=r.format.apply(r,arguments);console.error("%s %d: %s",o,f,c)}}else n[o]=function(){};return n[o]};function u(o,f){var c={seen:[],stylize:y};return arguments.length>=3&&(c.depth=arguments[2]),arguments.length>=4&&(c.colors=arguments[3]),a(f)?c.showHidden=f:f&&r._extend(c,f),U(c.showHidden)&&(c.showHidden=!1),U(c.depth)&&(c.depth=2),U(c.colors)&&(c.colors=!1),U(c.customInspect)&&(c.customInspect=!0),c.colors&&(c.stylize=d),w(c,o,c.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 d(o,f){var c=u.styles[f];return c?"\x1B["+u.colors[c][0]+"m"+o+"\x1B["+u.colors[c][1]+"m":o}function y(o,f){return o}function m(o){var f={};return o.forEach(function(c,h){f[c]=!0}),f}function w(o,f,c){if(o.customInspect&&f&&D(f.inspect)&&f.inspect!==r.inspect&&!(f.constructor&&f.constructor.prototype===f)){var h=f.inspect(c,o);return B(h)||(h=w(o,h,c)),h}var S=$(o,f);if(S)return S;var O=Object.keys(f),g=m(O);if(o.showHidden&&(O=Object.getOwnPropertyNames(f)),W(f)&&(O.indexOf("message")>=0||O.indexOf("description")>=0))return E(f);if(O.length===0){if(D(f)){var A=f.name?": "+f.name:"";return o.stylize("[Function"+A+"]","special")}if(x(f))return o.stylize(RegExp.prototype.toString.call(f),"regexp");if(V(f))return o.stylize(Date.prototype.toString.call(f),"date");if(W(f))return E(f)}var j="",R=!1,q=["{","}"];if(C(f)&&(R=!0,q=["[","]"]),D(f)){var de=f.name?": "+f.name:"";j=" [Function"+de+"]"}if(x(f)&&(j=" "+RegExp.prototype.toString.call(f)),V(f)&&(j=" "+Date.prototype.toUTCString.call(f)),W(f)&&(j=" "+E(f)),O.length===0&&(!R||f.length==0))return q[0]+j+q[1];if(c<0)return x(f)?o.stylize(RegExp.prototype.toString.call(f),"regexp"):o.stylize("[Object]","special");o.seen.push(f);var Z;return R?Z=_(o,f,c,g,O):Z=O.map(function(he){return T(o,f,c,g,he,R)}),o.seen.pop(),N(Z,j,q)}function $(o,f){if(U(f))return o.stylize("undefined","undefined");if(B(f)){var c="'"+JSON.stringify(f).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(c,"string")}if(I(f))return o.stylize(""+f,"number");if(a(f))return o.stylize(""+f,"boolean");if(p(f))return o.stylize("null","null")}function E(o){return"["+Error.prototype.toString.call(o)+"]"}function _(o,f,c,h,S){for(var O=[],g=0,A=f.length;g<A;++g)J(f,String(g))?O.push(T(o,f,c,h,String(g),!0)):O.push("");return S.forEach(function(j){j.match(/^\d+$/)||O.push(T(o,f,c,h,j,!0))}),O}function T(o,f,c,h,S,O){var g,A,j;if(j=Object.getOwnPropertyDescriptor(f,S)||{value:f[S]},j.get?j.set?A=o.stylize("[Getter/Setter]","special"):A=o.stylize("[Getter]","special"):j.set&&(A=o.stylize("[Setter]","special")),J(h,S)||(g="["+S+"]"),A||(o.seen.indexOf(j.value)<0?(p(c)?A=w(o,j.value,null):A=w(o,j.value,c-1),A.indexOf(`
|
|
2
|
+
`)>-1&&(O?A=A.split(`
|
|
3
|
+
`).map(function(R){return" "+R}).join(`
|
|
4
|
+
`).slice(2):A=`
|
|
5
|
+
`+A.split(`
|
|
6
|
+
`).map(function(R){return" "+R}).join(`
|
|
7
|
+
`))):A=o.stylize("[Circular]","special")),U(g)){if(O&&S.match(/^\d+$/))return A;g=JSON.stringify(""+S),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+": "+A}function N(o,f,c){var h=o.reduce(function(S,O){return O.indexOf(`
|
|
8
|
+
`)>=0,S+O.replace(/\u001b\[\d\d?m/g,"").length+1},0);return h>60?c[0]+(f===""?"":f+`
|
|
9
|
+
`)+" "+o.join(`,
|
|
10
|
+
`)+" "+c[1]:c[0]+f+" "+o.join(", ")+" "+c[1]}r.types=et;function C(o){return Array.isArray(o)}r.isArray=C;function a(o){return typeof o=="boolean"}r.isBoolean=a;function p(o){return o===null}r.isNull=p;function b(o){return o==null}r.isNullOrUndefined=b;function I(o){return typeof o=="number"}r.isNumber=I;function B(o){return typeof o=="string"}r.isString=B;function Ne(o){return typeof o=="symbol"}r.isSymbol=Ne;function U(o){return o===void 0}r.isUndefined=U;function x(o){return k(o)&&G(o)==="[object RegExp]"}r.isRegExp=x,r.types.isRegExp=x;function k(o){return typeof o=="object"&&o!==null}r.isObject=k;function V(o){return k(o)&&G(o)==="[object Date]"}r.isDate=V,r.types.isDate=V;function W(o){return k(o)&&(G(o)==="[object Error]"||o instanceof Error)}r.isError=W,r.types.isNativeError=W;function D(o){return typeof o=="function"}r.isFunction=D;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=Vo;function G(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,f=[se(o.getHours()),se(o.getMinutes()),se(o.getSeconds())].join(":");return[o.getDate(),H[o.getMonth()],f].join(" ")}r.log=function(){console.log("%s - %s",_e(),r.format.apply(r,arguments))},r.inherits=Wr,r._extend=function(o,f){if(!f||!k(f))return o;for(var c=Object.keys(f),h=c.length;h--;)o[c[h]]=f[c[h]];return o};function J(o,f){return Object.prototype.hasOwnProperty.call(o,f)}var M=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;r.promisify=function(f){if(typeof f!="function")throw new TypeError('The "original" argument must be of type Function');if(M&&f[M]){var c=f[M];if(typeof c!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),c}function c(){for(var h,S,O=new Promise(function(j,R){h=j,S=R}),g=[],A=0;A<arguments.length;A++)g.push(arguments[A]);g.push(function(j,R){j?S(j):h(R)});try{f.apply(this,g)}catch(j){S(j)}return O}return Object.setPrototypeOf(c,Object.getPrototypeOf(f)),M&&Object.defineProperty(c,M,{value:c,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(c,e(f))},r.promisify.custom=M;function K(o,f){if(!o){var c=new Error("Promise was rejected with a falsy value");c.reason=o,o=c}return f(o)}function pe(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');function f(){for(var c=[],h=0;h<arguments.length;h++)c.push(arguments[h]);var S=c.pop();if(typeof S!="function")throw new TypeError("The last argument must be of type Function");var O=this,g=function(){return S.apply(O,arguments)};o.apply(this,c).then(function(A){L.process$1.nextTick(g.bind(null,null,A))},function(A){L.process$1.nextTick(K.bind(null,A,g))})}return Object.setPrototypeOf(f,Object.getPrototypeOf(o)),Object.defineProperties(f,e(o)),f}r.callbackify=pe})(Xr);var Ho=Jo;function Jo(r,e){if(Ze("noDeprecation"))return r;var t=!1;function n(){if(!t){if(Ze("throwDeprecation"))throw new Error(e);Ze("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return n}function Ze(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 Ye={},ve={exports:{}},Gr;function Ko(){return Gr||(Gr=1,function(r,e){var t=Qr,n=t.Buffer;function i(u,d){for(var y in u)d[y]=u[y]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?r.exports=t:(i(t,e),e.Buffer=l);function l(u,d,y){return n(u,d,y)}i(n,l),l.from=function(u,d,y){if(typeof u=="number")throw new TypeError("Argument must not be a number");return n(u,d,y)},l.alloc=function(u,d,y){if(typeof u!="number")throw new TypeError("Argument must be a number");var m=n(u);return d!==void 0?typeof y=="string"?m.fill(d,y):m.fill(d):m.fill(0),m},l.allocUnsafe=function(u){if(typeof u!="number")throw new TypeError("Argument must be a number");return n(u)},l.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 xr;function Zo(){if(xr)return Ye;xr=1;var r=Ko().Buffer,e=r.isEncoding||function(a){switch(a=""+a,a&&a.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(a){if(!a)return"utf8";for(var p;;)switch(a){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 a;default:if(p)return;a=(""+a).toLowerCase(),p=!0}}function n(a){var p=t(a);if(typeof p!="string"&&(r.isEncoding===e||!e(a)))throw new Error("Unknown encoding: "+a);return p||a}Ye.StringDecoder=i;function i(a){this.encoding=n(a);var p;switch(this.encoding){case"utf16le":this.text=$,this.end=E,p=4;break;case"utf8":this.fillLast=y,p=4;break;case"base64":this.text=_,this.end=T,p=3;break;default:this.write=N,this.end=C;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(p)}i.prototype.write=function(a){if(a.length===0)return"";var p,b;if(this.lastNeed){if(p=this.fillLast(a),p===void 0)return"";b=this.lastNeed,this.lastNeed=0}else b=0;return b<a.length?p?p+this.text(a,b):this.text(a,b):p||""},i.prototype.end=w,i.prototype.text=m,i.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length};function l(a){return a<=127?0:a>>5===6?2:a>>4===14?3:a>>3===30?4:a>>6===2?-1:-2}function u(a,p,b){var I=p.length-1;if(I<b)return 0;var B=l(p[I]);return B>=0?(B>0&&(a.lastNeed=B-1),B):--I<b||B===-2?0:(B=l(p[I]),B>=0?(B>0&&(a.lastNeed=B-2),B):--I<b||B===-2?0:(B=l(p[I]),B>=0?(B>0&&(B===2?B=0:a.lastNeed=B-3),B):0))}function d(a,p,b){if((p[0]&192)!==128)return a.lastNeed=0,"�";if(a.lastNeed>1&&p.length>1){if((p[1]&192)!==128)return a.lastNeed=1,"�";if(a.lastNeed>2&&p.length>2&&(p[2]&192)!==128)return a.lastNeed=2,"�"}}function y(a){var p=this.lastTotal-this.lastNeed,b=d(this,a);if(b!==void 0)return b;if(this.lastNeed<=a.length)return a.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,p,0,a.length),this.lastNeed-=a.length}function m(a,p){var b=u(this,a,p);if(!this.lastNeed)return a.toString("utf8",p);this.lastTotal=b;var I=a.length-(b-this.lastNeed);return a.copy(this.lastChar,0,I),a.toString("utf8",p,I)}function w(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+"�":p}function $(a,p){if((a.length-p)%2===0){var b=a.toString("utf16le",p);if(b){var I=b.charCodeAt(b.length-1);if(I>=55296&&I<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],b.slice(0,-1)}return b}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",p,a.length-1)}function E(a){var p=a&&a.length?this.write(a):"";if(this.lastNeed){var b=this.lastTotal-this.lastNeed;return p+this.lastChar.toString("utf16le",0,b)}return p}function _(a,p){var b=(a.length-p)%3;return b===0?a.toString("base64",p):(this.lastNeed=3-b,this.lastTotal=3,b===1?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",p,a.length-b))}function T(a){var p=a&&a.length?this.write(a):"";return this.lastNeed?p+this.lastChar.toString("base64",0,3-this.lastNeed):p}function N(a){return a.toString(this.encoding)}function C(a){return a&&a.length?this.write(a):""}return Ye}exports.browser=Ho;exports.callBound=fe;exports.eventsExports=Nt;exports.getIntrinsic=lr;exports.inherits_browserExports=Wr;exports.require$$2=Qr;exports.requireString_decoder=Zo;exports.type=ie;exports.util=Xr;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as x, onMounted as G, onUnmounted as U, computed as D, createElementBlock as O, openBlock as R, withModifiers as H, createElementVNode as S, withDirectives as Y, unref as N, vModelText as J, createCommentVNode as Q, nextTick as K } from "vue";
|
|
2
|
-
import { T as Z } from "./chunks/converter-
|
|
3
|
-
import { _ as ee } from "./chunks/editor-
|
|
2
|
+
import { T as Z } from "./chunks/converter-D3X034CV.js";
|
|
3
|
+
import { _ as ee } from "./chunks/editor-CMO-734F.js";
|
|
4
4
|
const te = "https://sd-dev-express-gateway-i6xtm.ondigitalocean.app/insights", z = "You are an expert copywriter and you are immersed in a document editor. You are to provide document related text responses based on the user prompts. Only write what is asked for. Do not provide explanations. Try to keep placeholders as short as possible. Do not output your prompt. Your instructions are: ";
|
|
5
5
|
async function V(r, o = {}) {
|
|
6
6
|
const e = o.apiKey, a = o.endpoint || te;
|
|
@@ -16839,7 +16839,7 @@ const pt = class pt {
|
|
|
16839
16839
|
return;
|
|
16840
16840
|
}
|
|
16841
16841
|
}
|
|
16842
|
-
static updateDocumentVersion(e = this.convertedXml, t = "0.11.
|
|
16842
|
+
static updateDocumentVersion(e = this.convertedXml, t = "0.11.57") {
|
|
16843
16843
|
const n = "docProps/custom.xml";
|
|
16844
16844
|
e[n] || (e[n] = ku());
|
|
16845
16845
|
const i = e["docProps/custom.xml"];
|
|
@@ -17102,7 +17102,7 @@ function Np(r) {
|
|
|
17102
17102
|
function ku() {
|
|
17103
17103
|
return Jf;
|
|
17104
17104
|
}
|
|
17105
|
-
function Nu(r = 2, e = "0.11.
|
|
17105
|
+
function Nu(r = 2, e = "0.11.57") {
|
|
17106
17106
|
return {
|
|
17107
17107
|
type: "element",
|
|
17108
17108
|
name: "property",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt, a3 as Dt } from "./converter-
|
|
1
|
+
import { x as Tt, a0 as wt, B as ut, a1 as Bt, a2 as Rt, a3 as Dt } from "./converter-D3X034CV.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 L = (t, e, n) => zf(t, typeof e != "symbol" ? e + "" : e, n), Qo = (t, e, n)
|
|
|
7
7
|
var Qe = (t, e, n) => (Qo(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ft = (t, e, n) => e.has(t) ? ua("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), ei = (t, e, n, r) => (Qo(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), E = (t, e, n) => (Qo(t, e, "access private method"), n);
|
|
8
8
|
import * as N from "yjs";
|
|
9
9
|
import { UndoManager as _f, Item as $f, ContentType as Vf, Text as Hf, XmlElement as jf } from "yjs";
|
|
10
|
-
import { P as X, a as J, M as hr, c as Y, i as Wf, S as gc, b as wt, l as Er, A as Pr, d as jt, j as yc, N as z, r as bc, e as ee, T as j, F as D, R as ln, f as W, o as mr, g as fa, D as rn, h as Vt, k as Ei, m as wc, n as Uf, p as qf, q as xn, s as So, t as Kf, u as Wn, v as Xf, w as vc, x as oe, B as Jf, y as Yf, z as de, C as Ve, E as Ir, G as Se, H as fo, I as kc, J as Sn, K as ti, L as ni, O as ri, Q as po, U as Rt, V as $o, W as Gf, X as pa, Y as ha, Z as Zf, _ as Qf, $ as ep } from "./converter-
|
|
10
|
+
import { P as X, a as J, M as hr, c as Y, i as Wf, S as gc, b as wt, l as Er, A as Pr, d as jt, j as yc, N as z, r as bc, e as ee, T as j, F as D, R as ln, f as W, o as mr, g as fa, D as rn, h as Vt, k as Ei, m as wc, n as Uf, p as qf, q as xn, s as So, t as Kf, u as Wn, v as Xf, w as vc, x as oe, B as Jf, y as Yf, z as de, C as Ve, E as Ir, G as Se, H as fo, I as kc, J as Sn, K as ti, L as ni, O as ri, Q as po, U as Rt, V as $o, W as Gf, X as pa, Y as ha, Z as Zf, _ as Qf, $ as ep } from "./converter-D3X034CV.js";
|
|
11
11
|
import { ref as ma, computed as tp, createElementBlock as Xt, openBlock as Jt, withModifiers as oi, Fragment as np, renderList as rp, normalizeClass as op, createCommentVNode as ga, toDisplayString as ii, createElementVNode as ip, createApp as sp } from "vue";
|
|
12
|
-
import { D as ya } from "./docx-zipper-
|
|
12
|
+
import { D as ya } from "./docx-zipper-CczfH-Gl.js";
|
|
13
13
|
function Vo(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) => {
|
|
@@ -9753,8 +9753,9 @@ const Jd = ({ state: t, tr: e, step: n, newTr: r, map: o, doc: i, user: s, date:
|
|
|
9753
9753
|
const { state: r } = t, { doc: o } = r, i = [];
|
|
9754
9754
|
return o.descendants((s, a) => {
|
|
9755
9755
|
s.type.name === "table" && i.push({ node: s, pos: a });
|
|
9756
|
-
}), i.reverse().forEach((s) => {
|
|
9757
|
-
|
|
9756
|
+
}), i.reverse().forEach(({ pos: s }) => {
|
|
9757
|
+
const a = e.doc.nodeAt(s);
|
|
9758
|
+
!a || a.type.name !== "table" || jb({ tableNode: { node: a, pos: s }, annotationValues: n, tr: e, editor: t });
|
|
9758
9759
|
}), e;
|
|
9759
9760
|
}, jb = ({ tableNode: t, annotationValues: e, tr: n, editor: r }) => {
|
|
9760
9761
|
let o = null, i = null;
|
|
@@ -9768,7 +9769,7 @@ const Jd = ({ state: t, tr: e, step: n, newTr: r, map: o, doc: i, user: s, date:
|
|
|
9768
9769
|
if (o) return !0;
|
|
9769
9770
|
if (w.type === s && (i = { node: w, pos: x }), w.type === l) {
|
|
9770
9771
|
const y = vi(w.attrs.fieldId, e);
|
|
9771
|
-
Array.isArray(y) && (o = i);
|
|
9772
|
+
Array.isArray(y) && w.attrs.generatorIndex === null && (o = i);
|
|
9772
9773
|
}
|
|
9773
9774
|
}), !o) return;
|
|
9774
9775
|
const { node: d, pos: u } = o, f = n.mapping.map(t.pos + u), p = f + d.nodeSize;
|
|
@@ -10364,7 +10365,7 @@ const ca = class ca extends Qy {
|
|
|
10364
10365
|
* @returns {Object | void} Migration results
|
|
10365
10366
|
*/
|
|
10366
10367
|
processCollaborationMigrations() {
|
|
10367
|
-
if (console.debug("[checkVersionMigrations] Current editor version", "0.11.
|
|
10368
|
+
if (console.debug("[checkVersionMigrations] Current editor version", "0.11.57"), !this.options.ydoc) return;
|
|
10368
10369
|
let r = this.options.ydoc.getMap("meta").get("version");
|
|
10369
10370
|
r || (r = "initial"), console.debug("[checkVersionMigrations] Document version", r);
|
|
10370
10371
|
const o = hl(r) || [], s = this.state.plugins.find((c) => c.key.startsWith("y-sync"));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as _, createElementBlock as ie, openBlock as q, createElementVNode as Ot, createCommentVNode as he, normalizeClass as en, normalizeStyle as Tt, ref as R, unref as W, createBlock as Ge, toDisplayString as Xn, withDirectives as ft, withKeys as Hr, withModifiers as jr, vModelText as Wr, getCurrentInstance as Lt, createVNode as ct, readonly as tn, watch as we, onMounted as Ke, onBeforeUnmount as Be, reactive as Us, onBeforeMount as fr, inject as te, onActivated as Gs, onDeactivated as oi, createTextVNode as ht, Fragment as _e, Comment as hr, defineComponent as ee, provide as Se, h as A, Teleport as Xs, toRef as se, nextTick as ii, renderSlot as qs, isVNode as Ys, shallowRef as Zs, watchEffect as pt, mergeProps as gt, Transition as nn, vShow as Js, cloneVNode as Qs, Text as el, renderList as tl, withCtx as xt } from "vue";
|
|
2
|
-
import { x as rn } from "./converter-
|
|
3
|
-
import { _ as mt, g as kt } from "./editor-
|
|
2
|
+
import { x as rn } from "./converter-D3X034CV.js";
|
|
3
|
+
import { _ as mt, g as kt } from "./editor-CMO-734F.js";
|
|
4
4
|
const I0 = (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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAgBA;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH;IAoBE;;;;OAIG;IACH,oBAHW,aAAa,EA8CvB;IAnED;;;OAGG;IACH,QAFU,aAAa,CAerB;IAWA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,aAAmC;IA4BnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;IAkT3C;;;;OAIG;IACH,aAHc,GAAC,EAAA,GACF,IAAI,CAIhB;IAED;;;;OAIG;IACH,qBAHW,MAAM,GACJ,IAAI,CAMhB;IAED;;;;OAIG;IACH,8BAFa,IAAI,CAKhB;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,WAAW,EAAE,CAIzB;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,WAAW,GAAC,SAAS,CAIjC;
|
|
1
|
+
{"version":3,"file":"super-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/toolbar/super-toolbar.js"],"names":[],"mappings":"AAgBA;;;;;;;;;;;;;;GAcG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AAEH;;;;GAIG;AAEH;;;;GAIG;AACH;IAoBE;;;;OAIG;IACH,oBAHW,aAAa,EA8CvB;IAnED;;;OAGG;IACH,QAFU,aAAa,CAerB;IAWA,oBAAsB;IACtB,qBAAuB;IACvB,kBAAoD;IACpD,WAAkC;IAClC,cAA+B;IAC/B,aAAmC;IA4BnC,gCAA6B;IAGrB,uQAAiC;IACzC,kBAAyC;IAkT3C;;;;OAIG;IACH,aAHc,GAAC,EAAA,GACF,IAAI,CAIhB;IAED;;;;OAIG;IACH,qBAHW,MAAM,GACJ,IAAI,CAMhB;IAED;;;;OAIG;IACH,8BAFa,IAAI,CAKhB;IAED;;;;OAIG;IACH,iCAHW,MAAM,GACJ,WAAW,EAAE,CAIzB;IAED;;;;OAIG;IACH,2BAHW,MAAM,GACJ,WAAW,GAAC,SAAS,CAIjC;IAkFD;;;;OAIG;IACH,sBAFa,IAAI,CAiEhB;IAED;;;OAGG;IACH,uBAFa,IAAI,CAOf;IAuBA,eAAmD;IACnD,eAAmD;IAGrD;;;;;;OAMG;IACH,6CAJG;QAAuB,MAAM;QACN,WAAW;KAClC,GAAU,IAAI,CAKhB;IAED;;;;;;MAME;IACF,wCALW,WAAW,GAGT,GAAC,CAgCb;;CA+BF;;;;;eAvxBa,MAAM;;;;oBACN,MAAM,EAAE;;;;WACR,MAAM;;;;iBACN,OAAO;;;;;;;;WAEP,MAAM;;;;mBACN,MAAM,EAAE;;;;;;;;;;;;eAGR,MAAM;;;;iBACN,MAAM;;;;oBACN,WAAW,EAAE;;;;;;QAMxB;QAAsB,KAAK,EAAhB,MAAM;KACjB;;;;UACA;QAAwB,KAAK,EAAlB,MAAM;KACjB;;;;UAAW,MAAM;;;;WAEjB;QAAyB,KAAK,EAAnB,MAAM;KACjB;;;;aAAW,MAAM;;;;wBACN,MAAM;;;;UAEjB;QAAmB,KAAK,EAAb,GAAC;KACZ;;;;aACA;QAAsB,KAAK,EAAhB,GAAC;KACZ;;;;gBACA;QAA8B,KAAK;KACnC;;;;cACA;QAA6B,KAAK,EAAvB,OAAO;KAClB;;;;YACA;QAA2B,KAAK,EAArB,OAAO;KAClB;;;;YACA;QAA2B,KAAK,EAArB,OAAO;KAClB;;;;mBACA;QAAgC,KAAK;KACrC;;;;WACA;QAAoB,KAAK,EAAd,GAAC;KACZ;;;;cACA;QAA6B,KAAK,EAAvB,OAAO;KAClB;;;;YACA;QAA2B,KAAK,EAArB,OAAO;KAClB;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;gBACA;QAAyB,KAAK,EAAnB,GAAC;KACZ;;;;eACA;QAAwB,KAAK,EAAlB,GAAC;KACZ;;;;eACA;QAAwB,KAAK,EAAlB,GAAC;KACZ;;;;cACA;QAA6B,KAAK,EAAvB,OAAO;KAClB;;;;oBACA;QAA6B,KAAK,EAAvB,GAAC;KACZ;;;;oBACA;QAAmC,KAAK,EAA7B,OAAO;KAClB;;;;oBACA;QAA6B,KAAK,EAAvB,GAAC;KACZ;;;;kBACA;QAA2B,KAAK,EAArB,GAAC;KACZ;;;;WACA;QAAoB,KAAK,EAAd,GAAC;KACZ;;;;eACA;QAA8B,KAAK,EAAxB,OAAO;KAClB;;;;4BACA;QAA2C,KAAK,EAArC,OAAO;KAClB;;;;wBACA;QAAuC,KAAK,EAAjC,OAAO;KAClB;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;eACA;QAAwB,KAAK,EAAlB,GAAC;KACZ;;;;wBACA;QAAuC,KAAK,EAAjC,OAAO;KAClB;;;;sBACA;QAA+B,KAAK,EAAzB,GAAC;KACZ;;;;mBACA;QAA4B,KAAK,EAAtB,GAAC;KACZ;;;;cACA;QAAuB,KAAK,EAAjB,GAAC;KACZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAWW,WAAW;;;;eACX,GAAC;;6BAnHc,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAUO,uEAiBN;AAiCM,gEAHJ;IAAuB,MAAM;IACP,gBAAgB;CACxC,
|
|
1
|
+
{"version":3,"file":"annotator.d.ts","sourceRoot":"","sources":["../../../src/core/helpers/annotator.js"],"names":[],"mappings":"AAUO,uEAiBN;AAiCM,gEAHJ;IAAuB,MAAM;IACP,gBAAgB;CACxC,OAmBA;AAyFM;;;;;QAkFN"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as m } from "./chunks/editor-
|
|
2
|
-
import "./chunks/converter-
|
|
3
|
-
import "./chunks/docx-zipper-
|
|
1
|
+
import { E as m } from "./chunks/editor-CMO-734F.js";
|
|
2
|
+
import "./chunks/converter-D3X034CV.js";
|
|
3
|
+
import "./chunks/docx-zipper-CczfH-Gl.js";
|
|
4
4
|
export {
|
|
5
5
|
m as Editor
|
|
6
6
|
};
|
|
@@ -6,14 +6,14 @@ var bt = (t, r, o) => r in t ? yt(t, r, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var Re = (t, r, o) => bt(t, typeof r != "symbol" ? r + "" : r, o), qe = (t, r, o) => r.has(t) || Ue("Cannot " + o);
|
|
7
7
|
var Ae = (t, r, o) => (qe(t, r, "read from private field"), o ? o.call(t) : r.get(t)), Oe = (t, r, o) => r.has(t) ? Ue("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, o);
|
|
8
8
|
var z = (t, r, o) => (qe(t, r, "access private method"), o);
|
|
9
|
-
import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-
|
|
10
|
-
import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-
|
|
11
|
-
import { a1 as Dt, E as $t, a4 as Ht, T as Ye, a as Bt } from "./chunks/converter-
|
|
12
|
-
import { O as qo } from "./chunks/converter-
|
|
9
|
+
import { _ as q, a as Ze, b as wt, I as Ne, f as Ct, c as Ge, d as kt, i as _t, u as xt, r as Et, E as ze, e as St, P as At, h as Tt, M as Ft, j as It, A as Lt, N as Mt } from "./chunks/editor-CMO-734F.js";
|
|
10
|
+
import { C as No, T as zo, l as Vo, n as Wo, k as Po, m as jo } from "./chunks/editor-CMO-734F.js";
|
|
11
|
+
import { a1 as Dt, E as $t, a4 as Ht, T as Ye, a as Bt } from "./chunks/converter-D3X034CV.js";
|
|
12
|
+
import { O as qo } from "./chunks/converter-D3X034CV.js";
|
|
13
13
|
import { ref as f, createElementBlock as C, openBlock as w, createElementVNode as k, unref as D, getCurrentInstance as Rt, computed as j, watch as Ot, onMounted as ke, createCommentVNode as Q, withDirectives as Je, withKeys as Qe, normalizeClass as oe, withModifiers as ge, vModelText as et, createTextVNode as tt, toDisplayString as ie, Fragment as U, renderList as ee, normalizeStyle as J, createVNode as P, h as B, createApp as Nt, reactive as Ke, onUnmounted as zt, shallowRef as nt, onBeforeUnmount as ot, createBlock as Vt } from "vue";
|
|
14
|
-
import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-
|
|
14
|
+
import { t as X, s as Wt, T as Pt, N as Y } from "./chunks/toolbar-d1TvqceK.js";
|
|
15
15
|
import jt from "./ai-writer.es.js";
|
|
16
|
-
import { D as Ko } from "./chunks/docx-zipper-
|
|
16
|
+
import { D as Ko } from "./chunks/docx-zipper-CczfH-Gl.js";
|
|
17
17
|
import { createZip as Zo } from "./file-zipper.es.js";
|
|
18
18
|
var it = { exports: {} };
|
|
19
19
|
(function(t) {
|
|
@@ -150,7 +150,7 @@ const _ = (t) => {
|
|
|
150
150
|
const o = f($t()), n = t.type, e = f(t.name), i = t.command, c = t.noArgumentCommand, a = f(t.icon), l = f(t.group || "center"), d = f(t.allowWithoutEditor), m = f(t.attributes || {}), s = t.disabled || !1, b = f(t.disabled), v = f(!1), y = f(!1), E = f(t.style), g = f(t.isNarrow), F = f(t.isWide), $ = f(t.minWidth), p = f(t.suppressActiveHighlight || !1), x = f(t.argument), T = f(null), N = f(null), V = f(t.iconColor), te = f(t.hasCaret), ye = f(t.dropdownStyles), Z = f(t.tooltip), re = f(t.tooltipVisible), be = f(t.tooltipTimeout), I = f(t.defaultLabel), M = f(t.label), H = f(t.hideLabel), R = f(t.inlineTextInputVisible), G = f(t.hasInlineTextInput), K = f(t.markName), ce = f(t.labelAttr), ue = f(t.selectedValue), _e = f(t.dropdownValueKey), xe = f(t.inputRef || null), Ee = f([]);
|
|
151
151
|
if (t.options) {
|
|
152
152
|
if (!Array.isArray(t.options)) throw new Error("Invalid toolbar item options - " + t.options);
|
|
153
|
-
Ee.value
|
|
153
|
+
Ee.value?.push(...t.options);
|
|
154
154
|
}
|
|
155
155
|
const Fe = (se) => {
|
|
156
156
|
we(se), !p.value && (v.value = !0);
|
|
@@ -1975,7 +1975,9 @@ at = function() {
|
|
|
1975
1975
|
*/
|
|
1976
1976
|
rt = function() {
|
|
1977
1977
|
if (!this.activeEditor || !this.activeEditor.converter || !this.activeEditor.converter.docHiglightColors.size) return;
|
|
1978
|
-
const o = this.toolbarItems.find((a) => a.name.value === "highlight")
|
|
1978
|
+
const o = this.toolbarItems.find((a) => a.name.value === "highlight");
|
|
1979
|
+
if (!o) return;
|
|
1980
|
+
const n = Vn(), e = 7, i = Array.from(this.activeEditor.converter.docHiglightColors).reduce((a, l, d) => {
|
|
1979
1981
|
const m = Math.floor(d / e);
|
|
1980
1982
|
return a[m] || (a[m] = []), n.includes(l) || a[m].push(h(l)), a;
|
|
1981
1983
|
}, []), c = {
|
package/dist/super-editor.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/super-editor.es-kMbvFzrR.cjs");require("./chunks/vue-BQCc2YbW.cjs");exports.AIWriter=e.xe;exports.BasicUpload=e.$o;exports.CommentsPluginKey=e.ge;exports.DocxZipper=e.Pt;exports.Editor=e.ns;exports.Extensions=e.Bo;exports.SuperConverter=e.Ot;exports.SuperEditor=e.Do;exports.SuperInput=e.Ho;exports.SuperToolbar=e.Mo;exports.Toolbar=e.P0;exports.TrackChangesBasePluginKey=e.ce;exports.createZip=e.c;exports.fieldAnnotationHelpers=e.Jx;exports.getActiveFormatting=e.ap;exports.getAllowedImageDimensions=e.mo;exports.getMarksFromSelection=e.Vo;exports.getRichTextExtensions=e.Bx;exports.getStarterExtensions=e.zx;exports.helpers=e.Rs;exports.trackChangesHelpers=e.Gx;
|
package/dist/super-editor.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as r, $ as t, g as o, P as n, n as i, B as p, O as g, D as l, H as c, M as m, a as u, c as x, b as d, J as S, d as E, m as h, V as A, e as C, z as T, R as b, G as k } from "./chunks/super-editor.es-
|
|
1
|
+
import { x as r, $ as t, g as o, P as n, n as i, B as p, O as g, D as l, H as c, M as m, a as u, c as x, b as d, J as S, d as E, m as h, V as A, e as C, z as T, R as b, G as k } from "./chunks/super-editor.es-BuT2FFqD.es.js";
|
|
2
2
|
import "./chunks/vue-DKS68Dra.es.js";
|
|
3
3
|
export {
|
|
4
4
|
r as AIWriter,
|