reactjs-tiptap-editor-pro 0.2.22 → 0.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,264 +0,0 @@
1
- "use strict";const qe=require("react"),f_=require("react-dom"),ce=require("react/jsx-runtime");function lt(t){this.content=t}lt.prototype={constructor:lt,find:function(t){for(var e=0;e<this.content.length;e+=2)if(this.content[e]===t)return e;return-1},get:function(t){var e=this.find(t);return e==-1?void 0:this.content[e+1]},update:function(t,e,n){var r=n&&n!=t?this.remove(n):this,i=r.find(t),o=r.content.slice();return i==-1?o.push(n||t,e):(o[i+1]=e,n&&(o[i]=n)),new lt(o)},remove:function(t){var e=this.find(t);if(e==-1)return this;var n=this.content.slice();return n.splice(e,2),new lt(n)},addToStart:function(t,e){return new lt([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new lt(n)},addBefore:function(t,e,n){var r=this.remove(e),i=r.content.slice(),o=r.find(t);return i.splice(o==-1?i.length:o,0,e,n),new lt(i)},forEach:function(t){for(var e=0;e<this.content.length;e+=2)t(this.content[e],this.content[e+1])},prepend:function(t){return t=lt.from(t),t.size?new lt(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=lt.from(t),t.size?new lt(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=lt.from(t);for(var n=0;n<t.content.length;n+=2)e=e.remove(t.content[n]);return e},toObject:function(){var t={};return this.forEach(function(e,n){t[e]=n}),t},get size(){return this.content.length>>1}};lt.from=function(t){if(t instanceof lt)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new lt(e)};function l0(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=l0(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function u0(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=t.child(--i),s=e.child(--o),c=a.nodeSize;if(a==s){n-=c,r-=c;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let l=0,u=Math.min(a.text.length,s.text.length);for(;l<u&&a.text[a.text.length-l-1]==s.text[s.text.length-l-1];)l++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let l=u0(a.content,s.content,n-1,r-1);if(l)return l}n-=c,r-=c}}class pe{constructor(e,n){if(this.content=e,this.size=n||0,n==null)for(let r=0;r<e.length;r++)this.size+=e[r].nodeSize}nodesBetween(e,n,r,i=0,o){for(let a=0,s=0;s<n;a++){let c=this.content[a],l=s+c.nodeSize;if(l>e&&r(c,i+s,o||null,a)!==!1&&c.content.size){let u=s+1;c.nodesBetween(Math.max(0,e-u),Math.min(c.content.size,n-u),r,i+u)}s=l}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,c)=>{let l=s.isText?s.text.slice(Math.max(e,c)-c,n-c):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&l||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=l},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);o<e.content.length;o++)i.push(e.content[o]);return new pe(i,this.size+e.size)}cut(e,n=this.size){if(e==0&&n==this.size)return this;let r=[],i=0;if(n>e)for(let o=0,a=0;a<n;o++){let s=this.content[o],c=a+s.nodeSize;c>e&&((a<e||c>n)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=c}return new pe(r,i)}cutByIndex(e,n){return e==n?pe.empty:e==0&&n==this.content.length?this:new pe(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new pe(i,o)}addToStart(e){return new pe([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new pe(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;n<this.content.length;n++)if(!this.content[n].eq(e.content[n]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let n=this.content[e];if(!n)throw new RangeError("Index "+e+" out of range for "+this);return n}maybeChild(e){return this.content[e]||null}forEach(e){for(let n=0,r=0;n<this.content.length;n++){let i=this.content[n];e(i,r,n),r+=i.nodeSize}}findDiffStart(e,n=0){return l0(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return u0(this,e,n,r)}findIndex(e,n=-1){if(e==0)return jo(0,e);if(e==this.size)return jo(this.content.length,e);if(e>this.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=e)return a==e||n>0?jo(r+1,a):jo(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return pe.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new pe(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return pe.empty;let n,r=0;for(let i=0;i<e.length;i++){let o=e[i];r+=o.nodeSize,i&&o.isText&&e[i-1].sameMarkup(o)?(n||(n=e.slice(0,i)),n[n.length-1]=o.withText(n[n.length-1].text+o.text)):n&&n.push(o)}return new pe(n||e,r)}static from(e){if(!e)return pe.empty;if(e instanceof pe)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new pe([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}pe.empty=new pe([],0);const Ac={index:0,offset:0};function jo(t,e){return Ac.index=t,Ac.offset=e,Ac}function Ka(t,e){if(t===e)return!0;if(!(t&&typeof t=="object")||!(e&&typeof e=="object"))return!1;let n=Array.isArray(t);if(Array.isArray(e)!=n)return!1;if(n){if(t.length!=e.length)return!1;for(let r=0;r<t.length;r++)if(!Ka(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!Ka(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}class ze{constructor(e,n){this.type=e,this.attrs=n}addToSet(e){let n,r=!1;for(let i=0;i<e.length;i++){let o=e[i];if(this.eq(o))return e;if(this.type.excludes(o.type))n||(n=e.slice(0,i));else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&(n||(n=e.slice(0,i)),n.push(this),r=!0),n&&n.push(o)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return e.slice(0,n).concat(e.slice(n+1));return e}isInSet(e){for(let n=0;n<e.length;n++)if(this.eq(e[n]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Ka(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Mark.fromJSON");let r=e.marks[n.type];if(!r)throw new RangeError(`There is no mark type ${n.type} in this schema`);let i=r.create(n.attrs);return r.checkAttrs(i.attrs),i}static sameSet(e,n){if(e==n)return!0;if(e.length!=n.length)return!1;for(let r=0;r<e.length;r++)if(!e[r].eq(n[r]))return!1;return!0}static setFrom(e){if(!e||Array.isArray(e)&&e.length==0)return ze.none;if(e instanceof ze)return[e];let n=e.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}}ze.none=[];class Ja extends Error{}class _e{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=d0(this.content,e+this.openStart,n);return r&&new _e(r,this.openStart,this.openEnd)}removeBetween(e,n){return new _e(f0(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return _e.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new _e(pe.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new _e(e,r,i)}}_e.empty=new _e(pe.empty,0,0);function f0(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:a,offset:s}=t.findIndex(n);if(i==e||o.isText){if(s!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(f0(o.content,e-i-1,n-i-1)))}function d0(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),a=t.maybeChild(i);if(o==e||a.isText)return t.cut(0,e).append(n).append(t.cut(e));let s=d0(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function d_(t,e,n){if(n.openStart>t.depth)throw new Ja("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Ja("Inconsistent open depths");return h0(t,e,n,0)}function h0(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r<t.depth-n.openStart){let a=h0(t,e,n,r+1);return o.copy(o.content.replaceChild(i,a))}else if(n.content.size)if(!n.openStart&&!n.openEnd&&t.depth==r&&e.depth==r){let a=t.parent,s=a.content;return Fr(a,s.cut(0,t.parentOffset).append(n.content).append(s.cut(e.parentOffset)))}else{let{start:a,end:s}=h_(n,t);return Fr(o,g0(t,a,s,e,r))}else return Fr(o,Za(t,e,r))}function p0(t,e){if(!e.type.compatibleContent(t.type))throw new Ja("Cannot join "+e.type.name+" onto "+t.type.name)}function id(t,e,n){let r=t.node(n);return p0(r,e.node(n)),r}function kr(t,e){let n=e.length-1;n>=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function ro(t,e,n,r){let i=(e||t).node(n),o=0,a=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(kr(t.nodeAfter,r),o++));for(let s=o;s<a;s++)kr(i.child(s),r);e&&e.depth==n&&e.textOffset&&kr(e.nodeBefore,r)}function Fr(t,e){return t.type.checkContent(e),t.copy(e)}function g0(t,e,n,r,i){let o=t.depth>i&&id(t,e,i+1),a=r.depth>i&&id(n,r,i+1),s=[];return ro(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(p0(o,a),kr(Fr(o,g0(t,e,n,r,i+1)),s)):(o&&kr(Fr(o,Za(t,e,i+1)),s),ro(e,n,i,s),a&&kr(Fr(a,Za(n,r,i+1)),s)),ro(r,null,i,s),new pe(s)}function Za(t,e,n){let r=[];if(ro(null,t,n,r),t.depth>n){let i=id(t,e,n+1);kr(Fr(i,Za(t,e,n+1)),r)}return ro(e,null,n,r),new pe(r)}function h_(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(pe.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}class po{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o<e;o++)i+=r.child(o).nodeSize;return i}marks(){let e=this.parent,n=this.index();if(e.content.size==0)return ze.none;if(this.textOffset)return e.child(n).marks;let r=e.maybeChild(n-1),i=e.maybeChild(n);if(!r){let s=r;r=i,i=s}let o=r.marks;for(var a=0;a<o.length;a++)o[a].type.spec.inclusive===!1&&(!i||!o[a].isInSet(i.marks))&&(o=o[a--].removeFromSet(o));return o}marksAcross(e){let n=this.parent.maybeChild(this.index());if(!n||!n.isInline)return null;let r=n.marks,i=e.parent.maybeChild(e.index());for(var o=0;o<r.length;o++)r[o].type.spec.inclusive===!1&&(!i||!r[o].isInSet(i.marks))&&(r=r[o--].removeFromSet(r));return r}sharedDepth(e){for(let n=this.depth;n>0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos<this.pos)return e.blockRange(this);for(let r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);r>=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new go(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e="";for(let n=1;n<=this.depth;n++)e+=(e?"/":"")+this.node(n).type.name+"_"+this.index(n-1);return e+":"+this.parentOffset}static resolve(e,n){if(!(n>=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=e;;){let{index:s,offset:c}=a.content.findIndex(o),l=o-c;if(r.push(a,s,i+c),!l||(a=a.child(s),a.isText))break;o=l-1,i+=c+1}return new po(n,r,o)}static resolveCached(e,n){let r=Jp.get(e);if(r)for(let o=0;o<r.elts.length;o++){let a=r.elts[o];if(a.pos==n)return a}else Jp.set(e,r=new p_);let i=r.elts[r.i]=po.resolve(e,n);return r.i=(r.i+1)%g_,i}}class p_{constructor(){this.elts=[],this.i=0}}const g_=12,Jp=new WeakMap;class go{constructor(e,n,r){this.$from=e,this.$to=n,this.depth=r}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const m_=Object.create(null);class rn{constructor(e,n,r,i=ze.none){this.type=e,this.attrs=n,this.marks=i,this.content=r||pe.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,n,r,i=0){this.content.nodesBetween(e,n,r,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,n,r,i){return this.content.textBetween(e,n,r,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,n,r){return this.type==e&&Ka(this.attrs,n||e.defaultAttrs||m_)&&ze.sameSet(this.marks,r||ze.none)}copy(e=null){return e==this.content?this:new rn(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new rn(this.type,this.attrs,this.content,e)}cut(e,n=this.content.size){return e==0&&n==this.content.size?this:this.copy(this.content.cut(e,n))}slice(e,n=this.content.size,r=!1){if(e==n)return _e.empty;let i=this.resolve(e),o=this.resolve(n),a=r?0:i.sharedDepth(n),s=i.start(a),l=i.node(a).content.cut(i.pos-s,o.pos-s);return new _e(l,i.depth-a,o.depth-a)}replace(e,n,r){return d_(this.resolve(e),this.resolve(n),r)}nodeAt(e){for(let n=this;;){let{index:r,offset:i}=n.content.findIndex(e);if(n=n.maybeChild(r),!n)return null;if(i==e||n.isText)return n;e-=i+1}}childAfter(e){let{index:n,offset:r}=this.content.findIndex(e);return{node:this.content.maybeChild(n),index:n,offset:r}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:n,offset:r}=this.content.findIndex(e);if(r<e)return{node:this.content.child(n),index:n,offset:r};let i=this.content.child(n-1);return{node:i,index:n-1,offset:r-i.nodeSize}}resolve(e){return po.resolveCached(this,e)}resolveNoCache(e){return po.resolve(this,e)}rangeHasMark(e,n,r){let i=!1;return n>e&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),m0(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=pe.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let c=i;c<o;c++)if(!this.type.allowsMarks(r.child(c).marks))return!1;return!0}canReplaceWith(e,n,r,i){if(i&&!this.type.allowsMarks(i))return!1;let o=this.contentMatchAt(e).matchType(r),a=o&&o.matchFragment(this.content,n);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),this.type.checkAttrs(this.attrs);let e=ze.none;for(let n=0;n<this.marks.length;n++){let r=this.marks[n];r.type.checkAttrs(r.attrs),e=r.addToSet(e)}if(!ze.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(n=>n.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=pe.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}}rn.prototype.text=void 0;class Ya extends rn{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):m0(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ya(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ya(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function m0(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class Ir{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new y_(e,n);if(r.next==null)return Ir.empty;let i=y0(r);r.next&&r.err("Unexpected trailing text");let o=T_(__(i));return E_(o,r),o}matchType(e){for(let n=0;n<this.next.length;n++)if(this.next[n].type==e)return this.next[n].next;return null}matchFragment(e,n=0,r=e.childCount){let i=this;for(let o=n;i&&o<r;o++)i=i.matchType(e.child(o).type);return i}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:n}=this.next[e];if(!(n.isText||n.hasRequiredAttrs()))return n}return null}compatible(e){for(let n=0;n<this.next.length;n++)for(let r=0;r<e.next.length;r++)if(this.next[n].type==e.next[r].type)return!0;return!1}fillBefore(e,n=!1,r=0){let i=[this];function o(a,s){let c=a.matchFragment(e,r);if(c&&(!n||c.validEnd))return pe.from(s.map(l=>l.createAndFill()));for(let l=0;l<a.next.length;l++){let{type:u,next:f}=a.next[l];if(!(u.isText||u.hasRequiredAttrs())&&i.indexOf(f)==-1){i.push(f);let d=o(f,s.concat(u));if(d)return d}}return null}return o(this,[])}findWrapping(e){for(let r=0;r<this.wrapCache.length;r+=2)if(this.wrapCache[r]==e)return this.wrapCache[r+1];let n=this.computeWrapping(e);return this.wrapCache.push(e,n),n}computeWrapping(e){let n=Object.create(null),r=[{match:this,type:null,via:null}];for(;r.length;){let i=r.shift(),o=i.match;if(o.matchType(e)){let a=[];for(let s=i;s.type;s=s.via)a.push(s.type);return a.reverse()}for(let a=0;a<o.next.length;a++){let{type:s,next:c}=o.next[a];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!i.type||c.validEnd)&&(r.push({match:s.contentMatch,type:s,via:i}),n[s.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i<r.next.length;i++)e.indexOf(r.next[i].next)==-1&&n(r.next[i].next)}return n(this),e.map((r,i)=>{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a<r.next.length;a++)o+=(a?", ":"")+r.next[a].type.name+"->"+e.indexOf(r.next[a].next);return o}).join(`
2
- `)}}Ir.empty=new Ir(!0);class y_{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function y0(t){let e=[];do e.push(b_(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function b_(t){let e=[];do e.push(v_(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function v_(t){let e=w_(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=x_(t,e);else break;return e}function Zp(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function x_(t,e){let n=Zp(t),r=n;return t.eat(",")&&(t.next!="}"?r=Zp(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function D_(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.isInGroup(e)&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}function w_(t){if(t.eat("(")){let e=y0(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=D_(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function __(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,c){let l={term:c,to:s};return e[a].push(l),l}function i(a,s){a.forEach(c=>c.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((c,l)=>c.concat(o(l,s)),[]);if(a.type=="seq")for(let c=0;;c++){let l=o(a.exprs[c],s);if(c==a.exprs.length-1)return l;i(l,s=n())}else if(a.type=="star"){let c=n();return r(s,c),i(o(a.expr,c),c),[r(c)]}else if(a.type=="plus"){let c=n();return i(o(a.expr,s),c),i(o(a.expr,c),c),[r(c)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let c=s;for(let l=0;l<a.min;l++){let u=n();i(o(a.expr,c),u),c=u}if(a.max==-1)i(o(a.expr,c),c);else for(let l=a.min;l<a.max;l++){let u=n();r(c,u),i(o(a.expr,c),u),c=u}return[r(c)]}else{if(a.type=="name")return[r(s,void 0,a.value)];throw new Error("Unknown expr type")}}}}function b0(t,e){return e-t}function Yp(t,e){let n=[];return r(e),n.sort(b0);function r(i){let o=t[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let a=0;a<o.length;a++){let{term:s,to:c}=o[a];!s&&n.indexOf(c)==-1&&r(c)}}}function T_(t){let e=Object.create(null);return n(Yp(t,0));function n(r){let i=[];r.forEach(a=>{t[a].forEach(({term:s,to:c})=>{if(!s)return;let l;for(let u=0;u<i.length;u++)i[u][0]==s&&(l=i[u][1]);Yp(t,c).forEach(u=>{l||i.push([s,l=[]]),l.indexOf(u)==-1&&l.push(u)})})});let o=e[r.join(",")]=new Ir(r.indexOf(t.length-1)>-1);for(let a=0;a<i.length;a++){let s=i[a][1].sort(b0);o.next.push({type:i[a][0],next:e[s.join(",")]||n(s)})}return o}}function E_(t,e){for(let n=0,r=[t];n<r.length;n++){let i=r[n],o=!i.validEnd,a=[];for(let s=0;s<i.next.length;s++){let{type:c,next:l}=i.next[s];a.push(c.name),o&&!(c.isText||c.hasRequiredAttrs())&&(o=!1),r.indexOf(l)==-1&&r.push(l)}o&&e.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function v0(t){let e=Object.create(null);for(let n in t){let r=t[n];if(!r.hasDefault)return null;e[n]=r.default}return e}function x0(t,e){let n=Object.create(null);for(let r in t){let i=e&&e[r];if(i===void 0){let o=t[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=i}return n}function D0(t,e,n,r){for(let i in e)if(!(i in t))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in t){let o=t[i];o.validate&&o.validate(e[i])}}function w0(t,e){let n=Object.create(null);if(e)for(let r in e)n[r]=new S_(t,r,e[r]);return n}let Qp=class _0{constructor(e,n,r){this.name=e,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=w0(e,r.attrs),this.defaultAttrs=v0(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||e=="text"),this.isText=e=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Ir.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:x0(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new rn(this,this.computeAttrs(e),pe.from(n),ze.setFrom(r))}createChecked(e=null,n,r){return n=pe.from(n),this.checkContent(n),new rn(this,this.computeAttrs(e),n,ze.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=pe.from(n),n.size){let a=this.contentMatch.fillBefore(n);if(!a)return null;n=a.append(n)}let i=this.contentMatch.matchFragment(n),o=i&&i.fillBefore(pe.empty,!0);return o?new rn(this,e,n.append(o),ze.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw new RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){D0(this.attrs,e,"node",this.name)}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;n<e.length;n++)if(!this.allowsMarkType(e[n].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let n;for(let r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?n&&n.push(e[r]):n||(n=e.slice(0,r));return n?n.length?n:ze.none:e}static compile(e,n){let r=Object.create(null);e.forEach((o,a)=>r[o]=new _0(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function C_(t,e,n){let r=n.split("|");return i=>{let o=i===null?"null":typeof i;if(r.indexOf(o)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${o}`)}}class S_{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?C_(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Ps{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=w0(e,i.attrs),this.excluded=null;let o=v0(this.attrs);this.instance=o?new ze(this,o):null}create(e=null){return!e&&this.instance?this.instance:new ze(this,x0(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new Ps(o,i++,n,a)),r}removeFromSet(e){for(var n=0;n<e.length;n++)e[n].type==this&&(e=e.slice(0,n).concat(e.slice(n+1)),n--);return e}isInSet(e){for(let n=0;n<e.length;n++)if(e[n].type==this)return e[n]}checkAttrs(e){D0(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class A_{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=lt.from(e.nodes),n.marks=lt.from(e.marks||{}),this.nodes=Qp.compile(this.spec.nodes,this),this.marks=Ps.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;if(o.contentMatch=r[a]||(r[a]=Ir.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!o.isInline||!o.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=o}o.markSet=s=="_"?null:s?eg(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:eg(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Qp){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new Ya(r,r.defaultAttrs,e,ze.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return rn.fromJSON(this,e)}markFromJSON(e){return ze.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function eg(t,e){let n=[];for(let r=0;r<e.length;r++){let i=e[r],o=t.marks[i],a=o;if(o)n.push(o);else for(let s in t.marks){let c=t.marks[s];(i=="_"||c.spec.group&&c.spec.group.split(" ").indexOf(i)>-1)&&n.push(a=c)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function U_(t){return t.tag!=null}function k_(t){return t.style!=null}class xi{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(U_(i))this.tags.push(i);else if(k_(i)){let o=/[^=]*/.exec(i.style)[0];r.indexOf(o)<0&&r.push(o),this.styles.push(i)}}),this.normalizeLists=!this.tags.some(i=>{if(!/^(ul|ol)\b/.test(i.tag)||!i.node)return!1;let o=e.nodes[i.node];return o.contentMatch.matchType(o)})}parse(e,n={}){let r=new ng(this,n,!1);return r.addAll(e,ze.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new ng(this,n,!0);return r.addAll(e,ze.none,n.from,n.to),_e.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;i<this.tags.length;i++){let o=this.tags[i];if(R_(e,o.tag)&&(o.namespace===void 0||e.namespaceURI==o.namespace)&&(!o.context||n.matchesContext(o.context))){if(o.getAttrs){let a=o.getAttrs(e);if(a===!1)continue;o.attrs=a||void 0}return o}}}matchStyle(e,n,r,i){for(let o=i?this.styles.indexOf(i)+1:0;o<this.styles.length;o++){let a=this.styles[o],s=a.style;if(!(s.indexOf(e)!=0||a.context&&!r.matchesContext(a.context)||s.length>e.length&&(s.charCodeAt(e.length)!=61||s.slice(e.length+1)!=n))){if(a.getAttrs){let c=a.getAttrs(n);if(c===!1)continue;a.attrs=c||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a<n.length;a++){let s=n[a];if((s.priority==null?50:s.priority)<o)break}n.splice(a,0,i)}for(let i in e.marks){let o=e.marks[i].spec.parseDOM;o&&o.forEach(a=>{r(a=rg(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=rg(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new xi(e,xi.schemaRules(e)))}}const T0={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},F_={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},E0={ol:!0,ul:!0},mo=1,od=2,xa=4;function tg(t,e,n){return e!=null?(e?mo:0)|(e==="full"?od:0):t&&t.whitespace=="pre"?mo|od:n&-5}class $o{constructor(e,n,r,i,o,a){this.type=e,this.attrs=n,this.marks=r,this.solid=i,this.options=a,this.content=[],this.activeMarks=ze.none,this.match=o||(a&xa?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(pe.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&mo)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=pe.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(pe.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!T0.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class ng{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let i=n.topNode,o,a=tg(null,n.preserveWhitespace,0)|(r?xa:0);i?o=new $o(i.type,i.attrs,ze.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new $o(null,null,ze.none,!0,null,a):o=new $o(e.schema.topNodeType,null,ze.none,!0,null,a),this.nodes=[o],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,i=this.top,o=i.options&od?"full":this.localPreserveWS||(i.options&mo)>0;if(o==="full"||i.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(o)o!=="full"?r=r.replace(/\r?\n|\r/g," "):r=r.replace(/\r\n?/g,`
3
- `);else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let a=i.content[i.content.length-1],s=e.previousSibling;(!a||s&&s.nodeName=="BR"||a.isText&&/[ \t\r\n\u000c]$/.test(a.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),n),this.findInText(e)}else this.findInside(e)}addElement(e,n,r){let i=this.localPreserveWS,o=this.top;(e.tagName=="PRE"||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a=e.nodeName.toLowerCase(),s;E0.hasOwnProperty(a)&&this.parser.normalizeLists&&O_(e);let c=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(s=this.parser.matchTag(e,this,r));e:if(c?c.ignore:F_.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,n);else if(!c||c.skip||c.closeParent){c&&c.closeParent?this.open=Math.max(0,this.open-1):c&&c.skip.nodeType&&(e=c.skip);let l,u=this.needsBlock;if(T0.hasOwnProperty(a))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),l=!0,o.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);break e}let f=c&&c.skip?n:this.readStyles(e,n);f&&this.addAll(e,f),l&&this.sync(o),this.needsBlock=u}else{let l=this.readStyles(e,n);l&&this.addElementByRule(e,c,l,c.consuming===!1?s:void 0)}this.localPreserveWS=i}leafFallback(e,n){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
4
- `),n)}ignoreFallback(e,n){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n)}readStyles(e,n){let r=e.style;if(r&&r.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],a=r.getPropertyValue(o);if(a)for(let s=void 0;;){let c=this.parser.matchStyle(o,a,this,s);if(!c)break;if(c.ignore)return null;if(c.clearMark?n=n.filter(l=>!c.clearMark(l)):n=n.concat(this.parser.schema.marks[c.mark].create(c.attrs)),c.consuming===!1)s=c;else break}}return n}addElementByRule(e,n,r,i){let o,a;if(n.node)if(a=this.parser.schema.nodes[n.node],a.isLeaf)this.insertNode(a.create(n.attrs),r)||this.leafFallback(e,r);else{let c=this.enter(a,n.attrs||null,r,n.preserveWhitespace);c&&(o=!0,r=c)}else{let c=this.parser.schema.marks[n.mark];r=r.concat(c.create(n.attrs))}let s=this.top;if(a&&a.isLeaf)this.findInside(e);else if(i)this.addElement(e,r,i);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(c=>this.insertNode(c,r));else{let c=e;typeof n.contentElement=="string"?c=e.querySelector(n.contentElement):typeof n.contentElement=="function"?c=n.contentElement(e):n.contentElement&&(c=n.contentElement),this.findAround(e,c,!0),this.addAll(c,r),this.findAround(e,c,!1)}o&&this.sync(s)&&this.open--}addAll(e,n,r,i){let o=r||0;for(let a=r?e.childNodes[r]:e.firstChild,s=i==null?null:e.childNodes[i];a!=s;a=a.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(a,n);this.findAtPoint(e,o)}findPlace(e,n){let r,i;for(let o=this.open;o>=0;o--){let a=this.nodes[o],s=a.findWrapping(e);if(s&&(!r||r.length>s.length)&&(r=s,i=a,!s.length)||a.solid)break}if(!r)return null;this.sync(i);for(let o=0;o<r.length;o++)n=this.enterInner(r[o],null,n,!1);return n}insertNode(e,n){if(e.isInline&&this.needsBlock&&!this.top.type){let i=this.textblockFromContext();i&&(n=this.enterInner(i,null,n))}let r=this.findPlace(e,n);if(r){this.closeExtra();let i=this.top;i.match&&(i.match=i.match.matchType(e.type));let o=ze.none;for(let a of r.concat(e.marks))(i.type?i.type.allowsMarkType(a.type):ig(a.type,e.type))&&(o=a.addToSet(o));return i.content.push(e.mark(o)),!0}return!1}enter(e,n,r,i){let o=this.findPlace(e.create(n),r);return o&&(o=this.enterInner(e,n,r,!0,i)),o}enterInner(e,n,r,i=!1,o){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let s=tg(e,o,a.options);a.options&xa&&a.content.length==0&&(s|=xa);let c=ze.none;return r=r.filter(l=>(a.type?a.type.allowsMarkType(l.type):ig(l.type,e))?(c=l.addToSet(c),!1):!0),this.nodes.push(new $o(e,n,c,i,null,s)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=mo)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==n&&(this.find[r].pos=this.currentPos)}findInside(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&e.nodeType==1&&e.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(e,n,r){if(e!=n&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&e.nodeType==1&&e.contains(this.find[i].node)&&n.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].pos=this.currentPos)}findInText(e){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&(this.find[n].pos=this.currentPos-(e.nodeValue.length-this.find[n].offset))}matchesContext(e){if(e.indexOf("|")>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,c)=>{for(;s>=0;s--){let l=n[s];if(l==""){if(s==n.length-1||s==0)continue;for(;c>=o;c--)if(a(s-1,c))return!0;return!1}else{let u=c>0||c==0&&i?this.nodes[c].type:r&&c>=o?r.node(c-o).type:null;if(!u||u.name!=l&&!u.isInGroup(l))return!1;c--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function O_(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&E0.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function R_(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function rg(t){let e={};for(let n in t)e[n]=t[n];return e}function ig(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],a=s=>{o.push(s);for(let c=0;c<s.edgeCount;c++){let{type:l,next:u}=s.edge(c);if(l==e||o.indexOf(u)<0&&a(u))return!0}};if(a(i.contentMatch))return!0}}class zr{constructor(e,n){this.nodes=e,this.marks=n}serializeFragment(e,n={},r){r||(r=Uc(n).createDocumentFragment());let i=r,o=[];return e.forEach(a=>{if(o.length||a.marks.length){let s=0,c=0;for(;s<o.length&&c<a.marks.length;){let l=a.marks[c];if(!this.marks[l.type.name]){c++;continue}if(!l.eq(o[s][0])||l.type.spec.spanning===!1)break;s++,c++}for(;s<o.length;)i=o.pop()[1];for(;c<a.marks.length;){let l=a.marks[c++],u=this.serializeMark(l,a.isInline,n);u&&(o.push([l,i]),i.appendChild(u.dom),i=u.contentDOM||u.dom)}}i.appendChild(this.serializeNodeInner(a,n))}),r}serializeNodeInner(e,n){let{dom:r,contentDOM:i}=Da(Uc(n),this.nodes[e.type.name](e),null,e.attrs);if(i){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");this.serializeFragment(e.content,n,i)}return r}serializeNode(e,n={}){let r=this.serializeNodeInner(e,n);for(let i=e.marks.length-1;i>=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&Da(Uc(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return Da(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new zr(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=og(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return og(e.marks)}}function og(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Uc(t){return t.document||window.document}const ag=new WeakMap;function N_(t){let e=ag.get(t);return e===void 0&&ag.set(t,e=B_(t)),e}function B_(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let i=0;i<r.length;i++)n(r[i]);else for(let i in r)n(r[i])}return n(t),e}function Da(t,e,n,r){if(typeof e=="string")return{dom:t.createTextNode(e)};if(e.nodeType!=null)return{dom:e};if(e.dom&&e.dom.nodeType!=null)return e;let i=e[0],o;if(typeof i!="string")throw new RangeError("Invalid array passed to renderSpec");if(r&&(o=N_(r))&&o.indexOf(e)>-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let a=i.indexOf(" ");a>0&&(n=i.slice(0,a),i=i.slice(a+1));let s,c=n?t.createElementNS(n,i):t.createElement(i),l=e[1],u=1;if(l&&typeof l=="object"&&l.nodeType==null&&!Array.isArray(l)){u=2;for(let f in l)if(l[f]!=null){let d=f.indexOf(" ");d>0?c.setAttributeNS(f.slice(0,d),f.slice(d+1),l[f]):c.setAttribute(f,l[f])}}for(let f=u;f<e.length;f++){let d=e[f];if(d===0){if(f<e.length-1||f>u)throw new RangeError("Content hole must be the only child of its parent node");return{dom:c,contentDOM:c}}else{let{dom:h,contentDOM:p}=Da(t,d,n,r);if(c.appendChild(h),p){if(s)throw new RangeError("Multiple content holes");s=p}}}return{dom:c,contentDOM:s}}const C0=65535,S0=Math.pow(2,16);function I_(t,e){return t+e*S0}function sg(t){return t&C0}function M_(t){return(t-(t&C0))/S0}const A0=1,U0=2,wa=4,k0=8;class ad{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&k0)>0}get deletedBefore(){return(this.delInfo&(A0|wa))>0}get deletedAfter(){return(this.delInfo&(U0|wa))>0}get deletedAcross(){return(this.delInfo&wa)>0}}class Nt{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Nt.empty)return Nt.empty}recover(e){let n=0,r=sg(e);if(!this.inverted)for(let i=0;i<r;i++)n+=this.ranges[i*3+2]-this.ranges[i*3+1];return this.ranges[r*3]+n+M_(e)}mapResult(e,n=1){return this._map(e,n,!1)}map(e,n=1){return this._map(e,n,!0)}_map(e,n,r){let i=0,o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let c=this.ranges[s]-(this.inverted?i:0);if(c>e)break;let l=this.ranges[s+o],u=this.ranges[s+a],f=c+l;if(e<=f){let d=l?e==c?-1:e==f?1:n:n,h=c+i+(d<0?0:u);if(r)return h;let p=e==(n<0?c:f)?null:I_(s/3,e-c),m=e==c?U0:e==f?A0:wa;return(n<0?e!=c:e!=f)&&(m|=k0),new ad(h,m,p)}i+=u-l}return r?e+i:new ad(e+i,0,null)}touches(e,n){let r=0,i=sg(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let c=this.ranges[s]-(this.inverted?r:0);if(c>e)break;let l=this.ranges[s+o],u=c+l;if(e<=u&&s==i*3)return!0;r+=this.ranges[s+a]-l}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i<this.ranges.length;i+=3){let a=this.ranges[i],s=a-(this.inverted?o:0),c=a+(this.inverted?0:o),l=this.ranges[i+n],u=this.ranges[i+r];e(s,s+l,c,c+u),o+=u-l}}invert(){return new Nt(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Nt.empty:new Nt(e<0?[0,-e,0]:[0,0,e])}}Nt.empty=new Nt([]);class di{constructor(e=[],n,r=0,i=e.length){this.maps=e,this.mirror=n,this.from=r,this.to=i}slice(e=0,n=this.maps.length){return new di(this.maps,this.mirror,e,n)}copy(){return new di(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)}appendMap(e,n){this.to=this.maps.push(e),n!=null&&this.setMirror(this.maps.length-1,n)}appendMapping(e){for(let n=0,r=this.maps.length;n<e.maps.length;n++){let i=e.getMirror(n);this.appendMap(e.maps[n],i!=null&&i<n?r+i:void 0)}}getMirror(e){if(this.mirror){for(let n=0;n<this.mirror.length;n++)if(this.mirror[n]==e)return this.mirror[n+(n%2?-1:1)]}}setMirror(e,n){this.mirror||(this.mirror=[]),this.mirror.push(e,n)}appendMappingInverted(e){for(let n=e.maps.length-1,r=this.maps.length+e.maps.length;n>=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new di;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;r<this.to;r++)e=this.maps[r].map(e,n);return e}mapResult(e,n=1){return this._map(e,n,!1)}_map(e,n,r){let i=0;for(let o=this.from;o<this.to;o++){let a=this.maps[o],s=a.mapResult(e,n);if(s.recover!=null){let c=this.getMirror(o);if(c!=null&&c>o&&c<this.to){o=c,e=this.maps[c].recover(s.recover);continue}}i|=s.delInfo,e=s.pos}return r?e:new ad(e,i,null)}}const kc=Object.create(null);class yt{getMap(){return Nt.empty}merge(e){return null}static fromJSON(e,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=kc[n.stepType];if(!r)throw new RangeError(`No step type ${n.stepType} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in kc)throw new RangeError("Duplicate use of step JSON ID "+e);return kc[e]=n,n.prototype.jsonID=e,n}}class tt{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new tt(e,null)}static fail(e){return new tt(null,e)}static fromReplace(e,n,r,i){try{return tt.ok(e.replace(n,r,i))}catch(o){if(o instanceof Ja)return tt.fail(o.message);throw o}}}function eh(t,e,n){let r=[];for(let i=0;i<t.childCount;i++){let o=t.child(i);o.content.size&&(o=o.copy(eh(o.content,e,o))),o.isInline&&(o=e(o,n,i)),r.push(o)}return pe.fromArray(r)}class nr extends yt{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=e.resolve(this.from),i=r.node(r.sharedDepth(this.to)),o=new _e(eh(n.content,(a,s)=>!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return tt.fromReplace(e,this.from,this.to,o)}invert(){return new hn(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new nr(n.pos,r.pos,this.mark)}merge(e){return e instanceof nr&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new nr(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new nr(n.from,n.to,e.markFromJSON(n.mark))}}yt.jsonID("addMark",nr);class hn extends yt{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new _e(eh(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return tt.fromReplace(e,this.from,this.to,r)}invert(){return new nr(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new hn(n.pos,r.pos,this.mark)}merge(e){return e instanceof hn&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new hn(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new hn(n.from,n.to,e.markFromJSON(n.mark))}}yt.jsonID("removeMark",hn);class rr extends yt{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return tt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return tt.fromReplace(e,this.pos,this.pos+1,new _e(pe.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;i<n.marks.length;i++)if(!n.marks[i].isInSet(r))return new rr(this.pos,n.marks[i]);return new rr(this.pos,this.mark)}}return new Di(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new rr(n.pos,this.mark)}toJSON(){return{stepType:"addNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");return new rr(n.pos,e.markFromJSON(n.mark))}}yt.jsonID("addNodeMark",rr);class Di extends yt{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return tt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return tt.fromReplace(e,this.pos,this.pos+1,new _e(pe.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new rr(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Di(n.pos,this.mark)}toJSON(){return{stepType:"removeNodeMark",pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");return new Di(n.pos,e.markFromJSON(n.mark))}}yt.jsonID("removeNodeMark",Di);class ot extends yt{constructor(e,n,r,i=!1){super(),this.from=e,this.to=n,this.slice=r,this.structure=i}apply(e){return this.structure&&sd(e,this.from,this.to)?tt.fail("Structure replace would overwrite content"):tt.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Nt([this.from,this.to-this.from,this.slice.size])}invert(e){return new ot(this.from,this.from+this.slice.size,e.slice(this.from,this.to))}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deletedAcross&&r.deletedAcross?null:new ot(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(e){if(!(e instanceof ot)||e.structure||this.structure)return null;if(this.from+this.slice.size==e.from&&!this.slice.openEnd&&!e.slice.openStart){let n=this.slice.size+e.slice.size==0?_e.empty:new _e(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new ot(this.from,this.to+(e.to-e.from),n,this.structure)}else if(e.to==this.from&&!this.slice.openStart&&!e.slice.openEnd){let n=this.slice.size+e.slice.size==0?_e.empty:new _e(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new ot(e.from,this.to,n,this.structure)}else return null}toJSON(){let e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new ot(n.from,n.to,_e.fromJSON(e,n.slice),!!n.structure)}}yt.jsonID("replace",ot);class at extends yt{constructor(e,n,r,i,o,a,s=!1){super(),this.from=e,this.to=n,this.gapFrom=r,this.gapTo=i,this.slice=o,this.insert=a,this.structure=s}apply(e){if(this.structure&&(sd(e,this.from,this.gapFrom)||sd(e,this.gapTo,this.to)))return tt.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return tt.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?tt.fromReplace(e,this.from,this.to,r):tt.fail("Content does not fit in gap")}getMap(){return new Nt([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(e){let n=this.gapTo-this.gapFrom;return new at(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),i=this.from==this.gapFrom?n.pos:e.map(this.gapFrom,-1),o=this.to==this.gapTo?r.pos:e.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||o>r.pos?null:new at(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new at(n.from,n.to,n.gapFrom,n.gapTo,_e.fromJSON(e,n.slice),n.insert,!!n.structure)}}yt.jsonID("replaceAround",at);function sd(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function W_(t,e,n,r){let i=[],o=[],a,s;t.doc.nodesBetween(e,n,(c,l,u)=>{if(!c.isInline)return;let f=c.marks;if(!r.isInSet(f)&&u.type.allowsMarkType(r.type)){let d=Math.max(l,e),h=Math.min(l+c.nodeSize,n),p=r.addToSet(f);for(let m=0;m<f.length;m++)f[m].isInSet(p)||(a&&a.to==d&&a.mark.eq(f[m])?a.to=h:i.push(a=new hn(d,h,f[m])));s&&s.to==d?s.to=h:o.push(s=new nr(d,h,r))}}),i.forEach(c=>t.step(c)),o.forEach(c=>t.step(c))}function L_(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(a,s)=>{if(!a.isInline)return;o++;let c=null;if(r instanceof Ps){let l=a.marks,u;for(;u=r.isInSet(l);)(c||(c=[])).push(u),l=u.removeFromSet(l)}else r?r.isInSet(a.marks)&&(c=[r]):c=a.marks;if(c&&c.length){let l=Math.min(s+a.nodeSize,n);for(let u=0;u<c.length;u++){let f=c[u],d;for(let h=0;h<i.length;h++){let p=i[h];p.step==o-1&&f.eq(i[h].style)&&(d=p)}d?(d.to=l,d.step=o):i.push({style:f,from:Math.max(s,e),to:l,step:o})}}}),i.forEach(a=>t.step(new hn(a.from,a.to,a.style)))}function th(t,e,n,r=n.contentMatch,i=!0){let o=t.doc.nodeAt(e),a=[],s=e+1;for(let c=0;c<o.childCount;c++){let l=o.child(c),u=s+l.nodeSize,f=r.matchType(l.type);if(!f)a.push(new ot(s,u,_e.empty));else{r=f;for(let d=0;d<l.marks.length;d++)n.allowsMarkType(l.marks[d].type)||t.step(new hn(s,u,l.marks[d]));if(i&&l.isText&&n.whitespace!="pre"){let d,h=/\r?\n|\r/g,p;for(;d=h.exec(l.text);)p||(p=new _e(pe.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),a.push(new ot(s+d.index,s+d.index+d[0].length,p))}}s=u}if(!r.validEnd){let c=r.fillBefore(pe.empty,!0);t.replace(s,s,new _e(c,0,0))}for(let c=a.length-1;c>=0;c--)t.step(a[c])}function P_(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function Ai(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),o=t.$from.index(r),a=t.$to.indexAfter(r);if(r<t.depth&&i.canReplace(o,a,n))return r;if(r==0||i.type.spec.isolating||!P_(i,o,a))break}return null}function q_(t,e,n){let{$from:r,$to:i,depth:o}=e,a=r.before(o+1),s=i.after(o+1),c=a,l=s,u=pe.empty,f=0;for(let p=o,m=!1;p>n;p--)m||r.index(p)>0?(m=!0,u=pe.from(r.node(p).copy(u)),f++):c--;let d=pe.empty,h=0;for(let p=o,m=!1;p>n;p--)m||i.after(p+1)<i.end(p)?(m=!0,d=pe.from(i.node(p).copy(d)),h++):l++;t.step(new at(c,l,a,s,new _e(u.append(d),f,h),u.size-f,!0))}function nh(t,e,n=null,r=t){let i=z_(t,e),o=i&&j_(r,e);return o?i.map(cg).concat({type:e,attrs:n}).concat(o.map(cg)):null}function cg(t){return{type:t,attrs:null}}function z_(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.contentMatchAt(r).findWrapping(e);if(!o)return null;let a=o.length?o[0]:e;return n.canReplaceWith(r,i,a)?o:null}function j_(t,e){let{parent:n,startIndex:r,endIndex:i}=t,o=n.child(r),a=e.contentMatch.findWrapping(o.type);if(!a)return null;let c=(a.length?a[a.length-1]:e).contentMatch;for(let l=r;c&&l<i;l++)c=c.matchType(n.child(l).type);return!c||!c.validEnd?null:a}function $_(t,e,n){let r=pe.empty;for(let a=n.length-1;a>=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=pe.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new at(i,o,i,o,new _e(r,0,0),n.length,!0))}function V_(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(a,s)=>{let c=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,c)&&H_(t.doc,t.mapping.slice(o).map(s),r)){let l=null;if(r.schema.linebreakReplacement){let h=r.whitespace=="pre",p=!!r.contentMatch.matchType(r.schema.linebreakReplacement);h&&!p?l=!1:!h&&p&&(l=!0)}l===!1&&O0(t,a,s,o),th(t,t.mapping.slice(o).map(s,1),r,void 0,l===null);let u=t.mapping.slice(o),f=u.map(s,1),d=u.map(s+a.nodeSize,1);return t.step(new at(f,d,f+1,d-1,new _e(pe.from(r.create(c,null,a.marks)),0,0),1,!0)),l===!0&&F0(t,a,s,o),!1}})}function F0(t,e,n,r){e.forEach((i,o)=>{if(i.isText){let a,s=/\r?\n|\r/g;for(;a=s.exec(i.text);){let c=t.mapping.slice(r).map(n+1+o+a.index);t.replaceWith(c,c+1,e.type.schema.linebreakReplacement.create())}}})}function O0(t,e,n,r){e.forEach((i,o)=>{if(i.type==i.type.schema.linebreakReplacement){let a=t.mapping.slice(r).map(n+1+o);t.replaceWith(a,a+1,e.type.schema.text(`
5
- `))}})}function H_(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function X_(t,e,n,r,i){let o=t.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new at(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new _e(pe.from(a),0,0),1,!0))}function hi(t,e,n=1,r){let i=t.resolve(e),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let l=i.depth-1,u=n-2;l>o;l--,u--){let f=i.node(l),d=i.index(l);if(f.type.spec.isolating)return!1;let h=f.content.cutByIndex(d,f.childCount),p=r&&r[u+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let m=r&&r[u]||f;if(!f.canReplace(d+1,f.childCount)||!m.type.validContent(h))return!1}let s=i.indexAfter(o),c=r&&r[0];return i.node(o).canReplaceWith(s,s,c?c.type:i.node(o+1).type)}function G_(t,e,n=1,r){let i=t.doc.resolve(e),o=pe.empty,a=pe.empty;for(let s=i.depth,c=i.depth-n,l=n-1;s>c;s--,l--){o=pe.from(i.node(s).copy(o));let u=r&&r[l];a=pe.from(u?u.type.create(u.attrs,a):i.node(s).copy(a))}t.step(new ot(e,e,new _e(o.append(a),n,n),!0))}function Ui(t,e){let n=t.resolve(e),r=n.index();return R0(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function K_(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let i=0;i<e.childCount;i++){let o=e.child(i),a=o.type==r?t.type.schema.nodes.text:o.type;if(n=n.matchType(a),!n||!t.type.allowsMarks(o.marks))return!1}return n.validEnd}function R0(t,e){return!!(t&&e&&!t.isLeaf&&K_(t,e))}function rh(t,e,n=-1){let r=t.resolve(e);for(let i=r.depth;;i--){let o,a,s=r.index(i);if(i==r.depth?(o=r.nodeBefore,a=r.nodeAfter):n>0?(o=r.node(i+1),s++,a=r.node(i).maybeChild(s)):(o=r.node(i).maybeChild(s-1),a=r.node(i+1)),o&&!o.isTextblock&&R0(o,a)&&r.node(i).canReplace(s,s+1))return e;if(i==0)break;e=n<0?r.before(i):r.after(i)}}function J_(t,e,n){let r=null,{linebreakReplacement:i}=t.doc.type.schema,o=t.doc.resolve(e-n),a=o.node().type;if(i&&a.inlineContent){let u=a.whitespace=="pre",f=!!a.contentMatch.matchType(i);u&&!f?r=!1:!u&&f&&(r=!0)}let s=t.steps.length;if(r===!1){let u=t.doc.resolve(e+n);O0(t,u.node(),u.before(),s)}a.inlineContent&&th(t,e+n-1,a,o.node().contentMatchAt(o.index()),r==null);let c=t.mapping.slice(s),l=c.map(e-n);if(t.step(new ot(l,c.map(e+n,-1),_e.empty,!0)),r===!0){let u=t.doc.resolve(l);F0(t,u.node(),u.before(),t.steps.length)}return t}function Z_(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o<r.node(i).childCount)return null}return null}function N0(t,e,n){let r=t.resolve(e);if(!n.content.size)return e;let i=n.content;for(let o=0;o<n.openStart;o++)i=i.firstChild.content;for(let o=1;o<=(n.openStart==0&&n.size?2:1);o++)for(let a=r.depth;a>=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,c=r.index(a)+(s>0?1:0),l=r.node(a),u=!1;if(o==1)u=l.canReplace(c,c,i);else{let f=l.contentMatchAt(c).findWrapping(i.firstChild.type);u=f&&l.canReplaceWith(c,c,f[0])}if(u)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function qs(t,e,n=e,r=_e.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return B0(i,o,r)?new ot(e,n,r):new Y_(i,o,r).fit()}function B0(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class Y_{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=pe.empty;for(let i=0;i<=e.depth;i++){let o=e.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=pe.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let l=this.findFittable();l?this.placeNodes(l):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let c=new _e(o,a,s);return e>-1?new at(r.pos,e,this.$to.pos,this.$to.end(),c,n):c.size||r.pos!=this.$to.pos?new ot(r.pos,i.pos,c):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r<e;r++){let o=n.firstChild;if(n.childCount>1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=Fc(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:c,match:l}=this.frontier[s],u,f=null;if(n==1&&(a?l.matchType(a.type)||(f=l.fillBefore(pe.from(a),!1)):o&&c.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:f};if(n==2&&a&&(u=l.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:u};if(o&&l.matchType(o.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=Fc(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new _e(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=Fc(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new _e(Qi(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new _e(Qi(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let m=0;m<o.length;m++)this.openFrontierNode(o[m]);let a=this.unplaced,s=r?r.content:a.content,c=a.openStart-e,l=0,u=[],{match:f,type:d}=this.frontier[n];if(i){for(let m=0;m<i.childCount;m++)u.push(i.child(m));f=f.matchFragment(i)}let h=s.size+e-(a.content.size-a.openEnd);for(;l<s.childCount;){let m=s.child(l),g=f.matchType(m.type);if(!g)break;l++,(l>1||c==0||m.content.size)&&(f=g,u.push(I0(m.mark(d.allowedMarks(m.marks)),l==1?c:0,l==s.childCount?h:-1)))}let p=l==s.childCount;p||(h=-1),this.placed=eo(this.placed,n,pe.from(u)),this.frontier[n].match=f,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let m=0,g=s;m<h;m++){let y=g.lastChild;this.frontier.push({type:y.type,match:y.contentMatchAt(y.childCount)}),g=y.content}this.unplaced=p?e==0?_e.empty:new _e(Qi(a.content,e-1,1),e-1,h<0?a.openEnd:e-1):new _e(Qi(a.content,e,l),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],n;if(!e.type.isTextblock||!Oc(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(n=this.findCloseLevel(this.$to))&&n.depth==this.depth)return-1;let{depth:r}=this.$to,i=this.$to.after(r);for(;r>1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n<e.depth&&e.end(n+1)==e.pos+(e.depth-(n+1)),a=Oc(e,n,i,r,o);if(a){for(let s=n-1;s>=0;s--){let{match:c,type:l}=this.frontier[s],u=Oc(e,s,l,c,!0);if(!u||u.childCount)continue e}return{depth:n,fit:a,move:o?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=eo(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,o)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=eo(this.placed,this.depth,pe.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(pe.empty,!0);n.childCount&&(this.placed=eo(this.placed,this.frontier.length,n))}}function Qi(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Qi(t.firstChild.content,e-1,n)))}function eo(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(eo(t.lastChild.content,e-1,n)))}function Fc(t,e){for(let n=0;n<e;n++)t=t.firstChild.content;return t}function I0(t,e,n){if(e<=0)return t;let r=t.content;return e>1&&(r=r.replaceChild(0,I0(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(pe.empty,!0)))),t.copy(r)}function Oc(t,e,n,r,i){let o=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!Q_(n,o.content,a)?s:null}function Q_(t,e,n){for(let r=n;r<e.childCount;r++)if(!t.allowsMarks(e.child(r).marks))return!0;return!1}function eT(t){return t.spec.defining||t.spec.definingForContent}function tT(t,e,n,r){if(!r.size)return t.deleteRange(e,n);let i=t.doc.resolve(e),o=t.doc.resolve(n);if(B0(i,o,r))return t.step(new ot(e,n,r));let a=W0(i,t.doc.resolve(n));a[a.length-1]==0&&a.pop();let s=-(i.depth+1);a.unshift(s);for(let d=i.depth,h=i.pos-1;d>0;d--,h--){let p=i.node(d).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(d)>-1?s=d:i.before(d)==h&&a.splice(1,0,-d)}let c=a.indexOf(s),l=[],u=r.openStart;for(let d=r.content,h=0;;h++){let p=d.firstChild;if(l.push(p),h==r.openStart)break;d=p.content}for(let d=u-1;d>=0;d--){let h=l[d],p=eT(h.type);if(p&&!h.sameMarkup(i.node(Math.abs(s)-1)))u=d;else if(p||!h.type.isTextblock)break}for(let d=r.openStart;d>=0;d--){let h=(d+u+1)%(r.openStart+1),p=l[h];if(p)for(let m=0;m<a.length;m++){let g=a[(m+c)%a.length],y=!0;g<0&&(y=!1,g=-g);let b=i.node(g-1),v=i.index(g-1);if(b.canReplaceWith(v,v,p.type,p.marks))return t.replace(i.before(g),y?o.after(g):n,new _e(M0(r.content,0,r.openStart,h),h,r.openEnd))}}let f=t.steps.length;for(let d=a.length-1;d>=0&&(t.replace(e,n,r),!(t.steps.length>f));d--){let h=a[d];h<0||(e=i.before(h),n=o.after(h))}}function M0(t,e,n,r,i){if(e<n){let o=t.firstChild;t=t.replaceChild(0,o.copy(M0(o.content,e+1,n,r,o)))}if(e>r){let o=i.contentMatchAt(0),a=o.fillBefore(t).append(t);t=a.append(o.matchFragment(a).fillBefore(pe.empty,!0))}return t}function nT(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=Z_(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new _e(pe.from(r),0,0))}function rT(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=W0(r,i);for(let a=0;a<o.length;a++){let s=o[a],c=a==o.length-1;if(c&&s==0||r.node(s).type.contentMatch.validEnd)return t.delete(r.start(s),i.end(s));if(s>0&&(c||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return t.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return t.delete(r.before(a),n);t.delete(e,n)}function W0(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let o=t.start(i);if(o<t.pos-(t.depth-i)||e.end(i)>e.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&n.push(i)}return n}class pi extends yt{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return tt.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return tt.fromReplace(e,this.pos,this.pos+1,new _e(pe.from(i),0,n.isLeaf?0:1))}getMap(){return Nt.empty}invert(e){return new pi(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new pi(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new pi(n.pos,n.attr,n.value)}}yt.jsonID("attr",pi);class yo extends yt{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return tt.ok(r)}getMap(){return Nt.empty}invert(e){return new yo(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new yo(n.attr,n.value)}}yt.jsonID("docAttr",yo);let wi=class extends Error{};wi=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};wi.prototype=Object.create(Error.prototype);wi.prototype.constructor=wi;wi.prototype.name="TransformError";class ih{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new di}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new wi(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=_e.empty){let i=qs(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new _e(pe.from(r),0,0))}delete(e,n){return this.replace(e,n,_e.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return tT(this,e,n,r),this}replaceRangeWith(e,n,r){return nT(this,e,n,r),this}deleteRange(e,n){return rT(this,e,n),this}lift(e,n){return q_(this,e,n),this}join(e,n=1){return J_(this,e,n),this}wrap(e,n){return $_(this,e,n),this}setBlockType(e,n=e,r,i=null){return V_(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return X_(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new pi(e,n,r)),this}setDocAttribute(e,n){return this.step(new yo(e,n)),this}addNodeMark(e,n){return this.step(new rr(e,n)),this}removeNodeMark(e,n){if(!(n instanceof ze)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new Di(e,n)),this}split(e,n=1,r){return G_(this,e,n,r),this}addMark(e,n,r){return W_(this,e,n,r),this}removeMark(e,n,r){return L_(this,e,n,r),this}clearIncompatible(e,n,r){return th(this,e,n,r),this}}const Rc=Object.create(null);class Fe{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new oh(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n<e.length;n++)if(e[n].$from.pos!=e[n].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,n=_e.empty){let r=n.content.lastChild,i=null;for(let s=0;s<n.openEnd;s++)i=r,r=r.lastChild;let o=e.steps.length,a=this.ranges;for(let s=0;s<a.length;s++){let{$from:c,$to:l}=a[s],u=e.mapping.slice(o);e.replaceRange(u.map(c.pos),u.map(l.pos),s?_e.empty:n),s==0&&fg(e,o,(r?r.isInline:i&&i.isTextblock)?-1:1)}}replaceWith(e,n){let r=e.steps.length,i=this.ranges;for(let o=0;o<i.length;o++){let{$from:a,$to:s}=i[o],c=e.mapping.slice(r),l=c.map(a.pos),u=c.map(s.pos);o?e.deleteRange(l,u):(e.replaceRangeWith(l,u,n),fg(e,r,n.isInline?-1:1))}}static findFrom(e,n,r=!1){let i=e.parent.inlineContent?new Be(e):ci(e.node(0),e.parent,e.pos,e.index(),n,r);if(i)return i;for(let o=e.depth-1;o>=0;o--){let a=n<0?ci(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):ci(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new It(e.node(0))}static atStart(e){return ci(e,e,0,0,1)||new It(e)}static atEnd(e){return ci(e,e,e.content.size,e.childCount,-1)||new It(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Rc[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Rc)throw new RangeError("Duplicate use of selection JSON ID "+e);return Rc[e]=n,n.prototype.jsonID=e,n}getBookmark(){return Be.between(this.$anchor,this.$head).getBookmark()}}Fe.prototype.visible=!0;class oh{constructor(e,n){this.$from=e,this.$to=n}}let lg=!1;function ug(t){!lg&&!t.parent.inlineContent&&(lg=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class Be extends Fe{constructor(e,n=e){ug(e),ug(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return Fe.near(r);let i=e.resolve(n.map(this.anchor));return new Be(i.parent.inlineContent?i:r,r)}replace(e,n=_e.empty){if(super.replace(e,n),n==_e.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Be&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new zs(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Be(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=Fe.findFrom(n,r,!0)||Fe.findFrom(n,-r,!0);if(o)n=o.$head;else return Fe.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(Fe.findFrom(e,-r,!0)||Fe.findFrom(e,r,!0)).$anchor,e.pos<n.pos!=i<0&&(e=n))),new Be(e,n)}}Fe.jsonID("text",Be);class zs{constructor(e,n){this.anchor=e,this.head=n}map(e){return new zs(e.map(this.anchor),e.map(this.head))}resolve(e){return Be.between(e.resolve(this.anchor),e.resolve(this.head))}}class Ae extends Fe{constructor(e){let n=e.nodeAfter,r=e.node(0).resolve(e.pos+n.nodeSize);super(e,r),this.node=n}map(e,n){let{deleted:r,pos:i}=n.mapResult(this.anchor),o=e.resolve(i);return r?Fe.near(o):new Ae(o)}content(){return new _e(pe.from(this.node),0,0)}eq(e){return e instanceof Ae&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new ah(this.anchor)}static fromJSON(e,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Ae(e.resolve(n.anchor))}static create(e,n){return new Ae(e.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Ae.prototype.visible=!1;Fe.jsonID("node",Ae);class ah{constructor(e){this.anchor=e}map(e){let{deleted:n,pos:r}=e.mapResult(this.anchor);return n?new zs(r,r):new ah(r)}resolve(e){let n=e.resolve(this.anchor),r=n.nodeAfter;return r&&Ae.isSelectable(r)?new Ae(n):Fe.near(n)}}class It extends Fe{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,n=_e.empty){if(n==_e.empty){e.delete(0,e.doc.content.size);let r=Fe.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,n)}toJSON(){return{type:"all"}}static fromJSON(e){return new It(e)}map(e){return new It(e)}eq(e){return e instanceof It}getBookmark(){return iT}}Fe.jsonID("all",It);const iT={map(){return this},resolve(t){return new It(t)}};function ci(t,e,n,r,i,o=!1){if(e.inlineContent)return Be.create(t,n);for(let a=r-(i>0?0:1);i>0?a<e.childCount:a>=0;a+=i){let s=e.child(a);if(s.isAtom){if(!o&&Ae.isSelectable(s))return Ae.create(t,n-(i<0?s.nodeSize:0))}else{let c=ci(t,s,n+i,i<0?s.childCount:0,i,o);if(c)return c}n+=s.nodeSize*i}return null}function fg(t,e,n){let r=t.steps.length-1;if(r<e)return;let i=t.steps[r];if(!(i instanceof ot||i instanceof at))return;let o=t.mapping.maps[r],a;o.forEach((s,c,l,u)=>{a==null&&(a=u)}),t.setSelection(Fe.near(t.doc.resolve(a),n))}const dg=1,hg=2,pg=4;class oT extends ih{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|dg)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&dg)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=hg,this}ensureMarks(e){return ze.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&hg)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&-3,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||ze.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,o)),this.selection.empty||this.setSelection(Fe.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=pg,this}get scrolledIntoView(){return(this.updated&pg)>0}}function gg(t,e){return!e||!t?t:t.bind(e)}class to{constructor(e,n,r){this.name=e,this.init=gg(n.init,r),this.apply=gg(n.apply,r)}}const aT=[new to("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new to("selection",{init(t,e){return t.selection||Fe.atStart(e.doc)},apply(t){return t.selection}}),new to("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new to("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Nc{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=aT.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new to(r.key,r.spec.state,r))})}}class fi{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;r<this.config.plugins.length;r++)if(r!=n){let i=this.config.plugins[r];if(i.spec.filterTransaction&&!i.spec.filterTransaction.call(i,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let n=[e],r=this.applyInner(e),i=null;for(;;){let o=!1;for(let a=0;a<this.config.plugins.length;a++){let s=this.config.plugins[a];if(s.spec.appendTransaction){let c=i?i[a].n:0,l=i?i[a].state:this,u=c<n.length&&s.spec.appendTransaction.call(s,c?n.slice(c):n,l,r);if(u&&r.filterTransaction(u,a)){if(u.setMeta("appendedTransaction",e),!i){i=[];for(let f=0;f<this.config.plugins.length;f++)i.push(f<a?{state:r,n:n.length}:{state:this,n:0})}n.push(u),r=r.applyInner(u),o=!0}i&&(i[a]={state:r,n:n.length})}}if(!o)return{state:r,transactions:n}}}applyInner(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");let n=new fi(this.config),r=this.config.fields;for(let i=0;i<r.length;i++){let o=r[i];n[o.name]=o.apply(e,this[o.name],this,n)}return n}get tr(){return new oT(this)}static create(e){let n=new Nc(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new fi(n);for(let i=0;i<n.fields.length;i++)r[n.fields[i].name]=n.fields[i].init(e,r);return r}reconfigure(e){let n=new Nc(this.schema,e.plugins),r=n.fields,i=new fi(n);for(let o=0;o<r.length;o++){let a=r[o].name;i[a]=this.hasOwnProperty(a)?this[a]:r[o].init(e,i)}return i}toJSON(e){let n={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(n.storedMarks=this.storedMarks.map(r=>r.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new Nc(e.schema,e.plugins),o=new fi(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=rn.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=Fe.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let s in r){let c=r[s],l=c.spec.state;if(c.key==a.name&&l&&l.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=l.fromJSON.call(c,e,n[s],o);return}}o[a.name]=a.init(e,o)}}),o}}function L0(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=L0(i,e,{})),n[r]=i}return n}class jr{constructor(e){this.spec=e,this.props={},e.props&&L0(e.props,this,this.props),this.key=e.key?e.key.key:P0("plugin")}getState(e){return e[this.key]}}const Bc=Object.create(null);function P0(t){return t in Bc?t+"$"+ ++Bc[t]:(Bc[t]=0,t+"$")}class ki{constructor(e="key"){this.key=P0(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const ut=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},bo=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let cd=null;const Fn=function(t,e,n){let r=cd||(cd=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},sT=function(){cd=null},Mr=function(t,e,n,r){return n&&(mg(t,e,n,r,-1)||mg(t,e,n,r,1))},cT=/^(img|br|input|textarea|hr)$/i;function mg(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:Ht(t))){let o=t.parentNode;if(!o||o.nodeType!=1||No(t)||cT.test(t.nodeName)||t.contentEditable=="false")return!1;e=ut(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?Ht(t):0}else return!1}}function Ht(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function lT(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=Ht(t)}else if(t.parentNode&&!No(t))e=ut(t),t=t.parentNode;else return null}}function uT(t,e){for(;;){if(t.nodeType==3&&e<t.nodeValue.length)return t;if(t.nodeType==1&&e<t.childNodes.length){if(t.contentEditable=="false")return null;t=t.childNodes[e],e=0}else if(t.parentNode&&!No(t))e=ut(t)+1,t=t.parentNode;else return null}}function fT(t,e,n){for(let r=e==0,i=e==Ht(t);r||i;){if(t==n)return!0;let o=ut(t);if(t=t.parentNode,!t)return!1;r=r&&o==0,i=i&&o==Ht(t)}}function No(t){let e;for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}const js=function(t){return t.focusNode&&Mr(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function Cr(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function dT(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function hT(t,e,n){if(t.caretPositionFromPoint)try{let r=t.caretPositionFromPoint(e,n);if(r)return{node:r.offsetNode,offset:Math.min(Ht(r.offsetNode),r.offset)}}catch{}if(t.caretRangeFromPoint){let r=t.caretRangeFromPoint(e,n);if(r)return{node:r.startContainer,offset:Math.min(Ht(r.startContainer),r.startOffset)}}}const mn=typeof navigator<"u"?navigator:null,yg=typeof document<"u"?document:null,pr=mn&&mn.userAgent||"",ld=/Edge\/(\d+)/.exec(pr),q0=/MSIE \d/.exec(pr),ud=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(pr),At=!!(q0||ud||ld),ar=q0?document.documentMode:ud?+ud[1]:ld?+ld[1]:0,on=!At&&/gecko\/(\d+)/i.test(pr);on&&+(/Firefox\/(\d+)/.exec(pr)||[0,0])[1];const fd=!At&&/Chrome\/(\d+)/.exec(pr),ht=!!fd,z0=fd?+fd[1]:0,Dt=!At&&!!mn&&/Apple Computer/.test(mn.vendor),_i=Dt&&(/Mobile\/\w+/.test(pr)||!!mn&&mn.maxTouchPoints>2),Vt=_i||(mn?/Mac/.test(mn.platform):!1),pT=mn?/Win/.test(mn.platform):!1,Rn=/Android \d/.test(pr),Bo=!!yg&&"webkitFontSmoothing"in yg.documentElement.style,gT=Bo?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function mT(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function _n(t,e){return typeof t=="number"?t:t[e]}function yT(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function bg(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument;for(let a=n||t.dom;a;a=bo(a)){if(a.nodeType!=1)continue;let s=a,c=s==o.body,l=c?mT(o):yT(s),u=0,f=0;if(e.top<l.top+_n(r,"top")?f=-(l.top-e.top+_n(i,"top")):e.bottom>l.bottom-_n(r,"bottom")&&(f=e.bottom-e.top>l.bottom-l.top?e.top+_n(i,"top")-l.top:e.bottom-l.bottom+_n(i,"bottom")),e.left<l.left+_n(r,"left")?u=-(l.left-e.left+_n(i,"left")):e.right>l.right-_n(r,"right")&&(u=e.right-l.right+_n(i,"right")),u||f)if(c)o.defaultView.scrollBy(u,f);else{let d=s.scrollLeft,h=s.scrollTop;f&&(s.scrollTop+=f),u&&(s.scrollLeft+=u);let p=s.scrollLeft-d,m=s.scrollTop-h;e={left:e.left-p,top:e.top-m,right:e.right-p,bottom:e.bottom-m}}if(c||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function bT(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,a=n+1;a<Math.min(innerHeight,e.bottom);a+=5){let s=t.root.elementFromPoint(o,a);if(!s||s==t.dom||!t.dom.contains(s))continue;let c=s.getBoundingClientRect();if(c.top>=n-20){r=s,i=c.top;break}}return{refDOM:r,refTop:i,stack:j0(t.dom)}}function j0(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=bo(r));return e}function vT({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;$0(n,r==0?0:r-e)}function $0(t,e){for(let n=0;n<t.length;n++){let{dom:r,top:i,left:o}=t[n];r.scrollTop!=i+e&&(r.scrollTop=i+e),r.scrollLeft!=o&&(r.scrollLeft=o)}}let ni=null;function xT(t){if(t.setActive)return t.setActive();if(ni)return t.focus(ni);let e=j0(t);t.focus(ni==null?{get preventScroll(){return ni={preventScroll:!0},!0}}:void 0),ni||(ni=!1,$0(e,0))}function V0(t,e){let n,r=2e8,i,o=0,a=e.top,s=e.top,c,l;for(let u=t.firstChild,f=0;u;u=u.nextSibling,f++){let d;if(u.nodeType==1)d=u.getClientRects();else if(u.nodeType==3)d=Fn(u).getClientRects();else continue;for(let h=0;h<d.length;h++){let p=d[h];if(p.top<=a&&p.bottom>=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let m=p.left>e.left?p.left-e.left:p.right<e.left?e.left-p.right:0;if(m<r){n=u,r=m,i=m&&n.nodeType==3?{left:p.right<e.left?p.right:p.left,top:e.top}:e,u.nodeType==1&&m&&(o=f+(e.left>=(p.left+p.right)/2?1:0));continue}}else p.top>e.top&&!c&&p.left<=e.left&&p.right>=e.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,e.left)),top:p.top});!n&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(o=f+1)}}return!n&&c&&(n=c,i=l,r=0),n&&n.nodeType==3?DT(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:V0(n,i)}function DT(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i<n;i++){r.setEnd(t,i+1),r.setStart(t,i);let o=Gn(r,1);if(o.top!=o.bottom&&sh(e,o))return{node:t,offset:i+(e.left>=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function sh(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function wT(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left<t.getBoundingClientRect().left?n:t}function _T(t,e,n){let{node:r,offset:i}=V0(e,n),o=-1;if(r.nodeType==1&&!r.firstChild){let a=r.getBoundingClientRect();o=a.left!=a.right&&n.left>(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,o)}function TT(t,e,n,r){let i=-1;for(let o=e,a=!1;o!=t.dom;){let s=t.docView.nearestDesc(o,!0),c;if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)&&((c=s.dom.getBoundingClientRect()).width||c.height)&&(s.node.isBlock&&s.parent&&(!a&&c.left>r.left||c.top>r.top?i=s.posBefore:(!a&&c.right<r.left||c.bottom<r.top)&&(i=s.posAfter),a=!0),!s.contentDOM&&i<0&&!s.node.isText))return(s.node.isBlock?r.top<(c.top+c.bottom)/2:r.left<(c.left+c.right)/2)?s.posBefore:s.posAfter;o=s.dom.parentNode}return i>-1?i:t.docView.posFromDOM(e,n,-1)}function H0(t,e,n){let r=t.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(e.top-n.top)/(n.bottom-n.top))-2)),o=i;;){let a=t.childNodes[o];if(a.nodeType==1){let s=a.getClientRects();for(let c=0;c<s.length;c++){let l=s[c];if(sh(e,l))return H0(a,e,l)}}if((o=(o+1)%r)==i)break}return t}function ET(t,e){let n=t.dom.ownerDocument,r,i=0,o=hT(n,e.left,e.top);o&&({node:r,offset:i}=o);let a=(t.root.elementFromPoint?t.root:n).elementFromPoint(e.left,e.top),s;if(!a||!t.dom.contains(a.nodeType!=1?a.parentNode:a)){let l=t.dom.getBoundingClientRect();if(!sh(e,l)||(a=H0(t.dom,e,l),!a))return null}if(Dt)for(let l=a;r&&l;l=bo(l))l.draggable&&(r=void 0);if(a=wT(a,e),r){if(on&&r.nodeType==1&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let u=r.childNodes[i],f;u.nodeName=="IMG"&&(f=u.getBoundingClientRect()).right<=e.left&&f.bottom>e.top&&i++}let l;Bo&&i&&r.nodeType==1&&(l=r.childNodes[i-1]).nodeType==1&&l.contentEditable=="false"&&l.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=TT(t,r,i,e))}s==null&&(s=_T(t,a,e));let c=t.docView.nearestDesc(a,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function vg(t){return t.top<t.bottom||t.left<t.right}function Gn(t,e){let n=t.getClientRects();if(n.length){let r=n[e<0?0:n.length-1];if(vg(r))return r}return Array.prototype.find.call(n,vg)||t.getBoundingClientRect()}const CT=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function X0(t,e,n){let{node:r,offset:i,atom:o}=t.docView.domFromPos(e,n<0?-1:1),a=Bo||on;if(r.nodeType==3)if(a&&(CT.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let c=Gn(Fn(r,i,i),n);if(on&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let l=Gn(Fn(r,i-1,i-1),-1);if(l.top==c.top){let u=Gn(Fn(r,i,i+1),-1);if(u.top!=c.top)return Ii(u,u.left<l.left)}}return c}else{let c=i,l=i,u=n<0?1:-1;return n<0&&!i?(l++,u=-1):n>=0&&i==r.nodeValue.length?(c--,u=1):n<0?c--:l++,Ii(Gn(Fn(r,c,l),u),u<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==Ht(r))){let c=r.childNodes[i-1];if(c.nodeType==1)return Ic(c.getBoundingClientRect(),!1)}if(o==null&&i<Ht(r)){let c=r.childNodes[i];if(c.nodeType==1)return Ic(c.getBoundingClientRect(),!0)}return Ic(r.getBoundingClientRect(),n>=0)}if(o==null&&i&&(n<0||i==Ht(r))){let c=r.childNodes[i-1],l=c.nodeType==3?Fn(c,Ht(c)-(a?0:1)):c.nodeType==1&&(c.nodeName!="BR"||!c.nextSibling)?c:null;if(l)return Ii(Gn(l,1),!1)}if(o==null&&i<Ht(r)){let c=r.childNodes[i];for(;c.pmViewDesc&&c.pmViewDesc.ignoreForCoords;)c=c.nextSibling;let l=c?c.nodeType==3?Fn(c,0,a?0:1):c.nodeType==1?c:null:null;if(l)return Ii(Gn(l,-1),!0)}return Ii(Gn(r.nodeType==3?Fn(r):r,-n),n>=0)}function Ii(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function Ic(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function G0(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}function ST(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return G0(t,e,()=>{let{node:o}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=t.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=X0(t,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let c;if(s.nodeType==1)c=s.getClientRects();else if(s.nodeType==3)c=Fn(s,0,s.nodeValue.length).getClientRects();else continue;for(let l=0;l<c.length;l++){let u=c[l];if(u.bottom>u.top+1&&(n=="up"?a.top-u.top>(u.bottom-a.top)*2:u.bottom-a.bottom>(a.bottom-u.top)*2))return!1}}return!0})}const AT=/[\u0590-\u08ac]/;function UT(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=t.domSelection();return s?!AT.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:G0(t,e,()=>{let{focusNode:c,focusOffset:l,anchorNode:u,anchorOffset:f}=t.domSelectionRange(),d=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:p,focusOffset:m}=t.domSelectionRange(),g=p&&!h.contains(p.nodeType==1?p:p.parentNode)||c==p&&l==m;try{s.collapse(u,f),c&&(c!=u||l!=f)&&s.extend&&s.extend(c,l)}catch{}return d!=null&&(s.caretBidiLevel=d),g}):r.pos==r.start()||r.pos==r.end()}let xg=null,Dg=null,wg=!1;function kT(t,e,n){return xg==e&&Dg==n?wg:(xg=e,Dg=n,wg=n=="up"||n=="down"?ST(t,e,n):UT(t,e,n))}const Gt=0,_g=1,Sr=2,yn=3;class Io{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=Gt,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;n<this.children.length;n++)e+=this.children[n].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let n=0,r=this.posAtStart;;n++){let i=this.children[n];if(i==e)return r;r+=i.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,n,r){if(this.contentDOM&&this.contentDOM.contains(e.nodeType==1?e:e.parentNode))if(r<0){let o,a;if(e==this.contentDOM)o=e.childNodes[n-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;o=e.previousSibling}for(;o&&!((a=o.pmViewDesc)&&a.parent==this);)o=o.previousSibling;return o?this.posBeforeChild(a)+a.size:this.posAtStart}else{let o,a;if(e==this.contentDOM)o=e.childNodes[n];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;o=e.nextSibling}for(;o&&!((a=o.pmViewDesc)&&a.parent==this);)o=o.nextSibling;return o?this.posBeforeChild(a):this.posAtEnd}let i;if(e==this.dom&&this.contentDOM)i=n>ut(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return o}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;n<this.children.length;n++){let i=this.children[n],o=r+i.size;if(r==e&&o!=r){for(;!i.border&&i.children.length;)for(let a=0;a<i.children.length;a++){let s=i.children[a];if(s.size){i=s;break}}return i}if(e<o)return i.descAt(e-r-i.border);r=o}}domFromPos(e,n){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let r=0,i=0;for(let o=0;r<this.children.length;r++){let a=this.children[r],s=o+a.size;if(s>e||a instanceof J0){i=e-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof K0&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?ut(o.dom)+1:0}}else{let o,a=!0;for(;o=r<this.children.length?this.children[r]:null,!(!o||o.dom.parentNode==this.contentDOM);r++,a=!1);return o&&a&&!o.border&&!o.domAtom?o.domFromPos(0,n):{node:this.contentDOM,offset:o?ut(o.dom):this.contentDOM.childNodes.length}}}parseRange(e,n,r=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:n,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let i=-1,o=-1;for(let a=r,s=0;;s++){let c=this.children[s],l=a+c.size;if(i==-1&&e<=l){let u=a+c.border;if(e>=u&&n<=l-c.border&&c.node&&c.contentDOM&&this.contentDOM.contains(c.contentDOM))return c.parseRange(e,n,u);e=a;for(let f=s;f>0;f--){let d=this.children[f-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){i=ut(d.dom)+1;break}e-=d.size}i==-1&&(i=0)}if(i>-1&&(l>n||s==this.children.length-1)){n=l;for(let u=s+1;u<this.children.length;u++){let f=this.children[u];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(-1)){o=ut(f.dom);break}n+=f.size}o==-1&&(o=this.contentDOM.childNodes.length);break}a=l}return{node:this.contentDOM,from:e,to:n,fromOffset:i,toOffset:o}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let n=this.children[e<0?0:this.children.length-1];return n.size==0||n.emptyChildAt(e)}domAfterPos(e){let{node:n,offset:r}=this.domFromPos(e,0);if(n.nodeType!=1||r==n.childNodes.length)throw new RangeError("No node after pos "+e);return n.childNodes[r]}setSelection(e,n,r,i=!1){let o=Math.min(e,n),a=Math.max(e,n);for(let h=0,p=0;h<this.children.length;h++){let m=this.children[h],g=p+m.size;if(o>p&&a<g)return m.setSelection(e-p-m.border,n-p-m.border,r,i);p=g}let s=this.domFromPos(e,e?-1:1),c=n==e?s:this.domFromPos(n,n?-1:1),l=r.root.getSelection(),u=r.domSelectionRange(),f=!1;if((on||Dt)&&e==n){let{node:h,offset:p}=s;if(h.nodeType==3){if(f=!!(p&&h.nodeValue[p-1]==`
6
- `),f&&p==h.nodeValue.length)for(let m=h,g;m;m=m.parentNode){if(g=m.nextSibling){g.nodeName=="BR"&&(s=c={node:g.parentNode,offset:ut(g)+1});break}let y=m.pmViewDesc;if(y&&y.node&&y.node.isBlock)break}}else{let m=h.childNodes[p-1];f=m&&(m.nodeName=="BR"||m.contentEditable=="false")}}if(on&&u.focusNode&&u.focusNode!=c.node&&u.focusNode.nodeType==1){let h=u.focusNode.childNodes[u.focusOffset];h&&h.contentEditable=="false"&&(i=!0)}if(!(i||f&&Dt)&&Mr(s.node,s.offset,u.anchorNode,u.anchorOffset)&&Mr(c.node,c.offset,u.focusNode,u.focusOffset))return;let d=!1;if((l.extend||e==n)&&!f){l.collapse(s.node,s.offset);try{e!=n&&l.extend(c.node,c.offset),d=!0}catch{}}if(!d){if(e>n){let p=s;s=c,c=p}let h=document.createRange();h.setEnd(c.node,c.offset),h.setStart(s.node,s.offset),l.removeAllRanges(),l.addRange(h)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i<this.children.length;i++){let o=this.children[i],a=r+o.size;if(r==a?e<=a&&n>=r:e<a&&n>r){let s=r+o.border,c=a-o.border;if(e>=s&&n<=c){this.dirty=e==r||n==a?Sr:_g,e==s&&n==c&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=yn:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?Sr:yn}r=a}this.dirty=Sr}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?Sr:_g;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(e){return!1}}class K0 extends Io{constructor(e,n,r,i){let o,a=n.type.toDOM;if(typeof a=="function"&&(a=a(r,()=>{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(e){return this.dirty==Gt&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class FT extends Io{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Wr extends Io{constructor(e,n,r,i,o){super(e,[],r,i),this.mark=n,this.spec=o}static create(e,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=zr.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new Wr(e,n,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&yn||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=yn&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Gt){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=Gt}}slice(e,n,r){let i=Wr.create(this.parent,this.mark,!0,r),o=this.children,a=this.size;n<a&&(o=hd(o,n,a,r)),e>0&&(o=hd(o,0,e,r));for(let s=0;s<o.length;s++)o[s].parent=i;return i.children=o,i}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class sr extends Io{constructor(e,n,r,i,o,a,s,c,l){super(e,[],o,a),this.node=n,this.outerDeco=r,this.innerDeco=i,this.nodeDOM=s}static create(e,n,r,i,o,a){let s=o.nodeViews[n.type.name],c,l=s&&s(n,o,()=>{if(!c)return a;if(c.parent)return c.parent.posBeforeChild(c)},r,i),u=l&&l.dom,f=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(u.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else u||({dom:u,contentDOM:f}=zr.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!f&&!n.isText&&u.nodeName!="BR"&&(u.hasAttribute("contenteditable")||(u.contentEditable="false"),n.type.spec.draggable&&(u.draggable=!0));let d=u;return u=Q0(u,r,n),l?c=new OT(e,n,r,i,u,f||null,d,l,o,a+1):n.isText?new $s(e,n,r,i,u,d,o):new sr(e,n,r,i,u,f||null,d,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>pe.empty)}return e}matchesNode(e,n,r){return this.dirty==Gt&&e.eq(this.node)&&Qa(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,o=e.composing?this.localCompositionInfo(e,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,c=new NT(this,a&&a.node,e);MT(this.node,this.innerDeco,(l,u,f)=>{l.spec.marks?c.syncToMarks(l.spec.marks,r,e):l.type.side>=0&&!f&&c.syncToMarks(u==this.node.childCount?ze.none:this.node.child(u).marks,r,e),c.placeWidget(l,e,i)},(l,u,f,d)=>{c.syncToMarks(l.marks,r,e);let h;c.findNodeMatch(l,u,f,d)||s&&e.state.selection.from>i&&e.state.selection.to<i+l.nodeSize&&(h=c.findIndexWithChild(o.node))>-1&&c.updateNodeAt(l,u,f,h,e)||c.updateNextNode(l,u,f,e,d,i)||c.addNode(l,u,f,e,i),i+=l.nodeSize}),c.syncToMarks([],r,e),this.node.isTextblock&&c.addTextblockHacks(),c.destroyRest(),(c.changed||this.dirty==Sr)&&(a&&this.protectLocalComposition(e,a),Z0(this.contentDOM,this.children,e),_i&&WT(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof Be)||r<n||i>n+this.node.content.size)return null;let o=e.input.compositionNode;if(!o||!this.dom.contains(o.parentNode))return null;if(this.node.inlineContent){let a=o.nodeValue,s=LT(this.node.content,a,r-n,i-n);return s<0?null:{node:o,pos:s,text:a}}else return{node:o,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new FT(this,o,n,i);e.input.compositionNodes.push(a),this.children=hd(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==yn||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=Gt}updateOuterDeco(e){if(Qa(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Y0(this.dom,this.nodeDOM,dd(this.outerDeco,this.node,n),dd(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function Tg(t,e,n,r,i){Q0(r,e,t);let o=new sr(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class $s extends sr{constructor(e,n,r,i,o,a,s){super(e,n,r,i,o,null,a,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==yn||this.dirty!=Gt&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Gt||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=Gt,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),o=document.createTextNode(i.text);return new $s(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=yn)}get domAtom(){return!1}isText(e){return this.node.text==e}}class J0 extends Io{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Gt&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class OT extends sr{constructor(e,n,r,i,o,a,s,c,l,u){super(e,n,r,i,o,a,s,l,u),this.spec=c}update(e,n,r,i){if(this.dirty==yn)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let o=this.spec.update(e,n,r);return o&&this.updateInner(e,n,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Z0(t,e,n){let r=t.firstChild,i=!1;for(let o=0;o<e.length;o++){let a=e[o],s=a.dom;if(s.parentNode==t){for(;s!=r;)r=Eg(r),i=!0;r=r.nextSibling}else i=!0,t.insertBefore(s,r);if(a instanceof Wr){let c=r?r.previousSibling:t.lastChild;Z0(a.contentDOM,a.children,n),r=c?c.nextSibling:t.firstChild}}for(;r;)r=Eg(r),i=!0;i&&n.trackWrites==t&&(n.trackWrites=null)}const io=function(t){t&&(this.nodeName=t)};io.prototype=Object.create(null);const Ar=[new io];function dd(t,e,n){if(t.length==0)return Ar;let r=n?Ar[0]:new io,i=[r];for(let o=0;o<t.length;o++){let a=t[o].type.attrs;if(a){a.nodeName&&i.push(r=new io(a.nodeName));for(let s in a){let c=a[s];c!=null&&(n&&i.length==1&&i.push(r=new io(e.isInline?"span":"div")),s=="class"?r.class=(r.class?r.class+" ":"")+c:s=="style"?r.style=(r.style?r.style+";":"")+c:s!="nodeName"&&(r[s]=c))}}}return i}function Y0(t,e,n,r){if(n==Ar&&r==Ar)return e;let i=e;for(let o=0;o<r.length;o++){let a=r[o],s=n[o];if(o){let c;s&&s.nodeName==a.nodeName&&i!=t&&(c=i.parentNode)&&c.nodeName.toLowerCase()==a.nodeName||(c=document.createElement(a.nodeName),c.pmIsDeco=!0,c.appendChild(i),s=Ar[0]),i=c}RT(i,s||Ar[0],a)}return i}function RT(t,e,n){for(let r in e)r!="class"&&r!="style"&&r!="nodeName"&&!(r in n)&&t.removeAttribute(r);for(let r in n)r!="class"&&r!="style"&&r!="nodeName"&&n[r]!=e[r]&&t.setAttribute(r,n[r]);if(e.class!=n.class){let r=e.class?e.class.split(" ").filter(Boolean):[],i=n.class?n.class.split(" ").filter(Boolean):[];for(let o=0;o<r.length;o++)i.indexOf(r[o])==-1&&t.classList.remove(r[o]);for(let o=0;o<i.length;o++)r.indexOf(i[o])==-1&&t.classList.add(i[o]);t.classList.length==0&&t.removeAttribute("class")}if(e.style!=n.style){if(e.style){let r=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,i;for(;i=r.exec(e.style);)t.style.removeProperty(i[1])}n.style&&(t.style.cssText+=n.style)}}function Q0(t,e,n){return Y0(t,t,Ar,dd(e,n,t.nodeType!=1))}function Qa(t,e){if(t.length!=e.length)return!1;for(let n=0;n<t.length;n++)if(!t[n].type.eq(e[n].type))return!1;return!0}function Eg(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class NT{constructor(e,n,r){this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=BT(e.node.content,e)}destroyBetween(e,n){if(e!=n){for(let r=e;r<n;r++)this.top.children[r].destroy();this.top.children.splice(e,n-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,n,r){let i=0,o=this.stack.length>>1,a=Math.min(o,e.length);for(;i<a&&(i==o-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&e[i].type.spec.spanning!==!1;)i++;for(;i<o;)this.destroyRest(),this.top.dirty=Gt,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);let s=-1;for(let c=this.index;c<Math.min(this.index+3,this.top.children.length);c++){let l=this.top.children[c];if(l.matchesMark(e[o])&&!this.isLocked(l.dom)){s=c;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let c=Wr.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,c),this.top=c,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,c=Math.min(this.top.children.length,s+5);s<c;s++){let l=this.top.children[s];if(l.matchesNode(e,n,r)&&!this.preMatch.matched.has(l)){o=s;break}}return o<0?!1:(this.destroyBetween(this.index,o),this.index++,!0)}updateNodeAt(e,n,r,i,o){let a=this.top.children[i];return a.dirty==yn&&a.dom==a.contentDOM&&(a.dirty=Sr),a.update(e,n,r,o)?(this.destroyBetween(this.index,i),this.index++,!0):!1}findIndexWithChild(e){for(;;){let n=e.parentNode;if(!n)return-1;if(n==this.top.contentDOM){let r=e.pmViewDesc;if(r){for(let i=this.index;i<this.top.children.length;i++)if(this.top.children[i]==r)return i}return-1}e=n}}updateNextNode(e,n,r,i,o,a){for(let s=this.index;s<this.top.children.length;s++){let c=this.top.children[s];if(c instanceof sr){let l=this.preMatch.matched.get(c);if(l!=null&&l!=o)return!1;let u=c.dom,f,d=this.isLocked(u)&&!(e.isText&&c.node&&c.node.isText&&c.nodeDOM.nodeValue==e.text&&c.dirty!=yn&&Qa(n,c.outerDeco));if(!d&&c.update(e,n,r,i))return this.destroyBetween(this.index,s),c.dom!=u&&(this.changed=!0),this.index++,!0;if(!d&&(f=this.recreateWrapper(c,e,n,r,i,a)))return this.destroyBetween(this.index,s),this.top.children[this.index]=f,f.contentDOM&&(f.dirty=Sr,f.updateChildren(i,a+1),f.dirty=Gt),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,n,r,i,o,a){if(e.dirty||n.isAtom||!e.children.length||!e.node.content.eq(n.content)||!Qa(r,e.outerDeco)||!i.eq(e.innerDeco))return null;let s=sr.create(this.top,n,r,i,o,a);if(s.contentDOM){s.children=e.children,e.children=[];for(let c of s.children)c.parent=s}return e.destroy(),s}addNode(e,n,r,i,o){let a=sr.create(this.top,e,n,r,i,o);a.contentDOM&&a.updateChildren(i,o+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,n,r){let i=this.index<this.top.children.length?this.top.children[this.index]:null;if(i&&i.matchesWidget(e)&&(e==i.widget||!i.widget.type.toDOM.parentNode))this.index++;else{let o=new K0(this.top,e,n,r);this.top.children.splice(this.index++,0,o),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],n=this.top;for(;e instanceof Wr;)n=e,e=n.children[n.children.length-1];(!e||!(e instanceof $s)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Dt||ht)&&e&&e.dom.contentEditable=="false"&&this.addHackNode("IMG",n),this.addHackNode("BR",this.top))}addHackNode(e,n){if(n==this.top&&this.index<n.children.length&&n.children[this.index].matchesHack(e))this.index++;else{let r=document.createElement(e);e=="IMG"&&(r.className="ProseMirror-separator",r.alt=""),e=="BR"&&(r.className="ProseMirror-trailingBreak");let i=new J0(this.top,[],r,null);n!=this.top?n.children.push(i):n.children.splice(this.index++,0,i),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||e.nodeType==1&&e.contains(this.lock.parentNode))}}function BT(t,e){let n=e,r=n.children.length,i=t.childCount,o=new Map,a=[];e:for(;i>0;){let s;for(;;)if(r){let l=n.children[r-1];if(l instanceof Wr)n=l,r=l.children.length;else{s=l,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let c=s.node;if(c){if(c!=t.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function IT(t,e){return t.type.side-e.type.side}function MT(t,e,n,r){let i=e.locals(t),o=0;if(i.length==0){for(let l=0;l<t.childCount;l++){let u=t.child(l);r(u,i,e.forChild(o,u),l),o+=u.nodeSize}return}let a=0,s=[],c=null;for(let l=0;;){let u,f;for(;a<i.length&&i[a].to==o;){let g=i[a++];g.widget&&(u?(f||(f=[u])).push(g):u=g)}if(u)if(f){f.sort(IT);for(let g=0;g<f.length;g++)n(f[g],l,!!c)}else n(u,l,!!c);let d,h;if(c)h=-1,d=c,c=null;else if(l<t.childCount)h=l,d=t.child(l++);else break;for(let g=0;g<s.length;g++)s[g].to<=o&&s.splice(g--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let p=o+d.nodeSize;if(d.isText){let g=p;a<i.length&&i[a].from<g&&(g=i[a].from);for(let y=0;y<s.length;y++)s[y].to<g&&(g=s[y].to);g<p&&(c=d.cut(g-o),d=d.cut(0,g-o),p=g,h=-1)}else for(;a<i.length&&i[a].to<p;)a++;let m=d.isInline&&!d.isLeaf?s.filter(g=>!g.inline):s.slice();r(d,m,e.forChild(o,d),h),o=p}}function WT(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function LT(t,e,n,r){for(let i=0,o=0;i<t.childCount&&o<=r;){let a=t.child(i++),s=o;if(o+=a.nodeSize,!a.isText)continue;let c=a.text;for(;i<t.childCount;){let l=t.child(i++);if(o+=l.nodeSize,!l.isText)break;c+=l.text}if(o>=n){if(o>=r&&c.slice(r-e.length-s,r-s)==e)return r-e.length;let l=s<r?c.lastIndexOf(e,r-s-1):-1;if(l>=0&&l+e.length+s>=n)return s+l;if(n==r&&c.length>=r+e.length-s&&c.slice(r-s,r-s+e.length)==e)return r}}return-1}function hd(t,e,n,r,i){let o=[];for(let a=0,s=0;a<t.length;a++){let c=t[a],l=s,u=s+=c.size;l>=n||u<=e?o.push(c):(l<e&&o.push(c.slice(0,e-l,r)),i&&(o.push(i),i=void 0),u>n&&o.push(c.slice(n-l,c.size,r)))}return o}function ch(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),c,l;if(js(n)){for(c=a;i&&!i.node;)i=i.parent;let f=i.node;if(i&&f.isAtom&&Ae.isSelectable(f)&&i.parent&&!(f.isInline&&fT(n.focusNode,n.focusOffset,i.dom))){let d=i.posBefore;l=new Ae(a==d?s:r.resolve(d))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let f=a,d=a;for(let h=0;h<n.rangeCount;h++){let p=n.getRangeAt(h);f=Math.min(f,t.docView.posFromDOM(p.startContainer,p.startOffset,1)),d=Math.max(d,t.docView.posFromDOM(p.endContainer,p.endOffset,-1))}if(f<0)return null;[c,a]=d==t.state.selection.anchor?[d,f]:[f,d],s=r.resolve(a)}else c=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null}let u=r.resolve(c);if(!l){let f=e=="pointer"||t.state.selection.head<s.pos&&!o?1:-1;l=lh(t,u,s,f)}return l}function ev(t){return t.editable?t.hasFocus():nv(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function Nn(t,e=!1){let n=t.state.selection;if(tv(t,n),!!ev(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&ht){let r=t.domSelectionRange(),i=t.domObserver.currentSelection;if(r.anchorNode&&i.anchorNode&&Mr(r.anchorNode,r.anchorOffset,i.anchorNode,i.anchorOffset)){t.input.mouseDown.delayedSelectionSync=!0,t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)qT(t);else{let{anchor:r,head:i}=n,o,a;Cg&&!(n instanceof Be)&&(n.$from.parent.inlineContent||(o=Sg(t,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=Sg(t,n.to))),t.docView.setSelection(r,i,t,e),Cg&&(o&&Ag(o),a&&Ag(a)),n.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&PT(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const Cg=Dt||ht&&z0<63;function Sg(t,e){let{node:n,offset:r}=t.docView.domFromPos(e,0),i=r<n.childNodes.length?n.childNodes[r]:null,o=r?n.childNodes[r-1]:null;if(Dt&&i&&i.contentEditable=="false")return Mc(i);if((!i||i.contentEditable=="false")&&(!o||o.contentEditable=="false")){if(i)return Mc(i);if(o)return Mc(o)}}function Mc(t){return t.contentEditable="true",Dt&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function Ag(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function PT(t){let e=t.dom.ownerDocument;e.removeEventListener("selectionchange",t.input.hideSelectionGuard);let n=t.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;e.addEventListener("selectionchange",t.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!ev(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function qT(t){let e=t.domSelection(),n=document.createRange();if(!e)return;let r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setStart(r.parentNode,ut(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&At&&ar<=11&&(r.disabled=!0,r.disabled=!1)}function tv(t,e){if(e instanceof Ae){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(Ug(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else Ug(t)}function Ug(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function lh(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||Be.between(e,n,r)}function kg(t){return t.editable&&!t.hasFocus()?!1:nv(t)}function nv(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function zT(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return Mr(e.node,e.offset,n.anchorNode,n.anchorOffset)}function pd(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return o&&Fe.findFrom(o,e)}function Kn(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Fg(t,e,n){let r=t.state.selection;if(r instanceof Be)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return Kn(t,new Be(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=pd(t.state,e);return i&&i instanceof Ae?Kn(t,i):!1}else if(!(Vt&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=e<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=t.docView.descAt(s))&&!a.contentDOM?Ae.isSelectable(o)?Kn(t,new Ae(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):Bo?Kn(t,new Be(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ae&&r.node.isInline)return Kn(t,new Be(e>0?r.$to:r.$from));{let i=pd(t.state,e);return i?Kn(t,i):!1}}}function es(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function oo(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function ri(t,e){return e<0?jT(t):$T(t)}function jT(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(on&&n.nodeType==1&&r<es(n)&&oo(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(oo(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(rv(n))break;{let s=n.previousSibling;for(;s&&oo(s,-1);)i=n.parentNode,o=ut(s),s=s.previousSibling;if(s)n=s,r=es(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?gd(t,n,r):i&&gd(t,i,o)}function $T(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=es(n),o,a;for(;;)if(r<i){if(n.nodeType!=1)break;let s=n.childNodes[r];if(oo(s,1))o=n,a=++r;else break}else{if(rv(n))break;{let s=n.nextSibling;for(;s&&oo(s,1);)o=s.parentNode,a=ut(s)+1,s=s.nextSibling;if(s)n=s,r=0,i=es(n);else{if(n=n.parentNode,n==t.dom)break;r=i=0}}}o&&gd(t,o,a)}function rv(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function VT(t,e){for(;t&&e==t.childNodes.length&&!No(t);)e=ut(t)+1,t=t.parentNode;for(;t&&e<t.childNodes.length;){let n=t.childNodes[e];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;t=n,e=0}}function HT(t,e){for(;t&&!e&&!No(t);)e=ut(t),t=t.parentNode;for(;t&&e;){let n=t.childNodes[e-1];if(n.nodeType==3)return n;if(n.nodeType==1&&n.contentEditable=="false")break;t=n,e=t.childNodes.length}}function gd(t,e,n){if(e.nodeType!=3){let o,a;(a=VT(e,n))?(e=a,n=0):(o=HT(e,n))&&(e=o,n=o.nodeValue.length)}let r=t.domSelection();if(!r)return;if(js(r)){let o=document.createRange();o.setEnd(e,n),o.setStart(e,n),r.removeAllRanges(),r.addRange(o)}else r.extend&&r.extend(e,n);t.domObserver.setCurSelection();let{state:i}=t;setTimeout(()=>{t.state==i&&Nn(t)},50)}function Og(t,e){let n=t.state.doc.resolve(e);if(!(ht||pT)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let o=t.coordsAtPos(e-1),a=(o.top+o.bottom)/2;if(a>i.top&&a<i.bottom&&Math.abs(o.left-i.left)>1)return o.left<i.left?"ltr":"rtl"}if(e<n.end()){let o=t.coordsAtPos(e+1),a=(o.top+o.bottom)/2;if(a>i.top&&a<i.bottom&&Math.abs(o.left-i.left)>1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function Rg(t,e,n){let r=t.state.selection;if(r instanceof Be&&!r.empty||n.indexOf("s")>-1||Vt&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=pd(t.state,e);if(a&&a instanceof Ae)return Kn(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof It?Fe.near(a,e):Fe.findFrom(a,e);return s?Kn(t,s):!1}return!1}function Ng(t,e){if(!(t.state.selection instanceof Be))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=t.state.tr;return e<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),t.dispatch(a),!0}return!1}function Bg(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function XT(t){if(!Dt||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;Bg(t,r,"true"),setTimeout(()=>Bg(t,r,"false"),20)}return!1}function GT(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function KT(t,e){let n=e.keyCode,r=GT(e);if(n==8||Vt&&n==72&&r=="c")return Ng(t,-1)||ri(t,-1);if(n==46&&!e.shiftKey||Vt&&n==68&&r=="c")return Ng(t,1)||ri(t,1);if(n==13||n==27)return!0;if(n==37||Vt&&n==66&&r=="c"){let i=n==37?Og(t,t.state.selection.from)=="ltr"?-1:1:-1;return Fg(t,i,r)||ri(t,i)}else if(n==39||Vt&&n==70&&r=="c"){let i=n==39?Og(t,t.state.selection.from)=="ltr"?1:-1:1;return Fg(t,i,r)||ri(t,i)}else{if(n==38||Vt&&n==80&&r=="c")return Rg(t,-1,r)||ri(t,-1);if(n==40||Vt&&n==78&&r=="c")return XT(t)||Rg(t,1,r)||ri(t,1);if(r==(Vt?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function uh(t,e){t.someProp("transformCopied",h=>{e=h(e,t)});let n=[],{content:r,openStart:i,openEnd:o}=e;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let h=r.firstChild;n.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=t.someProp("clipboardSerializer")||zr.fromSchema(t.state.schema),s=lv(),c=s.createElement("div");c.appendChild(a.serializeFragment(r,{document:s}));let l=c.firstChild,u,f=0;for(;l&&l.nodeType==1&&(u=cv[l.nodeName.toLowerCase()]);){for(let h=u.length-1;h>=0;h--){let p=s.createElement(u[h]);for(;c.firstChild;)p.appendChild(c.firstChild);c.appendChild(p),f++}l=c.firstChild}l&&l.nodeType==1&&l.setAttribute("data-pm-slice",`${i} ${o}${f?` -${f}`:""} ${JSON.stringify(n)}`);let d=t.someProp("clipboardTextSerializer",h=>h(e,t))||e.content.textBetween(0,e.content.size,`
7
-
8
- `);return{dom:c,text:d,slice:e}}function iv(t,e,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!e)return null;let c=e&&(r||o||!n);if(c){if(t.someProp("transformPastedText",d=>{e=d(e,o||r,t)}),o)return e?new _e(pe.from(t.state.schema.text(e.replace(/\r\n?/g,`
9
- `))),0,0):_e.empty;let f=t.someProp("clipboardTextParser",d=>d(e,i,r,t));if(f)s=f;else{let d=i.marks(),{schema:h}=t.state,p=zr.fromSchema(h);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(m=>{let g=a.appendChild(document.createElement("p"));m&&g.appendChild(p.serializeNode(h.text(m,d)))})}}else t.someProp("transformPastedHTML",f=>{n=f(n,t)}),a=QT(n),Bo&&e3(a);let l=a&&a.querySelector("[data-pm-slice]"),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute("data-pm-slice")||"");if(u&&u[3])for(let f=+u[3];f>0;f--){let d=a.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;a=d}if(s||(s=(t.someProp("clipboardParser")||t.someProp("domParser")||xi.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(c||u),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!JT.test(d.parentNode.nodeName)?{ignore:!0}:null}})),u)s=t3(Ig(s,+u[1],+u[2]),u[4]);else if(s=_e.maxOpen(ZT(s.content,i),!0),s.openStart||s.openEnd){let f=0,d=0;for(let h=s.content.firstChild;f<s.openStart&&!h.type.spec.isolating;f++,h=h.firstChild);for(let h=s.content.lastChild;d<s.openEnd&&!h.type.spec.isolating;d++,h=h.lastChild);s=Ig(s,f,d)}return t.someProp("transformPasted",f=>{s=f(s,t)}),s}const JT=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function ZT(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),o,a=[];if(t.forEach(s=>{if(!a)return;let c=i.findWrapping(s.type),l;if(!c)return a=null;if(l=a.length&&o.length&&av(c,o,s,a[a.length-1],0))a[a.length-1]=l;else{a.length&&(a[a.length-1]=sv(a[a.length-1],o.length));let u=ov(s,c);a.push(u),i=i.matchType(u.type),o=c}}),a)return pe.from(a)}return t}function ov(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,pe.from(t));return t}function av(t,e,n,r,i){if(i<t.length&&i<e.length&&t[i]==e[i]){let o=av(t,e,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==t.length-1?n.type:t[i+1]))return r.copy(r.content.append(pe.from(ov(n,t,i+1))))}}function sv(t,e){if(e==0)return t;let n=t.content.replaceChild(t.childCount-1,sv(t.lastChild,e-1)),r=t.contentMatchAt(t.childCount).fillBefore(pe.empty,!0);return t.copy(n.append(r))}function md(t,e,n,r,i,o){let a=e<0?t.firstChild:t.lastChild,s=a.content;return t.childCount>1&&(o=0),i<r-1&&(s=md(s,e,n,r,i+1,o)),i>=n&&(s=e<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(pe.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function Ig(t,e,n){return e<t.openStart&&(t=new _e(md(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new _e(md(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}const cv={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let Mg=null;function lv(){return Mg||(Mg=document.implementation.createHTMLDocument("title"))}let Wc=null;function YT(t){let e=window.trustedTypes;return e?(Wc||(Wc=e.createPolicy("ProseMirrorClipboard",{createHTML:n=>n})),Wc.createHTML(t)):t}function QT(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=lv().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&cv[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"</"+o+">").reverse().join("")),n.innerHTML=YT(t),i)for(let o=0;o<i.length;o++)n=n.querySelector(i[o])||n;return n}function e3(t){let e=t.querySelectorAll(ht?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<e.length;n++){let r=e[n];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),r)}}function t3(t,e){if(!t.size)return t;let n=t.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return t}let{content:i,openStart:o,openEnd:a}=t;for(let s=r.length-2;s>=0;s-=2){let c=n.nodes[r[s]];if(!c||c.hasRequiredAttrs())break;i=pe.from(c.create(r[s+1],i)),o++,a++}return new _e(i,o,a)}const wt={},_t={},n3={touchstart:!0,touchmove:!0};class r3{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function i3(t){for(let e in wt){let n=wt[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{a3(t,r)&&!fh(t,r)&&(t.editable||!(r.type in _t))&&n(t,r)},n3[e]?{passive:!0}:void 0)}Dt&&t.dom.addEventListener("input",()=>null),yd(t)}function ir(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function o3(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function yd(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>fh(t,r))})}function fh(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function a3(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function s3(t,e){!fh(t,e)&&wt[e.type]&&(t.editable||!(e.type in _t))&&wt[e.type](t,e)}_t.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!fv(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Rn&&ht&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),_i&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,Cr(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||KT(t,n)?n.preventDefault():ir(t,"key")};_t.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};_t.keypress=(t,e)=>{let n=e;if(fv(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Vt&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof Be)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function Vs(t){return{left:t.clientX,top:t.clientY}}function c3(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function dh(t,e,n,r,i){if(r==-1)return!1;let o=t.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(t.someProp(e,s=>a>o.depth?s(t,n,o.nodeAfter,o.before(a),i,!0):s(t,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function gi(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function l3(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Ae.isSelectable(r)?(gi(t,new Ae(n)),!0):!1}function u3(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof Ae&&(r=n.node);let o=t.state.doc.resolve(e);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(Ae.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(gi(t,Ae.create(t.state.doc,i)),!0):!1}function f3(t,e,n,r,i){return dh(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?u3(t,n):l3(t,n))}function d3(t,e,n,r){return dh(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function h3(t,e,n,r){return dh(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||p3(t,n,r)}function p3(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(gi(t,Be.create(r,0,r.content.size)),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)gi(t,Be.create(r,s+1,s+1+a.content.size));else if(Ae.isSelectable(a))gi(t,Ae.create(r,s));else continue;return!0}}function hh(t){return ts(t)}const uv=Vt?"metaKey":"ctrlKey";wt.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=hh(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&c3(n,t.input.lastClick)&&!n[uv]&&(t.input.lastClick.type=="singleClick"?o="doubleClick":t.input.lastClick.type=="doubleClick"&&(o="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=t.posAtCoords(Vs(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new g3(t,a,n,!!r)):(o=="doubleClick"?d3:h3)(t,a.pos,a.inside,n)?n.preventDefault():ir(t,"pointer"))};class g3{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[uv],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=e.state.doc.nodeAt(n.inside),a=n.inside;else{let u=e.state.doc.resolve(n.pos);o=u.parent,a=u.depth?u.before():0}const s=i?null:r.target,c=s?e.docView.nearestDesc(s,!0):null;this.target=c&&c.dom.nodeType==1?c.dom:null;let{selection:l}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||l instanceof Ae&&l.from<=a&&l.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&on&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),ir(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Nn(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Vs(e))),this.updateAllowDefault(e),this.allowDefault||!n?ir(this.view,"pointer"):f3(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Dt&&this.mightDrag&&!this.mightDrag.node.isAtom||ht&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(gi(this.view,Fe.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):ir(this.view,"pointer")}move(e){this.updateAllowDefault(e),ir(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}wt.touchstart=t=>{t.input.lastTouch=Date.now(),hh(t),ir(t,"pointer")};wt.touchmove=t=>{t.input.lastTouch=Date.now(),ir(t,"pointer")};wt.contextmenu=t=>hh(t);function fv(t,e){return t.composing?!0:Dt&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const m3=Rn?5e3:-1;_t.compositionstart=_t.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof Be&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),ts(t,!0),t.markCursor=null;else if(ts(t,!e.selection.empty),on&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){let s=t.domSelection();s&&s.collapse(a,a.nodeValue.length);break}else i=a,o=-1}}t.input.composing=!0}dv(t,m3)};_t.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,dv(t,20))};function dv(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>ts(t),e))}function hv(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=b3());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function y3(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=lT(e.focusNode,e.focusOffset),r=uT(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let i=r.pmViewDesc,o=t.domObserver.lastChangedTextNode;if(n==o||r==o)return o;if(!i||!i.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let a=n.pmViewDesc;if(!(!a||!a.isText(n.nodeValue)))return r}}return n||r}function b3(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function ts(t,e=!1){if(!(Rn&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),hv(t),e||t.docView&&t.docView.dirty){let n=ch(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!t.state.selection.empty?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function v3(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const vo=At&&ar<15||_i&&gT<604;wt.copy=_t.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=vo?null:n.clipboardData,a=r.content(),{dom:s,text:c}=uh(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",c)):v3(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function x3(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function D3(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?xo(t,r.value,null,i,e):xo(t,r.textContent,r.innerHTML,i,e)},50)}function xo(t,e,n,r,i){let o=iv(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",c=>c(t,i,o||_e.empty)))return!0;if(!o)return!1;let a=x3(o),s=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(o);return t.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function pv(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}_t.paste=(t,e)=>{let n=e;if(t.composing&&!Rn)return;let r=vo?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&xo(t,pv(r),r.getData("text/html"),i,n)?n.preventDefault():D3(t,n)};class gv{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const mv=Vt?"altKey":"ctrlKey";wt.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,o=i.empty?null:t.posAtCoords(Vs(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof Ae?i.to-1:i.to))){if(r&&r.mightDrag)a=Ae.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let f=t.docView.nearestDesc(n.target,!0);f&&f.node.type.spec.draggable&&f!=t.docView&&(a=Ae.create(t.state.doc,f.posBefore))}}let s=(a||t.state.selection).content(),{dom:c,text:l,slice:u}=uh(t,s);(!n.dataTransfer.files.length||!ht||z0>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(vo?"Text":"text/html",c.innerHTML),n.dataTransfer.effectAllowed="copyMove",vo||n.dataTransfer.setData("text/plain",l),t.dragging=new gv(u,!n[mv],a)};wt.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};_t.dragover=_t.dragenter=(t,e)=>e.preventDefault();_t.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(Vs(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",p=>{a=p(a,t)}):a=iv(t,pv(n.dataTransfer),vo?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[mv]);if(t.someProp("handleDrop",p=>p(t,n,a||_e.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let c=a?N0(t.state.doc,o.pos,a):o.pos;c==null&&(c=o.pos);let l=t.state.tr;if(s){let{node:p}=r;p?p.replace(l):l.deleteSelection()}let u=l.mapping.map(c),f=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=l.doc;if(f?l.replaceRangeWith(u,u,a.content.firstChild):l.replaceRange(u,u,a),l.doc.eq(d))return;let h=l.doc.resolve(u);if(f&&Ae.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))l.setSelection(new Ae(h));else{let p=l.mapping.map(c);l.mapping.maps[l.mapping.maps.length-1].forEach((m,g,y,b)=>p=b),l.setSelection(lh(t,h,l.doc.resolve(p)))}t.focus(),t.dispatch(l.setMeta("uiEvent","drop"))};wt.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Nn(t)},20))};wt.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};wt.beforeinput=(t,e)=>{if(ht&&Rn&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",o=>o(t,Cr(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in _t)wt[t]=_t[t];function Do(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class ns{constructor(e,n){this.toDOM=e,this.spec=n||Or,this.side=this.spec.side||0}map(e,n,r,i){let{pos:o,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new pt(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof ns&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Do(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class cr{constructor(e,n){this.attrs=e,this.spec=n||Or}map(e,n,r,i){let o=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new pt(o,a,this)}valid(e,n){return n.from<n.to}eq(e){return this==e||e instanceof cr&&Do(this.attrs,e.attrs)&&Do(this.spec,e.spec)}static is(e){return e.type instanceof cr}destroy(){}}class ph{constructor(e,n){this.attrs=e,this.spec=n||Or}map(e,n,r,i){let o=e.mapResult(n.from+i,1);if(o.deleted)return null;let a=e.mapResult(n.to+i,-1);return a.deleted||a.pos<=o.pos?null:new pt(o.pos-r,a.pos-r,this)}valid(e,n){let{index:r,offset:i}=e.content.findIndex(n.from),o;return i==n.from&&!(o=e.child(r)).isText&&i+o.nodeSize==n.to}eq(e){return this==e||e instanceof ph&&Do(this.attrs,e.attrs)&&Do(this.spec,e.spec)}destroy(){}}class pt{constructor(e,n,r){this.from=e,this.to=n,this.type=r}copy(e,n){return new pt(e,n,this.type)}eq(e,n=0){return this.type.eq(e.type)&&this.from+n==e.from&&this.to+n==e.to}map(e,n,r){return this.type.map(e,this,n,r)}static widget(e,n,r){return new pt(e,e,new ns(n,r))}static inline(e,n,r,i){return new pt(e,n,new cr(r,i))}static node(e,n,r,i){return new pt(e,n,new ph(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof cr}get widget(){return this.type instanceof ns}}const li=[],Or={};class Je{constructor(e,n){this.local=e.length?e:li,this.children=n.length?n:li}static create(e,n){return n.length?rs(n,e,0,Or):dt}find(e,n,r){let i=[];return this.findInner(e??0,n??1e9,i,0,r),i}findInner(e,n,r,i,o){for(let a=0;a<this.local.length;a++){let s=this.local[a];s.from<=n&&s.to>=e&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<n&&this.children[a+1]>e){let s=this.children[a]+1;this.children[a+2].findInner(e-s,n-s,r,i+s,o)}}map(e,n,r){return this==dt||e.maps.length==0?this:this.mapInner(e,n,0,0,r||Or)}mapInner(e,n,r,i,o){let a;for(let s=0;s<this.local.length;s++){let c=this.local[s].map(e,r,i);c&&c.type.valid(n,c)?(a||(a=[])).push(c):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?w3(this.children,a||[],e,n,r,i,o):a?new Je(a.sort(Rr),li):dt}add(e,n){return n.length?this==dt?Je.create(e,n):this.addInner(e,n,0):this}addInner(e,n,r){let i,o=0;e.forEach((s,c)=>{let l=c+r,u;if(u=bv(n,s,l)){for(i||(i=this.children.slice());o<i.length&&i[o]<c;)o+=3;i[o]==c?i[o+2]=i[o+2].addInner(s,u,l+1):i.splice(o,0,c,c+s.nodeSize,rs(u,s,l+1,Or)),o+=3}});let a=yv(o?vv(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||a.splice(s--,1);return new Je(a.length?this.local.concat(a).sort(Rr):this.local,i||this.children)}remove(e){return e.length==0||this==dt?this:this.removeInner(e,0)}removeInner(e,n){let r=this.children,i=this.local;for(let o=0;o<r.length;o+=3){let a,s=r[o]+n,c=r[o+1]+n;for(let u=0,f;u<e.length;u++)(f=e[u])&&f.from>s&&f.to<c&&(e[u]=null,(a||(a=[])).push(f));if(!a)continue;r==this.children&&(r=this.children.slice());let l=r[o+2].removeInner(a,s+1);l!=dt?r[o+2]=l:(r.splice(o,3),o-=3)}if(i.length){for(let o=0,a;o<e.length;o++)if(a=e[o])for(let s=0;s<i.length;s++)i[s].eq(a,n)&&(i==this.local&&(i=this.local.slice()),i.splice(s--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new Je(i,r):dt}forChild(e,n){if(this==dt)return this;if(n.isLeaf)return Je.empty;let r,i;for(let s=0;s<this.children.length;s+=3)if(this.children[s]>=e){this.children[s]==e&&(r=this.children[s+2]);break}let o=e+1,a=o+n.content.size;for(let s=0;s<this.local.length;s++){let c=this.local[s];if(c.from<a&&c.to>o&&c.type instanceof cr){let l=Math.max(o,c.from)-o,u=Math.min(a,c.to)-o;l<u&&(i||(i=[])).push(c.copy(l,u))}}if(i){let s=new Je(i.sort(Rr),li);return r?new Qn([s,r]):s}return r||dt}eq(e){if(this==e)return!0;if(!(e instanceof Je)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let n=0;n<this.local.length;n++)if(!this.local[n].eq(e.local[n]))return!1;for(let n=0;n<this.children.length;n+=3)if(this.children[n]!=e.children[n]||this.children[n+1]!=e.children[n+1]||!this.children[n+2].eq(e.children[n+2]))return!1;return!0}locals(e){return gh(this.localsInner(e))}localsInner(e){if(this==dt)return li;if(e.inlineContent||!this.local.some(cr.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof cr||n.push(this.local[r]);return n}forEachSet(e){e(this)}}Je.empty=new Je([],[]);Je.removeOverlap=gh;const dt=Je.empty;class Qn{constructor(e){this.members=e}map(e,n){const r=this.members.map(i=>i.map(e,n,Or));return Qn.from(r)}forChild(e,n){if(n.isLeaf)return Je.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,n);o!=dt&&(o instanceof Qn?r=r.concat(o.members):r.push(o))}return Qn.from(r)}eq(e){if(!(e instanceof Qn)||e.members.length!=this.members.length)return!1;for(let n=0;n<this.members.length;n++)if(!this.members[n].eq(e.members[n]))return!1;return!0}locals(e){let n,r=!0;for(let i=0;i<this.members.length;i++){let o=this.members[i].localsInner(e);if(o.length)if(!n)n=o;else{r&&(n=n.slice(),r=!1);for(let a=0;a<o.length;a++)n.push(o[a])}}return n?gh(r?n:n.sort(Rr)):li}static from(e){switch(e.length){case 0:return dt;case 1:return e[0];default:return new Qn(e.every(n=>n instanceof Je)?e:e.reduce((n,r)=>n.concat(r instanceof Je?r:r.members),[]))}}forEachSet(e){for(let n=0;n<this.members.length;n++)this.members[n].forEachSet(e)}}function w3(t,e,n,r,i,o,a){let s=t.slice();for(let l=0,u=o;l<n.maps.length;l++){let f=0;n.maps[l].forEach((d,h,p,m)=>{let g=m-p-(h-d);for(let y=0;y<s.length;y+=3){let b=s[y+1];if(b<0||d>b+u-f)continue;let v=s[y]+u-f;h>=v?s[y+1]=d<=v?-2:-1:d>=u&&g&&(s[y]+=g,s[y+1]+=g)}f+=g}),u=n.maps[l].map(u,-1)}let c=!1;for(let l=0;l<s.length;l+=3)if(s[l+1]<0){if(s[l+1]==-2){c=!0,s[l+1]=-1;continue}let u=n.map(t[l]+o),f=u-i;if(f<0||f>=r.content.size){c=!0;continue}let d=n.map(t[l+1]+o,-1),h=d-i,{index:p,offset:m}=r.content.findIndex(f),g=r.maybeChild(p);if(g&&m==f&&m+g.nodeSize==h){let y=s[l+2].mapInner(n,g,u+1,t[l]+o+1,a);y!=dt?(s[l]=f,s[l+1]=h,s[l+2]=y):(s[l+1]=-2,c=!0)}else c=!0}if(c){let l=_3(s,t,e,n,i,o,a),u=rs(l,r,0,a);e=u.local;for(let f=0;f<s.length;f+=3)s[f+1]<0&&(s.splice(f,3),f-=3);for(let f=0,d=0;f<u.children.length;f+=3){let h=u.children[f];for(;d<s.length&&s[d]<h;)d+=3;s.splice(d,0,u.children[f],u.children[f+1],u.children[f+2])}}return new Je(e.sort(Rr),s)}function yv(t,e){if(!e||!t.length)return t;let n=[];for(let r=0;r<t.length;r++){let i=t[r];n.push(new pt(i.from+e,i.to+e,i.type))}return n}function _3(t,e,n,r,i,o,a){function s(c,l){for(let u=0;u<c.local.length;u++){let f=c.local[u].map(r,i,l);f?n.push(f):a.onRemove&&a.onRemove(c.local[u].spec)}for(let u=0;u<c.children.length;u+=3)s(c.children[u+2],c.children[u]+l+1)}for(let c=0;c<t.length;c+=3)t[c+1]==-1&&s(t[c+2],e[c]+o+1);return n}function bv(t,e,n){if(e.isLeaf)return null;let r=n+e.nodeSize,i=null;for(let o=0,a;o<t.length;o++)(a=t[o])&&a.from>n&&a.to<r&&((i||(i=[])).push(a),t[o]=null);return i}function vv(t){let e=[];for(let n=0;n<t.length;n++)t[n]!=null&&e.push(t[n]);return e}function rs(t,e,n,r){let i=[],o=!1;e.forEach((s,c)=>{let l=bv(t,s,c+n);if(l){o=!0;let u=rs(l,s,n+c+1,r);u!=dt&&i.push(c,c+s.nodeSize,u)}});let a=yv(o?vv(t):t,-n).sort(Rr);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||i.length?new Je(a,i):dt}function Rr(t,e){return t.from-e.from||t.to-e.to}function gh(t){let e=t;for(let n=0;n<e.length-1;n++){let r=e[n];if(r.from!=r.to)for(let i=n+1;i<e.length;i++){let o=e[i];if(o.from==r.from){o.to!=r.to&&(e==t&&(e=t.slice()),e[i]=o.copy(o.from,r.to),Wg(e,i+1,o.copy(r.to,o.to)));continue}else{o.from<r.to&&(e==t&&(e=t.slice()),e[n]=r.copy(r.from,o.from),Wg(e,i,r.copy(o.from,r.to)));break}}}return e}function Wg(t,e,n){for(;e<t.length&&Rr(n,t[e])>0;)e++;t.splice(e,0,n)}function Lc(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=dt&&e.push(r)}),t.cursorWrapper&&e.push(Je.create(t.state.doc,[t.cursorWrapper.deco])),Qn.from(e)}const T3={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},E3=At&&ar<=11;class C3{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class S3{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new C3,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;i<r.length;i++)this.queue.push(r[i]);At&&ar<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),E3&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,T3)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;n<e.length;n++)this.queue.push(e[n]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(kg(this.view)){if(this.suppressingSelectionUpdates)return Nn(this.view);if(At&&ar<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Mr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let o=e.focusNode;o;o=bo(o))n.add(o);for(let o=e.anchorNode;o;o=bo(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&kg(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,c=[];if(e.editable)for(let u=0;u<n.length;u++){let f=this.registerMutation(n[u],c);f&&(o=o<0?f.from:Math.min(f.from,o),a=a<0?f.to:Math.max(f.to,a),f.typeOver&&(s=!0))}if(on&&c.length){let u=c.filter(f=>f.nodeName=="BR");if(u.length==2){let[f,d]=u;f.parentNode&&f.parentNode.parentNode==d.parentNode?d.remove():f.remove()}else{let{focusNode:f}=this.currentSelection;for(let d of u){let h=d.parentNode;h&&h.nodeName=="LI"&&(!f||k3(e,f)!=h)&&d.remove()}}}let l=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&js(r)&&(l=ch(e))&&l.eq(Fe.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Nn(e),this.currentSelection.set(r)):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,a),A3(e)),this.handleDOMChange(o,a,s,c),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Nn(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let u=0;u<e.addedNodes.length;u++){let f=e.addedNodes[u];n.push(f),f.nodeType==3&&(this.lastChangedTextNode=f)}if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let i=e.previousSibling,o=e.nextSibling;if(At&&ar<=11&&e.addedNodes.length)for(let u=0;u<e.addedNodes.length;u++){let{previousSibling:f,nextSibling:d}=e.addedNodes[u];(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(i=f),(!d||Array.prototype.indexOf.call(e.addedNodes,d)<0)&&(o=d)}let a=i&&i.parentNode==e.target?ut(i)+1:0,s=r.localPosFromDOM(e.target,a,-1),c=o&&o.parentNode==e.target?ut(o):e.target.childNodes.length,l=r.localPosFromDOM(e.target,c,1);return{from:s,to:l}}else return e.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:(this.lastChangedTextNode=e.target,{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}}let Lg=new WeakMap,Pg=!1;function A3(t){if(!Lg.has(t)&&(Lg.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=on,Pg)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Pg=!0}}function qg(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,a=t.domAtPos(t.state.selection.anchor);return Mr(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function U3(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return qg(t,i)}let n;function r(i){i.preventDefault(),i.stopImmediatePropagation(),n=i.getTargetRanges()[0]}return t.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",r,!0),n?qg(t,n):null}function k3(t,e){for(let n=e.parentNode;n&&n!=t.dom;n=n.parentNode){let r=t.docView.nearestDesc(n,!0);if(r&&r.node.isBlock)return n}return null}function F3(t,e,n){let{node:r,fromOffset:i,toOffset:o,from:a,to:s}=t.docView.parseRange(e,n),c=t.domSelectionRange(),l,u=c.anchorNode;if(u&&t.dom.contains(u.nodeType==1?u:u.parentNode)&&(l=[{node:u,offset:c.anchorOffset}],js(c)||l.push({node:c.focusNode,offset:c.focusOffset})),ht&&t.input.lastKeyCode===8)for(let g=o;g>i;g--){let y=r.childNodes[g-1],b=y.pmViewDesc;if(y.nodeName=="BR"&&!b){o=g;break}if(!b||b.size)break}let f=t.state.doc,d=t.someProp("domParser")||xi.fromSchema(t.state.schema),h=f.resolve(a),p=null,m=d.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:i,to:o,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:l,ruleFromNode:O3,context:h});if(l&&l[0].pos!=null){let g=l[0].pos,y=l[1]&&l[1].pos;y==null&&(y=g),p={anchor:g+a,head:y+a}}return{doc:m,sel:p,from:a,to:s}}function O3(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(Dt&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||Dt&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const R3=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function N3(t,e,n,r,i){let o=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let C=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,R=ch(t,C);if(R&&!t.state.selection.eq(R)){if(ht&&Rn&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",_=>_(t,Cr(13,"Enter"))))return;let L=t.state.tr.setSelection(R);C=="pointer"?L.setMeta("pointer",!0):C=="key"&&L.scrollIntoView(),o&&L.setMeta("composition",o),t.dispatch(L)}return}let a=t.state.doc.resolve(e),s=a.sharedDepth(n);e=a.before(s+1),n=t.state.doc.resolve(n).after(s+1);let c=t.state.selection,l=F3(t,e,n),u=t.state.doc,f=u.slice(l.from,l.to),d,h;t.input.lastKeyCode===8&&Date.now()-100<t.input.lastKeyCodeTime?(d=t.state.selection.to,h="end"):(d=t.state.selection.from,h="start"),t.input.lastKeyCode=null;let p=M3(f.content,l.doc.content,l.from,d,h);if(p&&t.input.domChangeCount++,(_i&&t.input.lastIOSEnter>Date.now()-225||Rn)&&i.some(C=>C.nodeType==1&&!R3.test(C.nodeName))&&(!p||p.endA>=p.endB)&&t.someProp("handleKeyDown",C=>C(t,Cr(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!p)if(r&&c instanceof Be&&!c.empty&&c.$head.sameParent(c.$anchor)&&!t.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))p={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let C=zg(t,t.state.doc,l.sel);if(C&&!C.eq(t.state.selection)){let R=t.state.tr.setSelection(C);o&&R.setMeta("composition",o),t.dispatch(R)}}return}t.state.selection.from<t.state.selection.to&&p.start==p.endB&&t.state.selection instanceof Be&&(p.start>t.state.selection.from&&p.start<=t.state.selection.from+2&&t.state.selection.from>=l.from?p.start=t.state.selection.from:p.endA<t.state.selection.to&&p.endA>=t.state.selection.to-2&&t.state.selection.to<=l.to&&(p.endB+=t.state.selection.to-p.endA,p.endA=t.state.selection.to)),At&&ar<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>l.from&&l.doc.textBetween(p.start-l.from-1,p.start-l.from+1)=="  "&&(p.start--,p.endA--,p.endB--);let m=l.doc.resolveNoCache(p.start-l.from),g=l.doc.resolveNoCache(p.endB-l.from),y=u.resolve(p.start),b=m.sameParent(g)&&m.parent.inlineContent&&y.end()>=p.endA,v;if((_i&&t.input.lastIOSEnter>Date.now()-225&&(!b||i.some(C=>C.nodeName=="DIV"||C.nodeName=="P"))||!b&&m.pos<l.doc.content.size&&!m.sameParent(g)&&(v=Fe.findFrom(l.doc.resolve(m.pos+1),1,!0))&&v.head==g.pos)&&t.someProp("handleKeyDown",C=>C(t,Cr(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>p.start&&I3(u,p.start,p.endA,m,g)&&t.someProp("handleKeyDown",C=>C(t,Cr(8,"Backspace")))){Rn&&ht&&t.domObserver.suppressSelectionUpdates();return}ht&&p.endB==p.start&&(t.input.lastChromeDelete=Date.now()),Rn&&!b&&m.start()!=g.start()&&g.parentOffset==0&&m.depth==g.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==p.endA&&(p.endB-=2,g=l.doc.resolveNoCache(p.endB-l.from),setTimeout(()=>{t.someProp("handleKeyDown",function(C){return C(t,Cr(13,"Enter"))})},20));let T=p.start,w=p.endA,E,S,U;if(b){if(m.pos==g.pos)At&&ar<=11&&m.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Nn(t),20)),E=t.state.tr.delete(T,w),S=u.resolve(p.start).marksAcross(u.resolve(p.endA));else if(p.endA==p.endB&&(U=B3(m.parent.content.cut(m.parentOffset,g.parentOffset),y.parent.content.cut(y.parentOffset,p.endA-y.start()))))E=t.state.tr,U.type=="add"?E.addMark(T,w,U.mark):E.removeMark(T,w,U.mark);else if(m.parent.child(m.index()).isText&&m.index()==g.index()-(g.textOffset?0:1)){let C=m.parent.textBetween(m.parentOffset,g.parentOffset);if(t.someProp("handleTextInput",R=>R(t,T,w,C)))return;E=t.state.tr.insertText(C,T,w)}}if(E||(E=t.state.tr.replace(T,w,l.doc.slice(p.start-l.from,p.endB-l.from))),l.sel){let C=zg(t,E.doc,l.sel);C&&!(ht&&t.composing&&C.empty&&(p.start!=p.endB||t.input.lastChromeDelete<Date.now()-100)&&(C.head==T||C.head==E.mapping.map(w)-1)||At&&C.empty&&C.head==T)&&E.setSelection(C)}S&&E.ensureMarks(S),o&&E.setMeta("composition",o),t.dispatch(E.scrollIntoView())}function zg(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:lh(t,e.resolve(n.anchor),e.resolve(n.head))}function B3(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,o=r,a,s,c;for(let u=0;u<r.length;u++)i=r[u].removeFromSet(i);for(let u=0;u<n.length;u++)o=n[u].removeFromSet(o);if(i.length==1&&o.length==0)s=i[0],a="add",c=u=>u.mark(s.addToSet(u.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",c=u=>u.mark(s.removeFromSet(u.marks));else return null;let l=[];for(let u=0;u<e.childCount;u++)l.push(c(e.child(u)));if(pe.from(l).eq(t))return{mark:s,type:a}}function I3(t,e,n,r,i){if(n-e<=i.pos-r.pos||Pc(r,!0,!1)<i.pos)return!1;let o=t.resolve(e);if(!r.parent.isTextblock){let s=o.nodeAfter;return s!=null&&n==e+s.nodeSize}if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let a=t.resolve(Pc(o,!0,!0));return!a.parent.isTextblock||a.pos>n||Pc(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function Pc(t,e,n){let r=t.depth,i=e?t.end():t.pos;for(;r>0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let o=t.node(r).maybeChild(t.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function M3(t,e,n,r,i){let o=t.findDiffStart(e,n);if(o==null)return null;let{a,b:s}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let c=Math.max(0,o-Math.min(a,s));r-=a+c-o}if(a<o&&t.size<e.size){let c=r<=o&&r>=a?o-r:0;o-=c,o&&o<e.size&&jg(e.textBetween(o-1,o+1))&&(o+=c?1:-1),s=o+(s-a),a=o}else if(s<o){let c=r<=o&&r>=s?o-r:0;o-=c,o&&o<t.size&&jg(t.textBetween(o-1,o+1))&&(o+=c?1:-1),a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function jg(t){if(t.length!=2)return!1;let e=t.charCodeAt(0),n=t.charCodeAt(1);return e>=56320&&e<=57343&&n>=55296&&n<=56319}class W3{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new r3,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(Gg),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Hg(this),Vg(this),this.nodeViews=Xg(this),this.docView=Tg(this.state.doc,$g(this),Lc(this),this.dom,this),this.domObserver=new S3(this,(r,i,o,a)=>N3(this,r,i,o,a)),this.domObserver.start(),i3(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&yd(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Gg),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,o=!1,a=!1;e.storedMarks&&this.composing&&(hv(this),a=!0),this.state=e;let s=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=Xg(this);P3(h,this.nodeViews)&&(this.nodeViews=h,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&yd(this),this.editable=Hg(this),Vg(this);let c=Lc(this),l=$g(this),u=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",f=o||!this.docView.matchesNode(e.doc,l,c);(f||!e.selection.eq(i.selection))&&(a=!0);let d=u=="preserve"&&a&&this.dom.style.overflowAnchor==null&&bT(this);if(a){this.domObserver.stop();let h=f&&(At||ht)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&L3(i.selection,e.selection);if(f){let p=ht?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=y3(this)),(o||!this.docView.update(e.doc,l,c,this))&&(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=Tg(e.doc,l,c,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&zT(this))?Nn(this,h):(tv(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),u=="reset"?this.dom.scrollTop=0:u=="to selection"?this.scrollToSelection():d&&vT(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Ae){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&bg(this,n.getBoundingClientRect(),e)}else bg(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n<this.directPlugins.length;n++){let r=this.directPlugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let n=0;n<this.state.plugins.length;n++){let r=this.state.plugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let n=0;n<this.pluginViews.length;n++){let r=this.pluginViews[n];r.update&&r.update(this,e)}}updateDraggedNode(e,n){let r=e.node,i=-1;if(this.state.doc.nodeAt(r.from)==r.node)i=r.from;else{let o=r.from+(this.state.doc.content.size-n.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new gv(e.slice,e.move,i<0?void 0:Ae.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;a<this.directPlugins.length;a++){let s=this.directPlugins[a].props[e];if(s!=null&&(i=n?n(s):s))return i}let o=this.state.plugins;if(o)for(let a=0;a<o.length;a++){let s=o[a].props[e];if(s!=null&&(i=n?n(s):s))return i}}hasFocus(){if(At){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&xT(this.dom),Nn(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let n=this.dom.parentNode;n;n=n.parentNode)if(n.nodeType==9||n.nodeType==11&&n.host)return n.getSelection||(Object.getPrototypeOf(n).getSelection=()=>n.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return ET(this,e)}coordsAtPos(e,n=1){return X0(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return kT(this,n||this.state,e)}pasteHTML(e,n){return xo(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return xo(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return uh(this,e)}destroy(){this.docView&&(o3(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Lc(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,sT())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return s3(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection();return e?Dt&&this.root.nodeType===11&&dT(this.dom.ownerDocument)==this.dom&&U3(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function $g(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[pt.node(0,t.state.doc.content.size,e)]}function Vg(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:pt.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Hg(t){return!t.someProp("editable",e=>e(t.state)===!1)}function L3(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function Xg(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function P3(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}function Gg(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var lr={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},is={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},q3=typeof navigator<"u"&&/Mac/.test(navigator.platform),z3=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var ft=0;ft<10;ft++)lr[48+ft]=lr[96+ft]=String(ft);for(var ft=1;ft<=24;ft++)lr[ft+111]="F"+ft;for(var ft=65;ft<=90;ft++)lr[ft]=String.fromCharCode(ft+32),is[ft]=String.fromCharCode(ft);for(var qc in lr)is.hasOwnProperty(qc)||(is[qc]=lr[qc]);function j3(t){var e=q3&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||z3&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?is:lr)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const $3=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function V3(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s<e.length-1;s++){let c=e[s];if(/^(cmd|meta|m)$/i.test(c))a=!0;else if(/^a(lt)?$/i.test(c))r=!0;else if(/^(c|ctrl|control)$/i.test(c))i=!0;else if(/^s(hift)?$/i.test(c))o=!0;else if(/^mod$/i.test(c))$3?a=!0:i=!0;else throw new Error("Unrecognized modifier name: "+c)}return r&&(n="Alt-"+n),i&&(n="Ctrl-"+n),a&&(n="Meta-"+n),o&&(n="Shift-"+n),n}function H3(t){let e=Object.create(null);for(let n in t)e[V3(n)]=t[n];return e}function zc(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function X3(t){return new jr({props:{handleKeyDown:mh(t)}})}function mh(t){let e=H3(t);return function(n,r){let i=j3(r),o,a=e[zc(i,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let s=e[zc(i,r,!1)];if(s&&s(n.state,n.dispatch,n))return!0}if((r.shiftKey||r.altKey||r.metaKey||i.charCodeAt(0)>127)&&(o=lr[r.keyCode])&&o!=i){let s=e[zc(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}const yh=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function xv(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const Dv=(t,e,n)=>{let r=xv(t,n);if(!r)return!1;let i=bh(r);if(!i){let a=r.blockRange(),s=a&&Ai(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(kv(t,i,e,-1))return!0;if(r.parent.content.size==0&&(Ti(o,"end")||Ae.isSelectable(o)))for(let a=r.depth;;a--){let s=qs(t.doc,r.before(a),r.after(a),_e.empty);if(s&&s.slice.size<s.to-s.from){if(e){let c=t.tr.step(s);c.setSelection(Ti(o,"end")?Fe.findFrom(c.doc.resolve(c.mapping.map(i.pos,-1)),-1):Ae.create(c.doc,i.pos-o.nodeSize)),e(c.scrollIntoView())}return!0}if(a==1||r.node(a-1).childCount>1)break}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1},G3=(t,e,n)=>{let r=xv(t,n);if(!r)return!1;let i=bh(r);return i?wv(t,i,e):!1},K3=(t,e,n)=>{let r=Tv(t,n);if(!r)return!1;let i=vh(r);return i?wv(t,i,e):!1};function wv(t,e,n){let r=e.nodeBefore,i=r,o=e.pos-1;for(;!i.isTextblock;o--){if(i.type.spec.isolating)return!1;let u=i.lastChild;if(!u)return!1;i=u}let a=e.nodeAfter,s=a,c=e.pos+1;for(;!s.isTextblock;c++){if(s.type.spec.isolating)return!1;let u=s.firstChild;if(!u)return!1;s=u}let l=qs(t.doc,o,c,_e.empty);if(!l||l.from!=o||l instanceof ot&&l.slice.size>=c-o)return!1;if(n){let u=t.tr.step(l);u.setSelection(Be.create(u.doc,o)),n(u.scrollIntoView())}return!0}function Ti(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const _v=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;o=bh(r)}let a=o&&o.nodeBefore;return!a||!Ae.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ae.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function bh(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function Tv(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)?null:n}const Ev=(t,e,n)=>{let r=Tv(t,n);if(!r)return!1;let i=vh(r);if(!i)return!1;let o=i.nodeAfter;if(kv(t,i,e,1))return!0;if(r.parent.content.size==0&&(Ti(o,"start")||Ae.isSelectable(o))){let a=qs(t.doc,r.before(),r.after(),_e.empty);if(a&&a.slice.size<a.to-a.from){if(e){let s=t.tr.step(a);s.setSelection(Ti(o,"start")?Fe.findFrom(s.doc.resolve(s.mapping.map(i.pos)),1):Ae.create(s.doc,s.mapping.map(i.pos))),e(s.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0):!1},Cv=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset<r.parent.content.size)return!1;o=vh(r)}let a=o&&o.nodeAfter;return!a||!Ae.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ae.create(t.doc,o.pos)).scrollIntoView()),!0)};function vh(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let n=t.node(e);if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1));if(n.type.spec.isolating)break}return null}const J3=(t,e)=>{let n=t.selection,r=n instanceof Ae,i;if(r){if(n.node.isTextblock||!Ui(t.doc,n.from))return!1;i=n.from}else if(i=rh(t.doc,n.from,-1),i==null)return!1;if(e){let o=t.tr.join(i);r&&o.setSelection(Ae.create(o.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},Z3=(t,e)=>{let n=t.selection,r;if(n instanceof Ae){if(n.node.isTextblock||!Ui(t.doc,n.to))return!1;r=n.to}else if(r=rh(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},Y3=(t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),o=i&&Ai(i);return o==null?!1:(e&&e(t.tr.lift(i,o).scrollIntoView()),!0)},Sv=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(`
10
- `).scrollIntoView()),!0)};function xh(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const Q3=(t,e)=>{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=xh(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=n.after(),c=t.tr.replaceWith(s,s,a.createAndFill());c.setSelection(Fe.near(c.doc.resolve(s),1)),e(c.scrollIntoView())}return!0},Av=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof It||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=xh(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,s=t.tr.insert(a,o.createAndFill());s.setSelection(Be.create(s.doc,a+1)),e(s.scrollIntoView())}return!0},Uv=(t,e)=>{let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(hi(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Ai(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)};function eE(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof Ae&&e.selection.node.isBlock)return!r.parentOffset||!hi(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let o=[],a,s,c=!1,l=!1;for(let h=r.depth;;h--)if(r.node(h).isBlock){c=r.end(h)==r.pos+(r.depth-h),l=r.start(h)==r.pos-(r.depth-h),s=xh(r.node(h-1).contentMatchAt(r.indexAfter(h-1))),o.unshift(c&&s?{type:s}:null),a=h;break}else{if(h==1)return!1;o.unshift(null)}let u=e.tr;(e.selection instanceof Be||e.selection instanceof It)&&u.deleteSelection();let f=u.mapping.map(r.pos),d=hi(u.doc,f,o.length,o);if(d||(o[0]=s?{type:s}:null,d=hi(u.doc,f,o.length,o)),u.split(f,o.length,o),!c&&l&&r.node(a).type!=s){let h=u.mapping.map(r.before(a)),p=u.doc.resolve(h);s&&r.node(a-1).canReplaceWith(p.index(),p.index()+1,s)&&u.setNodeMarkup(u.mapping.map(r.before(a)),s)}return n&&n(u.scrollIntoView()),!0}}const tE=eE(),nE=(t,e)=>{let{$from:n,to:r}=t.selection,i,o=n.sharedDepth(r);return o==0?!1:(i=n.before(o),e&&e(t.tr.setSelection(Ae.create(t.doc,i))),!0)};function rE(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||Ui(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function kv(t,e,n,r){let i=e.nodeBefore,o=e.nodeAfter,a,s,c=i.type.spec.isolating||o.type.spec.isolating;if(!c&&rE(t,e,n))return!0;let l=!c&&e.parent.canReplace(e.index(),e.index()+1);if(l&&(a=(s=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&s.matchType(a[0]||o.type).validEnd){if(n){let h=e.pos+o.nodeSize,p=pe.empty;for(let y=a.length-1;y>=0;y--)p=pe.from(a[y].create(null,p));p=pe.from(i.copy(p));let m=t.tr.step(new at(e.pos-1,h,e.pos,h,new _e(p,1,0),a.length,!0)),g=m.doc.resolve(h+2*a.length);g.nodeAfter&&g.nodeAfter.type==i.type&&Ui(m.doc,g.pos)&&m.join(g.pos),n(m.scrollIntoView())}return!0}let u=o.type.spec.isolating||r>0&&c?null:Fe.findFrom(e,1),f=u&&u.$from.blockRange(u.$to),d=f&&Ai(f);if(d!=null&&d>=e.depth)return n&&n(t.tr.lift(f,d).scrollIntoView()),!0;if(l&&Ti(o,"start",!0)&&Ti(i,"end")){let h=i,p=[];for(;p.push(h),!h.isTextblock;)h=h.lastChild;let m=o,g=1;for(;!m.isTextblock;m=m.firstChild)g++;if(h.canReplace(h.childCount,h.childCount,m.content)){if(n){let y=pe.empty;for(let v=p.length-1;v>=0;v--)y=pe.from(p[v].copy(y));let b=t.tr.step(new at(e.pos-p.length,e.pos+o.nodeSize,e.pos+g,e.pos+o.nodeSize-g,new _e(y,p.length,0),0,!0));n(b.scrollIntoView())}return!0}}return!1}function Fv(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(e.tr.setSelection(Be.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}const iE=Fv(-1),oE=Fv(1);function aE(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&nh(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function sE(t,e=null){return function(n,r){let i=!1;for(let o=0;o<n.selection.ranges.length&&!i;o++){let{$from:{pos:a},$to:{pos:s}}=n.selection.ranges[o];n.doc.nodesBetween(a,s,(c,l)=>{if(i)return!1;if(!(!c.isTextblock||c.hasMarkup(t,e)))if(c.type==t)i=!0;else{let u=n.doc.resolve(l),f=u.index();i=u.parent.canReplaceWith(f,f+1,t)}})}if(!i)return!1;if(r){let o=n.tr;for(let a=0;a<n.selection.ranges.length;a++){let{$from:{pos:s},$to:{pos:c}}=n.selection.ranges[a];o.setBlockType(s,c,t,e)}r(o.scrollIntoView())}return!0}}function Dh(...t){return function(e,n,r){for(let i=0;i<t.length;i++)if(t[i](e,n,r))return!0;return!1}}Dh(yh,Dv,_v);Dh(yh,Ev,Cv);Dh(Sv,Av,Uv,tE);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function cE(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o);if(!a)return!1;let s=r?n.tr:null;return lE(s,a,t,e)?(r&&r(s.scrollIntoView()),!0):!1}}function lE(t,e,n,r=null){let i=!1,o=e,a=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let c=a.resolve(e.start-2);o=new go(c,c,e.depth),e.endIndex<e.parent.childCount&&(e=new go(e.$from,a.resolve(e.$to.end(e.depth)),e.depth)),i=!0}let s=nh(o,n,r,e);return s?(t&&uE(t,e,s,i,n),!0):!1}function uE(t,e,n,r,i){let o=pe.empty;for(let u=n.length-1;u>=0;u--)o=pe.from(n[u].type.create(n[u].attrs,o));t.step(new at(e.start-(r?2:0),e.end,e.start,e.end,new _e(o,0,0),n.length,!0));let a=0;for(let u=0;u<n.length;u++)n[u].type==i&&(a=u+1);let s=n.length-a,c=e.start+n.length-(r?2:0),l=e.parent;for(let u=e.startIndex,f=e.endIndex,d=!0;u<f;u++,d=!1)!d&&hi(t.doc,c,s)&&(t.split(c,s),c+=2*s),c+=l.child(u).nodeSize;return t}function fE(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==t);return o?n?r.node(o.depth-1).type==t?dE(e,n,t,o):hE(e,n,o):!0:!1}}function dE(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new at(o-1,a,o,a,new _e(pe.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new go(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));const s=Ai(r);if(s==null)return!1;i.lift(r,s);let c=i.mapping.map(o,-1)-1;return Ui(i.doc,c)&&i.join(c),e(i.scrollIntoView()),!0}function hE(t,e,n){let r=t.tr,i=n.parent;for(let h=n.end,p=n.endIndex-1,m=n.startIndex;p>m;p--)h-=i.child(p).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==i.childCount,l=o.node(-1),u=o.index(-1);if(!l.canReplace(u+(s?0:1),u+1,a.content.append(c?pe.empty:pe.from(i))))return!1;let f=o.pos,d=f+a.nodeSize;return r.step(new at(f-(s?1:0),d+(c?1:0),f+1,d-1,new _e((s?pe.empty:pe.from(i.copy(pe.empty))).append(c?pe.empty:pe.from(i.copy(pe.empty))),s?0:1,c?0:1),s?0:1)),e(r.scrollIntoView()),!0}function pE(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,l=>l.childCount>0&&l.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,c=s.child(a-1);if(c.type!=t)return!1;if(n){let l=c.lastChild&&c.lastChild.type==s.type,u=pe.from(l?t.create():null),f=new _e(pe.from(t.create(null,pe.from(s.type.create(null,u)))),l?3:1,0),d=o.start,h=o.end;n(e.tr.step(new at(d-(l?3:1),h,d,h,f,1,!0)).scrollIntoView())}return!0}}var Ov=typeof global=="object"&&global&&global.Object===Object&&global,gE=typeof self=="object"&&self&&self.Object===Object&&self,xn=Ov||gE||Function("return this")(),bn=xn.Symbol,Rv=Object.prototype,mE=Rv.hasOwnProperty,yE=Rv.toString,Mi=bn?bn.toStringTag:void 0;function bE(t){var e=mE.call(t,Mi),n=t[Mi];try{t[Mi]=void 0;var r=!0}catch{}var i=yE.call(t);return r&&(e?t[Mi]=n:delete t[Mi]),i}var vE=Object.prototype,xE=vE.toString;function DE(t){return xE.call(t)}var wE="[object Null]",_E="[object Undefined]",Kg=bn?bn.toStringTag:void 0;function gr(t){return t==null?t===void 0?_E:wE:Kg&&Kg in Object(t)?bE(t):DE(t)}function In(t){return t!=null&&typeof t=="object"}var TE="[object Symbol]";function Hs(t){return typeof t=="symbol"||In(t)&&gr(t)==TE}function Nv(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var vn=Array.isArray,Jg=bn?bn.prototype:void 0,Zg=Jg?Jg.toString:void 0;function as(t){if(typeof t=="string")return t;if(vn(t))return Nv(t,as)+"";if(Hs(t))return Zg?Zg.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var EE=/\s/;function CE(t){for(var e=t.length;e--&&EE.test(t.charAt(e)););return e}var SE=/^\s+/;function AE(t){return t&&t.slice(0,CE(t)+1).replace(SE,"")}function ur(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Yg=NaN,UE=/^[-+]0x[0-9a-f]+$/i,kE=/^0b[01]+$/i,FE=/^0o[0-7]+$/i,OE=parseInt;function mi(t){if(typeof t=="number")return t;if(Hs(t))return Yg;if(ur(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=ur(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=AE(t);var n=kE.test(t);return n||FE.test(t)?OE(t.slice(2),n?2:8):UE.test(t)?Yg:+t}var RE=1/0,NE=17976931348623157e292;function BE(t){if(!t)return t===0?t:0;if(t=mi(t),t===RE||t===-1/0){var e=t<0?-1:1;return e*NE}return t===t?t:0}function IE(t){var e=BE(t),n=e%1;return e===e?n?e-n:e:0}function wh(t){return t}var ME="[object AsyncFunction]",WE="[object Function]",LE="[object GeneratorFunction]",PE="[object Proxy]";function Bv(t){if(!ur(t))return!1;var e=gr(t);return e==WE||e==LE||e==ME||e==PE}var jc=xn["__core-js_shared__"],Qg=function(){var t=/[^.]+$/.exec(jc&&jc.keys&&jc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function qE(t){return!!Qg&&Qg in t}var zE=Function.prototype,jE=zE.toString;function $r(t){if(t!=null){try{return jE.call(t)}catch{}try{return t+""}catch{}}return""}var $E=/[\\^$.*+?()[\]{}|]/g,VE=/^\[object .+?Constructor\]$/,HE=Function.prototype,XE=Object.prototype,GE=HE.toString,KE=XE.hasOwnProperty,JE=RegExp("^"+GE.call(KE).replace($E,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ZE(t){if(!ur(t)||qE(t))return!1;var e=Bv(t)?JE:VE;return e.test($r(t))}function YE(t,e){return t==null?void 0:t[e]}function Vr(t,e){var n=YE(t,e);return ZE(n)?n:void 0}var bd=Vr(xn,"WeakMap");function QE(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var eC=800,tC=16,nC=Date.now;function rC(t){var e=0,n=0;return function(){var r=nC(),i=tC-(r-n);if(n=r,i>0){if(++e>=eC)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function iC(t){return function(){return t}}var em=function(){try{var t=Vr(Object,"defineProperty");return t({},"",{}),t}catch{}}(),oC=em?function(t,e){return em(t,"toString",{configurable:!0,enumerable:!1,value:iC(e),writable:!0})}:wh,aC=rC(oC);function sC(t,e,n,r){for(var i=t.length,o=n+-1;++o<i;)if(e(t[o],o,t))return o;return-1}function cC(t){return t!==t}function lC(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function uC(t,e,n){return e===e?lC(t,e,n):sC(t,cC,n)}function fC(t,e){var n=t==null?0:t.length;return!!n&&uC(t,e,0)>-1}var dC=9007199254740991,hC=/^(?:0|[1-9]\d*)$/;function Iv(t,e){var n=typeof t;return e=e??dC,!!e&&(n=="number"||n!="symbol"&&hC.test(t))&&t>-1&&t%1==0&&t<e}function Mv(t,e){return t===e||t!==t&&e!==e}var tm=Math.max;function pC(t,e,n){return e=tm(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=tm(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),QE(t,this,s)}}function gC(t,e){return aC(pC(t,e,wh),t+"")}var mC=9007199254740991;function _h(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=mC}function Wv(t){return t!=null&&_h(t.length)&&!Bv(t)}var yC=Object.prototype;function bC(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||yC;return t===n}function vC(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var xC="[object Arguments]";function nm(t){return In(t)&&gr(t)==xC}var Lv=Object.prototype,DC=Lv.hasOwnProperty,wC=Lv.propertyIsEnumerable,Th=nm(function(){return arguments}())?nm:function(t){return In(t)&&DC.call(t,"callee")&&!wC.call(t,"callee")};function _C(){return!1}var Pv=typeof exports=="object"&&exports&&!exports.nodeType&&exports,rm=Pv&&typeof module=="object"&&module&&!module.nodeType&&module,TC=rm&&rm.exports===Pv,im=TC?xn.Buffer:void 0,EC=im?im.isBuffer:void 0,vd=EC||_C,CC="[object Arguments]",SC="[object Array]",AC="[object Boolean]",UC="[object Date]",kC="[object Error]",FC="[object Function]",OC="[object Map]",RC="[object Number]",NC="[object Object]",BC="[object RegExp]",IC="[object Set]",MC="[object String]",WC="[object WeakMap]",LC="[object ArrayBuffer]",PC="[object DataView]",qC="[object Float32Array]",zC="[object Float64Array]",jC="[object Int8Array]",$C="[object Int16Array]",VC="[object Int32Array]",HC="[object Uint8Array]",XC="[object Uint8ClampedArray]",GC="[object Uint16Array]",KC="[object Uint32Array]",Xe={};Xe[qC]=Xe[zC]=Xe[jC]=Xe[$C]=Xe[VC]=Xe[HC]=Xe[XC]=Xe[GC]=Xe[KC]=!0;Xe[CC]=Xe[SC]=Xe[LC]=Xe[AC]=Xe[PC]=Xe[UC]=Xe[kC]=Xe[FC]=Xe[OC]=Xe[RC]=Xe[NC]=Xe[BC]=Xe[IC]=Xe[MC]=Xe[WC]=!1;function JC(t){return In(t)&&_h(t.length)&&!!Xe[gr(t)]}function Eh(t){return function(e){return t(e)}}var qv=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ao=qv&&typeof module=="object"&&module&&!module.nodeType&&module,ZC=ao&&ao.exports===qv,$c=ZC&&Ov.process,ss=function(){try{var t=ao&&ao.require&&ao.require("util").types;return t||$c&&$c.binding&&$c.binding("util")}catch{}}(),om=ss&&ss.isTypedArray,zv=om?Eh(om):JC,YC=Object.prototype,QC=YC.hasOwnProperty;function eS(t,e){var n=vn(t),r=!n&&Th(t),i=!n&&!r&&vd(t),o=!n&&!r&&!i&&zv(t),a=n||r||i||o,s=a?vC(t.length,String):[],c=s.length;for(var l in t)QC.call(t,l)&&!(a&&(l=="length"||i&&(l=="offset"||l=="parent")||o&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Iv(l,c)))&&s.push(l);return s}function tS(t,e){return function(n){return t(e(n))}}var nS=tS(Object.keys,Object),rS=Object.prototype,iS=rS.hasOwnProperty;function oS(t){if(!bC(t))return nS(t);var e=[];for(var n in Object(t))iS.call(t,n)&&n!="constructor"&&e.push(n);return e}function jv(t){return Wv(t)?eS(t):oS(t)}var aS=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,sS=/^\w*$/;function Ch(t,e){if(vn(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Hs(t)?!0:sS.test(t)||!aS.test(t)||e!=null&&t in Object(e)}var wo=Vr(Object,"create");function cS(){this.__data__=wo?wo(null):{},this.size=0}function lS(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var uS="__lodash_hash_undefined__",fS=Object.prototype,dS=fS.hasOwnProperty;function hS(t){var e=this.__data__;if(wo){var n=e[t];return n===uS?void 0:n}return dS.call(e,t)?e[t]:void 0}var pS=Object.prototype,gS=pS.hasOwnProperty;function mS(t){var e=this.__data__;return wo?e[t]!==void 0:gS.call(e,t)}var yS="__lodash_hash_undefined__";function bS(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=wo&&e===void 0?yS:e,this}function Lr(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Lr.prototype.clear=cS;Lr.prototype.delete=lS;Lr.prototype.get=hS;Lr.prototype.has=mS;Lr.prototype.set=bS;function vS(){this.__data__=[],this.size=0}function Xs(t,e){for(var n=t.length;n--;)if(Mv(t[n][0],e))return n;return-1}var xS=Array.prototype,DS=xS.splice;function wS(t){var e=this.__data__,n=Xs(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():DS.call(e,n,1),--this.size,!0}function _S(t){var e=this.__data__,n=Xs(e,t);return n<0?void 0:e[n][1]}function TS(t){return Xs(this.__data__,t)>-1}function ES(t,e){var n=this.__data__,r=Xs(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Ln(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ln.prototype.clear=vS;Ln.prototype.delete=wS;Ln.prototype.get=_S;Ln.prototype.has=TS;Ln.prototype.set=ES;var _o=Vr(xn,"Map");function CS(){this.size=0,this.__data__={hash:new Lr,map:new(_o||Ln),string:new Lr}}function SS(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Gs(t,e){var n=t.__data__;return SS(e)?n[typeof e=="string"?"string":"hash"]:n.map}function AS(t){var e=Gs(this,t).delete(t);return this.size-=e?1:0,e}function US(t){return Gs(this,t).get(t)}function kS(t){return Gs(this,t).has(t)}function FS(t,e){var n=Gs(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Pn(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Pn.prototype.clear=CS;Pn.prototype.delete=AS;Pn.prototype.get=US;Pn.prototype.has=kS;Pn.prototype.set=FS;var OS="Expected a function";function Sh(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(OS);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Sh.Cache||Pn),n}Sh.Cache=Pn;var RS=500;function NS(t){var e=Sh(t,function(r){return n.size===RS&&n.clear(),r}),n=e.cache;return e}var BS=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,IS=/\\(\\)?/g,MS=NS(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(BS,function(n,r,i,o){e.push(i?o.replace(IS,"$1"):r||n)}),e});function xd(t){return t==null?"":as(t)}function $v(t,e){return vn(t)?t:Ch(t,e)?[t]:MS(xd(t))}function Ks(t){if(typeof t=="string"||Hs(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Vv(t,e){e=$v(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Ks(e[n++])];return n&&n==r?t:void 0}function WS(t,e,n){var r=t==null?void 0:Vv(t,e);return r===void 0?n:r}function Hv(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var am=bn?bn.isConcatSpreadable:void 0;function LS(t){return vn(t)||Th(t)||!!(am&&t&&t[am])}function PS(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=LS),i||(i=[]);++o<a;){var s=t[o];n(s)&&Hv(i,s)}return i}function qS(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),n=n>i?i:n,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function zS(t,e,n){var r=t.length;return n=n===void 0?r:n,n>=r?t:qS(t,e,n)}var jS="\\ud800-\\udfff",$S="\\u0300-\\u036f",VS="\\ufe20-\\ufe2f",HS="\\u20d0-\\u20ff",XS=$S+VS+HS,GS="\\ufe0e\\ufe0f",KS="\\u200d",JS=RegExp("["+KS+jS+XS+GS+"]");function Ah(t){return JS.test(t)}function ZS(t){return t.split("")}var Xv="\\ud800-\\udfff",YS="\\u0300-\\u036f",QS="\\ufe20-\\ufe2f",eA="\\u20d0-\\u20ff",tA=YS+QS+eA,nA="\\ufe0e\\ufe0f",rA="["+Xv+"]",Dd="["+tA+"]",wd="\\ud83c[\\udffb-\\udfff]",iA="(?:"+Dd+"|"+wd+")",Gv="[^"+Xv+"]",Kv="(?:\\ud83c[\\udde6-\\uddff]){2}",Jv="[\\ud800-\\udbff][\\udc00-\\udfff]",oA="\\u200d",Zv=iA+"?",Yv="["+nA+"]?",aA="(?:"+oA+"(?:"+[Gv,Kv,Jv].join("|")+")"+Yv+Zv+")*",sA=Yv+Zv+aA,cA="(?:"+[Gv+Dd+"?",Dd,Kv,Jv,rA].join("|")+")",lA=RegExp(wd+"(?="+wd+")|"+cA+sA,"g");function uA(t){return t.match(lA)||[]}function fA(t){return Ah(t)?uA(t):ZS(t)}function dA(t,e,n){return t===t&&(n!==void 0&&(t=t<=n?t:n),e!==void 0&&(t=t>=e?t:e)),t}function hA(t,e,n){return n===void 0&&(n=e,e=void 0),n!==void 0&&(n=mi(n),n=n===n?n:0),e!==void 0&&(e=mi(e),e=e===e?e:0),dA(mi(t),e,n)}function pA(){this.__data__=new Ln,this.size=0}function gA(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function mA(t){return this.__data__.get(t)}function yA(t){return this.__data__.has(t)}var bA=200;function vA(t,e){var n=this.__data__;if(n instanceof Ln){var r=n.__data__;if(!_o||r.length<bA-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Pn(r)}return n.set(t,e),this.size=n.size,this}function Bn(t){var e=this.__data__=new Ln(t);this.size=e.size}Bn.prototype.clear=pA;Bn.prototype.delete=gA;Bn.prototype.get=mA;Bn.prototype.has=yA;Bn.prototype.set=vA;function xA(t,e){for(var n=-1,r=t==null?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function DA(){return[]}var wA=Object.prototype,_A=wA.propertyIsEnumerable,sm=Object.getOwnPropertySymbols,TA=sm?function(t){return t==null?[]:(t=Object(t),xA(sm(t),function(e){return _A.call(t,e)}))}:DA;function EA(t,e,n){var r=e(t);return vn(t)?r:Hv(r,n(t))}function cm(t){return EA(t,jv,TA)}var _d=Vr(xn,"DataView"),Td=Vr(xn,"Promise"),Ed=Vr(xn,"Set"),lm="[object Map]",CA="[object Object]",um="[object Promise]",fm="[object Set]",dm="[object WeakMap]",hm="[object DataView]",SA=$r(_d),AA=$r(_o),UA=$r(Td),kA=$r(Ed),FA=$r(bd),Jn=gr;(_d&&Jn(new _d(new ArrayBuffer(1)))!=hm||_o&&Jn(new _o)!=lm||Td&&Jn(Td.resolve())!=um||Ed&&Jn(new Ed)!=fm||bd&&Jn(new bd)!=dm)&&(Jn=function(t){var e=gr(t),n=e==CA?t.constructor:void 0,r=n?$r(n):"";if(r)switch(r){case SA:return hm;case AA:return lm;case UA:return um;case kA:return fm;case FA:return dm}return e});var pm=xn.Uint8Array,OA="__lodash_hash_undefined__";function RA(t){return this.__data__.set(t,OA),this}function NA(t){return this.__data__.has(t)}function To(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Pn;++e<n;)this.add(t[e])}To.prototype.add=To.prototype.push=RA;To.prototype.has=NA;function BA(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function Qv(t,e){return t.has(e)}var IA=1,MA=2;function ex(t,e,n,r,i,o){var a=n&IA,s=t.length,c=e.length;if(s!=c&&!(a&&c>s))return!1;var l=o.get(t),u=o.get(e);if(l&&u)return l==e&&u==t;var f=-1,d=!0,h=n&MA?new To:void 0;for(o.set(t,e),o.set(e,t);++f<s;){var p=t[f],m=e[f];if(r)var g=a?r(m,p,f,e,t,o):r(p,m,f,t,e,o);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!BA(e,function(y,b){if(!Qv(h,b)&&(p===y||i(p,y,n,r,o)))return h.push(b)})){d=!1;break}}else if(!(p===m||i(p,m,n,r,o))){d=!1;break}}return o.delete(t),o.delete(e),d}function WA(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function LA(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var PA=1,qA=2,zA="[object Boolean]",jA="[object Date]",$A="[object Error]",VA="[object Map]",HA="[object Number]",XA="[object RegExp]",GA="[object Set]",KA="[object String]",JA="[object Symbol]",ZA="[object ArrayBuffer]",YA="[object DataView]",gm=bn?bn.prototype:void 0,Vc=gm?gm.valueOf:void 0;function QA(t,e,n,r,i,o,a){switch(n){case YA:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ZA:return!(t.byteLength!=e.byteLength||!o(new pm(t),new pm(e)));case zA:case jA:case HA:return Mv(+t,+e);case $A:return t.name==e.name&&t.message==e.message;case XA:case KA:return t==e+"";case VA:var s=WA;case GA:var c=r&PA;if(s||(s=LA),t.size!=e.size&&!c)return!1;var l=a.get(t);if(l)return l==e;r|=qA,a.set(t,e);var u=ex(s(t),s(e),r,i,o,a);return a.delete(t),u;case JA:if(Vc)return Vc.call(t)==Vc.call(e)}return!1}var eU=1,tU=Object.prototype,nU=tU.hasOwnProperty;function rU(t,e,n,r,i,o){var a=n&eU,s=cm(t),c=s.length,l=cm(e),u=l.length;if(c!=u&&!a)return!1;for(var f=c;f--;){var d=s[f];if(!(a?d in e:nU.call(e,d)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var m=!0;o.set(t,e),o.set(e,t);for(var g=a;++f<c;){d=s[f];var y=t[d],b=e[d];if(r)var v=a?r(b,y,d,e,t,o):r(y,b,d,t,e,o);if(!(v===void 0?y===b||i(y,b,n,r,o):v)){m=!1;break}g||(g=d=="constructor")}if(m&&!g){var T=t.constructor,w=e.constructor;T!=w&&"constructor"in t&&"constructor"in e&&!(typeof T=="function"&&T instanceof T&&typeof w=="function"&&w instanceof w)&&(m=!1)}return o.delete(t),o.delete(e),m}var iU=1,mm="[object Arguments]",ym="[object Array]",Vo="[object Object]",oU=Object.prototype,bm=oU.hasOwnProperty;function aU(t,e,n,r,i,o){var a=vn(t),s=vn(e),c=a?ym:Jn(t),l=s?ym:Jn(e);c=c==mm?Vo:c,l=l==mm?Vo:l;var u=c==Vo,f=l==Vo,d=c==l;if(d&&vd(t)){if(!vd(e))return!1;a=!0,u=!1}if(d&&!u)return o||(o=new Bn),a||zv(t)?ex(t,e,n,r,i,o):QA(t,e,c,n,r,i,o);if(!(n&iU)){var h=u&&bm.call(t,"__wrapped__"),p=f&&bm.call(e,"__wrapped__");if(h||p){var m=h?t.value():t,g=p?e.value():e;return o||(o=new Bn),i(m,g,n,r,o)}}return d?(o||(o=new Bn),rU(t,e,n,r,i,o)):!1}function Uh(t,e,n,r,i){return t===e?!0:t==null||e==null||!In(t)&&!In(e)?t!==t&&e!==e:aU(t,e,n,r,Uh,i)}var sU=1,cU=2;function lU(t,e,n,r){var i=n.length,o=i;if(t==null)return!o;for(t=Object(t);i--;){var a=n[i];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<o;){a=n[i];var s=a[0],c=t[s],l=a[1];if(a[2]){if(c===void 0&&!(s in t))return!1}else{var u=new Bn,f;if(!(f===void 0?Uh(l,c,sU|cU,r,u):f))return!1}}return!0}function tx(t){return t===t&&!ur(t)}function uU(t){for(var e=jv(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,tx(i)]}return e}function nx(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function fU(t){var e=uU(t);return e.length==1&&e[0][2]?nx(e[0][0],e[0][1]):function(n){return n===t||lU(n,t,e)}}function dU(t,e){return t!=null&&e in Object(t)}function hU(t,e,n){e=$v(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var a=Ks(e[r]);if(!(o=t!=null&&n(t,a)))break;t=t[a]}return o||++r!=i?o:(i=t==null?0:t.length,!!i&&_h(i)&&Iv(a,i)&&(vn(t)||Th(t)))}function pU(t,e){return t!=null&&hU(t,e,dU)}var gU=1,mU=2;function yU(t,e){return Ch(t)&&tx(e)?nx(Ks(t),e):function(n){var r=WS(n,t);return r===void 0&&r===e?pU(n,t):Uh(e,r,gU|mU)}}function rx(t){return function(e){return e==null?void 0:e[t]}}function bU(t){return function(e){return Vv(e,t)}}function vU(t){return Ch(t)?rx(Ks(t)):bU(t)}function xU(t){return typeof t=="function"?t:t==null?wh:typeof t=="object"?vn(t)?yU(t[0],t[1]):fU(t):vU(t)}var Hc=function(){return xn.Date.now()},DU="Expected a function",wU=Math.max,_U=Math.min;function ix(t,e,n){var r,i,o,a,s,c,l=0,u=!1,f=!1,d=!0;if(typeof t!="function")throw new TypeError(DU);e=mi(e)||0,ur(n)&&(u=!!n.leading,f="maxWait"in n,o=f?wU(mi(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d);function h(E){var S=r,U=i;return r=i=void 0,l=E,a=t.apply(U,S),a}function p(E){return l=E,s=setTimeout(y,e),u?h(E):a}function m(E){var S=E-c,U=E-l,C=e-S;return f?_U(C,o-U):C}function g(E){var S=E-c,U=E-l;return c===void 0||S>=e||S<0||f&&U>=o}function y(){var E=Hc();if(g(E))return b(E);s=setTimeout(y,m(E))}function b(E){return s=void 0,d&&r?h(E):(r=i=void 0,a)}function v(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function T(){return s===void 0?a:b(Hc())}function w(){var E=Hc(),S=g(E);if(r=arguments,i=this,c=E,S){if(s===void 0)return p(c);if(f)return clearTimeout(s),s=setTimeout(y,e),h(c)}return s===void 0&&(s=setTimeout(y,e)),a}return w.cancel=v,w.flush=T,w}function Xc(t){return In(t)&&Wv(t)}var TU=200;function EU(t,e,n,r){var i=-1,o=fC,a=!0,s=t.length,c=[],l=e.length;if(!s)return c;n&&(e=Nv(e,Eh(n))),e.length>=TU&&(o=Qv,a=!1,e=new To(e));e:for(;++i<s;){var u=t[i],f=n==null?u:n(u);if(u=u!==0?u:0,a&&f===f){for(var d=l;d--;)if(e[d]===f)continue e;c.push(u)}else o(e,f,r)||c.push(u)}return c}function CU(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var SU=gC(function(t,e){var n=CU(e);return Xc(n)&&(n=void 0),Xc(t)?EU(t,PS(e,1,Xc),xU(n)):[]}),AU="[object Number]";function UU(t){return typeof t=="number"||In(t)&&gr(t)==AU}var kU="[object RegExp]";function FU(t){return In(t)&&gr(t)==kU}var vm=ss&&ss.isRegExp,OU=vm?Eh(vm):FU,RU=rx("length"),ox="\\ud800-\\udfff",NU="\\u0300-\\u036f",BU="\\ufe20-\\ufe2f",IU="\\u20d0-\\u20ff",MU=NU+BU+IU,WU="\\ufe0e\\ufe0f",LU="["+ox+"]",Cd="["+MU+"]",Sd="\\ud83c[\\udffb-\\udfff]",PU="(?:"+Cd+"|"+Sd+")",ax="[^"+ox+"]",sx="(?:\\ud83c[\\udde6-\\uddff]){2}",cx="[\\ud800-\\udbff][\\udc00-\\udfff]",qU="\\u200d",lx=PU+"?",ux="["+WU+"]?",zU="(?:"+qU+"(?:"+[ax,sx,cx].join("|")+")"+ux+lx+")*",jU=ux+lx+zU,$U="(?:"+[ax+Cd+"?",Cd,sx,cx,LU].join("|")+")",xm=RegExp(Sd+"(?="+Sd+")|"+$U+jU,"g");function VU(t){for(var e=xm.lastIndex=0;xm.test(t);)++e;return e}function HU(t){return Ah(t)?VU(t):RU(t)}var XU="Expected a function";function GU(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(XU);return ur(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ix(t,e,{leading:r,maxWait:e,trailing:i})}var KU=30,JU="...",ZU=/\w*$/;function YU(t,e){var n=KU,r=JU;if(ur(e)){var i="separator"in e?e.separator:i;n="length"in e?IE(e.length):n,r="omission"in e?as(e.omission):r}t=xd(t);var o=t.length;if(Ah(t)){var a=fA(t);o=a.length}if(n>=o)return t;var s=n-HU(r);if(s<1)return r;var c=a?zS(a,0,s).join(""):t.slice(0,s);if(i===void 0)return c+r;if(a&&(s+=c.length-s),OU(i)){if(t.slice(s).search(i)){var l,u=c;for(i.global||(i=RegExp(i.source,xd(ZU.exec(i))+"g")),i.lastIndex=0;l=i.exec(u);)var f=l.index;c=c.slice(0,f===void 0?s:f)}}else if(t.indexOf(as(i),s)!=s){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r}function fx(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(n=fx(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function pn(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=fx(t))&&(r&&(r+=" "),r+=e);return r}const kh="-",QU=t=>{const e=t5(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:a=>{const s=a.split(kh);return s[0]===""&&s.length!==1&&s.shift(),dx(s,e)||e5(a)},getConflictingClassGroupIds:(a,s)=>{const c=n[a]||[];return s&&r[a]?[...c,...r[a]]:c}}},dx=(t,e)=>{var a;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),i=r?dx(t.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=t.join(kh);return(a=e.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Dm=/^\[(.+)\]$/,e5=t=>{if(Dm.test(t)){const e=Dm.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},t5=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return r5(Object.entries(t.classGroups),n).forEach(([o,a])=>{Ad(a,r,o,e)}),r},Ad=(t,e,n,r)=>{t.forEach(i=>{if(typeof i=="string"){const o=i===""?e:wm(e,i);o.classGroupId=n;return}if(typeof i=="function"){if(n5(i)){Ad(i(r),e,n,r);return}e.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{Ad(a,wm(e,o),n,r)})})},wm=(t,e)=>{let n=t;return e.split(kh).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},n5=t=>t.isThemeGetter,r5=(t,e)=>e?t.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?e+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([a,s])=>[e+a,s])):o);return[n,i]}):t,i5=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),e++,e>t&&(e=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},hx="!",o5=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,i=e[0],o=e.length,a=s=>{const c=[];let l=0,u=0,f;for(let g=0;g<s.length;g++){let y=s[g];if(l===0){if(y===i&&(r||s.slice(g,g+o)===e)){c.push(s.slice(u,g)),u=g+o;continue}if(y==="/"){f=g;continue}}y==="["?l++:y==="]"&&l--}const d=c.length===0?s:s.substring(u),h=d.startsWith(hx),p=h?d.substring(1):d,m=f&&f>u?f-u:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:p,maybePostfixModifierPosition:m}};return n?s=>n({className:s,parseClassName:a}):a},a5=t=>{if(t.length<=1)return t;const e=[];let n=[];return t.forEach(r=>{r[0]==="["?(e.push(...n.sort(),r),n=[]):n.push(r)}),e.push(...n.sort()),e},s5=t=>({cache:i5(t.cacheSize),parseClassName:o5(t),...QU(t)}),c5=/\s+/,l5=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],a=t.trim().split(c5);let s="";for(let c=a.length-1;c>=0;c-=1){const l=a[c],{modifiers:u,hasImportantModifier:f,baseClassName:d,maybePostfixModifierPosition:h}=n(l);let p=!!h,m=r(p?d.substring(0,h):d);if(!m){if(!p){s=l+(s.length>0?" "+s:s);continue}if(m=r(d),!m){s=l+(s.length>0?" "+s:s);continue}p=!1}const g=a5(u).join(":"),y=f?g+hx:g,b=y+m;if(o.includes(b))continue;o.push(b);const v=i(m,p);for(let T=0;T<v.length;++T){const w=v[T];o.push(y+w)}s=l+(s.length>0?" "+s:s)}return s};function u5(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=px(e))&&(r&&(r+=" "),r+=n);return r}const px=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=px(t[r]))&&(n&&(n+=" "),n+=e);return n};function f5(t,...e){let n,r,i,o=a;function a(c){const l=e.reduce((u,f)=>f(u),t());return n=s5(l),r=n.cache.get,i=n.cache.set,o=s,s(c)}function s(c){const l=r(c);if(l)return l;const u=l5(c,n);return i(c,u),u}return function(){return o(u5.apply(null,arguments))}}const He=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},gx=/^\[(?:([a-z-]+):)?(.+)\]$/i,d5=/^\d+\/\d+$/,h5=new Set(["px","full","screen"]),p5=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,g5=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m5=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,y5=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,b5=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Tn=t=>yi(t)||h5.has(t)||d5.test(t),jn=t=>Fi(t,"length",C5),yi=t=>!!t&&!Number.isNaN(Number(t)),Gc=t=>Fi(t,"number",yi),Wi=t=>!!t&&Number.isInteger(Number(t)),v5=t=>t.endsWith("%")&&yi(t.slice(0,-1)),Re=t=>gx.test(t),$n=t=>p5.test(t),x5=new Set(["length","size","percentage"]),D5=t=>Fi(t,x5,mx),w5=t=>Fi(t,"position",mx),_5=new Set(["image","url"]),T5=t=>Fi(t,_5,A5),E5=t=>Fi(t,"",S5),Li=()=>!0,Fi=(t,e,n)=>{const r=gx.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},C5=t=>g5.test(t)&&!m5.test(t),mx=()=>!1,S5=t=>y5.test(t),A5=t=>b5.test(t),U5=()=>{const t=He("colors"),e=He("spacing"),n=He("blur"),r=He("brightness"),i=He("borderColor"),o=He("borderRadius"),a=He("borderSpacing"),s=He("borderWidth"),c=He("contrast"),l=He("grayscale"),u=He("hueRotate"),f=He("invert"),d=He("gap"),h=He("gradientColorStops"),p=He("gradientColorStopPositions"),m=He("inset"),g=He("margin"),y=He("opacity"),b=He("padding"),v=He("saturate"),T=He("scale"),w=He("sepia"),E=He("skew"),S=He("space"),U=He("translate"),C=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",Re,e],_=()=>[Re,e],k=()=>["",Tn,jn],x=()=>["auto",yi,Re],z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],F=()=>["solid","dashed","dotted","double","none"],I=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",Re],te=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[yi,Re];return{cacheSize:500,separator:":",theme:{colors:[Li],spacing:[Tn,jn],blur:["none","",$n,Re],brightness:W(),borderColor:[t],borderRadius:["none","","full",$n,Re],borderSpacing:_(),borderWidth:k(),contrast:W(),grayscale:P(),hueRotate:W(),invert:P(),gap:_(),gradientColorStops:[t],gradientColorStopPositions:[v5,jn],inset:L(),margin:L(),opacity:W(),padding:_(),saturate:W(),scale:W(),sepia:P(),skew:W(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",Re]}],container:["container"],columns:[{columns:[$n]}],"break-after":[{"break-after":te()}],"break-before":[{"break-before":te()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...z(),Re]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Wi,Re]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Re]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",Wi,Re]}],"grid-cols":[{"grid-cols":[Li]}],"col-start-end":[{col:["auto",{span:["full",Wi,Re]},Re]}],"col-start":[{"col-start":x()}],"col-end":[{"col-end":x()}],"grid-rows":[{"grid-rows":[Li]}],"row-start-end":[{row:["auto",{span:[Wi,Re]},Re]}],"row-start":[{"row-start":x()}],"row-end":[{"row-end":x()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Re]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Re]}],gap:[{gap:[d]}],"gap-x":[{"gap-x":[d]}],"gap-y":[{"gap-y":[d]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[S]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[S]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Re,e]}],"min-w":[{"min-w":[Re,e,"min","max","fit"]}],"max-w":[{"max-w":[Re,e,"none","full","min","max","fit","prose",{screen:[$n]},$n]}],h:[{h:[Re,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Re,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Re,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Re,e,"auto","min","max","fit"]}],"font-size":[{text:["base",$n,jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Gc]}],"font-family":[{font:[Li]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Re]}],"line-clamp":[{"line-clamp":["none",yi,Gc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Tn,Re]}],"list-image":[{"list-image":["none",Re]}],"list-style-type":[{list:["none","disc","decimal",Re]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...F(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Tn,jn]}],"underline-offset":[{"underline-offset":["auto",Tn,Re]}],"text-decoration-color":[{decoration:[t]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...z(),w5]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",D5]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},T5]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...F(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:F()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...F()]}],"outline-offset":[{"outline-offset":[Tn,Re]}],"outline-w":[{outline:[Tn,jn]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:k()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[Tn,jn]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",$n,E5]}],"shadow-color":[{shadow:[Li]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...I(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":I()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",$n,Re]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[f]}],saturate:[{saturate:[v]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Re]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",Re]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",Re]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[Wi,Re]}],"translate-x":[{"translate-x":[U]}],"translate-y":[{"translate-y":[U]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Re]}],accent:[{accent:["auto",t]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Re]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Re]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Tn,jn,Gc]}],stroke:[{stroke:[t,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},k5=f5(U5);function F5({updateComputed:t,notifyEffect:e}){let n,r;return{link(l,u){const f=u.depsTail;if(f!==void 0&&f.dep===l)return;const d=f!==void 0?f.nextDep:u.deps;if(d!==void 0&&d.dep===l){u.depsTail=d;return}const h=l.subsTail;if(!(h!==void 0&&h.sub===u&&s(h,u)))return i(l,u,d,f)},propagate(l){let u=32,f=l,d=0;e:do{const h=l.sub,p=h.flags;if(!(p&244)&&(h.flags=p|u|8,!0)||p&16&&!(p&4)&&(h.flags=p&-17|u|8,!0)||!(p&224)&&s(l,h)&&(h.flags=p|16|u|8,h.subs!==void 0)){const m=h.subs;if(m!==void 0){m.nextSub!==void 0?(m.prevSub=f,l=f=m,u=64,++d):(l=m,u=p&2?128:64);continue}p&2&&(r!==void 0?r.depsTail.nextDep=h.deps:n=h,r=h)}else p&(4|u)?!(p&u)&&p&224&&s(l,h)&&(h.flags=p|u):(h.flags=p|u|8,(p&10)===2&&(r!==void 0?r.depsTail.nextDep=h.deps:n=h,r=h));if((l=f.nextSub)!==void 0){f=l,u=d?64:32;continue}for(;d;){--d;const g=f.dep.subs;if(f=g.prevSub,g.prevSub=void 0,(l=f.nextSub)!==void 0){f=l,u=d?64:32;continue e}}break}while(!0)},startTracking(l){l.depsTail=void 0,l.flags=l.flags&-249|4},endTracking(l){const u=l.depsTail;if(u!==void 0){const f=u.nextDep;f!==void 0&&(c(f),u.nextDep=void 0)}else l.deps!==void 0&&(c(l.deps),l.deps=void 0);l.flags&=-5},updateDirtyFlag(l,u){return o(l.deps)?(l.flags=u|32,!0):(l.flags=u&-65,!1)},processComputedUpdate(l,u){if((u&32||(o(l.deps)||(l.flags=u&-65,!1)))&&t(l)){const f=l.subs;f!==void 0&&a(f)}},processPendingInnerEffects(l,u){if(u&128){l.flags=u&-129;let f=l.deps;do{const d=f.dep;"flags"in d&&d.flags&2&&d.flags&224&&e(d),f=f.nextDep}while(f!==void 0)}},processEffectNotifications(){for(;n!==void 0;){const l=n,u=l.depsTail,f=u.nextDep;f!==void 0?(u.nextDep=void 0,n=f.sub):(n=void 0,r=void 0),e(l)||(l.flags&=-9)}}};function i(l,u,f,d){const h={dep:l,sub:u,nextDep:f,prevSub:void 0,nextSub:void 0};if(d===void 0?u.deps=h:d.nextDep=h,l.subs===void 0)l.subs=h;else{const p=l.subsTail;h.prevSub=p,p.nextSub=h}return u.depsTail=h,l.subsTail=h,h}function o(l){let u=0,f;e:do{f=!1;const d=l.dep;if("flags"in d){const h=d.flags;if((h&33)===33){if(t(d)){const p=d.subs;p.nextSub!==void 0&&a(p),f=!0}}else if((h&65)===65){const p=d.subs;p.nextSub!==void 0&&(p.prevSub=l),l=d.deps,++u;continue}}if(!f&&l.nextDep!==void 0){l=l.nextDep;continue}if(u){let h=l.sub;do{--u;const p=h.subs;if(f){if(t(h)){(l=p.prevSub)!==void 0?(p.prevSub=void 0,a(h.subs),h=l.sub):h=p.sub;continue}}else h.flags&=-65;if((l=p.prevSub)!==void 0){if(p.prevSub=void 0,l.nextDep!==void 0){l=l.nextDep;continue e}h=l.sub}else{if((l=p.nextDep)!==void 0)continue e;h=p.sub}f=!1}while(u)}return f}while(!0)}function a(l){do{const u=l.sub,f=u.flags;(f&96)===64&&(u.flags=f|32|8,(f&10)===2&&(r!==void 0?r.depsTail.nextDep=u.deps:n=u,r=u)),l=l.nextSub}while(l!==void 0)}function s(l,u){const f=u.depsTail;if(f!==void 0){let d=u.deps;do{if(d===l)return!0;if(d===f)break;d=d.nextDep}while(d!==void 0)}return!1}function c(l){do{const u=l.dep,f=l.nextDep,d=l.nextSub,h=l.prevSub;if(d!==void 0?d.prevSub=h:u.subsTail=h,h!==void 0?h.nextSub=d:u.subs=d,u.subs===void 0&&"deps"in u){const p=u.flags;p&32||(u.flags=p|32);const m=u.deps;if(m!==void 0){l=m,u.depsTail.nextDep=f,u.deps=void 0,u.depsTail=void 0;continue}}l=f}while(l!==void 0)}}var{link:yx,propagate:O5,updateDirtyFlag:R5,startTracking:Fh,endTracking:Oh,processEffectNotifications:N5,processComputedUpdate:JR,processPendingInnerEffects:bx}=F5({updateComputed(t){const e=gn;gn=t,Fh(t);try{const n=t.currentValue,r=t.getter(n);return n!==r?(t.currentValue=r,!0):!1}finally{gn=e,Oh(t)}},notifyEffect(t){return"isScope"in t?W5(t):M5(t)}}),gn;function B5(t){return L5.bind({currentValue:t,subs:void 0,subsTail:void 0})}function I5(t){const e={fn:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:2};return gn!==void 0&&yx(e,gn),vx(e),P5.bind(e)}function vx(t){const e=gn;gn=t,Fh(t);try{t.fn()}finally{gn=e,Oh(t)}}function M5(t){const e=t.flags;return e&32||e&64&&R5(t,e)?vx(t):bx(t,t.flags),!0}function W5(t){return t.flags&128?(bx(t,t.flags),!0):!1}function L5(...t){if(t.length){if(this.currentValue!==(this.currentValue=t[0])){const e=this.subs;e!==void 0&&(O5(e),N5())}}else return gn!==void 0&&yx(this,gn),this.currentValue}function P5(){Fh(this),Oh(this)}function q5(t){return B5(t)}function z5(t){return[qe.useSyncExternalStore(e=>{let n=I5(()=>{t(),e()});return()=>n()},()=>t(),()=>t()),e=>{t(typeof e=="function"?e(t()):e)}]}const _m=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Tm=pn,j5=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return Tm(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=e,a=Object.keys(i).map(l=>{const u=n==null?void 0:n[l],f=o==null?void 0:o[l];if(u===null)return null;const d=_m(u)||_m(f);return i[l][d]}),s=n&&Object.entries(n).reduce((l,u)=>{let[f,d]=u;return d===void 0||(l[f]=d),l},{}),c=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((l,u)=>{let{class:f,className:d,...h}=u;return Object.entries(h).every(p=>{let[m,g]=p;return Array.isArray(g)?g.includes({...o,...s}[m]):{...o,...s}[m]===g})?[...l,f,d]:l},[]);return Tm(t,a,c,n==null?void 0:n.class,n==null?void 0:n.className)},$5="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",V5="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Ei=(t,e)=>{for(const n in e)t[n]=e[n];return t},Ud="numeric",kd="ascii",Fd="alpha",so="asciinumeric",no="alphanumeric",Od="domain",xx="emoji",H5="scheme",X5="slashscheme",Kc="whitespace";function G5(t,e){return t in e||(e[t]=[]),e[t]}function Ur(t,e,n){e[Ud]&&(e[so]=!0,e[no]=!0),e[kd]&&(e[so]=!0,e[Fd]=!0),e[so]&&(e[no]=!0),e[Fd]&&(e[no]=!0),e[no]&&(e[Od]=!0),e[xx]&&(e[Od]=!0);for(const r in e){const i=G5(r,n);i.indexOf(t)<0&&i.push(t)}}function K5(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function St(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}St.groups={};St.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;r<e.jr.length;r++){const i=e.jr[r][0],o=e.jr[r][1];if(o&&i.test(t))return o}return e.jd},has(t,e=!1){return e?t in this.j:!!this.go(t)},ta(t,e,n,r){for(let i=0;i<t.length;i++)this.tt(t[i],e,n,r)},tr(t,e,n,r){r=r||St.groups;let i;return e&&e.j?i=e:(i=new St(e),n&&r&&Ur(e,n,r)),this.jr.push([t,i]),i},ts(t,e,n,r){let i=this;const o=t.length;if(!o)return i;for(let a=0;a<o-1;a++)i=i.tt(t[a]);return i.tt(t[o-1],e,n,r)},tt(t,e,n,r){r=r||St.groups;const i=this;if(e&&e.j)return i.j[t]=e,e;const o=e;let a,s=i.go(t);if(s?(a=new St,Ei(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new St,o){if(r)if(a.t&&typeof a.t=="string"){const c=Ei(K5(a.t,r),n);Ur(o,c,r)}else n&&Ur(o,n,r);a.t=o}return i.j[t]=a,a}};const Ne=(t,e,n,r,i)=>t.ta(e,n,r,i),Ze=(t,e,n,r,i)=>t.tr(e,n,r,i),Em=(t,e,n,r,i)=>t.ts(e,n,r,i),De=(t,e,n,r,i)=>t.tt(e,n,r,i),Un="WORD",Rd="UWORD",Dx="ASCIINUMERICAL",wx="ALPHANUMERICAL",Eo="LOCALHOST",Nd="TLD",Bd="UTLD",_a="SCHEME",ui="SLASH_SCHEME",Rh="NUM",Id="WS",Nh="NL",co="OPENBRACE",lo="CLOSEBRACE",cs="OPENBRACKET",ls="CLOSEBRACKET",us="OPENPAREN",fs="CLOSEPAREN",ds="OPENANGLEBRACKET",hs="CLOSEANGLEBRACKET",ps="FULLWIDTHLEFTPAREN",gs="FULLWIDTHRIGHTPAREN",ms="LEFTCORNERBRACKET",ys="RIGHTCORNERBRACKET",bs="LEFTWHITECORNERBRACKET",vs="RIGHTWHITECORNERBRACKET",xs="FULLWIDTHLESSTHAN",Ds="FULLWIDTHGREATERTHAN",ws="AMPERSAND",Bh="APOSTROPHE",_s="ASTERISK",Zn="AT",Ts="BACKSLASH",Es="BACKTICK",Cs="CARET",er="COLON",Ih="COMMA",Ss="DOLLAR",ln="DOT",As="EQUALS",Mh="EXCLAMATION",$t="HYPHEN",uo="PERCENT",Us="PIPE",ks="PLUS",Fs="POUND",fo="QUERY",Wh="QUOTE",_x="FULLWIDTHMIDDLEDOT",Lh="SEMI",un="SLASH",ho="TILDE",Os="UNDERSCORE",Tx="EMOJI",Rs="SYM";var Ex=Object.freeze({__proto__:null,WORD:Un,UWORD:Rd,ASCIINUMERICAL:Dx,ALPHANUMERICAL:wx,LOCALHOST:Eo,TLD:Nd,UTLD:Bd,SCHEME:_a,SLASH_SCHEME:ui,NUM:Rh,WS:Id,NL:Nh,OPENBRACE:co,CLOSEBRACE:lo,OPENBRACKET:cs,CLOSEBRACKET:ls,OPENPAREN:us,CLOSEPAREN:fs,OPENANGLEBRACKET:ds,CLOSEANGLEBRACKET:hs,FULLWIDTHLEFTPAREN:ps,FULLWIDTHRIGHTPAREN:gs,LEFTCORNERBRACKET:ms,RIGHTCORNERBRACKET:ys,LEFTWHITECORNERBRACKET:bs,RIGHTWHITECORNERBRACKET:vs,FULLWIDTHLESSTHAN:xs,FULLWIDTHGREATERTHAN:Ds,AMPERSAND:ws,APOSTROPHE:Bh,ASTERISK:_s,AT:Zn,BACKSLASH:Ts,BACKTICK:Es,CARET:Cs,COLON:er,COMMA:Ih,DOLLAR:Ss,DOT:ln,EQUALS:As,EXCLAMATION:Mh,HYPHEN:$t,PERCENT:uo,PIPE:Us,PLUS:ks,POUND:Fs,QUERY:fo,QUOTE:Wh,FULLWIDTHMIDDLEDOT:_x,SEMI:Lh,SLASH:un,TILDE:ho,UNDERSCORE:Os,EMOJI:Tx,SYM:Rs});const En=/[a-z]/,Pi=new RegExp("\\p{L}","u"),Jc=new RegExp("\\p{Emoji}","u"),Cn=/\d/,Zc=/\s/,Cm="\r",Yc=`
11
- `,J5="️",Z5="‍",Qc="";let Ho=null,Xo=null;function Y5(t=[]){const e={};St.groups=e;const n=new St;Ho==null&&(Ho=Sm($5)),Xo==null&&(Xo=Sm(V5)),De(n,"'",Bh),De(n,"{",co),De(n,"}",lo),De(n,"[",cs),De(n,"]",ls),De(n,"(",us),De(n,")",fs),De(n,"<",ds),De(n,">",hs),De(n,"(",ps),De(n,")",gs),De(n,"「",ms),De(n,"」",ys),De(n,"『",bs),De(n,"』",vs),De(n,"<",xs),De(n,">",Ds),De(n,"&",ws),De(n,"*",_s),De(n,"@",Zn),De(n,"`",Es),De(n,"^",Cs),De(n,":",er),De(n,",",Ih),De(n,"$",Ss),De(n,".",ln),De(n,"=",As),De(n,"!",Mh),De(n,"-",$t),De(n,"%",uo),De(n,"|",Us),De(n,"+",ks),De(n,"#",Fs),De(n,"?",fo),De(n,'"',Wh),De(n,"/",un),De(n,";",Lh),De(n,"~",ho),De(n,"_",Os),De(n,"\\",Ts),De(n,"・",_x);const r=Ze(n,Cn,Rh,{[Ud]:!0});Ze(r,Cn,r);const i=Ze(r,En,Dx,{[so]:!0}),o=Ze(r,Pi,wx,{[no]:!0}),a=Ze(n,En,Un,{[kd]:!0});Ze(a,Cn,i),Ze(a,En,a),Ze(i,Cn,i),Ze(i,En,i);const s=Ze(n,Pi,Rd,{[Fd]:!0});Ze(s,En),Ze(s,Cn,o),Ze(s,Pi,s),Ze(o,Cn,o),Ze(o,En),Ze(o,Pi,o);const c=De(n,Yc,Nh,{[Kc]:!0}),l=De(n,Cm,Id,{[Kc]:!0}),u=Ze(n,Zc,Id,{[Kc]:!0});De(n,Qc,u),De(l,Yc,c),De(l,Qc,u),Ze(l,Zc,u),De(u,Cm),De(u,Yc),Ze(u,Zc,u),De(u,Qc,u);const f=Ze(n,Jc,Tx,{[xx]:!0});De(f,"#"),Ze(f,Jc,f),De(f,J5,f);const d=De(f,Z5);De(d,"#"),Ze(d,Jc,f);const h=[[En,a],[Cn,i]],p=[[En,null],[Pi,s],[Cn,o]];for(let m=0;m<Ho.length;m++)Vn(n,Ho[m],Nd,Un,h);for(let m=0;m<Xo.length;m++)Vn(n,Xo[m],Bd,Rd,p);Ur(Nd,{tld:!0,ascii:!0},e),Ur(Bd,{utld:!0,alpha:!0},e),Vn(n,"file",_a,Un,h),Vn(n,"mailto",_a,Un,h),Vn(n,"http",ui,Un,h),Vn(n,"https",ui,Un,h),Vn(n,"ftp",ui,Un,h),Vn(n,"ftps",ui,Un,h),Ur(_a,{scheme:!0,ascii:!0},e),Ur(ui,{slashscheme:!0,ascii:!0},e),t=t.sort((m,g)=>m[0]>g[0]?1:-1);for(let m=0;m<t.length;m++){const g=t[m][0],b=t[m][1]?{[H5]:!0}:{[X5]:!0};g.indexOf("-")>=0?b[Od]=!0:En.test(g)?Cn.test(g)?b[so]=!0:b[kd]=!0:b[Ud]=!0,Em(n,g,g,b)}return Em(n,"localhost",Eo,{ascii:!0}),n.jd=new St(Rs),{start:n,tokens:Ei({groups:e},Ex)}}function Cx(t,e){const n=Q5(e.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a<r;){let s=t,c=null,l=0,u=null,f=-1,d=-1;for(;a<r&&(c=s.go(n[a]));)s=c,s.accepts()?(f=0,d=0,u=s):f>=0&&(f+=n[a].length,d++),l+=n[a].length,o+=n[a].length,a++;o-=f,a-=d,l-=f,i.push({t:u.t,v:e.slice(o-l,o),s:o-l,e:o})}return i}function Q5(t){const e=[],n=t.length;let r=0;for(;r<n;){let i=t.charCodeAt(r),o,a=i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?t[r]:t.slice(r,r+2);e.push(a),r+=a.length}return e}function Vn(t,e,n,r,i){let o;const a=e.length;for(let s=0;s<a-1;s++){const c=e[s];t.j[c]?o=t.j[c]:(o=new St(r),o.jr=i.slice(),t.j[c]=o),t=o}return o=new St(n),o.jr=i.slice(),t.j[e[a-1]]=o,o}function Sm(t){const e=[],n=[];let r=0,i="0123456789";for(;r<t.length;){let o=0;for(;i.indexOf(t[r+o])>=0;)o++;if(o>0){e.push(n.join(""));for(let a=parseInt(t.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(t[r]),r++}return e}const Co={defaultProtocol:"http",events:null,format:Am,formatHref:Am,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Ph(t,e=null){let n=Ei({},Co);t&&(n=Ei(n,t instanceof Ph?t.o:t));const r=n.ignoreTags,i=[];for(let o=0;o<r.length;o++)i.push(r[o].toUpperCase());this.o=n,e&&(this.defaultRender=e),this.ignoreTags=i}Ph.prototype={o:Co,ignoreTags:[],defaultRender(t){return t},check(t){return this.get("validate",t.toString(),t)},get(t,e,n){const r=e!=null;let i=this.o[t];return i&&(typeof i=="object"?(i=n.t in i?i[n.t]:Co[t],typeof i=="function"&&r&&(i=i(e,n))):typeof i=="function"&&r&&(i=i(e,n.t,n)),i)},getObj(t,e,n){let r=this.o[t];return typeof r=="function"&&e!=null&&(r=r(e,n.t,n)),r},render(t){const e=t.render(this);return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}};function Am(t){return t}function Sx(t,e){this.t="token",this.v=t,this.tk=e}Sx.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),n=t.get("truncate",e,this),r=t.get("format",e,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=Co.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),i=t.get("tagName",n,e),o=this.toFormattedString(t),a={},s=t.get("className",n,e),c=t.get("target",n,e),l=t.get("rel",n,e),u=t.getObj("attributes",n,e),f=t.getObj("events",n,e);return a.href=r,s&&(a.class=s),c&&(a.target=c),l&&(a.rel=l),u&&Ei(a,u),{tagName:i,attributes:a,content:o,eventListeners:f}}};function Js(t,e){class n extends Sx{constructor(i,o){super(i,o),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const Um=Js("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),km=Js("text"),e8=Js("nl"),Go=Js("url",{isLink:!0,toHref(t=Co.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Eo&&t[1].t===er}}),qt=t=>new St(t);function t8({groups:t}){const e=t.domain.concat([ws,_s,Zn,Ts,Es,Cs,Ss,As,$t,Rh,uo,Us,ks,Fs,un,Rs,ho,Os]),n=[er,Ih,ln,Mh,uo,fo,Wh,Lh,ds,hs,co,lo,ls,cs,us,fs,ps,gs,ms,ys,bs,vs,xs,Ds],r=[ws,Bh,_s,Ts,Es,Cs,Ss,As,$t,co,lo,uo,Us,ks,Fs,fo,un,Rs,ho,Os],i=qt(),o=De(i,ho);Ne(o,r,o),Ne(o,t.domain,o);const a=qt(),s=qt(),c=qt();Ne(i,t.domain,a),Ne(i,t.scheme,s),Ne(i,t.slashscheme,c),Ne(a,r,o),Ne(a,t.domain,a);const l=De(a,Zn);De(o,Zn,l),De(s,Zn,l),De(c,Zn,l);const u=De(o,ln);Ne(u,r,o),Ne(u,t.domain,o);const f=qt();Ne(l,t.domain,f),Ne(f,t.domain,f);const d=De(f,ln);Ne(d,t.domain,f);const h=qt(Um);Ne(d,t.tld,h),Ne(d,t.utld,h),De(l,Eo,h);const p=De(f,$t);De(p,$t,p),Ne(p,t.domain,f),Ne(h,t.domain,f),De(h,ln,d),De(h,$t,p);const m=De(h,er);Ne(m,t.numeric,Um);const g=De(a,$t),y=De(a,ln);De(g,$t,g),Ne(g,t.domain,a),Ne(y,r,o),Ne(y,t.domain,a);const b=qt(Go);Ne(y,t.tld,b),Ne(y,t.utld,b),Ne(b,t.domain,a),Ne(b,r,o),De(b,ln,y),De(b,$t,g),De(b,Zn,l);const v=De(b,er),T=qt(Go);Ne(v,t.numeric,T);const w=qt(Go),E=qt();Ne(w,e,w),Ne(w,n,E),Ne(E,e,w),Ne(E,n,E),De(b,un,w),De(T,un,w);const S=De(s,er),U=De(c,er),C=De(U,un),R=De(C,un);Ne(s,t.domain,a),De(s,ln,y),De(s,$t,g),Ne(c,t.domain,a),De(c,ln,y),De(c,$t,g),Ne(S,t.domain,w),De(S,un,w),De(S,fo,w),Ne(R,t.domain,w),Ne(R,e,w),De(R,un,w);const L=[[co,lo],[cs,ls],[us,fs],[ds,hs],[ps,gs],[ms,ys],[bs,vs],[xs,Ds]];for(let _=0;_<L.length;_++){const[k,x]=L[_],z=De(w,k);De(E,k,z),De(z,x,w);const F=qt(Go);Ne(z,e,F);const I=qt();Ne(z,n),Ne(F,e,F),Ne(F,n,I),Ne(I,e,F),Ne(I,n,I),De(F,x,w),De(I,x,w)}return De(i,Eo,b),De(i,Nh,e8),{start:i,tokens:Ex}}function n8(t,e,n){let r=n.length,i=0,o=[],a=[];for(;i<r;){let s=t,c=null,l=null,u=0,f=null,d=-1;for(;i<r&&!(c=s.go(n[i].t));)a.push(n[i++]);for(;i<r&&(l=c||s.go(n[i].t));)c=null,s=l,s.accepts()?(d=0,f=s):d>=0&&d++,i++,u++;if(d<0)i-=u,i<r&&(a.push(n[i]),i++);else{a.length>0&&(o.push(el(km,e,a)),a=[]),i-=d,u-=d;const h=f.t,p=n.slice(i-u,i);o.push(el(h,e,p))}}return a.length>0&&o.push(el(km,e,a)),o}function el(t,e,n){const r=n[0].s,i=n[n.length-1].e,o=e.slice(r,i);return new t(o,n)}const r8=typeof console<"u"&&console&&console.warn||(()=>{}),i8="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ge={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function o8(){return St.groups={},Ge.scanner=null,Ge.parser=null,Ge.tokenQueue=[],Ge.pluginQueue=[],Ge.customSchemes=[],Ge.initialized=!1,Ge}function a8(t,e=!1){if(Ge.initialized&&r8(`linkifyjs: already initialized - will not register custom scheme "${t}" ${i8}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format.
12
- 1. Must only contain digits, lowercase ASCII letters or "-"
13
- 2. Cannot start or end with "-"
14
- 3. "-" cannot repeat`);Ge.customSchemes.push([t,e])}function s8(){Ge.scanner=Y5(Ge.customSchemes);for(let t=0;t<Ge.tokenQueue.length;t++)Ge.tokenQueue[t][1]({scanner:Ge.scanner});Ge.parser=t8(Ge.scanner.tokens);for(let t=0;t<Ge.pluginQueue.length;t++)Ge.pluginQueue[t][1]({scanner:Ge.scanner,parser:Ge.parser});return Ge.initialized=!0,Ge}function qh(t){return Ge.initialized||s8(),n8(Ge.parser.start,t,Cx(Ge.scanner.start,t))}qh.scan=Cx;function c8(t,e=null,n=null){if(e&&typeof e=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);n=e,e=null}const r=new Ph(n),i=qh(t),o=[];for(let a=0;a<i.length;a++){const s=i[a];s.isLink&&(!e||s.t===e)&&r.check(s)&&o.push(s.toFormattedObject(r))}return o}var Ns=200,st=function(){};st.prototype.append=function(e){return e.length?(e=st.from(e),!this.length&&e||e.length<Ns&&this.leafAppend(e)||this.length<Ns&&e.leafPrepend(this)||this.appendInner(e)):this};st.prototype.prepend=function(e){return e.length?st.from(e).append(this):this};st.prototype.appendInner=function(e){return new l8(this,e)};st.prototype.slice=function(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.length),e>=n?st.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};st.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};st.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};st.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(e(o,a))},n,r),i};st.from=function(e){return e instanceof st?e:e&&e.length?new Ax(e):st.empty};var Ax=function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new e(this.values.slice(i,o))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,o,a,s){for(var c=o;c<a;c++)if(i(this.values[c],s+c)===!1)return!1},e.prototype.forEachInvertedInner=function(i,o,a,s){for(var c=o-1;c>=a;c--)if(i(this.values[c],s+c)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Ns)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Ns)return new e(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(st);st.empty=new Ax([]);var l8=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return r<this.left.length?this.left.get(r):this.right.get(r-this.left.length)},e.prototype.forEachInner=function(r,i,o,a){var s=this.left.length;if(i<s&&this.left.forEachInner(r,i,Math.min(o,s),a)===!1||o>s&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o<s&&this.left.forEachInvertedInner(r,Math.min(i,s),o,a)===!1)return!1},e.prototype.sliceInner=function(r,i){if(r==0&&i==this.length)return this;var o=this.left.length;return i<=o?this.left.slice(r,i):r>=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e}(st);const u8=500;class nn{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=e.tr,s,c,l=[],u=[];return this.items.forEach((f,d)=>{if(!f.step){i||(i=this.remapping(r,d+1),o=i.maps.length),o--,u.push(f);return}if(i){u.push(new fn(f.map));let h=f.step.map(i.slice(o)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],l.push(new fn(p,void 0,void 0,l.length+u.length))),o--,p&&i.appendMap(p,o)}else a.maybeStep(f.step);if(f.selection)return s=i?f.selection.map(i.slice(o)):f.selection,c=new nn(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1},this.items.length,0),{remaining:c,transform:a,selection:s}}addTransform(e,n,r,i){let o=[],a=this.eventCount,s=this.items,c=!i&&s.length?s.get(s.length-1):null;for(let u=0;u<e.steps.length;u++){let f=e.steps[u].invert(e.docs[u]),d=new fn(e.mapping.maps[u],f,n),h;(h=c&&c.merge(d))&&(d=h,u?o.pop():s=s.slice(0,s.length-1)),o.push(d),n&&(a++,n=void 0),i||(c=d)}let l=a-r.depth;return l>d8&&(s=f8(s,l),a-=l),new nn(s.append(o),a)}remapping(e,n){let r=new di;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new nn(this.items.append(e.map(n=>new fn(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=e.mapping,a=e.steps.length,s=this.eventCount;this.items.forEach(d=>{d.selection&&s--},i);let c=n;this.items.forEach(d=>{let h=o.getMirror(--c);if(h==null)return;a=Math.min(a,h);let p=o.maps[h];if(d.step){let m=e.steps[h].invert(e.docs[h]),g=d.selection&&d.selection.map(o.slice(c+1,h));g&&s++,r.push(new fn(p,m,g))}else r.push(new fn(p))},i);let l=[];for(let d=n;d<a;d++)l.push(new fn(o.maps[d]));let u=this.items.slice(0,i).append(l).append(r),f=new nn(u,s);return f.emptyItemCount()>u8&&(f=f.compress(this.items.length-r.length)),f}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=e)i.push(a),a.selection&&o++;else if(a.step){let c=a.step.map(n.slice(r)),l=c&&c.getMap();if(r--,l&&n.appendMap(l,r),c){let u=a.selection&&a.selection.map(n.slice(r));u&&o++;let f=new fn(l.invert(),c,u),d,h=i.length-1;(d=i.length&&i[h].merge(f))?i[h]=d:i.push(f)}}else a.map&&r--},this.items.length,0),new nn(st.from(i.reverse()),o)}}nn.empty=new nn(st.empty,0);function f8(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}class fn{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new fn(n.getMap().invert(),n,this.selection)}}}class Yn{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const d8=20;function h8(t,e,n,r){let i=n.getMeta(Nr),o;if(i)return i.historyState;n.getMeta(m8)&&(t=new Yn(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(Nr))return a.getMeta(Nr).redo?new Yn(t.done.addTransform(n,void 0,r,Ta(e)),t.undone,Fm(n.mapping.maps),t.prevTime,t.prevComposition):new Yn(t.done,t.undone.addTransform(n,void 0,r,Ta(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),c=t.prevTime==0||!a&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-r.newGroupDelay||!p8(n,t.prevRanges)),l=a?tl(t.prevRanges,n.mapping):Fm(n.mapping.maps);return new Yn(t.done.addTransform(n,c?e.selection.getBookmark():void 0,r,Ta(e)),nn.empty,l,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new Yn(t.done.rebased(n,o),t.undone.rebased(n,o),tl(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new Yn(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),tl(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function p8(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let o=0;o<e.length;o+=2)r<=e[o+1]&&i>=e[o]&&(n=!0)}),n}function Fm(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,i,o,a)=>e.push(o,a));return e}function tl(t,e){if(!t)return null;let n=[];for(let r=0;r<t.length;r+=2){let i=e.map(t[r],1),o=e.map(t[r+1],-1);i<=o&&n.push(i,o)}return n}function g8(t,e,n){let r=Ta(e),i=Nr.get(e).spec.config,o=(n?t.undone:t.done).popEvent(e,r);if(!o)return null;let a=o.selection.resolve(o.transform.doc),s=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),i,r),c=new Yn(n?s:o.remaining,n?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(Nr,{redo:n,historyState:c})}let nl=!1,Om=null;function Ta(t){let e=t.plugins;if(Om!=e){nl=!1,Om=e;for(let n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){nl=!0;break}}return nl}const Nr=new ki("history"),m8=new ki("closeHistory");function y8(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new jr({key:Nr,state:{init(){return new Yn(nn.empty,nn.empty,null,0,-1)},apply(e,n,r){return h8(n,r,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,n){let r=n.inputType,i=r=="historyUndo"?kx:r=="historyRedo"?Fx:null;return i?(n.preventDefault(),i(e.state,e.dispatch)):!1}}}})}function Ux(t,e){return(n,r)=>{let i=Nr.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let o=g8(i,n,t);o&&r(e?o.scrollIntoView():o)}return!0}}const kx=Ux(!1,!0),Fx=Ux(!0,!0);function b8(t={}){return new jr({view(e){return new v8(e,t)}})}class v8{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return e.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let s=e.nodeBefore,c=e.nodeAfter;if(s||c){let l=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(l){let u=l.getBoundingClientRect(),f=s?u.bottom:u.top;s&&c&&(f=(f+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:f-this.width/2,bottom:f+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=N0(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}}class Ye extends Fe{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return Ye.valid(r)?new Ye(r):Fe.near(r)}content(){return _e.empty}eq(e){return e instanceof Ye&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Ye(e.resolve(n.pos))}getBookmark(){return new zh(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!x8(e)||!D8(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&Ye.valid(e))return e;let i=e.pos,o=null;for(let a=e.depth;;a--){let s=e.node(a);if(n>0?e.indexAfter(a)<s.childCount:e.index(a)>0){o=s.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let c=e.doc.resolve(i);if(Ye.valid(c))return c}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!Ae.isSelectable(o)){e=e.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=e.doc.resolve(i);if(Ye.valid(s))return s}return null}}}Ye.prototype.visible=!1;Ye.findFrom=Ye.findGapCursorFrom;Fe.jsonID("gapcursor",Ye);class zh{constructor(e){this.pos=e}map(e){return new zh(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return Ye.valid(n)?new Ye(n):Fe.near(n)}}function x8(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function D8(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function w8(){return new jr({props:{decorations:C8,createSelectionBetween(t,e,n){return e.pos==n.pos&&Ye.valid(n)?new Ye(n):null},handleClick:T8,handleKeyDown:_8,handleDOMEvents:{beforeinput:E8}}})}const _8=mh({ArrowLeft:Ko("horiz",-1),ArrowRight:Ko("horiz",1),ArrowUp:Ko("vert",-1),ArrowDown:Ko("vert",1)});function Ko(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,o){let a=r.selection,s=e>0?a.$to:a.$from,c=a.empty;if(a instanceof Be){if(!o.endOfTextblock(n)||s.depth==0)return!1;c=!1,s=r.doc.resolve(e>0?s.after():s.before())}let l=Ye.findGapCursorFrom(s,e,c);return l?(i&&i(r.tr.setSelection(new Ye(l))),!0):!1}}function T8(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!Ye.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&Ae.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new Ye(r))),!0)}function E8(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof Ye))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=pe.empty;for(let a=r.length-1;a>=0;a--)i=pe.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new _e(i,0,0));return o.setSelection(Be.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function C8(t){if(!(t.selection instanceof Ye))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Je.create(t.doc,[pt.widget(t.selection.head,e,{key:"gapcursor"})])}var Md,Wd;if(typeof WeakMap<"u"){let t=new WeakMap;Md=e=>t.get(e),Wd=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;Md=r=>{for(let i=0;i<t.length;i+=2)if(t[i]==r)return t[i+1]},Wd=(r,i)=>(n==10&&(n=0),t[n++]=r,t[n++]=i)}var Qe=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e<this.map.length;e++){const n=this.map[e];if(n!=t)continue;const r=e%this.width,i=e/this.width|0;let o=r+1,a=i+1;for(let s=1;o<this.width&&this.map[e+s]==n;s++)o++;for(let s=1;a<this.height&&this.map[e+this.width*s]==n;s++)a++;return{left:r,top:i,right:o,bottom:a}}throw new RangeError(`No cell with offset ${t} found`)}colCount(t){for(let e=0;e<this.map.length;e++)if(this.map[e]==t)return e%this.width;throw new RangeError(`No cell with offset ${t} found`)}nextCell(t,e,n){const{left:r,right:i,top:o,bottom:a}=this.findCell(t);return e=="horiz"?(n<0?r==0:i==this.width)?null:this.map[o*this.width+(n<0?r-1:i)]:(n<0?o==0:a==this.height)?null:this.map[r+this.width*(n<0?o-1:a)]}rectBetween(t,e){const{left:n,right:r,top:i,bottom:o}=this.findCell(t),{left:a,right:s,top:c,bottom:l}=this.findCell(e);return{left:Math.min(n,a),top:Math.min(i,c),right:Math.max(r,s),bottom:Math.max(o,l)}}cellsInRect(t){const e=[],n={};for(let r=t.top;r<t.bottom;r++)for(let i=t.left;i<t.right;i++){const o=r*this.width+i,a=this.map[o];n[a]||(n[a]=!0,!(i==t.left&&i&&this.map[o-1]==a||r==t.top&&r&&this.map[o-this.width]==a)&&e.push(a))}return e}positionAt(t,e,n){for(let r=0,i=0;;r++){const o=i+n.child(r).nodeSize;if(r==t){let a=e+t*this.width;const s=(t+1)*this.width;for(;a<s&&this.map[a]<i;)a++;return a==s?o-1:this.map[a]}i=o}}static get(t){return Md(t)||Wd(t,S8(t))}};function S8(t){if(t.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+t.type.name);const e=A8(t),n=t.childCount,r=[];let i=0,o=null;const a=[];for(let l=0,u=e*n;l<u;l++)r[l]=0;for(let l=0,u=0;l<n;l++){const f=t.child(l);u++;for(let p=0;;p++){for(;i<r.length&&r[i]!=0;)i++;if(p==f.childCount)break;const m=f.child(p),{colspan:g,rowspan:y,colwidth:b}=m.attrs;for(let v=0;v<y;v++){if(v+l>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:y-v});break}const T=i+v*e;for(let w=0;w<g;w++){r[T+w]==0?r[T+w]=u:(o||(o=[])).push({type:"collision",row:l,pos:u,n:g-w});const E=b&&b[w];if(E){const S=(T+w)%e*2,U=a[S];U==null||U!=E&&a[S+1]==1?(a[S]=E,a[S+1]=1):U==E&&a[S+1]++}}}i+=g,u+=m.nodeSize}const d=(l+1)*e;let h=0;for(;i<d;)r[i++]==0&&h++;h&&(o||(o=[])).push({type:"missing",row:l,n:h}),u++}(e===0||n===0)&&(o||(o=[])).push({type:"zero_sized"});const s=new Qe(e,n,r,o);let c=!1;for(let l=0;!c&&l<a.length;l+=2)a[l]!=null&&a[l+1]<n&&(c=!0);return c&&U8(s,a,t),s}function A8(t){let e=-1,n=!1;for(let r=0;r<t.childCount;r++){const i=t.child(r);let o=0;if(n)for(let a=0;a<r;a++){const s=t.child(a);for(let c=0;c<s.childCount;c++){const l=s.child(c);a+l.attrs.rowspan>r&&(o+=l.attrs.colspan)}}for(let a=0;a<i.childCount;a++){const s=i.child(a);o+=s.attrs.colspan,s.attrs.rowspan>1&&(n=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function U8(t,e,n){t.problems||(t.problems=[]);const r={};for(let i=0;i<t.map.length;i++){const o=t.map[i];if(r[o])continue;r[o]=!0;const a=n.nodeAt(o);if(!a)throw new RangeError(`No cell with offset ${o} found`);let s=null;const c=a.attrs;for(let l=0;l<c.colspan;l++){const u=(i+l)%t.width,f=e[u*2];f!=null&&(!c.colwidth||c.colwidth[l]!=f)&&((s||(s=k8(c)))[l]=f)}s&&t.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}function k8(t){if(t.colwidth)return t.colwidth.slice();const e=[];for(let n=0;n<t.colspan;n++)e.push(0);return e}function gt(t){let e=t.cached.tableNodeTypes;if(!e){e=t.cached.tableNodeTypes={};for(const n in t.nodes){const r=t.nodes[n],i=r.spec.tableRole;i&&(e[i]=r)}}return e}var tr=new ki("selectingCells");function Oi(t){for(let e=t.depth-1;e>0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function F8(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function sn(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function Zs(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=Oi(e.$head)||O8(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function O8(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function Ld(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function R8(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function jh(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function Ox(t,e,n){const r=t.node(-1),i=Qe.get(r),o=t.start(-1),a=i.nextCell(t.pos-o,e,n);return a==null?null:t.node(0).resolve(o+a)}function Pr(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function Rx(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;i<n;i++)r.colwidth.splice(e,0,0)}return r}function N8(t,e,n){const r=gt(e.type.schema).header_cell;for(let i=0;i<t.height;i++)if(e.nodeAt(t.map[n+i*t.width]).type!=r)return!1;return!0}var Ke=class kn extends Fe{constructor(e,n=e){const r=e.node(-1),i=Qe.get(r),o=e.start(-1),a=i.rectBetween(e.pos-o,n.pos-o),s=e.node(0),c=i.cellsInRect(a).filter(u=>u!=n.pos-o);c.unshift(n.pos-o);const l=c.map(u=>{const f=r.nodeAt(u);if(!f)throw RangeError(`No cell with offset ${u} found`);const d=o+u+1;return new oh(s.resolve(d),s.resolve(d+f.content.size))});super(l[0].$from,l[0].$to,l),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),i=e.resolve(n.map(this.$headCell.pos));if(Ld(r)&&Ld(i)&&jh(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?kn.rowSelection(r,i):o&&this.isColSelection()?kn.colSelection(r,i):new kn(r,i)}return Be.between(r,i)}content(){const e=this.$anchorCell.node(-1),n=Qe.get(e),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let c=i.top;c<i.bottom;c++){const l=[];for(let u=c*n.width+i.left,f=i.left;f<i.right;f++,u++){const d=n.map[u];if(o[d])continue;o[d]=!0;const h=n.findCell(d);let p=e.nodeAt(d);if(!p)throw RangeError(`No cell with offset ${d} found`);const m=i.left-h.left,g=h.right-i.right;if(m>0||g>0){let y=p.attrs;if(m>0&&(y=Pr(y,0,m)),g>0&&(y=Pr(y,y.colspan-g,g)),h.left<i.left){if(p=p.type.createAndFill(y),!p)throw RangeError(`Could not create cell with attrs ${JSON.stringify(y)}`)}else p=p.type.create(y,p.content)}if(h.top<i.top||h.bottom>i.bottom){const y={...p.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};h.top<i.top?p=p.type.createAndFill(y):p=p.type.create(y,p.content)}l.push(p)}a.push(e.child(c).copy(pe.from(l)))}const s=this.isColSelection()&&this.isRowSelection()?e:a;return new _e(pe.from(s),1,1)}replace(e,n=_e.empty){const r=e.steps.length,i=this.ranges;for(let a=0;a<i.length;a++){const{$from:s,$to:c}=i[a],l=e.mapping.slice(r);e.replace(l.map(s.pos),l.map(c.pos),a?_e.empty:n)}const o=Fe.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,n){this.replace(e,new _e(pe.from(n),0,0))}forEachCell(e){const n=this.$anchorCell.node(-1),r=Qe.get(n),i=this.$anchorCell.start(-1),o=r.cellsInRect(r.rectBetween(this.$anchorCell.pos-i,this.$headCell.pos-i));for(let a=0;a<o.length;a++)e(n.nodeAt(o[a]),i+o[a])}isColSelection(){const e=this.$anchorCell.index(-1),n=this.$headCell.index(-1);if(Math.min(e,n)>0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),i=Qe.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),c=e.node(0);return a.top<=s.top?(a.top>0&&(e=c.resolve(o+i.map[a.left])),s.bottom<i.height&&(n=c.resolve(o+i.map[i.width*(i.height-1)+s.right-1]))):(s.top>0&&(n=c.resolve(o+i.map[s.left])),a.bottom<i.height&&(e=c.resolve(o+i.map[i.width*(i.height-1)+a.right-1]))),new kn(e,n)}isRowSelection(){const e=this.$anchorCell.node(-1),n=Qe.get(e),r=this.$anchorCell.start(-1),i=n.colCount(this.$anchorCell.pos-r),o=n.colCount(this.$headCell.pos-r);if(Math.min(i,o)>0)return!1;const a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(e){return e instanceof kn&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),i=Qe.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),c=e.node(0);return a.left<=s.left?(a.left>0&&(e=c.resolve(o+i.map[a.top*i.width])),s.right<i.width&&(n=c.resolve(o+i.map[i.width*(s.top+1)-1]))):(s.left>0&&(n=c.resolve(o+i.map[s.top*i.width])),a.right<i.width&&(e=c.resolve(o+i.map[i.width*(a.top+1)-1]))),new kn(e,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,n){return new kn(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){return new kn(e.resolve(n),e.resolve(r))}getBookmark(){return new B8(this.$anchorCell.pos,this.$headCell.pos)}};Ke.prototype.visible=!1;Fe.jsonID("cell",Ke);var B8=class Nx{constructor(e,n){this.anchor=e,this.head=n}map(e){return new Nx(e.map(this.anchor),e.map(this.head))}resolve(e){const n=e.resolve(this.anchor),r=e.resolve(this.head);return n.parent.type.spec.tableRole=="row"&&r.parent.type.spec.tableRole=="row"&&n.index()<n.parent.childCount&&r.index()<r.parent.childCount&&jh(n,r)?new Ke(n,r):Fe.near(r,1)}};function I8(t){if(!(t.selection instanceof Ke))return null;const e=[];return t.selection.forEachCell((n,r)=>{e.push(pt.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Je.create(t.doc,e)}function M8({$from:t,$to:e}){if(t.pos==e.pos||t.pos<e.pos-6)return!1;let n=t.pos,r=e.pos,i=t.depth;for(;i>=0&&!(t.after(i+1)<t.end(i));i--,n++);for(let o=e.depth;o>=0&&!(e.before(o+1)>e.start(o));o--,r--);return n==r&&/row|table/.test(t.node(i).type.spec.tableRole)}function W8({$from:t,$to:e}){let n,r;for(let i=t.depth;i>0;i--){const o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=e.depth;i>0;i--){const o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&e.parentOffset===0}function L8(t,e,n){const r=(e||t).selection,i=(e||t).doc;let o,a;if(r instanceof Ae&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Ke.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Ke.rowSelection(s,s)}else if(!n){const s=Qe.get(r.node),c=r.from+1,l=c+s.map[s.width*s.height-1];o=Ke.create(i,c+1,l)}}else r instanceof Be&&M8(r)?o=Be.create(i,r.from):r instanceof Be&&W8(r)&&(o=Be.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var P8=new ki("fix-tables");function Bx(t,e,n,r){const i=t.childCount,o=e.childCount;e:for(let a=0,s=0;a<o;a++){const c=e.child(a);for(let l=s,u=Math.min(i,a+3);l<u;l++)if(t.child(l)==c){s=l+1,n+=c.nodeSize;continue e}r(c,n),s<i&&t.child(s).sameMarkup(c)?Bx(t.child(s),c,n+1,r):c.nodesBetween(0,c.content.size,r,n+1),n+=c.nodeSize}}function Ix(t,e){let n;const r=(i,o)=>{i.type.spec.tableRole=="table"&&(n=q8(t,i,o,n))};return e?e.doc!=t.doc&&Bx(e.doc,t.doc,0,r):t.doc.descendants(r),n}function q8(t,e,n,r){const i=Qe.get(e);if(!i.problems)return r;r||(r=t.tr);const o=[];for(let c=0;c<i.height;c++)o.push(0);for(let c=0;c<i.problems.length;c++){const l=i.problems[c];if(l.type=="collision"){const u=e.nodeAt(l.pos);if(!u)continue;const f=u.attrs;for(let d=0;d<f.rowspan;d++)o[l.row+d]+=l.n;r.setNodeMarkup(r.mapping.map(n+1+l.pos),null,Pr(f,f.colspan-l.n,l.n))}else if(l.type=="missing")o[l.row]+=l.n;else if(l.type=="overlong_rowspan"){const u=e.nodeAt(l.pos);if(!u)continue;r.setNodeMarkup(r.mapping.map(n+1+l.pos),null,{...u.attrs,rowspan:u.attrs.rowspan-l.n})}else if(l.type=="colwidth mismatch"){const u=e.nodeAt(l.pos);if(!u)continue;r.setNodeMarkup(r.mapping.map(n+1+l.pos),null,{...u.attrs,colwidth:l.colwidth})}else if(l.type=="zero_sized"){const u=r.mapping.map(n);r.delete(u,u+e.nodeSize)}}let a,s;for(let c=0;c<o.length;c++)o[c]&&(a==null&&(a=c),s=c);for(let c=0,l=n+1;c<i.height;c++){const u=e.child(c),f=l+u.nodeSize,d=o[c];if(d>0){let h="cell";u.firstChild&&(h=u.firstChild.type.spec.tableRole);const p=[];for(let g=0;g<d;g++){const y=gt(t.schema)[h].createAndFill();y&&p.push(y)}const m=(c==0||a==c-1)&&s==c?l+1:f-1;r.insert(r.mapping.map(m),p)}l=f}return r.setMeta(P8,{fixTables:!0})}function Dn(t){const e=t.selection,n=Zs(t),r=n.node(-1),i=n.start(-1),o=Qe.get(r);return{...e instanceof Ke?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(n.pos-i),tableStart:i,map:o,table:r}}function Mx(t,{map:e,tableStart:n,table:r},i){let o=i>0?-1:0;N8(e,r,i+o)&&(o=i==0||i==e.width?null:0);for(let a=0;a<e.height;a++){const s=a*e.width+i;if(i>0&&i<e.width&&e.map[s-1]==e.map[s]){const c=e.map[s],l=r.nodeAt(c);t.setNodeMarkup(t.mapping.map(n+c),null,Rx(l.attrs,i-e.colCount(c))),a+=l.attrs.rowspan-1}else{const c=o==null?gt(r.type.schema).cell:r.nodeAt(e.map[s+o]).type,l=e.positionAt(a,i,r);t.insert(t.mapping.map(n+l),c.createAndFill())}}return t}function z8(t,e){if(!sn(t))return!1;if(e){const n=Dn(t);e(Mx(t.tr,n,n.left))}return!0}function j8(t,e){if(!sn(t))return!1;if(e){const n=Dn(t);e(Mx(t.tr,n,n.right))}return!0}function $8(t,{map:e,table:n,tableStart:r},i){const o=t.mapping.maps.length;for(let a=0;a<e.height;){const s=a*e.width+i,c=e.map[s],l=n.nodeAt(c),u=l.attrs;if(i>0&&e.map[s-1]==c||i<e.width-1&&e.map[s+1]==c)t.setNodeMarkup(t.mapping.slice(o).map(r+c),null,Pr(u,i-e.colCount(c)));else{const f=t.mapping.slice(o).map(r+c);t.delete(f,f+l.nodeSize)}a+=u.rowspan}}function V8(t,e){if(!sn(t))return!1;if(e){const n=Dn(t),r=t.tr;if(n.left==0&&n.right==n.map.width)return!1;for(let i=n.right-1;$8(r,n,i),i!=n.left;i--){const o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=Qe.get(o)}e(r)}return!0}function H8(t,e,n){var r;const i=gt(e.type.schema).header_cell;for(let o=0;o<t.width;o++)if(((r=e.nodeAt(t.map[o+n*t.width]))==null?void 0:r.type)!=i)return!1;return!0}function Wx(t,{map:e,tableStart:n,table:r},i){var o;let a=n;for(let l=0;l<i;l++)a+=r.child(l).nodeSize;const s=[];let c=i>0?-1:0;H8(e,r,i+c)&&(c=i==0||i==e.height?null:0);for(let l=0,u=e.width*i;l<e.width;l++,u++)if(i>0&&i<e.height&&e.map[u]==e.map[u-e.width]){const f=e.map[u],d=r.nodeAt(f).attrs;t.setNodeMarkup(n+f,null,{...d,rowspan:d.rowspan+1}),l+=d.colspan-1}else{const f=c==null?gt(r.type.schema).cell:(o=r.nodeAt(e.map[u+c*e.width]))==null?void 0:o.type,d=f==null?void 0:f.createAndFill();d&&s.push(d)}return t.insert(a,gt(r.type.schema).row.create(null,s)),t}function X8(t,e){if(!sn(t))return!1;if(e){const n=Dn(t);e(Wx(t.tr,n,n.top))}return!0}function G8(t,e){if(!sn(t))return!1;if(e){const n=Dn(t);e(Wx(t.tr,n,n.bottom))}return!0}function K8(t,{map:e,table:n,tableStart:r},i){let o=0;for(let l=0;l<i;l++)o+=n.child(l).nodeSize;const a=o+n.child(i).nodeSize,s=t.mapping.maps.length;t.delete(o+r,a+r);const c=new Set;for(let l=0,u=i*e.width;l<e.width;l++,u++){const f=e.map[u];if(!c.has(f)){if(c.add(f),i>0&&f==e.map[u-e.width]){const d=n.nodeAt(f).attrs;t.setNodeMarkup(t.mapping.slice(s).map(f+r),null,{...d,rowspan:d.rowspan-1}),l+=d.colspan-1}else if(i<e.height&&f==e.map[u+e.width]){const d=n.nodeAt(f),h=d.attrs,p=d.type.create({...h,rowspan:d.attrs.rowspan-1},d.content),m=e.positionAt(i+1,l,n);t.insert(t.mapping.slice(s).map(r+m),p),l+=h.colspan-1}}}}function J8(t,e){if(!sn(t))return!1;if(e){const n=Dn(t),r=t.tr;if(n.top==0&&n.bottom==n.map.height)return!1;for(let i=n.bottom-1;K8(r,n,i),i!=n.top;i--){const o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=Qe.get(n.table)}e(r)}return!0}function Rm(t){const e=t.content;return e.childCount==1&&e.child(0).isTextblock&&e.child(0).childCount==0}function Z8({width:t,height:e,map:n},r){let i=r.top*t+r.left,o=i,a=(r.bottom-1)*t+r.left,s=i+(r.right-r.left-1);for(let c=r.top;c<r.bottom;c++){if(r.left>0&&n[o]==n[o-1]||r.right<t&&n[s]==n[s+1])return!0;o+=t,s+=t}for(let c=r.left;c<r.right;c++){if(r.top>0&&n[i]==n[i-t]||r.bottom<e&&n[a]==n[a+t])return!0;i++,a++}return!1}function Y8(t,e){const n=t.selection;if(!(n instanceof Ke)||n.$anchorCell.pos==n.$headCell.pos)return!1;const r=Dn(t),{map:i}=r;if(Z8(i,r))return!1;if(e){const o=t.tr,a={};let s=pe.empty,c,l;for(let u=r.top;u<r.bottom;u++)for(let f=r.left;f<r.right;f++){const d=i.map[u*i.width+f],h=r.table.nodeAt(d);if(!(a[d]||!h))if(a[d]=!0,c==null)c=d,l=h;else{Rm(h)||(s=s.append(h.content));const p=o.mapping.map(d+r.tableStart);o.delete(p,p+h.nodeSize)}}if(c==null||l==null)return!0;if(o.setNodeMarkup(c+r.tableStart,null,{...Rx(l.attrs,l.attrs.colspan,r.right-r.left-l.attrs.colspan),rowspan:r.bottom-r.top}),s.size){const u=c+1+l.content.size,f=Rm(l)?c+1:u;o.replaceWith(f+r.tableStart,u+r.tableStart,s)}o.setSelection(new Ke(o.doc.resolve(c+r.tableStart))),e(o)}return!0}function Q8(t,e){const n=gt(t.schema);return ek(({node:r})=>n[r.type.spec.tableRole])(t,e)}function ek(t){return(e,n)=>{var r;const i=e.selection;let o,a;if(i instanceof Ke){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=F8(i.$from),!o)return!1;a=(r=Oi(i.$from))==null?void 0:r.pos}if(o==null||a==null||o.attrs.colspan==1&&o.attrs.rowspan==1)return!1;if(n){let s=o.attrs;const c=[],l=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const u=Dn(e),f=e.tr;for(let h=0;h<u.right-u.left;h++)c.push(l?{...s,colwidth:l&&l[h]?[l[h]]:null}:s);let d;for(let h=u.top;h<u.bottom;h++){let p=u.map.positionAt(h,u.left,u.table);h==u.top&&(p+=o.nodeSize);for(let m=u.left,g=0;m<u.right;m++,g++)m==u.left&&h==u.top||f.insert(d=f.mapping.map(p+u.tableStart,1),t({node:o,row:h,col:m}).createAndFill(c[g]))}f.setNodeMarkup(a,t({node:o,row:u.top,col:u.left}),c[0]),i instanceof Ke&&f.setSelection(new Ke(f.doc.resolve(i.$anchorCell.pos),d?f.doc.resolve(d):void 0)),n(f)}return!0}}function tk(t,e){return function(n,r){if(!sn(n))return!1;const i=Zs(n);if(i.nodeAfter.attrs[t]===e)return!1;if(r){const o=n.tr;n.selection instanceof Ke?n.selection.forEachCell((a,s)=>{a.attrs[t]!==e&&o.setNodeMarkup(s,null,{...a.attrs,[t]:e})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[t]:e}),r(o)}return!0}}function nk(t){return function(e,n){if(!sn(e))return!1;if(n){const r=gt(e.schema),i=Dn(e),o=e.tr,a=i.map.cellsInRect(t=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:t=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(c=>i.table.nodeAt(c));for(let c=0;c<a.length;c++)s[c].type==r.header_cell&&o.setNodeMarkup(i.tableStart+a[c],r.cell,s[c].attrs);if(o.steps.length==0)for(let c=0;c<a.length;c++)o.setNodeMarkup(i.tableStart+a[c],r.header_cell,s[c].attrs);n(o)}return!0}}function Nm(t,e,n){const r=e.map.cellsInRect({left:0,top:0,right:t=="row"?e.map.width:1,bottom:t=="column"?e.map.height:1});for(let i=0;i<r.length;i++){const o=e.table.nodeAt(r[i]);if(o&&o.type!==n.header_cell)return!1}return!0}function Ys(t,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?nk(t):function(n,r){if(!sn(n))return!1;if(r){const i=gt(n.schema),o=Dn(n),a=n.tr,s=Nm("row",o,i),c=Nm("column",o,i),u=(t==="column"?s:t==="row"?c:!1)?1:0,f=t=="column"?{left:0,top:u,right:1,bottom:o.map.height}:t=="row"?{left:u,top:0,right:o.map.width,bottom:1}:o,d=t=="column"?c?i.cell:i.header_cell:t=="row"?s?i.cell:i.header_cell:i.cell;o.map.cellsInRect(f).forEach(h=>{const p=h+o.tableStart,m=a.doc.nodeAt(p);m&&a.setNodeMarkup(p,d,m.attrs)}),r(a)}return!0}}Ys("row",{useDeprecatedLogic:!0});Ys("column",{useDeprecatedLogic:!0});var rk=Ys("cell",{useDeprecatedLogic:!0});function ik(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,i=t.before();r>=0;r--){const o=t.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(t.index()<t.parent.childCount-1)return t.pos+t.nodeAfter.nodeSize;const n=t.node(-1);for(let r=t.indexAfter(-1),i=t.after();r<n.childCount;r++){const o=n.child(r);if(o.childCount)return i+1;i+=o.nodeSize}}return null}function ok(t){return function(e,n){if(!sn(e))return!1;const r=ik(Zs(e),t);if(r==null)return!1;if(n){const i=e.doc.resolve(r);n(e.tr.setSelection(Be.between(i,R8(i))).scrollIntoView())}return!0}}function ak(t,e){const n=t.selection.$anchor;for(let r=n.depth;r>0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Jo(t,e){const n=t.selection;if(!(n instanceof Ke))return!1;if(e){const r=t.tr,i=gt(t.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new _e(i,0,0))}),r.docChanged&&e(r)}return!0}function sk(t){if(!t.size)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const i=e.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let c=0;c<e.childCount;c++){let l=e.child(c).content;const u=c?0:Math.max(0,n-1),f=c<e.childCount-1?0:Math.max(0,r-1);(u||f)&&(l=Pd(gt(a).row,new _e(l,u,f)).content),s.push(l)}else if(o=="cell"||o=="header_cell")s.push(n||r?Pd(gt(a).row,new _e(e,n,r)).content:e);else return null;return ck(a,s)}function ck(t,e){const n=[];for(let i=0;i<e.length;i++){const o=e[i];for(let a=o.childCount-1;a>=0;a--){const{rowspan:s,colspan:c}=o.child(a).attrs;for(let l=i;l<i+s;l++)n[l]=(n[l]||0)+c}}let r=0;for(let i=0;i<n.length;i++)r=Math.max(r,n[i]);for(let i=0;i<n.length;i++)if(i>=e.length&&e.push(pe.empty),n[i]<r){const o=gt(t).cell.createAndFill(),a=[];for(let s=n[i];s<r;s++)a.push(o);e[i]=e[i].append(pe.from(a))}return{height:e.length,width:r,rows:e}}function Pd(t,e){const n=t.createAndFill();return new ih(n).replace(0,n.content.size,e).doc}function lk({width:t,height:e,rows:n},r,i){if(t!=r){const o=[],a=[];for(let s=0;s<n.length;s++){const c=n[s],l=[];for(let u=o[s]||0,f=0;u<r;f++){let d=c.child(f%c.childCount);u+d.attrs.colspan>r&&(d=d.type.createChecked(Pr(d.attrs,d.attrs.colspan,u+d.attrs.colspan-r),d.content)),l.push(d),u+=d.attrs.colspan;for(let h=1;h<d.attrs.rowspan;h++)o[s+h]=(o[s+h]||0)+d.attrs.colspan}a.push(pe.from(l))}n=a,t=r}if(e!=i){const o=[];for(let a=0,s=0;a<i;a++,s++){const c=[],l=n[s%e];for(let u=0;u<l.childCount;u++){let f=l.child(u);a+f.attrs.rowspan>i&&(f=f.type.create({...f.attrs,rowspan:Math.max(1,i-f.attrs.rowspan)},f.content)),c.push(f)}o.push(pe.from(c))}n=o,e=i}return{width:t,height:e,rows:n}}function uk(t,e,n,r,i,o,a){const s=t.doc.type.schema,c=gt(s);let l,u;if(i>e.width)for(let f=0,d=0;f<e.height;f++){const h=n.child(f);d+=h.nodeSize;const p=[];let m;h.lastChild==null||h.lastChild.type==c.cell?m=l||(l=c.cell.createAndFill()):m=u||(u=c.header_cell.createAndFill());for(let g=e.width;g<i;g++)p.push(m);t.insert(t.mapping.slice(a).map(d-1+r),p)}if(o>e.height){const f=[];for(let p=0,m=(e.height-1)*e.width;p<Math.max(e.width,i);p++){const g=p>=e.width?!1:n.nodeAt(e.map[m+p]).type==c.header_cell;f.push(g?u||(u=c.header_cell.createAndFill()):l||(l=c.cell.createAndFill()))}const d=c.row.create(null,pe.from(f)),h=[];for(let p=e.height;p<o;p++)h.push(d);t.insert(t.mapping.slice(a).map(r+n.nodeSize-2),h)}return!!(l||u)}function Bm(t,e,n,r,i,o,a,s){if(a==0||a==e.height)return!1;let c=!1;for(let l=i;l<o;l++){const u=a*e.width+l,f=e.map[u];if(e.map[u-e.width]==f){c=!0;const d=n.nodeAt(f),{top:h,left:p}=e.findCell(f);t.setNodeMarkup(t.mapping.slice(s).map(f+r),null,{...d.attrs,rowspan:a-h}),t.insert(t.mapping.slice(s).map(e.positionAt(a,p,n)),d.type.createAndFill({...d.attrs,rowspan:h+d.attrs.rowspan-a})),l+=d.attrs.colspan-1}}return c}function Im(t,e,n,r,i,o,a,s){if(a==0||a==e.width)return!1;let c=!1;for(let l=i;l<o;l++){const u=l*e.width+a,f=e.map[u];if(e.map[u-1]==f){c=!0;const d=n.nodeAt(f),h=e.colCount(f),p=t.mapping.slice(s).map(f+r);t.setNodeMarkup(p,null,Pr(d.attrs,a-h,d.attrs.colspan-(a-h))),t.insert(p+d.nodeSize,d.type.createAndFill(Pr(d.attrs,0,a-h))),l+=d.attrs.rowspan-1}}return c}function Mm(t,e,n,r,i){let o=n?t.doc.nodeAt(n-1):t.doc;if(!o)throw new Error("No table found");let a=Qe.get(o);const{top:s,left:c}=r,l=c+i.width,u=s+i.height,f=t.tr;let d=0;function h(){if(o=n?f.doc.nodeAt(n-1):f.doc,!o)throw new Error("No table found");a=Qe.get(o),d=f.mapping.maps.length}uk(f,a,o,n,l,u,d)&&h(),Bm(f,a,o,n,c,l,s,d)&&h(),Bm(f,a,o,n,c,l,u,d)&&h(),Im(f,a,o,n,s,u,c,d)&&h(),Im(f,a,o,n,s,u,l,d)&&h();for(let p=s;p<u;p++){const m=a.positionAt(p,c,o),g=a.positionAt(p,l,o);f.replace(f.mapping.slice(d).map(m+n),f.mapping.slice(d).map(g+n),new _e(i.rows[p-s],0,0))}h(),f.setSelection(new Ke(f.doc.resolve(n+a.positionAt(s,c,o)),f.doc.resolve(n+a.positionAt(u-1,l-1,o)))),e(f)}var fk=mh({ArrowLeft:Zo("horiz",-1),ArrowRight:Zo("horiz",1),ArrowUp:Zo("vert",-1),ArrowDown:Zo("vert",1),"Shift-ArrowLeft":Yo("horiz",-1),"Shift-ArrowRight":Yo("horiz",1),"Shift-ArrowUp":Yo("vert",-1),"Shift-ArrowDown":Yo("vert",1),Backspace:Jo,"Mod-Backspace":Jo,Delete:Jo,"Mod-Delete":Jo});function Ea(t,e,n){return n.eq(t.selection)?!1:(e&&e(t.tr.setSelection(n).scrollIntoView()),!0)}function Zo(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;if(o instanceof Ke)return Ea(n,r,Fe.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;const a=Lx(i,t,e);if(a==null)return!1;if(t=="horiz")return Ea(n,r,Fe.near(n.doc.resolve(o.head+e),e));{const s=n.doc.resolve(a),c=Ox(s,t,e);let l;return c?l=Fe.near(c,1):e<0?l=Fe.near(n.doc.resolve(s.before(-1)),-1):l=Fe.near(n.doc.resolve(s.after(-1)),1),Ea(n,r,l)}}}function Yo(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Ke)a=o;else{const c=Lx(i,t,e);if(c==null)return!1;a=new Ke(n.doc.resolve(c))}const s=Ox(a.$headCell,t,e);return s?Ea(n,r,new Ke(a.$anchorCell,s)):!1}}function dk(t,e){const n=t.state.doc,r=Oi(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Ke(r))),!0):!1}function hk(t,e,n){if(!sn(t.state))return!1;let r=sk(n);const i=t.state.selection;if(i instanceof Ke){r||(r={width:1,height:1,rows:[pe.from(Pd(gt(t.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=Qe.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=lk(r,s.right-s.left,s.bottom-s.top),Mm(t.state,t.dispatch,a,s,r),!0}else if(r){const o=Zs(t.state),a=o.start(-1);return Mm(t.state,t.dispatch,a,Qe.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function pk(t,e){var n;if(e.ctrlKey||e.metaKey)return;const r=Wm(t,e.target);let i;if(e.shiftKey&&t.state.selection instanceof Ke)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=Oi(t.state.selection.$anchor))!=null&&((n=rl(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(c,l){let u=rl(t,l);const f=tr.getState(t.state)==null;if(!u||!jh(c,u))if(f)u=c;else return;const d=new Ke(c,u);if(f||!t.state.selection.eq(d)){const h=t.state.tr.setSelection(d);f&&h.setMeta(tr,c.pos),t.dispatch(h)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),tr.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(tr,-1))}function s(c){const l=c,u=tr.getState(t.state);let f;if(u!=null)f=t.state.doc.resolve(u);else if(Wm(t,l.target)!=r&&(f=rl(t,e),!f))return a();f&&o(f,l)}t.root.addEventListener("mouseup",a),t.root.addEventListener("dragstart",a),t.root.addEventListener("mousemove",s)}function Lx(t,e,n){if(!(t.state.selection instanceof Be))return null;const{$head:r}=t.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){const s=r.before(i),c=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(c)?s:null}}return null}function Wm(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function rl(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?Oi(t.state.doc.resolve(n.pos)):null}var gk=class{constructor(t,e){this.node=t,this.defaultCellMinWidth=e,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${e}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),qd(t,this.colgroup,this.table,e),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(t){return t.type!=this.node.type?!1:(this.node=t,qd(t,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(t){return t.type=="attributes"&&(t.target==this.table||this.colgroup.contains(t.target))}};function qd(t,e,n,r,i,o){var a;let s=0,c=!0,l=e.firstChild;const u=t.firstChild;if(u){for(let f=0,d=0;f<u.childCount;f++){const{colspan:h,colwidth:p}=u.child(f).attrs;for(let m=0;m<h;m++,d++){const g=i==d?o:p&&p[m],y=g?g+"px":"";if(s+=g||r,g||(c=!1),l)l.style.width!=y&&(l.style.width=y),l=l.nextSibling;else{const b=document.createElement("col");b.style.width=y,e.appendChild(b)}}}for(;l;){const f=l.nextSibling;(a=l.parentNode)==null||a.removeChild(l),l=f}c?(n.style.width=s+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=s+"px")}}var Bt=new ki("tableColumnResizing");function mk({handleWidth:t=5,cellMinWidth:e=25,defaultCellMinWidth:n=100,View:r=gk,lastColumnResizable:i=!0}={}){const o=new jr({key:Bt,state:{init(a,s){var c,l;const u=(l=(c=o.spec)==null?void 0:c.props)==null?void 0:l.nodeViews,f=gt(s.schema).table.name;return r&&u&&(u[f]=(d,h)=>new r(d,n,h)),new yk(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=Bt.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{bk(a,s,t,i)},mouseleave:a=>{vk(a)},mousedown:(a,s)=>{xk(a,s,e,n)}},decorations:a=>{const s=Bt.getState(a);if(s&&s.activeHandle>-1)return Ek(a,s.activeHandle)},nodeViews:{}}});return o}var yk=class Ca{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(Bt);if(r&&r.setHandle!=null)return new Ca(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Ca(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return Ld(e.doc.resolve(i))||(i=-1),new Ca(i,n.dragging)}return n}};function bk(t,e,n,r){if(!t.editable)return;const i=Bt.getState(t.state);if(i&&!i.dragging){const o=wk(e.target);let a=-1;if(o){const{left:s,right:c}=o.getBoundingClientRect();e.clientX-s<=n?a=Lm(t,e,"left",n):c-e.clientX<=n&&(a=Lm(t,e,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=t.state.doc.resolve(a),c=s.node(-1),l=Qe.get(c),u=s.start(-1);if(l.colCount(s.pos-u)+s.nodeAfter.attrs.colspan-1==l.width-1)return}Px(t,a)}}}function vk(t){if(!t.editable)return;const e=Bt.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&Px(t,-1)}function xk(t,e,n,r){var i;if(!t.editable)return!1;const o=(i=t.dom.ownerDocument.defaultView)!=null?i:window,a=Bt.getState(t.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=t.state.doc.nodeAt(a.activeHandle),c=Dk(t,a.activeHandle,s.attrs);t.dispatch(t.state.tr.setMeta(Bt,{setDragging:{startX:e.clientX,startWidth:c}}));function l(f){o.removeEventListener("mouseup",l),o.removeEventListener("mousemove",u);const d=Bt.getState(t.state);d!=null&&d.dragging&&(_k(t,d.activeHandle,Pm(d.dragging,f,n)),t.dispatch(t.state.tr.setMeta(Bt,{setDragging:null})))}function u(f){if(!f.which)return l(f);const d=Bt.getState(t.state);if(d&&d.dragging){const h=Pm(d.dragging,f,n);qm(t,d.activeHandle,h,r)}}return qm(t,a.activeHandle,c,r),o.addEventListener("mouseup",l),o.addEventListener("mousemove",u),e.preventDefault(),!0}function Dk(t,e,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=t.domAtPos(e);let s=o.node.childNodes[o.offset].offsetWidth,c=n;if(r)for(let l=0;l<n;l++)r[l]&&(s-=r[l],c--);return s/c}function wk(t){for(;t&&t.nodeName!="TD"&&t.nodeName!="TH";)t=t.classList&&t.classList.contains("ProseMirror")?null:t.parentNode;return t}function Lm(t,e,n,r){const i=n=="right"?-r:r,o=t.posAtCoords({left:e.clientX+i,top:e.clientY});if(!o)return-1;const{pos:a}=o,s=Oi(t.state.doc.resolve(a));if(!s)return-1;if(n=="right")return s.pos;const c=Qe.get(s.node(-1)),l=s.start(-1),u=c.map.indexOf(s.pos-l);return u%c.width==0?-1:l+c.map[u-1]}function Pm(t,e,n){const r=e.clientX-t.startX;return Math.max(n,t.startWidth+r)}function Px(t,e){t.dispatch(t.state.tr.setMeta(Bt,{setHandle:e}))}function _k(t,e,n){const r=t.state.doc.resolve(e),i=r.node(-1),o=Qe.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,c=t.state.tr;for(let l=0;l<o.height;l++){const u=l*o.width+s;if(l&&o.map[u]==o.map[u-o.width])continue;const f=o.map[u],d=i.nodeAt(f).attrs,h=d.colspan==1?0:s-o.colCount(f);if(d.colwidth&&d.colwidth[h]==n)continue;const p=d.colwidth?d.colwidth.slice():Tk(d.colspan);p[h]=n,c.setNodeMarkup(a+f,null,{...d,colwidth:p})}c.docChanged&&t.dispatch(c)}function qm(t,e,n,r){const i=t.state.doc.resolve(e),o=i.node(-1),a=i.start(-1),s=Qe.get(o).colCount(i.pos-a)+i.nodeAfter.attrs.colspan-1;let c=t.domAtPos(i.start(-1)).node;for(;c&&c.nodeName!="TABLE";)c=c.parentNode;c&&qd(o,c.firstChild,c,r,s,n)}function Tk(t){return Array(t).fill(0)}function Ek(t,e){var n;const r=[],i=t.doc.resolve(e),o=i.node(-1);if(!o)return Je.empty;const a=Qe.get(o),s=i.start(-1),c=a.colCount(i.pos-s)+i.nodeAfter.attrs.colspan-1;for(let l=0;l<a.height;l++){const u=c+l*a.width;if((c==a.width-1||a.map[u]!=a.map[u+1])&&(l==0||a.map[u]!=a.map[u-a.width])){const f=a.map[u],d=s+f+o.nodeAt(f).nodeSize-1,h=document.createElement("div");h.className="column-resize-handle",(n=Bt.getState(t))!=null&&n.dragging&&r.push(pt.node(s+f,s+f+o.nodeAt(f).nodeSize,{class:"column-resize-dragging"})),r.push(pt.widget(d,h))}}return Je.create(t.doc,r)}function Ck({allowTableNodeSelection:t=!1}={}){return new jr({key:tr,state:{init(){return null},apply(e,n){const r=e.getMeta(tr);if(r!=null)return r==-1?null:r;if(n==null||!e.docChanged)return n;const{deleted:i,pos:o}=e.mapping.mapResult(n);return i?null:o}},props:{decorations:I8,handleDOMEvents:{mousedown:pk},createSelectionBetween(e){return tr.getState(e.state)!=null?e.state.selection:null},handleTripleClick:dk,handleKeyDown:fk,handlePaste:hk},appendTransaction(e,n,r){return L8(r,Ix(r,n),t)}})}var Xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $h(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function qx(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})}),n}var il,zm;function zx(){if(zm)return il;zm=1;var t=Object.prototype.toString;return il=function(n){var r=t.call(n),i=r==="[object Arguments]";return i||(i=r!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&t.call(n.callee)==="[object Function]"),i},il}var ol,jm;function Sk(){if(jm)return ol;jm=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=zx(),i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],c=function(d){var h=d.constructor;return h&&h.prototype===d},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},u=function(){if(typeof window>"u")return!1;for(var d in window)try{if(!l["$"+d]&&e.call(window,d)&&window[d]!==null&&typeof window[d]=="object")try{c(window[d])}catch{return!0}}catch{return!0}return!1}(),f=function(d){if(typeof window>"u"||!u)return c(d);try{return c(d)}catch{return!1}};t=function(h){var p=h!==null&&typeof h=="object",m=n.call(h)==="[object Function]",g=r(h),y=p&&n.call(h)==="[object String]",b=[];if(!p&&!m&&!g)throw new TypeError("Object.keys called on a non-object");var v=a&&m;if(y&&h.length>0&&!e.call(h,0))for(var T=0;T<h.length;++T)b.push(String(T));if(g&&h.length>0)for(var w=0;w<h.length;++w)b.push(String(w));else for(var E in h)!(v&&E==="prototype")&&e.call(h,E)&&b.push(String(E));if(o)for(var S=f(h),U=0;U<s.length;++U)!(S&&s[U]==="constructor")&&e.call(h,s[U])&&b.push(s[U]);return b}}return ol=t,ol}var al,$m;function Vh(){if($m)return al;$m=1;var t=Array.prototype.slice,e=zx(),n=Object.keys,r=n?function(a){return n(a)}:Sk(),i=Object.keys;return r.shim=function(){if(Object.keys){var a=function(){var s=Object.keys(arguments);return s&&s.length===arguments.length}(1,2);a||(Object.keys=function(c){return e(c)?i(t.call(c)):i(c)})}else Object.keys=r;return Object.keys||r},al=r,al}var sl,Vm;function Qs(){if(Vm)return sl;Vm=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return sl=t,sl}var cl,Hm;function Hh(){return Hm||(Hm=1,cl=SyntaxError),cl}var ll,Xm;function Jt(){return Xm||(Xm=1,ll=TypeError),ll}var ul,Gm;function Ak(){return Gm||(Gm=1,ul=Object.getOwnPropertyDescriptor),ul}var fl,Km;function Hr(){if(Km)return fl;Km=1;var t=Ak();if(t)try{t([],"length")}catch{t=null}return fl=t,fl}var dl,Jm;function Xh(){if(Jm)return dl;Jm=1;var t=Qs(),e=Hh(),n=Jt(),r=Hr();return dl=function(o,a,s){if(!o||typeof o!="object"&&typeof o!="function")throw new n("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new n("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,d=!!r&&r(o,a);if(t)t(o,a,{configurable:u===null&&d?d.configurable:!u,enumerable:c===null&&d?d.enumerable:!c,value:s,writable:l===null&&d?d.writable:!l});else if(f||!c&&!l&&!u)o[a]=s;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},dl}var hl,Zm;function Gh(){if(Zm)return hl;Zm=1;var t=Qs(),e=function(){return!!t};return e.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},hl=e,hl}var pl,Ym;function Xr(){if(Ym)return pl;Ym=1;var t=Vh(),e=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",n=Object.prototype.toString,r=Array.prototype.concat,i=Xh(),o=function(l){return typeof l=="function"&&n.call(l)==="[object Function]"},a=Gh()(),s=function(l,u,f,d){if(u in l){if(d===!0){if(l[u]===f)return}else if(!o(d)||!d())return}a?i(l,u,f,!0):i(l,u,f)},c=function(l,u){var f=arguments.length>2?arguments[2]:{},d=t(u);e&&(d=r.call(d,Object.getOwnPropertySymbols(u)));for(var h=0;h<d.length;h+=1)s(l,d[h],u[d[h]],f[d[h]])};return c.supportsDescriptors=!!a,pl=c,pl}var gl={exports:{}},ml,Qm;function Kh(){return Qm||(Qm=1,ml=Object),ml}var yl,ey;function jx(){return ey||(ey=1,yl=Error),yl}var bl,ty;function Uk(){return ty||(ty=1,bl=EvalError),bl}var vl,ny;function kk(){return ny||(ny=1,vl=RangeError),vl}var xl,ry;function Fk(){return ry||(ry=1,xl=ReferenceError),xl}var Dl,iy;function Ok(){return iy||(iy=1,Dl=URIError),Dl}var wl,oy;function Rk(){return oy||(oy=1,wl=Math.abs),wl}var _l,ay;function Nk(){return ay||(ay=1,_l=Math.floor),_l}var Tl,sy;function Bk(){return sy||(sy=1,Tl=Math.max),Tl}var El,cy;function Ik(){return cy||(cy=1,El=Math.min),El}var Cl,ly;function Mk(){return ly||(ly=1,Cl=Math.pow),Cl}var Sl,uy;function Wk(){return uy||(uy=1,Sl=Math.round),Sl}var Al,fy;function Lk(){return fy||(fy=1,Al=Number.isNaN||function(e){return e!==e}),Al}var Ul,dy;function Pk(){if(dy)return Ul;dy=1;var t=Lk();return Ul=function(n){return t(n)||n===0?n:n<0?-1:1},Ul}var kl,hy;function ec(){return hy||(hy=1,kl=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},n=Symbol("test"),r=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var i=42;e[n]=i;for(var o 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 a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,n);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),kl}var Fl,py;function Jh(){if(py)return Fl;py=1;var t=typeof Symbol<"u"&&Symbol,e=ec();return Fl=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},Fl}var Ol,gy;function $x(){return gy||(gy=1,Ol=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ol}var Rl,my;function Vx(){if(my)return Rl;my=1;var t=Kh();return Rl=t.getPrototypeOf||null,Rl}var Nl,yy;function qk(){if(yy)return Nl;yy=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(c,l){for(var u=[],f=0;f<c.length;f+=1)u[f]=c[f];for(var d=0;d<l.length;d+=1)u[d+c.length]=l[d];return u},o=function(c,l){for(var u=[],f=l,d=0;f<c.length;f+=1,d+=1)u[d]=c[f];return u},a=function(s,c){for(var l="",u=0;u<s.length;u+=1)l+=s[u],u+1<s.length&&(l+=c);return l};return Nl=function(c){var l=this;if(typeof l!="function"||e.apply(l)!==r)throw new TypeError(t+l);for(var u=o(arguments,1),f,d=function(){if(this instanceof f){var y=l.apply(this,i(u,arguments));return Object(y)===y?y:this}return l.apply(c,i(u,arguments))},h=n(0,l.length-u.length),p=[],m=0;m<h;m++)p[m]="$"+m;if(f=Function("binder","return function ("+a(p,",")+"){ return binder.apply(this,arguments); }")(d),l.prototype){var g=function(){};g.prototype=l.prototype,f.prototype=new g,g.prototype=null}return f},Nl}var Bl,by;function Mo(){if(by)return Bl;by=1;var t=qk();return Bl=Function.prototype.bind||t,Bl}var Il,vy;function Zh(){return vy||(vy=1,Il=Function.prototype.call),Il}var Ml,xy;function Yh(){return xy||(xy=1,Ml=Function.prototype.apply),Ml}var Wl,Dy;function zk(){return Dy||(Dy=1,Wl=typeof Reflect<"u"&&Reflect&&Reflect.apply),Wl}var Ll,wy;function Hx(){if(wy)return Ll;wy=1;var t=Mo(),e=Yh(),n=Zh(),r=zk();return Ll=r||t.call(n,e),Ll}var Pl,_y;function Qh(){if(_y)return Pl;_y=1;var t=Mo(),e=Jt(),n=Zh(),r=Hx();return Pl=function(o){if(o.length<1||typeof o[0]!="function")throw new e("a function is required");return r(t,n,o)},Pl}var ql,Ty;function jk(){if(Ty)return ql;Ty=1;var t=Qh(),e=Hr(),n;try{n=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var r=!!n&&e&&e(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return ql=r&&typeof r.get=="function"?t([r.get]):typeof o=="function"?function(s){return o(s==null?s:i(s))}:!1,ql}var zl,Ey;function Xx(){if(Ey)return zl;Ey=1;var t=$x(),e=Vx(),n=jk();return zl=t?function(i){return t(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:n?function(i){return n(i)}:null,zl}var jl,Cy;function ep(){if(Cy)return jl;Cy=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,n=Mo();return jl=n.call(t,e),jl}var $l,Sy;function qn(){if(Sy)return $l;Sy=1;var t,e=Kh(),n=jx(),r=Uk(),i=kk(),o=Fk(),a=Hh(),s=Jt(),c=Ok(),l=Rk(),u=Nk(),f=Bk(),d=Ik(),h=Mk(),p=Wk(),m=Pk(),g=Function,y=function(me){try{return g('"use strict"; return ('+me+").constructor;")()}catch{}},b=Hr(),v=Qs(),T=function(){throw new s},w=b?function(){try{return arguments.callee,T}catch{try{return b(arguments,"callee").get}catch{return T}}}():T,E=Jh()(),S=Xx(),U=Vx(),C=$x(),R=Yh(),L=Zh(),_={},k=typeof Uint8Array>"u"||!S?t:S(Uint8Array),x={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":E&&S?S([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":_,"%AsyncGenerator%":_,"%AsyncGeneratorFunction%":_,"%AsyncIteratorPrototype%":_,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":n,"%eval%":eval,"%EvalError%":r,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":_,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&S?S(S([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!E||!S?t:S(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":i,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!E||!S?t:S(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&S?S(""[Symbol.iterator]()):t,"%Symbol%":E?Symbol:t,"%SyntaxError%":a,"%ThrowTypeError%":w,"%TypedArray%":k,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":R,"%Object.defineProperty%":v,"%Object.getPrototypeOf%":U,"%Math.abs%":l,"%Math.floor%":u,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":h,"%Math.round%":p,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(S)try{null.error}catch(me){var z=S(S(me));x["%Error.prototype%"]=z}var F=function me(de){var ge;if(de==="%AsyncFunction%")ge=y("async function () {}");else if(de==="%GeneratorFunction%")ge=y("function* () {}");else if(de==="%AsyncGeneratorFunction%")ge=y("async function* () {}");else if(de==="%AsyncGenerator%"){var ye=me("%AsyncGeneratorFunction%");ye&&(ge=ye.prototype)}else if(de==="%AsyncIteratorPrototype%"){var be=me("%AsyncGenerator%");be&&S&&(ge=S(be.prototype))}return x[de]=ge,ge},I={__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"]},K=Mo(),P=ep(),te=K.call(L,Array.prototype.concat),W=K.call(R,Array.prototype.splice),B=K.call(L,String.prototype.replace),oe=K.call(L,String.prototype.slice),X=K.call(L,RegExp.prototype.exec),J=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,le=/\\(\\)?/g,he=function(de){var ge=oe(de,0,1),ye=oe(de,-1);if(ge==="%"&&ye!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(ye==="%"&&ge!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var be=[];return B(de,J,function(D,V,j,M){be[be.length]=j?B(M,le,"$1"):V||D}),be},fe=function(de,ge){var ye=de,be;if(P(I,ye)&&(be=I[ye],ye="%"+be[0]+"%"),P(x,ye)){var D=x[ye];if(D===_&&(D=F(ye)),typeof D>"u"&&!ge)throw new s("intrinsic "+de+" exists, but is not available. Please file an issue!");return{alias:be,name:ye,value:D}}throw new a("intrinsic "+de+" does not exist!")};return $l=function(de,ge){if(typeof de!="string"||de.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ge!="boolean")throw new s('"allowMissing" argument must be a boolean');if(X(/^%?[^%]*%?$/,de)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ye=he(de),be=ye.length>0?ye[0]:"",D=fe("%"+be+"%",ge),V=D.name,j=D.value,M=!1,N=D.alias;N&&(be=N[0],W(ye,te([0,1],N)));for(var $=1,ie=!0;$<ye.length;$+=1){var ne=ye[$],Z=oe(ne,0,1),q=oe(ne,-1);if((Z==='"'||Z==="'"||Z==="`"||q==='"'||q==="'"||q==="`")&&Z!==q)throw new a("property names with quotes must have matching quotes");if((ne==="constructor"||!ie)&&(M=!0),be+="."+ne,V="%"+be+"%",P(x,V))j=x[V];else if(j!=null){if(!(ne in j)){if(!ge)throw new s("base intrinsic for "+de+" exists, but the property is not available.");return}if(b&&$+1>=ye.length){var G=b(j,ne);ie=!!G,ie&&"get"in G&&!("originalValue"in G.get)?j=G.get:j=j[ne]}else ie=P(j,ne),j=j[ne];ie&&!M&&(x[V]=j)}}return j},$l}var Vl,Ay;function $k(){if(Ay)return Vl;Ay=1;var t=qn(),e=Xh(),n=Gh()(),r=Hr(),i=Jt(),o=t("%Math.floor%");return Vl=function(s,c){if(typeof s!="function")throw new i("`fn` is not a function");if(typeof c!="number"||c<0||c>4294967295||o(c)!==c)throw new i("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],u=!0,f=!0;if("length"in s&&r){var d=r(s,"length");d&&!d.configurable&&(u=!1),d&&!d.writable&&(f=!1)}return(u||f||!l)&&(n?e(s,"length",c,!0,!0):e(s,"length",c)),s},Vl}var Hl,Uy;function Vk(){if(Uy)return Hl;Uy=1;var t=Mo(),e=Yh(),n=Hx();return Hl=function(){return n(t,e,arguments)},Hl}var ky;function Ri(){return ky||(ky=1,function(t){var e=$k(),n=Qs(),r=Qh(),i=Vk();t.exports=function(a){var s=r(arguments),c=a.length-(arguments.length-1);return e(s,1+(c>0?c:0),!0)},n?n(t.exports,"apply",{value:i}):t.exports.apply=i}(gl)),gl.exports}var Xl,Fy;function bt(){if(Fy)return Xl;Fy=1;var t=qn(),e=Qh(),n=e([t("%String.prototype.indexOf%")]);return Xl=function(i,o){var a=t(i,!!o);return typeof a=="function"&&n(i,".prototype.")>-1?e([a]):a},Xl}var Gl,Oy;function Gx(){if(Oy)return Gl;Oy=1;var t=Vh(),e=ec()(),n=bt(),r=Kh(),i=n("Array.prototype.push"),o=n("Object.prototype.propertyIsEnumerable"),a=e?r.getOwnPropertySymbols:null;return Gl=function(c,l){if(c==null)throw new TypeError("target must be an object");var u=r(c);if(arguments.length===1)return u;for(var f=1;f<arguments.length;++f){var d=r(arguments[f]),h=t(d),p=e&&(r.getOwnPropertySymbols||a);if(p)for(var m=p(d),g=0;g<m.length;++g){var y=m[g];o(d,y)&&i(h,y)}for(var b=0;b<h.length;++b){var v=h[b];if(o(d,v)){var T=d[v];u[v]=T}}}return u},Gl}var Kl,Ry;function Kx(){if(Ry)return Kl;Ry=1;var t=Gx(),e=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",i=r.split(""),o={},a=0;a<i.length;++a)o[i[a]]=i[a];var s=Object.assign({},o),c="";for(var l in s)c+=l;return r!==c},n=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch{return r[1]==="y"}return!1};return Kl=function(){return!Object.assign||e()||n()?t:Object.assign},Kl}var Jl,Ny;function Hk(){if(Ny)return Jl;Ny=1;var t=Xr(),e=Kx();return Jl=function(){var r=e();return t(Object,{assign:r},{assign:function(){return Object.assign!==r}}),r},Jl}var Zl,By;function Xk(){if(By)return Zl;By=1;var t=Xr(),e=Ri(),n=Gx(),r=Kx(),i=Hk(),o=e.apply(r()),a=function(c,l){return o(Object,arguments)};return t(a,{getPolyfill:r,implementation:n,shim:i}),Zl=a,Zl}var Yl,Iy;function Jx(){if(Iy)return Yl;Iy=1;var t=qn(),e=Ri(),n=e(t("String.prototype.indexOf"));return Yl=function(i,o){var a=t(i,!!o);return typeof a=="function"&&n(i,".prototype.")>-1?e(a):a},Yl}var Ql,My;function Gk(){if(My)return Ql;My=1;var t=function(){return typeof(function(){}).name=="string"},e=Object.getOwnPropertyDescriptor;if(e)try{e([],"length")}catch{e=null}t.functionsHaveConfigurableNames=function(){if(!t()||!e)return!1;var i=e(function(){},"name");return!!i&&!!i.configurable};var n=Function.prototype.bind;return t.boundFunctionsHaveNames=function(){return t()&&typeof n=="function"&&(function(){}).bind().name!==""},Ql=t,Ql}var eu,Wy;function Kk(){if(Wy)return eu;Wy=1;var t=Xh(),e=Gh()(),n=Gk().functionsHaveConfigurableNames(),r=Jt();return eu=function(o,a){if(typeof o!="function")throw new r("`fn` is not a function");var s=arguments.length>2&&!!arguments[2];return(!s||n)&&(e?t(o,"name",a,!0,!0):t(o,"name",a)),o},eu}var tu,Ly;function Zx(){if(Ly)return tu;Ly=1;var t=Kk(),e=Jt(),n=Object;return tu=t(function(){if(this==null||this!==n(this))throw new e("RegExp.prototype.flags getter called on non-object");var i="";return this.hasIndices&&(i+="d"),this.global&&(i+="g"),this.ignoreCase&&(i+="i"),this.multiline&&(i+="m"),this.dotAll&&(i+="s"),this.unicode&&(i+="u"),this.unicodeSets&&(i+="v"),this.sticky&&(i+="y"),i},"get flags",!0),tu}var nu,Py;function Yx(){if(Py)return nu;Py=1;var t=Zx(),e=Xr().supportsDescriptors,n=Object.getOwnPropertyDescriptor;return nu=function(){if(e&&/a/mig.flags==="gim"){var i=n(RegExp.prototype,"flags");if(i&&typeof i.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var o="",a={};if(Object.defineProperty(a,"hasIndices",{get:function(){o+="d"}}),Object.defineProperty(a,"sticky",{get:function(){o+="y"}}),i.get.call(a),o==="dy")return i.get}}return t},nu}var ru,qy;function Jk(){if(qy)return ru;qy=1;var t=Xr().supportsDescriptors,e=Yx(),n=Hr(),r=Object.defineProperty,i=jx(),o=Xx(),a=/a/;return ru=function(){if(!t||!o)throw new i("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var c=e(),l=o(a),u=n(l,"flags");return(!u||u.get!==c)&&r(l,"flags",{configurable:!0,enumerable:!1,get:c}),c},ru}var iu,zy;function Zk(){if(zy)return iu;zy=1;var t=Xr(),e=Ri(),n=Zx(),r=Yx(),i=Jk(),o=e(r());return t(o,{getPolyfill:r,implementation:n,shim:i}),iu=o,iu}var qi={exports:{}},ou,jy;function Gr(){if(jy)return ou;jy=1;var t=ec();return ou=function(){return t()&&!!Symbol.toStringTag},ou}var au,$y;function Qx(){if($y)return au;$y=1;var t=Gr()(),e=bt(),n=e("Object.prototype.toString"),r=function(s){return t&&s&&typeof s=="object"&&Symbol.toStringTag in s?!1:n(s)==="[object Arguments]"},i=function(s){return r(s)?!0:s!==null&&typeof s=="object"&&"length"in s&&typeof s.length=="number"&&s.length>=0&&n(s)!=="[object Array]"&&"callee"in s&&n(s.callee)==="[object Function]"},o=function(){return r(arguments)}();return r.isLegacyArguments=i,au=o?r:i,au}const Yk={},Qk=Object.freeze(Object.defineProperty({__proto__:null,default:Yk},Symbol.toStringTag,{value:"Module"})),e4=qx(Qk);var su,Vy;function tc(){if(Vy)return su;Vy=1;var t=typeof Map=="function"&&Map.prototype,e=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,n=t&&e&&typeof e.get=="function"?e.get:null,r=t&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,o=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,a=i&&o&&typeof o.get=="function"?o.get:null,s=i&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,l=c?WeakMap.prototype.has:null,u=typeof WeakSet=="function"&&WeakSet.prototype,f=u?WeakSet.prototype.has:null,d=typeof WeakRef=="function"&&WeakRef.prototype,h=d?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,T=String.prototype.toUpperCase,w=String.prototype.toLowerCase,E=RegExp.prototype.test,S=Array.prototype.concat,U=Array.prototype.join,C=Array.prototype.slice,R=Math.floor,L=typeof BigInt=="function"?BigInt.prototype.valueOf:null,_=Object.getOwnPropertySymbols,k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,x=typeof Symbol=="function"&&typeof Symbol.iterator=="object",z=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===x||!0)?Symbol.toStringTag:null,F=Object.prototype.propertyIsEnumerable,I=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Q){return Q.__proto__}:null);function K(Q,re){if(Q===1/0||Q===-1/0||Q!==Q||Q&&Q>-1e3&&Q<1e3||E.call(/e/,re))return re;var Oe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Q=="number"){var Ie=Q<0?-R(-Q):R(Q);if(Ie!==Q){var Pe=String(Ie),A=b.call(re,Pe.length+1);return v.call(Pe,Oe,"$&_")+"."+v.call(v.call(A,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(re,Oe,"$&_")}var P=e4,te=P.custom,W=D(te)?te:null,B={__proto__:null,double:'"',single:"'"},oe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};su=function Q(re,Oe,Ie,Pe){var A=Oe||{};if(M(A,"quoteStyle")&&!M(B,A.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(M(A,"maxStringLength")&&(typeof A.maxStringLength=="number"?A.maxStringLength<0&&A.maxStringLength!==1/0:A.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var O=M(A,"customInspect")?A.customInspect:!0;if(typeof O!="boolean"&&O!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(M(A,"indent")&&A.indent!==null&&A.indent!==" "&&!(parseInt(A.indent,10)===A.indent&&A.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(M(A,"numericSeparator")&&typeof A.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var H=A.numericSeparator;if(typeof re>"u")return"undefined";if(re===null)return"null";if(typeof re=="boolean")return re?"true":"false";if(typeof re=="string")return xe(re,A);if(typeof re=="number"){if(re===0)return 1/0/re>0?"0":"-0";var se=String(re);return H?K(re,se):se}if(typeof re=="bigint"){var we=String(re)+"n";return H?K(re,we):we}var Ue=typeof A.depth>"u"?5:A.depth;if(typeof Ie>"u"&&(Ie=0),Ie>=Ue&&Ue>0&&typeof re=="object")return he(re)?"[Array]":"[Object]";var We=ve(A,Ie);if(typeof Pe>"u")Pe=[];else if(ie(Pe,re)>=0)return"[Circular]";function $e(ti,zo,u_){if(zo&&(Pe=C.call(Pe),Pe.push(zo)),u_){var Kp={depth:A.depth};return M(A,"quoteStyle")&&(Kp.quoteStyle=A.quoteStyle),Q(ti,Kp,Ie+1,Pe)}return Q(ti,A,Ie+1,Pe)}if(typeof re=="function"&&!me(re)){var Wt=$(re),Zt=ke(re,$e);return"[Function"+(Wt?": "+Wt:" (anonymous)")+"]"+(Zt.length>0?" { "+U.call(Zt,", ")+" }":"")}if(D(re)){var Lt=x?v.call(String(re),/^(Symbol\(.*\))_[^)]*$/,"$1"):k.call(re);return typeof re=="object"&&!x?Se(Lt):Lt}if(ae(re)){for(var Ot="<"+w.call(String(re.nodeName)),Yt=re.attributes||[],Pt=0;Pt<Yt.length;Pt++)Ot+=" "+Yt[Pt].name+"="+X(J(Yt[Pt].value),"double",A);return Ot+=">",re.childNodes&&re.childNodes.length&&(Ot+="..."),Ot+="</"+w.call(String(re.nodeName))+">",Ot}if(he(re)){if(re.length===0)return"[]";var Et=ke(re,$e);return We&&!ue(Et)?"["+Ee(Et,We)+"]":"[ "+U.call(Et,", ")+" ]"}if(de(re)){var Qt=ke(re,$e);return!("cause"in Error.prototype)&&"cause"in re&&!F.call(re,"cause")?"{ ["+String(re)+"] "+U.call(S.call("[cause]: "+$e(re.cause),Qt),", ")+" }":Qt.length===0?"["+String(re)+"]":"{ ["+String(re)+"] "+U.call(Qt,", ")+" }"}if(typeof re=="object"&&O){if(W&&typeof re[W]=="function"&&P)return P(re,{depth:Ue-Ie});if(O!=="symbol"&&typeof re.inspect=="function")return re.inspect()}if(ne(re)){var zn=[];return r&&r.call(re,function(ti,zo){zn.push($e(zo,re,!0)+" => "+$e(ti,re))}),ee("Map",n.call(re),zn,We)}if(G(re)){var nt=[];return s&&s.call(re,function(ti){nt.push($e(ti,re))}),ee("Set",a.call(re),nt,We)}if(Z(re))return Ce("WeakMap");if(Y(re))return Ce("WeakSet");if(q(re))return Ce("WeakRef");if(ye(re))return Se($e(Number(re)));if(V(re))return Se($e(L.call(re)));if(be(re))return Se(p.call(re));if(ge(re))return Se($e(String(re)));if(typeof window<"u"&&re===window)return"{ [object Window] }";if(typeof globalThis<"u"&&re===globalThis||typeof Xt<"u"&&re===Xt)return"{ [object globalThis] }";if(!fe(re)&&!me(re)){var Qr=ke(re,$e),wn=I?I(re)===Object.prototype:re instanceof Object||re.constructor===Object,ei=re instanceof Object?"":"null prototype",Gp=!wn&&z&&Object(re)===re&&z in re?b.call(N(re),8,-1):ei?"Object":"",l_=wn||typeof re.constructor!="function"?"":re.constructor.name?re.constructor.name+" ":"",Sc=l_+(Gp||ei?"["+U.call(S.call([],Gp||[],ei||[]),": ")+"] ":"");return Qr.length===0?Sc+"{}":We?Sc+"{"+Ee(Qr,We)+"}":Sc+"{ "+U.call(Qr,", ")+" }"}return String(re)};function X(Q,re,Oe){var Ie=Oe.quoteStyle||re,Pe=B[Ie];return Pe+Q+Pe}function J(Q){return v.call(String(Q),/"/g,"&quot;")}function le(Q){return!z||!(typeof Q=="object"&&(z in Q||typeof Q[z]<"u"))}function he(Q){return N(Q)==="[object Array]"&&le(Q)}function fe(Q){return N(Q)==="[object Date]"&&le(Q)}function me(Q){return N(Q)==="[object RegExp]"&&le(Q)}function de(Q){return N(Q)==="[object Error]"&&le(Q)}function ge(Q){return N(Q)==="[object String]"&&le(Q)}function ye(Q){return N(Q)==="[object Number]"&&le(Q)}function be(Q){return N(Q)==="[object Boolean]"&&le(Q)}function D(Q){if(x)return Q&&typeof Q=="object"&&Q instanceof Symbol;if(typeof Q=="symbol")return!0;if(!Q||typeof Q!="object"||!k)return!1;try{return k.call(Q),!0}catch{}return!1}function V(Q){if(!Q||typeof Q!="object"||!L)return!1;try{return L.call(Q),!0}catch{}return!1}var j=Object.prototype.hasOwnProperty||function(Q){return Q in this};function M(Q,re){return j.call(Q,re)}function N(Q){return m.call(Q)}function $(Q){if(Q.name)return Q.name;var re=y.call(g.call(Q),/^function\s*([\w$]+)/);return re?re[1]:null}function ie(Q,re){if(Q.indexOf)return Q.indexOf(re);for(var Oe=0,Ie=Q.length;Oe<Ie;Oe++)if(Q[Oe]===re)return Oe;return-1}function ne(Q){if(!n||!Q||typeof Q!="object")return!1;try{n.call(Q);try{a.call(Q)}catch{return!0}return Q instanceof Map}catch{}return!1}function Z(Q){if(!l||!Q||typeof Q!="object")return!1;try{l.call(Q,l);try{f.call(Q,f)}catch{return!0}return Q instanceof WeakMap}catch{}return!1}function q(Q){if(!h||!Q||typeof Q!="object")return!1;try{return h.call(Q),!0}catch{}return!1}function G(Q){if(!a||!Q||typeof Q!="object")return!1;try{a.call(Q);try{n.call(Q)}catch{return!0}return Q instanceof Set}catch{}return!1}function Y(Q){if(!f||!Q||typeof Q!="object")return!1;try{f.call(Q,f);try{l.call(Q,l)}catch{return!0}return Q instanceof WeakSet}catch{}return!1}function ae(Q){return!Q||typeof Q!="object"?!1:typeof HTMLElement<"u"&&Q instanceof HTMLElement?!0:typeof Q.nodeName=="string"&&typeof Q.getAttribute=="function"}function xe(Q,re){if(Q.length>re.maxStringLength){var Oe=Q.length-re.maxStringLength,Ie="... "+Oe+" more character"+(Oe>1?"s":"");return xe(b.call(Q,0,re.maxStringLength),re)+Ie}var Pe=oe[re.quoteStyle||"single"];Pe.lastIndex=0;var A=v.call(v.call(Q,Pe,"\\$1"),/[\x00-\x1f]/g,Te);return X(A,"single",re)}function Te(Q){var re=Q.charCodeAt(0),Oe={8:"b",9:"t",10:"n",12:"f",13:"r"}[re];return Oe?"\\"+Oe:"\\x"+(re<16?"0":"")+T.call(re.toString(16))}function Se(Q){return"Object("+Q+")"}function Ce(Q){return Q+" { ? }"}function ee(Q,re,Oe,Ie){var Pe=Ie?Ee(Oe,Ie):U.call(Oe,", ");return Q+" ("+re+") {"+Pe+"}"}function ue(Q){for(var re=0;re<Q.length;re++)if(ie(Q[re],`
15
- `)>=0)return!1;return!0}function ve(Q,re){var Oe;if(Q.indent===" ")Oe=" ";else if(typeof Q.indent=="number"&&Q.indent>0)Oe=U.call(Array(Q.indent+1)," ");else return null;return{base:Oe,prev:U.call(Array(re+1),Oe)}}function Ee(Q,re){if(Q.length===0)return"";var Oe=`
16
- `+re.prev+re.base;return Oe+U.call(Q,","+Oe)+`
17
- `+re.prev}function ke(Q,re){var Oe=he(Q),Ie=[];if(Oe){Ie.length=Q.length;for(var Pe=0;Pe<Q.length;Pe++)Ie[Pe]=M(Q,Pe)?re(Q[Pe],Q):""}var A=typeof _=="function"?_(Q):[],O;if(x){O={};for(var H=0;H<A.length;H++)O["$"+A[H]]=A[H]}for(var se in Q)M(Q,se)&&(Oe&&String(Number(se))===se&&se<Q.length||x&&O["$"+se]instanceof Symbol||(E.call(/[^\w$]/,se)?Ie.push(re(se,Q)+": "+re(Q[se],Q)):Ie.push(se+": "+re(Q[se],Q))));if(typeof _=="function")for(var we=0;we<A.length;we++)F.call(Q,A[we])&&Ie.push("["+re(A[we])+"]: "+re(Q[A[we]],Q));return Ie}return su}var cu,Hy;function t4(){if(Hy)return cu;Hy=1;var t=tc(),e=Jt(),n=function(s,c,l){for(var u=s,f;(f=u.next)!=null;u=f)if(f.key===c)return u.next=f.next,l||(f.next=s.next,s.next=f),f},r=function(s,c){if(s){var l=n(s,c);return l&&l.value}},i=function(s,c,l){var u=n(s,c);u?u.value=l:s.next={key:c,next:s.next,value:l}},o=function(s,c){return s?!!n(s,c):!1},a=function(s,c){if(s)return n(s,c,!0)};return cu=function(){var c,l={assert:function(u){if(!l.has(u))throw new e("Side channel does not contain "+t(u))},delete:function(u){var f=c&&c.next,d=a(c,u);return d&&f&&f===d&&(c=void 0),!!d},get:function(u){return r(c,u)},has:function(u){return o(c,u)},set:function(u,f){c||(c={next:void 0}),i(c,u,f)}};return l},cu}var lu,Xy;function eD(){if(Xy)return lu;Xy=1;var t=qn(),e=bt(),n=tc(),r=Jt(),i=t("%Map%",!0),o=e("Map.prototype.get",!0),a=e("Map.prototype.set",!0),s=e("Map.prototype.has",!0),c=e("Map.prototype.delete",!0),l=e("Map.prototype.size",!0);return lu=!!i&&function(){var f,d={assert:function(h){if(!d.has(h))throw new r("Side channel does not contain "+n(h))},delete:function(h){if(f){var p=c(f,h);return l(f)===0&&(f=void 0),p}return!1},get:function(h){if(f)return o(f,h)},has:function(h){return f?s(f,h):!1},set:function(h,p){f||(f=new i),a(f,h,p)}};return d},lu}var uu,Gy;function n4(){if(Gy)return uu;Gy=1;var t=qn(),e=bt(),n=tc(),r=eD(),i=Jt(),o=t("%WeakMap%",!0),a=e("WeakMap.prototype.get",!0),s=e("WeakMap.prototype.set",!0),c=e("WeakMap.prototype.has",!0),l=e("WeakMap.prototype.delete",!0);return uu=o?function(){var f,d,h={assert:function(p){if(!h.has(p))throw new i("Side channel does not contain "+n(p))},delete:function(p){if(o&&p&&(typeof p=="object"||typeof p=="function")){if(f)return l(f,p)}else if(r&&d)return d.delete(p);return!1},get:function(p){return o&&p&&(typeof p=="object"||typeof p=="function")&&f?a(f,p):d&&d.get(p)},has:function(p){return o&&p&&(typeof p=="object"||typeof p=="function")&&f?c(f,p):!!d&&d.has(p)},set:function(p,m){o&&p&&(typeof p=="object"||typeof p=="function")?(f||(f=new o),s(f,p,m)):r&&(d||(d=r()),d.set(p,m))}};return h}:r,uu}var fu,Ky;function tD(){if(Ky)return fu;Ky=1;var t=Jt(),e=tc(),n=t4(),r=eD(),i=n4(),o=i||r||n;return fu=function(){var s,c={assert:function(l){if(!c.has(l))throw new t("Side channel does not contain "+e(l))},delete:function(l){return!!s&&s.delete(l)},get:function(l){return s&&s.get(l)},has:function(l){return!!s&&s.has(l)},set:function(l,u){s||(s=o()),s.set(l,u)}};return c},fu}var du,Jy;function r4(){if(Jy)return du;Jy=1;var t=ep(),e=tD()(),n=Jt(),r={assert:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");if(e.assert(i),!r.has(i,o))throw new n("`"+o+"` is not present on `O`")},get:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");var a=e.get(i);return a&&a["$"+o]},has:function(i,o){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");var a=e.get(i);return!!a&&t(a,"$"+o)},set:function(i,o,a){if(!i||typeof i!="object"&&typeof i!="function")throw new n("`O` is not an object");if(typeof o!="string")throw new n("`slot` must be a string");var s=e.get(i);s||(s={},e.set(i,s)),s["$"+o]=a}};return Object.freeze&&Object.freeze(r),du=r,du}var hu,Zy;function i4(){if(Zy)return hu;Zy=1;var t=r4(),e=Hh(),n=typeof StopIteration=="object"?StopIteration:null;return hu=function(i){if(!n)throw new e("this environment lacks StopIteration");t.set(i,"[[Done]]",!1);var o={next:function(){var s=t.get(this,"[[Iterator]]"),c=!!t.get(s,"[[Done]]");try{return{done:c,value:c?void 0:s.next()}}catch(l){if(t.set(s,"[[Done]]",!0),l!==n)throw l;return{done:!0,value:void 0}}}};return t.set(o,"[[Iterator]]",i),o},hu}var pu,Yy;function nD(){if(Yy)return pu;Yy=1;var t={}.toString;return pu=Array.isArray||function(e){return t.call(e)=="[object Array]"},pu}var gu,Qy;function rD(){if(Qy)return gu;Qy=1;var t=bt(),e=t("String.prototype.valueOf"),n=function(s){try{return e(s),!0}catch{return!1}},r=t("Object.prototype.toString"),i="[object String]",o=Gr()();return gu=function(s){return typeof s=="string"?!0:!s||typeof s!="object"?!1:o?n(s):r(s)===i},gu}var mu,e1;function iD(){if(e1)return mu;e1=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,n;t||(n=function(a){return!1});var r=t?Map.prototype.has:null,i=e?Set.prototype.has:null;return!n&&!r&&(n=function(a){return!1}),mu=n||function(a){if(!a||typeof a!="object")return!1;try{if(r.call(a),i)try{i.call(a)}catch{return!0}return a instanceof t}catch{}return!1},mu}var yu,t1;function oD(){if(t1)return yu;t1=1;var t=typeof Map=="function"&&Map.prototype?Map:null,e=typeof Set=="function"&&Set.prototype?Set:null,n;e||(n=function(a){return!1});var r=t?Map.prototype.has:null,i=e?Set.prototype.has:null;return!n&&!i&&(n=function(a){return!1}),yu=n||function(a){if(!a||typeof a!="object")return!1;try{if(i.call(a),r)try{r.call(a)}catch{return!0}return a instanceof e}catch{}return!1},yu}var n1;function o4(){if(n1)return qi.exports;n1=1;var t=Qx(),e=i4();if(Jh()()||ec()()){var n=Symbol.iterator;qi.exports=function(C){if(C!=null&&typeof C[n]<"u")return C[n]();if(t(C))return Array.prototype[n].call(C)}}else{var r=nD(),i=rD(),o=qn(),a=o("%Map%",!0),s=o("%Set%",!0),c=Jx(),l=c("Array.prototype.push"),u=c("String.prototype.charCodeAt"),f=c("String.prototype.slice"),d=function(C,R){var L=C.length;if(R+1>=L)return R+1;var _=u(C,R);if(_<55296||_>56319)return R+1;var k=u(C,R+1);return k<56320||k>57343?R+1:R+2},h=function(C){var R=0;return{next:function(){var _=R>=C.length,k;return _||(k=C[R],R+=1),{done:_,value:k}}}},p=function(C,R){if(r(C)||t(C))return h(C);if(i(C)){var L=0;return{next:function(){var k=d(C,L),x=f(C,L,k);return L=k,{done:k>C.length,value:x}}}}if(R&&typeof C["_es6-shim iterator_"]<"u")return C["_es6-shim iterator_"]()};if(!a&&!s)qi.exports=function(C){if(C!=null)return p(C,!0)};else{var m=iD(),g=oD(),y=c("Map.prototype.forEach",!0),b=c("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var v=c("Map.prototype.iterator",!0),T=c("Set.prototype.iterator",!0);var w=c("Map.prototype.@@iterator",!0)||c("Map.prototype._es6-shim iterator_",!0),E=c("Set.prototype.@@iterator",!0)||c("Set.prototype._es6-shim iterator_",!0),S=function(C){if(m(C)){if(v)return e(v(C));if(w)return w(C);if(y){var R=[];return y(C,function(_,k){l(R,[k,_])}),h(R)}}if(g(C)){if(T)return e(T(C));if(E)return E(C);if(b){var L=[];return b(C,function(_){l(L,_)}),h(L)}}};qi.exports=function(C){return S(C)||p(C)}}}return qi.exports}var bu,r1;function aD(){if(r1)return bu;r1=1;var t=function(e){return e!==e};return bu=function(n,r){return n===0&&r===0?1/n===1/r:!!(n===r||t(n)&&t(r))},bu}var vu,i1;function sD(){if(i1)return vu;i1=1;var t=aD();return vu=function(){return typeof Object.is=="function"?Object.is:t},vu}var xu,o1;function a4(){if(o1)return xu;o1=1;var t=sD(),e=Xr();return xu=function(){var r=t();return e(Object,{is:r},{is:function(){return Object.is!==r}}),r},xu}var Du,a1;function s4(){if(a1)return Du;a1=1;var t=Xr(),e=Ri(),n=aD(),r=sD(),i=a4(),o=e(r(),Object);return t(o,{getPolyfill:r,implementation:n,shim:i}),Du=o,Du}var wu,s1;function cD(){if(s1)return wu;s1=1;var t=Ri(),e=bt(),n=qn(),r=n("%ArrayBuffer%",!0),i=e("ArrayBuffer.prototype.byteLength",!0),o=e("Object.prototype.toString"),a=!!r&&!i&&new r(0).slice,s=!!a&&t(a);return wu=i||s?function(l){if(!l||typeof l!="object")return!1;try{return i?i(l):s(l,0),!0}catch{return!1}}:r?function(l){return o(l)==="[object ArrayBuffer]"}:function(l){return!1},wu}var _u,c1;function c4(){if(c1)return _u;c1=1;var t=bt(),e=t("Date.prototype.getDay"),n=function(s){try{return e(s),!0}catch{return!1}},r=t("Object.prototype.toString"),i="[object Date]",o=Gr()();return _u=function(s){return typeof s!="object"||s===null?!1:o?n(s):r(s)===i},_u}var Tu,l1;function lD(){if(l1)return Tu;l1=1;var t=bt(),e=Gr()(),n=ep(),r=Hr(),i;if(e){var o=t("RegExp.prototype.exec"),a={},s=function(){throw a},c={toString:s,valueOf:s};typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=s),i=function(d){if(!d||typeof d!="object")return!1;var h=r(d,"lastIndex"),p=h&&n(h,"value");if(!p)return!1;try{o(d,c)}catch(m){return m===a}}}else{var l=t("Object.prototype.toString"),u="[object RegExp]";i=function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:l(d)===u}}return Tu=i,Tu}var Eu,u1;function l4(){if(u1)return Eu;u1=1;var t=bt(),e=t("SharedArrayBuffer.prototype.byteLength",!0);return Eu=e?function(r){if(!r||typeof r!="object")return!1;try{return e(r),!0}catch{return!1}}:function(r){return!1},Eu}var Cu,f1;function u4(){if(f1)return Cu;f1=1;var t=bt(),e=t("Number.prototype.toString"),n=function(s){try{return e(s),!0}catch{return!1}},r=t("Object.prototype.toString"),i="[object Number]",o=Gr()();return Cu=function(s){return typeof s=="number"?!0:!s||typeof s!="object"?!1:o?n(s):r(s)===i},Cu}var Su,d1;function f4(){if(d1)return Su;d1=1;var t=bt(),e=t("Boolean.prototype.toString"),n=t("Object.prototype.toString"),r=function(s){try{return e(s),!0}catch{return!1}},i="[object Boolean]",o=Gr()();return Su=function(s){return typeof s=="boolean"?!0:s===null||typeof s!="object"?!1:o?r(s):n(s)===i},Su}var Qo={exports:{}},Au,h1;function d4(){if(h1)return Au;h1=1;var t=bt(),e=lD(),n=t("RegExp.prototype.exec"),r=Jt();return Au=function(o){if(!e(o))throw new r("`regex` must be a RegExp");return function(s){return n(o,s)!==null}},Au}var p1;function h4(){if(p1)return Qo.exports;p1=1;var t=bt(),e=t("Object.prototype.toString"),n=Jh()(),r=d4();if(n){var i=t("Symbol.prototype.toString"),o=r(/^Symbol\(.*\)$/),a=function(c){return typeof c.valueOf()!="symbol"?!1:o(i(c))};Qo.exports=function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||e(c)!=="[object Symbol]")return!1;try{return a(c)}catch{return!1}}}else Qo.exports=function(c){return!1};return Qo.exports}var ea={exports:{}},Uu,g1;function p4(){if(g1)return Uu;g1=1;var t=typeof BigInt<"u"&&BigInt;return Uu=function(){return typeof t=="function"&&typeof BigInt=="function"&&typeof t(42)=="bigint"&&typeof BigInt(42)=="bigint"},Uu}var m1;function g4(){if(m1)return ea.exports;m1=1;var t=p4()();if(t){var e=BigInt.prototype.valueOf,n=function(i){try{return e.call(i),!0}catch{}return!1};ea.exports=function(i){return i===null||typeof i>"u"||typeof i=="boolean"||typeof i=="string"||typeof i=="number"||typeof i=="symbol"||typeof i=="function"?!1:typeof i=="bigint"?!0:n(i)}}else ea.exports=function(i){return!1};return ea.exports}var ku,y1;function m4(){if(y1)return ku;y1=1;var t=rD(),e=u4(),n=f4(),r=h4(),i=g4();return ku=function(a){if(a==null||typeof a!="object"&&typeof a!="function")return null;if(t(a))return"String";if(e(a))return"Number";if(n(a))return"Boolean";if(r(a))return"Symbol";if(i(a))return"BigInt"},ku}var Fu,b1;function y4(){if(b1)return Fu;b1=1;var t=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,e=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,n;t||(n=function(a){return!1});var r=t?t.prototype.has:null,i=e?e.prototype.has:null;return!n&&!r&&(n=function(a){return!1}),Fu=n||function(a){if(!a||typeof a!="object")return!1;try{if(r.call(a,r),i)try{i.call(a,i)}catch{return!0}return a instanceof t}catch{}return!1},Fu}var ta={exports:{}},v1;function b4(){if(v1)return ta.exports;v1=1;var t=qn(),e=bt(),n=t("%WeakSet%",!0),r=e("WeakSet.prototype.has",!0);if(r){var i=e("WeakMap.prototype.has",!0);ta.exports=function(a){if(!a||typeof a!="object")return!1;try{if(r(a,r),i)try{i(a,i)}catch{return!0}return a instanceof n}catch{}return!1}}else ta.exports=function(a){return!1};return ta.exports}var Ou,x1;function v4(){if(x1)return Ou;x1=1;var t=iD(),e=oD(),n=y4(),r=b4();return Ou=function(o){if(o&&typeof o=="object"){if(t(o))return"Map";if(e(o))return"Set";if(n(o))return"WeakMap";if(r(o))return"WeakSet"}return!1},Ou}var Ru,D1;function x4(){if(D1)return Ru;D1=1;var t=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,n,r;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{n=Object.defineProperty({},"length",{get:function(){throw r}}),r={},e(function(){throw 42},null,n)}catch(b){b!==r&&(e=null)}else e=null;var i=/^\s*class\b/,o=function(v){try{var T=t.call(v);return i.test(T)}catch{return!1}},a=function(v){try{return o(v)?!1:(t.call(v),!0)}catch{return!1}},s=Object.prototype.toString,c="[object Object]",l="[object Function]",u="[object GeneratorFunction]",f="[object HTMLAllCollection]",d="[object HTML document.all class]",h="[object HTMLCollection]",p=typeof Symbol=="function"&&!!Symbol.toStringTag,m=!(0 in[,]),g=function(){return!1};if(typeof document=="object"){var y=document.all;s.call(y)===s.call(document.all)&&(g=function(v){if((m||!v)&&(typeof v>"u"||typeof v=="object"))try{var T=s.call(v);return(T===f||T===d||T===h||T===c)&&v("")==null}catch{}return!1})}return Ru=e?function(v){if(g(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;try{e(v,null,n)}catch(T){if(T!==r)return!1}return!o(v)&&a(v)}:function(v){if(g(v))return!0;if(!v||typeof v!="function"&&typeof v!="object")return!1;if(p)return a(v);if(o(v))return!1;var T=s.call(v);return T!==l&&T!==u&&!/^\[object HTML/.test(T)?!1:a(v)},Ru}var Nu,w1;function D4(){if(w1)return Nu;w1=1;var t=x4(),e=Object.prototype.toString,n=Object.prototype.hasOwnProperty,r=function(c,l,u){for(var f=0,d=c.length;f<d;f++)n.call(c,f)&&(u==null?l(c[f],f,c):l.call(u,c[f],f,c))},i=function(c,l,u){for(var f=0,d=c.length;f<d;f++)u==null?l(c.charAt(f),f,c):l.call(u,c.charAt(f),f,c)},o=function(c,l,u){for(var f in c)n.call(c,f)&&(u==null?l(c[f],f,c):l.call(u,c[f],f,c))};function a(s){return e.call(s)==="[object Array]"}return Nu=function(c,l,u){if(!t(l))throw new TypeError("iterator must be a function");var f;arguments.length>=3&&(f=u),a(c)?r(c,l,f):typeof c=="string"?i(c,l,f):o(c,l,f)},Nu}var Bu,_1;function w4(){return _1||(_1=1,Bu=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Bu}var Iu,T1;function _4(){if(T1)return Iu;T1=1;var t=w4(),e=typeof globalThis>"u"?Xt:globalThis;return Iu=function(){for(var r=[],i=0;i<t.length;i++)typeof e[t[i]]=="function"&&(r[r.length]=t[i]);return r},Iu}var Mu,E1;function T4(){if(E1)return Mu;E1=1;var t=D4(),e=_4(),n=Ri(),r=bt(),i=Hr(),o=r("Object.prototype.toString"),a=Gr()(),s=typeof globalThis>"u"?Xt:globalThis,c=e(),l=r("String.prototype.slice"),u=Object.getPrototypeOf,f=r("Array.prototype.indexOf",!0)||function(g,y){for(var b=0;b<g.length;b+=1)if(g[b]===y)return b;return-1},d={__proto__:null};a&&i&&u?t(c,function(m){var g=new s[m];if(Symbol.toStringTag in g){var y=u(g),b=i(y,Symbol.toStringTag);if(!b){var v=u(y);b=i(v,Symbol.toStringTag)}d["$"+m]=n(b.get)}}):t(c,function(m){var g=new s[m],y=g.slice||g.set;y&&(d["$"+m]=n(y))});var h=function(g){var y=!1;return t(d,function(b,v){if(!y)try{"$"+b(g)===v&&(y=l(v,1))}catch{}}),y},p=function(g){var y=!1;return t(d,function(b,v){if(!y)try{b(g),y=l(v,1)}catch{}}),y};return Mu=function(g){if(!g||typeof g!="object")return!1;if(!a){var y=l(o(g),8,-1);return f(c,y)>-1?y:y!=="Object"?!1:p(g)}return i?h(g):null},Mu}var Wu,C1;function E4(){if(C1)return Wu;C1=1;var t=bt(),e=t("ArrayBuffer.prototype.byteLength",!0),n=cD();return Wu=function(i){return n(i)?e?e(i):i.byteLength:NaN},Wu}var Lu,S1;function C4(){if(S1)return Lu;S1=1;var t=Xk(),e=Jx(),n=Zk(),r=qn(),i=o4(),o=tD(),a=s4(),s=Qx(),c=nD(),l=cD(),u=c4(),f=lD(),d=l4(),h=Vh(),p=m4(),m=v4(),g=T4(),y=E4(),b=e("SharedArrayBuffer.prototype.byteLength",!0),v=e("Date.prototype.getTime"),T=Object.getPrototypeOf,w=e("Object.prototype.toString"),E=r("%Set%",!0),S=e("Map.prototype.has",!0),U=e("Map.prototype.get",!0),C=e("Map.prototype.size",!0),R=e("Set.prototype.add",!0),L=e("Set.prototype.delete",!0),_=e("Set.prototype.has",!0),k=e("Set.prototype.size",!0);function x(X,J,le,he){for(var fe=i(X),me;(me=fe.next())&&!me.done;)if(P(J,me.value,le,he))return L(X,me.value),!0;return!1}function z(X){if(typeof X>"u")return null;if(typeof X!="object")return typeof X=="symbol"?!1:typeof X=="string"||typeof X=="number"?+X==+X:!0}function F(X,J,le,he,fe,me){var de=z(le);if(de!=null)return de;var ge=U(J,de),ye=t({},fe,{strict:!1});return typeof ge>"u"&&!S(J,de)||!P(he,ge,ye,me)?!1:!S(X,de)&&P(he,ge,ye,me)}function I(X,J,le){var he=z(le);return he??(_(J,he)&&!_(X,he))}function K(X,J,le,he,fe,me){for(var de=i(X),ge,ye;(ge=de.next())&&!ge.done;)if(ye=ge.value,P(le,ye,fe,me)&&P(he,U(J,ye),fe,me))return L(X,ye),!0;return!1}function P(X,J,le,he){var fe=le||{};if(fe.strict?a(X,J):X===J)return!0;var me=p(X),de=p(J);if(me!==de)return!1;if(!X||!J||typeof X!="object"&&typeof J!="object")return fe.strict?a(X,J):X==J;var ge=he.has(X),ye=he.has(J),be;if(ge&&ye){if(he.get(X)===he.get(J))return!0}else be={};return ge||he.set(X,be),ye||he.set(J,be),oe(X,J,fe,he)}function te(X){return!X||typeof X!="object"||typeof X.length!="number"||typeof X.copy!="function"||typeof X.slice!="function"||X.length>0&&typeof X[0]!="number"?!1:!!(X.constructor&&X.constructor.isBuffer&&X.constructor.isBuffer(X))}function W(X,J,le,he){if(k(X)!==k(J))return!1;for(var fe=i(X),me=i(J),de,ge,ye;(de=fe.next())&&!de.done;)if(de.value&&typeof de.value=="object")ye||(ye=new E),R(ye,de.value);else if(!_(J,de.value)){if(le.strict||!I(X,J,de.value))return!1;ye||(ye=new E),R(ye,de.value)}if(ye){for(;(ge=me.next())&&!ge.done;)if(ge.value&&typeof ge.value=="object"){if(!x(ye,ge.value,le.strict,he))return!1}else if(!le.strict&&!_(X,ge.value)&&!x(ye,ge.value,le.strict,he))return!1;return k(ye)===0}return!0}function B(X,J,le,he){if(C(X)!==C(J))return!1;for(var fe=i(X),me=i(J),de,ge,ye,be,D,V;(de=fe.next())&&!de.done;)if(be=de.value[0],D=de.value[1],be&&typeof be=="object")ye||(ye=new E),R(ye,be);else if(V=U(J,be),typeof V>"u"&&!S(J,be)||!P(D,V,le,he)){if(le.strict||!F(X,J,be,D,le,he))return!1;ye||(ye=new E),R(ye,be)}if(ye){for(;(ge=me.next())&&!ge.done;)if(be=ge.value[0],V=ge.value[1],be&&typeof be=="object"){if(!K(ye,X,be,V,le,he))return!1}else if(!le.strict&&(!X.has(be)||!P(U(X,be),V,le,he))&&!K(ye,X,be,V,t({},le,{strict:!1}),he))return!1;return k(ye)===0}return!0}function oe(X,J,le,he){var fe,me;if(typeof X!=typeof J||X==null||J==null||w(X)!==w(J)||s(X)!==s(J))return!1;var de=c(X),ge=c(J);if(de!==ge)return!1;var ye=X instanceof Error,be=J instanceof Error;if(ye!==be||(ye||be)&&(X.name!==J.name||X.message!==J.message))return!1;var D=f(X),V=f(J);if(D!==V||(D||V)&&(X.source!==J.source||n(X)!==n(J)))return!1;var j=u(X),M=u(J);if(j!==M||(j||M)&&v(X)!==v(J)||le.strict&&T&&T(X)!==T(J))return!1;var N=g(X),$=g(J);if(N!==$)return!1;if(N||$){if(X.length!==J.length)return!1;for(fe=0;fe<X.length;fe++)if(X[fe]!==J[fe])return!1;return!0}var ie=te(X),ne=te(J);if(ie!==ne)return!1;if(ie||ne){if(X.length!==J.length)return!1;for(fe=0;fe<X.length;fe++)if(X[fe]!==J[fe])return!1;return!0}var Z=l(X),q=l(J);if(Z!==q)return!1;if(Z||q)return y(X)!==y(J)?!1:typeof Uint8Array=="function"&&P(new Uint8Array(X),new Uint8Array(J),le,he);var G=d(X),Y=d(J);if(G!==Y)return!1;if(G||Y)return b(X)!==b(J)?!1:typeof Uint8Array=="function"&&P(new Uint8Array(X),new Uint8Array(J),le,he);if(typeof X!=typeof J)return!1;var ae=h(X),xe=h(J);if(ae.length!==xe.length)return!1;for(ae.sort(),xe.sort(),fe=ae.length-1;fe>=0;fe--)if(ae[fe]!=xe[fe])return!1;for(fe=ae.length-1;fe>=0;fe--)if(me=ae[fe],!P(X[me],J[me],le,he))return!1;var Te=m(X),Se=m(J);return Te!==Se?!1:Te==="Set"||Se==="Set"?W(X,J,le,he):Te==="Map"?B(X,J,le,he):!0}return Lu=function(J,le,he){return P(J,le,he,o())},Lu}var S4=C4();const A4=$h(S4);var zt={},tp="1.13.7",A1=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},nc=Array.prototype,np=Object.prototype,U1=typeof Symbol<"u"?Symbol.prototype:null,U4=nc.push,Wo=nc.slice,So=np.toString,k4=np.hasOwnProperty,uD=typeof ArrayBuffer<"u",F4=typeof DataView<"u",O4=Array.isArray,k1=Object.keys,F1=Object.create,O1=uD&&ArrayBuffer.isView,R4=isNaN,N4=isFinite,fD=!{toString:null}.propertyIsEnumerable("toString"),R1=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],B4=Math.pow(2,53)-1;function Tt(t,e){return e=e==null?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}}function mr(t){var e=typeof t;return e==="function"||e==="object"&&!!t}function dD(t){return t===null}function rp(t){return t===void 0}function ip(t){return t===!0||t===!1||So.call(t)==="[object Boolean]"}function hD(t){return!!(t&&t.nodeType===1)}function vt(t){var e="[object "+t+"]";return function(n){return So.call(n)===e}}const rc=vt("String"),op=vt("Number"),pD=vt("Date"),gD=vt("RegExp"),mD=vt("Error"),ap=vt("Symbol"),sp=vt("ArrayBuffer");var yD=vt("Function"),I4=A1.document&&A1.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof I4!="function"&&(yD=function(t){return typeof t=="function"||!1});const mt=yD,bD=vt("Object");var vD=F4&&(!/\[native code\]/.test(String(DataView))||bD(new DataView(new ArrayBuffer(8)))),cp=typeof Map<"u"&&bD(new Map),M4=vt("DataView");function W4(t){return t!=null&&mt(t.getInt8)&&sp(t.buffer)}const Ao=vD?W4:M4,yr=O4||vt("Array");function br(t,e){return t!=null&&k4.call(t,e)}var zd=vt("Arguments");(function(){zd(arguments)||(zd=function(t){return br(t,"callee")})})();const ic=zd;function xD(t){return!ap(t)&&N4(t)&&!isNaN(parseFloat(t))}function lp(t){return op(t)&&R4(t)}function up(t){return function(){return t}}function DD(t){return function(e){var n=t(e);return typeof n=="number"&&n>=0&&n<=B4}}function wD(t){return function(e){return e==null?void 0:e[t]}}const Bs=wD("byteLength"),L4=DD(Bs);var P4=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function q4(t){return O1?O1(t)&&!Ao(t):L4(t)&&P4.test(So.call(t))}const fp=uD?q4:up(!1),Ut=wD("length");function z4(t){for(var e={},n=t.length,r=0;r<n;++r)e[t[r]]=!0;return{contains:function(i){return e[i]===!0},push:function(i){return e[i]=!0,t.push(i)}}}function _D(t,e){e=z4(e);var n=R1.length,r=t.constructor,i=mt(r)&&r.prototype||np,o="constructor";for(br(t,o)&&!e.contains(o)&&e.push(o);n--;)o=R1[n],o in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function rt(t){if(!mr(t))return[];if(k1)return k1(t);var e=[];for(var n in t)br(t,n)&&e.push(n);return fD&&_D(t,e),e}function TD(t){if(t==null)return!0;var e=Ut(t);return typeof e=="number"&&(yr(t)||rc(t)||ic(t))?e===0:Ut(rt(t))===0}function dp(t,e){var n=rt(e),r=n.length;if(t==null)return!r;for(var i=Object(t),o=0;o<r;o++){var a=n[o];if(e[a]!==i[a]||!(a in i))return!1}return!0}function je(t){if(t instanceof je)return t;if(!(this instanceof je))return new je(t);this._wrapped=t}je.VERSION=tp;je.prototype.value=function(){return this._wrapped};je.prototype.valueOf=je.prototype.toJSON=je.prototype.value;je.prototype.toString=function(){return String(this._wrapped)};function N1(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,Bs(t))}var B1="[object DataView]";function jd(t,e,n,r){if(t===e)return t!==0||1/t===1/e;if(t==null||e==null)return!1;if(t!==t)return e!==e;var i=typeof t;return i!=="function"&&i!=="object"&&typeof e!="object"?!1:ED(t,e,n,r)}function ED(t,e,n,r){t instanceof je&&(t=t._wrapped),e instanceof je&&(e=e._wrapped);var i=So.call(t);if(i!==So.call(e))return!1;if(vD&&i=="[object Object]"&&Ao(t)){if(!Ao(e))return!1;i=B1}switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:+t==0?1/+t===1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return U1.valueOf.call(t)===U1.valueOf.call(e);case"[object ArrayBuffer]":case B1:return ED(N1(t),N1(e),n,r)}var o=i==="[object Array]";if(!o&&fp(t)){var a=Bs(t);if(a!==Bs(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if(typeof t!="object"||typeof e!="object")return!1;var s=t.constructor,c=e.constructor;if(s!==c&&!(mt(s)&&s instanceof s&&mt(c)&&c instanceof c)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var l=n.length;l--;)if(n[l]===t)return r[l]===e;if(n.push(t),r.push(e),o){if(l=t.length,l!==e.length)return!1;for(;l--;)if(!jd(t[l],e[l],n,r))return!1}else{var u=rt(t),f;if(l=u.length,rt(e).length!==l)return!1;for(;l--;)if(f=u[l],!(br(e,f)&&jd(t[f],e[f],n,r)))return!1}return n.pop(),r.pop(),!0}function CD(t,e){return jd(t,e)}function Ni(t){if(!mr(t))return[];var e=[];for(var n in t)e.push(n);return fD&&_D(t,e),e}function hp(t){var e=Ut(t);return function(n){if(n==null)return!1;var r=Ni(n);if(Ut(r))return!1;for(var i=0;i<e;i++)if(!mt(n[t[i]]))return!1;return t!==UD||!mt(n[pp])}}var pp="forEach",SD="has",gp=["clear","delete"],AD=["get",SD,"set"],j4=gp.concat(pp,AD),UD=gp.concat(AD),$4=["add"].concat(gp,pp,SD);const kD=cp?hp(j4):vt("Map"),FD=cp?hp(UD):vt("WeakMap"),OD=cp?hp($4):vt("Set"),RD=vt("WeakSet");function Kr(t){for(var e=rt(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function ND(t){for(var e=rt(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function mp(t){for(var e={},n=rt(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function Uo(t){var e=[];for(var n in t)mt(t[n])&&e.push(n);return e.sort()}function yp(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||n==null)return n;for(var i=1;i<r;i++)for(var o=arguments[i],a=t(o),s=a.length,c=0;c<s;c++){var l=a[c];(!e||n[l]===void 0)&&(n[l]=o[l])}return n}}const bp=yp(Ni),Ci=yp(rt),vp=yp(Ni,!0);function V4(){return function(){}}function BD(t){if(!mr(t))return{};if(F1)return F1(t);var e=V4();e.prototype=t;var n=new e;return e.prototype=null,n}function ID(t,e){var n=BD(t);return e&&Ci(n,e),n}function MD(t){return mr(t)?yr(t)?t.slice():bp({},t):t}function WD(t,e){return e(t),t}function xp(t){return yr(t)?t:[t]}je.toPath=xp;function Lo(t){return je.toPath(t)}function Dp(t,e){for(var n=e.length,r=0;r<n;r++){if(t==null)return;t=t[e[r]]}return n?t:void 0}function wp(t,e,n){var r=Dp(t,Lo(e));return rp(r)?n:r}function LD(t,e){e=Lo(e);for(var n=e.length,r=0;r<n;r++){var i=e[r];if(!br(t,i))return!1;t=t[i]}return!!n}function oc(t){return t}function qr(t){return t=Ci({},t),function(e){return dp(e,t)}}function ac(t){return t=Lo(t),function(e){return Dp(e,t)}}function Po(t,e,n){if(e===void 0)return t;switch(n??3){case 1:return function(r){return t.call(e,r)};case 3:return function(r,i,o){return t.call(e,r,i,o)};case 4:return function(r,i,o,a){return t.call(e,r,i,o,a)}}return function(){return t.apply(e,arguments)}}function PD(t,e,n){return t==null?oc:mt(t)?Po(t,e,n):mr(t)&&!yr(t)?qr(t):ac(t)}function sc(t,e){return PD(t,e,1/0)}je.iteratee=sc;function kt(t,e,n){return je.iteratee!==sc?je.iteratee(t,e):PD(t,e,n)}function qD(t,e,n){e=kt(e,n);for(var r=rt(t),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(t[s],s,t)}return o}function _p(){}function zD(t){return t==null?_p:function(e){return wp(t,e)}}function jD(t,e,n){var r=Array(Math.max(0,t));e=Po(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function Is(t,e){return e==null&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}const Si=Date.now||function(){return new Date().getTime()};function $D(t){var e=function(o){return t[o]},n="(?:"+rt(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(o){return o=o==null?"":""+o,r.test(o)?o.replace(i,e):o}}const VD={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},HD=$D(VD),H4=mp(VD),XD=$D(H4),GD=je.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Pu=/(.)^/,X4={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},G4=/\\|'|\r|\n|\u2028|\u2029/g;function K4(t){return"\\"+X4[t]}var J4=/^\s*(\w|\$)+\s*$/;function KD(t,e,n){!e&&n&&(e=n),e=vp({},e,je.templateSettings);var r=RegExp([(e.escape||Pu).source,(e.interpolate||Pu).source,(e.evaluate||Pu).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(l,u,f,d,h){return o+=t.slice(i,h).replace(G4,K4),i=h+l.length,u?o+=`'+
18
- ((__t=(`+u+`))==null?'':_.escape(__t))+
19
- '`:f?o+=`'+
20
- ((__t=(`+f+`))==null?'':__t)+
21
- '`:d&&(o+=`';
22
- `+d+`
23
- __p+='`),l}),o+=`';
24
- `;var a=e.variable;if(a){if(!J4.test(a))throw new Error("variable is not a bare identifier: "+a)}else o=`with(obj||{}){
25
- `+o+`}
26
- `,a="obj";o=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
27
- `+o+`return __p;
28
- `;var s;try{s=new Function(a,"_",o)}catch(l){throw l.source=o,l}var c=function(l){return s.call(this,l,je)};return c.source="function("+a+`){
29
- `+o+"}",c}function JD(t,e,n){e=Lo(e);var r=e.length;if(!r)return mt(n)?n.call(t):n;for(var i=0;i<r;i++){var o=t==null?void 0:t[e[i]];o===void 0&&(o=n,i=r),t=mt(o)?o.call(t):o}return t}var Z4=0;function ZD(t){var e=++Z4+"";return t?t+e:e}function YD(t){var e=je(t);return e._chain=!0,e}function QD(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=BD(t.prototype),a=t.apply(o,i);return mr(a)?a:o}var Jr=Tt(function(t,e){var n=Jr.placeholder,r=function(){for(var i=0,o=e.length,a=Array(o),s=0;s<o;s++)a[s]=e[s]===n?arguments[i++]:e[s];for(;i<arguments.length;)a.push(arguments[i++]);return QD(t,r,this,this,a)};return r});Jr.placeholder=je;const Tp=Tt(function(t,e,n){if(!mt(t))throw new TypeError("Bind must be called on a function");var r=Tt(function(i){return QD(t,r,e,this,n.concat(i))});return r}),Mt=DD(Ut);function Zr(t,e,n,r){if(r=r||[],!e&&e!==0)e=1/0;else if(e<=0)return r.concat(t);for(var i=r.length,o=0,a=Ut(t);o<a;o++){var s=t[o];if(Mt(s)&&(yr(s)||ic(s)))if(e>1)Zr(s,e-1,n,r),i=r.length;else for(var c=0,l=s.length;c<l;)r[i++]=s[c++];else n||(r[i++]=s)}return r}const ew=Tt(function(t,e){e=Zr(e,!1,!1);var n=e.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=Tp(t[r],t)}return t});function tw(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return br(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}const Ep=Tt(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),nw=Jr(Ep,je,1);function rw(t,e,n){var r,i,o,a,s=0;n||(n={});var c=function(){s=n.leading===!1?0:Si(),r=null,a=t.apply(i,o),r||(i=o=null)},l=function(){var u=Si();!s&&n.leading===!1&&(s=u);var f=e-(u-s);return i=this,o=arguments,f<=0||f>e?(r&&(clearTimeout(r),r=null),s=u,a=t.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(c,f)),a};return l.cancel=function(){clearTimeout(r),s=0,r=i=o=null},l}function iw(t,e,n){var r,i,o,a,s,c=function(){var u=Si()-i;e>u?r=setTimeout(c,e-u):(r=null,n||(a=t.apply(s,o)),r||(o=s=null))},l=Tt(function(u){return s=this,o=u,i=Si(),r||(r=setTimeout(c,e),n&&(a=t.apply(s,o))),a});return l.cancel=function(){clearTimeout(r),r=o=s=null},l}function ow(t,e){return Jr(e,t)}function cc(t){return function(){return!t.apply(this,arguments)}}function aw(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function sw(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Cp(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const cw=Jr(Cp,2);function Sp(t,e,n){e=kt(e,n);for(var r=rt(t),i,o=0,a=r.length;o<a;o++)if(i=r[o],e(t[i],i,t))return i}function lw(t){return function(e,n,r){n=kt(n,r);for(var i=Ut(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}const lc=lw(1),Ap=lw(-1);function Up(t,e,n,r){n=kt(n,r,1);for(var i=n(e),o=0,a=Ut(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o}function uw(t,e,n){return function(r,i,o){var a=0,s=Ut(r);if(typeof o=="number")t>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=e(Wo.call(r,a,s),lp),o>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&o<s;o+=t)if(r[o]===i)return o;return-1}}const kp=uw(1,lc,Up),fw=uw(-1,Ap);function ko(t,e,n){var r=Mt(t)?lc:Sp,i=r(t,e,n);if(i!==void 0&&i!==-1)return t[i]}function dw(t,e){return ko(t,qr(e))}function an(t,e,n){e=Po(e,n);var r,i;if(Mt(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=rt(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}function Mn(t,e,n){e=kt(e,n);for(var r=!Mt(t)&&rt(t),i=(r||t).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=e(t[s],s,t)}return o}function hw(t){var e=function(n,r,i,o){var a=!Mt(n)&&rt(n),s=(a||n).length,c=t>0?0:s-1;for(o||(i=n[a?a[c]:c],c+=t);c>=0&&c<s;c+=t){var l=a?a[c]:c;i=r(i,n[l],l,n)}return i};return function(n,r,i,o){var a=arguments.length>=3;return e(n,Po(r,o,4),i,a)}}const bi=hw(1),Ms=hw(-1);function fr(t,e,n){var r=[];return e=kt(e,n),an(t,function(i,o,a){e(i,o,a)&&r.push(i)}),r}function pw(t,e,n){return fr(t,cc(kt(e)),n)}function Ws(t,e,n){e=kt(e,n);for(var r=!Mt(t)&&rt(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(!e(t[a],a,t))return!1}return!0}function Ls(t,e,n){e=kt(e,n);for(var r=!Mt(t)&&rt(t),i=(r||t).length,o=0;o<i;o++){var a=r?r[o]:o;if(e(t[a],a,t))return!0}return!1}function Kt(t,e,n,r){return Mt(t)||(t=Kr(t)),(typeof n!="number"||r)&&(n=0),kp(t,e,n)>=0}const gw=Tt(function(t,e,n){var r,i;return mt(e)?i=e:(e=Lo(e),r=e.slice(0,-1),e=e[e.length-1]),Mn(t,function(o){var a=i;if(!a){if(r&&r.length&&(o=Dp(o,r)),o==null)return;a=o[e]}return a==null?a:a.apply(o,n)})});function uc(t,e){return Mn(t,ac(e))}function mw(t,e){return fr(t,qr(e))}function Fp(t,e,n){var r=-1/0,i=-1/0,o,a;if(e==null||typeof e=="number"&&typeof t[0]!="object"&&t!=null){t=Mt(t)?t:Kr(t);for(var s=0,c=t.length;s<c;s++)o=t[s],o!=null&&o>r&&(r=o)}else e=kt(e,n),an(t,function(l,u,f){a=e(l,u,f),(a>i||a===-1/0&&r===-1/0)&&(r=l,i=a)});return r}function yw(t,e,n){var r=1/0,i=1/0,o,a;if(e==null||typeof e=="number"&&typeof t[0]!="object"&&t!=null){t=Mt(t)?t:Kr(t);for(var s=0,c=t.length;s<c;s++)o=t[s],o!=null&&o<r&&(r=o)}else e=kt(e,n),an(t,function(l,u,f){a=e(l,u,f),(a<i||a===1/0&&r===1/0)&&(r=l,i=a)});return r}var Y4=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Op(t){return t?yr(t)?Wo.call(t):rc(t)?t.match(Y4):Mt(t)?Mn(t,oc):Kr(t):[]}function Rp(t,e,n){if(e==null||n)return Mt(t)||(t=Kr(t)),t[Is(t.length-1)];var r=Op(t),i=Ut(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=Is(a,o),c=r[a];r[a]=r[s],r[s]=c}return r.slice(0,e)}function bw(t){return Rp(t,1/0)}function vw(t,e,n){var r=0;return e=kt(e,n),uc(Mn(t,function(i,o,a){return{value:i,index:r++,criteria:e(i,o,a)}}).sort(function(i,o){var a=i.criteria,s=o.criteria;if(a!==s){if(a>s||a===void 0)return 1;if(a<s||s===void 0)return-1}return i.index-o.index}),"value")}function fc(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=kt(r,i),an(n,function(a,s){var c=r(a,s,n);t(o,a,c)}),o}}const xw=fc(function(t,e,n){br(t,n)?t[n].push(e):t[n]=[e]}),Dw=fc(function(t,e,n){t[n]=e}),ww=fc(function(t,e,n){br(t,n)?t[n]++:t[n]=1}),_w=fc(function(t,e,n){t[n?0:1].push(e)},!0);function Tw(t){return t==null?0:Mt(t)?t.length:rt(t).length}function Q4(t,e,n){return e in n}const Np=Tt(function(t,e){var n={},r=e[0];if(t==null)return n;mt(r)?(e.length>1&&(r=Po(r,e[1])),e=Ni(t)):(r=Q4,e=Zr(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var a=e[i],s=t[a];r(s,a,t)&&(n[a]=s)}return n}),Ew=Tt(function(t,e){var n=e[0],r;return mt(n)?(n=cc(n),e.length>1&&(r=e[1])):(e=Mn(Zr(e,!1,!1),String),n=function(i,o){return!Kt(e,o)}),Np(t,n,r)});function Bp(t,e,n){return Wo.call(t,0,Math.max(0,t.length-(e==null||n?1:e)))}function vi(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[0]:Bp(t,t.length-e)}function Br(t,e,n){return Wo.call(t,e==null||n?1:e)}function Cw(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[t.length-1]:Br(t,Math.max(0,t.length-e))}function Sw(t){return fr(t,Boolean)}function Aw(t,e){return Zr(t,e,!1)}const Ip=Tt(function(t,e){return e=Zr(e,!0,!0),fr(t,function(n){return!Kt(e,n)})}),Uw=Tt(function(t,e){return Ip(t,e)});function Fo(t,e,n,r){ip(e)||(r=n,n=e,e=!1),n!=null&&(n=kt(n,r));for(var i=[],o=[],a=0,s=Ut(t);a<s;a++){var c=t[a],l=n?n(c,a,t):c;e&&!n?((!a||o!==l)&&i.push(c),o=l):n?Kt(o,l)||(o.push(l),i.push(c)):Kt(i,c)||i.push(c)}return i}const kw=Tt(function(t){return Fo(Zr(t,!0,!0))});function Fw(t){for(var e=[],n=arguments.length,r=0,i=Ut(t);r<i;r++){var o=t[r];if(!Kt(e,o)){var a;for(a=1;a<n&&Kt(arguments[a],o);a++);a===n&&e.push(o)}}return e}function Oo(t){for(var e=t&&Fp(t,Ut).length||0,n=Array(e),r=0;r<e;r++)n[r]=uc(t,r);return n}const Ow=Tt(Oo);function Rw(t,e){for(var n={},r=0,i=Ut(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function Nw(t,e,n){e==null&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i}function Bw(t,e){if(e==null||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(Wo.call(t,r,r+=e));return n}function Mp(t,e){return t._chain?je(e).chain():e}function Wp(t){return an(Uo(t),function(e){var n=je[e]=t[e];je.prototype[e]=function(){var r=[this._wrapped];return U4.apply(r,arguments),Mp(this,n.apply(je,r))}}),je}an(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=nc[t];je.prototype[t]=function(){var n=this._wrapped;return n!=null&&(e.apply(n,arguments),(t==="shift"||t==="splice")&&n.length===0&&delete n[0]),Mp(this,n)}});an(["concat","join","slice"],function(t){var e=nc[t];je.prototype[t]=function(){var n=this._wrapped;return n!=null&&(n=e.apply(n,arguments)),Mp(this,n)}});const eF=Object.freeze(Object.defineProperty({__proto__:null,VERSION:tp,after:sw,all:Ws,allKeys:Ni,any:Ls,assign:Ci,before:Cp,bind:Tp,bindAll:ew,chain:YD,chunk:Bw,clone:MD,collect:Mn,compact:Sw,compose:aw,constant:up,contains:Kt,countBy:ww,create:ID,debounce:iw,default:je,defaults:vp,defer:nw,delay:Ep,detect:ko,difference:Ip,drop:Br,each:an,escape:HD,every:Ws,extend:bp,extendOwn:Ci,filter:fr,find:ko,findIndex:lc,findKey:Sp,findLastIndex:Ap,findWhere:dw,first:vi,flatten:Aw,foldl:bi,foldr:Ms,forEach:an,functions:Uo,get:wp,groupBy:xw,has:LD,head:vi,identity:oc,include:Kt,includes:Kt,indexBy:Dw,indexOf:kp,initial:Bp,inject:bi,intersection:Fw,invert:mp,invoke:gw,isArguments:ic,isArray:yr,isArrayBuffer:sp,isBoolean:ip,isDataView:Ao,isDate:pD,isElement:hD,isEmpty:TD,isEqual:CD,isError:mD,isFinite:xD,isFunction:mt,isMap:kD,isMatch:dp,isNaN:lp,isNull:dD,isNumber:op,isObject:mr,isRegExp:gD,isSet:OD,isString:rc,isSymbol:ap,isTypedArray:fp,isUndefined:rp,isWeakMap:FD,isWeakSet:RD,iteratee:sc,keys:rt,last:Cw,lastIndexOf:fw,map:Mn,mapObject:qD,matcher:qr,matches:qr,max:Fp,memoize:tw,methods:Uo,min:yw,mixin:Wp,negate:cc,noop:_p,now:Si,object:Rw,omit:Ew,once:cw,pairs:ND,partial:Jr,partition:_w,pick:Np,pluck:uc,property:ac,propertyOf:zD,random:Is,range:Nw,reduce:bi,reduceRight:Ms,reject:pw,rest:Br,restArguments:Tt,result:JD,sample:Rp,select:fr,shuffle:bw,size:Tw,some:Ls,sortBy:vw,sortedIndex:Up,tail:Br,take:vi,tap:WD,template:KD,templateSettings:GD,throttle:rw,times:jD,toArray:Op,toPath:xp,transpose:Oo,unescape:XD,union:kw,uniq:Fo,unique:Fo,uniqueId:ZD,unzip:Oo,values:Kr,where:mw,without:Uw,wrap:ow,zip:Ow},Symbol.toStringTag,{value:"Module"}));var $d=Wp(eF);$d._=$d;const tF=Object.freeze(Object.defineProperty({__proto__:null,VERSION:tp,after:sw,all:Ws,allKeys:Ni,any:Ls,assign:Ci,before:Cp,bind:Tp,bindAll:ew,chain:YD,chunk:Bw,clone:MD,collect:Mn,compact:Sw,compose:aw,constant:up,contains:Kt,countBy:ww,create:ID,debounce:iw,default:$d,defaults:vp,defer:nw,delay:Ep,detect:ko,difference:Ip,drop:Br,each:an,escape:HD,every:Ws,extend:bp,extendOwn:Ci,filter:fr,find:ko,findIndex:lc,findKey:Sp,findLastIndex:Ap,findWhere:dw,first:vi,flatten:Aw,foldl:bi,foldr:Ms,forEach:an,functions:Uo,get:wp,groupBy:xw,has:LD,head:vi,identity:oc,include:Kt,includes:Kt,indexBy:Dw,indexOf:kp,initial:Bp,inject:bi,intersection:Fw,invert:mp,invoke:gw,isArguments:ic,isArray:yr,isArrayBuffer:sp,isBoolean:ip,isDataView:Ao,isDate:pD,isElement:hD,isEmpty:TD,isEqual:CD,isError:mD,isFinite:xD,isFunction:mt,isMap:kD,isMatch:dp,isNaN:lp,isNull:dD,isNumber:op,isObject:mr,isRegExp:gD,isSet:OD,isString:rc,isSymbol:ap,isTypedArray:fp,isUndefined:rp,isWeakMap:FD,isWeakSet:RD,iteratee:sc,keys:rt,last:Cw,lastIndexOf:fw,map:Mn,mapObject:qD,matcher:qr,matches:qr,max:Fp,memoize:tw,methods:Uo,min:yw,mixin:Wp,negate:cc,noop:_p,now:Si,object:Rw,omit:Ew,once:cw,pairs:ND,partial:Jr,partition:_w,pick:Np,pluck:uc,property:ac,propertyOf:zD,random:Is,range:Nw,reduce:bi,reduceRight:Ms,reject:pw,rest:Br,restArguments:Tt,result:JD,sample:Rp,select:fr,shuffle:bw,size:Tw,some:Ls,sortBy:vw,sortedIndex:Up,tail:Br,take:vi,tap:WD,template:KD,templateSettings:GD,throttle:rw,times:jD,toArray:Op,toPath:xp,transpose:Oo,unescape:XD,union:kw,uniq:Fo,unique:Fo,uniqueId:ZD,unzip:Oo,values:Kr,where:mw,without:Uw,wrap:ow,zip:Ow},Symbol.toStringTag,{value:"Module"})),et=qx(tF);var na={},jt={},qu={exports:{}},ra={exports:{}},I1;function Bi(){if(I1)return ra.exports;I1=1;var t=function(){return this===void 0}();if(t)ra.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:t,propertyIsWritable:function(u,f){var d=Object.getOwnPropertyDescriptor(u,f);return!!(!d||d.writable||d.set)}};else{var e={}.hasOwnProperty,n={}.toString,r={}.constructor.prototype,i=function(u){var f=[];for(var d in u)e.call(u,d)&&f.push(d);return f},o=function(u,f){return{value:u[f]}},a=function(u,f,d){return u[f]=d.value,u},s=function(u){return u},c=function(u){try{return Object(u).constructor.prototype}catch{return r}},l=function(u){try{return n.call(u)==="[object Array]"}catch{return!1}};ra.exports={isArray:l,keys:i,names:i,defineProperty:a,getDescriptor:o,freeze:s,getPrototypeOf:c,isES5:t,propertyIsWritable:function(){return!0}}}return ra.exports}var zi,M1;function Ve(){if(M1)return zi;M1=1;var t=Bi(),e=typeof navigator>"u",n={e:{}},r,i=typeof self<"u"?self:typeof window<"u"?window:typeof Xt<"u"?Xt:zi!==void 0?zi:null;function o(){try{var B=r;return r=null,B.apply(this,arguments)}catch(oe){return n.e=oe,n}}function a(B){return r=B,o}var s=function(B,oe){var X={}.hasOwnProperty;function J(){this.constructor=B,this.constructor$=oe;for(var le in oe.prototype)X.call(oe.prototype,le)&&le.charAt(le.length-1)!=="$"&&(this[le+"$"]=oe.prototype[le])}return J.prototype=oe.prototype,B.prototype=new J,B.prototype};function c(B){return B==null||B===!0||B===!1||typeof B=="string"||typeof B=="number"}function l(B){return typeof B=="function"||typeof B=="object"&&B!==null}function u(B){return c(B)?new Error(E(B)):B}function f(B,oe){var X=B.length,J=new Array(X+1),le;for(le=0;le<X;++le)J[le]=B[le];return J[le]=oe,J}function d(B,oe,X){if(t.isES5){var J=Object.getOwnPropertyDescriptor(B,oe);if(J!=null)return J.get==null&&J.set==null?J.value:X}else return{}.hasOwnProperty.call(B,oe)?B[oe]:void 0}function h(B,oe,X){if(c(B))return B;var J={value:X,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(B,oe,J),B}function p(B){throw B}var m=function(){var B=[Array.prototype,Object.prototype,Function.prototype],oe=function(le){for(var he=0;he<B.length;++he)if(B[he]===le)return!0;return!1};if(t.isES5){var X=Object.getOwnPropertyNames;return function(le){for(var he=[],fe=Object.create(null);le!=null&&!oe(le);){var me;try{me=X(le)}catch{return he}for(var de=0;de<me.length;++de){var ge=me[de];if(!fe[ge]){fe[ge]=!0;var ye=Object.getOwnPropertyDescriptor(le,ge);ye!=null&&ye.get==null&&ye.set==null&&he.push(ge)}}le=t.getPrototypeOf(le)}return he}}else{var J={}.hasOwnProperty;return function(le){if(oe(le))return[];var he=[];e:for(var fe in le)if(J.call(le,fe))he.push(fe);else{for(var me=0;me<B.length;++me)if(J.call(B[me],fe))continue e;he.push(fe)}return he}}}(),g=/this\s*\.\s*\S+\s*=/;function y(B){try{if(typeof B=="function"){var oe=t.names(B.prototype),X=t.isES5&&oe.length>1,J=oe.length>0&&!(oe.length===1&&oe[0]==="constructor"),le=g.test(B+"")&&t.names(B).length>0;if(X||J||le)return!0}return!1}catch{return!1}}function b(B){return B}var v=/^[a-z$_][a-z$_0-9]*$/i;function T(B){return v.test(B)}function w(B,oe,X){for(var J=new Array(B),le=0;le<B;++le)J[le]=oe+le+X;return J}function E(B){try{return B+""}catch{return"[no string representation]"}}function S(B){return B!==null&&typeof B=="object"&&typeof B.message=="string"&&typeof B.name=="string"}function U(B){try{h(B,"isOperational",!0)}catch{}}function C(B){return B==null?!1:B instanceof Error.__BluebirdErrorTypes__.OperationalError||B.isOperational===!0}function R(B){return S(B)&&t.propertyIsWritable(B,"stack")}var L=function(){return"stack"in new Error?function(B){return R(B)?B:new Error(E(B))}:function(B){if(R(B))return B;try{throw new Error(E(B))}catch(oe){return oe}}}();function _(B){return{}.toString.call(B)}function k(B,oe,X){for(var J=t.names(B),le=0;le<J.length;++le){var he=J[le];if(X(he))try{t.defineProperty(oe,he,t.getDescriptor(B,he))}catch{}}}var x=function(B){return t.isArray(B)?B:null};if(typeof Symbol<"u"&&Symbol.iterator){var z=typeof Array.from=="function"?function(B){return Array.from(B)}:function(B){for(var oe=[],X=B[Symbol.iterator](),J;!(J=X.next()).done;)oe.push(J.value);return oe};x=function(B){return t.isArray(B)?B:B!=null&&typeof B[Symbol.iterator]=="function"?z(B):null}}var F=typeof process<"u"&&_(process).toLowerCase()==="[object process]",I=typeof process<"u"&&typeof process.env<"u";function K(B){return I?process.env[B]:void 0}function P(){if(typeof Promise=="function")try{var B=new Promise(function(){});if({}.toString.call(B)==="[object Promise]")return Promise}catch{}}function te(B,oe){return B.bind(oe)}var W={isClass:y,isIdentifier:T,inheritedDataKeys:m,getDataPropertyOrDefault:d,thrower:p,isArray:t.isArray,asArray:x,notEnumerableProp:h,isPrimitive:c,isObject:l,isError:S,canEvaluate:e,errorObj:n,tryCatch:a,inherits:s,withAppended:f,maybeWrapAsError:u,toFastProperties:b,filledRange:w,toString:E,canAttachTrace:R,ensureErrorObject:L,originatesFromRejection:C,markAsOriginatingFromRejection:U,classString:_,copyDescriptors:k,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:F,hasEnvVariables:I,env:K,global:i,getNativePromise:P,domainBind:te};W.isRecentNode=W.isNode&&function(){var B=process.versions.node.split(".").map(Number);return B[0]===0&&B[1]>10||B[0]>0}(),W.isNode&&W.toFastProperties(process);try{throw new Error}catch(B){W.lastLineError=B}return zi=W,zi}var ia={exports:{}},zu,W1;function nF(){if(W1)return zu;W1=1;var t=Ve(),e,n=function(){throw new Error(`No async scheduler available
30
-
31
- See http://goo.gl/MqrFmX
32
- `)},r=t.getNativePromise();if(t.isNode&&typeof MutationObserver>"u"){var i=Xt.setImmediate,o=process.nextTick;e=t.isRecentNode?function(s){i.call(Xt,s)}:function(s){o.call(process,s)}}else if(typeof r=="function"&&typeof r.resolve=="function"){var a=r.resolve();e=function(s){a.then(s)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))?e=function(){var s=document.createElement("div"),c={attributes:!0},l=!1,u=document.createElement("div"),f=new MutationObserver(function(){s.classList.toggle("foo"),l=!1});f.observe(u,c);var d=function(){l||(l=!0,u.classList.toggle("foo"))};return function(p){var m=new MutationObserver(function(){m.disconnect(),p()});m.observe(s,c),d()}}():typeof setImmediate<"u"?e=function(s){setImmediate(s)}:typeof setTimeout<"u"?e=function(s){setTimeout(s,0)}:e=n;return zu=e,zu}var ju,L1;function rF(){if(L1)return ju;L1=1;function t(n,r,i,o,a){for(var s=0;s<a;++s)i[s+o]=n[s+r],n[s+r]=void 0}function e(n){this._capacity=n,this._length=0,this._front=0}return e.prototype._willBeOverCapacity=function(n){return this._capacity<n},e.prototype._pushOne=function(n){var r=this.length();this._checkCapacity(r+1);var i=this._front+r&this._capacity-1;this[i]=n,this._length=r+1},e.prototype.push=function(n,r,i){var o=this.length()+3;if(this._willBeOverCapacity(o)){this._pushOne(n),this._pushOne(r),this._pushOne(i);return}var a=this._front+o-3;this._checkCapacity(o);var s=this._capacity-1;this[a+0&s]=n,this[a+1&s]=r,this[a+2&s]=i,this._length=o},e.prototype.shift=function(){var n=this._front,r=this[n];return this[n]=void 0,this._front=n+1&this._capacity-1,this._length--,r},e.prototype.length=function(){return this._length},e.prototype._checkCapacity=function(n){this._capacity<n&&this._resizeTo(this._capacity<<1)},e.prototype._resizeTo=function(n){var r=this._capacity;this._capacity=n;var i=this._front,o=this._length,a=i+o&r-1;t(this,0,this,r,a)},ju=e,ju}var P1;function iF(){if(P1)return ia.exports;P1=1;var t;try{throw new Error}catch(c){t=c}var e=nF(),n=rF(),r=Ve();function i(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new n(16),this._normalQueue=new n(16),this._haveDrainedQueues=!1,this._trampolineEnabled=!0;var c=this;this.drainQueues=function(){c._drainQueues()},this._schedule=e}i.prototype.setScheduler=function(c){var l=this._schedule;return this._schedule=c,this._customScheduler=!0,l},i.prototype.hasCustomScheduler=function(){return this._customScheduler},i.prototype.enableTrampoline=function(){this._trampolineEnabled=!0},i.prototype.disableTrampolineIfNecessary=function(){r.hasDevTools&&(this._trampolineEnabled=!1)},i.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},i.prototype.fatalError=function(c,l){l?(process.stderr.write("Fatal "+(c instanceof Error?c.stack:c)+`
33
- `),process.exit(2)):this.throwLater(c)},i.prototype.throwLater=function(c,l){if(arguments.length===1&&(l=c,c=function(){throw l}),typeof setTimeout<"u")setTimeout(function(){c(l)},0);else try{this._schedule(function(){c(l)})}catch{throw new Error(`No async scheduler available
34
-
35
- See http://goo.gl/MqrFmX
36
- `)}};function o(c,l,u){this._lateQueue.push(c,l,u),this._queueTick()}function a(c,l,u){this._normalQueue.push(c,l,u),this._queueTick()}function s(c){this._normalQueue._pushOne(c),this._queueTick()}return r.hasDevTools?(i.prototype.invokeLater=function(c,l,u){this._trampolineEnabled?o.call(this,c,l,u):this._schedule(function(){setTimeout(function(){c.call(l,u)},100)})},i.prototype.invoke=function(c,l,u){this._trampolineEnabled?a.call(this,c,l,u):this._schedule(function(){c.call(l,u)})},i.prototype.settlePromises=function(c){this._trampolineEnabled?s.call(this,c):this._schedule(function(){c._settlePromises()})}):(i.prototype.invokeLater=o,i.prototype.invoke=a,i.prototype.settlePromises=s),i.prototype._drainQueue=function(c){for(;c.length()>0;){var l=c.shift();if(typeof l!="function"){l._settlePromises();continue}var u=c.shift(),f=c.shift();l.call(u,f)}},i.prototype._drainQueues=function(){this._drainQueue(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,this._drainQueue(this._lateQueue)},i.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},i.prototype._reset=function(){this._isTickUsed=!1},ia.exports=i,ia.exports.firstLineError=t,ia.exports}var $u,q1;function dr(){if(q1)return $u;q1=1;var t=Bi(),e=t.freeze,n=Ve(),r=n.inherits,i=n.notEnumerableProp;function o(y,b){function v(T){if(!(this instanceof v))return new v(T);i(this,"message",typeof T=="string"?T:b),i(this,"name",y),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return r(v,Error),v}var a,s,c=o("Warning","warning"),l=o("CancellationError","cancellation error"),u=o("TimeoutError","timeout error"),f=o("AggregateError","aggregate error");try{a=TypeError,s=RangeError}catch{a=o("TypeError","type error"),s=o("RangeError","range error")}for(var d="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),h=0;h<d.length;++h)typeof Array.prototype[d[h]]=="function"&&(f.prototype[d[h]]=Array.prototype[d[h]]);t.defineProperty(f.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),f.prototype.isOperational=!0;var p=0;f.prototype.toString=function(){var y=Array(p*4+1).join(" "),b=`
37
- `+y+`AggregateError of:
38
- `;p++,y=Array(p*4+1).join(" ");for(var v=0;v<this.length;++v){for(var T=this[v]===this?"[Circular AggregateError]":this[v]+"",w=T.split(`
39
- `),E=0;E<w.length;++E)w[E]=y+w[E];T=w.join(`
40
- `),b+=T+`
41
- `}return p--,b};function m(y){if(!(this instanceof m))return new m(y);i(this,"name","OperationalError"),i(this,"message",y),this.cause=y,this.isOperational=!0,y instanceof Error?(i(this,"message",y.message),i(this,"stack",y.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}r(m,Error);var g=Error.__BluebirdErrorTypes__;return g||(g=e({CancellationError:l,TimeoutError:u,OperationalError:m,RejectionError:m,AggregateError:f}),t.defineProperty(Error,"__BluebirdErrorTypes__",{value:g,writable:!1,enumerable:!1,configurable:!1})),$u={Error,TypeError:a,RangeError:s,CancellationError:g.CancellationError,OperationalError:g.OperationalError,TimeoutError:g.TimeoutError,AggregateError:g.AggregateError,Warning:c},$u}var Vu,z1;function oF(){return z1||(z1=1,Vu=function(t,e){var n=Ve(),r=n.errorObj,i=n.isObject;function o(f,d){if(i(f)){if(f instanceof t)return f;var h=s(f);if(h===r){d&&d._pushContext();var p=t.reject(h.e);return d&&d._popContext(),p}else if(typeof h=="function"){if(l(f)){var p=new t(e);return f._then(p._fulfill,p._reject,void 0,p,null),p}return u(f,h,d)}}return f}function a(f){return f.then}function s(f){try{return a(f)}catch(d){return r.e=d,r}}var c={}.hasOwnProperty;function l(f){try{return c.call(f,"_promise0")}catch{return!1}}function u(f,d,h){var p=new t(e),m=p;h&&h._pushContext(),p._captureStackTrace(),h&&h._popContext();var g=!0,y=n.tryCatch(d).call(f,b,v);g=!1,p&&y===r&&(p._rejectCallback(y.e,!0,!0),p=null);function b(T){p&&(p._resolveCallback(T),p=null)}function v(T){p&&(p._rejectCallback(T,g,!0),p=null)}return m}return o}),Vu}var Hu,j1;function aF(){return j1||(j1=1,Hu=function(t,e,n,r,i){var o=Ve();o.isArray;function a(c){switch(c){case-2:return[];case-3:return{}}}function s(c){var l=this._promise=new t(e);c instanceof t&&l._propagateFrom(c,3),l._setOnCancel(this),this._values=c,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return o.inherits(s,i),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function c(l,u){var f=n(this._values,this._promise);if(f instanceof t){f=f._target();var d=f._bitField;if(this._values=f,(d&50397184)===0)return this._promise._setAsyncGuaranteed(),f._then(c,this._reject,void 0,this,u);if((d&33554432)!==0)f=f._value();else return(d&16777216)!==0?this._reject(f._reason()):this._cancel()}if(f=o.asArray(f),f===null){var h=r("expecting an array or an iterable object but got "+o.classString(f)).reason();this._promise._rejectCallback(h,!1);return}if(f.length===0){u===-5?this._resolveEmptyArray():this._resolve(a(u));return}this._iterate(f)},s.prototype._iterate=function(c){var l=this.getActualLength(c.length);this._length=l,this._values=this.shouldCopyValues()?new Array(l):this._values;for(var u=this._promise,f=!1,d=null,h=0;h<l;++h){var p=n(c[h],u);p instanceof t?(p=p._target(),d=p._bitField):d=null,f?d!==null&&p.suppressUnhandledRejections():d!==null?(d&50397184)===0?(p._proxy(this,h),this._values[h]=p):(d&33554432)!==0?f=this._promiseFulfilled(p._value(),h):(d&16777216)!==0?f=this._promiseRejected(p._reason(),h):f=this._promiseCancelled(h):f=this._promiseFulfilled(p,h)}f||u._setAsyncGuaranteed()},s.prototype._isResolved=function(){return this._values===null},s.prototype._resolve=function(c){this._values=null,this._promise._fulfill(c)},s.prototype._cancel=function(){this._isResolved()||!this._promise._isCancellable()||(this._values=null,this._promise._cancel())},s.prototype._reject=function(c){this._values=null,this._promise._rejectCallback(c,!1)},s.prototype._promiseFulfilled=function(c,l){this._values[l]=c;var u=++this._totalResolved;return u>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(c){return this._totalResolved++,this._reject(c),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var c=this._values;if(this._cancel(),c instanceof t)c.cancel();else for(var l=0;l<c.length;++l)c[l]instanceof t&&c[l].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(c){return c},s}),Hu}var Xu,$1;function sF(){return $1||($1=1,Xu=function(t){var e=!1,n=[];t.prototype._promiseCreated=function(){},t.prototype._pushContext=function(){},t.prototype._popContext=function(){return null},t._peekContext=t.prototype._peekContext=function(){};function r(){this._trace=new r.CapturedTrace(o())}r.prototype._pushContext=function(){this._trace!==void 0&&(this._trace._promiseCreated=null,n.push(this._trace))},r.prototype._popContext=function(){if(this._trace!==void 0){var a=n.pop(),s=a._promiseCreated;return a._promiseCreated=null,s}return null};function i(){if(e)return new r}function o(){var a=n.length-1;if(a>=0)return n[a]}return r.CapturedTrace=null,r.create=i,r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var a=t.prototype._pushContext,s=t.prototype._popContext,c=t._peekContext,l=t.prototype._peekContext,u=t.prototype._promiseCreated;r.deactivateLongStackTraces=function(){t.prototype._pushContext=a,t.prototype._popContext=s,t._peekContext=c,t.prototype._peekContext=l,t.prototype._promiseCreated=u,e=!1},e=!0,t.prototype._pushContext=r.prototype._pushContext,t.prototype._popContext=r.prototype._popContext,t._peekContext=t.prototype._peekContext=o,t.prototype._promiseCreated=function(){var f=this._peekContext();f&&f._promiseCreated==null&&(f._promiseCreated=this)}},r}),Xu}var Gu,V1;function cF(){return V1||(V1=1,Gu=function(t,e){var n=t._getDomain,r=t._async,i=dr().Warning,o=Ve(),a=o.canAttachTrace,s,c,l=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,u=/\((?:timers\.js):\d+:\d+\)/,f=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,d=null,h=null,p=!1,m,g=!!(o.env("BLUEBIRD_DEBUG")!=0&&(o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development")),y=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(g||o.env("BLUEBIRD_WARNINGS"))),b=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(g||o.env("BLUEBIRD_LONG_STACK_TRACES"))),v=o.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(y||!!o.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var q=this._target();q._bitField=q._bitField&-1048577|524288},t.prototype._ensurePossibleRejectionHandled=function(){(this._bitField&524288)===0&&(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){ye("rejectionHandled",s,void 0,this)},t.prototype._setReturnedNonUndefined=function(){this._bitField=this._bitField|268435456},t.prototype._returnedNonUndefined=function(){return(this._bitField&268435456)!==0},t.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var q=this._settledValue();this._setUnhandledRejectionIsNotified(),ye("unhandledRejection",c,q,this)}},t.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=this._bitField|262144},t.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=this._bitField&-262145},t.prototype._isUnhandledRejectionNotified=function(){return(this._bitField&262144)>0},t.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},t.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},t.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},t.prototype._warn=function(q,G,Y){return X(q,G,Y||this)},t.onPossiblyUnhandledRejection=function(q){var G=n();c=typeof q=="function"?G===null?q:o.domainBind(G,q):void 0},t.onUnhandledRejectionHandled=function(q){var G=n();s=typeof q=="function"?G===null?q:o.domainBind(G,q):void 0};var T=function(){};t.longStackTraces=function(){if(r.haveItemsQueued()&&!Z.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
42
-
43
- See http://goo.gl/MqrFmX
44
- `);if(!Z.longStackTraces&&V()){var q=t.prototype._captureStackTrace,G=t.prototype._attachExtraTrace;Z.longStackTraces=!0,T=function(){if(r.haveItemsQueued()&&!Z.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
45
-
46
- See http://goo.gl/MqrFmX
47
- `);t.prototype._captureStackTrace=q,t.prototype._attachExtraTrace=G,e.deactivateLongStackTraces(),r.enableTrampoline(),Z.longStackTraces=!1},t.prototype._captureStackTrace=te,t.prototype._attachExtraTrace=W,e.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return Z.longStackTraces&&V()};var w=function(){try{if(typeof CustomEvent=="function"){var q=new CustomEvent("CustomEvent");return o.global.dispatchEvent(q),function(G,Y){var ae=new CustomEvent(G.toLowerCase(),{detail:Y,cancelable:!0});return!o.global.dispatchEvent(ae)}}else if(typeof Event=="function"){var q=new Event("CustomEvent");return o.global.dispatchEvent(q),function(Y,ae){var xe=new Event(Y.toLowerCase(),{cancelable:!0});return xe.detail=ae,!o.global.dispatchEvent(xe)}}else{var q=document.createEvent("CustomEvent");return q.initCustomEvent("testingtheevent",!1,!0,{}),o.global.dispatchEvent(q),function(Y,ae){var xe=document.createEvent("CustomEvent");return xe.initCustomEvent(Y.toLowerCase(),!1,!0,ae),!o.global.dispatchEvent(xe)}}}catch{}return function(){return!1}}(),E=function(){return o.isNode?function(){return process.emit.apply(process,arguments)}:o.global?function(q){var G="on"+q.toLowerCase(),Y=o.global[G];return Y?(Y.apply(o.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function S(q,G){return{promise:G}}var U={promiseCreated:S,promiseFulfilled:S,promiseRejected:S,promiseResolved:S,promiseCancelled:S,promiseChained:function(q,G,Y){return{promise:G,child:Y}},warning:function(q,G){return{warning:G}},unhandledRejection:function(q,G,Y){return{reason:G,promise:Y}},rejectionHandled:S},C=function(q){var G=!1;try{G=E.apply(null,arguments)}catch(ae){r.throwLater(ae),G=!0}var Y=!1;try{Y=w(q,U[q].apply(null,arguments))}catch(ae){r.throwLater(ae),Y=!0}return Y||G};t.config=function(q){if(q=Object(q),"longStackTraces"in q&&(q.longStackTraces?t.longStackTraces():!q.longStackTraces&&t.hasLongStackTraces()&&T()),"warnings"in q){var G=q.warnings;Z.warnings=!!G,v=Z.warnings,o.isObject(G)&&"wForgottenReturn"in G&&(v=!!G.wForgottenReturn)}if("cancellation"in q&&q.cancellation&&!Z.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=z,t.prototype._propagateFrom=F,t.prototype._onCancel=k,t.prototype._setOnCancel=x,t.prototype._attachCancellationCallback=_,t.prototype._execute=L,K=F,Z.cancellation=!0}return"monitoring"in q&&(q.monitoring&&!Z.monitoring?(Z.monitoring=!0,t.prototype._fireEvent=C):!q.monitoring&&Z.monitoring&&(Z.monitoring=!1,t.prototype._fireEvent=R)),t};function R(){return!1}t.prototype._fireEvent=R,t.prototype._execute=function(q,G,Y){try{q(G,Y)}catch(ae){return ae}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(q){},t.prototype._attachCancellationCallback=function(q){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(q,G){};function L(q,G,Y){var ae=this;try{q(G,Y,function(xe){if(typeof xe!="function")throw new TypeError("onCancel must be a function, got: "+o.toString(xe));ae._attachCancellationCallback(xe)})}catch(xe){return xe}}function _(q){if(!this._isCancellable())return this;var G=this._onCancel();G!==void 0?o.isArray(G)?G.push(q):this._setOnCancel([G,q]):this._setOnCancel(q)}function k(){return this._onCancelField}function x(q){this._onCancelField=q}function z(){this._cancellationParent=void 0,this._onCancelField=void 0}function F(q,G){if((G&1)!==0){this._cancellationParent=q;var Y=q._branchesRemainingToCancel;Y===void 0&&(Y=0),q._branchesRemainingToCancel=Y+1}(G&2)!==0&&q._isBound()&&this._setBoundTo(q._boundTo)}function I(q,G){(G&2)!==0&&q._isBound()&&this._setBoundTo(q._boundTo)}var K=I;function P(){var q=this._boundTo;return q!==void 0&&q instanceof t?q.isFulfilled()?q.value():void 0:q}function te(){this._trace=new ie(this._peekContext())}function W(q,G){if(a(q)){var Y=this._trace;if(Y!==void 0&&G&&(Y=Y._parent),Y!==void 0)Y.attachExtraTrace(q);else if(!q.__stackCleaned__){var ae=de(q);o.notEnumerableProp(q,"stack",ae.message+`
48
- `+ae.stack.join(`
49
- `)),o.notEnumerableProp(q,"__stackCleaned__",!0)}}}function B(q,G,Y,ae,xe){if(q===void 0&&G!==null&&v){if(xe!==void 0&&xe._returnedNonUndefined()||(ae._bitField&65535)===0)return;Y&&(Y=Y+" ");var Te="",Se="";if(G._trace){for(var Ce=G._trace.stack.split(`
50
- `),ee=fe(Ce),ue=ee.length-1;ue>=0;--ue){var ve=ee[ue];if(!u.test(ve)){var Ee=ve.match(f);Ee&&(Te="at "+Ee[1]+":"+Ee[2]+":"+Ee[3]+" ");break}}if(ee.length>0){for(var ke=ee[0],ue=0;ue<Ce.length;++ue)if(Ce[ue]===ke){ue>0&&(Se=`
51
- `+Ce[ue-1]);break}}}var Q="a promise was created in a "+Y+"handler "+Te+"but was not returned from it, see http://goo.gl/rRqMUw"+Se;ae._warn(Q,!0,G)}}function oe(q,G){var Y=q+" is deprecated and will be removed in a future version.";return G&&(Y+=" Use "+G+" instead."),X(Y)}function X(q,G,Y){if(Z.warnings){var ae=new i(q),xe;if(G)Y._attachExtraTrace(ae);else if(Z.longStackTraces&&(xe=t._peekContext()))xe.attachExtraTrace(ae);else{var Te=de(ae);ae.stack=Te.message+`
52
- `+Te.stack.join(`
53
- `)}C("warning",ae)||ge(ae,"",!0)}}function J(q,G){for(var Y=0;Y<G.length-1;++Y)G[Y].push("From previous event:"),G[Y]=G[Y].join(`
54
- `);return Y<G.length&&(G[Y]=G[Y].join(`
55
- `)),q+`
56
- `+G.join(`
57
- `)}function le(q){for(var G=0;G<q.length;++G)(q[G].length===0||G+1<q.length&&q[G][0]===q[G+1][0])&&(q.splice(G,1),G--)}function he(q){for(var G=q[0],Y=1;Y<q.length;++Y){for(var ae=q[Y],xe=G.length-1,Te=G[xe],Se=-1,Ce=ae.length-1;Ce>=0;--Ce)if(ae[Ce]===Te){Se=Ce;break}for(var Ce=Se;Ce>=0;--Ce){var ee=ae[Ce];if(G[xe]===ee)G.pop(),xe--;else break}G=ae}}function fe(q){for(var G=[],Y=0;Y<q.length;++Y){var ae=q[Y],xe=ae===" (No stack trace)"||d.test(ae),Te=xe&&j(ae);xe&&!Te&&(p&&ae.charAt(0)!==" "&&(ae=" "+ae),G.push(ae))}return G}function me(q){for(var G=q.stack.replace(/\s+$/g,"").split(`
58
- `),Y=0;Y<G.length;++Y){var ae=G[Y];if(ae===" (No stack trace)"||d.test(ae))break}return Y>0&&q.name!="SyntaxError"&&(G=G.slice(Y)),G}function de(q){var G=q.stack,Y=q.toString();return G=typeof G=="string"&&G.length>0?me(q):[" (No stack trace)"],{message:Y,stack:q.name=="SyntaxError"?G:fe(G)}}function ge(q,G,Y){if(typeof console<"u"){var ae;if(o.isObject(q)){var xe=q.stack;ae=G+h(xe,q)}else ae=G+String(q);typeof m=="function"?m(ae,Y):(typeof console.log=="function"||typeof console.log=="object")&&console.log(ae)}}function ye(q,G,Y,ae){var xe=!1;try{typeof G=="function"&&(xe=!0,q==="rejectionHandled"?G(ae):G(Y,ae))}catch(Te){r.throwLater(Te)}q==="unhandledRejection"?!C(q,Y,ae)&&!xe&&ge(Y,"Unhandled rejection "):C(q,ae)}function be(q){var G;if(typeof q=="function")G="[function "+(q.name||"anonymous")+"]";else{G=q&&typeof q.toString=="function"?q.toString():o.toString(q);var Y=/\[object [a-zA-Z0-9$_]+\]/;if(Y.test(G))try{var ae=JSON.stringify(q);G=ae}catch{}G.length===0&&(G="(empty array)")}return"(<"+D(G)+">, no stack trace)"}function D(q){var G=41;return q.length<G?q:q.substr(0,G-3)+"..."}function V(){return typeof ne=="function"}var j=function(){return!1},M=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function N(q){var G=q.match(M);if(G)return{fileName:G[1],line:parseInt(G[2],10)}}function $(q,G){if(V()){for(var Y=q.stack.split(`
59
- `),ae=G.stack.split(`
60
- `),xe=-1,Te=-1,Se,Ce,ee=0;ee<Y.length;++ee){var ue=N(Y[ee]);if(ue){Se=ue.fileName,xe=ue.line;break}}for(var ee=0;ee<ae.length;++ee){var ue=N(ae[ee]);if(ue){Ce=ue.fileName,Te=ue.line;break}}xe<0||Te<0||!Se||!Ce||Se!==Ce||xe>=Te||(j=function(ve){if(l.test(ve))return!0;var Ee=N(ve);return!!(Ee&&Ee.fileName===Se&&xe<=Ee.line&&Ee.line<=Te)})}}function ie(q){this._parent=q,this._promisesCreated=0;var G=this._length=1+(q===void 0?0:q._length);ne(this,ie),G>32&&this.uncycle()}o.inherits(ie,Error),e.CapturedTrace=ie,ie.prototype.uncycle=function(){var q=this._length;if(!(q<2)){for(var G=[],Y={},ae=0,xe=this;xe!==void 0;++ae)G.push(xe),xe=xe._parent;q=this._length=ae;for(var ae=q-1;ae>=0;--ae){var Te=G[ae].stack;Y[Te]===void 0&&(Y[Te]=ae)}for(var ae=0;ae<q;++ae){var Se=G[ae].stack,Ce=Y[Se];if(Ce!==void 0&&Ce!==ae){Ce>0&&(G[Ce-1]._parent=void 0,G[Ce-1]._length=1),G[ae]._parent=void 0,G[ae]._length=1;var ee=ae>0?G[ae-1]:this;Ce<q-1?(ee._parent=G[Ce+1],ee._parent.uncycle(),ee._length=ee._parent._length+1):(ee._parent=void 0,ee._length=1);for(var ue=ee._length+1,ve=ae-2;ve>=0;--ve)G[ve]._length=ue,ue++;return}}}},ie.prototype.attachExtraTrace=function(q){if(!q.__stackCleaned__){this.uncycle();for(var G=de(q),Y=G.message,ae=[G.stack],xe=this;xe!==void 0;)ae.push(fe(xe.stack.split(`
61
- `))),xe=xe._parent;he(ae),le(ae),o.notEnumerableProp(q,"stack",J(Y,ae)),o.notEnumerableProp(q,"__stackCleaned__",!0)}};var ne=function(){var G=/^\s*at\s*/,Y=function(Se,Ce){return typeof Se=="string"?Se:Ce.name!==void 0&&Ce.message!==void 0?Ce.toString():be(Ce)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,d=G,h=Y;var ae=Error.captureStackTrace;return j=function(Se){return l.test(Se)},function(Se,Ce){Error.stackTraceLimit+=6,ae(Se,Ce),Error.stackTraceLimit-=6}}var xe=new Error;if(typeof xe.stack=="string"&&xe.stack.split(`
62
- `)[0].indexOf("stackDetection@")>=0)return d=/@/,h=Y,p=!0,function(Ce){Ce.stack=new Error().stack};var Te;try{throw new Error}catch(Se){Te="stack"in Se}return!("stack"in xe)&&Te&&typeof Error.stackTraceLimit=="number"?(d=G,h=Y,function(Ce){Error.stackTraceLimit+=6;try{throw new Error}catch(ee){Ce.stack=ee.stack}Error.stackTraceLimit-=6}):(h=function(Se,Ce){return typeof Se=="string"?Se:(typeof Ce=="object"||typeof Ce=="function")&&Ce.name!==void 0&&Ce.message!==void 0?Ce.toString():be(Ce)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(m=function(q){console.warn(q)},o.isNode&&process.stderr.isTTY?m=function(q,G){var Y=G?"\x1B[33m":"\x1B[31m";console.warn(Y+q+`\x1B[0m
63
- `)}:!o.isNode&&typeof new Error().stack=="string"&&(m=function(q,G){console.warn("%c"+q,G?"color: darkorange":"color: red")}));var Z={warnings:y,longStackTraces:!1,cancellation:!1,monitoring:!1};return b&&t.longStackTraces(),{longStackTraces:function(){return Z.longStackTraces},warnings:function(){return Z.warnings},cancellation:function(){return Z.cancellation},monitoring:function(){return Z.monitoring},propagateFromFunction:function(){return K},boundValueFunction:function(){return P},checkForgottenReturns:B,setBounds:$,warn:X,deprecated:oe,CapturedTrace:ie,fireDomEvent:w,fireGlobalEvent:E}}),Gu}var Ku,H1;function lF(){return H1||(H1=1,Ku=function(t,e){var n=Ve(),r=t.CancellationError,i=n.errorObj;function o(f,d,h){this.promise=f,this.type=d,this.handler=h,this.called=!1,this.cancelPromise=null}o.prototype.isFinallyHandler=function(){return this.type===0};function a(f){this.finallyHandler=f}a.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(f,d){return f.cancelPromise!=null?(arguments.length>1?f.cancelPromise._reject(d):f.cancelPromise._cancel(),f.cancelPromise=null,!0):!1}function c(){return u.call(this,this.promise._target()._settledValue())}function l(f){if(!s(this,f))return i.e=f,i}function u(f){var d=this.promise,h=this.handler;if(!this.called){this.called=!0;var p=this.isFinallyHandler()?h.call(d._boundValue()):h.call(d._boundValue(),f);if(p!==void 0){d._setReturnedNonUndefined();var m=e(p,d);if(m instanceof t){if(this.cancelPromise!=null)if(m._isCancelled()){var g=new r("late cancellation observer");return d._attachExtraTrace(g),i.e=g,i}else m.isPending()&&m._attachCancellationCallback(new a(this));return m._then(c,l,void 0,this,void 0)}}}return d.isRejected()?(s(this),i.e=f,i):(s(this),f)}return t.prototype._passThrough=function(f,d,h,p){return typeof f!="function"?this.then():this._then(h,p,void 0,new o(this,d,f),void 0)},t.prototype.lastly=t.prototype.finally=function(f){return this._passThrough(f,0,u,u)},t.prototype.tap=function(f){return this._passThrough(f,1,u)},o}),Ku}var Ju,X1;function uF(){return X1||(X1=1,Ju=function(t){var e=Ve(),n=Bi().keys,r=e.tryCatch,i=e.errorObj;function o(a,s,c){return function(l){var u=c._boundValue();e:for(var f=0;f<a.length;++f){var d=a[f];if(d===Error||d!=null&&d.prototype instanceof Error){if(l instanceof d)return r(s).call(u,l)}else if(typeof d=="function"){var h=r(d).call(u,l);if(h===i)return h;if(h)return r(s).call(u,l)}else if(e.isObject(l)){for(var p=n(d),m=0;m<p.length;++m){var g=p[m];if(d[g]!=l[g])continue e}return r(s).call(u,l)}}return t}}return o}),Ju}var Zu,G1;function Iw(){if(G1)return Zu;G1=1;var t=Ve(),e=t.maybeWrapAsError,n=dr(),r=n.OperationalError,i=Bi();function o(l){return l instanceof Error&&i.getPrototypeOf(l)===Error.prototype}var a=/^(?:name|message|stack|cause)$/;function s(l){var u;if(o(l)){u=new r(l),u.name=l.name,u.message=l.message,u.stack=l.stack;for(var f=i.keys(l),d=0;d<f.length;++d){var h=f[d];a.test(h)||(u[h]=l[h])}return u}return t.markAsOriginatingFromRejection(l),l}function c(l,u){return function(f,d){if(l!==null){if(f){var h=s(e(f));l._attachExtraTrace(h),l._reject(h)}else if(!u)l._fulfill(d);else{for(var p=arguments.length,m=new Array(Math.max(p-1,0)),g=1;g<p;++g)m[g-1]=arguments[g];l._fulfill(m)}l=null}}}return Zu=c,Zu}var Yu,K1;function fF(){return K1||(K1=1,Yu=function(t,e,n,r,i){var o=Ve(),a=o.tryCatch;t.method=function(s){if(typeof s!="function")throw new t.TypeError("expecting a function but got "+o.classString(s));return function(){var c=new t(e);c._captureStackTrace(),c._pushContext();var l=a(s).apply(this,arguments),u=c._popContext();return i.checkForgottenReturns(l,u,"Promise.method",c),c._resolveFromSyncValue(l),c}},t.attempt=t.try=function(s){if(typeof s!="function")return r("expecting a function but got "+o.classString(s));var c=new t(e);c._captureStackTrace(),c._pushContext();var l;if(arguments.length>1){i.deprecated("calling Promise.try with more than 1 argument");var u=arguments[1],f=arguments[2];l=o.isArray(u)?a(s).apply(f,u):a(s).call(f,u)}else l=a(s)();var d=c._popContext();return i.checkForgottenReturns(l,d,"Promise.try",c),c._resolveFromSyncValue(l),c},t.prototype._resolveFromSyncValue=function(s){s===o.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}}),Yu}var Qu,J1;function dF(){return J1||(J1=1,Qu=function(t,e,n,r){var i=!1,o=function(l,u){this._reject(u)},a=function(l,u){u.promiseRejectionQueued=!0,u.bindingPromise._then(o,o,null,this,l)},s=function(l,u){(this._bitField&50397184)===0&&this._resolveCallback(u.target)},c=function(l,u){u.promiseRejectionQueued||this._reject(l)};t.prototype.bind=function(l){i||(i=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var u=n(l),f=new t(e);f._propagateFrom(this,1);var d=this._target();if(f._setBoundTo(u),u instanceof t){var h={promiseRejectionQueued:!1,promise:f,target:d,bindingPromise:u};d._then(e,a,void 0,f,h),u._then(s,c,void 0,f,h),f._setOnCancel(u)}else f._resolveCallback(d);return f},t.prototype._setBoundTo=function(l){l!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=l):this._bitField=this._bitField&-2097153},t.prototype._isBound=function(){return(this._bitField&2097152)===2097152},t.bind=function(l,u){return t.resolve(u).bind(l)}}),Qu}var ef,Z1;function hF(){return Z1||(Z1=1,ef=function(t,e,n,r){var i=Ve(),o=i.tryCatch,a=i.errorObj,s=t._async;t.prototype.break=t.prototype.cancel=function(){if(!r.cancellation())return this._warn("cancellation is disabled");for(var c=this,l=c;c._isCancellable();){if(!c._cancelBy(l)){l._isFollowing()?l._followee().cancel():l._cancelBranched();break}var u=c._cancellationParent;if(u==null||!u._isCancellable()){c._isFollowing()?c._followee().cancel():c._cancelBranched();break}else c._isFollowing()&&c._followee().cancel(),c._setWillBeCancelled(),l=c,c=u}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(c){return c===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),s.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(c,l){if(i.isArray(c))for(var u=0;u<c.length;++u)this._doInvokeOnCancel(c[u],l);else if(c!==void 0)if(typeof c=="function"){if(!l){var f=o(c).call(this._boundValue());f===a&&(this._attachExtraTrace(f.e),s.throwLater(f.e))}}else c._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var c=this._onCancel();this._unsetOnCancel(),s.invoke(this._doInvokeOnCancel,this,c)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}),ef}var tf,Y1;function pF(){return Y1||(Y1=1,tf=function(t){function e(){return this.value}function n(){throw this.reason}t.prototype.return=t.prototype.thenReturn=function(r){return r instanceof t&&r.suppressUnhandledRejections(),this._then(e,void 0,void 0,{value:r},void 0)},t.prototype.throw=t.prototype.thenThrow=function(r){return this._then(n,void 0,void 0,{reason:r},void 0)},t.prototype.catchThrow=function(r){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:r},void 0);var i=arguments[1],o=function(){throw i};return this.caught(r,o)},t.prototype.catchReturn=function(r){if(arguments.length<=1)return r instanceof t&&r.suppressUnhandledRejections(),this._then(void 0,e,void 0,{value:r},void 0);var i=arguments[1];i instanceof t&&i.suppressUnhandledRejections();var o=function(){return i};return this.caught(r,o)}}),tf}var nf,Q1;function gF(){return Q1||(Q1=1,nf=function(t){function e(c){c!==void 0?(c=c._target(),this._bitField=c._bitField,this._settledValueField=c._isFateSealed()?c._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}e.prototype._settledValue=function(){return this._settledValueField};var n=e.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise
64
-
65
- See http://goo.gl/MqrFmX
66
- `);return this._settledValue()},r=e.prototype.error=e.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise
67
-
68
- See http://goo.gl/MqrFmX
69
- `);return this._settledValue()},i=e.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},o=e.prototype.isRejected=function(){return(this._bitField&16777216)!==0},a=e.prototype.isPending=function(){return(this._bitField&50397184)===0},s=e.prototype.isResolved=function(){return(this._bitField&50331648)!==0};e.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},t.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},t.prototype._isCancelled=function(){return this._target().__isCancelled()},t.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},t.prototype.isPending=function(){return a.call(this._target())},t.prototype.isRejected=function(){return o.call(this._target())},t.prototype.isFulfilled=function(){return i.call(this._target())},t.prototype.isResolved=function(){return s.call(this._target())},t.prototype.value=function(){return n.call(this._target())},t.prototype.reason=function(){var c=this._target();return c._unsetRejectionIsUnhandled(),r.call(c)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}),nf}var rf,eb;function mF(){return eb||(eb=1,rf=function(t,e,n,r,i,o){var a=Ve(),s=a.canEvaluate,c=a.tryCatch,l=a.errorObj,u;if(s){for(var f=function(b){return new Function("value","holder",`
70
- 'use strict';
71
- holder.pIndex = value;
72
- holder.checkFulfillment(this);
73
- `.replace(/Index/g,b))},d=function(b){return new Function("promise","holder",`
74
- 'use strict';
75
- holder.pIndex = promise;
76
- `.replace(/Index/g,b))},h=function(b){for(var v=new Array(b),T=0;T<v.length;++T)v[T]="this.p"+(T+1);var w=v.join(" = ")+" = null;",E=`var promise;
77
- `+v.map(function(R){return`
78
- promise = `+R+`;
79
- if (promise instanceof Promise) {
80
- promise.cancel();
81
- }
82
- `}).join(`
83
- `),S=v.join(", "),U="Holder$"+b,C=`return function(tryCatch, errorObj, Promise, async) {
84
- 'use strict';
85
- function [TheName](fn) {
86
- [TheProperties]
87
- this.fn = fn;
88
- this.asyncNeeded = true;
89
- this.now = 0;
90
- }
91
-
92
- [TheName].prototype._callFunction = function(promise) {
93
- promise._pushContext();
94
- var ret = tryCatch(this.fn)([ThePassedArguments]);
95
- promise._popContext();
96
- if (ret === errorObj) {
97
- promise._rejectCallback(ret.e, false);
98
- } else {
99
- promise._resolveCallback(ret);
100
- }
101
- };
102
-
103
- [TheName].prototype.checkFulfillment = function(promise) {
104
- var now = ++this.now;
105
- if (now === [TheTotal]) {
106
- if (this.asyncNeeded) {
107
- async.invoke(this._callFunction, this, promise);
108
- } else {
109
- this._callFunction(promise);
110
- }
111
-
112
- }
113
- };
114
-
115
- [TheName].prototype._resultCancelled = function() {
116
- [CancellationCode]
117
- };
118
-
119
- return [TheName];
120
- }(tryCatch, errorObj, Promise, async);
121
- `;return C=C.replace(/\[TheName\]/g,U).replace(/\[TheTotal\]/g,b).replace(/\[ThePassedArguments\]/g,S).replace(/\[TheProperties\]/g,w).replace(/\[CancellationCode\]/g,E),new Function("tryCatch","errorObj","Promise","async",C)(c,l,t,i)},p=[],m=[],g=[],y=0;y<8;++y)p.push(h(y+1)),m.push(f(y+1)),g.push(d(y+1));u=function(b){this._reject(b)}}t.join=function(){var b=arguments.length-1,v;if(b>0&&typeof arguments[b]=="function"&&(v=arguments[b],b<=8&&s)){var x=new t(r);x._captureStackTrace();for(var T=p[b-1],w=new T(v),E=m,S=0;S<b;++S){var U=n(arguments[S],x);if(U instanceof t){U=U._target();var C=U._bitField;(C&50397184)===0?(U._then(E[S],u,void 0,x,w),g[S](U,w),w.asyncNeeded=!1):(C&33554432)!==0?E[S].call(x,U._value(),w):(C&16777216)!==0?x._reject(U._reason()):x._cancel()}else E[S].call(x,U,w)}if(!x._isFateSealed()){if(w.asyncNeeded){var R=o();R!==null&&(w.fn=a.domainBind(R,w.fn))}x._setAsyncGuaranteed(),x._setOnCancel(w)}return x}for(var L=arguments.length,_=new Array(L),k=0;k<L;++k)_[k]=arguments[k];v&&_.pop();var x=new e(_).promise();return v!==void 0?x.spread(v):x}}),rf}var of,tb;function yF(){return tb||(tb=1,of=function(t,e,n,r,i,o){var a=t._getDomain,s=Ve(),c=s.tryCatch,l=s.errorObj,u=t._async;function f(h,p,m,g){this.constructor$(h),this._promise._captureStackTrace();var y=a();this._callback=y===null?p:s.domainBind(y,p),this._preservedValues=g===i?new Array(this.length()):null,this._limit=m,this._inFlight=0,this._queue=[],u.invoke(this._asyncInit,this,void 0)}s.inherits(f,e),f.prototype._asyncInit=function(){this._init$(void 0,-2)},f.prototype._init=function(){},f.prototype._promiseFulfilled=function(h,p){var m=this._values,g=this.length(),y=this._preservedValues,b=this._limit;if(p<0){if(p=p*-1-1,m[p]=h,b>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(b>=1&&this._inFlight>=b)return m[p]=h,this._queue.push(p),!1;y!==null&&(y[p]=h);var v=this._promise,T=this._callback,w=v._boundValue();v._pushContext();var E=c(T).call(w,h,p,g),S=v._popContext();if(o.checkForgottenReturns(E,S,y!==null?"Promise.filter":"Promise.map",v),E===l)return this._reject(E.e),!0;var U=r(E,this._promise);if(U instanceof t){U=U._target();var C=U._bitField;if((C&50397184)===0)return b>=1&&this._inFlight++,m[p]=U,U._proxy(this,(p+1)*-1),!1;if((C&33554432)!==0)E=U._value();else return(C&16777216)!==0?(this._reject(U._reason()),!0):(this._cancel(),!0)}m[p]=E}var R=++this._totalResolved;return R>=g?(y!==null?this._filter(m,y):this._resolve(m),!0):!1},f.prototype._drainQueue=function(){for(var h=this._queue,p=this._limit,m=this._values;h.length>0&&this._inFlight<p;){if(this._isResolved())return;var g=h.pop();this._promiseFulfilled(m[g],g)}},f.prototype._filter=function(h,p){for(var m=p.length,g=new Array(m),y=0,b=0;b<m;++b)h[b]&&(g[y++]=p[b]);g.length=y,this._resolve(g)},f.prototype.preservedValues=function(){return this._preservedValues};function d(h,p,m,g){if(typeof p!="function")return n("expecting a function but got "+s.classString(p));var y=0;if(m!==void 0)if(typeof m=="object"&&m!==null){if(typeof m.concurrency!="number")return t.reject(new TypeError("'concurrency' must be a number but it is "+s.classString(m.concurrency)));y=m.concurrency}else return t.reject(new TypeError("options argument must be an object but it is "+s.classString(m)));return y=typeof y=="number"&&isFinite(y)&&y>=1?y:0,new f(h,p,y,g).promise()}t.prototype.map=function(h,p){return d(this,h,p,null)},t.map=function(h,p,m,g){return d(h,p,m,g)}}),of}var af,nb;function bF(){if(nb)return af;nb=1;var t=Object.create;if(t){var e=t(null),n=t(null);e[" size"]=n[" size"]=0}return af=function(r){var i=Ve(),o=i.canEvaluate,a=i.isIdentifier,s,c;{var l=function(g){return new Function("ensureMethod",`
122
- return function(obj) {
123
- 'use strict'
124
- var len = this.length;
125
- ensureMethod(obj, 'methodName');
126
- switch(len) {
127
- case 1: return obj.methodName(this[0]);
128
- case 2: return obj.methodName(this[0], this[1]);
129
- case 3: return obj.methodName(this[0], this[1], this[2]);
130
- case 0: return obj.methodName();
131
- default:
132
- return obj.methodName.apply(obj, this);
133
- }
134
- };
135
- `.replace(/methodName/g,g))(d)},u=function(g){return new Function("obj",`
136
- 'use strict';
137
- return obj.propertyName;
138
- `.replace("propertyName",g))},f=function(g,y,b){var v=b[g];if(typeof v!="function"){if(!a(g))return null;if(v=y(g),b[g]=v,b[" size"]++,b[" size"]>512){for(var T=Object.keys(b),w=0;w<256;++w)delete b[T[w]];b[" size"]=T.length-256}}return v};s=function(g){return f(g,l,e)},c=function(g){return f(g,u,n)}}function d(g,y){var b;if(g!=null&&(b=g[y]),typeof b!="function"){var v="Object "+i.classString(g)+" has no method '"+i.toString(y)+"'";throw new r.TypeError(v)}return b}function h(g){var y=this.pop(),b=d(g,y);return b.apply(g,this)}r.prototype.call=function(g){for(var y=arguments.length,b=new Array(Math.max(y-1,0)),v=1;v<y;++v)b[v-1]=arguments[v];if(o){var T=s(g);if(T!==null)return this._then(T,void 0,void 0,b,void 0)}return b.push(g),this._then(h,void 0,void 0,b,void 0)};function p(g){return g[this]}function m(g){var y=+this;return y<0&&(y=Math.max(0,y+g.length)),g[y]}r.prototype.get=function(g){var y=typeof g=="number",b;if(y)b=m;else if(o){var v=c(g);b=v!==null?v:p}else b=p;return this._then(b,void 0,void 0,g,void 0)}},af}var sf,rb;function vF(){return rb||(rb=1,sf=function(t,e,n,r,i,o){var a=Ve(),s=dr().TypeError,c=Ve().inherits,l=a.errorObj,u=a.tryCatch,f={};function d(v){setTimeout(function(){throw v},0)}function h(v){var T=n(v);return T!==v&&typeof v._isDisposable=="function"&&typeof v._getDisposer=="function"&&v._isDisposable()&&T._setDisposable(v._getDisposer()),T}function p(v,T){var w=0,E=v.length,S=new t(i);function U(){if(w>=E)return S._fulfill();var C=h(v[w++]);if(C instanceof t&&C._isDisposable()){try{C=n(C._getDisposer().tryDispose(T),v.promise)}catch(R){return d(R)}if(C instanceof t)return C._then(U,d,null,null,null)}U()}return U(),S}function m(v,T,w){this._data=v,this._promise=T,this._context=w}m.prototype.data=function(){return this._data},m.prototype.promise=function(){return this._promise},m.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():f},m.prototype.tryDispose=function(v){var T=this.resource(),w=this._context;w!==void 0&&w._pushContext();var E=T!==f?this.doDispose(T,v):null;return w!==void 0&&w._popContext(),this._promise._unsetDisposable(),this._data=null,E},m.isDisposer=function(v){return v!=null&&typeof v.resource=="function"&&typeof v.tryDispose=="function"};function g(v,T,w){this.constructor$(v,T,w)}c(g,m),g.prototype.doDispose=function(v,T){var w=this.data();return w.call(v,v,T)};function y(v){return m.isDisposer(v)?(this.resources[this.index]._setDisposable(v),v.promise()):v}function b(v){this.length=v,this.promise=null,this[v-1]=null}b.prototype._resultCancelled=function(){for(var v=this.length,T=0;T<v;++T){var w=this[T];w instanceof t&&w.cancel()}},t.using=function(){var v=arguments.length;if(v<2)return e("you must pass at least 2 arguments to Promise.using");var T=arguments[v-1];if(typeof T!="function")return e("expecting a function but got "+a.classString(T));var w,E=!0;v===2&&Array.isArray(arguments[0])?(w=arguments[0],v=w.length,E=!1):(w=arguments,v--);for(var S=new b(v),U=0;U<v;++U){var C=w[U];if(m.isDisposer(C)){var R=C;C=C.promise(),C._setDisposable(R)}else{var L=n(C);L instanceof t&&(C=L._then(y,null,null,{resources:S,index:U},void 0))}S[U]=C}for(var _=new Array(S.length),U=0;U<_.length;++U)_[U]=t.resolve(S[U]).reflect();var k=t.all(_).then(function(z){for(var F=0;F<z.length;++F){var I=z[F];if(I.isRejected())return l.e=I.error(),l;if(!I.isFulfilled()){k.cancel();return}z[F]=I.value()}x._pushContext(),T=u(T);var K=E?T.apply(void 0,z):T(z),P=x._popContext();return o.checkForgottenReturns(K,P,"Promise.using",x),K}),x=k.lastly(function(){var z=new t.PromiseInspection(k);return p(S,z)});return S.promise=x,x._setOnCancel(S),x},t.prototype._setDisposable=function(v){this._bitField=this._bitField|131072,this._disposer=v},t.prototype._isDisposable=function(){return(this._bitField&131072)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},t.prototype.disposer=function(v){if(typeof v=="function")return new g(v,this,r());throw new s}}),sf}var cf,ib;function xF(){return ib||(ib=1,cf=function(t,e,n){var r=Ve(),i=t.TimeoutError;function o(f){this.handle=f}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(f){return s(+this).thenReturn(f)},s=t.delay=function(f,d){var h,p;return d!==void 0?(h=t.resolve(d)._then(a,null,null,f,void 0),n.cancellation()&&d instanceof t&&h._setOnCancel(d)):(h=new t(e),p=setTimeout(function(){h._fulfill()},+f),n.cancellation()&&h._setOnCancel(new o(p)),h._captureStackTrace()),h._setAsyncGuaranteed(),h};t.prototype.delay=function(f){return s(f,this)};var c=function(f,d,h){var p;typeof d!="string"?d instanceof Error?p=d:p=new i("operation timed out"):p=new i(d),r.markAsOriginatingFromRejection(p),f._attachExtraTrace(p),f._reject(p),h!=null&&h.cancel()};function l(f){return clearTimeout(this.handle),f}function u(f){throw clearTimeout(this.handle),f}t.prototype.timeout=function(f,d){f=+f;var h,p,m=new o(setTimeout(function(){h.isPending()&&c(h,d,p)},f));return n.cancellation()?(p=this.then(),h=p._then(l,u,void 0,m,void 0),h._setOnCancel(m)):h=this._then(l,u,void 0,m,void 0),h}}),cf}var lf,ob;function DF(){return ob||(ob=1,lf=function(t,e,n,r,i,o){var a=dr(),s=a.TypeError,c=Ve(),l=c.errorObj,u=c.tryCatch,f=[];function d(p,m,g){for(var y=0;y<m.length;++y){g._pushContext();var b=u(m[y])(p);if(g._popContext(),b===l){g._pushContext();var v=t.reject(l.e);return g._popContext(),v}var T=r(b,g);if(T instanceof t)return T}return null}function h(p,m,g,y){if(o.cancellation()){var b=new t(n),v=this._finallyPromise=new t(n);this._promise=b.lastly(function(){return v}),b._captureStackTrace(),b._setOnCancel(this)}else{var T=this._promise=new t(n);T._captureStackTrace()}this._stack=y,this._generatorFunction=p,this._receiver=m,this._generator=void 0,this._yieldHandlers=typeof g=="function"?[g].concat(f):f,this._yieldedPromise=null,this._cancellationPhase=!1}c.inherits(h,i),h.prototype._isResolved=function(){return this._promise===null},h.prototype._cleanup=function(){this._promise=this._generator=null,o.cancellation()&&this._finallyPromise!==null&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},h.prototype._promiseCancelled=function(){if(!this._isResolved()){var p=typeof this._generator.return<"u",m;if(p)this._promise._pushContext(),m=u(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var g=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=g,this._promise._attachExtraTrace(g),this._promise._pushContext(),m=u(this._generator.throw).call(this._generator,g),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(m)}},h.prototype._promiseFulfilled=function(p){this._yieldedPromise=null,this._promise._pushContext();var m=u(this._generator.next).call(this._generator,p);this._promise._popContext(),this._continue(m)},h.prototype._promiseRejected=function(p){this._yieldedPromise=null,this._promise._attachExtraTrace(p),this._promise._pushContext();var m=u(this._generator.throw).call(this._generator,p);this._promise._popContext(),this._continue(m)},h.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var p=this._yieldedPromise;this._yieldedPromise=null,p.cancel()}},h.prototype.promise=function(){return this._promise},h.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},h.prototype._continue=function(p){var m=this._promise;if(p===l)return this._cleanup(),this._cancellationPhase?m.cancel():m._rejectCallback(p.e,!1);var g=p.value;if(p.done===!0)return this._cleanup(),this._cancellationPhase?m.cancel():m._resolveCallback(g);var y=r(g,this._promise);if(!(y instanceof t)&&(y=d(y,this._yieldHandlers,this._promise),y===null)){this._promiseRejected(new s(`A value %s was yielded that could not be treated as a promise
139
-
140
- See http://goo.gl/MqrFmX
141
-
142
- `.replace("%s",g)+`From coroutine:
143
- `+this._stack.split(`
144
- `).slice(1,-7).join(`
145
- `)));return}y=y._target();var b=y._bitField;(b&50397184)===0?(this._yieldedPromise=y,y._proxy(this,null)):(b&33554432)!==0?t._async.invoke(this._promiseFulfilled,this,y._value()):(b&16777216)!==0?t._async.invoke(this._promiseRejected,this,y._reason()):this._promiseCancelled()},t.coroutine=function(p,m){if(typeof p!="function")throw new s(`generatorFunction must be a function
146
-
147
- See http://goo.gl/MqrFmX
148
- `);var g=Object(m).yieldHandler,y=h,b=new Error().stack;return function(){var v=p.apply(this,arguments),T=new y(void 0,void 0,g,b),w=T.promise();return T._generator=v,T._promiseFulfilled(void 0),w}},t.coroutine.addYieldHandler=function(p){if(typeof p!="function")throw new s("expecting a function but got "+c.classString(p));f.push(p)},t.spawn=function(p){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),typeof p!="function")return e(`generatorFunction must be a function
149
-
150
- See http://goo.gl/MqrFmX
151
- `);var m=new h(p,this),g=m.promise();return m._run(t.spawn),g}}),lf}var uf,ab;function wF(){return ab||(ab=1,uf=function(t){var e=Ve(),n=t._async,r=e.tryCatch,i=e.errorObj;function o(c,l){var u=this;if(!e.isArray(c))return a.call(u,c,l);var f=r(l).apply(u._boundValue(),[null].concat(c));f===i&&n.throwLater(f.e)}function a(c,l){var u=this,f=u._boundValue(),d=c===void 0?r(l).call(f,null):r(l).call(f,null,c);d===i&&n.throwLater(d.e)}function s(c,l){var u=this;if(!c){var f=new Error(c+"");f.cause=c,c=f}var d=r(l).call(u._boundValue(),c);d===i&&n.throwLater(d.e)}t.prototype.asCallback=t.prototype.nodeify=function(c,l){if(typeof c=="function"){var u=a;l!==void 0&&Object(l).spread&&(u=o),this._then(u,s,void 0,this,c)}return this}}),uf}var ff,sb;function _F(){return sb||(sb=1,ff=function(t,e){var n={},r=Ve(),i=Iw(),o=r.withAppended,a=r.maybeWrapAsError,s=r.canEvaluate,c=dr().TypeError,l="Async",u={__isPromisified__:!0},f=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],d=new RegExp("^(?:"+f.join("|")+")$"),h=function(k){return r.isIdentifier(k)&&k.charAt(0)!=="_"&&k!=="constructor"};function p(k){return!d.test(k)}function m(k){try{return k.__isPromisified__===!0}catch{return!1}}function g(k,x,z){var F=r.getDataPropertyOrDefault(k,x+z,u);return F?m(F):!1}function y(k,x,z){for(var F=0;F<k.length;F+=2){var I=k[F];if(z.test(I)){for(var K=I.replace(z,""),P=0;P<k.length;P+=2)if(k[P]===K)throw new c(`Cannot promisify an API that has normal methods with '%s'-suffix
152
-
153
- See http://goo.gl/MqrFmX
154
- `.replace("%s",x))}}}function b(k,x,z,F){for(var I=r.inheritedDataKeys(k),K=[],P=0;P<I.length;++P){var te=I[P],W=k[te],B=F===h?!0:h(te);typeof W=="function"&&!m(W)&&!g(k,te,x)&&F(te,W,k,B)&&K.push(te,W)}return y(K,x,z),K}var v=function(k){return k.replace(/([$])/,"\\$")},T;{var w=function(k){for(var x=[k],z=Math.max(0,k-1-3),F=k-1;F>=z;--F)x.push(F);for(var F=k+1;F<=3;++F)x.push(F);return x},E=function(k){return r.filledRange(k,"_arg","")},S=function(k){return r.filledRange(Math.max(k,3),"_arg","")},U=function(k){return typeof k.length=="number"?Math.max(Math.min(k.length,1024),0):0};T=function(k,x,z,F,I,K){var P=Math.max(0,U(F)-1),te=w(P),W=typeof k=="string"||x===n;function B(le){var he=E(le).join(", "),fe=le>0?", ":"",me;return W?me=`ret = callback.call(this, {{args}}, nodeback); break;
155
- `:me=x===void 0?`ret = callback({{args}}, nodeback); break;
156
- `:`ret = callback.call(receiver, {{args}}, nodeback); break;
157
- `,me.replace("{{args}}",he).replace(", ",fe)}function oe(){for(var le="",he=0;he<te.length;++he)le+="case "+te[he]+":"+B(te[he]);return le+=`
158
- default:
159
- var args = new Array(len + 1);
160
- var i = 0;
161
- for (var i = 0; i < len; ++i) {
162
- args[i] = arguments[i];
163
- }
164
- args[i] = nodeback;
165
- [CodeForCall]
166
- break;
167
- `.replace("[CodeForCall]",W?`ret = callback.apply(this, args);
168
- `:`ret = callback.apply(receiver, args);
169
- `),le}var X=typeof k=="string"?"this != null ? this['"+k+"'] : fn":"fn",J=`'use strict';
170
- var ret = function (Parameters) {
171
- 'use strict';
172
- var len = arguments.length;
173
- var promise = new Promise(INTERNAL);
174
- promise._captureStackTrace();
175
- var nodeback = nodebackForPromise(promise, `+K+`);
176
- var ret;
177
- var callback = tryCatch([GetFunctionCode]);
178
- switch(len) {
179
- [CodeForSwitchCase]
180
- }
181
- if (ret === errorObj) {
182
- promise._rejectCallback(maybeWrapAsError(ret.e), true, true);
183
- }
184
- if (!promise._isFateSealed()) promise._setAsyncGuaranteed();
185
- return promise;
186
- };
187
- notEnumerableProp(ret, '__isPromisified__', true);
188
- return ret;
189
- `.replace("[CodeForSwitchCase]",oe()).replace("[GetFunctionCode]",X);return J=J.replace("Parameters",S(P)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",J)(t,F,x,o,a,i,r.tryCatch,r.errorObj,r.notEnumerableProp,e)}}function C(k,x,z,F,I,K){var P=function(){return this}(),te=k;typeof te=="string"&&(k=F);function W(){var B=x;x===n&&(B=this);var oe=new t(e);oe._captureStackTrace();var X=typeof te=="string"&&this!==P?this[te]:k,J=i(oe,K);try{X.apply(B,o(arguments,J))}catch(le){oe._rejectCallback(a(le),!0,!0)}return oe._isFateSealed()||oe._setAsyncGuaranteed(),oe}return r.notEnumerableProp(W,"__isPromisified__",!0),W}var R=s?T:C;function L(k,x,z,F,I){for(var K=new RegExp(v(x)+"$"),P=b(k,x,K,z),te=0,W=P.length;te<W;te+=2){var B=P[te],oe=P[te+1],X=B+x;if(F===R)k[X]=R(B,n,B,oe,x,I);else{var J=F(oe,function(){return R(B,n,B,oe,x,I)});r.notEnumerableProp(J,"__isPromisified__",!0),k[X]=J}}return r.toFastProperties(k),k}function _(k,x,z){return R(k,x,void 0,k,null,z)}t.promisify=function(k,x){if(typeof k!="function")throw new c("expecting a function but got "+r.classString(k));if(m(k))return k;x=Object(x);var z=x.context===void 0?n:x.context,F=!!x.multiArgs,I=_(k,z,F);return r.copyDescriptors(k,I,p),I},t.promisifyAll=function(k,x){if(typeof k!="function"&&typeof k!="object")throw new c(`the target of promisifyAll must be an object or a function
190
-
191
- See http://goo.gl/MqrFmX
192
- `);x=Object(x);var z=!!x.multiArgs,F=x.suffix;typeof F!="string"&&(F=l);var I=x.filter;typeof I!="function"&&(I=h);var K=x.promisifier;if(typeof K!="function"&&(K=R),!r.isIdentifier(F))throw new RangeError(`suffix must be a valid identifier
193
-
194
- See http://goo.gl/MqrFmX
195
- `);for(var P=r.inheritedDataKeys(k),te=0;te<P.length;++te){var W=k[P[te]];P[te]!=="constructor"&&r.isClass(W)&&(L(W.prototype,F,I,K,z),L(W,F,I,K,z))}return L(k,F,I,K,z)}}),ff}var df,cb;function TF(){return cb||(cb=1,df=function(t,e,n,r){var i=Ve(),o=i.isObject,a=Bi(),s;typeof Map=="function"&&(s=Map);var c=function(){var d=0,h=0;function p(m,g){this[d]=m,this[d+h]=g,d++}return function(g){h=g.size,d=0;var y=new Array(g.size*2);return g.forEach(p,y),y}}(),l=function(d){for(var h=new s,p=d.length/2|0,m=0;m<p;++m){var g=d[p+m],y=d[m];h.set(g,y)}return h};function u(d){var h=!1,p;if(s!==void 0&&d instanceof s)p=c(d),h=!0;else{var m=a.keys(d),g=m.length;p=new Array(g*2);for(var y=0;y<g;++y){var b=m[y];p[y]=d[b],p[y+g]=b}}this.constructor$(p),this._isMap=h,this._init$(void 0,-3)}i.inherits(u,e),u.prototype._init=function(){},u.prototype._promiseFulfilled=function(d,h){this._values[h]=d;var p=++this._totalResolved;if(p>=this._length){var m;if(this._isMap)m=l(this._values);else{m={};for(var g=this.length(),y=0,b=this.length();y<b;++y)m[this._values[y+g]]=this._values[y]}return this._resolve(m),!0}return!1},u.prototype.shouldCopyValues=function(){return!1},u.prototype.getActualLength=function(d){return d>>1};function f(d){var h,p=n(d);if(o(p))p instanceof t?h=p._then(t.props,void 0,void 0,void 0,void 0):h=new u(p).promise();else return r(`cannot await properties of a non-object
196
-
197
- See http://goo.gl/MqrFmX
198
- `);return p instanceof t&&h._propagateFrom(p,2),h}t.prototype.props=function(){return f(this)},t.props=function(d){return f(d)}}),df}var hf,lb;function EF(){return lb||(lb=1,hf=function(t,e,n,r){var i=Ve(),o=function(s){return s.then(function(c){return a(c,s)})};function a(s,c){var l=n(s);if(l instanceof t)return o(l);if(s=i.asArray(s),s===null)return r("expecting an array or an iterable object but got "+i.classString(s));var u=new t(e);c!==void 0&&u._propagateFrom(c,3);for(var f=u._fulfill,d=u._reject,h=0,p=s.length;h<p;++h){var m=s[h];m===void 0&&!(h in s)||t.cast(m)._then(f,d,void 0,u,null)}return u}t.race=function(s){return a(s,void 0)},t.prototype.race=function(){return a(this,void 0)}}),hf}var pf,ub;function CF(){return ub||(ub=1,pf=function(t,e,n,r,i,o){var a=t._getDomain,s=Ve(),c=s.tryCatch;function l(p,m,g,y){this.constructor$(p);var b=a();this._fn=b===null?m:s.domainBind(b,m),g!==void 0&&(g=t.resolve(g),g._attachCancellationCallback(this)),this._initialValue=g,this._currentCancellable=null,y===i?this._eachValues=Array(this._length):y===0?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}s.inherits(l,e),l.prototype._gotAccum=function(p){this._eachValues!==void 0&&this._eachValues!==null&&p!==i&&this._eachValues.push(p)},l.prototype._eachComplete=function(p){return this._eachValues!==null&&this._eachValues.push(p),this._eachValues},l.prototype._init=function(){},l.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},l.prototype.shouldCopyValues=function(){return!1},l.prototype._resolve=function(p){this._promise._resolveCallback(p),this._values=null},l.prototype._resultCancelled=function(p){if(p===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel())},l.prototype._iterate=function(p){this._values=p;var m,g,y=p.length;if(this._initialValue!==void 0?(m=this._initialValue,g=0):(m=t.resolve(p[0]),g=1),this._currentCancellable=m,!m.isRejected())for(;g<y;++g){var b={accum:null,value:p[g],index:g,length:y,array:this};m=m._then(d,void 0,void 0,b,void 0)}this._eachValues!==void 0&&(m=m._then(this._eachComplete,void 0,void 0,this,void 0)),m._then(u,u,void 0,m,this)},t.prototype.reduce=function(p,m){return f(this,p,m,null)},t.reduce=function(p,m,g,y){return f(p,m,g,y)};function u(p,m){this.isFulfilled()?m._resolve(p):m._reject(p)}function f(p,m,g,y){if(typeof m!="function")return n("expecting a function but got "+s.classString(m));var b=new l(p,m,g,y);return b.promise()}function d(p){this.accum=p,this.array._gotAccum(p);var m=r(this.value,this.array._promise);return m instanceof t?(this.array._currentCancellable=m,m._then(h,void 0,void 0,this,void 0)):h.call(this,m)}function h(p){var m=this.array,g=m._promise,y=c(m._fn);g._pushContext();var b;m._eachValues!==void 0?b=y.call(g._boundValue(),p,this.index,this.length):b=y.call(g._boundValue(),this.accum,p,this.index,this.length),b instanceof t&&(m._currentCancellable=b);var v=g._popContext();return o.checkForgottenReturns(b,v,m._eachValues!==void 0?"Promise.each":"Promise.reduce",g),b}}),pf}var gf,fb;function SF(){return fb||(fb=1,gf=function(t,e,n){var r=t.PromiseInspection,i=Ve();function o(a){this.constructor$(a)}i.inherits(o,e),o.prototype._promiseResolved=function(a,s){this._values[a]=s;var c=++this._totalResolved;return c>=this._length?(this._resolve(this._values),!0):!1},o.prototype._promiseFulfilled=function(a,s){var c=new r;return c._bitField=33554432,c._settledValueField=a,this._promiseResolved(s,c)},o.prototype._promiseRejected=function(a,s){var c=new r;return c._bitField=16777216,c._settledValueField=a,this._promiseResolved(s,c)},t.settle=function(a){return n.deprecated(".settle()",".reflect()"),new o(a).promise()},t.prototype.settle=function(){return t.settle(this)}}),gf}var mf,db;function AF(){return db||(db=1,mf=function(t,e,n){var r=Ve(),i=dr().RangeError,o=dr().AggregateError,a=r.isArray,s={};function c(u){this.constructor$(u),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(c,e),c.prototype._init=function(){if(this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var u=a(this._values);!this._isResolved()&&u&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},c.prototype.init=function(){this._initialized=!0,this._init()},c.prototype.setUnwrap=function(){this._unwrap=!0},c.prototype.howMany=function(){return this._howMany},c.prototype.setHowMany=function(u){this._howMany=u},c.prototype._promiseFulfilled=function(u){return this._addFulfilled(u),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},c.prototype._promiseRejected=function(u){return this._addRejected(u),this._checkOutcome()},c.prototype._promiseCancelled=function(){return this._values instanceof t||this._values==null?this._cancel():(this._addRejected(s),this._checkOutcome())},c.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var u=new o,f=this.length();f<this._values.length;++f)this._values[f]!==s&&u.push(this._values[f]);return u.length>0?this._reject(u):this._cancel(),!0}return!1},c.prototype._fulfilled=function(){return this._totalResolved},c.prototype._rejected=function(){return this._values.length-this.length()},c.prototype._addRejected=function(u){this._values.push(u)},c.prototype._addFulfilled=function(u){this._values[this._totalResolved++]=u},c.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},c.prototype._getRangeError=function(u){var f="Input array must contain at least "+this._howMany+" items but contains only "+u+" items";return new i(f)},c.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function l(u,f){if((f|0)!==f||f<0)return n(`expecting a positive integer
199
-
200
- See http://goo.gl/MqrFmX
201
- `);var d=new c(u),h=d.promise();return d.setHowMany(f),d.init(),h}t.some=function(u,f){return l(u,f)},t.prototype.some=function(u){return l(this,u)},t._SomePromiseArray=c}),mf}var yf,hb;function UF(){return hb||(hb=1,yf=function(t,e){var n=t.map;t.prototype.filter=function(r,i){return n(this,r,i,e)},t.filter=function(r,i,o){return n(r,i,o,e)}}),yf}var bf,pb;function kF(){return pb||(pb=1,bf=function(t,e){var n=t.reduce,r=t.all;function i(){return r(this)}function o(a,s){return n(a,s,e,e)}t.prototype.each=function(a){return n(this,a,e,0)._then(i,void 0,void 0,this,void 0)},t.prototype.mapSeries=function(a){return n(this,a,e,e)},t.each=function(a,s){return n(a,s,e,0)._then(i,void 0,void 0,a,void 0)},t.mapSeries=o}),bf}var vf,gb;function FF(){return gb||(gb=1,vf=function(t){var e=t._SomePromiseArray;function n(r){var i=new e(r),o=i.promise();return i.setHowMany(1),i.setUnwrap(),i.init(),o}t.any=function(r){return n(r)},t.prototype.any=function(){return n(this)}}),vf}var mb;function OF(){return mb||(mb=1,function(t){t.exports=function(){var e=function(){return new d(`circular promise resolution chain
202
-
203
- See http://goo.gl/MqrFmX
204
- `)},n=function(){return new _.PromiseInspection(this._target())},r=function(F){return _.reject(new d(F))};function i(){}var o={},a=Ve(),s;a.isNode?s=function(){var F=process.domain;return F===void 0&&(F=null),F}:s=function(){return null},a.notEnumerableProp(_,"_getDomain",s);var c=Bi(),l=iF(),u=new l;c.defineProperty(_,"_async",{value:u});var f=dr(),d=_.TypeError=f.TypeError;_.RangeError=f.RangeError;var h=_.CancellationError=f.CancellationError;_.TimeoutError=f.TimeoutError,_.OperationalError=f.OperationalError,_.RejectionError=f.OperationalError,_.AggregateError=f.AggregateError;var p=function(){},m={},g={},y=oF()(_,p),b=aF()(_,p,y,r,i),v=sF()(_),T=v.create,w=cF()(_,v);w.CapturedTrace;var E=lF()(_,y),S=uF()(g),U=Iw(),C=a.errorObj,R=a.tryCatch;function L(F,I){if(typeof I!="function")throw new d("expecting a function but got "+a.classString(I));if(F.constructor!==_)throw new d(`the promise constructor cannot be invoked directly
205
-
206
- See http://goo.gl/MqrFmX
207
- `)}function _(F){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,F!==p&&(L(this,F),this._resolveFromExecutor(F)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}_.prototype.toString=function(){return"[object Promise]"},_.prototype.caught=_.prototype.catch=function(F){var I=arguments.length;if(I>1){var K=new Array(I-1),P=0,te;for(te=0;te<I-1;++te){var W=arguments[te];if(a.isObject(W))K[P++]=W;else return r("expecting an object but got A catch statement predicate "+a.classString(W))}return K.length=P,F=arguments[te],this.then(void 0,S(K,F,this))}return this.then(void 0,F)},_.prototype.reflect=function(){return this._then(n,n,void 0,this,void 0)},_.prototype.then=function(F,I){if(w.warnings()&&arguments.length>0&&typeof F!="function"&&typeof I!="function"){var K=".then() only accepts functions but was passed: "+a.classString(F);arguments.length>1&&(K+=", "+a.classString(I)),this._warn(K)}return this._then(F,I,void 0,void 0,void 0)},_.prototype.done=function(F,I){var K=this._then(F,I,void 0,void 0,void 0);K._setIsFinal()},_.prototype.spread=function(F){return typeof F!="function"?r("expecting a function but got "+a.classString(F)):this.all()._then(F,void 0,void 0,m,void 0)},_.prototype.toJSON=function(){var F={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(F.fulfillmentValue=this.value(),F.isFulfilled=!0):this.isRejected()&&(F.rejectionReason=this.reason(),F.isRejected=!0),F},_.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new b(this).promise()},_.prototype.error=function(F){return this.caught(a.originatesFromRejection,F)},_.getNewLibraryCopy=t.exports,_.is=function(F){return F instanceof _},_.fromNode=_.fromCallback=function(F){var I=new _(p);I._captureStackTrace();var K=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,P=R(F)(U(I,K));return P===C&&I._rejectCallback(P.e,!0),I._isFateSealed()||I._setAsyncGuaranteed(),I},_.all=function(F){return new b(F).promise()},_.cast=function(F){var I=y(F);return I instanceof _||(I=new _(p),I._captureStackTrace(),I._setFulfilled(),I._rejectionHandler0=F),I},_.resolve=_.fulfilled=_.cast,_.reject=_.rejected=function(F){var I=new _(p);return I._captureStackTrace(),I._rejectCallback(F,!0),I},_.setScheduler=function(F){if(typeof F!="function")throw new d("expecting a function but got "+a.classString(F));return u.setScheduler(F)},_.prototype._then=function(F,I,K,P,te){var W=te!==void 0,B=W?te:new _(p),oe=this._target(),X=oe._bitField;W||(B._propagateFrom(this,3),B._captureStackTrace(),P===void 0&&(this._bitField&2097152)!==0&&((X&50397184)!==0?P=this._boundValue():P=oe===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,B));var J=s();if((X&50397184)!==0){var le,he,fe=oe._settlePromiseCtx;(X&33554432)!==0?(he=oe._rejectionHandler0,le=F):(X&16777216)!==0?(he=oe._fulfillmentHandler0,le=I,oe._unsetRejectionIsUnhandled()):(fe=oe._settlePromiseLateCancellationObserver,he=new h("late cancellation observer"),oe._attachExtraTrace(he),le=I),u.invoke(fe,oe,{handler:J===null?le:typeof le=="function"&&a.domainBind(J,le),promise:B,receiver:P,value:he})}else oe._addCallbacks(F,I,B,P,J);return B},_.prototype._length=function(){return this._bitField&65535},_.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},_.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},_.prototype._setLength=function(F){this._bitField=this._bitField&-65536|F&65535},_.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},_.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},_.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},_.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},_.prototype._isFinal=function(){return(this._bitField&4194304)>0},_.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},_.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},_.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},_.prototype._setAsyncGuaranteed=function(){u.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},_.prototype._receiverAt=function(F){var I=F===0?this._receiver0:this[F*4-4+3];if(I!==o)return I===void 0&&this._isBound()?this._boundValue():I},_.prototype._promiseAt=function(F){return this[F*4-4+2]},_.prototype._fulfillmentHandlerAt=function(F){return this[F*4-4+0]},_.prototype._rejectionHandlerAt=function(F){return this[F*4-4+1]},_.prototype._boundValue=function(){},_.prototype._migrateCallback0=function(F){F._bitField;var I=F._fulfillmentHandler0,K=F._rejectionHandler0,P=F._promise0,te=F._receiverAt(0);te===void 0&&(te=o),this._addCallbacks(I,K,P,te,null)},_.prototype._migrateCallbackAt=function(F,I){var K=F._fulfillmentHandlerAt(I),P=F._rejectionHandlerAt(I),te=F._promiseAt(I),W=F._receiverAt(I);W===void 0&&(W=o),this._addCallbacks(K,P,te,W,null)},_.prototype._addCallbacks=function(F,I,K,P,te){var W=this._length();if(W>=65531&&(W=0,this._setLength(0)),W===0)this._promise0=K,this._receiver0=P,typeof F=="function"&&(this._fulfillmentHandler0=te===null?F:a.domainBind(te,F)),typeof I=="function"&&(this._rejectionHandler0=te===null?I:a.domainBind(te,I));else{var B=W*4-4;this[B+2]=K,this[B+3]=P,typeof F=="function"&&(this[B+0]=te===null?F:a.domainBind(te,F)),typeof I=="function"&&(this[B+1]=te===null?I:a.domainBind(te,I))}return this._setLength(W+1),W},_.prototype._proxy=function(F,I){this._addCallbacks(void 0,void 0,I,F,null)},_.prototype._resolveCallback=function(F,I){if((this._bitField&117506048)===0){if(F===this)return this._rejectCallback(e(),!1);var K=y(F,this);if(!(K instanceof _))return this._fulfill(F);I&&this._propagateFrom(K,2);var P=K._target();if(P===this){this._reject(e());return}var te=P._bitField;if((te&50397184)===0){var W=this._length();W>0&&P._migrateCallback0(this);for(var B=1;B<W;++B)P._migrateCallbackAt(this,B);this._setFollowing(),this._setLength(0),this._setFollowee(P)}else if((te&33554432)!==0)this._fulfill(P._value());else if((te&16777216)!==0)this._reject(P._reason());else{var oe=new h("late cancellation observer");P._attachExtraTrace(oe),this._reject(oe)}}},_.prototype._rejectCallback=function(F,I,K){var P=a.ensureErrorObject(F),te=P===F;if(!te&&!K&&w.warnings()){var W="a promise was rejected with a non-error: "+a.classString(F);this._warn(W,!0)}this._attachExtraTrace(P,I?te:!1),this._reject(F)},_.prototype._resolveFromExecutor=function(F){var I=this;this._captureStackTrace(),this._pushContext();var K=!0,P=this._execute(F,function(te){I._resolveCallback(te)},function(te){I._rejectCallback(te,K)});K=!1,this._popContext(),P!==void 0&&I._rejectCallback(P,!0)},_.prototype._settlePromiseFromHandler=function(F,I,K,P){var te=P._bitField;if((te&65536)===0){P._pushContext();var W;I===m?!K||typeof K.length!="number"?(W=C,W.e=new d("cannot .spread() a non-array: "+a.classString(K))):W=R(F).apply(this._boundValue(),K):W=R(F).call(I,K);var B=P._popContext();te=P._bitField,(te&65536)===0&&(W===g?P._reject(K):W===C?P._rejectCallback(W.e,!1):(w.checkForgottenReturns(W,B,"",P,this),P._resolveCallback(W)))}},_.prototype._target=function(){for(var F=this;F._isFollowing();)F=F._followee();return F},_.prototype._followee=function(){return this._rejectionHandler0},_.prototype._setFollowee=function(F){this._rejectionHandler0=F},_.prototype._settlePromise=function(F,I,K,P){var te=F instanceof _,W=this._bitField,B=(W&134217728)!==0;(W&65536)!==0?(te&&F._invokeInternalOnCancel(),K instanceof E&&K.isFinallyHandler()?(K.cancelPromise=F,R(I).call(K,P)===C&&F._reject(C.e)):I===n?F._fulfill(n.call(K)):K instanceof i?K._promiseCancelled(F):te||F instanceof b?F._cancel():K.cancel()):typeof I=="function"?te?(B&&F._setAsyncGuaranteed(),this._settlePromiseFromHandler(I,K,P,F)):I.call(K,P,F):K instanceof i?K._isResolved()||((W&33554432)!==0?K._promiseFulfilled(P,F):K._promiseRejected(P,F)):te&&(B&&F._setAsyncGuaranteed(),(W&33554432)!==0?F._fulfill(P):F._reject(P))},_.prototype._settlePromiseLateCancellationObserver=function(F){var I=F.handler,K=F.promise,P=F.receiver,te=F.value;typeof I=="function"?K instanceof _?this._settlePromiseFromHandler(I,P,te,K):I.call(P,te,K):K instanceof _&&K._reject(te)},_.prototype._settlePromiseCtx=function(F){this._settlePromise(F.promise,F.handler,F.receiver,F.value)},_.prototype._settlePromise0=function(F,I,K){var P=this._promise0,te=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(P,F,te,I)},_.prototype._clearCallbackDataAtIndex=function(F){var I=F*4-4;this[I+2]=this[I+3]=this[I+0]=this[I+1]=void 0},_.prototype._fulfill=function(F){var I=this._bitField;if(!((I&117506048)>>>16)){if(F===this){var K=e();return this._attachExtraTrace(K),this._reject(K)}this._setFulfilled(),this._rejectionHandler0=F,(I&65535)>0&&((I&134217728)!==0?this._settlePromises():u.settlePromises(this))}},_.prototype._reject=function(F){var I=this._bitField;if(!((I&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=F,this._isFinal())return u.fatalError(F,a.isNode);(I&65535)>0?u.settlePromises(this):this._ensurePossibleRejectionHandled()}},_.prototype._fulfillPromises=function(F,I){for(var K=1;K<F;K++){var P=this._fulfillmentHandlerAt(K),te=this._promiseAt(K),W=this._receiverAt(K);this._clearCallbackDataAtIndex(K),this._settlePromise(te,P,W,I)}},_.prototype._rejectPromises=function(F,I){for(var K=1;K<F;K++){var P=this._rejectionHandlerAt(K),te=this._promiseAt(K),W=this._receiverAt(K);this._clearCallbackDataAtIndex(K),this._settlePromise(te,P,W,I)}},_.prototype._settlePromises=function(){var F=this._bitField,I=F&65535;if(I>0){if((F&16842752)!==0){var K=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,K,F),this._rejectPromises(I,K)}else{var P=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,P,F),this._fulfillPromises(I,P)}this._setLength(0)}this._clearCancellationData()},_.prototype._settledValue=function(){var F=this._bitField;if((F&33554432)!==0)return this._rejectionHandler0;if((F&16777216)!==0)return this._fulfillmentHandler0};function k(F){this.promise._resolveCallback(F)}function x(F){this.promise._rejectCallback(F,!1)}_.defer=_.pending=function(){w.deprecated("Promise.defer","new Promise");var F=new _(p);return{promise:F,resolve:k,reject:x}},a.notEnumerableProp(_,"_makeSelfResolutionError",e),fF()(_,p,y,r,w),dF()(_,p,y,w),hF()(_,b,r,w),pF()(_),gF()(_),mF()(_,b,y,p,u,s),_.Promise=_,_.version="3.4.7",yF()(_,b,r,y,p,w),bF()(_),vF()(_,r,y,T,p,w),xF()(_,p,w),DF()(_,r,p,y,i,w),wF()(_),_F()(_,p),TF()(_,b,y,r),EF()(_,p,y,r),CF()(_,b,r,y,p,w),SF()(_,b,w),AF()(_,b,r),UF()(_,p),kF()(_,p),FF()(_),a.toFastProperties(_),a.toFastProperties(_.prototype);function z(F){var I=new _(p);I._fulfillmentHandler0=F,I._rejectionHandler0=F,I._promise0=F,I._receiver0=F}return z({a:1}),z({b:2}),z({c:3}),z(1),z(function(){}),z(void 0),z(!1),z(new _(p)),w.setBounds(l.firstLineError,a.lastLineError),_}}(qu)),qu.exports}var yb;function vr(){if(yb)return jt;yb=1;var t=et,e=OF()();jt.defer=n,jt.when=e.resolve,jt.resolve=e.resolve,jt.all=e.all,jt.props=e.props,jt.reject=e.reject,jt.promisify=e.promisify,jt.mapSeries=e.mapSeries,jt.attempt=e.attempt,jt.nfcall=function(r){var i=Array.prototype.slice.call(arguments,1),o=e.promisify(r);return o.apply(null,i)},e.prototype.fail=e.prototype.caught,e.prototype.also=function(r){return this.then(function(i){var o=t.extend({},i,r(i));return e.props(o)})};function n(){var r,i,o=new e.Promise(function(a,s){r=a,i=s});return{resolve:r,reject:i,promise:o}}return jt}var Le={},bb;function Yr(){if(bb)return Le;bb=1;var t=et,e=Le.types={document:"document",paragraph:"paragraph",run:"run",text:"text",tab:"tab",checkbox:"checkbox",hyperlink:"hyperlink",noteReference:"noteReference",image:"image",note:"note",commentReference:"commentReference",comment:"comment",table:"table",tableRow:"tableRow",tableCell:"tableCell",break:"break",bookmarkStart:"bookmarkStart"};function n(E,S){return S=S||{},{type:e.document,children:E,notes:S.notes||new f({}),comments:S.comments||[]}}function r(E,S){S=S||{};var U=S.indent||{};return{type:e.paragraph,children:E,styleId:S.styleId||null,styleName:S.styleName||null,numbering:S.numbering||null,alignment:S.alignment||null,indent:{start:U.start||null,end:U.end||null,firstLine:U.firstLine||null,hanging:U.hanging||null}}}function i(E,S){return S=S||{},{type:e.run,children:E,styleId:S.styleId||null,styleName:S.styleName||null,isBold:!!S.isBold,isUnderline:!!S.isUnderline,isItalic:!!S.isItalic,isStrikethrough:!!S.isStrikethrough,isAllCaps:!!S.isAllCaps,isSmallCaps:!!S.isSmallCaps,verticalAlignment:S.verticalAlignment||o.baseline,font:S.font||null,fontSize:S.fontSize||null,highlight:S.highlight||null}}var o={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function a(E){return{type:e.text,value:E}}function s(){return{type:e.tab}}function c(E){return{type:e.checkbox,checked:E.checked}}function l(E,S){return{type:e.hyperlink,children:E,href:S.href,anchor:S.anchor,targetFrame:S.targetFrame}}function u(E){return{type:e.noteReference,noteType:E.noteType,noteId:E.noteId}}function f(E){this._notes=t.indexBy(E,function(S){return m(S.noteType,S.noteId)})}f.prototype.resolve=function(E){return this.findNoteByKey(m(E.noteType,E.noteId))},f.prototype.findNoteByKey=function(E){return this._notes[E]||null};function d(E){return{type:e.note,noteType:E.noteType,noteId:E.noteId,body:E.body}}function h(E){return{type:e.commentReference,commentId:E.commentId}}function p(E){return{type:e.comment,commentId:E.commentId,body:E.body,authorName:E.authorName,authorInitials:E.authorInitials}}function m(E,S){return E+"-"+S}function g(E){return{type:e.image,read:function(S){return S?E.readImage(S):E.readImage().then(function(U){return Buffer.from(U)})},readAsArrayBuffer:function(){return E.readImage()},readAsBase64String:function(){return E.readImage("base64")},readAsBuffer:function(){return E.readImage().then(function(S){return Buffer.from(S)})},altText:E.altText,contentType:E.contentType}}function y(E,S){return S=S||{},{type:e.table,children:E,styleId:S.styleId||null,styleName:S.styleName||null}}function b(E,S){return S=S||{},{type:e.tableRow,children:E,isHeader:S.isHeader||!1}}function v(E,S){return S=S||{},{type:e.tableCell,children:E,colSpan:S.colSpan==null?1:S.colSpan,rowSpan:S.rowSpan==null?1:S.rowSpan}}function T(E){return{type:e.break,breakType:E}}function w(E){return{type:e.bookmarkStart,name:E.name}}return Le.document=Le.Document=n,Le.paragraph=Le.Paragraph=r,Le.run=Le.Run=i,Le.text=Le.Text=a,Le.tab=Le.Tab=s,Le.checkbox=Le.Checkbox=c,Le.Hyperlink=l,Le.noteReference=Le.NoteReference=u,Le.Notes=f,Le.Note=d,Le.commentReference=h,Le.comment=p,Le.Image=g,Le.Table=y,Le.TableRow=b,Le.TableCell=v,Le.lineBreak=T("line"),Le.pageBreak=T("page"),Le.columnBreak=T("column"),Le.BookmarkStart=w,Le.verticalAlignment=o,Le}var ii={},vb;function Wn(){if(vb)return ii;vb=1;var t=et;ii.Result=e,ii.success=n,ii.warning=r,ii.error=i;function e(c,l){this.value=c,this.messages=l||[]}e.prototype.map=function(c){return new e(c(this.value),this.messages)},e.prototype.flatMap=function(c){var l=c(this.value);return new e(l.value,o([this,l]))},e.prototype.flatMapThen=function(c){var l=this;return c(this.value).then(function(u){return new e(u.value,o([l,u]))})},e.combine=function(c){var l=t.flatten(t.pluck(c,"value")),u=o(c);return new e(l,u)};function n(c){return new e(c,[])}function r(c){return{type:"warning",message:c}}function i(c){return{type:"error",message:c.message,error:c}}function o(c){var l=[];return t.flatten(t.pluck(c,"messages"),!0).forEach(function(u){a(l,u)||l.push(u)}),l}function a(c,l){return t.find(c,s.bind(null,l))!==void 0}function s(c,l){return c.type===l.type&&c.message===l.message}return ii}var ji={},$i={},xb;function RF(){if(xb)return $i;xb=1,$i.byteLength=s,$i.toByteArray=l,$i.fromByteArray=d;for(var t=[],e=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i<o;++i)t[i]=r[i],e[r.charCodeAt(i)]=i;e[45]=62,e[95]=63;function a(h){var p=h.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var m=h.indexOf("=");m===-1&&(m=p);var g=m===p?0:4-m%4;return[m,g]}function s(h){var p=a(h),m=p[0],g=p[1];return(m+g)*3/4-g}function c(h,p,m){return(p+m)*3/4-m}function l(h){var p,m=a(h),g=m[0],y=m[1],b=new n(c(h,g,y)),v=0,T=y>0?g-4:g,w;for(w=0;w<T;w+=4)p=e[h.charCodeAt(w)]<<18|e[h.charCodeAt(w+1)]<<12|e[h.charCodeAt(w+2)]<<6|e[h.charCodeAt(w+3)],b[v++]=p>>16&255,b[v++]=p>>8&255,b[v++]=p&255;return y===2&&(p=e[h.charCodeAt(w)]<<2|e[h.charCodeAt(w+1)]>>4,b[v++]=p&255),y===1&&(p=e[h.charCodeAt(w)]<<10|e[h.charCodeAt(w+1)]<<4|e[h.charCodeAt(w+2)]>>2,b[v++]=p>>8&255,b[v++]=p&255),b}function u(h){return t[h>>18&63]+t[h>>12&63]+t[h>>6&63]+t[h&63]}function f(h,p,m){for(var g,y=[],b=p;b<m;b+=3)g=(h[b]<<16&16711680)+(h[b+1]<<8&65280)+(h[b+2]&255),y.push(u(g));return y.join("")}function d(h){for(var p,m=h.length,g=m%3,y=[],b=16383,v=0,T=m-g;v<T;v+=b)y.push(f(h,v,v+b>T?T:v+b));return g===1?(p=h[m-1],y.push(t[p>>2]+t[p<<4&63]+"==")):g===2&&(p=(h[m-2]<<8)+h[m-1],y.push(t[p>>10]+t[p>>4&63]+t[p<<2&63]+"=")),y.join("")}return $i}function oa(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var xf={exports:{}};/*!
208
-
209
- JSZip v3.10.1 - A JavaScript class for generating and reading zip files
210
- <http://stuartk.com/jszip>
211
-
212
- (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
213
- Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
214
-
215
- JSZip uses the library pako released under the MIT license :
216
- https://github.com/nodeca/pako/blob/main/LICENSE
217
- */var Db;function NF(){return Db||(Db=1,function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function a(l,u){if(!i[l]){if(!r[l]){var f=typeof oa=="function"&&oa;if(!u&&f)return f(l,!0);if(s)return s(l,!0);var d=new Error("Cannot find module '"+l+"'");throw d.code="MODULE_NOT_FOUND",d}var h=i[l]={exports:{}};r[l][0].call(h.exports,function(p){var m=r[l][1][p];return a(m||p)},h,h.exports,n,r,i,o)}return i[l].exports}for(var s=typeof oa=="function"&&oa,c=0;c<o.length;c++)a(o[c]);return a}({1:[function(n,r,i){var o=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(c){for(var l,u,f,d,h,p,m,g=[],y=0,b=c.length,v=b,T=o.getTypeOf(c)!=="string";y<c.length;)v=b-y,f=T?(l=c[y++],u=y<b?c[y++]:0,y<b?c[y++]:0):(l=c.charCodeAt(y++),u=y<b?c.charCodeAt(y++):0,y<b?c.charCodeAt(y++):0),d=l>>2,h=(3&l)<<4|u>>4,p=1<v?(15&u)<<2|f>>6:64,m=2<v?63&f:64,g.push(s.charAt(d)+s.charAt(h)+s.charAt(p)+s.charAt(m));return g.join("")},i.decode=function(c){var l,u,f,d,h,p,m=0,g=0,y="data:";if(c.substr(0,y.length)===y)throw new Error("Invalid base64 input, it looks like a data url.");var b,v=3*(c=c.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(c.charAt(c.length-1)===s.charAt(64)&&v--,c.charAt(c.length-2)===s.charAt(64)&&v--,v%1!=0)throw new Error("Invalid base64 input, bad content length.");for(b=a.uint8array?new Uint8Array(0|v):new Array(0|v);m<c.length;)l=s.indexOf(c.charAt(m++))<<2|(d=s.indexOf(c.charAt(m++)))>>4,u=(15&d)<<4|(h=s.indexOf(c.charAt(m++)))>>2,f=(3&h)<<6|(p=s.indexOf(c.charAt(m++))),b[g++]=l,h!==64&&(b[g++]=u),p!==64&&(b[g++]=f);return b}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),c=n("./stream/DataLengthProbe");function l(u,f,d,h,p){this.compressedSize=u,this.uncompressedSize=f,this.crc32=d,this.compression=h,this.compressedContent=p}l.prototype={getContentWorker:function(){var u=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")),f=this;return u.on("end",function(){if(this.streamInfo.data_length!==f.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new a(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},l.createWorkerFrom=function(u,f,d){return u.pipe(new s).pipe(new c("uncompressedSize")).pipe(f.compressWorker(d)).pipe(new c("compressedSize")).withStreamInfo("compression",f)},r.exports=l},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,r,i){var o=n("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new o("STORE compression")},uncompressWorker:function(){return new o("STORE decompression")}},i.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,r,i){var o=n("./utils"),a=function(){for(var s,c=[],l=0;l<256;l++){s=l;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;c[l]=s}return c}();r.exports=function(s,c){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(l,u,f,d){var h=a,p=d+f;l^=-1;for(var m=d;m<p;m++)l=l>>>8^h[255&(l^u[m])];return-1^l}(0|c,s,s.length,0):function(l,u,f,d){var h=a,p=d+f;l^=-1;for(var m=d;m<p;m++)l=l>>>8^h[255&(l^u.charCodeAt(m))];return-1^l}(0|c,s,s.length,0):0}},{"./utils":32}],5:[function(n,r,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(n,r,i){var o=null;o=typeof Promise<"u"?Promise:n("lie"),r.exports={Promise:o}},{lie:37}],7:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",a=n("pako"),s=n("./utils"),c=n("./stream/GenericWorker"),l=o?"uint8array":"array";function u(f,d){c.call(this,"FlateWorker/"+f),this._pako=null,this._pakoAction=f,this._pakoOptions=d,this.meta={}}i.magic="\b\0",s.inherits(u,c),u.prototype.processChunk=function(f){this.meta=f.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(l,f.data),!1)},u.prototype.flush=function(){c.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){c.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var f=this;this._pako.onData=function(d){f.push({data:d,meta:f.meta})}},i.compressWorker=function(f){return new u("Deflate",f)},i.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(h,p){var m,g="";for(m=0;m<p;m++)g+=String.fromCharCode(255&h),h>>>=8;return g}function a(h,p,m,g,y,b){var v,T,w=h.file,E=h.compression,S=b!==l.utf8encode,U=s.transformTo("string",b(w.name)),C=s.transformTo("string",l.utf8encode(w.name)),R=w.comment,L=s.transformTo("string",b(R)),_=s.transformTo("string",l.utf8encode(R)),k=C.length!==w.name.length,x=_.length!==R.length,z="",F="",I="",K=w.dir,P=w.date,te={crc32:0,compressedSize:0,uncompressedSize:0};p&&!m||(te.crc32=h.crc32,te.compressedSize=h.compressedSize,te.uncompressedSize=h.uncompressedSize);var W=0;p&&(W|=8),S||!k&&!x||(W|=2048);var B=0,oe=0;K&&(B|=16),y==="UNIX"?(oe=798,B|=function(J,le){var he=J;return J||(he=le?16893:33204),(65535&he)<<16}(w.unixPermissions,K)):(oe=20,B|=function(J){return 63&(J||0)}(w.dosPermissions)),v=P.getUTCHours(),v<<=6,v|=P.getUTCMinutes(),v<<=5,v|=P.getUTCSeconds()/2,T=P.getUTCFullYear()-1980,T<<=4,T|=P.getUTCMonth()+1,T<<=5,T|=P.getUTCDate(),k&&(F=o(1,1)+o(u(U),4)+C,z+="up"+o(F.length,2)+F),x&&(I=o(1,1)+o(u(L),4)+_,z+="uc"+o(I.length,2)+I);var X="";return X+=`
218
- \0`,X+=o(W,2),X+=E.magic,X+=o(v,2),X+=o(T,2),X+=o(te.crc32,4),X+=o(te.compressedSize,4),X+=o(te.uncompressedSize,4),X+=o(U.length,2),X+=o(z.length,2),{fileRecord:f.LOCAL_FILE_HEADER+X+U+z,dirRecord:f.CENTRAL_FILE_HEADER+o(oe,2)+X+o(L.length,2)+"\0\0\0\0"+o(B,4)+o(g,4)+U+z+L}}var s=n("../utils"),c=n("../stream/GenericWorker"),l=n("../utf8"),u=n("../crc32"),f=n("../signature");function d(h,p,m,g){c.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=m,this.encodeFileName=g,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(d,c),d.prototype.push=function(h){var p=h.meta.percent||0,m=this.entriesCount,g=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,c.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:m?(p+100*(m-g-1))/m:100}}))},d.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var m=a(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:m.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,m=a(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(m.dirRecord),p)this.push({data:function(g){return f.DATA_DESCRIPTOR+o(g.crc32,4)+o(g.compressedSize,4)+o(g.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:m.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var m=this.bytesWritten-h,g=function(y,b,v,T,w){var E=s.transformTo("string",w(T));return f.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(y,2)+o(y,2)+o(b,4)+o(v,4)+o(E.length,2)+E}(this.dirRecords.length,m,h,this.zipComment,this.encodeFileName);this.push({data:g,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(h){this._sources.push(h);var p=this;return h.on("data",function(m){p.processChunk(m)}),h.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),h.on("error",function(m){p.error(m)}),this},d.prototype.resume=function(){return!!c.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(h){var p=this._sources;if(!c.prototype.error.call(this,h))return!1;for(var m=0;m<p.length;m++)try{p[m].error(h)}catch{}return!0},d.prototype.lock=function(){c.prototype.lock.call(this);for(var h=this._sources,p=0;p<h.length;p++)h[p].lock()},r.exports=d},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,r,i){var o=n("../compressions"),a=n("./ZipFileWorker");i.generateWorker=function(s,c,l){var u=new a(c.streamFiles,l,c.platform,c.encodeFileName),f=0;try{s.forEach(function(d,h){f++;var p=function(b,v){var T=b||v,w=o[T];if(!w)throw new Error(T+" is not a valid compression method !");return w}(h.options.compression,c.compression),m=h.options.compressionOptions||c.compressionOptions||{},g=h.dir,y=h.date;h._compressWorker(p,m).withStreamInfo("file",{name:d,dir:g,date:y,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(u)}),u.entriesCount=f}catch(d){u.error(d)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,r,i){function o(){if(!(this instanceof o))return new o;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var a=new o;for(var s in this)typeof this[s]!="function"&&(a[s]=this[s]);return a}}(o.prototype=n("./object")).loadAsync=n("./load"),o.support=n("./support"),o.defaults=n("./defaults"),o.version="3.10.1",o.loadAsync=function(a,s){return new o().loadAsync(a,s)},o.external=n("./external"),r.exports=o},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,r,i){var o=n("./utils"),a=n("./external"),s=n("./utf8"),c=n("./zipEntries"),l=n("./stream/Crc32Probe"),u=n("./nodejsUtils");function f(d){return new a.Promise(function(h,p){var m=d.decompressed.getContentWorker().pipe(new l);m.on("error",function(g){p(g)}).on("end",function(){m.streamInfo.crc32!==d.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}r.exports=function(d,h){var p=this;return h=o.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),u.isNode&&u.isStream(d)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",d,!0,h.optimizedBinaryString,h.base64).then(function(m){var g=new c(h);return g.load(m),g}).then(function(m){var g=[a.Promise.resolve(m)],y=m.files;if(h.checkCRC32)for(var b=0;b<y.length;b++)g.push(f(y[b]));return a.Promise.all(g)}).then(function(m){for(var g=m.shift(),y=g.files,b=0;b<y.length;b++){var v=y[b],T=v.fileNameStr,w=o.resolve(v.fileNameStr);p.file(w,v.decompressed,{binary:!0,optimizedBinaryString:!0,date:v.date,dir:v.dir,comment:v.fileCommentStr.length?v.fileCommentStr:null,unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions,createFolders:h.createFolders}),v.dir||(p.file(w).unsafeOriginalName=T)}return g.zipComment.length&&(p.comment=g.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,r,i){var o=n("../utils"),a=n("../stream/GenericWorker");function s(c,l){a.call(this,"Nodejs stream input adapter for "+c),this._upstreamEnded=!1,this._bindStream(l)}o.inherits(s,a),s.prototype._bindStream=function(c){var l=this;(this._stream=c).pause(),c.on("data",function(u){l.push({data:u,meta:{percent:0}})}).on("error",function(u){l.isPaused?this.generatedError=u:l.error(u)}).on("end",function(){l.isPaused?l._upstreamEnded=!0:l.end()})},s.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},r.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,r,i){var o=n("readable-stream").Readable;function a(s,c,l){o.call(this,c),this._helper=s;var u=this;s.on("data",function(f,d){u.push(f)||u._helper.pause(),l&&l(d)}).on("error",function(f){u.emit("error",f)}).on("end",function(){u.push(null)})}n("../utils").inherits(a,o),a.prototype._read=function(){this._helper.resume()},r.exports=a},{"../utils":32,"readable-stream":16}],14:[function(n,r,i){r.exports={isNode:typeof Buffer<"u",newBufferFrom:function(o,a){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(o,a);if(typeof o=="number")throw new Error('The "data" argument must not be a number');return new Buffer(o,a)},allocBuffer:function(o){if(Buffer.alloc)return Buffer.alloc(o);var a=new Buffer(o);return a.fill(0),a},isBuffer:function(o){return Buffer.isBuffer(o)},isStream:function(o){return o&&typeof o.on=="function"&&typeof o.pause=="function"&&typeof o.resume=="function"}}},{}],15:[function(n,r,i){function o(w,E,S){var U,C=s.getTypeOf(E),R=s.extend(S||{},u);R.date=R.date||new Date,R.compression!==null&&(R.compression=R.compression.toUpperCase()),typeof R.unixPermissions=="string"&&(R.unixPermissions=parseInt(R.unixPermissions,8)),R.unixPermissions&&16384&R.unixPermissions&&(R.dir=!0),R.dosPermissions&&16&R.dosPermissions&&(R.dir=!0),R.dir&&(w=y(w)),R.createFolders&&(U=g(w))&&b.call(this,U,!0);var L=C==="string"&&R.binary===!1&&R.base64===!1;S&&S.binary!==void 0||(R.binary=!L),(E instanceof f&&E.uncompressedSize===0||R.dir||!E||E.length===0)&&(R.base64=!1,R.binary=!0,E="",R.compression="STORE",C="string");var _=null;_=E instanceof f||E instanceof c?E:p.isNode&&p.isStream(E)?new m(w,E):s.prepareContent(w,E,R.binary,R.optimizedBinaryString,R.base64);var k=new d(w,_,R);this.files[w]=k}var a=n("./utf8"),s=n("./utils"),c=n("./stream/GenericWorker"),l=n("./stream/StreamHelper"),u=n("./defaults"),f=n("./compressedObject"),d=n("./zipObject"),h=n("./generate"),p=n("./nodejsUtils"),m=n("./nodejs/NodejsStreamInputAdapter"),g=function(w){w.slice(-1)==="/"&&(w=w.substring(0,w.length-1));var E=w.lastIndexOf("/");return 0<E?w.substring(0,E):""},y=function(w){return w.slice(-1)!=="/"&&(w+="/"),w},b=function(w,E){return E=E!==void 0?E:u.createFolders,w=y(w),this.files[w]||o.call(this,w,null,{dir:!0,createFolders:E}),this.files[w]};function v(w){return Object.prototype.toString.call(w)==="[object RegExp]"}var T={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(w){var E,S,U;for(E in this.files)U=this.files[E],(S=E.slice(this.root.length,E.length))&&E.slice(0,this.root.length)===this.root&&w(S,U)},filter:function(w){var E=[];return this.forEach(function(S,U){w(S,U)&&E.push(U)}),E},file:function(w,E,S){if(arguments.length!==1)return w=this.root+w,o.call(this,w,E,S),this;if(v(w)){var U=w;return this.filter(function(R,L){return!L.dir&&U.test(R)})}var C=this.files[this.root+w];return C&&!C.dir?C:null},folder:function(w){if(!w)return this;if(v(w))return this.filter(function(C,R){return R.dir&&w.test(C)});var E=this.root+w,S=b.call(this,E),U=this.clone();return U.root=S.name,U},remove:function(w){w=this.root+w;var E=this.files[w];if(E||(w.slice(-1)!=="/"&&(w+="/"),E=this.files[w]),E&&!E.dir)delete this.files[w];else for(var S=this.filter(function(C,R){return R.name.slice(0,w.length)===w}),U=0;U<S.length;U++)delete this.files[S[U].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(w){var E,S={};try{if((S=s.extend(w||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=S.type.toLowerCase(),S.compression=S.compression.toUpperCase(),S.type==="binarystring"&&(S.type="string"),!S.type)throw new Error("No output type specified.");s.checkSupport(S.type),S.platform!=="darwin"&&S.platform!=="freebsd"&&S.platform!=="linux"&&S.platform!=="sunos"||(S.platform="UNIX"),S.platform==="win32"&&(S.platform="DOS");var U=S.comment||this.comment||"";E=h.generateWorker(this,S,U)}catch(C){(E=new c("error")).error(C)}return new l(E,S.type||"string",S.mimeType)},generateAsync:function(w,E){return this.generateInternalStream(w).accumulate(E)},generateNodeStream:function(w,E){return(w=w||{}).type||(w.type="nodebuffer"),this.generateInternalStream(w).toNodejsStream(E)}};r.exports=T},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,r,i){r.exports=n("stream")},{stream:void 0}],17:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s);for(var c=0;c<this.data.length;c++)s[c]=255&s[c]}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var c=s.charCodeAt(0),l=s.charCodeAt(1),u=s.charCodeAt(2),f=s.charCodeAt(3),d=this.length-4;0<=d;--d)if(this.data[d]===c&&this.data[d+1]===l&&this.data[d+2]===u&&this.data[d+3]===f)return d-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var c=s.charCodeAt(0),l=s.charCodeAt(1),u=s.charCodeAt(2),f=s.charCodeAt(3),d=this.readData(4);return c===d[0]&&l===d[1]&&u===d[2]&&f===d[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],18:[function(n,r,i){var o=n("../utils");function a(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var c,l=0;for(this.checkOffset(s),c=this.index+s-1;c>=this.index;c--)l=(l<<8)+this.byteAt(c);return this.index+=s,l},readString:function(s){return o.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},r.exports=a},{"../utils":32}],19:[function(n,r,i){var o=n("./Uint8ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,r,i){var o=n("./DataReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},a.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},a.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},a.prototype.readData=function(s){this.checkOffset(s);var c=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./DataReader":18}],21:[function(n,r,i){var o=n("./ArrayReader");function a(s){o.call(this,s)}n("../utils").inherits(a,o),a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var c=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,c},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),c=n("./StringReader"),l=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");r.exports=function(f){var d=o.getTypeOf(f);return o.checkSupport(d),d!=="string"||a.uint8array?d==="nodebuffer"?new l(f):a.uint8array?new u(o.transformTo("uint8array",f)):new s(o.transformTo("array",f)):new c(f)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,r,i){i.LOCAL_FILE_HEADER="PK",i.CENTRAL_FILE_HEADER="PK",i.CENTRAL_DIRECTORY_END="PK",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,r,i){var o=n("./GenericWorker"),a=n("../utils");function s(c){o.call(this,"ConvertWorker to "+c),this.destType=c}a.inherits(s,o),s.prototype.processChunk=function(c){this.push({data:a.transformTo(this.destType,c.data),meta:c.meta})},r.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(n,r,i){var o=n("./GenericWorker"),a=n("../crc32");function s(){o.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(s,o),s.prototype.processChunk=function(c){this.streamInfo.crc32=a(c.data,this.streamInfo.crc32||0),this.push(c)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataLengthProbe for "+c),this.propName=c,this.withStreamInfo(c,0)}o.inherits(s,a),s.prototype.processChunk=function(c){if(c){var l=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=l+c.data.length}a.prototype.processChunk.call(this,c)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(c){a.call(this,"DataWorker");var l=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,c.then(function(u){l.dataIsReady=!0,l.data=u,l.max=u&&u.length||0,l.type=o.getTypeOf(u),l.isPaused||l._tickAndRepeat()},function(u){l.error(u)})}o.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,o.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(o.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var c=null,l=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":c=this.data.substring(this.index,l);break;case"uint8array":c=this.data.subarray(this.index,l);break;case"array":case"nodebuffer":c=this.data.slice(this.index,l)}return this.index=l,this.push({data:c,meta:{percent:this.max?this.index/this.max*100:0}})},r.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(n,r,i){function o(a){this.name=a||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}o.prototype={push:function(a){this.emit("data",a)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(a){this.emit("error",a)}return!0},error:function(a){return!this.isFinished&&(this.isPaused?this.generatedError=a:(this.isFinished=!0,this.emit("error",a),this.previous&&this.previous.error(a),this.cleanUp()),!0)},on:function(a,s){return this._listeners[a].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(a,s){if(this._listeners[a])for(var c=0;c<this._listeners[a].length;c++)this._listeners[a][c].call(this,s)},pipe:function(a){return a.registerPrevious(this)},registerPrevious:function(a){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=a.streamInfo,this.mergeStreamInfo(),this.previous=a;var s=this;return a.on("data",function(c){s.processChunk(c)}),a.on("end",function(){s.end()}),a.on("error",function(c){s.error(c)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var a=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),a=!0),this.previous&&this.previous.resume(),!a},flush:function(){},processChunk:function(a){this.push(a)},withStreamInfo:function(a,s){return this.extraStreamInfo[a]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var a in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,a)&&(this.streamInfo[a]=this.extraStreamInfo[a])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var a="Worker "+this.name;return this.previous?this.previous+" -> "+a:a}},r.exports=o},{}],29:[function(n,r,i){var o=n("../utils"),a=n("./ConvertWorker"),s=n("./GenericWorker"),c=n("../base64"),l=n("../support"),u=n("../external"),f=null;if(l.nodestream)try{f=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function d(p,m){return new u.Promise(function(g,y){var b=[],v=p._internalType,T=p._outputType,w=p._mimeType;p.on("data",function(E,S){b.push(E),m&&m(S)}).on("error",function(E){b=[],y(E)}).on("end",function(){try{var E=function(S,U,C){switch(S){case"blob":return o.newBlob(o.transformTo("arraybuffer",U),C);case"base64":return c.encode(U);default:return o.transformTo(S,U)}}(T,function(S,U){var C,R=0,L=null,_=0;for(C=0;C<U.length;C++)_+=U[C].length;switch(S){case"string":return U.join("");case"array":return Array.prototype.concat.apply([],U);case"uint8array":for(L=new Uint8Array(_),C=0;C<U.length;C++)L.set(U[C],R),R+=U[C].length;return L;case"nodebuffer":return Buffer.concat(U);default:throw new Error("concat : unsupported type '"+S+"'")}}(v,b),w);g(E)}catch(S){y(S)}b=[]}).resume()})}function h(p,m,g){var y=m;switch(m){case"blob":case"arraybuffer":y="uint8array";break;case"base64":y="string"}try{this._internalType=y,this._outputType=m,this._mimeType=g,o.checkSupport(y),this._worker=p.pipe(new a(y)),p.lock()}catch(b){this._worker=new s("error"),this._worker.error(b)}}h.prototype={accumulate:function(p){return d(this,p)},on:function(p,m){var g=this;return p==="data"?this._worker.on(p,function(y){m.call(g,y.data,y.meta)}):this._worker.on(p,function(){o.delay(m,arguments,g)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:this._outputType!=="nodebuffer"},p)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,r,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var o=new ArrayBuffer(0);try{i.blob=new Blob([o],{type:"application/zip"}).size===0}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(o),i.blob=a.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!n("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(n,r,i){for(var o=n("./utils"),a=n("./support"),s=n("./nodejsUtils"),c=n("./stream/GenericWorker"),l=new Array(256),u=0;u<256;u++)l[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;l[254]=l[254]=1;function f(){c.call(this,"utf-8 decode"),this.leftOver=null}function d(){c.call(this,"utf-8 encode")}i.utf8encode=function(h){return a.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var m,g,y,b,v,T=p.length,w=0;for(b=0;b<T;b++)(64512&(g=p.charCodeAt(b)))==55296&&b+1<T&&(64512&(y=p.charCodeAt(b+1)))==56320&&(g=65536+(g-55296<<10)+(y-56320),b++),w+=g<128?1:g<2048?2:g<65536?3:4;for(m=a.uint8array?new Uint8Array(w):new Array(w),b=v=0;v<w;b++)(64512&(g=p.charCodeAt(b)))==55296&&b+1<T&&(64512&(y=p.charCodeAt(b+1)))==56320&&(g=65536+(g-55296<<10)+(y-56320),b++),g<128?m[v++]=g:(g<2048?m[v++]=192|g>>>6:(g<65536?m[v++]=224|g>>>12:(m[v++]=240|g>>>18,m[v++]=128|g>>>12&63),m[v++]=128|g>>>6&63),m[v++]=128|63&g);return m}(h)},i.utf8decode=function(h){return a.nodebuffer?o.transformTo("nodebuffer",h).toString("utf-8"):function(p){var m,g,y,b,v=p.length,T=new Array(2*v);for(m=g=0;m<v;)if((y=p[m++])<128)T[g++]=y;else if(4<(b=l[y]))T[g++]=65533,m+=b-1;else{for(y&=b===2?31:b===3?15:7;1<b&&m<v;)y=y<<6|63&p[m++],b--;1<b?T[g++]=65533:y<65536?T[g++]=y:(y-=65536,T[g++]=55296|y>>10&1023,T[g++]=56320|1023&y)}return T.length!==g&&(T.subarray?T=T.subarray(0,g):T.length=g),o.applyFromCharCode(T)}(h=o.transformTo(a.uint8array?"uint8array":"array",h))},o.inherits(f,c),f.prototype.processChunk=function(h){var p=o.transformTo(a.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var m=p;(p=new Uint8Array(m.length+this.leftOver.length)).set(this.leftOver,0),p.set(m,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var g=function(b,v){var T;for((v=v||b.length)>b.length&&(v=b.length),T=v-1;0<=T&&(192&b[T])==128;)T--;return T<0||T===0?v:T+l[b[T]]>v?T:v}(p),y=p;g!==p.length&&(a.uint8array?(y=p.subarray(0,g),this.leftOver=p.subarray(g,p.length)):(y=p.slice(0,g),this.leftOver=p.slice(g,p.length))),this.push({data:i.utf8decode(y),meta:h.meta})},f.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=f,o.inherits(d,c),d.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=d},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),c=n("./external");function l(m){return m}function u(m,g){for(var y=0;y<m.length;++y)g[y]=255&m.charCodeAt(y);return g}n("setimmediate"),i.newBlob=function(m,g){i.checkSupport("blob");try{return new Blob([m],{type:g})}catch{try{var y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return y.append(m),y.getBlob(g)}catch{throw new Error("Bug : can't construct the Blob.")}}};var f={stringifyByChunk:function(m,g,y){var b=[],v=0,T=m.length;if(T<=y)return String.fromCharCode.apply(null,m);for(;v<T;)g==="array"||g==="nodebuffer"?b.push(String.fromCharCode.apply(null,m.slice(v,Math.min(v+y,T)))):b.push(String.fromCharCode.apply(null,m.subarray(v,Math.min(v+y,T)))),v+=y;return b.join("")},stringifyByChar:function(m){for(var g="",y=0;y<m.length;y++)g+=String.fromCharCode(m[y]);return g},applyCanBeUsed:{uint8array:function(){try{return o.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return o.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function d(m){var g=65536,y=i.getTypeOf(m),b=!0;if(y==="uint8array"?b=f.applyCanBeUsed.uint8array:y==="nodebuffer"&&(b=f.applyCanBeUsed.nodebuffer),b)for(;1<g;)try{return f.stringifyByChunk(m,y,g)}catch{g=Math.floor(g/2)}return f.stringifyByChar(m)}function h(m,g){for(var y=0;y<m.length;y++)g[y]=m[y];return g}i.applyFromCharCode=d;var p={};p.string={string:l,array:function(m){return u(m,new Array(m.length))},arraybuffer:function(m){return p.string.uint8array(m).buffer},uint8array:function(m){return u(m,new Uint8Array(m.length))},nodebuffer:function(m){return u(m,s.allocBuffer(m.length))}},p.array={string:d,array:l,arraybuffer:function(m){return new Uint8Array(m).buffer},uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(m)}},p.arraybuffer={string:function(m){return d(new Uint8Array(m))},array:function(m){return h(new Uint8Array(m),new Array(m.byteLength))},arraybuffer:l,uint8array:function(m){return new Uint8Array(m)},nodebuffer:function(m){return s.newBufferFrom(new Uint8Array(m))}},p.uint8array={string:d,array:function(m){return h(m,new Array(m.length))},arraybuffer:function(m){return m.buffer},uint8array:l,nodebuffer:function(m){return s.newBufferFrom(m)}},p.nodebuffer={string:d,array:function(m){return h(m,new Array(m.length))},arraybuffer:function(m){return p.nodebuffer.uint8array(m).buffer},uint8array:function(m){return h(m,new Uint8Array(m.length))},nodebuffer:l},i.transformTo=function(m,g){if(g=g||"",!m)return g;i.checkSupport(m);var y=i.getTypeOf(g);return p[y][m](g)},i.resolve=function(m){for(var g=m.split("/"),y=[],b=0;b<g.length;b++){var v=g[b];v==="."||v===""&&b!==0&&b!==g.length-1||(v===".."?y.pop():y.push(v))}return y.join("/")},i.getTypeOf=function(m){return typeof m=="string"?"string":Object.prototype.toString.call(m)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(m)?"nodebuffer":o.uint8array&&m instanceof Uint8Array?"uint8array":o.arraybuffer&&m instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(m){if(!o[m.toLowerCase()])throw new Error(m+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(m){var g,y,b="";for(y=0;y<(m||"").length;y++)b+="\\x"+((g=m.charCodeAt(y))<16?"0":"")+g.toString(16).toUpperCase();return b},i.delay=function(m,g,y){setImmediate(function(){m.apply(y||null,g||[])})},i.inherits=function(m,g){function y(){}y.prototype=g.prototype,m.prototype=new y},i.extend=function(){var m,g,y={};for(m=0;m<arguments.length;m++)for(g in arguments[m])Object.prototype.hasOwnProperty.call(arguments[m],g)&&y[g]===void 0&&(y[g]=arguments[m][g]);return y},i.prepareContent=function(m,g,y,b,v){return c.Promise.resolve(g).then(function(T){return o.blob&&(T instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(T))!==-1)&&typeof FileReader<"u"?new c.Promise(function(w,E){var S=new FileReader;S.onload=function(U){w(U.target.result)},S.onerror=function(U){E(U.target.error)},S.readAsArrayBuffer(T)}):T}).then(function(T){var w=i.getTypeOf(T);return w?(w==="arraybuffer"?T=i.transformTo("uint8array",T):w==="string"&&(v?T=a.decode(T):y&&b!==!0&&(T=function(E){return u(E,o.uint8array?new Uint8Array(E.length):new Array(E.length))}(T))),T):c.Promise.reject(new Error("Can't read the data of '"+m+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./signature"),c=n("./zipEntry"),l=n("./support");function u(f){this.files=[],this.loadOptions=f}u.prototype={checkSignature:function(f){if(!this.reader.readAndCheckSignature(f)){this.reader.index-=4;var d=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(d)+", expected "+a.pretty(f)+")")}},isSignature:function(f,d){var h=this.reader.index;this.reader.setIndex(f);var p=this.reader.readString(4)===d;return this.reader.setIndex(h),p},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var f=this.reader.readData(this.zipCommentLength),d=l.uint8array?"uint8array":"array",h=a.transformTo(d,f);this.zipComment=this.loadOptions.decodeFileName(h)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var f,d,h,p=this.zip64EndOfCentralSize-44;0<p;)f=this.reader.readInt(2),d=this.reader.readInt(4),h=this.reader.readData(d),this.zip64ExtensibleData[f]={id:f,length:d,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var f,d;for(f=0;f<this.files.length;f++)d=this.files[f],this.reader.setIndex(d.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),d.readLocalPart(this.reader),d.handleUTF8(),d.processAttributes()},readCentralDir:function(){var f;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(f=new c({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(f);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var f=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(f<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(f);var d=f;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(f=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(f),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var p=d-h;if(0<p)this.isSignature(d,s.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(f){this.reader=o(f)},load:function(f){this.prepareReader(f),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,r,i){var o=n("./reader/readerFor"),a=n("./utils"),s=n("./compressedObject"),c=n("./crc32"),l=n("./utf8"),u=n("./compressions"),f=n("./support");function d(h,p){this.options=h,this.loadOptions=p}d.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var p,m;if(h.skip(22),this.fileNameLength=h.readInt(2),m=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(m),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((p=function(g){for(var y in u)if(Object.prototype.hasOwnProperty.call(u,y)&&u[y].magic===g)return u[y];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,p,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var p=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(p),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var p,m,g,y=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<y;)p=h.readInt(2),m=h.readInt(2),g=h.readData(m),this.extraFields[p]={id:p,length:m,value:g};h.setIndex(y)},handleUTF8:function(){var h=f.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=l.utf8decode(this.fileName),this.fileCommentStr=l.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var m=a.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(m)}var g=this.findExtraFieldUnicodeComment();if(g!==null)this.fileCommentStr=g;else{var y=a.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(y)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var p=o(h.value);return p.readInt(1)!==1||c(this.fileName)!==p.readInt(4)?null:l.utf8decode(p.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var p=o(h.value);return p.readInt(1)!==1||c(this.fileComment)!==p.readInt(4)?null:l.utf8decode(p.readData(h.length-5))}return null}},r.exports=d},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(p,m,g){this.name=p,this.dir=g.dir,this.date=g.date,this.comment=g.comment,this.unixPermissions=g.unixPermissions,this.dosPermissions=g.dosPermissions,this._data=m,this._dataBinary=g.binary,this.options={compression:g.compression,compressionOptions:g.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),c=n("./utf8"),l=n("./compressedObject"),u=n("./stream/GenericWorker");o.prototype={internalStream:function(p){var m=null,g="string";try{if(!p)throw new Error("No output type specified.");var y=(g=p.toLowerCase())==="string"||g==="text";g!=="binarystring"&&g!=="text"||(g="string"),m=this._decompressWorker();var b=!this._dataBinary;b&&!y&&(m=m.pipe(new c.Utf8EncodeWorker)),!b&&y&&(m=m.pipe(new c.Utf8DecodeWorker))}catch(v){(m=new u("error")).error(v)}return new a(m,g,"")},async:function(p,m){return this.internalStream(p).accumulate(m)},nodeStream:function(p,m){return this.internalStream(p||"nodebuffer").toNodejsStream(m)},_compressWorker:function(p,m){if(this._data instanceof l&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var g=this._decompressWorker();return this._dataBinary||(g=g.pipe(new c.Utf8EncodeWorker)),l.createWorkerFrom(g,p,m)},_decompressWorker:function(){return this._data instanceof l?this._data.getContentWorker():this._data instanceof u?this._data:new s(this._data)}};for(var f=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],d=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<f.length;h++)o.prototype[f[h]]=d;r.exports=o},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,r,i){(function(o){var a,s,c=o.MutationObserver||o.WebKitMutationObserver;if(c){var l=0,u=new c(p),f=o.document.createTextNode("");u.observe(f,{characterData:!0}),a=function(){f.data=l=++l%2}}else if(o.setImmediate||o.MessageChannel===void 0)a="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var m=o.document.createElement("script");m.onreadystatechange=function(){p(),m.onreadystatechange=null,m.parentNode.removeChild(m),m=null},o.document.documentElement.appendChild(m)}:function(){setTimeout(p,0)};else{var d=new o.MessageChannel;d.port1.onmessage=p,a=function(){d.port2.postMessage(0)}}var h=[];function p(){var m,g;s=!0;for(var y=h.length;y;){for(g=h,h=[],m=-1;++m<y;)g[m]();y=h.length}s=!1}r.exports=function(m){h.push(m)!==1||s||a()}}).call(this,typeof Xt<"u"?Xt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function a(){}var s={},c=["REJECTED"],l=["FULFILLED"],u=["PENDING"];function f(y){if(typeof y!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,y!==a&&m(this,y)}function d(y,b,v){this.promise=y,typeof b=="function"&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),typeof v=="function"&&(this.onRejected=v,this.callRejected=this.otherCallRejected)}function h(y,b,v){o(function(){var T;try{T=b(v)}catch(w){return s.reject(y,w)}T===y?s.reject(y,new TypeError("Cannot resolve promise with itself")):s.resolve(y,T)})}function p(y){var b=y&&y.then;if(y&&(typeof y=="object"||typeof y=="function")&&typeof b=="function")return function(){b.apply(y,arguments)}}function m(y,b){var v=!1;function T(S){v||(v=!0,s.reject(y,S))}function w(S){v||(v=!0,s.resolve(y,S))}var E=g(function(){b(w,T)});E.status==="error"&&T(E.value)}function g(y,b){var v={};try{v.value=y(b),v.status="success"}catch(T){v.status="error",v.value=T}return v}(r.exports=f).prototype.finally=function(y){if(typeof y!="function")return this;var b=this.constructor;return this.then(function(v){return b.resolve(y()).then(function(){return v})},function(v){return b.resolve(y()).then(function(){throw v})})},f.prototype.catch=function(y){return this.then(null,y)},f.prototype.then=function(y,b){if(typeof y!="function"&&this.state===l||typeof b!="function"&&this.state===c)return this;var v=new this.constructor(a);return this.state!==u?h(v,this.state===l?y:b,this.outcome):this.queue.push(new d(v,y,b)),v},d.prototype.callFulfilled=function(y){s.resolve(this.promise,y)},d.prototype.otherCallFulfilled=function(y){h(this.promise,this.onFulfilled,y)},d.prototype.callRejected=function(y){s.reject(this.promise,y)},d.prototype.otherCallRejected=function(y){h(this.promise,this.onRejected,y)},s.resolve=function(y,b){var v=g(p,b);if(v.status==="error")return s.reject(y,v.value);var T=v.value;if(T)m(y,T);else{y.state=l,y.outcome=b;for(var w=-1,E=y.queue.length;++w<E;)y.queue[w].callFulfilled(b)}return y},s.reject=function(y,b){y.state=c,y.outcome=b;for(var v=-1,T=y.queue.length;++v<T;)y.queue[v].callRejected(b);return y},f.resolve=function(y){return y instanceof this?y:s.resolve(new this(a),y)},f.reject=function(y){var b=new this(a);return s.reject(b,y)},f.all=function(y){var b=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=y.length,T=!1;if(!v)return this.resolve([]);for(var w=new Array(v),E=0,S=-1,U=new this(a);++S<v;)C(y[S],S);return U;function C(R,L){b.resolve(R).then(function(_){w[L]=_,++E!==v||T||(T=!0,s.resolve(U,w))},function(_){T||(T=!0,s.reject(U,_))})}},f.race=function(y){var b=this;if(Object.prototype.toString.call(y)!=="[object Array]")return this.reject(new TypeError("must be an array"));var v=y.length,T=!1;if(!v)return this.resolve([]);for(var w=-1,E=new this(a);++w<v;)S=y[w],b.resolve(S).then(function(U){T||(T=!0,s.resolve(E,U))},function(U){T||(T=!0,s.reject(E,U))});var S;return E}},{immediate:36}],38:[function(n,r,i){var o={};(0,n("./lib/utils/common").assign)(o,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),r.exports=o},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,r,i){var o=n("./zlib/deflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/messages"),l=n("./zlib/zstream"),u=Object.prototype.toString,f=0,d=-1,h=0,p=8;function m(y){if(!(this instanceof m))return new m(y);this.options=a.assign({level:d,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},y||{});var b=this.options;b.raw&&0<b.windowBits?b.windowBits=-b.windowBits:b.gzip&&0<b.windowBits&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var v=o.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(v!==f)throw new Error(c[v]);if(b.header&&o.deflateSetHeader(this.strm,b.header),b.dictionary){var T;if(T=typeof b.dictionary=="string"?s.string2buf(b.dictionary):u.call(b.dictionary)==="[object ArrayBuffer]"?new Uint8Array(b.dictionary):b.dictionary,(v=o.deflateSetDictionary(this.strm,T))!==f)throw new Error(c[v]);this._dict_set=!0}}function g(y,b){var v=new m(b);if(v.push(y,!0),v.err)throw v.msg||c[v.err];return v.result}m.prototype.push=function(y,b){var v,T,w=this.strm,E=this.options.chunkSize;if(this.ended)return!1;T=b===~~b?b:b===!0?4:0,typeof y=="string"?w.input=s.string2buf(y):u.call(y)==="[object ArrayBuffer]"?w.input=new Uint8Array(y):w.input=y,w.next_in=0,w.avail_in=w.input.length;do{if(w.avail_out===0&&(w.output=new a.Buf8(E),w.next_out=0,w.avail_out=E),(v=o.deflate(w,T))!==1&&v!==f)return this.onEnd(v),!(this.ended=!0);w.avail_out!==0&&(w.avail_in!==0||T!==4&&T!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(w.output,w.next_out))):this.onData(a.shrinkBuf(w.output,w.next_out)))}while((0<w.avail_in||w.avail_out===0)&&v!==1);return T===4?(v=o.deflateEnd(this.strm),this.onEnd(v),this.ended=!0,v===f):T!==2||(this.onEnd(f),!(w.avail_out=0))},m.prototype.onData=function(y){this.chunks.push(y)},m.prototype.onEnd=function(y){y===f&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=y,this.msg=this.strm.msg},i.Deflate=m,i.deflate=g,i.deflateRaw=function(y,b){return(b=b||{}).raw=!0,g(y,b)},i.gzip=function(y,b){return(b=b||{}).gzip=!0,g(y,b)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,r,i){var o=n("./zlib/inflate"),a=n("./utils/common"),s=n("./utils/strings"),c=n("./zlib/constants"),l=n("./zlib/messages"),u=n("./zlib/zstream"),f=n("./zlib/gzheader"),d=Object.prototype.toString;function h(m){if(!(this instanceof h))return new h(m);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},m||{});var g=this.options;g.raw&&0<=g.windowBits&&g.windowBits<16&&(g.windowBits=-g.windowBits,g.windowBits===0&&(g.windowBits=-15)),!(0<=g.windowBits&&g.windowBits<16)||m&&m.windowBits||(g.windowBits+=32),15<g.windowBits&&g.windowBits<48&&(15&g.windowBits)==0&&(g.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var y=o.inflateInit2(this.strm,g.windowBits);if(y!==c.Z_OK)throw new Error(l[y]);this.header=new f,o.inflateGetHeader(this.strm,this.header)}function p(m,g){var y=new h(g);if(y.push(m,!0),y.err)throw y.msg||l[y.err];return y.result}h.prototype.push=function(m,g){var y,b,v,T,w,E,S=this.strm,U=this.options.chunkSize,C=this.options.dictionary,R=!1;if(this.ended)return!1;b=g===~~g?g:g===!0?c.Z_FINISH:c.Z_NO_FLUSH,typeof m=="string"?S.input=s.binstring2buf(m):d.call(m)==="[object ArrayBuffer]"?S.input=new Uint8Array(m):S.input=m,S.next_in=0,S.avail_in=S.input.length;do{if(S.avail_out===0&&(S.output=new a.Buf8(U),S.next_out=0,S.avail_out=U),(y=o.inflate(S,c.Z_NO_FLUSH))===c.Z_NEED_DICT&&C&&(E=typeof C=="string"?s.string2buf(C):d.call(C)==="[object ArrayBuffer]"?new Uint8Array(C):C,y=o.inflateSetDictionary(this.strm,E)),y===c.Z_BUF_ERROR&&R===!0&&(y=c.Z_OK,R=!1),y!==c.Z_STREAM_END&&y!==c.Z_OK)return this.onEnd(y),!(this.ended=!0);S.next_out&&(S.avail_out!==0&&y!==c.Z_STREAM_END&&(S.avail_in!==0||b!==c.Z_FINISH&&b!==c.Z_SYNC_FLUSH)||(this.options.to==="string"?(v=s.utf8border(S.output,S.next_out),T=S.next_out-v,w=s.buf2string(S.output,v),S.next_out=T,S.avail_out=U-T,T&&a.arraySet(S.output,S.output,v,T,0),this.onData(w)):this.onData(a.shrinkBuf(S.output,S.next_out)))),S.avail_in===0&&S.avail_out===0&&(R=!0)}while((0<S.avail_in||S.avail_out===0)&&y!==c.Z_STREAM_END);return y===c.Z_STREAM_END&&(b=c.Z_FINISH),b===c.Z_FINISH?(y=o.inflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===c.Z_OK):b!==c.Z_SYNC_FLUSH||(this.onEnd(c.Z_OK),!(S.avail_out=0))},h.prototype.onData=function(m){this.chunks.push(m)},h.prototype.onEnd=function(m){m===c.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},i.Inflate=h,i.inflate=p,i.inflateRaw=function(m,g){return(g=g||{}).raw=!0,p(m,g)},i.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,r,i){var o=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(c){for(var l=Array.prototype.slice.call(arguments,1);l.length;){var u=l.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var f in u)u.hasOwnProperty(f)&&(c[f]=u[f])}}return c},i.shrinkBuf=function(c,l){return c.length===l?c:c.subarray?c.subarray(0,l):(c.length=l,c)};var a={arraySet:function(c,l,u,f,d){if(l.subarray&&c.subarray)c.set(l.subarray(u,u+f),d);else for(var h=0;h<f;h++)c[d+h]=l[u+h]},flattenChunks:function(c){var l,u,f,d,h,p;for(l=f=0,u=c.length;l<u;l++)f+=c[l].length;for(p=new Uint8Array(f),l=d=0,u=c.length;l<u;l++)h=c[l],p.set(h,d),d+=h.length;return p}},s={arraySet:function(c,l,u,f,d){for(var h=0;h<f;h++)c[d+h]=l[u+h]},flattenChunks:function(c){return[].concat.apply([],c)}};i.setTyped=function(c){c?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,a)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(o)},{}],42:[function(n,r,i){var o=n("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var c=new o.Buf8(256),l=0;l<256;l++)c[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function u(f,d){if(d<65537&&(f.subarray&&s||!f.subarray&&a))return String.fromCharCode.apply(null,o.shrinkBuf(f,d));for(var h="",p=0;p<d;p++)h+=String.fromCharCode(f[p]);return h}c[254]=c[254]=1,i.string2buf=function(f){var d,h,p,m,g,y=f.length,b=0;for(m=0;m<y;m++)(64512&(h=f.charCodeAt(m)))==55296&&m+1<y&&(64512&(p=f.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),b+=h<128?1:h<2048?2:h<65536?3:4;for(d=new o.Buf8(b),m=g=0;g<b;m++)(64512&(h=f.charCodeAt(m)))==55296&&m+1<y&&(64512&(p=f.charCodeAt(m+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),m++),h<128?d[g++]=h:(h<2048?d[g++]=192|h>>>6:(h<65536?d[g++]=224|h>>>12:(d[g++]=240|h>>>18,d[g++]=128|h>>>12&63),d[g++]=128|h>>>6&63),d[g++]=128|63&h);return d},i.buf2binstring=function(f){return u(f,f.length)},i.binstring2buf=function(f){for(var d=new o.Buf8(f.length),h=0,p=d.length;h<p;h++)d[h]=f.charCodeAt(h);return d},i.buf2string=function(f,d){var h,p,m,g,y=d||f.length,b=new Array(2*y);for(h=p=0;h<y;)if((m=f[h++])<128)b[p++]=m;else if(4<(g=c[m]))b[p++]=65533,h+=g-1;else{for(m&=g===2?31:g===3?15:7;1<g&&h<y;)m=m<<6|63&f[h++],g--;1<g?b[p++]=65533:m<65536?b[p++]=m:(m-=65536,b[p++]=55296|m>>10&1023,b[p++]=56320|1023&m)}return u(b,p)},i.utf8border=function(f,d){var h;for((d=d||f.length)>f.length&&(d=f.length),h=d-1;0<=h&&(192&f[h])==128;)h--;return h<0||h===0?d:h+c[f[h]]>d?h:d}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,c){for(var l=65535&o|0,u=o>>>16&65535|0,f=0;s!==0;){for(s-=f=2e3<s?2e3:s;u=u+(l=l+a[c++]|0)|0,--f;);l%=65521,u%=65521}return l|u<<16|0}},{}],44:[function(n,r,i){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,r,i){var o=function(){for(var a,s=[],c=0;c<256;c++){a=c;for(var l=0;l<8;l++)a=1&a?3988292384^a>>>1:a>>>1;s[c]=a}return s}();r.exports=function(a,s,c,l){var u=o,f=l+c;a^=-1;for(var d=l;d<f;d++)a=a>>>8^u[255&(a^s[d])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),c=n("./adler32"),l=n("./crc32"),u=n("./messages"),f=0,d=4,h=0,p=-2,m=-1,g=4,y=2,b=8,v=9,T=286,w=30,E=19,S=2*T+1,U=15,C=3,R=258,L=R+C+1,_=42,k=113,x=1,z=2,F=3,I=4;function K(D,V){return D.msg=u[V],V}function P(D){return(D<<1)-(4<D?9:0)}function te(D){for(var V=D.length;0<=--V;)D[V]=0}function W(D){var V=D.state,j=V.pending;j>D.avail_out&&(j=D.avail_out),j!==0&&(a.arraySet(D.output,V.pending_buf,V.pending_out,j,D.next_out),D.next_out+=j,V.pending_out+=j,D.total_out+=j,D.avail_out-=j,V.pending-=j,V.pending===0&&(V.pending_out=0))}function B(D,V){s._tr_flush_block(D,0<=D.block_start?D.block_start:-1,D.strstart-D.block_start,V),D.block_start=D.strstart,W(D.strm)}function oe(D,V){D.pending_buf[D.pending++]=V}function X(D,V){D.pending_buf[D.pending++]=V>>>8&255,D.pending_buf[D.pending++]=255&V}function J(D,V){var j,M,N=D.max_chain_length,$=D.strstart,ie=D.prev_length,ne=D.nice_match,Z=D.strstart>D.w_size-L?D.strstart-(D.w_size-L):0,q=D.window,G=D.w_mask,Y=D.prev,ae=D.strstart+R,xe=q[$+ie-1],Te=q[$+ie];D.prev_length>=D.good_match&&(N>>=2),ne>D.lookahead&&(ne=D.lookahead);do if(q[(j=V)+ie]===Te&&q[j+ie-1]===xe&&q[j]===q[$]&&q[++j]===q[$+1]){$+=2,j++;do;while(q[++$]===q[++j]&&q[++$]===q[++j]&&q[++$]===q[++j]&&q[++$]===q[++j]&&q[++$]===q[++j]&&q[++$]===q[++j]&&q[++$]===q[++j]&&q[++$]===q[++j]&&$<ae);if(M=R-(ae-$),$=ae-R,ie<M){if(D.match_start=V,ne<=(ie=M))break;xe=q[$+ie-1],Te=q[$+ie]}}while((V=Y[V&G])>Z&&--N!=0);return ie<=D.lookahead?ie:D.lookahead}function le(D){var V,j,M,N,$,ie,ne,Z,q,G,Y=D.w_size;do{if(N=D.window_size-D.lookahead-D.strstart,D.strstart>=Y+(Y-L)){for(a.arraySet(D.window,D.window,Y,Y,0),D.match_start-=Y,D.strstart-=Y,D.block_start-=Y,V=j=D.hash_size;M=D.head[--V],D.head[V]=Y<=M?M-Y:0,--j;);for(V=j=Y;M=D.prev[--V],D.prev[V]=Y<=M?M-Y:0,--j;);N+=Y}if(D.strm.avail_in===0)break;if(ie=D.strm,ne=D.window,Z=D.strstart+D.lookahead,q=N,G=void 0,G=ie.avail_in,q<G&&(G=q),j=G===0?0:(ie.avail_in-=G,a.arraySet(ne,ie.input,ie.next_in,G,Z),ie.state.wrap===1?ie.adler=c(ie.adler,ne,G,Z):ie.state.wrap===2&&(ie.adler=l(ie.adler,ne,G,Z)),ie.next_in+=G,ie.total_in+=G,G),D.lookahead+=j,D.lookahead+D.insert>=C)for($=D.strstart-D.insert,D.ins_h=D.window[$],D.ins_h=(D.ins_h<<D.hash_shift^D.window[$+1])&D.hash_mask;D.insert&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[$+C-1])&D.hash_mask,D.prev[$&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=$,$++,D.insert--,!(D.lookahead+D.insert<C)););}while(D.lookahead<L&&D.strm.avail_in!==0)}function he(D,V){for(var j,M;;){if(D.lookahead<L){if(le(D),D.lookahead<L&&V===f)return x;if(D.lookahead===0)break}if(j=0,D.lookahead>=C&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,j=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),j!==0&&D.strstart-j<=D.w_size-L&&(D.match_length=J(D,j)),D.match_length>=C)if(M=s._tr_tally(D,D.strstart-D.match_start,D.match_length-C),D.lookahead-=D.match_length,D.match_length<=D.max_lazy_match&&D.lookahead>=C){for(D.match_length--;D.strstart++,D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,j=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart,--D.match_length!=0;);D.strstart++}else D.strstart+=D.match_length,D.match_length=0,D.ins_h=D.window[D.strstart],D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+1])&D.hash_mask;else M=s._tr_tally(D,0,D.window[D.strstart]),D.lookahead--,D.strstart++;if(M&&(B(D,!1),D.strm.avail_out===0))return x}return D.insert=D.strstart<C-1?D.strstart:C-1,V===d?(B(D,!0),D.strm.avail_out===0?F:I):D.last_lit&&(B(D,!1),D.strm.avail_out===0)?x:z}function fe(D,V){for(var j,M,N;;){if(D.lookahead<L){if(le(D),D.lookahead<L&&V===f)return x;if(D.lookahead===0)break}if(j=0,D.lookahead>=C&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,j=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),D.prev_length=D.match_length,D.prev_match=D.match_start,D.match_length=C-1,j!==0&&D.prev_length<D.max_lazy_match&&D.strstart-j<=D.w_size-L&&(D.match_length=J(D,j),D.match_length<=5&&(D.strategy===1||D.match_length===C&&4096<D.strstart-D.match_start)&&(D.match_length=C-1)),D.prev_length>=C&&D.match_length<=D.prev_length){for(N=D.strstart+D.lookahead-C,M=s._tr_tally(D,D.strstart-1-D.prev_match,D.prev_length-C),D.lookahead-=D.prev_length-1,D.prev_length-=2;++D.strstart<=N&&(D.ins_h=(D.ins_h<<D.hash_shift^D.window[D.strstart+C-1])&D.hash_mask,j=D.prev[D.strstart&D.w_mask]=D.head[D.ins_h],D.head[D.ins_h]=D.strstart),--D.prev_length!=0;);if(D.match_available=0,D.match_length=C-1,D.strstart++,M&&(B(D,!1),D.strm.avail_out===0))return x}else if(D.match_available){if((M=s._tr_tally(D,0,D.window[D.strstart-1]))&&B(D,!1),D.strstart++,D.lookahead--,D.strm.avail_out===0)return x}else D.match_available=1,D.strstart++,D.lookahead--}return D.match_available&&(M=s._tr_tally(D,0,D.window[D.strstart-1]),D.match_available=0),D.insert=D.strstart<C-1?D.strstart:C-1,V===d?(B(D,!0),D.strm.avail_out===0?F:I):D.last_lit&&(B(D,!1),D.strm.avail_out===0)?x:z}function me(D,V,j,M,N){this.good_length=D,this.max_lazy=V,this.nice_length=j,this.max_chain=M,this.func=N}function de(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*S),this.dyn_dtree=new a.Buf16(2*(2*w+1)),this.bl_tree=new a.Buf16(2*(2*E+1)),te(this.dyn_ltree),te(this.dyn_dtree),te(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(U+1),this.heap=new a.Buf16(2*T+1),te(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*T+1),te(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ge(D){var V;return D&&D.state?(D.total_in=D.total_out=0,D.data_type=y,(V=D.state).pending=0,V.pending_out=0,V.wrap<0&&(V.wrap=-V.wrap),V.status=V.wrap?_:k,D.adler=V.wrap===2?0:1,V.last_flush=f,s._tr_init(V),h):K(D,p)}function ye(D){var V=ge(D);return V===h&&function(j){j.window_size=2*j.w_size,te(j.head),j.max_lazy_match=o[j.level].max_lazy,j.good_match=o[j.level].good_length,j.nice_match=o[j.level].nice_length,j.max_chain_length=o[j.level].max_chain,j.strstart=0,j.block_start=0,j.lookahead=0,j.insert=0,j.match_length=j.prev_length=C-1,j.match_available=0,j.ins_h=0}(D.state),V}function be(D,V,j,M,N,$){if(!D)return p;var ie=1;if(V===m&&(V=6),M<0?(ie=0,M=-M):15<M&&(ie=2,M-=16),N<1||v<N||j!==b||M<8||15<M||V<0||9<V||$<0||g<$)return K(D,p);M===8&&(M=9);var ne=new de;return(D.state=ne).strm=D,ne.wrap=ie,ne.gzhead=null,ne.w_bits=M,ne.w_size=1<<ne.w_bits,ne.w_mask=ne.w_size-1,ne.hash_bits=N+7,ne.hash_size=1<<ne.hash_bits,ne.hash_mask=ne.hash_size-1,ne.hash_shift=~~((ne.hash_bits+C-1)/C),ne.window=new a.Buf8(2*ne.w_size),ne.head=new a.Buf16(ne.hash_size),ne.prev=new a.Buf16(ne.w_size),ne.lit_bufsize=1<<N+6,ne.pending_buf_size=4*ne.lit_bufsize,ne.pending_buf=new a.Buf8(ne.pending_buf_size),ne.d_buf=1*ne.lit_bufsize,ne.l_buf=3*ne.lit_bufsize,ne.level=V,ne.strategy=$,ne.method=j,ye(D)}o=[new me(0,0,0,0,function(D,V){var j=65535;for(j>D.pending_buf_size-5&&(j=D.pending_buf_size-5);;){if(D.lookahead<=1){if(le(D),D.lookahead===0&&V===f)return x;if(D.lookahead===0)break}D.strstart+=D.lookahead,D.lookahead=0;var M=D.block_start+j;if((D.strstart===0||D.strstart>=M)&&(D.lookahead=D.strstart-M,D.strstart=M,B(D,!1),D.strm.avail_out===0)||D.strstart-D.block_start>=D.w_size-L&&(B(D,!1),D.strm.avail_out===0))return x}return D.insert=0,V===d?(B(D,!0),D.strm.avail_out===0?F:I):(D.strstart>D.block_start&&(B(D,!1),D.strm.avail_out),x)}),new me(4,4,8,4,he),new me(4,5,16,8,he),new me(4,6,32,32,he),new me(4,4,16,16,fe),new me(8,16,32,32,fe),new me(8,16,128,128,fe),new me(8,32,128,256,fe),new me(32,128,258,1024,fe),new me(32,258,258,4096,fe)],i.deflateInit=function(D,V){return be(D,V,b,15,8,0)},i.deflateInit2=be,i.deflateReset=ye,i.deflateResetKeep=ge,i.deflateSetHeader=function(D,V){return D&&D.state?D.state.wrap!==2?p:(D.state.gzhead=V,h):p},i.deflate=function(D,V){var j,M,N,$;if(!D||!D.state||5<V||V<0)return D?K(D,p):p;if(M=D.state,!D.output||!D.input&&D.avail_in!==0||M.status===666&&V!==d)return K(D,D.avail_out===0?-5:p);if(M.strm=D,j=M.last_flush,M.last_flush=V,M.status===_)if(M.wrap===2)D.adler=0,oe(M,31),oe(M,139),oe(M,8),M.gzhead?(oe(M,(M.gzhead.text?1:0)+(M.gzhead.hcrc?2:0)+(M.gzhead.extra?4:0)+(M.gzhead.name?8:0)+(M.gzhead.comment?16:0)),oe(M,255&M.gzhead.time),oe(M,M.gzhead.time>>8&255),oe(M,M.gzhead.time>>16&255),oe(M,M.gzhead.time>>24&255),oe(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),oe(M,255&M.gzhead.os),M.gzhead.extra&&M.gzhead.extra.length&&(oe(M,255&M.gzhead.extra.length),oe(M,M.gzhead.extra.length>>8&255)),M.gzhead.hcrc&&(D.adler=l(D.adler,M.pending_buf,M.pending,0)),M.gzindex=0,M.status=69):(oe(M,0),oe(M,0),oe(M,0),oe(M,0),oe(M,0),oe(M,M.level===9?2:2<=M.strategy||M.level<2?4:0),oe(M,3),M.status=k);else{var ie=b+(M.w_bits-8<<4)<<8;ie|=(2<=M.strategy||M.level<2?0:M.level<6?1:M.level===6?2:3)<<6,M.strstart!==0&&(ie|=32),ie+=31-ie%31,M.status=k,X(M,ie),M.strstart!==0&&(X(M,D.adler>>>16),X(M,65535&D.adler)),D.adler=1}if(M.status===69)if(M.gzhead.extra){for(N=M.pending;M.gzindex<(65535&M.gzhead.extra.length)&&(M.pending!==M.pending_buf_size||(M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),W(D),N=M.pending,M.pending!==M.pending_buf_size));)oe(M,255&M.gzhead.extra[M.gzindex]),M.gzindex++;M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),M.gzindex===M.gzhead.extra.length&&(M.gzindex=0,M.status=73)}else M.status=73;if(M.status===73)if(M.gzhead.name){N=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),W(D),N=M.pending,M.pending===M.pending_buf_size)){$=1;break}$=M.gzindex<M.gzhead.name.length?255&M.gzhead.name.charCodeAt(M.gzindex++):0,oe(M,$)}while($!==0);M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),$===0&&(M.gzindex=0,M.status=91)}else M.status=91;if(M.status===91)if(M.gzhead.comment){N=M.pending;do{if(M.pending===M.pending_buf_size&&(M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),W(D),N=M.pending,M.pending===M.pending_buf_size)){$=1;break}$=M.gzindex<M.gzhead.comment.length?255&M.gzhead.comment.charCodeAt(M.gzindex++):0,oe(M,$)}while($!==0);M.gzhead.hcrc&&M.pending>N&&(D.adler=l(D.adler,M.pending_buf,M.pending-N,N)),$===0&&(M.status=103)}else M.status=103;if(M.status===103&&(M.gzhead.hcrc?(M.pending+2>M.pending_buf_size&&W(D),M.pending+2<=M.pending_buf_size&&(oe(M,255&D.adler),oe(M,D.adler>>8&255),D.adler=0,M.status=k)):M.status=k),M.pending!==0){if(W(D),D.avail_out===0)return M.last_flush=-1,h}else if(D.avail_in===0&&P(V)<=P(j)&&V!==d)return K(D,-5);if(M.status===666&&D.avail_in!==0)return K(D,-5);if(D.avail_in!==0||M.lookahead!==0||V!==f&&M.status!==666){var ne=M.strategy===2?function(Z,q){for(var G;;){if(Z.lookahead===0&&(le(Z),Z.lookahead===0)){if(q===f)return x;break}if(Z.match_length=0,G=s._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++,G&&(B(Z,!1),Z.strm.avail_out===0))return x}return Z.insert=0,q===d?(B(Z,!0),Z.strm.avail_out===0?F:I):Z.last_lit&&(B(Z,!1),Z.strm.avail_out===0)?x:z}(M,V):M.strategy===3?function(Z,q){for(var G,Y,ae,xe,Te=Z.window;;){if(Z.lookahead<=R){if(le(Z),Z.lookahead<=R&&q===f)return x;if(Z.lookahead===0)break}if(Z.match_length=0,Z.lookahead>=C&&0<Z.strstart&&(Y=Te[ae=Z.strstart-1])===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]){xe=Z.strstart+R;do;while(Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&Y===Te[++ae]&&ae<xe);Z.match_length=R-(xe-ae),Z.match_length>Z.lookahead&&(Z.match_length=Z.lookahead)}if(Z.match_length>=C?(G=s._tr_tally(Z,1,Z.match_length-C),Z.lookahead-=Z.match_length,Z.strstart+=Z.match_length,Z.match_length=0):(G=s._tr_tally(Z,0,Z.window[Z.strstart]),Z.lookahead--,Z.strstart++),G&&(B(Z,!1),Z.strm.avail_out===0))return x}return Z.insert=0,q===d?(B(Z,!0),Z.strm.avail_out===0?F:I):Z.last_lit&&(B(Z,!1),Z.strm.avail_out===0)?x:z}(M,V):o[M.level].func(M,V);if(ne!==F&&ne!==I||(M.status=666),ne===x||ne===F)return D.avail_out===0&&(M.last_flush=-1),h;if(ne===z&&(V===1?s._tr_align(M):V!==5&&(s._tr_stored_block(M,0,0,!1),V===3&&(te(M.head),M.lookahead===0&&(M.strstart=0,M.block_start=0,M.insert=0))),W(D),D.avail_out===0))return M.last_flush=-1,h}return V!==d?h:M.wrap<=0?1:(M.wrap===2?(oe(M,255&D.adler),oe(M,D.adler>>8&255),oe(M,D.adler>>16&255),oe(M,D.adler>>24&255),oe(M,255&D.total_in),oe(M,D.total_in>>8&255),oe(M,D.total_in>>16&255),oe(M,D.total_in>>24&255)):(X(M,D.adler>>>16),X(M,65535&D.adler)),W(D),0<M.wrap&&(M.wrap=-M.wrap),M.pending!==0?h:1)},i.deflateEnd=function(D){var V;return D&&D.state?(V=D.state.status)!==_&&V!==69&&V!==73&&V!==91&&V!==103&&V!==k&&V!==666?K(D,p):(D.state=null,V===k?K(D,-3):h):p},i.deflateSetDictionary=function(D,V){var j,M,N,$,ie,ne,Z,q,G=V.length;if(!D||!D.state||($=(j=D.state).wrap)===2||$===1&&j.status!==_||j.lookahead)return p;for($===1&&(D.adler=c(D.adler,V,G,0)),j.wrap=0,G>=j.w_size&&($===0&&(te(j.head),j.strstart=0,j.block_start=0,j.insert=0),q=new a.Buf8(j.w_size),a.arraySet(q,V,G-j.w_size,j.w_size,0),V=q,G=j.w_size),ie=D.avail_in,ne=D.next_in,Z=D.input,D.avail_in=G,D.next_in=0,D.input=V,le(j);j.lookahead>=C;){for(M=j.strstart,N=j.lookahead-(C-1);j.ins_h=(j.ins_h<<j.hash_shift^j.window[M+C-1])&j.hash_mask,j.prev[M&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=M,M++,--N;);j.strstart=M,j.lookahead=C-1,le(j)}return j.strstart+=j.lookahead,j.block_start=j.strstart,j.insert=j.lookahead,j.lookahead=0,j.match_length=j.prev_length=C-1,j.match_available=0,D.next_in=ne,D.input=Z,D.avail_in=ie,j.wrap=$,h},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,r,i){r.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,r,i){r.exports=function(o,a){var s,c,l,u,f,d,h,p,m,g,y,b,v,T,w,E,S,U,C,R,L,_,k,x,z;s=o.state,c=o.next_in,x=o.input,l=c+(o.avail_in-5),u=o.next_out,z=o.output,f=u-(a-o.avail_out),d=u+(o.avail_out-257),h=s.dmax,p=s.wsize,m=s.whave,g=s.wnext,y=s.window,b=s.hold,v=s.bits,T=s.lencode,w=s.distcode,E=(1<<s.lenbits)-1,S=(1<<s.distbits)-1;e:do{v<15&&(b+=x[c++]<<v,v+=8,b+=x[c++]<<v,v+=8),U=T[b&E];t:for(;;){if(b>>>=C=U>>>24,v-=C,(C=U>>>16&255)===0)z[u++]=65535&U;else{if(!(16&C)){if((64&C)==0){U=T[(65535&U)+(b&(1<<C)-1)];continue t}if(32&C){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}R=65535&U,(C&=15)&&(v<C&&(b+=x[c++]<<v,v+=8),R+=b&(1<<C)-1,b>>>=C,v-=C),v<15&&(b+=x[c++]<<v,v+=8,b+=x[c++]<<v,v+=8),U=w[b&S];n:for(;;){if(b>>>=C=U>>>24,v-=C,!(16&(C=U>>>16&255))){if((64&C)==0){U=w[(65535&U)+(b&(1<<C)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(L=65535&U,v<(C&=15)&&(b+=x[c++]<<v,(v+=8)<C&&(b+=x[c++]<<v,v+=8)),h<(L+=b&(1<<C)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(b>>>=C,v-=C,(C=u-f)<L){if(m<(C=L-C)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(k=y,(_=0)===g){if(_+=p-C,C<R){for(R-=C;z[u++]=y[_++],--C;);_=u-L,k=z}}else if(g<C){if(_+=p+g-C,(C-=g)<R){for(R-=C;z[u++]=y[_++],--C;);if(_=0,g<R){for(R-=C=g;z[u++]=y[_++],--C;);_=u-L,k=z}}}else if(_+=g-C,C<R){for(R-=C;z[u++]=y[_++],--C;);_=u-L,k=z}for(;2<R;)z[u++]=k[_++],z[u++]=k[_++],z[u++]=k[_++],R-=3;R&&(z[u++]=k[_++],1<R&&(z[u++]=k[_++]))}else{for(_=u-L;z[u++]=z[_++],z[u++]=z[_++],z[u++]=z[_++],2<(R-=3););R&&(z[u++]=z[_++],1<R&&(z[u++]=z[_++]))}break}}break}}while(c<l&&u<d);c-=R=v>>3,b&=(1<<(v-=R<<3))-1,o.next_in=c,o.next_out=u,o.avail_in=c<l?l-c+5:5-(c-l),o.avail_out=u<d?d-u+257:257-(u-d),s.hold=b,s.bits=v}},{}],49:[function(n,r,i){var o=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),c=n("./inffast"),l=n("./inftrees"),u=1,f=2,d=0,h=-2,p=1,m=852,g=592;function y(_){return(_>>>24&255)+(_>>>8&65280)+((65280&_)<<8)+((255&_)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new o.Buf16(320),this.work=new o.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(_){var k;return _&&_.state?(k=_.state,_.total_in=_.total_out=k.total=0,_.msg="",k.wrap&&(_.adler=1&k.wrap),k.mode=p,k.last=0,k.havedict=0,k.dmax=32768,k.head=null,k.hold=0,k.bits=0,k.lencode=k.lendyn=new o.Buf32(m),k.distcode=k.distdyn=new o.Buf32(g),k.sane=1,k.back=-1,d):h}function T(_){var k;return _&&_.state?((k=_.state).wsize=0,k.whave=0,k.wnext=0,v(_)):h}function w(_,k){var x,z;return _&&_.state?(z=_.state,k<0?(x=0,k=-k):(x=1+(k>>4),k<48&&(k&=15)),k&&(k<8||15<k)?h:(z.window!==null&&z.wbits!==k&&(z.window=null),z.wrap=x,z.wbits=k,T(_))):h}function E(_,k){var x,z;return _?(z=new b,(_.state=z).window=null,(x=w(_,k))!==d&&(_.state=null),x):h}var S,U,C=!0;function R(_){if(C){var k;for(S=new o.Buf32(512),U=new o.Buf32(32),k=0;k<144;)_.lens[k++]=8;for(;k<256;)_.lens[k++]=9;for(;k<280;)_.lens[k++]=7;for(;k<288;)_.lens[k++]=8;for(l(u,_.lens,0,288,S,0,_.work,{bits:9}),k=0;k<32;)_.lens[k++]=5;l(f,_.lens,0,32,U,0,_.work,{bits:5}),C=!1}_.lencode=S,_.lenbits=9,_.distcode=U,_.distbits=5}function L(_,k,x,z){var F,I=_.state;return I.window===null&&(I.wsize=1<<I.wbits,I.wnext=0,I.whave=0,I.window=new o.Buf8(I.wsize)),z>=I.wsize?(o.arraySet(I.window,k,x-I.wsize,I.wsize,0),I.wnext=0,I.whave=I.wsize):(z<(F=I.wsize-I.wnext)&&(F=z),o.arraySet(I.window,k,x-z,F,I.wnext),(z-=F)?(o.arraySet(I.window,k,x-z,z,0),I.wnext=z,I.whave=I.wsize):(I.wnext+=F,I.wnext===I.wsize&&(I.wnext=0),I.whave<I.wsize&&(I.whave+=F))),0}i.inflateReset=T,i.inflateReset2=w,i.inflateResetKeep=v,i.inflateInit=function(_){return E(_,15)},i.inflateInit2=E,i.inflate=function(_,k){var x,z,F,I,K,P,te,W,B,oe,X,J,le,he,fe,me,de,ge,ye,be,D,V,j,M,N=0,$=new o.Buf8(4),ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!_||!_.state||!_.output||!_.input&&_.avail_in!==0)return h;(x=_.state).mode===12&&(x.mode=13),K=_.next_out,F=_.output,te=_.avail_out,I=_.next_in,z=_.input,P=_.avail_in,W=x.hold,B=x.bits,oe=P,X=te,V=d;e:for(;;)switch(x.mode){case p:if(x.wrap===0){x.mode=13;break}for(;B<16;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(2&x.wrap&&W===35615){$[x.check=0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0),B=W=0,x.mode=2;break}if(x.flags=0,x.head&&(x.head.done=!1),!(1&x.wrap)||(((255&W)<<8)+(W>>8))%31){_.msg="incorrect header check",x.mode=30;break}if((15&W)!=8){_.msg="unknown compression method",x.mode=30;break}if(B-=4,D=8+(15&(W>>>=4)),x.wbits===0)x.wbits=D;else if(D>x.wbits){_.msg="invalid window size",x.mode=30;break}x.dmax=1<<D,_.adler=x.check=1,x.mode=512&W?10:12,B=W=0;break;case 2:for(;B<16;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(x.flags=W,(255&x.flags)!=8){_.msg="unknown compression method",x.mode=30;break}if(57344&x.flags){_.msg="unknown header flags set",x.mode=30;break}x.head&&(x.head.text=W>>8&1),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0)),B=W=0,x.mode=3;case 3:for(;B<32;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}x.head&&(x.head.time=W),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,$[2]=W>>>16&255,$[3]=W>>>24&255,x.check=s(x.check,$,4,0)),B=W=0,x.mode=4;case 4:for(;B<16;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}x.head&&(x.head.xflags=255&W,x.head.os=W>>8),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0)),B=W=0,x.mode=5;case 5:if(1024&x.flags){for(;B<16;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}x.length=W,x.head&&(x.head.extra_len=W),512&x.flags&&($[0]=255&W,$[1]=W>>>8&255,x.check=s(x.check,$,2,0)),B=W=0}else x.head&&(x.head.extra=null);x.mode=6;case 6:if(1024&x.flags&&(P<(J=x.length)&&(J=P),J&&(x.head&&(D=x.head.extra_len-x.length,x.head.extra||(x.head.extra=new Array(x.head.extra_len)),o.arraySet(x.head.extra,z,I,J,D)),512&x.flags&&(x.check=s(x.check,z,J,I)),P-=J,I+=J,x.length-=J),x.length))break e;x.length=0,x.mode=7;case 7:if(2048&x.flags){if(P===0)break e;for(J=0;D=z[I+J++],x.head&&D&&x.length<65536&&(x.head.name+=String.fromCharCode(D)),D&&J<P;);if(512&x.flags&&(x.check=s(x.check,z,J,I)),P-=J,I+=J,D)break e}else x.head&&(x.head.name=null);x.length=0,x.mode=8;case 8:if(4096&x.flags){if(P===0)break e;for(J=0;D=z[I+J++],x.head&&D&&x.length<65536&&(x.head.comment+=String.fromCharCode(D)),D&&J<P;);if(512&x.flags&&(x.check=s(x.check,z,J,I)),P-=J,I+=J,D)break e}else x.head&&(x.head.comment=null);x.mode=9;case 9:if(512&x.flags){for(;B<16;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(W!==(65535&x.check)){_.msg="header crc mismatch",x.mode=30;break}B=W=0}x.head&&(x.head.hcrc=x.flags>>9&1,x.head.done=!0),_.adler=x.check=0,x.mode=12;break;case 10:for(;B<32;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}_.adler=x.check=y(W),B=W=0,x.mode=11;case 11:if(x.havedict===0)return _.next_out=K,_.avail_out=te,_.next_in=I,_.avail_in=P,x.hold=W,x.bits=B,2;_.adler=x.check=1,x.mode=12;case 12:if(k===5||k===6)break e;case 13:if(x.last){W>>>=7&B,B-=7&B,x.mode=27;break}for(;B<3;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}switch(x.last=1&W,B-=1,3&(W>>>=1)){case 0:x.mode=14;break;case 1:if(R(x),x.mode=20,k!==6)break;W>>>=2,B-=2;break e;case 2:x.mode=17;break;case 3:_.msg="invalid block type",x.mode=30}W>>>=2,B-=2;break;case 14:for(W>>>=7&B,B-=7&B;B<32;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if((65535&W)!=(W>>>16^65535)){_.msg="invalid stored block lengths",x.mode=30;break}if(x.length=65535&W,B=W=0,x.mode=15,k===6)break e;case 15:x.mode=16;case 16:if(J=x.length){if(P<J&&(J=P),te<J&&(J=te),J===0)break e;o.arraySet(F,z,I,J,K),P-=J,I+=J,te-=J,K+=J,x.length-=J;break}x.mode=12;break;case 17:for(;B<14;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(x.nlen=257+(31&W),W>>>=5,B-=5,x.ndist=1+(31&W),W>>>=5,B-=5,x.ncode=4+(15&W),W>>>=4,B-=4,286<x.nlen||30<x.ndist){_.msg="too many length or distance symbols",x.mode=30;break}x.have=0,x.mode=18;case 18:for(;x.have<x.ncode;){for(;B<3;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}x.lens[ie[x.have++]]=7&W,W>>>=3,B-=3}for(;x.have<19;)x.lens[ie[x.have++]]=0;if(x.lencode=x.lendyn,x.lenbits=7,j={bits:x.lenbits},V=l(0,x.lens,0,19,x.lencode,0,x.work,j),x.lenbits=j.bits,V){_.msg="invalid code lengths set",x.mode=30;break}x.have=0,x.mode=19;case 19:for(;x.have<x.nlen+x.ndist;){for(;me=(N=x.lencode[W&(1<<x.lenbits)-1])>>>16&255,de=65535&N,!((fe=N>>>24)<=B);){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(de<16)W>>>=fe,B-=fe,x.lens[x.have++]=de;else{if(de===16){for(M=fe+2;B<M;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(W>>>=fe,B-=fe,x.have===0){_.msg="invalid bit length repeat",x.mode=30;break}D=x.lens[x.have-1],J=3+(3&W),W>>>=2,B-=2}else if(de===17){for(M=fe+3;B<M;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}B-=fe,D=0,J=3+(7&(W>>>=fe)),W>>>=3,B-=3}else{for(M=fe+7;B<M;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}B-=fe,D=0,J=11+(127&(W>>>=fe)),W>>>=7,B-=7}if(x.have+J>x.nlen+x.ndist){_.msg="invalid bit length repeat",x.mode=30;break}for(;J--;)x.lens[x.have++]=D}}if(x.mode===30)break;if(x.lens[256]===0){_.msg="invalid code -- missing end-of-block",x.mode=30;break}if(x.lenbits=9,j={bits:x.lenbits},V=l(u,x.lens,0,x.nlen,x.lencode,0,x.work,j),x.lenbits=j.bits,V){_.msg="invalid literal/lengths set",x.mode=30;break}if(x.distbits=6,x.distcode=x.distdyn,j={bits:x.distbits},V=l(f,x.lens,x.nlen,x.ndist,x.distcode,0,x.work,j),x.distbits=j.bits,V){_.msg="invalid distances set",x.mode=30;break}if(x.mode=20,k===6)break e;case 20:x.mode=21;case 21:if(6<=P&&258<=te){_.next_out=K,_.avail_out=te,_.next_in=I,_.avail_in=P,x.hold=W,x.bits=B,c(_,X),K=_.next_out,F=_.output,te=_.avail_out,I=_.next_in,z=_.input,P=_.avail_in,W=x.hold,B=x.bits,x.mode===12&&(x.back=-1);break}for(x.back=0;me=(N=x.lencode[W&(1<<x.lenbits)-1])>>>16&255,de=65535&N,!((fe=N>>>24)<=B);){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(me&&(240&me)==0){for(ge=fe,ye=me,be=de;me=(N=x.lencode[be+((W&(1<<ge+ye)-1)>>ge)])>>>16&255,de=65535&N,!(ge+(fe=N>>>24)<=B);){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}W>>>=ge,B-=ge,x.back+=ge}if(W>>>=fe,B-=fe,x.back+=fe,x.length=de,me===0){x.mode=26;break}if(32&me){x.back=-1,x.mode=12;break}if(64&me){_.msg="invalid literal/length code",x.mode=30;break}x.extra=15&me,x.mode=22;case 22:if(x.extra){for(M=x.extra;B<M;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}x.length+=W&(1<<x.extra)-1,W>>>=x.extra,B-=x.extra,x.back+=x.extra}x.was=x.length,x.mode=23;case 23:for(;me=(N=x.distcode[W&(1<<x.distbits)-1])>>>16&255,de=65535&N,!((fe=N>>>24)<=B);){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if((240&me)==0){for(ge=fe,ye=me,be=de;me=(N=x.distcode[be+((W&(1<<ge+ye)-1)>>ge)])>>>16&255,de=65535&N,!(ge+(fe=N>>>24)<=B);){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}W>>>=ge,B-=ge,x.back+=ge}if(W>>>=fe,B-=fe,x.back+=fe,64&me){_.msg="invalid distance code",x.mode=30;break}x.offset=de,x.extra=15&me,x.mode=24;case 24:if(x.extra){for(M=x.extra;B<M;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}x.offset+=W&(1<<x.extra)-1,W>>>=x.extra,B-=x.extra,x.back+=x.extra}if(x.offset>x.dmax){_.msg="invalid distance too far back",x.mode=30;break}x.mode=25;case 25:if(te===0)break e;if(J=X-te,x.offset>J){if((J=x.offset-J)>x.whave&&x.sane){_.msg="invalid distance too far back",x.mode=30;break}le=J>x.wnext?(J-=x.wnext,x.wsize-J):x.wnext-J,J>x.length&&(J=x.length),he=x.window}else he=F,le=K-x.offset,J=x.length;for(te<J&&(J=te),te-=J,x.length-=J;F[K++]=he[le++],--J;);x.length===0&&(x.mode=21);break;case 26:if(te===0)break e;F[K++]=x.length,te--,x.mode=21;break;case 27:if(x.wrap){for(;B<32;){if(P===0)break e;P--,W|=z[I++]<<B,B+=8}if(X-=te,_.total_out+=X,x.total+=X,X&&(_.adler=x.check=x.flags?s(x.check,F,X,K-X):a(x.check,F,X,K-X)),X=te,(x.flags?W:y(W))!==x.check){_.msg="incorrect data check",x.mode=30;break}B=W=0}x.mode=28;case 28:if(x.wrap&&x.flags){for(;B<32;){if(P===0)break e;P--,W+=z[I++]<<B,B+=8}if(W!==(4294967295&x.total)){_.msg="incorrect length check",x.mode=30;break}B=W=0}x.mode=29;case 29:V=1;break e;case 30:V=-3;break e;case 31:return-4;case 32:default:return h}return _.next_out=K,_.avail_out=te,_.next_in=I,_.avail_in=P,x.hold=W,x.bits=B,(x.wsize||X!==_.avail_out&&x.mode<30&&(x.mode<27||k!==4))&&L(_,_.output,_.next_out,X-_.avail_out)?(x.mode=31,-4):(oe-=_.avail_in,X-=_.avail_out,_.total_in+=oe,_.total_out+=X,x.total+=X,x.wrap&&X&&(_.adler=x.check=x.flags?s(x.check,F,X,_.next_out-X):a(x.check,F,X,_.next_out-X)),_.data_type=x.bits+(x.last?64:0)+(x.mode===12?128:0)+(x.mode===20||x.mode===15?256:0),(oe==0&&X===0||k===4)&&V===d&&(V=-5),V)},i.inflateEnd=function(_){if(!_||!_.state)return h;var k=_.state;return k.window&&(k.window=null),_.state=null,d},i.inflateGetHeader=function(_,k){var x;return _&&_.state?(2&(x=_.state).wrap)==0?h:((x.head=k).done=!1,d):h},i.inflateSetDictionary=function(_,k){var x,z=k.length;return _&&_.state?(x=_.state).wrap!==0&&x.mode!==11?h:x.mode===11&&a(1,k,z,0)!==x.check?-3:L(_,k,z,z)?(x.mode=31,-4):(x.havedict=1,d):h},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,r,i){var o=n("../utils/common"),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],c=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function(u,f,d,h,p,m,g,y){var b,v,T,w,E,S,U,C,R,L=y.bits,_=0,k=0,x=0,z=0,F=0,I=0,K=0,P=0,te=0,W=0,B=null,oe=0,X=new o.Buf16(16),J=new o.Buf16(16),le=null,he=0;for(_=0;_<=15;_++)X[_]=0;for(k=0;k<h;k++)X[f[d+k]]++;for(F=L,z=15;1<=z&&X[z]===0;z--);if(z<F&&(F=z),z===0)return p[m++]=20971520,p[m++]=20971520,y.bits=1,0;for(x=1;x<z&&X[x]===0;x++);for(F<x&&(F=x),_=P=1;_<=15;_++)if(P<<=1,(P-=X[_])<0)return-1;if(0<P&&(u===0||z!==1))return-1;for(J[1]=0,_=1;_<15;_++)J[_+1]=J[_]+X[_];for(k=0;k<h;k++)f[d+k]!==0&&(g[J[f[d+k]]++]=k);if(S=u===0?(B=le=g,19):u===1?(B=a,oe-=257,le=s,he-=257,256):(B=c,le=l,-1),_=x,E=m,K=k=W=0,T=-1,w=(te=1<<(I=F))-1,u===1&&852<te||u===2&&592<te)return 1;for(;;){for(U=_-K,R=g[k]<S?(C=0,g[k]):g[k]>S?(C=le[he+g[k]],B[oe+g[k]]):(C=96,0),b=1<<_-K,x=v=1<<I;p[E+(W>>K)+(v-=b)]=U<<24|C<<16|R|0,v!==0;);for(b=1<<_-1;W&b;)b>>=1;if(b!==0?(W&=b-1,W+=b):W=0,k++,--X[_]==0){if(_===z)break;_=f[d+g[k]]}if(F<_&&(W&w)!==T){for(K===0&&(K=F),E+=x,P=1<<(I=_-K);I+K<z&&!((P-=X[I+K])<=0);)I++,P<<=1;if(te+=1<<I,u===1&&852<te||u===2&&592<te)return 1;p[T=W&w]=F<<24|I<<16|E-m|0}}return W!==0&&(p[E+W]=_-K<<24|64<<16|0),y.bits=F,0}},{"../utils/common":41}],51:[function(n,r,i){r.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,r,i){var o=n("../utils/common"),a=0,s=1;function c(N){for(var $=N.length;0<=--$;)N[$]=0}var l=0,u=29,f=256,d=f+1+u,h=30,p=19,m=2*d+1,g=15,y=16,b=7,v=256,T=16,w=17,E=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],U=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],L=new Array(2*(d+2));c(L);var _=new Array(2*h);c(_);var k=new Array(512);c(k);var x=new Array(256);c(x);var z=new Array(u);c(z);var F,I,K,P=new Array(h);function te(N,$,ie,ne,Z){this.static_tree=N,this.extra_bits=$,this.extra_base=ie,this.elems=ne,this.max_length=Z,this.has_stree=N&&N.length}function W(N,$){this.dyn_tree=N,this.max_code=0,this.stat_desc=$}function B(N){return N<256?k[N]:k[256+(N>>>7)]}function oe(N,$){N.pending_buf[N.pending++]=255&$,N.pending_buf[N.pending++]=$>>>8&255}function X(N,$,ie){N.bi_valid>y-ie?(N.bi_buf|=$<<N.bi_valid&65535,oe(N,N.bi_buf),N.bi_buf=$>>y-N.bi_valid,N.bi_valid+=ie-y):(N.bi_buf|=$<<N.bi_valid&65535,N.bi_valid+=ie)}function J(N,$,ie){X(N,ie[2*$],ie[2*$+1])}function le(N,$){for(var ie=0;ie|=1&N,N>>>=1,ie<<=1,0<--$;);return ie>>>1}function he(N,$,ie){var ne,Z,q=new Array(g+1),G=0;for(ne=1;ne<=g;ne++)q[ne]=G=G+ie[ne-1]<<1;for(Z=0;Z<=$;Z++){var Y=N[2*Z+1];Y!==0&&(N[2*Z]=le(q[Y]++,Y))}}function fe(N){var $;for($=0;$<d;$++)N.dyn_ltree[2*$]=0;for($=0;$<h;$++)N.dyn_dtree[2*$]=0;for($=0;$<p;$++)N.bl_tree[2*$]=0;N.dyn_ltree[2*v]=1,N.opt_len=N.static_len=0,N.last_lit=N.matches=0}function me(N){8<N.bi_valid?oe(N,N.bi_buf):0<N.bi_valid&&(N.pending_buf[N.pending++]=N.bi_buf),N.bi_buf=0,N.bi_valid=0}function de(N,$,ie,ne){var Z=2*$,q=2*ie;return N[Z]<N[q]||N[Z]===N[q]&&ne[$]<=ne[ie]}function ge(N,$,ie){for(var ne=N.heap[ie],Z=ie<<1;Z<=N.heap_len&&(Z<N.heap_len&&de($,N.heap[Z+1],N.heap[Z],N.depth)&&Z++,!de($,ne,N.heap[Z],N.depth));)N.heap[ie]=N.heap[Z],ie=Z,Z<<=1;N.heap[ie]=ne}function ye(N,$,ie){var ne,Z,q,G,Y=0;if(N.last_lit!==0)for(;ne=N.pending_buf[N.d_buf+2*Y]<<8|N.pending_buf[N.d_buf+2*Y+1],Z=N.pending_buf[N.l_buf+Y],Y++,ne===0?J(N,Z,$):(J(N,(q=x[Z])+f+1,$),(G=S[q])!==0&&X(N,Z-=z[q],G),J(N,q=B(--ne),ie),(G=U[q])!==0&&X(N,ne-=P[q],G)),Y<N.last_lit;);J(N,v,$)}function be(N,$){var ie,ne,Z,q=$.dyn_tree,G=$.stat_desc.static_tree,Y=$.stat_desc.has_stree,ae=$.stat_desc.elems,xe=-1;for(N.heap_len=0,N.heap_max=m,ie=0;ie<ae;ie++)q[2*ie]!==0?(N.heap[++N.heap_len]=xe=ie,N.depth[ie]=0):q[2*ie+1]=0;for(;N.heap_len<2;)q[2*(Z=N.heap[++N.heap_len]=xe<2?++xe:0)]=1,N.depth[Z]=0,N.opt_len--,Y&&(N.static_len-=G[2*Z+1]);for($.max_code=xe,ie=N.heap_len>>1;1<=ie;ie--)ge(N,q,ie);for(Z=ae;ie=N.heap[1],N.heap[1]=N.heap[N.heap_len--],ge(N,q,1),ne=N.heap[1],N.heap[--N.heap_max]=ie,N.heap[--N.heap_max]=ne,q[2*Z]=q[2*ie]+q[2*ne],N.depth[Z]=(N.depth[ie]>=N.depth[ne]?N.depth[ie]:N.depth[ne])+1,q[2*ie+1]=q[2*ne+1]=Z,N.heap[1]=Z++,ge(N,q,1),2<=N.heap_len;);N.heap[--N.heap_max]=N.heap[1],function(Te,Se){var Ce,ee,ue,ve,Ee,ke,Q=Se.dyn_tree,re=Se.max_code,Oe=Se.stat_desc.static_tree,Ie=Se.stat_desc.has_stree,Pe=Se.stat_desc.extra_bits,A=Se.stat_desc.extra_base,O=Se.stat_desc.max_length,H=0;for(ve=0;ve<=g;ve++)Te.bl_count[ve]=0;for(Q[2*Te.heap[Te.heap_max]+1]=0,Ce=Te.heap_max+1;Ce<m;Ce++)O<(ve=Q[2*Q[2*(ee=Te.heap[Ce])+1]+1]+1)&&(ve=O,H++),Q[2*ee+1]=ve,re<ee||(Te.bl_count[ve]++,Ee=0,A<=ee&&(Ee=Pe[ee-A]),ke=Q[2*ee],Te.opt_len+=ke*(ve+Ee),Ie&&(Te.static_len+=ke*(Oe[2*ee+1]+Ee)));if(H!==0){do{for(ve=O-1;Te.bl_count[ve]===0;)ve--;Te.bl_count[ve]--,Te.bl_count[ve+1]+=2,Te.bl_count[O]--,H-=2}while(0<H);for(ve=O;ve!==0;ve--)for(ee=Te.bl_count[ve];ee!==0;)re<(ue=Te.heap[--Ce])||(Q[2*ue+1]!==ve&&(Te.opt_len+=(ve-Q[2*ue+1])*Q[2*ue],Q[2*ue+1]=ve),ee--)}}(N,$),he(q,xe,N.bl_count)}function D(N,$,ie){var ne,Z,q=-1,G=$[1],Y=0,ae=7,xe=4;for(G===0&&(ae=138,xe=3),$[2*(ie+1)+1]=65535,ne=0;ne<=ie;ne++)Z=G,G=$[2*(ne+1)+1],++Y<ae&&Z===G||(Y<xe?N.bl_tree[2*Z]+=Y:Z!==0?(Z!==q&&N.bl_tree[2*Z]++,N.bl_tree[2*T]++):Y<=10?N.bl_tree[2*w]++:N.bl_tree[2*E]++,q=Z,xe=(Y=0)===G?(ae=138,3):Z===G?(ae=6,3):(ae=7,4))}function V(N,$,ie){var ne,Z,q=-1,G=$[1],Y=0,ae=7,xe=4;for(G===0&&(ae=138,xe=3),ne=0;ne<=ie;ne++)if(Z=G,G=$[2*(ne+1)+1],!(++Y<ae&&Z===G)){if(Y<xe)for(;J(N,Z,N.bl_tree),--Y!=0;);else Z!==0?(Z!==q&&(J(N,Z,N.bl_tree),Y--),J(N,T,N.bl_tree),X(N,Y-3,2)):Y<=10?(J(N,w,N.bl_tree),X(N,Y-3,3)):(J(N,E,N.bl_tree),X(N,Y-11,7));q=Z,xe=(Y=0)===G?(ae=138,3):Z===G?(ae=6,3):(ae=7,4)}}c(P);var j=!1;function M(N,$,ie,ne){X(N,(l<<1)+(ne?1:0),3),function(Z,q,G,Y){me(Z),oe(Z,G),oe(Z,~G),o.arraySet(Z.pending_buf,Z.window,q,G,Z.pending),Z.pending+=G}(N,$,ie)}i._tr_init=function(N){j||(function(){var $,ie,ne,Z,q,G=new Array(g+1);for(Z=ne=0;Z<u-1;Z++)for(z[Z]=ne,$=0;$<1<<S[Z];$++)x[ne++]=Z;for(x[ne-1]=Z,Z=q=0;Z<16;Z++)for(P[Z]=q,$=0;$<1<<U[Z];$++)k[q++]=Z;for(q>>=7;Z<h;Z++)for(P[Z]=q<<7,$=0;$<1<<U[Z]-7;$++)k[256+q++]=Z;for(ie=0;ie<=g;ie++)G[ie]=0;for($=0;$<=143;)L[2*$+1]=8,$++,G[8]++;for(;$<=255;)L[2*$+1]=9,$++,G[9]++;for(;$<=279;)L[2*$+1]=7,$++,G[7]++;for(;$<=287;)L[2*$+1]=8,$++,G[8]++;for(he(L,d+1,G),$=0;$<h;$++)_[2*$+1]=5,_[2*$]=le($,5);F=new te(L,S,f+1,d,g),I=new te(_,U,0,h,g),K=new te(new Array(0),C,0,p,b)}(),j=!0),N.l_desc=new W(N.dyn_ltree,F),N.d_desc=new W(N.dyn_dtree,I),N.bl_desc=new W(N.bl_tree,K),N.bi_buf=0,N.bi_valid=0,fe(N)},i._tr_stored_block=M,i._tr_flush_block=function(N,$,ie,ne){var Z,q,G=0;0<N.level?(N.strm.data_type===2&&(N.strm.data_type=function(Y){var ae,xe=4093624447;for(ae=0;ae<=31;ae++,xe>>>=1)if(1&xe&&Y.dyn_ltree[2*ae]!==0)return a;if(Y.dyn_ltree[18]!==0||Y.dyn_ltree[20]!==0||Y.dyn_ltree[26]!==0)return s;for(ae=32;ae<f;ae++)if(Y.dyn_ltree[2*ae]!==0)return s;return a}(N)),be(N,N.l_desc),be(N,N.d_desc),G=function(Y){var ae;for(D(Y,Y.dyn_ltree,Y.l_desc.max_code),D(Y,Y.dyn_dtree,Y.d_desc.max_code),be(Y,Y.bl_desc),ae=p-1;3<=ae&&Y.bl_tree[2*R[ae]+1]===0;ae--);return Y.opt_len+=3*(ae+1)+5+5+4,ae}(N),Z=N.opt_len+3+7>>>3,(q=N.static_len+3+7>>>3)<=Z&&(Z=q)):Z=q=ie+5,ie+4<=Z&&$!==-1?M(N,$,ie,ne):N.strategy===4||q===Z?(X(N,2+(ne?1:0),3),ye(N,L,_)):(X(N,4+(ne?1:0),3),function(Y,ae,xe,Te){var Se;for(X(Y,ae-257,5),X(Y,xe-1,5),X(Y,Te-4,4),Se=0;Se<Te;Se++)X(Y,Y.bl_tree[2*R[Se]+1],3);V(Y,Y.dyn_ltree,ae-1),V(Y,Y.dyn_dtree,xe-1)}(N,N.l_desc.max_code+1,N.d_desc.max_code+1,G+1),ye(N,N.dyn_ltree,N.dyn_dtree)),fe(N),ne&&me(N)},i._tr_tally=function(N,$,ie){return N.pending_buf[N.d_buf+2*N.last_lit]=$>>>8&255,N.pending_buf[N.d_buf+2*N.last_lit+1]=255&$,N.pending_buf[N.l_buf+N.last_lit]=255&ie,N.last_lit++,$===0?N.dyn_ltree[2*ie]++:(N.matches++,$--,N.dyn_ltree[2*(x[ie]+f+1)]++,N.dyn_dtree[2*B($)]++),N.last_lit===N.lit_bufsize-1},i._tr_align=function(N){X(N,2,3),J(N,v,L),function($){$.bi_valid===16?(oe($,$.bi_buf),$.bi_buf=0,$.bi_valid=0):8<=$.bi_valid&&($.pending_buf[$.pending++]=255&$.bi_buf,$.bi_buf>>=8,$.bi_valid-=8)}(N)}},{"../utils/common":41}],53:[function(n,r,i){r.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,r,i){(function(o){(function(a,s){if(!a.setImmediate){var c,l,u,f,d=1,h={},p=!1,m=a.document,g=Object.getPrototypeOf&&Object.getPrototypeOf(a);g=g&&g.setTimeout?g:a,c={}.toString.call(a.process)==="[object process]"?function(T){process.nextTick(function(){b(T)})}:function(){if(a.postMessage&&!a.importScripts){var T=!0,w=a.onmessage;return a.onmessage=function(){T=!1},a.postMessage("","*"),a.onmessage=w,T}}()?(f="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",v,!1):a.attachEvent("onmessage",v),function(T){a.postMessage(f+T,"*")}):a.MessageChannel?((u=new MessageChannel).port1.onmessage=function(T){b(T.data)},function(T){u.port2.postMessage(T)}):m&&"onreadystatechange"in m.createElement("script")?(l=m.documentElement,function(T){var w=m.createElement("script");w.onreadystatechange=function(){b(T),w.onreadystatechange=null,l.removeChild(w),w=null},l.appendChild(w)}):function(T){setTimeout(b,0,T)},g.setImmediate=function(T){typeof T!="function"&&(T=new Function(""+T));for(var w=new Array(arguments.length-1),E=0;E<w.length;E++)w[E]=arguments[E+1];var S={callback:T,args:w};return h[d]=S,c(d),d++},g.clearImmediate=y}function y(T){delete h[T]}function b(T){if(p)setTimeout(b,0,T);else{var w=h[T];if(w){p=!0;try{(function(E){var S=E.callback,U=E.args;switch(U.length){case 0:S();break;case 1:S(U[0]);break;case 2:S(U[0],U[1]);break;case 3:S(U[0],U[1],U[2]);break;default:S.apply(s,U)}})(w)}finally{y(T),p=!1}}}}function v(T){T.source===a&&typeof T.data=="string"&&T.data.indexOf(f)===0&&b(+T.data.slice(f.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof Xt<"u"?Xt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}(xf)),xf.exports}var wb;function Mw(){if(wb)return ji;wb=1;var t=RF(),e=NF();ji.openArrayBuffer=n,ji.splitPath=r,ji.joinPath=i;function n(o){return e.loadAsync(o).then(function(a){function s(f){return a.file(f)!==null}function c(f,d){return a.file(f).async("uint8array").then(function(h){if(d==="base64")return t.fromByteArray(h);if(d){var p=new TextDecoder(d);return p.decode(h)}else return h})}function l(f,d){a.file(f,d)}function u(){return a.generateAsync({type:"arraybuffer"})}return{exists:s,read:c,write:l,toArrayBuffer:u}})}function r(o){var a=o.lastIndexOf("/");return a===-1?{dirname:"",basename:o}:{dirname:o.substring(0,a),basename:o.substring(a+1)}}function i(){var o=Array.prototype.filter.call(arguments,function(s){return s}),a=[];return o.forEach(function(s){/^\//.test(s)?a=[s]:a.push(s)}),a.join("/")}return ji}var aa={},Hn={},oi={},_b;function Ww(){if(_b)return oi;_b=1;var t=et;oi.Element=n,oi.element=function(o,a,s){return new n(o,a,s)},oi.text=function(o){return{type:"text",value:o}};var e=oi.emptyElement={first:function(){return null},firstOrEmpty:function(){return e},attributes:{},children:[]};function n(o,a,s){this.type="element",this.name=o,this.attributes=a||{},this.children=s||[]}n.prototype.first=function(o){return t.find(this.children,function(a){return a.name===o})},n.prototype.firstOrEmpty=function(o){return this.first(o)||e},n.prototype.getElementsByTagName=function(o){var a=t.filter(this.children,function(s){return s.name===o});return i(a)},n.prototype.text=function(){if(this.children.length===0)return"";if(this.children.length!==1||this.children[0].type!=="text")throw new Error("Not implemented");return this.children[0].value};var r={getElementsByTagName:function(o){return i(t.flatten(this.map(function(a){return a.getElementsByTagName(o)},!0)))}};function i(o){return t.extend(o,r)}return oi}var Df={},sa={},Vi={},Sn={},Dr={},Tb;function dc(){if(Tb)return Dr;Tb=1;function t(o,a,s){if(s===void 0&&(s=Array.prototype),o&&typeof s.find=="function")return s.find.call(o,a);for(var c=0;c<o.length;c++)if(Object.prototype.hasOwnProperty.call(o,c)){var l=o[c];if(a.call(void 0,l,c,o))return l}}function e(o,a){return a===void 0&&(a=Object),a&&typeof a.freeze=="function"?a.freeze(o):o}function n(o,a){if(o===null||typeof o!="object")throw new TypeError("target is not an object");for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(o[s]=a[s]);return o}var r=e({HTML:"text/html",isHTML:function(o){return o===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=e({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(o){return o===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return Dr.assign=n,Dr.find=t,Dr.freeze=e,Dr.MIME_TYPE=r,Dr.NAMESPACE=i,Dr}var Eb;function Lp(){if(Eb)return Sn;Eb=1;var t=dc(),e=t.find,n=t.NAMESPACE;function r(A){return A!==""}function i(A){return A?A.split(/[\t\n\f\r ]+/).filter(r):[]}function o(A,O){return A.hasOwnProperty(O)||(A[O]=!0),A}function a(A){if(!A)return[];var O=i(A);return Object.keys(O.reduce(o,{}))}function s(A){return function(O){return A&&A.indexOf(O)!==-1}}function c(A,O){for(var H in A)Object.prototype.hasOwnProperty.call(A,H)&&(O[H]=A[H])}function l(A,O){var H=A.prototype;if(!(H instanceof O)){let se=function(){};se.prototype=O.prototype,se=new se,c(H,se),A.prototype=H=se}H.constructor!=A&&(typeof A!="function"&&console.error("unknown Class:"+A),H.constructor=A)}var u={},f=u.ELEMENT_NODE=1,d=u.ATTRIBUTE_NODE=2,h=u.TEXT_NODE=3,p=u.CDATA_SECTION_NODE=4,m=u.ENTITY_REFERENCE_NODE=5,g=u.ENTITY_NODE=6,y=u.PROCESSING_INSTRUCTION_NODE=7,b=u.COMMENT_NODE=8,v=u.DOCUMENT_NODE=9,T=u.DOCUMENT_TYPE_NODE=10,w=u.DOCUMENT_FRAGMENT_NODE=11,E=u.NOTATION_NODE=12,S={},U={};S.INDEX_SIZE_ERR=(U[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(U[2]="DOMString size error",2);var C=S.HIERARCHY_REQUEST_ERR=(U[3]="Hierarchy request error",3);S.WRONG_DOCUMENT_ERR=(U[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(U[5]="Invalid character",5),S.NO_DATA_ALLOWED_ERR=(U[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(U[7]="No modification allowed",7);var R=S.NOT_FOUND_ERR=(U[8]="Not found",8);S.NOT_SUPPORTED_ERR=(U[9]="Not supported",9);var L=S.INUSE_ATTRIBUTE_ERR=(U[10]="Attribute in use",10);S.INVALID_STATE_ERR=(U[11]="Invalid state",11),S.SYNTAX_ERR=(U[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(U[13]="Invalid modification",13),S.NAMESPACE_ERR=(U[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(U[15]="Invalid access",15);function _(A,O){if(O instanceof Error)var H=O;else H=this,Error.call(this,U[A]),this.message=U[A],Error.captureStackTrace&&Error.captureStackTrace(this,_);return H.code=A,O&&(this.message=this.message+": "+O),H}_.prototype=Error.prototype,c(S,_);function k(){}k.prototype={length:0,item:function(A){return A>=0&&A<this.length?this[A]:null},toString:function(A,O){for(var H=[],se=0;se<this.length;se++)re(this[se],H,A,O);return H.join("")},filter:function(A){return Array.prototype.filter.call(this,A)},indexOf:function(A){return Array.prototype.indexOf.call(this,A)}};function x(A,O){this._node=A,this._refresh=O,z(this)}function z(A){var O=A._node._inc||A._node.ownerDocument._inc;if(A._inc!==O){var H=A._refresh(A._node);if(Pe(A,"length",H.length),!A.$$length||H.length<A.$$length)for(var se=H.length;se in A;se++)Object.prototype.hasOwnProperty.call(A,se)&&delete A[se];c(H,A),A._inc=O}}x.prototype.item=function(A){return z(this),this[A]||null},l(x,k);function F(){}function I(A,O){for(var H=A.length;H--;)if(A[H]===O)return H}function K(A,O,H,se){if(se?O[I(O,se)]=H:O[O.length++]=H,A){H.ownerElement=A;var we=A.ownerDocument;we&&(se&&le(we,A,se),J(we,A,H))}}function P(A,O,H){var se=I(O,H);if(se>=0){for(var we=O.length-1;se<we;)O[se]=O[++se];if(O.length=we,A){var Ue=A.ownerDocument;Ue&&(le(Ue,A,H),H.ownerElement=null)}}else throw new _(R,new Error(A.tagName+"@"+H))}F.prototype={length:0,item:k.prototype.item,getNamedItem:function(A){for(var O=this.length;O--;){var H=this[O];if(H.nodeName==A)return H}},setNamedItem:function(A){var O=A.ownerElement;if(O&&O!=this._ownerElement)throw new _(L);var H=this.getNamedItem(A.nodeName);return K(this._ownerElement,this,A,H),H},setNamedItemNS:function(A){var O=A.ownerElement,H;if(O&&O!=this._ownerElement)throw new _(L);return H=this.getNamedItemNS(A.namespaceURI,A.localName),K(this._ownerElement,this,A,H),H},removeNamedItem:function(A){var O=this.getNamedItem(A);return P(this._ownerElement,this,O),O},removeNamedItemNS:function(A,O){var H=this.getNamedItemNS(A,O);return P(this._ownerElement,this,H),H},getNamedItemNS:function(A,O){for(var H=this.length;H--;){var se=this[H];if(se.localName==O&&se.namespaceURI==A)return se}return null}};function te(){}te.prototype={hasFeature:function(A,O){return!0},createDocument:function(A,O,H){var se=new X;if(se.implementation=this,se.childNodes=new k,se.doctype=H||null,H&&se.appendChild(H),O){var we=se.createElementNS(A,O);se.appendChild(we)}return se},createDocumentType:function(A,O,H){var se=new xe;return se.name=A,se.nodeName=A,se.publicId=O||"",se.systemId=H||"",se}};function W(){}W.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(A,O){return $(this,A,O)},replaceChild:function(A,O){$(this,A,O,N),O&&this.removeChild(O)},removeChild:function(A){return fe(this,A)},appendChild:function(A){return this.insertBefore(A,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(A){return Ie(this.ownerDocument||this,this,A)},normalize:function(){for(var A=this.firstChild;A;){var O=A.nextSibling;O&&O.nodeType==h&&A.nodeType==h?(this.removeChild(O),A.appendData(O.data)):(A.normalize(),A=O)}},isSupported:function(A,O){return this.ownerDocument.implementation.hasFeature(A,O)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(A){for(var O=this;O;){var H=O._nsMap;if(H){for(var se in H)if(Object.prototype.hasOwnProperty.call(H,se)&&H[se]===A)return se}O=O.nodeType==d?O.ownerDocument:O.parentNode}return null},lookupNamespaceURI:function(A){for(var O=this;O;){var H=O._nsMap;if(H&&Object.prototype.hasOwnProperty.call(H,A))return H[A];O=O.nodeType==d?O.ownerDocument:O.parentNode}return null},isDefaultNamespace:function(A){var O=this.lookupPrefix(A);return O==null}};function B(A){return A=="<"&&"&lt;"||A==">"&&"&gt;"||A=="&"&&"&amp;"||A=='"'&&"&quot;"||"&#"+A.charCodeAt()+";"}c(u,W),c(u,W.prototype);function oe(A,O){if(O(A))return!0;if(A=A.firstChild)do if(oe(A,O))return!0;while(A=A.nextSibling)}function X(){this.ownerDocument=this}function J(A,O,H){A&&A._inc++;var se=H.namespaceURI;se===n.XMLNS&&(O._nsMap[H.prefix?H.localName:""]=H.value)}function le(A,O,H,se){A&&A._inc++;var we=H.namespaceURI;we===n.XMLNS&&delete O._nsMap[H.prefix?H.localName:""]}function he(A,O,H){if(A&&A._inc){A._inc++;var se=O.childNodes;if(H)se[se.length++]=H;else{for(var we=O.firstChild,Ue=0;we;)se[Ue++]=we,we=we.nextSibling;se.length=Ue,delete se[se.length]}}}function fe(A,O){var H=O.previousSibling,se=O.nextSibling;return H?H.nextSibling=se:A.firstChild=se,se?se.previousSibling=H:A.lastChild=H,O.parentNode=null,O.previousSibling=null,O.nextSibling=null,he(A.ownerDocument,A),O}function me(A){return A&&(A.nodeType===W.DOCUMENT_NODE||A.nodeType===W.DOCUMENT_FRAGMENT_NODE||A.nodeType===W.ELEMENT_NODE)}function de(A){return A&&(ye(A)||be(A)||ge(A)||A.nodeType===W.DOCUMENT_FRAGMENT_NODE||A.nodeType===W.COMMENT_NODE||A.nodeType===W.PROCESSING_INSTRUCTION_NODE)}function ge(A){return A&&A.nodeType===W.DOCUMENT_TYPE_NODE}function ye(A){return A&&A.nodeType===W.ELEMENT_NODE}function be(A){return A&&A.nodeType===W.TEXT_NODE}function D(A,O){var H=A.childNodes||[];if(e(H,ye)||ge(O))return!1;var se=e(H,ge);return!(O&&se&&H.indexOf(se)>H.indexOf(O))}function V(A,O){var H=A.childNodes||[];function se(Ue){return ye(Ue)&&Ue!==O}if(e(H,se))return!1;var we=e(H,ge);return!(O&&we&&H.indexOf(we)>H.indexOf(O))}function j(A,O,H){if(!me(A))throw new _(C,"Unexpected parent node type "+A.nodeType);if(H&&H.parentNode!==A)throw new _(R,"child not in parent");if(!de(O)||ge(O)&&A.nodeType!==W.DOCUMENT_NODE)throw new _(C,"Unexpected node type "+O.nodeType+" for parent node type "+A.nodeType)}function M(A,O,H){var se=A.childNodes||[],we=O.childNodes||[];if(O.nodeType===W.DOCUMENT_FRAGMENT_NODE){var Ue=we.filter(ye);if(Ue.length>1||e(we,be))throw new _(C,"More than one element or text in fragment");if(Ue.length===1&&!D(A,H))throw new _(C,"Element in fragment can not be inserted before doctype")}if(ye(O)&&!D(A,H))throw new _(C,"Only one element can be added and only after doctype");if(ge(O)){if(e(se,ge))throw new _(C,"Only one doctype is allowed");var We=e(se,ye);if(H&&se.indexOf(We)<se.indexOf(H))throw new _(C,"Doctype can only be inserted before an element");if(!H&&We)throw new _(C,"Doctype can not be appended since element is present")}}function N(A,O,H){var se=A.childNodes||[],we=O.childNodes||[];if(O.nodeType===W.DOCUMENT_FRAGMENT_NODE){var Ue=we.filter(ye);if(Ue.length>1||e(we,be))throw new _(C,"More than one element or text in fragment");if(Ue.length===1&&!V(A,H))throw new _(C,"Element in fragment can not be inserted before doctype")}if(ye(O)&&!V(A,H))throw new _(C,"Only one element can be added and only after doctype");if(ge(O)){if(e(se,function(Wt){return ge(Wt)&&Wt!==H}))throw new _(C,"Only one doctype is allowed");var We=e(se,ye);if(H&&se.indexOf(We)<se.indexOf(H))throw new _(C,"Doctype can only be inserted before an element")}}function $(A,O,H,se){j(A,O,H),A.nodeType===W.DOCUMENT_NODE&&(se||M)(A,O,H);var we=O.parentNode;if(we&&we.removeChild(O),O.nodeType===w){var Ue=O.firstChild;if(Ue==null)return O;var We=O.lastChild}else Ue=We=O;var $e=H?H.previousSibling:A.lastChild;Ue.previousSibling=$e,We.nextSibling=H,$e?$e.nextSibling=Ue:A.firstChild=Ue,H==null?A.lastChild=We:H.previousSibling=We;do Ue.parentNode=A;while(Ue!==We&&(Ue=Ue.nextSibling));return he(A.ownerDocument||A,A),O.nodeType==w&&(O.firstChild=O.lastChild=null),O}function ie(A,O){return O.parentNode&&O.parentNode.removeChild(O),O.parentNode=A,O.previousSibling=A.lastChild,O.nextSibling=null,O.previousSibling?O.previousSibling.nextSibling=O:A.firstChild=O,A.lastChild=O,he(A.ownerDocument,A,O),O}X.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(A,O){if(A.nodeType==w){for(var H=A.firstChild;H;){var se=H.nextSibling;this.insertBefore(H,O),H=se}return A}return $(this,A,O),A.ownerDocument=this,this.documentElement===null&&A.nodeType===f&&(this.documentElement=A),A},removeChild:function(A){return this.documentElement==A&&(this.documentElement=null),fe(this,A)},replaceChild:function(A,O){$(this,A,O,N),A.ownerDocument=this,O&&this.removeChild(O),ye(A)&&(this.documentElement=A)},importNode:function(A,O){return Oe(this,A,O)},getElementById:function(A){var O=null;return oe(this.documentElement,function(H){if(H.nodeType==f&&H.getAttribute("id")==A)return O=H,!0}),O},getElementsByClassName:function(A){var O=a(A);return new x(this,function(H){var se=[];return O.length>0&&oe(H.documentElement,function(we){if(we!==H&&we.nodeType===f){var Ue=we.getAttribute("class");if(Ue){var We=A===Ue;if(!We){var $e=a(Ue);We=O.every(s($e))}We&&se.push(we)}}}),se})},createElement:function(A){var O=new ne;O.ownerDocument=this,O.nodeName=A,O.tagName=A,O.localName=A,O.childNodes=new k;var H=O.attributes=new F;return H._ownerElement=O,O},createDocumentFragment:function(){var A=new ee;return A.ownerDocument=this,A.childNodes=new k,A},createTextNode:function(A){var O=new G;return O.ownerDocument=this,O.appendData(A),O},createComment:function(A){var O=new Y;return O.ownerDocument=this,O.appendData(A),O},createCDATASection:function(A){var O=new ae;return O.ownerDocument=this,O.appendData(A),O},createProcessingInstruction:function(A,O){var H=new ue;return H.ownerDocument=this,H.tagName=H.nodeName=H.target=A,H.nodeValue=H.data=O,H},createAttribute:function(A){var O=new Z;return O.ownerDocument=this,O.name=A,O.nodeName=A,O.localName=A,O.specified=!0,O},createEntityReference:function(A){var O=new Ce;return O.ownerDocument=this,O.nodeName=A,O},createElementNS:function(A,O){var H=new ne,se=O.split(":"),we=H.attributes=new F;return H.childNodes=new k,H.ownerDocument=this,H.nodeName=O,H.tagName=O,H.namespaceURI=A,se.length==2?(H.prefix=se[0],H.localName=se[1]):H.localName=O,we._ownerElement=H,H},createAttributeNS:function(A,O){var H=new Z,se=O.split(":");return H.ownerDocument=this,H.nodeName=O,H.name=O,H.namespaceURI=A,H.specified=!0,se.length==2?(H.prefix=se[0],H.localName=se[1]):H.localName=O,H}},l(X,W);function ne(){this._nsMap={}}ne.prototype={nodeType:f,hasAttribute:function(A){return this.getAttributeNode(A)!=null},getAttribute:function(A){var O=this.getAttributeNode(A);return O&&O.value||""},getAttributeNode:function(A){return this.attributes.getNamedItem(A)},setAttribute:function(A,O){var H=this.ownerDocument.createAttribute(A);H.value=H.nodeValue=""+O,this.setAttributeNode(H)},removeAttribute:function(A){var O=this.getAttributeNode(A);O&&this.removeAttributeNode(O)},appendChild:function(A){return A.nodeType===w?this.insertBefore(A,null):ie(this,A)},setAttributeNode:function(A){return this.attributes.setNamedItem(A)},setAttributeNodeNS:function(A){return this.attributes.setNamedItemNS(A)},removeAttributeNode:function(A){return this.attributes.removeNamedItem(A.nodeName)},removeAttributeNS:function(A,O){var H=this.getAttributeNodeNS(A,O);H&&this.removeAttributeNode(H)},hasAttributeNS:function(A,O){return this.getAttributeNodeNS(A,O)!=null},getAttributeNS:function(A,O){var H=this.getAttributeNodeNS(A,O);return H&&H.value||""},setAttributeNS:function(A,O,H){var se=this.ownerDocument.createAttributeNS(A,O);se.value=se.nodeValue=""+H,this.setAttributeNode(se)},getAttributeNodeNS:function(A,O){return this.attributes.getNamedItemNS(A,O)},getElementsByTagName:function(A){return new x(this,function(O){var H=[];return oe(O,function(se){se!==O&&se.nodeType==f&&(A==="*"||se.tagName==A)&&H.push(se)}),H})},getElementsByTagNameNS:function(A,O){return new x(this,function(H){var se=[];return oe(H,function(we){we!==H&&we.nodeType===f&&(A==="*"||we.namespaceURI===A)&&(O==="*"||we.localName==O)&&se.push(we)}),se})}},X.prototype.getElementsByTagName=ne.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=ne.prototype.getElementsByTagNameNS,l(ne,W);function Z(){}Z.prototype.nodeType=d,l(Z,W);function q(){}q.prototype={data:"",substringData:function(A,O){return this.data.substring(A,A+O)},appendData:function(A){A=this.data+A,this.nodeValue=this.data=A,this.length=A.length},insertData:function(A,O){this.replaceData(A,0,O)},appendChild:function(A){throw new Error(U[C])},deleteData:function(A,O){this.replaceData(A,O,"")},replaceData:function(A,O,H){var se=this.data.substring(0,A),we=this.data.substring(A+O);H=se+H+we,this.nodeValue=this.data=H,this.length=H.length}},l(q,W);function G(){}G.prototype={nodeName:"#text",nodeType:h,splitText:function(A){var O=this.data,H=O.substring(A);O=O.substring(0,A),this.data=this.nodeValue=O,this.length=O.length;var se=this.ownerDocument.createTextNode(H);return this.parentNode&&this.parentNode.insertBefore(se,this.nextSibling),se}},l(G,q);function Y(){}Y.prototype={nodeName:"#comment",nodeType:b},l(Y,q);function ae(){}ae.prototype={nodeName:"#cdata-section",nodeType:p},l(ae,q);function xe(){}xe.prototype.nodeType=T,l(xe,W);function Te(){}Te.prototype.nodeType=E,l(Te,W);function Se(){}Se.prototype.nodeType=g,l(Se,W);function Ce(){}Ce.prototype.nodeType=m,l(Ce,W);function ee(){}ee.prototype.nodeName="#document-fragment",ee.prototype.nodeType=w,l(ee,W);function ue(){}ue.prototype.nodeType=y,l(ue,W);function ve(){}ve.prototype.serializeToString=function(A,O,H){return Ee.call(A,O,H)},W.prototype.toString=Ee;function Ee(A,O){var H=[],se=this.nodeType==9&&this.documentElement||this,we=se.prefix,Ue=se.namespaceURI;if(Ue&&we==null){var we=se.lookupPrefix(Ue);if(we==null)var We=[{namespace:Ue,prefix:null}]}return re(this,H,A,O,We),H.join("")}function ke(A,O,H){var se=A.prefix||"",we=A.namespaceURI;if(!we||se==="xml"&&we===n.XML||we===n.XMLNS)return!1;for(var Ue=H.length;Ue--;){var We=H[Ue];if(We.prefix===se)return We.namespace!==we}return!0}function Q(A,O,H){A.push(" ",O,'="',H.replace(/[<>&"\t\n\r]/g,B),'"')}function re(A,O,H,se,we){if(we||(we=[]),se)if(A=se(A),A){if(typeof A=="string"){O.push(A);return}}else return;switch(A.nodeType){case f:var Ue=A.attributes,We=Ue.length,nt=A.firstChild,$e=A.tagName;H=n.isHTML(A.namespaceURI)||H;var Wt=$e;if(!H&&!A.prefix&&A.namespaceURI){for(var Zt,Lt=0;Lt<Ue.length;Lt++)if(Ue.item(Lt).name==="xmlns"){Zt=Ue.item(Lt).value;break}if(!Zt)for(var Ot=we.length-1;Ot>=0;Ot--){var Yt=we[Ot];if(Yt.prefix===""&&Yt.namespace===A.namespaceURI){Zt=Yt.namespace;break}}if(Zt!==A.namespaceURI)for(var Ot=we.length-1;Ot>=0;Ot--){var Yt=we[Ot];if(Yt.namespace===A.namespaceURI){Yt.prefix&&(Wt=Yt.prefix+":"+$e);break}}}O.push("<",Wt);for(var Pt=0;Pt<We;Pt++){var Et=Ue.item(Pt);Et.prefix=="xmlns"?we.push({prefix:Et.localName,namespace:Et.value}):Et.nodeName=="xmlns"&&we.push({prefix:"",namespace:Et.value})}for(var Pt=0;Pt<We;Pt++){var Et=Ue.item(Pt);if(ke(Et,H,we)){var Qt=Et.prefix||"",zn=Et.namespaceURI;Q(O,Qt?"xmlns:"+Qt:"xmlns",zn),we.push({prefix:Qt,namespace:zn})}re(Et,O,H,se,we)}if($e===Wt&&ke(A,H,we)){var Qt=A.prefix||"",zn=A.namespaceURI;Q(O,Qt?"xmlns:"+Qt:"xmlns",zn),we.push({prefix:Qt,namespace:zn})}if(nt||H&&!/^(?:meta|link|img|br|hr|input)$/i.test($e)){if(O.push(">"),H&&/^script$/i.test($e))for(;nt;)nt.data?O.push(nt.data):re(nt,O,H,se,we.slice()),nt=nt.nextSibling;else for(;nt;)re(nt,O,H,se,we.slice()),nt=nt.nextSibling;O.push("</",Wt,">")}else O.push("/>");return;case v:case w:for(var nt=A.firstChild;nt;)re(nt,O,H,se,we.slice()),nt=nt.nextSibling;return;case d:return Q(O,A.name,A.value);case h:return O.push(A.data.replace(/[<&>]/g,B));case p:return O.push("<![CDATA[",A.data,"]]>");case b:return O.push("<!--",A.data,"-->");case T:var Qr=A.publicId,wn=A.systemId;if(O.push("<!DOCTYPE ",A.name),Qr)O.push(" PUBLIC ",Qr),wn&&wn!="."&&O.push(" ",wn),O.push(">");else if(wn&&wn!=".")O.push(" SYSTEM ",wn,">");else{var ei=A.internalSubset;ei&&O.push(" [",ei,"]"),O.push(">")}return;case y:return O.push("<?",A.target," ",A.data,"?>");case m:return O.push("&",A.nodeName,";");default:O.push("??",A.nodeName)}}function Oe(A,O,H){var se;switch(O.nodeType){case f:se=O.cloneNode(!1),se.ownerDocument=A;case w:break;case d:H=!0;break}if(se||(se=O.cloneNode(!1)),se.ownerDocument=A,se.parentNode=null,H)for(var we=O.firstChild;we;)se.appendChild(Oe(A,we,H)),we=we.nextSibling;return se}function Ie(A,O,H){var se=new O.constructor;for(var we in O)if(Object.prototype.hasOwnProperty.call(O,we)){var Ue=O[we];typeof Ue!="object"&&Ue!=se[we]&&(se[we]=Ue)}switch(O.childNodes&&(se.childNodes=new k),se.ownerDocument=A,se.nodeType){case f:var We=O.attributes,$e=se.attributes=new F,Wt=We.length;$e._ownerElement=se;for(var Zt=0;Zt<Wt;Zt++)se.setAttributeNode(Ie(A,We.item(Zt),!0));break;case d:H=!0}if(H)for(var Lt=O.firstChild;Lt;)se.appendChild(Ie(A,Lt,H)),Lt=Lt.nextSibling;return se}function Pe(A,O,H){A[O]=H}try{if(Object.defineProperty){let A=function(O){switch(O.nodeType){case f:case w:var H=[];for(O=O.firstChild;O;)O.nodeType!==7&&O.nodeType!==8&&H.push(A(O)),O=O.nextSibling;return H.join("");default:return O.nodeValue}};Object.defineProperty(x.prototype,"length",{get:function(){return z(this),this.$$length}}),Object.defineProperty(W.prototype,"textContent",{get:function(){return A(this)},set:function(O){switch(this.nodeType){case f:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(O||String(O))&&this.appendChild(this.ownerDocument.createTextNode(O));break;default:this.data=O,this.value=O,this.nodeValue=O}}}),Pe=function(O,H,se){O["$$"+H]=se}}}catch{}return Sn.DocumentType=xe,Sn.DOMException=_,Sn.DOMImplementation=te,Sn.Element=ne,Sn.Node=W,Sn.NodeList=k,Sn.XMLSerializer=ve,Sn}var Hi={},wf={},Cb;function BF(){return Cb||(Cb=1,function(t){var e=dc().freeze;t.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=e({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
219
- `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}),t.entityMap=t.HTML_ENTITIES}(wf)),wf}var ca={},Sb;function IF(){if(Sb)return ca;Sb=1;var t=dc().NAMESPACE,e=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,n=new RegExp("[\\-\\.0-9"+e.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),r=new RegExp("^"+e.source+n.source+"*(?::"+e.source+n.source+"*)?$"),i=0,o=1,a=2,s=3,c=4,l=5,u=6,f=7;function d(C,R){this.message=C,this.locator=R,Error.captureStackTrace&&Error.captureStackTrace(this,d)}d.prototype=new Error,d.prototype.name=d.name;function h(){}h.prototype={parse:function(C,R,L){var _=this.domBuilder;_.startDocument(),T(R,R={}),p(C,R,L,_,this.errorHandler),_.endDocument()}};function p(C,R,L,_,k){function x(ne){if(ne>65535){ne-=65536;var Z=55296+(ne>>10),q=56320+(ne&1023);return String.fromCharCode(Z,q)}else return String.fromCharCode(ne)}function z(ne){var Z=ne.slice(1,-1);return Object.hasOwnProperty.call(L,Z)?L[Z]:Z.charAt(0)==="#"?x(parseInt(Z.substr(1).replace("x","0x"))):(k.error("entity not found:"+ne),ne)}function F(ne){if(ne>X){var Z=C.substring(X,ne).replace(/&#?\w+;/g,z);W&&I(X),_.characters(Z,0,ne-X),X=ne}}function I(ne,Z){for(;ne>=P&&(Z=te.exec(C));)K=Z.index,P=K+Z[0].length,W.lineNumber++;W.columnNumber=ne-K+1}for(var K=0,P=0,te=/.*(?:\r\n?|\n)|.*$/g,W=_.locator,B=[{currentNSMap:R}],oe={},X=0;;){try{var J=C.indexOf("<",X);if(J<0){if(!C.substr(X).match(/^\s*$/)){var le=_.doc,he=le.createTextNode(C.substr(X));le.appendChild(he),_.currentElement=he}return}switch(J>X&&F(J),C.charAt(J+1)){case"/":var j=C.indexOf(">",J+3),fe=C.substring(J+2,j).replace(/[ \t\n\r]+$/g,""),me=B.pop();j<0?(fe=C.substring(J+2).replace(/[\s<].*/,""),k.error("end tag name: "+fe+" is not complete:"+me.tagName),j=J+1+fe.length):fe.match(/\s</)&&(fe=fe.replace(/[\s<].*/,""),k.error("end tag name: "+fe+" maybe not complete"),j=J+1+fe.length);var de=me.localNSMap,ge=me.tagName==fe,ye=ge||me.tagName&&me.tagName.toLowerCase()==fe.toLowerCase();if(ye){if(_.endElement(me.uri,me.localName,fe),de)for(var be in de)Object.prototype.hasOwnProperty.call(de,be)&&_.endPrefixMapping(be);ge||k.fatalError("end tag name: "+fe+" is not match the current start tagName:"+me.tagName)}else B.push(me);j++;break;case"?":W&&I(J),j=E(C,J,_);break;case"!":W&&I(J),j=w(C,J,_,k);break;default:W&&I(J);var D=new S,V=B[B.length-1].currentNSMap,j=g(C,J,D,V,z,k),M=D.length;if(!D.closed&&v(C,j,D.tagName,oe)&&(D.closed=!0,L.nbsp||k.warning("unclosed xml attribute")),W&&M){for(var N=m(W,{}),$=0;$<M;$++){var ie=D[$];I(ie.offset),ie.locator=m(W,{})}_.locator=N,y(D,_,V)&&B.push(D),_.locator=W}else y(D,_,V)&&B.push(D);t.isHTML(D.uri)&&!D.closed?j=b(C,j,D.tagName,z,_):j++}}catch(ne){if(ne instanceof d)throw ne;k.error("element parse error: "+ne),j=-1}j>X?X=j:F(Math.max(J,X)+1)}}function m(C,R){return R.lineNumber=C.lineNumber,R.columnNumber=C.columnNumber,R}function g(C,R,L,_,k,x){function z(W,B,oe){L.attributeNames.hasOwnProperty(W)&&x.fatalError("Attribute "+W+" redefined"),L.addValue(W,B.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,k),oe)}for(var F,I,K=++R,P=i;;){var te=C.charAt(K);switch(te){case"=":if(P===o)F=C.slice(R,K),P=s;else if(P===a)P=s;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(P===s||P===o)if(P===o&&(x.warning('attribute value must after "="'),F=C.slice(R,K)),R=K+1,K=C.indexOf(te,R),K>0)I=C.slice(R,K),z(F,I,R-1),P=l;else throw new Error("attribute value no end '"+te+"' match");else if(P==c)I=C.slice(R,K),z(F,I,R),x.warning('attribute "'+F+'" missed start quot('+te+")!!"),R=K+1,P=l;else throw new Error('attribute value must after "="');break;case"/":switch(P){case i:L.setTagName(C.slice(R,K));case l:case u:case f:P=f,L.closed=!0;case c:case o:break;case a:L.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return x.error("unexpected end of input"),P==i&&L.setTagName(C.slice(R,K)),K;case">":switch(P){case i:L.setTagName(C.slice(R,K));case l:case u:case f:break;case c:case o:I=C.slice(R,K),I.slice(-1)==="/"&&(L.closed=!0,I=I.slice(0,-1));case a:P===a&&(I=F),P==c?(x.warning('attribute "'+I+'" missed quot(")!'),z(F,I,R)):((!t.isHTML(_[""])||!I.match(/^(?:disabled|checked|selected)$/i))&&x.warning('attribute "'+I+'" missed value!! "'+I+'" instead!!'),z(I,I,R));break;case s:throw new Error("attribute value missed!!")}return K;case"€":te=" ";default:if(te<=" ")switch(P){case i:L.setTagName(C.slice(R,K)),P=u;break;case o:F=C.slice(R,K),P=a;break;case c:var I=C.slice(R,K);x.warning('attribute "'+I+'" missed quot(")!!'),z(F,I,R);case l:P=u;break}else switch(P){case a:L.tagName,(!t.isHTML(_[""])||!F.match(/^(?:disabled|checked|selected)$/i))&&x.warning('attribute "'+F+'" missed value!! "'+F+'" instead2!!'),z(F,F,R),R=K,P=o;break;case l:x.warning('attribute space is required"'+F+'"!!');case u:P=o,R=K;break;case s:P=c,R=K;break;case f:throw new Error("elements closed character '/' and '>' must be connected to")}}K++}}function y(C,R,L){for(var _=C.tagName,k=null,te=C.length;te--;){var x=C[te],z=x.qName,F=x.value,W=z.indexOf(":");if(W>0)var I=x.prefix=z.slice(0,W),K=z.slice(W+1),P=I==="xmlns"&&K;else K=z,I=null,P=z==="xmlns"&&"";x.localName=K,P!==!1&&(k==null&&(k={},T(L,L={})),L[P]=k[P]=F,x.uri=t.XMLNS,R.startPrefixMapping(P,F))}for(var te=C.length;te--;){x=C[te];var I=x.prefix;I&&(I==="xml"&&(x.uri=t.XML),I!=="xmlns"&&(x.uri=L[I||""]))}var W=_.indexOf(":");W>0?(I=C.prefix=_.slice(0,W),K=C.localName=_.slice(W+1)):(I=null,K=C.localName=_);var B=C.uri=L[I||""];if(R.startElement(B,K,_,C),C.closed){if(R.endElement(B,K,_),k)for(I in k)Object.prototype.hasOwnProperty.call(k,I)&&R.endPrefixMapping(I)}else return C.currentNSMap=L,C.localNSMap=k,!0}function b(C,R,L,_,k){if(/^(?:script|textarea)$/i.test(L)){var x=C.indexOf("</"+L+">",R),z=C.substring(R+1,x);if(/[&<]/.test(z))return/^script$/i.test(L)?(k.characters(z,0,z.length),x):(z=z.replace(/&#?\w+;/g,_),k.characters(z,0,z.length),x)}return R+1}function v(C,R,L,_){var k=_[L];return k==null&&(k=C.lastIndexOf("</"+L+">"),k<R&&(k=C.lastIndexOf("</"+L)),_[L]=k),k<R}function T(C,R){for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&(R[L]=C[L])}function w(C,R,L,_){var k=C.charAt(R+2);switch(k){case"-":if(C.charAt(R+3)==="-"){var x=C.indexOf("-->",R+4);return x>R?(L.comment(C,R+4,x-R-4),x+3):(_.error("Unclosed comment"),-1)}else return-1;default:if(C.substr(R+3,6)=="CDATA["){var x=C.indexOf("]]>",R+9);return L.startCDATA(),L.characters(C,R+9,x-R-9),L.endCDATA(),x+3}var z=U(C,R),F=z.length;if(F>1&&/!doctype/i.test(z[0][0])){var I=z[1][0],K=!1,P=!1;F>3&&(/^public$/i.test(z[2][0])?(K=z[3][0],P=F>4&&z[4][0]):/^system$/i.test(z[2][0])&&(P=z[3][0]));var te=z[F-1];return L.startDTD(I,K,P),L.endDTD(),te.index+te[0].length}}return-1}function E(C,R,L){var _=C.indexOf("?>",R);if(_){var k=C.substring(R,_).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return k?(k[0].length,L.processingInstruction(k[1],k[2]),_+2):-1}return-1}function S(){this.attributeNames={}}S.prototype={setTagName:function(C){if(!r.test(C))throw new Error("invalid tagName:"+C);this.tagName=C},addValue:function(C,R,L){if(!r.test(C))throw new Error("invalid attribute:"+C);this.attributeNames[C]=this.length,this[this.length++]={qName:C,value:R,offset:L}},length:0,getLocalName:function(C){return this[C].localName},getLocator:function(C){return this[C].locator},getQName:function(C){return this[C].qName},getURI:function(C){return this[C].uri},getValue:function(C){return this[C].value}};function U(C,R){var L,_=[],k=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(k.lastIndex=R,k.exec(C);L=k.exec(C);)if(_.push(L),L[1])return _}return ca.XMLReader=h,ca.ParseError=d,ca}var Ab;function MF(){if(Ab)return Hi;Ab=1;var t=dc(),e=Lp(),n=BF(),r=IF(),i=e.DOMImplementation,o=t.NAMESPACE,a=r.ParseError,s=r.XMLReader;function c(g){return g.replace(/\r[\n\u0085]/g,`
220
- `).replace(/[\r\u0085\u2028]/g,`
221
- `)}function l(g){this.options=g||{locator:{}}}l.prototype.parseFromString=function(g,y){var b=this.options,v=new s,T=b.domBuilder||new f,w=b.errorHandler,E=b.locator,S=b.xmlns||{},U=/\/x?html?$/.test(y),C=U?n.HTML_ENTITIES:n.XML_ENTITIES;E&&T.setDocumentLocator(E),v.errorHandler=u(w,T,E),v.domBuilder=b.domBuilder||T,U&&(S[""]=o.HTML),S.xml=S.xml||o.XML;var R=b.normalizeLineEndings||c;return g&&typeof g=="string"?v.parse(R(g),S,C):v.errorHandler.error("invalid doc source"),T.doc};function u(g,y,b){if(!g){if(y instanceof f)return y;g=y}var v={},T=g instanceof Function;b=b||{};function w(E){var S=g[E];!S&&T&&(S=g.length==2?function(U){g(E,U)}:g),v[E]=S&&function(U){S("[xmldom "+E+"] "+U+h(b))}||function(){}}return w("warning"),w("error"),w("fatalError"),v}function f(){this.cdata=!1}function d(g,y){y.lineNumber=g.lineNumber,y.columnNumber=g.columnNumber}f.prototype={startDocument:function(){this.doc=new i().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(g,y,b,v){var T=this.doc,w=T.createElementNS(g,b||y),E=v.length;m(this,w),this.currentElement=w,this.locator&&d(this.locator,w);for(var S=0;S<E;S++){var g=v.getURI(S),U=v.getValue(S),b=v.getQName(S),C=T.createAttributeNS(g,b);this.locator&&d(v.getLocator(S),C),C.value=C.nodeValue=U,w.setAttributeNode(C)}},endElement:function(g,y,b){var v=this.currentElement;v.tagName,this.currentElement=v.parentNode},startPrefixMapping:function(g,y){},endPrefixMapping:function(g){},processingInstruction:function(g,y){var b=this.doc.createProcessingInstruction(g,y);this.locator&&d(this.locator,b),m(this,b)},ignorableWhitespace:function(g,y,b){},characters:function(g,y,b){if(g=p.apply(this,arguments),g){if(this.cdata)var v=this.doc.createCDATASection(g);else var v=this.doc.createTextNode(g);this.currentElement?this.currentElement.appendChild(v):/^\s*$/.test(g)&&this.doc.appendChild(v),this.locator&&d(this.locator,v)}},skippedEntity:function(g){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(g){(this.locator=g)&&(g.lineNumber=0)},comment:function(g,y,b){g=p.apply(this,arguments);var v=this.doc.createComment(g);this.locator&&d(this.locator,v),m(this,v)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(g,y,b){var v=this.doc.implementation;if(v&&v.createDocumentType){var T=v.createDocumentType(g,y,b);this.locator&&d(this.locator,T),m(this,T),this.doc.doctype=T}},warning:function(g){console.warn("[xmldom warning] "+g,h(this.locator))},error:function(g){console.error("[xmldom error] "+g,h(this.locator))},fatalError:function(g){throw new a(g,this.locator)}};function h(g){if(g)return`
222
- @`+(g.systemId||"")+"#[line:"+g.lineNumber+",col:"+g.columnNumber+"]"}function p(g,y,b){return typeof g=="string"?g.substr(y,b):g.length>=y+b||y?new java.lang.String(g,y,b)+"":g}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(g){f.prototype[g]=function(){return null}});function m(g,y){g.currentElement?g.currentElement.appendChild(y):g.doc.appendChild(y)}return Hi.__DOMHandler=f,Hi.normalizeLineEndings=c,Hi.DOMParser=l,Hi}var Ub;function WF(){if(Ub)return Vi;Ub=1;var t=Lp();return Vi.DOMImplementation=t.DOMImplementation,Vi.XMLSerializer=t.XMLSerializer,Vi.DOMParser=MF().DOMParser,Vi}var kb;function LF(){if(kb)return sa;kb=1;var t=WF(),e=Lp();function n(r){var i=null,o=new t.DOMParser({errorHandler:function(s,c){i={level:s,message:c}}}),a=o.parseFromString(r);if(i===null)return a;throw new Error(i.level+": "+i.message)}return sa.parseFromString=n,sa.Node=e.Node,sa}var Fb;function PF(){if(Fb)return Df;Fb=1;var t=vr(),e=et,n=LF(),r=Ww(),i=r.Element;Df.readString=a;var o=n.Node;function a(s,c){c=c||{};try{var l=n.parseFromString(s,"text/xml")}catch(h){return t.reject(h)}if(l.documentElement.tagName==="parsererror")return t.resolve(new Error(l.documentElement.textContent));function u(h){switch(h.nodeType){case o.ELEMENT_NODE:return f(h);case o.TEXT_NODE:return r.text(h.nodeValue)}}function f(h){var p=d(h),m=[];e.forEach(h.childNodes,function(y){var b=u(y);b&&m.push(b)});var g={};return e.forEach(h.attributes,function(y){g[d(y)]=y.value}),new i(p,g,m)}function d(h){if(h.namespaceURI){var p=c[h.namespaceURI],m;return p?m=p+":":m="{"+h.namespaceURI+"}",m+h.localName}else return h.localName}return t.resolve(u(l.documentElement))}return Df}var _f={},wr={},cn={},Ob;function xr(){return Ob||(Ob=1,(function(){var t,e,n,r,i,o,a,s=[].slice,c={}.hasOwnProperty;t=function(){var l,u,f,d,h,p;if(p=arguments[0],h=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(l=0,f=h.length;l<f;l++)if(d=h[l],d!=null)for(u in d)c.call(d,u)&&(p[u]=d[u]);return p},i=function(l){return!!l&&Object.prototype.toString.call(l)==="[object Function]"},o=function(l){var u;return!!l&&((u=typeof l)=="function"||u==="object")},n=function(l){return i(Array.isArray)?Array.isArray(l):Object.prototype.toString.call(l)==="[object Array]"},r=function(l){var u;if(n(l))return!l.length;for(u in l)if(c.call(l,u))return!1;return!0},a=function(l){var u,f;return o(l)&&(f=Object.getPrototypeOf(l))&&(u=f.constructor)&&typeof u=="function"&&u instanceof u&&Function.prototype.toString.call(u)===Function.prototype.toString.call(Object)},e=function(l){return i(l.valueOf)?l.valueOf():l},cn.assign=t,cn.isFunction=i,cn.isObject=o,cn.isArray=n,cn.isEmpty=r,cn.isPlainObject=a,cn.getValue=e}).call(cn)),cn}var Sa={exports:{}},Aa={exports:{}},Ua={exports:{}},ka={exports:{}},qF=ka.exports,Rb;function Lw(){return Rb||(Rb=1,(function(){ka.exports=function(){function t(e,n,r){if(this.options=e.options,this.stringify=e.stringify,this.parent=e,n==null)throw new Error("Missing attribute name. "+this.debugInfo(n));if(r==null)throw new Error("Missing attribute value. "+this.debugInfo(n));this.name=this.stringify.attName(n),this.value=this.stringify.attValue(r)}return t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(e){return this.options.writer.set(e).attribute(this)},t.prototype.debugInfo=function(e){return e=e||this.name,e==null?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},t}()}).call(qF)),ka.exports}var zF=Ua.exports,Nb;function hc(){return Nb||(Nb=1,(function(){var t,e,n,r,i,o,a=function(c,l){for(var u in l)s.call(l,u)&&(c[u]=l[u]);function f(){this.constructor=c}return f.prototype=l.prototype,c.prototype=new f,c.__super__=l.prototype,c},s={}.hasOwnProperty;o=xr(),i=o.isObject,r=o.isFunction,n=o.getValue,e=Ft(),t=Lw(),Ua.exports=function(c){a(l,c);function l(u,f,d){if(l.__super__.constructor.call(this,u),f==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(f),this.attributes={},d!=null&&this.attribute(d),u.isDocument&&(this.isRoot=!0,this.documentObject=u,u.rootObject=this)}return l.prototype.clone=function(){var u,f,d,h;d=Object.create(this),d.isRoot&&(d.documentObject=null),d.attributes={},h=this.attributes;for(f in h)s.call(h,f)&&(u=h[f],d.attributes[f]=u.clone());return d.children=[],this.children.forEach(function(p){var m;return m=p.clone(),m.parent=d,d.children.push(m)}),d},l.prototype.attribute=function(u,f){var d,h;if(u!=null&&(u=n(u)),i(u))for(d in u)s.call(u,d)&&(h=u[d],this.attribute(d,h));else r(f)&&(f=f.apply()),(!this.options.skipNullAttributes||f!=null)&&(this.attributes[u]=new t(this,u,f));return this},l.prototype.removeAttribute=function(u){var f,d,h;if(u==null)throw new Error("Missing attribute name. "+this.debugInfo());if(u=n(u),Array.isArray(u))for(d=0,h=u.length;d<h;d++)f=u[d],delete this.attributes[f];else delete this.attributes[u];return this},l.prototype.toString=function(u){return this.options.writer.set(u).element(this)},l.prototype.att=function(u,f){return this.attribute(u,f)},l.prototype.a=function(u,f){return this.attribute(u,f)},l}(e)}).call(zF)),Ua.exports}var Fa={exports:{}},jF=Fa.exports,Bb;function pc(){return Bb||(Bb=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),Fa.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).cdata(this)},i}(t)}).call(jF)),Fa.exports}var Oa={exports:{}},$F=Oa.exports,Ib;function gc(){return Ib||(Ib=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),Oa.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).comment(this)},i}(t)}).call($F)),Oa.exports}var Ra={exports:{}},VF=Ra.exports,Mb;function mc(){return Mb||(Mb=1,(function(){var t,e,n=function(i,o){for(var a in o)r.call(o,a)&&(i[a]=o[a]);function s(){this.constructor=i}return s.prototype=o.prototype,i.prototype=new s,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=xr().isObject,t=Ft(),Ra.exports=function(i){n(o,i);function o(a,s,c,l){var u;o.__super__.constructor.call(this,a),e(s)&&(u=s,s=u.version,c=u.encoding,l=u.standalone),s||(s="1.0"),this.version=this.stringify.xmlVersion(s),c!=null&&(this.encoding=this.stringify.xmlEncoding(c)),l!=null&&(this.standalone=this.stringify.xmlStandalone(l))}return o.prototype.toString=function(a){return this.options.writer.set(a).declaration(this)},o}(t)}).call(VF)),Ra.exports}var Na={exports:{}},Ba={exports:{}},HF=Ba.exports,Wb;function yc(){return Wb||(Wb=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),Ba.exports=function(r){e(i,r);function i(o,a,s,c,l,u){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(s==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(a));if(!c)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!l)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(l.indexOf("#")!==0&&(l="#"+l),!l.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(u&&!l.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(a));this.elementName=this.stringify.eleName(a),this.attributeName=this.stringify.attName(s),this.attributeType=this.stringify.dtdAttType(c),this.defaultValue=this.stringify.dtdAttDefault(u),this.defaultValueType=l}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdAttList(this)},i}(t)}).call(HF)),Ba.exports}var Ia={exports:{}},XF=Ia.exports,Lb;function bc(){return Lb||(Lb=1,(function(){var t,e,n=function(i,o){for(var a in o)r.call(o,a)&&(i[a]=o[a]);function s(){this.constructor=i}return s.prototype=o.prototype,i.prototype=new s,i.__super__=o.prototype,i},r={}.hasOwnProperty;e=xr().isObject,t=Ft(),Ia.exports=function(i){n(o,i);function o(a,s,c,l){if(o.__super__.constructor.call(this,a),c==null)throw new Error("Missing DTD entity name. "+this.debugInfo(c));if(l==null)throw new Error("Missing DTD entity value. "+this.debugInfo(c));if(this.pe=!!s,this.name=this.stringify.eleName(c),!e(l))this.value=this.stringify.dtdEntityValue(l);else{if(!l.pubID&&!l.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(c));if(l.pubID&&!l.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(c));if(l.pubID!=null&&(this.pubID=this.stringify.dtdPubID(l.pubID)),l.sysID!=null&&(this.sysID=this.stringify.dtdSysID(l.sysID)),l.nData!=null&&(this.nData=this.stringify.dtdNData(l.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(c))}}return o.prototype.toString=function(a){return this.options.writer.set(a).dtdEntity(this)},o}(t)}).call(XF)),Ia.exports}var Ma={exports:{}},GF=Ma.exports,Pb;function vc(){return Pb||(Pb=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),Ma.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD element name. "+this.debugInfo());s||(s="(#PCDATA)"),Array.isArray(s)&&(s="("+s.join(",")+")"),this.name=this.stringify.eleName(a),this.value=this.stringify.dtdElementValue(s)}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdElement(this)},i}(t)}).call(GF)),Ma.exports}var Wa={exports:{}},KF=Wa.exports,qb;function xc(){return qb||(qb=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),Wa.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing DTD notation name. "+this.debugInfo(a));if(!s.pubID&&!s.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(a));this.name=this.stringify.eleName(a),s.pubID!=null&&(this.pubID=this.stringify.dtdPubID(s.pubID)),s.sysID!=null&&(this.sysID=this.stringify.dtdSysID(s.sysID))}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdNotation(this)},i}(t)}).call(KF)),Wa.exports}var JF=Na.exports,zb;function Dc(){return zb||(zb=1,(function(){var t,e,n,r,i,o,a=function(c,l){for(var u in l)s.call(l,u)&&(c[u]=l[u]);function f(){this.constructor=c}return f.prototype=l.prototype,c.prototype=new f,c.__super__=l.prototype,c},s={}.hasOwnProperty;o=xr().isObject,i=Ft(),t=yc(),n=bc(),e=vc(),r=xc(),Na.exports=function(c){a(l,c);function l(u,f,d){var h,p;l.__super__.constructor.call(this,u),this.name="!DOCTYPE",this.documentObject=u,o(f)&&(h=f,f=h.pubID,d=h.sysID),d==null&&(p=[f,d],d=p[0],f=p[1]),f!=null&&(this.pubID=this.stringify.dtdPubID(f)),d!=null&&(this.sysID=this.stringify.dtdSysID(d))}return l.prototype.element=function(u,f){var d;return d=new e(this,u,f),this.children.push(d),this},l.prototype.attList=function(u,f,d,h,p){var m;return m=new t(this,u,f,d,h,p),this.children.push(m),this},l.prototype.entity=function(u,f){var d;return d=new n(this,!1,u,f),this.children.push(d),this},l.prototype.pEntity=function(u,f){var d;return d=new n(this,!0,u,f),this.children.push(d),this},l.prototype.notation=function(u,f){var d;return d=new r(this,u,f),this.children.push(d),this},l.prototype.toString=function(u){return this.options.writer.set(u).docType(this)},l.prototype.ele=function(u,f){return this.element(u,f)},l.prototype.att=function(u,f,d,h,p){return this.attList(u,f,d,h,p)},l.prototype.ent=function(u,f){return this.entity(u,f)},l.prototype.pent=function(u,f){return this.pEntity(u,f)},l.prototype.not=function(u,f){return this.notation(u,f)},l.prototype.up=function(){return this.root()||this.documentObject},l}(i)}).call(JF)),Na.exports}var La={exports:{}},ZF=La.exports,jb;function wc(){return jb||(jb=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),La.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).raw(this)},i}(t)}).call(ZF)),La.exports}var Pa={exports:{}},YF=Pa.exports,$b;function _c(){return $b||($b=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),Pa.exports=function(r){e(i,r);function i(o,a){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing element text. "+this.debugInfo());this.value=this.stringify.eleText(a)}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).text(this)},i}(t)}).call(YF)),Pa.exports}var qa={exports:{}},QF=qa.exports,Vb;function Tc(){return Vb||(Vb=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),qa.exports=function(r){e(i,r);function i(o,a,s){if(i.__super__.constructor.call(this,o),a==null)throw new Error("Missing instruction target. "+this.debugInfo());this.target=this.stringify.insTarget(a),s&&(this.value=this.stringify.insValue(s))}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return this.options.writer.set(o).processingInstruction(this)},i}(t)}).call(QF)),qa.exports}var za={exports:{}},e6=za.exports,Hb;function Pp(){return Hb||(Hb=1,(function(){var t,e=function(r,i){for(var o in i)n.call(i,o)&&(r[o]=i[o]);function a(){this.constructor=r}return a.prototype=i.prototype,r.prototype=new a,r.__super__=i.prototype,r},n={}.hasOwnProperty;t=Ft(),za.exports=function(r){e(i,r);function i(o){i.__super__.constructor.call(this,o),this.isDummy=!0}return i.prototype.clone=function(){return Object.create(this)},i.prototype.toString=function(o){return""},i}(t)}).call(e6)),za.exports}var t6=Aa.exports,Xb;function Ft(){return Xb||(Xb=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,f,d,h,p={}.hasOwnProperty;h=xr(),d=h.isObject,f=h.isFunction,u=h.isEmpty,l=h.getValue,o=null,t=null,e=null,n=null,r=null,s=null,c=null,a=null,i=null,Aa.exports=function(){function m(g){this.parent=g,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=hc(),t=pc(),e=gc(),n=mc(),r=Dc(),s=wc(),c=_c(),a=Tc(),i=Pp())}return m.prototype.element=function(g,y,b){var v,T,w,E,S,U,C,R,L,_,k;if(U=null,y===null&&b==null&&(L=[{},null],y=L[0],b=L[1]),y==null&&(y={}),y=l(y),d(y)||(_=[y,b],b=_[0],y=_[1]),g!=null&&(g=l(g)),Array.isArray(g))for(w=0,C=g.length;w<C;w++)T=g[w],U=this.element(T);else if(f(g))U=this.element(g.apply());else if(d(g)){for(S in g)if(p.call(g,S))if(k=g[S],f(k)&&(k=k.apply()),d(k)&&u(k)&&(k=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&S.indexOf(this.stringify.convertAttKey)===0)U=this.attribute(S.substr(this.stringify.convertAttKey.length),k);else if(!this.options.separateArrayItems&&Array.isArray(k))for(E=0,R=k.length;E<R;E++)T=k[E],v={},v[S]=T,U=this.element(v);else d(k)?(U=this.element(S),U.element(k)):U=this.element(S,k)}else this.options.skipNullNodes&&b===null?U=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&g.indexOf(this.stringify.convertTextKey)===0?U=this.text(b):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&g.indexOf(this.stringify.convertCDataKey)===0?U=this.cdata(b):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&g.indexOf(this.stringify.convertCommentKey)===0?U=this.comment(b):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&g.indexOf(this.stringify.convertRawKey)===0?U=this.raw(b):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&g.indexOf(this.stringify.convertPIKey)===0?U=this.instruction(g.substr(this.stringify.convertPIKey.length),b):U=this.node(g,y,b);if(U==null)throw new Error("Could not create any elements with: "+g+". "+this.debugInfo());return U},m.prototype.insertBefore=function(g,y,b){var v,T,w;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(g));return T=this.parent.children.indexOf(this),w=this.parent.children.splice(T),v=this.parent.element(g,y,b),Array.prototype.push.apply(this.parent.children,w),v},m.prototype.insertAfter=function(g,y,b){var v,T,w;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(g));return T=this.parent.children.indexOf(this),w=this.parent.children.splice(T+1),v=this.parent.element(g,y,b),Array.prototype.push.apply(this.parent.children,w),v},m.prototype.remove=function(){var g;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return g=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[g,g-g+1].concat([])),this.parent},m.prototype.node=function(g,y,b){var v,T;return g!=null&&(g=l(g)),y||(y={}),y=l(y),d(y)||(T=[y,b],b=T[0],y=T[1]),v=new o(this,g,y),b!=null&&v.text(b),this.children.push(v),v},m.prototype.text=function(g){var y;return y=new c(this,g),this.children.push(y),this},m.prototype.cdata=function(g){var y;return y=new t(this,g),this.children.push(y),this},m.prototype.comment=function(g){var y;return y=new e(this,g),this.children.push(y),this},m.prototype.commentBefore=function(g){var y,b;return y=this.parent.children.indexOf(this),b=this.parent.children.splice(y),this.parent.comment(g),Array.prototype.push.apply(this.parent.children,b),this},m.prototype.commentAfter=function(g){var y,b;return y=this.parent.children.indexOf(this),b=this.parent.children.splice(y+1),this.parent.comment(g),Array.prototype.push.apply(this.parent.children,b),this},m.prototype.raw=function(g){var y;return y=new s(this,g),this.children.push(y),this},m.prototype.dummy=function(){var g;return g=new i(this),this.children.push(g),g},m.prototype.instruction=function(g,y){var b,v,T,w,E;if(g!=null&&(g=l(g)),y!=null&&(y=l(y)),Array.isArray(g))for(w=0,E=g.length;w<E;w++)b=g[w],this.instruction(b);else if(d(g))for(b in g)p.call(g,b)&&(v=g[b],this.instruction(b,v));else f(y)&&(y=y.apply()),T=new a(this,g,y),this.children.push(T);return this},m.prototype.instructionBefore=function(g,y){var b,v;return b=this.parent.children.indexOf(this),v=this.parent.children.splice(b),this.parent.instruction(g,y),Array.prototype.push.apply(this.parent.children,v),this},m.prototype.instructionAfter=function(g,y){var b,v;return b=this.parent.children.indexOf(this),v=this.parent.children.splice(b+1),this.parent.instruction(g,y),Array.prototype.push.apply(this.parent.children,v),this},m.prototype.declaration=function(g,y,b){var v,T;return v=this.document(),T=new n(v,g,y,b),v.children[0]instanceof n?v.children[0]=T:v.children.unshift(T),v.root()||v},m.prototype.doctype=function(g,y){var b,v,T,w,E,S,U,C,R,L;for(v=this.document(),T=new r(v,g,y),R=v.children,w=E=0,U=R.length;E<U;w=++E)if(b=R[w],b instanceof r)return v.children[w]=T,T;for(L=v.children,w=S=0,C=L.length;S<C;w=++S)if(b=L[w],b.isRoot)return v.children.splice(w,0,T),T;return v.children.push(T),T},m.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},m.prototype.root=function(){var g;for(g=this;g;){if(g.isDocument)return g.rootObject;if(g.isRoot)return g;g=g.parent}},m.prototype.document=function(){var g;for(g=this;g;){if(g.isDocument)return g;g=g.parent}},m.prototype.end=function(g){return this.document().end(g)},m.prototype.prev=function(){var g;for(g=this.parent.children.indexOf(this);g>0&&this.parent.children[g-1].isDummy;)g=g-1;if(g<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[g-1]},m.prototype.next=function(){var g;for(g=this.parent.children.indexOf(this);g<this.parent.children.length-1&&this.parent.children[g+1].isDummy;)g=g+1;if(g===-1||g===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[g+1]},m.prototype.importDocument=function(g){var y;return y=g.root().clone(),y.parent=this,y.isRoot=!1,this.children.push(y),this},m.prototype.debugInfo=function(g){var y,b;return g=g||this.name,g==null&&!((y=this.parent)!=null&&y.name)?"":g==null?"parent: <"+this.parent.name+">":(b=this.parent)!=null&&b.name?"node: <"+g+">, parent: <"+this.parent.name+">":"node: <"+g+">"},m.prototype.ele=function(g,y,b){return this.element(g,y,b)},m.prototype.nod=function(g,y,b){return this.node(g,y,b)},m.prototype.txt=function(g){return this.text(g)},m.prototype.dat=function(g){return this.cdata(g)},m.prototype.com=function(g){return this.comment(g)},m.prototype.ins=function(g,y){return this.instruction(g,y)},m.prototype.doc=function(){return this.document()},m.prototype.dec=function(g,y,b){return this.declaration(g,y,b)},m.prototype.dtd=function(g,y){return this.doctype(g,y)},m.prototype.e=function(g,y,b){return this.element(g,y,b)},m.prototype.n=function(g,y,b){return this.node(g,y,b)},m.prototype.t=function(g){return this.text(g)},m.prototype.d=function(g){return this.cdata(g)},m.prototype.c=function(g){return this.comment(g)},m.prototype.r=function(g){return this.raw(g)},m.prototype.i=function(g,y){return this.instruction(g,y)},m.prototype.u=function(){return this.up()},m.prototype.importXMLBuilder=function(g){return this.importDocument(g)},m}()}).call(t6)),Aa.exports}var ja={exports:{}},n6=ja.exports,Gb;function Pw(){return Gb||(Gb=1,(function(){var t=function(n,r){return function(){return n.apply(r,arguments)}},e={}.hasOwnProperty;ja.exports=function(){function n(r){this.assertLegalChar=t(this.assertLegalChar,this);var i,o,a;r||(r={}),this.noDoubleEncoding=r.noDoubleEncoding,o=r.stringify||{};for(i in o)e.call(o,i)&&(a=o[i],this[i]=a)}return n.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},n.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},n.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(r)},n.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},n.prototype.raw=function(r){return""+r||""},n.prototype.attName=function(r){return r=""+r||""},n.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},n.prototype.insTarget=function(r){return""+r||""},n.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},n.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},n.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},n.prototype.xmlStandalone=function(r){return r?"yes":"no"},n.prototype.dtdPubID=function(r){return""+r||""},n.prototype.dtdSysID=function(r){return""+r||""},n.prototype.dtdElementValue=function(r){return""+r||""},n.prototype.dtdAttType=function(r){return""+r||""},n.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},n.prototype.dtdEntityValue=function(r){return""+r||""},n.prototype.dtdNData=function(r){return""+r||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(r){var i;if(i=r.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),i)throw new Error("Invalid character in string: "+r+" at index "+i.index);return r},n.prototype.elEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},n}()}).call(n6)),ja.exports}var $a={exports:{}},Va={exports:{}},r6=Va.exports,Kb;function qw(){return Kb||(Kb=1,(function(){var t={}.hasOwnProperty;Va.exports=function(){function e(n){var r,i,o,a,s,c,l,u,f;n||(n={}),this.pretty=n.pretty||!1,this.allowEmpty=(i=n.allowEmpty)!=null?i:!1,this.pretty?(this.indent=(o=n.indent)!=null?o:" ",this.newline=(a=n.newline)!=null?a:`
223
- `,this.offset=(s=n.offset)!=null?s:0,this.dontprettytextnodes=(c=n.dontprettytextnodes)!=null?c:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(l=n.spacebeforeslash)!=null?l:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,u=n.writer||{};for(r in u)t.call(u,r)&&(f=u[r],this[r]=f)}return e.prototype.set=function(n){var r,i,o;n||(n={}),"pretty"in n&&(this.pretty=n.pretty),"allowEmpty"in n&&(this.allowEmpty=n.allowEmpty),this.pretty?(this.indent="indent"in n?n.indent:" ",this.newline="newline"in n?n.newline:`
224
- `,this.offset="offset"in n?n.offset:0,this.dontprettytextnodes="dontprettytextnodes"in n?n.dontprettytextnodes:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash="spacebeforeslash"in n?n.spacebeforeslash:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,i=n.writer||{};for(r in i)t.call(i,r)&&(o=i[r],this[r]=o);return this},e.prototype.space=function(n){var r;return this.pretty?(r=(n||0)+this.offset+1,r>0?new Array(r).join(this.indent):""):""},e}()}).call(r6)),Va.exports}var i6=$a.exports,Jb;function qp(){return Jb||(Jb=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,f,d,h,p=function(g,y){for(var b in y)m.call(y,b)&&(g[b]=y[b]);function v(){this.constructor=g}return v.prototype=y.prototype,g.prototype=new v,g.__super__=y.prototype,g},m={}.hasOwnProperty;a=mc(),s=Dc(),t=pc(),e=gc(),l=hc(),f=wc(),d=_c(),u=Tc(),c=Pp(),n=yc(),r=vc(),i=bc(),o=xc(),h=qw(),$a.exports=function(g){p(y,g);function y(b){y.__super__.constructor.call(this,b)}return y.prototype.document=function(b){var v,T,w,E,S;for(this.textispresent=!1,E="",S=b.children,T=0,w=S.length;T<w;T++)v=S[T],!(v instanceof c)&&(E+=(function(){switch(!1){case!(v instanceof a):return this.declaration(v);case!(v instanceof s):return this.docType(v);case!(v instanceof e):return this.comment(v);case!(v instanceof u):return this.processingInstruction(v);default:return this.element(v,0)}}).call(this));return this.pretty&&E.slice(-this.newline.length)===this.newline&&(E=E.slice(0,-this.newline.length)),E},y.prototype.attribute=function(b){return" "+b.name+'="'+b.value+'"'},y.prototype.cdata=function(b,v){return this.space(v)+"<![CDATA["+b.text+"]]>"+this.newline},y.prototype.comment=function(b,v){return this.space(v)+"<!-- "+b.text+" -->"+this.newline},y.prototype.declaration=function(b,v){var T;return T=this.space(v),T+='<?xml version="'+b.version+'"',b.encoding!=null&&(T+=' encoding="'+b.encoding+'"'),b.standalone!=null&&(T+=' standalone="'+b.standalone+'"'),T+=this.spacebeforeslash+"?>",T+=this.newline,T},y.prototype.docType=function(b,v){var T,w,E,S,U;if(v||(v=0),S=this.space(v),S+="<!DOCTYPE "+b.root().name,b.pubID&&b.sysID?S+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(S+=' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(S+=" [",S+=this.newline,U=b.children,w=0,E=U.length;w<E;w++)T=U[w],S+=(function(){switch(!1){case!(T instanceof n):return this.dtdAttList(T,v+1);case!(T instanceof r):return this.dtdElement(T,v+1);case!(T instanceof i):return this.dtdEntity(T,v+1);case!(T instanceof o):return this.dtdNotation(T,v+1);case!(T instanceof t):return this.cdata(T,v+1);case!(T instanceof e):return this.comment(T,v+1);case!(T instanceof u):return this.processingInstruction(T,v+1);default:throw new Error("Unknown DTD node type: "+T.constructor.name)}}).call(this);S+="]"}return S+=this.spacebeforeslash+">",S+=this.newline,S},y.prototype.element=function(b,v){var T,w,E,S,U,C,R,L,_,k,x,z,F;v||(v=0),F=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),z=this.space(v),L="",L+=z+"<"+b.name,_=b.attributes;for(R in _)m.call(_,R)&&(T=_[R],L+=this.attribute(T));if(b.children.length===0||b.children.every(function(I){return I.value===""}))this.allowEmpty?L+="></"+b.name+">"+this.newline:L+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&b.children.length===1&&b.children[0].value!=null)L+=">",L+=b.children[0].value,L+="</"+b.name+">"+this.newline;else{if(this.dontprettytextnodes){for(k=b.children,E=0,U=k.length;E<U;E++)if(w=k[E],w.value!=null){this.textispresent++,F=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,z=this.space(v)),L+=">"+this.newline,x=b.children,S=0,C=x.length;S<C;S++)w=x[S],L+=(function(){switch(!1){case!(w instanceof t):return this.cdata(w,v+1);case!(w instanceof e):return this.comment(w,v+1);case!(w instanceof l):return this.element(w,v+1);case!(w instanceof f):return this.raw(w,v+1);case!(w instanceof d):return this.text(w,v+1);case!(w instanceof u):return this.processingInstruction(w,v+1);case!(w instanceof c):return"";default:throw new Error("Unknown XML node type: "+w.constructor.name)}}).call(this);F&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),L+=z+"</"+b.name+">"+this.newline}return L},y.prototype.processingInstruction=function(b,v){var T;return T=this.space(v)+"<?"+b.target,b.value&&(T+=" "+b.value),T+=this.spacebeforeslash+"?>"+this.newline,T},y.prototype.raw=function(b,v){return this.space(v)+b.value+this.newline},y.prototype.text=function(b,v){return this.space(v)+b.value+this.newline},y.prototype.dtdAttList=function(b,v){var T;return T=this.space(v)+"<!ATTLIST "+b.elementName+" "+b.attributeName+" "+b.attributeType,b.defaultValueType!=="#DEFAULT"&&(T+=" "+b.defaultValueType),b.defaultValue&&(T+=' "'+b.defaultValue+'"'),T+=this.spacebeforeslash+">"+this.newline,T},y.prototype.dtdElement=function(b,v){return this.space(v)+"<!ELEMENT "+b.name+" "+b.value+this.spacebeforeslash+">"+this.newline},y.prototype.dtdEntity=function(b,v){var T;return T=this.space(v)+"<!ENTITY",b.pe&&(T+=" %"),T+=" "+b.name,b.value?T+=' "'+b.value+'"':(b.pubID&&b.sysID?T+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(T+=' SYSTEM "'+b.sysID+'"'),b.nData&&(T+=" NDATA "+b.nData)),T+=this.spacebeforeslash+">"+this.newline,T},y.prototype.dtdNotation=function(b,v){var T;return T=this.space(v)+"<!NOTATION "+b.name,b.pubID&&b.sysID?T+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.pubID?T+=' PUBLIC "'+b.pubID+'"':b.sysID&&(T+=' SYSTEM "'+b.sysID+'"'),T+=this.spacebeforeslash+">"+this.newline,T},y.prototype.openNode=function(b,v){var T,w,E,S;if(v||(v=0),b instanceof l){E=this.space(v)+"<"+b.name,S=b.attributes;for(w in S)m.call(S,w)&&(T=S[w],E+=this.attribute(T));return E+=(b.children?">":"/>")+this.newline,E}else return E=this.space(v)+"<!DOCTYPE "+b.rootNodeName,b.pubID&&b.sysID?E+=' PUBLIC "'+b.pubID+'" "'+b.sysID+'"':b.sysID&&(E+=' SYSTEM "'+b.sysID+'"'),E+=(b.children?" [":">")+this.newline,E},y.prototype.closeNode=function(b,v){switch(v||(v=0),!1){case!(b instanceof l):return this.space(v)+"</"+b.name+">"+this.newline;case!(b instanceof s):return this.space(v)+"]>"+this.newline}},y}(h)}).call(i6)),$a.exports}var o6=Sa.exports,Zb;function a6(){return Zb||(Zb=1,(function(){var t,e,n,r,i=function(a,s){for(var c in s)o.call(s,c)&&(a[c]=s[c]);function l(){this.constructor=a}return l.prototype=s.prototype,a.prototype=new l,a.__super__=s.prototype,a},o={}.hasOwnProperty;r=xr().isPlainObject,t=Ft(),n=Pw(),e=qp(),Sa.exports=function(a){i(s,a);function s(c){s.__super__.constructor.call(this,null),this.name="?xml",c||(c={}),c.writer||(c.writer=new e),this.options=c,this.stringify=new n(c),this.isDocument=!0}return s.prototype.end=function(c){var l;return c?r(c)&&(l=c,c=this.options.writer.set(l)):c=this.options.writer,c.document(this)},s.prototype.toString=function(c){return this.options.writer.set(c).document(this)},s}(t)}).call(o6)),Sa.exports}var Ha={exports:{}},s6=Ha.exports,Yb;function c6(){return Yb||(Yb=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,f,d,h,p,m,g,y,b,v,T={}.hasOwnProperty;v=xr(),y=v.isObject,g=v.isFunction,b=v.isPlainObject,m=v.getValue,l=hc(),e=pc(),n=gc(),f=wc(),p=_c(),u=Tc(),s=mc(),c=Dc(),r=yc(),o=bc(),i=vc(),a=xc(),t=Lw(),h=Pw(),d=qp(),Ha.exports=function(){function w(E,S,U){var C;this.name="?xml",E||(E={}),E.writer?b(E.writer)&&(C=E.writer,E.writer=new d(C)):E.writer=new d(E),this.options=E,this.writer=E.writer,this.stringify=new h(E),this.onDataCallback=S||function(){},this.onEndCallback=U||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return w.prototype.node=function(E,S,U){var C,R;if(E==null)throw new Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw new Error("Document can only have one root node. "+this.debugInfo(E));return this.openCurrent(),E=m(E),S===null&&U==null&&(C=[{},null],S=C[0],U=C[1]),S==null&&(S={}),S=m(S),y(S)||(R=[S,U],U=R[0],S=R[1]),this.currentNode=new l(this,E,S),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,U!=null&&this.text(U),this},w.prototype.element=function(E,S,U){return this.currentNode&&this.currentNode instanceof c?this.dtdElement.apply(this,arguments):this.node(E,S,U)},w.prototype.attribute=function(E,S){var U,C;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(E));if(E!=null&&(E=m(E)),y(E))for(U in E)T.call(E,U)&&(C=E[U],this.attribute(U,C));else g(S)&&(S=S.apply()),(!this.options.skipNullAttributes||S!=null)&&(this.currentNode.attributes[E]=new t(this,E,S));return this},w.prototype.text=function(E){var S;return this.openCurrent(),S=new p(this,E),this.onData(this.writer.text(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.cdata=function(E){var S;return this.openCurrent(),S=new e(this,E),this.onData(this.writer.cdata(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.comment=function(E){var S;return this.openCurrent(),S=new n(this,E),this.onData(this.writer.comment(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.raw=function(E){var S;return this.openCurrent(),S=new f(this,E),this.onData(this.writer.raw(S,this.currentLevel+1),this.currentLevel+1),this},w.prototype.instruction=function(E,S){var U,C,R,L,_;if(this.openCurrent(),E!=null&&(E=m(E)),S!=null&&(S=m(S)),Array.isArray(E))for(U=0,L=E.length;U<L;U++)C=E[U],this.instruction(C);else if(y(E))for(C in E)T.call(E,C)&&(R=E[C],this.instruction(C,R));else g(S)&&(S=S.apply()),_=new u(this,E,S),this.onData(this.writer.processingInstruction(_,this.currentLevel+1),this.currentLevel+1);return this},w.prototype.declaration=function(E,S,U){var C;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return C=new s(this,E,S,U),this.onData(this.writer.declaration(C,this.currentLevel+1),this.currentLevel+1),this},w.prototype.doctype=function(E,S,U){if(this.openCurrent(),E==null)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new c(this,S,U),this.currentNode.rootNodeName=E,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},w.prototype.dtdElement=function(E,S){var U;return this.openCurrent(),U=new i(this,E,S),this.onData(this.writer.dtdElement(U,this.currentLevel+1),this.currentLevel+1),this},w.prototype.attList=function(E,S,U,C,R){var L;return this.openCurrent(),L=new r(this,E,S,U,C,R),this.onData(this.writer.dtdAttList(L,this.currentLevel+1),this.currentLevel+1),this},w.prototype.entity=function(E,S){var U;return this.openCurrent(),U=new o(this,!1,E,S),this.onData(this.writer.dtdEntity(U,this.currentLevel+1),this.currentLevel+1),this},w.prototype.pEntity=function(E,S){var U;return this.openCurrent(),U=new o(this,!0,E,S),this.onData(this.writer.dtdEntity(U,this.currentLevel+1),this.currentLevel+1),this},w.prototype.notation=function(E,S){var U;return this.openCurrent(),U=new a(this,E,S),this.onData(this.writer.dtdNotation(U,this.currentLevel+1),this.currentLevel+1),this},w.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},w.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},w.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},w.prototype.openNode=function(E){if(!E.isOpen)return!this.root&&this.currentLevel===0&&E instanceof l&&(this.root=E),this.onData(this.writer.openNode(E,this.currentLevel),this.currentLevel),E.isOpen=!0},w.prototype.closeNode=function(E){if(!E.isClosed)return this.onData(this.writer.closeNode(E,this.currentLevel),this.currentLevel),E.isClosed=!0},w.prototype.onData=function(E,S){return this.documentStarted=!0,this.onDataCallback(E,S+1)},w.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},w.prototype.debugInfo=function(E){return E==null?"":"node: <"+E+">"},w.prototype.ele=function(){return this.element.apply(this,arguments)},w.prototype.nod=function(E,S,U){return this.node(E,S,U)},w.prototype.txt=function(E){return this.text(E)},w.prototype.dat=function(E){return this.cdata(E)},w.prototype.com=function(E){return this.comment(E)},w.prototype.ins=function(E,S){return this.instruction(E,S)},w.prototype.dec=function(E,S,U){return this.declaration(E,S,U)},w.prototype.dtd=function(E,S,U){return this.doctype(E,S,U)},w.prototype.e=function(E,S,U){return this.element(E,S,U)},w.prototype.n=function(E,S,U){return this.node(E,S,U)},w.prototype.t=function(E){return this.text(E)},w.prototype.d=function(E){return this.cdata(E)},w.prototype.c=function(E){return this.comment(E)},w.prototype.r=function(E){return this.raw(E)},w.prototype.i=function(E,S){return this.instruction(E,S)},w.prototype.att=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.a=function(){return this.currentNode&&this.currentNode instanceof c?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},w.prototype.ent=function(E,S){return this.entity(E,S)},w.prototype.pent=function(E,S){return this.pEntity(E,S)},w.prototype.not=function(E,S){return this.notation(E,S)},w}()}).call(s6)),Ha.exports}var Xa={exports:{}},l6=Xa.exports,Qb;function u6(){return Qb||(Qb=1,(function(){var t,e,n,r,i,o,a,s,c,l,u,f,d,h,p=function(g,y){for(var b in y)m.call(y,b)&&(g[b]=y[b]);function v(){this.constructor=g}return v.prototype=y.prototype,g.prototype=new v,g.__super__=y.prototype,g},m={}.hasOwnProperty;a=mc(),s=Dc(),t=pc(),e=gc(),l=hc(),f=wc(),d=_c(),u=Tc(),c=Pp(),n=yc(),r=vc(),i=bc(),o=xc(),h=qw(),Xa.exports=function(g){p(y,g);function y(b,v){y.__super__.constructor.call(this,v),this.stream=b}return y.prototype.document=function(b){var v,T,w,E,S,U,C,R;for(U=b.children,T=0,E=U.length;T<E;T++)v=U[T],v.isLastRootNode=!1;for(b.children[b.children.length-1].isLastRootNode=!0,C=b.children,R=[],w=0,S=C.length;w<S;w++)if(v=C[w],!(v instanceof c))switch(!1){case!(v instanceof a):R.push(this.declaration(v));break;case!(v instanceof s):R.push(this.docType(v));break;case!(v instanceof e):R.push(this.comment(v));break;case!(v instanceof u):R.push(this.processingInstruction(v));break;default:R.push(this.element(v))}return R},y.prototype.attribute=function(b){return this.stream.write(" "+b.name+'="'+b.value+'"')},y.prototype.cdata=function(b,v){return this.stream.write(this.space(v)+"<![CDATA["+b.text+"]]>"+this.endline(b))},y.prototype.comment=function(b,v){return this.stream.write(this.space(v)+"<!-- "+b.text+" -->"+this.endline(b))},y.prototype.declaration=function(b,v){return this.stream.write(this.space(v)),this.stream.write('<?xml version="'+b.version+'"'),b.encoding!=null&&this.stream.write(' encoding="'+b.encoding+'"'),b.standalone!=null&&this.stream.write(' standalone="'+b.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(b))},y.prototype.docType=function(b,v){var T,w,E,S;if(v||(v=0),this.stream.write(this.space(v)),this.stream.write("<!DOCTYPE "+b.root().name),b.pubID&&b.sysID?this.stream.write(' PUBLIC "'+b.pubID+'" "'+b.sysID+'"'):b.sysID&&this.stream.write(' SYSTEM "'+b.sysID+'"'),b.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(b)),S=b.children,w=0,E=S.length;w<E;w++)switch(T=S[w],!1){case!(T instanceof n):this.dtdAttList(T,v+1);break;case!(T instanceof r):this.dtdElement(T,v+1);break;case!(T instanceof i):this.dtdEntity(T,v+1);break;case!(T instanceof o):this.dtdNotation(T,v+1);break;case!(T instanceof t):this.cdata(T,v+1);break;case!(T instanceof e):this.comment(T,v+1);break;case!(T instanceof u):this.processingInstruction(T,v+1);break;default:throw new Error("Unknown DTD node type: "+T.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(b))},y.prototype.element=function(b,v){var T,w,E,S,U,C,R,L;v||(v=0),L=this.space(v),this.stream.write(L+"<"+b.name),C=b.attributes;for(U in C)m.call(C,U)&&(T=C[U],this.attribute(T));if(b.children.length===0||b.children.every(function(_){return _.value===""}))this.allowEmpty?this.stream.write("></"+b.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&b.children.length===1&&b.children[0].value!=null)this.stream.write(">"),this.stream.write(b.children[0].value),this.stream.write("</"+b.name+">");else{for(this.stream.write(">"+this.newline),R=b.children,E=0,S=R.length;E<S;E++)switch(w=R[E],!1){case!(w instanceof t):this.cdata(w,v+1);break;case!(w instanceof e):this.comment(w,v+1);break;case!(w instanceof l):this.element(w,v+1);break;case!(w instanceof f):this.raw(w,v+1);break;case!(w instanceof d):this.text(w,v+1);break;case!(w instanceof u):this.processingInstruction(w,v+1);break;case!(w instanceof c):break;default:throw new Error("Unknown XML node type: "+w.constructor.name)}this.stream.write(L+"</"+b.name+">")}return this.stream.write(this.endline(b))},y.prototype.processingInstruction=function(b,v){return this.stream.write(this.space(v)+"<?"+b.target),b.value&&this.stream.write(" "+b.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(b))},y.prototype.raw=function(b,v){return this.stream.write(this.space(v)+b.value+this.endline(b))},y.prototype.text=function(b,v){return this.stream.write(this.space(v)+b.value+this.endline(b))},y.prototype.dtdAttList=function(b,v){return this.stream.write(this.space(v)+"<!ATTLIST "+b.elementName+" "+b.attributeName+" "+b.attributeType),b.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+b.defaultValueType),b.defaultValue&&this.stream.write(' "'+b.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.dtdElement=function(b,v){return this.stream.write(this.space(v)+"<!ELEMENT "+b.name+" "+b.value),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.dtdEntity=function(b,v){return this.stream.write(this.space(v)+"<!ENTITY"),b.pe&&this.stream.write(" %"),this.stream.write(" "+b.name),b.value?this.stream.write(' "'+b.value+'"'):(b.pubID&&b.sysID?this.stream.write(' PUBLIC "'+b.pubID+'" "'+b.sysID+'"'):b.sysID&&this.stream.write(' SYSTEM "'+b.sysID+'"'),b.nData&&this.stream.write(" NDATA "+b.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.dtdNotation=function(b,v){return this.stream.write(this.space(v)+"<!NOTATION "+b.name),b.pubID&&b.sysID?this.stream.write(' PUBLIC "'+b.pubID+'" "'+b.sysID+'"'):b.pubID?this.stream.write(' PUBLIC "'+b.pubID+'"'):b.sysID&&this.stream.write(' SYSTEM "'+b.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(b))},y.prototype.endline=function(b){return b.isLastRootNode?"":this.newline},y}(h)}).call(l6)),Xa.exports}var e2;function f6(){return e2||(e2=1,(function(){var t,e,n,r,i,o,a;a=xr(),i=a.assign,o=a.isFunction,t=a6(),e=c6(),r=qp(),n=u6(),wr.create=function(s,c,l,u){var f,d;if(s==null)throw new Error("Root element needs a name.");return u=i({},c,l,u),f=new t(u),d=f.element(s),u.headless||(f.declaration(u),(u.pubID!=null||u.sysID!=null)&&f.doctype(u)),d},wr.begin=function(s,c,l){var u;return o(s)&&(u=[s,c],c=u[0],l=u[1],s={}),c?new e(s,c,l):new t(s)},wr.stringWriter=function(s){return new r(s)},wr.streamWriter=function(s,c){return new n(s,c)}}).call(wr)),wr}var t2;function d6(){if(t2)return _f;t2=1;var t=et,e=f6();_f.writeString=n;function n(i,o){var a=t.invert(o),s={element:l,text:r};function c(d,h){return s[h.type](d,h)}function l(d,h){var p=d.element(u(h.name),h.attributes);h.children.forEach(function(m){c(p,m)})}function u(d){var h=/^\{(.*)\}(.*)$/.exec(d);if(h){var p=a[h[1]];return p+(p===""?"":":")+h[2]}else return d}function f(d){var h=e.create(u(d.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return t.forEach(o,function(p,m){var g="xmlns"+(m===""?"":":"+m);h.attribute(g,p)}),d.children.forEach(function(p){c(h,p)}),h.end()}return f(i)}function r(i,o){i.text(o.value)}return _f}var n2;function zp(){if(n2)return Hn;n2=1;var t=Ww();return Hn.Element=t.Element,Hn.element=t.element,Hn.emptyElement=t.emptyElement,Hn.text=t.text,Hn.readString=PF().readString,Hn.writeString=d6().writeString,Hn}var r2;function h6(){if(r2)return aa;r2=1;var t=et,e=vr(),n=zp();aa.read=i,aa.readXmlFromZipFile=o;var r={"http://schemas.openxmlformats.org/wordprocessingml/2006/main":"w","http://schemas.openxmlformats.org/officeDocument/2006/relationships":"r","http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing":"wp","http://schemas.openxmlformats.org/drawingml/2006/main":"a","http://schemas.openxmlformats.org/drawingml/2006/picture":"pic","http://purl.oclc.org/ooxml/wordprocessingml/main":"w","http://purl.oclc.org/ooxml/officeDocument/relationships":"r","http://purl.oclc.org/ooxml/drawingml/wordprocessingDrawing":"wp","http://purl.oclc.org/ooxml/drawingml/main":"a","http://purl.oclc.org/ooxml/drawingml/picture":"pic","http://schemas.openxmlformats.org/package/2006/content-types":"content-types","http://schemas.openxmlformats.org/package/2006/relationships":"relationships","http://schemas.openxmlformats.org/markup-compatibility/2006":"mc","urn:schemas-microsoft-com:vml":"v","urn:schemas-microsoft-com:office:word":"office-word","http://schemas.microsoft.com/office/word/2010/wordml":"wordml"};function i(c){return n.readString(c,r).then(function(l){return s(l)[0]})}function o(c,l){return c.exists(l)?c.read(l,"utf-8").then(a).then(i):e.resolve(null)}function a(c){return c.replace(/^\uFEFF/g,"")}function s(c){return c.type==="element"?c.name==="mc:AlternateContent"?c.first("mc:Fallback").children:(c.children=t.flatten(c.children.map(s,!0)),[c]):[c]}return aa}var la={},en={},ua={},i2;function p6(){if(i2)return ua;i2=1,Object.defineProperty(ua,"__esModule",{value:!0});var t=[{"Typeface name":"Symbol","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Symbol","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"33","Unicode hex":"21"},{"Typeface name":"Symbol","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"8704","Unicode hex":"2200"},{"Typeface name":"Symbol","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"35","Unicode hex":"23"},{"Typeface name":"Symbol","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"8707","Unicode hex":"2203"},{"Typeface name":"Symbol","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"37","Unicode hex":"25"},{"Typeface name":"Symbol","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"38","Unicode hex":"26"},{"Typeface name":"Symbol","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"8717","Unicode hex":"220D"},{"Typeface name":"Symbol","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"40","Unicode hex":"28"},{"Typeface name":"Symbol","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"41","Unicode hex":"29"},{"Typeface name":"Symbol","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"42","Unicode hex":"2A"},{"Typeface name":"Symbol","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"43","Unicode hex":"2B"},{"Typeface name":"Symbol","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"44","Unicode hex":"2C"},{"Typeface name":"Symbol","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"8722","Unicode hex":"2212"},{"Typeface name":"Symbol","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"46","Unicode hex":"2E"},{"Typeface name":"Symbol","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"47","Unicode hex":"2F"},{"Typeface name":"Symbol","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"48","Unicode hex":"30"},{"Typeface name":"Symbol","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"49","Unicode hex":"31"},{"Typeface name":"Symbol","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"50","Unicode hex":"32"},{"Typeface name":"Symbol","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"51","Unicode hex":"33"},{"Typeface name":"Symbol","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"52","Unicode hex":"34"},{"Typeface name":"Symbol","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"53","Unicode hex":"35"},{"Typeface name":"Symbol","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"54","Unicode hex":"36"},{"Typeface name":"Symbol","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"55","Unicode hex":"37"},{"Typeface name":"Symbol","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"56","Unicode hex":"38"},{"Typeface name":"Symbol","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"57","Unicode hex":"39"},{"Typeface name":"Symbol","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"58","Unicode hex":"3A"},{"Typeface name":"Symbol","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"59","Unicode hex":"3B"},{"Typeface name":"Symbol","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"60","Unicode hex":"3C"},{"Typeface name":"Symbol","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"61","Unicode hex":"3D"},{"Typeface name":"Symbol","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"62","Unicode hex":"3E"},{"Typeface name":"Symbol","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"63","Unicode hex":"3F"},{"Typeface name":"Symbol","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"8773","Unicode hex":"2245"},{"Typeface name":"Symbol","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"913","Unicode hex":"391"},{"Typeface name":"Symbol","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"914","Unicode hex":"392"},{"Typeface name":"Symbol","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"935","Unicode hex":"3A7"},{"Typeface name":"Symbol","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"916","Unicode hex":"394"},{"Typeface name":"Symbol","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"917","Unicode hex":"395"},{"Typeface name":"Symbol","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"934","Unicode hex":"3A6"},{"Typeface name":"Symbol","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"915","Unicode hex":"393"},{"Typeface name":"Symbol","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"919","Unicode hex":"397"},{"Typeface name":"Symbol","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"921","Unicode hex":"399"},{"Typeface name":"Symbol","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"977","Unicode hex":"3D1"},{"Typeface name":"Symbol","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"922","Unicode hex":"39A"},{"Typeface name":"Symbol","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"923","Unicode hex":"39B"},{"Typeface name":"Symbol","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"924","Unicode hex":"39C"},{"Typeface name":"Symbol","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"925","Unicode hex":"39D"},{"Typeface name":"Symbol","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"927","Unicode hex":"39F"},{"Typeface name":"Symbol","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"928","Unicode hex":"3A0"},{"Typeface name":"Symbol","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"920","Unicode hex":"398"},{"Typeface name":"Symbol","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"929","Unicode hex":"3A1"},{"Typeface name":"Symbol","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"931","Unicode hex":"3A3"},{"Typeface name":"Symbol","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"932","Unicode hex":"3A4"},{"Typeface name":"Symbol","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"933","Unicode hex":"3A5"},{"Typeface name":"Symbol","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"962","Unicode hex":"3C2"},{"Typeface name":"Symbol","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"937","Unicode hex":"3A9"},{"Typeface name":"Symbol","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"926","Unicode hex":"39E"},{"Typeface name":"Symbol","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"936","Unicode hex":"3A8"},{"Typeface name":"Symbol","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"918","Unicode hex":"396"},{"Typeface name":"Symbol","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"91","Unicode hex":"5B"},{"Typeface name":"Symbol","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"8756","Unicode hex":"2234"},{"Typeface name":"Symbol","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"93","Unicode hex":"5D"},{"Typeface name":"Symbol","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"8869","Unicode hex":"22A5"},{"Typeface name":"Symbol","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"95","Unicode hex":"5F"},{"Typeface name":"Symbol","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"8254","Unicode hex":"203E"},{"Typeface name":"Symbol","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"945","Unicode hex":"3B1"},{"Typeface name":"Symbol","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"946","Unicode hex":"3B2"},{"Typeface name":"Symbol","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"967","Unicode hex":"3C7"},{"Typeface name":"Symbol","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"948","Unicode hex":"3B4"},{"Typeface name":"Symbol","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"949","Unicode hex":"3B5"},{"Typeface name":"Symbol","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"966","Unicode hex":"3C6"},{"Typeface name":"Symbol","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"947","Unicode hex":"3B3"},{"Typeface name":"Symbol","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"951","Unicode hex":"3B7"},{"Typeface name":"Symbol","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"953","Unicode hex":"3B9"},{"Typeface name":"Symbol","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"981","Unicode hex":"3D5"},{"Typeface name":"Symbol","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"954","Unicode hex":"3BA"},{"Typeface name":"Symbol","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"955","Unicode hex":"3BB"},{"Typeface name":"Symbol","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"956","Unicode hex":"3BC"},{"Typeface name":"Symbol","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"957","Unicode hex":"3BD"},{"Typeface name":"Symbol","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"959","Unicode hex":"3BF"},{"Typeface name":"Symbol","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"960","Unicode hex":"3C0"},{"Typeface name":"Symbol","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"952","Unicode hex":"3B8"},{"Typeface name":"Symbol","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"961","Unicode hex":"3C1"},{"Typeface name":"Symbol","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"963","Unicode hex":"3C3"},{"Typeface name":"Symbol","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"964","Unicode hex":"3C4"},{"Typeface name":"Symbol","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"965","Unicode hex":"3C5"},{"Typeface name":"Symbol","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"982","Unicode hex":"3D6"},{"Typeface name":"Symbol","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"969","Unicode hex":"3C9"},{"Typeface name":"Symbol","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"958","Unicode hex":"3BE"},{"Typeface name":"Symbol","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"968","Unicode hex":"3C8"},{"Typeface name":"Symbol","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"950","Unicode hex":"3B6"},{"Typeface name":"Symbol","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"123","Unicode hex":"7B"},{"Typeface name":"Symbol","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"124","Unicode hex":"7C"},{"Typeface name":"Symbol","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"125","Unicode hex":"7D"},{"Typeface name":"Symbol","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"126","Unicode hex":"7E"},{"Typeface name":"Symbol","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"8364","Unicode hex":"20AC"},{"Typeface name":"Symbol","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"978","Unicode hex":"3D2"},{"Typeface name":"Symbol","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"8242","Unicode hex":"2032"},{"Typeface name":"Symbol","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"8804","Unicode hex":"2264"},{"Typeface name":"Symbol","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"8260","Unicode hex":"2044"},{"Typeface name":"Symbol","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"8734","Unicode hex":"221E"},{"Typeface name":"Symbol","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"402","Unicode hex":"192"},{"Typeface name":"Symbol","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9827","Unicode hex":"2663"},{"Typeface name":"Symbol","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9830","Unicode hex":"2666"},{"Typeface name":"Symbol","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"9829","Unicode hex":"2665"},{"Typeface name":"Symbol","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"9824","Unicode hex":"2660"},{"Typeface name":"Symbol","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"8596","Unicode hex":"2194"},{"Typeface name":"Symbol","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"8592","Unicode hex":"2190"},{"Typeface name":"Symbol","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"8593","Unicode hex":"2191"},{"Typeface name":"Symbol","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"8594","Unicode hex":"2192"},{"Typeface name":"Symbol","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"8595","Unicode hex":"2193"},{"Typeface name":"Symbol","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"176","Unicode hex":"B0"},{"Typeface name":"Symbol","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"177","Unicode hex":"B1"},{"Typeface name":"Symbol","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"8243","Unicode hex":"2033"},{"Typeface name":"Symbol","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"8805","Unicode hex":"2265"},{"Typeface name":"Symbol","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"215","Unicode hex":"D7"},{"Typeface name":"Symbol","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"8733","Unicode hex":"221D"},{"Typeface name":"Symbol","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"8706","Unicode hex":"2202"},{"Typeface name":"Symbol","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Symbol","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"247","Unicode hex":"F7"},{"Typeface name":"Symbol","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"8800","Unicode hex":"2260"},{"Typeface name":"Symbol","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"8801","Unicode hex":"2261"},{"Typeface name":"Symbol","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"8776","Unicode hex":"2248"},{"Typeface name":"Symbol","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"8230","Unicode hex":"2026"},{"Typeface name":"Symbol","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Symbol","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"9135","Unicode hex":"23AF"},{"Typeface name":"Symbol","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"8629","Unicode hex":"21B5"},{"Typeface name":"Symbol","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"8501","Unicode hex":"2135"},{"Typeface name":"Symbol","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"8465","Unicode hex":"2111"},{"Typeface name":"Symbol","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"8476","Unicode hex":"211C"},{"Typeface name":"Symbol","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"8472","Unicode hex":"2118"},{"Typeface name":"Symbol","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"8855","Unicode hex":"2297"},{"Typeface name":"Symbol","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"8853","Unicode hex":"2295"},{"Typeface name":"Symbol","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"8709","Unicode hex":"2205"},{"Typeface name":"Symbol","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"8745","Unicode hex":"2229"},{"Typeface name":"Symbol","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"8746","Unicode hex":"222A"},{"Typeface name":"Symbol","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"8835","Unicode hex":"2283"},{"Typeface name":"Symbol","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"8839","Unicode hex":"2287"},{"Typeface name":"Symbol","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"8836","Unicode hex":"2284"},{"Typeface name":"Symbol","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"8834","Unicode hex":"2282"},{"Typeface name":"Symbol","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"8838","Unicode hex":"2286"},{"Typeface name":"Symbol","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"8712","Unicode hex":"2208"},{"Typeface name":"Symbol","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"8713","Unicode hex":"2209"},{"Typeface name":"Symbol","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"8736","Unicode hex":"2220"},{"Typeface name":"Symbol","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"8711","Unicode hex":"2207"},{"Typeface name":"Symbol","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"8719","Unicode hex":"220F"},{"Typeface name":"Symbol","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8730","Unicode hex":"221A"},{"Typeface name":"Symbol","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Symbol","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"172","Unicode hex":"AC"},{"Typeface name":"Symbol","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"8743","Unicode hex":"2227"},{"Typeface name":"Symbol","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"8744","Unicode hex":"2228"},{"Typeface name":"Symbol","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"8660","Unicode hex":"21D4"},{"Typeface name":"Symbol","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"8656","Unicode hex":"21D0"},{"Typeface name":"Symbol","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"8657","Unicode hex":"21D1"},{"Typeface name":"Symbol","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"8658","Unicode hex":"21D2"},{"Typeface name":"Symbol","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"8659","Unicode hex":"21D3"},{"Typeface name":"Symbol","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Symbol","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"12296","Unicode hex":"3008"},{"Typeface name":"Symbol","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"174","Unicode hex":"AE"},{"Typeface name":"Symbol","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"169","Unicode hex":"A9"},{"Typeface name":"Symbol","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"8482","Unicode hex":"2122"},{"Typeface name":"Symbol","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"8721","Unicode hex":"2211"},{"Typeface name":"Symbol","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"9115","Unicode hex":"239B"},{"Typeface name":"Symbol","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"9116","Unicode hex":"239C"},{"Typeface name":"Symbol","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9117","Unicode hex":"239D"},{"Typeface name":"Symbol","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9121","Unicode hex":"23A1"},{"Typeface name":"Symbol","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"9122","Unicode hex":"23A2"},{"Typeface name":"Symbol","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"9123","Unicode hex":"23A3"},{"Typeface name":"Symbol","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"9127","Unicode hex":"23A7"},{"Typeface name":"Symbol","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"9128","Unicode hex":"23A8"},{"Typeface name":"Symbol","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"9129","Unicode hex":"23A9"},{"Typeface name":"Symbol","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"9130","Unicode hex":"23AA"},{"Typeface name":"Symbol","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"63743","Unicode hex":"F8FF"},{"Typeface name":"Symbol","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"12297","Unicode hex":"3009"},{"Typeface name":"Symbol","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8747","Unicode hex":"222B"},{"Typeface name":"Symbol","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"8992","Unicode hex":"2320"},{"Typeface name":"Symbol","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"9134","Unicode hex":"23AE"},{"Typeface name":"Symbol","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"8993","Unicode hex":"2321"},{"Typeface name":"Symbol","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"9118","Unicode hex":"239E"},{"Typeface name":"Symbol","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"9119","Unicode hex":"239F"},{"Typeface name":"Symbol","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"9120","Unicode hex":"23A0"},{"Typeface name":"Symbol","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"9124","Unicode hex":"23A4"},{"Typeface name":"Symbol","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"9125","Unicode hex":"23A5"},{"Typeface name":"Symbol","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"9126","Unicode hex":"23A6"},{"Typeface name":"Symbol","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"9131","Unicode hex":"23AB"},{"Typeface name":"Symbol","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"9132","Unicode hex":"23AC"},{"Typeface name":"Symbol","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"9133","Unicode hex":"23AD"},{"Typeface name":"Webdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Webdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128375","Unicode hex":"1F577"},{"Typeface name":"Webdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128376","Unicode hex":"1F578"},{"Typeface name":"Webdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128370","Unicode hex":"1F572"},{"Typeface name":"Webdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128374","Unicode hex":"1F576"},{"Typeface name":"Webdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"127942","Unicode hex":"1F3C6"},{"Typeface name":"Webdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"127894","Unicode hex":"1F396"},{"Typeface name":"Webdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128391","Unicode hex":"1F587"},{"Typeface name":"Webdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128488","Unicode hex":"1F5E8"},{"Typeface name":"Webdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128489","Unicode hex":"1F5E9"},{"Typeface name":"Webdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128496","Unicode hex":"1F5F0"},{"Typeface name":"Webdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128497","Unicode hex":"1F5F1"},{"Typeface name":"Webdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"127798","Unicode hex":"1F336"},{"Typeface name":"Webdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"127895","Unicode hex":"1F397"},{"Typeface name":"Webdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128638","Unicode hex":"1F67E"},{"Typeface name":"Webdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128636","Unicode hex":"1F67C"},{"Typeface name":"Webdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128469","Unicode hex":"1F5D5"},{"Typeface name":"Webdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128470","Unicode hex":"1F5D6"},{"Typeface name":"Webdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128471","Unicode hex":"1F5D7"},{"Typeface name":"Webdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"9204","Unicode hex":"23F4"},{"Typeface name":"Webdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"9205","Unicode hex":"23F5"},{"Typeface name":"Webdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"9206","Unicode hex":"23F6"},{"Typeface name":"Webdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"9207","Unicode hex":"23F7"},{"Typeface name":"Webdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"9194","Unicode hex":"23EA"},{"Typeface name":"Webdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"9193","Unicode hex":"23E9"},{"Typeface name":"Webdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"9198","Unicode hex":"23EE"},{"Typeface name":"Webdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"9197","Unicode hex":"23ED"},{"Typeface name":"Webdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"9208","Unicode hex":"23F8"},{"Typeface name":"Webdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"9209","Unicode hex":"23F9"},{"Typeface name":"Webdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"9210","Unicode hex":"23FA"},{"Typeface name":"Webdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128474","Unicode hex":"1F5DA"},{"Typeface name":"Webdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128499","Unicode hex":"1F5F3"},{"Typeface name":"Webdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128736","Unicode hex":"1F6E0"},{"Typeface name":"Webdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"127959","Unicode hex":"1F3D7"},{"Typeface name":"Webdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"127960","Unicode hex":"1F3D8"},{"Typeface name":"Webdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"127961","Unicode hex":"1F3D9"},{"Typeface name":"Webdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"127962","Unicode hex":"1F3DA"},{"Typeface name":"Webdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"127964","Unicode hex":"1F3DC"},{"Typeface name":"Webdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"127981","Unicode hex":"1F3ED"},{"Typeface name":"Webdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"127963","Unicode hex":"1F3DB"},{"Typeface name":"Webdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"127968","Unicode hex":"1F3E0"},{"Typeface name":"Webdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"127958","Unicode hex":"1F3D6"},{"Typeface name":"Webdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"127965","Unicode hex":"1F3DD"},{"Typeface name":"Webdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128739","Unicode hex":"1F6E3"},{"Typeface name":"Webdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128269","Unicode hex":"1F50D"},{"Typeface name":"Webdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"127956","Unicode hex":"1F3D4"},{"Typeface name":"Webdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128065","Unicode hex":"1F441"},{"Typeface name":"Webdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128066","Unicode hex":"1F442"},{"Typeface name":"Webdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127966","Unicode hex":"1F3DE"},{"Typeface name":"Webdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"127957","Unicode hex":"1F3D5"},{"Typeface name":"Webdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"128740","Unicode hex":"1F6E4"},{"Typeface name":"Webdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127967","Unicode hex":"1F3DF"},{"Typeface name":"Webdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"128755","Unicode hex":"1F6F3"},{"Typeface name":"Webdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128364","Unicode hex":"1F56C"},{"Typeface name":"Webdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"128363","Unicode hex":"1F56B"},{"Typeface name":"Webdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128360","Unicode hex":"1F568"},{"Typeface name":"Webdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"128264","Unicode hex":"1F508"},{"Typeface name":"Webdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"127892","Unicode hex":"1F394"},{"Typeface name":"Webdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"127893","Unicode hex":"1F395"},{"Typeface name":"Webdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128492","Unicode hex":"1F5EC"},{"Typeface name":"Webdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128637","Unicode hex":"1F67D"},{"Typeface name":"Webdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"128493","Unicode hex":"1F5ED"},{"Typeface name":"Webdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128490","Unicode hex":"1F5EA"},{"Typeface name":"Webdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128491","Unicode hex":"1F5EB"},{"Typeface name":"Webdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"11156","Unicode hex":"2B94"},{"Typeface name":"Webdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"10004","Unicode hex":"2714"},{"Typeface name":"Webdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128690","Unicode hex":"1F6B2"},{"Typeface name":"Webdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"11036","Unicode hex":"2B1C"},{"Typeface name":"Webdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128737","Unicode hex":"1F6E1"},{"Typeface name":"Webdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128230","Unicode hex":"1F4E6"},{"Typeface name":"Webdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128753","Unicode hex":"1F6F1"},{"Typeface name":"Webdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"11035","Unicode hex":"2B1B"},{"Typeface name":"Webdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128657","Unicode hex":"1F691"},{"Typeface name":"Webdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"128712","Unicode hex":"1F6C8"},{"Typeface name":"Webdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128745","Unicode hex":"1F6E9"},{"Typeface name":"Webdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128752","Unicode hex":"1F6F0"},{"Typeface name":"Webdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"128968","Unicode hex":"1F7C8"},{"Typeface name":"Webdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128372","Unicode hex":"1F574"},{"Typeface name":"Webdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"11044","Unicode hex":"2B24"},{"Typeface name":"Webdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128741","Unicode hex":"1F6E5"},{"Typeface name":"Webdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128660","Unicode hex":"1F694"},{"Typeface name":"Webdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"128472","Unicode hex":"1F5D8"},{"Typeface name":"Webdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"128473","Unicode hex":"1F5D9"},{"Typeface name":"Webdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"10067","Unicode hex":"2753"},{"Typeface name":"Webdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"128754","Unicode hex":"1F6F2"},{"Typeface name":"Webdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"128647","Unicode hex":"1F687"},{"Typeface name":"Webdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"128653","Unicode hex":"1F68D"},{"Typeface name":"Webdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9971","Unicode hex":"26F3"},{"Typeface name":"Webdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Webdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"8854","Unicode hex":"2296"},{"Typeface name":"Webdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"128685","Unicode hex":"1F6AD"},{"Typeface name":"Webdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"128494","Unicode hex":"1F5EE"},{"Typeface name":"Webdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"9168","Unicode hex":"23D0"},{"Typeface name":"Webdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128495","Unicode hex":"1F5EF"},{"Typeface name":"Webdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128498","Unicode hex":"1F5F2"},{"Typeface name":"Webdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128697","Unicode hex":"1F6B9"},{"Typeface name":"Webdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"128698","Unicode hex":"1F6BA"},{"Typeface name":"Webdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"128713","Unicode hex":"1F6C9"},{"Typeface name":"Webdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"128714","Unicode hex":"1F6CA"},{"Typeface name":"Webdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"128700","Unicode hex":"1F6BC"},{"Typeface name":"Webdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"128125","Unicode hex":"1F47D"},{"Typeface name":"Webdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"127947","Unicode hex":"1F3CB"},{"Typeface name":"Webdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"9975","Unicode hex":"26F7"},{"Typeface name":"Webdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"127938","Unicode hex":"1F3C2"},{"Typeface name":"Webdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"127948","Unicode hex":"1F3CC"},{"Typeface name":"Webdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"127946","Unicode hex":"1F3CA"},{"Typeface name":"Webdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127940","Unicode hex":"1F3C4"},{"Typeface name":"Webdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"127949","Unicode hex":"1F3CD"},{"Typeface name":"Webdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"127950","Unicode hex":"1F3CE"},{"Typeface name":"Webdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128664","Unicode hex":"1F698"},{"Typeface name":"Webdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128480","Unicode hex":"1F5E0"},{"Typeface name":"Webdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128738","Unicode hex":"1F6E2"},{"Typeface name":"Webdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128176","Unicode hex":"1F4B0"},{"Typeface name":"Webdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"127991","Unicode hex":"1F3F7"},{"Typeface name":"Webdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128179","Unicode hex":"1F4B3"},{"Typeface name":"Webdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128106","Unicode hex":"1F46A"},{"Typeface name":"Webdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"128481","Unicode hex":"1F5E1"},{"Typeface name":"Webdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128482","Unicode hex":"1F5E2"},{"Typeface name":"Webdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128483","Unicode hex":"1F5E3"},{"Typeface name":"Webdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Webdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128388","Unicode hex":"1F584"},{"Typeface name":"Webdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128389","Unicode hex":"1F585"},{"Typeface name":"Webdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Webdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128390","Unicode hex":"1F586"},{"Typeface name":"Webdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128441","Unicode hex":"1F5B9"},{"Typeface name":"Webdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"128442","Unicode hex":"1F5BA"},{"Typeface name":"Webdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128443","Unicode hex":"1F5BB"},{"Typeface name":"Webdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128373","Unicode hex":"1F575"},{"Typeface name":"Webdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"128368","Unicode hex":"1F570"},{"Typeface name":"Webdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128445","Unicode hex":"1F5BD"},{"Typeface name":"Webdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128446","Unicode hex":"1F5BE"},{"Typeface name":"Webdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Webdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128466","Unicode hex":"1F5D2"},{"Typeface name":"Webdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128467","Unicode hex":"1F5D3"},{"Typeface name":"Webdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Webdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128218","Unicode hex":"1F4DA"},{"Typeface name":"Webdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128478","Unicode hex":"1F5DE"},{"Typeface name":"Webdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128479","Unicode hex":"1F5DF"},{"Typeface name":"Webdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128451","Unicode hex":"1F5C3"},{"Typeface name":"Webdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128450","Unicode hex":"1F5C2"},{"Typeface name":"Webdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128444","Unicode hex":"1F5BC"},{"Typeface name":"Webdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"127917","Unicode hex":"1F3AD"},{"Typeface name":"Webdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"127900","Unicode hex":"1F39C"},{"Typeface name":"Webdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"127896","Unicode hex":"1F398"},{"Typeface name":"Webdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"127897","Unicode hex":"1F399"},{"Typeface name":"Webdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"127911","Unicode hex":"1F3A7"},{"Typeface name":"Webdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128191","Unicode hex":"1F4BF"},{"Typeface name":"Webdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"127902","Unicode hex":"1F39E"},{"Typeface name":"Webdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128247","Unicode hex":"1F4F7"},{"Typeface name":"Webdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"127903","Unicode hex":"1F39F"},{"Typeface name":"Webdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"127916","Unicode hex":"1F3AC"},{"Typeface name":"Webdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128253","Unicode hex":"1F4FD"},{"Typeface name":"Webdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128249","Unicode hex":"1F4F9"},{"Typeface name":"Webdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128254","Unicode hex":"1F4FE"},{"Typeface name":"Webdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128251","Unicode hex":"1F4FB"},{"Typeface name":"Webdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"127898","Unicode hex":"1F39A"},{"Typeface name":"Webdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"127899","Unicode hex":"1F39B"},{"Typeface name":"Webdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128250","Unicode hex":"1F4FA"},{"Typeface name":"Webdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128187","Unicode hex":"1F4BB"},{"Typeface name":"Webdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128421","Unicode hex":"1F5A5"},{"Typeface name":"Webdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128422","Unicode hex":"1F5A6"},{"Typeface name":"Webdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128423","Unicode hex":"1F5A7"},{"Typeface name":"Webdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"128377","Unicode hex":"1F579"},{"Typeface name":"Webdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"127918","Unicode hex":"1F3AE"},{"Typeface name":"Webdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"128379","Unicode hex":"1F57B"},{"Typeface name":"Webdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128380","Unicode hex":"1F57C"},{"Typeface name":"Webdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128223","Unicode hex":"1F4DF"},{"Typeface name":"Webdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128385","Unicode hex":"1F581"},{"Typeface name":"Webdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128384","Unicode hex":"1F580"},{"Typeface name":"Webdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128424","Unicode hex":"1F5A8"},{"Typeface name":"Webdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128425","Unicode hex":"1F5A9"},{"Typeface name":"Webdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128447","Unicode hex":"1F5BF"},{"Typeface name":"Webdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128426","Unicode hex":"1F5AA"},{"Typeface name":"Webdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128476","Unicode hex":"1F5DC"},{"Typeface name":"Webdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128274","Unicode hex":"1F512"},{"Typeface name":"Webdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128275","Unicode hex":"1F513"},{"Typeface name":"Webdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128477","Unicode hex":"1F5DD"},{"Typeface name":"Webdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128229","Unicode hex":"1F4E5"},{"Typeface name":"Webdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128228","Unicode hex":"1F4E4"},{"Typeface name":"Webdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128371","Unicode hex":"1F573"},{"Typeface name":"Webdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"127779","Unicode hex":"1F323"},{"Typeface name":"Webdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"127780","Unicode hex":"1F324"},{"Typeface name":"Webdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"127781","Unicode hex":"1F325"},{"Typeface name":"Webdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"127782","Unicode hex":"1F326"},{"Typeface name":"Webdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"9729","Unicode hex":"2601"},{"Typeface name":"Webdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"127784","Unicode hex":"1F328"},{"Typeface name":"Webdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"127783","Unicode hex":"1F327"},{"Typeface name":"Webdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"127785","Unicode hex":"1F329"},{"Typeface name":"Webdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"127786","Unicode hex":"1F32A"},{"Typeface name":"Webdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"127788","Unicode hex":"1F32C"},{"Typeface name":"Webdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"127787","Unicode hex":"1F32B"},{"Typeface name":"Webdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"127772","Unicode hex":"1F31C"},{"Typeface name":"Webdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"127777","Unicode hex":"1F321"},{"Typeface name":"Webdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128715","Unicode hex":"1F6CB"},{"Typeface name":"Webdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128719","Unicode hex":"1F6CF"},{"Typeface name":"Webdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"127869","Unicode hex":"1F37D"},{"Typeface name":"Webdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"127864","Unicode hex":"1F378"},{"Typeface name":"Webdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128718","Unicode hex":"1F6CE"},{"Typeface name":"Webdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128717","Unicode hex":"1F6CD"},{"Typeface name":"Webdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"9413","Unicode hex":"24C5"},{"Typeface name":"Webdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"9855","Unicode hex":"267F"},{"Typeface name":"Webdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128710","Unicode hex":"1F6C6"},{"Typeface name":"Webdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"128392","Unicode hex":"1F588"},{"Typeface name":"Webdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"127891","Unicode hex":"1F393"},{"Typeface name":"Webdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128484","Unicode hex":"1F5E4"},{"Typeface name":"Webdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128485","Unicode hex":"1F5E5"},{"Typeface name":"Webdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128486","Unicode hex":"1F5E6"},{"Typeface name":"Webdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"128487","Unicode hex":"1F5E7"},{"Typeface name":"Webdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128746","Unicode hex":"1F6EA"},{"Typeface name":"Webdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128063","Unicode hex":"1F43F"},{"Typeface name":"Webdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"128038","Unicode hex":"1F426"},{"Typeface name":"Webdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128031","Unicode hex":"1F41F"},{"Typeface name":"Webdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128021","Unicode hex":"1F415"},{"Typeface name":"Webdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"128008","Unicode hex":"1F408"},{"Typeface name":"Webdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"128620","Unicode hex":"1F66C"},{"Typeface name":"Webdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"128622","Unicode hex":"1F66E"},{"Typeface name":"Webdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"128621","Unicode hex":"1F66D"},{"Typeface name":"Webdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"128623","Unicode hex":"1F66F"},{"Typeface name":"Webdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128506","Unicode hex":"1F5FA"},{"Typeface name":"Webdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"127757","Unicode hex":"1F30D"},{"Typeface name":"Webdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"127759","Unicode hex":"1F30F"},{"Typeface name":"Webdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"127758","Unicode hex":"1F30E"},{"Typeface name":"Webdings","Dingbat dec":"255","Dingbat hex":"FF","Unicode dec":"128330","Unicode hex":"1F54A"},{"Typeface name":"Wingdings","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128393","Unicode hex":"1F589"},{"Typeface name":"Wingdings","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"9986","Unicode hex":"2702"},{"Typeface name":"Wingdings","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"9985","Unicode hex":"2701"},{"Typeface name":"Wingdings","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128083","Unicode hex":"1F453"},{"Typeface name":"Wingdings","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"128365","Unicode hex":"1F56D"},{"Typeface name":"Wingdings","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"128366","Unicode hex":"1F56E"},{"Typeface name":"Wingdings","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128367","Unicode hex":"1F56F"},{"Typeface name":"Wingdings","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128383","Unicode hex":"1F57F"},{"Typeface name":"Wingdings","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"9990","Unicode hex":"2706"},{"Typeface name":"Wingdings","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128386","Unicode hex":"1F582"},{"Typeface name":"Wingdings","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128387","Unicode hex":"1F583"},{"Typeface name":"Wingdings","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128234","Unicode hex":"1F4EA"},{"Typeface name":"Wingdings","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128235","Unicode hex":"1F4EB"},{"Typeface name":"Wingdings","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128236","Unicode hex":"1F4EC"},{"Typeface name":"Wingdings","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128237","Unicode hex":"1F4ED"},{"Typeface name":"Wingdings","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128448","Unicode hex":"1F5C0"},{"Typeface name":"Wingdings","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128449","Unicode hex":"1F5C1"},{"Typeface name":"Wingdings","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128462","Unicode hex":"1F5CE"},{"Typeface name":"Wingdings","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128463","Unicode hex":"1F5CF"},{"Typeface name":"Wingdings","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128464","Unicode hex":"1F5D0"},{"Typeface name":"Wingdings","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128452","Unicode hex":"1F5C4"},{"Typeface name":"Wingdings","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"8987","Unicode hex":"231B"},{"Typeface name":"Wingdings","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128430","Unicode hex":"1F5AE"},{"Typeface name":"Wingdings","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128432","Unicode hex":"1F5B0"},{"Typeface name":"Wingdings","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128434","Unicode hex":"1F5B2"},{"Typeface name":"Wingdings","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128435","Unicode hex":"1F5B3"},{"Typeface name":"Wingdings","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128436","Unicode hex":"1F5B4"},{"Typeface name":"Wingdings","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128427","Unicode hex":"1F5AB"},{"Typeface name":"Wingdings","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128428","Unicode hex":"1F5AC"},{"Typeface name":"Wingdings","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"9991","Unicode hex":"2707"},{"Typeface name":"Wingdings","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"9997","Unicode hex":"270D"},{"Typeface name":"Wingdings","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128398","Unicode hex":"1F58E"},{"Typeface name":"Wingdings","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"9996","Unicode hex":"270C"},{"Typeface name":"Wingdings","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128399","Unicode hex":"1F58F"},{"Typeface name":"Wingdings","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128077","Unicode hex":"1F44D"},{"Typeface name":"Wingdings","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128078","Unicode hex":"1F44E"},{"Typeface name":"Wingdings","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"9756","Unicode hex":"261C"},{"Typeface name":"Wingdings","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"9758","Unicode hex":"261E"},{"Typeface name":"Wingdings","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"9757","Unicode hex":"261D"},{"Typeface name":"Wingdings","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"9759","Unicode hex":"261F"},{"Typeface name":"Wingdings","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128400","Unicode hex":"1F590"},{"Typeface name":"Wingdings","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"9786","Unicode hex":"263A"},{"Typeface name":"Wingdings","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128528","Unicode hex":"1F610"},{"Typeface name":"Wingdings","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"9785","Unicode hex":"2639"},{"Typeface name":"Wingdings","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128163","Unicode hex":"1F4A3"},{"Typeface name":"Wingdings","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128369","Unicode hex":"1F571"},{"Typeface name":"Wingdings","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"127987","Unicode hex":"1F3F3"},{"Typeface name":"Wingdings","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"127985","Unicode hex":"1F3F1"},{"Typeface name":"Wingdings","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"9992","Unicode hex":"2708"},{"Typeface name":"Wingdings","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9788","Unicode hex":"263C"},{"Typeface name":"Wingdings","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"127778","Unicode hex":"1F322"},{"Typeface name":"Wingdings","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"10052","Unicode hex":"2744"},{"Typeface name":"Wingdings","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"128326","Unicode hex":"1F546"},{"Typeface name":"Wingdings","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"10014","Unicode hex":"271E"},{"Typeface name":"Wingdings","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128328","Unicode hex":"1F548"},{"Typeface name":"Wingdings","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10016","Unicode hex":"2720"},{"Typeface name":"Wingdings","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"10017","Unicode hex":"2721"},{"Typeface name":"Wingdings","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"9770","Unicode hex":"262A"},{"Typeface name":"Wingdings","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"9775","Unicode hex":"262F"},{"Typeface name":"Wingdings","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128329","Unicode hex":"1F549"},{"Typeface name":"Wingdings","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"9784","Unicode hex":"2638"},{"Typeface name":"Wingdings","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"9800","Unicode hex":"2648"},{"Typeface name":"Wingdings","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"9801","Unicode hex":"2649"},{"Typeface name":"Wingdings","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"9802","Unicode hex":"264A"},{"Typeface name":"Wingdings","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"9803","Unicode hex":"264B"},{"Typeface name":"Wingdings","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"9804","Unicode hex":"264C"},{"Typeface name":"Wingdings","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"9805","Unicode hex":"264D"},{"Typeface name":"Wingdings","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"9806","Unicode hex":"264E"},{"Typeface name":"Wingdings","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"9807","Unicode hex":"264F"},{"Typeface name":"Wingdings","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"9808","Unicode hex":"2650"},{"Typeface name":"Wingdings","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"9809","Unicode hex":"2651"},{"Typeface name":"Wingdings","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"9810","Unicode hex":"2652"},{"Typeface name":"Wingdings","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9811","Unicode hex":"2653"},{"Typeface name":"Wingdings","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"128624","Unicode hex":"1F670"},{"Typeface name":"Wingdings","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"128629","Unicode hex":"1F675"},{"Typeface name":"Wingdings","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9899","Unicode hex":"26AB"},{"Typeface name":"Wingdings","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"128318","Unicode hex":"1F53E"},{"Typeface name":"Wingdings","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9724","Unicode hex":"25FC"},{"Typeface name":"Wingdings","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"128911","Unicode hex":"1F78F"},{"Typeface name":"Wingdings","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"128912","Unicode hex":"1F790"},{"Typeface name":"Wingdings","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"10065","Unicode hex":"2751"},{"Typeface name":"Wingdings","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"10066","Unicode hex":"2752"},{"Typeface name":"Wingdings","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"128927","Unicode hex":"1F79F"},{"Typeface name":"Wingdings","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"10731","Unicode hex":"29EB"},{"Typeface name":"Wingdings","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9670","Unicode hex":"25C6"},{"Typeface name":"Wingdings","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10070","Unicode hex":"2756"},{"Typeface name":"Wingdings","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"8999","Unicode hex":"2327"},{"Typeface name":"Wingdings","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"11193","Unicode hex":"2BB9"},{"Typeface name":"Wingdings","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"8984","Unicode hex":"2318"},{"Typeface name":"Wingdings","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"127989","Unicode hex":"1F3F5"},{"Typeface name":"Wingdings","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"127990","Unicode hex":"1F3F6"},{"Typeface name":"Wingdings","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128630","Unicode hex":"1F676"},{"Typeface name":"Wingdings","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128631","Unicode hex":"1F677"},{"Typeface name":"Wingdings","Dingbat dec":"127","Dingbat hex":"7F","Unicode dec":"9647","Unicode hex":"25AF"},{"Typeface name":"Wingdings","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"127243","Unicode hex":"1F10B"},{"Typeface name":"Wingdings","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"10112","Unicode hex":"2780"},{"Typeface name":"Wingdings","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"10113","Unicode hex":"2781"},{"Typeface name":"Wingdings","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"10114","Unicode hex":"2782"},{"Typeface name":"Wingdings","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"10115","Unicode hex":"2783"},{"Typeface name":"Wingdings","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10116","Unicode hex":"2784"},{"Typeface name":"Wingdings","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"10117","Unicode hex":"2785"},{"Typeface name":"Wingdings","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"10118","Unicode hex":"2786"},{"Typeface name":"Wingdings","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"10119","Unicode hex":"2787"},{"Typeface name":"Wingdings","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"10120","Unicode hex":"2788"},{"Typeface name":"Wingdings","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"10121","Unicode hex":"2789"},{"Typeface name":"Wingdings","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"127244","Unicode hex":"1F10C"},{"Typeface name":"Wingdings","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"10122","Unicode hex":"278A"},{"Typeface name":"Wingdings","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"10123","Unicode hex":"278B"},{"Typeface name":"Wingdings","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"10124","Unicode hex":"278C"},{"Typeface name":"Wingdings","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"10125","Unicode hex":"278D"},{"Typeface name":"Wingdings","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"10126","Unicode hex":"278E"},{"Typeface name":"Wingdings","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"10127","Unicode hex":"278F"},{"Typeface name":"Wingdings","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"10128","Unicode hex":"2790"},{"Typeface name":"Wingdings","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"10129","Unicode hex":"2791"},{"Typeface name":"Wingdings","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"10130","Unicode hex":"2792"},{"Typeface name":"Wingdings","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"10131","Unicode hex":"2793"},{"Typeface name":"Wingdings","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128610","Unicode hex":"1F662"},{"Typeface name":"Wingdings","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"128608","Unicode hex":"1F660"},{"Typeface name":"Wingdings","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"128609","Unicode hex":"1F661"},{"Typeface name":"Wingdings","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"128611","Unicode hex":"1F663"},{"Typeface name":"Wingdings","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128606","Unicode hex":"1F65E"},{"Typeface name":"Wingdings","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128604","Unicode hex":"1F65C"},{"Typeface name":"Wingdings","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128605","Unicode hex":"1F65D"},{"Typeface name":"Wingdings","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"128607","Unicode hex":"1F65F"},{"Typeface name":"Wingdings","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"8729","Unicode hex":"2219"},{"Typeface name":"Wingdings","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"8226","Unicode hex":"2022"},{"Typeface name":"Wingdings","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"11037","Unicode hex":"2B1D"},{"Typeface name":"Wingdings","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"11096","Unicode hex":"2B58"},{"Typeface name":"Wingdings","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"128902","Unicode hex":"1F786"},{"Typeface name":"Wingdings","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"128904","Unicode hex":"1F788"},{"Typeface name":"Wingdings","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128906","Unicode hex":"1F78A"},{"Typeface name":"Wingdings","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128907","Unicode hex":"1F78B"},{"Typeface name":"Wingdings","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128319","Unicode hex":"1F53F"},{"Typeface name":"Wingdings","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"9642","Unicode hex":"25AA"},{"Typeface name":"Wingdings","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"128910","Unicode hex":"1F78E"},{"Typeface name":"Wingdings","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128961","Unicode hex":"1F7C1"},{"Typeface name":"Wingdings","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128965","Unicode hex":"1F7C5"},{"Typeface name":"Wingdings","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"9733","Unicode hex":"2605"},{"Typeface name":"Wingdings","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128971","Unicode hex":"1F7CB"},{"Typeface name":"Wingdings","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"128975","Unicode hex":"1F7CF"},{"Typeface name":"Wingdings","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"128979","Unicode hex":"1F7D3"},{"Typeface name":"Wingdings","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"128977","Unicode hex":"1F7D1"},{"Typeface name":"Wingdings","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"11216","Unicode hex":"2BD0"},{"Typeface name":"Wingdings","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"8982","Unicode hex":"2316"},{"Typeface name":"Wingdings","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"11214","Unicode hex":"2BCE"},{"Typeface name":"Wingdings","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"11215","Unicode hex":"2BCF"},{"Typeface name":"Wingdings","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"11217","Unicode hex":"2BD1"},{"Typeface name":"Wingdings","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"10026","Unicode hex":"272A"},{"Typeface name":"Wingdings","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"10032","Unicode hex":"2730"},{"Typeface name":"Wingdings","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"128336","Unicode hex":"1F550"},{"Typeface name":"Wingdings","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"128337","Unicode hex":"1F551"},{"Typeface name":"Wingdings","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128338","Unicode hex":"1F552"},{"Typeface name":"Wingdings","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"128339","Unicode hex":"1F553"},{"Typeface name":"Wingdings","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"128340","Unicode hex":"1F554"},{"Typeface name":"Wingdings","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"128341","Unicode hex":"1F555"},{"Typeface name":"Wingdings","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"128342","Unicode hex":"1F556"},{"Typeface name":"Wingdings","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"128343","Unicode hex":"1F557"},{"Typeface name":"Wingdings","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"128344","Unicode hex":"1F558"},{"Typeface name":"Wingdings","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"128345","Unicode hex":"1F559"},{"Typeface name":"Wingdings","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"128346","Unicode hex":"1F55A"},{"Typeface name":"Wingdings","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"128347","Unicode hex":"1F55B"},{"Typeface name":"Wingdings","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11184","Unicode hex":"2BB0"},{"Typeface name":"Wingdings","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11185","Unicode hex":"2BB1"},{"Typeface name":"Wingdings","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11186","Unicode hex":"2BB2"},{"Typeface name":"Wingdings","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"11187","Unicode hex":"2BB3"},{"Typeface name":"Wingdings","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"11188","Unicode hex":"2BB4"},{"Typeface name":"Wingdings","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"11189","Unicode hex":"2BB5"},{"Typeface name":"Wingdings","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11190","Unicode hex":"2BB6"},{"Typeface name":"Wingdings","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11191","Unicode hex":"2BB7"},{"Typeface name":"Wingdings","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128618","Unicode hex":"1F66A"},{"Typeface name":"Wingdings","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128619","Unicode hex":"1F66B"},{"Typeface name":"Wingdings","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128597","Unicode hex":"1F655"},{"Typeface name":"Wingdings","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128596","Unicode hex":"1F654"},{"Typeface name":"Wingdings","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128599","Unicode hex":"1F657"},{"Typeface name":"Wingdings","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128598","Unicode hex":"1F656"},{"Typeface name":"Wingdings","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128592","Unicode hex":"1F650"},{"Typeface name":"Wingdings","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128593","Unicode hex":"1F651"},{"Typeface name":"Wingdings","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128594","Unicode hex":"1F652"},{"Typeface name":"Wingdings","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128595","Unicode hex":"1F653"},{"Typeface name":"Wingdings","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"9003","Unicode hex":"232B"},{"Typeface name":"Wingdings","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"8998","Unicode hex":"2326"},{"Typeface name":"Wingdings","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"11160","Unicode hex":"2B98"},{"Typeface name":"Wingdings","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"11162","Unicode hex":"2B9A"},{"Typeface name":"Wingdings","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"11161","Unicode hex":"2B99"},{"Typeface name":"Wingdings","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"11163","Unicode hex":"2B9B"},{"Typeface name":"Wingdings","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"11144","Unicode hex":"2B88"},{"Typeface name":"Wingdings","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"11146","Unicode hex":"2B8A"},{"Typeface name":"Wingdings","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"11145","Unicode hex":"2B89"},{"Typeface name":"Wingdings","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"11147","Unicode hex":"2B8B"},{"Typeface name":"Wingdings","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129128","Unicode hex":"1F868"},{"Typeface name":"Wingdings","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129130","Unicode hex":"1F86A"},{"Typeface name":"Wingdings","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129129","Unicode hex":"1F869"},{"Typeface name":"Wingdings","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129131","Unicode hex":"1F86B"},{"Typeface name":"Wingdings","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129132","Unicode hex":"1F86C"},{"Typeface name":"Wingdings","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129133","Unicode hex":"1F86D"},{"Typeface name":"Wingdings","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129135","Unicode hex":"1F86F"},{"Typeface name":"Wingdings","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129134","Unicode hex":"1F86E"},{"Typeface name":"Wingdings","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129144","Unicode hex":"1F878"},{"Typeface name":"Wingdings","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129146","Unicode hex":"1F87A"},{"Typeface name":"Wingdings","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129145","Unicode hex":"1F879"},{"Typeface name":"Wingdings","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129147","Unicode hex":"1F87B"},{"Typeface name":"Wingdings","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129148","Unicode hex":"1F87C"},{"Typeface name":"Wingdings","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129149","Unicode hex":"1F87D"},{"Typeface name":"Wingdings","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129151","Unicode hex":"1F87F"},{"Typeface name":"Wingdings","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129150","Unicode hex":"1F87E"},{"Typeface name":"Wingdings","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"8678","Unicode hex":"21E6"},{"Typeface name":"Wingdings","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"8680","Unicode hex":"21E8"},{"Typeface name":"Wingdings","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"8679","Unicode hex":"21E7"},{"Typeface name":"Wingdings","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"8681","Unicode hex":"21E9"},{"Typeface name":"Wingdings","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"11012","Unicode hex":"2B04"},{"Typeface name":"Wingdings","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"8691","Unicode hex":"21F3"},{"Typeface name":"Wingdings","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"11009","Unicode hex":"2B01"},{"Typeface name":"Wingdings","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11008","Unicode hex":"2B00"},{"Typeface name":"Wingdings","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11011","Unicode hex":"2B03"},{"Typeface name":"Wingdings","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"11010","Unicode hex":"2B02"},{"Typeface name":"Wingdings","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"129196","Unicode hex":"1F8AC"},{"Typeface name":"Wingdings","Dingbat dec":"250","Dingbat hex":"FA","Unicode dec":"129197","Unicode hex":"1F8AD"},{"Typeface name":"Wingdings","Dingbat dec":"251","Dingbat hex":"FB","Unicode dec":"128502","Unicode hex":"1F5F6"},{"Typeface name":"Wingdings","Dingbat dec":"252","Dingbat hex":"FC","Unicode dec":"10003","Unicode hex":"2713"},{"Typeface name":"Wingdings","Dingbat dec":"253","Dingbat hex":"FD","Unicode dec":"128503","Unicode hex":"1F5F7"},{"Typeface name":"Wingdings","Dingbat dec":"254","Dingbat hex":"FE","Unicode dec":"128505","Unicode hex":"1F5F9"},{"Typeface name":"Wingdings 2","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 2","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"128394","Unicode hex":"1F58A"},{"Typeface name":"Wingdings 2","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"128395","Unicode hex":"1F58B"},{"Typeface name":"Wingdings 2","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"128396","Unicode hex":"1F58C"},{"Typeface name":"Wingdings 2","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"128397","Unicode hex":"1F58D"},{"Typeface name":"Wingdings 2","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"9988","Unicode hex":"2704"},{"Typeface name":"Wingdings 2","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"9984","Unicode hex":"2700"},{"Typeface name":"Wingdings 2","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"128382","Unicode hex":"1F57E"},{"Typeface name":"Wingdings 2","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"128381","Unicode hex":"1F57D"},{"Typeface name":"Wingdings 2","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"128453","Unicode hex":"1F5C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"128454","Unicode hex":"1F5C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"128455","Unicode hex":"1F5C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"128456","Unicode hex":"1F5C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"128457","Unicode hex":"1F5C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"128458","Unicode hex":"1F5CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"128459","Unicode hex":"1F5CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"128460","Unicode hex":"1F5CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"128461","Unicode hex":"1F5CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"128203","Unicode hex":"1F4CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"128465","Unicode hex":"1F5D1"},{"Typeface name":"Wingdings 2","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"128468","Unicode hex":"1F5D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"128437","Unicode hex":"1F5B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"128438","Unicode hex":"1F5B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"128439","Unicode hex":"1F5B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"128440","Unicode hex":"1F5B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"128429","Unicode hex":"1F5AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"128431","Unicode hex":"1F5AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"128433","Unicode hex":"1F5B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"128402","Unicode hex":"1F592"},{"Typeface name":"Wingdings 2","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"128403","Unicode hex":"1F593"},{"Typeface name":"Wingdings 2","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"128408","Unicode hex":"1F598"},{"Typeface name":"Wingdings 2","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"128409","Unicode hex":"1F599"},{"Typeface name":"Wingdings 2","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"128410","Unicode hex":"1F59A"},{"Typeface name":"Wingdings 2","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"128411","Unicode hex":"1F59B"},{"Typeface name":"Wingdings 2","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"128072","Unicode hex":"1F448"},{"Typeface name":"Wingdings 2","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"128073","Unicode hex":"1F449"},{"Typeface name":"Wingdings 2","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"128412","Unicode hex":"1F59C"},{"Typeface name":"Wingdings 2","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"128413","Unicode hex":"1F59D"},{"Typeface name":"Wingdings 2","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"128414","Unicode hex":"1F59E"},{"Typeface name":"Wingdings 2","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"128415","Unicode hex":"1F59F"},{"Typeface name":"Wingdings 2","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"128416","Unicode hex":"1F5A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"128417","Unicode hex":"1F5A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"128070","Unicode hex":"1F446"},{"Typeface name":"Wingdings 2","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"128071","Unicode hex":"1F447"},{"Typeface name":"Wingdings 2","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"128418","Unicode hex":"1F5A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"128419","Unicode hex":"1F5A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"128401","Unicode hex":"1F591"},{"Typeface name":"Wingdings 2","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"128500","Unicode hex":"1F5F4"},{"Typeface name":"Wingdings 2","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"128504","Unicode hex":"1F5F8"},{"Typeface name":"Wingdings 2","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"128501","Unicode hex":"1F5F5"},{"Typeface name":"Wingdings 2","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9745","Unicode hex":"2611"},{"Typeface name":"Wingdings 2","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"11197","Unicode hex":"2BBD"},{"Typeface name":"Wingdings 2","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"9746","Unicode hex":"2612"},{"Typeface name":"Wingdings 2","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"11198","Unicode hex":"2BBE"},{"Typeface name":"Wingdings 2","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"11199","Unicode hex":"2BBF"},{"Typeface name":"Wingdings 2","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"128711","Unicode hex":"1F6C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"10680","Unicode hex":"29B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"128625","Unicode hex":"1F671"},{"Typeface name":"Wingdings 2","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"128628","Unicode hex":"1F674"},{"Typeface name":"Wingdings 2","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"128626","Unicode hex":"1F672"},{"Typeface name":"Wingdings 2","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"128627","Unicode hex":"1F673"},{"Typeface name":"Wingdings 2","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"8253","Unicode hex":"203D"},{"Typeface name":"Wingdings 2","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"128633","Unicode hex":"1F679"},{"Typeface name":"Wingdings 2","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"128634","Unicode hex":"1F67A"},{"Typeface name":"Wingdings 2","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"128635","Unicode hex":"1F67B"},{"Typeface name":"Wingdings 2","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"128614","Unicode hex":"1F666"},{"Typeface name":"Wingdings 2","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"128612","Unicode hex":"1F664"},{"Typeface name":"Wingdings 2","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"128613","Unicode hex":"1F665"},{"Typeface name":"Wingdings 2","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"128615","Unicode hex":"1F667"},{"Typeface name":"Wingdings 2","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"128602","Unicode hex":"1F65A"},{"Typeface name":"Wingdings 2","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"128600","Unicode hex":"1F658"},{"Typeface name":"Wingdings 2","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"128601","Unicode hex":"1F659"},{"Typeface name":"Wingdings 2","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"128603","Unicode hex":"1F65B"},{"Typeface name":"Wingdings 2","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"9450","Unicode hex":"24EA"},{"Typeface name":"Wingdings 2","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"9312","Unicode hex":"2460"},{"Typeface name":"Wingdings 2","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"9313","Unicode hex":"2461"},{"Typeface name":"Wingdings 2","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"9314","Unicode hex":"2462"},{"Typeface name":"Wingdings 2","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"9315","Unicode hex":"2463"},{"Typeface name":"Wingdings 2","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"9316","Unicode hex":"2464"},{"Typeface name":"Wingdings 2","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"9317","Unicode hex":"2465"},{"Typeface name":"Wingdings 2","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9318","Unicode hex":"2466"},{"Typeface name":"Wingdings 2","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9319","Unicode hex":"2467"},{"Typeface name":"Wingdings 2","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9320","Unicode hex":"2468"},{"Typeface name":"Wingdings 2","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9321","Unicode hex":"2469"},{"Typeface name":"Wingdings 2","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9471","Unicode hex":"24FF"},{"Typeface name":"Wingdings 2","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"10102","Unicode hex":"2776"},{"Typeface name":"Wingdings 2","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"10103","Unicode hex":"2777"},{"Typeface name":"Wingdings 2","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"10104","Unicode hex":"2778"},{"Typeface name":"Wingdings 2","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"10105","Unicode hex":"2779"},{"Typeface name":"Wingdings 2","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"10106","Unicode hex":"277A"},{"Typeface name":"Wingdings 2","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"10107","Unicode hex":"277B"},{"Typeface name":"Wingdings 2","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"10108","Unicode hex":"277C"},{"Typeface name":"Wingdings 2","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"10109","Unicode hex":"277D"},{"Typeface name":"Wingdings 2","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"10110","Unicode hex":"277E"},{"Typeface name":"Wingdings 2","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"10111","Unicode hex":"277F"},{"Typeface name":"Wingdings 2","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"9737","Unicode hex":"2609"},{"Typeface name":"Wingdings 2","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"127765","Unicode hex":"1F315"},{"Typeface name":"Wingdings 2","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"9789","Unicode hex":"263D"},{"Typeface name":"Wingdings 2","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"9790","Unicode hex":"263E"},{"Typeface name":"Wingdings 2","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11839","Unicode hex":"2E3F"},{"Typeface name":"Wingdings 2","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"10013","Unicode hex":"271D"},{"Typeface name":"Wingdings 2","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"128327","Unicode hex":"1F547"},{"Typeface name":"Wingdings 2","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"128348","Unicode hex":"1F55C"},{"Typeface name":"Wingdings 2","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"128349","Unicode hex":"1F55D"},{"Typeface name":"Wingdings 2","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"128350","Unicode hex":"1F55E"},{"Typeface name":"Wingdings 2","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"128351","Unicode hex":"1F55F"},{"Typeface name":"Wingdings 2","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"128352","Unicode hex":"1F560"},{"Typeface name":"Wingdings 2","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"128353","Unicode hex":"1F561"},{"Typeface name":"Wingdings 2","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"128354","Unicode hex":"1F562"},{"Typeface name":"Wingdings 2","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"128355","Unicode hex":"1F563"},{"Typeface name":"Wingdings 2","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"128356","Unicode hex":"1F564"},{"Typeface name":"Wingdings 2","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"128357","Unicode hex":"1F565"},{"Typeface name":"Wingdings 2","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"128358","Unicode hex":"1F566"},{"Typeface name":"Wingdings 2","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"128359","Unicode hex":"1F567"},{"Typeface name":"Wingdings 2","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"128616","Unicode hex":"1F668"},{"Typeface name":"Wingdings 2","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"128617","Unicode hex":"1F669"},{"Typeface name":"Wingdings 2","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"8901","Unicode hex":"22C5"},{"Typeface name":"Wingdings 2","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"128900","Unicode hex":"1F784"},{"Typeface name":"Wingdings 2","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"10625","Unicode hex":"2981"},{"Typeface name":"Wingdings 2","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"9679","Unicode hex":"25CF"},{"Typeface name":"Wingdings 2","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"9675","Unicode hex":"25CB"},{"Typeface name":"Wingdings 2","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"128901","Unicode hex":"1F785"},{"Typeface name":"Wingdings 2","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"128903","Unicode hex":"1F787"},{"Typeface name":"Wingdings 2","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"128905","Unicode hex":"1F789"},{"Typeface name":"Wingdings 2","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"8857","Unicode hex":"2299"},{"Typeface name":"Wingdings 2","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"10687","Unicode hex":"29BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"128908","Unicode hex":"1F78C"},{"Typeface name":"Wingdings 2","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"128909","Unicode hex":"1F78D"},{"Typeface name":"Wingdings 2","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"9726","Unicode hex":"25FE"},{"Typeface name":"Wingdings 2","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"9632","Unicode hex":"25A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"9633","Unicode hex":"25A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"128913","Unicode hex":"1F791"},{"Typeface name":"Wingdings 2","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"128914","Unicode hex":"1F792"},{"Typeface name":"Wingdings 2","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"128915","Unicode hex":"1F793"},{"Typeface name":"Wingdings 2","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"128916","Unicode hex":"1F794"},{"Typeface name":"Wingdings 2","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"9635","Unicode hex":"25A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"128917","Unicode hex":"1F795"},{"Typeface name":"Wingdings 2","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"128918","Unicode hex":"1F796"},{"Typeface name":"Wingdings 2","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"128919","Unicode hex":"1F797"},{"Typeface name":"Wingdings 2","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"128920","Unicode hex":"1F798"},{"Typeface name":"Wingdings 2","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"11049","Unicode hex":"2B29"},{"Typeface name":"Wingdings 2","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"11045","Unicode hex":"2B25"},{"Typeface name":"Wingdings 2","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"9671","Unicode hex":"25C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"128922","Unicode hex":"1F79A"},{"Typeface name":"Wingdings 2","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"9672","Unicode hex":"25C8"},{"Typeface name":"Wingdings 2","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"128923","Unicode hex":"1F79B"},{"Typeface name":"Wingdings 2","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"128924","Unicode hex":"1F79C"},{"Typeface name":"Wingdings 2","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"128925","Unicode hex":"1F79D"},{"Typeface name":"Wingdings 2","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"128926","Unicode hex":"1F79E"},{"Typeface name":"Wingdings 2","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"11050","Unicode hex":"2B2A"},{"Typeface name":"Wingdings 2","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"11047","Unicode hex":"2B27"},{"Typeface name":"Wingdings 2","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"9674","Unicode hex":"25CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"128928","Unicode hex":"1F7A0"},{"Typeface name":"Wingdings 2","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"9686","Unicode hex":"25D6"},{"Typeface name":"Wingdings 2","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"9687","Unicode hex":"25D7"},{"Typeface name":"Wingdings 2","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"11210","Unicode hex":"2BCA"},{"Typeface name":"Wingdings 2","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"11211","Unicode hex":"2BCB"},{"Typeface name":"Wingdings 2","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"11200","Unicode hex":"2BC0"},{"Typeface name":"Wingdings 2","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"11201","Unicode hex":"2BC1"},{"Typeface name":"Wingdings 2","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"11039","Unicode hex":"2B1F"},{"Typeface name":"Wingdings 2","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"11202","Unicode hex":"2BC2"},{"Typeface name":"Wingdings 2","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"11043","Unicode hex":"2B23"},{"Typeface name":"Wingdings 2","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"11042","Unicode hex":"2B22"},{"Typeface name":"Wingdings 2","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"11203","Unicode hex":"2BC3"},{"Typeface name":"Wingdings 2","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"11204","Unicode hex":"2BC4"},{"Typeface name":"Wingdings 2","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"128929","Unicode hex":"1F7A1"},{"Typeface name":"Wingdings 2","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"128930","Unicode hex":"1F7A2"},{"Typeface name":"Wingdings 2","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"128931","Unicode hex":"1F7A3"},{"Typeface name":"Wingdings 2","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"128932","Unicode hex":"1F7A4"},{"Typeface name":"Wingdings 2","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"128933","Unicode hex":"1F7A5"},{"Typeface name":"Wingdings 2","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"128934","Unicode hex":"1F7A6"},{"Typeface name":"Wingdings 2","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"128935","Unicode hex":"1F7A7"},{"Typeface name":"Wingdings 2","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"128936","Unicode hex":"1F7A8"},{"Typeface name":"Wingdings 2","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"128937","Unicode hex":"1F7A9"},{"Typeface name":"Wingdings 2","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"128938","Unicode hex":"1F7AA"},{"Typeface name":"Wingdings 2","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"128939","Unicode hex":"1F7AB"},{"Typeface name":"Wingdings 2","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"128940","Unicode hex":"1F7AC"},{"Typeface name":"Wingdings 2","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"128941","Unicode hex":"1F7AD"},{"Typeface name":"Wingdings 2","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"128942","Unicode hex":"1F7AE"},{"Typeface name":"Wingdings 2","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"128943","Unicode hex":"1F7AF"},{"Typeface name":"Wingdings 2","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"128944","Unicode hex":"1F7B0"},{"Typeface name":"Wingdings 2","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"128945","Unicode hex":"1F7B1"},{"Typeface name":"Wingdings 2","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"128946","Unicode hex":"1F7B2"},{"Typeface name":"Wingdings 2","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"128947","Unicode hex":"1F7B3"},{"Typeface name":"Wingdings 2","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"128948","Unicode hex":"1F7B4"},{"Typeface name":"Wingdings 2","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"128949","Unicode hex":"1F7B5"},{"Typeface name":"Wingdings 2","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"128950","Unicode hex":"1F7B6"},{"Typeface name":"Wingdings 2","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"128951","Unicode hex":"1F7B7"},{"Typeface name":"Wingdings 2","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"128952","Unicode hex":"1F7B8"},{"Typeface name":"Wingdings 2","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"128953","Unicode hex":"1F7B9"},{"Typeface name":"Wingdings 2","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"128954","Unicode hex":"1F7BA"},{"Typeface name":"Wingdings 2","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"128955","Unicode hex":"1F7BB"},{"Typeface name":"Wingdings 2","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"128956","Unicode hex":"1F7BC"},{"Typeface name":"Wingdings 2","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"128957","Unicode hex":"1F7BD"},{"Typeface name":"Wingdings 2","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"128958","Unicode hex":"1F7BE"},{"Typeface name":"Wingdings 2","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"128959","Unicode hex":"1F7BF"},{"Typeface name":"Wingdings 2","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"128960","Unicode hex":"1F7C0"},{"Typeface name":"Wingdings 2","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"128962","Unicode hex":"1F7C2"},{"Typeface name":"Wingdings 2","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"128964","Unicode hex":"1F7C4"},{"Typeface name":"Wingdings 2","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"128966","Unicode hex":"1F7C6"},{"Typeface name":"Wingdings 2","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"128969","Unicode hex":"1F7C9"},{"Typeface name":"Wingdings 2","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"128970","Unicode hex":"1F7CA"},{"Typeface name":"Wingdings 2","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"10038","Unicode hex":"2736"},{"Typeface name":"Wingdings 2","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"128972","Unicode hex":"1F7CC"},{"Typeface name":"Wingdings 2","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"128974","Unicode hex":"1F7CE"},{"Typeface name":"Wingdings 2","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"128976","Unicode hex":"1F7D0"},{"Typeface name":"Wingdings 2","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"128978","Unicode hex":"1F7D2"},{"Typeface name":"Wingdings 2","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"10041","Unicode hex":"2739"},{"Typeface name":"Wingdings 2","Dingbat dec":"241","Dingbat hex":"F1","Unicode dec":"128963","Unicode hex":"1F7C3"},{"Typeface name":"Wingdings 2","Dingbat dec":"242","Dingbat hex":"F2","Unicode dec":"128967","Unicode hex":"1F7C7"},{"Typeface name":"Wingdings 2","Dingbat dec":"243","Dingbat hex":"F3","Unicode dec":"10031","Unicode hex":"272F"},{"Typeface name":"Wingdings 2","Dingbat dec":"244","Dingbat hex":"F4","Unicode dec":"128973","Unicode hex":"1F7CD"},{"Typeface name":"Wingdings 2","Dingbat dec":"245","Dingbat hex":"F5","Unicode dec":"128980","Unicode hex":"1F7D4"},{"Typeface name":"Wingdings 2","Dingbat dec":"246","Dingbat hex":"F6","Unicode dec":"11212","Unicode hex":"2BCC"},{"Typeface name":"Wingdings 2","Dingbat dec":"247","Dingbat hex":"F7","Unicode dec":"11213","Unicode hex":"2BCD"},{"Typeface name":"Wingdings 2","Dingbat dec":"248","Dingbat hex":"F8","Unicode dec":"8251","Unicode hex":"203B"},{"Typeface name":"Wingdings 2","Dingbat dec":"249","Dingbat hex":"F9","Unicode dec":"8258","Unicode hex":"2042"},{"Typeface name":"Wingdings 3","Dingbat dec":"32","Dingbat hex":"20","Unicode dec":"32","Unicode hex":"20"},{"Typeface name":"Wingdings 3","Dingbat dec":"33","Dingbat hex":"21","Unicode dec":"11104","Unicode hex":"2B60"},{"Typeface name":"Wingdings 3","Dingbat dec":"34","Dingbat hex":"22","Unicode dec":"11106","Unicode hex":"2B62"},{"Typeface name":"Wingdings 3","Dingbat dec":"35","Dingbat hex":"23","Unicode dec":"11105","Unicode hex":"2B61"},{"Typeface name":"Wingdings 3","Dingbat dec":"36","Dingbat hex":"24","Unicode dec":"11107","Unicode hex":"2B63"},{"Typeface name":"Wingdings 3","Dingbat dec":"37","Dingbat hex":"25","Unicode dec":"11110","Unicode hex":"2B66"},{"Typeface name":"Wingdings 3","Dingbat dec":"38","Dingbat hex":"26","Unicode dec":"11111","Unicode hex":"2B67"},{"Typeface name":"Wingdings 3","Dingbat dec":"39","Dingbat hex":"27","Unicode dec":"11113","Unicode hex":"2B69"},{"Typeface name":"Wingdings 3","Dingbat dec":"40","Dingbat hex":"28","Unicode dec":"11112","Unicode hex":"2B68"},{"Typeface name":"Wingdings 3","Dingbat dec":"41","Dingbat hex":"29","Unicode dec":"11120","Unicode hex":"2B70"},{"Typeface name":"Wingdings 3","Dingbat dec":"42","Dingbat hex":"2A","Unicode dec":"11122","Unicode hex":"2B72"},{"Typeface name":"Wingdings 3","Dingbat dec":"43","Dingbat hex":"2B","Unicode dec":"11121","Unicode hex":"2B71"},{"Typeface name":"Wingdings 3","Dingbat dec":"44","Dingbat hex":"2C","Unicode dec":"11123","Unicode hex":"2B73"},{"Typeface name":"Wingdings 3","Dingbat dec":"45","Dingbat hex":"2D","Unicode dec":"11126","Unicode hex":"2B76"},{"Typeface name":"Wingdings 3","Dingbat dec":"46","Dingbat hex":"2E","Unicode dec":"11128","Unicode hex":"2B78"},{"Typeface name":"Wingdings 3","Dingbat dec":"47","Dingbat hex":"2F","Unicode dec":"11131","Unicode hex":"2B7B"},{"Typeface name":"Wingdings 3","Dingbat dec":"48","Dingbat hex":"30","Unicode dec":"11133","Unicode hex":"2B7D"},{"Typeface name":"Wingdings 3","Dingbat dec":"49","Dingbat hex":"31","Unicode dec":"11108","Unicode hex":"2B64"},{"Typeface name":"Wingdings 3","Dingbat dec":"50","Dingbat hex":"32","Unicode dec":"11109","Unicode hex":"2B65"},{"Typeface name":"Wingdings 3","Dingbat dec":"51","Dingbat hex":"33","Unicode dec":"11114","Unicode hex":"2B6A"},{"Typeface name":"Wingdings 3","Dingbat dec":"52","Dingbat hex":"34","Unicode dec":"11116","Unicode hex":"2B6C"},{"Typeface name":"Wingdings 3","Dingbat dec":"53","Dingbat hex":"35","Unicode dec":"11115","Unicode hex":"2B6B"},{"Typeface name":"Wingdings 3","Dingbat dec":"54","Dingbat hex":"36","Unicode dec":"11117","Unicode hex":"2B6D"},{"Typeface name":"Wingdings 3","Dingbat dec":"55","Dingbat hex":"37","Unicode dec":"11085","Unicode hex":"2B4D"},{"Typeface name":"Wingdings 3","Dingbat dec":"56","Dingbat hex":"38","Unicode dec":"11168","Unicode hex":"2BA0"},{"Typeface name":"Wingdings 3","Dingbat dec":"57","Dingbat hex":"39","Unicode dec":"11169","Unicode hex":"2BA1"},{"Typeface name":"Wingdings 3","Dingbat dec":"58","Dingbat hex":"3A","Unicode dec":"11170","Unicode hex":"2BA2"},{"Typeface name":"Wingdings 3","Dingbat dec":"59","Dingbat hex":"3B","Unicode dec":"11171","Unicode hex":"2BA3"},{"Typeface name":"Wingdings 3","Dingbat dec":"60","Dingbat hex":"3C","Unicode dec":"11172","Unicode hex":"2BA4"},{"Typeface name":"Wingdings 3","Dingbat dec":"61","Dingbat hex":"3D","Unicode dec":"11173","Unicode hex":"2BA5"},{"Typeface name":"Wingdings 3","Dingbat dec":"62","Dingbat hex":"3E","Unicode dec":"11174","Unicode hex":"2BA6"},{"Typeface name":"Wingdings 3","Dingbat dec":"63","Dingbat hex":"3F","Unicode dec":"11175","Unicode hex":"2BA7"},{"Typeface name":"Wingdings 3","Dingbat dec":"64","Dingbat hex":"40","Unicode dec":"11152","Unicode hex":"2B90"},{"Typeface name":"Wingdings 3","Dingbat dec":"65","Dingbat hex":"41","Unicode dec":"11153","Unicode hex":"2B91"},{"Typeface name":"Wingdings 3","Dingbat dec":"66","Dingbat hex":"42","Unicode dec":"11154","Unicode hex":"2B92"},{"Typeface name":"Wingdings 3","Dingbat dec":"67","Dingbat hex":"43","Unicode dec":"11155","Unicode hex":"2B93"},{"Typeface name":"Wingdings 3","Dingbat dec":"68","Dingbat hex":"44","Unicode dec":"11136","Unicode hex":"2B80"},{"Typeface name":"Wingdings 3","Dingbat dec":"69","Dingbat hex":"45","Unicode dec":"11139","Unicode hex":"2B83"},{"Typeface name":"Wingdings 3","Dingbat dec":"70","Dingbat hex":"46","Unicode dec":"11134","Unicode hex":"2B7E"},{"Typeface name":"Wingdings 3","Dingbat dec":"71","Dingbat hex":"47","Unicode dec":"11135","Unicode hex":"2B7F"},{"Typeface name":"Wingdings 3","Dingbat dec":"72","Dingbat hex":"48","Unicode dec":"11140","Unicode hex":"2B84"},{"Typeface name":"Wingdings 3","Dingbat dec":"73","Dingbat hex":"49","Unicode dec":"11142","Unicode hex":"2B86"},{"Typeface name":"Wingdings 3","Dingbat dec":"74","Dingbat hex":"4A","Unicode dec":"11141","Unicode hex":"2B85"},{"Typeface name":"Wingdings 3","Dingbat dec":"75","Dingbat hex":"4B","Unicode dec":"11143","Unicode hex":"2B87"},{"Typeface name":"Wingdings 3","Dingbat dec":"76","Dingbat hex":"4C","Unicode dec":"11151","Unicode hex":"2B8F"},{"Typeface name":"Wingdings 3","Dingbat dec":"77","Dingbat hex":"4D","Unicode dec":"11149","Unicode hex":"2B8D"},{"Typeface name":"Wingdings 3","Dingbat dec":"78","Dingbat hex":"4E","Unicode dec":"11150","Unicode hex":"2B8E"},{"Typeface name":"Wingdings 3","Dingbat dec":"79","Dingbat hex":"4F","Unicode dec":"11148","Unicode hex":"2B8C"},{"Typeface name":"Wingdings 3","Dingbat dec":"80","Dingbat hex":"50","Unicode dec":"11118","Unicode hex":"2B6E"},{"Typeface name":"Wingdings 3","Dingbat dec":"81","Dingbat hex":"51","Unicode dec":"11119","Unicode hex":"2B6F"},{"Typeface name":"Wingdings 3","Dingbat dec":"82","Dingbat hex":"52","Unicode dec":"9099","Unicode hex":"238B"},{"Typeface name":"Wingdings 3","Dingbat dec":"83","Dingbat hex":"53","Unicode dec":"8996","Unicode hex":"2324"},{"Typeface name":"Wingdings 3","Dingbat dec":"84","Dingbat hex":"54","Unicode dec":"8963","Unicode hex":"2303"},{"Typeface name":"Wingdings 3","Dingbat dec":"85","Dingbat hex":"55","Unicode dec":"8997","Unicode hex":"2325"},{"Typeface name":"Wingdings 3","Dingbat dec":"86","Dingbat hex":"56","Unicode dec":"9251","Unicode hex":"2423"},{"Typeface name":"Wingdings 3","Dingbat dec":"87","Dingbat hex":"57","Unicode dec":"9085","Unicode hex":"237D"},{"Typeface name":"Wingdings 3","Dingbat dec":"88","Dingbat hex":"58","Unicode dec":"8682","Unicode hex":"21EA"},{"Typeface name":"Wingdings 3","Dingbat dec":"89","Dingbat hex":"59","Unicode dec":"11192","Unicode hex":"2BB8"},{"Typeface name":"Wingdings 3","Dingbat dec":"90","Dingbat hex":"5A","Unicode dec":"129184","Unicode hex":"1F8A0"},{"Typeface name":"Wingdings 3","Dingbat dec":"91","Dingbat hex":"5B","Unicode dec":"129185","Unicode hex":"1F8A1"},{"Typeface name":"Wingdings 3","Dingbat dec":"92","Dingbat hex":"5C","Unicode dec":"129186","Unicode hex":"1F8A2"},{"Typeface name":"Wingdings 3","Dingbat dec":"93","Dingbat hex":"5D","Unicode dec":"129187","Unicode hex":"1F8A3"},{"Typeface name":"Wingdings 3","Dingbat dec":"94","Dingbat hex":"5E","Unicode dec":"129188","Unicode hex":"1F8A4"},{"Typeface name":"Wingdings 3","Dingbat dec":"95","Dingbat hex":"5F","Unicode dec":"129189","Unicode hex":"1F8A5"},{"Typeface name":"Wingdings 3","Dingbat dec":"96","Dingbat hex":"60","Unicode dec":"129190","Unicode hex":"1F8A6"},{"Typeface name":"Wingdings 3","Dingbat dec":"97","Dingbat hex":"61","Unicode dec":"129191","Unicode hex":"1F8A7"},{"Typeface name":"Wingdings 3","Dingbat dec":"98","Dingbat hex":"62","Unicode dec":"129192","Unicode hex":"1F8A8"},{"Typeface name":"Wingdings 3","Dingbat dec":"99","Dingbat hex":"63","Unicode dec":"129193","Unicode hex":"1F8A9"},{"Typeface name":"Wingdings 3","Dingbat dec":"100","Dingbat hex":"64","Unicode dec":"129194","Unicode hex":"1F8AA"},{"Typeface name":"Wingdings 3","Dingbat dec":"101","Dingbat hex":"65","Unicode dec":"129195","Unicode hex":"1F8AB"},{"Typeface name":"Wingdings 3","Dingbat dec":"102","Dingbat hex":"66","Unicode dec":"129104","Unicode hex":"1F850"},{"Typeface name":"Wingdings 3","Dingbat dec":"103","Dingbat hex":"67","Unicode dec":"129106","Unicode hex":"1F852"},{"Typeface name":"Wingdings 3","Dingbat dec":"104","Dingbat hex":"68","Unicode dec":"129105","Unicode hex":"1F851"},{"Typeface name":"Wingdings 3","Dingbat dec":"105","Dingbat hex":"69","Unicode dec":"129107","Unicode hex":"1F853"},{"Typeface name":"Wingdings 3","Dingbat dec":"106","Dingbat hex":"6A","Unicode dec":"129108","Unicode hex":"1F854"},{"Typeface name":"Wingdings 3","Dingbat dec":"107","Dingbat hex":"6B","Unicode dec":"129109","Unicode hex":"1F855"},{"Typeface name":"Wingdings 3","Dingbat dec":"108","Dingbat hex":"6C","Unicode dec":"129111","Unicode hex":"1F857"},{"Typeface name":"Wingdings 3","Dingbat dec":"109","Dingbat hex":"6D","Unicode dec":"129110","Unicode hex":"1F856"},{"Typeface name":"Wingdings 3","Dingbat dec":"110","Dingbat hex":"6E","Unicode dec":"129112","Unicode hex":"1F858"},{"Typeface name":"Wingdings 3","Dingbat dec":"111","Dingbat hex":"6F","Unicode dec":"129113","Unicode hex":"1F859"},{"Typeface name":"Wingdings 3","Dingbat dec":"112","Dingbat hex":"70","Unicode dec":"9650","Unicode hex":"25B2"},{"Typeface name":"Wingdings 3","Dingbat dec":"113","Dingbat hex":"71","Unicode dec":"9660","Unicode hex":"25BC"},{"Typeface name":"Wingdings 3","Dingbat dec":"114","Dingbat hex":"72","Unicode dec":"9651","Unicode hex":"25B3"},{"Typeface name":"Wingdings 3","Dingbat dec":"115","Dingbat hex":"73","Unicode dec":"9661","Unicode hex":"25BD"},{"Typeface name":"Wingdings 3","Dingbat dec":"116","Dingbat hex":"74","Unicode dec":"9664","Unicode hex":"25C0"},{"Typeface name":"Wingdings 3","Dingbat dec":"117","Dingbat hex":"75","Unicode dec":"9654","Unicode hex":"25B6"},{"Typeface name":"Wingdings 3","Dingbat dec":"118","Dingbat hex":"76","Unicode dec":"9665","Unicode hex":"25C1"},{"Typeface name":"Wingdings 3","Dingbat dec":"119","Dingbat hex":"77","Unicode dec":"9655","Unicode hex":"25B7"},{"Typeface name":"Wingdings 3","Dingbat dec":"120","Dingbat hex":"78","Unicode dec":"9699","Unicode hex":"25E3"},{"Typeface name":"Wingdings 3","Dingbat dec":"121","Dingbat hex":"79","Unicode dec":"9698","Unicode hex":"25E2"},{"Typeface name":"Wingdings 3","Dingbat dec":"122","Dingbat hex":"7A","Unicode dec":"9700","Unicode hex":"25E4"},{"Typeface name":"Wingdings 3","Dingbat dec":"123","Dingbat hex":"7B","Unicode dec":"9701","Unicode hex":"25E5"},{"Typeface name":"Wingdings 3","Dingbat dec":"124","Dingbat hex":"7C","Unicode dec":"128896","Unicode hex":"1F780"},{"Typeface name":"Wingdings 3","Dingbat dec":"125","Dingbat hex":"7D","Unicode dec":"128898","Unicode hex":"1F782"},{"Typeface name":"Wingdings 3","Dingbat dec":"126","Dingbat hex":"7E","Unicode dec":"128897","Unicode hex":"1F781"},{"Typeface name":"Wingdings 3","Dingbat dec":"128","Dingbat hex":"80","Unicode dec":"128899","Unicode hex":"1F783"},{"Typeface name":"Wingdings 3","Dingbat dec":"129","Dingbat hex":"81","Unicode dec":"11205","Unicode hex":"2BC5"},{"Typeface name":"Wingdings 3","Dingbat dec":"130","Dingbat hex":"82","Unicode dec":"11206","Unicode hex":"2BC6"},{"Typeface name":"Wingdings 3","Dingbat dec":"131","Dingbat hex":"83","Unicode dec":"11207","Unicode hex":"2BC7"},{"Typeface name":"Wingdings 3","Dingbat dec":"132","Dingbat hex":"84","Unicode dec":"11208","Unicode hex":"2BC8"},{"Typeface name":"Wingdings 3","Dingbat dec":"133","Dingbat hex":"85","Unicode dec":"11164","Unicode hex":"2B9C"},{"Typeface name":"Wingdings 3","Dingbat dec":"134","Dingbat hex":"86","Unicode dec":"11166","Unicode hex":"2B9E"},{"Typeface name":"Wingdings 3","Dingbat dec":"135","Dingbat hex":"87","Unicode dec":"11165","Unicode hex":"2B9D"},{"Typeface name":"Wingdings 3","Dingbat dec":"136","Dingbat hex":"88","Unicode dec":"11167","Unicode hex":"2B9F"},{"Typeface name":"Wingdings 3","Dingbat dec":"137","Dingbat hex":"89","Unicode dec":"129040","Unicode hex":"1F810"},{"Typeface name":"Wingdings 3","Dingbat dec":"138","Dingbat hex":"8A","Unicode dec":"129042","Unicode hex":"1F812"},{"Typeface name":"Wingdings 3","Dingbat dec":"139","Dingbat hex":"8B","Unicode dec":"129041","Unicode hex":"1F811"},{"Typeface name":"Wingdings 3","Dingbat dec":"140","Dingbat hex":"8C","Unicode dec":"129043","Unicode hex":"1F813"},{"Typeface name":"Wingdings 3","Dingbat dec":"141","Dingbat hex":"8D","Unicode dec":"129044","Unicode hex":"1F814"},{"Typeface name":"Wingdings 3","Dingbat dec":"142","Dingbat hex":"8E","Unicode dec":"129046","Unicode hex":"1F816"},{"Typeface name":"Wingdings 3","Dingbat dec":"143","Dingbat hex":"8F","Unicode dec":"129045","Unicode hex":"1F815"},{"Typeface name":"Wingdings 3","Dingbat dec":"144","Dingbat hex":"90","Unicode dec":"129047","Unicode hex":"1F817"},{"Typeface name":"Wingdings 3","Dingbat dec":"145","Dingbat hex":"91","Unicode dec":"129048","Unicode hex":"1F818"},{"Typeface name":"Wingdings 3","Dingbat dec":"146","Dingbat hex":"92","Unicode dec":"129050","Unicode hex":"1F81A"},{"Typeface name":"Wingdings 3","Dingbat dec":"147","Dingbat hex":"93","Unicode dec":"129049","Unicode hex":"1F819"},{"Typeface name":"Wingdings 3","Dingbat dec":"148","Dingbat hex":"94","Unicode dec":"129051","Unicode hex":"1F81B"},{"Typeface name":"Wingdings 3","Dingbat dec":"149","Dingbat hex":"95","Unicode dec":"129052","Unicode hex":"1F81C"},{"Typeface name":"Wingdings 3","Dingbat dec":"150","Dingbat hex":"96","Unicode dec":"129054","Unicode hex":"1F81E"},{"Typeface name":"Wingdings 3","Dingbat dec":"151","Dingbat hex":"97","Unicode dec":"129053","Unicode hex":"1F81D"},{"Typeface name":"Wingdings 3","Dingbat dec":"152","Dingbat hex":"98","Unicode dec":"129055","Unicode hex":"1F81F"},{"Typeface name":"Wingdings 3","Dingbat dec":"153","Dingbat hex":"99","Unicode dec":"129024","Unicode hex":"1F800"},{"Typeface name":"Wingdings 3","Dingbat dec":"154","Dingbat hex":"9A","Unicode dec":"129026","Unicode hex":"1F802"},{"Typeface name":"Wingdings 3","Dingbat dec":"155","Dingbat hex":"9B","Unicode dec":"129025","Unicode hex":"1F801"},{"Typeface name":"Wingdings 3","Dingbat dec":"156","Dingbat hex":"9C","Unicode dec":"129027","Unicode hex":"1F803"},{"Typeface name":"Wingdings 3","Dingbat dec":"157","Dingbat hex":"9D","Unicode dec":"129028","Unicode hex":"1F804"},{"Typeface name":"Wingdings 3","Dingbat dec":"158","Dingbat hex":"9E","Unicode dec":"129030","Unicode hex":"1F806"},{"Typeface name":"Wingdings 3","Dingbat dec":"159","Dingbat hex":"9F","Unicode dec":"129029","Unicode hex":"1F805"},{"Typeface name":"Wingdings 3","Dingbat dec":"160","Dingbat hex":"A0","Unicode dec":"129031","Unicode hex":"1F807"},{"Typeface name":"Wingdings 3","Dingbat dec":"161","Dingbat hex":"A1","Unicode dec":"129032","Unicode hex":"1F808"},{"Typeface name":"Wingdings 3","Dingbat dec":"162","Dingbat hex":"A2","Unicode dec":"129034","Unicode hex":"1F80A"},{"Typeface name":"Wingdings 3","Dingbat dec":"163","Dingbat hex":"A3","Unicode dec":"129033","Unicode hex":"1F809"},{"Typeface name":"Wingdings 3","Dingbat dec":"164","Dingbat hex":"A4","Unicode dec":"129035","Unicode hex":"1F80B"},{"Typeface name":"Wingdings 3","Dingbat dec":"165","Dingbat hex":"A5","Unicode dec":"129056","Unicode hex":"1F820"},{"Typeface name":"Wingdings 3","Dingbat dec":"166","Dingbat hex":"A6","Unicode dec":"129058","Unicode hex":"1F822"},{"Typeface name":"Wingdings 3","Dingbat dec":"167","Dingbat hex":"A7","Unicode dec":"129060","Unicode hex":"1F824"},{"Typeface name":"Wingdings 3","Dingbat dec":"168","Dingbat hex":"A8","Unicode dec":"129062","Unicode hex":"1F826"},{"Typeface name":"Wingdings 3","Dingbat dec":"169","Dingbat hex":"A9","Unicode dec":"129064","Unicode hex":"1F828"},{"Typeface name":"Wingdings 3","Dingbat dec":"170","Dingbat hex":"AA","Unicode dec":"129066","Unicode hex":"1F82A"},{"Typeface name":"Wingdings 3","Dingbat dec":"171","Dingbat hex":"AB","Unicode dec":"129068","Unicode hex":"1F82C"},{"Typeface name":"Wingdings 3","Dingbat dec":"172","Dingbat hex":"AC","Unicode dec":"129180","Unicode hex":"1F89C"},{"Typeface name":"Wingdings 3","Dingbat dec":"173","Dingbat hex":"AD","Unicode dec":"129181","Unicode hex":"1F89D"},{"Typeface name":"Wingdings 3","Dingbat dec":"174","Dingbat hex":"AE","Unicode dec":"129182","Unicode hex":"1F89E"},{"Typeface name":"Wingdings 3","Dingbat dec":"175","Dingbat hex":"AF","Unicode dec":"129183","Unicode hex":"1F89F"},{"Typeface name":"Wingdings 3","Dingbat dec":"176","Dingbat hex":"B0","Unicode dec":"129070","Unicode hex":"1F82E"},{"Typeface name":"Wingdings 3","Dingbat dec":"177","Dingbat hex":"B1","Unicode dec":"129072","Unicode hex":"1F830"},{"Typeface name":"Wingdings 3","Dingbat dec":"178","Dingbat hex":"B2","Unicode dec":"129074","Unicode hex":"1F832"},{"Typeface name":"Wingdings 3","Dingbat dec":"179","Dingbat hex":"B3","Unicode dec":"129076","Unicode hex":"1F834"},{"Typeface name":"Wingdings 3","Dingbat dec":"180","Dingbat hex":"B4","Unicode dec":"129078","Unicode hex":"1F836"},{"Typeface name":"Wingdings 3","Dingbat dec":"181","Dingbat hex":"B5","Unicode dec":"129080","Unicode hex":"1F838"},{"Typeface name":"Wingdings 3","Dingbat dec":"182","Dingbat hex":"B6","Unicode dec":"129082","Unicode hex":"1F83A"},{"Typeface name":"Wingdings 3","Dingbat dec":"183","Dingbat hex":"B7","Unicode dec":"129081","Unicode hex":"1F839"},{"Typeface name":"Wingdings 3","Dingbat dec":"184","Dingbat hex":"B8","Unicode dec":"129083","Unicode hex":"1F83B"},{"Typeface name":"Wingdings 3","Dingbat dec":"185","Dingbat hex":"B9","Unicode dec":"129176","Unicode hex":"1F898"},{"Typeface name":"Wingdings 3","Dingbat dec":"186","Dingbat hex":"BA","Unicode dec":"129178","Unicode hex":"1F89A"},{"Typeface name":"Wingdings 3","Dingbat dec":"187","Dingbat hex":"BB","Unicode dec":"129177","Unicode hex":"1F899"},{"Typeface name":"Wingdings 3","Dingbat dec":"188","Dingbat hex":"BC","Unicode dec":"129179","Unicode hex":"1F89B"},{"Typeface name":"Wingdings 3","Dingbat dec":"189","Dingbat hex":"BD","Unicode dec":"129084","Unicode hex":"1F83C"},{"Typeface name":"Wingdings 3","Dingbat dec":"190","Dingbat hex":"BE","Unicode dec":"129086","Unicode hex":"1F83E"},{"Typeface name":"Wingdings 3","Dingbat dec":"191","Dingbat hex":"BF","Unicode dec":"129085","Unicode hex":"1F83D"},{"Typeface name":"Wingdings 3","Dingbat dec":"192","Dingbat hex":"C0","Unicode dec":"129087","Unicode hex":"1F83F"},{"Typeface name":"Wingdings 3","Dingbat dec":"193","Dingbat hex":"C1","Unicode dec":"129088","Unicode hex":"1F840"},{"Typeface name":"Wingdings 3","Dingbat dec":"194","Dingbat hex":"C2","Unicode dec":"129090","Unicode hex":"1F842"},{"Typeface name":"Wingdings 3","Dingbat dec":"195","Dingbat hex":"C3","Unicode dec":"129089","Unicode hex":"1F841"},{"Typeface name":"Wingdings 3","Dingbat dec":"196","Dingbat hex":"C4","Unicode dec":"129091","Unicode hex":"1F843"},{"Typeface name":"Wingdings 3","Dingbat dec":"197","Dingbat hex":"C5","Unicode dec":"129092","Unicode hex":"1F844"},{"Typeface name":"Wingdings 3","Dingbat dec":"198","Dingbat hex":"C6","Unicode dec":"129094","Unicode hex":"1F846"},{"Typeface name":"Wingdings 3","Dingbat dec":"199","Dingbat hex":"C7","Unicode dec":"129093","Unicode hex":"1F845"},{"Typeface name":"Wingdings 3","Dingbat dec":"200","Dingbat hex":"C8","Unicode dec":"129095","Unicode hex":"1F847"},{"Typeface name":"Wingdings 3","Dingbat dec":"201","Dingbat hex":"C9","Unicode dec":"11176","Unicode hex":"2BA8"},{"Typeface name":"Wingdings 3","Dingbat dec":"202","Dingbat hex":"CA","Unicode dec":"11177","Unicode hex":"2BA9"},{"Typeface name":"Wingdings 3","Dingbat dec":"203","Dingbat hex":"CB","Unicode dec":"11178","Unicode hex":"2BAA"},{"Typeface name":"Wingdings 3","Dingbat dec":"204","Dingbat hex":"CC","Unicode dec":"11179","Unicode hex":"2BAB"},{"Typeface name":"Wingdings 3","Dingbat dec":"205","Dingbat hex":"CD","Unicode dec":"11180","Unicode hex":"2BAC"},{"Typeface name":"Wingdings 3","Dingbat dec":"206","Dingbat hex":"CE","Unicode dec":"11181","Unicode hex":"2BAD"},{"Typeface name":"Wingdings 3","Dingbat dec":"207","Dingbat hex":"CF","Unicode dec":"11182","Unicode hex":"2BAE"},{"Typeface name":"Wingdings 3","Dingbat dec":"208","Dingbat hex":"D0","Unicode dec":"11183","Unicode hex":"2BAF"},{"Typeface name":"Wingdings 3","Dingbat dec":"209","Dingbat hex":"D1","Unicode dec":"129120","Unicode hex":"1F860"},{"Typeface name":"Wingdings 3","Dingbat dec":"210","Dingbat hex":"D2","Unicode dec":"129122","Unicode hex":"1F862"},{"Typeface name":"Wingdings 3","Dingbat dec":"211","Dingbat hex":"D3","Unicode dec":"129121","Unicode hex":"1F861"},{"Typeface name":"Wingdings 3","Dingbat dec":"212","Dingbat hex":"D4","Unicode dec":"129123","Unicode hex":"1F863"},{"Typeface name":"Wingdings 3","Dingbat dec":"213","Dingbat hex":"D5","Unicode dec":"129124","Unicode hex":"1F864"},{"Typeface name":"Wingdings 3","Dingbat dec":"214","Dingbat hex":"D6","Unicode dec":"129125","Unicode hex":"1F865"},{"Typeface name":"Wingdings 3","Dingbat dec":"215","Dingbat hex":"D7","Unicode dec":"129127","Unicode hex":"1F867"},{"Typeface name":"Wingdings 3","Dingbat dec":"216","Dingbat hex":"D8","Unicode dec":"129126","Unicode hex":"1F866"},{"Typeface name":"Wingdings 3","Dingbat dec":"217","Dingbat hex":"D9","Unicode dec":"129136","Unicode hex":"1F870"},{"Typeface name":"Wingdings 3","Dingbat dec":"218","Dingbat hex":"DA","Unicode dec":"129138","Unicode hex":"1F872"},{"Typeface name":"Wingdings 3","Dingbat dec":"219","Dingbat hex":"DB","Unicode dec":"129137","Unicode hex":"1F871"},{"Typeface name":"Wingdings 3","Dingbat dec":"220","Dingbat hex":"DC","Unicode dec":"129139","Unicode hex":"1F873"},{"Typeface name":"Wingdings 3","Dingbat dec":"221","Dingbat hex":"DD","Unicode dec":"129140","Unicode hex":"1F874"},{"Typeface name":"Wingdings 3","Dingbat dec":"222","Dingbat hex":"DE","Unicode dec":"129141","Unicode hex":"1F875"},{"Typeface name":"Wingdings 3","Dingbat dec":"223","Dingbat hex":"DF","Unicode dec":"129143","Unicode hex":"1F877"},{"Typeface name":"Wingdings 3","Dingbat dec":"224","Dingbat hex":"E0","Unicode dec":"129142","Unicode hex":"1F876"},{"Typeface name":"Wingdings 3","Dingbat dec":"225","Dingbat hex":"E1","Unicode dec":"129152","Unicode hex":"1F880"},{"Typeface name":"Wingdings 3","Dingbat dec":"226","Dingbat hex":"E2","Unicode dec":"129154","Unicode hex":"1F882"},{"Typeface name":"Wingdings 3","Dingbat dec":"227","Dingbat hex":"E3","Unicode dec":"129153","Unicode hex":"1F881"},{"Typeface name":"Wingdings 3","Dingbat dec":"228","Dingbat hex":"E4","Unicode dec":"129155","Unicode hex":"1F883"},{"Typeface name":"Wingdings 3","Dingbat dec":"229","Dingbat hex":"E5","Unicode dec":"129156","Unicode hex":"1F884"},{"Typeface name":"Wingdings 3","Dingbat dec":"230","Dingbat hex":"E6","Unicode dec":"129157","Unicode hex":"1F885"},{"Typeface name":"Wingdings 3","Dingbat dec":"231","Dingbat hex":"E7","Unicode dec":"129159","Unicode hex":"1F887"},{"Typeface name":"Wingdings 3","Dingbat dec":"232","Dingbat hex":"E8","Unicode dec":"129158","Unicode hex":"1F886"},{"Typeface name":"Wingdings 3","Dingbat dec":"233","Dingbat hex":"E9","Unicode dec":"129168","Unicode hex":"1F890"},{"Typeface name":"Wingdings 3","Dingbat dec":"234","Dingbat hex":"EA","Unicode dec":"129170","Unicode hex":"1F892"},{"Typeface name":"Wingdings 3","Dingbat dec":"235","Dingbat hex":"EB","Unicode dec":"129169","Unicode hex":"1F891"},{"Typeface name":"Wingdings 3","Dingbat dec":"236","Dingbat hex":"EC","Unicode dec":"129171","Unicode hex":"1F893"},{"Typeface name":"Wingdings 3","Dingbat dec":"237","Dingbat hex":"ED","Unicode dec":"129172","Unicode hex":"1F894"},{"Typeface name":"Wingdings 3","Dingbat dec":"238","Dingbat hex":"EE","Unicode dec":"129174","Unicode hex":"1F896"},{"Typeface name":"Wingdings 3","Dingbat dec":"239","Dingbat hex":"EF","Unicode dec":"129173","Unicode hex":"1F895"},{"Typeface name":"Wingdings 3","Dingbat dec":"240","Dingbat hex":"F0","Unicode dec":"129175","Unicode hex":"1F897"}];return ua.default=t,ua}var o2;function g6(){if(o2)return en;o2=1;var t=en&&en.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(en,"__esModule",{value:!0}),en.hex=en.dec=en.codePoint=void 0;for(var e=t(p6()),n={},r=String.fromCodePoint?String.fromCodePoint:d,i=0,o=e.default;i<o.length;i++){var a=o[i],s=parseInt(a["Unicode dec"],10),c={codePoint:s,string:r(s)};n[a["Typeface name"].toUpperCase()+"_"+a["Dingbat dec"]]=c}function l(h,p){return n[h.toUpperCase()+"_"+p]}en.codePoint=l;function u(h,p){return l(h,parseInt(p,10))}en.dec=u;function f(h,p){return l(h,parseInt(p,16))}en.hex=f;function d(h){if(h<=65535)return String.fromCharCode(h);var p=Math.floor((h-65536)/1024)+55296,m=(h-65536)%1024+56320;return String.fromCharCode(p,m)}return en}var fa={},a2;function m6(){if(a2)return fa;a2=1,fa.uriToZipEntryName=t,fa.replaceFragment=e;function t(n,r){return r.charAt(0)==="/"?r.substr(1):n+"/"+r}function e(n,r){var i=n.indexOf("#");return i!==-1&&(n=n.substring(0,i)),n+"#"+r}return fa}var s2;function y6(){if(s2)return la;s2=1,la.createBodyReader=s,la._readNumberingProperties=l;var t=g6(),e=et,n=Yr(),r=Wn().Result,i=Wn().warning,o=zp(),a=m6();function s(T){return{readXmlElement:function(w){return new c(T).readXmlElement(w)},readXmlElements:function(w){return new c(T).readXmlElements(w)}}}function c(T){var w=[],E=[],S=[],U=T.relationships,C=T.contentTypes,R=T.docxFile,L=T.files,_=T.numbering,k=T.styles;function x(ee){var ue=ee.map(z);return y(ue)}function z(ee){if(ee.type==="element"){var ue=j[ee.name];if(ue)return ue(ee);if(!Object.prototype.hasOwnProperty.call(f,ee.name)){var ve=i("An unrecognised element was ignored: "+ee.name);return d([ve])}}return h()}function F(ee){return oe(ee).map(function(ue){return{type:"paragraphProperties",styleId:ue.styleId,styleName:ue.name,alignment:ee.firstOrEmpty("w:jc").attributes["w:val"],numbering:l(ue.styleId,ee.firstOrEmpty("w:numPr"),_),indent:I(ee.firstOrEmpty("w:ind"))}})}function I(ee){return{start:ee.attributes["w:start"]||ee.attributes["w:left"],end:ee.attributes["w:end"]||ee.attributes["w:right"],firstLine:ee.attributes["w:firstLine"],hanging:ee.attributes["w:hanging"]}}function K(ee){return X(ee).map(function(ue){var ve=ee.firstOrEmpty("w:sz").attributes["w:val"],Ee=/^[0-9]+$/.test(ve)?parseInt(ve,10)/2:null;return{type:"runProperties",styleId:ue.styleId,styleName:ue.name,verticalAlignment:ee.firstOrEmpty("w:vertAlign").attributes["w:val"],font:ee.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:Ee,isBold:te(ee.first("w:b")),isUnderline:P(ee.first("w:u")),isItalic:te(ee.first("w:i")),isStrikethrough:te(ee.first("w:strike")),isAllCaps:te(ee.first("w:caps")),isSmallCaps:te(ee.first("w:smallCaps")),highlight:B(ee.firstOrEmpty("w:highlight").attributes["w:val"])}})}function P(ee){if(ee){var ue=ee.attributes["w:val"];return ue!==void 0&&ue!=="false"&&ue!=="0"&&ue!=="none"}else return!1}function te(ee){if(ee){var ue=ee.attributes["w:val"];return ue!=="false"&&ue!=="0"}else return!1}function W(ee){return ee!=="false"&&ee!=="0"}function B(ee){return!ee||ee==="none"?null:ee}function oe(ee){return le(ee,"w:pStyle","Paragraph",k.findParagraphStyleById)}function X(ee){return le(ee,"w:rStyle","Run",k.findCharacterStyleById)}function J(ee){return le(ee,"w:tblStyle","Table",k.findTableStyleById)}function le(ee,ue,ve,Ee){var ke=[],Q=ee.first(ue),re=null,Oe=null;if(Q&&(re=Q.attributes["w:val"],re)){var Ie=Ee(re);Ie?Oe=Ie.name:ke.push(Ce(ve,re))}return m({styleId:re,name:Oe},ke)}function he(ee){var ue=ee.attributes["w:fldCharType"];if(ue==="begin")w.push({type:"begin",fldChar:ee}),E=[];else if(ue==="end"){var ve=w.pop();if(ve.type==="begin"&&(ve=me(ve)),ve.type==="checkbox")return p(n.checkbox({checked:ve.checked}))}else if(ue==="separate"){var Ee=w.pop(),ke=me(Ee);w.push(ke)}return h()}function fe(){var ee=e.last(w.filter(function(ue){return ue.type==="hyperlink"}));return ee?ee.options:null}function me(ee){return de(E.join(""),ee.type==="begin"?ee.fldChar:o.emptyElement)}function de(ee,ue){var ve=/\s*HYPERLINK "(.*)"/.exec(ee);if(ve)return{type:"hyperlink",options:{href:ve[1]}};var Ee=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(ee);if(Ee)return{type:"hyperlink",options:{anchor:Ee[1]}};var ke=/\s*FORMCHECKBOX\s*/.exec(ee);if(ke){var Q=ue.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),re=Q.first("w:checked"),Oe=re==null?te(Q.first("w:default")):te(re);return{type:"checkbox",checked:Oe}}return{type:"unknown"}}function ge(ee){return E.push(ee.text()),h()}function ye(ee){var ue=ee.attributes["w:font"],ve=ee.attributes["w:char"],Ee=t.hex(ue,ve);return Ee==null&&/^F0..$/.test(ve)&&(Ee=t.hex(ue,ve.substring(2))),Ee==null?d([i("A w:sym element with an unsupported character was ignored: char "+ve+" in font "+ue)]):p(new n.Text(Ee.string))}function be(ee){return function(ue){var ve=ue.attributes["w:id"];return p(new n.NoteReference({noteType:ee,noteId:ve}))}}function D(ee){return p(n.commentReference({commentId:ee.attributes["w:id"]}))}function V(ee){return x(ee.children)}var j={"w:p":function(ee){var ue=ee.firstOrEmpty("w:pPr"),ve=!!ue.firstOrEmpty("w:rPr").first("w:del");if(ve)return ee.children.forEach(function(ke){S.push(ke)}),h();var Ee=ee.children;return S.length>0&&(Ee=S.concat(Ee),S=[]),g.map(F(ue),x(Ee),function(ke,Q){return new n.Paragraph(Q,ke)}).insertExtra()},"w:r":function(ee){return g.map(K(ee.firstOrEmpty("w:rPr")),x(ee.children),function(ue,ve){var Ee=fe();return Ee!==null&&(ve=[new n.Hyperlink(ve,Ee)]),new n.Run(ve,ue)})},"w:fldChar":he,"w:instrText":ge,"w:t":function(ee){return p(new n.Text(ee.text()))},"w:tab":function(ee){return p(new n.Tab)},"w:noBreakHyphen":function(){return p(new n.Text("‑"))},"w:softHyphen":function(ee){return p(new n.Text("­"))},"w:sym":ye,"w:hyperlink":function(ee){var ue=ee.attributes["r:id"],ve=ee.attributes["w:anchor"];return x(ee.children).map(function(Ee){function ke(re){var Oe=ee.attributes["w:tgtFrame"]||null;return new n.Hyperlink(Ee,e.extend({targetFrame:Oe},re))}if(ue){var Q=U.findTargetByRelationshipId(ue);return ve&&(Q=a.replaceFragment(Q,ve)),ke({href:Q})}else return ve?ke({anchor:ve}):Ee})},"w:tbl":M,"w:tr":$,"w:tc":ie,"w:footnoteReference":be("footnote"),"w:endnoteReference":be("endnote"),"w:commentReference":D,"w:br":function(ee){var ue=ee.attributes["w:type"];return ue==null||ue==="textWrapping"?p(n.lineBreak):ue==="page"?p(n.pageBreak):ue==="column"?p(n.columnBreak):d([i("Unsupported break type: "+ue)])},"w:bookmarkStart":function(ee){var ue=ee.attributes["w:name"];return ue==="_GoBack"?h():p(new n.BookmarkStart({name:ue}))},"mc:AlternateContent":function(ee){return V(ee.first("mc:Fallback"))},"w:sdt":function(ee){var ue=ee.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(ue){var ve=ue.first("wordml:checked"),Ee=!!ve&&W(ve.attributes["wordml:val"]);return p(n.checkbox({checked:Ee}))}else return x(ee.firstOrEmpty("w:sdtContent").children)},"w:ins":V,"w:object":V,"w:smartTag":V,"w:drawing":V,"w:pict":function(ee){return V(ee).toExtra()},"v:roundrect":V,"v:shape":V,"v:textbox":V,"w:txbxContent":V,"wp:inline":q,"wp:anchor":q,"v:imagedata":xe,"v:group":V,"v:rect":V};return{readXmlElement:z,readXmlElements:x};function M(ee){var ue=N(ee.firstOrEmpty("w:tblPr"));return x(ee.children).flatMap(Z).flatMap(function(ve){return ue.map(function(Ee){return n.Table(ve,Ee)})})}function N(ee){return J(ee).map(function(ue){return{styleId:ue.styleId,styleName:ue.name}})}function $(ee){var ue=ee.firstOrEmpty("w:trPr"),ve=!!ue.first("w:tblHeader");return x(ee.children).map(function(Ee){return n.TableRow(Ee,{isHeader:ve})})}function ie(ee){return x(ee.children).map(function(ue){var ve=ee.firstOrEmpty("w:tcPr"),Ee=ve.firstOrEmpty("w:gridSpan").attributes["w:val"],ke=Ee?parseInt(Ee,10):1,Q=n.TableCell(ue,{colSpan:ke});return Q._vMerge=ne(ve),Q})}function ne(ee){var ue=ee.first("w:vMerge");if(ue){var ve=ue.attributes["w:val"];return ve==="continue"||!ve}else return null}function Z(ee){var ue=e.any(ee,function(ke){return ke.type!==n.types.tableRow});if(ue)return m(ee,[i("unexpected non-row element in table, cell merging may be incorrect")]);var ve=e.any(ee,function(ke){return e.any(ke.children,function(Q){return Q.type!==n.types.tableCell})});if(ve)return m(ee,[i("unexpected non-cell element in table row, cell merging may be incorrect")]);var Ee={};return ee.forEach(function(ke){var Q=0;ke.children.forEach(function(re){re._vMerge&&Ee[Q]?Ee[Q].rowSpan++:(Ee[Q]=re,re._vMerge=!1),Q+=re.colSpan})}),ee.forEach(function(ke){ke.children=ke.children.filter(function(Q){return!Q._vMerge}),ke.children.forEach(function(Q){delete Q._vMerge})}),p(ee)}function q(ee){var ue=ee.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return y(ue.map(G.bind(null,ee)))}function G(ee,ue){var ve=ee.first("wp:docPr").attributes,Ee=Y(ve.descr)?ve.title:ve.descr,ke=ae(ue);return ke===null?d([i("Could not find image file for a:blip element")]):Se(ke,Ee)}function Y(ee){return ee==null||/^\s*$/.test(ee)}function ae(ee){var ue=ee.attributes["r:embed"],ve=ee.attributes["r:link"];if(ue)return Te(ue);if(ve){var Ee=U.findTargetByRelationshipId(ve);return{path:Ee,read:L.read.bind(L,Ee)}}else return null}function xe(ee){var ue=ee.attributes["r:id"];return ue?Se(Te(ue),ee.attributes["o:title"]):d([i("A v:imagedata element without a relationship ID was ignored")])}function Te(ee){var ue=a.uriToZipEntryName("word",U.findTargetByRelationshipId(ee));return{path:ue,read:R.read.bind(R,ue)}}function Se(ee,ue){var ve=C.findContentType(ee.path),Ee=n.Image({readImage:ee.read,altText:ue,contentType:ve}),ke=u[ve]?[]:i("Image of type "+ve+" is unlikely to display in web browsers");return m(Ee,ke)}function Ce(ee,ue){return i(ee+" style with ID "+ue+" was referenced but not defined in the document")}}function l(T,w,E){var S=w.firstOrEmpty("w:ilvl").attributes["w:val"],U=w.firstOrEmpty("w:numId").attributes["w:val"];if(S!==void 0&&U!==void 0)return E.findLevel(U,S);if(T!=null){var C=E.findLevelByParagraphStyleId(T);if(C!=null)return C}return null}var u={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},f={"office-word:wrap":!0,"v:shadow":!0,"v:shapetype":!0,"w:annotationRef":!0,"w:bookmarkEnd":!0,"w:sectPr":!0,"w:proofErr":!0,"w:lastRenderedPageBreak":!0,"w:commentRangeStart":!0,"w:commentRangeEnd":!0,"w:del":!0,"w:footnoteRef":!0,"w:endnoteRef":!0,"w:pPr":!0,"w:rPr":!0,"w:tblPr":!0,"w:tblGrid":!0,"w:trPr":!0,"w:tcPr":!0};function d(T){return new g(null,null,T)}function h(){return new g(null)}function p(T){return new g(T)}function m(T,w){return new g(T,null,w)}function g(T,w,E){this.value=T||[],this.extra=w||[],this._result=new r({element:this.value,extra:w},E),this.messages=this._result.messages}g.prototype.toExtra=function(){return new g(null,b(this.extra,this.value),this.messages)},g.prototype.insertExtra=function(){var T=this.extra;return T&&T.length?new g(b(this.value,T),null,this.messages):this},g.prototype.map=function(T){var w=this._result.map(function(E){return T(E.element)});return new g(w.value,this.extra,w.messages)},g.prototype.flatMap=function(T){var w=this._result.flatMap(function(E){return T(E.element)._result});return new g(w.value.element,b(this.extra,w.value.extra),w.messages)},g.map=function(T,w,E){return new g(E(T.value,w.value),b(T.extra,w.extra),T.messages.concat(w.messages))};function y(T){var w=r.combine(e.pluck(T,"_result"));return new g(e.flatten(e.pluck(w.value,"element")),e.filter(e.flatten(e.pluck(w.value,"extra")),v),w.messages)}function b(T,w){return e.flatten([T,w])}function v(T){return T}return la}var Tf={},c2;function b6(){if(c2)return Tf;c2=1,Tf.DocumentXmlReader=n;var t=Yr(),e=Wn().Result;function n(r){var i=r.bodyReader;function o(a){var s=a.first("w:body");if(s==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var c=i.readXmlElements(s.children).map(function(l){return new t.Document(l,{notes:r.notes,comments:r.comments})});return new e(c.value,c.messages)}return{convertXmlToDocument:o}}return Tf}var Xi={},l2;function v6(){if(l2)return Xi;l2=1,Xi.readRelationships=t,Xi.defaultValue=new e([]),Xi.Relationships=e;function t(n){var r=[];return n.children.forEach(function(i){if(i.name==="relationships:Relationship"){var o={relationshipId:i.attributes.Id,target:i.attributes.Target,type:i.attributes.Type};r.push(o)}}),new e(r)}function e(n){var r={};n.forEach(function(o){r[o.relationshipId]=o.target});var i={};return n.forEach(function(o){i[o.type]||(i[o.type]=[]),i[o.type].push(o.target)}),{findTargetByRelationshipId:function(o){return r[o]},findTargetsByType:function(o){return i[o]||[]}}}return Xi}var da={},u2;function x6(){if(u2)return da;u2=1,da.readContentTypesFromXml=e;var t={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};da.defaultContentTypes=n({},{});function e(r){var i={},o={};return r.children.forEach(function(a){if(a.name==="content-types:Default"&&(i[a.attributes.Extension]=a.attributes.ContentType),a.name==="content-types:Override"){var s=a.attributes.PartName;s.charAt(0)==="/"&&(s=s.substring(1)),o[s]=a.attributes.ContentType}}),n(o,i)}function n(r,i){return{findContentType:function(o){var a=r[o];if(a)return a;var s=o.split("."),c=s[s.length-1];if(i.hasOwnProperty(c))return i[c];var l=t[c.toLowerCase()];return l?"image/"+l:null}}}return da}var Gi={},f2;function D6(){if(f2)return Gi;f2=1;var t=et;Gi.readNumberingXml=n,Gi.Numbering=e,Gi.defaultNumbering=new e({},{});function e(a,s,c){var l=t.flatten(t.values(s).map(function(h){return t.values(h.levels)})),u=t.indexBy(l.filter(function(h){return h.paragraphStyleId!=null}),"paragraphStyleId");function f(h,p){var m=a[h];if(m){var g=s[m.abstractNumId];if(g){if(g.numStyleLink==null)return s[m.abstractNumId].levels[p];var y=c.findNumberingStyleById(g.numStyleLink);return f(y.numId,p)}else return null}else return null}function d(h){return u[h]||null}return{findLevel:f,findLevelByParagraphStyleId:d}}function n(a,s){if(!s||!s.styles)throw new Error("styles is missing");var c=r(a),l=o(a);return new e(l,c,s.styles)}function r(a){var s={};return a.getElementsByTagName("w:abstractNum").forEach(function(c){var l=c.attributes["w:abstractNumId"];s[l]=i(c)}),s}function i(a){var s={};a.getElementsByTagName("w:lvl").forEach(function(l){var u=l.attributes["w:ilvl"],f=l.firstOrEmpty("w:numFmt").attributes["w:val"],d=l.firstOrEmpty("w:pStyle").attributes["w:val"];s[u]={isOrdered:f!=="bullet",level:u,paragraphStyleId:d}});var c=a.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:s,numStyleLink:c}}function o(a){var s={};return a.getElementsByTagName("w:num").forEach(function(c){var l=c.attributes["w:numId"],u=c.first("w:abstractNumId").attributes["w:val"];s[l]={abstractNumId:u}}),s}return Gi}var Ki={},d2;function w6(){if(d2)return Ki;d2=1,Ki.readStylesXml=e,Ki.Styles=t,Ki.defaultStyles=new t({},{});function t(o,a,s,c){return{findParagraphStyleById:function(l){return o[l]},findCharacterStyleById:function(l){return a[l]},findTableStyleById:function(l){return s[l]},findNumberingStyleById:function(l){return c[l]}}}t.EMPTY=new t({},{},{},{});function e(o){var a={},s={},c={},l={},u={paragraph:a,character:s,table:c};return o.getElementsByTagName("w:style").forEach(function(f){var d=n(f);if(d.type==="numbering")l[d.styleId]=i(f);else{var h=u[d.type];h&&(h[d.styleId]=d)}}),new t(a,s,c,l)}function n(o){var a=o.attributes["w:type"],s=o.attributes["w:styleId"],c=r(o);return{type:a,styleId:s,name:c}}function r(o){var a=o.first("w:name");return a?a.attributes["w:val"]:null}function i(o){var a=o.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:a}}return Ki}var ai={},h2;function _6(){if(h2)return ai;h2=1;var t=Yr(),e=Wn().Result;ai.createFootnotesReader=n.bind(ai,"footnote"),ai.createEndnotesReader=n.bind(ai,"endnote");function n(r,i){function o(c){return e.combine(c.getElementsByTagName("w:"+r).filter(a).map(s))}function a(c){var l=c.attributes["w:type"];return l!=="continuationSeparator"&&l!=="separator"}function s(c){var l=c.attributes["w:id"];return i.readXmlElements(c.children).map(function(u){return t.Note({noteType:r,noteId:l,body:u})})}return o}return ai}var Ef={},p2;function T6(){if(p2)return Ef;p2=1;var t=Yr(),e=Wn().Result;function n(r){function i(a){return e.combine(a.getElementsByTagName("w:comment").map(o))}function o(a){var s=a.attributes["w:id"];function c(l){return(a.attributes[l]||"").trim()||null}return r.readXmlElements(a.children).map(function(l){return t.comment({commentId:s,body:l,authorName:c("w:author"),authorInitials:c("w:initials")})})}return i}return Ef.createCommentsReader=n,Ef}var Cf={},g2;function E6(){if(g2)return Cf;g2=1;var t=vr();Cf.Files=e;function e(){function n(r){return t.reject(new Error("could not open external image: '"+r+`'
225
- cannot open linked files from a web browser`))}return{read:n}}return Cf}var m2;function C6(){if(m2)return na;m2=1,na.read=p,na._findPartPaths=m;var t=vr(),e=Yr(),n=Wn().Result,r=Mw(),i=h6().readXmlFromZipFile,o=y6().createBodyReader,a=b6().DocumentXmlReader,s=v6(),c=x6(),l=D6(),u=w6(),f=_6(),d=T6(),h=E6().Files;function p(C,R){return R=R||{},t.props({contentTypes:w(C),partPaths:m(C),docxFile:C,files:R.path?h.relativeToFile(R.path):new h(null)}).also(function(L){return{styles:S(C,L.partPaths.styles)}}).also(function(L){return{numbering:E(C,L.partPaths.numbering,L.styles)}}).also(function(L){return{footnotes:v(L.partPaths.footnotes,L,function(_,k){return k?f.createFootnotesReader(_)(k):new n([])}),endnotes:v(L.partPaths.endnotes,L,function(_,k){return k?f.createEndnotesReader(_)(k):new n([])}),comments:v(L.partPaths.comments,L,function(_,k){return k?d.createCommentsReader(_)(k):new n([])})}}).also(function(L){return{notes:L.footnotes.flatMap(function(_){return L.endnotes.map(function(k){return new e.Notes(_.concat(k))})})}}).then(function(L){return v(L.partPaths.mainDocument,L,function(_,k){return L.notes.flatMap(function(x){return L.comments.flatMap(function(z){var F=new a({bodyReader:_,notes:x,comments:z});return F.convertXmlToDocument(k)})})})})}function m(C){return U(C).then(function(R){var L=g({docxFile:C,relationships:R,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!C.exists(L))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return b({filename:T(L),readElement:s.readRelationships,defaultValue:s.defaultValue})(C).then(function(_){function k(x){return g({docxFile:C,relationships:_,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+x,basePath:r.splitPath(L).dirname,fallbackPath:"word/"+x+".xml"})}return{mainDocument:L,comments:k("comments"),endnotes:k("endnotes"),footnotes:k("footnotes"),numbering:k("numbering"),styles:k("styles")}})})}function g(C){var R=C.docxFile,L=C.relationships,_=C.relationshipType,k=C.basePath,x=C.fallbackPath,z=L.findTargetsByType(_),F=z.map(function(K){return y(r.joinPath(k,K),"/")}),I=F.filter(function(K){return R.exists(K)});return I.length===0?x:I[0]}function y(C,R){return C.substring(0,R.length)===R?C.substring(R.length):C}function b(C){return function(R){return i(R,C.filename).then(function(L){return L?C.readElement(L):C.defaultValue})}}function v(C,R,L){var _=b({filename:T(C),readElement:s.readRelationships,defaultValue:s.defaultValue});return _(R.docxFile).then(function(k){var x=new o({relationships:k,contentTypes:R.contentTypes,docxFile:R.docxFile,numbering:R.numbering,styles:R.styles,files:R.files});return i(R.docxFile,C).then(function(z){return L(x,z)})})}function T(C){var R=r.splitPath(C);return r.joinPath(R.dirname,"_rels",R.basename+".rels")}var w=b({filename:"[Content_Types].xml",readElement:c.readContentTypesFromXml,defaultValue:c.defaultContentTypes});function E(C,R,L){return b({filename:R,readElement:function(_){return l.readNumberingXml(_,{styles:L})},defaultValue:l.defaultNumbering})(C)}function S(C,R){return b({filename:R,readElement:u.readStylesXml,defaultValue:u.defaultStyles})(C)}var U=b({filename:"_rels/.rels",readElement:s.readRelationships,defaultValue:s.defaultValue});return na}var ha={},y2;function S6(){if(y2)return ha;y2=1;var t=et,e=vr(),n=zp();ha.writeStyleMap=a,ha.readStyleMap=u;var r="http://schemas.zwobble.org/mammoth/style-map",i="mammoth/style-map",o="/"+i;function a(f,d){return f.write(i,d),s(f).then(function(){return c(f)})}function s(f){var d="word/_rels/document.xml.rels",h="http://schemas.openxmlformats.org/package/2006/relationships",p="{"+h+"}Relationship";return f.read(d,"utf8").then(n.readString).then(function(m){var g=m.children;l(g,p,"Id",{Id:"rMammothStyleMap",Type:r,Target:o});var y={"":h};return f.write(d,n.writeString(m,y))})}function c(f){var d="[Content_Types].xml",h="http://schemas.openxmlformats.org/package/2006/content-types",p="{"+h+"}Override";return f.read(d,"utf8").then(n.readString).then(function(m){var g=m.children;l(g,p,"PartName",{PartName:o,ContentType:"text/prs.mammoth.style-map"});var y={"":h};return f.write(d,n.writeString(m,y))})}function l(f,d,h,p){var m=t.find(f,function(g){return g.name===d&&g.attributes[h]===p[h]});m?m.attributes=p:f.push(n.element(d,p))}function u(f){return f.exists(i)?f.read(i,"utf8"):e.resolve(null)}return ha}var pa={},_r={},An={},Xn={},b2;function zw(){if(b2)return Xn;b2=1;var t=Cc();function e(c,l,u){return r(t.element(c,l,{fresh:!1}),u)}function n(c,l,u){var f=t.element(c,l,{fresh:!0});return r(f,u)}function r(c,l){return{type:"element",tag:c,children:l||[]}}function i(c){return{type:"text",value:c}}var o={type:"forceWrite"};Xn.freshElement=n,Xn.nonFreshElement=e,Xn.elementWithTag=r,Xn.text=i,Xn.forceWrite=o;var a={br:!0,hr:!0,img:!0,input:!0};function s(c){return c.children.length===0&&a[c.tag.tagName]}return Xn.isVoidElement=s,Xn}var Sf,v2;function A6(){if(v2)return Sf;v2=1;var t=et,e=zw();function n(m){return r(l(m))}function r(m){var g=[];return m.map(i).forEach(function(y){c(g,y)}),g}function i(m){return o[m.type](m)}var o={element:a,text:s,forceWrite:s};function a(m){return e.elementWithTag(m.tag,r(m.children))}function s(m){return m}function c(m,g){var y=m[m.length-1];g.type==="element"&&!g.tag.fresh&&y&&y.type==="element"&&g.tag.matchesElement(y.tag)?(g.tag.separator&&c(y.children,e.text(g.tag.separator)),g.children.forEach(function(b){c(y.children,b)})):m.push(g)}function l(m){return u(m,function(g){return f[g.type](g)})}function u(m,g){return t.flatten(t.map(m,g),!0)}var f={element:h,text:p,forceWrite:d};function d(m){return[m]}function h(m){var g=l(m.children);return g.length===0&&!e.isVoidElement(m)?[]:[e.elementWithTag(m.tag,g)]}function p(m){return m.value.length===0?[]:[m]}return Sf=n,Sf}var x2;function Ec(){if(x2)return An;x2=1;var t=zw();An.freshElement=t.freshElement,An.nonFreshElement=t.nonFreshElement,An.elementWithTag=t.elementWithTag,An.text=t.text,An.forceWrite=t.forceWrite,An.simplify=A6();function e(a,s){s.forEach(function(c){n(a,c)})}function n(a,s){r[s.type](a,s)}var r={element:i,text:o,forceWrite:function(){}};function i(a,s){t.isVoidElement(s)?a.selfClosing(s.tag.tagName,s.tag.attributes):(a.open(s.tag.tagName,s.tag.attributes),e(a,s.children),a.close(s.tag.tagName))}function o(a,s){a.text(s.value)}return An.write=e,An}var D2;function Cc(){if(D2)return _r;D2=1;var t=et,e=Ec();_r.topLevelElement=n,_r.elements=r,_r.element=o;function n(s,c){return r([o(s,c,{fresh:!0})])}function r(s){return new i(s.map(function(c){return t.isString(c)?o(c):c}))}function i(s){this._elements=s}i.prototype.wrap=function(c){for(var l=c(),u=this._elements.length-1;u>=0;u--)l=this._elements[u].wrapNodes(l);return l};function o(s,c,l){return l=l||{},new a(s,c,l)}function a(s,c,l){var u={};t.isArray(s)?(s.forEach(function(f){u[f]=!0}),s=s[0]):u[s]=!0,this.tagName=s,this.tagNames=u,this.attributes=c||{},this.fresh=l.fresh,this.separator=l.separator}return a.prototype.matchesElement=function(s){return this.tagNames[s.tagName]&&t.isEqual(this.attributes||{},s.attributes||{})},a.prototype.wrap=function(c){return this.wrapNodes(c())},a.prototype.wrapNodes=function(c){return[e.elementWithTag(this,c)]},_r.empty=r([]),_r.ignore={wrap:function(){return[]}},_r}var Af={},w2;function jw(){return w2||(w2=1,function(t){var e=et,n=vr(),r=Ec();t.imgElement=i;function i(o){return function(a,s){return n.when(o(a)).then(function(c){var l={};return a.altText&&(l.alt=a.altText),e.extend(l,c),[r.freshElement("img",l)]})}}t.inline=t.imgElement,t.dataUri=i(function(o){return o.readAsBase64String().then(function(a){return{src:"data:"+o.contentType+";base64,"+a}})})}(Af)),Af}var Uf={},kf={},_2;function U6(){if(_2)return kf;_2=1;var t=et;kf.writer=e;function e(s){return s=s||{},s.prettyPrint?r():i()}var n={div:!0,p:!0,ul:!0,li:!0};function r(){var s=0,c=" ",l=[],u=!0,f=!1,d=i();function h(w,E){n[w]&&v(),l.push(w),d.open(w,E),n[w]&&s++,u=!1}function p(w){n[w]&&(s--,v()),l.pop(),d.close(w)}function m(w){b();var E=T()?w:w.replace(`
226
- `,`
227
- `+c);d.text(E)}function g(w,E){v(),d.selfClosing(w,E)}function y(){return l.length===0||n[l[l.length-1]]}function b(){f||(v(),f=!0)}function v(){if(f=!1,!u&&y()&&!T()){d._append(`
228
- `);for(var w=0;w<s;w++)d._append(c)}}function T(){return t.some(l,function(w){return w==="pre"})}return{asString:d.asString,open:h,close:p,text:m,selfClosing:g}}function i(){var s=[];function c(m,g){var y=f(g);s.push("<"+m+y+">")}function l(m){s.push("</"+m+">")}function u(m,g){var y=f(g);s.push("<"+m+y+" />")}function f(m){return t.map(m,function(g,y){return" "+y+'="'+a(g)+'"'}).join("")}function d(m){s.push(o(m))}function h(m){s.push(m)}function p(){return s.join("")}return{asString:p,open:c,close:l,text:d,selfClosing:u,_append:h}}function o(s){return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function a(s){return s.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}return kf}var Ff={},T2;function k6(){if(T2)return Ff;T2=1;var t=et;function e(f){return n(f,f)}function n(f,d){return function(){return{start:f,end:d}}}function r(f){var d=f.href||"";return d?{start:"[",end:"]("+d+")",anchorPosition:"before"}:{}}function i(f){var d=f.src||"",h=f.alt||"";return d||h?{start:"!["+h+"]("+d+")"}:{}}function o(f){return function(d,h){return{start:h?`
229
- `:"",end:h?"":`
230
- `,list:{isOrdered:f.isOrdered,indent:h?h.indent+1:0,count:0}}}}function a(f,d,h){d=d||{indent:0,isOrdered:!1,count:0},d.count++,h.hasClosed=!1;var p=d.isOrdered?d.count+".":"-",m=c(" ",d.indent)+p+" ";return{start:m,end:function(){if(!h.hasClosed)return h.hasClosed=!0,`
231
- `}}}var s={p:n("",`
232
-
233
- `),br:n("",`
234
- `),ul:o({isOrdered:!1}),ol:o({isOrdered:!0}),li:a,strong:e("__"),em:e("*"),a:r,img:i};(function(){for(var f=1;f<=6;f++)s["h"+f]=n(c("#",f)+" ",`
235
-
236
- `)})();function c(f,d){return new Array(d+1).join(f)}function l(){var f=[],d=[],h=null,p={};function m(w,E){E=E||{};var S=s[w]||function(){return{}},U=S(E,h,p);d.push({end:U.end,list:h}),U.list&&(h=U.list);var C=U.anchorPosition==="before";C&&g(E),f.push(U.start||""),C||g(E)}function g(w){w.id&&f.push('<a id="'+w.id+'"></a>')}function y(w){var E=d.pop();h=E.list;var S=t.isFunction(E.end)?E.end():E.end;f.push(S||"")}function b(w,E){m(w,E),y()}function v(w){f.push(u(w))}function T(){return f.join("")}return{asString:T,open:m,close:y,text:v,selfClosing:b}}Ff.writer=l;function u(f){return f.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}return Ff}var E2;function F6(){if(E2)return Uf;E2=1;var t=U6(),e=k6();Uf.writer=n;function n(r){return r=r||{},r.outputFormat==="markdown"?e.writer():t.writer(r)}return Uf}var C2;function O6(){if(C2)return pa;C2=1;var t=et,e=vr(),n=Yr(),r=Cc(),i=Wn(),o=jw(),a=Ec(),s=F6();pa.DocumentConverter=c;function c(g){return{convertToHtml:function(y){var b=t.indexBy(y.type===n.types.document?y.comments:[],"commentId"),v=new l(g,b);return v.convertToHtml(y)}}}function l(g,y){var b=1,v=[],T=[];g=t.extend({ignoreEmptyParagraphs:!0},g);var w=g.idPrefix===void 0?"":g.idPrefix,E=g.ignoreEmptyParagraphs,S=r.topLevelElement("p"),U=g.styleMap||[];function C(D){var V=[],j=L(D,V,{}),M=[];p(j,function($){$.type==="deferred"&&M.push($)});var N={};return e.mapSeries(M,function($){return $.value().then(function(ie){N[$.id]=ie})}).then(function(){function $(ne){return h(ne,function(Z){return Z.type==="deferred"?N[Z.id]:Z.children?[t.extend({},Z,{children:$(Z.children)})]:[Z]})}var ie=s.writer({prettyPrint:g.prettyPrint,outputFormat:g.outputFormat});return a.write(ie,a.simplify($(j))),new i.Result(ie.asString(),V)})}function R(D,V,j){return h(D,function(M){return L(M,V,j)})}function L(D,V,j){if(!j)throw new Error("options not set");var M=be[D.type];return M?M(D,V,j):[]}function _(D,V,j){return k(D,V).wrap(function(){var M=R(D.children,V,j);return E?M:[a.forceWrite].concat(M)})}function k(D,V){var j=I(D);return j?j.to:(D.styleId&&V.push(d("paragraph",D)),S)}function x(D,V,j){var M=function(){return R(D.children,V,j)},N=[];if(D.highlight!==null){var $=F({type:"highlight",color:D.highlight});$&&N.push($)}D.isSmallCaps&&N.push(z("smallCaps")),D.isAllCaps&&N.push(z("allCaps")),D.isStrikethrough&&N.push(z("strikethrough","s")),D.isUnderline&&N.push(z("underline")),D.verticalAlignment===n.verticalAlignment.subscript&&N.push(r.element("sub",{},{fresh:!1})),D.verticalAlignment===n.verticalAlignment.superscript&&N.push(r.element("sup",{},{fresh:!1})),D.isItalic&&N.push(z("italic","em")),D.isBold&&N.push(z("bold","strong"));var ie=r.empty,ne=I(D);return ne?ie=ne.to:D.styleId&&V.push(d("run",D)),N.push(ie),N.forEach(function(Z){M=Z.wrap.bind(Z,M)}),M()}function z(D,V){var j=F({type:D});return j||(V?r.element(V,{},{fresh:!1}):r.empty)}function F(D,V){var j=I(D);return j?j.to:V}function I(D){for(var V=0;V<U.length;V++)if(U[V].from.matches(D))return U[V]}function K(D){return function(V,j){return e.attempt(function(){return D(V,j)}).caught(function(M){return j.push(i.error(M)),[]})}}function P(D){return W(D.noteType,D.noteId)}function te(D){return B(D.noteType,D.noteId)}function W(D,V){return oe(D+"-"+V)}function B(D,V){return oe(D+"-ref-"+V)}function oe(D){return w+D}var X=r.elements([r.element("table",{},{fresh:!0})]);function J(D,V,j){return F(D,X).wrap(function(){return le(D,V,j)})}function le(D,V,j){var M=t.findIndex(D.children,function(ne){return!ne.type===n.types.tableRow||!ne.isHeader});M===-1&&(M=D.children.length);var N;if(M===0)N=R(D.children,V,t.extend({},j,{isTableHeader:!1}));else{var $=R(D.children.slice(0,M),V,t.extend({},j,{isTableHeader:!0})),ie=R(D.children.slice(M),V,t.extend({},j,{isTableHeader:!1}));N=[a.freshElement("thead",{},$),a.freshElement("tbody",{},ie)]}return[a.forceWrite].concat(N)}function he(D,V,j){var M=R(D.children,V,j);return[a.freshElement("tr",{},[a.forceWrite].concat(M))]}function fe(D,V,j){var M=j.isTableHeader?"th":"td",N=R(D.children,V,j),$={};return D.colSpan!==1&&($.colspan=D.colSpan.toString()),D.rowSpan!==1&&($.rowspan=D.rowSpan.toString()),[a.freshElement(M,$,[a.forceWrite].concat(N))]}function me(D,V,j){return F(D,r.ignore).wrap(function(){var M=y[D.commentId],N=T.length+1,$="["+m(M)+N+"]";return T.push({label:$,comment:M}),[a.freshElement("a",{href:"#"+W("comment",D.commentId),id:B("comment",D.commentId)},[a.text($)])]})}function de(D,V,j){var M=D.label,N=D.comment,$=R(N.body,V,j).concat([a.nonFreshElement("p",{},[a.text(" "),a.freshElement("a",{href:"#"+B("comment",N.commentId)},[a.text("↑")])])]);return[a.freshElement("dt",{id:W("comment",N.commentId)},[a.text("Comment "+M)]),a.freshElement("dd",{},$)]}function ge(D,V,j){return ye(D).wrap(function(){return[]})}function ye(D){var V=I(D);return V?V.to:D.breakType==="line"?r.topLevelElement("br"):r.empty}var be={document:function(D,V,j){var M=R(D.children,V,j),N=v.map(function(ie){return D.notes.resolve(ie)}),$=R(N,V,j);return M.concat([a.freshElement("ol",{},$),a.freshElement("dl",{},h(T,function(ie){return de(ie,V,j)}))])},paragraph:_,run:x,text:function(D,V,j){return[a.text(D.value)]},tab:function(D,V,j){return[a.text(" ")]},hyperlink:function(D,V,j){var M=D.anchor?"#"+oe(D.anchor):D.href,N={href:M};D.targetFrame!=null&&(N.target=D.targetFrame);var $=R(D.children,V,j);return[a.nonFreshElement("a",N,$)]},checkbox:function(D){var V={type:"checkbox"};return D.checked&&(V.checked="checked"),[a.freshElement("input",V)]},bookmarkStart:function(D,V,j){var M=a.freshElement("a",{id:oe(D.name)},[a.forceWrite]);return[M]},noteReference:function(D,V,j){v.push(D);var M=a.freshElement("a",{href:"#"+P(D),id:te(D)},[a.text("["+b+++"]")]);return[a.freshElement("sup",{},[M])]},note:function(D,V,j){var M=R(D.body,V,j),N=a.elementWithTag(r.element("p",{},{fresh:!1}),[a.text(" "),a.freshElement("a",{href:"#"+te(D)},[a.text("↑")])]),$=M.concat([N]);return a.freshElement("li",{id:P(D)},$)},commentReference:me,comment:de,image:f(K(g.convertImage||o.dataUri)),table:J,tableRow:he,tableCell:fe,break:ge};return{convertToHtml:C}}var u=1;function f(g){return function(y,b,v){return[{type:"deferred",id:u++,value:function(){return g(y,b,v)}}]}}function d(g,y){return i.warning("Unrecognised "+g+" style: '"+y.styleName+"' (Style ID: "+y.styleId+")")}function h(g,y){return t.flatten(g.map(y),!0)}function p(g,y){g.forEach(function(b){y(b),b.children&&p(b.children,y)})}var m=pa.commentAuthorLabel=function(y){return y.authorInitials||""};return pa}var Of={},S2;function R6(){if(S2)return Of;S2=1;var t=Yr();function e(n){if(n.type==="text")return n.value;if(n.type===t.types.tab)return" ";var r=n.type==="paragraph"?`
237
-
238
- `:"";return(n.children||[]).map(e).join("")+r}return Of.convertElementToRawText=e,Of}var Ji={},tn={},Rf={},Nf={exports:{}},A2;function N6(){if(A2)return Nf.exports;A2=1;var t=Nf.exports=function(e,n){this._tokens=e,this._startIndex=n||0};return t.prototype.head=function(){return this._tokens[this._startIndex]},t.prototype.tail=function(e){return new t(this._tokens,this._startIndex+1)},t.prototype.toArray=function(){return this._tokens.slice(this._startIndex)},t.prototype.end=function(){return this._tokens[this._tokens.length-1]},t.prototype.to=function(e){var n=this.head().source,r=e.head()||e.end();return n.to(r.source)},Nf.exports}var U2;function B6(){if(U2)return Rf;U2=1;var t=N6();return Rf.Parser=function(e){var n=function(r,i){return r(new t(i))};return{parseTokens:n}},Rf}var Bf={},If={},k2;function I6(){return k2||(k2=1,function(t){t.none=Object.create({value:function(){throw new Error("Called value on none")},isNone:function(){return!0},isSome:function(){return!1},map:function(){return t.none},flatMap:function(){return t.none},filter:function(){return t.none},toArray:function(){return[]},orElse:e,valueOrElse:e});function e(r){return typeof r=="function"?r():r}t.some=function(r){return new n(r)};var n=function(r){this._value=r};n.prototype.value=function(){return this._value},n.prototype.isNone=function(){return!1},n.prototype.isSome=function(){return!0},n.prototype.map=function(r){return new n(r(this._value))},n.prototype.flatMap=function(r){return r(this._value)},n.prototype.filter=function(r){return r(this._value)?this:t.none},n.prototype.toArray=function(){return[this._value]},n.prototype.orElse=function(r){return this},n.prototype.valueOrElse=function(r){return this._value},t.isOption=function(r){return r===t.none||r instanceof n},t.fromNullable=function(r){return r==null?t.none:new n(r)}}(If)),If}var Mf,F2;function jp(){if(F2)return Mf;F2=1,Mf={failure:function(e,n){if(e.length<1)throw new Error("Failure must have errors");return new t({status:"failure",remaining:n,errors:e})},error:function(e,n){if(e.length<1)throw new Error("Failure must have errors");return new t({status:"error",remaining:n,errors:e})},success:function(e,n,r){return new t({status:"success",value:e,source:r,remaining:n,errors:[]})},cut:function(e){return new t({status:"cut",remaining:e,errors:[]})}};var t=function(e){this._value=e.value,this._status=e.status,this._hasValue=e.value!==void 0,this._remaining=e.remaining,this._source=e.source,this._errors=e.errors};return t.prototype.map=function(e){return this._hasValue?new t({value:e(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this},t.prototype.changeRemaining=function(e){return new t({value:this._value,status:this._status,remaining:e,source:this._source,errors:this._errors})},t.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"},t.prototype.isFailure=function(){return this._status==="failure"},t.prototype.isError=function(){return this._status==="error"},t.prototype.isCut=function(){return this._status==="cut"},t.prototype.value=function(){return this._value},t.prototype.remaining=function(){return this._remaining},t.prototype.source=function(){return this._source},t.prototype.errors=function(){return this._errors},Mf}var Wf={},O2;function $w(){if(O2)return Wf;O2=1,Wf.error=function(e){return new t(e)};var t=function(e){this.expected=e.expected,this.actual=e.actual,this._location=e.location};return t.prototype.describe=function(){var e=this._location?this._location.describe()+`:
239
- `:"";return e+"Expected "+this.expected+`
240
- but got `+this.actual},t.prototype.lineNumber=function(){return this._location.lineNumber()},t.prototype.characterNumber=function(){return this._location.characterNumber()},Wf}var Lf={},R2;function M6(){if(R2)return Lf;R2=1,Lf.fromArray=function(e){var n=0,r=function(){return n<e.length};return new t({hasNext:r,next:function(){if(r())return e[n++];throw new Error("No more elements")}})};var t=function(e){this._iterator=e};return t.prototype.map=function(e){var n=this._iterator;return new t({hasNext:function(){return n.hasNext()},next:function(){return e(n.next())}})},t.prototype.filter=function(e){var n=this._iterator,r=!1,i=!1,o,a=function(){if(!r)for(r=!0,i=!1;n.hasNext()&&!i;)o=n.next(),i=e(o)};return new t({hasNext:function(){return a(),i},next:function(){a();var s=o;return r=!1,s}})},t.prototype.first=function(){var e=this._iterator;return this._iterator.hasNext()?e.next():null},t.prototype.toArray=function(){for(var e=[];this._iterator.hasNext();)e.push(this._iterator.next());return e},Lf}var N2;function Vw(){return N2||(N2=1,function(t){var e=et,n=I6(),r=jp(),i=$w(),o=M6();t.token=function(d,h){var p=h!==void 0;return function(m){var g=m.head();if(g&&g.name===d&&(!p||g.value===h))return r.success(g.value,m.tail(),g.source);var y=u({name:d,value:h});return f(m,y)}},t.tokenOfType=function(d){return t.token(d)},t.firstOf=function(d,h){return e.isArray(h)||(h=Array.prototype.slice.call(arguments,1)),function(p){return o.fromArray(h).map(function(m){return m(p)}).filter(function(m){return m.isSuccess()||m.isError()}).first()||f(p,d)}},t.then=function(d,h){return function(p){var m=d(p);return m.map||console.log(m),m.map(h)}},t.sequence=function(){var d=Array.prototype.slice.call(arguments,0),h=function(m){var g=e.foldl(d,function(b,v){var T=b.result,w=b.hasCut;if(!T.isSuccess())return{result:T,hasCut:w};var E=v(T.remaining());if(E.isCut())return{result:T,hasCut:!0};if(E.isSuccess()){var S;v.isCaptured?S=T.value().withValue(v,E.value()):S=T.value();var U=E.remaining(),C=m.to(U);return{result:r.success(S,U,C),hasCut:w}}else return w?{result:r.error(E.errors(),E.remaining()),hasCut:w}:{result:E,hasCut:w}},{result:r.success(new a,m),hasCut:!1}).result,y=m.to(g.remaining());return g.map(function(b){return b.withValue(t.sequence.source,y)})};h.head=function(){var m=e.find(d,p);return t.then(h,t.sequence.extract(m))},h.map=function(m){return t.then(h,function(g){return m.apply(this,g.toArray())})};function p(m){return m.isCaptured}return h};var a=function(d,h){this._values=d||{},this._valuesArray=h||[]};a.prototype.withValue=function(d,h){if(d.captureName&&d.captureName in this._values)throw new Error('Cannot add second value for capture "'+d.captureName+'"');var p=e.clone(this._values);p[d.captureName]=h;var m=this._valuesArray.concat([h]);return new a(p,m)},a.prototype.get=function(d){if(d.captureName in this._values)return this._values[d.captureName];throw new Error('No value for capture "'+d.captureName+'"')},a.prototype.toArray=function(){return this._valuesArray},t.sequence.capture=function(d,h){var p=function(){return d.apply(this,arguments)};return p.captureName=h,p.isCaptured=!0,p},t.sequence.extract=function(d){return function(h){return h.get(d)}},t.sequence.applyValues=function(d){var h=Array.prototype.slice.call(arguments,1);return function(p){var m=h.map(function(g){return p.get(g)});return d.apply(this,m)}},t.sequence.source={captureName:"☃source☃"},t.sequence.cut=function(){return function(d){return r.cut(d)}},t.optional=function(d){return function(h){var p=d(h);return p.isSuccess()?p.map(n.some):p.isFailure()?r.success(n.none,h):p}},t.zeroOrMoreWithSeparator=function(d,h){return l(d,h,!1)},t.oneOrMoreWithSeparator=function(d,h){return l(d,h,!0)};var s=t.zeroOrMore=function(d){return function(h){for(var p=[],m;(m=d(h))&&m.isSuccess();)h=m.remaining(),p.push(m.value());return m.isError()?m:r.success(p,h)}};t.oneOrMore=function(d){return t.oneOrMoreWithSeparator(d,c)};function c(d){return r.success(null,d)}var l=function(d,h,p){return function(m){var g=d(m);if(g.isSuccess()){var y=t.sequence.capture(d,"main"),b=s(t.then(t.sequence(h,y),t.sequence.extract(y))),v=b(g.remaining());return r.success([g.value()].concat(v.value()),v.remaining())}else return p||g.isError()?g:r.success([],m)}};t.leftAssociative=function(d,h,p){var m;p?m=[{func:p,rule:h}]:m=h,m=m.map(function(y){return t.then(y.rule,function(b){return function(v,T){return y.func(v,b,T)}})});var g=t.firstOf.apply(null,["rules"].concat(m));return function(y){var b=y,v=d(y);if(!v.isSuccess())return v;for(var T=g(v.remaining());T.isSuccess();){var w=T.remaining(),E=b.to(T.remaining()),S=T.value();v=r.success(S(v.value(),E),w,E),T=g(v.remaining())}return T.isError()?T:v}},t.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},t.nonConsuming=function(d){return function(h){return d(h).changeRemaining(h)}};var u=function(d){return d.value?d.name+' "'+d.value+'"':d.name};function f(d,h){var p,m=d.head();return m?p=i.error({expected:h,actual:u(m),location:m.source}):p=i.error({expected:h,actual:"end of tokens"}),r.failure([p],d)}}(Bf)),Bf}var Pf={exports:{}},B2;function Hw(){if(B2)return Pf.exports;B2=1,Pf.exports=function(e,n){var r={asString:function(){return e},range:function(i,o){return new t(e,n,i,o)}};return r};var t=function(e,n,r,i){this._string=e,this._description=n,this._startIndex=r,this._endIndex=i};return t.prototype.to=function(e){return new t(this._string,this._description,this._startIndex,e._endIndex)},t.prototype.describe=function(){var e=this._position(),n=this._description?this._description+`
241
- `:"";return n+"Line number: "+e.lineNumber+`
242
- Character number: `+e.characterNumber},t.prototype.lineNumber=function(){return this._position().lineNumber},t.prototype.characterNumber=function(){return this._position().characterNumber},t.prototype._position=function(){for(var e=this,n=0,r=function(){return e._string.indexOf(`
243
- `,n)},i=1;r()!==-1&&r()<this._startIndex;)n=r()+1,i+=1;var o=this._startIndex-n+1;return{lineNumber:i,characterNumber:o}},Pf.exports}var qf,I2;function Xw(){return I2||(I2=1,qf=function(t,e,n){this.name=t,this.value=e,n&&(this.source=n)}),qf}var zf={},M2;function W6(){return M2||(M2=1,function(t){var e=Vw(),n=jp();t.parser=function(o,a,s){var c={rule:d,leftAssociative:h,rightAssociative:p},l=new r(s.map(f)),u=e.firstOf(o,a);function f(y){return{name:y.name,rule:i(y.ruleBuilder.bind(null,c))}}function d(){return m(l)}function h(y){return m(l.untilExclusive(y))}function p(y){return m(l.untilInclusive(y))}function m(y){return g.bind(null,y)}function g(y,b){var v=u(b);return v.isSuccess()?y.apply(v):v}return c};function r(o){function a(f){return new r(o.slice(0,c().indexOf(f)))}function s(f){return new r(o.slice(0,c().indexOf(f)+1))}function c(){return o.map(function(f){return f.name})}function l(f){for(var d,h;;)if(d=u(f.remaining()),d.isSuccess())h=f.source().to(d.source()),f=n.success(d.value()(f.value(),h),d.remaining(),h);else return d.isFailure()?f:d}function u(f){return e.firstOf("infix",o.map(function(d){return d.rule}))(f)}return{apply:l,untilExclusive:a,untilInclusive:s}}t.infix=function(o,a){function s(c){return t.infix(o,function(l){var u=a(l);return function(f){var d=u(f);return d.map(function(h){return function(p,m){return c(p,h,m)}})}})}return{name:o,ruleBuilder:a,map:s}};var i=function(o){var a;return function(s){return a||(a=o()),a(s)}}}(zf)),zf}var jf={},W2;function L6(){if(W2)return jf;W2=1;var t=Xw(),e=Hw();jf.RegexTokeniser=n;function n(r){r=r.map(function(s){return{name:s.name,regex:new RegExp(s.regex.source,"g")}});function i(s,c){for(var l=new e(s,c),u=0,f=[];u<s.length;){var d=o(s,u,l);u=d.endIndex,f.push(d.token)}return f.push(a(s,l)),f}function o(s,c,l){for(var u=0;u<r.length;u++){var f=r[u].regex;f.lastIndex=c;var d=f.exec(s);if(d){var p=c+d[0].length;if(d.index===c&&p>c){var h=d[1],m=new t(r[u].name,h,l.range(c,p));return{token:m,endIndex:p}}}}var p=c+1,m=new t("unrecognisedCharacter",s.substring(c,p),l.range(c,p));return{token:m,endIndex:p}}function a(s,c){return new t("end",null,c.range(s.length,s.length))}return{tokenise:i}}return jf}var L2;function Gw(){return L2||(L2=1,tn.Parser=B6().Parser,tn.rules=Vw(),tn.errors=$w(),tn.results=jp(),tn.StringSource=Hw(),tn.Token=Xw(),tn.bottomUp=W6(),tn.RegexTokeniser=L6().RegexTokeniser,tn.rule=function(t){var e;return function(n){return e||(e=t()),e(n)}}),tn}var it={},P2;function P6(){if(P2)return it;P2=1,it.paragraph=t,it.run=e,it.table=n,it.bold=new i("bold"),it.italic=new i("italic"),it.underline=new i("underline"),it.strikethrough=new i("strikethrough"),it.allCaps=new i("allCaps"),it.smallCaps=new i("smallCaps"),it.highlight=r,it.commentReference=new i("commentReference"),it.lineBreak=new a({breakType:"line"}),it.pageBreak=new a({breakType:"page"}),it.columnBreak=new a({breakType:"column"}),it.equalTo=c,it.startsWith=l;function t(d){return new i("paragraph",d)}function e(d){return new i("run",d)}function n(d){return new i("table",d)}function r(d){return new o(d)}function i(d,h){h=h||{},this._elementType=d,this._styleId=h.styleId,this._styleName=h.styleName,h.list&&(this._listIndex=h.list.levelIndex,this._listIsOrdered=h.list.isOrdered)}i.prototype.matches=function(d){return d.type===this._elementType&&(this._styleId===void 0||d.styleId===this._styleId)&&(this._styleName===void 0||d.styleName&&this._styleName.operator(this._styleName.operand,d.styleName))&&(this._listIndex===void 0||s(d,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===d.breakType)};function o(d){d=d||{},this._color=d.color}o.prototype.matches=function(d){return d.type==="highlight"&&(this._color===void 0||d.color===this._color)};function a(d){d=d||{},this._breakType=d.breakType}a.prototype.matches=function(d){return d.type==="break"&&(this._breakType===void 0||d.breakType===this._breakType)};function s(d,h,p){return d.numbering&&d.numbering.level==h&&d.numbering.isOrdered==p}function c(d){return{operator:u,operand:d}}function l(d){return{operator:f,operand:d}}function u(d,h){return d.toUpperCase()===h.toUpperCase()}function f(d,h){return h.toUpperCase().indexOf(d.toUpperCase())===0}return it}var $f={},q2;function q6(){if(q2)return $f;q2=1;var t=Gw(),e=t.RegexTokeniser;$f.tokenise=r;var n="'((?:\\\\.|[^'])*)";function r(i){var o="(?:[a-zA-Z\\-_]|\\\\.)",a=new e([{name:"identifier",regex:new RegExp("("+o+"(?:"+o+"|[0-9])*)")},{name:"dot",regex:/\./},{name:"colon",regex:/:/},{name:"gt",regex:/>/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/},{name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(n+"'")},{name:"unterminated-string",regex:new RegExp(n)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return a.tokenise(i)}return $f}var z2;function z6(){if(z2)return Ji;z2=1;var t=et,e=Gw(),n=P6(),r=Cc(),i=q6().tokenise,o=Wn();Ji.readHtmlPath=u,Ji.readDocumentMatcher=c,Ji.readStyle=a;function a(U){return T(S,U)}function s(){return e.rules.sequence(e.rules.sequence.capture(l()),e.rules.tokenOfType("whitespace"),e.rules.tokenOfType("arrow"),e.rules.sequence.capture(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("whitespace"),e.rules.sequence.capture(f())).head())),e.rules.tokenOfType("end")).map(function(U,C){return{from:U,to:C.valueOrElse(r.empty)}})}function c(U){return T(l(),U)}function l(){var U=e.rules.sequence,C=function(de,ge){return e.rules.then(e.rules.token("identifier",de),function(){return ge})},R=C("p",n.paragraph),L=C("r",n.run),_=e.rules.firstOf("p or r or table",R,L),k=e.rules.sequence(e.rules.tokenOfType("dot"),e.rules.sequence.cut(),e.rules.sequence.capture(d)).map(function(de){return{styleId:de}}),x=e.rules.firstOf("style name matcher",e.rules.then(e.rules.sequence(e.rules.tokenOfType("equals"),e.rules.sequence.cut(),e.rules.sequence.capture(p)).head(),function(de){return{styleName:n.equalTo(de)}}),e.rules.then(e.rules.sequence(e.rules.tokenOfType("startsWith"),e.rules.sequence.cut(),e.rules.sequence.capture(p)).head(),function(de){return{styleName:n.startsWith(de)}})),z=e.rules.sequence(e.rules.tokenOfType("open-square-bracket"),e.rules.sequence.cut(),e.rules.token("identifier","style-name"),e.rules.sequence.capture(x),e.rules.tokenOfType("close-square-bracket")).head(),F=e.rules.firstOf("list type",C("ordered-list",{isOrdered:!0}),C("unordered-list",{isOrdered:!1})),I=U(e.rules.tokenOfType("colon"),U.capture(F),U.cut(),e.rules.tokenOfType("open-paren"),U.capture(h),e.rules.tokenOfType("close-paren")).map(function(de,ge){return{list:{isOrdered:de.isOrdered,levelIndex:ge-1}}});function K(de){var ge=e.rules.firstOf.apply(e.rules.firstOf,["matcher suffix"].concat(de)),ye=e.rules.zeroOrMore(ge);return e.rules.then(ye,function(be){var D={};return be.forEach(function(V){t.extend(D,V)}),D})}var P=U(U.capture(_),U.capture(K([k,z,I]))).map(function(de,ge){return de(ge)}),te=U(e.rules.token("identifier","table"),U.capture(K([k,z]))).map(function(de){return n.table(de)}),W=C("b",n.bold),B=C("i",n.italic),oe=C("u",n.underline),X=C("strike",n.strikethrough),J=C("all-caps",n.allCaps),le=C("small-caps",n.smallCaps),he=U(e.rules.token("identifier","highlight"),e.rules.sequence.capture(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("open-square-bracket"),e.rules.sequence.cut(),e.rules.token("identifier","color"),e.rules.tokenOfType("equals"),e.rules.sequence.capture(p),e.rules.tokenOfType("close-square-bracket")).head()))).map(function(de){return n.highlight({color:de.valueOrElse(void 0)})}),fe=C("comment-reference",n.commentReference),me=U(e.rules.token("identifier","br"),U.cut(),e.rules.tokenOfType("open-square-bracket"),e.rules.token("identifier","type"),e.rules.tokenOfType("equals"),U.capture(p),e.rules.tokenOfType("close-square-bracket")).map(function(de){switch(de){case"line":return n.lineBreak;case"page":return n.pageBreak;case"column":return n.columnBreak}});return e.rules.firstOf("element type",P,te,W,B,oe,X,J,le,he,fe,me)}function u(U){return T(f(),U)}function f(){var U=e.rules.sequence.capture,C=e.rules.tokenOfType("whitespace"),R=e.rules.then(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("colon"),e.rules.token("identifier","fresh"))),function(x){return x.map(function(){return!0}).valueOrElse(!1)}),L=e.rules.then(e.rules.optional(e.rules.sequence(e.rules.tokenOfType("colon"),e.rules.token("identifier","separator"),e.rules.tokenOfType("open-paren"),U(p),e.rules.tokenOfType("close-paren")).head()),function(x){return x.valueOrElse("")}),_=e.rules.oneOrMoreWithSeparator(d,e.rules.tokenOfType("choice")),k=e.rules.sequence(U(_),U(e.rules.zeroOrMore(v)),U(R),U(L)).map(function(x,z,F,I){var K={},P={};return z.forEach(function(te){te.append&&K[te.name]?K[te.name]+=" "+te.value:K[te.name]=te.value}),F&&(P.fresh=!0),I&&(P.separator=I),r.element(x,K,P)});return e.rules.firstOf("html path",e.rules.then(e.rules.tokenOfType("bang"),function(){return r.ignore}),e.rules.then(e.rules.zeroOrMoreWithSeparator(k,e.rules.sequence(C,e.rules.tokenOfType("gt"),C)),r.elements))}var d=e.rules.then(e.rules.tokenOfType("identifier"),g),h=e.rules.tokenOfType("integer"),p=e.rules.then(e.rules.tokenOfType("string"),g),m={n:`
244
- `,r:"\r",t:" "};function g(U){return U.replace(/\\(.)/g,function(C,R){return m[R]||R})}var y=e.rules.sequence(e.rules.tokenOfType("open-square-bracket"),e.rules.sequence.cut(),e.rules.sequence.capture(d),e.rules.tokenOfType("equals"),e.rules.sequence.capture(p),e.rules.tokenOfType("close-square-bracket")).map(function(U,C){return{name:U,value:C,append:!1}}),b=e.rules.sequence(e.rules.tokenOfType("dot"),e.rules.sequence.cut(),e.rules.sequence.capture(d)).map(function(U){return{name:"class",value:U,append:!0}}),v=e.rules.firstOf("attribute or class",y,b);function T(U,C){var R=i(C),L=e.Parser(),_=L.parseTokens(U,R);return _.isSuccess()?o.success(_.value()):new o.Result(null,[o.warning(w(C,_))])}function w(U,C){return"Did not understand this style mapping, so ignored it: "+U+`
245
- `+C.errors().map(E).join(`
246
- `)}function E(U){return"Error was at character number "+U.characterNumber()+": Expected "+U.expected+" but got "+U.actual}var S=s();return Ji}var Zi={},j2;function j6(){if(j2)return Zi;j2=1,Zi.readOptions=r;var t=et,e=Zi._defaultStyleMap=["p.Heading1 => h1:fresh","p.Heading2 => h2:fresh","p.Heading3 => h3:fresh","p.Heading4 => h4:fresh","p.Heading5 => h5:fresh","p.Heading6 => h6:fresh","p[style-name='Heading 1'] => h1:fresh","p[style-name='Heading 2'] => h2:fresh","p[style-name='Heading 3'] => h3:fresh","p[style-name='Heading 4'] => h4:fresh","p[style-name='Heading 5'] => h5:fresh","p[style-name='Heading 6'] => h6:fresh","p[style-name='heading 1'] => h1:fresh","p[style-name='heading 2'] => h2:fresh","p[style-name='heading 3'] => h3:fresh","p[style-name='heading 4'] => h4:fresh","p[style-name='heading 5'] => h5:fresh","p[style-name='heading 6'] => h6:fresh","r[style-name='Strong'] => strong","p[style-name='footnote text'] => p:fresh","r[style-name='footnote reference'] =>","p[style-name='endnote text'] => p:fresh","r[style-name='endnote reference'] =>","p[style-name='annotation text'] => p:fresh","r[style-name='annotation reference'] =>","p[style-name='Footnote'] => p:fresh","r[style-name='Footnote anchor'] =>","p[style-name='Endnote'] => p:fresh","r[style-name='Endnote anchor'] =>","p:unordered-list(1) => ul > li:fresh","p:unordered-list(2) => ul|ol > li > ul > li:fresh","p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh","p:ordered-list(1) => ol > li:fresh","p:ordered-list(2) => ul|ol > li > ol > li:fresh","p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh","r[style-name='Hyperlink'] =>","p[style-name='Normal'] => p:fresh"],n=Zi._standardOptions={transformDocument:o,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function r(a){return a=a||{},t.extend({},n,a,{customStyleMap:i(a.styleMap),readStyleMap:function(){var s=this.customStyleMap;return this.includeEmbeddedStyleMap&&(s=s.concat(i(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(s=s.concat(e)),s}})}function i(a){return a?t.isString(a)?a.split(`
247
- `).map(function(s){return s.trim()}).filter(function(s){return s!==""&&s.charAt(0)!=="#"}):a:[]}function o(a){return a}return Zi}var Vf={},$2;function $6(){if($2)return Vf;$2=1;var t=vr(),e=Mw();Vf.openZip=n;function n(r){return r.arrayBuffer?t.resolve(e.openArrayBuffer(r.arrayBuffer)):t.reject(new Error("Could not find file in options"))}return Vf}var Tr={},V2;function V6(){if(V2)return Tr;V2=1;var t=et;Tr.paragraph=e,Tr.run=n,Tr._elements=i,Tr.getDescendantsOfType=o,Tr.getDescendants=a;function e(c){return r("paragraph",c)}function n(c){return r("run",c)}function r(c,l){return i(function(u){return u.type===c?l(u):u})}function i(c){return function l(u){if(u.children){var f=t.map(u.children,l);u=t.extend(u,{children:f})}return c(u)}}function o(c,l){return a(c).filter(function(u){return u.type===l})}function a(c){var l=[];return s(c,function(u){l.push(u)}),l}function s(c,l){c.children&&c.children.forEach(function(u){s(u,l),l(u)})}return Tr}var Hf={},H2;function H6(){if(H2)return Hf;H2=1;var t=Cc(),e=Ec();Hf.element=n;function n(r){return function(i){return e.elementWithTag(t.element(r),[i])}}return Hf}var X2;function X6(){if(X2)return zt;X2=1;var t=et,e=C6(),n=S6(),r=O6().DocumentConverter,i=R6().convertElementToRawText,o=z6().readStyle,a=j6().readOptions,s=$6(),c=Wn().Result;zt.convertToHtml=l,zt.convertToMarkdown=u,zt.convert=f,zt.extractRawText=m,zt.images=jw(),zt.transforms=V6(),zt.underline=H6(),zt.embedStyleMap=g,zt.readEmbeddedStyleMap=d;function l(y,b){return f(y,b)}function u(y,b){var v=Object.create(b||{});return v.outputFormat="markdown",f(y,v)}function f(y,b){return b=a(b),s.openZip(y).tap(function(v){return n.readStyleMap(v).then(function(T){b.embeddedStyleMap=T})}).then(function(v){return e.read(v,y).then(function(T){return T.map(b.transformDocument)}).then(function(T){return h(T,b)})})}function d(y){return s.openZip(y).then(n.readStyleMap)}function h(y,b){var v=p(b.readStyleMap()),T=t.extend({},b,{styleMap:v.value}),w=new r(T);return y.flatMapThen(function(E){return v.flatMapThen(function(S){return w.convertToHtml(E)})})}function p(y){return c.combine((y||[]).map(o)).map(function(b){return b.filter(function(v){return!!v})})}function m(y){return s.openZip(y).then(e.read).then(function(b){return b.map(i)})}function g(y,b){return s.openZip(y).tap(function(v){return n.writeStyleMap(v,b)}).then(function(v){return v.toArrayBuffer()}).then(function(v){return{toArrayBuffer:function(){return v},toBuffer:function(){return Buffer.from(v)}}})}return zt.styleMapping=function(){throw new Error(`Use a raw string instead of mammoth.styleMapping e.g. "p[style-name='Title'] => h1" instead of mammoth.styleMapping("p[style-name='Title'] => h1")`)},zt}var G6=X6();const K6=$h(G6);var Ga={exports:{}},J6=Ga.exports,G2;function Z6(){return G2||(G2=1,function(t,e){(function(r,i){t.exports=i(qe,f_)})(J6,function(n,r){return function(i){var o={};function a(s){if(o[s])return o[s].exports;var c=o[s]={i:s,l:!1,exports:{}};return i[s].call(c.exports,c,c.exports,a),c.l=!0,c.exports}return a.m=i,a.c=o,a.d=function(s,c,l){a.o(s,c)||Object.defineProperty(s,c,{enumerable:!0,get:l})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,c){if(c&1&&(s=a(s)),c&8||c&4&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),c&2&&typeof s!="string")for(var u in s)a.d(l,u,(function(f){return s[f]}).bind(null,u));return l},a.n=function(s){var c=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(c,"a",c),c},a.o=function(s,c){return Object.prototype.hasOwnProperty.call(s,c)},a.p="",a(a.s=4)}([function(i,o,a){i.exports=a(5)()},function(i,o){i.exports=n},function(i,o){i.exports=r},function(i,o){i.exports=function(a,s,c){var l=a.direction,u=a.value;switch(l){case"top":return c.top+u<s.top&&c.bottom>s.bottom&&c.left<s.left&&c.right>s.right;case"left":return c.left+u<s.left&&c.bottom>s.bottom&&c.top<s.top&&c.right>s.right;case"bottom":return c.bottom-u>s.bottom&&c.left<s.left&&c.right>s.right&&c.top<s.top;case"right":return c.right-u>s.right&&c.left<s.left&&c.top<s.top&&c.bottom>s.bottom}}},function(i,o,a){a.r(o),a.d(o,"default",function(){return R});var s=a(1),c=a.n(s),l=a(2),u=a.n(l),f=a(0),d=a.n(f),h=a(3),p=a.n(h);function m(L){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?m=function(k){return typeof k}:m=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},m(L)}function g(L,_){if(!(L instanceof _))throw new TypeError("Cannot call a class as a function")}function y(L,_){for(var k=0;k<_.length;k++){var x=_[k];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(L,x.key,x)}}function b(L,_,k){return _&&y(L.prototype,_),L}function v(L,_){return _&&(m(_)==="object"||typeof _=="function")?_:w(L)}function T(L){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(k){return k.__proto__||Object.getPrototypeOf(k)},T(L)}function w(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function E(L,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(_&&_.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),_&&S(L,_)}function S(L,_){return S=Object.setPrototypeOf||function(x,z){return x.__proto__=z,x},S(L,_)}function U(L,_,k){return _ in L?Object.defineProperty(L,_,{value:k,enumerable:!0,configurable:!0,writable:!0}):L[_]=k,L}function C(L){return L.width===void 0&&(L.width=L.right-L.left),L.height===void 0&&(L.height=L.bottom-L.top),L}var R=function(L){E(_,L);function _(k){var x;return g(this,_),x=v(this,T(_).call(this,k)),U(w(x),"getContainer",function(){return x.props.containment||window}),U(w(x),"addEventListener",function(z,F,I,K){x.debounceCheck||(x.debounceCheck={});var P,te,W=function(){P=null,x.check()};K>-1?te=function(){P||(P=setTimeout(W,K||0))}:te=function(){clearTimeout(P),P=setTimeout(W,I||0)};var B={target:z,fn:te,getLastTimeout:function(){return P}};z.addEventListener(F,B.fn),x.debounceCheck[F]=B}),U(w(x),"startWatching",function(){x.debounceCheck||x.interval||(x.props.intervalCheck&&(x.interval=setInterval(x.check,x.props.intervalDelay)),x.props.scrollCheck&&x.addEventListener(x.getContainer(),"scroll",x.props.scrollDelay,x.props.scrollThrottle),x.props.resizeCheck&&x.addEventListener(window,"resize",x.props.resizeDelay,x.props.resizeThrottle),!x.props.delayedCall&&x.check())}),U(w(x),"stopWatching",function(){if(x.debounceCheck){for(var z in x.debounceCheck)if(x.debounceCheck.hasOwnProperty(z)){var F=x.debounceCheck[z];clearTimeout(F.getLastTimeout()),F.target.removeEventListener(z,F.fn),x.debounceCheck[z]=null}}x.debounceCheck=null,x.interval&&(x.interval=clearInterval(x.interval))}),U(w(x),"check",function(){var z=x.node,F,I;if(!z)return x.state;if(F=C(x.roundRectDown(z.getBoundingClientRect())),x.props.containment){var K=x.props.containment.getBoundingClientRect();I={top:K.top,left:K.left,bottom:K.bottom,right:K.right}}else I={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var P=x.props.offset||{},te=m(P)==="object";te&&(I.top+=P.top||0,I.left+=P.left||0,I.bottom-=P.bottom||0,I.right-=P.right||0);var W={top:F.top>=I.top,left:F.left>=I.left,bottom:F.bottom<=I.bottom,right:F.right<=I.right},B=F.height>0&&F.width>0,oe=B&&W.top&&W.left&&W.bottom&&W.right;if(B&&x.props.partialVisibility){var X=F.top<=I.bottom&&F.bottom>=I.top&&F.left<=I.right&&F.right>=I.left;typeof x.props.partialVisibility=="string"&&(X=W[x.props.partialVisibility]),oe=x.props.minTopValue?X&&F.top<=I.bottom-x.props.minTopValue:X}typeof P.direction=="string"&&typeof P.value=="number"&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",P.direction,P.value),oe=p()(P,F,I));var J=x.state;return x.state.isVisible!==oe&&(J={isVisible:oe,visibilityRect:W},x.setState(J),x.props.onChange&&x.props.onChange(oe)),J}),x.state={isVisible:null,visibilityRect:{}},x}return b(_,[{key:"componentDidMount",value:function(){this.node=u.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(x){this.node=u.a.findDOMNode(this),this.props.active&&!x.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(x){return{top:Math.floor(x.top),left:Math.floor(x.left),bottom:Math.floor(x.bottom),right:Math.floor(x.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):c.a.Children.only(this.props.children)}}]),_}(c.a.Component);U(R,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:c.a.createElement("span",null)}),U(R,"propTypes",{onChange:d.a.func,active:d.a.bool,partialVisibility:d.a.oneOfType([d.a.bool,d.a.oneOf(["top","right","bottom","left"])]),delayedCall:d.a.bool,offset:d.a.oneOfType([d.a.shape({top:d.a.number,left:d.a.number,bottom:d.a.number,right:d.a.number}),d.a.shape({direction:d.a.oneOf(["top","right","bottom","left"]),value:d.a.number})]),scrollCheck:d.a.bool,scrollDelay:d.a.number,scrollThrottle:d.a.number,resizeCheck:d.a.bool,resizeDelay:d.a.number,resizeThrottle:d.a.number,intervalCheck:d.a.bool,intervalDelay:d.a.number,containment:typeof window<"u"?d.a.instanceOf(window.Element):d.a.any,children:d.a.oneOfType([d.a.element,d.a.func]),minTopValue:d.a.number})},function(i,o,a){var s=a(6);function c(){}function l(){}l.resetWarningCache=c,i.exports=function(){function u(h,p,m,g,y,b){if(b!==s){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}u.isRequired=u;function f(){return u}var d={array:u,bool:u,func:u,number:u,object:u,string:u,symbol:u,any:u,arrayOf:f,element:u,elementType:u,instanceOf:f,node:u,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:c};return d.PropTypes=d,d}},function(i,o,a){var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";i.exports=s}])})}(Ga)),Ga.exports}var Y6=Z6();const Q6=$h(Y6),ga="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",eO=t=>{t=t.replace(/\r\n/g,`
248
- `);let e=0,n="";for(;e<t.length;e++){const r=t.charCodeAt(e);r<128?n+=String.fromCharCode(r):r>127&&r<2048?(n+=String.fromCharCode(r>>6|192),n+=String.fromCharCode(63&r|128)):(n+=String.fromCharCode(r>>12|224),n+=String.fromCharCode(r>>6&63|128),n+=String.fromCharCode(63&r|128))}return n},tO=t=>{let e,n,r,i,o,a,s,c=0,l="";for(t=eO(t);c<t.length;)e=t.charCodeAt(c++),n=t.charCodeAt(c++),r=t.charCodeAt(c++),i=e>>2,o=(3&e)<<4|n>>4,a=(15&n)<<2|r>>6,s=63&r,isNaN(n)?a=s=64:isNaN(r)&&(s=64),l=l+ga.charAt(i)+ga.charAt(o)+ga.charAt(a)+ga.charAt(s);return l},nO=t=>typeof t=="string"?"string":typeof SVGElement<"u"&&t instanceof SVGElement?"element":void 0,Kw=t=>"data:image/svg+xml;base64,"+tO(t),rO=t=>Kw(new XMLSerializer().serializeToString(t)),iO=t=>{switch(nO(t)){case"string":return Kw(t);case"element":return rO(t);default:return t}},oO="_verified_lvyh0_1",$p={verified:oO},aO=()=>ce.jsx("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:$p.verified,children:ce.jsx("g",{children:ce.jsx("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),sO=()=>ce.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:$p.verified,children:ce.jsxs("g",{children:[ce.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[ce.jsx("stop",{offset:"0",stopColor:"#f4e72a"}),ce.jsx("stop",{offset:".539",stopColor:"#cd8105"}),ce.jsx("stop",{offset:".68",stopColor:"#cb7b00"}),ce.jsx("stop",{offset:"1",stopColor:"#f4ec26"}),ce.jsx("stop",{offset:"1",stopColor:"#f4e72a"})]}),ce.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[ce.jsx("stop",{offset:"0",stopColor:"#f9e87f"}),ce.jsx("stop",{offset:".406",stopColor:"#e2b719"}),ce.jsx("stop",{offset:".989",stopColor:"#e2b719"})]}),ce.jsxs("g",{clipRule:"evenodd",fillRule:"evenodd",children:[ce.jsx("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),ce.jsx("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),ce.jsx("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})}),cO=()=>ce.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:$p.verified,children:ce.jsx("g",{children:ce.jsx("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),lO="_root_98iqw_1",uO="_article_98iqw_21",K2={root:lO,article:uO},Vp=({className:t,children:e})=>ce.jsx("div",{className:pn("react-tweet-theme",K2.root,t),children:ce.jsx("article",{className:K2.article,children:e})}),Jw=t=>ce.jsx("img",{...t}),fO="_header_nqq4j_1",dO="_avatar_nqq4j_11",hO="_avatarOverflow_nqq4j_16",pO="_avatarSquare_nqq4j_23",gO="_avatarShadow_nqq4j_26",mO="_author_nqq4j_37",yO="_authorLink_nqq4j_44",bO="_authorVerified_nqq4j_53",vO="_authorLinkText_nqq4j_56",xO="_authorMeta_nqq4j_63",DO="_authorFollow_nqq4j_66",wO="_username_nqq4j_69",_O="_follow_nqq4j_74",TO="_separator_nqq4j_82",EO="_brand_nqq4j_86",CO="_twitterIcon_nqq4j_90",ct={header:fO,avatar:dO,avatarOverflow:hO,avatarSquare:pO,avatarShadow:gO,author:mO,authorLink:yO,authorVerified:bO,authorLinkText:vO,authorMeta:xO,authorFollow:DO,username:wO,follow:_O,separator:TO,brand:EO,twitterIcon:CO},SO="_verifiedOld_lcna5_1",AO="_verifiedBlue_lcna5_4",UO="_verifiedGovernment_lcna5_7",Xf={verifiedOld:SO,verifiedBlue:AO,verifiedGovernment:UO},Zw=({user:t,className:e})=>{const n=t.verified||t.is_blue_verified||t.verified_type;let r=ce.jsx(aO,{}),i=Xf.verifiedBlue;if(n)switch(t.is_blue_verified||(i=Xf.verifiedOld),t.verified_type){case"Government":r=ce.jsx(cO,{}),i=Xf.verifiedGovernment;break;case"Business":r=ce.jsx(sO,{}),i=null;break}return n?ce.jsx("div",{className:pn(e,i),children:r}):null},kO=({tweet:t,components:e})=>{var n;const r=(n=e==null?void 0:e.AvatarImg)!=null?n:Jw,{user:i}=t;return ce.jsxs("div",{className:ct.header,children:[ce.jsxs("a",{href:t.url,className:ct.avatar,target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:pn(ct.avatarOverflow,i.profile_image_shape==="Square"&&ct.avatarSquare),children:ce.jsx(r,{src:i.profile_image_url_https,alt:i.name,width:48,height:48})}),ce.jsx("div",{className:ct.avatarOverflow,children:ce.jsx("div",{className:ct.avatarShadow})})]}),ce.jsxs("div",{className:ct.author,children:[ce.jsxs("a",{href:t.url,className:ct.authorLink,target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:ct.authorLinkText,children:ce.jsx("span",{title:i.name,children:i.name})}),ce.jsx(Zw,{user:i,className:ct.authorVerified})]}),ce.jsxs("div",{className:ct.authorMeta,children:[ce.jsx("a",{href:t.url,className:ct.username,target:"_blank",rel:"noopener noreferrer",children:ce.jsxs("span",{title:`@${i.screen_name}`,children:["@",i.screen_name]})}),ce.jsxs("div",{className:ct.authorFollow,children:[ce.jsx("span",{className:ct.separator,children:"·"}),ce.jsx("a",{href:i.follow_url,className:ct.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),ce.jsx("a",{href:t.url,className:ct.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:ce.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:ct.twitterIcon,children:ce.jsx("g",{children:ce.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})},FO="_root_1ec15_1",OO={root:FO},RO=({tweet:t})=>ce.jsxs("a",{href:t.in_reply_to_url,className:OO.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",t.in_reply_to_screen_name]}),NO="_root_eihfa_1",BO={root:NO},IO=({href:t,children:e})=>ce.jsx("a",{href:t,className:BO.root,target:"_blank",rel:"noopener noreferrer nofollow",children:e}),MO="_root_1xq52_1",WO={root:MO},LO=({tweet:t})=>ce.jsx("p",{className:WO.root,lang:t.lang,dir:"auto",children:t.entities.map((e,n)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return ce.jsx(IO,{href:e.href,children:e.text},n);case"media":return;default:return ce.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},n)}})}),J2=t=>`https://x.com/${t.user.screen_name}/status/${t.id_str}`,Yw=t=>`https://x.com/${typeof t=="string"?t:t.user.screen_name}`,PO=t=>`https://x.com/intent/like?tweet_id=${t.id_str}`,qO=t=>`https://x.com/intent/tweet?in_reply_to=${t.id_str}`,zO=t=>`https://x.com/intent/follow?screen_name=${t.user.screen_name}`,jO=t=>`https://x.com/hashtag/${t.text}`,$O=t=>`https://x.com/search?q=%24${t.text}`,VO=t=>`https://x.com/${t.in_reply_to_screen_name}/status/${t.in_reply_to_status_id_str}`,Qw=(t,e)=>{const n=new URL(t.media_url_https),r=n.pathname.split(".").pop();return r?(n.pathname=n.pathname.replace(`.${r}`,""),n.searchParams.set("format",r),n.searchParams.set("name",e),n.toString()):t.media_url_https},HO=t=>{const{variants:e}=t.video_info;return e.filter(r=>r.content_type==="video/mp4").sort((r,i)=>{var o,a;return((o=i.bitrate)!=null?o:0)-((a=r.bitrate)!=null?a:0)})},XO=t=>{const e=HO(t);return e.length>1?e[1]:e[0]},Vd=t=>t>999999?`${(t/1e6).toFixed(1)}M`:t>999?`${(t/1e3).toFixed(1)}K`:t.toString();function Z2(t){const e=Array.from(t.text),n=[{indices:t.display_text_range,type:"text"}];return Yi(n,"hashtag",t.entities.hashtags),Yi(n,"mention",t.entities.user_mentions),Yi(n,"url",t.entities.urls),Yi(n,"symbol",t.entities.symbols),t.entities.media&&Yi(n,"media",t.entities.media),GO(t,n),n.map(r=>{const i=e.slice(r.indices[0],r.indices[1]).join("");switch(r.type){case"hashtag":return Object.assign(r,{href:jO(r),text:i});case"mention":return Object.assign(r,{href:Yw(r.screen_name),text:i});case"url":case"media":return Object.assign(r,{href:r.expanded_url,text:r.display_url});case"symbol":return Object.assign(r,{href:$O(r),text:i});default:return Object.assign(r,{text:i})}})}function Yi(t,e,n){for(const r of n)for(const[i,o]of t.entries()){if(o.indices[0]>r.indices[0]||o.indices[1]<r.indices[1])continue;const a=[{...r,type:e}];o.indices[0]<r.indices[0]&&a.unshift({indices:[o.indices[0],r.indices[0]],type:"text"}),o.indices[1]>r.indices[1]&&a.push({indices:[r.indices[1],o.indices[1]],type:"text"}),t.splice(i,1,...a);break}}function GO(t,e){t.entities.media&&t.entities.media[0].indices[0]<t.display_text_range[1]&&(t.display_text_range[1]=t.entities.media[0].indices[0]);const n=e.at(-1);n&&n.indices[1]>t.display_text_range[1]&&(n.indices[1]=t.display_text_range[1])}const KO=t=>({...t,url:J2(t),user:{...t.user,url:Yw(t),follow_url:zO(t)},like_url:PO(t),reply_url:qO(t),in_reply_to_url:t.in_reply_to_screen_name?VO(t):void 0,entities:Z2(t),quoted_tweet:t.quoted_tweet?{...t.quoted_tweet,url:J2(t.quoted_tweet),entities:Z2(t.quoted_tweet)}:void 0}),JO="_root_g9tkv_1",ZO="_rounded_g9tkv_6",YO="_mediaWrapper_g9tkv_10",QO="_grid2Columns_g9tkv_17",e9="_grid3_g9tkv_20",t9="_grid2x2_g9tkv_23",n9="_mediaContainer_g9tkv_26",r9="_mediaLink_g9tkv_34",i9="_skeleton_g9tkv_38",o9="_image_g9tkv_43",Rt={root:JO,rounded:ZO,mediaWrapper:YO,grid2Columns:QO,grid3:e9,grid2x2:t9,mediaContainer:n9,mediaLink:r9,skeleton:i9,image:o9},a9="_anchor_fp31d_1",s9="_videoButton_fp31d_17",c9="_videoButtonIcon_fp31d_35",l9="_watchOnTwitter_fp31d_44",u9="_viewReplies_fp31d_60",si={anchor:a9,videoButton:s9,videoButtonIcon:c9,watchOnTwitter:l9,viewReplies:u9},f9=({tweet:t,media:e})=>{const[n,r]=qe.useState(!0),[i,o]=qe.useState(!1),[a,s]=qe.useState(!1),c=XO(e);let l=0;return ce.jsxs(ce.Fragment,{children:[ce.jsx("video",{className:Rt.image,poster:Qw(e,"small"),controls:!n,playsInline:!0,preload:"none",tabIndex:n?-1:0,onPlay:()=>{l&&window.clearTimeout(l),i||o(!0),a&&s(!1)},onPause:()=>{l&&window.clearTimeout(l),l=window.setTimeout(()=>{i&&o(!1),l=0},100)},onEnded:()=>{s(!0)},children:ce.jsx("source",{src:c.url,type:c.content_type})}),n&&ce.jsx("button",{type:"button",className:si.videoButton,"aria-label":"View video on X",onClick:u=>{const f=u.currentTarget.previousSibling;u.preventDefault(),r(!1),f.load(),f.play().then(()=>{o(!0),f.focus()}).catch(d=>{console.error("Error playing video:",d),r(!0),o(!1)})},children:ce.jsx("svg",{viewBox:"0 0 24 24",className:si.videoButtonIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M21 12L4 2v20l17-10z"})})})}),!i&&!a&&ce.jsx("div",{className:si.watchOnTwitter,children:ce.jsx("a",{href:t.url,className:si.anchor,target:"_blank",rel:"noopener noreferrer",children:n?"Watch on X":"Continue watching on X"})}),a&&ce.jsx("a",{href:t.url,className:pn(si.anchor,si.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},d9=t=>ce.jsx("img",{...t}),Y2=(t,e)=>{let n=56.25;return e===1&&(n=100/t.original_info.width*t.original_info.height),e===2&&(n=n*2),{width:t.type==="photo"?void 0:"unset",paddingBottom:`${n}%`}},e_=({tweet:t,components:e,quoted:n})=>{var r,i,o;const a=(o=(r=t.mediaDetails)==null?void 0:r.length)!=null?o:0;var s;const c=(s=e==null?void 0:e.MediaImg)!=null?s:d9;return ce.jsx("div",{className:pn(Rt.root,!n&&Rt.rounded),children:ce.jsx("div",{className:pn(Rt.mediaWrapper,a>1&&Rt.grid2Columns,a===3&&Rt.grid3,a>4&&Rt.grid2x2),children:(i=t.mediaDetails)==null?void 0:i.map(l=>ce.jsx(qe.Fragment,{children:l.type==="photo"?ce.jsxs("a",{href:t.url,className:pn(Rt.mediaContainer,Rt.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[ce.jsx("div",{className:Rt.skeleton,style:Y2(l,a)}),ce.jsx(c,{src:Qw(l,"small"),alt:l.ext_alt_text||"Image",className:Rt.image,draggable:!0})]},l.media_url_https):ce.jsxs("div",{className:Rt.mediaContainer,children:[ce.jsx("div",{className:Rt.skeleton,style:Y2(l,a)}),ce.jsx(f9,{tweet:t,media:l})]},l.media_url_https)},l.media_url_https))})})},h9={hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"},p9=new Intl.DateTimeFormat("en-US",h9),g9=t=>{const e={};for(const n of t)e[n.type]=n.value;return e},m9=t=>{const e=g9(p9.formatToParts(t)),n=`${e.hour}:${e.minute} ${e.dayPeriod}`,r=`${e.month} ${e.day}, ${e.year}`;return`${n} · ${r}`},y9="_root_i24yn_1",b9={root:y9},v9=({tweet:t})=>{const e=new Date(t.created_at),n=m9(e);return ce.jsx("a",{className:b9.root,href:t.url,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:ce.jsx("time",{dateTime:e.toISOString(),children:n})})},x9="_info_19qcj_1",D9="_infoLink_19qcj_10",w9="_infoIcon_19qcj_30",Gf={info:x9,infoLink:D9,infoIcon:w9},_9=({tweet:t})=>ce.jsxs("div",{className:Gf.info,children:[ce.jsx(v9,{tweet:t}),ce.jsx("a",{className:Gf.infoLink,href:"https://help.x.com/en/x-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:ce.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:Gf.infoIcon,children:ce.jsx("g",{children:ce.jsx("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]}),T9="_actions_n2anf_1",E9="_like_n2anf_13",C9="_reply_n2anf_14",S9="_copy_n2anf_15",A9="_likeIconWrapper_n2anf_27",U9="_likeCount_n2anf_30",k9="_replyIconWrapper_n2anf_35",F9="_copyIconWrapper_n2anf_36",O9="_likeIcon_n2anf_27",R9="_replyIcon_n2anf_35",N9="_copyIcon_n2anf_36",B9="_replyText_n2anf_56",I9="_copyText_n2anf_57",Ct={actions:T9,like:E9,reply:C9,copy:S9,likeIconWrapper:A9,likeCount:U9,replyIconWrapper:k9,copyIconWrapper:F9,likeIcon:O9,replyIcon:R9,copyIcon:N9,replyText:B9,copyText:I9},M9=({tweet:t})=>{const[e,n]=qe.useState(!1),r=()=>{navigator.clipboard.writeText(t.url),n(!0)};return qe.useEffect(()=>{if(e){const i=setTimeout(()=>{n(!1)},6e3);return()=>clearTimeout(i)}},[e]),ce.jsxs("button",{type:"button",className:Ct.copy,"aria-label":"Copy link",onClick:r,children:[ce.jsx("div",{className:Ct.copyIconWrapper,children:e?ce.jsx("svg",{viewBox:"0 0 24 24",className:Ct.copyIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):ce.jsx("svg",{viewBox:"0 0 24 24",className:Ct.copyIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),ce.jsx("span",{className:Ct.copyText,children:e?"Copied!":"Copy link"})]})},W9=({tweet:t})=>{const e=Vd(t.favorite_count);return ce.jsxs("div",{className:Ct.actions,children:[ce.jsxs("a",{className:Ct.like,href:t.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${e} likes`,children:[ce.jsx("div",{className:Ct.likeIconWrapper,children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Ct.likeIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),ce.jsx("span",{className:Ct.likeCount,children:e})]}),ce.jsxs("a",{className:Ct.reply,href:t.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[ce.jsx("div",{className:Ct.replyIconWrapper,children:ce.jsx("svg",{viewBox:"0 0 24 24",className:Ct.replyIcon,"aria-hidden":"true",children:ce.jsx("g",{children:ce.jsx("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),ce.jsx("span",{className:Ct.replyText,children:"Reply"})]}),ce.jsx(M9,{tweet:t})]})},L9="_replies_1cutb_1",P9="_link_1cutb_4",q9="_text_1cutb_23",Kf={replies:L9,link:P9,text:q9},z9=({tweet:t})=>ce.jsx("div",{className:Kf.replies,children:ce.jsx("a",{className:Kf.link,href:t.url,target:"_blank",rel:"noopener noreferrer",children:ce.jsx("span",{className:Kf.text,children:t.conversation_count===0?"Read more on X":t.conversation_count===1?`Read ${Vd(t.conversation_count)} reply`:`Read ${Vd(t.conversation_count)} replies`})})}),j9="_root_q5799_1",$9="_article_q5799_16",Q2={root:j9,article:$9},V9=({tweet:t,children:e})=>ce.jsx("div",{className:Q2.root,onClick:n=>{n.preventDefault(),window.open(t.url,"_blank")},children:ce.jsx("article",{className:Q2.article,children:e})}),H9="_header_r31i5_1",X9="_avatar_r31i5_11",G9="_avatarSquare_r31i5_17",K9="_author_r31i5_21",J9="_authorText_r31i5_26",Z9="_username_r31i5_33",Er={header:H9,avatar:X9,avatarSquare:G9,author:K9,authorText:J9,username:Z9},Y9=({tweet:t})=>{const{user:e}=t;return ce.jsxs("div",{className:Er.header,children:[ce.jsx("a",{href:t.url,className:Er.avatar,target:"_blank",rel:"noopener noreferrer",children:ce.jsx("div",{className:pn(Er.avatarOverflow,e.profile_image_shape==="Square"&&Er.avatarSquare),children:ce.jsx(Jw,{src:e.profile_image_url_https,alt:e.name,width:20,height:20})})}),ce.jsxs("div",{className:Er.author,children:[ce.jsx("div",{className:Er.authorText,children:ce.jsx("span",{title:e.name,children:e.name})}),ce.jsx(Zw,{user:e}),ce.jsx("div",{className:Er.username,children:ce.jsxs("span",{title:`@${e.screen_name}`,children:["@",e.screen_name]})})]})]})},Q9="_root_175ot_1",eR={root:Q9},tR=({tweet:t})=>ce.jsx("p",{className:eR.root,lang:t.lang,dir:"auto",children:t.entities.map((e,n)=>ce.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},n))}),nR=({tweet:t})=>{var e;return ce.jsxs(V9,{tweet:t,children:[ce.jsx(Y9,{tweet:t}),ce.jsx(tR,{tweet:t}),(e=t.mediaDetails)!=null&&e.length?ce.jsx(e_,{quoted:!0,tweet:t}):null]})},rR=({tweet:t,components:e})=>{var n;const r=qe.useMemo(()=>KO(t),[t]);return ce.jsxs(Vp,{children:[ce.jsx(kO,{tweet:r,components:e}),r.in_reply_to_status_id_str&&ce.jsx(RO,{tweet:r}),ce.jsx(LO,{tweet:r}),(n=r.mediaDetails)!=null&&n.length?ce.jsx(e_,{tweet:r,components:e}):null,r.quoted_tweet&&ce.jsx(nR,{tweet:r.quoted_tweet}),ce.jsx(_9,{tweet:r}),ce.jsx(W9,{tweet:r}),ce.jsx(z9,{tweet:r})]})},iR="_root_16yxa_1",oR={root:iR},aR=t=>ce.jsx(Vp,{children:ce.jsxs("div",{className:oR.root,children:[ce.jsx("h3",{children:"Tweet not found"}),ce.jsx("p",{children:"The embedded tweet could not be found…"})]})}),sR="_skeleton_oi7hr_1",cR={skeleton:sR},ma=({style:t})=>ce.jsx("span",{className:cR.skeleton,style:t}),lR="_root_17qqv_1",uR={root:lR},fR=()=>ce.jsxs(Vp,{className:uR.root,children:[ce.jsx(ma,{style:{height:"3rem",marginBottom:"0.75rem"}}),ce.jsx(ma,{style:{height:"6rem",margin:"0.5rem 0"}}),ce.jsx("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),ce.jsx(ma,{style:{height:"2rem"}}),ce.jsx(ma,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var ya={exports:{}},Jf={};/**
249
- * @license React
250
- * use-sync-external-store-shim.production.js
251
- *
252
- * Copyright (c) Meta Platforms, Inc. and affiliates.
253
- *
254
- * This source code is licensed under the MIT license found in the
255
- * LICENSE file in the root directory of this source tree.
256
- */var e0;function dR(){if(e0)return Jf;e0=1;var t=qe;function e(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,i=t.useEffect,o=t.useLayoutEffect,a=t.useDebugValue;function s(f,d){var h=d(),p=r({inst:{value:h,getSnapshot:d}}),m=p[0].inst,g=p[1];return o(function(){m.value=h,m.getSnapshot=d,c(m)&&g({inst:m})},[f,h,d]),i(function(){return c(m)&&g({inst:m}),f(function(){c(m)&&g({inst:m})})},[f]),a(h),h}function c(f){var d=f.getSnapshot;f=f.value;try{var h=d();return!n(f,h)}catch{return!0}}function l(f,d){return d()}var u=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:s;return Jf.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:u,Jf}var Zf={};/**
257
- * @license React
258
- * use-sync-external-store-shim.development.js
259
- *
260
- * Copyright (c) Meta Platforms, Inc. and affiliates.
261
- *
262
- * This source code is licensed under the MIT license found in the
263
- * LICENSE file in the root directory of this source tree.
264
- */var t0;function hR(){return t0||(t0=1,process.env.NODE_ENV!=="production"&&function(){function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}function e(h,p){u||i.startTransition===void 0||(u=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var m=p();if(!f){var g=p();o(m,g)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}g=a({inst:{value:m,getSnapshot:p}});var y=g[0].inst,b=g[1];return c(function(){y.value=m,y.getSnapshot=p,n(y)&&b({inst:y})},[h,m,p]),s(function(){return n(y)&&b({inst:y}),h(function(){n(y)&&b({inst:y})})},[h]),l(m),m}function n(h){var p=h.getSnapshot;h=h.value;try{var m=p();return!o(h,m)}catch{return!0}}function r(h,p){return p()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=qe,o=typeof Object.is=="function"?Object.is:t,a=i.useState,s=i.useEffect,c=i.useLayoutEffect,l=i.useDebugValue,u=!1,f=!1,d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:e;Zf.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:d,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Zf}var n0;function pR(){return n0||(n0=1,process.env.NODE_ENV==="production"?ya.exports=dR():ya.exports=hR()),ya.exports}var gR=pR();const t_=0,n_=1,r_=2,r0=3;var i0=Object.prototype.hasOwnProperty;function Hd(t,e){var n,r;if(t===e)return!0;if(t&&e&&(n=t.constructor)===e.constructor){if(n===Date)return t.getTime()===e.getTime();if(n===RegExp)return t.toString()===e.toString();if(n===Array){if((r=t.length)===e.length)for(;r--&&Hd(t[r],e[r]););return r===-1}if(!n||typeof t=="object"){r=0;for(n in t)if(i0.call(t,n)&&++r&&!i0.call(e,n)||!(n in e)||!Hd(t[n],e[n]))return!1;return Object.keys(e).length===r}}return t!==t&&e!==e}const On=new WeakMap,or=()=>{},xt=or(),Xd=Object,Me=t=>t===xt,dn=t=>typeof t=="function",hr=(t,e)=>({...t,...e}),i_=t=>dn(t.then),Yf={},ba={},Hp="undefined",qo=typeof window!=Hp,Gd=typeof document!=Hp,mR=qo&&"Deno"in window,yR=()=>qo&&typeof window.requestAnimationFrame!=Hp,o_=(t,e)=>{const n=On.get(t);return[()=>!Me(e)&&t.get(e)||Yf,r=>{if(!Me(e)){const i=t.get(e);e in ba||(ba[e]=i),n[5](e,hr(i,r),i||Yf)}},n[6],()=>!Me(e)&&e in ba?ba[e]:!Me(e)&&t.get(e)||Yf]};let Kd=!0;const bR=()=>Kd,[Jd,Zd]=qo&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[or,or],vR=()=>{const t=Gd&&document.visibilityState;return Me(t)||t!=="hidden"},xR=t=>(Gd&&document.addEventListener("visibilitychange",t),Jd("focus",t),()=>{Gd&&document.removeEventListener("visibilitychange",t),Zd("focus",t)}),DR=t=>{const e=()=>{Kd=!0,t()},n=()=>{Kd=!1};return Jd("online",e),Jd("offline",n),()=>{Zd("online",e),Zd("offline",n)}},wR={isOnline:bR,isVisible:vR},_R={initFocus:xR,initReconnect:DR},o0=!qe.useId,Ro=!qo||mR,TR=t=>yR()?window.requestAnimationFrame(t):setTimeout(t,1),Qf=Ro?qe.useEffect:qe.useLayoutEffect,ed=typeof navigator<"u"&&navigator.connection,a0=!Ro&&ed&&(["slow-2g","2g"].includes(ed.effectiveType)||ed.saveData),va=new WeakMap,td=(t,e)=>Xd.prototype.toString.call(t)===`[object ${e}]`;let ER=0;const Yd=t=>{const e=typeof t,n=td(t,"Date"),r=td(t,"RegExp"),i=td(t,"Object");let o,a;if(Xd(t)===t&&!n&&!r){if(o=va.get(t),o)return o;if(o=++ER+"~",va.set(t,o),Array.isArray(t)){for(o="@",a=0;a<t.length;a++)o+=Yd(t[a])+",";va.set(t,o)}if(i){o="#";const s=Xd.keys(t).sort();for(;!Me(a=s.pop());)Me(t[a])||(o+=a+":"+Yd(t[a])+",");va.set(t,o)}}else o=n?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Xp=t=>{if(dn(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Yd(t):"",[t,e]};let CR=0;const Qd=()=>++CR;async function a_(...t){const[e,n,r,i]=t,o=hr({populateCache:!0,throwOnError:!0},typeof i=="boolean"?{revalidate:i}:i||{});let a=o.populateCache;const s=o.rollbackOnError;let c=o.optimisticData;const l=d=>typeof s=="function"?s(d):s!==!1,u=o.throwOnError;if(dn(n)){const d=n,h=[],p=e.keys();for(const m of p)!/^\$(inf|sub)\$/.test(m)&&d(e.get(m)._k)&&h.push(m);return Promise.all(h.map(f))}return f(n);async function f(d){const[h]=Xp(d);if(!h)return;const[p,m]=o_(e,h),[g,y,b,v]=On.get(e),T=()=>{const k=g[h];return(dn(o.revalidate)?o.revalidate(p().data,d):o.revalidate!==!1)&&(delete b[h],delete v[h],k&&k[0])?k[0](r_).then(()=>p().data):p().data};if(t.length<3)return T();let w=r,E;const S=Qd();y[h]=[S,0];const U=!Me(c),C=p(),R=C.data,L=C._c,_=Me(L)?R:L;if(U&&(c=dn(c)?c(_,R):c,m({data:c,_c:_})),dn(w))try{w=w(_)}catch(k){E=k}if(w&&i_(w))if(w=await w.catch(k=>{E=k}),S!==y[h][0]){if(E)throw E;return w}else E&&U&&l(E)&&(a=!0,m({data:_,_c:xt}));if(a&&!E)if(dn(a)){const k=a(w,_);m({data:k,error:xt,_c:xt})}else m({data:w,error:xt,_c:xt});if(y[h][1]=Qd(),Promise.resolve(T()).then(()=>{m({_c:xt})}),E){if(u)throw E;return}return w}}const s0=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},SR=(t,e)=>{if(!On.has(t)){const n=hr(_R,e),r={},i=a_.bind(xt,t);let o=or;const a={},s=(u,f)=>{const d=a[u]||[];return a[u]=d,d.push(f),()=>d.splice(d.indexOf(f),1)},c=(u,f,d)=>{t.set(u,f);const h=a[u];if(h)for(const p of h)p(f,d)},l=()=>{if(!On.has(t)&&(On.set(t,[r,{},{},{},i,c,s]),!Ro)){const u=n.initFocus(setTimeout.bind(xt,s0.bind(xt,r,t_))),f=n.initReconnect(setTimeout.bind(xt,s0.bind(xt,r,n_)));o=()=>{u&&u(),f&&f(),On.delete(t)}}};return l(),[t,i,l,o]}return[t,On.get(t)[4]]},AR=(t,e,n,r,i)=>{const o=n.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!Me(o)&&a>o||setTimeout(r,s,i)},UR=Hd,[s_,kR]=SR(new Map),FR=hr({onLoadingSlow:or,onSuccess:or,onError:or,onErrorRetry:AR,onDiscarded:or,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:a0?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:a0?5e3:3e3,compare:UR,isPaused:()=>!1,cache:s_,mutate:kR,fallback:{}},wR),OR=(t,e)=>{const n=hr(t,e);if(e){const{use:r,fallback:i}=t,{use:o,fallback:a}=e;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=hr(i,a))}return n},RR=qe.createContext({}),NR="$inf$",c_=qo&&window.__SWR_DEVTOOLS_USE__,BR=c_?window.__SWR_DEVTOOLS_USE__:[],IR=()=>{c_&&(window.__SWR_DEVTOOLS_REACT__=qe)},MR=t=>dn(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],WR=()=>hr(FR,qe.useContext(RR)),LR=t=>(e,n,r)=>t(e,n&&((...o)=>{const[a]=Xp(e),[,,,s]=On.get(s_);if(a.startsWith(NR))return n(...o);const c=s[a];return Me(c)?n(...o):(delete s[a],c)}),r),PR=BR.concat(LR),qR=t=>function(...n){const r=WR(),[i,o,a]=MR(n),s=OR(r,a);let c=t;const{use:l}=s,u=(l||[]).concat(PR);for(let f=u.length;f--;)c=u[f](c);return c(i,o||s.fetcher||null,s)},zR=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i>=0&&(r[i]=r[r.length-1],r.pop())}};IR();const nd=qe.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t}}),rd={dedupe:!0},jR=(t,e,n)=>{const{cache:r,compare:i,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:l,refreshWhenHidden:u,refreshWhenOffline:f,keepPreviousData:d}=n,[h,p,m,g]=On.get(r),[y,b]=Xp(t),v=qe.useRef(!1),T=qe.useRef(!1),w=qe.useRef(y),E=qe.useRef(e),S=qe.useRef(n),U=()=>S.current,C=()=>U().isVisible()&&U().isOnline(),[R,L,_,k]=o_(r,y),x=qe.useRef({}).current,z=Me(a)?Me(n.fallback)?xt:n.fallback[y]:a,F=(be,D)=>{for(const V in x){const j=V;if(j==="data"){if(!i(be[j],D[j])&&(!Me(be[j])||!i(J,D[j])))return!1}else if(D[j]!==be[j])return!1}return!0},I=qe.useMemo(()=>{const be=!y||!e?!1:Me(s)?U().isPaused()||o?!1:c!==!1:s,D=ie=>{const ne=hr(ie);return delete ne._k,be?{isValidating:!0,isLoading:!0,...ne}:ne},V=R(),j=k(),M=D(V),N=V===j?M:D(j);let $=M;return[()=>{const ie=D(R());return F(ie,$)?($.data=ie.data,$.isLoading=ie.isLoading,$.isValidating=ie.isValidating,$.error=ie.error,$):($=ie,ie)},()=>N]},[r,y]),K=gR.useSyncExternalStore(qe.useCallback(be=>_(y,(D,V)=>{F(V,D)||be()}),[r,y]),I[0],I[1]),P=!v.current,te=h[y]&&h[y].length>0,W=K.data,B=Me(W)?z&&i_(z)?nd(z):z:W,oe=K.error,X=qe.useRef(B),J=d?Me(W)?Me(X.current)?B:X.current:W:B,le=te&&!Me(oe)?!1:P&&!Me(s)?s:U().isPaused()?!1:o?Me(B)?!1:c:Me(B)||c,he=!!(y&&e&&P&&le),fe=Me(K.isValidating)?he:K.isValidating,me=Me(K.isLoading)?he:K.isLoading,de=qe.useCallback(async be=>{const D=E.current;if(!y||!D||T.current||U().isPaused())return!1;let V,j,M=!0;const N=be||{},$=!m[y]||!N.dedupe,ie=()=>o0?!T.current&&y===w.current&&v.current:y===w.current,ne={isValidating:!1,isLoading:!1},Z=()=>{L(ne)},q=()=>{const Y=m[y];Y&&Y[1]===j&&delete m[y]},G={isValidating:!0};Me(R().data)&&(G.isLoading=!0);try{if($&&(L(G),n.loadingTimeout&&Me(R().data)&&setTimeout(()=>{M&&ie()&&U().onLoadingSlow(y,n)},n.loadingTimeout),m[y]=[D(b),Qd()]),[V,j]=m[y],V=await V,$&&setTimeout(q,n.dedupingInterval),!m[y]||m[y][1]!==j)return $&&ie()&&U().onDiscarded(y),!1;ne.error=xt;const Y=p[y];if(!Me(Y)&&(j<=Y[0]||j<=Y[1]||Y[1]===0))return Z(),$&&ie()&&U().onDiscarded(y),!1;const ae=R().data;ne.data=i(ae,V)?ae:V,$&&ie()&&U().onSuccess(V,y,n)}catch(Y){q();const ae=U(),{shouldRetryOnError:xe}=ae;ae.isPaused()||(ne.error=Y,$&&ie()&&(ae.onError(Y,y,ae),(xe===!0||dn(xe)&&xe(Y))&&(!U().revalidateOnFocus||!U().revalidateOnReconnect||C())&&ae.onErrorRetry(Y,y,ae,Te=>{const Se=h[y];Se&&Se[0]&&Se[0](r0,Te)},{retryCount:(N.retryCount||0)+1,dedupe:!0})))}return M=!1,Z(),!0},[y,r]),ge=qe.useCallback((...be)=>a_(r,w.current,...be),[]);if(Qf(()=>{E.current=e,S.current=n,Me(W)||(X.current=W)}),Qf(()=>{if(!y)return;const be=de.bind(xt,rd);let D=0;const j=zR(y,h,(M,N={})=>{if(M==t_){const $=Date.now();U().revalidateOnFocus&&$>D&&C()&&(D=$+U().focusThrottleInterval,be())}else if(M==n_)U().revalidateOnReconnect&&C()&&be();else{if(M==r_)return de();if(M==r0)return de(N)}});return T.current=!1,w.current=y,v.current=!0,L({_k:b}),le&&(Me(B)||Ro?be():TR(be)),()=>{T.current=!0,j()}},[y]),Qf(()=>{let be;function D(){const j=dn(l)?l(R().data):l;j&&be!==-1&&(be=setTimeout(V,j))}function V(){!R().error&&(u||U().isVisible())&&(f||U().isOnline())?de(rd).then(D):D()}return D(),()=>{be&&(clearTimeout(be),be=-1)}},[l,u,f,y]),qe.useDebugValue(J),o&&Me(B)&&y){if(!o0&&Ro)throw new Error("Fallback data is required when using Suspense in SSR.");E.current=e,S.current=n,T.current=!1;const be=g[y];if(!Me(be)){const D=ge(be);nd(D)}if(Me(oe)){const D=de(rd);Me(J)||(D.status="fulfilled",D.value=!0),nd(D)}else throw oe}return{mutate:ge,get data(){return x.data=!0,J},get error(){return x.error=!0,oe},get isValidating(){return x.isValidating=!0,fe},get isLoading(){return x.isLoading=!0,me}}},c0=qR(jR);class $R extends Error{constructor({message:e,status:n,data:r}){super(e),this.name="TwitterApiError",this.status=n,this.data=r}}const VR=c0.default||c0,HR="https://react-tweet.vercel.app";async function XR([t,e]){const n=await fetch(t,e),r=await n.json();if(n.ok)return r.data||null;throw new $R({message:`Failed to fetch tweet at "${t}" with "${n.status}".`,data:r,status:n.status})}const GR=(t,e,n)=>{const{isLoading:r,data:i,error:o}=VR(()=>e||t?[e||t&&`${HR}/api/tweet/${t}`,n]:null,XR,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(r||i===void 0&&!o),data:i,error:o}},KR=({id:t,apiUrl:e,fallback:n=ce.jsx(fR,{}),components:r,fetchOptions:i,onError:o})=>{const{data:a,error:s,isLoading:c}=GR(t,e,i);if(c)return n;if(s||!a){const l=(r==null?void 0:r.TweetNotFound)||aR;return ce.jsx(l,{error:o?o(s):s})}return ce.jsx(rR,{tweet:a,components:r})};exports.AllSelection=It;exports.CellSelection=Ke;exports.DOMParser=xi;exports.DOMSerializer=zr;exports.Decoration=pt;exports.DecorationSet=Je;exports.EditorState=fi;exports.EditorView=W3;exports.Fragment=pe;exports.Node=rn;exports.NodeRange=go;exports.NodeSelection=Ae;exports.Plugin=jr;exports.PluginKey=ki;exports.ReplaceAroundStep=at;exports.ReplaceStep=ot;exports.Schema=A_;exports.Selection=Fe;exports.SelectionRange=oh;exports.Slice=_e;exports.TextSelection=Be;exports.Transform=ih;exports.Tweet=KR;exports.VisibilitySensor=Q6;exports.addColumnAfter=j8;exports.addColumnBefore=z8;exports.addRowAfter=G8;exports.addRowBefore=X8;exports.canJoin=Ui;exports.canSplit=hi;exports.clamp=hA;exports.clsx=pn;exports.columnResizing=mk;exports.createParagraphNear=Av;exports.cva=j5;exports.d=q5;exports.debounce=ix;exports.deepEqual=A4;exports.deleteColumn=V8;exports.deleteRow=J8;exports.deleteSelection=yh;exports.deleteTable=ak;exports.differenceBy=SU;exports.dropCursor=b8;exports.exitCode=Q3;exports.find=c8;exports.findWrapping=nh;exports.fixTables=Ix;exports.gapCursor=w8;exports.goToNextCell=ok;exports.history=y8;exports.i=iO;exports.isNumber=UU;exports.joinBackward=Dv;exports.joinDown=Z3;exports.joinForward=Ev;exports.joinPoint=rh;exports.joinTextblockBackward=G3;exports.joinTextblockForward=K3;exports.joinUp=J3;exports.keymap=X3;exports.lift=Y3;exports.liftEmptyBlock=Uv;exports.liftListItem=fE;exports.liftTarget=Ai;exports.mammoth=K6;exports.mergeCells=Y8;exports.newlineInCode=Sv;exports.redo=Fx;exports.registerCustomProtocol=a8;exports.reset=o8;exports.selectNodeBackward=_v;exports.selectNodeForward=Cv;exports.selectParentNode=nE;exports.selectTextblockEnd=oE;exports.selectTextblockStart=iE;exports.setBlockType=sE;exports.setCellAttr=tk;exports.sinkListItem=pE;exports.splitCell=Q8;exports.tableEditing=Ck;exports.throttle=GU;exports.toggleHeader=Ys;exports.toggleHeaderCell=rk;exports.tokenize=qh;exports.truncate=YU;exports.twMerge=k5;exports.undo=kx;exports.wrapIn=aE;exports.wrapInList=cE;exports.x=z5;