reactjs-tiptap-editor 0.1.14 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/RichTextEditor-BFCJg7ap.cjs +138 -0
- package/lib/RichTextEditor-CqUsKvdf.js +4887 -0
- package/lib/extension-bundle.cjs +15 -0
- package/lib/extension-bundle.d.cts +919 -0
- package/lib/extension-bundle.d.ts +919 -0
- package/lib/extension-bundle.js +8501 -0
- package/lib/{locales--osbCzs-.js → index-BQSRMhtZ.js} +229 -181
- package/lib/index-CHZh3C0I.cjs +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +45 -1583
- package/lib/index.d.ts +45 -1583
- package/lib/index.js +12 -67
- package/lib/locale-bundle.cjs +1 -0
- package/lib/locale-bundle.d.cts +1145 -0
- package/lib/locale-bundle.d.ts +1145 -0
- package/lib/locale-bundle.js +9 -0
- package/lib/style.css +1 -1
- package/lib/{tiptap-CibBmg3k.js → tiptap-CB5MO02_.js} +1453 -1401
- package/lib/tiptap-DkTOfBkj.cjs +116 -0
- package/lib/vendor-BH8HYOJ4.cjs +354 -0
- package/lib/{vendor-CDx3V-R7.js → vendor-DiKgVtSS.js} +23737 -23443
- package/package.json +95 -82
- package/lib/bundle-full.cjs +0 -650
- package/lib/bundle-full.js +0 -82900
- package/lib/locales-DNzXvsXe.cjs +0 -1
- package/lib/tiptap-BWShr3Ps.cjs +0 -116
- package/lib/utils-CpXb61kA.cjs +0 -152
- package/lib/utils-DvW-fR8u.js +0 -13374
- package/lib/vendor-DhcRzB9P.cjs +0 -354
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
"use strict";const Dl=require("react"),UO=require("react-dom");function gn(t){this.content=t}gn.prototype={constructor:gn,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 gn(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 gn(n)},addToStart:function(t,e){return new gn([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new gn(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 gn(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=gn.from(t),t.size?new gn(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=gn.from(t),t.size?new gn(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=gn.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}};gn.from=function(t){if(t instanceof gn)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new gn(e)};function B_(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=B_(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function M_(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),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let c=0,f=Math.min(a.text.length,s.text.length);for(;c<f&&a.text[a.text.length-c-1]==s.text[s.text.length-c-1];)c++,n--,r--;return{a:n,b:r}}if(a.content.size||s.content.size){let c=M_(a.content,s.content,n-1,r-1);if(c)return c}n-=l,r-=l}}class Ue{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 l=this.content[a],c=s+l.nodeSize;if(c>e&&r(l,i+s,o||null,a)!==!1&&l.content.size){let f=s+1;l.nodesBetween(Math.max(0,e-f),Math.min(l.content.size,n-f),r,i+f)}s=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,l)=>{let c=s.isText?s.text.slice(Math.max(e,l)-l,n-l):s.isLeaf?i?typeof i=="function"?i(s):i:s.type.spec.leafText?s.type.spec.leafText(s):"":"";s.isBlock&&(s.isLeaf&&c||s.isTextblock)&&r&&(a?a=!1:o+=r),o+=c},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 Ue(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],l=a+s.nodeSize;l>e&&((a<e||l>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=l}return new Ue(r,i)}cutByIndex(e,n){return e==n?Ue.empty:e==0&&n==this.content.length?this:new Ue(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 Ue(i,o)}addToStart(e){return new Ue([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new Ue(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 B_(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return M_(this,e,n,r)}findIndex(e,n=-1){if(e==0)return Qh(0,e);if(e==this.size)return Qh(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?Qh(r+1,a):Qh(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 Ue.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new Ue(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return Ue.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 Ue(n||e,r)}static from(e){if(!e)return Ue.empty;if(e instanceof Ue)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new Ue([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}Ue.empty=new Ue([],0);const wb={index:0,offset:0};function Qh(t,e){return wb.index=t,wb.offset=e,wb}function Yp(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(!Yp(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!Yp(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}class mt{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&&Yp(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 mt.none;if(e instanceof mt)return[e];let n=e.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}}mt.none=[];class Zp extends Error{}class We{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=P_(this.content,e+this.openStart,n);return r&&new We(r,this.openStart,this.openEnd)}removeBetween(e,n){return new We(N_(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 We.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 We(Ue.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 We(e,r,i)}}We.empty=new We(Ue.empty,0,0);function N_(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(N_(o.content,e-i-1,n-i-1)))}function P_(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=P_(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function FO(t,e,n){if(n.openStart>t.depth)throw new Zp("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Zp("Inconsistent open depths");return W_(t,e,n,0)}function W_(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=W_(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 il(a,s.cut(0,t.parentOffset).append(n.content).append(s.cut(e.parentOffset)))}else{let{start:a,end:s}=RO(n,t);return il(o,z_(t,a,s,e,r))}else return il(o,Kp(t,e,r))}function L_(t,e){if(!e.type.compatibleContent(t.type))throw new Zp("Cannot join "+e.type.name+" onto "+t.type.name)}function $1(t,e,n){let r=t.node(n);return L_(r,e.node(n)),r}function rl(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 Kf(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&&(rl(t.nodeAfter,r),o++));for(let s=o;s<a;s++)rl(i.child(s),r);e&&e.depth==n&&e.textOffset&&rl(e.nodeBefore,r)}function il(t,e){return t.type.checkContent(e),t.copy(e)}function z_(t,e,n,r,i){let o=t.depth>i&&$1(t,e,i+1),a=r.depth>i&&$1(n,r,i+1),s=[];return Kf(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(L_(o,a),rl(il(o,z_(t,e,n,r,i+1)),s)):(o&&rl(il(o,Kp(t,e,i+1)),s),Kf(e,n,i,s),a&&rl(il(a,Kp(n,r,i+1)),s)),Kf(r,null,i,s),new Ue(s)}function Kp(t,e,n){let r=[];if(Kf(null,t,n,r),t.depth>n){let i=$1(t,e,n+1);rl(il(i,Kp(t,e,n+1)),r)}return Kf(e,null,n,r),new Ue(r)}function RO(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(Ue.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}class pd{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 mt.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 gd(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:l}=a.content.findIndex(o),c=o-l;if(r.push(a,s,i+l),!c||(a=a.child(s),a.isText))break;o=c-1,i+=l+1}return new pd(n,r,o)}static resolveCached(e,n){let r=jD.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 jD.set(e,r=new OO);let i=r.elts[r.i]=pd.resolve(e,n);return r.i=(r.i+1)%IO,i}}class OO{constructor(){this.elts=[],this.i=0}}const IO=12,jD=new WeakMap;class gd{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 BO=Object.create(null);let Ya=class j1{constructor(e,n,r,i=mt.none){this.type=e,this.attrs=n,this.marks=i,this.content=r||Ue.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&&Yp(this.attrs,n||e.defaultAttrs||BO)&&mt.sameSet(this.marks,r||mt.none)}copy(e=null){return e==this.content?this:new j1(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new j1(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 We.empty;let i=this.resolve(e),o=this.resolve(n),a=r?0:i.sharedDepth(n),s=i.start(a),c=i.node(a).content.cut(i.pos-s,o.pos-s);return new We(c,i.depth-a,o.depth-a)}replace(e,n,r){return FO(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 pd.resolveCached(this,e)}resolveNoCache(e){return pd.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()+")"),$_(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=Ue.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 l=i;l<o;l++)if(!this.type.allowsMarks(r.child(l).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=mt.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(!mt.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=Ue.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}};Ya.prototype.text=void 0;class Qp extends Ya{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):$_(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 Qp(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Qp(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 $_(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class ul{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new MO(e,n);if(r.next==null)return ul.empty;let i=j_(r);r.next&&r.err("Unexpected trailing text");let o=jO($O(i));return HO(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 l=a.matchFragment(e,r);if(l&&(!n||l.validEnd))return Ue.from(s.map(c=>c.createAndFill()));for(let c=0;c<a.next.length;c++){let{type:f,next:d}=a.next[c];if(!(f.isText||f.hasRequiredAttrs())&&i.indexOf(d)==-1){i.push(d);let p=o(d,s.concat(f));if(p)return p}}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:l}=o.next[a];!s.isLeaf&&!s.hasRequiredAttrs()&&!(s.name in n)&&(!i.type||l.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
|
+
`)}}ul.empty=new ul(!0);class MO{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 j_(t){let e=[];do e.push(NO(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function NO(t){let e=[];do e.push(PO(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function PO(t){let e=zO(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=WO(t,e);else break;return e}function HD(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function WO(t,e){let n=HD(t),r=n;return t.eat(",")&&(t.next!="}"?r=HD(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function LO(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 zO(t){if(t.eat("(")){let e=j_(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=LO(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 $O(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,l){let c={term:l,to:s};return e[a].push(c),c}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,c)=>l.concat(o(c,s)),[]);if(a.type=="seq")for(let l=0;;l++){let c=o(a.exprs[l],s);if(l==a.exprs.length-1)return c;i(c,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let c=0;c<a.min;c++){let f=n();i(o(a.expr,l),f),l=f}if(a.max==-1)i(o(a.expr,l),l);else for(let c=a.min;c<a.max;c++){let f=n();r(l,f),i(o(a.expr,l),f),l=f}return[r(l)]}else{if(a.type=="name")return[r(s,void 0,a.value)];throw new Error("Unknown expr type")}}}}function H_(t,e){return e-t}function VD(t,e){let n=[];return r(e),n.sort(H_);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:l}=o[a];!s&&n.indexOf(l)==-1&&r(l)}}}function jO(t){let e=Object.create(null);return n(VD(t,0));function n(r){let i=[];r.forEach(a=>{t[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let f=0;f<i.length;f++)i[f][0]==s&&(c=i[f][1]);VD(t,l).forEach(f=>{c||i.push([s,c=[]]),c.indexOf(f)==-1&&c.push(f)})})});let o=e[r.join(",")]=new ul(r.indexOf(t.length-1)>-1);for(let a=0;a<i.length;a++){let s=i[a][1].sort(H_);o.next.push({type:i[a][0],next:e[s.join(",")]||n(s)})}return o}}function HO(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:l,next:c}=i.next[s];a.push(l.name),o&&!(l.isText||l.hasRequiredAttrs())&&(o=!1),r.indexOf(c)==-1&&r.push(c)}o&&e.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function V_(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 q_(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 X_(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 G_(t,e){let n=Object.create(null);if(e)for(let r in e)n[r]=new qO(t,r,e[r]);return n}let qD=class J_{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=G_(e,r.attrs),this.defaultAttrs=V_(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==ul.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:q_(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Ya(this,this.computeAttrs(e),Ue.from(n),mt.setFrom(r))}createChecked(e=null,n,r){return n=Ue.from(n),this.checkContent(n),new Ya(this,this.computeAttrs(e),n,mt.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=Ue.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(Ue.empty,!0);return o?new Ya(this,e,n.append(o),mt.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){X_(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:mt.none:e}static compile(e,n){let r=Object.create(null);e.forEach((o,a)=>r[o]=new J_(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 VO(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 qO{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?VO(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class pm{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=G_(e,i.attrs),this.excluded=null;let o=V_(this.attrs);this.instance=o?new mt(this,o):null}create(e=null){return!e&&this.instance?this.instance:new mt(this,q_(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new pm(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){X_(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class XO{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=gn.from(e.nodes),n.marks=gn.from(e.marks||{}),this.nodes=qD.compile(this.spec.nodes,this),this.marks=pm.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]=ul.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?XD(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==""?[]:XD(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 qD){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 Qp(r,r.defaultAttrs,e,mt.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return Ya.fromJSON(this,e)}markFromJSON(e){return mt.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function XD(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 l=t.marks[s];(i=="_"||l.spec.group&&l.spec.group.split(" ").indexOf(i)>-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function GO(t){return t.tag!=null}function JO(t){return t.style!=null}let s2=class H1{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(GO(i))this.tags.push(i);else if(JO(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 JD(this,n,!1);return r.addAll(e,mt.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new JD(this,n,!0);return r.addAll(e,mt.none,n.from,n.to),We.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(KO(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 l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||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=YD(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=YD(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new H1(e,H1.schemaRules(e)))}};const Y_={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},YO={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Z_={ol:!0,ul:!0},md=1,V1=2,_p=4;function GD(t,e,n){return e!=null?(e?md:0)|(e==="full"?V1:0):t&&t.whitespace=="pre"?md|V1:n&-5}class ep{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=mt.none,this.match=o||(a&_p?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(Ue.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&md)){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=Ue.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(Ue.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&&!Y_.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class JD{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=GD(null,n.preserveWhitespace,0)|(r?_p:0);i?o=new ep(i.type,i.attrs,mt.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new ep(null,null,mt.none,!0,null,a):o=new ep(e.schema.topNodeType,null,mt.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&V1?"full":this.localPreserveWS||(i.options&md)>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;Z_.hasOwnProperty(a)&&this.parser.normalizeLists&&ZO(e);let l=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(s=this.parser.matchTag(e,this,r));e:if(l?l.ignore:YO.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,n);else if(!l||l.skip||l.closeParent){l&&l.closeParent?this.open=Math.max(0,this.open-1):l&&l.skip.nodeType&&(e=l.skip);let c,f=this.needsBlock;if(Y_.hasOwnProperty(a))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),c=!0,o.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,n);break e}let d=l&&l.skip?n:this.readStyles(e,n);d&&this.addAll(e,d),c&&this.sync(o),this.needsBlock=f}else{let c=this.readStyles(e,n);c&&this.addElementByRule(e,l,c,l.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 l=this.parser.matchStyle(o,a,this,s);if(!l)break;if(l.ignore)return null;if(l.clearMark?n=n.filter(c=>!l.clearMark(c)):n=n.concat(this.parser.schema.marks[l.mark].create(l.attrs)),l.consuming===!1)s=l;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 l=this.enter(a,n.attrs||null,r,n.preserveWhitespace);l&&(o=!0,r=l)}else{let l=this.parser.schema.marks[n.mark];r=r.concat(l.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(l=>this.insertNode(l,r));else{let l=e;typeof n.contentElement=="string"?l=e.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(e):n.contentElement&&(l=n.contentElement),this.findAround(e,l,!0),this.addAll(l,r),this.findAround(e,l,!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=mt.none;for(let a of r.concat(e.marks))(i.type?i.type.allowsMarkType(a.type):ZD(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=GD(e,o,a.options);a.options&_p&&a.content.length==0&&(s|=_p);let l=mt.none;return r=r.filter(c=>(a.type?a.type.allowsMarkType(c.type):ZD(c.type,e))?(l=c.addToSet(l),!1):!0),this.nodes.push(new ep(e,n,l,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|=md)}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,l)=>{for(;s>=0;s--){let c=n[s];if(c==""){if(s==n.length-1||s==0)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}else{let f=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!f||f.name!=c&&!f.isInGroup(c))return!1;l--}}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 ZO(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Z_.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function KO(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function YD(t){let e={};for(let n in t)e[n]=t[n];return e}function ZD(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 l=0;l<s.edgeCount;l++){let{type:c,next:f}=s.edge(l);if(c==e||o.indexOf(f)<0&&a(f))return!0}};if(a(i.contentMatch))return!0}}class wl{constructor(e,n){this.nodes=e,this.marks=n}serializeFragment(e,n={},r){r||(r=Sb(n).createDocumentFragment());let i=r,o=[];return e.forEach(a=>{if(o.length||a.marks.length){let s=0,l=0;for(;s<o.length&&l<a.marks.length;){let c=a.marks[l];if(!this.marks[c.type.name]){l++;continue}if(!c.eq(o[s][0])||c.type.spec.spanning===!1)break;s++,l++}for(;s<o.length;)i=o.pop()[1];for(;l<a.marks.length;){let c=a.marks[l++],f=this.serializeMark(c,a.isInline,n);f&&(o.push([c,i]),i.appendChild(f.dom),i=f.contentDOM||f.dom)}}i.appendChild(this.serializeNodeInner(a,n))}),r}serializeNodeInner(e,n){let{dom:r,contentDOM:i}=kp(Sb(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&&kp(Sb(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return kp(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new wl(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=KD(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return KD(e.marks)}}function KD(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Sb(t){return t.document||window.document}const QD=new WeakMap;function QO(t){let e=QD.get(t);return e===void 0&&QD.set(t,e=e5(t)),e}function e5(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 kp(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=QO(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,l=n?t.createElementNS(n,i):t.createElement(i),c=e[1],f=1;if(c&&typeof c=="object"&&c.nodeType==null&&!Array.isArray(c)){f=2;for(let d in c)if(c[d]!=null){let p=d.indexOf(" ");p>0?l.setAttributeNS(d.slice(0,p),d.slice(p+1),c[d]):l.setAttribute(d,c[d])}}for(let d=f;d<e.length;d++){let p=e[d];if(p===0){if(d<e.length-1||d>f)throw new RangeError("Content hole must be the only child of its parent node");return{dom:l,contentDOM:l}}else{let{dom:g,contentDOM:b}=kp(t,p,n,r);if(l.appendChild(g),b){if(s)throw new RangeError("Multiple content holes");s=b}}}return{dom:l,contentDOM:s}}const K_=65535,Q_=Math.pow(2,16);function t5(t,e){return t+e*Q_}function ew(t){return t&K_}function n5(t){return(t-(t&K_))/Q_}const ek=1,tk=2,Ap=4,nk=8;class q1{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&nk)>0}get deletedBefore(){return(this.delInfo&(ek|Ap))>0}get deletedAfter(){return(this.delInfo&(tk|Ap))>0}get deletedAcross(){return(this.delInfo&Ap)>0}}class _r{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&_r.empty)return _r.empty}recover(e){let n=0,r=ew(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+n5(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 l=this.ranges[s]-(this.inverted?i:0);if(l>e)break;let c=this.ranges[s+o],f=this.ranges[s+a],d=l+c;if(e<=d){let p=c?e==l?-1:e==d?1:n:n,g=l+i+(p<0?0:f);if(r)return g;let b=e==(n<0?l:d)?null:t5(s/3,e-l),x=e==l?tk:e==d?ek:Ap;return(n<0?e!=l:e!=d)&&(x|=nk),new q1(g,x,b)}i+=f-c}return r?e+i:new q1(e+i,0,null)}touches(e,n){let r=0,i=ew(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;s<this.ranges.length;s+=3){let l=this.ranges[s]-(this.inverted?r:0);if(l>e)break;let c=this.ranges[s+o],f=l+c;if(e<=f&&s==i*3)return!0;r+=this.ranges[s+a]-c}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),l=a+(this.inverted?0:o),c=this.ranges[i+n],f=this.ranges[i+r];e(s,s+c,l,l+f),o+=f-c}}invert(){return new _r(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?_r.empty:new _r(e<0?[0,-e,0]:[0,0,e])}}_r.empty=new _r([]);class Zc{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 Zc(this.maps,this.mirror,e,n)}copy(){return new Zc(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 Zc;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 l=this.getMirror(o);if(l!=null&&l>o&&l<this.to){o=l,e=this.maps[l].recover(s.recover);continue}}i|=s.delInfo,e=s.pos}return r?e:new q1(e,i,null)}}const Tb=Object.create(null);class In{getMap(){return _r.empty}merge(e){return null}static fromJSON(e,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=Tb[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 Tb)throw new RangeError("Duplicate use of step JSON ID "+e);return Tb[e]=n,n.prototype.jsonID=e,n}}class Vt{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new Vt(e,null)}static fail(e){return new Vt(null,e)}static fromReplace(e,n,r,i){try{return Vt.ok(e.replace(n,r,i))}catch(o){if(o instanceof Zp)return Vt.fail(o.message);throw o}}}function l2(t,e,n){let r=[];for(let i=0;i<t.childCount;i++){let o=t.child(i);o.content.size&&(o=o.copy(l2(o.content,e,o))),o.isInline&&(o=e(o,n,i)),r.push(o)}return Ue.fromArray(r)}class Va extends In{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 We(l2(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 Vt.fromReplace(e,this.from,this.to,o)}invert(){return new ji(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 Va(n.pos,r.pos,this.mark)}merge(e){return e instanceof Va&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Va(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 Va(n.from,n.to,e.markFromJSON(n.mark))}}In.jsonID("addMark",Va);class ji extends In{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 We(l2(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return Vt.fromReplace(e,this.from,this.to,r)}invert(){return new Va(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 ji(n.pos,r.pos,this.mark)}merge(e){return e instanceof ji&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new ji(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 ji(n.from,n.to,e.markFromJSON(n.mark))}}In.jsonID("removeMark",ji);class qa extends In{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Vt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Vt.fromReplace(e,this.pos,this.pos+1,new We(Ue.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 qa(this.pos,n.marks[i]);return new qa(this.pos,this.mark)}}return new su(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new qa(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 qa(n.pos,e.markFromJSON(n.mark))}}In.jsonID("addNodeMark",qa);class su extends In{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Vt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return Vt.fromReplace(e,this.pos,this.pos+1,new We(Ue.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new qa(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new su(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 su(n.pos,e.markFromJSON(n.mark))}}In.jsonID("removeNodeMark",su);class tn extends In{constructor(e,n,r,i=!1){super(),this.from=e,this.to=n,this.slice=r,this.structure=i}apply(e){return this.structure&&X1(e,this.from,this.to)?Vt.fail("Structure replace would overwrite content"):Vt.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new _r([this.from,this.to-this.from,this.slice.size])}invert(e){return new tn(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 tn(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(e){if(!(e instanceof tn)||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?We.empty:new We(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new tn(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?We.empty:new We(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new tn(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 tn(n.from,n.to,We.fromJSON(e,n.slice),!!n.structure)}}In.jsonID("replace",tn);class nn extends In{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&&(X1(e,this.from,this.gapFrom)||X1(e,this.gapTo,this.to)))return Vt.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return Vt.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?Vt.fromReplace(e,this.from,this.to,r):Vt.fail("Content does not fit in gap")}getMap(){return new _r([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 nn(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 nn(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 nn(n.from,n.to,n.gapFrom,n.gapTo,We.fromJSON(e,n.slice),n.insert,!!n.structure)}}In.jsonID("replaceAround",nn);function X1(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 r5(t,e,n,r){let i=[],o=[],a,s;t.doc.nodesBetween(e,n,(l,c,f)=>{if(!l.isInline)return;let d=l.marks;if(!r.isInSet(d)&&f.type.allowsMarkType(r.type)){let p=Math.max(c,e),g=Math.min(c+l.nodeSize,n),b=r.addToSet(d);for(let x=0;x<d.length;x++)d[x].isInSet(b)||(a&&a.to==p&&a.mark.eq(d[x])?a.to=g:i.push(a=new ji(p,g,d[x])));s&&s.to==p?s.to=g:o.push(s=new Va(p,g,r))}}),i.forEach(l=>t.step(l)),o.forEach(l=>t.step(l))}function i5(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(r instanceof pm){let c=a.marks,f;for(;f=r.isInSet(c);)(l||(l=[])).push(f),c=f.removeFromSet(c)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,n);for(let f=0;f<l.length;f++){let d=l[f],p;for(let g=0;g<i.length;g++){let b=i[g];b.step==o-1&&d.eq(i[g].style)&&(p=b)}p?(p.to=c,p.step=o):i.push({style:d,from:Math.max(s,e),to:c,step:o})}}}),i.forEach(a=>t.step(new ji(a.from,a.to,a.style)))}function c2(t,e,n,r=n.contentMatch,i=!0){let o=t.doc.nodeAt(e),a=[],s=e+1;for(let l=0;l<o.childCount;l++){let c=o.child(l),f=s+c.nodeSize,d=r.matchType(c.type);if(!d)a.push(new tn(s,f,We.empty));else{r=d;for(let p=0;p<c.marks.length;p++)n.allowsMarkType(c.marks[p].type)||t.step(new ji(s,f,c.marks[p]));if(i&&c.isText&&n.whitespace!="pre"){let p,g=/\r?\n|\r/g,b;for(;p=g.exec(c.text);)b||(b=new We(Ue.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),a.push(new tn(s+p.index,s+p.index+p[0].length,b))}}s=f}if(!r.validEnd){let l=r.fillBefore(Ue.empty,!0);t.replace(s,s,new We(l,0,0))}for(let l=a.length-1;l>=0;l--)t.step(a[l])}function o5(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function _u(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||!o5(i,o,a))break}return null}function a5(t,e,n){let{$from:r,$to:i,depth:o}=e,a=r.before(o+1),s=i.after(o+1),l=a,c=s,f=Ue.empty,d=0;for(let b=o,x=!1;b>n;b--)x||r.index(b)>0?(x=!0,f=Ue.from(r.node(b).copy(f)),d++):l--;let p=Ue.empty,g=0;for(let b=o,x=!1;b>n;b--)x||i.after(b+1)<i.end(b)?(x=!0,p=Ue.from(i.node(b).copy(p)),g++):c++;t.step(new nn(l,c,a,s,new We(f.append(p),d,g),f.size-d,!0))}function u2(t,e,n=null,r=t){let i=s5(t,e),o=i&&l5(r,e);return o?i.map(tw).concat({type:e,attrs:n}).concat(o.map(tw)):null}function tw(t){return{type:t,attrs:null}}function s5(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 l5(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 l=(a.length?a[a.length-1]:e).contentMatch;for(let c=r;l&&c<i;c++)l=l.matchType(n.child(c).type);return!l||!l.validEnd?null:a}function c5(t,e,n){let r=Ue.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=Ue.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new nn(i,o,i,o,new We(r,0,0),n.length,!0))}function u5(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 l=typeof i=="function"?i(a):i;if(a.isTextblock&&!a.hasMarkup(r,l)&&f5(t.doc,t.mapping.slice(o).map(s),r)){let c=null;if(r.schema.linebreakReplacement){let g=r.whitespace=="pre",b=!!r.contentMatch.matchType(r.schema.linebreakReplacement);g&&!b?c=!1:!g&&b&&(c=!0)}c===!1&&ik(t,a,s,o),c2(t,t.mapping.slice(o).map(s,1),r,void 0,c===null);let f=t.mapping.slice(o),d=f.map(s,1),p=f.map(s+a.nodeSize,1);return t.step(new nn(d,p,d+1,p-1,new We(Ue.from(r.create(l,null,a.marks)),0,0),1,!0)),c===!0&&rk(t,a,s,o),!1}})}function rk(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 l=t.mapping.slice(r).map(n+1+o+a.index);t.replaceWith(l,l+1,e.type.schema.linebreakReplacement.create())}}})}function ik(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 f5(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function d5(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 nn(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new We(Ue.from(a),0,0),1,!0))}function Kc(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 c=i.depth-1,f=n-2;c>o;c--,f--){let d=i.node(c),p=i.index(c);if(d.type.spec.isolating)return!1;let g=d.content.cutByIndex(p,d.childCount),b=r&&r[f+1];b&&(g=g.replaceChild(0,b.type.create(b.attrs)));let x=r&&r[f]||d;if(!d.canReplace(p+1,d.childCount)||!x.type.validContent(g))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function h5(t,e,n=1,r){let i=t.doc.resolve(e),o=Ue.empty,a=Ue.empty;for(let s=i.depth,l=i.depth-n,c=n-1;s>l;s--,c--){o=Ue.from(i.node(s).copy(o));let f=r&&r[c];a=Ue.from(f?f.type.create(f.attrs,a):i.node(s).copy(a))}t.step(new tn(e,e,new We(o.append(a),n,n),!0))}function ku(t,e){let n=t.resolve(e),r=n.index();return ok(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function p5(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 ok(t,e){return!!(t&&e&&!t.isLeaf&&p5(t,e))}function f2(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&&ok(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 g5(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 f=a.whitespace=="pre",d=!!a.contentMatch.matchType(i);f&&!d?r=!1:!f&&d&&(r=!0)}let s=t.steps.length;if(r===!1){let f=t.doc.resolve(e+n);ik(t,f.node(),f.before(),s)}a.inlineContent&&c2(t,e+n-1,a,o.node().contentMatchAt(o.index()),r==null);let l=t.mapping.slice(s),c=l.map(e-n);if(t.step(new tn(c,l.map(e+n,-1),We.empty,!0)),r===!0){let f=t.doc.resolve(c);rk(t,f.node(),f.before(),t.steps.length)}return t}function m5(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 ak(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,l=r.index(a)+(s>0?1:0),c=r.node(a),f=!1;if(o==1)f=c.canReplace(l,l,i);else{let d=c.contentMatchAt(l).findWrapping(i.firstChild.type);f=d&&c.canReplaceWith(l,l,d[0])}if(f)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function gm(t,e,n=e,r=We.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return sk(i,o,r)?new tn(e,n,r):new y5(i,o,r).fit()}function sk(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class y5{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=Ue.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=Ue.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):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 l=new We(o,a,s);return e>-1?new nn(r.pos,e,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new tn(r.pos,i.pos,l):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=Cb(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:l,match:c}=this.frontier[s],f,d=null;if(n==1&&(a?c.matchType(a.type)||(d=c.fillBefore(Ue.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:d};if(n==2&&a&&(f=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:f};if(o&&c.matchType(o.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=Cb(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new We(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=Cb(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new We(Xf(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new We(Xf(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 x=0;x<o.length;x++)this.openFrontierNode(o[x]);let a=this.unplaced,s=r?r.content:a.content,l=a.openStart-e,c=0,f=[],{match:d,type:p}=this.frontier[n];if(i){for(let x=0;x<i.childCount;x++)f.push(i.child(x));d=d.matchFragment(i)}let g=s.size+e-(a.content.size-a.openEnd);for(;c<s.childCount;){let x=s.child(c),v=d.matchType(x.type);if(!v)break;c++,(c>1||l==0||x.content.size)&&(d=v,f.push(lk(x.mark(p.allowedMarks(x.marks)),c==1?l:0,c==s.childCount?g:-1)))}let b=c==s.childCount;b||(g=-1),this.placed=Gf(this.placed,n,Ue.from(f)),this.frontier[n].match=d,b&&g<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let x=0,v=s;x<g;x++){let D=v.lastChild;this.frontier.push({type:D.type,match:D.contentMatchAt(D.childCount)}),v=D.content}this.unplaced=b?e==0?We.empty:new We(Xf(a.content,e-1,1),e-1,g<0?a.openEnd:e-1):new We(Xf(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],n;if(!e.type.isTextblock||!Eb(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=Eb(e,n,i,r,o);if(a){for(let s=n-1;s>=0;s--){let{match:l,type:c}=this.frontier[s],f=Eb(e,s,c,l,!0);if(!f||f.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=Gf(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=Gf(this.placed,this.depth,Ue.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(Ue.empty,!0);n.childCount&&(this.placed=Gf(this.placed,this.frontier.length,n))}}function Xf(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Xf(t.firstChild.content,e-1,n)))}function Gf(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Gf(t.lastChild.content,e-1,n)))}function Cb(t,e){for(let n=0;n<e;n++)t=t.firstChild.content;return t}function lk(t,e,n){if(e<=0)return t;let r=t.content;return e>1&&(r=r.replaceChild(0,lk(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(Ue.empty,!0)))),t.copy(r)}function Eb(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&&!b5(n,o.content,a)?s:null}function b5(t,e,n){for(let r=n;r<e.childCount;r++)if(!t.allowsMarks(e.child(r).marks))return!0;return!1}function v5(t){return t.spec.defining||t.spec.definingForContent}function x5(t,e,n,r){if(!r.size)return t.deleteRange(e,n);let i=t.doc.resolve(e),o=t.doc.resolve(n);if(sk(i,o,r))return t.step(new tn(e,n,r));let a=uk(i,t.doc.resolve(n));a[a.length-1]==0&&a.pop();let s=-(i.depth+1);a.unshift(s);for(let p=i.depth,g=i.pos-1;p>0;p--,g--){let b=i.node(p).type.spec;if(b.defining||b.definingAsContext||b.isolating)break;a.indexOf(p)>-1?s=p:i.before(p)==g&&a.splice(1,0,-p)}let l=a.indexOf(s),c=[],f=r.openStart;for(let p=r.content,g=0;;g++){let b=p.firstChild;if(c.push(b),g==r.openStart)break;p=b.content}for(let p=f-1;p>=0;p--){let g=c[p],b=v5(g.type);if(b&&!g.sameMarkup(i.node(Math.abs(s)-1)))f=p;else if(b||!g.type.isTextblock)break}for(let p=r.openStart;p>=0;p--){let g=(p+f+1)%(r.openStart+1),b=c[g];if(b)for(let x=0;x<a.length;x++){let v=a[(x+l)%a.length],D=!0;v<0&&(D=!1,v=-v);let S=i.node(v-1),E=i.index(v-1);if(S.canReplaceWith(E,E,b.type,b.marks))return t.replace(i.before(v),D?o.after(v):n,new We(ck(r.content,0,r.openStart,g),g,r.openEnd))}}let d=t.steps.length;for(let p=a.length-1;p>=0&&(t.replace(e,n,r),!(t.steps.length>d));p--){let g=a[p];g<0||(e=i.before(g),n=o.after(g))}}function ck(t,e,n,r,i){if(e<n){let o=t.firstChild;t=t.replaceChild(0,o.copy(ck(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(Ue.empty,!0))}return t}function D5(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=m5(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new We(Ue.from(r),0,0))}function w5(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=uk(r,i);for(let a=0;a<o.length;a++){let s=o[a],l=a==o.length-1;if(l&&s==0||r.node(s).type.contentMatch.validEnd)return t.delete(r.start(s),i.end(s));if(s>0&&(l||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 uk(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 Qc extends In{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 Vt.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 Vt.fromReplace(e,this.pos,this.pos+1,new We(Ue.from(i),0,n.isLeaf?0:1))}getMap(){return _r.empty}invert(e){return new Qc(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 Qc(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 Qc(n.pos,n.attr,n.value)}}In.jsonID("attr",Qc);class yd extends In{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 Vt.ok(r)}getMap(){return _r.empty}invert(e){return new yd(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 yd(n.attr,n.value)}}In.jsonID("docAttr",yd);let lu=class extends Error{};lu=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};lu.prototype=Object.create(Error.prototype);lu.prototype.constructor=lu;lu.prototype.name="TransformError";class d2{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new Zc}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new lu(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=We.empty){let i=gm(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new We(Ue.from(r),0,0))}delete(e,n){return this.replace(e,n,We.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return x5(this,e,n,r),this}replaceRangeWith(e,n,r){return D5(this,e,n,r),this}deleteRange(e,n){return w5(this,e,n),this}lift(e,n){return a5(this,e,n),this}join(e,n=1){return g5(this,e,n),this}wrap(e,n){return c5(this,e,n),this}setBlockType(e,n=e,r,i=null){return u5(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return d5(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new Qc(e,n,r)),this}setDocAttribute(e,n){return this.step(new yd(e,n)),this}addNodeMark(e,n){return this.step(new qa(e,n)),this}removeNodeMark(e,n){if(!(n instanceof mt)){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 su(e,n)),this}split(e,n=1,r){return h5(this,e,n,r),this}addMark(e,n,r){return r5(this,e,n,r),this}removeMark(e,n,r){return i5(this,e,n,r),this}clearIncompatible(e,n,r){return c2(this,e,n,r),this}}const _b=Object.create(null);class Qe{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new h2(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=We.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:l,$to:c}=a[s],f=e.mapping.slice(o);e.replaceRange(f.map(l.pos),f.map(c.pos),s?We.empty:n),s==0&&iw(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],l=e.mapping.slice(r),c=l.map(a.pos),f=l.map(s.pos);o?e.deleteRange(c,f):(e.replaceRangeWith(c,f,n),iw(e,r,n.isInline?-1:1))}}static findFrom(e,n,r=!1){let i=e.parent.inlineContent?new st(e):$c(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?$c(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):$c(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 Ar(e.node(0))}static atStart(e){return $c(e,e,0,0,1)||new Ar(e)}static atEnd(e){return $c(e,e,e.content.size,e.childCount,-1)||new Ar(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=_b[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 _b)throw new RangeError("Duplicate use of selection JSON ID "+e);return _b[e]=n,n.prototype.jsonID=e,n}getBookmark(){return st.between(this.$anchor,this.$head).getBookmark()}}Qe.prototype.visible=!0;class h2{constructor(e,n){this.$from=e,this.$to=n}}let nw=!1;function rw(t){!nw&&!t.parent.inlineContent&&(nw=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class st extends Qe{constructor(e,n=e){rw(e),rw(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 Qe.near(r);let i=e.resolve(n.map(this.anchor));return new st(i.parent.inlineContent?i:r,r)}replace(e,n=We.empty){if(super.replace(e,n),n==We.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof st&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new mm(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 st(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=Qe.findFrom(n,r,!0)||Qe.findFrom(n,-r,!0);if(o)n=o.$head;else return Qe.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(Qe.findFrom(e,-r,!0)||Qe.findFrom(e,r,!0)).$anchor,e.pos<n.pos!=i<0&&(e=n))),new st(e,n)}}Qe.jsonID("text",st);class mm{constructor(e,n){this.anchor=e,this.head=n}map(e){return new mm(e.map(this.anchor),e.map(this.head))}resolve(e){return st.between(e.resolve(this.anchor),e.resolve(this.head))}}class Ge extends Qe{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?Qe.near(o):new Ge(o)}content(){return new We(Ue.from(this.node),0,0)}eq(e){return e instanceof Ge&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new p2(this.anchor)}static fromJSON(e,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Ge(e.resolve(n.anchor))}static create(e,n){return new Ge(e.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Ge.prototype.visible=!1;Qe.jsonID("node",Ge);class p2{constructor(e){this.anchor=e}map(e){let{deleted:n,pos:r}=e.mapResult(this.anchor);return n?new mm(r,r):new p2(r)}resolve(e){let n=e.resolve(this.anchor),r=n.nodeAfter;return r&&Ge.isSelectable(r)?new Ge(n):Qe.near(n)}}class Ar extends Qe{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,n=We.empty){if(n==We.empty){e.delete(0,e.doc.content.size);let r=Qe.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,n)}toJSON(){return{type:"all"}}static fromJSON(e){return new Ar(e)}map(e){return new Ar(e)}eq(e){return e instanceof Ar}getBookmark(){return S5}}Qe.jsonID("all",Ar);const S5={map(){return this},resolve(t){return new Ar(t)}};function $c(t,e,n,r,i,o=!1){if(e.inlineContent)return st.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&&Ge.isSelectable(s))return Ge.create(t,n-(i<0?s.nodeSize:0))}else{let l=$c(t,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function iw(t,e,n){let r=t.steps.length-1;if(r<e)return;let i=t.steps[r];if(!(i instanceof tn||i instanceof nn))return;let o=t.mapping.maps[r],a;o.forEach((s,l,c,f)=>{a==null&&(a=f)}),t.setSelection(Qe.near(t.doc.resolve(a),n))}const ow=1,aw=2,sw=4;let T5=class extends d2{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|ow)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&ow)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=aw,this}ensureMarks(e){return mt.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&aw)>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)||mt.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(Qe.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|=sw,this}get scrolledIntoView(){return(this.updated&sw)>0}};function lw(t,e){return!e||!t?t:t.bind(e)}class Jf{constructor(e,n,r){this.name=e,this.init=lw(n.init,r),this.apply=lw(n.apply,r)}}const C5=[new Jf("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Jf("selection",{init(t,e){return t.selection||Qe.atStart(e.doc)},apply(t){return t.selection}}),new Jf("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new Jf("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class kb{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=C5.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 Jf(r.key,r.spec.state,r))})}}class Xc{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 l=i?i[a].n:0,c=i?i[a].state:this,f=l<n.length&&s.spec.appendTransaction.call(s,l?n.slice(l):n,c,r);if(f&&r.filterTransaction(f,a)){if(f.setMeta("appendedTransaction",e),!i){i=[];for(let d=0;d<this.config.plugins.length;d++)i.push(d<a?{state:r,n:n.length}:{state:this,n:0})}n.push(f),r=r.applyInner(f),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 Xc(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 T5(this)}static create(e){let n=new kb(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new Xc(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 kb(this.schema,e.plugins),r=n.fields,i=new Xc(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 kb(e.schema,e.plugins),o=new Xc(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=Ya.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=Qe.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 l=r[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=c.fromJSON.call(l,e,n[s],o);return}}o[a.name]=a.init(e,o)}}),o}}function fk(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=fk(i,e,{})),n[r]=i}return n}class Sl{constructor(e){this.spec=e,this.props={},e.props&&fk(e.props,this,this.props),this.key=e.key?e.key.key:dk("plugin")}getState(e){return e[this.key]}}const Ab=Object.create(null);function dk(t){return t in Ab?t+"$"+ ++Ab[t]:(Ab[t]=0,t+"$")}class Go{constructor(e="key"){this.key=dk(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const mn=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},bd=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let G1=null;const Bo=function(t,e,n){let r=G1||(G1=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},E5=function(){G1=null},fl=function(t,e,n,r){return n&&(cw(t,e,n,r,-1)||cw(t,e,n,r,1))},_5=/^(img|br|input|textarea|hr)$/i;function cw(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:Zr(t))){let o=t.parentNode;if(!o||o.nodeType!=1||Yd(t)||_5.test(t.nodeName)||t.contentEditable=="false")return!1;e=mn(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?Zr(t):0}else return!1}}function Zr(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function k5(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=Zr(t)}else if(t.parentNode&&!Yd(t))e=mn(t),t=t.parentNode;else return null}}function A5(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&&!Yd(t))e=mn(t)+1,t=t.parentNode;else return null}}function U5(t,e,n){for(let r=e==0,i=e==Zr(t);r||i;){if(t==n)return!0;let o=mn(t);if(t=t.parentNode,!t)return!1;r=r&&o==0,i=i&&o==Zr(t)}}function Yd(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 ym=function(t){return t.focusNode&&fl(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function Qs(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function F5(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function R5(t,e,n){if(t.caretPositionFromPoint)try{let r=t.caretPositionFromPoint(e,n);if(r)return{node:r.offsetNode,offset:Math.min(Zr(r.offsetNode),r.offset)}}catch{}if(t.caretRangeFromPoint){let r=t.caretRangeFromPoint(e,n);if(r)return{node:r.startContainer,offset:Math.min(Zr(r.startContainer),r.startOffset)}}}const Ji=typeof navigator<"u"?navigator:null,uw=typeof document<"u"?document:null,ls=Ji&&Ji.userAgent||"",J1=/Edge\/(\d+)/.exec(ls),hk=/MSIE \d/.exec(ls),Y1=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ls),hr=!!(hk||Y1||J1),Za=hk?document.documentMode:Y1?+Y1[1]:J1?+J1[1]:0,mi=!hr&&/gecko\/(\d+)/i.test(ls);mi&&+(/Firefox\/(\d+)/.exec(ls)||[0,0])[1];const Z1=!hr&&/Chrome\/(\d+)/.exec(ls),_n=!!Z1,pk=Z1?+Z1[1]:0,Jn=!hr&&!!Ji&&/Apple Computer/.test(Ji.vendor),cu=Jn&&(/Mobile\/\w+/.test(ls)||!!Ji&&Ji.maxTouchPoints>2),Jr=cu||(Ji?/Mac/.test(Ji.platform):!1),O5=Ji?/Win/.test(Ji.platform):!1,No=/Android \d/.test(ls),Zd=!!uw&&"webkitFontSmoothing"in uw.documentElement.style,I5=Zd?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function B5(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 To(t,e){return typeof t=="number"?t:t[e]}function M5(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 fw(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=bd(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,c=l?B5(o):M5(s),f=0,d=0;if(e.top<c.top+To(r,"top")?d=-(c.top-e.top+To(i,"top")):e.bottom>c.bottom-To(r,"bottom")&&(d=e.bottom-e.top>c.bottom-c.top?e.top+To(i,"top")-c.top:e.bottom-c.bottom+To(i,"bottom")),e.left<c.left+To(r,"left")?f=-(c.left-e.left+To(i,"left")):e.right>c.right-To(r,"right")&&(f=e.right-c.right+To(i,"right")),f||d)if(l)o.defaultView.scrollBy(f,d);else{let p=s.scrollLeft,g=s.scrollTop;d&&(s.scrollTop+=d),f&&(s.scrollLeft+=f);let b=s.scrollLeft-p,x=s.scrollTop-g;e={left:e.left-b,top:e.top-x,right:e.right-b,bottom:e.bottom-x}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function N5(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 l=s.getBoundingClientRect();if(l.top>=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:gk(t.dom)}}function gk(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=bd(r));return e}function P5({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;mk(n,r==0?0:r-e)}function mk(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 Rc=null;function W5(t){if(t.setActive)return t.setActive();if(Rc)return t.focus(Rc);let e=gk(t);t.focus(Rc==null?{get preventScroll(){return Rc={preventScroll:!0},!0}}:void 0),Rc||(Rc=!1,mk(e,0))}function yk(t,e){let n,r=2e8,i,o=0,a=e.top,s=e.top,l,c;for(let f=t.firstChild,d=0;f;f=f.nextSibling,d++){let p;if(f.nodeType==1)p=f.getClientRects();else if(f.nodeType==3)p=Bo(f).getClientRects();else continue;for(let g=0;g<p.length;g++){let b=p[g];if(b.top<=a&&b.bottom>=s){a=Math.max(b.bottom,a),s=Math.min(b.top,s);let x=b.left>e.left?b.left-e.left:b.right<e.left?e.left-b.right:0;if(x<r){n=f,r=x,i=x&&n.nodeType==3?{left:b.right<e.left?b.right:b.left,top:e.top}:e,f.nodeType==1&&x&&(o=d+(e.left>=(b.left+b.right)/2?1:0));continue}}else b.top>e.top&&!l&&b.left<=e.left&&b.right>=e.left&&(l=f,c={left:Math.max(b.left,Math.min(b.right,e.left)),top:b.top});!n&&(e.left>=b.right&&e.top>=b.top||e.left>=b.left&&e.top>=b.bottom)&&(o=d+1)}}return!n&&l&&(n=l,i=c,r=0),n&&n.nodeType==3?L5(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:yk(n,i)}function L5(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=Ba(r,1);if(o.top!=o.bottom&&g2(e,o))return{node:t,offset:i+(e.left>=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function g2(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function z5(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left<t.getBoundingClientRect().left?n:t}function $5(t,e,n){let{node:r,offset:i}=yk(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 j5(t,e,n,r){let i=-1;for(let o=e,a=!1;o!=t.dom;){let s=t.docView.nearestDesc(o,!0),l;if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent||!s.contentDOM)&&((l=s.dom.getBoundingClientRect()).width||l.height)&&(s.node.isBlock&&s.parent&&(!a&&l.left>r.left||l.top>r.top?i=s.posBefore:(!a&&l.right<r.left||l.bottom<r.top)&&(i=s.posAfter),a=!0),!s.contentDOM&&i<0&&!s.node.isText))return(s.node.isBlock?r.top<(l.top+l.bottom)/2:r.left<(l.left+l.right)/2)?s.posBefore:s.posAfter;o=s.dom.parentNode}return i>-1?i:t.docView.posFromDOM(e,n,-1)}function bk(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 l=0;l<s.length;l++){let c=s[l];if(g2(e,c))return bk(a,e,c)}}if((o=(o+1)%r)==i)break}return t}function H5(t,e){let n=t.dom.ownerDocument,r,i=0,o=R5(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 c=t.dom.getBoundingClientRect();if(!g2(e,c)||(a=bk(t.dom,e,c),!a))return null}if(Jn)for(let c=a;r&&c;c=bd(c))c.draggable&&(r=void 0);if(a=z5(a,e),r){if(mi&&r.nodeType==1&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let f=r.childNodes[i],d;f.nodeName=="IMG"&&(d=f.getBoundingClientRect()).right<=e.left&&d.bottom>e.top&&i++}let c;Zd&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.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=j5(t,r,i,e))}s==null&&(s=$5(t,a,e));let l=t.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function dw(t){return t.top<t.bottom||t.left<t.right}function Ba(t,e){let n=t.getClientRects();if(n.length){let r=n[e<0?0:n.length-1];if(dw(r))return r}return Array.prototype.find.call(n,dw)||t.getBoundingClientRect()}const V5=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function vk(t,e,n){let{node:r,offset:i,atom:o}=t.docView.domFromPos(e,n<0?-1:1),a=Zd||mi;if(r.nodeType==3)if(a&&(V5.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let l=Ba(Bo(r,i,i),n);if(mi&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let c=Ba(Bo(r,i-1,i-1),-1);if(c.top==l.top){let f=Ba(Bo(r,i,i+1),-1);if(f.top!=l.top)return If(f,f.left<c.left)}}return l}else{let l=i,c=i,f=n<0?1:-1;return n<0&&!i?(c++,f=-1):n>=0&&i==r.nodeValue.length?(l--,f=1):n<0?l--:c++,If(Ba(Bo(r,l,c),f),f<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==Zr(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return Ub(l.getBoundingClientRect(),!1)}if(o==null&&i<Zr(r)){let l=r.childNodes[i];if(l.nodeType==1)return Ub(l.getBoundingClientRect(),!0)}return Ub(r.getBoundingClientRect(),n>=0)}if(o==null&&i&&(n<0||i==Zr(r))){let l=r.childNodes[i-1],c=l.nodeType==3?Bo(l,Zr(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(c)return If(Ba(c,1),!1)}if(o==null&&i<Zr(r)){let l=r.childNodes[i];for(;l.pmViewDesc&&l.pmViewDesc.ignoreForCoords;)l=l.nextSibling;let c=l?l.nodeType==3?Bo(l,0,a?0:1):l.nodeType==1?l:null:null;if(c)return If(Ba(c,-1),!0)}return If(Ba(r.nodeType==3?Bo(r):r,-n),n>=0)}function If(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 Ub(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 xk(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 q5(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return xk(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=vk(t,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=Bo(s,0,s.nodeValue.length).getClientRects();else continue;for(let c=0;c<l.length;c++){let f=l[c];if(f.bottom>f.top+1&&(n=="up"?a.top-f.top>(f.bottom-a.top)*2:f.bottom-a.bottom>(a.bottom-f.top)*2))return!1}}return!0})}const X5=/[\u0590-\u08ac]/;function G5(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?!X5.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:xk(t,e,()=>{let{focusNode:l,focusOffset:c,anchorNode:f,anchorOffset:d}=t.domSelectionRange(),p=s.caretBidiLevel;s.modify("move",n,"character");let g=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:b,focusOffset:x}=t.domSelectionRange(),v=b&&!g.contains(b.nodeType==1?b:b.parentNode)||l==b&&c==x;try{s.collapse(f,d),l&&(l!=f||c!=d)&&s.extend&&s.extend(l,c)}catch{}return p!=null&&(s.caretBidiLevel=p),v}):r.pos==r.start()||r.pos==r.end()}let hw=null,pw=null,gw=!1;function J5(t,e,n){return hw==e&&pw==n?gw:(hw=e,pw=n,gw=n=="up"||n=="down"?q5(t,e,n):G5(t,e,n))}const Kr=0,mw=1,el=2,Yi=3;class Kd{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=Kr,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>mn(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 wk){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 Dk&&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?mn(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?mn(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 l=this.children[s],c=a+l.size;if(i==-1&&e<=c){let f=a+l.border;if(e>=f&&n<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(e,n,f);e=a;for(let d=s;d>0;d--){let p=this.children[d-1];if(p.size&&p.dom.parentNode==this.contentDOM&&!p.emptyChildAt(1)){i=mn(p.dom)+1;break}e-=p.size}i==-1&&(i=0)}if(i>-1&&(c>n||s==this.children.length-1)){n=c;for(let f=s+1;f<this.children.length;f++){let d=this.children[f];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(-1)){o=mn(d.dom);break}n+=d.size}o==-1&&(o=this.contentDOM.childNodes.length);break}a=c}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 g=0,b=0;g<this.children.length;g++){let x=this.children[g],v=b+x.size;if(o>b&&a<v)return x.setSelection(e-b-x.border,n-b-x.border,r,i);b=v}let s=this.domFromPos(e,e?-1:1),l=n==e?s:this.domFromPos(n,n?-1:1),c=r.root.getSelection(),f=r.domSelectionRange(),d=!1;if((mi||Jn)&&e==n){let{node:g,offset:b}=s;if(g.nodeType==3){if(d=!!(b&&g.nodeValue[b-1]==`
|
|
6
|
+
`),d&&b==g.nodeValue.length)for(let x=g,v;x;x=x.parentNode){if(v=x.nextSibling){v.nodeName=="BR"&&(s=l={node:v.parentNode,offset:mn(v)+1});break}let D=x.pmViewDesc;if(D&&D.node&&D.node.isBlock)break}}else{let x=g.childNodes[b-1];d=x&&(x.nodeName=="BR"||x.contentEditable=="false")}}if(mi&&f.focusNode&&f.focusNode!=l.node&&f.focusNode.nodeType==1){let g=f.focusNode.childNodes[f.focusOffset];g&&g.contentEditable=="false"&&(i=!0)}if(!(i||d&&Jn)&&fl(s.node,s.offset,f.anchorNode,f.anchorOffset)&&fl(l.node,l.offset,f.focusNode,f.focusOffset))return;let p=!1;if((c.extend||e==n)&&!d){c.collapse(s.node,s.offset);try{e!=n&&c.extend(l.node,l.offset),p=!0}catch{}}if(!p){if(e>n){let b=s;s=l,l=b}let g=document.createRange();g.setEnd(l.node,l.offset),g.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(g)}}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,l=a-o.border;if(e>=s&&n<=l){this.dirty=e==r||n==a?el:mw,e==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=Yi:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?el:Yi}r=a}this.dirty=el}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?el:mw;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(e){return!1}}class Dk extends Kd{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==Kr&&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 Y5 extends Kd{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 dl extends Kd{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=wl.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new dl(e,n,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&Yi||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Yi&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Kr){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=Kr}}slice(e,n,r){let i=dl.create(this.parent,this.mark,!0,r),o=this.children,a=this.size;n<a&&(o=Q1(o,n,a,r)),e>0&&(o=Q1(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 Ka extends Kd{constructor(e,n,r,i,o,a,s,l,c){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],l,c=s&&s(n,o,()=>{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,i),f=c&&c.dom,d=c&&c.contentDOM;if(n.isText){if(!f)f=document.createTextNode(n.text);else if(f.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else f||({dom:f,contentDOM:d}=wl.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!d&&!n.isText&&f.nodeName!="BR"&&(f.hasAttribute("contenteditable")||(f.contentEditable="false"),n.type.spec.draggable&&(f.draggable=!0));let p=f;return f=Ck(f,r,n),c?l=new Z5(e,n,r,i,f,d||null,p,c,o,a+1):n.isText?new bm(e,n,r,i,f,p,o):new Ka(e,n,r,i,f,d||null,p,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=()=>Ue.empty)}return e}matchesNode(e,n,r){return this.dirty==Kr&&e.eq(this.node)&&eg(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,l=new Q5(this,a&&a.node,e);nI(this.node,this.innerDeco,(c,f,d)=>{c.spec.marks?l.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!d&&l.syncToMarks(f==this.node.childCount?mt.none:this.node.child(f).marks,r,e),l.placeWidget(c,e,i)},(c,f,d,p)=>{l.syncToMarks(c.marks,r,e);let g;l.findNodeMatch(c,f,d,p)||s&&e.state.selection.from>i&&e.state.selection.to<i+c.nodeSize&&(g=l.findIndexWithChild(o.node))>-1&&l.updateNodeAt(c,f,d,g,e)||l.updateNextNode(c,f,d,e,p,i)||l.addNode(c,f,d,e,i),i+=c.nodeSize}),l.syncToMarks([],r,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==el)&&(a&&this.protectLocalComposition(e,a),Sk(this.contentDOM,this.children,e),cu&&rI(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof st)||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=iI(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 Y5(this,o,n,i);e.input.compositionNodes.push(a),this.children=Q1(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==Yi||!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=Kr}updateOuterDeco(e){if(eg(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=Tk(this.dom,this.nodeDOM,K1(this.outerDeco,this.node,n),K1(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 yw(t,e,n,r,i){Ck(r,e,t);let o=new Ka(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class bm extends Ka{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==Yi||this.dirty!=Kr&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Kr||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=Kr,!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 bm(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=Yi)}get domAtom(){return!1}isText(e){return this.node.text==e}}class wk extends Kd{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Kr&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class Z5 extends Ka{constructor(e,n,r,i,o,a,s,l,c,f){super(e,n,r,i,o,a,s,c,f),this.spec=l}update(e,n,r,i){if(this.dirty==Yi)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 Sk(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=bw(r),i=!0;r=r.nextSibling}else i=!0,t.insertBefore(s,r);if(a instanceof dl){let l=r?r.previousSibling:t.lastChild;Sk(a.contentDOM,a.children,n),r=l?l.nextSibling:t.firstChild}}for(;r;)r=bw(r),i=!0;i&&n.trackWrites==t&&(n.trackWrites=null)}const Qf=function(t){t&&(this.nodeName=t)};Qf.prototype=Object.create(null);const tl=[new Qf];function K1(t,e,n){if(t.length==0)return tl;let r=n?tl[0]:new Qf,i=[r];for(let o=0;o<t.length;o++){let a=t[o].type.attrs;if(a){a.nodeName&&i.push(r=new Qf(a.nodeName));for(let s in a){let l=a[s];l!=null&&(n&&i.length==1&&i.push(r=new Qf(e.isInline?"span":"div")),s=="class"?r.class=(r.class?r.class+" ":"")+l:s=="style"?r.style=(r.style?r.style+";":"")+l:s!="nodeName"&&(r[s]=l))}}}return i}function Tk(t,e,n,r){if(n==tl&&r==tl)return e;let i=e;for(let o=0;o<r.length;o++){let a=r[o],s=n[o];if(o){let l;s&&s.nodeName==a.nodeName&&i!=t&&(l=i.parentNode)&&l.nodeName.toLowerCase()==a.nodeName||(l=document.createElement(a.nodeName),l.pmIsDeco=!0,l.appendChild(i),s=tl[0]),i=l}K5(i,s||tl[0],a)}return i}function K5(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 Ck(t,e,n){return Tk(t,t,tl,K1(e,n,t.nodeType!=1))}function eg(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 bw(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class Q5{constructor(e,n,r){this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=eI(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=Kr,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 l=this.index;l<Math.min(this.index+3,this.top.children.length);l++){let c=this.top.children[l];if(c.matchesMark(e[o])&&!this.isLocked(c.dom)){s=l;break}}if(s>-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=dl.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,l),this.top=l,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,l=Math.min(this.top.children.length,s+5);s<l;s++){let c=this.top.children[s];if(c.matchesNode(e,n,r)&&!this.preMatch.matched.has(c)){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==Yi&&a.dom==a.contentDOM&&(a.dirty=el),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 l=this.top.children[s];if(l instanceof Ka){let c=this.preMatch.matched.get(l);if(c!=null&&c!=o)return!1;let f=l.dom,d,p=this.isLocked(f)&&!(e.isText&&l.node&&l.node.isText&&l.nodeDOM.nodeValue==e.text&&l.dirty!=Yi&&eg(n,l.outerDeco));if(!p&&l.update(e,n,r,i))return this.destroyBetween(this.index,s),l.dom!=f&&(this.changed=!0),this.index++,!0;if(!p&&(d=this.recreateWrapper(l,e,n,r,i,a)))return this.destroyBetween(this.index,s),this.top.children[this.index]=d,d.contentDOM&&(d.dirty=el,d.updateChildren(i,a+1),d.dirty=Kr),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)||!eg(r,e.outerDeco)||!i.eq(e.innerDeco))return null;let s=Ka.create(this.top,n,r,i,o,a);if(s.contentDOM){s.children=e.children,e.children=[];for(let l of s.children)l.parent=s}return e.destroy(),s}addNode(e,n,r,i,o){let a=Ka.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 Dk(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 dl;)n=e,e=n.children[n.children.length-1];(!e||!(e instanceof bm)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((Jn||_n)&&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 wk(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 eI(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 c=n.children[r-1];if(c instanceof dl)n=c,r=c.children.length;else{s=c,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=t.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function tI(t,e){return t.type.side-e.type.side}function nI(t,e,n,r){let i=e.locals(t),o=0;if(i.length==0){for(let c=0;c<t.childCount;c++){let f=t.child(c);r(f,i,e.forChild(o,f),c),o+=f.nodeSize}return}let a=0,s=[],l=null;for(let c=0;;){let f,d;for(;a<i.length&&i[a].to==o;){let v=i[a++];v.widget&&(f?(d||(d=[f])).push(v):f=v)}if(f)if(d){d.sort(tI);for(let v=0;v<d.length;v++)n(d[v],c,!!l)}else n(f,c,!!l);let p,g;if(l)g=-1,p=l,l=null;else if(c<t.childCount)g=c,p=t.child(c++);else break;for(let v=0;v<s.length;v++)s[v].to<=o&&s.splice(v--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let b=o+p.nodeSize;if(p.isText){let v=b;a<i.length&&i[a].from<v&&(v=i[a].from);for(let D=0;D<s.length;D++)s[D].to<v&&(v=s[D].to);v<b&&(l=p.cut(v-o),p=p.cut(0,v-o),b=v,g=-1)}else for(;a<i.length&&i[a].to<b;)a++;let x=p.isInline&&!p.isLeaf?s.filter(v=>!v.inline):s.slice();r(p,x,e.forChild(o,p),g),o=b}}function rI(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 iI(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 l=a.text;for(;i<t.childCount;){let c=t.child(i++);if(o+=c.nodeSize,!c.isText)break;l+=c.text}if(o>=n){if(o>=r&&l.slice(r-e.length-s,r-s)==e)return r-e.length;let c=s<r?l.lastIndexOf(e,r-s-1):-1;if(c>=0&&c+e.length+s>=n)return s+c;if(n==r&&l.length>=r+e.length-s&&l.slice(r-s,r-s+e.length)==e)return r}}return-1}function Q1(t,e,n,r,i){let o=[];for(let a=0,s=0;a<t.length;a++){let l=t[a],c=s,f=s+=l.size;c>=n||f<=e?o.push(l):(c<e&&o.push(l.slice(0,e-c,r)),i&&(o.push(i),i=void 0),f>n&&o.push(l.slice(n-c,l.size,r)))}return o}function m2(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),l,c;if(ym(n)){for(l=a;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&Ge.isSelectable(d)&&i.parent&&!(d.isInline&&U5(n.focusNode,n.focusOffset,i.dom))){let p=i.posBefore;c=new Ge(a==p?s:r.resolve(p))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let d=a,p=a;for(let g=0;g<n.rangeCount;g++){let b=n.getRangeAt(g);d=Math.min(d,t.docView.posFromDOM(b.startContainer,b.startOffset,1)),p=Math.max(p,t.docView.posFromDOM(b.endContainer,b.endOffset,-1))}if(d<0)return null;[l,a]=p==t.state.selection.anchor?[p,d]:[d,p],s=r.resolve(a)}else l=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(l<0)return null}let f=r.resolve(l);if(!c){let d=e=="pointer"||t.state.selection.head<s.pos&&!o?1:-1;c=y2(t,f,s,d)}return c}function Ek(t){return t.editable?t.hasFocus():kk(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function Wo(t,e=!1){let n=t.state.selection;if(_k(t,n),!!Ek(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&_n){let r=t.domSelectionRange(),i=t.domObserver.currentSelection;if(r.anchorNode&&i.anchorNode&&fl(r.anchorNode,r.anchorOffset,i.anchorNode,i.anchorOffset)){t.input.mouseDown.delayedSelectionSync=!0,t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)aI(t);else{let{anchor:r,head:i}=n,o,a;vw&&!(n instanceof st)&&(n.$from.parent.inlineContent||(o=xw(t,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=xw(t,n.to))),t.docView.setSelection(r,i,t,e),vw&&(o&&Dw(o),a&&Dw(a)),n.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&oI(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const vw=Jn||_n&&pk<63;function xw(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(Jn&&i&&i.contentEditable=="false")return Fb(i);if((!i||i.contentEditable=="false")&&(!o||o.contentEditable=="false")){if(i)return Fb(i);if(o)return Fb(o)}}function Fb(t){return t.contentEditable="true",Jn&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function Dw(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function oI(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(()=>{(!Ek(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function aI(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,mn(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&hr&&Za<=11&&(r.disabled=!0,r.disabled=!1)}function _k(t,e){if(e instanceof Ge){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(ww(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else ww(t)}function ww(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function y2(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||st.between(e,n,r)}function Sw(t){return t.editable&&!t.hasFocus()?!1:kk(t)}function kk(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 sI(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return fl(e.node,e.offset,n.anchorNode,n.anchorOffset)}function e0(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&&Qe.findFrom(o,e)}function Ma(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Tw(t,e,n){let r=t.state.selection;if(r instanceof st)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 Ma(t,new st(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=e0(t.state,e);return i&&i instanceof Ge?Ma(t,i):!1}else if(!(Jr&&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?Ge.isSelectable(o)?Ma(t,new Ge(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):Zd?Ma(t,new st(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ge&&r.node.isInline)return Ma(t,new st(e>0?r.$to:r.$from));{let i=e0(t.state,e);return i?Ma(t,i):!1}}}function tg(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function ed(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Oc(t,e){return e<0?lI(t):cI(t)}function lI(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(mi&&n.nodeType==1&&r<tg(n)&&ed(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(ed(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(Ak(n))break;{let s=n.previousSibling;for(;s&&ed(s,-1);)i=n.parentNode,o=mn(s),s=s.previousSibling;if(s)n=s,r=tg(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?t0(t,n,r):i&&t0(t,i,o)}function cI(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=tg(n),o,a;for(;;)if(r<i){if(n.nodeType!=1)break;let s=n.childNodes[r];if(ed(s,1))o=n,a=++r;else break}else{if(Ak(n))break;{let s=n.nextSibling;for(;s&&ed(s,1);)o=s.parentNode,a=mn(s)+1,s=s.nextSibling;if(s)n=s,r=0,i=tg(n);else{if(n=n.parentNode,n==t.dom)break;r=i=0}}}o&&t0(t,o,a)}function Ak(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function uI(t,e){for(;t&&e==t.childNodes.length&&!Yd(t);)e=mn(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 fI(t,e){for(;t&&!e&&!Yd(t);)e=mn(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 t0(t,e,n){if(e.nodeType!=3){let o,a;(a=uI(e,n))?(e=a,n=0):(o=fI(e,n))&&(e=o,n=o.nodeValue.length)}let r=t.domSelection();if(!r)return;if(ym(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&&Wo(t)},50)}function Cw(t,e){let n=t.state.doc.resolve(e);if(!(_n||O5)&&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 Ew(t,e,n){let r=t.state.selection;if(r instanceof st&&!r.empty||n.indexOf("s")>-1||Jr&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=e0(t.state,e);if(a&&a instanceof Ge)return Ma(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof Ar?Qe.near(a,e):Qe.findFrom(a,e);return s?Ma(t,s):!1}return!1}function _w(t,e){if(!(t.state.selection instanceof st))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 kw(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function dI(t){if(!Jn||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;kw(t,r,"true"),setTimeout(()=>kw(t,r,"false"),20)}return!1}function hI(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function pI(t,e){let n=e.keyCode,r=hI(e);if(n==8||Jr&&n==72&&r=="c")return _w(t,-1)||Oc(t,-1);if(n==46&&!e.shiftKey||Jr&&n==68&&r=="c")return _w(t,1)||Oc(t,1);if(n==13||n==27)return!0;if(n==37||Jr&&n==66&&r=="c"){let i=n==37?Cw(t,t.state.selection.from)=="ltr"?-1:1:-1;return Tw(t,i,r)||Oc(t,i)}else if(n==39||Jr&&n==70&&r=="c"){let i=n==39?Cw(t,t.state.selection.from)=="ltr"?1:-1:1;return Tw(t,i,r)||Oc(t,i)}else{if(n==38||Jr&&n==80&&r=="c")return Ew(t,-1,r)||Oc(t,-1);if(n==40||Jr&&n==78&&r=="c")return dI(t)||Ew(t,1,r)||Oc(t,1);if(r==(Jr?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function b2(t,e){t.someProp("transformCopied",g=>{e=g(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 g=r.firstChild;n.push(g.type.name,g.attrs!=g.type.defaultAttrs?g.attrs:null),r=g.content}let a=t.someProp("clipboardSerializer")||wl.fromSchema(t.state.schema),s=Bk(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c=l.firstChild,f,d=0;for(;c&&c.nodeType==1&&(f=Ik[c.nodeName.toLowerCase()]);){for(let g=f.length-1;g>=0;g--){let b=s.createElement(f[g]);for(;l.firstChild;)b.appendChild(l.firstChild);l.appendChild(b),d++}c=l.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${o}${d?` -${d}`:""} ${JSON.stringify(n)}`);let p=t.someProp("clipboardTextSerializer",g=>g(e,t))||e.content.textBetween(0,e.content.size,`
|
|
7
|
+
|
|
8
|
+
`);return{dom:l,text:p,slice:e}}function Uk(t,e,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!e)return null;let l=e&&(r||o||!n);if(l){if(t.someProp("transformPastedText",p=>{e=p(e,o||r,t)}),o)return e?new We(Ue.from(t.state.schema.text(e.replace(/\r\n?/g,`
|
|
9
|
+
`))),0,0):We.empty;let d=t.someProp("clipboardTextParser",p=>p(e,i,r,t));if(d)s=d;else{let p=i.marks(),{schema:g}=t.state,b=wl.fromSchema(g);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(x=>{let v=a.appendChild(document.createElement("p"));x&&v.appendChild(b.serializeNode(g.text(x,p)))})}}else t.someProp("transformPastedHTML",d=>{n=d(n,t)}),a=bI(n),Zd&&vI(a);let c=a&&a.querySelector("[data-pm-slice]"),f=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let d=+f[3];d>0;d--){let p=a.firstChild;for(;p&&p.nodeType!=1;)p=p.nextSibling;if(!p)break;a=p}if(s||(s=(t.someProp("clipboardParser")||t.someProp("domParser")||s2.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||f),context:i,ruleFromNode(p){return p.nodeName=="BR"&&!p.nextSibling&&p.parentNode&&!gI.test(p.parentNode.nodeName)?{ignore:!0}:null}})),f)s=xI(Aw(s,+f[1],+f[2]),f[4]);else if(s=We.maxOpen(mI(s.content,i),!0),s.openStart||s.openEnd){let d=0,p=0;for(let g=s.content.firstChild;d<s.openStart&&!g.type.spec.isolating;d++,g=g.firstChild);for(let g=s.content.lastChild;p<s.openEnd&&!g.type.spec.isolating;p++,g=g.lastChild);s=Aw(s,d,p)}return t.someProp("transformPasted",d=>{s=d(s,t)}),s}const gI=/^(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 mI(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 l=i.findWrapping(s.type),c;if(!l)return a=null;if(c=a.length&&o.length&&Rk(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=Ok(a[a.length-1],o.length));let f=Fk(s,l);a.push(f),i=i.matchType(f.type),o=l}}),a)return Ue.from(a)}return t}function Fk(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,Ue.from(t));return t}function Rk(t,e,n,r,i){if(i<t.length&&i<e.length&&t[i]==e[i]){let o=Rk(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(Ue.from(Fk(n,t,i+1))))}}function Ok(t,e){if(e==0)return t;let n=t.content.replaceChild(t.childCount-1,Ok(t.lastChild,e-1)),r=t.contentMatchAt(t.childCount).fillBefore(Ue.empty,!0);return t.copy(n.append(r))}function n0(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=n0(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(Ue.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function Aw(t,e,n){return e<t.openStart&&(t=new We(n0(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new We(n0(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}const Ik={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 Uw=null;function Bk(){return Uw||(Uw=document.implementation.createHTMLDocument("title"))}let Rb=null;function yI(t){let e=window.trustedTypes;return e?(Rb||(Rb=e.createPolicy("ProseMirrorClipboard",{createHTML:n=>n})),Rb.createHTML(t)):t}function bI(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=Bk().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&Ik[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"</"+o+">").reverse().join("")),n.innerHTML=yI(t),i)for(let o=0;o<i.length;o++)n=n.querySelector(i[o])||n;return n}function vI(t){let e=t.querySelectorAll(_n?"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 xI(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 l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=Ue.from(l.create(r[s+1],i)),o++,a++}return new We(i,o,a)}const Yn={},Zn={},DI={touchstart:!0,touchmove:!0};class wI{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 SI(t){for(let e in Yn){let n=Yn[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{CI(t,r)&&!v2(t,r)&&(t.editable||!(r.type in Zn))&&n(t,r)},DI[e]?{passive:!0}:void 0)}Jn&&t.dom.addEventListener("input",()=>null),r0(t)}function Xa(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function TI(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 r0(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>v2(t,r))})}function v2(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function CI(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 EI(t,e){!v2(t,e)&&Yn[e.type]&&(t.editable||!(e.type in Zn))&&Yn[e.type](t,e)}Zn.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!Nk(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(No&&_n&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),cu&&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,Qs(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||pI(t,n)?n.preventDefault():Xa(t,"key")};Zn.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};Zn.keypress=(t,e)=>{let n=e;if(Nk(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Jr&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof st)||!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 vm(t){return{left:t.clientX,top:t.clientY}}function _I(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function x2(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 eu(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 kI(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Ge.isSelectable(r)?(eu(t,new Ge(n)),!0):!1}function AI(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof Ge&&(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(Ge.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?(eu(t,Ge.create(t.state.doc,i)),!0):!1}function UI(t,e,n,r,i){return x2(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?AI(t,n):kI(t,n))}function FI(t,e,n,r){return x2(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function RI(t,e,n,r){return x2(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||OI(t,n,r)}function OI(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(eu(t,st.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)eu(t,st.create(r,s+1,s+1+a.content.size));else if(Ge.isSelectable(a))eu(t,Ge.create(r,s));else continue;return!0}}function D2(t){return ng(t)}const Mk=Jr?"metaKey":"ctrlKey";Yn.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=D2(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&_I(n,t.input.lastClick)&&!n[Mk]&&(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(vm(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new II(t,a,n,!!r)):(o=="doubleClick"?FI:RI)(t,a.pos,a.inside,n)?n.preventDefault():Xa(t,"pointer"))};class II{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[Mk],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=e.state.doc.nodeAt(n.inside),a=n.inside;else{let f=e.state.doc.resolve(n.pos);o=f.parent,a=f.depth?f.before():0}const s=i?null:r.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l&&l.dom.nodeType==1?l.dom:null;let{selection:c}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||c instanceof Ge&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&mi&&!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)),Xa(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(()=>Wo(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(vm(e))),this.updateAllowDefault(e),this.allowDefault||!n?Xa(this.view,"pointer"):UI(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||Jn&&this.mightDrag&&!this.mightDrag.node.isAtom||_n&&!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)?(eu(this.view,Qe.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):Xa(this.view,"pointer")}move(e){this.updateAllowDefault(e),Xa(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)}}Yn.touchstart=t=>{t.input.lastTouch=Date.now(),D2(t),Xa(t,"pointer")};Yn.touchmove=t=>{t.input.lastTouch=Date.now(),Xa(t,"pointer")};Yn.contextmenu=t=>D2(t);function Nk(t,e){return t.composing?!0:Jn&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const BI=No?5e3:-1;Zn.compositionstart=Zn.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof st&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),ng(t,!0),t.markCursor=null;else if(ng(t,!e.selection.empty),mi&&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}Pk(t,BI)};Zn.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++,Pk(t,20))};function Pk(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>ng(t),e))}function Wk(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=NI());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function MI(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=k5(e.focusNode,e.focusOffset),r=A5(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 NI(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function ng(t,e=!1){if(!(No&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),Wk(t),e||t.docView&&t.docView.dirty){let n=m2(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 PI(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 vd=hr&&Za<15||cu&&I5<604;Yn.copy=Zn.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=vd?null:n.clipboardData,a=r.content(),{dom:s,text:l}=b2(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):PI(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function WI(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function LI(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?xd(t,r.value,null,i,e):xd(t,r.textContent,r.innerHTML,i,e)},50)}function xd(t,e,n,r,i){let o=Uk(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",l=>l(t,i,o||We.empty)))return!0;if(!o)return!1;let a=WI(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 Lk(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," "):""}Zn.paste=(t,e)=>{let n=e;if(t.composing&&!No)return;let r=vd?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&xd(t,Lk(r),r.getData("text/html"),i,n)?n.preventDefault():LI(t,n)};class zk{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const $k=Jr?"altKey":"ctrlKey";Yn.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(vm(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof Ge?i.to-1:i.to))){if(r&&r.mightDrag)a=Ge.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let d=t.docView.nearestDesc(n.target,!0);d&&d.node.type.spec.draggable&&d!=t.docView&&(a=Ge.create(t.state.doc,d.posBefore))}}let s=(a||t.state.selection).content(),{dom:l,text:c,slice:f}=b2(t,s);(!n.dataTransfer.files.length||!_n||pk>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(vd?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",vd||n.dataTransfer.setData("text/plain",c),t.dragging=new zk(f,!n[$k],a)};Yn.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};Zn.dragover=Zn.dragenter=(t,e)=>e.preventDefault();Zn.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(vm(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",b=>{a=b(a,t)}):a=Uk(t,Lk(n.dataTransfer),vd?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[$k]);if(t.someProp("handleDrop",b=>b(t,n,a||We.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?ak(t.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let c=t.state.tr;if(s){let{node:b}=r;b?b.replace(c):c.deleteSelection()}let f=c.mapping.map(l),d=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,p=c.doc;if(d?c.replaceRangeWith(f,f,a.content.firstChild):c.replaceRange(f,f,a),c.doc.eq(p))return;let g=c.doc.resolve(f);if(d&&Ge.isSelectable(a.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new Ge(g));else{let b=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((x,v,D,S)=>b=S),c.setSelection(y2(t,g,c.doc.resolve(b)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))};Yn.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())&&Wo(t)},20))};Yn.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)};Yn.beforeinput=(t,e)=>{if(_n&&No&&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,Qs(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 Zn)Yn[t]=Zn[t];function Dd(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 rg{constructor(e,n){this.toDOM=e,this.spec=n||ol,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 kn(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof rg&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Dd(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Qa{constructor(e,n){this.attrs=e,this.spec=n||ol}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 kn(o,a,this)}valid(e,n){return n.from<n.to}eq(e){return this==e||e instanceof Qa&&Dd(this.attrs,e.attrs)&&Dd(this.spec,e.spec)}static is(e){return e.type instanceof Qa}destroy(){}}let zI=class jk{constructor(e,n){this.attrs=e,this.spec=n||ol}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 kn(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 jk&&Dd(this.attrs,e.attrs)&&Dd(this.spec,e.spec)}destroy(){}};class kn{constructor(e,n,r){this.from=e,this.to=n,this.type=r}copy(e,n){return new kn(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 kn(e,e,new rg(n,r))}static inline(e,n,r,i){return new kn(e,n,new Qa(r,i))}static node(e,n,r,i){return new kn(e,n,new zI(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof Qa}get widget(){return this.type instanceof rg}}const jc=[],ol={};class Bt{constructor(e,n){this.local=e.length?e:jc,this.children=n.length?n:jc}static create(e,n){return n.length?ig(n,e,0,ol):En}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==En||e.maps.length==0?this:this.mapInner(e,n,0,0,r||ol)}mapInner(e,n,r,i,o){let a;for(let s=0;s<this.local.length;s++){let l=this.local[s].map(e,r,i);l&&l.type.valid(n,l)?(a||(a=[])).push(l):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?$I(this.children,a||[],e,n,r,i,o):a?new Bt(a.sort(al),jc):En}add(e,n){return n.length?this==En?Bt.create(e,n):this.addInner(e,n,0):this}addInner(e,n,r){let i,o=0;e.forEach((s,l)=>{let c=l+r,f;if(f=Vk(n,s,c)){for(i||(i=this.children.slice());o<i.length&&i[o]<l;)o+=3;i[o]==l?i[o+2]=i[o+2].addInner(s,f,c+1):i.splice(o,0,l,l+s.nodeSize,ig(f,s,c+1,ol)),o+=3}});let a=Hk(o?qk(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||a.splice(s--,1);return new Bt(a.length?this.local.concat(a).sort(al):this.local,i||this.children)}remove(e){return e.length==0||this==En?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,l=r[o+1]+n;for(let f=0,d;f<e.length;f++)(d=e[f])&&d.from>s&&d.to<l&&(e[f]=null,(a||(a=[])).push(d));if(!a)continue;r==this.children&&(r=this.children.slice());let c=r[o+2].removeInner(a,s+1);c!=En?r[o+2]=c:(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 Bt(i,r):En}forChild(e,n){if(this==En)return this;if(n.isLeaf)return Bt.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 l=this.local[s];if(l.from<a&&l.to>o&&l.type instanceof Qa){let c=Math.max(o,l.from)-o,f=Math.min(a,l.to)-o;c<f&&(i||(i=[])).push(l.copy(c,f))}}if(i){let s=new Bt(i.sort(al),jc);return r?new za([s,r]):s}return r||En}eq(e){if(this==e)return!0;if(!(e instanceof Bt)||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 w2(this.localsInner(e))}localsInner(e){if(this==En)return jc;if(e.inlineContent||!this.local.some(Qa.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof Qa||n.push(this.local[r]);return n}forEachSet(e){e(this)}}Bt.empty=new Bt([],[]);Bt.removeOverlap=w2;const En=Bt.empty;class za{constructor(e){this.members=e}map(e,n){const r=this.members.map(i=>i.map(e,n,ol));return za.from(r)}forChild(e,n){if(n.isLeaf)return Bt.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,n);o!=En&&(o instanceof za?r=r.concat(o.members):r.push(o))}return za.from(r)}eq(e){if(!(e instanceof za)||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?w2(r?n:n.sort(al)):jc}static from(e){switch(e.length){case 0:return En;case 1:return e[0];default:return new za(e.every(n=>n instanceof Bt)?e:e.reduce((n,r)=>n.concat(r instanceof Bt?r:r.members),[]))}}forEachSet(e){for(let n=0;n<this.members.length;n++)this.members[n].forEachSet(e)}}function $I(t,e,n,r,i,o,a){let s=t.slice();for(let c=0,f=o;c<n.maps.length;c++){let d=0;n.maps[c].forEach((p,g,b,x)=>{let v=x-b-(g-p);for(let D=0;D<s.length;D+=3){let S=s[D+1];if(S<0||p>S+f-d)continue;let E=s[D]+f-d;g>=E?s[D+1]=p<=E?-2:-1:p>=f&&v&&(s[D]+=v,s[D+1]+=v)}d+=v}),f=n.maps[c].map(f,-1)}let l=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(s[c+1]==-2){l=!0,s[c+1]=-1;continue}let f=n.map(t[c]+o),d=f-i;if(d<0||d>=r.content.size){l=!0;continue}let p=n.map(t[c+1]+o,-1),g=p-i,{index:b,offset:x}=r.content.findIndex(d),v=r.maybeChild(b);if(v&&x==d&&x+v.nodeSize==g){let D=s[c+2].mapInner(n,v,f+1,t[c]+o+1,a);D!=En?(s[c]=d,s[c+1]=g,s[c+2]=D):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=jI(s,t,e,n,i,o,a),f=ig(c,r,0,a);e=f.local;for(let d=0;d<s.length;d+=3)s[d+1]<0&&(s.splice(d,3),d-=3);for(let d=0,p=0;d<f.children.length;d+=3){let g=f.children[d];for(;p<s.length&&s[p]<g;)p+=3;s.splice(p,0,f.children[d],f.children[d+1],f.children[d+2])}}return new Bt(e.sort(al),s)}function Hk(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 kn(i.from+e,i.to+e,i.type))}return n}function jI(t,e,n,r,i,o,a){function s(l,c){for(let f=0;f<l.local.length;f++){let d=l.local[f].map(r,i,c);d?n.push(d):a.onRemove&&a.onRemove(l.local[f].spec)}for(let f=0;f<l.children.length;f+=3)s(l.children[f+2],l.children[f]+c+1)}for(let l=0;l<t.length;l+=3)t[l+1]==-1&&s(t[l+2],e[l]+o+1);return n}function Vk(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 qk(t){let e=[];for(let n=0;n<t.length;n++)t[n]!=null&&e.push(t[n]);return e}function ig(t,e,n,r){let i=[],o=!1;e.forEach((s,l)=>{let c=Vk(t,s,l+n);if(c){o=!0;let f=ig(c,s,n+l+1,r);f!=En&&i.push(l,l+s.nodeSize,f)}});let a=Hk(o?qk(t):t,-n).sort(al);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 Bt(a,i):En}function al(t,e){return t.from-e.from||t.to-e.to}function w2(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),Fw(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),Fw(e,i,r.copy(o.from,r.to)));break}}}return e}function Fw(t,e,n){for(;e<t.length&&al(n,t[e])>0;)e++;t.splice(e,0,n)}function Ob(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=En&&e.push(r)}),t.cursorWrapper&&e.push(Bt.create(t.state.doc,[t.cursorWrapper.deco])),za.from(e)}const HI={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},VI=hr&&Za<=11;class qI{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 XI{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new qI,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]);hr&&Za<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),VI&&(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,HI)),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(Sw(this.view)){if(this.suppressingSelectionUpdates)return Wo(this.view);if(hr&&Za<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&fl(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=bd(o))n.add(o);for(let o=e.anchorNode;o;o=bd(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)&&Sw(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(e.editable)for(let f=0;f<n.length;f++){let d=this.registerMutation(n[f],l);d&&(o=o<0?d.from:Math.min(d.from,o),a=a<0?d.to:Math.max(d.to,a),d.typeOver&&(s=!0))}if(mi&&l.length){let f=l.filter(d=>d.nodeName=="BR");if(f.length==2){let[d,p]=f;d.parentNode&&d.parentNode.parentNode==p.parentNode?p.remove():d.remove()}else{let{focusNode:d}=this.currentSelection;for(let p of f){let g=p.parentNode;g&&g.nodeName=="LI"&&(!d||YI(e,d)!=g)&&p.remove()}}}let c=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&ym(r)&&(c=m2(e))&&c.eq(Qe.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Wo(e),this.currentSelection.set(r)):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,a),GI(e)),this.handleDOMChange(o,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Wo(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 f=0;f<e.addedNodes.length;f++){let d=e.addedNodes[f];n.push(d),d.nodeType==3&&(this.lastChangedTextNode=d)}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(hr&&Za<=11&&e.addedNodes.length)for(let f=0;f<e.addedNodes.length;f++){let{previousSibling:d,nextSibling:p}=e.addedNodes[f];(!d||Array.prototype.indexOf.call(e.addedNodes,d)<0)&&(i=d),(!p||Array.prototype.indexOf.call(e.addedNodes,p)<0)&&(o=p)}let a=i&&i.parentNode==e.target?mn(i)+1:0,s=r.localPosFromDOM(e.target,a,-1),l=o&&o.parentNode==e.target?mn(o):e.target.childNodes.length,c=r.localPosFromDOM(e.target,l,1);return{from:s,to:c}}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 Rw=new WeakMap,Ow=!1;function GI(t){if(!Rw.has(t)&&(Rw.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=mi,Ow)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."),Ow=!0}}function Iw(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,a=t.domAtPos(t.state.selection.anchor);return fl(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function JI(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return Iw(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?Iw(t,n):null}function YI(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 ZI(t,e,n){let{node:r,fromOffset:i,toOffset:o,from:a,to:s}=t.docView.parseRange(e,n),l=t.domSelectionRange(),c,f=l.anchorNode;if(f&&t.dom.contains(f.nodeType==1?f:f.parentNode)&&(c=[{node:f,offset:l.anchorOffset}],ym(l)||c.push({node:l.focusNode,offset:l.focusOffset})),_n&&t.input.lastKeyCode===8)for(let v=o;v>i;v--){let D=r.childNodes[v-1],S=D.pmViewDesc;if(D.nodeName=="BR"&&!S){o=v;break}if(!S||S.size)break}let d=t.state.doc,p=t.someProp("domParser")||s2.fromSchema(t.state.schema),g=d.resolve(a),b=null,x=p.parse(r,{topNode:g.parent,topMatch:g.parent.contentMatchAt(g.index()),topOpen:!0,from:i,to:o,preserveWhitespace:g.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:KI,context:g});if(c&&c[0].pos!=null){let v=c[0].pos,D=c[1]&&c[1].pos;D==null&&(D=v),b={anchor:v+a,head:D+a}}return{doc:x,sel:b,from:a,to:s}}function KI(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(Jn&&/^(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||Jn&&/^(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 QI=/^(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 e6(t,e,n,r,i){let o=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let j=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,ae=m2(t,j);if(ae&&!t.state.selection.eq(ae)){if(_n&&No&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",F=>F(t,Qs(13,"Enter"))))return;let ce=t.state.tr.setSelection(ae);j=="pointer"?ce.setMeta("pointer",!0):j=="key"&&ce.scrollIntoView(),o&&ce.setMeta("composition",o),t.dispatch(ce)}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 l=t.state.selection,c=ZI(t,e,n),f=t.state.doc,d=f.slice(c.from,c.to),p,g;t.input.lastKeyCode===8&&Date.now()-100<t.input.lastKeyCodeTime?(p=t.state.selection.to,g="end"):(p=t.state.selection.from,g="start"),t.input.lastKeyCode=null;let b=r6(d.content,c.doc.content,c.from,p,g);if(b&&t.input.domChangeCount++,(cu&&t.input.lastIOSEnter>Date.now()-225||No)&&i.some(j=>j.nodeType==1&&!QI.test(j.nodeName))&&(!b||b.endA>=b.endB)&&t.someProp("handleKeyDown",j=>j(t,Qs(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!b)if(r&&l instanceof st&&!l.empty&&l.$head.sameParent(l.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))b={start:l.from,endA:l.to,endB:l.to};else{if(c.sel){let j=Bw(t,t.state.doc,c.sel);if(j&&!j.eq(t.state.selection)){let ae=t.state.tr.setSelection(j);o&&ae.setMeta("composition",o),t.dispatch(ae)}}return}t.state.selection.from<t.state.selection.to&&b.start==b.endB&&t.state.selection instanceof st&&(b.start>t.state.selection.from&&b.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?b.start=t.state.selection.from:b.endA<t.state.selection.to&&b.endA>=t.state.selection.to-2&&t.state.selection.to<=c.to&&(b.endB+=t.state.selection.to-b.endA,b.endA=t.state.selection.to)),hr&&Za<=11&&b.endB==b.start+1&&b.endA==b.start&&b.start>c.from&&c.doc.textBetween(b.start-c.from-1,b.start-c.from+1)==" "&&(b.start--,b.endA--,b.endB--);let x=c.doc.resolveNoCache(b.start-c.from),v=c.doc.resolveNoCache(b.endB-c.from),D=f.resolve(b.start),S=x.sameParent(v)&&x.parent.inlineContent&&D.end()>=b.endA,E;if((cu&&t.input.lastIOSEnter>Date.now()-225&&(!S||i.some(j=>j.nodeName=="DIV"||j.nodeName=="P"))||!S&&x.pos<c.doc.content.size&&!x.sameParent(v)&&(E=Qe.findFrom(c.doc.resolve(x.pos+1),1,!0))&&E.head==v.pos)&&t.someProp("handleKeyDown",j=>j(t,Qs(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>b.start&&n6(f,b.start,b.endA,x,v)&&t.someProp("handleKeyDown",j=>j(t,Qs(8,"Backspace")))){No&&_n&&t.domObserver.suppressSelectionUpdates();return}_n&&b.endB==b.start&&(t.input.lastChromeDelete=Date.now()),No&&!S&&x.start()!=v.start()&&v.parentOffset==0&&x.depth==v.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==b.endA&&(b.endB-=2,v=c.doc.resolveNoCache(b.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(j){return j(t,Qs(13,"Enter"))})},20));let O=b.start,U=b.endA,M,N,q;if(S){if(x.pos==v.pos)hr&&Za<=11&&x.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Wo(t),20)),M=t.state.tr.delete(O,U),N=f.resolve(b.start).marksAcross(f.resolve(b.endA));else if(b.endA==b.endB&&(q=t6(x.parent.content.cut(x.parentOffset,v.parentOffset),D.parent.content.cut(D.parentOffset,b.endA-D.start()))))M=t.state.tr,q.type=="add"?M.addMark(O,U,q.mark):M.removeMark(O,U,q.mark);else if(x.parent.child(x.index()).isText&&x.index()==v.index()-(v.textOffset?0:1)){let j=x.parent.textBetween(x.parentOffset,v.parentOffset);if(t.someProp("handleTextInput",ae=>ae(t,O,U,j)))return;M=t.state.tr.insertText(j,O,U)}}if(M||(M=t.state.tr.replace(O,U,c.doc.slice(b.start-c.from,b.endB-c.from))),c.sel){let j=Bw(t,M.doc,c.sel);j&&!(_n&&t.composing&&j.empty&&(b.start!=b.endB||t.input.lastChromeDelete<Date.now()-100)&&(j.head==O||j.head==M.mapping.map(U)-1)||hr&&j.empty&&j.head==O)&&M.setSelection(j)}N&&M.ensureMarks(N),o&&M.setMeta("composition",o),t.dispatch(M.scrollIntoView())}function Bw(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:y2(t,e.resolve(n.anchor),e.resolve(n.head))}function t6(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,o=r,a,s,l;for(let f=0;f<r.length;f++)i=r[f].removeFromSet(i);for(let f=0;f<n.length;f++)o=n[f].removeFromSet(o);if(i.length==1&&o.length==0)s=i[0],a="add",l=f=>f.mark(s.addToSet(f.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=f=>f.mark(s.removeFromSet(f.marks));else return null;let c=[];for(let f=0;f<e.childCount;f++)c.push(l(e.child(f)));if(Ue.from(c).eq(t))return{mark:s,type:a}}function n6(t,e,n,r,i){if(n-e<=i.pos-r.pos||Ib(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(Ib(o,!0,!0));return!a.parent.isTextblock||a.pos>n||Ib(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function Ib(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 r6(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 l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a<o&&t.size<e.size){let l=r<=o&&r>=a?o-r:0;o-=l,o&&o<e.size&&Mw(e.textBetween(o-1,o+1))&&(o+=l?1:-1),s=o+(s-a),a=o}else if(s<o){let l=r<=o&&r>=s?o-r:0;o-=l,o&&o<t.size&&Mw(t.textBetween(o-1,o+1))&&(o+=l?1:-1),a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function Mw(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 i6{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 wI,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(zw),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=Ww(this),Pw(this),this.nodeViews=Lw(this),this.docView=yw(this.state.doc,Nw(this),Ob(this),this.dom,this),this.domObserver=new XI(this,(r,i,o,a)=>e6(this,r,i,o,a)),this.domObserver.start(),SI(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&&r0(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(zw),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&&(Wk(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 g=Lw(this);a6(g,this.nodeViews)&&(this.nodeViews=g,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&r0(this),this.editable=Ww(this),Pw(this);let l=Ob(this),c=Nw(this),f=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",d=o||!this.docView.matchesNode(e.doc,c,l);(d||!e.selection.eq(i.selection))&&(a=!0);let p=f=="preserve"&&a&&this.dom.style.overflowAnchor==null&&N5(this);if(a){this.domObserver.stop();let g=d&&(hr||_n)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&o6(i.selection,e.selection);if(d){let b=_n?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=MI(this)),(o||!this.docView.update(e.doc,c,l,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=yw(e.doc,c,l,this.dom,this)),b&&!this.trackWrites&&(g=!0)}g||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&sI(this))?Wo(this,g):(_k(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),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():p&&P5(p)}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 Ge){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&fw(this,n.getBoundingClientRect(),e)}else fw(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 zk(e.slice,e.move,i<0?void 0:Ge.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(hr){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&&W5(this.dom),Wo(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 H5(this,e)}coordsAtPos(e,n=1){return vk(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 J5(this,n||this.state,e)}pasteHTML(e,n){return xd(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return xd(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return b2(this,e)}destroy(){this.docView&&(TI(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Ob(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,E5())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return EI(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?Jn&&this.root.nodeType===11&&F5(this.dom.ownerDocument)==this.dom&&JI(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function Nw(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"),[kn.node(0,t.state.doc.content.size,e)]}function Pw(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:kn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function Ww(t){return!t.someProp("editable",e=>e(t.state)===!1)}function o6(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 Lw(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 a6(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 zw(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 ts={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:"'"},og={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},s6=typeof navigator<"u"&&/Mac/.test(navigator.platform),l6=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var yn=0;yn<10;yn++)ts[48+yn]=ts[96+yn]=String(yn);for(var yn=1;yn<=24;yn++)ts[yn+111]="F"+yn;for(var yn=65;yn<=90;yn++)ts[yn]=String.fromCharCode(yn+32),og[yn]=String.fromCharCode(yn);for(var Bb in ts)og.hasOwnProperty(Bb)||(og[Bb]=ts[Bb]);function c6(t){var e=s6&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||l6&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?og:ts)[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 u6=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function f6(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 l=e[s];if(/^(cmd|meta|m)$/i.test(l))a=!0;else if(/^a(lt)?$/i.test(l))r=!0;else if(/^(c|ctrl|control)$/i.test(l))i=!0;else if(/^s(hift)?$/i.test(l))o=!0;else if(/^mod$/i.test(l))u6?a=!0:i=!0;else throw new Error("Unrecognized modifier name: "+l)}return r&&(n="Alt-"+n),i&&(n="Ctrl-"+n),a&&(n="Meta-"+n),o&&(n="Shift-"+n),n}function d6(t){let e=Object.create(null);for(let n in t)e[f6(n)]=t[n];return e}function Mb(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 h6(t){return new Sl({props:{handleKeyDown:S2(t)}})}function S2(t){let e=d6(t);return function(n,r){let i=c6(r),o,a=e[Mb(i,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let s=e[Mb(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=ts[r.keyCode])&&o!=i){let s=e[Mb(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}const T2=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function Xk(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const Gk=(t,e,n)=>{let r=Xk(t,n);if(!r)return!1;let i=C2(r);if(!i){let a=r.blockRange(),s=a&&_u(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(rA(t,i,e,-1))return!0;if(r.parent.content.size==0&&(uu(o,"end")||Ge.isSelectable(o)))for(let a=r.depth;;a--){let s=gm(t.doc,r.before(a),r.after(a),We.empty);if(s&&s.slice.size<s.to-s.from){if(e){let l=t.tr.step(s);l.setSelection(uu(o,"end")?Qe.findFrom(l.doc.resolve(l.mapping.map(i.pos,-1)),-1):Ge.create(l.doc,i.pos-o.nodeSize)),e(l.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},p6=(t,e,n)=>{let r=Xk(t,n);if(!r)return!1;let i=C2(r);return i?Jk(t,i,e):!1},g6=(t,e,n)=>{let r=Zk(t,n);if(!r)return!1;let i=E2(r);return i?Jk(t,i,e):!1};function Jk(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 f=i.lastChild;if(!f)return!1;i=f}let a=e.nodeAfter,s=a,l=e.pos+1;for(;!s.isTextblock;l++){if(s.type.spec.isolating)return!1;let f=s.firstChild;if(!f)return!1;s=f}let c=gm(t.doc,o,l,We.empty);if(!c||c.from!=o||c instanceof tn&&c.slice.size>=l-o)return!1;if(n){let f=t.tr.step(c);f.setSelection(st.create(f.doc,o)),n(f.scrollIntoView())}return!0}function uu(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 Yk=(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=C2(r)}let a=o&&o.nodeBefore;return!a||!Ge.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ge.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function C2(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 Zk(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)?null:n}const Kk=(t,e,n)=>{let r=Zk(t,n);if(!r)return!1;let i=E2(r);if(!i)return!1;let o=i.nodeAfter;if(rA(t,i,e,1))return!0;if(r.parent.content.size==0&&(uu(o,"start")||Ge.isSelectable(o))){let a=gm(t.doc,r.before(),r.after(),We.empty);if(a&&a.slice.size<a.to-a.from){if(e){let s=t.tr.step(a);s.setSelection(uu(o,"start")?Qe.findFrom(s.doc.resolve(s.mapping.map(i.pos)),1):Ge.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},Qk=(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=E2(r)}let a=o&&o.nodeAfter;return!a||!Ge.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ge.create(t.doc,o.pos)).scrollIntoView()),!0)};function E2(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 m6=(t,e)=>{let n=t.selection,r=n instanceof Ge,i;if(r){if(n.node.isTextblock||!ku(t.doc,n.from))return!1;i=n.from}else if(i=f2(t.doc,n.from,-1),i==null)return!1;if(e){let o=t.tr.join(i);r&&o.setSelection(Ge.create(o.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},y6=(t,e)=>{let n=t.selection,r;if(n instanceof Ge){if(n.node.isTextblock||!ku(t.doc,n.to))return!1;r=n.to}else if(r=f2(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},b6=(t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),o=i&&_u(i);return o==null?!1:(e&&e(t.tr.lift(i,o).scrollIntoView()),!0)},eA=(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 _2(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 v6=(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=_2(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=n.after(),l=t.tr.replaceWith(s,s,a.createAndFill());l.setSelection(Qe.near(l.doc.resolve(s),1)),e(l.scrollIntoView())}return!0},tA=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof Ar||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=_2(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(st.create(s.doc,a+1)),e(s.scrollIntoView())}return!0},nA=(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(Kc(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&_u(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)};function x6(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof Ge&&e.selection.node.isBlock)return!r.parentOffset||!Kc(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let o=[],a,s,l=!1,c=!1;for(let g=r.depth;;g--)if(r.node(g).isBlock){l=r.end(g)==r.pos+(r.depth-g),c=r.start(g)==r.pos-(r.depth-g),s=_2(r.node(g-1).contentMatchAt(r.indexAfter(g-1))),o.unshift(l&&s?{type:s}:null),a=g;break}else{if(g==1)return!1;o.unshift(null)}let f=e.tr;(e.selection instanceof st||e.selection instanceof Ar)&&f.deleteSelection();let d=f.mapping.map(r.pos),p=Kc(f.doc,d,o.length,o);if(p||(o[0]=s?{type:s}:null,p=Kc(f.doc,d,o.length,o)),f.split(d,o.length,o),!l&&c&&r.node(a).type!=s){let g=f.mapping.map(r.before(a)),b=f.doc.resolve(g);s&&r.node(a-1).canReplaceWith(b.index(),b.index()+1,s)&&f.setNodeMarkup(f.mapping.map(r.before(a)),s)}return n&&n(f.scrollIntoView()),!0}}const D6=x6(),w6=(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(Ge.create(t.doc,i))),!0)};function S6(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||ku(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function rA(t,e,n,r){let i=e.nodeBefore,o=e.nodeAfter,a,s,l=i.type.spec.isolating||o.type.spec.isolating;if(!l&&S6(t,e,n))return!0;let c=!l&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(a=(s=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&s.matchType(a[0]||o.type).validEnd){if(n){let g=e.pos+o.nodeSize,b=Ue.empty;for(let D=a.length-1;D>=0;D--)b=Ue.from(a[D].create(null,b));b=Ue.from(i.copy(b));let x=t.tr.step(new nn(e.pos-1,g,e.pos,g,new We(b,1,0),a.length,!0)),v=x.doc.resolve(g+2*a.length);v.nodeAfter&&v.nodeAfter.type==i.type&&ku(x.doc,v.pos)&&x.join(v.pos),n(x.scrollIntoView())}return!0}let f=o.type.spec.isolating||r>0&&l?null:Qe.findFrom(e,1),d=f&&f.$from.blockRange(f.$to),p=d&&_u(d);if(p!=null&&p>=e.depth)return n&&n(t.tr.lift(d,p).scrollIntoView()),!0;if(c&&uu(o,"start",!0)&&uu(i,"end")){let g=i,b=[];for(;b.push(g),!g.isTextblock;)g=g.lastChild;let x=o,v=1;for(;!x.isTextblock;x=x.firstChild)v++;if(g.canReplace(g.childCount,g.childCount,x.content)){if(n){let D=Ue.empty;for(let E=b.length-1;E>=0;E--)D=Ue.from(b[E].copy(D));let S=t.tr.step(new nn(e.pos-b.length,e.pos+o.nodeSize,e.pos+v,e.pos+o.nodeSize-v,new We(D,b.length,0),0,!0));n(S.scrollIntoView())}return!0}}return!1}function iA(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(st.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}const T6=iA(-1),C6=iA(1);function E6(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&u2(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function _6(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,(l,c)=>{if(i)return!1;if(!(!l.isTextblock||l.hasMarkup(t,e)))if(l.type==t)i=!0;else{let f=n.doc.resolve(c),d=f.index();i=f.parent.canReplaceWith(d,d+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:l}}=n.selection.ranges[a];o.setBlockType(s,l,t,e)}r(o.scrollIntoView())}return!0}}function k2(...t){return function(e,n,r){for(let i=0;i<t.length;i++)if(t[i](e,n,r))return!0;return!1}}k2(T2,Gk,Yk);k2(T2,Kk,Qk);k2(eA,tA,nA,D6);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function k6(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 A6(s,a,t,e)?(r&&r(s.scrollIntoView()),!0):!1}}function A6(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 l=a.resolve(e.start-2);o=new gd(l,l,e.depth),e.endIndex<e.parent.childCount&&(e=new gd(e.$from,a.resolve(e.$to.end(e.depth)),e.depth)),i=!0}let s=u2(o,n,r,e);return s?(t&&U6(t,e,s,i,n),!0):!1}function U6(t,e,n,r,i){let o=Ue.empty;for(let f=n.length-1;f>=0;f--)o=Ue.from(n[f].type.create(n[f].attrs,o));t.step(new nn(e.start-(r?2:0),e.end,e.start,e.end,new We(o,0,0),n.length,!0));let a=0;for(let f=0;f<n.length;f++)n[f].type==i&&(a=f+1);let s=n.length-a,l=e.start+n.length-(r?2:0),c=e.parent;for(let f=e.startIndex,d=e.endIndex,p=!0;f<d;f++,p=!1)!p&&Kc(t.doc,l,s)&&(t.split(l,s),l+=2*s),l+=c.child(f).nodeSize;return t}function F6(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?R6(e,n,t,o):O6(e,n,o):!0:!1}}function R6(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new nn(o-1,a,o,a,new We(Ue.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new gd(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));const s=_u(r);if(s==null)return!1;i.lift(r,s);let l=i.mapping.map(o,-1)-1;return ku(i.doc,l)&&i.join(l),e(i.scrollIntoView()),!0}function O6(t,e,n){let r=t.tr,i=n.parent;for(let g=n.end,b=n.endIndex-1,x=n.startIndex;b>x;b--)g-=i.child(b).nodeSize,r.delete(g-1,g+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,l=n.endIndex==i.childCount,c=o.node(-1),f=o.index(-1);if(!c.canReplace(f+(s?0:1),f+1,a.content.append(l?Ue.empty:Ue.from(i))))return!1;let d=o.pos,p=d+a.nodeSize;return r.step(new nn(d-(s?1:0),p+(l?1:0),d+1,p-1,new We((s?Ue.empty:Ue.from(i.copy(Ue.empty))).append(l?Ue.empty:Ue.from(i.copy(Ue.empty))),s?0:1,l?0:1),s?0:1)),e(r.scrollIntoView()),!0}function I6(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=t)return!1;if(n){let c=l.lastChild&&l.lastChild.type==s.type,f=Ue.from(c?t.create():null),d=new We(Ue.from(t.create(null,Ue.from(s.type.create(null,f)))),c?3:1,0),p=o.start,g=o.end;n(e.tr.step(new nn(p-(c?3:1),g,p,g,d,1,!0)).scrollIntoView())}return!0}}var oA=typeof global=="object"&&global&&global.Object===Object&&global,B6=typeof self=="object"&&self&&self.Object===Object&&self,eo=oA||B6||Function("return this")(),Zi=eo.Symbol,aA=Object.prototype,M6=aA.hasOwnProperty,N6=aA.toString,Bf=Zi?Zi.toStringTag:void 0;function P6(t){var e=M6.call(t,Bf),n=t[Bf];try{t[Bf]=void 0;var r=!0}catch{}var i=N6.call(t);return r&&(e?t[Bf]=n:delete t[Bf]),i}var W6=Object.prototype,L6=W6.toString;function z6(t){return L6.call(t)}var $6="[object Null]",j6="[object Undefined]",$w=Zi?Zi.toStringTag:void 0;function cs(t){return t==null?t===void 0?j6:$6:$w&&$w in Object(t)?P6(t):z6(t)}function $o(t){return t!=null&&typeof t=="object"}var H6="[object Symbol]";function xm(t){return typeof t=="symbol"||$o(t)&&cs(t)==H6}function sA(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 Ki=Array.isArray,jw=Zi?Zi.prototype:void 0,Hw=jw?jw.toString:void 0;function ag(t){if(typeof t=="string")return t;if(Ki(t))return sA(t,ag)+"";if(xm(t))return Hw?Hw.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var V6=/\s/;function q6(t){for(var e=t.length;e--&&V6.test(t.charAt(e)););return e}var X6=/^\s+/;function G6(t){return t&&t.slice(0,q6(t)+1).replace(X6,"")}function ns(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Vw=NaN,J6=/^[-+]0x[0-9a-f]+$/i,Y6=/^0b[01]+$/i,Z6=/^0o[0-7]+$/i,K6=parseInt;function tu(t){if(typeof t=="number")return t;if(xm(t))return Vw;if(ns(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=ns(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=G6(t);var n=Y6.test(t);return n||Z6.test(t)?K6(t.slice(2),n?2:8):J6.test(t)?Vw:+t}var Q6=1/0,e4=17976931348623157e292;function t4(t){if(!t)return t===0?t:0;if(t=tu(t),t===Q6||t===-1/0){var e=t<0?-1:1;return e*e4}return t===t?t:0}function n4(t){var e=t4(t),n=e%1;return e===e?n?e-n:e:0}function A2(t){return t}var r4="[object AsyncFunction]",i4="[object Function]",o4="[object GeneratorFunction]",a4="[object Proxy]";function lA(t){if(!ns(t))return!1;var e=cs(t);return e==i4||e==o4||e==r4||e==a4}var Nb=eo["__core-js_shared__"],qw=function(){var t=/[^.]+$/.exec(Nb&&Nb.keys&&Nb.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function s4(t){return!!qw&&qw in t}var l4=Function.prototype,c4=l4.toString;function Tl(t){if(t!=null){try{return c4.call(t)}catch{}try{return t+""}catch{}}return""}var u4=/[\\^$.*+?()[\]{}|]/g,f4=/^\[object .+?Constructor\]$/,d4=Function.prototype,h4=Object.prototype,p4=d4.toString,g4=h4.hasOwnProperty,m4=RegExp("^"+p4.call(g4).replace(u4,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function y4(t){if(!ns(t)||s4(t))return!1;var e=lA(t)?m4:f4;return e.test(Tl(t))}function b4(t,e){return t==null?void 0:t[e]}function Cl(t,e){var n=b4(t,e);return y4(n)?n:void 0}var i0=Cl(eo,"WeakMap");function v4(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 x4=800,D4=16,w4=Date.now;function S4(t){var e=0,n=0;return function(){var r=w4(),i=D4-(r-n);if(n=r,i>0){if(++e>=x4)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function T4(t){return function(){return t}}var Xw=function(){try{var t=Cl(Object,"defineProperty");return t({},"",{}),t}catch{}}(),C4=Xw?function(t,e){return Xw(t,"toString",{configurable:!0,enumerable:!1,value:T4(e),writable:!0})}:A2,E4=S4(C4);function _4(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 k4(t){return t!==t}function A4(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function U4(t,e,n){return e===e?A4(t,e,n):_4(t,k4,n)}function F4(t,e){var n=t==null?0:t.length;return!!n&&U4(t,e,0)>-1}var R4=9007199254740991,O4=/^(?:0|[1-9]\d*)$/;function cA(t,e){var n=typeof t;return e=e??R4,!!e&&(n=="number"||n!="symbol"&&O4.test(t))&&t>-1&&t%1==0&&t<e}function uA(t,e){return t===e||t!==t&&e!==e}var Gw=Math.max;function I4(t,e,n){return e=Gw(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=Gw(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),v4(t,this,s)}}function B4(t,e){return E4(I4(t,e,A2),t+"")}var M4=9007199254740991;function U2(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=M4}function fA(t){return t!=null&&U2(t.length)&&!lA(t)}var N4=Object.prototype;function P4(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||N4;return t===n}function W4(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var L4="[object Arguments]";function Jw(t){return $o(t)&&cs(t)==L4}var dA=Object.prototype,z4=dA.hasOwnProperty,$4=dA.propertyIsEnumerable,F2=Jw(function(){return arguments}())?Jw:function(t){return $o(t)&&z4.call(t,"callee")&&!$4.call(t,"callee")};function j4(){return!1}var hA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yw=hA&&typeof module=="object"&&module&&!module.nodeType&&module,H4=Yw&&Yw.exports===hA,Zw=H4?eo.Buffer:void 0,V4=Zw?Zw.isBuffer:void 0,o0=V4||j4,q4="[object Arguments]",X4="[object Array]",G4="[object Boolean]",J4="[object Date]",Y4="[object Error]",Z4="[object Function]",K4="[object Map]",Q4="[object Number]",eB="[object Object]",tB="[object RegExp]",nB="[object Set]",rB="[object String]",iB="[object WeakMap]",oB="[object ArrayBuffer]",aB="[object DataView]",sB="[object Float32Array]",lB="[object Float64Array]",cB="[object Int8Array]",uB="[object Int16Array]",fB="[object Int32Array]",dB="[object Uint8Array]",hB="[object Uint8ClampedArray]",pB="[object Uint16Array]",gB="[object Uint32Array]",Et={};Et[sB]=Et[lB]=Et[cB]=Et[uB]=Et[fB]=Et[dB]=Et[hB]=Et[pB]=Et[gB]=!0;Et[q4]=Et[X4]=Et[oB]=Et[G4]=Et[aB]=Et[J4]=Et[Y4]=Et[Z4]=Et[K4]=Et[Q4]=Et[eB]=Et[tB]=Et[nB]=Et[rB]=Et[iB]=!1;function mB(t){return $o(t)&&U2(t.length)&&!!Et[cs(t)]}function R2(t){return function(e){return t(e)}}var pA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,td=pA&&typeof module=="object"&&module&&!module.nodeType&&module,yB=td&&td.exports===pA,Pb=yB&&oA.process,sg=function(){try{var t=td&&td.require&&td.require("util").types;return t||Pb&&Pb.binding&&Pb.binding("util")}catch{}}(),Kw=sg&&sg.isTypedArray,gA=Kw?R2(Kw):mB,bB=Object.prototype,vB=bB.hasOwnProperty;function xB(t,e){var n=Ki(t),r=!n&&F2(t),i=!n&&!r&&o0(t),o=!n&&!r&&!i&&gA(t),a=n||r||i||o,s=a?W4(t.length,String):[],l=s.length;for(var c in t)vB.call(t,c)&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||cA(c,l)))&&s.push(c);return s}function DB(t,e){return function(n){return t(e(n))}}var wB=DB(Object.keys,Object),SB=Object.prototype,TB=SB.hasOwnProperty;function CB(t){if(!P4(t))return wB(t);var e=[];for(var n in Object(t))TB.call(t,n)&&n!="constructor"&&e.push(n);return e}function mA(t){return fA(t)?xB(t):CB(t)}var EB=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_B=/^\w*$/;function O2(t,e){if(Ki(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||xm(t)?!0:_B.test(t)||!EB.test(t)||e!=null&&t in Object(e)}var wd=Cl(Object,"create");function kB(){this.__data__=wd?wd(null):{},this.size=0}function AB(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var UB="__lodash_hash_undefined__",FB=Object.prototype,RB=FB.hasOwnProperty;function OB(t){var e=this.__data__;if(wd){var n=e[t];return n===UB?void 0:n}return RB.call(e,t)?e[t]:void 0}var IB=Object.prototype,BB=IB.hasOwnProperty;function MB(t){var e=this.__data__;return wd?e[t]!==void 0:BB.call(e,t)}var NB="__lodash_hash_undefined__";function PB(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=wd&&e===void 0?NB:e,this}function hl(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])}}hl.prototype.clear=kB;hl.prototype.delete=AB;hl.prototype.get=OB;hl.prototype.has=MB;hl.prototype.set=PB;function WB(){this.__data__=[],this.size=0}function Dm(t,e){for(var n=t.length;n--;)if(uA(t[n][0],e))return n;return-1}var LB=Array.prototype,zB=LB.splice;function $B(t){var e=this.__data__,n=Dm(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():zB.call(e,n,1),--this.size,!0}function jB(t){var e=this.__data__,n=Dm(e,t);return n<0?void 0:e[n][1]}function HB(t){return Dm(this.__data__,t)>-1}function VB(t,e){var n=this.__data__,r=Dm(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Jo(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])}}Jo.prototype.clear=WB;Jo.prototype.delete=$B;Jo.prototype.get=jB;Jo.prototype.has=HB;Jo.prototype.set=VB;var Sd=Cl(eo,"Map");function qB(){this.size=0,this.__data__={hash:new hl,map:new(Sd||Jo),string:new hl}}function XB(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function wm(t,e){var n=t.__data__;return XB(e)?n[typeof e=="string"?"string":"hash"]:n.map}function GB(t){var e=wm(this,t).delete(t);return this.size-=e?1:0,e}function JB(t){return wm(this,t).get(t)}function YB(t){return wm(this,t).has(t)}function ZB(t,e){var n=wm(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Yo(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])}}Yo.prototype.clear=qB;Yo.prototype.delete=GB;Yo.prototype.get=JB;Yo.prototype.has=YB;Yo.prototype.set=ZB;var KB="Expected a function";function I2(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(KB);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(I2.Cache||Yo),n}I2.Cache=Yo;var QB=500;function eM(t){var e=I2(t,function(r){return n.size===QB&&n.clear(),r}),n=e.cache;return e}var tM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,nM=/\\(\\)?/g,rM=eM(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(tM,function(n,r,i,o){e.push(i?o.replace(nM,"$1"):r||n)}),e});function a0(t){return t==null?"":ag(t)}function yA(t,e){return Ki(t)?t:O2(t,e)?[t]:rM(a0(t))}function Sm(t){if(typeof t=="string"||xm(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function bA(t,e){e=yA(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Sm(e[n++])];return n&&n==r?t:void 0}function iM(t,e,n){var r=t==null?void 0:bA(t,e);return r===void 0?n:r}function vA(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var Qw=Zi?Zi.isConcatSpreadable:void 0;function oM(t){return Ki(t)||F2(t)||!!(Qw&&t&&t[Qw])}function aM(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=oM),i||(i=[]);++o<a;){var s=t[o];n(s)&&vA(i,s)}return i}function sM(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 lM(t,e,n){var r=t.length;return n=n===void 0?r:n,n>=r?t:sM(t,e,n)}var cM="\\ud800-\\udfff",uM="\\u0300-\\u036f",fM="\\ufe20-\\ufe2f",dM="\\u20d0-\\u20ff",hM=uM+fM+dM,pM="\\ufe0e\\ufe0f",gM="\\u200d",mM=RegExp("["+gM+cM+hM+pM+"]");function B2(t){return mM.test(t)}function yM(t){return t.split("")}var xA="\\ud800-\\udfff",bM="\\u0300-\\u036f",vM="\\ufe20-\\ufe2f",xM="\\u20d0-\\u20ff",DM=bM+vM+xM,wM="\\ufe0e\\ufe0f",SM="["+xA+"]",s0="["+DM+"]",l0="\\ud83c[\\udffb-\\udfff]",TM="(?:"+s0+"|"+l0+")",DA="[^"+xA+"]",wA="(?:\\ud83c[\\udde6-\\uddff]){2}",SA="[\\ud800-\\udbff][\\udc00-\\udfff]",CM="\\u200d",TA=TM+"?",CA="["+wM+"]?",EM="(?:"+CM+"(?:"+[DA,wA,SA].join("|")+")"+CA+TA+")*",_M=CA+TA+EM,kM="(?:"+[DA+s0+"?",s0,wA,SA,SM].join("|")+")",AM=RegExp(l0+"(?="+l0+")|"+kM+_M,"g");function UM(t){return t.match(AM)||[]}function FM(t){return B2(t)?UM(t):yM(t)}function RM(t,e,n){return t===t&&(n!==void 0&&(t=t<=n?t:n),e!==void 0&&(t=t>=e?t:e)),t}function OM(t,e,n){return n===void 0&&(n=e,e=void 0),n!==void 0&&(n=tu(n),n=n===n?n:0),e!==void 0&&(e=tu(e),e=e===e?e:0),RM(tu(t),e,n)}function IM(){this.__data__=new Jo,this.size=0}function BM(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function MM(t){return this.__data__.get(t)}function NM(t){return this.__data__.has(t)}var PM=200;function WM(t,e){var n=this.__data__;if(n instanceof Jo){var r=n.__data__;if(!Sd||r.length<PM-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Yo(r)}return n.set(t,e),this.size=n.size,this}function Lo(t){var e=this.__data__=new Jo(t);this.size=e.size}Lo.prototype.clear=IM;Lo.prototype.delete=BM;Lo.prototype.get=MM;Lo.prototype.has=NM;Lo.prototype.set=WM;function LM(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 zM(){return[]}var $M=Object.prototype,jM=$M.propertyIsEnumerable,eS=Object.getOwnPropertySymbols,HM=eS?function(t){return t==null?[]:(t=Object(t),LM(eS(t),function(e){return jM.call(t,e)}))}:zM;function VM(t,e,n){var r=e(t);return Ki(t)?r:vA(r,n(t))}function tS(t){return VM(t,mA,HM)}var c0=Cl(eo,"DataView"),u0=Cl(eo,"Promise"),f0=Cl(eo,"Set"),nS="[object Map]",qM="[object Object]",rS="[object Promise]",iS="[object Set]",oS="[object WeakMap]",aS="[object DataView]",XM=Tl(c0),GM=Tl(Sd),JM=Tl(u0),YM=Tl(f0),ZM=Tl(i0),Na=cs;(c0&&Na(new c0(new ArrayBuffer(1)))!=aS||Sd&&Na(new Sd)!=nS||u0&&Na(u0.resolve())!=rS||f0&&Na(new f0)!=iS||i0&&Na(new i0)!=oS)&&(Na=function(t){var e=cs(t),n=e==qM?t.constructor:void 0,r=n?Tl(n):"";if(r)switch(r){case XM:return aS;case GM:return nS;case JM:return rS;case YM:return iS;case ZM:return oS}return e});var sS=eo.Uint8Array,KM="__lodash_hash_undefined__";function QM(t){return this.__data__.set(t,KM),this}function e9(t){return this.__data__.has(t)}function Td(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Yo;++e<n;)this.add(t[e])}Td.prototype.add=Td.prototype.push=QM;Td.prototype.has=e9;function t9(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 EA(t,e){return t.has(e)}var n9=1,r9=2;function _A(t,e,n,r,i,o){var a=n&n9,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=o.get(t),f=o.get(e);if(c&&f)return c==e&&f==t;var d=-1,p=!0,g=n&r9?new Td:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var b=t[d],x=e[d];if(r)var v=a?r(x,b,d,e,t,o):r(b,x,d,t,e,o);if(v!==void 0){if(v)continue;p=!1;break}if(g){if(!t9(e,function(D,S){if(!EA(g,S)&&(b===D||i(b,D,n,r,o)))return g.push(S)})){p=!1;break}}else if(!(b===x||i(b,x,n,r,o))){p=!1;break}}return o.delete(t),o.delete(e),p}function i9(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function o9(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var a9=1,s9=2,l9="[object Boolean]",c9="[object Date]",u9="[object Error]",f9="[object Map]",d9="[object Number]",h9="[object RegExp]",p9="[object Set]",g9="[object String]",m9="[object Symbol]",y9="[object ArrayBuffer]",b9="[object DataView]",lS=Zi?Zi.prototype:void 0,Wb=lS?lS.valueOf:void 0;function v9(t,e,n,r,i,o,a){switch(n){case b9:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case y9:return!(t.byteLength!=e.byteLength||!o(new sS(t),new sS(e)));case l9:case c9:case d9:return uA(+t,+e);case u9:return t.name==e.name&&t.message==e.message;case h9:case g9:return t==e+"";case f9:var s=i9;case p9:var l=r&a9;if(s||(s=o9),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;r|=s9,a.set(t,e);var f=_A(s(t),s(e),r,i,o,a);return a.delete(t),f;case m9:if(Wb)return Wb.call(t)==Wb.call(e)}return!1}var x9=1,D9=Object.prototype,w9=D9.hasOwnProperty;function S9(t,e,n,r,i,o){var a=n&x9,s=tS(t),l=s.length,c=tS(e),f=c.length;if(l!=f&&!a)return!1;for(var d=l;d--;){var p=s[d];if(!(a?p in e:w9.call(e,p)))return!1}var g=o.get(t),b=o.get(e);if(g&&b)return g==e&&b==t;var x=!0;o.set(t,e),o.set(e,t);for(var v=a;++d<l;){p=s[d];var D=t[p],S=e[p];if(r)var E=a?r(S,D,p,e,t,o):r(D,S,p,t,e,o);if(!(E===void 0?D===S||i(D,S,n,r,o):E)){x=!1;break}v||(v=p=="constructor")}if(x&&!v){var O=t.constructor,U=e.constructor;O!=U&&"constructor"in t&&"constructor"in e&&!(typeof O=="function"&&O instanceof O&&typeof U=="function"&&U instanceof U)&&(x=!1)}return o.delete(t),o.delete(e),x}var T9=1,cS="[object Arguments]",uS="[object Array]",tp="[object Object]",C9=Object.prototype,fS=C9.hasOwnProperty;function E9(t,e,n,r,i,o){var a=Ki(t),s=Ki(e),l=a?uS:Na(t),c=s?uS:Na(e);l=l==cS?tp:l,c=c==cS?tp:c;var f=l==tp,d=c==tp,p=l==c;if(p&&o0(t)){if(!o0(e))return!1;a=!0,f=!1}if(p&&!f)return o||(o=new Lo),a||gA(t)?_A(t,e,n,r,i,o):v9(t,e,l,n,r,i,o);if(!(n&T9)){var g=f&&fS.call(t,"__wrapped__"),b=d&&fS.call(e,"__wrapped__");if(g||b){var x=g?t.value():t,v=b?e.value():e;return o||(o=new Lo),i(x,v,n,r,o)}}return p?(o||(o=new Lo),S9(t,e,n,r,i,o)):!1}function M2(t,e,n,r,i){return t===e?!0:t==null||e==null||!$o(t)&&!$o(e)?t!==t&&e!==e:E9(t,e,n,r,M2,i)}var _9=1,k9=2;function A9(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],l=t[s],c=a[1];if(a[2]){if(l===void 0&&!(s in t))return!1}else{var f=new Lo,d;if(!(d===void 0?M2(c,l,_9|k9,r,f):d))return!1}}return!0}function kA(t){return t===t&&!ns(t)}function U9(t){for(var e=mA(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,kA(i)]}return e}function AA(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function F9(t){var e=U9(t);return e.length==1&&e[0][2]?AA(e[0][0],e[0][1]):function(n){return n===t||A9(n,t,e)}}function R9(t,e){return t!=null&&e in Object(t)}function O9(t,e,n){e=yA(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var a=Sm(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&&U2(i)&&cA(a,i)&&(Ki(t)||F2(t)))}function I9(t,e){return t!=null&&O9(t,e,R9)}var B9=1,M9=2;function N9(t,e){return O2(t)&&kA(e)?AA(Sm(t),e):function(n){var r=iM(n,t);return r===void 0&&r===e?I9(n,t):M2(e,r,B9|M9)}}function UA(t){return function(e){return e==null?void 0:e[t]}}function P9(t){return function(e){return bA(e,t)}}function W9(t){return O2(t)?UA(Sm(t)):P9(t)}function L9(t){return typeof t=="function"?t:t==null?A2:typeof t=="object"?Ki(t)?N9(t[0],t[1]):F9(t):W9(t)}var Lb=function(){return eo.Date.now()},z9="Expected a function",$9=Math.max,j9=Math.min;function FA(t,e,n){var r,i,o,a,s,l,c=0,f=!1,d=!1,p=!0;if(typeof t!="function")throw new TypeError(z9);e=tu(e)||0,ns(n)&&(f=!!n.leading,d="maxWait"in n,o=d?$9(tu(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p);function g(M){var N=r,q=i;return r=i=void 0,c=M,a=t.apply(q,N),a}function b(M){return c=M,s=setTimeout(D,e),f?g(M):a}function x(M){var N=M-l,q=M-c,j=e-N;return d?j9(j,o-q):j}function v(M){var N=M-l,q=M-c;return l===void 0||N>=e||N<0||d&&q>=o}function D(){var M=Lb();if(v(M))return S(M);s=setTimeout(D,x(M))}function S(M){return s=void 0,p&&r?g(M):(r=i=void 0,a)}function E(){s!==void 0&&clearTimeout(s),c=0,r=l=i=s=void 0}function O(){return s===void 0?a:S(Lb())}function U(){var M=Lb(),N=v(M);if(r=arguments,i=this,l=M,N){if(s===void 0)return b(l);if(d)return clearTimeout(s),s=setTimeout(D,e),g(l)}return s===void 0&&(s=setTimeout(D,e)),a}return U.cancel=E,U.flush=O,U}function zb(t){return $o(t)&&fA(t)}var H9=200;function V9(t,e,n,r){var i=-1,o=F4,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=sA(e,R2(n))),e.length>=H9&&(o=EA,a=!1,e=new Td(e));e:for(;++i<s;){var f=t[i],d=n==null?f:n(f);if(f=f!==0?f:0,a&&d===d){for(var p=c;p--;)if(e[p]===d)continue e;l.push(f)}else o(e,d,r)||l.push(f)}return l}function q9(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var X9=B4(function(t,e){var n=q9(e);return zb(n)&&(n=void 0),zb(t)?V9(t,aM(e,1,zb),L9(n)):[]}),G9="[object Number]";function J9(t){return typeof t=="number"||$o(t)&&cs(t)==G9}var Y9="[object RegExp]";function Z9(t){return $o(t)&&cs(t)==Y9}var dS=sg&&sg.isRegExp,K9=dS?R2(dS):Z9,Q9=UA("length"),RA="\\ud800-\\udfff",eN="\\u0300-\\u036f",tN="\\ufe20-\\ufe2f",nN="\\u20d0-\\u20ff",rN=eN+tN+nN,iN="\\ufe0e\\ufe0f",oN="["+RA+"]",d0="["+rN+"]",h0="\\ud83c[\\udffb-\\udfff]",aN="(?:"+d0+"|"+h0+")",OA="[^"+RA+"]",IA="(?:\\ud83c[\\udde6-\\uddff]){2}",BA="[\\ud800-\\udbff][\\udc00-\\udfff]",sN="\\u200d",MA=aN+"?",NA="["+iN+"]?",lN="(?:"+sN+"(?:"+[OA,IA,BA].join("|")+")"+NA+MA+")*",cN=NA+MA+lN,uN="(?:"+[OA+d0+"?",d0,IA,BA,oN].join("|")+")",hS=RegExp(h0+"(?="+h0+")|"+uN+cN,"g");function fN(t){for(var e=hS.lastIndex=0;hS.test(t);)++e;return e}function dN(t){return B2(t)?fN(t):Q9(t)}var hN="Expected a function";function pN(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(hN);return ns(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),FA(t,e,{leading:r,maxWait:e,trailing:i})}var gN=30,mN="...",yN=/\w*$/;function bN(t,e){var n=gN,r=mN;if(ns(e)){var i="separator"in e?e.separator:i;n="length"in e?n4(e.length):n,r="omission"in e?ag(e.omission):r}t=a0(t);var o=t.length;if(B2(t)){var a=FM(t);o=a.length}if(n>=o)return t;var s=n-dN(r);if(s<1)return r;var l=a?lM(a,0,s).join(""):t.slice(0,s);if(i===void 0)return l+r;if(a&&(s+=l.length-s),K9(i)){if(t.slice(s).search(i)){var c,f=l;for(i.global||(i=RegExp(i.source,a0(yN.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;l=l.slice(0,d===void 0?s:d)}}else if(t.indexOf(ag(i),s)!=s){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r}function PA(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=PA(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function WA(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=PA(t))&&(r&&(r+=" "),r+=e);return r}const N2="-",vN=t=>{const e=DN(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:a=>{const s=a.split(N2);return s[0]===""&&s.length!==1&&s.shift(),LA(s,e)||xN(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},LA=(t,e)=>{var a;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),i=r?LA(t.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=t.join(N2);return(a=e.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},pS=/^\[(.+)\]$/,xN=t=>{if(pS.test(t)){const e=pS.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},DN=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return SN(Object.entries(t.classGroups),n).forEach(([o,a])=>{p0(a,r,o,e)}),r},p0=(t,e,n,r)=>{t.forEach(i=>{if(typeof i=="string"){const o=i===""?e:gS(e,i);o.classGroupId=n;return}if(typeof i=="function"){if(wN(i)){p0(i(r),e,n,r);return}e.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{p0(a,gS(e,o),n,r)})})},gS=(t,e)=>{let n=t;return e.split(N2).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},wN=t=>t.isThemeGetter,SN=(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,TN=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)}}},zA="!",CN=t=>{const{separator:e,experimentalParseClassName:n}=t,r=e.length===1,i=e[0],o=e.length,a=s=>{const l=[];let c=0,f=0,d;for(let v=0;v<s.length;v++){let D=s[v];if(c===0){if(D===i&&(r||s.slice(v,v+o)===e)){l.push(s.slice(f,v)),f=v+o;continue}if(D==="/"){d=v;continue}}D==="["?c++:D==="]"&&c--}const p=l.length===0?s:s.substring(f),g=p.startsWith(zA),b=g?p.substring(1):p,x=d&&d>f?d-f:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:b,maybePostfixModifierPosition:x}};return n?s=>n({className:s,parseClassName:a}):a},EN=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},_N=t=>({cache:TN(t.cacheSize),parseClassName:CN(t),...vN(t)}),kN=/\s+/,AN=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],a=t.trim().split(kN);let s="";for(let l=a.length-1;l>=0;l-=1){const c=a[l],{modifiers:f,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:g}=n(c);let b=!!g,x=r(b?p.substring(0,g):p);if(!x){if(!b){s=c+(s.length>0?" "+s:s);continue}if(x=r(p),!x){s=c+(s.length>0?" "+s:s);continue}b=!1}const v=EN(f).join(":"),D=d?v+zA:v,S=D+x;if(o.includes(S))continue;o.push(S);const E=i(x,b);for(let O=0;O<E.length;++O){const U=E[O];o.push(D+U)}s=c+(s.length>0?" "+s:s)}return s};function UN(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=$A(e))&&(r&&(r+=" "),r+=n);return r}const $A=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=$A(t[r]))&&(n&&(n+=" "),n+=e);return n};function FN(t,...e){let n,r,i,o=a;function a(l){const c=e.reduce((f,d)=>d(f),t());return n=_N(c),r=n.cache.get,i=n.cache.set,o=s,s(l)}function s(l){const c=r(l);if(c)return c;const f=AN(l,n);return i(l,f),f}return function(){return o(UN.apply(null,arguments))}}const Ct=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},jA=/^\[(?:([a-z-]+):)?(.+)\]$/i,RN=/^\d+\/\d+$/,ON=new Set(["px","full","screen"]),IN=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BN=/\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$/,MN=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,NN=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,PN=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Co=t=>nu(t)||ON.has(t)||RN.test(t),Aa=t=>Au(t,"length",qN),nu=t=>!!t&&!Number.isNaN(Number(t)),$b=t=>Au(t,"number",nu),Mf=t=>!!t&&Number.isInteger(Number(t)),WN=t=>t.endsWith("%")&&nu(t.slice(0,-1)),it=t=>jA.test(t),Ua=t=>IN.test(t),LN=new Set(["length","size","percentage"]),zN=t=>Au(t,LN,HA),$N=t=>Au(t,"position",HA),jN=new Set(["image","url"]),HN=t=>Au(t,jN,GN),VN=t=>Au(t,"",XN),Nf=()=>!0,Au=(t,e,n)=>{const r=jA.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},qN=t=>BN.test(t)&&!MN.test(t),HA=()=>!1,XN=t=>NN.test(t),GN=t=>PN.test(t),JN=()=>{const t=Ct("colors"),e=Ct("spacing"),n=Ct("blur"),r=Ct("brightness"),i=Ct("borderColor"),o=Ct("borderRadius"),a=Ct("borderSpacing"),s=Ct("borderWidth"),l=Ct("contrast"),c=Ct("grayscale"),f=Ct("hueRotate"),d=Ct("invert"),p=Ct("gap"),g=Ct("gradientColorStops"),b=Ct("gradientColorStopPositions"),x=Ct("inset"),v=Ct("margin"),D=Ct("opacity"),S=Ct("padding"),E=Ct("saturate"),O=Ct("scale"),U=Ct("sepia"),M=Ct("skew"),N=Ct("space"),q=Ct("translate"),j=()=>["auto","contain","none"],ae=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto",it,e],F=()=>[it,e],Z=()=>["",Co,Aa],k=()=>["auto",nu,it],re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",it],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[nu,it];return{cacheSize:500,separator:":",theme:{colors:[Nf],spacing:[Co,Aa],blur:["none","",Ua,it],brightness:H(),borderColor:[t],borderRadius:["none","","full",Ua,it],borderSpacing:F(),borderWidth:Z(),contrast:H(),grayscale:X(),hueRotate:H(),invert:X(),gap:F(),gradientColorStops:[t],gradientColorStopPositions:[WN,Aa],inset:ce(),margin:ce(),opacity:H(),padding:F(),saturate:H(),scale:H(),sepia:X(),skew:H(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",it]}],container:["container"],columns:[{columns:[Ua]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"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:[...re(),it]}],overflow:[{overflow:ae()}],"overflow-x":[{"overflow-x":ae()}],"overflow-y":[{"overflow-y":ae()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Mf,it]}],basis:[{basis:ce()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",it]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",Mf,it]}],"grid-cols":[{"grid-cols":[Nf]}],"col-start-end":[{col:["auto",{span:["full",Mf,it]},it]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[Nf]}],"row-start-end":[{row:["auto",{span:[Mf,it]},it]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",it]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",it]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...J()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...J(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...J(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[S]}],px:[{px:[S]}],py:[{py:[S]}],ps:[{ps:[S]}],pe:[{pe:[S]}],pt:[{pt:[S]}],pr:[{pr:[S]}],pb:[{pb:[S]}],pl:[{pl:[S]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",it,e]}],"min-w":[{"min-w":[it,e,"min","max","fit"]}],"max-w":[{"max-w":[it,e,"none","full","min","max","fit","prose",{screen:[Ua]},Ua]}],h:[{h:[it,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[it,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[it,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[it,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Ua,Aa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$b]}],"font-family":[{font:[Nf]}],"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",it]}],"line-clamp":[{"line-clamp":["none",nu,$b]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Co,it]}],"list-image":[{"list-image":["none",it]}],"list-style-type":[{list:["none","disc","decimal",it]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[t]}],"placeholder-opacity":[{"placeholder-opacity":[D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[t]}],"text-opacity":[{"text-opacity":[D]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Co,Aa]}],"underline-offset":[{"underline-offset":["auto",Co,it]}],"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:F()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",it]}],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",it]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[D]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...re(),$N]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zN]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},HN]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[b]}],"gradient-via-pos":[{via:[b]}],"gradient-to-pos":[{to:[b]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],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":[D]}],"border-style":[{border:[...$(),"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":[D]}],"divide-style":[{divide:$()}],"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:["",...$()]}],"outline-offset":[{"outline-offset":[Co,it]}],"outline-w":[{outline:[Co,Aa]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[D]}],"ring-offset-w":[{"ring-offset":[Co,Aa]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Ua,VN]}],"shadow-color":[{shadow:[Nf]}],opacity:[{opacity:[D]}],"mix-blend":[{"mix-blend":[...G(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":G()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ua,it]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[E]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[D]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"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",it]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",it]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",it]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[Mf,it]}],"translate-x":[{"translate-x":[q]}],"translate-y":[{"translate-y":[q]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",it]}],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",it]}],"caret-color":[{caret:[t]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":F()}],"scroll-mx":[{"scroll-mx":F()}],"scroll-my":[{"scroll-my":F()}],"scroll-ms":[{"scroll-ms":F()}],"scroll-me":[{"scroll-me":F()}],"scroll-mt":[{"scroll-mt":F()}],"scroll-mr":[{"scroll-mr":F()}],"scroll-mb":[{"scroll-mb":F()}],"scroll-ml":[{"scroll-ml":F()}],"scroll-p":[{"scroll-p":F()}],"scroll-px":[{"scroll-px":F()}],"scroll-py":[{"scroll-py":F()}],"scroll-ps":[{"scroll-ps":F()}],"scroll-pe":[{"scroll-pe":F()}],"scroll-pt":[{"scroll-pt":F()}],"scroll-pr":[{"scroll-pr":F()}],"scroll-pb":[{"scroll-pb":F()}],"scroll-pl":[{"scroll-pl":F()}],"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",it]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Co,Aa,$b]}],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"]}}},YN=FN(JN);function ZN({updateComputed:t,notifyEffect:e}){let n,r;return{link(c,f){const d=f.depsTail;if(d!==void 0&&d.dep===c)return;const p=d!==void 0?d.nextDep:f.deps;if(p!==void 0&&p.dep===c){f.depsTail=p;return}const g=c.subsTail;if(!(g!==void 0&&g.sub===f&&s(g,f)))return i(c,f,p,d)},propagate(c){let f=32,d=c,p=0;e:do{const g=c.sub,b=g.flags;if(!(b&244)&&(g.flags=b|f|8,!0)||b&16&&!(b&4)&&(g.flags=b&-17|f|8,!0)||!(b&224)&&s(c,g)&&(g.flags=b|16|f|8,g.subs!==void 0)){const x=g.subs;if(x!==void 0){x.nextSub!==void 0?(x.prevSub=d,c=d=x,f=64,++p):(c=x,f=b&2?128:64);continue}b&2&&(r!==void 0?r.depsTail.nextDep=g.deps:n=g,r=g)}else b&(4|f)?!(b&f)&&b&224&&s(c,g)&&(g.flags=b|f):(g.flags=b|f|8,(b&10)===2&&(r!==void 0?r.depsTail.nextDep=g.deps:n=g,r=g));if((c=d.nextSub)!==void 0){d=c,f=p?64:32;continue}for(;p;){--p;const v=d.dep.subs;if(d=v.prevSub,v.prevSub=void 0,(c=d.nextSub)!==void 0){d=c,f=p?64:32;continue e}}break}while(!0)},startTracking(c){c.depsTail=void 0,c.flags=c.flags&-249|4},endTracking(c){const f=c.depsTail;if(f!==void 0){const d=f.nextDep;d!==void 0&&(l(d),f.nextDep=void 0)}else c.deps!==void 0&&(l(c.deps),c.deps=void 0);c.flags&=-5},updateDirtyFlag(c,f){return o(c.deps)?(c.flags=f|32,!0):(c.flags=f&-65,!1)},processComputedUpdate(c,f){if((f&32||(o(c.deps)||(c.flags=f&-65,!1)))&&t(c)){const d=c.subs;d!==void 0&&a(d)}},processPendingInnerEffects(c,f){if(f&128){c.flags=f&-129;let d=c.deps;do{const p=d.dep;"flags"in p&&p.flags&2&&p.flags&224&&e(p),d=d.nextDep}while(d!==void 0)}},processEffectNotifications(){for(;n!==void 0;){const c=n,f=c.depsTail,d=f.nextDep;d!==void 0?(f.nextDep=void 0,n=d.sub):(n=void 0,r=void 0),e(c)||(c.flags&=-9)}}};function i(c,f,d,p){const g={dep:c,sub:f,nextDep:d,prevSub:void 0,nextSub:void 0};if(p===void 0?f.deps=g:p.nextDep=g,c.subs===void 0)c.subs=g;else{const b=c.subsTail;g.prevSub=b,b.nextSub=g}return f.depsTail=g,c.subsTail=g,g}function o(c){let f=0,d;e:do{d=!1;const p=c.dep;if("flags"in p){const g=p.flags;if((g&33)===33){if(t(p)){const b=p.subs;b.nextSub!==void 0&&a(b),d=!0}}else if((g&65)===65){const b=p.subs;b.nextSub!==void 0&&(b.prevSub=c),c=p.deps,++f;continue}}if(!d&&c.nextDep!==void 0){c=c.nextDep;continue}if(f){let g=c.sub;do{--f;const b=g.subs;if(d){if(t(g)){(c=b.prevSub)!==void 0?(b.prevSub=void 0,a(g.subs),g=c.sub):g=b.sub;continue}}else g.flags&=-65;if((c=b.prevSub)!==void 0){if(b.prevSub=void 0,c.nextDep!==void 0){c=c.nextDep;continue e}g=c.sub}else{if((c=b.nextDep)!==void 0)continue e;g=b.sub}d=!1}while(f)}return d}while(!0)}function a(c){do{const f=c.sub,d=f.flags;(d&96)===64&&(f.flags=d|32|8,(d&10)===2&&(r!==void 0?r.depsTail.nextDep=f.deps:n=f,r=f)),c=c.nextSub}while(c!==void 0)}function s(c,f){const d=f.depsTail;if(d!==void 0){let p=f.deps;do{if(p===c)return!0;if(p===d)break;p=p.nextDep}while(p!==void 0)}return!1}function l(c){do{const f=c.dep,d=c.nextDep,p=c.nextSub,g=c.prevSub;if(p!==void 0?p.prevSub=g:f.subsTail=g,g!==void 0?g.nextSub=p:f.subs=p,f.subs===void 0&&"deps"in f){const b=f.flags;b&32||(f.flags=b|32);const x=f.deps;if(x!==void 0){c=x,f.depsTail.nextDep=d,f.deps=void 0,f.depsTail=void 0;continue}}c=d}while(c!==void 0)}}var{link:VA,propagate:KN,updateDirtyFlag:QN,startTracking:P2,endTracking:W2,processEffectNotifications:eP,processComputedUpdate:NZ,processPendingInnerEffects:qA}=ZN({updateComputed(t){const e=Hi;Hi=t,P2(t);try{const n=t.currentValue,r=t.getter(n);return n!==r?(t.currentValue=r,!0):!1}finally{Hi=e,W2(t)}},notifyEffect(t){return"isScope"in t?rP(t):nP(t)}}),Hi;function tP(t){return iP.bind({currentValue:t,subs:void 0,subsTail:void 0})}function XA(t){const e={fn:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:2};return Hi!==void 0&&VA(e,Hi),GA(e),oP.bind(e)}function GA(t){const e=Hi;Hi=t,P2(t);try{t.fn()}finally{Hi=e,W2(t)}}function nP(t){const e=t.flags;return e&32||e&64&&QN(t,e)?GA(t):qA(t,t.flags),!0}function rP(t){return t.flags&128?(qA(t,t.flags),!0):!1}function iP(...t){if(t.length){if(this.currentValue!==(this.currentValue=t[0])){const e=this.subs;e!==void 0&&(KN(e),eP())}}else return Hi!==void 0&&VA(this,Hi),this.currentValue}function oP(){P2(this),W2(this)}function aP(t){return tP(t)}function sP(t){return[Dl.useSyncExternalStore(e=>{let n=XA(()=>{t(),e()});return()=>n()},()=>t(),()=>t()),e=>{t(typeof e=="function"?e(t()):e)}]}function lP(t){return Dl.useSyncExternalStore(e=>{let n=XA(()=>{t(),e()});return()=>n()},()=>t(),()=>t())}const mS=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,yS=WA,cP=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return yS(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=e,a=Object.keys(i).map(c=>{const f=n==null?void 0:n[c],d=o==null?void 0:o[c];if(f===null)return null;const p=mS(f)||mS(d);return i[c][p]}),s=n&&Object.entries(n).reduce((c,f)=>{let[d,p]=f;return p===void 0||(c[d]=p),c},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((c,f)=>{let{class:d,className:p,...g}=f;return Object.entries(g).every(b=>{let[x,v]=b;return Array.isArray(v)?v.includes({...o,...s}[x]):{...o,...s}[x]===v})?[...c,d,p]:c},[]);return yS(t,a,l,n==null?void 0:n.class,n==null?void 0:n.className)},uP="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",fP="ελ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",fu=(t,e)=>{for(const n in e)t[n]=e[n];return t},g0="numeric",m0="ascii",y0="alpha",nd="asciinumeric",Yf="alphanumeric",b0="domain",JA="emoji",dP="scheme",hP="slashscheme",jb="whitespace";function pP(t,e){return t in e||(e[t]=[]),e[t]}function nl(t,e,n){e[g0]&&(e[nd]=!0,e[Yf]=!0),e[m0]&&(e[nd]=!0,e[y0]=!0),e[nd]&&(e[Yf]=!0),e[y0]&&(e[Yf]=!0),e[Yf]&&(e[b0]=!0),e[JA]&&(e[b0]=!0);for(const r in e){const i=pP(r,n);i.indexOf(t)<0&&i.push(t)}}function gP(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function ur(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}ur.groups={};ur.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||ur.groups;let i;return e&&e.j?i=e:(i=new ur(e),n&&r&&nl(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||ur.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 ur,fu(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new ur,o){if(r)if(a.t&&typeof a.t=="string"){const l=fu(gP(a.t,r),n);nl(o,l,r)}else n&&nl(o,n,r);a.t=o}return i.j[t]=a,a}};const ot=(t,e,n,r,i)=>t.ta(e,n,r,i),Pt=(t,e,n,r,i)=>t.tr(e,n,r,i),bS=(t,e,n,r,i)=>t.ts(e,n,r,i),Be=(t,e,n,r,i)=>t.tt(e,n,r,i),Oo="WORD",v0="UWORD",YA="ASCIINUMERICAL",ZA="ALPHANUMERICAL",Cd="LOCALHOST",x0="TLD",D0="UTLD",Up="SCHEME",Hc="SLASH_SCHEME",L2="NUM",w0="WS",z2="NL",rd="OPENBRACE",id="CLOSEBRACE",lg="OPENBRACKET",cg="CLOSEBRACKET",ug="OPENPAREN",fg="CLOSEPAREN",dg="OPENANGLEBRACKET",hg="CLOSEANGLEBRACKET",pg="FULLWIDTHLEFTPAREN",gg="FULLWIDTHRIGHTPAREN",mg="LEFTCORNERBRACKET",yg="RIGHTCORNERBRACKET",bg="LEFTWHITECORNERBRACKET",vg="RIGHTWHITECORNERBRACKET",xg="FULLWIDTHLESSTHAN",Dg="FULLWIDTHGREATERTHAN",wg="AMPERSAND",$2="APOSTROPHE",Sg="ASTERISK",Pa="AT",Tg="BACKSLASH",Cg="BACKTICK",Eg="CARET",$a="COLON",j2="COMMA",_g="DOLLAR",Wi="DOT",kg="EQUALS",H2="EXCLAMATION",Xr="HYPHEN",od="PERCENT",Ag="PIPE",Ug="PLUS",Fg="POUND",ad="QUERY",V2="QUOTE",KA="FULLWIDTHMIDDLEDOT",q2="SEMI",Li="SLASH",sd="TILDE",Rg="UNDERSCORE",QA="EMOJI",Og="SYM";var e3=Object.freeze({__proto__:null,WORD:Oo,UWORD:v0,ASCIINUMERICAL:YA,ALPHANUMERICAL:ZA,LOCALHOST:Cd,TLD:x0,UTLD:D0,SCHEME:Up,SLASH_SCHEME:Hc,NUM:L2,WS:w0,NL:z2,OPENBRACE:rd,CLOSEBRACE:id,OPENBRACKET:lg,CLOSEBRACKET:cg,OPENPAREN:ug,CLOSEPAREN:fg,OPENANGLEBRACKET:dg,CLOSEANGLEBRACKET:hg,FULLWIDTHLEFTPAREN:pg,FULLWIDTHRIGHTPAREN:gg,LEFTCORNERBRACKET:mg,RIGHTCORNERBRACKET:yg,LEFTWHITECORNERBRACKET:bg,RIGHTWHITECORNERBRACKET:vg,FULLWIDTHLESSTHAN:xg,FULLWIDTHGREATERTHAN:Dg,AMPERSAND:wg,APOSTROPHE:$2,ASTERISK:Sg,AT:Pa,BACKSLASH:Tg,BACKTICK:Cg,CARET:Eg,COLON:$a,COMMA:j2,DOLLAR:_g,DOT:Wi,EQUALS:kg,EXCLAMATION:H2,HYPHEN:Xr,PERCENT:od,PIPE:Ag,PLUS:Ug,POUND:Fg,QUERY:ad,QUOTE:V2,FULLWIDTHMIDDLEDOT:KA,SEMI:q2,SLASH:Li,TILDE:sd,UNDERSCORE:Rg,EMOJI:QA,SYM:Og});const Eo=/[a-z]/,Pf=new RegExp("\\p{L}","u"),Hb=new RegExp("\\p{Emoji}","u"),_o=/\d/,Vb=/\s/,vS="\r",qb=`
|
|
11
|
+
`,mP="️",yP="",Xb="";let np=null,rp=null;function bP(t=[]){const e={};ur.groups=e;const n=new ur;np==null&&(np=xS(uP)),rp==null&&(rp=xS(fP)),Be(n,"'",$2),Be(n,"{",rd),Be(n,"}",id),Be(n,"[",lg),Be(n,"]",cg),Be(n,"(",ug),Be(n,")",fg),Be(n,"<",dg),Be(n,">",hg),Be(n,"(",pg),Be(n,")",gg),Be(n,"「",mg),Be(n,"」",yg),Be(n,"『",bg),Be(n,"』",vg),Be(n,"<",xg),Be(n,">",Dg),Be(n,"&",wg),Be(n,"*",Sg),Be(n,"@",Pa),Be(n,"`",Cg),Be(n,"^",Eg),Be(n,":",$a),Be(n,",",j2),Be(n,"$",_g),Be(n,".",Wi),Be(n,"=",kg),Be(n,"!",H2),Be(n,"-",Xr),Be(n,"%",od),Be(n,"|",Ag),Be(n,"+",Ug),Be(n,"#",Fg),Be(n,"?",ad),Be(n,'"',V2),Be(n,"/",Li),Be(n,";",q2),Be(n,"~",sd),Be(n,"_",Rg),Be(n,"\\",Tg),Be(n,"・",KA);const r=Pt(n,_o,L2,{[g0]:!0});Pt(r,_o,r);const i=Pt(r,Eo,YA,{[nd]:!0}),o=Pt(r,Pf,ZA,{[Yf]:!0}),a=Pt(n,Eo,Oo,{[m0]:!0});Pt(a,_o,i),Pt(a,Eo,a),Pt(i,_o,i),Pt(i,Eo,i);const s=Pt(n,Pf,v0,{[y0]:!0});Pt(s,Eo),Pt(s,_o,o),Pt(s,Pf,s),Pt(o,_o,o),Pt(o,Eo),Pt(o,Pf,o);const l=Be(n,qb,z2,{[jb]:!0}),c=Be(n,vS,w0,{[jb]:!0}),f=Pt(n,Vb,w0,{[jb]:!0});Be(n,Xb,f),Be(c,qb,l),Be(c,Xb,f),Pt(c,Vb,f),Be(f,vS),Be(f,qb),Pt(f,Vb,f),Be(f,Xb,f);const d=Pt(n,Hb,QA,{[JA]:!0});Be(d,"#"),Pt(d,Hb,d),Be(d,mP,d);const p=Be(d,yP);Be(p,"#"),Pt(p,Hb,d);const g=[[Eo,a],[_o,i]],b=[[Eo,null],[Pf,s],[_o,o]];for(let x=0;x<np.length;x++)Fa(n,np[x],x0,Oo,g);for(let x=0;x<rp.length;x++)Fa(n,rp[x],D0,v0,b);nl(x0,{tld:!0,ascii:!0},e),nl(D0,{utld:!0,alpha:!0},e),Fa(n,"file",Up,Oo,g),Fa(n,"mailto",Up,Oo,g),Fa(n,"http",Hc,Oo,g),Fa(n,"https",Hc,Oo,g),Fa(n,"ftp",Hc,Oo,g),Fa(n,"ftps",Hc,Oo,g),nl(Up,{scheme:!0,ascii:!0},e),nl(Hc,{slashscheme:!0,ascii:!0},e),t=t.sort((x,v)=>x[0]>v[0]?1:-1);for(let x=0;x<t.length;x++){const v=t[x][0],S=t[x][1]?{[dP]:!0}:{[hP]:!0};v.indexOf("-")>=0?S[b0]=!0:Eo.test(v)?_o.test(v)?S[nd]=!0:S[m0]=!0:S[g0]=!0,bS(n,v,v,S)}return bS(n,"localhost",Cd,{ascii:!0}),n.jd=new ur(Og),{start:n,tokens:fu({groups:e},e3)}}function t3(t,e){const n=vP(e.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a<r;){let s=t,l=null,c=0,f=null,d=-1,p=-1;for(;a<r&&(l=s.go(n[a]));)s=l,s.accepts()?(d=0,p=0,f=s):d>=0&&(d+=n[a].length,p++),c+=n[a].length,o+=n[a].length,a++;o-=d,a-=p,c-=d,i.push({t:f.t,v:e.slice(o-c,o),s:o-c,e:o})}return i}function vP(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 Fa(t,e,n,r,i){let o;const a=e.length;for(let s=0;s<a-1;s++){const l=e[s];t.j[l]?o=t.j[l]:(o=new ur(r),o.jr=i.slice(),t.j[l]=o),t=o}return o=new ur(n),o.jr=i.slice(),t.j[e[a-1]]=o,o}function xS(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 Ed={defaultProtocol:"http",events:null,format:DS,formatHref:DS,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function X2(t,e=null){let n=fu({},Ed);t&&(n=fu(n,t instanceof X2?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}X2.prototype={o:Ed,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]:Ed[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 DS(t){return t}function n3(t,e){this.t="token",this.v=t,this.tk=e}n3.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=Ed.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),l=t.get("target",n,e),c=t.get("rel",n,e),f=t.getObj("attributes",n,e),d=t.getObj("events",n,e);return a.href=r,s&&(a.class=s),l&&(a.target=l),c&&(a.rel=c),f&&fu(a,f),{tagName:i,attributes:a,content:o,eventListeners:d}}};function Tm(t,e){class n extends n3{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 wS=Tm("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),SS=Tm("text"),xP=Tm("nl"),ip=Tm("url",{isLink:!0,toHref(t=Ed.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Cd&&t[1].t===$a}}),Vr=t=>new ur(t);function DP({groups:t}){const e=t.domain.concat([wg,Sg,Pa,Tg,Cg,Eg,_g,kg,Xr,L2,od,Ag,Ug,Fg,Li,Og,sd,Rg]),n=[$a,j2,Wi,H2,od,ad,V2,q2,dg,hg,rd,id,cg,lg,ug,fg,pg,gg,mg,yg,bg,vg,xg,Dg],r=[wg,$2,Sg,Tg,Cg,Eg,_g,kg,Xr,rd,id,od,Ag,Ug,Fg,ad,Li,Og,sd,Rg],i=Vr(),o=Be(i,sd);ot(o,r,o),ot(o,t.domain,o);const a=Vr(),s=Vr(),l=Vr();ot(i,t.domain,a),ot(i,t.scheme,s),ot(i,t.slashscheme,l),ot(a,r,o),ot(a,t.domain,a);const c=Be(a,Pa);Be(o,Pa,c),Be(s,Pa,c),Be(l,Pa,c);const f=Be(o,Wi);ot(f,r,o),ot(f,t.domain,o);const d=Vr();ot(c,t.domain,d),ot(d,t.domain,d);const p=Be(d,Wi);ot(p,t.domain,d);const g=Vr(wS);ot(p,t.tld,g),ot(p,t.utld,g),Be(c,Cd,g);const b=Be(d,Xr);Be(b,Xr,b),ot(b,t.domain,d),ot(g,t.domain,d),Be(g,Wi,p),Be(g,Xr,b);const x=Be(g,$a);ot(x,t.numeric,wS);const v=Be(a,Xr),D=Be(a,Wi);Be(v,Xr,v),ot(v,t.domain,a),ot(D,r,o),ot(D,t.domain,a);const S=Vr(ip);ot(D,t.tld,S),ot(D,t.utld,S),ot(S,t.domain,a),ot(S,r,o),Be(S,Wi,D),Be(S,Xr,v),Be(S,Pa,c);const E=Be(S,$a),O=Vr(ip);ot(E,t.numeric,O);const U=Vr(ip),M=Vr();ot(U,e,U),ot(U,n,M),ot(M,e,U),ot(M,n,M),Be(S,Li,U),Be(O,Li,U);const N=Be(s,$a),q=Be(l,$a),j=Be(q,Li),ae=Be(j,Li);ot(s,t.domain,a),Be(s,Wi,D),Be(s,Xr,v),ot(l,t.domain,a),Be(l,Wi,D),Be(l,Xr,v),ot(N,t.domain,U),Be(N,Li,U),Be(N,ad,U),ot(ae,t.domain,U),ot(ae,e,U),Be(ae,Li,U);const ce=[[rd,id],[lg,cg],[ug,fg],[dg,hg],[pg,gg],[mg,yg],[bg,vg],[xg,Dg]];for(let F=0;F<ce.length;F++){const[Z,k]=ce[F],re=Be(U,Z);Be(M,Z,re),Be(re,k,U);const $=Vr(ip);ot(re,e,$);const G=Vr();ot(re,n),ot($,e,$),ot($,n,G),ot(G,e,$),ot(G,n,G),Be($,k,U),Be(G,k,U)}return Be(i,Cd,S),Be(i,z2,xP),{start:i,tokens:e3}}function wP(t,e,n){let r=n.length,i=0,o=[],a=[];for(;i<r;){let s=t,l=null,c=null,f=0,d=null,p=-1;for(;i<r&&!(l=s.go(n[i].t));)a.push(n[i++]);for(;i<r&&(c=l||s.go(n[i].t));)l=null,s=c,s.accepts()?(p=0,d=s):p>=0&&p++,i++,f++;if(p<0)i-=f,i<r&&(a.push(n[i]),i++);else{a.length>0&&(o.push(Gb(SS,e,a)),a=[]),i-=p,f-=p;const g=d.t,b=n.slice(i-f,i);o.push(Gb(g,e,b))}}return a.length>0&&o.push(Gb(SS,e,a)),o}function Gb(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 SP=typeof console<"u"&&console&&console.warn||(()=>{}),TP="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",_t={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function CP(){return ur.groups={},_t.scanner=null,_t.parser=null,_t.tokenQueue=[],_t.pluginQueue=[],_t.customSchemes=[],_t.initialized=!1,_t}function EP(t,e=!1){if(_t.initialized&&SP(`linkifyjs: already initialized - will not register custom scheme "${t}" ${TP}`),!/^[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`);_t.customSchemes.push([t,e])}function _P(){_t.scanner=bP(_t.customSchemes);for(let t=0;t<_t.tokenQueue.length;t++)_t.tokenQueue[t][1]({scanner:_t.scanner});_t.parser=DP(_t.scanner.tokens);for(let t=0;t<_t.pluginQueue.length;t++)_t.pluginQueue[t][1]({scanner:_t.scanner,parser:_t.parser});return _t.initialized=!0,_t}function G2(t){return _t.initialized||_P(),wP(_t.parser.start,t,t3(_t.scanner.start,t))}G2.scan=t3;function kP(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 X2(n),i=G2(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 Ig=200,rn=function(){};rn.prototype.append=function(e){return e.length?(e=rn.from(e),!this.length&&e||e.length<Ig&&this.leafAppend(e)||this.length<Ig&&e.leafPrepend(this)||this.appendInner(e)):this};rn.prototype.prepend=function(e){return e.length?rn.from(e).append(this):this};rn.prototype.appendInner=function(e){return new AP(this,e)};rn.prototype.slice=function(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.length),e>=n?rn.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};rn.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};rn.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)};rn.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};rn.from=function(e){return e instanceof rn?e:e&&e.length?new r3(e):rn.empty};var r3=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 l=o;l<a;l++)if(i(this.values[l],s+l)===!1)return!1},e.prototype.forEachInvertedInner=function(i,o,a,s){for(var l=o-1;l>=a;l--)if(i(this.values[l],s+l)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=Ig)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Ig)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}(rn);rn.empty=new r3([]);var AP=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}(rn);const UP=500;class hi{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,l,c=[],f=[];return this.items.forEach((d,p)=>{if(!d.step){i||(i=this.remapping(r,p+1),o=i.maps.length),o--,f.push(d);return}if(i){f.push(new Ra(d.map));let g=d.step.map(i.slice(o)),b;g&&a.maybeStep(g).doc&&(b=a.mapping.maps[a.mapping.maps.length-1],c.push(new Ra(b,void 0,void 0,c.length+f.length))),o--,b&&i.appendMap(b,o)}else a.maybeStep(d.step);if(d.selection)return s=i?d.selection.map(i.slice(o)):d.selection,l=new hi(this.items.slice(0,r).append(f.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(e,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let f=0;f<e.steps.length;f++){let d=e.steps[f].invert(e.docs[f]),p=new Ra(e.mapping.maps[f],d,n),g;(g=l&&l.merge(p))&&(p=g,f?o.pop():s=s.slice(0,s.length-1)),o.push(p),n&&(a++,n=void 0),i||(l=p)}let c=a-r.depth;return c>RP&&(s=FP(s,c),a-=c),new hi(s.append(o),a)}remapping(e,n){let r=new Zc;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 hi(this.items.append(e.map(n=>new Ra(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(p=>{p.selection&&s--},i);let l=n;this.items.forEach(p=>{let g=o.getMirror(--l);if(g==null)return;a=Math.min(a,g);let b=o.maps[g];if(p.step){let x=e.steps[g].invert(e.docs[g]),v=p.selection&&p.selection.map(o.slice(l+1,g));v&&s++,r.push(new Ra(b,x,v))}else r.push(new Ra(b))},i);let c=[];for(let p=n;p<a;p++)c.push(new Ra(o.maps[p]));let f=this.items.slice(0,i).append(c).append(r),d=new hi(f,s);return d.emptyItemCount()>UP&&(d=d.compress(this.items.length-r.length)),d}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 l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let f=a.selection&&a.selection.map(n.slice(r));f&&o++;let d=new Ra(c.invert(),l,f),p,g=i.length-1;(p=i.length&&i[g].merge(d))?i[g]=p:i.push(d)}}else a.map&&r--},this.items.length,0),new hi(rn.from(i.reverse()),o)}}hi.empty=new hi(rn.empty,0);function FP(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}let Ra=class i3{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 i3(n.getMap().invert(),n,this.selection)}}};class Wa{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const RP=20;function OP(t,e,n,r){let i=n.getMeta(sl),o;if(i)return i.historyState;n.getMeta(MP)&&(t=new Wa(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(sl))return a.getMeta(sl).redo?new Wa(t.done.addTransform(n,void 0,r,Fp(e)),t.undone,TS(n.mapping.maps),t.prevTime,t.prevComposition):new Wa(t.done,t.undone.addTransform(n,void 0,r,Fp(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=t.prevTime==0||!a&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-r.newGroupDelay||!IP(n,t.prevRanges)),c=a?Jb(t.prevRanges,n.mapping):TS(n.mapping.maps);return new Wa(t.done.addTransform(n,l?e.selection.getBookmark():void 0,r,Fp(e)),hi.empty,c,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new Wa(t.done.rebased(n,o),t.undone.rebased(n,o),Jb(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new Wa(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),Jb(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function IP(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 TS(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 Jb(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 BP(t,e,n){let r=Fp(e),i=sl.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),l=new Wa(n?s:o.remaining,n?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(sl,{redo:n,historyState:l})}let Yb=!1,CS=null;function Fp(t){let e=t.plugins;if(CS!=e){Yb=!1,CS=e;for(let n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){Yb=!0;break}}return Yb}const sl=new Go("history"),MP=new Go("closeHistory");function NP(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new Sl({key:sl,state:{init(){return new Wa(hi.empty,hi.empty,null,0,-1)},apply(e,n,r){return OP(n,r,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,n){let r=n.inputType,i=r=="historyUndo"?a3:r=="historyRedo"?s3:null;return i?(n.preventDefault(),i(e.state,e.dispatch)):!1}}}})}function o3(t,e){return(n,r)=>{let i=sl.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let o=BP(i,n,t);o&&r(e?o.scrollIntoView():o)}return!0}}const a3=o3(!1,!0),s3=o3(!0,!0);function PP(t={}){return new Sl({view(e){return new WP(e,t)}})}class WP{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,l=e.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let f=c.getBoundingClientRect(),d=s?f.bottom:f.top;s&&l&&(d=(d+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:f.left,right:f.right,top:d-this.width/2,bottom:d+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=ak(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 Wt extends Qe{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return Wt.valid(r)?new Wt(r):Qe.near(r)}content(){return We.empty}eq(e){return e instanceof Wt&&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 Wt(e.resolve(n.pos))}getBookmark(){return new J2(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!LP(e)||!zP(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&&Wt.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 l=e.doc.resolve(i);if(Wt.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!Ge.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(Wt.valid(s))return s}return null}}}Wt.prototype.visible=!1;Wt.findFrom=Wt.findGapCursorFrom;Qe.jsonID("gapcursor",Wt);class J2{constructor(e){this.pos=e}map(e){return new J2(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return Wt.valid(n)?new Wt(n):Qe.near(n)}}function LP(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 zP(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 $P(){return new Sl({props:{decorations:qP,createSelectionBetween(t,e,n){return e.pos==n.pos&&Wt.valid(n)?new Wt(n):null},handleClick:HP,handleKeyDown:jP,handleDOMEvents:{beforeinput:VP}}})}const jP=S2({ArrowLeft:op("horiz",-1),ArrowRight:op("horiz",1),ArrowUp:op("vert",-1),ArrowDown:op("vert",1)});function op(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,l=a.empty;if(a instanceof st){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(e>0?s.after():s.before())}let c=Wt.findGapCursorFrom(s,e,l);return c?(i&&i(r.tr.setSelection(new Wt(c))),!0):!1}}function HP(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!Wt.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&Ge.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new Wt(r))),!0)}function VP(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof Wt))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=Ue.empty;for(let a=r.length-1;a>=0;a--)i=Ue.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new We(i,0,0));return o.setSelection(st.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function qP(t){if(!(t.selection instanceof Wt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Bt.create(t.doc,[kn.widget(t.selection.head,e,{key:"gapcursor"})])}var S0,T0;if(typeof WeakMap<"u"){let t=new WeakMap;S0=e=>t.get(e),T0=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;S0=r=>{for(let i=0;i<t.length;i+=2)if(t[i]==r)return t[i+1]},T0=(r,i)=>(n==10&&(n=0),t[n++]=r,t[n++]=i)}var Lt=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:l,bottom:c}=this.findCell(e);return{left:Math.min(n,a),top:Math.min(i,l),right:Math.max(r,s),bottom:Math.max(o,c)}}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 S0(t)||T0(t,XP(t))}};function XP(t){if(t.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+t.type.name);const e=GP(t),n=t.childCount,r=[];let i=0,o=null;const a=[];for(let c=0,f=e*n;c<f;c++)r[c]=0;for(let c=0,f=0;c<n;c++){const d=t.child(c);f++;for(let b=0;;b++){for(;i<r.length&&r[i]!=0;)i++;if(b==d.childCount)break;const x=d.child(b),{colspan:v,rowspan:D,colwidth:S}=x.attrs;for(let E=0;E<D;E++){if(E+c>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:f,n:D-E});break}const O=i+E*e;for(let U=0;U<v;U++){r[O+U]==0?r[O+U]=f:(o||(o=[])).push({type:"collision",row:c,pos:f,n:v-U});const M=S&&S[U];if(M){const N=(O+U)%e*2,q=a[N];q==null||q!=M&&a[N+1]==1?(a[N]=M,a[N+1]=1):q==M&&a[N+1]++}}}i+=v,f+=x.nodeSize}const p=(c+1)*e;let g=0;for(;i<p;)r[i++]==0&&g++;g&&(o||(o=[])).push({type:"missing",row:c,n:g}),f++}(e===0||n===0)&&(o||(o=[])).push({type:"zero_sized"});const s=new Lt(e,n,r,o);let l=!1;for(let c=0;!l&&c<a.length;c+=2)a[c]!=null&&a[c+1]<n&&(l=!0);return l&&JP(s,a,t),s}function GP(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 l=0;l<s.childCount;l++){const c=s.child(l);a+c.attrs.rowspan>r&&(o+=c.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 JP(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 l=a.attrs;for(let c=0;c<l.colspan;c++){const f=(i+c)%t.width,d=e[f*2];d!=null&&(!l.colwidth||l.colwidth[c]!=d)&&((s||(s=YP(l)))[c]=d)}s&&t.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}function YP(t){if(t.colwidth)return t.colwidth.slice();const e=[];for(let n=0;n<t.colspan;n++)e.push(0);return e}function Rn(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 ja=new Go("selectingCells");function Uu(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 ZP(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 bi(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 Cm(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=Uu(e.$head)||KP(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function KP(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 C0(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function QP(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function Y2(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function l3(t,e,n){const r=t.node(-1),i=Lt.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 pl(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 c3(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 e7(t,e,n){const r=Rn(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 Ut=class Io extends Qe{constructor(e,n=e){const r=e.node(-1),i=Lt.get(r),o=e.start(-1),a=i.rectBetween(e.pos-o,n.pos-o),s=e.node(0),l=i.cellsInRect(a).filter(f=>f!=n.pos-o);l.unshift(n.pos-o);const c=l.map(f=>{const d=r.nodeAt(f);if(!d)throw RangeError(`No cell with offset ${f} found`);const p=o+f+1;return new h2(s.resolve(p),s.resolve(p+d.content.size))});super(c[0].$from,c[0].$to,c),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(C0(r)&&C0(i)&&Y2(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?Io.rowSelection(r,i):o&&this.isColSelection()?Io.colSelection(r,i):new Io(r,i)}return st.between(r,i)}content(){const e=this.$anchorCell.node(-1),n=Lt.get(e),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let l=i.top;l<i.bottom;l++){const c=[];for(let f=l*n.width+i.left,d=i.left;d<i.right;d++,f++){const p=n.map[f];if(o[p])continue;o[p]=!0;const g=n.findCell(p);let b=e.nodeAt(p);if(!b)throw RangeError(`No cell with offset ${p} found`);const x=i.left-g.left,v=g.right-i.right;if(x>0||v>0){let D=b.attrs;if(x>0&&(D=pl(D,0,x)),v>0&&(D=pl(D,D.colspan-v,v)),g.left<i.left){if(b=b.type.createAndFill(D),!b)throw RangeError(`Could not create cell with attrs ${JSON.stringify(D)}`)}else b=b.type.create(D,b.content)}if(g.top<i.top||g.bottom>i.bottom){const D={...b.attrs,rowspan:Math.min(g.bottom,i.bottom)-Math.max(g.top,i.top)};g.top<i.top?b=b.type.createAndFill(D):b=b.type.create(D,b.content)}c.push(b)}a.push(e.child(l).copy(Ue.from(c)))}const s=this.isColSelection()&&this.isRowSelection()?e:a;return new We(Ue.from(s),1,1)}replace(e,n=We.empty){const r=e.steps.length,i=this.ranges;for(let a=0;a<i.length;a++){const{$from:s,$to:l}=i[a],c=e.mapping.slice(r);e.replace(c.map(s.pos),c.map(l.pos),a?We.empty:n)}const o=Qe.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,n){this.replace(e,new We(Ue.from(n),0,0))}forEachCell(e){const n=this.$anchorCell.node(-1),r=Lt.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=Lt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.top<=s.top?(a.top>0&&(e=l.resolve(o+i.map[a.left])),s.bottom<i.height&&(n=l.resolve(o+i.map[i.width*(i.height-1)+s.right-1]))):(s.top>0&&(n=l.resolve(o+i.map[s.left])),a.bottom<i.height&&(e=l.resolve(o+i.map[i.width*(i.height-1)+a.right-1]))),new Io(e,n)}isRowSelection(){const e=this.$anchorCell.node(-1),n=Lt.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 Io&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),i=Lt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.left<=s.left?(a.left>0&&(e=l.resolve(o+i.map[a.top*i.width])),s.right<i.width&&(n=l.resolve(o+i.map[i.width*(s.top+1)-1]))):(s.left>0&&(n=l.resolve(o+i.map[s.top*i.width])),a.right<i.width&&(e=l.resolve(o+i.map[i.width*(a.top+1)-1]))),new Io(e,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,n){return new Io(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){return new Io(e.resolve(n),e.resolve(r))}getBookmark(){return new t7(this.$anchorCell.pos,this.$headCell.pos)}};Ut.prototype.visible=!1;Qe.jsonID("cell",Ut);var t7=class u3{constructor(e,n){this.anchor=e,this.head=n}map(e){return new u3(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&&Y2(n,r)?new Ut(n,r):Qe.near(r,1)}};function n7(t){if(!(t.selection instanceof Ut))return null;const e=[];return t.selection.forEachCell((n,r)=>{e.push(kn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Bt.create(t.doc,e)}function r7({$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 i7({$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 o7(t,e,n){const r=(e||t).selection,i=(e||t).doc;let o,a;if(r instanceof Ge&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Ut.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Ut.rowSelection(s,s)}else if(!n){const s=Lt.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=Ut.create(i,l+1,c)}}else r instanceof st&&r7(r)?o=st.create(i,r.from):r instanceof st&&i7(r)&&(o=st.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var a7=new Go("fix-tables");function f3(t,e,n,r){const i=t.childCount,o=e.childCount;e:for(let a=0,s=0;a<o;a++){const l=e.child(a);for(let c=s,f=Math.min(i,a+3);c<f;c++)if(t.child(c)==l){s=c+1,n+=l.nodeSize;continue e}r(l,n),s<i&&t.child(s).sameMarkup(l)?f3(t.child(s),l,n+1,r):l.nodesBetween(0,l.content.size,r,n+1),n+=l.nodeSize}}function d3(t,e){let n;const r=(i,o)=>{i.type.spec.tableRole=="table"&&(n=s7(t,i,o,n))};return e?e.doc!=t.doc&&f3(e.doc,t.doc,0,r):t.doc.descendants(r),n}function s7(t,e,n,r){const i=Lt.get(e);if(!i.problems)return r;r||(r=t.tr);const o=[];for(let l=0;l<i.height;l++)o.push(0);for(let l=0;l<i.problems.length;l++){const c=i.problems[l];if(c.type=="collision"){const f=e.nodeAt(c.pos);if(!f)continue;const d=f.attrs;for(let p=0;p<d.rowspan;p++)o[c.row+p]+=c.n;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,pl(d,d.colspan-c.n,c.n))}else if(c.type=="missing")o[c.row]+=c.n;else if(c.type=="overlong_rowspan"){const f=e.nodeAt(c.pos);if(!f)continue;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,{...f.attrs,rowspan:f.attrs.rowspan-c.n})}else if(c.type=="colwidth mismatch"){const f=e.nodeAt(c.pos);if(!f)continue;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,{...f.attrs,colwidth:c.colwidth})}else if(c.type=="zero_sized"){const f=r.mapping.map(n);r.delete(f,f+e.nodeSize)}}let a,s;for(let l=0;l<o.length;l++)o[l]&&(a==null&&(a=l),s=l);for(let l=0,c=n+1;l<i.height;l++){const f=e.child(l),d=c+f.nodeSize,p=o[l];if(p>0){let g="cell";f.firstChild&&(g=f.firstChild.type.spec.tableRole);const b=[];for(let v=0;v<p;v++){const D=Rn(t.schema)[g].createAndFill();D&&b.push(D)}const x=(l==0||a==l-1)&&s==l?c+1:d-1;r.insert(r.mapping.map(x),b)}c=d}return r.setMeta(a7,{fixTables:!0})}function to(t){const e=t.selection,n=Cm(t),r=n.node(-1),i=n.start(-1),o=Lt.get(r);return{...e instanceof Ut?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(n.pos-i),tableStart:i,map:o,table:r}}function h3(t,{map:e,tableStart:n,table:r},i){let o=i>0?-1:0;e7(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 l=e.map[s],c=r.nodeAt(l);t.setNodeMarkup(t.mapping.map(n+l),null,c3(c.attrs,i-e.colCount(l))),a+=c.attrs.rowspan-1}else{const l=o==null?Rn(r.type.schema).cell:r.nodeAt(e.map[s+o]).type,c=e.positionAt(a,i,r);t.insert(t.mapping.map(n+c),l.createAndFill())}}return t}function l7(t,e){if(!bi(t))return!1;if(e){const n=to(t);e(h3(t.tr,n,n.left))}return!0}function c7(t,e){if(!bi(t))return!1;if(e){const n=to(t);e(h3(t.tr,n,n.right))}return!0}function u7(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,l=e.map[s],c=n.nodeAt(l),f=c.attrs;if(i>0&&e.map[s-1]==l||i<e.width-1&&e.map[s+1]==l)t.setNodeMarkup(t.mapping.slice(o).map(r+l),null,pl(f,i-e.colCount(l)));else{const d=t.mapping.slice(o).map(r+l);t.delete(d,d+c.nodeSize)}a+=f.rowspan}}function f7(t,e){if(!bi(t))return!1;if(e){const n=to(t),r=t.tr;if(n.left==0&&n.right==n.map.width)return!1;for(let i=n.right-1;u7(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=Lt.get(o)}e(r)}return!0}function d7(t,e,n){var r;const i=Rn(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 p3(t,{map:e,tableStart:n,table:r},i){var o;let a=n;for(let c=0;c<i;c++)a+=r.child(c).nodeSize;const s=[];let l=i>0?-1:0;d7(e,r,i+l)&&(l=i==0||i==e.height?null:0);for(let c=0,f=e.width*i;c<e.width;c++,f++)if(i>0&&i<e.height&&e.map[f]==e.map[f-e.width]){const d=e.map[f],p=r.nodeAt(d).attrs;t.setNodeMarkup(n+d,null,{...p,rowspan:p.rowspan+1}),c+=p.colspan-1}else{const d=l==null?Rn(r.type.schema).cell:(o=r.nodeAt(e.map[f+l*e.width]))==null?void 0:o.type,p=d==null?void 0:d.createAndFill();p&&s.push(p)}return t.insert(a,Rn(r.type.schema).row.create(null,s)),t}function h7(t,e){if(!bi(t))return!1;if(e){const n=to(t);e(p3(t.tr,n,n.top))}return!0}function p7(t,e){if(!bi(t))return!1;if(e){const n=to(t);e(p3(t.tr,n,n.bottom))}return!0}function g7(t,{map:e,table:n,tableStart:r},i){let o=0;for(let c=0;c<i;c++)o+=n.child(c).nodeSize;const a=o+n.child(i).nodeSize,s=t.mapping.maps.length;t.delete(o+r,a+r);const l=new Set;for(let c=0,f=i*e.width;c<e.width;c++,f++){const d=e.map[f];if(!l.has(d)){if(l.add(d),i>0&&d==e.map[f-e.width]){const p=n.nodeAt(d).attrs;t.setNodeMarkup(t.mapping.slice(s).map(d+r),null,{...p,rowspan:p.rowspan-1}),c+=p.colspan-1}else if(i<e.height&&d==e.map[f+e.width]){const p=n.nodeAt(d),g=p.attrs,b=p.type.create({...g,rowspan:p.attrs.rowspan-1},p.content),x=e.positionAt(i+1,c,n);t.insert(t.mapping.slice(s).map(r+x),b),c+=g.colspan-1}}}}function m7(t,e){if(!bi(t))return!1;if(e){const n=to(t),r=t.tr;if(n.top==0&&n.bottom==n.map.height)return!1;for(let i=n.bottom-1;g7(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=Lt.get(n.table)}e(r)}return!0}function ES(t){const e=t.content;return e.childCount==1&&e.child(0).isTextblock&&e.child(0).childCount==0}function y7({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 l=r.top;l<r.bottom;l++){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 l=r.left;l<r.right;l++){if(r.top>0&&n[i]==n[i-t]||r.bottom<e&&n[a]==n[a+t])return!0;i++,a++}return!1}function b7(t,e){const n=t.selection;if(!(n instanceof Ut)||n.$anchorCell.pos==n.$headCell.pos)return!1;const r=to(t),{map:i}=r;if(y7(i,r))return!1;if(e){const o=t.tr,a={};let s=Ue.empty,l,c;for(let f=r.top;f<r.bottom;f++)for(let d=r.left;d<r.right;d++){const p=i.map[f*i.width+d],g=r.table.nodeAt(p);if(!(a[p]||!g))if(a[p]=!0,l==null)l=p,c=g;else{ES(g)||(s=s.append(g.content));const b=o.mapping.map(p+r.tableStart);o.delete(b,b+g.nodeSize)}}if(l==null||c==null)return!0;if(o.setNodeMarkup(l+r.tableStart,null,{...c3(c.attrs,c.attrs.colspan,r.right-r.left-c.attrs.colspan),rowspan:r.bottom-r.top}),s.size){const f=l+1+c.content.size,d=ES(c)?l+1:f;o.replaceWith(d+r.tableStart,f+r.tableStart,s)}o.setSelection(new Ut(o.doc.resolve(l+r.tableStart))),e(o)}return!0}function v7(t,e){const n=Rn(t.schema);return x7(({node:r})=>n[r.type.spec.tableRole])(t,e)}function x7(t){return(e,n)=>{var r;const i=e.selection;let o,a;if(i instanceof Ut){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=ZP(i.$from),!o)return!1;a=(r=Uu(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 l=[],c=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const f=to(e),d=e.tr;for(let g=0;g<f.right-f.left;g++)l.push(c?{...s,colwidth:c&&c[g]?[c[g]]:null}:s);let p;for(let g=f.top;g<f.bottom;g++){let b=f.map.positionAt(g,f.left,f.table);g==f.top&&(b+=o.nodeSize);for(let x=f.left,v=0;x<f.right;x++,v++)x==f.left&&g==f.top||d.insert(p=d.mapping.map(b+f.tableStart,1),t({node:o,row:g,col:x}).createAndFill(l[v]))}d.setNodeMarkup(a,t({node:o,row:f.top,col:f.left}),l[0]),i instanceof Ut&&d.setSelection(new Ut(d.doc.resolve(i.$anchorCell.pos),p?d.doc.resolve(p):void 0)),n(d)}return!0}}function D7(t,e){return function(n,r){if(!bi(n))return!1;const i=Cm(n);if(i.nodeAfter.attrs[t]===e)return!1;if(r){const o=n.tr;n.selection instanceof Ut?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 w7(t){return function(e,n){if(!bi(e))return!1;if(n){const r=Rn(e.schema),i=to(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(l=>i.table.nodeAt(l));for(let l=0;l<a.length;l++)s[l].type==r.header_cell&&o.setNodeMarkup(i.tableStart+a[l],r.cell,s[l].attrs);if(o.steps.length==0)for(let l=0;l<a.length;l++)o.setNodeMarkup(i.tableStart+a[l],r.header_cell,s[l].attrs);n(o)}return!0}}function _S(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 Em(t,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?w7(t):function(n,r){if(!bi(n))return!1;if(r){const i=Rn(n.schema),o=to(n),a=n.tr,s=_S("row",o,i),l=_S("column",o,i),f=(t==="column"?s:t==="row"?l:!1)?1:0,d=t=="column"?{left:0,top:f,right:1,bottom:o.map.height}:t=="row"?{left:f,top:0,right:o.map.width,bottom:1}:o,p=t=="column"?l?i.cell:i.header_cell:t=="row"?s?i.cell:i.header_cell:i.cell;o.map.cellsInRect(d).forEach(g=>{const b=g+o.tableStart,x=a.doc.nodeAt(b);x&&a.setNodeMarkup(b,p,x.attrs)}),r(a)}return!0}}Em("row",{useDeprecatedLogic:!0});Em("column",{useDeprecatedLogic:!0});var S7=Em("cell",{useDeprecatedLogic:!0});function T7(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 C7(t){return function(e,n){if(!bi(e))return!1;const r=T7(Cm(e),t);if(r==null)return!1;if(n){const i=e.doc.resolve(r);n(e.tr.setSelection(st.between(i,QP(i))).scrollIntoView())}return!0}}function E7(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 ap(t,e){const n=t.selection;if(!(n instanceof Ut))return!1;if(e){const r=t.tr,i=Rn(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 We(i,0,0))}),r.docChanged&&e(r)}return!0}function _7(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 l=0;l<e.childCount;l++){let c=e.child(l).content;const f=l?0:Math.max(0,n-1),d=l<e.childCount-1?0:Math.max(0,r-1);(f||d)&&(c=E0(Rn(a).row,new We(c,f,d)).content),s.push(c)}else if(o=="cell"||o=="header_cell")s.push(n||r?E0(Rn(a).row,new We(e,n,r)).content:e);else return null;return k7(a,s)}function k7(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:l}=o.child(a).attrs;for(let c=i;c<i+s;c++)n[c]=(n[c]||0)+l}}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(Ue.empty),n[i]<r){const o=Rn(t).cell.createAndFill(),a=[];for(let s=n[i];s<r;s++)a.push(o);e[i]=e[i].append(Ue.from(a))}return{height:e.length,width:r,rows:e}}function E0(t,e){const n=t.createAndFill();return new d2(n).replace(0,n.content.size,e).doc}function A7({width:t,height:e,rows:n},r,i){if(t!=r){const o=[],a=[];for(let s=0;s<n.length;s++){const l=n[s],c=[];for(let f=o[s]||0,d=0;f<r;d++){let p=l.child(d%l.childCount);f+p.attrs.colspan>r&&(p=p.type.createChecked(pl(p.attrs,p.attrs.colspan,f+p.attrs.colspan-r),p.content)),c.push(p),f+=p.attrs.colspan;for(let g=1;g<p.attrs.rowspan;g++)o[s+g]=(o[s+g]||0)+p.attrs.colspan}a.push(Ue.from(c))}n=a,t=r}if(e!=i){const o=[];for(let a=0,s=0;a<i;a++,s++){const l=[],c=n[s%e];for(let f=0;f<c.childCount;f++){let d=c.child(f);a+d.attrs.rowspan>i&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,i-d.attrs.rowspan)},d.content)),l.push(d)}o.push(Ue.from(l))}n=o,e=i}return{width:t,height:e,rows:n}}function U7(t,e,n,r,i,o,a){const s=t.doc.type.schema,l=Rn(s);let c,f;if(i>e.width)for(let d=0,p=0;d<e.height;d++){const g=n.child(d);p+=g.nodeSize;const b=[];let x;g.lastChild==null||g.lastChild.type==l.cell?x=c||(c=l.cell.createAndFill()):x=f||(f=l.header_cell.createAndFill());for(let v=e.width;v<i;v++)b.push(x);t.insert(t.mapping.slice(a).map(p-1+r),b)}if(o>e.height){const d=[];for(let b=0,x=(e.height-1)*e.width;b<Math.max(e.width,i);b++){const v=b>=e.width?!1:n.nodeAt(e.map[x+b]).type==l.header_cell;d.push(v?f||(f=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const p=l.row.create(null,Ue.from(d)),g=[];for(let b=e.height;b<o;b++)g.push(p);t.insert(t.mapping.slice(a).map(r+n.nodeSize-2),g)}return!!(c||f)}function kS(t,e,n,r,i,o,a,s){if(a==0||a==e.height)return!1;let l=!1;for(let c=i;c<o;c++){const f=a*e.width+c,d=e.map[f];if(e.map[f-e.width]==d){l=!0;const p=n.nodeAt(d),{top:g,left:b}=e.findCell(d);t.setNodeMarkup(t.mapping.slice(s).map(d+r),null,{...p.attrs,rowspan:a-g}),t.insert(t.mapping.slice(s).map(e.positionAt(a,b,n)),p.type.createAndFill({...p.attrs,rowspan:g+p.attrs.rowspan-a})),c+=p.attrs.colspan-1}}return l}function AS(t,e,n,r,i,o,a,s){if(a==0||a==e.width)return!1;let l=!1;for(let c=i;c<o;c++){const f=c*e.width+a,d=e.map[f];if(e.map[f-1]==d){l=!0;const p=n.nodeAt(d),g=e.colCount(d),b=t.mapping.slice(s).map(d+r);t.setNodeMarkup(b,null,pl(p.attrs,a-g,p.attrs.colspan-(a-g))),t.insert(b+p.nodeSize,p.type.createAndFill(pl(p.attrs,0,a-g))),c+=p.attrs.rowspan-1}}return l}function US(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=Lt.get(o);const{top:s,left:l}=r,c=l+i.width,f=s+i.height,d=t.tr;let p=0;function g(){if(o=n?d.doc.nodeAt(n-1):d.doc,!o)throw new Error("No table found");a=Lt.get(o),p=d.mapping.maps.length}U7(d,a,o,n,c,f,p)&&g(),kS(d,a,o,n,l,c,s,p)&&g(),kS(d,a,o,n,l,c,f,p)&&g(),AS(d,a,o,n,s,f,l,p)&&g(),AS(d,a,o,n,s,f,c,p)&&g();for(let b=s;b<f;b++){const x=a.positionAt(b,l,o),v=a.positionAt(b,c,o);d.replace(d.mapping.slice(p).map(x+n),d.mapping.slice(p).map(v+n),new We(i.rows[b-s],0,0))}g(),d.setSelection(new Ut(d.doc.resolve(n+a.positionAt(s,l,o)),d.doc.resolve(n+a.positionAt(f-1,c-1,o)))),e(d)}var F7=S2({ArrowLeft:sp("horiz",-1),ArrowRight:sp("horiz",1),ArrowUp:sp("vert",-1),ArrowDown:sp("vert",1),"Shift-ArrowLeft":lp("horiz",-1),"Shift-ArrowRight":lp("horiz",1),"Shift-ArrowUp":lp("vert",-1),"Shift-ArrowDown":lp("vert",1),Backspace:ap,"Mod-Backspace":ap,Delete:ap,"Mod-Delete":ap});function Rp(t,e,n){return n.eq(t.selection)?!1:(e&&e(t.tr.setSelection(n).scrollIntoView()),!0)}function sp(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;if(o instanceof Ut)return Rp(n,r,Qe.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;const a=g3(i,t,e);if(a==null)return!1;if(t=="horiz")return Rp(n,r,Qe.near(n.doc.resolve(o.head+e),e));{const s=n.doc.resolve(a),l=l3(s,t,e);let c;return l?c=Qe.near(l,1):e<0?c=Qe.near(n.doc.resolve(s.before(-1)),-1):c=Qe.near(n.doc.resolve(s.after(-1)),1),Rp(n,r,c)}}}function lp(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Ut)a=o;else{const l=g3(i,t,e);if(l==null)return!1;a=new Ut(n.doc.resolve(l))}const s=l3(a.$headCell,t,e);return s?Rp(n,r,new Ut(a.$anchorCell,s)):!1}}function R7(t,e){const n=t.state.doc,r=Uu(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Ut(r))),!0):!1}function O7(t,e,n){if(!bi(t.state))return!1;let r=_7(n);const i=t.state.selection;if(i instanceof Ut){r||(r={width:1,height:1,rows:[Ue.from(E0(Rn(t.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=Lt.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=A7(r,s.right-s.left,s.bottom-s.top),US(t.state,t.dispatch,a,s,r),!0}else if(r){const o=Cm(t.state),a=o.start(-1);return US(t.state,t.dispatch,a,Lt.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function I7(t,e){var n;if(e.ctrlKey||e.metaKey)return;const r=FS(t,e.target);let i;if(e.shiftKey&&t.state.selection instanceof Ut)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=Uu(t.state.selection.$anchor))!=null&&((n=Zb(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(l,c){let f=Zb(t,c);const d=ja.getState(t.state)==null;if(!f||!Y2(l,f))if(d)f=l;else return;const p=new Ut(l,f);if(d||!t.state.selection.eq(p)){const g=t.state.tr.setSelection(p);d&&g.setMeta(ja,l.pos),t.dispatch(g)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),ja.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(ja,-1))}function s(l){const c=l,f=ja.getState(t.state);let d;if(f!=null)d=t.state.doc.resolve(f);else if(FS(t,c.target)!=r&&(d=Zb(t,e),!d))return a();d&&o(d,c)}t.root.addEventListener("mouseup",a),t.root.addEventListener("dragstart",a),t.root.addEventListener("mousemove",s)}function g3(t,e,n){if(!(t.state.selection instanceof st))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),l=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(l)?s:null}}return null}function FS(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function Zb(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?Uu(t.state.doc.resolve(n.pos)):null}var B7=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")),_0(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,_0(t,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(t){return t.type=="attributes"&&(t.target==this.table||this.colgroup.contains(t.target))}};function _0(t,e,n,r,i,o){var a;let s=0,l=!0,c=e.firstChild;const f=t.firstChild;if(f){for(let d=0,p=0;d<f.childCount;d++){const{colspan:g,colwidth:b}=f.child(d).attrs;for(let x=0;x<g;x++,p++){const v=i==p?o:b&&b[x],D=v?v+"px":"";if(s+=v||r,v||(l=!1),c)c.style.width!=D&&(c.style.width=D),c=c.nextSibling;else{const S=document.createElement("col");S.style.width=D,e.appendChild(S)}}}for(;c;){const d=c.nextSibling;(a=c.parentNode)==null||a.removeChild(c),c=d}l?(n.style.width=s+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=s+"px")}}var kr=new Go("tableColumnResizing");function M7({handleWidth:t=5,cellMinWidth:e=25,defaultCellMinWidth:n=100,View:r=B7,lastColumnResizable:i=!0}={}){const o=new Sl({key:kr,state:{init(a,s){var l,c;const f=(c=(l=o.spec)==null?void 0:l.props)==null?void 0:c.nodeViews,d=Rn(s.schema).table.name;return r&&f&&(f[d]=(p,g)=>new r(p,n,g)),new N7(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=kr.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{P7(a,s,t,i)},mouseleave:a=>{W7(a)},mousedown:(a,s)=>{L7(a,s,e,n)}},decorations:a=>{const s=kr.getState(a);if(s&&s.activeHandle>-1)return V7(a,s.activeHandle)},nodeViews:{}}});return o}var N7=class Op{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(kr);if(r&&r.setHandle!=null)return new Op(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Op(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return C0(e.doc.resolve(i))||(i=-1),new Op(i,n.dragging)}return n}};function P7(t,e,n,r){if(!t.editable)return;const i=kr.getState(t.state);if(i&&!i.dragging){const o=$7(e.target);let a=-1;if(o){const{left:s,right:l}=o.getBoundingClientRect();e.clientX-s<=n?a=RS(t,e,"left",n):l-e.clientX<=n&&(a=RS(t,e,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=t.state.doc.resolve(a),l=s.node(-1),c=Lt.get(l),f=s.start(-1);if(c.colCount(s.pos-f)+s.nodeAfter.attrs.colspan-1==c.width-1)return}m3(t,a)}}}function W7(t){if(!t.editable)return;const e=kr.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&m3(t,-1)}function L7(t,e,n,r){var i;if(!t.editable)return!1;const o=(i=t.dom.ownerDocument.defaultView)!=null?i:window,a=kr.getState(t.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=t.state.doc.nodeAt(a.activeHandle),l=z7(t,a.activeHandle,s.attrs);t.dispatch(t.state.tr.setMeta(kr,{setDragging:{startX:e.clientX,startWidth:l}}));function c(d){o.removeEventListener("mouseup",c),o.removeEventListener("mousemove",f);const p=kr.getState(t.state);p!=null&&p.dragging&&(j7(t,p.activeHandle,OS(p.dragging,d,n)),t.dispatch(t.state.tr.setMeta(kr,{setDragging:null})))}function f(d){if(!d.which)return c(d);const p=kr.getState(t.state);if(p&&p.dragging){const g=OS(p.dragging,d,n);IS(t,p.activeHandle,g,r)}}return IS(t,a.activeHandle,l,r),o.addEventListener("mouseup",c),o.addEventListener("mousemove",f),e.preventDefault(),!0}function z7(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,l=n;if(r)for(let c=0;c<n;c++)r[c]&&(s-=r[c],l--);return s/l}function $7(t){for(;t&&t.nodeName!="TD"&&t.nodeName!="TH";)t=t.classList&&t.classList.contains("ProseMirror")?null:t.parentNode;return t}function RS(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=Uu(t.state.doc.resolve(a));if(!s)return-1;if(n=="right")return s.pos;const l=Lt.get(s.node(-1)),c=s.start(-1),f=l.map.indexOf(s.pos-c);return f%l.width==0?-1:c+l.map[f-1]}function OS(t,e,n){const r=e.clientX-t.startX;return Math.max(n,t.startWidth+r)}function m3(t,e){t.dispatch(t.state.tr.setMeta(kr,{setHandle:e}))}function j7(t,e,n){const r=t.state.doc.resolve(e),i=r.node(-1),o=Lt.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,l=t.state.tr;for(let c=0;c<o.height;c++){const f=c*o.width+s;if(c&&o.map[f]==o.map[f-o.width])continue;const d=o.map[f],p=i.nodeAt(d).attrs,g=p.colspan==1?0:s-o.colCount(d);if(p.colwidth&&p.colwidth[g]==n)continue;const b=p.colwidth?p.colwidth.slice():H7(p.colspan);b[g]=n,l.setNodeMarkup(a+d,null,{...p,colwidth:b})}l.docChanged&&t.dispatch(l)}function IS(t,e,n,r){const i=t.state.doc.resolve(e),o=i.node(-1),a=i.start(-1),s=Lt.get(o).colCount(i.pos-a)+i.nodeAfter.attrs.colspan-1;let l=t.domAtPos(i.start(-1)).node;for(;l&&l.nodeName!="TABLE";)l=l.parentNode;l&&_0(o,l.firstChild,l,r,s,n)}function H7(t){return Array(t).fill(0)}function V7(t,e){var n;const r=[],i=t.doc.resolve(e),o=i.node(-1);if(!o)return Bt.empty;const a=Lt.get(o),s=i.start(-1),l=a.colCount(i.pos-s)+i.nodeAfter.attrs.colspan-1;for(let c=0;c<a.height;c++){const f=l+c*a.width;if((l==a.width-1||a.map[f]!=a.map[f+1])&&(c==0||a.map[f]!=a.map[f-a.width])){const d=a.map[f],p=s+d+o.nodeAt(d).nodeSize-1,g=document.createElement("div");g.className="column-resize-handle",(n=kr.getState(t))!=null&&n.dragging&&r.push(kn.node(s+d,s+d+o.nodeAt(d).nodeSize,{class:"column-resize-dragging"})),r.push(kn.widget(p,g))}}return Bt.create(t.doc,r)}function q7({allowTableNodeSelection:t=!1}={}){return new Sl({key:ja,state:{init(){return null},apply(e,n){const r=e.getMeta(ja);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:n7,handleDOMEvents:{mousedown:I7},createSelectionBetween(e){return ja.getState(e.state)!=null?e.state.selection:null},handleTripleClick:R7,handleKeyDown:F7,handlePaste:O7},appendTransaction(e,n,r){return o7(r,d3(r,n),t)}})}var rt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function y3(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function b3(t){if(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 BS=Object.prototype.toString,v3=function(e){var n=BS.call(e),r=n==="[object Arguments]";return r||(r=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&BS.call(e.callee)==="[object Function]"),r},Kb,MS;function X7(){if(MS)return Kb;MS=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=v3,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),a=i.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(p){var g=p.constructor;return g&&g.prototype===p},c={$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},f=function(){if(typeof window>"u")return!1;for(var p in window)try{if(!c["$"+p]&&e.call(window,p)&&window[p]!==null&&typeof window[p]=="object")try{l(window[p])}catch{return!0}}catch{return!0}return!1}(),d=function(p){if(typeof window>"u"||!f)return l(p);try{return l(p)}catch{return!1}};t=function(g){var b=g!==null&&typeof g=="object",x=n.call(g)==="[object Function]",v=r(g),D=b&&n.call(g)==="[object String]",S=[];if(!b&&!x&&!v)throw new TypeError("Object.keys called on a non-object");var E=a&&x;if(D&&g.length>0&&!e.call(g,0))for(var O=0;O<g.length;++O)S.push(String(O));if(v&&g.length>0)for(var U=0;U<g.length;++U)S.push(String(U));else for(var M in g)!(E&&M==="prototype")&&e.call(g,M)&&S.push(String(M));if(o)for(var N=d(g),q=0;q<s.length;++q)!(N&&s[q]==="constructor")&&e.call(g,s[q])&&S.push(s[q]);return S}}return Kb=t,Kb}var G7=Array.prototype.slice,J7=v3,NS=Object.keys,Ip=NS?function(e){return NS(e)}:X7(),PS=Object.keys;Ip.shim=function(){if(Object.keys){var e=function(){var n=Object.keys(arguments);return n&&n.length===arguments.length}(1,2);e||(Object.keys=function(r){return J7(r)?PS(G7.call(r)):PS(r)})}else Object.keys=Ip;return Object.keys||Ip};var Z2=Ip,Bp=Object.defineProperty||!1;if(Bp)try{Bp({},"a",{value:1})}catch{Bp=!1}var _m=Bp,K2=SyntaxError,ei=TypeError,Y7=Object.getOwnPropertyDescriptor,Mp=Y7;if(Mp)try{Mp([],"length")}catch{Mp=null}var El=Mp,WS=_m,Z7=K2,Ic=ei,LS=El,Q2=function(e,n,r){if(!e||typeof e!="object"&&typeof e!="function")throw new Ic("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new Ic("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Ic("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Ic("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Ic("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Ic("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,l=!!LS&&LS(e,n);if(WS)WS(e,n,{configurable:a===null&&l?l.configurable:!a,enumerable:i===null&&l?l.enumerable:!i,value:r,writable:o===null&&l?l.writable:!o});else if(s||!i&&!o&&!a)e[n]=r;else throw new Z7("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},k0=_m,x3=function(){return!!k0};x3.hasArrayLengthDefineBug=function(){if(!k0)return null;try{return k0([],"length",{value:1}).length!==1}catch{return!0}};var ex=x3,K7=Z2,Q7=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",eW=Object.prototype.toString,tW=Array.prototype.concat,zS=Q2,nW=function(t){return typeof t=="function"&&eW.call(t)==="[object Function]"},D3=ex(),rW=function(t,e,n,r){if(e in t){if(r===!0){if(t[e]===n)return}else if(!nW(r)||!r())return}D3?zS(t,e,n,!0):zS(t,e,n)},w3=function(t,e){var n=arguments.length>2?arguments[2]:{},r=K7(e);Q7&&(r=tW.call(r,Object.getOwnPropertySymbols(e)));for(var i=0;i<r.length;i+=1)rW(t,r[i],e[r[i]],n[r[i]])};w3.supportsDescriptors=!!D3;var _l=w3,S3={exports:{}},tx=Object,T3=Error,iW=EvalError,oW=RangeError,aW=ReferenceError,sW=URIError,lW=Math.abs,cW=Math.floor,uW=Math.max,fW=Math.min,dW=Math.pow,hW=Math.round,pW=Number.isNaN||function(e){return e!==e},gW=pW,mW=function(e){return gW(e)||e===0?e:e<0?-1:1},km=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},$S=typeof Symbol<"u"&&Symbol,yW=km,nx=function(){return typeof $S!="function"||typeof Symbol!="function"||typeof $S("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:yW()},C3=typeof Reflect<"u"&&Reflect.getPrototypeOf||null,bW=tx,E3=bW.getPrototypeOf||null,Qb,jS;function vW(){if(jS)return Qb;jS=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,n=Math.max,r="[object Function]",i=function(l,c){for(var f=[],d=0;d<l.length;d+=1)f[d]=l[d];for(var p=0;p<c.length;p+=1)f[p+l.length]=c[p];return f},o=function(l,c){for(var f=[],d=c,p=0;d<l.length;d+=1,p+=1)f[p]=l[d];return f},a=function(s,l){for(var c="",f=0;f<s.length;f+=1)c+=s[f],f+1<s.length&&(c+=l);return c};return Qb=function(l){var c=this;if(typeof c!="function"||e.apply(c)!==r)throw new TypeError(t+c);for(var f=o(arguments,1),d,p=function(){if(this instanceof d){var D=c.apply(this,i(f,arguments));return Object(D)===D?D:this}return c.apply(l,i(f,arguments))},g=n(0,c.length-f.length),b=[],x=0;x<g;x++)b[x]="$"+x;if(d=Function("binder","return function ("+a(b,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var v=function(){};v.prototype=c.prototype,d.prototype=new v,v.prototype=null}return d},Qb}var ev,HS;function Qd(){if(HS)return ev;HS=1;var t=vW();return ev=Function.prototype.bind||t,ev}var tv,VS;function rx(){return VS||(VS=1,tv=Function.prototype.call),tv}var nv,qS;function ix(){return qS||(qS=1,nv=Function.prototype.apply),nv}var xW=typeof Reflect<"u"&&Reflect&&Reflect.apply,DW=Qd(),wW=ix(),SW=rx(),TW=xW,_3=TW||DW.call(SW,wW),CW=Qd(),EW=ei,_W=rx(),kW=_3,ox=function(e){if(e.length<1||typeof e[0]!="function")throw new EW("a function is required");return kW(CW,_W,e)},AW=ox,XS=El,k3;try{k3=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var rv=!!k3&&XS&&XS(Object.prototype,"__proto__"),A3=Object,GS=A3.getPrototypeOf,UW=rv&&typeof rv.get=="function"?AW([rv.get]):typeof GS=="function"?function(e){return GS(e==null?e:A3(e))}:!1,JS=C3,YS=E3,ZS=UW,U3=JS?function(e){return JS(e)}:YS?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return YS(e)}:ZS?function(e){return ZS(e)}:null,FW=Function.prototype.call,RW=Object.prototype.hasOwnProperty,OW=Qd(),ax=OW.call(FW,RW),ht,IW=tx,BW=T3,MW=iW,NW=oW,PW=aW,du=K2,ru=ei,WW=sW,LW=lW,zW=cW,$W=uW,jW=fW,HW=dW,VW=hW,qW=mW,F3=Function,iv=function(t){try{return F3('"use strict"; return ('+t+").constructor;")()}catch{}},_d=El,XW=_m,ov=function(){throw new ru},GW=_d?function(){try{return arguments.callee,ov}catch{try{return _d(arguments,"callee").get}catch{return ov}}}():ov,Bc=nx(),Qt=U3,JW=E3,YW=C3,R3=ix(),eh=rx(),Vc={},ZW=typeof Uint8Array>"u"||!Qt?ht:Qt(Uint8Array),ll={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ht:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ht:ArrayBuffer,"%ArrayIteratorPrototype%":Bc&&Qt?Qt([][Symbol.iterator]()):ht,"%AsyncFromSyncIteratorPrototype%":ht,"%AsyncFunction%":Vc,"%AsyncGenerator%":Vc,"%AsyncGeneratorFunction%":Vc,"%AsyncIteratorPrototype%":Vc,"%Atomics%":typeof Atomics>"u"?ht:Atomics,"%BigInt%":typeof BigInt>"u"?ht:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ht:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ht:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ht:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":BW,"%eval%":eval,"%EvalError%":MW,"%Float32Array%":typeof Float32Array>"u"?ht:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ht:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ht:FinalizationRegistry,"%Function%":F3,"%GeneratorFunction%":Vc,"%Int8Array%":typeof Int8Array>"u"?ht:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ht:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ht:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Bc&&Qt?Qt(Qt([][Symbol.iterator]())):ht,"%JSON%":typeof JSON=="object"?JSON:ht,"%Map%":typeof Map>"u"?ht:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Bc||!Qt?ht:Qt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":IW,"%Object.getOwnPropertyDescriptor%":_d,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ht:Promise,"%Proxy%":typeof Proxy>"u"?ht:Proxy,"%RangeError%":NW,"%ReferenceError%":PW,"%Reflect%":typeof Reflect>"u"?ht:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ht:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Bc||!Qt?ht:Qt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ht:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Bc&&Qt?Qt(""[Symbol.iterator]()):ht,"%Symbol%":Bc?Symbol:ht,"%SyntaxError%":du,"%ThrowTypeError%":GW,"%TypedArray%":ZW,"%TypeError%":ru,"%Uint8Array%":typeof Uint8Array>"u"?ht:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ht:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ht:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ht:Uint32Array,"%URIError%":WW,"%WeakMap%":typeof WeakMap>"u"?ht:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ht:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ht:WeakSet,"%Function.prototype.call%":eh,"%Function.prototype.apply%":R3,"%Object.defineProperty%":XW,"%Object.getPrototypeOf%":JW,"%Math.abs%":LW,"%Math.floor%":zW,"%Math.max%":$W,"%Math.min%":jW,"%Math.pow%":HW,"%Math.round%":VW,"%Math.sign%":qW,"%Reflect.getPrototypeOf%":YW};if(Qt)try{null.error}catch(t){var KW=Qt(Qt(t));ll["%Error.prototype%"]=KW}var QW=function t(e){var n;if(e==="%AsyncFunction%")n=iv("async function () {}");else if(e==="%GeneratorFunction%")n=iv("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=iv("async function* () {}");else if(e==="%AsyncGenerator%"){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Qt&&(n=Qt(i.prototype))}return ll[e]=n,n},KS={__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"]},th=Qd(),Bg=ax,eL=th.call(eh,Array.prototype.concat),tL=th.call(R3,Array.prototype.splice),QS=th.call(eh,String.prototype.replace),Mg=th.call(eh,String.prototype.slice),nL=th.call(eh,RegExp.prototype.exec),rL=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,iL=/\\(\\)?/g,oL=function(e){var n=Mg(e,0,1),r=Mg(e,-1);if(n==="%"&&r!=="%")throw new du("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new du("invalid intrinsic syntax, expected opening `%`");var i=[];return QS(e,rL,function(o,a,s,l){i[i.length]=s?QS(l,iL,"$1"):a||o}),i},aL=function(e,n){var r=e,i;if(Bg(KS,r)&&(i=KS[r],r="%"+i[0]+"%"),Bg(ll,r)){var o=ll[r];if(o===Vc&&(o=QW(r)),typeof o>"u"&&!n)throw new ru("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:o}}throw new du("intrinsic "+e+" does not exist!")},Zo=function(e,n){if(typeof e!="string"||e.length===0)throw new ru("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new ru('"allowMissing" argument must be a boolean');if(nL(/^%?[^%]*%?$/,e)===null)throw new du("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=oL(e),i=r.length>0?r[0]:"",o=aL("%"+i+"%",n),a=o.name,s=o.value,l=!1,c=o.alias;c&&(i=c[0],tL(r,eL([0,1],c)));for(var f=1,d=!0;f<r.length;f+=1){var p=r[f],g=Mg(p,0,1),b=Mg(p,-1);if((g==='"'||g==="'"||g==="`"||b==='"'||b==="'"||b==="`")&&g!==b)throw new du("property names with quotes must have matching quotes");if((p==="constructor"||!d)&&(l=!0),i+="."+p,a="%"+i+"%",Bg(ll,a))s=ll[a];else if(s!=null){if(!(p in s)){if(!n)throw new ru("base intrinsic for "+e+" exists, but the property is not available.");return}if(_d&&f+1>=r.length){var x=_d(s,p);d=!!x,d&&"get"in x&&!("originalValue"in x.get)?s=x.get:s=s[p]}else d=Bg(s,p),s=s[p];d&&!l&&(ll[a]=s)}}return s},sL=Zo,eT=Q2,lL=ex(),tT=El,nT=ei,cL=sL("%Math.floor%"),uL=function(e,n){if(typeof e!="function")throw new nT("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||cL(n)!==n)throw new nT("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&tT){var a=tT(e,"length");a&&!a.configurable&&(i=!1),a&&!a.writable&&(o=!1)}return(i||o||!r)&&(lL?eT(e,"length",n,!0,!0):eT(e,"length",n)),e},fL=Qd(),dL=ix(),hL=_3,pL=function(){return hL(fL,dL,arguments)};(function(t){var e=uL,n=_m,r=ox,i=pL;t.exports=function(a){var s=r(arguments),l=a.length-(arguments.length-1);return e(s,1+(l>0?l:0),!0)},n?n(t.exports,"apply",{value:i}):t.exports.apply=i})(S3);var Fu=S3.exports,O3=Zo,I3=ox,gL=I3([O3("%String.prototype.indexOf%")]),Bn=function(e,n){var r=O3(e,!!n);return typeof r=="function"&&gL(e,".prototype.")>-1?I3([r]):r},mL=Z2,B3=km(),M3=Bn,Np=tx,yL=M3("Array.prototype.push"),rT=M3("Object.prototype.propertyIsEnumerable"),bL=B3?Np.getOwnPropertySymbols:null,N3=function(e,n){if(e==null)throw new TypeError("target must be an object");var r=Np(e);if(arguments.length===1)return r;for(var i=1;i<arguments.length;++i){var o=Np(arguments[i]),a=mL(o),s=B3&&(Np.getOwnPropertySymbols||bL);if(s)for(var l=s(o),c=0;c<l.length;++c){var f=l[c];rT(o,f)&&yL(a,f)}for(var d=0;d<a.length;++d){var p=a[d];if(rT(o,p)){var g=o[p];r[p]=g}}}return r},av=N3,vL=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),n={},r=0;r<e.length;++r)n[e[r]]=e[r];var i=Object.assign({},n),o="";for(var a in i)o+=a;return t!==o},xL=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch{return t[1]==="y"}return!1},P3=function(){return!Object.assign||vL()||xL()?av:Object.assign},DL=_l,wL=P3,SL=function(){var e=wL();return DL(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},TL=_l,CL=Fu,EL=N3,W3=P3,_L=SL,kL=CL.apply(W3()),L3=function(e,n){return kL(Object,arguments)};TL(L3,{getPolyfill:W3,implementation:EL,shim:_L});var AL=L3,z3=Zo,$3=Fu,UL=$3(z3("String.prototype.indexOf")),j3=function(e,n){var r=z3(e,!!n);return typeof r=="function"&&UL(e,".prototype.")>-1?$3(r):r},kd=function(){return typeof(function(){}).name=="string"},ld=Object.getOwnPropertyDescriptor;if(ld)try{ld([],"length")}catch{ld=null}kd.functionsHaveConfigurableNames=function(){if(!kd()||!ld)return!1;var e=ld(function(){},"name");return!!e&&!!e.configurable};var FL=Function.prototype.bind;kd.boundFunctionsHaveNames=function(){return kd()&&typeof FL=="function"&&(function(){}).bind().name!==""};var RL=kd,iT=Q2,OL=ex(),IL=RL.functionsHaveConfigurableNames(),BL=ei,ML=function(e,n){if(typeof e!="function")throw new BL("`fn` is not a function");var r=arguments.length>2&&!!arguments[2];return(!r||IL)&&(OL?iT(e,"name",n,!0,!0):iT(e,"name",n)),e},NL=ML,PL=ei,WL=Object,H3=NL(function(){if(this==null||this!==WL(this))throw new PL("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0),LL=H3,zL=_l.supportsDescriptors,$L=Object.getOwnPropertyDescriptor,V3=function(){if(zL&&/a/mig.flags==="gim"){var e=$L(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&"dotAll"in RegExp.prototype&&"hasIndices"in RegExp.prototype){var n="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){n+="d"}}),Object.defineProperty(r,"sticky",{get:function(){n+="y"}}),e.get.call(r),n==="dy")return e.get}}return LL},jL=_l.supportsDescriptors,HL=V3,VL=El,qL=Object.defineProperty,XL=T3,oT=U3,GL=/a/,JL=function(){if(!jL||!oT)throw new XL("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=HL(),n=oT(GL),r=VL(n,"flags");return(!r||r.get!==e)&&qL(n,"flags",{configurable:!0,enumerable:!1,get:e}),e},YL=_l,ZL=Fu,KL=H3,q3=V3,QL=JL,X3=ZL(q3());YL(X3,{getPolyfill:q3,implementation:KL,shim:QL});var ez=X3,Pp={exports:{}},tz=km,kl=function(){return tz()&&!!Symbol.toStringTag},nz=kl(),rz=Bn,A0=rz("Object.prototype.toString"),Am=function(e){return nz&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:A0(e)==="[object Arguments]"},G3=function(e){return Am(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&A0(e)!=="[object Array]"&&"callee"in e&&A0(e.callee)==="[object Function]"},iz=function(){return Am(arguments)}();Am.isLegacyArguments=G3;var J3=iz?Am:G3;const oz={},az=Object.freeze(Object.defineProperty({__proto__:null,default:oz},Symbol.toStringTag,{value:"Module"})),sz=b3(az);var sx=typeof Map=="function"&&Map.prototype,sv=Object.getOwnPropertyDescriptor&&sx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ng=sx&&sv&&typeof sv.get=="function"?sv.get:null,aT=sx&&Map.prototype.forEach,lx=typeof Set=="function"&&Set.prototype,lv=Object.getOwnPropertyDescriptor&&lx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Pg=lx&&lv&&typeof lv.get=="function"?lv.get:null,sT=lx&&Set.prototype.forEach,lz=typeof WeakMap=="function"&&WeakMap.prototype,cd=lz?WeakMap.prototype.has:null,cz=typeof WeakSet=="function"&&WeakSet.prototype,ud=cz?WeakSet.prototype.has:null,uz=typeof WeakRef=="function"&&WeakRef.prototype,lT=uz?WeakRef.prototype.deref:null,fz=Boolean.prototype.valueOf,dz=Object.prototype.toString,hz=Function.prototype.toString,pz=String.prototype.match,cx=String.prototype.slice,Ga=String.prototype.replace,gz=String.prototype.toUpperCase,cT=String.prototype.toLowerCase,Y3=RegExp.prototype.test,uT=Array.prototype.concat,zi=Array.prototype.join,mz=Array.prototype.slice,fT=Math.floor,U0=typeof BigInt=="function"?BigInt.prototype.valueOf:null,cv=Object.getOwnPropertySymbols,F0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,hu=typeof Symbol=="function"&&typeof Symbol.iterator=="object",fd=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hu||!0)?Symbol.toStringTag:null,Z3=Object.prototype.propertyIsEnumerable,dT=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function hT(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Y3.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var r=t<0?-fT(-t):fT(t);if(r!==t){var i=String(r),o=cx.call(e,i.length+1);return Ga.call(i,n,"$&_")+"."+Ga.call(Ga.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Ga.call(e,n,"$&_")}var R0=sz,pT=R0.custom,gT=eU(pT)?pT:null,K3={__proto__:null,double:'"',single:"'"},yz={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Um=function t(e,n,r,i){var o=n||{};if(Mo(o,"quoteStyle")&&!Mo(K3,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Mo(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=Mo(o,"customInspect")?o.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Mo(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Mo(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return nU(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return s?hT(e,l):l}if(typeof e=="bigint"){var c=String(e)+"n";return s?hT(e,c):c}var f=typeof o.depth>"u"?5:o.depth;if(typeof r>"u"&&(r=0),r>=f&&f>0&&typeof e=="object")return O0(e)?"[Array]":"[Object]";var d=Bz(o,r);if(typeof i>"u")i=[];else if(tU(i,e)>=0)return"[Circular]";function p(Z,k,re){if(k&&(i=mz.call(i),i.push(k)),re){var $={depth:o.depth};return Mo(o,"quoteStyle")&&($.quoteStyle=o.quoteStyle),t(Z,$,r+1,i)}return t(Z,o,r+1,i)}if(typeof e=="function"&&!mT(e)){var g=Ez(e),b=cp(e,p);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(b.length>0?" { "+zi.call(b,", ")+" }":"")}if(eU(e)){var x=hu?Ga.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):F0.call(e);return typeof e=="object"&&!hu?Wf(x):x}if(Rz(e)){for(var v="<"+cT.call(String(e.nodeName)),D=e.attributes||[],S=0;S<D.length;S++)v+=" "+D[S].name+"="+Q3(bz(D[S].value),"double",o);return v+=">",e.childNodes&&e.childNodes.length&&(v+="..."),v+="</"+cT.call(String(e.nodeName))+">",v}if(O0(e)){if(e.length===0)return"[]";var E=cp(e,p);return d&&!Iz(E)?"["+I0(E,d)+"]":"[ "+zi.call(E,", ")+" ]"}if(xz(e)){var O=cp(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!Z3.call(e,"cause")?"{ ["+String(e)+"] "+zi.call(uT.call("[cause]: "+p(e.cause),O),", ")+" }":O.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+zi.call(O,", ")+" }"}if(typeof e=="object"&&a){if(gT&&typeof e[gT]=="function"&&R0)return R0(e,{depth:f-r});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(_z(e)){var U=[];return aT&&aT.call(e,function(Z,k){U.push(p(k,e,!0)+" => "+p(Z,e))}),yT("Map",Ng.call(e),U,d)}if(Uz(e)){var M=[];return sT&&sT.call(e,function(Z){M.push(p(Z,e))}),yT("Set",Pg.call(e),M,d)}if(kz(e))return uv("WeakMap");if(Fz(e))return uv("WeakSet");if(Az(e))return uv("WeakRef");if(wz(e))return Wf(p(Number(e)));if(Tz(e))return Wf(p(U0.call(e)));if(Sz(e))return Wf(fz.call(e));if(Dz(e))return Wf(p(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof rt<"u"&&e===rt)return"{ [object globalThis] }";if(!vz(e)&&!mT(e)){var N=cp(e,p),q=dT?dT(e)===Object.prototype:e instanceof Object||e.constructor===Object,j=e instanceof Object?"":"null prototype",ae=!q&&fd&&Object(e)===e&&fd in e?cx.call(us(e),8,-1):j?"Object":"",ce=q||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",F=ce+(ae||j?"["+zi.call(uT.call([],ae||[],j||[]),": ")+"] ":"");return N.length===0?F+"{}":d?F+"{"+I0(N,d)+"}":F+"{ "+zi.call(N,", ")+" }"}return String(e)};function Q3(t,e,n){var r=n.quoteStyle||e,i=K3[r];return i+t+i}function bz(t){return Ga.call(String(t),/"/g,""")}function Al(t){return!fd||!(typeof t=="object"&&(fd in t||typeof t[fd]<"u"))}function O0(t){return us(t)==="[object Array]"&&Al(t)}function vz(t){return us(t)==="[object Date]"&&Al(t)}function mT(t){return us(t)==="[object RegExp]"&&Al(t)}function xz(t){return us(t)==="[object Error]"&&Al(t)}function Dz(t){return us(t)==="[object String]"&&Al(t)}function wz(t){return us(t)==="[object Number]"&&Al(t)}function Sz(t){return us(t)==="[object Boolean]"&&Al(t)}function eU(t){if(hu)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!F0)return!1;try{return F0.call(t),!0}catch{}return!1}function Tz(t){if(!t||typeof t!="object"||!U0)return!1;try{return U0.call(t),!0}catch{}return!1}var Cz=Object.prototype.hasOwnProperty||function(t){return t in this};function Mo(t,e){return Cz.call(t,e)}function us(t){return dz.call(t)}function Ez(t){if(t.name)return t.name;var e=pz.call(hz.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function tU(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function _z(t){if(!Ng||!t||typeof t!="object")return!1;try{Ng.call(t);try{Pg.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function kz(t){if(!cd||!t||typeof t!="object")return!1;try{cd.call(t,cd);try{ud.call(t,ud)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Az(t){if(!lT||!t||typeof t!="object")return!1;try{return lT.call(t),!0}catch{}return!1}function Uz(t){if(!Pg||!t||typeof t!="object")return!1;try{Pg.call(t);try{Ng.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Fz(t){if(!ud||!t||typeof t!="object")return!1;try{ud.call(t,ud);try{cd.call(t,cd)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Rz(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function nU(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return nU(cx.call(t,0,e.maxStringLength),e)+r}var i=yz[e.quoteStyle||"single"];i.lastIndex=0;var o=Ga.call(Ga.call(t,i,"\\$1"),/[\x00-\x1f]/g,Oz);return Q3(o,"single",e)}function Oz(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+gz.call(e.toString(16))}function Wf(t){return"Object("+t+")"}function uv(t){return t+" { ? }"}function yT(t,e,n,r){var i=r?I0(n,r):zi.call(n,", ");return t+" ("+e+") {"+i+"}"}function Iz(t){for(var e=0;e<t.length;e++)if(tU(t[e],`
|
|
15
|
+
`)>=0)return!1;return!0}function Bz(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=zi.call(Array(t.indent+1)," ");else return null;return{base:n,prev:zi.call(Array(e+1),n)}}function I0(t,e){if(t.length===0)return"";var n=`
|
|
16
|
+
`+e.prev+e.base;return n+zi.call(t,","+n)+`
|
|
17
|
+
`+e.prev}function cp(t,e){var n=O0(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=Mo(t,i)?e(t[i],t):""}var o=typeof cv=="function"?cv(t):[],a;if(hu){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var l in t)Mo(t,l)&&(n&&String(Number(l))===l&&l<t.length||hu&&a["$"+l]instanceof Symbol||(Y3.call(/[^\w$]/,l)?r.push(e(l,t)+": "+e(t[l],t)):r.push(l+": "+e(t[l],t))));if(typeof cv=="function")for(var c=0;c<o.length;c++)Z3.call(t,o[c])&&r.push("["+e(o[c])+"]: "+e(t[o[c]],t));return r}var Mz=Um,Nz=ei,Fm=function(t,e,n){for(var r=t,i;(i=r.next)!=null;r=i)if(i.key===e)return r.next=i.next,n||(i.next=t.next,t.next=i),i},Pz=function(t,e){if(t){var n=Fm(t,e);return n&&n.value}},Wz=function(t,e,n){var r=Fm(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}},Lz=function(t,e){return t?!!Fm(t,e):!1},zz=function(t,e){if(t)return Fm(t,e,!0)},$z=function(){var e,n={assert:function(r){if(!n.has(r))throw new Nz("Side channel does not contain "+Mz(r))},delete:function(r){var i=e&&e.next,o=zz(e,r);return o&&i&&i===o&&(e=void 0),!!o},get:function(r){return Pz(e,r)},has:function(r){return Lz(e,r)},set:function(r,i){e||(e={next:void 0}),Wz(e,r,i)}};return n},jz=Zo,nh=Bn,Hz=Um,Vz=ei,bT=jz("%Map%",!0),qz=nh("Map.prototype.get",!0),Xz=nh("Map.prototype.set",!0),Gz=nh("Map.prototype.has",!0),Jz=nh("Map.prototype.delete",!0),Yz=nh("Map.prototype.size",!0),rU=!!bT&&function(){var e,n={assert:function(r){if(!n.has(r))throw new Vz("Side channel does not contain "+Hz(r))},delete:function(r){if(e){var i=Jz(e,r);return Yz(e)===0&&(e=void 0),i}return!1},get:function(r){if(e)return qz(e,r)},has:function(r){return e?Gz(e,r):!1},set:function(r,i){e||(e=new bT),Xz(e,r,i)}};return n},Zz=Zo,Rm=Bn,Kz=Um,up=rU,Qz=ei,Mc=Zz("%WeakMap%",!0),e$=Rm("WeakMap.prototype.get",!0),t$=Rm("WeakMap.prototype.set",!0),n$=Rm("WeakMap.prototype.has",!0),r$=Rm("WeakMap.prototype.delete",!0),i$=Mc?function(){var e,n,r={assert:function(i){if(!r.has(i))throw new Qz("Side channel does not contain "+Kz(i))},delete:function(i){if(Mc&&i&&(typeof i=="object"||typeof i=="function")){if(e)return r$(e,i)}else if(up&&n)return n.delete(i);return!1},get:function(i){return Mc&&i&&(typeof i=="object"||typeof i=="function")&&e?e$(e,i):n&&n.get(i)},has:function(i){return Mc&&i&&(typeof i=="object"||typeof i=="function")&&e?n$(e,i):!!n&&n.has(i)},set:function(i,o){Mc&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new Mc),t$(e,i,o)):up&&(n||(n=up()),n.set(i,o))}};return r}:up,o$=ei,a$=Um,s$=$z,l$=rU,c$=i$,u$=c$||l$||s$,iU=function(){var e,n={assert:function(r){if(!n.has(r))throw new o$("Side channel does not contain "+a$(r))},delete:function(r){return!!e&&e.delete(r)},get:function(r){return e&&e.get(r)},has:function(r){return!!e&&e.has(r)},set:function(r,i){e||(e=u$()),e.set(r,i)}};return n},f$=ax,Lf=iU(),ko=ei,ux={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new ko("`O` is not an object");if(typeof e!="string")throw new ko("`slot` must be a string");if(Lf.assert(t),!ux.has(t,e))throw new ko("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new ko("`O` is not an object");if(typeof e!="string")throw new ko("`slot` must be a string");var n=Lf.get(t);return n&&n["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new ko("`O` is not an object");if(typeof e!="string")throw new ko("`slot` must be a string");var n=Lf.get(t);return!!n&&f$(n,"$"+e)},set:function(t,e,n){if(!t||typeof t!="object"&&typeof t!="function")throw new ko("`O` is not an object");if(typeof e!="string")throw new ko("`slot` must be a string");var r=Lf.get(t);r||(r={},Lf.set(t,r)),r["$"+e]=n}};Object.freeze&&Object.freeze(ux);var d$=ux,zf=d$,h$=K2,vT=typeof StopIteration=="object"?StopIteration:null,p$=function(e){if(!vT)throw new h$("this environment lacks StopIteration");zf.set(e,"[[Done]]",!1);var n={next:function(){var i=zf.get(this,"[[Iterator]]"),o=!!zf.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(a){if(zf.set(i,"[[Done]]",!0),a!==vT)throw a;return{done:!0,value:void 0}}}};return zf.set(n,"[[Iterator]]",e),n},g$={}.toString,oU=Array.isArray||function(t){return g$.call(t)=="[object Array]"},aU=Bn,m$=aU("String.prototype.valueOf"),y$=function(e){try{return m$(e),!0}catch{return!1}},b$=aU("Object.prototype.toString"),v$="[object String]",x$=kl(),sU=function(e){return typeof e=="string"?!0:!e||typeof e!="object"?!1:x$?y$(e):b$(e)===v$},fx=typeof Map=="function"&&Map.prototype?Map:null,D$=typeof Set=="function"&&Set.prototype?Set:null,Wg;fx||(Wg=function(e){return!1});var lU=fx?Map.prototype.has:null,xT=D$?Set.prototype.has:null;!Wg&&!lU&&(Wg=function(e){return!1});var cU=Wg||function(e){if(!e||typeof e!="object")return!1;try{if(lU.call(e),xT)try{xT.call(e)}catch{return!0}return e instanceof fx}catch{}return!1},w$=typeof Map=="function"&&Map.prototype?Map:null,dx=typeof Set=="function"&&Set.prototype?Set:null,Lg;dx||(Lg=function(e){return!1});var DT=w$?Map.prototype.has:null,uU=dx?Set.prototype.has:null;!Lg&&!uU&&(Lg=function(e){return!1});var fU=Lg||function(e){if(!e||typeof e!="object")return!1;try{if(uU.call(e),DT)try{DT.call(e)}catch{return!0}return e instanceof dx}catch{}return!1},wT=J3,ST=p$;if(nx()||km()){var fv=Symbol.iterator;Pp.exports=function(e){if(e!=null&&typeof e[fv]<"u")return e[fv]();if(wT(e))return Array.prototype[fv].call(e)}}else{var S$=oU,T$=sU,TT=Zo,C$=TT("%Map%",!0),E$=TT("%Set%",!0),di=j3,CT=di("Array.prototype.push"),ET=di("String.prototype.charCodeAt"),_$=di("String.prototype.slice"),k$=function(e,n){var r=e.length;if(n+1>=r)return n+1;var i=ET(e,n);if(i<55296||i>56319)return n+1;var o=ET(e,n+1);return o<56320||o>57343?n+1:n+2},dv=function(e){var n=0;return{next:function(){var i=n>=e.length,o;return i||(o=e[n],n+=1),{done:i,value:o}}}},_T=function(e,n){if(S$(e)||wT(e))return dv(e);if(T$(e)){var r=0;return{next:function(){var o=k$(e,r),a=_$(e,r,o);return r=o,{done:o>e.length,value:a}}}}if(n&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()};if(!C$&&!E$)Pp.exports=function(e){if(e!=null)return _T(e,!0)};else{var A$=cU,U$=fU,kT=di("Map.prototype.forEach",!0),AT=di("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var UT=di("Map.prototype.iterator",!0),FT=di("Set.prototype.iterator",!0);var RT=di("Map.prototype.@@iterator",!0)||di("Map.prototype._es6-shim iterator_",!0),OT=di("Set.prototype.@@iterator",!0)||di("Set.prototype._es6-shim iterator_",!0),F$=function(e){if(A$(e)){if(UT)return ST(UT(e));if(RT)return RT(e);if(kT){var n=[];return kT(e,function(i,o){CT(n,[o,i])}),dv(n)}}if(U$(e)){if(FT)return ST(FT(e));if(OT)return OT(e);if(AT){var r=[];return AT(e,function(i){CT(r,i)}),dv(r)}}};Pp.exports=function(e){return F$(e)||_T(e)}}}var R$=Pp.exports,IT=function(t){return t!==t},dU=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||IT(e)&&IT(n))},O$=dU,hU=function(){return typeof Object.is=="function"?Object.is:O$},I$=hU,B$=_l,M$=function(){var e=I$();return B$(Object,{is:e},{is:function(){return Object.is!==e}}),e},N$=_l,P$=Fu,W$=dU,pU=hU,L$=M$,gU=P$(pU(),Object);N$(gU,{getPolyfill:pU,implementation:W$,shim:L$});var z$=gU,$$=Fu,mU=Bn,j$=Zo,B0=j$("%ArrayBuffer%",!0),Wp=mU("ArrayBuffer.prototype.byteLength",!0),H$=mU("Object.prototype.toString"),BT=!!B0&&!Wp&&new B0(0).slice,MT=!!BT&&$$(BT),yU=Wp||MT?function(e){if(!e||typeof e!="object")return!1;try{return Wp?Wp(e):MT(e,0),!0}catch{return!1}}:B0?function(e){return H$(e)==="[object ArrayBuffer]"}:function(e){return!1},bU=Bn,V$=bU("Date.prototype.getDay"),q$=function(e){try{return V$(e),!0}catch{return!1}},X$=bU("Object.prototype.toString"),G$="[object Date]",J$=kl(),Y$=function(e){return typeof e!="object"||e===null?!1:J$?q$(e):X$(e)===G$},NT=Bn,Z$=kl(),K$=ax,Q$=El,M0;if(Z$){var ej=NT("RegExp.prototype.exec"),PT={},hv=function(){throw PT},WT={toString:hv,valueOf:hv};typeof Symbol.toPrimitive=="symbol"&&(WT[Symbol.toPrimitive]=hv),M0=function(e){if(!e||typeof e!="object")return!1;var n=Q$(e,"lastIndex"),r=n&&K$(n,"value");if(!r)return!1;try{ej(e,WT)}catch(i){return i===PT}}}else{var tj=NT("Object.prototype.toString"),nj="[object RegExp]";M0=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:tj(e)===nj}}var vU=M0,rj=Bn,LT=rj("SharedArrayBuffer.prototype.byteLength",!0),ij=LT?function(e){if(!e||typeof e!="object")return!1;try{return LT(e),!0}catch{return!1}}:function(e){return!1},xU=Bn,oj=xU("Number.prototype.toString"),aj=function(e){try{return oj(e),!0}catch{return!1}},sj=xU("Object.prototype.toString"),lj="[object Number]",cj=kl(),uj=function(e){return typeof e=="number"?!0:!e||typeof e!="object"?!1:cj?aj(e):sj(e)===lj},DU=Bn,fj=DU("Boolean.prototype.toString"),dj=DU("Object.prototype.toString"),hj=function(e){try{return fj(e),!0}catch{return!1}},pj="[object Boolean]",gj=kl(),mj=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:gj?hj(e):dj(e)===pj},N0={exports:{}},pv,zT;function yj(){if(zT)return pv;zT=1;var t=Bn,e=vU,n=t("RegExp.prototype.exec"),r=ei;return pv=function(o){if(!e(o))throw new r("`regex` must be a RegExp");return function(s){return n(o,s)!==null}},pv}var wU=Bn,bj=wU("Object.prototype.toString"),vj=nx(),xj=yj();if(vj){var Dj=wU("Symbol.prototype.toString"),wj=xj(/^Symbol\(.*\)$/),Sj=function(e){return typeof e.valueOf()!="symbol"?!1:wj(Dj(e))};N0.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||bj(e)!=="[object Symbol]")return!1;try{return Sj(e)}catch{return!1}}}else N0.exports=function(e){return!1};var Tj=N0.exports,P0={exports:{}},$T=typeof BigInt<"u"&&BigInt,Cj=function(){return typeof $T=="function"&&typeof BigInt=="function"&&typeof $T(42)=="bigint"&&typeof BigInt(42)=="bigint"},Ej=Cj();if(Ej){var _j=BigInt.prototype.valueOf,kj=function(e){try{return _j.call(e),!0}catch{}return!1};P0.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:kj(e)}}else P0.exports=function(e){return!1};var Aj=P0.exports,Uj=sU,Fj=uj,Rj=mj,Oj=Tj,Ij=Aj,Bj=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(Uj(e))return"String";if(Fj(e))return"Number";if(Rj(e))return"Boolean";if(Oj(e))return"Symbol";if(Ij(e))return"BigInt"},zg=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,jT=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,$g;zg||($g=function(e){return!1});var W0=zg?zg.prototype.has:null,gv=jT?jT.prototype.has:null;!$g&&!W0&&($g=function(e){return!1});var Mj=$g||function(e){if(!e||typeof e!="object")return!1;try{if(W0.call(e,W0),gv)try{gv.call(e,gv)}catch{return!0}return e instanceof zg}catch{}return!1},L0={exports:{}},Nj=Zo,SU=Bn,Pj=Nj("%WeakSet%",!0),mv=SU("WeakSet.prototype.has",!0);if(mv){var yv=SU("WeakMap.prototype.has",!0);L0.exports=function(e){if(!e||typeof e!="object")return!1;try{if(mv(e,mv),yv)try{yv(e,yv)}catch{return!0}return e instanceof Pj}catch{}return!1}}else L0.exports=function(e){return!1};var Wj=L0.exports,Lj=cU,zj=fU,$j=Mj,jj=Wj,Hj=function(e){if(e&&typeof e=="object"){if(Lj(e))return"Map";if(zj(e))return"Set";if($j(e))return"WeakMap";if(jj(e))return"WeakSet"}return!1},TU=Function.prototype.toString,Gc=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,z0,Lp;if(typeof Gc=="function"&&typeof Object.defineProperty=="function")try{z0=Object.defineProperty({},"length",{get:function(){throw Lp}}),Lp={},Gc(function(){throw 42},null,z0)}catch(t){t!==Lp&&(Gc=null)}else Gc=null;var Vj=/^\s*class\b/,$0=function(e){try{var n=TU.call(e);return Vj.test(n)}catch{return!1}},bv=function(e){try{return $0(e)?!1:(TU.call(e),!0)}catch{return!1}},zp=Object.prototype.toString,qj="[object Object]",Xj="[object Function]",Gj="[object GeneratorFunction]",Jj="[object HTMLAllCollection]",Yj="[object HTML document.all class]",Zj="[object HTMLCollection]",Kj=typeof Symbol=="function"&&!!Symbol.toStringTag,Qj=!(0 in[,]),j0=function(){return!1};if(typeof document=="object"){var eH=document.all;zp.call(eH)===zp.call(document.all)&&(j0=function(e){if((Qj||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=zp.call(e);return(n===Jj||n===Yj||n===Zj||n===qj)&&e("")==null}catch{}return!1})}var tH=Gc?function(e){if(j0(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Gc(e,null,z0)}catch(n){if(n!==Lp)return!1}return!$0(e)&&bv(e)}:function(e){if(j0(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Kj)return bv(e);if($0(e))return!1;var n=zp.call(e);return n!==Xj&&n!==Gj&&!/^\[object HTML/.test(n)?!1:bv(e)},nH=tH,rH=Object.prototype.toString,CU=Object.prototype.hasOwnProperty,iH=function(e,n,r){for(var i=0,o=e.length;i<o;i++)CU.call(e,i)&&(r==null?n(e[i],i,e):n.call(r,e[i],i,e))},oH=function(e,n,r){for(var i=0,o=e.length;i<o;i++)r==null?n(e.charAt(i),i,e):n.call(r,e.charAt(i),i,e)},aH=function(e,n,r){for(var i in e)CU.call(e,i)&&(r==null?n(e[i],i,e):n.call(r,e[i],i,e))};function sH(t){return rH.call(t)==="[object Array]"}var lH=function(e,n,r){if(!nH(n))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=r),sH(e)?iH(e,n,i):typeof e=="string"?oH(e,n,i):aH(e,n,i)},cH=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],vv=cH,uH=typeof globalThis>"u"?rt:globalThis,fH=function(){for(var e=[],n=0;n<vv.length;n++)typeof uH[vv[n]]=="function"&&(e[e.length]=vv[n]);return e},jg=lH,dH=fH,HT=Fu,hx=Bn,$p=El,hH=hx("Object.prototype.toString"),EU=kl(),VT=typeof globalThis>"u"?rt:globalThis,H0=dH(),px=hx("String.prototype.slice"),xv=Object.getPrototypeOf,pH=hx("Array.prototype.indexOf",!0)||function(e,n){for(var r=0;r<e.length;r+=1)if(e[r]===n)return r;return-1},Hg={__proto__:null};EU&&$p&&xv?jg(H0,function(t){var e=new VT[t];if(Symbol.toStringTag in e){var n=xv(e),r=$p(n,Symbol.toStringTag);if(!r){var i=xv(n);r=$p(i,Symbol.toStringTag)}Hg["$"+t]=HT(r.get)}}):jg(H0,function(t){var e=new VT[t],n=e.slice||e.set;n&&(Hg["$"+t]=HT(n))});var gH=function(e){var n=!1;return jg(Hg,function(r,i){if(!n)try{"$"+r(e)===i&&(n=px(i,1))}catch{}}),n},mH=function(e){var n=!1;return jg(Hg,function(r,i){if(!n)try{r(e),n=px(i,1)}catch{}}),n},yH=function(e){if(!e||typeof e!="object")return!1;if(!EU){var n=px(hH(e),8,-1);return pH(H0,n)>-1?n:n!=="Object"?!1:mH(e)}return $p?gH(e):null},bH=Bn,qT=bH("ArrayBuffer.prototype.byteLength",!0),vH=yU,xH=function(e){return vH(e)?qT?qT(e):e.byteLength:NaN},_U=AL,no=j3,XT=ez,DH=Zo,pu=R$,wH=iU,GT=z$,JT=J3,YT=oU,ZT=yU,KT=Y$,QT=vU,eC=ij,tC=Z2,nC=Bj,rC=Hj,iC=yH,oC=xH,aC=no("SharedArrayBuffer.prototype.byteLength",!0),sC=no("Date.prototype.getTime"),Dv=Object.getPrototypeOf,lC=no("Object.prototype.toString"),Vg=DH("%Set%",!0),V0=no("Map.prototype.has",!0),qg=no("Map.prototype.get",!0),cC=no("Map.prototype.size",!0),Xg=no("Set.prototype.add",!0),kU=no("Set.prototype.delete",!0),Gg=no("Set.prototype.has",!0),jp=no("Set.prototype.size",!0);function uC(t,e,n,r){for(var i=pu(t),o;(o=i.next())&&!o.done;)if(pi(e,o.value,n,r))return kU(t,o.value),!0;return!1}function AU(t){if(typeof t>"u")return null;if(typeof t!="object")return typeof t=="symbol"?!1:typeof t=="string"||typeof t=="number"?+t==+t:!0}function SH(t,e,n,r,i,o){var a=AU(n);if(a!=null)return a;var s=qg(e,a),l=_U({},i,{strict:!1});return typeof s>"u"&&!V0(e,a)||!pi(r,s,l,o)?!1:!V0(t,a)&&pi(r,s,l,o)}function TH(t,e,n){var r=AU(n);return r??(Gg(e,r)&&!Gg(t,r))}function fC(t,e,n,r,i,o){for(var a=pu(t),s,l;(s=a.next())&&!s.done;)if(l=s.value,pi(n,l,i,o)&&pi(r,qg(e,l),i,o))return kU(t,l),!0;return!1}function pi(t,e,n,r){var i=n||{};if(i.strict?GT(t,e):t===e)return!0;var o=nC(t),a=nC(e);if(o!==a)return!1;if(!t||!e||typeof t!="object"&&typeof e!="object")return i.strict?GT(t,e):t==e;var s=r.has(t),l=r.has(e),c;if(s&&l){if(r.get(t)===r.get(e))return!0}else c={};return s||r.set(t,c),l||r.set(e,c),_H(t,e,i,r)}function dC(t){return!t||typeof t!="object"||typeof t.length!="number"||typeof t.copy!="function"||typeof t.slice!="function"||t.length>0&&typeof t[0]!="number"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function CH(t,e,n,r){if(jp(t)!==jp(e))return!1;for(var i=pu(t),o=pu(e),a,s,l;(a=i.next())&&!a.done;)if(a.value&&typeof a.value=="object")l||(l=new Vg),Xg(l,a.value);else if(!Gg(e,a.value)){if(n.strict||!TH(t,e,a.value))return!1;l||(l=new Vg),Xg(l,a.value)}if(l){for(;(s=o.next())&&!s.done;)if(s.value&&typeof s.value=="object"){if(!uC(l,s.value,n.strict,r))return!1}else if(!n.strict&&!Gg(t,s.value)&&!uC(l,s.value,n.strict,r))return!1;return jp(l)===0}return!0}function EH(t,e,n,r){if(cC(t)!==cC(e))return!1;for(var i=pu(t),o=pu(e),a,s,l,c,f,d;(a=i.next())&&!a.done;)if(c=a.value[0],f=a.value[1],c&&typeof c=="object")l||(l=new Vg),Xg(l,c);else if(d=qg(e,c),typeof d>"u"&&!V0(e,c)||!pi(f,d,n,r)){if(n.strict||!SH(t,e,c,f,n,r))return!1;l||(l=new Vg),Xg(l,c)}if(l){for(;(s=o.next())&&!s.done;)if(c=s.value[0],d=s.value[1],c&&typeof c=="object"){if(!fC(l,t,c,d,n,r))return!1}else if(!n.strict&&(!t.has(c)||!pi(qg(t,c),d,n,r))&&!fC(l,t,c,d,_U({},n,{strict:!1}),r))return!1;return jp(l)===0}return!0}function _H(t,e,n,r){var i,o;if(typeof t!=typeof e||t==null||e==null||lC(t)!==lC(e)||JT(t)!==JT(e))return!1;var a=YT(t),s=YT(e);if(a!==s)return!1;var l=t instanceof Error,c=e instanceof Error;if(l!==c||(l||c)&&(t.name!==e.name||t.message!==e.message))return!1;var f=QT(t),d=QT(e);if(f!==d||(f||d)&&(t.source!==e.source||XT(t)!==XT(e)))return!1;var p=KT(t),g=KT(e);if(p!==g||(p||g)&&sC(t)!==sC(e)||n.strict&&Dv&&Dv(t)!==Dv(e))return!1;var b=iC(t),x=iC(e);if(b!==x)return!1;if(b||x){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var v=dC(t),D=dC(e);if(v!==D)return!1;if(v||D){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var S=ZT(t),E=ZT(e);if(S!==E)return!1;if(S||E)return oC(t)!==oC(e)?!1:typeof Uint8Array=="function"&&pi(new Uint8Array(t),new Uint8Array(e),n,r);var O=eC(t),U=eC(e);if(O!==U)return!1;if(O||U)return aC(t)!==aC(e)?!1:typeof Uint8Array=="function"&&pi(new Uint8Array(t),new Uint8Array(e),n,r);if(typeof t!=typeof e)return!1;var M=tC(t),N=tC(e);if(M.length!==N.length)return!1;for(M.sort(),N.sort(),i=M.length-1;i>=0;i--)if(M[i]!=N[i])return!1;for(i=M.length-1;i>=0;i--)if(o=M[i],!pi(t[o],e[o],n,r))return!1;var q=rC(t),j=rC(e);return q!==j?!1:q==="Set"||j==="Set"?CH(t,e,n,r):q==="Map"?EH(t,e,n,r):!0}var kH=function(e,n,r){return pi(e,n,r,wH())};const AH=y3(kH);var vi={},gx="1.13.7",hC=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},Om=Array.prototype,mx=Object.prototype,pC=typeof Symbol<"u"?Symbol.prototype:null,UH=Om.push,rh=Om.slice,Ad=mx.toString,FH=mx.hasOwnProperty,UU=typeof ArrayBuffer<"u",RH=typeof DataView<"u",OH=Array.isArray,gC=Object.keys,mC=Object.create,yC=UU&&ArrayBuffer.isView,IH=isNaN,BH=isFinite,FU=!{toString:null}.propertyIsEnumerable("toString"),bC=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],MH=Math.pow(2,53)-1;function Kn(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 fs(t){var e=typeof t;return e==="function"||e==="object"&&!!t}function RU(t){return t===null}function yx(t){return t===void 0}function bx(t){return t===!0||t===!1||Ad.call(t)==="[object Boolean]"}function OU(t){return!!(t&&t.nodeType===1)}function Mn(t){var e="[object "+t+"]";return function(n){return Ad.call(n)===e}}const Im=Mn("String"),vx=Mn("Number"),IU=Mn("Date"),BU=Mn("RegExp"),MU=Mn("Error"),xx=Mn("Symbol"),Dx=Mn("ArrayBuffer");var NU=Mn("Function"),NH=hC.document&&hC.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof NH!="function"&&(NU=function(t){return typeof t=="function"||!1});const On=NU,PU=Mn("Object");var WU=RH&&(!/\[native code\]/.test(String(DataView))||PU(new DataView(new ArrayBuffer(8)))),wx=typeof Map<"u"&&PU(new Map),PH=Mn("DataView");function WH(t){return t!=null&&On(t.getInt8)&&Dx(t.buffer)}const Ud=WU?WH:PH,ds=OH||Mn("Array");function hs(t,e){return t!=null&&FH.call(t,e)}var q0=Mn("Arguments");(function(){q0(arguments)||(q0=function(t){return hs(t,"callee")})})();const Bm=q0;function LU(t){return!xx(t)&&BH(t)&&!isNaN(parseFloat(t))}function Sx(t){return vx(t)&&IH(t)}function Tx(t){return function(){return t}}function zU(t){return function(e){var n=t(e);return typeof n=="number"&&n>=0&&n<=MH}}function $U(t){return function(e){return e==null?void 0:e[t]}}const Jg=$U("byteLength"),LH=zU(Jg);var zH=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function $H(t){return yC?yC(t)&&!Ud(t):LH(t)&&zH.test(Ad.call(t))}const Cx=UU?$H:Tx(!1),pr=$U("length");function jH(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 jU(t,e){e=jH(e);var n=bC.length,r=t.constructor,i=On(r)&&r.prototype||mx,o="constructor";for(hs(t,o)&&!e.contains(o)&&e.push(o);n--;)o=bC[n],o in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function Xt(t){if(!fs(t))return[];if(gC)return gC(t);var e=[];for(var n in t)hs(t,n)&&e.push(n);return FU&&jU(t,e),e}function HU(t){if(t==null)return!0;var e=pr(t);return typeof e=="number"&&(ds(t)||Im(t)||Bm(t))?e===0:pr(Xt(t))===0}function Ex(t,e){var n=Xt(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 yt(t){if(t instanceof yt)return t;if(!(this instanceof yt))return new yt(t);this._wrapped=t}yt.VERSION=gx;yt.prototype.value=function(){return this._wrapped};yt.prototype.valueOf=yt.prototype.toJSON=yt.prototype.value;yt.prototype.toString=function(){return String(this._wrapped)};function vC(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,Jg(t))}var xC="[object DataView]";function X0(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:VU(t,e,n,r)}function VU(t,e,n,r){t instanceof yt&&(t=t._wrapped),e instanceof yt&&(e=e._wrapped);var i=Ad.call(t);if(i!==Ad.call(e))return!1;if(WU&&i=="[object Object]"&&Ud(t)){if(!Ud(e))return!1;i=xC}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 pC.valueOf.call(t)===pC.valueOf.call(e);case"[object ArrayBuffer]":case xC:return VU(vC(t),vC(e),n,r)}var o=i==="[object Array]";if(!o&&Cx(t)){var a=Jg(t);if(a!==Jg(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,l=e.constructor;if(s!==l&&!(On(s)&&s instanceof s&&On(l)&&l instanceof l)&&"constructor"in t&&"constructor"in e)return!1}n=n||[],r=r||[];for(var c=n.length;c--;)if(n[c]===t)return r[c]===e;if(n.push(t),r.push(e),o){if(c=t.length,c!==e.length)return!1;for(;c--;)if(!X0(t[c],e[c],n,r))return!1}else{var f=Xt(t),d;if(c=f.length,Xt(e).length!==c)return!1;for(;c--;)if(d=f[c],!(hs(e,d)&&X0(t[d],e[d],n,r)))return!1}return n.pop(),r.pop(),!0}function qU(t,e){return X0(t,e)}function Ru(t){if(!fs(t))return[];var e=[];for(var n in t)e.push(n);return FU&&jU(t,e),e}function _x(t){var e=pr(t);return function(n){if(n==null)return!1;var r=Ru(n);if(pr(r))return!1;for(var i=0;i<e;i++)if(!On(n[t[i]]))return!1;return t!==JU||!On(n[kx])}}var kx="forEach",XU="has",Ax=["clear","delete"],GU=["get",XU,"set"],HH=Ax.concat(kx,GU),JU=Ax.concat(GU),VH=["add"].concat(Ax,kx,XU);const YU=wx?_x(HH):Mn("Map"),ZU=wx?_x(JU):Mn("WeakMap"),KU=wx?_x(VH):Mn("Set"),QU=Mn("WeakSet");function Ul(t){for(var e=Xt(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function eF(t){for(var e=Xt(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function Ux(t){for(var e={},n=Xt(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function Fd(t){var e=[];for(var n in t)On(t[n])&&e.push(n);return e.sort()}function Fx(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,l=0;l<s;l++){var c=a[l];(!e||n[c]===void 0)&&(n[c]=o[c])}return n}}const Rx=Fx(Ru),gu=Fx(Xt),Ox=Fx(Ru,!0);function qH(){return function(){}}function tF(t){if(!fs(t))return{};if(mC)return mC(t);var e=qH();e.prototype=t;var n=new e;return e.prototype=null,n}function nF(t,e){var n=tF(t);return e&&gu(n,e),n}function rF(t){return fs(t)?ds(t)?t.slice():Rx({},t):t}function iF(t,e){return e(t),t}function Ix(t){return ds(t)?t:[t]}yt.toPath=Ix;function ih(t){return yt.toPath(t)}function Bx(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 Mx(t,e,n){var r=Bx(t,ih(e));return yx(r)?n:r}function oF(t,e){e=ih(e);for(var n=e.length,r=0;r<n;r++){var i=e[r];if(!hs(t,i))return!1;t=t[i]}return!!n}function Mm(t){return t}function gl(t){return t=gu({},t),function(e){return Ex(e,t)}}function Nm(t){return t=ih(t),function(e){return Bx(e,t)}}function oh(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 aF(t,e,n){return t==null?Mm:On(t)?oh(t,e,n):fs(t)&&!ds(t)?gl(t):Nm(t)}function Pm(t,e){return aF(t,e,1/0)}yt.iteratee=Pm;function mr(t,e,n){return yt.iteratee!==Pm?yt.iteratee(t,e):aF(t,e,n)}function sF(t,e,n){e=mr(e,n);for(var r=Xt(t),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(t[s],s,t)}return o}function Nx(){}function lF(t){return t==null?Nx:function(e){return Mx(t,e)}}function cF(t,e,n){var r=Array(Math.max(0,t));e=oh(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function Yg(t,e){return e==null&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}const mu=Date.now||function(){return new Date().getTime()};function uF(t){var e=function(o){return t[o]},n="(?:"+Xt(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 fF={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},dF=uF(fF),XH=Ux(fF),hF=uF(XH),pF=yt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var wv=/(.)^/,GH={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},JH=/\\|'|\r|\n|\u2028|\u2029/g;function YH(t){return"\\"+GH[t]}var ZH=/^\s*(\w|\$)+\s*$/;function gF(t,e,n){!e&&n&&(e=n),e=Ox({},e,yt.templateSettings);var r=RegExp([(e.escape||wv).source,(e.interpolate||wv).source,(e.evaluate||wv).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(c,f,d,p,g){return o+=t.slice(i,g).replace(JH,YH),i=g+c.length,f?o+=`'+
|
|
18
|
+
((__t=(`+f+`))==null?'':_.escape(__t))+
|
|
19
|
+
'`:d?o+=`'+
|
|
20
|
+
((__t=(`+d+`))==null?'':__t)+
|
|
21
|
+
'`:p&&(o+=`';
|
|
22
|
+
`+p+`
|
|
23
|
+
__p+='`),c}),o+=`';
|
|
24
|
+
`;var a=e.variable;if(a){if(!ZH.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(c){throw c.source=o,c}var l=function(c){return s.call(this,c,yt)};return l.source="function("+a+`){
|
|
29
|
+
`+o+"}",l}function mF(t,e,n){e=ih(e);var r=e.length;if(!r)return On(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=On(o)?o.call(t):o}return t}var KH=0;function yF(t){var e=++KH+"";return t?t+e:e}function bF(t){var e=yt(t);return e._chain=!0,e}function vF(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=tF(t.prototype),a=t.apply(o,i);return fs(a)?a:o}var Fl=Kn(function(t,e){var n=Fl.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 vF(t,r,this,this,a)};return r});Fl.placeholder=yt;const Px=Kn(function(t,e,n){if(!On(t))throw new TypeError("Bind must be called on a function");var r=Kn(function(i){return vF(t,r,e,this,n.concat(i))});return r}),Ur=zU(pr);function Rl(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=pr(t);o<a;o++){var s=t[o];if(Ur(s)&&(ds(s)||Bm(s)))if(e>1)Rl(s,e-1,n,r),i=r.length;else for(var l=0,c=s.length;l<c;)r[i++]=s[l++];else n||(r[i++]=s)}return r}const xF=Kn(function(t,e){e=Rl(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]=Px(t[r],t)}return t});function DF(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return hs(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}const Wx=Kn(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),wF=Fl(Wx,yt,1);function SF(t,e,n){var r,i,o,a,s=0;n||(n={});var l=function(){s=n.leading===!1?0:mu(),r=null,a=t.apply(i,o),r||(i=o=null)},c=function(){var f=mu();!s&&n.leading===!1&&(s=f);var d=e-(f-s);return i=this,o=arguments,d<=0||d>e?(r&&(clearTimeout(r),r=null),s=f,a=t.apply(i,o),r||(i=o=null)):!r&&n.trailing!==!1&&(r=setTimeout(l,d)),a};return c.cancel=function(){clearTimeout(r),s=0,r=i=o=null},c}function TF(t,e,n){var r,i,o,a,s,l=function(){var f=mu()-i;e>f?r=setTimeout(l,e-f):(r=null,n||(a=t.apply(s,o)),r||(o=s=null))},c=Kn(function(f){return s=this,o=f,i=mu(),r||(r=setTimeout(l,e),n&&(a=t.apply(s,o))),a});return c.cancel=function(){clearTimeout(r),r=o=s=null},c}function CF(t,e){return Fl(e,t)}function Wm(t){return function(){return!t.apply(this,arguments)}}function EF(){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 _F(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function Lx(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const kF=Fl(Lx,2);function zx(t,e,n){e=mr(e,n);for(var r=Xt(t),i,o=0,a=r.length;o<a;o++)if(i=r[o],e(t[i],i,t))return i}function AF(t){return function(e,n,r){n=mr(n,r);for(var i=pr(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}const Lm=AF(1),$x=AF(-1);function jx(t,e,n,r){n=mr(n,r,1);for(var i=n(e),o=0,a=pr(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o}function UF(t,e,n){return function(r,i,o){var a=0,s=pr(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(rh.call(r,a,s),Sx),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 Hx=UF(1,Lm,jx),FF=UF(-1,$x);function Rd(t,e,n){var r=Ur(t)?Lm:zx,i=r(t,e,n);if(i!==void 0&&i!==-1)return t[i]}function RF(t,e){return Rd(t,gl(e))}function yi(t,e,n){e=oh(e,n);var r,i;if(Ur(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=Xt(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}function jo(t,e,n){e=mr(e,n);for(var r=!Ur(t)&&Xt(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 OF(t){var e=function(n,r,i,o){var a=!Ur(n)&&Xt(n),s=(a||n).length,l=t>0?0:s-1;for(o||(i=n[a?a[l]:l],l+=t);l>=0&&l<s;l+=t){var c=a?a[l]:l;i=r(i,n[c],c,n)}return i};return function(n,r,i,o){var a=arguments.length>=3;return e(n,oh(r,o,4),i,a)}}const iu=OF(1),Zg=OF(-1);function rs(t,e,n){var r=[];return e=mr(e,n),yi(t,function(i,o,a){e(i,o,a)&&r.push(i)}),r}function IF(t,e,n){return rs(t,Wm(mr(e)),n)}function Kg(t,e,n){e=mr(e,n);for(var r=!Ur(t)&&Xt(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 Qg(t,e,n){e=mr(e,n);for(var r=!Ur(t)&&Xt(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 Qr(t,e,n,r){return Ur(t)||(t=Ul(t)),(typeof n!="number"||r)&&(n=0),Hx(t,e,n)>=0}const BF=Kn(function(t,e,n){var r,i;return On(e)?i=e:(e=ih(e),r=e.slice(0,-1),e=e[e.length-1]),jo(t,function(o){var a=i;if(!a){if(r&&r.length&&(o=Bx(o,r)),o==null)return;a=o[e]}return a==null?a:a.apply(o,n)})});function zm(t,e){return jo(t,Nm(e))}function MF(t,e){return rs(t,gl(e))}function Vx(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=Ur(t)?t:Ul(t);for(var s=0,l=t.length;s<l;s++)o=t[s],o!=null&&o>r&&(r=o)}else e=mr(e,n),yi(t,function(c,f,d){a=e(c,f,d),(a>i||a===-1/0&&r===-1/0)&&(r=c,i=a)});return r}function NF(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=Ur(t)?t:Ul(t);for(var s=0,l=t.length;s<l;s++)o=t[s],o!=null&&o<r&&(r=o)}else e=mr(e,n),yi(t,function(c,f,d){a=e(c,f,d),(a<i||a===1/0&&r===1/0)&&(r=c,i=a)});return r}var QH=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function qx(t){return t?ds(t)?rh.call(t):Im(t)?t.match(QH):Ur(t)?jo(t,Mm):Ul(t):[]}function Xx(t,e,n){if(e==null||n)return Ur(t)||(t=Ul(t)),t[Yg(t.length-1)];var r=qx(t),i=pr(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=Yg(a,o),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,e)}function PF(t){return Xx(t,1/0)}function WF(t,e,n){var r=0;return e=mr(e,n),zm(jo(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 $m(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=mr(r,i),yi(n,function(a,s){var l=r(a,s,n);t(o,a,l)}),o}}const LF=$m(function(t,e,n){hs(t,n)?t[n].push(e):t[n]=[e]}),zF=$m(function(t,e,n){t[n]=e}),$F=$m(function(t,e,n){hs(t,n)?t[n]++:t[n]=1}),jF=$m(function(t,e,n){t[n?0:1].push(e)},!0);function HF(t){return t==null?0:Ur(t)?t.length:Xt(t).length}function eV(t,e,n){return e in n}const Gx=Kn(function(t,e){var n={},r=e[0];if(t==null)return n;On(r)?(e.length>1&&(r=oh(r,e[1])),e=Ru(t)):(r=eV,e=Rl(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}),VF=Kn(function(t,e){var n=e[0],r;return On(n)?(n=Wm(n),e.length>1&&(r=e[1])):(e=jo(Rl(e,!1,!1),String),n=function(i,o){return!Qr(e,o)}),Gx(t,n,r)});function Jx(t,e,n){return rh.call(t,0,Math.max(0,t.length-(e==null||n?1:e)))}function ou(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[0]:Jx(t,t.length-e)}function cl(t,e,n){return rh.call(t,e==null||n?1:e)}function qF(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[t.length-1]:cl(t,Math.max(0,t.length-e))}function XF(t){return rs(t,Boolean)}function GF(t,e){return Rl(t,e,!1)}const Yx=Kn(function(t,e){return e=Rl(e,!0,!0),rs(t,function(n){return!Qr(e,n)})}),JF=Kn(function(t,e){return Yx(t,e)});function Od(t,e,n,r){bx(e)||(r=n,n=e,e=!1),n!=null&&(n=mr(n,r));for(var i=[],o=[],a=0,s=pr(t);a<s;a++){var l=t[a],c=n?n(l,a,t):l;e&&!n?((!a||o!==c)&&i.push(l),o=c):n?Qr(o,c)||(o.push(c),i.push(l)):Qr(i,l)||i.push(l)}return i}const YF=Kn(function(t){return Od(Rl(t,!0,!0))});function ZF(t){for(var e=[],n=arguments.length,r=0,i=pr(t);r<i;r++){var o=t[r];if(!Qr(e,o)){var a;for(a=1;a<n&&Qr(arguments[a],o);a++);a===n&&e.push(o)}}return e}function Id(t){for(var e=t&&Vx(t,pr).length||0,n=Array(e),r=0;r<e;r++)n[r]=zm(t,r);return n}const KF=Kn(Id);function QF(t,e){for(var n={},r=0,i=pr(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function eR(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 tR(t,e){if(e==null||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(rh.call(t,r,r+=e));return n}function Zx(t,e){return t._chain?yt(e).chain():e}function Kx(t){return yi(Fd(t),function(e){var n=yt[e]=t[e];yt.prototype[e]=function(){var r=[this._wrapped];return UH.apply(r,arguments),Zx(this,n.apply(yt,r))}}),yt}yi(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=Om[t];yt.prototype[t]=function(){var n=this._wrapped;return n!=null&&(e.apply(n,arguments),(t==="shift"||t==="splice")&&n.length===0&&delete n[0]),Zx(this,n)}});yi(["concat","join","slice"],function(t){var e=Om[t];yt.prototype[t]=function(){var n=this._wrapped;return n!=null&&(n=e.apply(n,arguments)),Zx(this,n)}});const tV=Object.freeze(Object.defineProperty({__proto__:null,VERSION:gx,after:_F,all:Kg,allKeys:Ru,any:Qg,assign:gu,before:Lx,bind:Px,bindAll:xF,chain:bF,chunk:tR,clone:rF,collect:jo,compact:XF,compose:EF,constant:Tx,contains:Qr,countBy:$F,create:nF,debounce:TF,default:yt,defaults:Ox,defer:wF,delay:Wx,detect:Rd,difference:Yx,drop:cl,each:yi,escape:dF,every:Kg,extend:Rx,extendOwn:gu,filter:rs,find:Rd,findIndex:Lm,findKey:zx,findLastIndex:$x,findWhere:RF,first:ou,flatten:GF,foldl:iu,foldr:Zg,forEach:yi,functions:Fd,get:Mx,groupBy:LF,has:oF,head:ou,identity:Mm,include:Qr,includes:Qr,indexBy:zF,indexOf:Hx,initial:Jx,inject:iu,intersection:ZF,invert:Ux,invoke:BF,isArguments:Bm,isArray:ds,isArrayBuffer:Dx,isBoolean:bx,isDataView:Ud,isDate:IU,isElement:OU,isEmpty:HU,isEqual:qU,isError:MU,isFinite:LU,isFunction:On,isMap:YU,isMatch:Ex,isNaN:Sx,isNull:RU,isNumber:vx,isObject:fs,isRegExp:BU,isSet:KU,isString:Im,isSymbol:xx,isTypedArray:Cx,isUndefined:yx,isWeakMap:ZU,isWeakSet:QU,iteratee:Pm,keys:Xt,last:qF,lastIndexOf:FF,map:jo,mapObject:sF,matcher:gl,matches:gl,max:Vx,memoize:DF,methods:Fd,min:NF,mixin:Kx,negate:Wm,noop:Nx,now:mu,object:QF,omit:VF,once:kF,pairs:eF,partial:Fl,partition:jF,pick:Gx,pluck:zm,property:Nm,propertyOf:lF,random:Yg,range:eR,reduce:iu,reduceRight:Zg,reject:IF,rest:cl,restArguments:Kn,result:mF,sample:Xx,select:rs,shuffle:PF,size:HF,some:Qg,sortBy:WF,sortedIndex:jx,tail:cl,take:ou,tap:iF,template:gF,templateSettings:pF,throttle:SF,times:cF,toArray:qx,toPath:Ix,transpose:Id,unescape:hF,union:YF,uniq:Od,unique:Od,uniqueId:yF,unzip:Id,values:Ul,where:MF,without:JF,wrap:CF,zip:KF},Symbol.toStringTag,{value:"Module"}));var G0=Kx(tV);G0._=G0;const nV=Object.freeze(Object.defineProperty({__proto__:null,VERSION:gx,after:_F,all:Kg,allKeys:Ru,any:Qg,assign:gu,before:Lx,bind:Px,bindAll:xF,chain:bF,chunk:tR,clone:rF,collect:jo,compact:XF,compose:EF,constant:Tx,contains:Qr,countBy:$F,create:nF,debounce:TF,default:G0,defaults:Ox,defer:wF,delay:Wx,detect:Rd,difference:Yx,drop:cl,each:yi,escape:dF,every:Kg,extend:Rx,extendOwn:gu,filter:rs,find:Rd,findIndex:Lm,findKey:zx,findLastIndex:$x,findWhere:RF,first:ou,flatten:GF,foldl:iu,foldr:Zg,forEach:yi,functions:Fd,get:Mx,groupBy:LF,has:oF,head:ou,identity:Mm,include:Qr,includes:Qr,indexBy:zF,indexOf:Hx,initial:Jx,inject:iu,intersection:ZF,invert:Ux,invoke:BF,isArguments:Bm,isArray:ds,isArrayBuffer:Dx,isBoolean:bx,isDataView:Ud,isDate:IU,isElement:OU,isEmpty:HU,isEqual:qU,isError:MU,isFinite:LU,isFunction:On,isMap:YU,isMatch:Ex,isNaN:Sx,isNull:RU,isNumber:vx,isObject:fs,isRegExp:BU,isSet:KU,isString:Im,isSymbol:xx,isTypedArray:Cx,isUndefined:yx,isWeakMap:ZU,isWeakSet:QU,iteratee:Pm,keys:Xt,last:qF,lastIndexOf:FF,map:jo,mapObject:sF,matcher:gl,matches:gl,max:Vx,memoize:DF,methods:Fd,min:NF,mixin:Kx,negate:Wm,noop:Nx,now:mu,object:QF,omit:VF,once:kF,pairs:eF,partial:Fl,partition:jF,pick:Gx,pluck:zm,property:Nm,propertyOf:lF,random:Yg,range:eR,reduce:iu,reduceRight:Zg,reject:IF,rest:cl,restArguments:Kn,result:mF,sample:Xx,select:rs,shuffle:PF,size:HF,some:Qg,sortBy:WF,sortedIndex:jx,tail:cl,take:ou,tap:iF,template:gF,templateSettings:pF,throttle:SF,times:cF,toArray:qx,toPath:Ix,transpose:Id,unescape:hF,union:YF,uniq:Od,unique:Od,uniqueId:yF,unzip:Id,values:Ul,where:MF,without:JF,wrap:CF,zip:KF},Symbol.toStringTag,{value:"Module"})),jt=b3(nV);var Qx={},sn={},nR={exports:{}},fp={exports:{}},DC;function Ou(){if(DC)return fp.exports;DC=1;var t=function(){return this===void 0}();if(t)fp.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(f,d){var p=Object.getOwnPropertyDescriptor(f,d);return!!(!p||p.writable||p.set)}};else{var e={}.hasOwnProperty,n={}.toString,r={}.constructor.prototype,i=function(f){var d=[];for(var p in f)e.call(f,p)&&d.push(p);return d},o=function(f,d){return{value:f[d]}},a=function(f,d,p){return f[d]=p.value,f},s=function(f){return f},l=function(f){try{return Object(f).constructor.prototype}catch{return r}},c=function(f){try{return n.call(f)==="[object Array]"}catch{return!1}};fp.exports={isArray:c,keys:i,names:i,defineProperty:a,getDescriptor:o,freeze:s,getPrototypeOf:l,isES5:t,propertyIsWritable:function(){return!0}}}return fp.exports}var Sv,wC;function Tt(){if(wC)return Sv;wC=1;var t=Ou(),e=typeof navigator>"u",n={e:{}},r,i=typeof self<"u"?self:typeof window<"u"?window:typeof rt<"u"||rt!==void 0?rt:null;function o(){try{var P=r;return r=null,P.apply(this,arguments)}catch(de){return n.e=de,n}}function a(P){return r=P,o}var s=function(P,de){var De={}.hasOwnProperty;function me(){this.constructor=P,this.constructor$=de;for(var _e in de.prototype)De.call(de.prototype,_e)&&_e.charAt(_e.length-1)!=="$"&&(this[_e+"$"]=de.prototype[_e])}return me.prototype=de.prototype,P.prototype=new me,P.prototype};function l(P){return P==null||P===!0||P===!1||typeof P=="string"||typeof P=="number"}function c(P){return typeof P=="function"||typeof P=="object"&&P!==null}function f(P){return l(P)?new Error(M(P)):P}function d(P,de){var De=P.length,me=new Array(De+1),_e;for(_e=0;_e<De;++_e)me[_e]=P[_e];return me[_e]=de,me}function p(P,de,De){if(t.isES5){var me=Object.getOwnPropertyDescriptor(P,de);if(me!=null)return me.get==null&&me.set==null?me.value:De}else return{}.hasOwnProperty.call(P,de)?P[de]:void 0}function g(P,de,De){if(l(P))return P;var me={value:De,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(P,de,me),P}function b(P){throw P}var x=function(){var P=[Array.prototype,Object.prototype,Function.prototype],de=function(_e){for(var $e=0;$e<P.length;++$e)if(P[$e]===_e)return!0;return!1};if(t.isES5){var De=Object.getOwnPropertyNames;return function(_e){for(var $e=[],Le=Object.create(null);_e!=null&&!de(_e);){var ze;try{ze=De(_e)}catch{return $e}for(var tt=0;tt<ze.length;++tt){var oe=ze[tt];if(!Le[oe]){Le[oe]=!0;var Ee=Object.getOwnPropertyDescriptor(_e,oe);Ee!=null&&Ee.get==null&&Ee.set==null&&$e.push(oe)}}_e=t.getPrototypeOf(_e)}return $e}}else{var me={}.hasOwnProperty;return function(_e){if(de(_e))return[];var $e=[];e:for(var Le in _e)if(me.call(_e,Le))$e.push(Le);else{for(var ze=0;ze<P.length;++ze)if(me.call(P[ze],Le))continue e;$e.push(Le)}return $e}}}(),v=/this\s*\.\s*\S+\s*=/;function D(P){try{if(typeof P=="function"){var de=t.names(P.prototype),De=t.isES5&&de.length>1,me=de.length>0&&!(de.length===1&&de[0]==="constructor"),_e=v.test(P+"")&&t.names(P).length>0;if(De||me||_e)return!0}return!1}catch{return!1}}function S(P){return P}var E=/^[a-z$_][a-z$_0-9]*$/i;function O(P){return E.test(P)}function U(P,de,De){for(var me=new Array(P),_e=0;_e<P;++_e)me[_e]=de+_e+De;return me}function M(P){try{return P+""}catch{return"[no string representation]"}}function N(P){return P!==null&&typeof P=="object"&&typeof P.message=="string"&&typeof P.name=="string"}function q(P){try{g(P,"isOperational",!0)}catch{}}function j(P){return P==null?!1:P instanceof Error.__BluebirdErrorTypes__.OperationalError||P.isOperational===!0}function ae(P){return N(P)&&t.propertyIsWritable(P,"stack")}var ce=function(){return"stack"in new Error?function(P){return ae(P)?P:new Error(M(P))}:function(P){if(ae(P))return P;try{throw new Error(M(P))}catch(de){return de}}}();function F(P){return{}.toString.call(P)}function Z(P,de,De){for(var me=t.names(P),_e=0;_e<me.length;++_e){var $e=me[_e];if(De($e))try{t.defineProperty(de,$e,t.getDescriptor(P,$e))}catch{}}}var k=function(P){return t.isArray(P)?P:null};if(typeof Symbol<"u"&&Symbol.iterator){var re=typeof Array.from=="function"?function(P){return Array.from(P)}:function(P){for(var de=[],De=P[Symbol.iterator](),me;!(me=De.next()).done;)de.push(me.value);return de};k=function(P){return t.isArray(P)?P:P!=null&&typeof P[Symbol.iterator]=="function"?re(P):null}}var $=typeof process<"u"&&F(process).toLowerCase()==="[object process]",G=typeof process<"u"&&typeof process.env<"u";function J(P){return G?process.env[P]:void 0}function X(){if(typeof Promise=="function")try{var P=new Promise(function(){});if({}.toString.call(P)==="[object Promise]")return Promise}catch{}}function ie(P,de){return P.bind(de)}var H={isClass:D,isIdentifier:O,inheritedDataKeys:x,getDataPropertyOrDefault:p,thrower:b,isArray:t.isArray,asArray:k,notEnumerableProp:g,isPrimitive:l,isObject:c,isError:N,canEvaluate:e,errorObj:n,tryCatch:a,inherits:s,withAppended:d,maybeWrapAsError:f,toFastProperties:S,filledRange:U,toString:M,canAttachTrace:ae,ensureErrorObject:ce,originatesFromRejection:j,markAsOriginatingFromRejection:q,classString:F,copyDescriptors:Z,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:$,hasEnvVariables:G,env:J,global:i,getNativePromise:X,domainBind:ie};H.isRecentNode=H.isNode&&function(){var P=process.versions.node.split(".").map(Number);return P[0]===0&&P[1]>10||P[0]>0}(),H.isNode&&H.toFastProperties(process);try{throw new Error}catch(P){H.lastLineError=P}return Sv=H,Sv}var dp={exports:{}},Tv,SC;function rV(){if(SC)return Tv;SC=1;var t=Tt(),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=rt.setImmediate,o=process.nextTick;e=t.isRecentNode?function(s){i.call(rt,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"),l={attributes:!0},c=!1,f=document.createElement("div"),d=new MutationObserver(function(){s.classList.toggle("foo"),c=!1});d.observe(f,l);var p=function(){c||(c=!0,f.classList.toggle("foo"))};return function(b){var x=new MutationObserver(function(){x.disconnect(),b()});x.observe(s,l),p()}}():typeof setImmediate<"u"?e=function(s){setImmediate(s)}:typeof setTimeout<"u"?e=function(s){setTimeout(s,0)}:e=n;return Tv=e,Tv}var Cv,TC;function iV(){if(TC)return Cv;TC=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)},Cv=e,Cv}var CC;function oV(){if(CC)return dp.exports;CC=1;var t;try{throw new Error}catch(l){t=l}var e=rV(),n=iV(),r=Tt();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 l=this;this.drainQueues=function(){l._drainQueues()},this._schedule=e}i.prototype.setScheduler=function(l){var c=this._schedule;return this._schedule=l,this._customScheduler=!0,c},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(l,c){c?(process.stderr.write("Fatal "+(l instanceof Error?l.stack:l)+`
|
|
33
|
+
`),process.exit(2)):this.throwLater(l)},i.prototype.throwLater=function(l,c){if(arguments.length===1&&(c=l,l=function(){throw c}),typeof setTimeout<"u")setTimeout(function(){l(c)},0);else try{this._schedule(function(){l(c)})}catch{throw new Error(`No async scheduler available
|
|
34
|
+
|
|
35
|
+
See http://goo.gl/MqrFmX
|
|
36
|
+
`)}};function o(l,c,f){this._lateQueue.push(l,c,f),this._queueTick()}function a(l,c,f){this._normalQueue.push(l,c,f),this._queueTick()}function s(l){this._normalQueue._pushOne(l),this._queueTick()}return r.hasDevTools?(i.prototype.invokeLater=function(l,c,f){this._trampolineEnabled?o.call(this,l,c,f):this._schedule(function(){setTimeout(function(){l.call(c,f)},100)})},i.prototype.invoke=function(l,c,f){this._trampolineEnabled?a.call(this,l,c,f):this._schedule(function(){l.call(c,f)})},i.prototype.settlePromises=function(l){this._trampolineEnabled?s.call(this,l):this._schedule(function(){l._settlePromises()})}):(i.prototype.invokeLater=o,i.prototype.invoke=a,i.prototype.settlePromises=s),i.prototype._drainQueue=function(l){for(;l.length()>0;){var c=l.shift();if(typeof c!="function"){c._settlePromises();continue}var f=l.shift(),d=l.shift();c.call(f,d)}},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},dp.exports=i,dp.exports.firstLineError=t,dp.exports}var Ev,EC;function is(){if(EC)return Ev;EC=1;var t=Ou(),e=t.freeze,n=Tt(),r=n.inherits,i=n.notEnumerableProp;function o(D,S){function E(O){if(!(this instanceof E))return new E(O);i(this,"message",typeof O=="string"?O:S),i(this,"name",D),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return r(E,Error),E}var a,s,l=o("Warning","warning"),c=o("CancellationError","cancellation error"),f=o("TimeoutError","timeout error"),d=o("AggregateError","aggregate error");try{a=TypeError,s=RangeError}catch{a=o("TypeError","type error"),s=o("RangeError","range error")}for(var p="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),g=0;g<p.length;++g)typeof Array.prototype[p[g]]=="function"&&(d.prototype[p[g]]=Array.prototype[p[g]]);t.defineProperty(d.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),d.prototype.isOperational=!0;var b=0;d.prototype.toString=function(){var D=Array(b*4+1).join(" "),S=`
|
|
37
|
+
`+D+`AggregateError of:
|
|
38
|
+
`;b++,D=Array(b*4+1).join(" ");for(var E=0;E<this.length;++E){for(var O=this[E]===this?"[Circular AggregateError]":this[E]+"",U=O.split(`
|
|
39
|
+
`),M=0;M<U.length;++M)U[M]=D+U[M];O=U.join(`
|
|
40
|
+
`),S+=O+`
|
|
41
|
+
`}return b--,S};function x(D){if(!(this instanceof x))return new x(D);i(this,"name","OperationalError"),i(this,"message",D),this.cause=D,this.isOperational=!0,D instanceof Error?(i(this,"message",D.message),i(this,"stack",D.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}r(x,Error);var v=Error.__BluebirdErrorTypes__;return v||(v=e({CancellationError:c,TimeoutError:f,OperationalError:x,RejectionError:x,AggregateError:d}),t.defineProperty(Error,"__BluebirdErrorTypes__",{value:v,writable:!1,enumerable:!1,configurable:!1})),Ev={Error,TypeError:a,RangeError:s,CancellationError:v.CancellationError,OperationalError:v.OperationalError,TimeoutError:v.TimeoutError,AggregateError:v.AggregateError,Warning:l},Ev}var _v,_C;function aV(){return _C||(_C=1,_v=function(t,e){var n=Tt(),r=n.errorObj,i=n.isObject;function o(d,p){if(i(d)){if(d instanceof t)return d;var g=s(d);if(g===r){p&&p._pushContext();var b=t.reject(g.e);return p&&p._popContext(),b}else if(typeof g=="function"){if(c(d)){var b=new t(e);return d._then(b._fulfill,b._reject,void 0,b,null),b}return f(d,g,p)}}return d}function a(d){return d.then}function s(d){try{return a(d)}catch(p){return r.e=p,r}}var l={}.hasOwnProperty;function c(d){try{return l.call(d,"_promise0")}catch{return!1}}function f(d,p,g){var b=new t(e),x=b;g&&g._pushContext(),b._captureStackTrace(),g&&g._popContext();var v=!0,D=n.tryCatch(p).call(d,S,E);v=!1,b&&D===r&&(b._rejectCallback(D.e,!0,!0),b=null);function S(O){b&&(b._resolveCallback(O),b=null)}function E(O){b&&(b._rejectCallback(O,v,!0),b=null)}return x}return o}),_v}var kv,kC;function sV(){return kC||(kC=1,kv=function(t,e,n,r,i){var o=Tt();o.isArray;function a(l){switch(l){case-2:return[];case-3:return{}}}function s(l){var c=this._promise=new t(e);l instanceof t&&c._propagateFrom(l,3),c._setOnCancel(this),this._values=l,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 l(c,f){var d=n(this._values,this._promise);if(d instanceof t){d=d._target();var p=d._bitField;if(this._values=d,p&50397184)if(p&33554432)d=d._value();else return p&16777216?this._reject(d._reason()):this._cancel();else return this._promise._setAsyncGuaranteed(),d._then(l,this._reject,void 0,this,f)}if(d=o.asArray(d),d===null){var g=r("expecting an array or an iterable object but got "+o.classString(d)).reason();this._promise._rejectCallback(g,!1);return}if(d.length===0){f===-5?this._resolveEmptyArray():this._resolve(a(f));return}this._iterate(d)},s.prototype._iterate=function(l){var c=this.getActualLength(l.length);this._length=c,this._values=this.shouldCopyValues()?new Array(c):this._values;for(var f=this._promise,d=!1,p=null,g=0;g<c;++g){var b=n(l[g],f);b instanceof t?(b=b._target(),p=b._bitField):p=null,d?p!==null&&b.suppressUnhandledRejections():p!==null?p&50397184?p&33554432?d=this._promiseFulfilled(b._value(),g):p&16777216?d=this._promiseRejected(b._reason(),g):d=this._promiseCancelled(g):(b._proxy(this,g),this._values[g]=b):d=this._promiseFulfilled(b,g)}d||f._setAsyncGuaranteed()},s.prototype._isResolved=function(){return this._values===null},s.prototype._resolve=function(l){this._values=null,this._promise._fulfill(l)},s.prototype._cancel=function(){this._isResolved()||!this._promise._isCancellable()||(this._values=null,this._promise._cancel())},s.prototype._reject=function(l){this._values=null,this._promise._rejectCallback(l,!1)},s.prototype._promiseFulfilled=function(l,c){this._values[c]=l;var f=++this._totalResolved;return f>=this._length?(this._resolve(this._values),!0):!1},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(l){return this._totalResolved++,this._reject(l),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var l=this._values;if(this._cancel(),l instanceof t)l.cancel();else for(var c=0;c<l.length;++c)l[c]instanceof t&&l[c].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(l){return l},s}),kv}var Av,AC;function lV(){return AC||(AC=1,Av=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,l=t._peekContext,c=t.prototype._peekContext,f=t.prototype._promiseCreated;r.deactivateLongStackTraces=function(){t.prototype._pushContext=a,t.prototype._popContext=s,t._peekContext=l,t.prototype._peekContext=c,t.prototype._promiseCreated=f,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 d=this._peekContext();d&&d._promiseCreated==null&&(d._promiseCreated=this)}},r}),Av}var Uv,UC;function cV(){return UC||(UC=1,Uv=function(t,e){var n=t._getDomain,r=t._async,i=is().Warning,o=Tt(),a=o.canAttachTrace,s,l,c=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,f=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,p=null,g=null,b=!1,x,v=!!(o.env("BLUEBIRD_DEBUG")!=0&&(o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development")),D=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(v||o.env("BLUEBIRD_WARNINGS"))),S=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(v||o.env("BLUEBIRD_LONG_STACK_TRACES"))),E=o.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(D||!!o.env("BLUEBIRD_W_FORGOTTEN_RETURN"));t.prototype.suppressUnhandledRejections=function(){var ee=this._target();ee._bitField=ee._bitField&-1048577|524288},t.prototype._ensurePossibleRejectionHandled=function(){this._bitField&524288||(this._setRejectionIsUnhandled(),r.invokeLater(this._notifyUnhandledRejection,this,void 0))},t.prototype._notifyUnhandledRejectionIsHandled=function(){Ee("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 ee=this._settledValue();this._setUnhandledRejectionIsNotified(),Ee("unhandledRejection",l,ee,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(ee,ne,ue){return De(ee,ne,ue||this)},t.onPossiblyUnhandledRejection=function(ee){var ne=n();l=typeof ee=="function"?ne===null?ee:o.domainBind(ne,ee):void 0},t.onUnhandledRejectionHandled=function(ee){var ne=n();s=typeof ee=="function"?ne===null?ee:o.domainBind(ne,ee):void 0};var O=function(){};t.longStackTraces=function(){if(r.haveItemsQueued()&&!le.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
|
|
42
|
+
|
|
43
|
+
See http://goo.gl/MqrFmX
|
|
44
|
+
`);if(!le.longStackTraces&&ye()){var ee=t.prototype._captureStackTrace,ne=t.prototype._attachExtraTrace;le.longStackTraces=!0,O=function(){if(r.haveItemsQueued()&&!le.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=ee,t.prototype._attachExtraTrace=ne,e.deactivateLongStackTraces(),r.enableTrampoline(),le.longStackTraces=!1},t.prototype._captureStackTrace=ie,t.prototype._attachExtraTrace=H,e.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return le.longStackTraces&&ye()};var U=function(){try{if(typeof CustomEvent=="function"){var ee=new CustomEvent("CustomEvent");return o.global.dispatchEvent(ee),function(ne,ue){var xe=new CustomEvent(ne.toLowerCase(),{detail:ue,cancelable:!0});return!o.global.dispatchEvent(xe)}}else if(typeof Event=="function"){var ee=new Event("CustomEvent");return o.global.dispatchEvent(ee),function(ue,xe){var Me=new Event(ue.toLowerCase(),{cancelable:!0});return Me.detail=xe,!o.global.dispatchEvent(Me)}}else{var ee=document.createEvent("CustomEvent");return ee.initCustomEvent("testingtheevent",!1,!0,{}),o.global.dispatchEvent(ee),function(ue,xe){var Me=document.createEvent("CustomEvent");return Me.initCustomEvent(ue.toLowerCase(),!1,!0,xe),!o.global.dispatchEvent(Me)}}}catch{}return function(){return!1}}(),M=function(){return o.isNode?function(){return process.emit.apply(process,arguments)}:o.global?function(ee){var ne="on"+ee.toLowerCase(),ue=o.global[ne];return ue?(ue.apply(o.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function N(ee,ne){return{promise:ne}}var q={promiseCreated:N,promiseFulfilled:N,promiseRejected:N,promiseResolved:N,promiseCancelled:N,promiseChained:function(ee,ne,ue){return{promise:ne,child:ue}},warning:function(ee,ne){return{warning:ne}},unhandledRejection:function(ee,ne,ue){return{reason:ne,promise:ue}},rejectionHandled:N},j=function(ee){var ne=!1;try{ne=M.apply(null,arguments)}catch(xe){r.throwLater(xe),ne=!0}var ue=!1;try{ue=U(ee,q[ee].apply(null,arguments))}catch(xe){r.throwLater(xe),ue=!0}return ue||ne};t.config=function(ee){if(ee=Object(ee),"longStackTraces"in ee&&(ee.longStackTraces?t.longStackTraces():!ee.longStackTraces&&t.hasLongStackTraces()&&O()),"warnings"in ee){var ne=ee.warnings;le.warnings=!!ne,E=le.warnings,o.isObject(ne)&&"wForgottenReturn"in ne&&(E=!!ne.wForgottenReturn)}if("cancellation"in ee&&ee.cancellation&&!le.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=re,t.prototype._propagateFrom=$,t.prototype._onCancel=Z,t.prototype._setOnCancel=k,t.prototype._attachCancellationCallback=F,t.prototype._execute=ce,J=$,le.cancellation=!0}return"monitoring"in ee&&(ee.monitoring&&!le.monitoring?(le.monitoring=!0,t.prototype._fireEvent=j):!ee.monitoring&&le.monitoring&&(le.monitoring=!1,t.prototype._fireEvent=ae)),t};function ae(){return!1}t.prototype._fireEvent=ae,t.prototype._execute=function(ee,ne,ue){try{ee(ne,ue)}catch(xe){return xe}},t.prototype._onCancel=function(){},t.prototype._setOnCancel=function(ee){},t.prototype._attachCancellationCallback=function(ee){},t.prototype._captureStackTrace=function(){},t.prototype._attachExtraTrace=function(){},t.prototype._clearCancellationData=function(){},t.prototype._propagateFrom=function(ee,ne){};function ce(ee,ne,ue){var xe=this;try{ee(ne,ue,function(Me){if(typeof Me!="function")throw new TypeError("onCancel must be a function, got: "+o.toString(Me));xe._attachCancellationCallback(Me)})}catch(Me){return Me}}function F(ee){if(!this._isCancellable())return this;var ne=this._onCancel();ne!==void 0?o.isArray(ne)?ne.push(ee):this._setOnCancel([ne,ee]):this._setOnCancel(ee)}function Z(){return this._onCancelField}function k(ee){this._onCancelField=ee}function re(){this._cancellationParent=void 0,this._onCancelField=void 0}function $(ee,ne){if(ne&1){this._cancellationParent=ee;var ue=ee._branchesRemainingToCancel;ue===void 0&&(ue=0),ee._branchesRemainingToCancel=ue+1}ne&2&&ee._isBound()&&this._setBoundTo(ee._boundTo)}function G(ee,ne){ne&2&&ee._isBound()&&this._setBoundTo(ee._boundTo)}var J=G;function X(){var ee=this._boundTo;return ee!==void 0&&ee instanceof t?ee.isFulfilled()?ee.value():void 0:ee}function ie(){this._trace=new Se(this._peekContext())}function H(ee,ne){if(a(ee)){var ue=this._trace;if(ue!==void 0&&ne&&(ue=ue._parent),ue!==void 0)ue.attachExtraTrace(ee);else if(!ee.__stackCleaned__){var xe=tt(ee);o.notEnumerableProp(ee,"stack",xe.message+`
|
|
48
|
+
`+xe.stack.join(`
|
|
49
|
+
`)),o.notEnumerableProp(ee,"__stackCleaned__",!0)}}}function P(ee,ne,ue,xe,Me){if(ee===void 0&&ne!==null&&E){if(Me!==void 0&&Me._returnedNonUndefined()||!(xe._bitField&65535))return;ue&&(ue=ue+" ");var Ne="",Ye="";if(ne._trace){for(var He=ne._trace.stack.split(`
|
|
50
|
+
`),Ke=Le(He),lt=Ke.length-1;lt>=0;--lt){var nt=Ke[lt];if(!f.test(nt)){var Mt=nt.match(d);Mt&&(Ne="at "+Mt[1]+":"+Mt[2]+":"+Mt[3]+" ");break}}if(Ke.length>0){for(var Pn=Ke[0],lt=0;lt<He.length;++lt)if(He[lt]===Pn){lt>0&&(Ye=`
|
|
51
|
+
`+He[lt-1]);break}}}var Ft="a promise was created in a "+ue+"handler "+Ne+"but was not returned from it, see http://goo.gl/rRqMUw"+Ye;xe._warn(Ft,!0,ne)}}function de(ee,ne){var ue=ee+" is deprecated and will be removed in a future version.";return ne&&(ue+=" Use "+ne+" instead."),De(ue)}function De(ee,ne,ue){if(le.warnings){var xe=new i(ee),Me;if(ne)ue._attachExtraTrace(xe);else if(le.longStackTraces&&(Me=t._peekContext()))Me.attachExtraTrace(xe);else{var Ne=tt(xe);xe.stack=Ne.message+`
|
|
52
|
+
`+Ne.stack.join(`
|
|
53
|
+
`)}j("warning",xe)||oe(xe,"",!0)}}function me(ee,ne){for(var ue=0;ue<ne.length-1;++ue)ne[ue].push("From previous event:"),ne[ue]=ne[ue].join(`
|
|
54
|
+
`);return ue<ne.length&&(ne[ue]=ne[ue].join(`
|
|
55
|
+
`)),ee+`
|
|
56
|
+
`+ne.join(`
|
|
57
|
+
`)}function _e(ee){for(var ne=0;ne<ee.length;++ne)(ee[ne].length===0||ne+1<ee.length&&ee[ne][0]===ee[ne+1][0])&&(ee.splice(ne,1),ne--)}function $e(ee){for(var ne=ee[0],ue=1;ue<ee.length;++ue){for(var xe=ee[ue],Me=ne.length-1,Ne=ne[Me],Ye=-1,He=xe.length-1;He>=0;--He)if(xe[He]===Ne){Ye=He;break}for(var He=Ye;He>=0;--He){var Ke=xe[He];if(ne[Me]===Ke)ne.pop(),Me--;else break}ne=xe}}function Le(ee){for(var ne=[],ue=0;ue<ee.length;++ue){var xe=ee[ue],Me=xe===" (No stack trace)"||p.test(xe),Ne=Me&&fe(xe);Me&&!Ne&&(b&&xe.charAt(0)!==" "&&(xe=" "+xe),ne.push(xe))}return ne}function ze(ee){for(var ne=ee.stack.replace(/\s+$/g,"").split(`
|
|
58
|
+
`),ue=0;ue<ne.length;++ue){var xe=ne[ue];if(xe===" (No stack trace)"||p.test(xe))break}return ue>0&&ee.name!="SyntaxError"&&(ne=ne.slice(ue)),ne}function tt(ee){var ne=ee.stack,ue=ee.toString();return ne=typeof ne=="string"&&ne.length>0?ze(ee):[" (No stack trace)"],{message:ue,stack:ee.name=="SyntaxError"?ne:Le(ne)}}function oe(ee,ne,ue){if(typeof console<"u"){var xe;if(o.isObject(ee)){var Me=ee.stack;xe=ne+g(Me,ee)}else xe=ne+String(ee);typeof x=="function"?x(xe,ue):(typeof console.log=="function"||typeof console.log=="object")&&console.log(xe)}}function Ee(ee,ne,ue,xe){var Me=!1;try{typeof ne=="function"&&(Me=!0,ee==="rejectionHandled"?ne(xe):ne(ue,xe))}catch(Ne){r.throwLater(Ne)}ee==="unhandledRejection"?!j(ee,ue,xe)&&!Me&&oe(ue,"Unhandled rejection "):j(ee,xe)}function Re(ee){var ne;if(typeof ee=="function")ne="[function "+(ee.name||"anonymous")+"]";else{ne=ee&&typeof ee.toString=="function"?ee.toString():o.toString(ee);var ue=/\[object [a-zA-Z0-9$_]+\]/;if(ue.test(ne))try{var xe=JSON.stringify(ee);ne=xe}catch{}ne.length===0&&(ne="(empty array)")}return"(<"+A(ne)+">, no stack trace)"}function A(ee){var ne=41;return ee.length<ne?ee:ee.substr(0,ne-3)+"..."}function ye(){return typeof ke=="function"}var fe=function(){return!1},Q=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function V(ee){var ne=ee.match(Q);if(ne)return{fileName:ne[1],line:parseInt(ne[2],10)}}function se(ee,ne){if(ye()){for(var ue=ee.stack.split(`
|
|
59
|
+
`),xe=ne.stack.split(`
|
|
60
|
+
`),Me=-1,Ne=-1,Ye,He,Ke=0;Ke<ue.length;++Ke){var lt=V(ue[Ke]);if(lt){Ye=lt.fileName,Me=lt.line;break}}for(var Ke=0;Ke<xe.length;++Ke){var lt=V(xe[Ke]);if(lt){He=lt.fileName,Ne=lt.line;break}}Me<0||Ne<0||!Ye||!He||Ye!==He||Me>=Ne||(fe=function(nt){if(c.test(nt))return!0;var Mt=V(nt);return!!(Mt&&Mt.fileName===Ye&&Me<=Mt.line&&Mt.line<=Ne)})}}function Se(ee){this._parent=ee,this._promisesCreated=0;var ne=this._length=1+(ee===void 0?0:ee._length);ke(this,Se),ne>32&&this.uncycle()}o.inherits(Se,Error),e.CapturedTrace=Se,Se.prototype.uncycle=function(){var ee=this._length;if(!(ee<2)){for(var ne=[],ue={},xe=0,Me=this;Me!==void 0;++xe)ne.push(Me),Me=Me._parent;ee=this._length=xe;for(var xe=ee-1;xe>=0;--xe){var Ne=ne[xe].stack;ue[Ne]===void 0&&(ue[Ne]=xe)}for(var xe=0;xe<ee;++xe){var Ye=ne[xe].stack,He=ue[Ye];if(He!==void 0&&He!==xe){He>0&&(ne[He-1]._parent=void 0,ne[He-1]._length=1),ne[xe]._parent=void 0,ne[xe]._length=1;var Ke=xe>0?ne[xe-1]:this;He<ee-1?(Ke._parent=ne[He+1],Ke._parent.uncycle(),Ke._length=Ke._parent._length+1):(Ke._parent=void 0,Ke._length=1);for(var lt=Ke._length+1,nt=xe-2;nt>=0;--nt)ne[nt]._length=lt,lt++;return}}}},Se.prototype.attachExtraTrace=function(ee){if(!ee.__stackCleaned__){this.uncycle();for(var ne=tt(ee),ue=ne.message,xe=[ne.stack],Me=this;Me!==void 0;)xe.push(Le(Me.stack.split(`
|
|
61
|
+
`))),Me=Me._parent;$e(xe),_e(xe),o.notEnumerableProp(ee,"stack",me(ue,xe)),o.notEnumerableProp(ee,"__stackCleaned__",!0)}};var ke=function(){var ne=/^\s*at\s*/,ue=function(Ye,He){return typeof Ye=="string"?Ye:He.name!==void 0&&He.message!==void 0?He.toString():Re(He)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,p=ne,g=ue;var xe=Error.captureStackTrace;return fe=function(Ye){return c.test(Ye)},function(Ye,He){Error.stackTraceLimit+=6,xe(Ye,He),Error.stackTraceLimit-=6}}var Me=new Error;if(typeof Me.stack=="string"&&Me.stack.split(`
|
|
62
|
+
`)[0].indexOf("stackDetection@")>=0)return p=/@/,g=ue,b=!0,function(He){He.stack=new Error().stack};var Ne;try{throw new Error}catch(Ye){Ne="stack"in Ye}return!("stack"in Me)&&Ne&&typeof Error.stackTraceLimit=="number"?(p=ne,g=ue,function(He){Error.stackTraceLimit+=6;try{throw new Error}catch(Ke){He.stack=Ke.stack}Error.stackTraceLimit-=6}):(g=function(Ye,He){return typeof Ye=="string"?Ye:(typeof He=="object"||typeof He=="function")&&He.name!==void 0&&He.message!==void 0?He.toString():Re(He)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(x=function(ee){console.warn(ee)},o.isNode&&process.stderr.isTTY?x=function(ee,ne){var ue=ne?"\x1B[33m":"\x1B[31m";console.warn(ue+ee+`\x1B[0m
|
|
63
|
+
`)}:!o.isNode&&typeof new Error().stack=="string"&&(x=function(ee,ne){console.warn("%c"+ee,ne?"color: darkorange":"color: red")}));var le={warnings:D,longStackTraces:!1,cancellation:!1,monitoring:!1};return S&&t.longStackTraces(),{longStackTraces:function(){return le.longStackTraces},warnings:function(){return le.warnings},cancellation:function(){return le.cancellation},monitoring:function(){return le.monitoring},propagateFromFunction:function(){return J},boundValueFunction:function(){return X},checkForgottenReturns:P,setBounds:se,warn:De,deprecated:de,CapturedTrace:Se,fireDomEvent:U,fireGlobalEvent:M}}),Uv}var Fv,FC;function uV(){return FC||(FC=1,Fv=function(t,e){var n=Tt(),r=t.CancellationError,i=n.errorObj;function o(d,p,g){this.promise=d,this.type=p,this.handler=g,this.called=!1,this.cancelPromise=null}o.prototype.isFinallyHandler=function(){return this.type===0};function a(d){this.finallyHandler=d}a.prototype._resultCancelled=function(){s(this.finallyHandler)};function s(d,p){return d.cancelPromise!=null?(arguments.length>1?d.cancelPromise._reject(p):d.cancelPromise._cancel(),d.cancelPromise=null,!0):!1}function l(){return f.call(this,this.promise._target()._settledValue())}function c(d){if(!s(this,d))return i.e=d,i}function f(d){var p=this.promise,g=this.handler;if(!this.called){this.called=!0;var b=this.isFinallyHandler()?g.call(p._boundValue()):g.call(p._boundValue(),d);if(b!==void 0){p._setReturnedNonUndefined();var x=e(b,p);if(x instanceof t){if(this.cancelPromise!=null)if(x._isCancelled()){var v=new r("late cancellation observer");return p._attachExtraTrace(v),i.e=v,i}else x.isPending()&&x._attachCancellationCallback(new a(this));return x._then(l,c,void 0,this,void 0)}}}return p.isRejected()?(s(this),i.e=d,i):(s(this),d)}return t.prototype._passThrough=function(d,p,g,b){return typeof d!="function"?this.then():this._then(g,b,void 0,new o(this,p,d),void 0)},t.prototype.lastly=t.prototype.finally=function(d){return this._passThrough(d,0,f,f)},t.prototype.tap=function(d){return this._passThrough(d,1,f)},o}),Fv}var Rv,RC;function fV(){return RC||(RC=1,Rv=function(t){var e=Tt(),n=Ou().keys,r=e.tryCatch,i=e.errorObj;function o(a,s,l){return function(c){var f=l._boundValue();e:for(var d=0;d<a.length;++d){var p=a[d];if(p===Error||p!=null&&p.prototype instanceof Error){if(c instanceof p)return r(s).call(f,c)}else if(typeof p=="function"){var g=r(p).call(f,c);if(g===i)return g;if(g)return r(s).call(f,c)}else if(e.isObject(c)){for(var b=n(p),x=0;x<b.length;++x){var v=b[x];if(p[v]!=c[v])continue e}return r(s).call(f,c)}}return t}}return o}),Rv}var Ov,OC;function rR(){if(OC)return Ov;OC=1;var t=Tt(),e=t.maybeWrapAsError,n=is(),r=n.OperationalError,i=Ou();function o(c){return c instanceof Error&&i.getPrototypeOf(c)===Error.prototype}var a=/^(?:name|message|stack|cause)$/;function s(c){var f;if(o(c)){f=new r(c),f.name=c.name,f.message=c.message,f.stack=c.stack;for(var d=i.keys(c),p=0;p<d.length;++p){var g=d[p];a.test(g)||(f[g]=c[g])}return f}return t.markAsOriginatingFromRejection(c),c}function l(c,f){return function(d,p){if(c!==null){if(d){var g=s(e(d));c._attachExtraTrace(g),c._reject(g)}else if(!f)c._fulfill(p);else{for(var b=arguments.length,x=new Array(Math.max(b-1,0)),v=1;v<b;++v)x[v-1]=arguments[v];c._fulfill(x)}c=null}}}return Ov=l,Ov}var Iv,IC;function dV(){return IC||(IC=1,Iv=function(t,e,n,r,i){var o=Tt(),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 l=new t(e);l._captureStackTrace(),l._pushContext();var c=a(s).apply(this,arguments),f=l._popContext();return i.checkForgottenReturns(c,f,"Promise.method",l),l._resolveFromSyncValue(c),l}},t.attempt=t.try=function(s){if(typeof s!="function")return r("expecting a function but got "+o.classString(s));var l=new t(e);l._captureStackTrace(),l._pushContext();var c;if(arguments.length>1){i.deprecated("calling Promise.try with more than 1 argument");var f=arguments[1],d=arguments[2];c=o.isArray(f)?a(s).apply(d,f):a(s).call(d,f)}else c=a(s)();var p=l._popContext();return i.checkForgottenReturns(c,p,"Promise.try",l),l._resolveFromSyncValue(c),l},t.prototype._resolveFromSyncValue=function(s){s===o.errorObj?this._rejectCallback(s.e,!1):this._resolveCallback(s,!0)}}),Iv}var Bv,BC;function hV(){return BC||(BC=1,Bv=function(t,e,n,r){var i=!1,o=function(c,f){this._reject(f)},a=function(c,f){f.promiseRejectionQueued=!0,f.bindingPromise._then(o,o,null,this,c)},s=function(c,f){this._bitField&50397184||this._resolveCallback(f.target)},l=function(c,f){f.promiseRejectionQueued||this._reject(c)};t.prototype.bind=function(c){i||(i=!0,t.prototype._propagateFrom=r.propagateFromFunction(),t.prototype._boundValue=r.boundValueFunction());var f=n(c),d=new t(e);d._propagateFrom(this,1);var p=this._target();if(d._setBoundTo(f),f instanceof t){var g={promiseRejectionQueued:!1,promise:d,target:p,bindingPromise:f};p._then(e,a,void 0,d,g),f._then(s,l,void 0,d,g),d._setOnCancel(f)}else d._resolveCallback(p);return d},t.prototype._setBoundTo=function(c){c!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=c):this._bitField=this._bitField&-2097153},t.prototype._isBound=function(){return(this._bitField&2097152)===2097152},t.bind=function(c,f){return t.resolve(f).bind(c)}}),Bv}var Mv,MC;function pV(){return MC||(MC=1,Mv=function(t,e,n,r){var i=Tt(),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 l=this,c=l;l._isCancellable();){if(!l._cancelBy(c)){c._isFollowing()?c._followee().cancel():c._cancelBranched();break}var f=l._cancellationParent;if(f==null||!f._isCancellable()){l._isFollowing()?l._followee().cancel():l._cancelBranched();break}else l._isFollowing()&&l._followee().cancel(),l._setWillBeCancelled(),c=l,l=f}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(l){return l===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(l,c){if(i.isArray(l))for(var f=0;f<l.length;++f)this._doInvokeOnCancel(l[f],c);else if(l!==void 0)if(typeof l=="function"){if(!c){var d=o(l).call(this._boundValue());d===a&&(this._attachExtraTrace(d.e),s.throwLater(d.e))}}else l._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var l=this._onCancel();this._unsetOnCancel(),s.invoke(this._doInvokeOnCancel,this,l)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}),Mv}var Nv,NC;function gV(){return NC||(NC=1,Nv=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)}}),Nv}var Pv,PC;function mV(){return PC||(PC=1,Pv=function(t){function e(l){l!==void 0?(l=l._target(),this._bitField=l._bitField,this._settledValueField=l._isFateSealed()?l._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 l=this._target();return l._unsetRejectionIsUnhandled(),r.call(l)},t.prototype._value=function(){return this._settledValue()},t.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},t.PromiseInspection=e}),Pv}var Wv,WC;function yV(){return WC||(WC=1,Wv=function(t,e,n,r,i,o){var a=Tt(),s=a.canEvaluate,l=a.tryCatch,c=a.errorObj,f;if(s){for(var d=function(S){return new Function("value","holder",`
|
|
70
|
+
'use strict';
|
|
71
|
+
holder.pIndex = value;
|
|
72
|
+
holder.checkFulfillment(this);
|
|
73
|
+
`.replace(/Index/g,S))},p=function(S){return new Function("promise","holder",`
|
|
74
|
+
'use strict';
|
|
75
|
+
holder.pIndex = promise;
|
|
76
|
+
`.replace(/Index/g,S))},g=function(S){for(var E=new Array(S),O=0;O<E.length;++O)E[O]="this.p"+(O+1);var U=E.join(" = ")+" = null;",M=`var promise;
|
|
77
|
+
`+E.map(function(ae){return`
|
|
78
|
+
promise = `+ae+`;
|
|
79
|
+
if (promise instanceof Promise) {
|
|
80
|
+
promise.cancel();
|
|
81
|
+
}
|
|
82
|
+
`}).join(`
|
|
83
|
+
`),N=E.join(", "),q="Holder$"+S,j=`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 j=j.replace(/\[TheName\]/g,q).replace(/\[TheTotal\]/g,S).replace(/\[ThePassedArguments\]/g,N).replace(/\[TheProperties\]/g,U).replace(/\[CancellationCode\]/g,M),new Function("tryCatch","errorObj","Promise","async",j)(l,c,t,i)},b=[],x=[],v=[],D=0;D<8;++D)b.push(g(D+1)),x.push(d(D+1)),v.push(p(D+1));f=function(S){this._reject(S)}}t.join=function(){var S=arguments.length-1,E;if(S>0&&typeof arguments[S]=="function"&&(E=arguments[S],S<=8&&s)){var k=new t(r);k._captureStackTrace();for(var O=b[S-1],U=new O(E),M=x,N=0;N<S;++N){var q=n(arguments[N],k);if(q instanceof t){q=q._target();var j=q._bitField;j&50397184?j&33554432?M[N].call(k,q._value(),U):j&16777216?k._reject(q._reason()):k._cancel():(q._then(M[N],f,void 0,k,U),v[N](q,U),U.asyncNeeded=!1)}else M[N].call(k,q,U)}if(!k._isFateSealed()){if(U.asyncNeeded){var ae=o();ae!==null&&(U.fn=a.domainBind(ae,U.fn))}k._setAsyncGuaranteed(),k._setOnCancel(U)}return k}for(var ce=arguments.length,F=new Array(ce),Z=0;Z<ce;++Z)F[Z]=arguments[Z];E&&F.pop();var k=new e(F).promise();return E!==void 0?k.spread(E):k}}),Wv}var Lv,LC;function bV(){return LC||(LC=1,Lv=function(t,e,n,r,i,o){var a=t._getDomain,s=Tt(),l=s.tryCatch,c=s.errorObj,f=t._async;function d(g,b,x,v){this.constructor$(g),this._promise._captureStackTrace();var D=a();this._callback=D===null?b:s.domainBind(D,b),this._preservedValues=v===i?new Array(this.length()):null,this._limit=x,this._inFlight=0,this._queue=[],f.invoke(this._asyncInit,this,void 0)}s.inherits(d,e),d.prototype._asyncInit=function(){this._init$(void 0,-2)},d.prototype._init=function(){},d.prototype._promiseFulfilled=function(g,b){var x=this._values,v=this.length(),D=this._preservedValues,S=this._limit;if(b<0){if(b=b*-1-1,x[b]=g,S>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(S>=1&&this._inFlight>=S)return x[b]=g,this._queue.push(b),!1;D!==null&&(D[b]=g);var E=this._promise,O=this._callback,U=E._boundValue();E._pushContext();var M=l(O).call(U,g,b,v),N=E._popContext();if(o.checkForgottenReturns(M,N,D!==null?"Promise.filter":"Promise.map",E),M===c)return this._reject(M.e),!0;var q=r(M,this._promise);if(q instanceof t){q=q._target();var j=q._bitField;if(j&50397184)if(j&33554432)M=q._value();else return j&16777216?(this._reject(q._reason()),!0):(this._cancel(),!0);else return S>=1&&this._inFlight++,x[b]=q,q._proxy(this,(b+1)*-1),!1}x[b]=M}var ae=++this._totalResolved;return ae>=v?(D!==null?this._filter(x,D):this._resolve(x),!0):!1},d.prototype._drainQueue=function(){for(var g=this._queue,b=this._limit,x=this._values;g.length>0&&this._inFlight<b;){if(this._isResolved())return;var v=g.pop();this._promiseFulfilled(x[v],v)}},d.prototype._filter=function(g,b){for(var x=b.length,v=new Array(x),D=0,S=0;S<x;++S)g[S]&&(v[D++]=b[S]);v.length=D,this._resolve(v)},d.prototype.preservedValues=function(){return this._preservedValues};function p(g,b,x,v){if(typeof b!="function")return n("expecting a function but got "+s.classString(b));var D=0;if(x!==void 0)if(typeof x=="object"&&x!==null){if(typeof x.concurrency!="number")return t.reject(new TypeError("'concurrency' must be a number but it is "+s.classString(x.concurrency)));D=x.concurrency}else return t.reject(new TypeError("options argument must be an object but it is "+s.classString(x)));return D=typeof D=="number"&&isFinite(D)&&D>=1?D:0,new d(g,b,D,v).promise()}t.prototype.map=function(g,b){return p(this,g,b,null)},t.map=function(g,b,x,v){return p(g,b,x,v)}}),Lv}var zv,zC;function vV(){if(zC)return zv;zC=1;var t=Object.create;if(t){var e=t(null),n=t(null);e[" size"]=n[" size"]=0}return zv=function(r){var i=Tt(),o=i.canEvaluate,a=i.isIdentifier,s,l;{var c=function(v){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,v))(p)},f=function(v){return new Function("obj",`
|
|
136
|
+
'use strict';
|
|
137
|
+
return obj.propertyName;
|
|
138
|
+
`.replace("propertyName",v))},d=function(v,D,S){var E=S[v];if(typeof E!="function"){if(!a(v))return null;if(E=D(v),S[v]=E,S[" size"]++,S[" size"]>512){for(var O=Object.keys(S),U=0;U<256;++U)delete S[O[U]];S[" size"]=O.length-256}}return E};s=function(v){return d(v,c,e)},l=function(v){return d(v,f,n)}}function p(v,D){var S;if(v!=null&&(S=v[D]),typeof S!="function"){var E="Object "+i.classString(v)+" has no method '"+i.toString(D)+"'";throw new r.TypeError(E)}return S}function g(v){var D=this.pop(),S=p(v,D);return S.apply(v,this)}r.prototype.call=function(v){for(var D=arguments.length,S=new Array(Math.max(D-1,0)),E=1;E<D;++E)S[E-1]=arguments[E];if(o){var O=s(v);if(O!==null)return this._then(O,void 0,void 0,S,void 0)}return S.push(v),this._then(g,void 0,void 0,S,void 0)};function b(v){return v[this]}function x(v){var D=+this;return D<0&&(D=Math.max(0,D+v.length)),v[D]}r.prototype.get=function(v){var D=typeof v=="number",S;if(D)S=x;else if(o){var E=l(v);S=E!==null?E:b}else S=b;return this._then(S,void 0,void 0,v,void 0)}},zv}var $v,$C;function xV(){return $C||($C=1,$v=function(t,e,n,r,i,o){var a=Tt(),s=is().TypeError,l=Tt().inherits,c=a.errorObj,f=a.tryCatch,d={};function p(E){setTimeout(function(){throw E},0)}function g(E){var O=n(E);return O!==E&&typeof E._isDisposable=="function"&&typeof E._getDisposer=="function"&&E._isDisposable()&&O._setDisposable(E._getDisposer()),O}function b(E,O){var U=0,M=E.length,N=new t(i);function q(){if(U>=M)return N._fulfill();var j=g(E[U++]);if(j instanceof t&&j._isDisposable()){try{j=n(j._getDisposer().tryDispose(O),E.promise)}catch(ae){return p(ae)}if(j instanceof t)return j._then(q,p,null,null,null)}q()}return q(),N}function x(E,O,U){this._data=E,this._promise=O,this._context=U}x.prototype.data=function(){return this._data},x.prototype.promise=function(){return this._promise},x.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():d},x.prototype.tryDispose=function(E){var O=this.resource(),U=this._context;U!==void 0&&U._pushContext();var M=O!==d?this.doDispose(O,E):null;return U!==void 0&&U._popContext(),this._promise._unsetDisposable(),this._data=null,M},x.isDisposer=function(E){return E!=null&&typeof E.resource=="function"&&typeof E.tryDispose=="function"};function v(E,O,U){this.constructor$(E,O,U)}l(v,x),v.prototype.doDispose=function(E,O){var U=this.data();return U.call(E,E,O)};function D(E){return x.isDisposer(E)?(this.resources[this.index]._setDisposable(E),E.promise()):E}function S(E){this.length=E,this.promise=null,this[E-1]=null}S.prototype._resultCancelled=function(){for(var E=this.length,O=0;O<E;++O){var U=this[O];U instanceof t&&U.cancel()}},t.using=function(){var E=arguments.length;if(E<2)return e("you must pass at least 2 arguments to Promise.using");var O=arguments[E-1];if(typeof O!="function")return e("expecting a function but got "+a.classString(O));var U,M=!0;E===2&&Array.isArray(arguments[0])?(U=arguments[0],E=U.length,M=!1):(U=arguments,E--);for(var N=new S(E),q=0;q<E;++q){var j=U[q];if(x.isDisposer(j)){var ae=j;j=j.promise(),j._setDisposable(ae)}else{var ce=n(j);ce instanceof t&&(j=ce._then(D,null,null,{resources:N,index:q},void 0))}N[q]=j}for(var F=new Array(N.length),q=0;q<F.length;++q)F[q]=t.resolve(N[q]).reflect();var Z=t.all(F).then(function(re){for(var $=0;$<re.length;++$){var G=re[$];if(G.isRejected())return c.e=G.error(),c;if(!G.isFulfilled()){Z.cancel();return}re[$]=G.value()}k._pushContext(),O=f(O);var J=M?O.apply(void 0,re):O(re),X=k._popContext();return o.checkForgottenReturns(J,X,"Promise.using",k),J}),k=Z.lastly(function(){var re=new t.PromiseInspection(Z);return b(N,re)});return N.promise=k,k._setOnCancel(N),k},t.prototype._setDisposable=function(E){this._bitField=this._bitField|131072,this._disposer=E},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(E){if(typeof E=="function")return new v(E,this,r());throw new s}}),$v}var jv,jC;function DV(){return jC||(jC=1,jv=function(t,e,n){var r=Tt(),i=t.TimeoutError;function o(d){this.handle=d}o.prototype._resultCancelled=function(){clearTimeout(this.handle)};var a=function(d){return s(+this).thenReturn(d)},s=t.delay=function(d,p){var g,b;return p!==void 0?(g=t.resolve(p)._then(a,null,null,d,void 0),n.cancellation()&&p instanceof t&&g._setOnCancel(p)):(g=new t(e),b=setTimeout(function(){g._fulfill()},+d),n.cancellation()&&g._setOnCancel(new o(b)),g._captureStackTrace()),g._setAsyncGuaranteed(),g};t.prototype.delay=function(d){return s(d,this)};var l=function(d,p,g){var b;typeof p!="string"?p instanceof Error?b=p:b=new i("operation timed out"):b=new i(p),r.markAsOriginatingFromRejection(b),d._attachExtraTrace(b),d._reject(b),g!=null&&g.cancel()};function c(d){return clearTimeout(this.handle),d}function f(d){throw clearTimeout(this.handle),d}t.prototype.timeout=function(d,p){d=+d;var g,b,x=new o(setTimeout(function(){g.isPending()&&l(g,p,b)},d));return n.cancellation()?(b=this.then(),g=b._then(c,f,void 0,x,void 0),g._setOnCancel(x)):g=this._then(c,f,void 0,x,void 0),g}}),jv}var Hv,HC;function wV(){return HC||(HC=1,Hv=function(t,e,n,r,i,o){var a=is(),s=a.TypeError,l=Tt(),c=l.errorObj,f=l.tryCatch,d=[];function p(b,x,v){for(var D=0;D<x.length;++D){v._pushContext();var S=f(x[D])(b);if(v._popContext(),S===c){v._pushContext();var E=t.reject(c.e);return v._popContext(),E}var O=r(S,v);if(O instanceof t)return O}return null}function g(b,x,v,D){if(o.cancellation()){var S=new t(n),E=this._finallyPromise=new t(n);this._promise=S.lastly(function(){return E}),S._captureStackTrace(),S._setOnCancel(this)}else{var O=this._promise=new t(n);O._captureStackTrace()}this._stack=D,this._generatorFunction=b,this._receiver=x,this._generator=void 0,this._yieldHandlers=typeof v=="function"?[v].concat(d):d,this._yieldedPromise=null,this._cancellationPhase=!1}l.inherits(g,i),g.prototype._isResolved=function(){return this._promise===null},g.prototype._cleanup=function(){this._promise=this._generator=null,o.cancellation()&&this._finallyPromise!==null&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},g.prototype._promiseCancelled=function(){if(!this._isResolved()){var b=typeof this._generator.return<"u",x;if(b)this._promise._pushContext(),x=f(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var v=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=v,this._promise._attachExtraTrace(v),this._promise._pushContext(),x=f(this._generator.throw).call(this._generator,v),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(x)}},g.prototype._promiseFulfilled=function(b){this._yieldedPromise=null,this._promise._pushContext();var x=f(this._generator.next).call(this._generator,b);this._promise._popContext(),this._continue(x)},g.prototype._promiseRejected=function(b){this._yieldedPromise=null,this._promise._attachExtraTrace(b),this._promise._pushContext();var x=f(this._generator.throw).call(this._generator,b);this._promise._popContext(),this._continue(x)},g.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var b=this._yieldedPromise;this._yieldedPromise=null,b.cancel()}},g.prototype.promise=function(){return this._promise},g.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},g.prototype._continue=function(b){var x=this._promise;if(b===c)return this._cleanup(),this._cancellationPhase?x.cancel():x._rejectCallback(b.e,!1);var v=b.value;if(b.done===!0)return this._cleanup(),this._cancellationPhase?x.cancel():x._resolveCallback(v);var D=r(v,this._promise);if(!(D instanceof t)&&(D=p(D,this._yieldHandlers,this._promise),D===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",v)+`From coroutine:
|
|
143
|
+
`+this._stack.split(`
|
|
144
|
+
`).slice(1,-7).join(`
|
|
145
|
+
`)));return}D=D._target();var S=D._bitField;S&50397184?S&33554432?t._async.invoke(this._promiseFulfilled,this,D._value()):S&16777216?t._async.invoke(this._promiseRejected,this,D._reason()):this._promiseCancelled():(this._yieldedPromise=D,D._proxy(this,null))},t.coroutine=function(b,x){if(typeof b!="function")throw new s(`generatorFunction must be a function
|
|
146
|
+
|
|
147
|
+
See http://goo.gl/MqrFmX
|
|
148
|
+
`);var v=Object(x).yieldHandler,D=g,S=new Error().stack;return function(){var E=b.apply(this,arguments),O=new D(void 0,void 0,v,S),U=O.promise();return O._generator=E,O._promiseFulfilled(void 0),U}},t.coroutine.addYieldHandler=function(b){if(typeof b!="function")throw new s("expecting a function but got "+l.classString(b));d.push(b)},t.spawn=function(b){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),typeof b!="function")return e(`generatorFunction must be a function
|
|
149
|
+
|
|
150
|
+
See http://goo.gl/MqrFmX
|
|
151
|
+
`);var x=new g(b,this),v=x.promise();return x._run(t.spawn),v}}),Hv}var Vv,VC;function SV(){return VC||(VC=1,Vv=function(t){var e=Tt(),n=t._async,r=e.tryCatch,i=e.errorObj;function o(l,c){var f=this;if(!e.isArray(l))return a.call(f,l,c);var d=r(c).apply(f._boundValue(),[null].concat(l));d===i&&n.throwLater(d.e)}function a(l,c){var f=this,d=f._boundValue(),p=l===void 0?r(c).call(d,null):r(c).call(d,null,l);p===i&&n.throwLater(p.e)}function s(l,c){var f=this;if(!l){var d=new Error(l+"");d.cause=l,l=d}var p=r(c).call(f._boundValue(),l);p===i&&n.throwLater(p.e)}t.prototype.asCallback=t.prototype.nodeify=function(l,c){if(typeof l=="function"){var f=a;c!==void 0&&Object(c).spread&&(f=o),this._then(f,s,void 0,this,l)}return this}}),Vv}var qv,qC;function TV(){return qC||(qC=1,qv=function(t,e){var n={},r=Tt(),i=rR(),o=r.withAppended,a=r.maybeWrapAsError,s=r.canEvaluate,l=is().TypeError,c="Async",f={__isPromisified__:!0},d=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],p=new RegExp("^(?:"+d.join("|")+")$"),g=function(Z){return r.isIdentifier(Z)&&Z.charAt(0)!=="_"&&Z!=="constructor"};function b(Z){return!p.test(Z)}function x(Z){try{return Z.__isPromisified__===!0}catch{return!1}}function v(Z,k,re){var $=r.getDataPropertyOrDefault(Z,k+re,f);return $?x($):!1}function D(Z,k,re){for(var $=0;$<Z.length;$+=2){var G=Z[$];if(re.test(G)){for(var J=G.replace(re,""),X=0;X<Z.length;X+=2)if(Z[X]===J)throw new l(`Cannot promisify an API that has normal methods with '%s'-suffix
|
|
152
|
+
|
|
153
|
+
See http://goo.gl/MqrFmX
|
|
154
|
+
`.replace("%s",k))}}}function S(Z,k,re,$){for(var G=r.inheritedDataKeys(Z),J=[],X=0;X<G.length;++X){var ie=G[X],H=Z[ie],P=$===g?!0:g(ie);typeof H=="function"&&!x(H)&&!v(Z,ie,k)&&$(ie,H,Z,P)&&J.push(ie,H)}return D(J,k,re),J}var E=function(Z){return Z.replace(/([$])/,"\\$")},O;{var U=function(Z){for(var k=[Z],re=Math.max(0,Z-1-3),$=Z-1;$>=re;--$)k.push($);for(var $=Z+1;$<=3;++$)k.push($);return k},M=function(Z){return r.filledRange(Z,"_arg","")},N=function(Z){return r.filledRange(Math.max(Z,3),"_arg","")},q=function(Z){return typeof Z.length=="number"?Math.max(Math.min(Z.length,1024),0):0};O=function(Z,k,re,$,G,J){var X=Math.max(0,q($)-1),ie=U(X),H=typeof Z=="string"||k===n;function P(_e){var $e=M(_e).join(", "),Le=_e>0?", ":"",ze;return H?ze=`ret = callback.call(this, {{args}}, nodeback); break;
|
|
155
|
+
`:ze=k===void 0?`ret = callback({{args}}, nodeback); break;
|
|
156
|
+
`:`ret = callback.call(receiver, {{args}}, nodeback); break;
|
|
157
|
+
`,ze.replace("{{args}}",$e).replace(", ",Le)}function de(){for(var _e="",$e=0;$e<ie.length;++$e)_e+="case "+ie[$e]+":"+P(ie[$e]);return _e+=`
|
|
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]",H?`ret = callback.apply(this, args);
|
|
168
|
+
`:`ret = callback.apply(receiver, args);
|
|
169
|
+
`),_e}var De=typeof Z=="string"?"this != null ? this['"+Z+"'] : fn":"fn",me=`'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, `+J+`);
|
|
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]",de()).replace("[GetFunctionCode]",De);return me=me.replace("Parameters",N(X)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",me)(t,$,k,o,a,i,r.tryCatch,r.errorObj,r.notEnumerableProp,e)}}function j(Z,k,re,$,G,J){var X=function(){return this}(),ie=Z;typeof ie=="string"&&(Z=$);function H(){var P=k;k===n&&(P=this);var de=new t(e);de._captureStackTrace();var De=typeof ie=="string"&&this!==X?this[ie]:Z,me=i(de,J);try{De.apply(P,o(arguments,me))}catch(_e){de._rejectCallback(a(_e),!0,!0)}return de._isFateSealed()||de._setAsyncGuaranteed(),de}return r.notEnumerableProp(H,"__isPromisified__",!0),H}var ae=s?O:j;function ce(Z,k,re,$,G){for(var J=new RegExp(E(k)+"$"),X=S(Z,k,J,re),ie=0,H=X.length;ie<H;ie+=2){var P=X[ie],de=X[ie+1],De=P+k;if($===ae)Z[De]=ae(P,n,P,de,k,G);else{var me=$(de,function(){return ae(P,n,P,de,k,G)});r.notEnumerableProp(me,"__isPromisified__",!0),Z[De]=me}}return r.toFastProperties(Z),Z}function F(Z,k,re){return ae(Z,k,void 0,Z,null,re)}t.promisify=function(Z,k){if(typeof Z!="function")throw new l("expecting a function but got "+r.classString(Z));if(x(Z))return Z;k=Object(k);var re=k.context===void 0?n:k.context,$=!!k.multiArgs,G=F(Z,re,$);return r.copyDescriptors(Z,G,b),G},t.promisifyAll=function(Z,k){if(typeof Z!="function"&&typeof Z!="object")throw new l(`the target of promisifyAll must be an object or a function
|
|
190
|
+
|
|
191
|
+
See http://goo.gl/MqrFmX
|
|
192
|
+
`);k=Object(k);var re=!!k.multiArgs,$=k.suffix;typeof $!="string"&&($=c);var G=k.filter;typeof G!="function"&&(G=g);var J=k.promisifier;if(typeof J!="function"&&(J=ae),!r.isIdentifier($))throw new RangeError(`suffix must be a valid identifier
|
|
193
|
+
|
|
194
|
+
See http://goo.gl/MqrFmX
|
|
195
|
+
`);for(var X=r.inheritedDataKeys(Z),ie=0;ie<X.length;++ie){var H=Z[X[ie]];X[ie]!=="constructor"&&r.isClass(H)&&(ce(H.prototype,$,G,J,re),ce(H,$,G,J,re))}return ce(Z,$,G,J,re)}}),qv}var Xv,XC;function CV(){return XC||(XC=1,Xv=function(t,e,n,r){var i=Tt(),o=i.isObject,a=Ou(),s;typeof Map=="function"&&(s=Map);var l=function(){var p=0,g=0;function b(x,v){this[p]=x,this[p+g]=v,p++}return function(v){g=v.size,p=0;var D=new Array(v.size*2);return v.forEach(b,D),D}}(),c=function(p){for(var g=new s,b=p.length/2|0,x=0;x<b;++x){var v=p[b+x],D=p[x];g.set(v,D)}return g};function f(p){var g=!1,b;if(s!==void 0&&p instanceof s)b=l(p),g=!0;else{var x=a.keys(p),v=x.length;b=new Array(v*2);for(var D=0;D<v;++D){var S=x[D];b[D]=p[S],b[D+v]=S}}this.constructor$(b),this._isMap=g,this._init$(void 0,-3)}i.inherits(f,e),f.prototype._init=function(){},f.prototype._promiseFulfilled=function(p,g){this._values[g]=p;var b=++this._totalResolved;if(b>=this._length){var x;if(this._isMap)x=c(this._values);else{x={};for(var v=this.length(),D=0,S=this.length();D<S;++D)x[this._values[D+v]]=this._values[D]}return this._resolve(x),!0}return!1},f.prototype.shouldCopyValues=function(){return!1},f.prototype.getActualLength=function(p){return p>>1};function d(p){var g,b=n(p);if(o(b))b instanceof t?g=b._then(t.props,void 0,void 0,void 0,void 0):g=new f(b).promise();else return r(`cannot await properties of a non-object
|
|
196
|
+
|
|
197
|
+
See http://goo.gl/MqrFmX
|
|
198
|
+
`);return b instanceof t&&g._propagateFrom(b,2),g}t.prototype.props=function(){return d(this)},t.props=function(p){return d(p)}}),Xv}var Gv,GC;function EV(){return GC||(GC=1,Gv=function(t,e,n,r){var i=Tt(),o=function(s){return s.then(function(l){return a(l,s)})};function a(s,l){var c=n(s);if(c instanceof t)return o(c);if(s=i.asArray(s),s===null)return r("expecting an array or an iterable object but got "+i.classString(s));var f=new t(e);l!==void 0&&f._propagateFrom(l,3);for(var d=f._fulfill,p=f._reject,g=0,b=s.length;g<b;++g){var x=s[g];x===void 0&&!(g in s)||t.cast(x)._then(d,p,void 0,f,null)}return f}t.race=function(s){return a(s,void 0)},t.prototype.race=function(){return a(this,void 0)}}),Gv}var Jv,JC;function _V(){return JC||(JC=1,Jv=function(t,e,n,r,i,o){var a=t._getDomain,s=Tt(),l=s.tryCatch;function c(b,x,v,D){this.constructor$(b);var S=a();this._fn=S===null?x:s.domainBind(S,x),v!==void 0&&(v=t.resolve(v),v._attachCancellationCallback(this)),this._initialValue=v,this._currentCancellable=null,D===i?this._eachValues=Array(this._length):D===0?this._eachValues=null:this._eachValues=void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}s.inherits(c,e),c.prototype._gotAccum=function(b){this._eachValues!==void 0&&this._eachValues!==null&&b!==i&&this._eachValues.push(b)},c.prototype._eachComplete=function(b){return this._eachValues!==null&&this._eachValues.push(b),this._eachValues},c.prototype._init=function(){},c.prototype._resolveEmptyArray=function(){this._resolve(this._eachValues!==void 0?this._eachValues:this._initialValue)},c.prototype.shouldCopyValues=function(){return!1},c.prototype._resolve=function(b){this._promise._resolveCallback(b),this._values=null},c.prototype._resultCancelled=function(b){if(b===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel())},c.prototype._iterate=function(b){this._values=b;var x,v,D=b.length;if(this._initialValue!==void 0?(x=this._initialValue,v=0):(x=t.resolve(b[0]),v=1),this._currentCancellable=x,!x.isRejected())for(;v<D;++v){var S={accum:null,value:b[v],index:v,length:D,array:this};x=x._then(p,void 0,void 0,S,void 0)}this._eachValues!==void 0&&(x=x._then(this._eachComplete,void 0,void 0,this,void 0)),x._then(f,f,void 0,x,this)},t.prototype.reduce=function(b,x){return d(this,b,x,null)},t.reduce=function(b,x,v,D){return d(b,x,v,D)};function f(b,x){this.isFulfilled()?x._resolve(b):x._reject(b)}function d(b,x,v,D){if(typeof x!="function")return n("expecting a function but got "+s.classString(x));var S=new c(b,x,v,D);return S.promise()}function p(b){this.accum=b,this.array._gotAccum(b);var x=r(this.value,this.array._promise);return x instanceof t?(this.array._currentCancellable=x,x._then(g,void 0,void 0,this,void 0)):g.call(this,x)}function g(b){var x=this.array,v=x._promise,D=l(x._fn);v._pushContext();var S;x._eachValues!==void 0?S=D.call(v._boundValue(),b,this.index,this.length):S=D.call(v._boundValue(),this.accum,b,this.index,this.length),S instanceof t&&(x._currentCancellable=S);var E=v._popContext();return o.checkForgottenReturns(S,E,x._eachValues!==void 0?"Promise.each":"Promise.reduce",v),S}}),Jv}var Yv,YC;function kV(){return YC||(YC=1,Yv=function(t,e,n){var r=t.PromiseInspection,i=Tt();function o(a){this.constructor$(a)}i.inherits(o,e),o.prototype._promiseResolved=function(a,s){this._values[a]=s;var l=++this._totalResolved;return l>=this._length?(this._resolve(this._values),!0):!1},o.prototype._promiseFulfilled=function(a,s){var l=new r;return l._bitField=33554432,l._settledValueField=a,this._promiseResolved(s,l)},o.prototype._promiseRejected=function(a,s){var l=new r;return l._bitField=16777216,l._settledValueField=a,this._promiseResolved(s,l)},t.settle=function(a){return n.deprecated(".settle()",".reflect()"),new o(a).promise()},t.prototype.settle=function(){return t.settle(this)}}),Yv}var Zv,ZC;function AV(){return ZC||(ZC=1,Zv=function(t,e,n){var r=Tt(),i=is().RangeError,o=is().AggregateError,a=r.isArray,s={};function l(f){this.constructor$(f),this._howMany=0,this._unwrap=!1,this._initialized=!1}r.inherits(l,e),l.prototype._init=function(){if(this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var f=a(this._values);!this._isResolved()&&f&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},l.prototype.init=function(){this._initialized=!0,this._init()},l.prototype.setUnwrap=function(){this._unwrap=!0},l.prototype.howMany=function(){return this._howMany},l.prototype.setHowMany=function(f){this._howMany=f},l.prototype._promiseFulfilled=function(f){return this._addFulfilled(f),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},l.prototype._promiseRejected=function(f){return this._addRejected(f),this._checkOutcome()},l.prototype._promiseCancelled=function(){return this._values instanceof t||this._values==null?this._cancel():(this._addRejected(s),this._checkOutcome())},l.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var f=new o,d=this.length();d<this._values.length;++d)this._values[d]!==s&&f.push(this._values[d]);return f.length>0?this._reject(f):this._cancel(),!0}return!1},l.prototype._fulfilled=function(){return this._totalResolved},l.prototype._rejected=function(){return this._values.length-this.length()},l.prototype._addRejected=function(f){this._values.push(f)},l.prototype._addFulfilled=function(f){this._values[this._totalResolved++]=f},l.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},l.prototype._getRangeError=function(f){var d="Input array must contain at least "+this._howMany+" items but contains only "+f+" items";return new i(d)},l.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function c(f,d){if((d|0)!==d||d<0)return n(`expecting a positive integer
|
|
199
|
+
|
|
200
|
+
See http://goo.gl/MqrFmX
|
|
201
|
+
`);var p=new l(f),g=p.promise();return p.setHowMany(d),p.init(),g}t.some=function(f,d){return c(f,d)},t.prototype.some=function(f){return c(this,f)},t._SomePromiseArray=l}),Zv}var Kv,KC;function UV(){return KC||(KC=1,Kv=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)}}),Kv}var Qv,QC;function FV(){return QC||(QC=1,Qv=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}),Qv}var e1,eE;function RV(){return eE||(eE=1,e1=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)}}),e1}(function(t){t.exports=function(){var e=function(){return new p(`circular promise resolution chain
|
|
202
|
+
|
|
203
|
+
See http://goo.gl/MqrFmX
|
|
204
|
+
`)},n=function(){return new F.PromiseInspection(this._target())},r=function($){return F.reject(new p($))};function i(){}var o={},a=Tt(),s;a.isNode?s=function(){var $=process.domain;return $===void 0&&($=null),$}:s=function(){return null},a.notEnumerableProp(F,"_getDomain",s);var l=Ou(),c=oV(),f=new c;l.defineProperty(F,"_async",{value:f});var d=is(),p=F.TypeError=d.TypeError;F.RangeError=d.RangeError;var g=F.CancellationError=d.CancellationError;F.TimeoutError=d.TimeoutError,F.OperationalError=d.OperationalError,F.RejectionError=d.OperationalError,F.AggregateError=d.AggregateError;var b=function(){},x={},v={},D=aV()(F,b),S=sV()(F,b,D,r,i),E=lV()(F),O=E.create,U=cV()(F,E);U.CapturedTrace;var M=uV()(F,D),N=fV()(v),q=rR(),j=a.errorObj,ae=a.tryCatch;function ce($,G){if(typeof G!="function")throw new p("expecting a function but got "+a.classString(G));if($.constructor!==F)throw new p(`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,$!==b&&(ce(this,$),this._resolveFromExecutor($)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}F.prototype.toString=function(){return"[object Promise]"},F.prototype.caught=F.prototype.catch=function($){var G=arguments.length;if(G>1){var J=new Array(G-1),X=0,ie;for(ie=0;ie<G-1;++ie){var H=arguments[ie];if(a.isObject(H))J[X++]=H;else return r("expecting an object but got A catch statement predicate "+a.classString(H))}return J.length=X,$=arguments[ie],this.then(void 0,N(J,$,this))}return this.then(void 0,$)},F.prototype.reflect=function(){return this._then(n,n,void 0,this,void 0)},F.prototype.then=function($,G){if(U.warnings()&&arguments.length>0&&typeof $!="function"&&typeof G!="function"){var J=".then() only accepts functions but was passed: "+a.classString($);arguments.length>1&&(J+=", "+a.classString(G)),this._warn(J)}return this._then($,G,void 0,void 0,void 0)},F.prototype.done=function($,G){var J=this._then($,G,void 0,void 0,void 0);J._setIsFinal()},F.prototype.spread=function($){return typeof $!="function"?r("expecting a function but got "+a.classString($)):this.all()._then($,void 0,void 0,x,void 0)},F.prototype.toJSON=function(){var $={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?($.fulfillmentValue=this.value(),$.isFulfilled=!0):this.isRejected()&&($.rejectionReason=this.reason(),$.isRejected=!0),$},F.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new S(this).promise()},F.prototype.error=function($){return this.caught(a.originatesFromRejection,$)},F.getNewLibraryCopy=t.exports,F.is=function($){return $ instanceof F},F.fromNode=F.fromCallback=function($){var G=new F(b);G._captureStackTrace();var J=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,X=ae($)(q(G,J));return X===j&&G._rejectCallback(X.e,!0),G._isFateSealed()||G._setAsyncGuaranteed(),G},F.all=function($){return new S($).promise()},F.cast=function($){var G=D($);return G instanceof F||(G=new F(b),G._captureStackTrace(),G._setFulfilled(),G._rejectionHandler0=$),G},F.resolve=F.fulfilled=F.cast,F.reject=F.rejected=function($){var G=new F(b);return G._captureStackTrace(),G._rejectCallback($,!0),G},F.setScheduler=function($){if(typeof $!="function")throw new p("expecting a function but got "+a.classString($));return f.setScheduler($)},F.prototype._then=function($,G,J,X,ie){var H=ie!==void 0,P=H?ie:new F(b),de=this._target(),De=de._bitField;H||(P._propagateFrom(this,3),P._captureStackTrace(),X===void 0&&this._bitField&2097152&&(De&50397184?X=this._boundValue():X=de===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,P));var me=s();if(De&50397184){var _e,$e,Le=de._settlePromiseCtx;De&33554432?($e=de._rejectionHandler0,_e=$):De&16777216?($e=de._fulfillmentHandler0,_e=G,de._unsetRejectionIsUnhandled()):(Le=de._settlePromiseLateCancellationObserver,$e=new g("late cancellation observer"),de._attachExtraTrace($e),_e=G),f.invoke(Le,de,{handler:me===null?_e:typeof _e=="function"&&a.domainBind(me,_e),promise:P,receiver:X,value:$e})}else de._addCallbacks($,G,P,X,me);return P},F.prototype._length=function(){return this._bitField&65535},F.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},F.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},F.prototype._setLength=function($){this._bitField=this._bitField&-65536|$&65535},F.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},F.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},F.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},F.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},F.prototype._isFinal=function(){return(this._bitField&4194304)>0},F.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},F.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},F.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},F.prototype._setAsyncGuaranteed=function(){f.hasCustomScheduler()||(this._bitField=this._bitField|134217728)},F.prototype._receiverAt=function($){var G=$===0?this._receiver0:this[$*4-4+3];if(G!==o)return G===void 0&&this._isBound()?this._boundValue():G},F.prototype._promiseAt=function($){return this[$*4-4+2]},F.prototype._fulfillmentHandlerAt=function($){return this[$*4-4+0]},F.prototype._rejectionHandlerAt=function($){return this[$*4-4+1]},F.prototype._boundValue=function(){},F.prototype._migrateCallback0=function($){$._bitField;var G=$._fulfillmentHandler0,J=$._rejectionHandler0,X=$._promise0,ie=$._receiverAt(0);ie===void 0&&(ie=o),this._addCallbacks(G,J,X,ie,null)},F.prototype._migrateCallbackAt=function($,G){var J=$._fulfillmentHandlerAt(G),X=$._rejectionHandlerAt(G),ie=$._promiseAt(G),H=$._receiverAt(G);H===void 0&&(H=o),this._addCallbacks(J,X,ie,H,null)},F.prototype._addCallbacks=function($,G,J,X,ie){var H=this._length();if(H>=65531&&(H=0,this._setLength(0)),H===0)this._promise0=J,this._receiver0=X,typeof $=="function"&&(this._fulfillmentHandler0=ie===null?$:a.domainBind(ie,$)),typeof G=="function"&&(this._rejectionHandler0=ie===null?G:a.domainBind(ie,G));else{var P=H*4-4;this[P+2]=J,this[P+3]=X,typeof $=="function"&&(this[P+0]=ie===null?$:a.domainBind(ie,$)),typeof G=="function"&&(this[P+1]=ie===null?G:a.domainBind(ie,G))}return this._setLength(H+1),H},F.prototype._proxy=function($,G){this._addCallbacks(void 0,void 0,G,$,null)},F.prototype._resolveCallback=function($,G){if(!(this._bitField&117506048)){if($===this)return this._rejectCallback(e(),!1);var J=D($,this);if(!(J instanceof F))return this._fulfill($);G&&this._propagateFrom(J,2);var X=J._target();if(X===this){this._reject(e());return}var ie=X._bitField;if(ie&50397184)if(ie&33554432)this._fulfill(X._value());else if(ie&16777216)this._reject(X._reason());else{var de=new g("late cancellation observer");X._attachExtraTrace(de),this._reject(de)}else{var H=this._length();H>0&&X._migrateCallback0(this);for(var P=1;P<H;++P)X._migrateCallbackAt(this,P);this._setFollowing(),this._setLength(0),this._setFollowee(X)}}},F.prototype._rejectCallback=function($,G,J){var X=a.ensureErrorObject($),ie=X===$;if(!ie&&!J&&U.warnings()){var H="a promise was rejected with a non-error: "+a.classString($);this._warn(H,!0)}this._attachExtraTrace(X,G?ie:!1),this._reject($)},F.prototype._resolveFromExecutor=function($){var G=this;this._captureStackTrace(),this._pushContext();var J=!0,X=this._execute($,function(ie){G._resolveCallback(ie)},function(ie){G._rejectCallback(ie,J)});J=!1,this._popContext(),X!==void 0&&G._rejectCallback(X,!0)},F.prototype._settlePromiseFromHandler=function($,G,J,X){var ie=X._bitField;if(!(ie&65536)){X._pushContext();var H;G===x?!J||typeof J.length!="number"?(H=j,H.e=new p("cannot .spread() a non-array: "+a.classString(J))):H=ae($).apply(this._boundValue(),J):H=ae($).call(G,J);var P=X._popContext();ie=X._bitField,!(ie&65536)&&(H===v?X._reject(J):H===j?X._rejectCallback(H.e,!1):(U.checkForgottenReturns(H,P,"",X,this),X._resolveCallback(H)))}},F.prototype._target=function(){for(var $=this;$._isFollowing();)$=$._followee();return $},F.prototype._followee=function(){return this._rejectionHandler0},F.prototype._setFollowee=function($){this._rejectionHandler0=$},F.prototype._settlePromise=function($,G,J,X){var ie=$ instanceof F,H=this._bitField,P=(H&134217728)!==0;H&65536?(ie&&$._invokeInternalOnCancel(),J instanceof M&&J.isFinallyHandler()?(J.cancelPromise=$,ae(G).call(J,X)===j&&$._reject(j.e)):G===n?$._fulfill(n.call(J)):J instanceof i?J._promiseCancelled($):ie||$ instanceof S?$._cancel():J.cancel()):typeof G=="function"?ie?(P&&$._setAsyncGuaranteed(),this._settlePromiseFromHandler(G,J,X,$)):G.call(J,X,$):J instanceof i?J._isResolved()||(H&33554432?J._promiseFulfilled(X,$):J._promiseRejected(X,$)):ie&&(P&&$._setAsyncGuaranteed(),H&33554432?$._fulfill(X):$._reject(X))},F.prototype._settlePromiseLateCancellationObserver=function($){var G=$.handler,J=$.promise,X=$.receiver,ie=$.value;typeof G=="function"?J instanceof F?this._settlePromiseFromHandler(G,X,ie,J):G.call(X,ie,J):J instanceof F&&J._reject(ie)},F.prototype._settlePromiseCtx=function($){this._settlePromise($.promise,$.handler,$.receiver,$.value)},F.prototype._settlePromise0=function($,G,J){var X=this._promise0,ie=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(X,$,ie,G)},F.prototype._clearCallbackDataAtIndex=function($){var G=$*4-4;this[G+2]=this[G+3]=this[G+0]=this[G+1]=void 0},F.prototype._fulfill=function($){var G=this._bitField;if(!((G&117506048)>>>16)){if($===this){var J=e();return this._attachExtraTrace(J),this._reject(J)}this._setFulfilled(),this._rejectionHandler0=$,(G&65535)>0&&(G&134217728?this._settlePromises():f.settlePromises(this))}},F.prototype._reject=function($){var G=this._bitField;if(!((G&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=$,this._isFinal())return f.fatalError($,a.isNode);(G&65535)>0?f.settlePromises(this):this._ensurePossibleRejectionHandled()}},F.prototype._fulfillPromises=function($,G){for(var J=1;J<$;J++){var X=this._fulfillmentHandlerAt(J),ie=this._promiseAt(J),H=this._receiverAt(J);this._clearCallbackDataAtIndex(J),this._settlePromise(ie,X,H,G)}},F.prototype._rejectPromises=function($,G){for(var J=1;J<$;J++){var X=this._rejectionHandlerAt(J),ie=this._promiseAt(J),H=this._receiverAt(J);this._clearCallbackDataAtIndex(J),this._settlePromise(ie,X,H,G)}},F.prototype._settlePromises=function(){var $=this._bitField,G=$&65535;if(G>0){if($&16842752){var J=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,J,$),this._rejectPromises(G,J)}else{var X=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,X,$),this._fulfillPromises(G,X)}this._setLength(0)}this._clearCancellationData()},F.prototype._settledValue=function(){var $=this._bitField;if($&33554432)return this._rejectionHandler0;if($&16777216)return this._fulfillmentHandler0};function Z($){this.promise._resolveCallback($)}function k($){this.promise._rejectCallback($,!1)}F.defer=F.pending=function(){U.deprecated("Promise.defer","new Promise");var $=new F(b);return{promise:$,resolve:Z,reject:k}},a.notEnumerableProp(F,"_makeSelfResolutionError",e),dV()(F,b,D,r,U),hV()(F,b,D,U),pV()(F,S,r,U),gV()(F),mV()(F),yV()(F,S,D,b,f,s),F.Promise=F,F.version="3.4.7",bV()(F,S,r,D,b,U),vV()(F),xV()(F,r,D,O,b,U),DV()(F,b,U),wV()(F,r,b,D,i,U),SV()(F),TV()(F,b),CV()(F,S,D,r),EV()(F,b,D,r),_V()(F,S,r,D,b,U),kV()(F,S,U),AV()(F,S,r),UV()(F,b),FV()(F,b),RV()(F),a.toFastProperties(F),a.toFastProperties(F.prototype);function re($){var G=new F(b);G._fulfillmentHandler0=$,G._rejectionHandler0=$,G._promise0=$,G._receiver0=$}return re({a:1}),re({b:2}),re({c:3}),re(1),re(function(){}),re(void 0),re(!1),re(new F(b)),U.setBounds(c.firstLineError,a.lastLineError),F}})(nR);var OV=nR.exports,IV=jt,gr=OV();sn.defer=BV;sn.when=gr.resolve;sn.resolve=gr.resolve;sn.all=gr.all;sn.props=gr.props;sn.reject=gr.reject;sn.promisify=gr.promisify;sn.mapSeries=gr.mapSeries;sn.attempt=gr.attempt;sn.nfcall=function(t){var e=Array.prototype.slice.call(arguments,1),n=gr.promisify(t);return n.apply(null,e)};gr.prototype.fail=gr.prototype.caught;gr.prototype.also=function(t){return this.then(function(e){var n=IV.extend({},e,t(e));return gr.props(n)})};function BV(){var t,e,n=new gr.Promise(function(r,i){t=r,e=i});return{resolve:t,reject:e,promise:n}}var ct={},MV=jt,xn=ct.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 NV(t,e){return e=e||{},{type:xn.document,children:t,notes:e.notes||new jm({}),comments:e.comments||[]}}function PV(t,e){e=e||{};var n=e.indent||{};return{type:xn.paragraph,children:t,styleId:e.styleId||null,styleName:e.styleName||null,numbering:e.numbering||null,alignment:e.alignment||null,indent:{start:n.start||null,end:n.end||null,firstLine:n.firstLine||null,hanging:n.hanging||null}}}function WV(t,e){return e=e||{},{type:xn.run,children:t,styleId:e.styleId||null,styleName:e.styleName||null,isBold:!!e.isBold,isUnderline:!!e.isUnderline,isItalic:!!e.isItalic,isStrikethrough:!!e.isStrikethrough,isAllCaps:!!e.isAllCaps,isSmallCaps:!!e.isSmallCaps,verticalAlignment:e.verticalAlignment||iR.baseline,font:e.font||null,fontSize:e.fontSize||null,highlight:e.highlight||null}}var iR={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function LV(t){return{type:xn.text,value:t}}function zV(){return{type:xn.tab}}function $V(t){return{type:xn.checkbox,checked:t.checked}}function jV(t,e){return{type:xn.hyperlink,children:t,href:e.href,anchor:e.anchor,targetFrame:e.targetFrame}}function HV(t){return{type:xn.noteReference,noteType:t.noteType,noteId:t.noteId}}function jm(t){this._notes=MV.indexBy(t,function(e){return oR(e.noteType,e.noteId)})}jm.prototype.resolve=function(t){return this.findNoteByKey(oR(t.noteType,t.noteId))};jm.prototype.findNoteByKey=function(t){return this._notes[t]||null};function VV(t){return{type:xn.note,noteType:t.noteType,noteId:t.noteId,body:t.body}}function qV(t){return{type:xn.commentReference,commentId:t.commentId}}function XV(t){return{type:xn.comment,commentId:t.commentId,body:t.body,authorName:t.authorName,authorInitials:t.authorInitials}}function oR(t,e){return t+"-"+e}function GV(t){return{type:xn.image,read:function(e){return e?t.readImage(e):t.readImage().then(function(n){return Buffer.from(n)})},readAsArrayBuffer:function(){return t.readImage()},readAsBase64String:function(){return t.readImage("base64")},readAsBuffer:function(){return t.readImage().then(function(e){return Buffer.from(e)})},altText:t.altText,contentType:t.contentType}}function JV(t,e){return e=e||{},{type:xn.table,children:t,styleId:e.styleId||null,styleName:e.styleName||null}}function YV(t,e){return e=e||{},{type:xn.tableRow,children:t,isHeader:e.isHeader||!1}}function ZV(t,e){return e=e||{},{type:xn.tableCell,children:t,colSpan:e.colSpan==null?1:e.colSpan,rowSpan:e.rowSpan==null?1:e.rowSpan}}function eD(t){return{type:xn.break,breakType:t}}function KV(t){return{type:xn.bookmarkStart,name:t.name}}ct.document=ct.Document=NV;ct.paragraph=ct.Paragraph=PV;ct.run=ct.Run=WV;ct.text=ct.Text=LV;ct.tab=ct.Tab=zV;ct.checkbox=ct.Checkbox=$V;ct.Hyperlink=jV;ct.noteReference=ct.NoteReference=HV;ct.Notes=jm;ct.Note=VV;ct.commentReference=qV;ct.comment=XV;ct.Image=GV;ct.Table=JV;ct.TableRow=YV;ct.TableCell=ZV;ct.lineBreak=eD("line");ct.pageBreak=eD("page");ct.columnBreak=eD("column");ct.BookmarkStart=KV;ct.verticalAlignment=iR;var Fr={},Bd=jt;Fr.Result=Qi;Fr.success=QV;Fr.warning=eq;Fr.error=tq;function Qi(t,e){this.value=t,this.messages=e||[]}Qi.prototype.map=function(t){return new Qi(t(this.value),this.messages)};Qi.prototype.flatMap=function(t){var e=t(this.value);return new Qi(e.value,tD([this,e]))};Qi.prototype.flatMapThen=function(t){var e=this;return t(this.value).then(function(n){return new Qi(n.value,tD([e,n]))})};Qi.combine=function(t){var e=Bd.flatten(Bd.pluck(t,"value")),n=tD(t);return new Qi(e,n)};function QV(t){return new Qi(t,[])}function eq(t){return{type:"warning",message:t}}function tq(t){return{type:"error",message:t.message,error:t}}function tD(t){var e=[];return Bd.flatten(Bd.pluck(t,"messages"),!0).forEach(function(n){nq(e,n)||e.push(n)}),e}function nq(t,e){return Bd.find(t,rq.bind(null,e))!==void 0}function rq(t,e){return t.type===e.type&&t.message===e.message}var ah={},Hm={};Hm.byteLength=aq;Hm.toByteArray=lq;Hm.fromByteArray=fq;var $i=[],Gr=[],iq=typeof Uint8Array<"u"?Uint8Array:Array,t1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Nc=0,oq=t1.length;Nc<oq;++Nc)$i[Nc]=t1[Nc],Gr[t1.charCodeAt(Nc)]=Nc;Gr[45]=62;Gr[95]=63;function aR(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");n===-1&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function aq(t){var e=aR(t),n=e[0],r=e[1];return(n+r)*3/4-r}function sq(t,e,n){return(e+n)*3/4-n}function lq(t){var e,n=aR(t),r=n[0],i=n[1],o=new iq(sq(t,r,i)),a=0,s=i>0?r-4:r,l;for(l=0;l<s;l+=4)e=Gr[t.charCodeAt(l)]<<18|Gr[t.charCodeAt(l+1)]<<12|Gr[t.charCodeAt(l+2)]<<6|Gr[t.charCodeAt(l+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=Gr[t.charCodeAt(l)]<<2|Gr[t.charCodeAt(l+1)]>>4,o[a++]=e&255),i===1&&(e=Gr[t.charCodeAt(l)]<<10|Gr[t.charCodeAt(l+1)]<<4|Gr[t.charCodeAt(l+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function cq(t){return $i[t>>18&63]+$i[t>>12&63]+$i[t>>6&63]+$i[t&63]}function uq(t,e,n){for(var r,i=[],o=e;o<n;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(cq(r));return i.join("")}function fq(t){for(var e,n=t.length,r=n%3,i=[],o=16383,a=0,s=n-r;a<s;a+=o)i.push(uq(t,a,a+o>s?s:a+o));return r===1?(e=t[n-1],i.push($i[e>>2]+$i[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],i.push($i[e>>10]+$i[e>>4&63]+$i[e<<2&63]+"=")),i.join("")}function hp(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 sR={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
|
+
*/(function(t,e){(function(n){t.exports=n()})(function(){return function n(r,i,o){function a(c,f){if(!i[c]){if(!r[c]){var d=typeof hp=="function"&&hp;if(!f&&d)return d(c,!0);if(s)return s(c,!0);var p=new Error("Cannot find module '"+c+"'");throw p.code="MODULE_NOT_FOUND",p}var g=i[c]={exports:{}};r[c][0].call(g.exports,function(b){var x=r[c][1][b];return a(x||b)},g,g.exports,n,r,i,o)}return i[c].exports}for(var s=typeof hp=="function"&&hp,l=0;l<o.length;l++)a(o[l]);return a}({1:[function(n,r,i){var o=n("./utils"),a=n("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(l){for(var c,f,d,p,g,b,x,v=[],D=0,S=l.length,E=S,O=o.getTypeOf(l)!=="string";D<l.length;)E=S-D,d=O?(c=l[D++],f=D<S?l[D++]:0,D<S?l[D++]:0):(c=l.charCodeAt(D++),f=D<S?l.charCodeAt(D++):0,D<S?l.charCodeAt(D++):0),p=c>>2,g=(3&c)<<4|f>>4,b=1<E?(15&f)<<2|d>>6:64,x=2<E?63&d:64,v.push(s.charAt(p)+s.charAt(g)+s.charAt(b)+s.charAt(x));return v.join("")},i.decode=function(l){var c,f,d,p,g,b,x=0,v=0,D="data:";if(l.substr(0,D.length)===D)throw new Error("Invalid base64 input, it looks like a data url.");var S,E=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===s.charAt(64)&&E--,l.charAt(l.length-2)===s.charAt(64)&&E--,E%1!=0)throw new Error("Invalid base64 input, bad content length.");for(S=a.uint8array?new Uint8Array(0|E):new Array(0|E);x<l.length;)c=s.indexOf(l.charAt(x++))<<2|(p=s.indexOf(l.charAt(x++)))>>4,f=(15&p)<<4|(g=s.indexOf(l.charAt(x++)))>>2,d=(3&g)<<6|(b=s.indexOf(l.charAt(x++))),S[v++]=c,g!==64&&(S[v++]=f),b!==64&&(S[v++]=d);return S}},{"./support":30,"./utils":32}],2:[function(n,r,i){var o=n("./external"),a=n("./stream/DataWorker"),s=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function c(f,d,p,g,b){this.compressedSize=f,this.uncompressedSize=d,this.crc32=p,this.compression=g,this.compressedContent=b}c.prototype={getContentWorker:function(){var f=new a(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),d=this;return f.on("end",function(){if(this.streamInfo.data_length!==d.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),f},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)}},c.createWorkerFrom=function(f,d,p){return f.pipe(new s).pipe(new l("uncompressedSize")).pipe(d.compressWorker(p)).pipe(new l("compressedSize")).withStreamInfo("compression",d)},r.exports=c},{"./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,l=[],c=0;c<256;c++){s=c;for(var f=0;f<8;f++)s=1&s?3988292384^s>>>1:s>>>1;l[c]=s}return l}();r.exports=function(s,l){return s!==void 0&&s.length?o.getTypeOf(s)!=="string"?function(c,f,d,p){var g=a,b=p+d;c^=-1;for(var x=p;x<b;x++)c=c>>>8^g[255&(c^f[x])];return-1^c}(0|l,s,s.length,0):function(c,f,d,p){var g=a,b=p+d;c^=-1;for(var x=p;x<b;x++)c=c>>>8^g[255&(c^f.charCodeAt(x))];return-1^c}(0|l,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"),l=n("./stream/GenericWorker"),c=o?"uint8array":"array";function f(d,p){l.call(this,"FlateWorker/"+d),this._pako=null,this._pakoAction=d,this._pakoOptions=p,this.meta={}}i.magic="\b\0",s.inherits(f,l),f.prototype.processChunk=function(d){this.meta=d.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(c,d.data),!1)},f.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},f.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},f.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var d=this;this._pako.onData=function(p){d.push({data:p,meta:d.meta})}},i.compressWorker=function(d){return new f("Deflate",d)},i.uncompressWorker=function(){return new f("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,r,i){function o(g,b){var x,v="";for(x=0;x<b;x++)v+=String.fromCharCode(255&g),g>>>=8;return v}function a(g,b,x,v,D,S){var E,O,U=g.file,M=g.compression,N=S!==c.utf8encode,q=s.transformTo("string",S(U.name)),j=s.transformTo("string",c.utf8encode(U.name)),ae=U.comment,ce=s.transformTo("string",S(ae)),F=s.transformTo("string",c.utf8encode(ae)),Z=j.length!==U.name.length,k=F.length!==ae.length,re="",$="",G="",J=U.dir,X=U.date,ie={crc32:0,compressedSize:0,uncompressedSize:0};b&&!x||(ie.crc32=g.crc32,ie.compressedSize=g.compressedSize,ie.uncompressedSize=g.uncompressedSize);var H=0;b&&(H|=8),N||!Z&&!k||(H|=2048);var P=0,de=0;J&&(P|=16),D==="UNIX"?(de=798,P|=function(me,_e){var $e=me;return me||($e=_e?16893:33204),(65535&$e)<<16}(U.unixPermissions,J)):(de=20,P|=function(me){return 63&(me||0)}(U.dosPermissions)),E=X.getUTCHours(),E<<=6,E|=X.getUTCMinutes(),E<<=5,E|=X.getUTCSeconds()/2,O=X.getUTCFullYear()-1980,O<<=4,O|=X.getUTCMonth()+1,O<<=5,O|=X.getUTCDate(),Z&&($=o(1,1)+o(f(q),4)+j,re+="up"+o($.length,2)+$),k&&(G=o(1,1)+o(f(ce),4)+F,re+="uc"+o(G.length,2)+G);var De="";return De+=`
|
|
218
|
+
\0`,De+=o(H,2),De+=M.magic,De+=o(E,2),De+=o(O,2),De+=o(ie.crc32,4),De+=o(ie.compressedSize,4),De+=o(ie.uncompressedSize,4),De+=o(q.length,2),De+=o(re.length,2),{fileRecord:d.LOCAL_FILE_HEADER+De+q+re,dirRecord:d.CENTRAL_FILE_HEADER+o(de,2)+De+o(ce.length,2)+"\0\0\0\0"+o(P,4)+o(v,4)+q+re+ce}}var s=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),f=n("../crc32"),d=n("../signature");function p(g,b,x,v){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=b,this.zipPlatform=x,this.encodeFileName=v,this.streamFiles=g,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(p,l),p.prototype.push=function(g){var b=g.meta.percent||0,x=this.entriesCount,v=this._sources.length;this.accumulate?this.contentBuffer.push(g):(this.bytesWritten+=g.data.length,l.prototype.push.call(this,{data:g.data,meta:{currentFile:this.currentFile,percent:x?(b+100*(x-v-1))/x:100}}))},p.prototype.openedSource=function(g){this.currentSourceOffset=this.bytesWritten,this.currentFile=g.file.name;var b=this.streamFiles&&!g.file.dir;if(b){var x=a(g,b,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:x.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(g){this.accumulate=!1;var b=this.streamFiles&&!g.file.dir,x=a(g,b,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(x.dirRecord),b)this.push({data:function(v){return d.DATA_DESCRIPTOR+o(v.crc32,4)+o(v.compressedSize,4)+o(v.uncompressedSize,4)}(g),meta:{percent:100}});else for(this.push({data:x.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},p.prototype.flush=function(){for(var g=this.bytesWritten,b=0;b<this.dirRecords.length;b++)this.push({data:this.dirRecords[b],meta:{percent:100}});var x=this.bytesWritten-g,v=function(D,S,E,O,U){var M=s.transformTo("string",U(O));return d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(D,2)+o(D,2)+o(S,4)+o(E,4)+o(M.length,2)+M}(this.dirRecords.length,x,g,this.zipComment,this.encodeFileName);this.push({data:v,meta:{percent:100}})},p.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},p.prototype.registerPrevious=function(g){this._sources.push(g);var b=this;return g.on("data",function(x){b.processChunk(x)}),g.on("end",function(){b.closedSource(b.previous.streamInfo),b._sources.length?b.prepareNextSource():b.end()}),g.on("error",function(x){b.error(x)}),this},p.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},p.prototype.error=function(g){var b=this._sources;if(!l.prototype.error.call(this,g))return!1;for(var x=0;x<b.length;x++)try{b[x].error(g)}catch{}return!0},p.prototype.lock=function(){l.prototype.lock.call(this);for(var g=this._sources,b=0;b<g.length;b++)g[b].lock()},r.exports=p},{"../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,l,c){var f=new a(l.streamFiles,c,l.platform,l.encodeFileName),d=0;try{s.forEach(function(p,g){d++;var b=function(S,E){var O=S||E,U=o[O];if(!U)throw new Error(O+" is not a valid compression method !");return U}(g.options.compression,l.compression),x=g.options.compressionOptions||l.compressionOptions||{},v=g.dir,D=g.date;g._compressWorker(b,x).withStreamInfo("file",{name:p,dir:v,date:D,comment:g.comment||"",unixPermissions:g.unixPermissions,dosPermissions:g.dosPermissions}).pipe(f)}),f.entriesCount=d}catch(p){f.error(p)}return f}},{"../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"),l=n("./zipEntries"),c=n("./stream/Crc32Probe"),f=n("./nodejsUtils");function d(p){return new a.Promise(function(g,b){var x=p.decompressed.getContentWorker().pipe(new c);x.on("error",function(v){b(v)}).on("end",function(){x.streamInfo.crc32!==p.decompressed.crc32?b(new Error("Corrupted zip : CRC32 mismatch")):g()}).resume()})}r.exports=function(p,g){var b=this;return g=o.extend(g||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),f.isNode&&f.isStream(p)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):o.prepareContent("the loaded zip file",p,!0,g.optimizedBinaryString,g.base64).then(function(x){var v=new l(g);return v.load(x),v}).then(function(x){var v=[a.Promise.resolve(x)],D=x.files;if(g.checkCRC32)for(var S=0;S<D.length;S++)v.push(d(D[S]));return a.Promise.all(v)}).then(function(x){for(var v=x.shift(),D=v.files,S=0;S<D.length;S++){var E=D[S],O=E.fileNameStr,U=o.resolve(E.fileNameStr);b.file(U,E.decompressed,{binary:!0,optimizedBinaryString:!0,date:E.date,dir:E.dir,comment:E.fileCommentStr.length?E.fileCommentStr:null,unixPermissions:E.unixPermissions,dosPermissions:E.dosPermissions,createFolders:g.createFolders}),E.dir||(b.file(U).unsafeOriginalName=O)}return v.zipComment.length&&(b.comment=v.zipComment),b})}},{"./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(l,c){a.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(c)}o.inherits(s,a),s.prototype._bindStream=function(l){var c=this;(this._stream=l).pause(),l.on("data",function(f){c.push({data:f,meta:{percent:0}})}).on("error",function(f){c.isPaused?this.generatedError=f:c.error(f)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.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,l,c){o.call(this,l),this._helper=s;var f=this;s.on("data",function(d,p){f.push(d)||f._helper.pause(),c&&c(p)}).on("error",function(d){f.emit("error",d)}).on("end",function(){f.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(U,M,N){var q,j=s.getTypeOf(M),ae=s.extend(N||{},f);ae.date=ae.date||new Date,ae.compression!==null&&(ae.compression=ae.compression.toUpperCase()),typeof ae.unixPermissions=="string"&&(ae.unixPermissions=parseInt(ae.unixPermissions,8)),ae.unixPermissions&&16384&ae.unixPermissions&&(ae.dir=!0),ae.dosPermissions&&16&ae.dosPermissions&&(ae.dir=!0),ae.dir&&(U=D(U)),ae.createFolders&&(q=v(U))&&S.call(this,q,!0);var ce=j==="string"&&ae.binary===!1&&ae.base64===!1;N&&N.binary!==void 0||(ae.binary=!ce),(M instanceof d&&M.uncompressedSize===0||ae.dir||!M||M.length===0)&&(ae.base64=!1,ae.binary=!0,M="",ae.compression="STORE",j="string");var F=null;F=M instanceof d||M instanceof l?M:b.isNode&&b.isStream(M)?new x(U,M):s.prepareContent(U,M,ae.binary,ae.optimizedBinaryString,ae.base64);var Z=new p(U,F,ae);this.files[U]=Z}var a=n("./utf8"),s=n("./utils"),l=n("./stream/GenericWorker"),c=n("./stream/StreamHelper"),f=n("./defaults"),d=n("./compressedObject"),p=n("./zipObject"),g=n("./generate"),b=n("./nodejsUtils"),x=n("./nodejs/NodejsStreamInputAdapter"),v=function(U){U.slice(-1)==="/"&&(U=U.substring(0,U.length-1));var M=U.lastIndexOf("/");return 0<M?U.substring(0,M):""},D=function(U){return U.slice(-1)!=="/"&&(U+="/"),U},S=function(U,M){return M=M!==void 0?M:f.createFolders,U=D(U),this.files[U]||o.call(this,U,null,{dir:!0,createFolders:M}),this.files[U]};function E(U){return Object.prototype.toString.call(U)==="[object RegExp]"}var O={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(U){var M,N,q;for(M in this.files)q=this.files[M],(N=M.slice(this.root.length,M.length))&&M.slice(0,this.root.length)===this.root&&U(N,q)},filter:function(U){var M=[];return this.forEach(function(N,q){U(N,q)&&M.push(q)}),M},file:function(U,M,N){if(arguments.length!==1)return U=this.root+U,o.call(this,U,M,N),this;if(E(U)){var q=U;return this.filter(function(ae,ce){return!ce.dir&&q.test(ae)})}var j=this.files[this.root+U];return j&&!j.dir?j:null},folder:function(U){if(!U)return this;if(E(U))return this.filter(function(j,ae){return ae.dir&&U.test(j)});var M=this.root+U,N=S.call(this,M),q=this.clone();return q.root=N.name,q},remove:function(U){U=this.root+U;var M=this.files[U];if(M||(U.slice(-1)!=="/"&&(U+="/"),M=this.files[U]),M&&!M.dir)delete this.files[U];else for(var N=this.filter(function(j,ae){return ae.name.slice(0,U.length)===U}),q=0;q<N.length;q++)delete this.files[N[q].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(U){var M,N={};try{if((N=s.extend(U||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=N.type.toLowerCase(),N.compression=N.compression.toUpperCase(),N.type==="binarystring"&&(N.type="string"),!N.type)throw new Error("No output type specified.");s.checkSupport(N.type),N.platform!=="darwin"&&N.platform!=="freebsd"&&N.platform!=="linux"&&N.platform!=="sunos"||(N.platform="UNIX"),N.platform==="win32"&&(N.platform="DOS");var q=N.comment||this.comment||"";M=g.generateWorker(this,N,q)}catch(j){(M=new l("error")).error(j)}return new c(M,N.type||"string",N.mimeType)},generateAsync:function(U,M){return this.generateInternalStream(U).accumulate(M)},generateNodeStream:function(U,M){return(U=U||{}).type||(U.type="nodebuffer"),this.generateInternalStream(U).toNodejsStream(M)}};r.exports=O},{"./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 l=0;l<this.data.length;l++)s[l]=255&s[l]}n("../utils").inherits(a,o),a.prototype.byteAt=function(s){return this.data[this.zero+s]},a.prototype.lastIndexOfSignature=function(s){for(var l=s.charCodeAt(0),c=s.charCodeAt(1),f=s.charCodeAt(2),d=s.charCodeAt(3),p=this.length-4;0<=p;--p)if(this.data[p]===l&&this.data[p+1]===c&&this.data[p+2]===f&&this.data[p+3]===d)return p-this.zero;return-1},a.prototype.readAndCheckSignature=function(s){var l=s.charCodeAt(0),c=s.charCodeAt(1),f=s.charCodeAt(2),d=s.charCodeAt(3),p=this.readData(4);return l===p[0]&&c===p[1]&&f===p[2]&&d===p[3]},a.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},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 l,c=0;for(this.checkOffset(s),l=this.index+s-1;l>=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=s,c},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 l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},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 l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},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 l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},r.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(n,r,i){var o=n("../utils"),a=n("../support"),s=n("./ArrayReader"),l=n("./StringReader"),c=n("./NodeBufferReader"),f=n("./Uint8ArrayReader");r.exports=function(d){var p=o.getTypeOf(d);return o.checkSupport(p),p!=="string"||a.uint8array?p==="nodebuffer"?new c(d):a.uint8array?new f(o.transformTo("uint8array",d)):new s(o.transformTo("array",d)):new l(d)}},{"../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(l){o.call(this,"ConvertWorker to "+l),this.destType=l}a.inherits(s,o),s.prototype.processChunk=function(l){this.push({data:a.transformTo(this.destType,l.data),meta:l.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(l){this.streamInfo.crc32=a(l.data,this.streamInfo.crc32||0),this.push(l)},r.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}o.inherits(s,a),s.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}a.prototype.processChunk.call(this,l)},r.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(n,r,i){var o=n("../utils"),a=n("./GenericWorker");function s(l){a.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(f){c.dataIsReady=!0,c.data=f,c.max=f&&f.length||0,c.type=o.getTypeOf(f),c.isPaused||c._tickAndRepeat()},function(f){c.error(f)})}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 l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,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 l=0;l<this._listeners[a].length;l++)this._listeners[a][l].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(l){s.processChunk(l)}),a.on("end",function(){s.end()}),a.on("error",function(l){s.error(l)}),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"),l=n("../base64"),c=n("../support"),f=n("../external"),d=null;if(c.nodestream)try{d=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function p(b,x){return new f.Promise(function(v,D){var S=[],E=b._internalType,O=b._outputType,U=b._mimeType;b.on("data",function(M,N){S.push(M),x&&x(N)}).on("error",function(M){S=[],D(M)}).on("end",function(){try{var M=function(N,q,j){switch(N){case"blob":return o.newBlob(o.transformTo("arraybuffer",q),j);case"base64":return l.encode(q);default:return o.transformTo(N,q)}}(O,function(N,q){var j,ae=0,ce=null,F=0;for(j=0;j<q.length;j++)F+=q[j].length;switch(N){case"string":return q.join("");case"array":return Array.prototype.concat.apply([],q);case"uint8array":for(ce=new Uint8Array(F),j=0;j<q.length;j++)ce.set(q[j],ae),ae+=q[j].length;return ce;case"nodebuffer":return Buffer.concat(q);default:throw new Error("concat : unsupported type '"+N+"'")}}(E,S),U);v(M)}catch(N){D(N)}S=[]}).resume()})}function g(b,x,v){var D=x;switch(x){case"blob":case"arraybuffer":D="uint8array";break;case"base64":D="string"}try{this._internalType=D,this._outputType=x,this._mimeType=v,o.checkSupport(D),this._worker=b.pipe(new a(D)),b.lock()}catch(S){this._worker=new s("error"),this._worker.error(S)}}g.prototype={accumulate:function(b){return p(this,b)},on:function(b,x){var v=this;return b==="data"?this._worker.on(b,function(D){x.call(v,D.data,D.meta)}):this._worker.on(b,function(){o.delay(x,arguments,v)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(b){if(o.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:this._outputType!=="nodebuffer"},b)}},r.exports=g},{"../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"),l=n("./stream/GenericWorker"),c=new Array(256),f=0;f<256;f++)c[f]=252<=f?6:248<=f?5:240<=f?4:224<=f?3:192<=f?2:1;c[254]=c[254]=1;function d(){l.call(this,"utf-8 decode"),this.leftOver=null}function p(){l.call(this,"utf-8 encode")}i.utf8encode=function(g){return a.nodebuffer?s.newBufferFrom(g,"utf-8"):function(b){var x,v,D,S,E,O=b.length,U=0;for(S=0;S<O;S++)(64512&(v=b.charCodeAt(S)))==55296&&S+1<O&&(64512&(D=b.charCodeAt(S+1)))==56320&&(v=65536+(v-55296<<10)+(D-56320),S++),U+=v<128?1:v<2048?2:v<65536?3:4;for(x=a.uint8array?new Uint8Array(U):new Array(U),S=E=0;E<U;S++)(64512&(v=b.charCodeAt(S)))==55296&&S+1<O&&(64512&(D=b.charCodeAt(S+1)))==56320&&(v=65536+(v-55296<<10)+(D-56320),S++),v<128?x[E++]=v:(v<2048?x[E++]=192|v>>>6:(v<65536?x[E++]=224|v>>>12:(x[E++]=240|v>>>18,x[E++]=128|v>>>12&63),x[E++]=128|v>>>6&63),x[E++]=128|63&v);return x}(g)},i.utf8decode=function(g){return a.nodebuffer?o.transformTo("nodebuffer",g).toString("utf-8"):function(b){var x,v,D,S,E=b.length,O=new Array(2*E);for(x=v=0;x<E;)if((D=b[x++])<128)O[v++]=D;else if(4<(S=c[D]))O[v++]=65533,x+=S-1;else{for(D&=S===2?31:S===3?15:7;1<S&&x<E;)D=D<<6|63&b[x++],S--;1<S?O[v++]=65533:D<65536?O[v++]=D:(D-=65536,O[v++]=55296|D>>10&1023,O[v++]=56320|1023&D)}return O.length!==v&&(O.subarray?O=O.subarray(0,v):O.length=v),o.applyFromCharCode(O)}(g=o.transformTo(a.uint8array?"uint8array":"array",g))},o.inherits(d,l),d.prototype.processChunk=function(g){var b=o.transformTo(a.uint8array?"uint8array":"array",g.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var x=b;(b=new Uint8Array(x.length+this.leftOver.length)).set(this.leftOver,0),b.set(x,this.leftOver.length)}else b=this.leftOver.concat(b);this.leftOver=null}var v=function(S,E){var O;for((E=E||S.length)>S.length&&(E=S.length),O=E-1;0<=O&&(192&S[O])==128;)O--;return O<0||O===0?E:O+c[S[O]]>E?O:E}(b),D=b;v!==b.length&&(a.uint8array?(D=b.subarray(0,v),this.leftOver=b.subarray(v,b.length)):(D=b.slice(0,v),this.leftOver=b.slice(v,b.length))),this.push({data:i.utf8decode(D),meta:g.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=d,o.inherits(p,l),p.prototype.processChunk=function(g){this.push({data:i.utf8encode(g.data),meta:g.meta})},i.Utf8EncodeWorker=p},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,r,i){var o=n("./support"),a=n("./base64"),s=n("./nodejsUtils"),l=n("./external");function c(x){return x}function f(x,v){for(var D=0;D<x.length;++D)v[D]=255&x.charCodeAt(D);return v}n("setimmediate"),i.newBlob=function(x,v){i.checkSupport("blob");try{return new Blob([x],{type:v})}catch{try{var D=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return D.append(x),D.getBlob(v)}catch{throw new Error("Bug : can't construct the Blob.")}}};var d={stringifyByChunk:function(x,v,D){var S=[],E=0,O=x.length;if(O<=D)return String.fromCharCode.apply(null,x);for(;E<O;)v==="array"||v==="nodebuffer"?S.push(String.fromCharCode.apply(null,x.slice(E,Math.min(E+D,O)))):S.push(String.fromCharCode.apply(null,x.subarray(E,Math.min(E+D,O)))),E+=D;return S.join("")},stringifyByChar:function(x){for(var v="",D=0;D<x.length;D++)v+=String.fromCharCode(x[D]);return v},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 p(x){var v=65536,D=i.getTypeOf(x),S=!0;if(D==="uint8array"?S=d.applyCanBeUsed.uint8array:D==="nodebuffer"&&(S=d.applyCanBeUsed.nodebuffer),S)for(;1<v;)try{return d.stringifyByChunk(x,D,v)}catch{v=Math.floor(v/2)}return d.stringifyByChar(x)}function g(x,v){for(var D=0;D<x.length;D++)v[D]=x[D];return v}i.applyFromCharCode=p;var b={};b.string={string:c,array:function(x){return f(x,new Array(x.length))},arraybuffer:function(x){return b.string.uint8array(x).buffer},uint8array:function(x){return f(x,new Uint8Array(x.length))},nodebuffer:function(x){return f(x,s.allocBuffer(x.length))}},b.array={string:p,array:c,arraybuffer:function(x){return new Uint8Array(x).buffer},uint8array:function(x){return new Uint8Array(x)},nodebuffer:function(x){return s.newBufferFrom(x)}},b.arraybuffer={string:function(x){return p(new Uint8Array(x))},array:function(x){return g(new Uint8Array(x),new Array(x.byteLength))},arraybuffer:c,uint8array:function(x){return new Uint8Array(x)},nodebuffer:function(x){return s.newBufferFrom(new Uint8Array(x))}},b.uint8array={string:p,array:function(x){return g(x,new Array(x.length))},arraybuffer:function(x){return x.buffer},uint8array:c,nodebuffer:function(x){return s.newBufferFrom(x)}},b.nodebuffer={string:p,array:function(x){return g(x,new Array(x.length))},arraybuffer:function(x){return b.nodebuffer.uint8array(x).buffer},uint8array:function(x){return g(x,new Uint8Array(x.length))},nodebuffer:c},i.transformTo=function(x,v){if(v=v||"",!x)return v;i.checkSupport(x);var D=i.getTypeOf(v);return b[D][x](v)},i.resolve=function(x){for(var v=x.split("/"),D=[],S=0;S<v.length;S++){var E=v[S];E==="."||E===""&&S!==0&&S!==v.length-1||(E===".."?D.pop():D.push(E))}return D.join("/")},i.getTypeOf=function(x){return typeof x=="string"?"string":Object.prototype.toString.call(x)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(x)?"nodebuffer":o.uint8array&&x instanceof Uint8Array?"uint8array":o.arraybuffer&&x instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(x){if(!o[x.toLowerCase()])throw new Error(x+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(x){var v,D,S="";for(D=0;D<(x||"").length;D++)S+="\\x"+((v=x.charCodeAt(D))<16?"0":"")+v.toString(16).toUpperCase();return S},i.delay=function(x,v,D){setImmediate(function(){x.apply(D||null,v||[])})},i.inherits=function(x,v){function D(){}D.prototype=v.prototype,x.prototype=new D},i.extend=function(){var x,v,D={};for(x=0;x<arguments.length;x++)for(v in arguments[x])Object.prototype.hasOwnProperty.call(arguments[x],v)&&D[v]===void 0&&(D[v]=arguments[x][v]);return D},i.prepareContent=function(x,v,D,S,E){return l.Promise.resolve(v).then(function(O){return o.blob&&(O instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(O))!==-1)&&typeof FileReader<"u"?new l.Promise(function(U,M){var N=new FileReader;N.onload=function(q){U(q.target.result)},N.onerror=function(q){M(q.target.error)},N.readAsArrayBuffer(O)}):O}).then(function(O){var U=i.getTypeOf(O);return U?(U==="arraybuffer"?O=i.transformTo("uint8array",O):U==="string"&&(E?O=a.decode(O):D&&S!==!0&&(O=function(M){return f(M,o.uint8array?new Uint8Array(M.length):new Array(M.length))}(O))),O):l.Promise.reject(new Error("Can't read the data of '"+x+"'. 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"),l=n("./zipEntry"),c=n("./support");function f(d){this.files=[],this.loadOptions=d}f.prototype={checkSignature:function(d){if(!this.reader.readAndCheckSignature(d)){this.reader.index-=4;var p=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(p)+", expected "+a.pretty(d)+")")}},isSignature:function(d,p){var g=this.reader.index;this.reader.setIndex(d);var b=this.reader.readString(4)===p;return this.reader.setIndex(g),b},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 d=this.reader.readData(this.zipCommentLength),p=c.uint8array?"uint8array":"array",g=a.transformTo(p,d);this.zipComment=this.loadOptions.decodeFileName(g)},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 d,p,g,b=this.zip64EndOfCentralSize-44;0<b;)d=this.reader.readInt(2),p=this.reader.readInt(4),g=this.reader.readData(p),this.zip64ExtensibleData[d]={id:d,length:p,value:g}},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 d,p;for(d=0;d<this.files.length;d++)p=this.files[d],this.reader.setIndex(p.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),p.readLocalPart(this.reader),p.handleUTF8(),p.processAttributes()},readCentralDir:function(){var d;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(d=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(d);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 d=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(d<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(d);var p=d;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,(d=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(d),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 g=this.centralDirOffset+this.centralDirSize;this.zip64&&(g+=20,g+=12+this.zip64EndOfCentralSize);var b=p-g;if(0<b)this.isSignature(p,s.CENTRAL_FILE_HEADER)||(this.reader.zero=b);else if(b<0)throw new Error("Corrupted zip: missing "+Math.abs(b)+" bytes.")},prepareReader:function(d){this.reader=o(d)},load:function(d){this.prepareReader(d),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},r.exports=f},{"./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"),l=n("./crc32"),c=n("./utf8"),f=n("./compressions"),d=n("./support");function p(g,b){this.options=g,this.loadOptions=b}p.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(g){var b,x;if(g.skip(22),this.fileNameLength=g.readInt(2),x=g.readInt(2),this.fileName=g.readData(this.fileNameLength),g.skip(x),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((b=function(v){for(var D in f)if(Object.prototype.hasOwnProperty.call(f,D)&&f[D].magic===v)return f[D];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,b,g.readData(this.compressedSize))},readCentralPart:function(g){this.versionMadeBy=g.readInt(2),g.skip(2),this.bitFlag=g.readInt(2),this.compressionMethod=g.readString(2),this.date=g.readDate(),this.crc32=g.readInt(4),this.compressedSize=g.readInt(4),this.uncompressedSize=g.readInt(4);var b=g.readInt(2);if(this.extraFieldsLength=g.readInt(2),this.fileCommentLength=g.readInt(2),this.diskNumberStart=g.readInt(2),this.internalFileAttributes=g.readInt(2),this.externalFileAttributes=g.readInt(4),this.localHeaderOffset=g.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");g.skip(b),this.readExtraFields(g),this.parseZIP64ExtraField(g),this.fileComment=g.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var g=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),g==0&&(this.dosPermissions=63&this.externalFileAttributes),g==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var g=o(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=g.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=g.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=g.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=g.readInt(4))}},readExtraFields:function(g){var b,x,v,D=g.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});g.index+4<D;)b=g.readInt(2),x=g.readInt(2),v=g.readData(x),this.extraFields[b]={id:b,length:x,value:v};g.setIndex(D)},handleUTF8:function(){var g=d.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var b=this.findExtraFieldUnicodePath();if(b!==null)this.fileNameStr=b;else{var x=a.transformTo(g,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(x)}var v=this.findExtraFieldUnicodeComment();if(v!==null)this.fileCommentStr=v;else{var D=a.transformTo(g,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(D)}}},findExtraFieldUnicodePath:function(){var g=this.extraFields[28789];if(g){var b=o(g.value);return b.readInt(1)!==1||l(this.fileName)!==b.readInt(4)?null:c.utf8decode(b.readData(g.length-5))}return null},findExtraFieldUnicodeComment:function(){var g=this.extraFields[25461];if(g){var b=o(g.value);return b.readInt(1)!==1||l(this.fileComment)!==b.readInt(4)?null:c.utf8decode(b.readData(g.length-5))}return null}},r.exports=p},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,r,i){function o(b,x,v){this.name=b,this.dir=v.dir,this.date=v.date,this.comment=v.comment,this.unixPermissions=v.unixPermissions,this.dosPermissions=v.dosPermissions,this._data=x,this._dataBinary=v.binary,this.options={compression:v.compression,compressionOptions:v.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),l=n("./utf8"),c=n("./compressedObject"),f=n("./stream/GenericWorker");o.prototype={internalStream:function(b){var x=null,v="string";try{if(!b)throw new Error("No output type specified.");var D=(v=b.toLowerCase())==="string"||v==="text";v!=="binarystring"&&v!=="text"||(v="string"),x=this._decompressWorker();var S=!this._dataBinary;S&&!D&&(x=x.pipe(new l.Utf8EncodeWorker)),!S&&D&&(x=x.pipe(new l.Utf8DecodeWorker))}catch(E){(x=new f("error")).error(E)}return new a(x,v,"")},async:function(b,x){return this.internalStream(b).accumulate(x)},nodeStream:function(b,x){return this.internalStream(b||"nodebuffer").toNodejsStream(x)},_compressWorker:function(b,x){if(this._data instanceof c&&this._data.compression.magic===b.magic)return this._data.getCompressedWorker();var v=this._decompressWorker();return this._dataBinary||(v=v.pipe(new l.Utf8EncodeWorker)),c.createWorkerFrom(v,b,x)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof f?this._data:new s(this._data)}};for(var d=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],p=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},g=0;g<d.length;g++)o.prototype[d[g]]=p;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,l=o.MutationObserver||o.WebKitMutationObserver;if(l){var c=0,f=new l(b),d=o.document.createTextNode("");f.observe(d,{characterData:!0}),a=function(){d.data=c=++c%2}}else if(o.setImmediate||o.MessageChannel===void 0)a="document"in o&&"onreadystatechange"in o.document.createElement("script")?function(){var x=o.document.createElement("script");x.onreadystatechange=function(){b(),x.onreadystatechange=null,x.parentNode.removeChild(x),x=null},o.document.documentElement.appendChild(x)}:function(){setTimeout(b,0)};else{var p=new o.MessageChannel;p.port1.onmessage=b,a=function(){p.port2.postMessage(0)}}var g=[];function b(){var x,v;s=!0;for(var D=g.length;D;){for(v=g,g=[],x=-1;++x<D;)v[x]();D=g.length}s=!1}r.exports=function(x){g.push(x)!==1||s||a()}}).call(this,typeof rt<"u"?rt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,r,i){var o=n("immediate");function a(){}var s={},l=["REJECTED"],c=["FULFILLED"],f=["PENDING"];function d(D){if(typeof D!="function")throw new TypeError("resolver must be a function");this.state=f,this.queue=[],this.outcome=void 0,D!==a&&x(this,D)}function p(D,S,E){this.promise=D,typeof S=="function"&&(this.onFulfilled=S,this.callFulfilled=this.otherCallFulfilled),typeof E=="function"&&(this.onRejected=E,this.callRejected=this.otherCallRejected)}function g(D,S,E){o(function(){var O;try{O=S(E)}catch(U){return s.reject(D,U)}O===D?s.reject(D,new TypeError("Cannot resolve promise with itself")):s.resolve(D,O)})}function b(D){var S=D&&D.then;if(D&&(typeof D=="object"||typeof D=="function")&&typeof S=="function")return function(){S.apply(D,arguments)}}function x(D,S){var E=!1;function O(N){E||(E=!0,s.reject(D,N))}function U(N){E||(E=!0,s.resolve(D,N))}var M=v(function(){S(U,O)});M.status==="error"&&O(M.value)}function v(D,S){var E={};try{E.value=D(S),E.status="success"}catch(O){E.status="error",E.value=O}return E}(r.exports=d).prototype.finally=function(D){if(typeof D!="function")return this;var S=this.constructor;return this.then(function(E){return S.resolve(D()).then(function(){return E})},function(E){return S.resolve(D()).then(function(){throw E})})},d.prototype.catch=function(D){return this.then(null,D)},d.prototype.then=function(D,S){if(typeof D!="function"&&this.state===c||typeof S!="function"&&this.state===l)return this;var E=new this.constructor(a);return this.state!==f?g(E,this.state===c?D:S,this.outcome):this.queue.push(new p(E,D,S)),E},p.prototype.callFulfilled=function(D){s.resolve(this.promise,D)},p.prototype.otherCallFulfilled=function(D){g(this.promise,this.onFulfilled,D)},p.prototype.callRejected=function(D){s.reject(this.promise,D)},p.prototype.otherCallRejected=function(D){g(this.promise,this.onRejected,D)},s.resolve=function(D,S){var E=v(b,S);if(E.status==="error")return s.reject(D,E.value);var O=E.value;if(O)x(D,O);else{D.state=c,D.outcome=S;for(var U=-1,M=D.queue.length;++U<M;)D.queue[U].callFulfilled(S)}return D},s.reject=function(D,S){D.state=l,D.outcome=S;for(var E=-1,O=D.queue.length;++E<O;)D.queue[E].callRejected(S);return D},d.resolve=function(D){return D instanceof this?D:s.resolve(new this(a),D)},d.reject=function(D){var S=new this(a);return s.reject(S,D)},d.all=function(D){var S=this;if(Object.prototype.toString.call(D)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=D.length,O=!1;if(!E)return this.resolve([]);for(var U=new Array(E),M=0,N=-1,q=new this(a);++N<E;)j(D[N],N);return q;function j(ae,ce){S.resolve(ae).then(function(F){U[ce]=F,++M!==E||O||(O=!0,s.resolve(q,U))},function(F){O||(O=!0,s.reject(q,F))})}},d.race=function(D){var S=this;if(Object.prototype.toString.call(D)!=="[object Array]")return this.reject(new TypeError("must be an array"));var E=D.length,O=!1;if(!E)return this.resolve([]);for(var U=-1,M=new this(a);++U<E;)N=D[U],S.resolve(N).then(function(q){O||(O=!0,s.resolve(M,q))},function(q){O||(O=!0,s.reject(M,q))});var N;return M}},{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"),l=n("./zlib/messages"),c=n("./zlib/zstream"),f=Object.prototype.toString,d=0,p=-1,g=0,b=8;function x(D){if(!(this instanceof x))return new x(D);this.options=a.assign({level:p,method:b,chunkSize:16384,windowBits:15,memLevel:8,strategy:g,to:""},D||{});var S=this.options;S.raw&&0<S.windowBits?S.windowBits=-S.windowBits:S.gzip&&0<S.windowBits&&S.windowBits<16&&(S.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var E=o.deflateInit2(this.strm,S.level,S.method,S.windowBits,S.memLevel,S.strategy);if(E!==d)throw new Error(l[E]);if(S.header&&o.deflateSetHeader(this.strm,S.header),S.dictionary){var O;if(O=typeof S.dictionary=="string"?s.string2buf(S.dictionary):f.call(S.dictionary)==="[object ArrayBuffer]"?new Uint8Array(S.dictionary):S.dictionary,(E=o.deflateSetDictionary(this.strm,O))!==d)throw new Error(l[E]);this._dict_set=!0}}function v(D,S){var E=new x(S);if(E.push(D,!0),E.err)throw E.msg||l[E.err];return E.result}x.prototype.push=function(D,S){var E,O,U=this.strm,M=this.options.chunkSize;if(this.ended)return!1;O=S===~~S?S:S===!0?4:0,typeof D=="string"?U.input=s.string2buf(D):f.call(D)==="[object ArrayBuffer]"?U.input=new Uint8Array(D):U.input=D,U.next_in=0,U.avail_in=U.input.length;do{if(U.avail_out===0&&(U.output=new a.Buf8(M),U.next_out=0,U.avail_out=M),(E=o.deflate(U,O))!==1&&E!==d)return this.onEnd(E),!(this.ended=!0);U.avail_out!==0&&(U.avail_in!==0||O!==4&&O!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(a.shrinkBuf(U.output,U.next_out))):this.onData(a.shrinkBuf(U.output,U.next_out)))}while((0<U.avail_in||U.avail_out===0)&&E!==1);return O===4?(E=o.deflateEnd(this.strm),this.onEnd(E),this.ended=!0,E===d):O!==2||(this.onEnd(d),!(U.avail_out=0))},x.prototype.onData=function(D){this.chunks.push(D)},x.prototype.onEnd=function(D){D===d&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=D,this.msg=this.strm.msg},i.Deflate=x,i.deflate=v,i.deflateRaw=function(D,S){return(S=S||{}).raw=!0,v(D,S)},i.gzip=function(D,S){return(S=S||{}).gzip=!0,v(D,S)}},{"./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"),l=n("./zlib/constants"),c=n("./zlib/messages"),f=n("./zlib/zstream"),d=n("./zlib/gzheader"),p=Object.prototype.toString;function g(x){if(!(this instanceof g))return new g(x);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},x||{});var v=this.options;v.raw&&0<=v.windowBits&&v.windowBits<16&&(v.windowBits=-v.windowBits,v.windowBits===0&&(v.windowBits=-15)),!(0<=v.windowBits&&v.windowBits<16)||x&&x.windowBits||(v.windowBits+=32),15<v.windowBits&&v.windowBits<48&&!(15&v.windowBits)&&(v.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var D=o.inflateInit2(this.strm,v.windowBits);if(D!==l.Z_OK)throw new Error(c[D]);this.header=new d,o.inflateGetHeader(this.strm,this.header)}function b(x,v){var D=new g(v);if(D.push(x,!0),D.err)throw D.msg||c[D.err];return D.result}g.prototype.push=function(x,v){var D,S,E,O,U,M,N=this.strm,q=this.options.chunkSize,j=this.options.dictionary,ae=!1;if(this.ended)return!1;S=v===~~v?v:v===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof x=="string"?N.input=s.binstring2buf(x):p.call(x)==="[object ArrayBuffer]"?N.input=new Uint8Array(x):N.input=x,N.next_in=0,N.avail_in=N.input.length;do{if(N.avail_out===0&&(N.output=new a.Buf8(q),N.next_out=0,N.avail_out=q),(D=o.inflate(N,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&j&&(M=typeof j=="string"?s.string2buf(j):p.call(j)==="[object ArrayBuffer]"?new Uint8Array(j):j,D=o.inflateSetDictionary(this.strm,M)),D===l.Z_BUF_ERROR&&ae===!0&&(D=l.Z_OK,ae=!1),D!==l.Z_STREAM_END&&D!==l.Z_OK)return this.onEnd(D),!(this.ended=!0);N.next_out&&(N.avail_out!==0&&D!==l.Z_STREAM_END&&(N.avail_in!==0||S!==l.Z_FINISH&&S!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(E=s.utf8border(N.output,N.next_out),O=N.next_out-E,U=s.buf2string(N.output,E),N.next_out=O,N.avail_out=q-O,O&&a.arraySet(N.output,N.output,E,O,0),this.onData(U)):this.onData(a.shrinkBuf(N.output,N.next_out)))),N.avail_in===0&&N.avail_out===0&&(ae=!0)}while((0<N.avail_in||N.avail_out===0)&&D!==l.Z_STREAM_END);return D===l.Z_STREAM_END&&(S=l.Z_FINISH),S===l.Z_FINISH?(D=o.inflateEnd(this.strm),this.onEnd(D),this.ended=!0,D===l.Z_OK):S!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(N.avail_out=0))},g.prototype.onData=function(x){this.chunks.push(x)},g.prototype.onEnd=function(x){x===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=x,this.msg=this.strm.msg},i.Inflate=g,i.inflate=b,i.inflateRaw=function(x,v){return(v=v||{}).raw=!0,b(x,v)},i.ungzip=b},{"./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(l){for(var c=Array.prototype.slice.call(arguments,1);c.length;){var f=c.shift();if(f){if(typeof f!="object")throw new TypeError(f+"must be non-object");for(var d in f)f.hasOwnProperty(d)&&(l[d]=f[d])}}return l},i.shrinkBuf=function(l,c){return l.length===c?l:l.subarray?l.subarray(0,c):(l.length=c,l)};var a={arraySet:function(l,c,f,d,p){if(c.subarray&&l.subarray)l.set(c.subarray(f,f+d),p);else for(var g=0;g<d;g++)l[p+g]=c[f+g]},flattenChunks:function(l){var c,f,d,p,g,b;for(c=d=0,f=l.length;c<f;c++)d+=l[c].length;for(b=new Uint8Array(d),c=p=0,f=l.length;c<f;c++)g=l[c],b.set(g,p),p+=g.length;return b}},s={arraySet:function(l,c,f,d,p){for(var g=0;g<d;g++)l[p+g]=c[f+g]},flattenChunks:function(l){return[].concat.apply([],l)}};i.setTyped=function(l){l?(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 l=new o.Buf8(256),c=0;c<256;c++)l[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function f(d,p){if(p<65537&&(d.subarray&&s||!d.subarray&&a))return String.fromCharCode.apply(null,o.shrinkBuf(d,p));for(var g="",b=0;b<p;b++)g+=String.fromCharCode(d[b]);return g}l[254]=l[254]=1,i.string2buf=function(d){var p,g,b,x,v,D=d.length,S=0;for(x=0;x<D;x++)(64512&(g=d.charCodeAt(x)))==55296&&x+1<D&&(64512&(b=d.charCodeAt(x+1)))==56320&&(g=65536+(g-55296<<10)+(b-56320),x++),S+=g<128?1:g<2048?2:g<65536?3:4;for(p=new o.Buf8(S),x=v=0;v<S;x++)(64512&(g=d.charCodeAt(x)))==55296&&x+1<D&&(64512&(b=d.charCodeAt(x+1)))==56320&&(g=65536+(g-55296<<10)+(b-56320),x++),g<128?p[v++]=g:(g<2048?p[v++]=192|g>>>6:(g<65536?p[v++]=224|g>>>12:(p[v++]=240|g>>>18,p[v++]=128|g>>>12&63),p[v++]=128|g>>>6&63),p[v++]=128|63&g);return p},i.buf2binstring=function(d){return f(d,d.length)},i.binstring2buf=function(d){for(var p=new o.Buf8(d.length),g=0,b=p.length;g<b;g++)p[g]=d.charCodeAt(g);return p},i.buf2string=function(d,p){var g,b,x,v,D=p||d.length,S=new Array(2*D);for(g=b=0;g<D;)if((x=d[g++])<128)S[b++]=x;else if(4<(v=l[x]))S[b++]=65533,g+=v-1;else{for(x&=v===2?31:v===3?15:7;1<v&&g<D;)x=x<<6|63&d[g++],v--;1<v?S[b++]=65533:x<65536?S[b++]=x:(x-=65536,S[b++]=55296|x>>10&1023,S[b++]=56320|1023&x)}return f(S,b)},i.utf8border=function(d,p){var g;for((p=p||d.length)>d.length&&(p=d.length),g=p-1;0<=g&&(192&d[g])==128;)g--;return g<0||g===0?p:g+l[d[g]]>p?g:p}},{"./common":41}],43:[function(n,r,i){r.exports=function(o,a,s,l){for(var c=65535&o|0,f=o>>>16&65535|0,d=0;s!==0;){for(s-=d=2e3<s?2e3:s;f=f+(c=c+a[l++]|0)|0,--d;);c%=65521,f%=65521}return c|f<<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=[],l=0;l<256;l++){a=l;for(var c=0;c<8;c++)a=1&a?3988292384^a>>>1:a>>>1;s[l]=a}return s}();r.exports=function(a,s,l,c){var f=o,d=c+l;a^=-1;for(var p=c;p<d;p++)a=a>>>8^f[255&(a^s[p])];return-1^a}},{}],46:[function(n,r,i){var o,a=n("../utils/common"),s=n("./trees"),l=n("./adler32"),c=n("./crc32"),f=n("./messages"),d=0,p=4,g=0,b=-2,x=-1,v=4,D=2,S=8,E=9,O=286,U=30,M=19,N=2*O+1,q=15,j=3,ae=258,ce=ae+j+1,F=42,Z=113,k=1,re=2,$=3,G=4;function J(A,ye){return A.msg=f[ye],ye}function X(A){return(A<<1)-(4<A?9:0)}function ie(A){for(var ye=A.length;0<=--ye;)A[ye]=0}function H(A){var ye=A.state,fe=ye.pending;fe>A.avail_out&&(fe=A.avail_out),fe!==0&&(a.arraySet(A.output,ye.pending_buf,ye.pending_out,fe,A.next_out),A.next_out+=fe,ye.pending_out+=fe,A.total_out+=fe,A.avail_out-=fe,ye.pending-=fe,ye.pending===0&&(ye.pending_out=0))}function P(A,ye){s._tr_flush_block(A,0<=A.block_start?A.block_start:-1,A.strstart-A.block_start,ye),A.block_start=A.strstart,H(A.strm)}function de(A,ye){A.pending_buf[A.pending++]=ye}function De(A,ye){A.pending_buf[A.pending++]=ye>>>8&255,A.pending_buf[A.pending++]=255&ye}function me(A,ye){var fe,Q,V=A.max_chain_length,se=A.strstart,Se=A.prev_length,ke=A.nice_match,le=A.strstart>A.w_size-ce?A.strstart-(A.w_size-ce):0,ee=A.window,ne=A.w_mask,ue=A.prev,xe=A.strstart+ae,Me=ee[se+Se-1],Ne=ee[se+Se];A.prev_length>=A.good_match&&(V>>=2),ke>A.lookahead&&(ke=A.lookahead);do if(ee[(fe=ye)+Se]===Ne&&ee[fe+Se-1]===Me&&ee[fe]===ee[se]&&ee[++fe]===ee[se+1]){se+=2,fe++;do;while(ee[++se]===ee[++fe]&&ee[++se]===ee[++fe]&&ee[++se]===ee[++fe]&&ee[++se]===ee[++fe]&&ee[++se]===ee[++fe]&&ee[++se]===ee[++fe]&&ee[++se]===ee[++fe]&&ee[++se]===ee[++fe]&&se<xe);if(Q=ae-(xe-se),se=xe-ae,Se<Q){if(A.match_start=ye,ke<=(Se=Q))break;Me=ee[se+Se-1],Ne=ee[se+Se]}}while((ye=ue[ye&ne])>le&&--V!=0);return Se<=A.lookahead?Se:A.lookahead}function _e(A){var ye,fe,Q,V,se,Se,ke,le,ee,ne,ue=A.w_size;do{if(V=A.window_size-A.lookahead-A.strstart,A.strstart>=ue+(ue-ce)){for(a.arraySet(A.window,A.window,ue,ue,0),A.match_start-=ue,A.strstart-=ue,A.block_start-=ue,ye=fe=A.hash_size;Q=A.head[--ye],A.head[ye]=ue<=Q?Q-ue:0,--fe;);for(ye=fe=ue;Q=A.prev[--ye],A.prev[ye]=ue<=Q?Q-ue:0,--fe;);V+=ue}if(A.strm.avail_in===0)break;if(Se=A.strm,ke=A.window,le=A.strstart+A.lookahead,ee=V,ne=void 0,ne=Se.avail_in,ee<ne&&(ne=ee),fe=ne===0?0:(Se.avail_in-=ne,a.arraySet(ke,Se.input,Se.next_in,ne,le),Se.state.wrap===1?Se.adler=l(Se.adler,ke,ne,le):Se.state.wrap===2&&(Se.adler=c(Se.adler,ke,ne,le)),Se.next_in+=ne,Se.total_in+=ne,ne),A.lookahead+=fe,A.lookahead+A.insert>=j)for(se=A.strstart-A.insert,A.ins_h=A.window[se],A.ins_h=(A.ins_h<<A.hash_shift^A.window[se+1])&A.hash_mask;A.insert&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[se+j-1])&A.hash_mask,A.prev[se&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=se,se++,A.insert--,!(A.lookahead+A.insert<j)););}while(A.lookahead<ce&&A.strm.avail_in!==0)}function $e(A,ye){for(var fe,Q;;){if(A.lookahead<ce){if(_e(A),A.lookahead<ce&&ye===d)return k;if(A.lookahead===0)break}if(fe=0,A.lookahead>=j&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+j-1])&A.hash_mask,fe=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),fe!==0&&A.strstart-fe<=A.w_size-ce&&(A.match_length=me(A,fe)),A.match_length>=j)if(Q=s._tr_tally(A,A.strstart-A.match_start,A.match_length-j),A.lookahead-=A.match_length,A.match_length<=A.max_lazy_match&&A.lookahead>=j){for(A.match_length--;A.strstart++,A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+j-1])&A.hash_mask,fe=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart,--A.match_length!=0;);A.strstart++}else A.strstart+=A.match_length,A.match_length=0,A.ins_h=A.window[A.strstart],A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+1])&A.hash_mask;else Q=s._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++;if(Q&&(P(A,!1),A.strm.avail_out===0))return k}return A.insert=A.strstart<j-1?A.strstart:j-1,ye===p?(P(A,!0),A.strm.avail_out===0?$:G):A.last_lit&&(P(A,!1),A.strm.avail_out===0)?k:re}function Le(A,ye){for(var fe,Q,V;;){if(A.lookahead<ce){if(_e(A),A.lookahead<ce&&ye===d)return k;if(A.lookahead===0)break}if(fe=0,A.lookahead>=j&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+j-1])&A.hash_mask,fe=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),A.prev_length=A.match_length,A.prev_match=A.match_start,A.match_length=j-1,fe!==0&&A.prev_length<A.max_lazy_match&&A.strstart-fe<=A.w_size-ce&&(A.match_length=me(A,fe),A.match_length<=5&&(A.strategy===1||A.match_length===j&&4096<A.strstart-A.match_start)&&(A.match_length=j-1)),A.prev_length>=j&&A.match_length<=A.prev_length){for(V=A.strstart+A.lookahead-j,Q=s._tr_tally(A,A.strstart-1-A.prev_match,A.prev_length-j),A.lookahead-=A.prev_length-1,A.prev_length-=2;++A.strstart<=V&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+j-1])&A.hash_mask,fe=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),--A.prev_length!=0;);if(A.match_available=0,A.match_length=j-1,A.strstart++,Q&&(P(A,!1),A.strm.avail_out===0))return k}else if(A.match_available){if((Q=s._tr_tally(A,0,A.window[A.strstart-1]))&&P(A,!1),A.strstart++,A.lookahead--,A.strm.avail_out===0)return k}else A.match_available=1,A.strstart++,A.lookahead--}return A.match_available&&(Q=s._tr_tally(A,0,A.window[A.strstart-1]),A.match_available=0),A.insert=A.strstart<j-1?A.strstart:j-1,ye===p?(P(A,!0),A.strm.avail_out===0?$:G):A.last_lit&&(P(A,!1),A.strm.avail_out===0)?k:re}function ze(A,ye,fe,Q,V){this.good_length=A,this.max_lazy=ye,this.nice_length=fe,this.max_chain=Q,this.func=V}function tt(){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=S,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*N),this.dyn_dtree=new a.Buf16(2*(2*U+1)),this.bl_tree=new a.Buf16(2*(2*M+1)),ie(this.dyn_ltree),ie(this.dyn_dtree),ie(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(q+1),this.heap=new a.Buf16(2*O+1),ie(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*O+1),ie(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 oe(A){var ye;return A&&A.state?(A.total_in=A.total_out=0,A.data_type=D,(ye=A.state).pending=0,ye.pending_out=0,ye.wrap<0&&(ye.wrap=-ye.wrap),ye.status=ye.wrap?F:Z,A.adler=ye.wrap===2?0:1,ye.last_flush=d,s._tr_init(ye),g):J(A,b)}function Ee(A){var ye=oe(A);return ye===g&&function(fe){fe.window_size=2*fe.w_size,ie(fe.head),fe.max_lazy_match=o[fe.level].max_lazy,fe.good_match=o[fe.level].good_length,fe.nice_match=o[fe.level].nice_length,fe.max_chain_length=o[fe.level].max_chain,fe.strstart=0,fe.block_start=0,fe.lookahead=0,fe.insert=0,fe.match_length=fe.prev_length=j-1,fe.match_available=0,fe.ins_h=0}(A.state),ye}function Re(A,ye,fe,Q,V,se){if(!A)return b;var Se=1;if(ye===x&&(ye=6),Q<0?(Se=0,Q=-Q):15<Q&&(Se=2,Q-=16),V<1||E<V||fe!==S||Q<8||15<Q||ye<0||9<ye||se<0||v<se)return J(A,b);Q===8&&(Q=9);var ke=new tt;return(A.state=ke).strm=A,ke.wrap=Se,ke.gzhead=null,ke.w_bits=Q,ke.w_size=1<<ke.w_bits,ke.w_mask=ke.w_size-1,ke.hash_bits=V+7,ke.hash_size=1<<ke.hash_bits,ke.hash_mask=ke.hash_size-1,ke.hash_shift=~~((ke.hash_bits+j-1)/j),ke.window=new a.Buf8(2*ke.w_size),ke.head=new a.Buf16(ke.hash_size),ke.prev=new a.Buf16(ke.w_size),ke.lit_bufsize=1<<V+6,ke.pending_buf_size=4*ke.lit_bufsize,ke.pending_buf=new a.Buf8(ke.pending_buf_size),ke.d_buf=1*ke.lit_bufsize,ke.l_buf=3*ke.lit_bufsize,ke.level=ye,ke.strategy=se,ke.method=fe,Ee(A)}o=[new ze(0,0,0,0,function(A,ye){var fe=65535;for(fe>A.pending_buf_size-5&&(fe=A.pending_buf_size-5);;){if(A.lookahead<=1){if(_e(A),A.lookahead===0&&ye===d)return k;if(A.lookahead===0)break}A.strstart+=A.lookahead,A.lookahead=0;var Q=A.block_start+fe;if((A.strstart===0||A.strstart>=Q)&&(A.lookahead=A.strstart-Q,A.strstart=Q,P(A,!1),A.strm.avail_out===0)||A.strstart-A.block_start>=A.w_size-ce&&(P(A,!1),A.strm.avail_out===0))return k}return A.insert=0,ye===p?(P(A,!0),A.strm.avail_out===0?$:G):(A.strstart>A.block_start&&(P(A,!1),A.strm.avail_out),k)}),new ze(4,4,8,4,$e),new ze(4,5,16,8,$e),new ze(4,6,32,32,$e),new ze(4,4,16,16,Le),new ze(8,16,32,32,Le),new ze(8,16,128,128,Le),new ze(8,32,128,256,Le),new ze(32,128,258,1024,Le),new ze(32,258,258,4096,Le)],i.deflateInit=function(A,ye){return Re(A,ye,S,15,8,0)},i.deflateInit2=Re,i.deflateReset=Ee,i.deflateResetKeep=oe,i.deflateSetHeader=function(A,ye){return A&&A.state?A.state.wrap!==2?b:(A.state.gzhead=ye,g):b},i.deflate=function(A,ye){var fe,Q,V,se;if(!A||!A.state||5<ye||ye<0)return A?J(A,b):b;if(Q=A.state,!A.output||!A.input&&A.avail_in!==0||Q.status===666&&ye!==p)return J(A,A.avail_out===0?-5:b);if(Q.strm=A,fe=Q.last_flush,Q.last_flush=ye,Q.status===F)if(Q.wrap===2)A.adler=0,de(Q,31),de(Q,139),de(Q,8),Q.gzhead?(de(Q,(Q.gzhead.text?1:0)+(Q.gzhead.hcrc?2:0)+(Q.gzhead.extra?4:0)+(Q.gzhead.name?8:0)+(Q.gzhead.comment?16:0)),de(Q,255&Q.gzhead.time),de(Q,Q.gzhead.time>>8&255),de(Q,Q.gzhead.time>>16&255),de(Q,Q.gzhead.time>>24&255),de(Q,Q.level===9?2:2<=Q.strategy||Q.level<2?4:0),de(Q,255&Q.gzhead.os),Q.gzhead.extra&&Q.gzhead.extra.length&&(de(Q,255&Q.gzhead.extra.length),de(Q,Q.gzhead.extra.length>>8&255)),Q.gzhead.hcrc&&(A.adler=c(A.adler,Q.pending_buf,Q.pending,0)),Q.gzindex=0,Q.status=69):(de(Q,0),de(Q,0),de(Q,0),de(Q,0),de(Q,0),de(Q,Q.level===9?2:2<=Q.strategy||Q.level<2?4:0),de(Q,3),Q.status=Z);else{var Se=S+(Q.w_bits-8<<4)<<8;Se|=(2<=Q.strategy||Q.level<2?0:Q.level<6?1:Q.level===6?2:3)<<6,Q.strstart!==0&&(Se|=32),Se+=31-Se%31,Q.status=Z,De(Q,Se),Q.strstart!==0&&(De(Q,A.adler>>>16),De(Q,65535&A.adler)),A.adler=1}if(Q.status===69)if(Q.gzhead.extra){for(V=Q.pending;Q.gzindex<(65535&Q.gzhead.extra.length)&&(Q.pending!==Q.pending_buf_size||(Q.gzhead.hcrc&&Q.pending>V&&(A.adler=c(A.adler,Q.pending_buf,Q.pending-V,V)),H(A),V=Q.pending,Q.pending!==Q.pending_buf_size));)de(Q,255&Q.gzhead.extra[Q.gzindex]),Q.gzindex++;Q.gzhead.hcrc&&Q.pending>V&&(A.adler=c(A.adler,Q.pending_buf,Q.pending-V,V)),Q.gzindex===Q.gzhead.extra.length&&(Q.gzindex=0,Q.status=73)}else Q.status=73;if(Q.status===73)if(Q.gzhead.name){V=Q.pending;do{if(Q.pending===Q.pending_buf_size&&(Q.gzhead.hcrc&&Q.pending>V&&(A.adler=c(A.adler,Q.pending_buf,Q.pending-V,V)),H(A),V=Q.pending,Q.pending===Q.pending_buf_size)){se=1;break}se=Q.gzindex<Q.gzhead.name.length?255&Q.gzhead.name.charCodeAt(Q.gzindex++):0,de(Q,se)}while(se!==0);Q.gzhead.hcrc&&Q.pending>V&&(A.adler=c(A.adler,Q.pending_buf,Q.pending-V,V)),se===0&&(Q.gzindex=0,Q.status=91)}else Q.status=91;if(Q.status===91)if(Q.gzhead.comment){V=Q.pending;do{if(Q.pending===Q.pending_buf_size&&(Q.gzhead.hcrc&&Q.pending>V&&(A.adler=c(A.adler,Q.pending_buf,Q.pending-V,V)),H(A),V=Q.pending,Q.pending===Q.pending_buf_size)){se=1;break}se=Q.gzindex<Q.gzhead.comment.length?255&Q.gzhead.comment.charCodeAt(Q.gzindex++):0,de(Q,se)}while(se!==0);Q.gzhead.hcrc&&Q.pending>V&&(A.adler=c(A.adler,Q.pending_buf,Q.pending-V,V)),se===0&&(Q.status=103)}else Q.status=103;if(Q.status===103&&(Q.gzhead.hcrc?(Q.pending+2>Q.pending_buf_size&&H(A),Q.pending+2<=Q.pending_buf_size&&(de(Q,255&A.adler),de(Q,A.adler>>8&255),A.adler=0,Q.status=Z)):Q.status=Z),Q.pending!==0){if(H(A),A.avail_out===0)return Q.last_flush=-1,g}else if(A.avail_in===0&&X(ye)<=X(fe)&&ye!==p)return J(A,-5);if(Q.status===666&&A.avail_in!==0)return J(A,-5);if(A.avail_in!==0||Q.lookahead!==0||ye!==d&&Q.status!==666){var ke=Q.strategy===2?function(le,ee){for(var ne;;){if(le.lookahead===0&&(_e(le),le.lookahead===0)){if(ee===d)return k;break}if(le.match_length=0,ne=s._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++,ne&&(P(le,!1),le.strm.avail_out===0))return k}return le.insert=0,ee===p?(P(le,!0),le.strm.avail_out===0?$:G):le.last_lit&&(P(le,!1),le.strm.avail_out===0)?k:re}(Q,ye):Q.strategy===3?function(le,ee){for(var ne,ue,xe,Me,Ne=le.window;;){if(le.lookahead<=ae){if(_e(le),le.lookahead<=ae&&ee===d)return k;if(le.lookahead===0)break}if(le.match_length=0,le.lookahead>=j&&0<le.strstart&&(ue=Ne[xe=le.strstart-1])===Ne[++xe]&&ue===Ne[++xe]&&ue===Ne[++xe]){Me=le.strstart+ae;do;while(ue===Ne[++xe]&&ue===Ne[++xe]&&ue===Ne[++xe]&&ue===Ne[++xe]&&ue===Ne[++xe]&&ue===Ne[++xe]&&ue===Ne[++xe]&&ue===Ne[++xe]&&xe<Me);le.match_length=ae-(Me-xe),le.match_length>le.lookahead&&(le.match_length=le.lookahead)}if(le.match_length>=j?(ne=s._tr_tally(le,1,le.match_length-j),le.lookahead-=le.match_length,le.strstart+=le.match_length,le.match_length=0):(ne=s._tr_tally(le,0,le.window[le.strstart]),le.lookahead--,le.strstart++),ne&&(P(le,!1),le.strm.avail_out===0))return k}return le.insert=0,ee===p?(P(le,!0),le.strm.avail_out===0?$:G):le.last_lit&&(P(le,!1),le.strm.avail_out===0)?k:re}(Q,ye):o[Q.level].func(Q,ye);if(ke!==$&&ke!==G||(Q.status=666),ke===k||ke===$)return A.avail_out===0&&(Q.last_flush=-1),g;if(ke===re&&(ye===1?s._tr_align(Q):ye!==5&&(s._tr_stored_block(Q,0,0,!1),ye===3&&(ie(Q.head),Q.lookahead===0&&(Q.strstart=0,Q.block_start=0,Q.insert=0))),H(A),A.avail_out===0))return Q.last_flush=-1,g}return ye!==p?g:Q.wrap<=0?1:(Q.wrap===2?(de(Q,255&A.adler),de(Q,A.adler>>8&255),de(Q,A.adler>>16&255),de(Q,A.adler>>24&255),de(Q,255&A.total_in),de(Q,A.total_in>>8&255),de(Q,A.total_in>>16&255),de(Q,A.total_in>>24&255)):(De(Q,A.adler>>>16),De(Q,65535&A.adler)),H(A),0<Q.wrap&&(Q.wrap=-Q.wrap),Q.pending!==0?g:1)},i.deflateEnd=function(A){var ye;return A&&A.state?(ye=A.state.status)!==F&&ye!==69&&ye!==73&&ye!==91&&ye!==103&&ye!==Z&&ye!==666?J(A,b):(A.state=null,ye===Z?J(A,-3):g):b},i.deflateSetDictionary=function(A,ye){var fe,Q,V,se,Se,ke,le,ee,ne=ye.length;if(!A||!A.state||(se=(fe=A.state).wrap)===2||se===1&&fe.status!==F||fe.lookahead)return b;for(se===1&&(A.adler=l(A.adler,ye,ne,0)),fe.wrap=0,ne>=fe.w_size&&(se===0&&(ie(fe.head),fe.strstart=0,fe.block_start=0,fe.insert=0),ee=new a.Buf8(fe.w_size),a.arraySet(ee,ye,ne-fe.w_size,fe.w_size,0),ye=ee,ne=fe.w_size),Se=A.avail_in,ke=A.next_in,le=A.input,A.avail_in=ne,A.next_in=0,A.input=ye,_e(fe);fe.lookahead>=j;){for(Q=fe.strstart,V=fe.lookahead-(j-1);fe.ins_h=(fe.ins_h<<fe.hash_shift^fe.window[Q+j-1])&fe.hash_mask,fe.prev[Q&fe.w_mask]=fe.head[fe.ins_h],fe.head[fe.ins_h]=Q,Q++,--V;);fe.strstart=Q,fe.lookahead=j-1,_e(fe)}return fe.strstart+=fe.lookahead,fe.block_start=fe.strstart,fe.insert=fe.lookahead,fe.lookahead=0,fe.match_length=fe.prev_length=j-1,fe.match_available=0,A.next_in=ke,A.input=le,A.avail_in=Se,fe.wrap=se,g},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,l,c,f,d,p,g,b,x,v,D,S,E,O,U,M,N,q,j,ae,ce,F,Z,k,re;s=o.state,l=o.next_in,k=o.input,c=l+(o.avail_in-5),f=o.next_out,re=o.output,d=f-(a-o.avail_out),p=f+(o.avail_out-257),g=s.dmax,b=s.wsize,x=s.whave,v=s.wnext,D=s.window,S=s.hold,E=s.bits,O=s.lencode,U=s.distcode,M=(1<<s.lenbits)-1,N=(1<<s.distbits)-1;e:do{E<15&&(S+=k[l++]<<E,E+=8,S+=k[l++]<<E,E+=8),q=O[S&M];t:for(;;){if(S>>>=j=q>>>24,E-=j,(j=q>>>16&255)===0)re[f++]=65535&q;else{if(!(16&j)){if(!(64&j)){q=O[(65535&q)+(S&(1<<j)-1)];continue t}if(32&j){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}ae=65535&q,(j&=15)&&(E<j&&(S+=k[l++]<<E,E+=8),ae+=S&(1<<j)-1,S>>>=j,E-=j),E<15&&(S+=k[l++]<<E,E+=8,S+=k[l++]<<E,E+=8),q=U[S&N];n:for(;;){if(S>>>=j=q>>>24,E-=j,!(16&(j=q>>>16&255))){if(!(64&j)){q=U[(65535&q)+(S&(1<<j)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(ce=65535&q,E<(j&=15)&&(S+=k[l++]<<E,(E+=8)<j&&(S+=k[l++]<<E,E+=8)),g<(ce+=S&(1<<j)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(S>>>=j,E-=j,(j=f-d)<ce){if(x<(j=ce-j)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(Z=D,(F=0)===v){if(F+=b-j,j<ae){for(ae-=j;re[f++]=D[F++],--j;);F=f-ce,Z=re}}else if(v<j){if(F+=b+v-j,(j-=v)<ae){for(ae-=j;re[f++]=D[F++],--j;);if(F=0,v<ae){for(ae-=j=v;re[f++]=D[F++],--j;);F=f-ce,Z=re}}}else if(F+=v-j,j<ae){for(ae-=j;re[f++]=D[F++],--j;);F=f-ce,Z=re}for(;2<ae;)re[f++]=Z[F++],re[f++]=Z[F++],re[f++]=Z[F++],ae-=3;ae&&(re[f++]=Z[F++],1<ae&&(re[f++]=Z[F++]))}else{for(F=f-ce;re[f++]=re[F++],re[f++]=re[F++],re[f++]=re[F++],2<(ae-=3););ae&&(re[f++]=re[F++],1<ae&&(re[f++]=re[F++]))}break}}break}}while(l<c&&f<p);l-=ae=E>>3,S&=(1<<(E-=ae<<3))-1,o.next_in=l,o.next_out=f,o.avail_in=l<c?c-l+5:5-(l-c),o.avail_out=f<p?p-f+257:257-(f-p),s.hold=S,s.bits=E}},{}],49:[function(n,r,i){var o=n("../utils/common"),a=n("./adler32"),s=n("./crc32"),l=n("./inffast"),c=n("./inftrees"),f=1,d=2,p=0,g=-2,b=1,x=852,v=592;function D(F){return(F>>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function S(){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 E(F){var Z;return F&&F.state?(Z=F.state,F.total_in=F.total_out=Z.total=0,F.msg="",Z.wrap&&(F.adler=1&Z.wrap),Z.mode=b,Z.last=0,Z.havedict=0,Z.dmax=32768,Z.head=null,Z.hold=0,Z.bits=0,Z.lencode=Z.lendyn=new o.Buf32(x),Z.distcode=Z.distdyn=new o.Buf32(v),Z.sane=1,Z.back=-1,p):g}function O(F){var Z;return F&&F.state?((Z=F.state).wsize=0,Z.whave=0,Z.wnext=0,E(F)):g}function U(F,Z){var k,re;return F&&F.state?(re=F.state,Z<0?(k=0,Z=-Z):(k=1+(Z>>4),Z<48&&(Z&=15)),Z&&(Z<8||15<Z)?g:(re.window!==null&&re.wbits!==Z&&(re.window=null),re.wrap=k,re.wbits=Z,O(F))):g}function M(F,Z){var k,re;return F?(re=new S,(F.state=re).window=null,(k=U(F,Z))!==p&&(F.state=null),k):g}var N,q,j=!0;function ae(F){if(j){var Z;for(N=new o.Buf32(512),q=new o.Buf32(32),Z=0;Z<144;)F.lens[Z++]=8;for(;Z<256;)F.lens[Z++]=9;for(;Z<280;)F.lens[Z++]=7;for(;Z<288;)F.lens[Z++]=8;for(c(f,F.lens,0,288,N,0,F.work,{bits:9}),Z=0;Z<32;)F.lens[Z++]=5;c(d,F.lens,0,32,q,0,F.work,{bits:5}),j=!1}F.lencode=N,F.lenbits=9,F.distcode=q,F.distbits=5}function ce(F,Z,k,re){var $,G=F.state;return G.window===null&&(G.wsize=1<<G.wbits,G.wnext=0,G.whave=0,G.window=new o.Buf8(G.wsize)),re>=G.wsize?(o.arraySet(G.window,Z,k-G.wsize,G.wsize,0),G.wnext=0,G.whave=G.wsize):(re<($=G.wsize-G.wnext)&&($=re),o.arraySet(G.window,Z,k-re,$,G.wnext),(re-=$)?(o.arraySet(G.window,Z,k-re,re,0),G.wnext=re,G.whave=G.wsize):(G.wnext+=$,G.wnext===G.wsize&&(G.wnext=0),G.whave<G.wsize&&(G.whave+=$))),0}i.inflateReset=O,i.inflateReset2=U,i.inflateResetKeep=E,i.inflateInit=function(F){return M(F,15)},i.inflateInit2=M,i.inflate=function(F,Z){var k,re,$,G,J,X,ie,H,P,de,De,me,_e,$e,Le,ze,tt,oe,Ee,Re,A,ye,fe,Q,V=0,se=new o.Buf8(4),Se=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!F||!F.state||!F.output||!F.input&&F.avail_in!==0)return g;(k=F.state).mode===12&&(k.mode=13),J=F.next_out,$=F.output,ie=F.avail_out,G=F.next_in,re=F.input,X=F.avail_in,H=k.hold,P=k.bits,de=X,De=ie,ye=p;e:for(;;)switch(k.mode){case b:if(k.wrap===0){k.mode=13;break}for(;P<16;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(2&k.wrap&&H===35615){se[k.check=0]=255&H,se[1]=H>>>8&255,k.check=s(k.check,se,2,0),P=H=0,k.mode=2;break}if(k.flags=0,k.head&&(k.head.done=!1),!(1&k.wrap)||(((255&H)<<8)+(H>>8))%31){F.msg="incorrect header check",k.mode=30;break}if((15&H)!=8){F.msg="unknown compression method",k.mode=30;break}if(P-=4,A=8+(15&(H>>>=4)),k.wbits===0)k.wbits=A;else if(A>k.wbits){F.msg="invalid window size",k.mode=30;break}k.dmax=1<<A,F.adler=k.check=1,k.mode=512&H?10:12,P=H=0;break;case 2:for(;P<16;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(k.flags=H,(255&k.flags)!=8){F.msg="unknown compression method",k.mode=30;break}if(57344&k.flags){F.msg="unknown header flags set",k.mode=30;break}k.head&&(k.head.text=H>>8&1),512&k.flags&&(se[0]=255&H,se[1]=H>>>8&255,k.check=s(k.check,se,2,0)),P=H=0,k.mode=3;case 3:for(;P<32;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}k.head&&(k.head.time=H),512&k.flags&&(se[0]=255&H,se[1]=H>>>8&255,se[2]=H>>>16&255,se[3]=H>>>24&255,k.check=s(k.check,se,4,0)),P=H=0,k.mode=4;case 4:for(;P<16;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}k.head&&(k.head.xflags=255&H,k.head.os=H>>8),512&k.flags&&(se[0]=255&H,se[1]=H>>>8&255,k.check=s(k.check,se,2,0)),P=H=0,k.mode=5;case 5:if(1024&k.flags){for(;P<16;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}k.length=H,k.head&&(k.head.extra_len=H),512&k.flags&&(se[0]=255&H,se[1]=H>>>8&255,k.check=s(k.check,se,2,0)),P=H=0}else k.head&&(k.head.extra=null);k.mode=6;case 6:if(1024&k.flags&&(X<(me=k.length)&&(me=X),me&&(k.head&&(A=k.head.extra_len-k.length,k.head.extra||(k.head.extra=new Array(k.head.extra_len)),o.arraySet(k.head.extra,re,G,me,A)),512&k.flags&&(k.check=s(k.check,re,me,G)),X-=me,G+=me,k.length-=me),k.length))break e;k.length=0,k.mode=7;case 7:if(2048&k.flags){if(X===0)break e;for(me=0;A=re[G+me++],k.head&&A&&k.length<65536&&(k.head.name+=String.fromCharCode(A)),A&&me<X;);if(512&k.flags&&(k.check=s(k.check,re,me,G)),X-=me,G+=me,A)break e}else k.head&&(k.head.name=null);k.length=0,k.mode=8;case 8:if(4096&k.flags){if(X===0)break e;for(me=0;A=re[G+me++],k.head&&A&&k.length<65536&&(k.head.comment+=String.fromCharCode(A)),A&&me<X;);if(512&k.flags&&(k.check=s(k.check,re,me,G)),X-=me,G+=me,A)break e}else k.head&&(k.head.comment=null);k.mode=9;case 9:if(512&k.flags){for(;P<16;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(H!==(65535&k.check)){F.msg="header crc mismatch",k.mode=30;break}P=H=0}k.head&&(k.head.hcrc=k.flags>>9&1,k.head.done=!0),F.adler=k.check=0,k.mode=12;break;case 10:for(;P<32;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}F.adler=k.check=D(H),P=H=0,k.mode=11;case 11:if(k.havedict===0)return F.next_out=J,F.avail_out=ie,F.next_in=G,F.avail_in=X,k.hold=H,k.bits=P,2;F.adler=k.check=1,k.mode=12;case 12:if(Z===5||Z===6)break e;case 13:if(k.last){H>>>=7&P,P-=7&P,k.mode=27;break}for(;P<3;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}switch(k.last=1&H,P-=1,3&(H>>>=1)){case 0:k.mode=14;break;case 1:if(ae(k),k.mode=20,Z!==6)break;H>>>=2,P-=2;break e;case 2:k.mode=17;break;case 3:F.msg="invalid block type",k.mode=30}H>>>=2,P-=2;break;case 14:for(H>>>=7&P,P-=7&P;P<32;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if((65535&H)!=(H>>>16^65535)){F.msg="invalid stored block lengths",k.mode=30;break}if(k.length=65535&H,P=H=0,k.mode=15,Z===6)break e;case 15:k.mode=16;case 16:if(me=k.length){if(X<me&&(me=X),ie<me&&(me=ie),me===0)break e;o.arraySet($,re,G,me,J),X-=me,G+=me,ie-=me,J+=me,k.length-=me;break}k.mode=12;break;case 17:for(;P<14;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(k.nlen=257+(31&H),H>>>=5,P-=5,k.ndist=1+(31&H),H>>>=5,P-=5,k.ncode=4+(15&H),H>>>=4,P-=4,286<k.nlen||30<k.ndist){F.msg="too many length or distance symbols",k.mode=30;break}k.have=0,k.mode=18;case 18:for(;k.have<k.ncode;){for(;P<3;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}k.lens[Se[k.have++]]=7&H,H>>>=3,P-=3}for(;k.have<19;)k.lens[Se[k.have++]]=0;if(k.lencode=k.lendyn,k.lenbits=7,fe={bits:k.lenbits},ye=c(0,k.lens,0,19,k.lencode,0,k.work,fe),k.lenbits=fe.bits,ye){F.msg="invalid code lengths set",k.mode=30;break}k.have=0,k.mode=19;case 19:for(;k.have<k.nlen+k.ndist;){for(;ze=(V=k.lencode[H&(1<<k.lenbits)-1])>>>16&255,tt=65535&V,!((Le=V>>>24)<=P);){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(tt<16)H>>>=Le,P-=Le,k.lens[k.have++]=tt;else{if(tt===16){for(Q=Le+2;P<Q;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(H>>>=Le,P-=Le,k.have===0){F.msg="invalid bit length repeat",k.mode=30;break}A=k.lens[k.have-1],me=3+(3&H),H>>>=2,P-=2}else if(tt===17){for(Q=Le+3;P<Q;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}P-=Le,A=0,me=3+(7&(H>>>=Le)),H>>>=3,P-=3}else{for(Q=Le+7;P<Q;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}P-=Le,A=0,me=11+(127&(H>>>=Le)),H>>>=7,P-=7}if(k.have+me>k.nlen+k.ndist){F.msg="invalid bit length repeat",k.mode=30;break}for(;me--;)k.lens[k.have++]=A}}if(k.mode===30)break;if(k.lens[256]===0){F.msg="invalid code -- missing end-of-block",k.mode=30;break}if(k.lenbits=9,fe={bits:k.lenbits},ye=c(f,k.lens,0,k.nlen,k.lencode,0,k.work,fe),k.lenbits=fe.bits,ye){F.msg="invalid literal/lengths set",k.mode=30;break}if(k.distbits=6,k.distcode=k.distdyn,fe={bits:k.distbits},ye=c(d,k.lens,k.nlen,k.ndist,k.distcode,0,k.work,fe),k.distbits=fe.bits,ye){F.msg="invalid distances set",k.mode=30;break}if(k.mode=20,Z===6)break e;case 20:k.mode=21;case 21:if(6<=X&&258<=ie){F.next_out=J,F.avail_out=ie,F.next_in=G,F.avail_in=X,k.hold=H,k.bits=P,l(F,De),J=F.next_out,$=F.output,ie=F.avail_out,G=F.next_in,re=F.input,X=F.avail_in,H=k.hold,P=k.bits,k.mode===12&&(k.back=-1);break}for(k.back=0;ze=(V=k.lencode[H&(1<<k.lenbits)-1])>>>16&255,tt=65535&V,!((Le=V>>>24)<=P);){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(ze&&!(240&ze)){for(oe=Le,Ee=ze,Re=tt;ze=(V=k.lencode[Re+((H&(1<<oe+Ee)-1)>>oe)])>>>16&255,tt=65535&V,!(oe+(Le=V>>>24)<=P);){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}H>>>=oe,P-=oe,k.back+=oe}if(H>>>=Le,P-=Le,k.back+=Le,k.length=tt,ze===0){k.mode=26;break}if(32&ze){k.back=-1,k.mode=12;break}if(64&ze){F.msg="invalid literal/length code",k.mode=30;break}k.extra=15&ze,k.mode=22;case 22:if(k.extra){for(Q=k.extra;P<Q;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}k.length+=H&(1<<k.extra)-1,H>>>=k.extra,P-=k.extra,k.back+=k.extra}k.was=k.length,k.mode=23;case 23:for(;ze=(V=k.distcode[H&(1<<k.distbits)-1])>>>16&255,tt=65535&V,!((Le=V>>>24)<=P);){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(!(240&ze)){for(oe=Le,Ee=ze,Re=tt;ze=(V=k.distcode[Re+((H&(1<<oe+Ee)-1)>>oe)])>>>16&255,tt=65535&V,!(oe+(Le=V>>>24)<=P);){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}H>>>=oe,P-=oe,k.back+=oe}if(H>>>=Le,P-=Le,k.back+=Le,64&ze){F.msg="invalid distance code",k.mode=30;break}k.offset=tt,k.extra=15&ze,k.mode=24;case 24:if(k.extra){for(Q=k.extra;P<Q;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}k.offset+=H&(1<<k.extra)-1,H>>>=k.extra,P-=k.extra,k.back+=k.extra}if(k.offset>k.dmax){F.msg="invalid distance too far back",k.mode=30;break}k.mode=25;case 25:if(ie===0)break e;if(me=De-ie,k.offset>me){if((me=k.offset-me)>k.whave&&k.sane){F.msg="invalid distance too far back",k.mode=30;break}_e=me>k.wnext?(me-=k.wnext,k.wsize-me):k.wnext-me,me>k.length&&(me=k.length),$e=k.window}else $e=$,_e=J-k.offset,me=k.length;for(ie<me&&(me=ie),ie-=me,k.length-=me;$[J++]=$e[_e++],--me;);k.length===0&&(k.mode=21);break;case 26:if(ie===0)break e;$[J++]=k.length,ie--,k.mode=21;break;case 27:if(k.wrap){for(;P<32;){if(X===0)break e;X--,H|=re[G++]<<P,P+=8}if(De-=ie,F.total_out+=De,k.total+=De,De&&(F.adler=k.check=k.flags?s(k.check,$,De,J-De):a(k.check,$,De,J-De)),De=ie,(k.flags?H:D(H))!==k.check){F.msg="incorrect data check",k.mode=30;break}P=H=0}k.mode=28;case 28:if(k.wrap&&k.flags){for(;P<32;){if(X===0)break e;X--,H+=re[G++]<<P,P+=8}if(H!==(4294967295&k.total)){F.msg="incorrect length check",k.mode=30;break}P=H=0}k.mode=29;case 29:ye=1;break e;case 30:ye=-3;break e;case 31:return-4;case 32:default:return g}return F.next_out=J,F.avail_out=ie,F.next_in=G,F.avail_in=X,k.hold=H,k.bits=P,(k.wsize||De!==F.avail_out&&k.mode<30&&(k.mode<27||Z!==4))&&ce(F,F.output,F.next_out,De-F.avail_out)?(k.mode=31,-4):(de-=F.avail_in,De-=F.avail_out,F.total_in+=de,F.total_out+=De,k.total+=De,k.wrap&&De&&(F.adler=k.check=k.flags?s(k.check,$,De,F.next_out-De):a(k.check,$,De,F.next_out-De)),F.data_type=k.bits+(k.last?64:0)+(k.mode===12?128:0)+(k.mode===20||k.mode===15?256:0),(de==0&&De===0||Z===4)&&ye===p&&(ye=-5),ye)},i.inflateEnd=function(F){if(!F||!F.state)return g;var Z=F.state;return Z.window&&(Z.window=null),F.state=null,p},i.inflateGetHeader=function(F,Z){var k;return F&&F.state&&2&(k=F.state).wrap?((k.head=Z).done=!1,p):g},i.inflateSetDictionary=function(F,Z){var k,re=Z.length;return F&&F.state?(k=F.state).wrap!==0&&k.mode!==11?g:k.mode===11&&a(1,Z,re,0)!==k.check?-3:ce(F,Z,re,re)?(k.mode=31,-4):(k.havedict=1,p):g},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],l=[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],c=[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(f,d,p,g,b,x,v,D){var S,E,O,U,M,N,q,j,ae,ce=D.bits,F=0,Z=0,k=0,re=0,$=0,G=0,J=0,X=0,ie=0,H=0,P=null,de=0,De=new o.Buf16(16),me=new o.Buf16(16),_e=null,$e=0;for(F=0;F<=15;F++)De[F]=0;for(Z=0;Z<g;Z++)De[d[p+Z]]++;for($=ce,re=15;1<=re&&De[re]===0;re--);if(re<$&&($=re),re===0)return b[x++]=20971520,b[x++]=20971520,D.bits=1,0;for(k=1;k<re&&De[k]===0;k++);for($<k&&($=k),F=X=1;F<=15;F++)if(X<<=1,(X-=De[F])<0)return-1;if(0<X&&(f===0||re!==1))return-1;for(me[1]=0,F=1;F<15;F++)me[F+1]=me[F]+De[F];for(Z=0;Z<g;Z++)d[p+Z]!==0&&(v[me[d[p+Z]]++]=Z);if(N=f===0?(P=_e=v,19):f===1?(P=a,de-=257,_e=s,$e-=257,256):(P=l,_e=c,-1),F=k,M=x,J=Z=H=0,O=-1,U=(ie=1<<(G=$))-1,f===1&&852<ie||f===2&&592<ie)return 1;for(;;){for(q=F-J,ae=v[Z]<N?(j=0,v[Z]):v[Z]>N?(j=_e[$e+v[Z]],P[de+v[Z]]):(j=96,0),S=1<<F-J,k=E=1<<G;b[M+(H>>J)+(E-=S)]=q<<24|j<<16|ae|0,E!==0;);for(S=1<<F-1;H&S;)S>>=1;if(S!==0?(H&=S-1,H+=S):H=0,Z++,--De[F]==0){if(F===re)break;F=d[p+v[Z]]}if($<F&&(H&U)!==O){for(J===0&&(J=$),M+=k,X=1<<(G=F-J);G+J<re&&!((X-=De[G+J])<=0);)G++,X<<=1;if(ie+=1<<G,f===1&&852<ie||f===2&&592<ie)return 1;b[O=H&U]=$<<24|G<<16|M-x|0}}return H!==0&&(b[M+H]=F-J<<24|64<<16|0),D.bits=$,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 l(V){for(var se=V.length;0<=--se;)V[se]=0}var c=0,f=29,d=256,p=d+1+f,g=30,b=19,x=2*p+1,v=15,D=16,S=7,E=256,O=16,U=17,M=18,N=[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],q=[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],j=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ce=new Array(2*(p+2));l(ce);var F=new Array(2*g);l(F);var Z=new Array(512);l(Z);var k=new Array(256);l(k);var re=new Array(f);l(re);var $,G,J,X=new Array(g);function ie(V,se,Se,ke,le){this.static_tree=V,this.extra_bits=se,this.extra_base=Se,this.elems=ke,this.max_length=le,this.has_stree=V&&V.length}function H(V,se){this.dyn_tree=V,this.max_code=0,this.stat_desc=se}function P(V){return V<256?Z[V]:Z[256+(V>>>7)]}function de(V,se){V.pending_buf[V.pending++]=255&se,V.pending_buf[V.pending++]=se>>>8&255}function De(V,se,Se){V.bi_valid>D-Se?(V.bi_buf|=se<<V.bi_valid&65535,de(V,V.bi_buf),V.bi_buf=se>>D-V.bi_valid,V.bi_valid+=Se-D):(V.bi_buf|=se<<V.bi_valid&65535,V.bi_valid+=Se)}function me(V,se,Se){De(V,Se[2*se],Se[2*se+1])}function _e(V,se){for(var Se=0;Se|=1&V,V>>>=1,Se<<=1,0<--se;);return Se>>>1}function $e(V,se,Se){var ke,le,ee=new Array(v+1),ne=0;for(ke=1;ke<=v;ke++)ee[ke]=ne=ne+Se[ke-1]<<1;for(le=0;le<=se;le++){var ue=V[2*le+1];ue!==0&&(V[2*le]=_e(ee[ue]++,ue))}}function Le(V){var se;for(se=0;se<p;se++)V.dyn_ltree[2*se]=0;for(se=0;se<g;se++)V.dyn_dtree[2*se]=0;for(se=0;se<b;se++)V.bl_tree[2*se]=0;V.dyn_ltree[2*E]=1,V.opt_len=V.static_len=0,V.last_lit=V.matches=0}function ze(V){8<V.bi_valid?de(V,V.bi_buf):0<V.bi_valid&&(V.pending_buf[V.pending++]=V.bi_buf),V.bi_buf=0,V.bi_valid=0}function tt(V,se,Se,ke){var le=2*se,ee=2*Se;return V[le]<V[ee]||V[le]===V[ee]&&ke[se]<=ke[Se]}function oe(V,se,Se){for(var ke=V.heap[Se],le=Se<<1;le<=V.heap_len&&(le<V.heap_len&&tt(se,V.heap[le+1],V.heap[le],V.depth)&&le++,!tt(se,ke,V.heap[le],V.depth));)V.heap[Se]=V.heap[le],Se=le,le<<=1;V.heap[Se]=ke}function Ee(V,se,Se){var ke,le,ee,ne,ue=0;if(V.last_lit!==0)for(;ke=V.pending_buf[V.d_buf+2*ue]<<8|V.pending_buf[V.d_buf+2*ue+1],le=V.pending_buf[V.l_buf+ue],ue++,ke===0?me(V,le,se):(me(V,(ee=k[le])+d+1,se),(ne=N[ee])!==0&&De(V,le-=re[ee],ne),me(V,ee=P(--ke),Se),(ne=q[ee])!==0&&De(V,ke-=X[ee],ne)),ue<V.last_lit;);me(V,E,se)}function Re(V,se){var Se,ke,le,ee=se.dyn_tree,ne=se.stat_desc.static_tree,ue=se.stat_desc.has_stree,xe=se.stat_desc.elems,Me=-1;for(V.heap_len=0,V.heap_max=x,Se=0;Se<xe;Se++)ee[2*Se]!==0?(V.heap[++V.heap_len]=Me=Se,V.depth[Se]=0):ee[2*Se+1]=0;for(;V.heap_len<2;)ee[2*(le=V.heap[++V.heap_len]=Me<2?++Me:0)]=1,V.depth[le]=0,V.opt_len--,ue&&(V.static_len-=ne[2*le+1]);for(se.max_code=Me,Se=V.heap_len>>1;1<=Se;Se--)oe(V,ee,Se);for(le=xe;Se=V.heap[1],V.heap[1]=V.heap[V.heap_len--],oe(V,ee,1),ke=V.heap[1],V.heap[--V.heap_max]=Se,V.heap[--V.heap_max]=ke,ee[2*le]=ee[2*Se]+ee[2*ke],V.depth[le]=(V.depth[Se]>=V.depth[ke]?V.depth[Se]:V.depth[ke])+1,ee[2*Se+1]=ee[2*ke+1]=le,V.heap[1]=le++,oe(V,ee,1),2<=V.heap_len;);V.heap[--V.heap_max]=V.heap[1],function(Ne,Ye){var He,Ke,lt,nt,Mt,Pn,Ft=Ye.dyn_tree,Rr=Ye.max_code,wi=Ye.stat_desc.static_tree,Ht=Ye.stat_desc.has_stree,wn=Ye.stat_desc.extra_bits,Wn=Ye.stat_desc.extra_base,at=Ye.stat_desc.max_length,ln=0;for(nt=0;nt<=v;nt++)Ne.bl_count[nt]=0;for(Ft[2*Ne.heap[Ne.heap_max]+1]=0,He=Ne.heap_max+1;He<x;He++)at<(nt=Ft[2*Ft[2*(Ke=Ne.heap[He])+1]+1]+1)&&(nt=at,ln++),Ft[2*Ke+1]=nt,Rr<Ke||(Ne.bl_count[nt]++,Mt=0,Wn<=Ke&&(Mt=wn[Ke-Wn]),Pn=Ft[2*Ke],Ne.opt_len+=Pn*(nt+Mt),Ht&&(Ne.static_len+=Pn*(wi[2*Ke+1]+Mt)));if(ln!==0){do{for(nt=at-1;Ne.bl_count[nt]===0;)nt--;Ne.bl_count[nt]--,Ne.bl_count[nt+1]+=2,Ne.bl_count[at]--,ln-=2}while(0<ln);for(nt=at;nt!==0;nt--)for(Ke=Ne.bl_count[nt];Ke!==0;)Rr<(lt=Ne.heap[--He])||(Ft[2*lt+1]!==nt&&(Ne.opt_len+=(nt-Ft[2*lt+1])*Ft[2*lt],Ft[2*lt+1]=nt),Ke--)}}(V,se),$e(ee,Me,V.bl_count)}function A(V,se,Se){var ke,le,ee=-1,ne=se[1],ue=0,xe=7,Me=4;for(ne===0&&(xe=138,Me=3),se[2*(Se+1)+1]=65535,ke=0;ke<=Se;ke++)le=ne,ne=se[2*(ke+1)+1],++ue<xe&&le===ne||(ue<Me?V.bl_tree[2*le]+=ue:le!==0?(le!==ee&&V.bl_tree[2*le]++,V.bl_tree[2*O]++):ue<=10?V.bl_tree[2*U]++:V.bl_tree[2*M]++,ee=le,Me=(ue=0)===ne?(xe=138,3):le===ne?(xe=6,3):(xe=7,4))}function ye(V,se,Se){var ke,le,ee=-1,ne=se[1],ue=0,xe=7,Me=4;for(ne===0&&(xe=138,Me=3),ke=0;ke<=Se;ke++)if(le=ne,ne=se[2*(ke+1)+1],!(++ue<xe&&le===ne)){if(ue<Me)for(;me(V,le,V.bl_tree),--ue!=0;);else le!==0?(le!==ee&&(me(V,le,V.bl_tree),ue--),me(V,O,V.bl_tree),De(V,ue-3,2)):ue<=10?(me(V,U,V.bl_tree),De(V,ue-3,3)):(me(V,M,V.bl_tree),De(V,ue-11,7));ee=le,Me=(ue=0)===ne?(xe=138,3):le===ne?(xe=6,3):(xe=7,4)}}l(X);var fe=!1;function Q(V,se,Se,ke){De(V,(c<<1)+(ke?1:0),3),function(le,ee,ne,ue){ze(le),de(le,ne),de(le,~ne),o.arraySet(le.pending_buf,le.window,ee,ne,le.pending),le.pending+=ne}(V,se,Se)}i._tr_init=function(V){fe||(function(){var se,Se,ke,le,ee,ne=new Array(v+1);for(le=ke=0;le<f-1;le++)for(re[le]=ke,se=0;se<1<<N[le];se++)k[ke++]=le;for(k[ke-1]=le,le=ee=0;le<16;le++)for(X[le]=ee,se=0;se<1<<q[le];se++)Z[ee++]=le;for(ee>>=7;le<g;le++)for(X[le]=ee<<7,se=0;se<1<<q[le]-7;se++)Z[256+ee++]=le;for(Se=0;Se<=v;Se++)ne[Se]=0;for(se=0;se<=143;)ce[2*se+1]=8,se++,ne[8]++;for(;se<=255;)ce[2*se+1]=9,se++,ne[9]++;for(;se<=279;)ce[2*se+1]=7,se++,ne[7]++;for(;se<=287;)ce[2*se+1]=8,se++,ne[8]++;for($e(ce,p+1,ne),se=0;se<g;se++)F[2*se+1]=5,F[2*se]=_e(se,5);$=new ie(ce,N,d+1,p,v),G=new ie(F,q,0,g,v),J=new ie(new Array(0),j,0,b,S)}(),fe=!0),V.l_desc=new H(V.dyn_ltree,$),V.d_desc=new H(V.dyn_dtree,G),V.bl_desc=new H(V.bl_tree,J),V.bi_buf=0,V.bi_valid=0,Le(V)},i._tr_stored_block=Q,i._tr_flush_block=function(V,se,Se,ke){var le,ee,ne=0;0<V.level?(V.strm.data_type===2&&(V.strm.data_type=function(ue){var xe,Me=4093624447;for(xe=0;xe<=31;xe++,Me>>>=1)if(1&Me&&ue.dyn_ltree[2*xe]!==0)return a;if(ue.dyn_ltree[18]!==0||ue.dyn_ltree[20]!==0||ue.dyn_ltree[26]!==0)return s;for(xe=32;xe<d;xe++)if(ue.dyn_ltree[2*xe]!==0)return s;return a}(V)),Re(V,V.l_desc),Re(V,V.d_desc),ne=function(ue){var xe;for(A(ue,ue.dyn_ltree,ue.l_desc.max_code),A(ue,ue.dyn_dtree,ue.d_desc.max_code),Re(ue,ue.bl_desc),xe=b-1;3<=xe&&ue.bl_tree[2*ae[xe]+1]===0;xe--);return ue.opt_len+=3*(xe+1)+5+5+4,xe}(V),le=V.opt_len+3+7>>>3,(ee=V.static_len+3+7>>>3)<=le&&(le=ee)):le=ee=Se+5,Se+4<=le&&se!==-1?Q(V,se,Se,ke):V.strategy===4||ee===le?(De(V,2+(ke?1:0),3),Ee(V,ce,F)):(De(V,4+(ke?1:0),3),function(ue,xe,Me,Ne){var Ye;for(De(ue,xe-257,5),De(ue,Me-1,5),De(ue,Ne-4,4),Ye=0;Ye<Ne;Ye++)De(ue,ue.bl_tree[2*ae[Ye]+1],3);ye(ue,ue.dyn_ltree,xe-1),ye(ue,ue.dyn_dtree,Me-1)}(V,V.l_desc.max_code+1,V.d_desc.max_code+1,ne+1),Ee(V,V.dyn_ltree,V.dyn_dtree)),Le(V),ke&&ze(V)},i._tr_tally=function(V,se,Se){return V.pending_buf[V.d_buf+2*V.last_lit]=se>>>8&255,V.pending_buf[V.d_buf+2*V.last_lit+1]=255&se,V.pending_buf[V.l_buf+V.last_lit]=255&Se,V.last_lit++,se===0?V.dyn_ltree[2*Se]++:(V.matches++,se--,V.dyn_ltree[2*(k[Se]+d+1)]++,V.dyn_dtree[2*P(se)]++),V.last_lit===V.lit_bufsize-1},i._tr_align=function(V){De(V,2,3),me(V,E,ce),function(se){se.bi_valid===16?(de(se,se.bi_buf),se.bi_buf=0,se.bi_valid=0):8<=se.bi_valid&&(se.pending_buf[se.pending++]=255&se.bi_buf,se.bi_buf>>=8,se.bi_valid-=8)}(V)}},{"../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 l,c,f,d,p=1,g={},b=!1,x=a.document,v=Object.getPrototypeOf&&Object.getPrototypeOf(a);v=v&&v.setTimeout?v:a,l={}.toString.call(a.process)==="[object process]"?function(O){process.nextTick(function(){S(O)})}:function(){if(a.postMessage&&!a.importScripts){var O=!0,U=a.onmessage;return a.onmessage=function(){O=!1},a.postMessage("","*"),a.onmessage=U,O}}()?(d="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",E,!1):a.attachEvent("onmessage",E),function(O){a.postMessage(d+O,"*")}):a.MessageChannel?((f=new MessageChannel).port1.onmessage=function(O){S(O.data)},function(O){f.port2.postMessage(O)}):x&&"onreadystatechange"in x.createElement("script")?(c=x.documentElement,function(O){var U=x.createElement("script");U.onreadystatechange=function(){S(O),U.onreadystatechange=null,c.removeChild(U),U=null},c.appendChild(U)}):function(O){setTimeout(S,0,O)},v.setImmediate=function(O){typeof O!="function"&&(O=new Function(""+O));for(var U=new Array(arguments.length-1),M=0;M<U.length;M++)U[M]=arguments[M+1];var N={callback:O,args:U};return g[p]=N,l(p),p++},v.clearImmediate=D}function D(O){delete g[O]}function S(O){if(b)setTimeout(S,0,O);else{var U=g[O];if(U){b=!0;try{(function(M){var N=M.callback,q=M.args;switch(q.length){case 0:N();break;case 1:N(q[0]);break;case 2:N(q[0],q[1]);break;case 3:N(q[0],q[1],q[2]);break;default:N.apply(s,q)}})(U)}finally{D(O),b=!1}}}}function E(O){O.source===a&&typeof O.data=="string"&&O.data.indexOf(d)===0&&S(+O.data.slice(d.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof rt<"u"?rt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(sR);var dq=sR.exports,hq=Hm,pq=dq;ah.openArrayBuffer=gq;ah.splitPath=mq;ah.joinPath=yq;function gq(t){return pq.loadAsync(t).then(function(e){function n(a){return e.file(a)!==null}function r(a,s){return e.file(a).async("uint8array").then(function(l){if(s==="base64")return hq.fromByteArray(l);if(s){var c=new TextDecoder(s);return c.decode(l)}else return l})}function i(a,s){e.file(a,s)}function o(){return e.generateAsync({type:"arraybuffer"})}return{exists:n,read:r,write:i,toArrayBuffer:o}})}function mq(t){var e=t.lastIndexOf("/");return e===-1?{dirname:"",basename:t}:{dirname:t.substring(0,e),basename:t.substring(e+1)}}function yq(){var t=Array.prototype.filter.call(arguments,function(n){return n}),e=[];return t.forEach(function(n){/^\//.test(n)?e=[n]:e.push(n)}),e.join("/")}var nD={},Ko={},Iu={},Vm=jt;Iu.Element=Bu;Iu.element=function(t,e,n){return new Bu(t,e,n)};Iu.text=function(t){return{type:"text",value:t}};var lR=Iu.emptyElement={first:function(){return null},firstOrEmpty:function(){return lR},attributes:{},children:[]};function Bu(t,e,n){this.type="element",this.name=t,this.attributes=e||{},this.children=n||[]}Bu.prototype.first=function(t){return Vm.find(this.children,function(e){return e.name===t})};Bu.prototype.firstOrEmpty=function(t){return this.first(t)||lR};Bu.prototype.getElementsByTagName=function(t){var e=Vm.filter(this.children,function(n){return n.name===t});return cR(e)};Bu.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 bq={getElementsByTagName:function(t){return cR(Vm.flatten(this.map(function(e){return e.getElementsByTagName(t)},!0)))}};function cR(t){return Vm.extend(t,bq)}var uR={},rD={},qm={},ro={},Qo={};function vq(t,e,n){if(n===void 0&&(n=Array.prototype),t&&typeof n.find=="function")return n.find.call(t,e);for(var r=0;r<t.length;r++)if(Object.prototype.hasOwnProperty.call(t,r)){var i=t[r];if(e.call(void 0,i,r,t))return i}}function iD(t,e){return e===void 0&&(e=Object),e&&typeof e.freeze=="function"?e.freeze(t):t}function xq(t,e){if(t===null||typeof t!="object")throw new TypeError("target is not an object");for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}var fR=iD({HTML:"text/html",isHTML:function(t){return t===fR.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),dR=iD({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===dR.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});Qo.assign=xq;Qo.find=vq;Qo.freeze=iD;Qo.MIME_TYPE=fR;Qo.NAMESPACE=dR;var hR=Qo,Vi=hR.find,Md=hR.NAMESPACE;function Dq(t){return t!==""}function wq(t){return t?t.split(/[\t\n\f\r ]+/).filter(Dq):[]}function Sq(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function tE(t){if(!t)return[];var e=wq(t);return Object.keys(e.reduce(Sq,{}))}function Tq(t){return function(e){return t&&t.indexOf(e)!==-1}}function sh(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function yr(t,e){var n=t.prototype;if(!(n instanceof e)){let r=function(){};r.prototype=e.prototype,r=new r,sh(n,r),t.prototype=n=r}n.constructor!=t&&(typeof t!="function"&&console.error("unknown Class:"+t),n.constructor=t)}var br={},gi=br.ELEMENT_NODE=1,yu=br.ATTRIBUTE_NODE=2,em=br.TEXT_NODE=3,pR=br.CDATA_SECTION_NODE=4,gR=br.ENTITY_REFERENCE_NODE=5,Cq=br.ENTITY_NODE=6,mR=br.PROCESSING_INSTRUCTION_NODE=7,yR=br.COMMENT_NODE=8,bR=br.DOCUMENT_NODE=9,vR=br.DOCUMENT_TYPE_NODE=10,Ho=br.DOCUMENT_FRAGMENT_NODE=11,Eq=br.NOTATION_NODE=12,Nn={},on={};Nn.INDEX_SIZE_ERR=(on[1]="Index size error",1);Nn.DOMSTRING_SIZE_ERR=(on[2]="DOMString size error",2);var fr=Nn.HIERARCHY_REQUEST_ERR=(on[3]="Hierarchy request error",3);Nn.WRONG_DOCUMENT_ERR=(on[4]="Wrong document",4);Nn.INVALID_CHARACTER_ERR=(on[5]="Invalid character",5);Nn.NO_DATA_ALLOWED_ERR=(on[6]="No data allowed",6);Nn.NO_MODIFICATION_ALLOWED_ERR=(on[7]="No modification allowed",7);var xR=Nn.NOT_FOUND_ERR=(on[8]="Not found",8);Nn.NOT_SUPPORTED_ERR=(on[9]="Not supported",9);var nE=Nn.INUSE_ATTRIBUTE_ERR=(on[10]="Attribute in use",10);Nn.INVALID_STATE_ERR=(on[11]="Invalid state",11);Nn.SYNTAX_ERR=(on[12]="Syntax error",12);Nn.INVALID_MODIFICATION_ERR=(on[13]="Invalid modification",13);Nn.NAMESPACE_ERR=(on[14]="Invalid namespace",14);Nn.INVALID_ACCESS_ERR=(on[15]="Invalid access",15);function $t(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,on[t]),this.message=on[t],Error.captureStackTrace&&Error.captureStackTrace(this,$t);return n.code=t,e&&(this.message=this.message+": "+e),n}$t.prototype=Error.prototype;sh(Nn,$t);function zo(){}zo.prototype={length:0,item:function(t){return t>=0&&t<this.length?this[t]:null},toString:function(t,e){for(var n=[],r=0;r<this.length;r++)Jc(this[r],n,t,e);return n.join("")},filter:function(t){return Array.prototype.filter.call(this,t)},indexOf:function(t){return Array.prototype.indexOf.call(this,t)}};function bu(t,e){this._node=t,this._refresh=e,oD(this)}function oD(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var n=t._refresh(t._node);if(RR(t,"length",n.length),!t.$$length||n.length<t.$$length)for(var r=n.length;r in t;r++)Object.prototype.hasOwnProperty.call(t,r)&&delete t[r];sh(n,t),t._inc=e}}bu.prototype.item=function(t){return oD(this),this[t]||null};yr(bu,zo);function tm(){}function DR(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function rE(t,e,n,r){if(r?e[DR(e,r)]=n:e[e.length++]=n,t){n.ownerElement=t;var i=t.ownerDocument;i&&(r&&TR(i,t,r),_q(i,t,n))}}function iE(t,e,n){var r=DR(e,n);if(r>=0){for(var i=e.length-1;r<i;)e[r]=e[++r];if(e.length=i,t){var o=t.ownerDocument;o&&(TR(o,t,n),n.ownerElement=null)}}else throw new $t(xR,new Error(t.tagName+"@"+n))}tm.prototype={length:0,item:zo.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var n=this[e];if(n.nodeName==t)return n}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new $t(nE);var n=this.getNamedItem(t.nodeName);return rE(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e=t.ownerElement,n;if(e&&e!=this._ownerElement)throw new $t(nE);return n=this.getNamedItemNS(t.namespaceURI,t.localName),rE(this._ownerElement,this,t,n),n},removeNamedItem:function(t){var e=this.getNamedItem(t);return iE(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return iE(this._ownerElement,this,n),n},getNamedItemNS:function(t,e){for(var n=this.length;n--;){var r=this[n];if(r.localName==e&&r.namespaceURI==t)return r}return null}};function wR(){}wR.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,n){var r=new lh;if(r.implementation=this,r.childNodes=new zo,r.doctype=n||null,n&&r.appendChild(n),e){var i=r.createElementNS(t,e);r.appendChild(i)}return r},createDocumentType:function(t,e,n){var r=new Xm;return r.name=t,r.nodeName=t,r.publicId=e||"",r.systemId=n||"",r}};function vt(){}vt.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(t,e){return nm(this,t,e)},replaceChild:function(t,e){nm(this,t,e,ER),e&&this.removeChild(e)},removeChild:function(t){return CR(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(t){return J0(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==em&&t.nodeType==em?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var n=e._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===t)return r}e=e.nodeType==yu?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var n=e._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,t))return n[t];e=e.nodeType==yu?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){var e=this.lookupPrefix(t);return e==null}};function SR(t){return t=="<"&&"<"||t==">"&&">"||t=="&"&&"&"||t=='"'&&"""||"&#"+t.charCodeAt()+";"}sh(br,vt);sh(br,vt.prototype);function Nd(t,e){if(e(t))return!0;if(t=t.firstChild)do if(Nd(t,e))return!0;while(t=t.nextSibling)}function lh(){this.ownerDocument=this}function _q(t,e,n){t&&t._inc++;var r=n.namespaceURI;r===Md.XMLNS&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function TR(t,e,n,r){t&&t._inc++;var i=n.namespaceURI;i===Md.XMLNS&&delete e._nsMap[n.prefix?n.localName:""]}function aD(t,e,n){if(t&&t._inc){t._inc++;var r=e.childNodes;if(n)r[r.length++]=n;else{for(var i=e.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function CR(t,e){var n=e.previousSibling,r=e.nextSibling;return n?n.nextSibling=r:t.firstChild=r,r?r.previousSibling=n:t.lastChild=n,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,aD(t.ownerDocument,t),e}function kq(t){return t&&(t.nodeType===vt.DOCUMENT_NODE||t.nodeType===vt.DOCUMENT_FRAGMENT_NODE||t.nodeType===vt.ELEMENT_NODE)}function Aq(t){return t&&(qi(t)||sD(t)||Vo(t)||t.nodeType===vt.DOCUMENT_FRAGMENT_NODE||t.nodeType===vt.COMMENT_NODE||t.nodeType===vt.PROCESSING_INSTRUCTION_NODE)}function Vo(t){return t&&t.nodeType===vt.DOCUMENT_TYPE_NODE}function qi(t){return t&&t.nodeType===vt.ELEMENT_NODE}function sD(t){return t&&t.nodeType===vt.TEXT_NODE}function oE(t,e){var n=t.childNodes||[];if(Vi(n,qi)||Vo(e))return!1;var r=Vi(n,Vo);return!(e&&r&&n.indexOf(r)>n.indexOf(e))}function aE(t,e){var n=t.childNodes||[];function r(o){return qi(o)&&o!==e}if(Vi(n,r))return!1;var i=Vi(n,Vo);return!(e&&i&&n.indexOf(i)>n.indexOf(e))}function Uq(t,e,n){if(!kq(t))throw new $t(fr,"Unexpected parent node type "+t.nodeType);if(n&&n.parentNode!==t)throw new $t(xR,"child not in parent");if(!Aq(e)||Vo(e)&&t.nodeType!==vt.DOCUMENT_NODE)throw new $t(fr,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function Fq(t,e,n){var r=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===vt.DOCUMENT_FRAGMENT_NODE){var o=i.filter(qi);if(o.length>1||Vi(i,sD))throw new $t(fr,"More than one element or text in fragment");if(o.length===1&&!oE(t,n))throw new $t(fr,"Element in fragment can not be inserted before doctype")}if(qi(e)&&!oE(t,n))throw new $t(fr,"Only one element can be added and only after doctype");if(Vo(e)){if(Vi(r,Vo))throw new $t(fr,"Only one doctype is allowed");var a=Vi(r,qi);if(n&&r.indexOf(a)<r.indexOf(n))throw new $t(fr,"Doctype can only be inserted before an element");if(!n&&a)throw new $t(fr,"Doctype can not be appended since element is present")}}function ER(t,e,n){var r=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===vt.DOCUMENT_FRAGMENT_NODE){var o=i.filter(qi);if(o.length>1||Vi(i,sD))throw new $t(fr,"More than one element or text in fragment");if(o.length===1&&!aE(t,n))throw new $t(fr,"Element in fragment can not be inserted before doctype")}if(qi(e)&&!aE(t,n))throw new $t(fr,"Only one element can be added and only after doctype");if(Vo(e)){if(Vi(r,function(l){return Vo(l)&&l!==n}))throw new $t(fr,"Only one doctype is allowed");var a=Vi(r,qi);if(n&&r.indexOf(a)<r.indexOf(n))throw new $t(fr,"Doctype can only be inserted before an element")}}function nm(t,e,n,r){Uq(t,e,n),t.nodeType===vt.DOCUMENT_NODE&&(r||Fq)(t,e,n);var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===Ho){var o=e.firstChild;if(o==null)return e;var a=e.lastChild}else o=a=e;var s=n?n.previousSibling:t.lastChild;o.previousSibling=s,a.nextSibling=n,s?s.nextSibling=o:t.firstChild=o,n==null?t.lastChild=a:n.previousSibling=a;do o.parentNode=t;while(o!==a&&(o=o.nextSibling));return aD(t.ownerDocument||t,t),e.nodeType==Ho&&(e.firstChild=e.lastChild=null),e}function Rq(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,aD(t.ownerDocument,t,e),e}lh.prototype={nodeName:"#document",nodeType:bR,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==Ho){for(var n=t.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,e),n=r}return t}return nm(this,t,e),t.ownerDocument=this,this.documentElement===null&&t.nodeType===gi&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),CR(this,t)},replaceChild:function(t,e){nm(this,t,e,ER),t.ownerDocument=this,e&&this.removeChild(e),qi(t)&&(this.documentElement=t)},importNode:function(t,e){return FR(this,t,e)},getElementById:function(t){var e=null;return Nd(this.documentElement,function(n){if(n.nodeType==gi&&n.getAttribute("id")==t)return e=n,!0}),e},getElementsByClassName:function(t){var e=tE(t);return new bu(this,function(n){var r=[];return e.length>0&&Nd(n.documentElement,function(i){if(i!==n&&i.nodeType===gi){var o=i.getAttribute("class");if(o){var a=t===o;if(!a){var s=tE(o);a=e.every(Tq(s))}a&&r.push(i)}}}),r})},createElement:function(t){var e=new ml;e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new zo;var n=e.attributes=new tm;return n._ownerElement=e,e},createDocumentFragment:function(){var t=new Gm;return t.ownerDocument=this,t.childNodes=new zo,t},createTextNode:function(t){var e=new lD;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new cD;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new uD;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new dD;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new rm;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new fD;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new ml,r=e.split(":"),i=n.attributes=new tm;return n.childNodes=new zo,n.ownerDocument=this,n.nodeName=e,n.tagName=e,n.namespaceURI=t,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=e,i._ownerElement=n,n},createAttributeNS:function(t,e){var n=new rm,r=e.split(":");return n.ownerDocument=this,n.nodeName=e,n.name=e,n.namespaceURI=t,n.specified=!0,r.length==2?(n.prefix=r[0],n.localName=r[1]):n.localName=e,n}};yr(lh,vt);function ml(){this._nsMap={}}ml.prototype={nodeType:gi,hasAttribute:function(t){return this.getAttributeNode(t)!=null},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var n=this.ownerDocument.createAttribute(t);n.value=n.nodeValue=""+e,this.setAttributeNode(n)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===Ho?this.insertBefore(t,null):Rq(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);n&&this.removeAttributeNode(n)},hasAttributeNS:function(t,e){return this.getAttributeNodeNS(t,e)!=null},getAttributeNS:function(t,e){var n=this.getAttributeNodeNS(t,e);return n&&n.value||""},setAttributeNS:function(t,e,n){var r=this.ownerDocument.createAttributeNS(t,e);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new bu(this,function(e){var n=[];return Nd(e,function(r){r!==e&&r.nodeType==gi&&(t==="*"||r.tagName==t)&&n.push(r)}),n})},getElementsByTagNameNS:function(t,e){return new bu(this,function(n){var r=[];return Nd(n,function(i){i!==n&&i.nodeType===gi&&(t==="*"||i.namespaceURI===t)&&(e==="*"||i.localName==e)&&r.push(i)}),r})}};lh.prototype.getElementsByTagName=ml.prototype.getElementsByTagName;lh.prototype.getElementsByTagNameNS=ml.prototype.getElementsByTagNameNS;yr(ml,vt);function rm(){}rm.prototype.nodeType=yu;yr(rm,vt);function ch(){}ch.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){t=this.data+t,this.nodeValue=this.data=t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(t){throw new Error(on[fr])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,n){var r=this.data.substring(0,t),i=this.data.substring(t+e);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}};yr(ch,vt);function lD(){}lD.prototype={nodeName:"#text",nodeType:em,splitText:function(t){var e=this.data,n=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}};yr(lD,ch);function cD(){}cD.prototype={nodeName:"#comment",nodeType:yR};yr(cD,ch);function uD(){}uD.prototype={nodeName:"#cdata-section",nodeType:pR};yr(uD,ch);function Xm(){}Xm.prototype.nodeType=vR;yr(Xm,vt);function _R(){}_R.prototype.nodeType=Eq;yr(_R,vt);function kR(){}kR.prototype.nodeType=Cq;yr(kR,vt);function fD(){}fD.prototype.nodeType=gR;yr(fD,vt);function Gm(){}Gm.prototype.nodeName="#document-fragment";Gm.prototype.nodeType=Ho;yr(Gm,vt);function dD(){}dD.prototype.nodeType=mR;yr(dD,vt);function AR(){}AR.prototype.serializeToString=function(t,e,n){return UR.call(t,e,n)};vt.prototype.toString=UR;function UR(t,e){var n=[],r=this.nodeType==9&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&i==null){var i=r.lookupPrefix(o);if(i==null)var a=[{namespace:o,prefix:null}]}return Jc(this,n,t,e,a),n.join("")}function sE(t,e,n){var r=t.prefix||"",i=t.namespaceURI;if(!i||r==="xml"&&i===Md.XML||i===Md.XMLNS)return!1;for(var o=n.length;o--;){var a=n[o];if(a.prefix===r)return a.namespace!==i}return!0}function n1(t,e,n){t.push(" ",e,'="',n.replace(/[<>&"\t\n\r]/g,SR),'"')}function Jc(t,e,n,r,i){if(i||(i=[]),r)if(t=r(t),t){if(typeof t=="string"){e.push(t);return}}else return;switch(t.nodeType){case gi:var o=t.attributes,a=o.length,D=t.firstChild,s=t.tagName;n=Md.isHTML(t.namespaceURI)||n;var l=s;if(!n&&!t.prefix&&t.namespaceURI){for(var c,f=0;f<o.length;f++)if(o.item(f).name==="xmlns"){c=o.item(f).value;break}if(!c)for(var d=i.length-1;d>=0;d--){var p=i[d];if(p.prefix===""&&p.namespace===t.namespaceURI){c=p.namespace;break}}if(c!==t.namespaceURI)for(var d=i.length-1;d>=0;d--){var p=i[d];if(p.namespace===t.namespaceURI){p.prefix&&(l=p.prefix+":"+s);break}}}e.push("<",l);for(var g=0;g<a;g++){var b=o.item(g);b.prefix=="xmlns"?i.push({prefix:b.localName,namespace:b.value}):b.nodeName=="xmlns"&&i.push({prefix:"",namespace:b.value})}for(var g=0;g<a;g++){var b=o.item(g);if(sE(b,n,i)){var x=b.prefix||"",v=b.namespaceURI;n1(e,x?"xmlns:"+x:"xmlns",v),i.push({prefix:x,namespace:v})}Jc(b,e,n,r,i)}if(s===l&&sE(t,n,i)){var x=t.prefix||"",v=t.namespaceURI;n1(e,x?"xmlns:"+x:"xmlns",v),i.push({prefix:x,namespace:v})}if(D||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(s)){if(e.push(">"),n&&/^script$/i.test(s))for(;D;)D.data?e.push(D.data):Jc(D,e,n,r,i.slice()),D=D.nextSibling;else for(;D;)Jc(D,e,n,r,i.slice()),D=D.nextSibling;e.push("</",l,">")}else e.push("/>");return;case bR:case Ho:for(var D=t.firstChild;D;)Jc(D,e,n,r,i.slice()),D=D.nextSibling;return;case yu:return n1(e,t.name,t.value);case em:return e.push(t.data.replace(/[<&>]/g,SR));case pR:return e.push("<![CDATA[",t.data,"]]>");case yR:return e.push("<!--",t.data,"-->");case vR:var S=t.publicId,E=t.systemId;if(e.push("<!DOCTYPE ",t.name),S)e.push(" PUBLIC ",S),E&&E!="."&&e.push(" ",E),e.push(">");else if(E&&E!=".")e.push(" SYSTEM ",E,">");else{var O=t.internalSubset;O&&e.push(" [",O,"]"),e.push(">")}return;case mR:return e.push("<?",t.target," ",t.data,"?>");case gR:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function FR(t,e,n){var r;switch(e.nodeType){case gi:r=e.cloneNode(!1),r.ownerDocument=t;case Ho:break;case yu:n=!0;break}if(r||(r=e.cloneNode(!1)),r.ownerDocument=t,r.parentNode=null,n)for(var i=e.firstChild;i;)r.appendChild(FR(t,i,n)),i=i.nextSibling;return r}function J0(t,e,n){var r=new e.constructor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i];typeof o!="object"&&o!=r[i]&&(r[i]=o)}switch(e.childNodes&&(r.childNodes=new zo),r.ownerDocument=t,r.nodeType){case gi:var a=e.attributes,s=r.attributes=new tm,l=a.length;s._ownerElement=r;for(var c=0;c<l;c++)r.setAttributeNode(J0(t,a.item(c),!0));break;case yu:n=!0}if(n)for(var f=e.firstChild;f;)r.appendChild(J0(t,f,n)),f=f.nextSibling;return r}function RR(t,e,n){t[e]=n}try{if(Object.defineProperty){let t=function(e){switch(e.nodeType){case gi:case Ho:var n=[];for(e=e.firstChild;e;)e.nodeType!==7&&e.nodeType!==8&&n.push(t(e)),e=e.nextSibling;return n.join("");default:return e.nodeValue}};Object.defineProperty(bu.prototype,"length",{get:function(){return oD(this),this.$$length}}),Object.defineProperty(vt.prototype,"textContent",{get:function(){return t(this)},set:function(e){switch(this.nodeType){case gi:case Ho:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),RR=function(e,n,r){e["$$"+n]=r}}}catch{}ro.DocumentType=Xm;ro.DOMException=$t;ro.DOMImplementation=wR;ro.Element=ml;ro.Node=vt;ro.NodeList=zo;ro.XMLSerializer=AR;var Jm={},OR={};(function(t){var e=Qo.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})(OR);var hD={},Pd=Qo.NAMESPACE,Y0=/[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]/,lE=new RegExp("[\\-\\.0-9"+Y0.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),cE=new RegExp("^"+Y0.source+lE.source+"*(?::"+Y0.source+lE.source+"*)?$"),$f=0,Oa=1,Pc=2,jf=3,Wc=4,Lc=5,Hf=6,pp=7;function vu(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,vu)}vu.prototype=new Error;vu.prototype.name=vu.name;function IR(){}IR.prototype={parse:function(t,e,n){var r=this.domBuilder;r.startDocument(),BR(e,e={}),Oq(t,e,n,r,this.errorHandler),r.endDocument()}};function Oq(t,e,n,r,i){function o($){if($>65535){$-=65536;var G=55296+($>>10),J=56320+($&1023);return String.fromCharCode(G,J)}else return String.fromCharCode($)}function a($){var G=$.slice(1,-1);return Object.hasOwnProperty.call(n,G)?n[G]:G.charAt(0)==="#"?o(parseInt(G.substr(1).replace("x","0x"))):(i.error("entity not found:"+$),$)}function s($){if($>x){var G=t.substring(x,$).replace(/&#?\w+;/g,a);p&&l(x),r.characters(G,0,$-x),x=$}}function l($,G){for(;$>=f&&(G=d.exec(t));)c=G.index,f=c+G[0].length,p.lineNumber++;p.columnNumber=$-c+1}for(var c=0,f=0,d=/.*(?:\r\n?|\n)|.*$/g,p=r.locator,g=[{currentNSMap:e}],b={},x=0;;){try{var v=t.indexOf("<",x);if(v<0){if(!t.substr(x).match(/^\s*$/)){var D=r.doc,S=D.createTextNode(t.substr(x));D.appendChild(S),r.currentElement=S}return}switch(v>x&&s(v),t.charAt(v+1)){case"/":var ce=t.indexOf(">",v+3),E=t.substring(v+2,ce).replace(/[ \t\n\r]+$/g,""),O=g.pop();ce<0?(E=t.substring(v+2).replace(/[\s<].*/,""),i.error("end tag name: "+E+" is not complete:"+O.tagName),ce=v+1+E.length):E.match(/\s</)&&(E=E.replace(/[\s<].*/,""),i.error("end tag name: "+E+" maybe not complete"),ce=v+1+E.length);var U=O.localNSMap,M=O.tagName==E,N=M||O.tagName&&O.tagName.toLowerCase()==E.toLowerCase();if(N){if(r.endElement(O.uri,O.localName,E),U)for(var q in U)Object.prototype.hasOwnProperty.call(U,q)&&r.endPrefixMapping(q);M||i.fatalError("end tag name: "+E+" is not match the current start tagName:"+O.tagName)}else g.push(O);ce++;break;case"?":p&&l(v),ce=Pq(t,v,r);break;case"!":p&&l(v),ce=Nq(t,v,r,i);break;default:p&&l(v);var j=new MR,ae=g[g.length-1].currentNSMap,ce=Iq(t,v,j,ae,a,i),F=j.length;if(!j.closed&&Mq(t,ce,j.tagName,b)&&(j.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),p&&F){for(var Z=uE(p,{}),k=0;k<F;k++){var re=j[k];l(re.offset),re.locator=uE(p,{})}r.locator=Z,fE(j,r,ae)&&g.push(j),r.locator=p}else fE(j,r,ae)&&g.push(j);Pd.isHTML(j.uri)&&!j.closed?ce=Bq(t,ce,j.tagName,a,r):ce++}}catch($){if($ instanceof vu)throw $;i.error("element parse error: "+$),ce=-1}ce>x?x=ce:s(Math.max(v,x)+1)}}function uE(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function Iq(t,e,n,r,i,o){function a(p,g,b){n.attributeNames.hasOwnProperty(p)&&o.fatalError("Attribute "+p+" redefined"),n.addValue(p,g.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),b)}for(var s,l,c=++e,f=$f;;){var d=t.charAt(c);switch(d){case"=":if(f===Oa)s=t.slice(e,c),f=jf;else if(f===Pc)f=jf;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(f===jf||f===Oa)if(f===Oa&&(o.warning('attribute value must after "="'),s=t.slice(e,c)),e=c+1,c=t.indexOf(d,e),c>0)l=t.slice(e,c),a(s,l,e-1),f=Lc;else throw new Error("attribute value no end '"+d+"' match");else if(f==Wc)l=t.slice(e,c),a(s,l,e),o.warning('attribute "'+s+'" missed start quot('+d+")!!"),e=c+1,f=Lc;else throw new Error('attribute value must after "="');break;case"/":switch(f){case $f:n.setTagName(t.slice(e,c));case Lc:case Hf:case pp:f=pp,n.closed=!0;case Wc:case Oa:break;case Pc:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),f==$f&&n.setTagName(t.slice(e,c)),c;case">":switch(f){case $f:n.setTagName(t.slice(e,c));case Lc:case Hf:case pp:break;case Wc:case Oa:l=t.slice(e,c),l.slice(-1)==="/"&&(n.closed=!0,l=l.slice(0,-1));case Pc:f===Pc&&(l=s),f==Wc?(o.warning('attribute "'+l+'" missed quot(")!'),a(s,l,e)):((!Pd.isHTML(r[""])||!l.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),a(l,l,e));break;case jf:throw new Error("attribute value missed!!")}return c;case"":d=" ";default:if(d<=" ")switch(f){case $f:n.setTagName(t.slice(e,c)),f=Hf;break;case Oa:s=t.slice(e,c),f=Pc;break;case Wc:var l=t.slice(e,c);o.warning('attribute "'+l+'" missed quot(")!!'),a(s,l,e);case Lc:f=Hf;break}else switch(f){case Pc:n.tagName,(!Pd.isHTML(r[""])||!s.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,e),e=c,f=Oa;break;case Lc:o.warning('attribute space is required"'+s+'"!!');case Hf:f=Oa,e=c;break;case jf:f=Wc,e=c;break;case pp:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function fE(t,e,n){for(var r=t.tagName,i=null,d=t.length;d--;){var o=t[d],a=o.qName,s=o.value,p=a.indexOf(":");if(p>0)var l=o.prefix=a.slice(0,p),c=a.slice(p+1),f=l==="xmlns"&&c;else c=a,l=null,f=a==="xmlns"&&"";o.localName=c,f!==!1&&(i==null&&(i={},BR(n,n={})),n[f]=i[f]=s,o.uri=Pd.XMLNS,e.startPrefixMapping(f,s))}for(var d=t.length;d--;){o=t[d];var l=o.prefix;l&&(l==="xml"&&(o.uri=Pd.XML),l!=="xmlns"&&(o.uri=n[l||""]))}var p=r.indexOf(":");p>0?(l=t.prefix=r.slice(0,p),c=t.localName=r.slice(p+1)):(l=null,c=t.localName=r);var g=t.uri=n[l||""];if(e.startElement(g,c,r,t),t.closed){if(e.endElement(g,c,r),i)for(l in i)Object.prototype.hasOwnProperty.call(i,l)&&e.endPrefixMapping(l)}else return t.currentNSMap=n,t.localNSMap=i,!0}function Bq(t,e,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=t.indexOf("</"+n+">",e),a=t.substring(e+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)?(i.characters(a,0,a.length),o):(a=a.replace(/&#?\w+;/g,r),i.characters(a,0,a.length),o)}return e+1}function Mq(t,e,n,r){var i=r[n];return i==null&&(i=t.lastIndexOf("</"+n+">"),i<e&&(i=t.lastIndexOf("</"+n)),r[n]=i),i<e}function BR(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function Nq(t,e,n,r){var i=t.charAt(e+2);switch(i){case"-":if(t.charAt(e+3)==="-"){var o=t.indexOf("-->",e+4);return o>e?(n.comment(t,e+4,o-e-4),o+3):(r.error("Unclosed comment"),-1)}else return-1;default:if(t.substr(e+3,6)=="CDATA["){var o=t.indexOf("]]>",e+9);return n.startCDATA(),n.characters(t,e+9,o-e-9),n.endCDATA(),o+3}var a=Wq(t,e),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var l=a[1][0],c=!1,f=!1;s>3&&(/^public$/i.test(a[2][0])?(c=a[3][0],f=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(f=a[3][0]));var d=a[s-1];return n.startDTD(l,c,f),n.endDTD(),d.index+d[0].length}}return-1}function Pq(t,e,n){var r=t.indexOf("?>",e);if(r){var i=t.substring(e,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return i?(i[0].length,n.processingInstruction(i[1],i[2]),r+2):-1}return-1}function MR(){this.attributeNames={}}MR.prototype={setTagName:function(t){if(!cE.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,n){if(!cE.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:n}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}};function Wq(t,e){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=e,i.exec(t);n=i.exec(t);)if(r.push(n),n[1])return r}hD.XMLReader=IR;hD.ParseError=vu;var Lq=Qo,zq=ro,dE=OR,NR=hD,$q=zq.DOMImplementation,hE=Lq.NAMESPACE,jq=NR.ParseError,Hq=NR.XMLReader;function PR(t){return t.replace(/\r[\n\u0085]/g,`
|
|
220
|
+
`).replace(/[\r\u0085\u2028]/g,`
|
|
221
|
+
`)}function WR(t){this.options=t||{locator:{}}}WR.prototype.parseFromString=function(t,e){var n=this.options,r=new Hq,i=n.domBuilder||new uh,o=n.errorHandler,a=n.locator,s=n.xmlns||{},l=/\/x?html?$/.test(e),c=l?dE.HTML_ENTITIES:dE.XML_ENTITIES;a&&i.setDocumentLocator(a),r.errorHandler=Vq(o,i,a),r.domBuilder=n.domBuilder||i,l&&(s[""]=hE.HTML),s.xml=s.xml||hE.XML;var f=n.normalizeLineEndings||PR;return t&&typeof t=="string"?r.parse(f(t),s,c):r.errorHandler.error("invalid doc source"),i.doc};function Vq(t,e,n){if(!t){if(e instanceof uh)return e;t=e}var r={},i=t instanceof Function;n=n||{};function o(a){var s=t[a];!s&&i&&(s=t.length==2?function(l){t(a,l)}:t),r[a]=s&&function(l){s("[xmldom "+a+"] "+l+Z0(n))}||function(){}}return o("warning"),o("error"),o("fatalError"),r}function uh(){this.cdata=!1}function zc(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}uh.prototype={startDocument:function(){this.doc=new $q().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,n,r){var i=this.doc,o=i.createElementNS(t,n||e),a=r.length;gp(this,o),this.currentElement=o,this.locator&&zc(this.locator,o);for(var s=0;s<a;s++){var t=r.getURI(s),l=r.getValue(s),n=r.getQName(s),c=i.createAttributeNS(t,n);this.locator&&zc(r.getLocator(s),c),c.value=c.nodeValue=l,o.setAttributeNode(c)}},endElement:function(t,e,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(t,e){},endPrefixMapping:function(t){},processingInstruction:function(t,e){var n=this.doc.createProcessingInstruction(t,e);this.locator&&zc(this.locator,n),gp(this,n)},ignorableWhitespace:function(t,e,n){},characters:function(t,e,n){if(t=pE.apply(this,arguments),t){if(this.cdata)var r=this.doc.createCDATASection(t);else var r=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(t)&&this.doc.appendChild(r),this.locator&&zc(this.locator,r)}},skippedEntity:function(t){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,n){t=pE.apply(this,arguments);var r=this.doc.createComment(t);this.locator&&zc(this.locator,r),gp(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(t,e,n);this.locator&&zc(this.locator,i),gp(this,i),this.doc.doctype=i}},warning:function(t){console.warn("[xmldom warning] "+t,Z0(this.locator))},error:function(t){console.error("[xmldom error] "+t,Z0(this.locator))},fatalError:function(t){throw new jq(t,this.locator)}};function Z0(t){if(t)return`
|
|
222
|
+
@`+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function pE(t,e,n){return typeof t=="string"?t.substr(e,n):t.length>=e+n||e?new java.lang.String(t,e,n)+"":t}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(t){uh.prototype[t]=function(){return null}});function gp(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}Jm.__DOMHandler=uh;Jm.normalizeLineEndings=PR;Jm.DOMParser=WR;var LR=ro;qm.DOMImplementation=LR.DOMImplementation;qm.XMLSerializer=LR.XMLSerializer;qm.DOMParser=Jm.DOMParser;var qq=qm,Xq=ro;function Gq(t){var e=null,n=new qq.DOMParser({errorHandler:function(i,o){e={level:i,message:o}}}),r=n.parseFromString(t);if(e===null)return r;throw new Error(e.level+": "+e.message)}rD.parseFromString=Gq;rD.Node=Xq.Node;var r1=sn,gE=jt,zR=rD,$R=Iu,Jq=$R.Element;uR.readString=Yq;var mE=zR.Node;function Yq(t,e){e=e||{};try{var n=zR.parseFromString(t,"text/xml")}catch(a){return r1.reject(a)}if(n.documentElement.tagName==="parsererror")return r1.resolve(new Error(n.documentElement.textContent));function r(a){switch(a.nodeType){case mE.ELEMENT_NODE:return i(a);case mE.TEXT_NODE:return $R.text(a.nodeValue)}}function i(a){var s=o(a),l=[];gE.forEach(a.childNodes,function(f){var d=r(f);d&&l.push(d)});var c={};return gE.forEach(a.attributes,function(f){c[o(f)]=f.value}),new Jq(s,c,l)}function o(a){if(a.namespaceURI){var s=e[a.namespaceURI],l;return s?l=s+":":l="{"+a.namespaceURI+"}",l+a.localName}else return a.localName}return r1.resolve(r(n.documentElement))}var jR={},Zf={},Ao={},yE;function ps(){return yE||(yE=1,(function(){var t,e,n,r,i,o,a,s=[].slice,l={}.hasOwnProperty;t=function(){var c,f,d,p,g,b;if(b=arguments[0],g=2<=arguments.length?s.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(c=0,d=g.length;c<d;c++)if(p=g[c],p!=null)for(f in p)l.call(p,f)&&(b[f]=p[f]);return b},i=function(c){return!!c&&Object.prototype.toString.call(c)==="[object Function]"},o=function(c){var f;return!!c&&((f=typeof c)=="function"||f==="object")},n=function(c){return i(Array.isArray)?Array.isArray(c):Object.prototype.toString.call(c)==="[object Array]"},r=function(c){var f;if(n(c))return!c.length;for(f in c)if(l.call(c,f))return!1;return!0},a=function(c){var f,d;return o(c)&&(d=Object.getPrototypeOf(c))&&(f=d.constructor)&&typeof f=="function"&&f instanceof f&&Function.prototype.toString.call(f)===Function.prototype.toString.call(Object)},e=function(c){return i(c.valueOf)?c.valueOf():c},Ao.assign=t,Ao.isFunction=i,Ao.isObject=o,Ao.isArray=n,Ao.isEmpty=r,Ao.isPlainObject=a,Ao.getValue=e}).call(rt)),Ao}var i1={exports:{}},o1={exports:{}},a1={exports:{}},s1={exports:{}},bE;function HR(){return bE||(bE=1,(function(){s1.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(rt)),s1.exports}var vE;function Ym(){return vE||(vE=1,(function(){var t,e,n,r,i,o,a=function(l,c){for(var f in c)s.call(c,f)&&(l[f]=c[f]);function d(){this.constructor=l}return d.prototype=c.prototype,l.prototype=new d,l.__super__=c.prototype,l},s={}.hasOwnProperty;o=ps(),i=o.isObject,r=o.isFunction,n=o.getValue,e=vr(),t=HR(),a1.exports=function(l){a(c,l);function c(f,d,p){if(c.__super__.constructor.call(this,f),d==null)throw new Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(d),this.attributes={},p!=null&&this.attribute(p),f.isDocument&&(this.isRoot=!0,this.documentObject=f,f.rootObject=this)}return c.prototype.clone=function(){var f,d,p,g;p=Object.create(this),p.isRoot&&(p.documentObject=null),p.attributes={},g=this.attributes;for(d in g)s.call(g,d)&&(f=g[d],p.attributes[d]=f.clone());return p.children=[],this.children.forEach(function(b){var x;return x=b.clone(),x.parent=p,p.children.push(x)}),p},c.prototype.attribute=function(f,d){var p,g;if(f!=null&&(f=n(f)),i(f))for(p in f)s.call(f,p)&&(g=f[p],this.attribute(p,g));else r(d)&&(d=d.apply()),(!this.options.skipNullAttributes||d!=null)&&(this.attributes[f]=new t(this,f,d));return this},c.prototype.removeAttribute=function(f){var d,p,g;if(f==null)throw new Error("Missing attribute name. "+this.debugInfo());if(f=n(f),Array.isArray(f))for(p=0,g=f.length;p<g;p++)d=f[p],delete this.attributes[d];else delete this.attributes[f];return this},c.prototype.toString=function(f){return this.options.writer.set(f).element(this)},c.prototype.att=function(f,d){return this.attribute(f,d)},c.prototype.a=function(f,d){return this.attribute(f,d)},c}(e)}).call(rt)),a1.exports}var l1={exports:{}},xE;function Zm(){return xE||(xE=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=vr(),l1.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(rt)),l1.exports}var c1={exports:{}},DE;function Km(){return DE||(DE=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=vr(),c1.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(rt)),c1.exports}var u1={exports:{}},wE;function Qm(){return wE||(wE=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=ps().isObject,t=vr(),u1.exports=function(i){n(o,i);function o(a,s,l,c){var f;o.__super__.constructor.call(this,a),e(s)&&(f=s,s=f.version,l=f.encoding,c=f.standalone),s||(s="1.0"),this.version=this.stringify.xmlVersion(s),l!=null&&(this.encoding=this.stringify.xmlEncoding(l)),c!=null&&(this.standalone=this.stringify.xmlStandalone(c))}return o.prototype.toString=function(a){return this.options.writer.set(a).declaration(this)},o}(t)}).call(rt)),u1.exports}var f1={exports:{}},d1={exports:{}},SE;function ey(){return SE||(SE=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=vr(),d1.exports=function(r){e(i,r);function i(o,a,s,l,c,f){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(!l)throw new Error("Missing DTD attribute type. "+this.debugInfo(a));if(!c)throw new Error("Missing DTD attribute default. "+this.debugInfo(a));if(c.indexOf("#")!==0&&(c="#"+c),!c.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(a));if(f&&!c.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(l),this.defaultValue=this.stringify.dtdAttDefault(f),this.defaultValueType=c}return i.prototype.toString=function(o){return this.options.writer.set(o).dtdAttList(this)},i}(t)}).call(rt)),d1.exports}var h1={exports:{}},TE;function ty(){return TE||(TE=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=ps().isObject,t=vr(),h1.exports=function(i){n(o,i);function o(a,s,l,c){if(o.__super__.constructor.call(this,a),l==null)throw new Error("Missing DTD entity name. "+this.debugInfo(l));if(c==null)throw new Error("Missing DTD entity value. "+this.debugInfo(l));if(this.pe=!!s,this.name=this.stringify.eleName(l),!e(c))this.value=this.stringify.dtdEntityValue(c);else{if(!c.pubID&&!c.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(l));if(c.pubID&&!c.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(l));if(c.pubID!=null&&(this.pubID=this.stringify.dtdPubID(c.pubID)),c.sysID!=null&&(this.sysID=this.stringify.dtdSysID(c.sysID)),c.nData!=null&&(this.nData=this.stringify.dtdNData(c.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(l))}}return o.prototype.toString=function(a){return this.options.writer.set(a).dtdEntity(this)},o}(t)}).call(rt)),h1.exports}var p1={exports:{}},CE;function ny(){return CE||(CE=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=vr(),p1.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(rt)),p1.exports}var g1={exports:{}},EE;function ry(){return EE||(EE=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=vr(),g1.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(rt)),g1.exports}var _E;function iy(){return _E||(_E=1,(function(){var t,e,n,r,i,o,a=function(l,c){for(var f in c)s.call(c,f)&&(l[f]=c[f]);function d(){this.constructor=l}return d.prototype=c.prototype,l.prototype=new d,l.__super__=c.prototype,l},s={}.hasOwnProperty;o=ps().isObject,i=vr(),t=ey(),n=ty(),e=ny(),r=ry(),f1.exports=function(l){a(c,l);function c(f,d,p){var g,b;c.__super__.constructor.call(this,f),this.name="!DOCTYPE",this.documentObject=f,o(d)&&(g=d,d=g.pubID,p=g.sysID),p==null&&(b=[d,p],p=b[0],d=b[1]),d!=null&&(this.pubID=this.stringify.dtdPubID(d)),p!=null&&(this.sysID=this.stringify.dtdSysID(p))}return c.prototype.element=function(f,d){var p;return p=new e(this,f,d),this.children.push(p),this},c.prototype.attList=function(f,d,p,g,b){var x;return x=new t(this,f,d,p,g,b),this.children.push(x),this},c.prototype.entity=function(f,d){var p;return p=new n(this,!1,f,d),this.children.push(p),this},c.prototype.pEntity=function(f,d){var p;return p=new n(this,!0,f,d),this.children.push(p),this},c.prototype.notation=function(f,d){var p;return p=new r(this,f,d),this.children.push(p),this},c.prototype.toString=function(f){return this.options.writer.set(f).docType(this)},c.prototype.ele=function(f,d){return this.element(f,d)},c.prototype.att=function(f,d,p,g,b){return this.attList(f,d,p,g,b)},c.prototype.ent=function(f,d){return this.entity(f,d)},c.prototype.pent=function(f,d){return this.pEntity(f,d)},c.prototype.not=function(f,d){return this.notation(f,d)},c.prototype.up=function(){return this.root()||this.documentObject},c}(i)}).call(rt)),f1.exports}var m1={exports:{}},kE;function oy(){return kE||(kE=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=vr(),m1.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(rt)),m1.exports}var y1={exports:{}},AE;function ay(){return AE||(AE=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=vr(),y1.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(rt)),y1.exports}var b1={exports:{}},UE;function sy(){return UE||(UE=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=vr(),b1.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(rt)),b1.exports}var v1={exports:{}},FE;function pD(){return FE||(FE=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=vr(),v1.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(rt)),v1.exports}var RE;function vr(){return RE||(RE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,b={}.hasOwnProperty;g=ps(),p=g.isObject,d=g.isFunction,f=g.isEmpty,c=g.getValue,o=null,t=null,e=null,n=null,r=null,s=null,l=null,a=null,i=null,o1.exports=function(){function x(v){this.parent=v,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=Ym(),t=Zm(),e=Km(),n=Qm(),r=iy(),s=oy(),l=ay(),a=sy(),i=pD())}return x.prototype.element=function(v,D,S){var E,O,U,M,N,q,j,ae,ce,F,Z;if(q=null,D===null&&S==null&&(ce=[{},null],D=ce[0],S=ce[1]),D==null&&(D={}),D=c(D),p(D)||(F=[D,S],S=F[0],D=F[1]),v!=null&&(v=c(v)),Array.isArray(v))for(U=0,j=v.length;U<j;U++)O=v[U],q=this.element(O);else if(d(v))q=this.element(v.apply());else if(p(v)){for(N in v)if(b.call(v,N))if(Z=v[N],d(Z)&&(Z=Z.apply()),p(Z)&&f(Z)&&(Z=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)q=this.attribute(N.substr(this.stringify.convertAttKey.length),Z);else if(!this.options.separateArrayItems&&Array.isArray(Z))for(M=0,ae=Z.length;M<ae;M++)O=Z[M],E={},E[N]=O,q=this.element(E);else p(Z)?(q=this.element(N),q.element(Z)):q=this.element(N,Z)}else this.options.skipNullNodes&&S===null?q=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&v.indexOf(this.stringify.convertTextKey)===0?q=this.text(S):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&v.indexOf(this.stringify.convertCDataKey)===0?q=this.cdata(S):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&v.indexOf(this.stringify.convertCommentKey)===0?q=this.comment(S):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&v.indexOf(this.stringify.convertRawKey)===0?q=this.raw(S):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&v.indexOf(this.stringify.convertPIKey)===0?q=this.instruction(v.substr(this.stringify.convertPIKey.length),S):q=this.node(v,D,S);if(q==null)throw new Error("Could not create any elements with: "+v+". "+this.debugInfo());return q},x.prototype.insertBefore=function(v,D,S){var E,O,U;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(v));return O=this.parent.children.indexOf(this),U=this.parent.children.splice(O),E=this.parent.element(v,D,S),Array.prototype.push.apply(this.parent.children,U),E},x.prototype.insertAfter=function(v,D,S){var E,O,U;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(v));return O=this.parent.children.indexOf(this),U=this.parent.children.splice(O+1),E=this.parent.element(v,D,S),Array.prototype.push.apply(this.parent.children,U),E},x.prototype.remove=function(){var v;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return v=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[v,v-v+1].concat([])),this.parent},x.prototype.node=function(v,D,S){var E,O;return v!=null&&(v=c(v)),D||(D={}),D=c(D),p(D)||(O=[D,S],S=O[0],D=O[1]),E=new o(this,v,D),S!=null&&E.text(S),this.children.push(E),E},x.prototype.text=function(v){var D;return D=new l(this,v),this.children.push(D),this},x.prototype.cdata=function(v){var D;return D=new t(this,v),this.children.push(D),this},x.prototype.comment=function(v){var D;return D=new e(this,v),this.children.push(D),this},x.prototype.commentBefore=function(v){var D,S;return D=this.parent.children.indexOf(this),S=this.parent.children.splice(D),this.parent.comment(v),Array.prototype.push.apply(this.parent.children,S),this},x.prototype.commentAfter=function(v){var D,S;return D=this.parent.children.indexOf(this),S=this.parent.children.splice(D+1),this.parent.comment(v),Array.prototype.push.apply(this.parent.children,S),this},x.prototype.raw=function(v){var D;return D=new s(this,v),this.children.push(D),this},x.prototype.dummy=function(){var v;return v=new i(this),this.children.push(v),v},x.prototype.instruction=function(v,D){var S,E,O,U,M;if(v!=null&&(v=c(v)),D!=null&&(D=c(D)),Array.isArray(v))for(U=0,M=v.length;U<M;U++)S=v[U],this.instruction(S);else if(p(v))for(S in v)b.call(v,S)&&(E=v[S],this.instruction(S,E));else d(D)&&(D=D.apply()),O=new a(this,v,D),this.children.push(O);return this},x.prototype.instructionBefore=function(v,D){var S,E;return S=this.parent.children.indexOf(this),E=this.parent.children.splice(S),this.parent.instruction(v,D),Array.prototype.push.apply(this.parent.children,E),this},x.prototype.instructionAfter=function(v,D){var S,E;return S=this.parent.children.indexOf(this),E=this.parent.children.splice(S+1),this.parent.instruction(v,D),Array.prototype.push.apply(this.parent.children,E),this},x.prototype.declaration=function(v,D,S){var E,O;return E=this.document(),O=new n(E,v,D,S),E.children[0]instanceof n?E.children[0]=O:E.children.unshift(O),E.root()||E},x.prototype.doctype=function(v,D){var S,E,O,U,M,N,q,j,ae,ce;for(E=this.document(),O=new r(E,v,D),ae=E.children,U=M=0,q=ae.length;M<q;U=++M)if(S=ae[U],S instanceof r)return E.children[U]=O,O;for(ce=E.children,U=N=0,j=ce.length;N<j;U=++N)if(S=ce[U],S.isRoot)return E.children.splice(U,0,O),O;return E.children.push(O),O},x.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},x.prototype.root=function(){var v;for(v=this;v;){if(v.isDocument)return v.rootObject;if(v.isRoot)return v;v=v.parent}},x.prototype.document=function(){var v;for(v=this;v;){if(v.isDocument)return v;v=v.parent}},x.prototype.end=function(v){return this.document().end(v)},x.prototype.prev=function(){var v;for(v=this.parent.children.indexOf(this);v>0&&this.parent.children[v-1].isDummy;)v=v-1;if(v<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[v-1]},x.prototype.next=function(){var v;for(v=this.parent.children.indexOf(this);v<this.parent.children.length-1&&this.parent.children[v+1].isDummy;)v=v+1;if(v===-1||v===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[v+1]},x.prototype.importDocument=function(v){var D;return D=v.root().clone(),D.parent=this,D.isRoot=!1,this.children.push(D),this},x.prototype.debugInfo=function(v){var D,S;return v=v||this.name,v==null&&!((D=this.parent)!=null&&D.name)?"":v==null?"parent: <"+this.parent.name+">":(S=this.parent)!=null&&S.name?"node: <"+v+">, parent: <"+this.parent.name+">":"node: <"+v+">"},x.prototype.ele=function(v,D,S){return this.element(v,D,S)},x.prototype.nod=function(v,D,S){return this.node(v,D,S)},x.prototype.txt=function(v){return this.text(v)},x.prototype.dat=function(v){return this.cdata(v)},x.prototype.com=function(v){return this.comment(v)},x.prototype.ins=function(v,D){return this.instruction(v,D)},x.prototype.doc=function(){return this.document()},x.prototype.dec=function(v,D,S){return this.declaration(v,D,S)},x.prototype.dtd=function(v,D){return this.doctype(v,D)},x.prototype.e=function(v,D,S){return this.element(v,D,S)},x.prototype.n=function(v,D,S){return this.node(v,D,S)},x.prototype.t=function(v){return this.text(v)},x.prototype.d=function(v){return this.cdata(v)},x.prototype.c=function(v){return this.comment(v)},x.prototype.r=function(v){return this.raw(v)},x.prototype.i=function(v,D){return this.instruction(v,D)},x.prototype.u=function(){return this.up()},x.prototype.importXMLBuilder=function(v){return this.importDocument(v)},x}()}).call(rt)),o1.exports}var x1={exports:{}},OE;function VR(){return OE||(OE=1,(function(){var t=function(n,r){return function(){return n.apply(r,arguments)}},e={}.hasOwnProperty;x1.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,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")},n}()}).call(rt)),x1.exports}var D1={exports:{}},w1={exports:{}},IE;function qR(){return IE||(IE=1,(function(){var t={}.hasOwnProperty;w1.exports=function(){function e(n){var r,i,o,a,s,l,c,f,d;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=(l=n.dontprettytextnodes)!=null?l:0):(this.indent="",this.newline="",this.offset=0,this.dontprettytextnodes=0),this.spacebeforeslash=(c=n.spacebeforeslash)!=null?c:"",this.spacebeforeslash===!0&&(this.spacebeforeslash=" "),this.newlinedefault=this.newline,this.prettydefault=this.pretty,f=n.writer||{};for(r in f)t.call(f,r)&&(d=f[r],this[r]=d)}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(rt)),w1.exports}var BE;function gD(){return BE||(BE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,b=function(v,D){for(var S in D)x.call(D,S)&&(v[S]=D[S]);function E(){this.constructor=v}return E.prototype=D.prototype,v.prototype=new E,v.__super__=D.prototype,v},x={}.hasOwnProperty;a=Qm(),s=iy(),t=Zm(),e=Km(),c=Ym(),d=oy(),p=ay(),f=sy(),l=pD(),n=ey(),r=ny(),i=ty(),o=ry(),g=qR(),D1.exports=function(v){b(D,v);function D(S){D.__super__.constructor.call(this,S)}return D.prototype.document=function(S){var E,O,U,M,N;for(this.textispresent=!1,M="",N=S.children,O=0,U=N.length;O<U;O++)E=N[O],!(E instanceof l)&&(M+=(function(){switch(!1){case!(E instanceof a):return this.declaration(E);case!(E instanceof s):return this.docType(E);case!(E instanceof e):return this.comment(E);case!(E instanceof f):return this.processingInstruction(E);default:return this.element(E,0)}}).call(this));return this.pretty&&M.slice(-this.newline.length)===this.newline&&(M=M.slice(0,-this.newline.length)),M},D.prototype.attribute=function(S){return" "+S.name+'="'+S.value+'"'},D.prototype.cdata=function(S,E){return this.space(E)+"<![CDATA["+S.text+"]]>"+this.newline},D.prototype.comment=function(S,E){return this.space(E)+"<!-- "+S.text+" -->"+this.newline},D.prototype.declaration=function(S,E){var O;return O=this.space(E),O+='<?xml version="'+S.version+'"',S.encoding!=null&&(O+=' encoding="'+S.encoding+'"'),S.standalone!=null&&(O+=' standalone="'+S.standalone+'"'),O+=this.spacebeforeslash+"?>",O+=this.newline,O},D.prototype.docType=function(S,E){var O,U,M,N,q;if(E||(E=0),N=this.space(E),N+="<!DOCTYPE "+S.root().name,S.pubID&&S.sysID?N+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.sysID&&(N+=' SYSTEM "'+S.sysID+'"'),S.children.length>0){for(N+=" [",N+=this.newline,q=S.children,U=0,M=q.length;U<M;U++)O=q[U],N+=(function(){switch(!1){case!(O instanceof n):return this.dtdAttList(O,E+1);case!(O instanceof r):return this.dtdElement(O,E+1);case!(O instanceof i):return this.dtdEntity(O,E+1);case!(O instanceof o):return this.dtdNotation(O,E+1);case!(O instanceof t):return this.cdata(O,E+1);case!(O instanceof e):return this.comment(O,E+1);case!(O instanceof f):return this.processingInstruction(O,E+1);default:throw new Error("Unknown DTD node type: "+O.constructor.name)}}).call(this);N+="]"}return N+=this.spacebeforeslash+">",N+=this.newline,N},D.prototype.element=function(S,E){var O,U,M,N,q,j,ae,ce,F,Z,k,re,$;E||(E=0),$=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),re=this.space(E),ce="",ce+=re+"<"+S.name,F=S.attributes;for(ae in F)x.call(F,ae)&&(O=F[ae],ce+=this.attribute(O));if(S.children.length===0||S.children.every(function(G){return G.value===""}))this.allowEmpty?ce+="></"+S.name+">"+this.newline:ce+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&S.children.length===1&&S.children[0].value!=null)ce+=">",ce+=S.children[0].value,ce+="</"+S.name+">"+this.newline;else{if(this.dontprettytextnodes){for(Z=S.children,M=0,q=Z.length;M<q;M++)if(U=Z[M],U.value!=null){this.textispresent++,$=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,re=this.space(E)),ce+=">"+this.newline,k=S.children,N=0,j=k.length;N<j;N++)U=k[N],ce+=(function(){switch(!1){case!(U instanceof t):return this.cdata(U,E+1);case!(U instanceof e):return this.comment(U,E+1);case!(U instanceof c):return this.element(U,E+1);case!(U instanceof d):return this.raw(U,E+1);case!(U instanceof p):return this.text(U,E+1);case!(U instanceof f):return this.processingInstruction(U,E+1);case!(U instanceof l):return"";default:throw new Error("Unknown XML node type: "+U.constructor.name)}}).call(this);$&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),ce+=re+"</"+S.name+">"+this.newline}return ce},D.prototype.processingInstruction=function(S,E){var O;return O=this.space(E)+"<?"+S.target,S.value&&(O+=" "+S.value),O+=this.spacebeforeslash+"?>"+this.newline,O},D.prototype.raw=function(S,E){return this.space(E)+S.value+this.newline},D.prototype.text=function(S,E){return this.space(E)+S.value+this.newline},D.prototype.dtdAttList=function(S,E){var O;return O=this.space(E)+"<!ATTLIST "+S.elementName+" "+S.attributeName+" "+S.attributeType,S.defaultValueType!=="#DEFAULT"&&(O+=" "+S.defaultValueType),S.defaultValue&&(O+=' "'+S.defaultValue+'"'),O+=this.spacebeforeslash+">"+this.newline,O},D.prototype.dtdElement=function(S,E){return this.space(E)+"<!ELEMENT "+S.name+" "+S.value+this.spacebeforeslash+">"+this.newline},D.prototype.dtdEntity=function(S,E){var O;return O=this.space(E)+"<!ENTITY",S.pe&&(O+=" %"),O+=" "+S.name,S.value?O+=' "'+S.value+'"':(S.pubID&&S.sysID?O+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.sysID&&(O+=' SYSTEM "'+S.sysID+'"'),S.nData&&(O+=" NDATA "+S.nData)),O+=this.spacebeforeslash+">"+this.newline,O},D.prototype.dtdNotation=function(S,E){var O;return O=this.space(E)+"<!NOTATION "+S.name,S.pubID&&S.sysID?O+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.pubID?O+=' PUBLIC "'+S.pubID+'"':S.sysID&&(O+=' SYSTEM "'+S.sysID+'"'),O+=this.spacebeforeslash+">"+this.newline,O},D.prototype.openNode=function(S,E){var O,U,M,N;if(E||(E=0),S instanceof c){M=this.space(E)+"<"+S.name,N=S.attributes;for(U in N)x.call(N,U)&&(O=N[U],M+=this.attribute(O));return M+=(S.children?">":"/>")+this.newline,M}else return M=this.space(E)+"<!DOCTYPE "+S.rootNodeName,S.pubID&&S.sysID?M+=' PUBLIC "'+S.pubID+'" "'+S.sysID+'"':S.sysID&&(M+=' SYSTEM "'+S.sysID+'"'),M+=(S.children?" [":">")+this.newline,M},D.prototype.closeNode=function(S,E){switch(E||(E=0),!1){case!(S instanceof c):return this.space(E)+"</"+S.name+">"+this.newline;case!(S instanceof s):return this.space(E)+"]>"+this.newline}},D}(g)}).call(rt)),D1.exports}var ME;function Zq(){return ME||(ME=1,(function(){var t,e,n,r,i=function(a,s){for(var l in s)o.call(s,l)&&(a[l]=s[l]);function c(){this.constructor=a}return c.prototype=s.prototype,a.prototype=new c,a.__super__=s.prototype,a},o={}.hasOwnProperty;r=ps().isPlainObject,t=vr(),n=VR(),e=gD(),i1.exports=function(a){i(s,a);function s(l){s.__super__.constructor.call(this,null),this.name="?xml",l||(l={}),l.writer||(l.writer=new e),this.options=l,this.stringify=new n(l),this.isDocument=!0}return s.prototype.end=function(l){var c;return l?r(l)&&(c=l,l=this.options.writer.set(c)):l=this.options.writer,l.document(this)},s.prototype.toString=function(l){return this.options.writer.set(l).document(this)},s}(t)}).call(rt)),i1.exports}var S1={exports:{}},NE;function Kq(){return NE||(NE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,b,x,v,D,S,E,O={}.hasOwnProperty;E=ps(),D=E.isObject,v=E.isFunction,S=E.isPlainObject,x=E.getValue,c=Ym(),e=Zm(),n=Km(),d=oy(),b=ay(),f=sy(),s=Qm(),l=iy(),r=ey(),o=ty(),i=ny(),a=ry(),t=HR(),g=VR(),p=gD(),S1.exports=function(){function U(M,N,q){var j;this.name="?xml",M||(M={}),M.writer?S(M.writer)&&(j=M.writer,M.writer=new p(j)):M.writer=new p(M),this.options=M,this.writer=M.writer,this.stringify=new g(M),this.onDataCallback=N||function(){},this.onEndCallback=q||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return U.prototype.node=function(M,N,q){var j,ae;if(M==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(M));return this.openCurrent(),M=x(M),N===null&&q==null&&(j=[{},null],N=j[0],q=j[1]),N==null&&(N={}),N=x(N),D(N)||(ae=[N,q],q=ae[0],N=ae[1]),this.currentNode=new c(this,M,N),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,q!=null&&this.text(q),this},U.prototype.element=function(M,N,q){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(M,N,q)},U.prototype.attribute=function(M,N){var q,j;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(M));if(M!=null&&(M=x(M)),D(M))for(q in M)O.call(M,q)&&(j=M[q],this.attribute(q,j));else v(N)&&(N=N.apply()),(!this.options.skipNullAttributes||N!=null)&&(this.currentNode.attributes[M]=new t(this,M,N));return this},U.prototype.text=function(M){var N;return this.openCurrent(),N=new b(this,M),this.onData(this.writer.text(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.cdata=function(M){var N;return this.openCurrent(),N=new e(this,M),this.onData(this.writer.cdata(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.comment=function(M){var N;return this.openCurrent(),N=new n(this,M),this.onData(this.writer.comment(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.raw=function(M){var N;return this.openCurrent(),N=new d(this,M),this.onData(this.writer.raw(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.instruction=function(M,N){var q,j,ae,ce,F;if(this.openCurrent(),M!=null&&(M=x(M)),N!=null&&(N=x(N)),Array.isArray(M))for(q=0,ce=M.length;q<ce;q++)j=M[q],this.instruction(j);else if(D(M))for(j in M)O.call(M,j)&&(ae=M[j],this.instruction(j,ae));else v(N)&&(N=N.apply()),F=new f(this,M,N),this.onData(this.writer.processingInstruction(F,this.currentLevel+1),this.currentLevel+1);return this},U.prototype.declaration=function(M,N,q){var j;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return j=new s(this,M,N,q),this.onData(this.writer.declaration(j,this.currentLevel+1),this.currentLevel+1),this},U.prototype.doctype=function(M,N,q){if(this.openCurrent(),M==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 l(this,N,q),this.currentNode.rootNodeName=M,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},U.prototype.dtdElement=function(M,N){var q;return this.openCurrent(),q=new i(this,M,N),this.onData(this.writer.dtdElement(q,this.currentLevel+1),this.currentLevel+1),this},U.prototype.attList=function(M,N,q,j,ae){var ce;return this.openCurrent(),ce=new r(this,M,N,q,j,ae),this.onData(this.writer.dtdAttList(ce,this.currentLevel+1),this.currentLevel+1),this},U.prototype.entity=function(M,N){var q;return this.openCurrent(),q=new o(this,!1,M,N),this.onData(this.writer.dtdEntity(q,this.currentLevel+1),this.currentLevel+1),this},U.prototype.pEntity=function(M,N){var q;return this.openCurrent(),q=new o(this,!0,M,N),this.onData(this.writer.dtdEntity(q,this.currentLevel+1),this.currentLevel+1),this},U.prototype.notation=function(M,N){var q;return this.openCurrent(),q=new a(this,M,N),this.onData(this.writer.dtdNotation(q,this.currentLevel+1),this.currentLevel+1),this},U.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},U.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},U.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},U.prototype.openNode=function(M){if(!M.isOpen)return!this.root&&this.currentLevel===0&&M instanceof c&&(this.root=M),this.onData(this.writer.openNode(M,this.currentLevel),this.currentLevel),M.isOpen=!0},U.prototype.closeNode=function(M){if(!M.isClosed)return this.onData(this.writer.closeNode(M,this.currentLevel),this.currentLevel),M.isClosed=!0},U.prototype.onData=function(M,N){return this.documentStarted=!0,this.onDataCallback(M,N+1)},U.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},U.prototype.debugInfo=function(M){return M==null?"":"node: <"+M+">"},U.prototype.ele=function(){return this.element.apply(this,arguments)},U.prototype.nod=function(M,N,q){return this.node(M,N,q)},U.prototype.txt=function(M){return this.text(M)},U.prototype.dat=function(M){return this.cdata(M)},U.prototype.com=function(M){return this.comment(M)},U.prototype.ins=function(M,N){return this.instruction(M,N)},U.prototype.dec=function(M,N,q){return this.declaration(M,N,q)},U.prototype.dtd=function(M,N,q){return this.doctype(M,N,q)},U.prototype.e=function(M,N,q){return this.element(M,N,q)},U.prototype.n=function(M,N,q){return this.node(M,N,q)},U.prototype.t=function(M){return this.text(M)},U.prototype.d=function(M){return this.cdata(M)},U.prototype.c=function(M){return this.comment(M)},U.prototype.r=function(M){return this.raw(M)},U.prototype.i=function(M,N){return this.instruction(M,N)},U.prototype.att=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},U.prototype.a=function(){return this.currentNode&&this.currentNode instanceof l?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},U.prototype.ent=function(M,N){return this.entity(M,N)},U.prototype.pent=function(M,N){return this.pEntity(M,N)},U.prototype.not=function(M,N){return this.notation(M,N)},U}()}).call(rt)),S1.exports}var T1={exports:{}},PE;function Qq(){return PE||(PE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,b=function(v,D){for(var S in D)x.call(D,S)&&(v[S]=D[S]);function E(){this.constructor=v}return E.prototype=D.prototype,v.prototype=new E,v.__super__=D.prototype,v},x={}.hasOwnProperty;a=Qm(),s=iy(),t=Zm(),e=Km(),c=Ym(),d=oy(),p=ay(),f=sy(),l=pD(),n=ey(),r=ny(),i=ty(),o=ry(),g=qR(),T1.exports=function(v){b(D,v);function D(S,E){D.__super__.constructor.call(this,E),this.stream=S}return D.prototype.document=function(S){var E,O,U,M,N,q,j,ae;for(q=S.children,O=0,M=q.length;O<M;O++)E=q[O],E.isLastRootNode=!1;for(S.children[S.children.length-1].isLastRootNode=!0,j=S.children,ae=[],U=0,N=j.length;U<N;U++)if(E=j[U],!(E instanceof l))switch(!1){case!(E instanceof a):ae.push(this.declaration(E));break;case!(E instanceof s):ae.push(this.docType(E));break;case!(E instanceof e):ae.push(this.comment(E));break;case!(E instanceof f):ae.push(this.processingInstruction(E));break;default:ae.push(this.element(E))}return ae},D.prototype.attribute=function(S){return this.stream.write(" "+S.name+'="'+S.value+'"')},D.prototype.cdata=function(S,E){return this.stream.write(this.space(E)+"<![CDATA["+S.text+"]]>"+this.endline(S))},D.prototype.comment=function(S,E){return this.stream.write(this.space(E)+"<!-- "+S.text+" -->"+this.endline(S))},D.prototype.declaration=function(S,E){return this.stream.write(this.space(E)),this.stream.write('<?xml version="'+S.version+'"'),S.encoding!=null&&this.stream.write(' encoding="'+S.encoding+'"'),S.standalone!=null&&this.stream.write(' standalone="'+S.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(S))},D.prototype.docType=function(S,E){var O,U,M,N;if(E||(E=0),this.stream.write(this.space(E)),this.stream.write("<!DOCTYPE "+S.root().name),S.pubID&&S.sysID?this.stream.write(' PUBLIC "'+S.pubID+'" "'+S.sysID+'"'):S.sysID&&this.stream.write(' SYSTEM "'+S.sysID+'"'),S.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(S)),N=S.children,U=0,M=N.length;U<M;U++)switch(O=N[U],!1){case!(O instanceof n):this.dtdAttList(O,E+1);break;case!(O instanceof r):this.dtdElement(O,E+1);break;case!(O instanceof i):this.dtdEntity(O,E+1);break;case!(O instanceof o):this.dtdNotation(O,E+1);break;case!(O instanceof t):this.cdata(O,E+1);break;case!(O instanceof e):this.comment(O,E+1);break;case!(O instanceof f):this.processingInstruction(O,E+1);break;default:throw new Error("Unknown DTD node type: "+O.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(S))},D.prototype.element=function(S,E){var O,U,M,N,q,j,ae,ce;E||(E=0),ce=this.space(E),this.stream.write(ce+"<"+S.name),j=S.attributes;for(q in j)x.call(j,q)&&(O=j[q],this.attribute(O));if(S.children.length===0||S.children.every(function(F){return F.value===""}))this.allowEmpty?this.stream.write("></"+S.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&S.children.length===1&&S.children[0].value!=null)this.stream.write(">"),this.stream.write(S.children[0].value),this.stream.write("</"+S.name+">");else{for(this.stream.write(">"+this.newline),ae=S.children,M=0,N=ae.length;M<N;M++)switch(U=ae[M],!1){case!(U instanceof t):this.cdata(U,E+1);break;case!(U instanceof e):this.comment(U,E+1);break;case!(U instanceof c):this.element(U,E+1);break;case!(U instanceof d):this.raw(U,E+1);break;case!(U instanceof p):this.text(U,E+1);break;case!(U instanceof f):this.processingInstruction(U,E+1);break;case!(U instanceof l):break;default:throw new Error("Unknown XML node type: "+U.constructor.name)}this.stream.write(ce+"</"+S.name+">")}return this.stream.write(this.endline(S))},D.prototype.processingInstruction=function(S,E){return this.stream.write(this.space(E)+"<?"+S.target),S.value&&this.stream.write(" "+S.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(S))},D.prototype.raw=function(S,E){return this.stream.write(this.space(E)+S.value+this.endline(S))},D.prototype.text=function(S,E){return this.stream.write(this.space(E)+S.value+this.endline(S))},D.prototype.dtdAttList=function(S,E){return this.stream.write(this.space(E)+"<!ATTLIST "+S.elementName+" "+S.attributeName+" "+S.attributeType),S.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+S.defaultValueType),S.defaultValue&&this.stream.write(' "'+S.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(S))},D.prototype.dtdElement=function(S,E){return this.stream.write(this.space(E)+"<!ELEMENT "+S.name+" "+S.value),this.stream.write(this.spacebeforeslash+">"+this.endline(S))},D.prototype.dtdEntity=function(S,E){return this.stream.write(this.space(E)+"<!ENTITY"),S.pe&&this.stream.write(" %"),this.stream.write(" "+S.name),S.value?this.stream.write(' "'+S.value+'"'):(S.pubID&&S.sysID?this.stream.write(' PUBLIC "'+S.pubID+'" "'+S.sysID+'"'):S.sysID&&this.stream.write(' SYSTEM "'+S.sysID+'"'),S.nData&&this.stream.write(" NDATA "+S.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(S))},D.prototype.dtdNotation=function(S,E){return this.stream.write(this.space(E)+"<!NOTATION "+S.name),S.pubID&&S.sysID?this.stream.write(' PUBLIC "'+S.pubID+'" "'+S.sysID+'"'):S.pubID?this.stream.write(' PUBLIC "'+S.pubID+'"'):S.sysID&&this.stream.write(' SYSTEM "'+S.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(S))},D.prototype.endline=function(S){return S.isLastRootNode?"":this.newline},D}(g)}).call(rt)),T1.exports}(function(){var t,e,n,r,i,o,a;a=ps(),i=a.assign,o=a.isFunction,t=Zq(),e=Kq(),r=gD(),n=Qq(),Zf.create=function(s,l,c,f){var d,p;if(s==null)throw new Error("Root element needs a name.");return f=i({},l,c,f),d=new t(f),p=d.element(s),f.headless||(d.declaration(f),(f.pubID!=null||f.sysID!=null)&&d.doctype(f)),p},Zf.begin=function(s,l,c){var f;return o(s)&&(f=[s,l],l=f[0],c=f[1],s={}),l?new e(s,l,c):new t(s)},Zf.stringWriter=function(s){return new r(s)},Zf.streamWriter=function(s,l){return new n(s,l)}}).call(rt);var WE=jt,eX=Zf;jR.writeString=tX;function tX(t,e){var n=WE.invert(e),r={element:o,text:nX};function i(l,c){return r[c.type](l,c)}function o(l,c){var f=l.element(a(c.name),c.attributes);c.children.forEach(function(d){i(f,d)})}function a(l){var c=/^\{(.*)\}(.*)$/.exec(l);if(c){var f=n[c[1]];return f+(f===""?"":":")+c[2]}else return l}function s(l){var c=eX.create(a(l.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return WE.forEach(e,function(f,d){var p="xmlns"+(d===""?"":":"+d);c.attribute(p,f)}),l.children.forEach(function(f){i(c,f)}),c.end()}return s(t)}function nX(t,e){t.text(e.value)}var ly=Iu;Ko.Element=ly.Element;Ko.element=ly.element;Ko.emptyElement=ly.emptyElement;Ko.text=ly.text;Ko.readString=uR.readString;Ko.writeString=jR.writeString;var rX=jt,iX=sn,oX=Ko;nD.read=XR;nD.readXmlFromZipFile=sX;var aX={"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 XR(t){return oX.readString(t,aX).then(function(e){return GR(e)[0]})}function sX(t,e){return t.exists(e)?t.read(e,"utf-8").then(lX).then(XR):iX.resolve(null)}function lX(t){return t.replace(/^\uFEFF/g,"")}function GR(t){return t.type==="element"?t.name==="mc:AlternateContent"?t.first("mc:Fallback").children:(t.children=rX.flatten(t.children.map(GR,!0)),[t]):[t]}var mD={},es={},yD={};Object.defineProperty(yD,"__esModule",{value:!0});var cX=[{"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"}];yD.default=cX;var uX=rt&&rt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(es,"__esModule",{value:!0});es.hex=es.dec=es.codePoint=void 0;var fX=uX(yD),JR={},dX=String.fromCodePoint?String.fromCodePoint:mX;for(var C1=0,LE=fX.default;C1<LE.length;C1++){var E1=LE[C1],zE=parseInt(E1["Unicode dec"],10),hX={codePoint:zE,string:dX(zE)};JR[E1["Typeface name"].toUpperCase()+"_"+E1["Dingbat dec"]]=hX}function bD(t,e){return JR[t.toUpperCase()+"_"+e]}es.codePoint=bD;function pX(t,e){return bD(t,parseInt(e,10))}es.dec=pX;function gX(t,e){return bD(t,parseInt(e,16))}es.hex=gX;function mX(t){if(t<=65535)return String.fromCharCode(t);var e=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(e,n)}var vD={};vD.uriToZipEntryName=yX;vD.replaceFragment=bX;function yX(t,e){return e.charAt(0)==="/"?e.substr(1):t+"/"+e}function bX(t,e){var n=t.indexOf("#");return n!==-1&&(t=t.substring(0,n)),t+"#"+e}mD.createBodyReader=xX;mD._readNumberingProperties=ZR;var $E=es,Yr=jt,It=ct,YR=Fr.Result,Uo=Fr.warning,vX=Ko,jE=vD;function xX(t){return{readXmlElement:function(e){return new HE(t).readXmlElement(e)},readXmlElements:function(e){return new HE(t).readXmlElements(e)}}}function HE(t){var e=[],n=[],r=[],i=t.relationships,o=t.contentTypes,a=t.docxFile,s=t.files,l=t.numbering,c=t.styles;function f(oe){var Ee=oe.map(d);return VE(Ee)}function d(oe){if(oe.type==="element"){var Ee=$[oe.name];if(Ee)return Ee(oe);if(!Object.prototype.hasOwnProperty.call(wX,oe.name)){var Re=Uo("An unrecognised element was ignored: "+oe.name);return Vf([Re])}}return qf()}function p(oe){return E(oe).map(function(Ee){return{type:"paragraphProperties",styleId:Ee.styleId,styleName:Ee.name,alignment:oe.firstOrEmpty("w:jc").attributes["w:val"],numbering:ZR(Ee.styleId,oe.firstOrEmpty("w:numPr"),l),indent:g(oe.firstOrEmpty("w:ind"))}})}function g(oe){return{start:oe.attributes["w:start"]||oe.attributes["w:left"],end:oe.attributes["w:end"]||oe.attributes["w:right"],firstLine:oe.attributes["w:firstLine"],hanging:oe.attributes["w:hanging"]}}function b(oe){return O(oe).map(function(Ee){var Re=oe.firstOrEmpty("w:sz").attributes["w:val"],A=/^[0-9]+$/.test(Re)?parseInt(Re,10)/2:null;return{type:"runProperties",styleId:Ee.styleId,styleName:Ee.name,verticalAlignment:oe.firstOrEmpty("w:vertAlign").attributes["w:val"],font:oe.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:A,isBold:v(oe.first("w:b")),isUnderline:x(oe.first("w:u")),isItalic:v(oe.first("w:i")),isStrikethrough:v(oe.first("w:strike")),isAllCaps:v(oe.first("w:caps")),isSmallCaps:v(oe.first("w:smallCaps")),highlight:S(oe.firstOrEmpty("w:highlight").attributes["w:val"])}})}function x(oe){if(oe){var Ee=oe.attributes["w:val"];return Ee!==void 0&&Ee!=="false"&&Ee!=="0"&&Ee!=="none"}else return!1}function v(oe){if(oe){var Ee=oe.attributes["w:val"];return Ee!=="false"&&Ee!=="0"}else return!1}function D(oe){return oe!=="false"&&oe!=="0"}function S(oe){return!oe||oe==="none"?null:oe}function E(oe){return M(oe,"w:pStyle","Paragraph",c.findParagraphStyleById)}function O(oe){return M(oe,"w:rStyle","Run",c.findCharacterStyleById)}function U(oe){return M(oe,"w:tblStyle","Table",c.findTableStyleById)}function M(oe,Ee,Re,A){var ye=[],fe=oe.first(Ee),Q=null,V=null;if(fe&&(Q=fe.attributes["w:val"],Q)){var se=A(Q);se?V=se.name:ye.push(tt(Re,Q))}return mp({styleId:Q,name:V},ye)}function N(oe){var Ee=oe.attributes["w:fldCharType"];if(Ee==="begin")e.push({type:"begin",fldChar:oe}),n=[];else if(Ee==="end"){var Re=e.pop();if(Re.type==="begin"&&(Re=j(Re)),Re.type==="checkbox")return cr(It.checkbox({checked:Re.checked}))}else if(Ee==="separate"){var A=e.pop(),ye=j(A);e.push(ye)}return qf()}function q(){var oe=Yr.last(e.filter(function(Ee){return Ee.type==="hyperlink"}));return oe?oe.options:null}function j(oe){return ae(n.join(""),oe.type==="begin"?oe.fldChar:vX.emptyElement)}function ae(oe,Ee){var Re=/\s*HYPERLINK "(.*)"/.exec(oe);if(Re)return{type:"hyperlink",options:{href:Re[1]}};var A=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(oe);if(A)return{type:"hyperlink",options:{anchor:A[1]}};var ye=/\s*FORMCHECKBOX\s*/.exec(oe);if(ye){var fe=Ee.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),Q=fe.first("w:checked"),V=Q==null?v(fe.first("w:default")):v(Q);return{type:"checkbox",checked:V}}return{type:"unknown"}}function ce(oe){return n.push(oe.text()),qf()}function F(oe){var Ee=oe.attributes["w:font"],Re=oe.attributes["w:char"],A=$E.hex(Ee,Re);return A==null&&/^F0..$/.test(Re)&&(A=$E.hex(Ee,Re.substring(2))),A==null?Vf([Uo("A w:sym element with an unsupported character was ignored: char "+Re+" in font "+Ee)]):cr(new It.Text(A.string))}function Z(oe){return function(Ee){var Re=Ee.attributes["w:id"];return cr(new It.NoteReference({noteType:oe,noteId:Re}))}}function k(oe){return cr(It.commentReference({commentId:oe.attributes["w:id"]}))}function re(oe){return f(oe.children)}var $={"w:p":function(oe){var Ee=oe.firstOrEmpty("w:pPr"),Re=!!Ee.firstOrEmpty("w:rPr").first("w:del");if(Re)return oe.children.forEach(function(ye){r.push(ye)}),qf();var A=oe.children;return r.length>0&&(A=r.concat(A),r=[]),vn.map(p(Ee),f(A),function(ye,fe){return new It.Paragraph(fe,ye)}).insertExtra()},"w:r":function(oe){return vn.map(b(oe.firstOrEmpty("w:rPr")),f(oe.children),function(Ee,Re){var A=q();return A!==null&&(Re=[new It.Hyperlink(Re,A)]),new It.Run(Re,Ee)})},"w:fldChar":N,"w:instrText":ce,"w:t":function(oe){return cr(new It.Text(oe.text()))},"w:tab":function(oe){return cr(new It.Tab)},"w:noBreakHyphen":function(){return cr(new It.Text("‑"))},"w:softHyphen":function(oe){return cr(new It.Text(""))},"w:sym":F,"w:hyperlink":function(oe){var Ee=oe.attributes["r:id"],Re=oe.attributes["w:anchor"];return f(oe.children).map(function(A){function ye(Q){var V=oe.attributes["w:tgtFrame"]||null;return new It.Hyperlink(A,Yr.extend({targetFrame:V},Q))}if(Ee){var fe=i.findTargetByRelationshipId(Ee);return Re&&(fe=jE.replaceFragment(fe,Re)),ye({href:fe})}else return Re?ye({anchor:Re}):A})},"w:tbl":G,"w:tr":X,"w:tc":ie,"w:footnoteReference":Z("footnote"),"w:endnoteReference":Z("endnote"),"w:commentReference":k,"w:br":function(oe){var Ee=oe.attributes["w:type"];return Ee==null||Ee==="textWrapping"?cr(It.lineBreak):Ee==="page"?cr(It.pageBreak):Ee==="column"?cr(It.columnBreak):Vf([Uo("Unsupported break type: "+Ee)])},"w:bookmarkStart":function(oe){var Ee=oe.attributes["w:name"];return Ee==="_GoBack"?qf():cr(new It.BookmarkStart({name:Ee}))},"mc:AlternateContent":function(oe){return re(oe.first("mc:Fallback"))},"w:sdt":function(oe){var Ee=oe.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(Ee){var Re=Ee.first("wordml:checked"),A=!!Re&&D(Re.attributes["wordml:val"]);return cr(It.checkbox({checked:A}))}else return f(oe.firstOrEmpty("w:sdtContent").children)},"w:ins":re,"w:object":re,"w:smartTag":re,"w:drawing":re,"w:pict":function(oe){return re(oe).toExtra()},"v:roundrect":re,"v:shape":re,"v:textbox":re,"w:txbxContent":re,"wp:inline":de,"wp:anchor":de,"v:imagedata":$e,"v:group":re,"v:rect":re};return{readXmlElement:d,readXmlElements:f};function G(oe){var Ee=J(oe.firstOrEmpty("w:tblPr"));return f(oe.children).flatMap(P).flatMap(function(Re){return Ee.map(function(A){return It.Table(Re,A)})})}function J(oe){return U(oe).map(function(Ee){return{styleId:Ee.styleId,styleName:Ee.name}})}function X(oe){var Ee=oe.firstOrEmpty("w:trPr"),Re=!!Ee.first("w:tblHeader");return f(oe.children).map(function(A){return It.TableRow(A,{isHeader:Re})})}function ie(oe){return f(oe.children).map(function(Ee){var Re=oe.firstOrEmpty("w:tcPr"),A=Re.firstOrEmpty("w:gridSpan").attributes["w:val"],ye=A?parseInt(A,10):1,fe=It.TableCell(Ee,{colSpan:ye});return fe._vMerge=H(Re),fe})}function H(oe){var Ee=oe.first("w:vMerge");if(Ee){var Re=Ee.attributes["w:val"];return Re==="continue"||!Re}else return null}function P(oe){var Ee=Yr.any(oe,function(ye){return ye.type!==It.types.tableRow});if(Ee)return mp(oe,[Uo("unexpected non-row element in table, cell merging may be incorrect")]);var Re=Yr.any(oe,function(ye){return Yr.any(ye.children,function(fe){return fe.type!==It.types.tableCell})});if(Re)return mp(oe,[Uo("unexpected non-cell element in table row, cell merging may be incorrect")]);var A={};return oe.forEach(function(ye){var fe=0;ye.children.forEach(function(Q){Q._vMerge&&A[fe]?A[fe].rowSpan++:(A[fe]=Q,Q._vMerge=!1),fe+=Q.colSpan})}),oe.forEach(function(ye){ye.children=ye.children.filter(function(fe){return!fe._vMerge}),ye.children.forEach(function(fe){delete fe._vMerge})}),cr(oe)}function de(oe){var Ee=oe.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return VE(Ee.map(De.bind(null,oe)))}function De(oe,Ee){var Re=oe.first("wp:docPr").attributes,A=me(Re.descr)?Re.title:Re.descr,ye=_e(Ee);return ye===null?Vf([Uo("Could not find image file for a:blip element")]):ze(ye,A)}function me(oe){return oe==null||/^\s*$/.test(oe)}function _e(oe){var Ee=oe.attributes["r:embed"],Re=oe.attributes["r:link"];if(Ee)return Le(Ee);if(Re){var A=i.findTargetByRelationshipId(Re);return{path:A,read:s.read.bind(s,A)}}else return null}function $e(oe){var Ee=oe.attributes["r:id"];return Ee?ze(Le(Ee),oe.attributes["o:title"]):Vf([Uo("A v:imagedata element without a relationship ID was ignored")])}function Le(oe){var Ee=jE.uriToZipEntryName("word",i.findTargetByRelationshipId(oe));return{path:Ee,read:a.read.bind(a,Ee)}}function ze(oe,Ee){var Re=o.findContentType(oe.path),A=It.Image({readImage:oe.read,altText:Ee,contentType:Re}),ye=DX[Re]?[]:Uo("Image of type "+Re+" is unlikely to display in web browsers");return mp(A,ye)}function tt(oe,Ee){return Uo(oe+" style with ID "+Ee+" was referenced but not defined in the document")}}function ZR(t,e,n){var r=e.firstOrEmpty("w:ilvl").attributes["w:val"],i=e.firstOrEmpty("w:numId").attributes["w:val"];if(r!==void 0&&i!==void 0)return n.findLevel(i,r);if(t!=null){var o=n.findLevelByParagraphStyleId(t);if(o!=null)return o}return null}var DX={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},wX={"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 Vf(t){return new vn(null,null,t)}function qf(){return new vn(null)}function cr(t){return new vn(t)}function mp(t,e){return new vn(t,null,e)}function vn(t,e,n){this.value=t||[],this.extra=e||[],this._result=new YR({element:this.value,extra:e},n),this.messages=this._result.messages}vn.prototype.toExtra=function(){return new vn(null,cy(this.extra,this.value),this.messages)};vn.prototype.insertExtra=function(){var t=this.extra;return t&&t.length?new vn(cy(this.value,t),null,this.messages):this};vn.prototype.map=function(t){var e=this._result.map(function(n){return t(n.element)});return new vn(e.value,this.extra,e.messages)};vn.prototype.flatMap=function(t){var e=this._result.flatMap(function(n){return t(n.element)._result});return new vn(e.value.element,cy(this.extra,e.value.extra),e.messages)};vn.map=function(t,e,n){return new vn(n(t.value,e.value),cy(t.extra,e.extra),t.messages.concat(e.messages))};function VE(t){var e=YR.combine(Yr.pluck(t,"_result"));return new vn(Yr.flatten(Yr.pluck(e.value,"element")),Yr.filter(Yr.flatten(Yr.pluck(e.value,"extra")),SX),e.messages)}function cy(t,e){return Yr.flatten([t,e])}function SX(t){return t}var KR={};KR.DocumentXmlReader=EX;var TX=ct,CX=Fr.Result;function EX(t){var e=t.bodyReader;function n(r){var i=r.first("w:body");if(i==null)throw new Error("Could not find the body element: are you sure this is a docx file?");var o=e.readXmlElements(i.children).map(function(a){return new TX.Document(a,{notes:t.notes,comments:t.comments})});return new CX(o.value,o.messages)}return{convertXmlToDocument:n}}var uy={};uy.readRelationships=_X;uy.defaultValue=new xD([]);uy.Relationships=xD;function _X(t){var e=[];return t.children.forEach(function(n){if(n.name==="relationships:Relationship"){var r={relationshipId:n.attributes.Id,target:n.attributes.Target,type:n.attributes.Type};e.push(r)}}),new xD(e)}function xD(t){var e={};t.forEach(function(r){e[r.relationshipId]=r.target});var n={};return t.forEach(function(r){n[r.type]||(n[r.type]=[]),n[r.type].push(r.target)}),{findTargetByRelationshipId:function(r){return e[r]},findTargetsByType:function(r){return n[r]||[]}}}var DD={};DD.readContentTypesFromXml=AX;var kX={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};DD.defaultContentTypes=QR({},{});function AX(t){var e={},n={};return t.children.forEach(function(r){if(r.name==="content-types:Default"&&(e[r.attributes.Extension]=r.attributes.ContentType),r.name==="content-types:Override"){var i=r.attributes.PartName;i.charAt(0)==="/"&&(i=i.substring(1)),n[i]=r.attributes.ContentType}}),QR(n,e)}function QR(t,e){return{findContentType:function(n){var r=t[n];if(r)return r;var i=n.split("."),o=i[i.length-1];if(e.hasOwnProperty(o))return e[o];var a=kX[o.toLowerCase()];return a?"image/"+a:null}}}var fy={},yp=jt;fy.readNumberingXml=UX;fy.Numbering=wD;fy.defaultNumbering=new wD({},{});function wD(t,e,n){var r=yp.flatten(yp.values(e).map(function(s){return yp.values(s.levels)})),i=yp.indexBy(r.filter(function(s){return s.paragraphStyleId!=null}),"paragraphStyleId");function o(s,l){var c=t[s];if(c){var f=e[c.abstractNumId];if(f){if(f.numStyleLink==null)return e[c.abstractNumId].levels[l];var d=n.findNumberingStyleById(f.numStyleLink);return o(d.numId,l)}else return null}else return null}function a(s){return i[s]||null}return{findLevel:o,findLevelByParagraphStyleId:a}}function UX(t,e){if(!e||!e.styles)throw new Error("styles is missing");var n=FX(t),r=OX(t);return new wD(r,n,e.styles)}function FX(t){var e={};return t.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];e[r]=RX(n)}),e}function RX(t){var e={};t.getElementsByTagName("w:lvl").forEach(function(r){var i=r.attributes["w:ilvl"],o=r.firstOrEmpty("w:numFmt").attributes["w:val"],a=r.firstOrEmpty("w:pStyle").attributes["w:val"];e[i]={isOrdered:o!=="bullet",level:i,paragraphStyleId:a}});var n=t.firstOrEmpty("w:numStyleLink").attributes["w:val"];return{levels:e,numStyleLink:n}}function OX(t){var e={};return t.getElementsByTagName("w:num").forEach(function(n){var r=n.attributes["w:numId"],i=n.first("w:abstractNumId").attributes["w:val"];e[r]={abstractNumId:i}}),e}var dy={};dy.readStylesXml=IX;dy.Styles=Wd;dy.defaultStyles=new Wd({},{});function Wd(t,e,n,r){return{findParagraphStyleById:function(i){return t[i]},findCharacterStyleById:function(i){return e[i]},findTableStyleById:function(i){return n[i]},findNumberingStyleById:function(i){return r[i]}}}Wd.EMPTY=new Wd({},{},{},{});function IX(t){var e={},n={},r={},i={},o={paragraph:e,character:n,table:r};return t.getElementsByTagName("w:style").forEach(function(a){var s=BX(a);if(s.type==="numbering")i[s.styleId]=NX(a);else{var l=o[s.type];l&&(l[s.styleId]=s)}}),new Wd(e,n,r,i)}function BX(t){var e=t.attributes["w:type"],n=t.attributes["w:styleId"],r=MX(t);return{type:e,styleId:n,name:r}}function MX(t){var e=t.first("w:name");return e?e.attributes["w:val"]:null}function NX(t){var e=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:e}}var SD={},PX=ct,WX=Fr.Result;SD.createFootnotesReader=e8.bind(rt,"footnote");SD.createEndnotesReader=e8.bind(rt,"endnote");function e8(t,e){function n(o){return WX.combine(o.getElementsByTagName("w:"+t).filter(r).map(i))}function r(o){var a=o.attributes["w:type"];return a!=="continuationSeparator"&&a!=="separator"}function i(o){var a=o.attributes["w:id"];return e.readXmlElements(o.children).map(function(s){return PX.Note({noteType:t,noteId:a,body:s})})}return n}var t8={},LX=ct,zX=Fr.Result;function $X(t){function e(r){return zX.combine(r.getElementsByTagName("w:comment").map(n))}function n(r){var i=r.attributes["w:id"];function o(a){return(r.attributes[a]||"").trim()||null}return t.readXmlElements(r.children).map(function(a){return LX.comment({commentId:i,body:a,authorName:o("w:author"),authorInitials:o("w:initials")})})}return e}t8.createCommentsReader=$X;var n8={},jX=sn;n8.Files=HX;function HX(){function t(e){return jX.reject(new Error("could not open external image: '"+e+`'
|
|
225
|
+
cannot open linked files from a web browser`))}return{read:t}}Qx.read=YX;Qx._findPartPaths=i8;var VX=sn,qX=ct,_1=Fr.Result,im=ah,r8=nD.readXmlFromZipFile,XX=mD.createBodyReader,GX=KR.DocumentXmlReader,xu=uy,qE=DD,XE=fy,GE=dy,JE=SD,JX=t8,YE=n8.Files;function YX(t,e){return e=e||{},VX.props({contentTypes:KX(t),partPaths:i8(t),docxFile:t,files:e.path?YE.relativeToFile(e.path):new YE(null)}).also(function(n){return{styles:eG(t,n.partPaths.styles)}}).also(function(n){return{numbering:QX(t,n.partPaths.numbering,n.styles)}}).also(function(n){return{footnotes:bp(n.partPaths.footnotes,n,function(r,i){return i?JE.createFootnotesReader(r)(i):new _1([])}),endnotes:bp(n.partPaths.endnotes,n,function(r,i){return i?JE.createEndnotesReader(r)(i):new _1([])}),comments:bp(n.partPaths.comments,n,function(r,i){return i?JX.createCommentsReader(r)(i):new _1([])})}}).also(function(n){return{notes:n.footnotes.flatMap(function(r){return n.endnotes.map(function(i){return new qX.Notes(r.concat(i))})})}}).then(function(n){return bp(n.partPaths.mainDocument,n,function(r,i){return n.notes.flatMap(function(o){return n.comments.flatMap(function(a){var s=new GX({bodyReader:r,notes:o,comments:a});return s.convertXmlToDocument(i)})})})})}function i8(t){return tG(t).then(function(e){var n=ZE({docxFile:t,relationships:e,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",basePath:"",fallbackPath:"word/document.xml"});if(!t.exists(n))throw new Error("Could not find main document part. Are you sure this is a valid .docx file?");return Mu({filename:o8(n),readElement:xu.readRelationships,defaultValue:xu.defaultValue})(t).then(function(r){function i(o){return ZE({docxFile:t,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+o,basePath:im.splitPath(n).dirname,fallbackPath:"word/"+o+".xml"})}return{mainDocument:n,comments:i("comments"),endnotes:i("endnotes"),footnotes:i("footnotes"),numbering:i("numbering"),styles:i("styles")}})})}function ZE(t){var e=t.docxFile,n=t.relationships,r=t.relationshipType,i=t.basePath,o=t.fallbackPath,a=n.findTargetsByType(r),s=a.map(function(c){return ZX(im.joinPath(i,c),"/")}),l=s.filter(function(c){return e.exists(c)});return l.length===0?o:l[0]}function ZX(t,e){return t.substring(0,e.length)===e?t.substring(e.length):t}function Mu(t){return function(e){return r8(e,t.filename).then(function(n){return n?t.readElement(n):t.defaultValue})}}function bp(t,e,n){var r=Mu({filename:o8(t),readElement:xu.readRelationships,defaultValue:xu.defaultValue});return r(e.docxFile).then(function(i){var o=new XX({relationships:i,contentTypes:e.contentTypes,docxFile:e.docxFile,numbering:e.numbering,styles:e.styles,files:e.files});return r8(e.docxFile,t).then(function(a){return n(o,a)})})}function o8(t){var e=im.splitPath(t);return im.joinPath(e.dirname,"_rels",e.basename+".rels")}var KX=Mu({filename:"[Content_Types].xml",readElement:qE.readContentTypesFromXml,defaultValue:qE.defaultContentTypes});function QX(t,e,n){return Mu({filename:e,readElement:function(r){return XE.readNumberingXml(r,{styles:n})},defaultValue:XE.defaultNumbering})(t)}function eG(t,e){return Mu({filename:e,readElement:GE.readStylesXml,defaultValue:GE.defaultStyles})(t)}var tG=Mu({filename:"_rels/.rels",readElement:xu.readRelationships,defaultValue:xu.defaultValue}),TD={},nG=jt,rG=sn,Ld=Ko;TD.writeStyleMap=oG;TD.readStyleMap=lG;var iG="http://schemas.zwobble.org/mammoth/style-map",om="mammoth/style-map",a8="/"+om;function oG(t,e){return t.write(om,e),aG(t).then(function(){return sG(t)})}function aG(t){var e="word/_rels/document.xml.rels",n="http://schemas.openxmlformats.org/package/2006/relationships",r="{"+n+"}Relationship";return t.read(e,"utf8").then(Ld.readString).then(function(i){var o=i.children;s8(o,r,"Id",{Id:"rMammothStyleMap",Type:iG,Target:a8});var a={"":n};return t.write(e,Ld.writeString(i,a))})}function sG(t){var e="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",r="{"+n+"}Override";return t.read(e,"utf8").then(Ld.readString).then(function(i){var o=i.children;s8(o,r,"PartName",{PartName:a8,ContentType:"text/prs.mammoth.style-map"});var a={"":n};return t.write(e,Ld.writeString(i,a))})}function s8(t,e,n,r){var i=nG.find(t,function(o){return o.name===e&&o.attributes[n]===r[n]});i?i.attributes=r:t.push(Ld.element(e,r))}function lG(t){return t.exists(om)?t.read(om,"utf8"):rG.resolve(null)}var CD={},Ys={},Fo={},Ia={},KE;function l8(){if(KE)return Ia;KE=1;var t=py();function e(l,c,f){return r(t.element(l,c,{fresh:!1}),f)}function n(l,c,f){var d=t.element(l,c,{fresh:!0});return r(d,f)}function r(l,c){return{type:"element",tag:l,children:c||[]}}function i(l){return{type:"text",value:l}}var o={type:"forceWrite"};Ia.freshElement=n,Ia.nonFreshElement=e,Ia.elementWithTag=r,Ia.text=i,Ia.forceWrite=o;var a={br:!0,hr:!0,img:!0,input:!0};function s(l){return l.children.length===0&&a[l.tag.tagName]}return Ia.isVoidElement=s,Ia}var k1,QE;function cG(){if(QE)return k1;QE=1;var t=jt,e=l8();function n(x){return r(c(x))}function r(x){var v=[];return x.map(i).forEach(function(D){l(v,D)}),v}function i(x){return o[x.type](x)}var o={element:a,text:s,forceWrite:s};function a(x){return e.elementWithTag(x.tag,r(x.children))}function s(x){return x}function l(x,v){var D=x[x.length-1];v.type==="element"&&!v.tag.fresh&&D&&D.type==="element"&&v.tag.matchesElement(D.tag)?(v.tag.separator&&l(D.children,e.text(v.tag.separator)),v.children.forEach(function(S){l(D.children,S)})):x.push(v)}function c(x){return f(x,function(v){return d[v.type](v)})}function f(x,v){return t.flatten(t.map(x,v),!0)}var d={element:g,text:b,forceWrite:p};function p(x){return[x]}function g(x){var v=c(x.children);return v.length===0&&!e.isVoidElement(x)?[]:[e.elementWithTag(x.tag,v)]}function b(x){return x.value.length===0?[]:[x]}return k1=n,k1}var e_;function hy(){if(e_)return Fo;e_=1;var t=l8();Fo.freshElement=t.freshElement,Fo.nonFreshElement=t.nonFreshElement,Fo.elementWithTag=t.elementWithTag,Fo.text=t.text,Fo.forceWrite=t.forceWrite,Fo.simplify=cG();function e(a,s){s.forEach(function(l){n(a,l)})}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 Fo.write=e,Fo}var t_;function py(){if(t_)return Ys;t_=1;var t=jt,e=hy();Ys.topLevelElement=n,Ys.elements=r,Ys.element=o;function n(s,l){return r([o(s,l,{fresh:!0})])}function r(s){return new i(s.map(function(l){return t.isString(l)?o(l):l}))}function i(s){this._elements=s}i.prototype.wrap=function(l){for(var c=l(),f=this._elements.length-1;f>=0;f--)c=this._elements[f].wrapNodes(c);return c};function o(s,l,c){return c=c||{},new a(s,l,c)}function a(s,l,c){var f={};t.isArray(s)?(s.forEach(function(d){f[d]=!0}),s=s[0]):f[s]=!0,this.tagName=s,this.tagNames=f,this.attributes=l||{},this.fresh=c.fresh,this.separator=c.separator}return a.prototype.matchesElement=function(s){return this.tagNames[s.tagName]&&t.isEqual(this.attributes||{},s.attributes||{})},a.prototype.wrap=function(l){return this.wrapNodes(l())},a.prototype.wrapNodes=function(l){return[e.elementWithTag(this,l)]},Ys.empty=r([]),Ys.ignore={wrap:function(){return[]}},Ys}var ED={};(function(t){var e=jt,n=sn,r=hy();t.imgElement=i;function i(o){return function(a,s){return n.when(o(a)).then(function(l){var c={};return a.altText&&(c.alt=a.altText),e.extend(c,l),[r.freshElement("img",c)]})}}t.inline=t.imgElement,t.dataUri=i(function(o){return o.readAsBase64String().then(function(a){return{src:"data:"+o.contentType+";base64,"+a}})})})(ED);var c8={},u8={},f8=jt;u8.writer=uG;function uG(t){return t=t||{},t.prettyPrint?fG():d8()}var vp={div:!0,p:!0,ul:!0,li:!0};function fG(){var t=0,e=" ",n=[],r=!0,i=!1,o=d8();function a(b,x){vp[b]&&p(),n.push(b),o.open(b,x),vp[b]&&t++,r=!1}function s(b){vp[b]&&(t--,p()),n.pop(),o.close(b)}function l(b){d();var x=g()?b:b.replace(`
|
|
226
|
+
`,`
|
|
227
|
+
`+e);o.text(x)}function c(b,x){p(),o.selfClosing(b,x)}function f(){return n.length===0||vp[n[n.length-1]]}function d(){i||(p(),i=!0)}function p(){if(i=!1,!r&&f()&&!g()){o._append(`
|
|
228
|
+
`);for(var b=0;b<t;b++)o._append(e)}}function g(){return f8.some(n,function(b){return b==="pre"})}return{asString:o.asString,open:a,close:s,text:l,selfClosing:c}}function d8(){var t=[];function e(l,c){var f=i(c);t.push("<"+l+f+">")}function n(l){t.push("</"+l+">")}function r(l,c){var f=i(c);t.push("<"+l+f+" />")}function i(l){return f8.map(l,function(c,f){return" "+f+'="'+hG(c)+'"'}).join("")}function o(l){t.push(dG(l))}function a(l){t.push(l)}function s(){return t.join("")}return{asString:s,open:e,close:n,text:o,selfClosing:r,_append:a}}function dG(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function hG(t){return t.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}var h8={},pG=jt;function n_(t){return am(t,t)}function am(t,e){return function(){return{start:t,end:e}}}function gG(t){var e=t.href||"";return e?{start:"[",end:"]("+e+")",anchorPosition:"before"}:{}}function mG(t){var e=t.src||"",n=t.alt||"";return e||n?{start:""}:{}}function r_(t){return function(e,n){return{start:n?`
|
|
229
|
+
`:"",end:n?"":`
|
|
230
|
+
`,list:{isOrdered:t.isOrdered,indent:n?n.indent+1:0,count:0}}}}function yG(t,e,n){e=e||{indent:0,isOrdered:!1,count:0},e.count++,n.hasClosed=!1;var r=e.isOrdered?e.count+".":"-",i=g8(" ",e.indent)+r+" ";return{start:i,end:function(){if(!n.hasClosed)return n.hasClosed=!0,`
|
|
231
|
+
`}}}var p8={p:am("",`
|
|
232
|
+
|
|
233
|
+
`),br:am("",`
|
|
234
|
+
`),ul:r_({isOrdered:!1}),ol:r_({isOrdered:!0}),li:yG,strong:n_("__"),em:n_("*"),a:gG,img:mG};(function(){for(var t=1;t<=6;t++)p8["h"+t]=am(g8("#",t)+" ",`
|
|
235
|
+
|
|
236
|
+
`)})();function g8(t,e){return new Array(e+1).join(t)}function bG(){var t=[],e=[],n=null,r={};function i(f,d){d=d||{};var p=p8[f]||function(){return{}},g=p(d,n,r);e.push({end:g.end,list:n}),g.list&&(n=g.list);var b=g.anchorPosition==="before";b&&o(d),t.push(g.start||""),b||o(d)}function o(f){f.id&&t.push('<a id="'+f.id+'"></a>')}function a(f){var d=e.pop();n=d.list;var p=pG.isFunction(d.end)?d.end():d.end;t.push(p||"")}function s(f,d){i(f,d),a()}function l(f){t.push(vG(f))}function c(){return t.join("")}return{asString:c,open:i,close:a,text:l,selfClosing:s}}h8.writer=bG;function vG(t){return t.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}var xG=u8,DG=h8;c8.writer=wG;function wG(t){return t=t||{},t.outputFormat==="markdown"?DG.writer():xG.writer(t)}var La=jt,i_=sn,Hp=ct,qr=py(),K0=Fr,SG=ED,dt=hy(),TG=c8;CD.DocumentConverter=CG;function CG(t){return{convertToHtml:function(e){var n=La.indexBy(e.type===Hp.types.document?e.comments:[],"commentId"),r=new EG(t,n);return r.convertToHtml(e)}}}function EG(t,e){var n=1,r=[],i=[];t=La.extend({ignoreEmptyParagraphs:!0},t);var o=t.idPrefix===void 0?"":t.idPrefix,a=t.ignoreEmptyParagraphs,s=qr.topLevelElement("p"),l=t.styleMap||[];function c(J){var X=[],ie=d(J,X,{}),H=[];m8(ie,function(de){de.type==="deferred"&&H.push(de)});var P={};return i_.mapSeries(H,function(de){return de.value().then(function(De){P[de.id]=De})}).then(function(){function de(me){return A1(me,function(_e){return _e.type==="deferred"?P[_e.id]:_e.children?[La.extend({},_e,{children:de(_e.children)})]:[_e]})}var De=TG.writer({prettyPrint:t.prettyPrint,outputFormat:t.outputFormat});return dt.write(De,dt.simplify(de(ie))),new K0.Result(De.asString(),X)})}function f(J,X,ie){return A1(J,function(H){return d(H,X,ie)})}function d(J,X,ie){if(!ie)throw new Error("options not set");var H=G[J.type];return H?H(J,X,ie):[]}function p(J,X,ie){return g(J,X).wrap(function(){var H=f(J.children,X,ie);return a?H:[dt.forceWrite].concat(H)})}function g(J,X){var ie=D(J);return ie?ie.to:(J.styleId&&X.push(o_("paragraph",J)),s)}function b(J,X,ie){var H=function(){return f(J.children,X,ie)},P=[];if(J.highlight!==null){var de=v({type:"highlight",color:J.highlight});de&&P.push(de)}J.isSmallCaps&&P.push(x("smallCaps")),J.isAllCaps&&P.push(x("allCaps")),J.isStrikethrough&&P.push(x("strikethrough","s")),J.isUnderline&&P.push(x("underline")),J.verticalAlignment===Hp.verticalAlignment.subscript&&P.push(qr.element("sub",{},{fresh:!1})),J.verticalAlignment===Hp.verticalAlignment.superscript&&P.push(qr.element("sup",{},{fresh:!1})),J.isItalic&&P.push(x("italic","em")),J.isBold&&P.push(x("bold","strong"));var De=qr.empty,me=D(J);return me?De=me.to:J.styleId&&X.push(o_("run",J)),P.push(De),P.forEach(function(_e){H=_e.wrap.bind(_e,H)}),H()}function x(J,X){var ie=v({type:J});return ie||(X?qr.element(X,{},{fresh:!1}):qr.empty)}function v(J,X){var ie=D(J);return ie?ie.to:X}function D(J){for(var X=0;X<l.length;X++)if(l[X].from.matches(J))return l[X]}function S(J){return function(X,ie){return i_.attempt(function(){return J(X,ie)}).caught(function(H){return ie.push(K0.error(H)),[]})}}function E(J){return U(J.noteType,J.noteId)}function O(J){return M(J.noteType,J.noteId)}function U(J,X){return N(J+"-"+X)}function M(J,X){return N(J+"-ref-"+X)}function N(J){return o+J}var q=qr.elements([qr.element("table",{},{fresh:!0})]);function j(J,X,ie){return v(J,q).wrap(function(){return ae(J,X,ie)})}function ae(J,X,ie){var H=La.findIndex(J.children,function(me){return!me.type===Hp.types.tableRow||!me.isHeader});H===-1&&(H=J.children.length);var P;if(H===0)P=f(J.children,X,La.extend({},ie,{isTableHeader:!1}));else{var de=f(J.children.slice(0,H),X,La.extend({},ie,{isTableHeader:!0})),De=f(J.children.slice(H),X,La.extend({},ie,{isTableHeader:!1}));P=[dt.freshElement("thead",{},de),dt.freshElement("tbody",{},De)]}return[dt.forceWrite].concat(P)}function ce(J,X,ie){var H=f(J.children,X,ie);return[dt.freshElement("tr",{},[dt.forceWrite].concat(H))]}function F(J,X,ie){var H=ie.isTableHeader?"th":"td",P=f(J.children,X,ie),de={};return J.colSpan!==1&&(de.colspan=J.colSpan.toString()),J.rowSpan!==1&&(de.rowspan=J.rowSpan.toString()),[dt.freshElement(H,de,[dt.forceWrite].concat(P))]}function Z(J,X,ie){return v(J,qr.ignore).wrap(function(){var H=e[J.commentId],P=i.length+1,de="["+AG(H)+P+"]";return i.push({label:de,comment:H}),[dt.freshElement("a",{href:"#"+U("comment",J.commentId),id:M("comment",J.commentId)},[dt.text(de)])]})}function k(J,X,ie){var H=J.label,P=J.comment,de=f(P.body,X,ie).concat([dt.nonFreshElement("p",{},[dt.text(" "),dt.freshElement("a",{href:"#"+M("comment",P.commentId)},[dt.text("↑")])])]);return[dt.freshElement("dt",{id:U("comment",P.commentId)},[dt.text("Comment "+H)]),dt.freshElement("dd",{},de)]}function re(J,X,ie){return $(J).wrap(function(){return[]})}function $(J){var X=D(J);return X?X.to:J.breakType==="line"?qr.topLevelElement("br"):qr.empty}var G={document:function(J,X,ie){var H=f(J.children,X,ie),P=r.map(function(De){return J.notes.resolve(De)}),de=f(P,X,ie);return H.concat([dt.freshElement("ol",{},de),dt.freshElement("dl",{},A1(i,function(De){return k(De,X,ie)}))])},paragraph:p,run:b,text:function(J,X,ie){return[dt.text(J.value)]},tab:function(J,X,ie){return[dt.text(" ")]},hyperlink:function(J,X,ie){var H=J.anchor?"#"+N(J.anchor):J.href,P={href:H};J.targetFrame!=null&&(P.target=J.targetFrame);var de=f(J.children,X,ie);return[dt.nonFreshElement("a",P,de)]},checkbox:function(J){var X={type:"checkbox"};return J.checked&&(X.checked="checked"),[dt.freshElement("input",X)]},bookmarkStart:function(J,X,ie){var H=dt.freshElement("a",{id:N(J.name)},[dt.forceWrite]);return[H]},noteReference:function(J,X,ie){r.push(J);var H=dt.freshElement("a",{href:"#"+E(J),id:O(J)},[dt.text("["+n+++"]")]);return[dt.freshElement("sup",{},[H])]},note:function(J,X,ie){var H=f(J.body,X,ie),P=dt.elementWithTag(qr.element("p",{},{fresh:!1}),[dt.text(" "),dt.freshElement("a",{href:"#"+O(J)},[dt.text("↑")])]),de=H.concat([P]);return dt.freshElement("li",{id:E(J)},de)},commentReference:Z,comment:k,image:kG(S(t.convertImage||SG.dataUri)),table:j,tableRow:ce,tableCell:F,break:re};return{convertToHtml:c}}var _G=1;function kG(t){return function(e,n,r){return[{type:"deferred",id:_G++,value:function(){return t(e,n,r)}}]}}function o_(t,e){return K0.warning("Unrecognised "+t+" style: '"+e.styleName+"' (Style ID: "+e.styleId+")")}function A1(t,e){return La.flatten(t.map(e),!0)}function m8(t,e){t.forEach(function(n){e(n),n.children&&m8(n.children,e)})}var AG=CD.commentAuthorLabel=function(e){return e.authorInitials||""},y8={},UG=ct;function b8(t){if(t.type==="text")return t.value;if(t.type===UG.types.tab)return" ";var e=t.type==="paragraph"?`
|
|
237
|
+
|
|
238
|
+
`:"";return(t.children||[]).map(b8).join("")+e}y8.convertElementToRawText=b8;var gy={},xi={},v8={},x8={exports:{}},Du=x8.exports=function(t,e){this._tokens=t,this._startIndex=e||0};Du.prototype.head=function(){return this._tokens[this._startIndex]};Du.prototype.tail=function(t){return new Du(this._tokens,this._startIndex+1)};Du.prototype.toArray=function(){return this._tokens.slice(this._startIndex)};Du.prototype.end=function(){return this._tokens[this._tokens.length-1]};Du.prototype.to=function(t){var e=this.head().source,n=t.head()||t.end();return e.to(n.source)};var FG=x8.exports,RG=FG;v8.Parser=function(t){var e=function(n,r){return n(new RG(r))};return{parseTokens:e}};var _D={},D8={};(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)}})(D8);var kD={failure:function(t,e){if(t.length<1)throw new Error("Failure must have errors");return new An({status:"failure",remaining:e,errors:t})},error:function(t,e){if(t.length<1)throw new Error("Failure must have errors");return new An({status:"error",remaining:e,errors:t})},success:function(t,e,n){return new An({status:"success",value:t,source:n,remaining:e,errors:[]})},cut:function(t){return new An({status:"cut",remaining:t,errors:[]})}},An=function(t){this._value=t.value,this._status=t.status,this._hasValue=t.value!==void 0,this._remaining=t.remaining,this._source=t.source,this._errors=t.errors};An.prototype.map=function(t){return this._hasValue?new An({value:t(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this};An.prototype.changeRemaining=function(t){return new An({value:this._value,status:this._status,remaining:t,source:this._source,errors:this._errors})};An.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"};An.prototype.isFailure=function(){return this._status==="failure"};An.prototype.isError=function(){return this._status==="error"};An.prototype.isCut=function(){return this._status==="cut"};An.prototype.value=function(){return this._value};An.prototype.remaining=function(){return this._remaining};An.prototype.source=function(){return this._source};An.prototype.errors=function(){return this._errors};var AD={};AD.error=function(t){return new my(t)};var my=function(t){this.expected=t.expected,this.actual=t.actual,this._location=t.location};my.prototype.describe=function(){var t=this._location?this._location.describe()+`:
|
|
239
|
+
`:"";return t+"Expected "+this.expected+`
|
|
240
|
+
but got `+this.actual};my.prototype.lineNumber=function(){return this._location.lineNumber()};my.prototype.characterNumber=function(){return this._location.characterNumber()};var w8={};w8.fromArray=function(t){var e=0,n=function(){return e<t.length};return new yl({hasNext:n,next:function(){if(n())return t[e++];throw new Error("No more elements")}})};var yl=function(t){this._iterator=t};yl.prototype.map=function(t){var e=this._iterator;return new yl({hasNext:function(){return e.hasNext()},next:function(){return t(e.next())}})};yl.prototype.filter=function(t){var e=this._iterator,n=!1,r=!1,i,o=function(){if(!n)for(n=!0,r=!1;e.hasNext()&&!r;)i=e.next(),r=t(i)};return new yl({hasNext:function(){return o(),r},next:function(){o();var a=i;return n=!1,a}})};yl.prototype.first=function(){var t=this._iterator;return this._iterator.hasNext()?t.next():null};yl.prototype.toArray=function(){for(var t=[];this._iterator.hasNext();)t.push(this._iterator.next());return t};(function(t){var e=jt,n=D8,r=kD,i=AD,o=w8;t.token=function(p,g){var b=g!==void 0;return function(x){var v=x.head();if(v&&v.name===p&&(!b||v.value===g))return r.success(v.value,x.tail(),v.source);var D=f({name:p,value:g});return d(x,D)}},t.tokenOfType=function(p){return t.token(p)},t.firstOf=function(p,g){return e.isArray(g)||(g=Array.prototype.slice.call(arguments,1)),function(b){return o.fromArray(g).map(function(x){return x(b)}).filter(function(x){return x.isSuccess()||x.isError()}).first()||d(b,p)}},t.then=function(p,g){return function(b){var x=p(b);return x.map||console.log(x),x.map(g)}},t.sequence=function(){var p=Array.prototype.slice.call(arguments,0),g=function(x){var v=e.foldl(p,function(S,E){var O=S.result,U=S.hasCut;if(!O.isSuccess())return{result:O,hasCut:U};var M=E(O.remaining());if(M.isCut())return{result:O,hasCut:!0};if(M.isSuccess()){var N;E.isCaptured?N=O.value().withValue(E,M.value()):N=O.value();var q=M.remaining(),j=x.to(q);return{result:r.success(N,q,j),hasCut:U}}else return U?{result:r.error(M.errors(),M.remaining()),hasCut:U}:{result:M,hasCut:U}},{result:r.success(new a,x),hasCut:!1}).result,D=x.to(v.remaining());return v.map(function(S){return S.withValue(t.sequence.source,D)})};g.head=function(){var x=e.find(p,b);return t.then(g,t.sequence.extract(x))},g.map=function(x){return t.then(g,function(v){return x.apply(this,v.toArray())})};function b(x){return x.isCaptured}return g};var a=function(p,g){this._values=p||{},this._valuesArray=g||[]};a.prototype.withValue=function(p,g){if(p.captureName&&p.captureName in this._values)throw new Error('Cannot add second value for capture "'+p.captureName+'"');var b=e.clone(this._values);b[p.captureName]=g;var x=this._valuesArray.concat([g]);return new a(b,x)},a.prototype.get=function(p){if(p.captureName in this._values)return this._values[p.captureName];throw new Error('No value for capture "'+p.captureName+'"')},a.prototype.toArray=function(){return this._valuesArray},t.sequence.capture=function(p,g){var b=function(){return p.apply(this,arguments)};return b.captureName=g,b.isCaptured=!0,b},t.sequence.extract=function(p){return function(g){return g.get(p)}},t.sequence.applyValues=function(p){var g=Array.prototype.slice.call(arguments,1);return function(b){var x=g.map(function(v){return b.get(v)});return p.apply(this,x)}},t.sequence.source={captureName:"☃source☃"},t.sequence.cut=function(){return function(p){return r.cut(p)}},t.optional=function(p){return function(g){var b=p(g);return b.isSuccess()?b.map(n.some):b.isFailure()?r.success(n.none,g):b}},t.zeroOrMoreWithSeparator=function(p,g){return c(p,g,!1)},t.oneOrMoreWithSeparator=function(p,g){return c(p,g,!0)};var s=t.zeroOrMore=function(p){return function(g){for(var b=[],x;(x=p(g))&&x.isSuccess();)g=x.remaining(),b.push(x.value());return x.isError()?x:r.success(b,g)}};t.oneOrMore=function(p){return t.oneOrMoreWithSeparator(p,l)};function l(p){return r.success(null,p)}var c=function(p,g,b){return function(x){var v=p(x);if(v.isSuccess()){var D=t.sequence.capture(p,"main"),S=s(t.then(t.sequence(g,D),t.sequence.extract(D))),E=S(v.remaining());return r.success([v.value()].concat(E.value()),E.remaining())}else return b||v.isError()?v:r.success([],x)}};t.leftAssociative=function(p,g,b){var x;b?x=[{func:b,rule:g}]:x=g,x=x.map(function(D){return t.then(D.rule,function(S){return function(E,O){return D.func(E,S,O)}})});var v=t.firstOf.apply(null,["rules"].concat(x));return function(D){var S=D,E=p(D);if(!E.isSuccess())return E;for(var O=v(E.remaining());O.isSuccess();){var U=O.remaining(),M=S.to(O.remaining()),N=O.value();E=r.success(N(E.value(),M),U,M),O=v(E.remaining())}return O.isError()?O:E}},t.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)},t.nonConsuming=function(p){return function(g){return p(g).changeRemaining(g)}};var f=function(p){return p.value?p.name+' "'+p.value+'"':p.name};function d(p,g){var b,x=p.head();return x?b=i.error({expected:g,actual:f(x),location:x.source}):b=i.error({expected:g,actual:"end of tokens"}),r.failure([b],p)}})(_D);var S8={exports:{}};S8.exports=function(t,e){var n={asString:function(){return t},range:function(r,i){return new bl(t,e,r,i)}};return n};var bl=function(t,e,n,r){this._string=t,this._description=e,this._startIndex=n,this._endIndex=r};bl.prototype.to=function(t){return new bl(this._string,this._description,this._startIndex,t._endIndex)};bl.prototype.describe=function(){var t=this._position(),e=this._description?this._description+`
|
|
241
|
+
`:"";return e+"Line number: "+t.lineNumber+`
|
|
242
|
+
Character number: `+t.characterNumber};bl.prototype.lineNumber=function(){return this._position().lineNumber};bl.prototype.characterNumber=function(){return this._position().characterNumber};bl.prototype._position=function(){for(var t=this,e=0,n=function(){return t._string.indexOf(`
|
|
243
|
+
`,e)},r=1;n()!==-1&&n()<this._startIndex;)e=n()+1,r+=1;var i=this._startIndex-e+1;return{lineNumber:r,characterNumber:i}};var T8=S8.exports,C8=function(t,e,n){this.name=t,this.value=e,n&&(this.source=n)},E8={};(function(t){var e=_D,n=kD;t.parser=function(o,a,s){var l={rule:p,leftAssociative:g,rightAssociative:b},c=new r(s.map(d)),f=e.firstOf(o,a);function d(D){return{name:D.name,rule:i(D.ruleBuilder.bind(null,l))}}function p(){return x(c)}function g(D){return x(c.untilExclusive(D))}function b(D){return x(c.untilInclusive(D))}function x(D){return v.bind(null,D)}function v(D,S){var E=f(S);return E.isSuccess()?D.apply(E):E}return l};function r(o){function a(d){return new r(o.slice(0,l().indexOf(d)))}function s(d){return new r(o.slice(0,l().indexOf(d)+1))}function l(){return o.map(function(d){return d.name})}function c(d){for(var p,g;;)if(p=f(d.remaining()),p.isSuccess())g=d.source().to(p.source()),d=n.success(p.value()(d.value(),g),p.remaining(),g);else return p.isFailure()?d:p}function f(d){return e.firstOf("infix",o.map(function(p){return p.rule}))(d)}return{apply:c,untilExclusive:a,untilInclusive:s}}t.infix=function(o,a){function s(l){return t.infix(o,function(c){var f=a(c);return function(d){var p=f(d);return p.map(function(g){return function(b,x){return l(b,g,x)}})}})}return{name:o,ruleBuilder:a,map:s}};var i=function(o){var a;return function(s){return a||(a=o()),a(s)}}})(E8);var _8={},U1=C8,OG=T8;_8.RegexTokeniser=IG;function IG(t){t=t.map(function(i){return{name:i.name,regex:new RegExp(i.regex.source,"g")}});function e(i,o){for(var a=new OG(i,o),s=0,l=[];s<i.length;){var c=n(i,s,a);s=c.endIndex,l.push(c.token)}return l.push(r(i,a)),l}function n(i,o,a){for(var s=0;s<t.length;s++){var l=t[s].regex;l.lastIndex=o;var c=l.exec(i);if(c){var d=o+c[0].length;if(c.index===o&&d>o){var f=c[1],p=new U1(t[s].name,f,a.range(o,d));return{token:p,endIndex:d}}}}var d=o+1,p=new U1("unrecognisedCharacter",i.substring(o,d),a.range(o,d));return{token:p,endIndex:d}}function r(i,o){return new U1("end",null,o.range(i.length,i.length))}return{tokenise:e}}xi.Parser=v8.Parser;xi.rules=_D;xi.errors=AD;xi.results=kD;xi.StringSource=T8;xi.Token=C8;xi.bottomUp=E8;xi.RegexTokeniser=_8.RegexTokeniser;xi.rule=function(t){var e;return function(n){return e||(e=t()),e(n)}};var Dn={};Dn.paragraph=BG;Dn.run=MG;Dn.table=NG;Dn.bold=new Di("bold");Dn.italic=new Di("italic");Dn.underline=new Di("underline");Dn.strikethrough=new Di("strikethrough");Dn.allCaps=new Di("allCaps");Dn.smallCaps=new Di("smallCaps");Dn.highlight=PG;Dn.commentReference=new Di("commentReference");Dn.lineBreak=new yy({breakType:"line"});Dn.pageBreak=new yy({breakType:"page"});Dn.columnBreak=new yy({breakType:"column"});Dn.equalTo=LG;Dn.startsWith=zG;function BG(t){return new Di("paragraph",t)}function MG(t){return new Di("run",t)}function NG(t){return new Di("table",t)}function PG(t){return new k8(t)}function Di(t,e){e=e||{},this._elementType=t,this._styleId=e.styleId,this._styleName=e.styleName,e.list&&(this._listIndex=e.list.levelIndex,this._listIsOrdered=e.list.isOrdered)}Di.prototype.matches=function(t){return t.type===this._elementType&&(this._styleId===void 0||t.styleId===this._styleId)&&(this._styleName===void 0||t.styleName&&this._styleName.operator(this._styleName.operand,t.styleName))&&(this._listIndex===void 0||WG(t,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===t.breakType)};function k8(t){t=t||{},this._color=t.color}k8.prototype.matches=function(t){return t.type==="highlight"&&(this._color===void 0||t.color===this._color)};function yy(t){t=t||{},this._breakType=t.breakType}yy.prototype.matches=function(t){return t.type==="break"&&(this._breakType===void 0||t.breakType===this._breakType)};function WG(t,e,n){return t.numbering&&t.numbering.level==e&&t.numbering.isOrdered==n}function LG(t){return{operator:$G,operand:t}}function zG(t){return{operator:jG,operand:t}}function $G(t,e){return t.toUpperCase()===e.toUpperCase()}function jG(t,e){return e.toUpperCase().indexOf(t.toUpperCase())===0}var A8={},HG=xi,VG=HG.RegexTokeniser;A8.tokenise=qG;var a_="'((?:\\\\.|[^'])*)";function qG(t){var e="(?:[a-zA-Z\\-_]|\\\\.)",n=new VG([{name:"identifier",regex:new RegExp("("+e+"(?:"+e+"|[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(a_+"'")},{name:"unterminated-string",regex:new RegExp(a_)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return n.tokenise(t)}var XG=jt,Ae=xi,Cn=Dn,Vp=py(),GG=A8.tokenise,F1=Fr;gy.readHtmlPath=KG;gy.readDocumentMatcher=ZG;gy.readStyle=JG;function JG(t){return UD(aJ,t)}function YG(){return Ae.rules.sequence(Ae.rules.sequence.capture(U8()),Ae.rules.tokenOfType("whitespace"),Ae.rules.tokenOfType("arrow"),Ae.rules.sequence.capture(Ae.rules.optional(Ae.rules.sequence(Ae.rules.tokenOfType("whitespace"),Ae.rules.sequence.capture(F8())).head())),Ae.rules.tokenOfType("end")).map(function(t,e){return{from:t,to:e.valueOrElse(Vp.empty)}})}function ZG(t){return UD(U8(),t)}function U8(){var t=Ae.rules.sequence,e=function(M,N){return Ae.rules.then(Ae.rules.token("identifier",M),function(){return N})},n=e("p",Cn.paragraph),r=e("r",Cn.run),i=Ae.rules.firstOf("p or r or table",n,r),o=Ae.rules.sequence(Ae.rules.tokenOfType("dot"),Ae.rules.sequence.cut(),Ae.rules.sequence.capture(by)).map(function(M){return{styleId:M}}),a=Ae.rules.firstOf("style name matcher",Ae.rules.then(Ae.rules.sequence(Ae.rules.tokenOfType("equals"),Ae.rules.sequence.cut(),Ae.rules.sequence.capture(Yc)).head(),function(M){return{styleName:Cn.equalTo(M)}}),Ae.rules.then(Ae.rules.sequence(Ae.rules.tokenOfType("startsWith"),Ae.rules.sequence.cut(),Ae.rules.sequence.capture(Yc)).head(),function(M){return{styleName:Cn.startsWith(M)}})),s=Ae.rules.sequence(Ae.rules.tokenOfType("open-square-bracket"),Ae.rules.sequence.cut(),Ae.rules.token("identifier","style-name"),Ae.rules.sequence.capture(a),Ae.rules.tokenOfType("close-square-bracket")).head(),l=Ae.rules.firstOf("list type",e("ordered-list",{isOrdered:!0}),e("unordered-list",{isOrdered:!1})),c=t(Ae.rules.tokenOfType("colon"),t.capture(l),t.cut(),Ae.rules.tokenOfType("open-paren"),t.capture(QG),Ae.rules.tokenOfType("close-paren")).map(function(M,N){return{list:{isOrdered:M.isOrdered,levelIndex:N-1}}});function f(M){var N=Ae.rules.firstOf.apply(Ae.rules.firstOf,["matcher suffix"].concat(M)),q=Ae.rules.zeroOrMore(N);return Ae.rules.then(q,function(j){var ae={};return j.forEach(function(ce){XG.extend(ae,ce)}),ae})}var d=t(t.capture(i),t.capture(f([o,s,c]))).map(function(M,N){return M(N)}),p=t(Ae.rules.token("identifier","table"),t.capture(f([o,s]))).map(function(M){return Cn.table(M)}),g=e("b",Cn.bold),b=e("i",Cn.italic),x=e("u",Cn.underline),v=e("strike",Cn.strikethrough),D=e("all-caps",Cn.allCaps),S=e("small-caps",Cn.smallCaps),E=t(Ae.rules.token("identifier","highlight"),Ae.rules.sequence.capture(Ae.rules.optional(Ae.rules.sequence(Ae.rules.tokenOfType("open-square-bracket"),Ae.rules.sequence.cut(),Ae.rules.token("identifier","color"),Ae.rules.tokenOfType("equals"),Ae.rules.sequence.capture(Yc),Ae.rules.tokenOfType("close-square-bracket")).head()))).map(function(M){return Cn.highlight({color:M.valueOrElse(void 0)})}),O=e("comment-reference",Cn.commentReference),U=t(Ae.rules.token("identifier","br"),t.cut(),Ae.rules.tokenOfType("open-square-bracket"),Ae.rules.token("identifier","type"),Ae.rules.tokenOfType("equals"),t.capture(Yc),Ae.rules.tokenOfType("close-square-bracket")).map(function(M){switch(M){case"line":return Cn.lineBreak;case"page":return Cn.pageBreak;case"column":return Cn.columnBreak}});return Ae.rules.firstOf("element type",d,p,g,b,x,v,D,S,E,O,U)}function KG(t){return UD(F8(),t)}function F8(){var t=Ae.rules.sequence.capture,e=Ae.rules.tokenOfType("whitespace"),n=Ae.rules.then(Ae.rules.optional(Ae.rules.sequence(Ae.rules.tokenOfType("colon"),Ae.rules.token("identifier","fresh"))),function(a){return a.map(function(){return!0}).valueOrElse(!1)}),r=Ae.rules.then(Ae.rules.optional(Ae.rules.sequence(Ae.rules.tokenOfType("colon"),Ae.rules.token("identifier","separator"),Ae.rules.tokenOfType("open-paren"),t(Yc),Ae.rules.tokenOfType("close-paren")).head()),function(a){return a.valueOrElse("")}),i=Ae.rules.oneOrMoreWithSeparator(by,Ae.rules.tokenOfType("choice")),o=Ae.rules.sequence(t(i),t(Ae.rules.zeroOrMore(rJ)),t(n),t(r)).map(function(a,s,l,c){var f={},d={};return s.forEach(function(p){p.append&&f[p.name]?f[p.name]+=" "+p.value:f[p.name]=p.value}),l&&(d.fresh=!0),c&&(d.separator=c),Vp.element(a,f,d)});return Ae.rules.firstOf("html path",Ae.rules.then(Ae.rules.tokenOfType("bang"),function(){return Vp.ignore}),Ae.rules.then(Ae.rules.zeroOrMoreWithSeparator(o,Ae.rules.sequence(e,Ae.rules.tokenOfType("gt"),e)),Vp.elements))}var by=Ae.rules.then(Ae.rules.tokenOfType("identifier"),R8),QG=Ae.rules.tokenOfType("integer"),Yc=Ae.rules.then(Ae.rules.tokenOfType("string"),R8),eJ={n:`
|
|
244
|
+
`,r:"\r",t:" "};function R8(t){return t.replace(/\\(.)/g,function(e,n){return eJ[n]||n})}var tJ=Ae.rules.sequence(Ae.rules.tokenOfType("open-square-bracket"),Ae.rules.sequence.cut(),Ae.rules.sequence.capture(by),Ae.rules.tokenOfType("equals"),Ae.rules.sequence.capture(Yc),Ae.rules.tokenOfType("close-square-bracket")).map(function(t,e){return{name:t,value:e,append:!1}}),nJ=Ae.rules.sequence(Ae.rules.tokenOfType("dot"),Ae.rules.sequence.cut(),Ae.rules.sequence.capture(by)).map(function(t){return{name:"class",value:t,append:!0}}),rJ=Ae.rules.firstOf("attribute or class",tJ,nJ);function UD(t,e){var n=GG(e),r=Ae.Parser(),i=r.parseTokens(t,n);return i.isSuccess()?F1.success(i.value()):new F1.Result(null,[F1.warning(iJ(e,i))])}function iJ(t,e){return"Did not understand this style mapping, so ignored it: "+t+`
|
|
245
|
+
`+e.errors().map(oJ).join(`
|
|
246
|
+
`)}function oJ(t){return"Error was at character number "+t.characterNumber()+": Expected "+t.expected+" but got "+t.actual}var aJ=YG(),vy={};vy.readOptions=cJ;var O8=jt,sJ=vy._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"],lJ=vy._standardOptions={transformDocument:uJ,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function cJ(t){return t=t||{},O8.extend({},lJ,t,{customStyleMap:s_(t.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(s_(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(sJ)),e}})}function s_(t){return t?O8.isString(t)?t.split(`
|
|
247
|
+
`).map(function(e){return e.trim()}).filter(function(e){return e!==""&&e.charAt(0)!=="#"}):t:[]}function uJ(t){return t}var I8={},l_=sn,fJ=ah;I8.openZip=dJ;function dJ(t){return t.arrayBuffer?l_.resolve(fJ.openArrayBuffer(t.arrayBuffer)):l_.reject(new Error("Could not find file in options"))}var Nu={},c_=jt;Nu.paragraph=hJ;Nu.run=pJ;Nu._elements=M8;Nu.getDescendantsOfType=gJ;Nu.getDescendants=N8;function hJ(t){return B8("paragraph",t)}function pJ(t){return B8("run",t)}function B8(t,e){return M8(function(n){return n.type===t?e(n):n})}function M8(t){return function e(n){if(n.children){var r=c_.map(n.children,e);n=c_.extend(n,{children:r})}return t(n)}}function gJ(t,e){return N8(t).filter(function(n){return n.type===e})}function N8(t){var e=[];return P8(t,function(n){e.push(n)}),e}function P8(t,e){t.children&&t.children.forEach(function(n){P8(n,e),e(n)})}var W8={},mJ=py(),yJ=hy();W8.element=bJ;function bJ(t){return function(e){return yJ.elementWithTag(mJ.element(t),[e])}}var vJ=jt,L8=Qx,FD=TD,xJ=CD.DocumentConverter,DJ=y8.convertElementToRawText,wJ=gy.readStyle,SJ=vy.readOptions,xy=I8,TJ=Fr.Result;vi.convertToHtml=CJ;vi.convertToMarkdown=EJ;vi.convert=RD;vi.extractRawText=UJ;vi.images=ED;vi.transforms=Nu;vi.underline=W8;vi.embedStyleMap=FJ;vi.readEmbeddedStyleMap=_J;function CJ(t,e){return RD(t,e)}function EJ(t,e){var n=Object.create(e||{});return n.outputFormat="markdown",RD(t,n)}function RD(t,e){return e=SJ(e),xy.openZip(t).tap(function(n){return FD.readStyleMap(n).then(function(r){e.embeddedStyleMap=r})}).then(function(n){return L8.read(n,t).then(function(r){return r.map(e.transformDocument)}).then(function(r){return kJ(r,e)})})}function _J(t){return xy.openZip(t).then(FD.readStyleMap)}function kJ(t,e){var n=AJ(e.readStyleMap()),r=vJ.extend({},e,{styleMap:n.value}),i=new xJ(r);return t.flatMapThen(function(o){return n.flatMapThen(function(a){return i.convertToHtml(o)})})}function AJ(t){return TJ.combine((t||[]).map(wJ)).map(function(e){return e.filter(function(n){return!!n})})}function UJ(t){return xy.openZip(t).then(L8.read).then(function(e){return e.map(DJ)})}function FJ(t,e){return xy.openZip(t).tap(function(n){return FD.writeStyleMap(n,e)}).then(function(n){return n.toArrayBuffer()}).then(function(n){return{toArrayBuffer:function(){return n},toBuffer:function(){return Buffer.from(n)}}})}vi.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")`)};var z8={exports:{}};(function(t,e){(function(r,i){t.exports=i(Dl,UO)})(rt,function(n,r){return function(i){var o={};function a(s){if(o[s])return o[s].exports;var l=o[s]={i:s,l:!1,exports:{}};return i[s].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=i,a.c=o,a.d=function(s,l,c){a.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:c})},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,l){if(l&1&&(s=a(s)),l&8||l&4&&typeof s=="object"&&s&&s.__esModule)return s;var c=Object.create(null);if(a.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var f in s)a.d(c,f,(function(d){return s[d]}).bind(null,f));return c},a.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(l,"a",l),l},a.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)},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,l){var c=a.direction,f=a.value;switch(c){case"top":return l.top+f<s.top&&l.bottom>s.bottom&&l.left<s.left&&l.right>s.right;case"left":return l.left+f<s.left&&l.bottom>s.bottom&&l.top<s.top&&l.right>s.right;case"bottom":return l.bottom-f>s.bottom&&l.left<s.left&&l.right>s.right&&l.top<s.top;case"right":return l.right-f>s.right&&l.left<s.left&&l.top<s.top&&l.bottom>s.bottom}}},function(i,o,a){a.r(o),a.d(o,"default",function(){return ae});var s=a(1),l=a.n(s),c=a(2),f=a.n(c),d=a(0),p=a.n(d),g=a(3),b=a.n(g);function x(ce){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(Z){return typeof Z}:x=function(Z){return Z&&typeof Symbol=="function"&&Z.constructor===Symbol&&Z!==Symbol.prototype?"symbol":typeof Z},x(ce)}function v(ce,F){if(!(ce instanceof F))throw new TypeError("Cannot call a class as a function")}function D(ce,F){for(var Z=0;Z<F.length;Z++){var k=F[Z];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(ce,k.key,k)}}function S(ce,F,Z){return F&&D(ce.prototype,F),ce}function E(ce,F){return F&&(x(F)==="object"||typeof F=="function")?F:U(ce)}function O(ce){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(Z){return Z.__proto__||Object.getPrototypeOf(Z)},O(ce)}function U(ce){if(ce===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ce}function M(ce,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");ce.prototype=Object.create(F&&F.prototype,{constructor:{value:ce,writable:!0,configurable:!0}}),F&&N(ce,F)}function N(ce,F){return N=Object.setPrototypeOf||function(k,re){return k.__proto__=re,k},N(ce,F)}function q(ce,F,Z){return F in ce?Object.defineProperty(ce,F,{value:Z,enumerable:!0,configurable:!0,writable:!0}):ce[F]=Z,ce}function j(ce){return ce.width===void 0&&(ce.width=ce.right-ce.left),ce.height===void 0&&(ce.height=ce.bottom-ce.top),ce}var ae=function(ce){M(F,ce);function F(Z){var k;return v(this,F),k=E(this,O(F).call(this,Z)),q(U(k),"getContainer",function(){return k.props.containment||window}),q(U(k),"addEventListener",function(re,$,G,J){k.debounceCheck||(k.debounceCheck={});var X,ie,H=function(){X=null,k.check()};J>-1?ie=function(){X||(X=setTimeout(H,J||0))}:ie=function(){clearTimeout(X),X=setTimeout(H,G||0)};var P={target:re,fn:ie,getLastTimeout:function(){return X}};re.addEventListener($,P.fn),k.debounceCheck[$]=P}),q(U(k),"startWatching",function(){k.debounceCheck||k.interval||(k.props.intervalCheck&&(k.interval=setInterval(k.check,k.props.intervalDelay)),k.props.scrollCheck&&k.addEventListener(k.getContainer(),"scroll",k.props.scrollDelay,k.props.scrollThrottle),k.props.resizeCheck&&k.addEventListener(window,"resize",k.props.resizeDelay,k.props.resizeThrottle),!k.props.delayedCall&&k.check())}),q(U(k),"stopWatching",function(){if(k.debounceCheck){for(var re in k.debounceCheck)if(k.debounceCheck.hasOwnProperty(re)){var $=k.debounceCheck[re];clearTimeout($.getLastTimeout()),$.target.removeEventListener(re,$.fn),k.debounceCheck[re]=null}}k.debounceCheck=null,k.interval&&(k.interval=clearInterval(k.interval))}),q(U(k),"check",function(){var re=k.node,$,G;if(!re)return k.state;if($=j(k.roundRectDown(re.getBoundingClientRect())),k.props.containment){var J=k.props.containment.getBoundingClientRect();G={top:J.top,left:J.left,bottom:J.bottom,right:J.right}}else G={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var X=k.props.offset||{},ie=x(X)==="object";ie&&(G.top+=X.top||0,G.left+=X.left||0,G.bottom-=X.bottom||0,G.right-=X.right||0);var H={top:$.top>=G.top,left:$.left>=G.left,bottom:$.bottom<=G.bottom,right:$.right<=G.right},P=$.height>0&&$.width>0,de=P&&H.top&&H.left&&H.bottom&&H.right;if(P&&k.props.partialVisibility){var De=$.top<=G.bottom&&$.bottom>=G.top&&$.left<=G.right&&$.right>=G.left;typeof k.props.partialVisibility=="string"&&(De=H[k.props.partialVisibility]),de=k.props.minTopValue?De&&$.top<=G.bottom-k.props.minTopValue:De}typeof X.direction=="string"&&typeof X.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 }",X.direction,X.value),de=b()(X,$,G));var me=k.state;return k.state.isVisible!==de&&(me={isVisible:de,visibilityRect:H},k.setState(me),k.props.onChange&&k.props.onChange(de)),me}),k.state={isVisible:null,visibilityRect:{}},k}return S(F,[{key:"componentDidMount",value:function(){this.node=f.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(k){this.node=f.a.findDOMNode(this),this.props.active&&!k.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(k){return{top:Math.floor(k.top),left:Math.floor(k.left),bottom:Math.floor(k.bottom),right:Math.floor(k.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):l.a.Children.only(this.props.children)}}]),F}(l.a.Component);q(ae,"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:l.a.createElement("span",null)}),q(ae,"propTypes",{onChange:p.a.func,active:p.a.bool,partialVisibility:p.a.oneOfType([p.a.bool,p.a.oneOf(["top","right","bottom","left"])]),delayedCall:p.a.bool,offset:p.a.oneOfType([p.a.shape({top:p.a.number,left:p.a.number,bottom:p.a.number,right:p.a.number}),p.a.shape({direction:p.a.oneOf(["top","right","bottom","left"]),value:p.a.number})]),scrollCheck:p.a.bool,scrollDelay:p.a.number,scrollThrottle:p.a.number,resizeCheck:p.a.bool,resizeDelay:p.a.number,resizeThrottle:p.a.number,intervalCheck:p.a.bool,intervalDelay:p.a.number,containment:typeof window<"u"?p.a.instanceOf(window.Element):p.a.any,children:p.a.oneOfType([p.a.element,p.a.func]),minTopValue:p.a.number})},function(i,o,a){var s=a(6);function l(){}function c(){}c.resetWarningCache=l,i.exports=function(){function f(g,b,x,v,D,S){if(S!==s){var E=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 E.name="Invariant Violation",E}}f.isRequired=f;function d(){return f}var p={array:f,bool:f,func:f,number:f,object:f,string:f,symbol:f,any:f,arrayOf:d,element:f,elementType:f,instanceOf:d,node:f,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:c,resetWarningCache:l};return p.PropTypes=p,p}},function(i,o,a){var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";i.exports=s}])})})(z8);var RJ=z8.exports;const OJ=y3(RJ);var Ol={},Zs={};/**
|
|
248
|
+
* @license React
|
|
249
|
+
* react-dom-server-legacy.browser.production.min.js
|
|
250
|
+
*
|
|
251
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
252
|
+
*
|
|
253
|
+
* This source code is licensed under the MIT license found in the
|
|
254
|
+
* LICENSE file in the root directory of this source tree.
|
|
255
|
+
*/var u_;function IJ(){if(u_)return Zs;u_=1;var t=Dl;function e(T){for(var I="https://reactjs.org/docs/error-decoder.html?invariant="+T,z=1;z<arguments.length;z++)I+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+T+"; visit "+I+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,r=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},o={};function a(T){return n.call(o,T)?!0:n.call(i,T)?!1:r.test(T)?o[T]=!0:(i[T]=!0,!1)}function s(T,I,z,K,be,he,we){this.acceptsBooleans=I===2||I===3||I===4,this.attributeName=K,this.attributeNamespace=be,this.mustUseProperty=z,this.propertyName=T,this.type=I,this.sanitizeURL=he,this.removeEmptyString=we}var l={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(T){l[T]=new s(T,0,!1,T,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(T){var I=T[0];l[I]=new s(I,1,!1,T[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(T){l[T]=new s(T,2,!1,T.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(T){l[T]=new s(T,2,!1,T,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(T){l[T]=new s(T,3,!1,T.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(T){l[T]=new s(T,3,!0,T,null,!1,!1)}),["capture","download"].forEach(function(T){l[T]=new s(T,4,!1,T,null,!1,!1)}),["cols","rows","size","span"].forEach(function(T){l[T]=new s(T,6,!1,T,null,!1,!1)}),["rowSpan","start"].forEach(function(T){l[T]=new s(T,5,!1,T.toLowerCase(),null,!1,!1)});var c=/[\-:]([a-z])/g;function f(T){return T[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(T){var I=T.replace(c,f);l[I]=new s(I,1,!1,T,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(T){var I=T.replace(c,f);l[I]=new s(I,1,!1,T,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(T){var I=T.replace(c,f);l[I]=new s(I,1,!1,T,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(T){l[T]=new s(T,1,!1,T.toLowerCase(),null,!1,!1)}),l.xlinkHref=new s("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(T){l[T]=new s(T,1,!1,T.toLowerCase(),null,!0,!0)});var d={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},p=["Webkit","ms","Moz","O"];Object.keys(d).forEach(function(T){p.forEach(function(I){I=I+T.charAt(0).toUpperCase()+T.substring(1),d[I]=d[T]})});var g=/["'&<>]/;function b(T){if(typeof T=="boolean"||typeof T=="number")return""+T;T=""+T;var I=g.exec(T);if(I){var z="",K,be=0;for(K=I.index;K<T.length;K++){switch(T.charCodeAt(K)){case 34:I=""";break;case 38:I="&";break;case 39:I="'";break;case 60:I="<";break;case 62:I=">";break;default:continue}be!==K&&(z+=T.substring(be,K)),be=K+1,z+=I}T=be!==K?z+T.substring(be,K):z}return T}var x=/([A-Z])/g,v=/^ms-/,D=Array.isArray;function S(T,I){return{insertionMode:T,selectedValue:I}}function E(T,I,z){switch(I){case"select":return S(1,z.value!=null?z.value:z.defaultValue);case"svg":return S(2,null);case"math":return S(3,null);case"foreignObject":return S(1,null);case"table":return S(4,null);case"thead":case"tbody":case"tfoot":return S(5,null);case"colgroup":return S(7,null);case"tr":return S(6,null)}return 4<=T.insertionMode||T.insertionMode===0?S(1,null):T}var O=new Map;function U(T,I,z){if(typeof z!="object")throw Error(e(62));I=!0;for(var K in z)if(n.call(z,K)){var be=z[K];if(be!=null&&typeof be!="boolean"&&be!==""){if(K.indexOf("--")===0){var he=b(K);be=b((""+be).trim())}else{he=K;var we=O.get(he);we!==void 0||(we=b(he.replace(x,"-$1").toLowerCase().replace(v,"-ms-")),O.set(he,we)),he=we,be=typeof be=="number"?be===0||n.call(d,K)?""+be:be+"px":b((""+be).trim())}I?(I=!1,T.push(' style="',he,":",be)):T.push(";",he,":",be)}}I||T.push('"')}function M(T,I,z,K){switch(z){case"style":U(T,I,K);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<z.length)||z[0]!=="o"&&z[0]!=="O"||z[1]!=="n"&&z[1]!=="N"){if(I=l.hasOwnProperty(z)?l[z]:null,I!==null){switch(typeof K){case"function":case"symbol":return;case"boolean":if(!I.acceptsBooleans)return}switch(z=I.attributeName,I.type){case 3:K&&T.push(" ",z,'=""');break;case 4:K===!0?T.push(" ",z,'=""'):K!==!1&&T.push(" ",z,'="',b(K),'"');break;case 5:isNaN(K)||T.push(" ",z,'="',b(K),'"');break;case 6:!isNaN(K)&&1<=K&&T.push(" ",z,'="',b(K),'"');break;default:I.sanitizeURL&&(K=""+K),T.push(" ",z,'="',b(K),'"')}}else if(a(z)){switch(typeof K){case"function":case"symbol":return;case"boolean":if(I=z.toLowerCase().slice(0,5),I!=="data-"&&I!=="aria-")return}T.push(" ",z,'="',b(K),'"')}}}function N(T,I,z){if(I!=null){if(z!=null)throw Error(e(60));if(typeof I!="object"||!("__html"in I))throw Error(e(61));I=I.__html,I!=null&&T.push(""+I)}}function q(T){var I="";return t.Children.forEach(T,function(z){z!=null&&(I+=z)}),I}function j(T,I,z,K){T.push(F(z));var be=z=null,he;for(he in I)if(n.call(I,he)){var we=I[he];if(we!=null)switch(he){case"children":z=we;break;case"dangerouslySetInnerHTML":be=we;break;default:M(T,K,he,we)}}return T.push(">"),N(T,be,z),typeof z=="string"?(T.push(b(z)),null):z}var ae=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ce=new Map;function F(T){var I=ce.get(T);if(I===void 0){if(!ae.test(T))throw Error(e(65,T));I="<"+T,ce.set(T,I)}return I}function Z(T,I,z,K,be){switch(I){case"select":T.push(F("select"));var he=null,we=null;for(Ve in z)if(n.call(z,Ve)){var Oe=z[Ve];if(Oe!=null)switch(Ve){case"children":he=Oe;break;case"dangerouslySetInnerHTML":we=Oe;break;case"defaultValue":case"value":break;default:M(T,K,Ve,Oe)}}return T.push(">"),N(T,we,he),he;case"option":we=be.selectedValue,T.push(F("option"));var je=Oe=null,qe=null,Ve=null;for(he in z)if(n.call(z,he)){var ut=z[he];if(ut!=null)switch(he){case"children":Oe=ut;break;case"selected":qe=ut;break;case"dangerouslySetInnerHTML":Ve=ut;break;case"value":je=ut;default:M(T,K,he,ut)}}if(we!=null)if(z=je!==null?""+je:q(Oe),D(we)){for(K=0;K<we.length;K++)if(""+we[K]===z){T.push(' selected=""');break}}else""+we===z&&T.push(' selected=""');else qe&&T.push(' selected=""');return T.push(">"),N(T,Ve,Oe),Oe;case"textarea":T.push(F("textarea")),Ve=we=he=null;for(Oe in z)if(n.call(z,Oe)&&(je=z[Oe],je!=null))switch(Oe){case"children":Ve=je;break;case"value":he=je;break;case"defaultValue":we=je;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:M(T,K,Oe,je)}if(he===null&&we!==null&&(he=we),T.push(">"),Ve!=null){if(he!=null)throw Error(e(92));if(D(Ve)&&1<Ve.length)throw Error(e(93));he=""+Ve}return typeof he=="string"&&he[0]===`
|
|
256
|
+
`&&T.push(`
|
|
257
|
+
`),he!==null&&T.push(b(""+he)),null;case"input":T.push(F("input")),je=Ve=Oe=he=null;for(we in z)if(n.call(z,we)&&(qe=z[we],qe!=null))switch(we){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":je=qe;break;case"defaultValue":Oe=qe;break;case"checked":Ve=qe;break;case"value":he=qe;break;default:M(T,K,we,qe)}return Ve!==null?M(T,K,"checked",Ve):je!==null&&M(T,K,"checked",je),he!==null?M(T,K,"value",he):Oe!==null&&M(T,K,"value",Oe),T.push("/>"),null;case"menuitem":T.push(F("menuitem"));for(var Yt in z)if(n.call(z,Yt)&&(he=z[Yt],he!=null))switch(Yt){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:M(T,K,Yt,he)}return T.push(">"),null;case"title":T.push(F("title")),he=null;for(ut in z)if(n.call(z,ut)&&(we=z[ut],we!=null))switch(ut){case"children":he=we;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:M(T,K,ut,we)}return T.push(">"),he;case"listing":case"pre":T.push(F(I)),we=he=null;for(je in z)if(n.call(z,je)&&(Oe=z[je],Oe!=null))switch(je){case"children":he=Oe;break;case"dangerouslySetInnerHTML":we=Oe;break;default:M(T,K,je,Oe)}if(T.push(">"),we!=null){if(he!=null)throw Error(e(60));if(typeof we!="object"||!("__html"in we))throw Error(e(61));z=we.__html,z!=null&&(typeof z=="string"&&0<z.length&&z[0]===`
|
|
258
|
+
`?T.push(`
|
|
259
|
+
`,z):T.push(""+z))}return typeof he=="string"&&he[0]===`
|
|
260
|
+
`&&T.push(`
|
|
261
|
+
`),he;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":T.push(F(I));for(var Zt in z)if(n.call(z,Zt)&&(he=z[Zt],he!=null))switch(Zt){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,I));default:M(T,K,Zt,he)}return T.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return j(T,z,I,K);case"html":return be.insertionMode===0&&T.push("<!DOCTYPE html>"),j(T,z,I,K);default:if(I.indexOf("-")===-1&&typeof z.is!="string")return j(T,z,I,K);T.push(F(I)),we=he=null;for(qe in z)if(n.call(z,qe)&&(Oe=z[qe],Oe!=null))switch(qe){case"children":he=Oe;break;case"dangerouslySetInnerHTML":we=Oe;break;case"style":U(T,K,Oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a(qe)&&typeof Oe!="function"&&typeof Oe!="symbol"&&T.push(" ",qe,'="',b(Oe),'"')}return T.push(">"),N(T,we,he),he}}function k(T,I,z){if(T.push('<!--$?--><template id="'),z===null)throw Error(e(395));return T.push(z),T.push('"></template>')}function re(T,I,z,K){switch(z.insertionMode){case 0:case 1:return T.push('<div hidden id="'),T.push(I.segmentPrefix),I=K.toString(16),T.push(I),T.push('">');case 2:return T.push('<svg aria-hidden="true" style="display:none" id="'),T.push(I.segmentPrefix),I=K.toString(16),T.push(I),T.push('">');case 3:return T.push('<math aria-hidden="true" style="display:none" id="'),T.push(I.segmentPrefix),I=K.toString(16),T.push(I),T.push('">');case 4:return T.push('<table hidden id="'),T.push(I.segmentPrefix),I=K.toString(16),T.push(I),T.push('">');case 5:return T.push('<table hidden><tbody id="'),T.push(I.segmentPrefix),I=K.toString(16),T.push(I),T.push('">');case 6:return T.push('<table hidden><tr id="'),T.push(I.segmentPrefix),I=K.toString(16),T.push(I),T.push('">');case 7:return T.push('<table hidden><colgroup id="'),T.push(I.segmentPrefix),I=K.toString(16),T.push(I),T.push('">');default:throw Error(e(397))}}function $(T,I){switch(I.insertionMode){case 0:case 1:return T.push("</div>");case 2:return T.push("</svg>");case 3:return T.push("</math>");case 4:return T.push("</table>");case 5:return T.push("</tbody></table>");case 6:return T.push("</tr></table>");case 7:return T.push("</colgroup></table>");default:throw Error(e(397))}}var G=/[<\u2028\u2029]/g;function J(T){return JSON.stringify(T).replace(G,function(I){switch(I){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function X(T,I){return I=I===void 0?"":I,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:I+"P:",segmentPrefix:I+"S:",boundaryPrefix:I+"B:",idPrefix:I,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:T}}function ie(T,I,z,K){return z.generateStaticMarkup?(T.push(b(I)),!1):(I===""?T=K:(K&&T.push("<!-- -->"),T.push(b(I)),T=!0),T)}var H=Object.assign,P=Symbol.for("react.element"),de=Symbol.for("react.portal"),De=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),_e=Symbol.for("react.profiler"),$e=Symbol.for("react.provider"),Le=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),tt=Symbol.for("react.suspense"),oe=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),Re=Symbol.for("react.lazy"),A=Symbol.for("react.scope"),ye=Symbol.for("react.debug_trace_mode"),fe=Symbol.for("react.legacy_hidden"),Q=Symbol.for("react.default_value"),V=Symbol.iterator;function se(T){if(T==null)return null;if(typeof T=="function")return T.displayName||T.name||null;if(typeof T=="string")return T;switch(T){case De:return"Fragment";case de:return"Portal";case _e:return"Profiler";case me:return"StrictMode";case tt:return"Suspense";case oe:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case Le:return(T.displayName||"Context")+".Consumer";case $e:return(T._context.displayName||"Context")+".Provider";case ze:var I=T.render;return T=T.displayName,T||(T=I.displayName||I.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case Ee:return I=T.displayName||null,I!==null?I:se(T.type)||"Memo";case Re:I=T._payload,T=T._init;try{return se(T(I))}catch{}}return null}var Se={};function ke(T,I){if(T=T.contextTypes,!T)return Se;var z={},K;for(K in T)z[K]=I[K];return z}var le=null;function ee(T,I){if(T!==I){T.context._currentValue2=T.parentValue,T=T.parent;var z=I.parent;if(T===null){if(z!==null)throw Error(e(401))}else{if(z===null)throw Error(e(401));ee(T,z)}I.context._currentValue2=I.value}}function ne(T){T.context._currentValue2=T.parentValue,T=T.parent,T!==null&&ne(T)}function ue(T){var I=T.parent;I!==null&&ue(I),T.context._currentValue2=T.value}function xe(T,I){if(T.context._currentValue2=T.parentValue,T=T.parent,T===null)throw Error(e(402));T.depth===I.depth?ee(T,I):xe(T,I)}function Me(T,I){var z=I.parent;if(z===null)throw Error(e(402));T.depth===z.depth?ee(T,z):Me(T,z),I.context._currentValue2=I.value}function Ne(T){var I=le;I!==T&&(I===null?ue(T):T===null?ne(I):I.depth===T.depth?ee(I,T):I.depth>T.depth?xe(I,T):Me(I,T),le=T)}var Ye={isMounted:function(){return!1},enqueueSetState:function(T,I){T=T._reactInternals,T.queue!==null&&T.queue.push(I)},enqueueReplaceState:function(T,I){T=T._reactInternals,T.replace=!0,T.queue=[I]},enqueueForceUpdate:function(){}};function He(T,I,z,K){var be=T.state!==void 0?T.state:null;T.updater=Ye,T.props=z,T.state=be;var he={queue:[],replace:!1};T._reactInternals=he;var we=I.contextType;if(T.context=typeof we=="object"&&we!==null?we._currentValue2:K,we=I.getDerivedStateFromProps,typeof we=="function"&&(we=we(z,be),be=we==null?be:H({},be,we),T.state=be),typeof I.getDerivedStateFromProps!="function"&&typeof T.getSnapshotBeforeUpdate!="function"&&(typeof T.UNSAFE_componentWillMount=="function"||typeof T.componentWillMount=="function"))if(I=T.state,typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount(),I!==T.state&&Ye.enqueueReplaceState(T,T.state,null),he.queue!==null&&0<he.queue.length)if(I=he.queue,we=he.replace,he.queue=null,he.replace=!1,we&&I.length===1)T.state=I[0];else{for(he=we?I[0]:T.state,be=!0,we=we?1:0;we<I.length;we++){var Oe=I[we];Oe=typeof Oe=="function"?Oe.call(T,he,z,K):Oe,Oe!=null&&(be?(be=!1,he=H({},he,Oe)):H(he,Oe))}T.state=he}else he.queue=null}var Ke={id:1,overflow:""};function lt(T,I,z){var K=T.id;T=T.overflow;var be=32-nt(K)-1;K&=~(1<<be),z+=1;var he=32-nt(I)+be;if(30<he){var we=be-be%5;return he=(K&(1<<we)-1).toString(32),K>>=we,be-=we,{id:1<<32-nt(I)+be|z<<be|K,overflow:he+T}}return{id:1<<he|z<<be|K,overflow:T}}var nt=Math.clz32?Math.clz32:Ft,Mt=Math.log,Pn=Math.LN2;function Ft(T){return T>>>=0,T===0?32:31-(Mt(T)/Pn|0)|0}function Rr(T,I){return T===I&&(T!==0||1/T===1/I)||T!==T&&I!==I}var wi=typeof Object.is=="function"?Object.is:Rr,Ht=null,wn=null,Wn=null,at=null,ln=!1,Si=!1,ti=0,Qn=null,Ti=0;function xr(){if(Ht===null)throw Error(e(321));return Ht}function Nt(){if(0<Ti)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function io(){return at===null?Wn===null?(ln=!1,Wn=at=Nt()):(ln=!0,at=Wn):at.next===null?(ln=!1,at=at.next=Nt()):(ln=!0,at=at.next),at}function oo(){wn=Ht=null,Si=!1,Wn=null,Ti=0,at=Qn=null}function ta(T,I){return typeof I=="function"?I(T):I}function Rt(T,I,z){if(Ht=xr(),at=io(),ln){var K=at.queue;if(I=K.dispatch,Qn!==null&&(z=Qn.get(K),z!==void 0)){Qn.delete(K),K=at.memoizedState;do K=T(K,z.action),z=z.next;while(z!==null);return at.memoizedState=K,[K,I]}return[at.memoizedState,I]}return T=T===ta?typeof I=="function"?I():I:z!==void 0?z(I):I,at.memoizedState=T,T=at.queue={last:null,dispatch:null},T=T.dispatch=ms.bind(null,Ht,T),[at.memoizedState,T]}function ao(T,I){if(Ht=xr(),at=io(),I=I===void 0?null:I,at!==null){var z=at.memoizedState;if(z!==null&&I!==null){var K=z[1];e:if(K===null)K=!1;else{for(var be=0;be<K.length&&be<I.length;be++)if(!wi(I[be],K[be])){K=!1;break e}K=!0}if(K)return z[0]}}return T=T(),at.memoizedState=[T,I],T}function ms(T,I,z){if(25<=Ti)throw Error(e(301));if(T===Ht)if(Si=!0,T={action:z,next:null},Qn===null&&(Qn=new Map),z=Qn.get(I),z===void 0)Qn.set(I,T);else{for(I=z;I.next!==null;)I=I.next;I.next=T}}function ys(){throw Error(e(394))}function er(){}var so={readContext:function(T){return T._currentValue2},useContext:function(T){return xr(),T._currentValue2},useMemo:ao,useReducer:Rt,useRef:function(T){Ht=xr(),at=io();var I=at.memoizedState;return I===null?(T={current:T},at.memoizedState=T):I},useState:function(T){return Rt(ta,T)},useInsertionEffect:er,useLayoutEffect:function(){},useCallback:function(T,I){return ao(function(){return T},I)},useImperativeHandle:er,useEffect:er,useDebugValue:er,useDeferredValue:function(T){return xr(),T},useTransition:function(){return xr(),[!1,ys]},useId:function(){var T=wn.treeContext,I=T.overflow;T=T.id,T=(T&~(1<<32-nt(T)-1)).toString(32)+I;var z=Ci;if(z===null)throw Error(e(404));return I=ti++,T=":"+z.idPrefix+"R"+T,0<I&&(T+="H"+I.toString(32)),T+":"},useMutableSource:function(T,I){return xr(),I(T._source)},useSyncExternalStore:function(T,I,z){if(z===void 0)throw Error(e(407));return z()}},Ci=null,Or=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function cn(T){return console.error(T),null}function tr(){}function Ei(T,I,z,K,be,he,we,Oe,je){var qe=[],Ve=new Set;return I={destination:null,responseState:I,progressiveChunkSize:K===void 0?12800:K,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ve,pingedTasks:qe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:be===void 0?cn:be,onAllReady:tr,onShellReady:we===void 0?tr:we,onShellError:tr,onFatalError:tr},z=Br(I,0,null,z,!1,!1),z.parentFlushed=!0,T=Ir(I,T,null,z,Ve,Se,null,Ke),qe.push(T),I}function Ir(T,I,z,K,be,he,we,Oe){T.allPendingTasks++,z===null?T.pendingRootTasks++:z.pendingTasks++;var je={node:I,ping:function(){var qe=T.pingedTasks;qe.push(je),qe.length===1&&Gt(T)},blockedBoundary:z,blockedSegment:K,abortSet:be,legacyContext:he,context:we,treeContext:Oe};return be.add(je),je}function Br(T,I,z,K,be,he){return{status:0,id:-1,index:I,parentFlushed:!1,chunks:[],children:[],formatContext:K,boundary:z,lastPushedText:be,textEmbedded:he}}function nr(T,I){if(T=T.onError(I),T!=null&&typeof T!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof T+'" instead');return T}function Mr(T,I){var z=T.onShellError;z(I),z=T.onFatalError,z(I),T.destination!==null?(T.status=2,T.destination.destroy(I)):(T.status=1,T.fatalError=I)}function un(T,I,z,K,be){for(Ht={},wn=I,ti=0,T=z(K,be);Si;)Si=!1,ti=0,Ti+=1,at=null,T=z(K,be);return oo(),T}function na(T,I,z,K){var be=z.render(),he=K.childContextTypes;if(he!=null){var we=I.legacyContext;if(typeof z.getChildContext!="function")K=we;else{z=z.getChildContext();for(var Oe in z)if(!(Oe in he))throw Error(e(108,se(K)||"Unknown",Oe));K=H({},we,z)}I.legacyContext=K,Ot(T,I,be),I.legacyContext=we}else Ot(T,I,be)}function ra(T,I){if(T&&T.defaultProps){I=H({},I),T=T.defaultProps;for(var z in T)I[z]===void 0&&(I[z]=T[z]);return I}return I}function Dr(T,I,z,K,be){if(typeof z=="function")if(z.prototype&&z.prototype.isReactComponent){be=ke(z,I.legacyContext);var he=z.contextType;he=new z(K,typeof he=="object"&&he!==null?he._currentValue2:be),He(he,z,K,be),na(T,I,he,z)}else{he=ke(z,I.legacyContext),be=un(T,I,z,K,he);var we=ti!==0;if(typeof be=="object"&&be!==null&&typeof be.render=="function"&&be.$$typeof===void 0)He(be,z,K,he),na(T,I,be,z);else if(we){K=I.treeContext,I.treeContext=lt(K,1,0);try{Ot(T,I,be)}finally{I.treeContext=K}}else Ot(T,I,be)}else if(typeof z=="string"){switch(be=I.blockedSegment,he=Z(be.chunks,z,K,T.responseState,be.formatContext),be.lastPushedText=!1,we=be.formatContext,be.formatContext=E(we,z,K),ir(T,I,he),be.formatContext=we,z){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:be.chunks.push("</",z,">")}be.lastPushedText=!1}else{switch(z){case fe:case ye:case me:case _e:case De:Ot(T,I,K.children);return;case oe:Ot(T,I,K.children);return;case A:throw Error(e(343));case tt:e:{z=I.blockedBoundary,be=I.blockedSegment,he=K.fallback,K=K.children,we=new Set;var Oe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:we,errorDigest:null},je=Br(T,be.chunks.length,Oe,be.formatContext,!1,!1);be.children.push(je),be.lastPushedText=!1;var qe=Br(T,0,null,be.formatContext,!1,!1);qe.parentFlushed=!0,I.blockedBoundary=Oe,I.blockedSegment=qe;try{if(ir(T,I,K),T.responseState.generateStaticMarkup||qe.lastPushedText&&qe.textEmbedded&&qe.chunks.push("<!-- -->"),qe.status=1,Ln(Oe,qe),Oe.pendingTasks===0)break e}catch(Ve){qe.status=4,Oe.forceClientRender=!0,Oe.errorDigest=nr(T,Ve)}finally{I.blockedBoundary=z,I.blockedSegment=be}I=Ir(T,he,z,je,we,I.legacyContext,I.context,I.treeContext),T.pingedTasks.push(I)}return}if(typeof z=="object"&&z!==null)switch(z.$$typeof){case ze:if(K=un(T,I,z.render,K,be),ti!==0){z=I.treeContext,I.treeContext=lt(z,1,0);try{Ot(T,I,K)}finally{I.treeContext=z}}else Ot(T,I,K);return;case Ee:z=z.type,K=ra(z,K),Dr(T,I,z,K,be);return;case $e:if(be=K.children,z=z._context,K=K.value,he=z._currentValue2,z._currentValue2=K,we=le,le=K={parent:we,depth:we===null?0:we.depth+1,context:z,parentValue:he,value:K},I.context=K,Ot(T,I,be),T=le,T===null)throw Error(e(403));K=T.parentValue,T.context._currentValue2=K===Q?T.context._defaultValue:K,T=le=T.parent,I.context=T;return;case Le:K=K.children,K=K(z._currentValue2),Ot(T,I,K);return;case Re:be=z._init,z=be(z._payload),K=ra(z,K),Dr(T,I,z,K,void 0);return}throw Error(e(130,z==null?z:typeof z,""))}}function Ot(T,I,z){if(I.node=z,typeof z=="object"&&z!==null){switch(z.$$typeof){case P:Dr(T,I,z.type,z.props,z.ref);return;case de:throw Error(e(257));case Re:var K=z._init;z=K(z._payload),Ot(T,I,z);return}if(D(z)){rr(T,I,z);return}if(z===null||typeof z!="object"?K=null:(K=V&&z[V]||z["@@iterator"],K=typeof K=="function"?K:null),K&&(K=K.call(z))){if(z=K.next(),!z.done){var be=[];do be.push(z.value),z=K.next();while(!z.done);rr(T,I,be)}return}throw T=Object.prototype.toString.call(z),Error(e(31,T==="[object Object]"?"object with keys {"+Object.keys(z).join(", ")+"}":T))}typeof z=="string"?(K=I.blockedSegment,K.lastPushedText=ie(I.blockedSegment.chunks,z,T.responseState,K.lastPushedText)):typeof z=="number"&&(K=I.blockedSegment,K.lastPushedText=ie(I.blockedSegment.chunks,""+z,T.responseState,K.lastPushedText))}function rr(T,I,z){for(var K=z.length,be=0;be<K;be++){var he=I.treeContext;I.treeContext=lt(he,K,be);try{ir(T,I,z[be])}finally{I.treeContext=he}}}function ir(T,I,z){var K=I.blockedSegment.formatContext,be=I.legacyContext,he=I.context;try{return Ot(T,I,z)}catch(je){if(oo(),typeof je=="object"&&je!==null&&typeof je.then=="function"){z=je;var we=I.blockedSegment,Oe=Br(T,we.chunks.length,null,we.formatContext,we.lastPushedText,!0);we.children.push(Oe),we.lastPushedText=!1,T=Ir(T,I.node,I.blockedBoundary,Oe,I.abortSet,I.legacyContext,I.context,I.treeContext).ping,z.then(T,T),I.blockedSegment.formatContext=K,I.legacyContext=be,I.context=he,Ne(he)}else throw I.blockedSegment.formatContext=K,I.legacyContext=be,I.context=he,Ne(he),je}}function Nr(T){var I=T.blockedBoundary;T=T.blockedSegment,T.status=3,or(this,I,T)}function _i(T,I,z){var K=T.blockedBoundary;T.blockedSegment.status=3,K===null?(I.allPendingTasks--,I.status!==2&&(I.status=2,I.destination!==null&&I.destination.push(null))):(K.pendingTasks--,K.forceClientRender||(K.forceClientRender=!0,T=z===void 0?Error(e(432)):z,K.errorDigest=I.onError(T),K.parentFlushed&&I.clientRenderedBoundaries.push(K)),K.fallbackAbortableTasks.forEach(function(be){return _i(be,I,z)}),K.fallbackAbortableTasks.clear(),I.allPendingTasks--,I.allPendingTasks===0&&(K=I.onAllReady,K()))}function Ln(T,I){if(I.chunks.length===0&&I.children.length===1&&I.children[0].boundary===null){var z=I.children[0];z.id=I.id,z.parentFlushed=!0,z.status===1&&Ln(T,z)}else T.completedSegments.push(I)}function or(T,I,z){if(I===null){if(z.parentFlushed){if(T.completedRootSegment!==null)throw Error(e(389));T.completedRootSegment=z}T.pendingRootTasks--,T.pendingRootTasks===0&&(T.onShellError=tr,I=T.onShellReady,I())}else I.pendingTasks--,I.forceClientRender||(I.pendingTasks===0?(z.parentFlushed&&z.status===1&&Ln(I,z),I.parentFlushed&&T.completedBoundaries.push(I),I.fallbackAbortableTasks.forEach(Nr,T),I.fallbackAbortableTasks.clear()):z.parentFlushed&&z.status===1&&(Ln(I,z),I.completedSegments.length===1&&I.parentFlushed&&T.partialBoundaries.push(I)));T.allPendingTasks--,T.allPendingTasks===0&&(T=T.onAllReady,T())}function Gt(T){if(T.status!==2){var I=le,z=Or.current;Or.current=so;var K=Ci;Ci=T.responseState;try{var be=T.pingedTasks,he;for(he=0;he<be.length;he++){var we=be[he],Oe=T,je=we.blockedSegment;if(je.status===0){Ne(we.context);try{Ot(Oe,we,we.node),Oe.responseState.generateStaticMarkup||je.lastPushedText&&je.textEmbedded&&je.chunks.push("<!-- -->"),we.abortSet.delete(we),je.status=1,or(Oe,we.blockedBoundary,je)}catch(Kt){if(oo(),typeof Kt=="object"&&Kt!==null&&typeof Kt.then=="function"){var qe=we.ping;Kt.then(qe,qe)}else{we.abortSet.delete(we),je.status=4;var Ve=we.blockedBoundary,ut=Kt,Yt=nr(Oe,ut);if(Ve===null?Mr(Oe,ut):(Ve.pendingTasks--,Ve.forceClientRender||(Ve.forceClientRender=!0,Ve.errorDigest=Yt,Ve.parentFlushed&&Oe.clientRenderedBoundaries.push(Ve))),Oe.allPendingTasks--,Oe.allPendingTasks===0){var Zt=Oe.onAllReady;Zt()}}}finally{}}}be.splice(0,he),T.destination!==null&&Jt(T,T.destination)}catch(Kt){nr(T,Kt),Mr(T,Kt)}finally{Ci=K,Or.current=z,z===so&&Ne(I)}}}function Pr(T,I,z){switch(z.parentFlushed=!0,z.status){case 0:var K=z.id=T.nextSegmentId++;return z.lastPushedText=!1,z.textEmbedded=!1,T=T.responseState,I.push('<template id="'),I.push(T.placeholderPrefix),T=K.toString(16),I.push(T),I.push('"></template>');case 1:z.status=2;var be=!0;K=z.chunks;var he=0;z=z.children;for(var we=0;we<z.length;we++){for(be=z[we];he<be.index;he++)I.push(K[he]);be=ni(T,I,be)}for(;he<K.length-1;he++)I.push(K[he]);return he<K.length&&(be=I.push(K[he])),be;default:throw Error(e(390))}}function ni(T,I,z){var K=z.boundary;if(K===null)return Pr(T,I,z);if(K.parentFlushed=!0,K.forceClientRender)return T.responseState.generateStaticMarkup||(K=K.errorDigest,I.push("<!--$!-->"),I.push("<template"),K&&(I.push(' data-dgst="'),K=b(K),I.push(K),I.push('"')),I.push("></template>")),Pr(T,I,z),T=T.responseState.generateStaticMarkup?!0:I.push("<!--/$-->"),T;if(0<K.pendingTasks){K.rootSegmentID=T.nextSegmentId++,0<K.completedSegments.length&&T.partialBoundaries.push(K);var be=T.responseState,he=be.nextSuspenseID++;return be=be.boundaryPrefix+he.toString(16),K=K.id=be,k(I,T.responseState,K),Pr(T,I,z),I.push("<!--/$-->")}if(K.byteSize>T.progressiveChunkSize)return K.rootSegmentID=T.nextSegmentId++,T.completedBoundaries.push(K),k(I,T.responseState,K.id),Pr(T,I,z),I.push("<!--/$-->");if(T.responseState.generateStaticMarkup||I.push("<!--$-->"),z=K.completedSegments,z.length!==1)throw Error(e(391));return ni(T,I,z[0]),T=T.responseState.generateStaticMarkup?!0:I.push("<!--/$-->"),T}function ki(T,I,z){return re(I,T.responseState,z.formatContext,z.id),ni(T,I,z),$(I,z.formatContext)}function Sn(T,I,z){for(var K=z.completedSegments,be=0;be<K.length;be++)ar(T,I,z,K[be]);if(K.length=0,T=T.responseState,K=z.id,z=z.rootSegmentID,I.push(T.startInlineScript),T.sentCompleteBoundaryFunction?I.push('$RC("'):(T.sentCompleteBoundaryFunction=!0,I.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),K===null)throw Error(e(395));return z=z.toString(16),I.push(K),I.push('","'),I.push(T.segmentPrefix),I.push(z),I.push('")<\/script>')}function ar(T,I,z,K){if(K.status===2)return!0;var be=K.id;if(be===-1){if((K.id=z.rootSegmentID)===-1)throw Error(e(392));return ki(T,I,K)}return ki(T,I,K),T=T.responseState,I.push(T.startInlineScript),T.sentCompleteSegmentFunction?I.push('$RS("'):(T.sentCompleteSegmentFunction=!0,I.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),I.push(T.segmentPrefix),be=be.toString(16),I.push(be),I.push('","'),I.push(T.placeholderPrefix),I.push(be),I.push('")<\/script>')}function Jt(T,I){try{var z=T.completedRootSegment;if(z!==null&&T.pendingRootTasks===0){ni(T,I,z),T.completedRootSegment=null;var K=T.responseState.bootstrapChunks;for(z=0;z<K.length-1;z++)I.push(K[z]);z<K.length&&I.push(K[z])}var be=T.clientRenderedBoundaries,he;for(he=0;he<be.length;he++){var we=be[he];K=I;var Oe=T.responseState,je=we.id,qe=we.errorDigest,Ve=we.errorMessage,ut=we.errorComponentStack;if(K.push(Oe.startInlineScript),Oe.sentClientRenderFunction?K.push('$RX("'):(Oe.sentClientRenderFunction=!0,K.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),je===null)throw Error(e(395));if(K.push(je),K.push('"'),qe||Ve||ut){K.push(",");var Yt=J(qe||"");K.push(Yt)}if(Ve||ut){K.push(",");var Zt=J(Ve||"");K.push(Zt)}if(ut){K.push(",");var Kt=J(ut);K.push(Kt)}if(!K.push(")<\/script>")){T.destination=null,he++,be.splice(0,he);return}}be.splice(0,he);var Wr=T.completedBoundaries;for(he=0;he<Wr.length;he++)if(!Sn(T,I,Wr[he])){T.destination=null,he++,Wr.splice(0,he);return}Wr.splice(0,he);var sr=T.partialBoundaries;for(he=0;he<sr.length;he++){var Ui=sr[he];e:{be=T,we=I;var Lr=Ui.completedSegments;for(Oe=0;Oe<Lr.length;Oe++)if(!ar(be,we,Ui,Lr[Oe])){Oe++,Lr.splice(0,Oe);var ri=!1;break e}Lr.splice(0,Oe),ri=!0}if(!ri){T.destination=null,he++,sr.splice(0,he);return}}sr.splice(0,he);var wr=T.completedBoundaries;for(he=0;he<wr.length;he++)if(!Sn(T,I,wr[he])){T.destination=null,he++,wr.splice(0,he);return}wr.splice(0,he)}finally{T.allPendingTasks===0&&T.pingedTasks.length===0&&T.clientRenderedBoundaries.length===0&&T.completedBoundaries.length===0&&I.push(null)}}function Ai(T,I){try{var z=T.abortableTasks;z.forEach(function(K){return _i(K,T,I)}),z.clear(),T.destination!==null&&Jt(T,T.destination)}catch(K){nr(T,K),Mr(T,K)}}function zt(){}function fn(T,I,z,K){var be=!1,he=null,we="",Oe={push:function(qe){return qe!==null&&(we+=qe),!0},destroy:function(qe){be=!0,he=qe}},je=!1;if(T=Ei(T,X(z,I?I.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,zt,void 0,function(){je=!0}),Gt(T),Ai(T,K),T.status===1)T.status=2,Oe.destroy(T.fatalError);else if(T.status!==2&&T.destination===null){T.destination=Oe;try{Jt(T,Oe)}catch(qe){nr(T,qe),Mr(T,qe)}}if(be)throw he;if(!je)throw Error(e(426));return we}return Zs.renderToNodeStream=function(){throw Error(e(207))},Zs.renderToStaticMarkup=function(T,I){return fn(T,I,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Zs.renderToStaticNodeStream=function(){throw Error(e(208))},Zs.renderToString=function(T,I){return fn(T,I,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Zs.version="18.3.1",Zs}var xp={};/**
|
|
262
|
+
* @license React
|
|
263
|
+
* react-dom-server.browser.production.min.js
|
|
264
|
+
*
|
|
265
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
266
|
+
*
|
|
267
|
+
* This source code is licensed under the MIT license found in the
|
|
268
|
+
* LICENSE file in the root directory of this source tree.
|
|
269
|
+
*/var f_;function BJ(){if(f_)return xp;f_=1;var t=Dl;function e(C){for(var R="https://reactjs.org/docs/error-decoder.html?invariant="+C,W=1;W<arguments.length;W++)R+="&args[]="+encodeURIComponent(arguments[W]);return"Minified React error #"+C+"; visit "+R+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,r=0;function i(C,R){if(R.length!==0)if(512<R.length)0<r&&(C.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),C.enqueue(R);else{var W=n.length-r;W<R.length&&(W===0?C.enqueue(n):(n.set(R.subarray(0,W),r),C.enqueue(n),R=R.subarray(W)),n=new Uint8Array(512),r=0),n.set(R,r),r+=R.length}}function o(C,R){return i(C,R),!0}function a(C){n&&0<r&&(C.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var s=new TextEncoder;function l(C){return s.encode(C)}function c(C){return s.encode(C)}function f(C,R){typeof C.error=="function"?C.error(R):C.close()}var d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},b={};function x(C){return d.call(b,C)?!0:d.call(g,C)?!1:p.test(C)?b[C]=!0:(g[C]=!0,!1)}function v(C,R,W,Y,ve,ge,Te){this.acceptsBooleans=R===2||R===3||R===4,this.attributeName=Y,this.attributeNamespace=ve,this.mustUseProperty=W,this.propertyName=C,this.type=R,this.sanitizeURL=ge,this.removeEmptyString=Te}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(C){D[C]=new v(C,0,!1,C,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(C){var R=C[0];D[R]=new v(R,1,!1,C[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(C){D[C]=new v(C,2,!1,C.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(C){D[C]=new v(C,2,!1,C,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(C){D[C]=new v(C,3,!1,C.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(C){D[C]=new v(C,3,!0,C,null,!1,!1)}),["capture","download"].forEach(function(C){D[C]=new v(C,4,!1,C,null,!1,!1)}),["cols","rows","size","span"].forEach(function(C){D[C]=new v(C,6,!1,C,null,!1,!1)}),["rowSpan","start"].forEach(function(C){D[C]=new v(C,5,!1,C.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function E(C){return C[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(C){var R=C.replace(S,E);D[R]=new v(R,1,!1,C,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(C){var R=C.replace(S,E);D[R]=new v(R,1,!1,C,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(C){var R=C.replace(S,E);D[R]=new v(R,1,!1,C,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(C){D[C]=new v(C,1,!1,C.toLowerCase(),null,!1,!1)}),D.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(C){D[C]=new v(C,1,!1,C.toLowerCase(),null,!0,!0)});var O={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},U=["Webkit","ms","Moz","O"];Object.keys(O).forEach(function(C){U.forEach(function(R){R=R+C.charAt(0).toUpperCase()+C.substring(1),O[R]=O[C]})});var M=/["'&<>]/;function N(C){if(typeof C=="boolean"||typeof C=="number")return""+C;C=""+C;var R=M.exec(C);if(R){var W="",Y,ve=0;for(Y=R.index;Y<C.length;Y++){switch(C.charCodeAt(Y)){case 34:R=""";break;case 38:R="&";break;case 39:R="'";break;case 60:R="<";break;case 62:R=">";break;default:continue}ve!==Y&&(W+=C.substring(ve,Y)),ve=Y+1,W+=R}C=ve!==Y?W+C.substring(ve,Y):W}return C}var q=/([A-Z])/g,j=/^ms-/,ae=Array.isArray,ce=c("<script>"),F=c("<\/script>"),Z=c('<script src="'),k=c('<script type="module" src="'),re=c('" async=""><\/script>'),$=/(<\/|<)(s)(cript)/gi;function G(C,R,W,Y){return""+R+(W==="s"?"\\u0073":"\\u0053")+Y}function J(C,R,W,Y,ve){C=C===void 0?"":C,R=R===void 0?ce:c('<script nonce="'+N(R)+'">');var ge=[];if(W!==void 0&&ge.push(R,l((""+W).replace($,G)),F),Y!==void 0)for(W=0;W<Y.length;W++)ge.push(Z,l(N(Y[W])),re);if(ve!==void 0)for(Y=0;Y<ve.length;Y++)ge.push(k,l(N(ve[Y])),re);return{bootstrapChunks:ge,startInlineScript:R,placeholderPrefix:c(C+"P:"),segmentPrefix:c(C+"S:"),boundaryPrefix:C+"B:",idPrefix:C,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function X(C,R){return{insertionMode:C,selectedValue:R}}function ie(C){return X(C==="http://www.w3.org/2000/svg"?2:C==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function H(C,R,W){switch(R){case"select":return X(1,W.value!=null?W.value:W.defaultValue);case"svg":return X(2,null);case"math":return X(3,null);case"foreignObject":return X(1,null);case"table":return X(4,null);case"thead":case"tbody":case"tfoot":return X(5,null);case"colgroup":return X(7,null);case"tr":return X(6,null)}return 4<=C.insertionMode||C.insertionMode===0?X(1,null):C}var P=c("<!-- -->");function de(C,R,W,Y){return R===""?Y:(Y&&C.push(P),C.push(l(N(R))),!0)}var De=new Map,me=c(' style="'),_e=c(":"),$e=c(";");function Le(C,R,W){if(typeof W!="object")throw Error(e(62));R=!0;for(var Y in W)if(d.call(W,Y)){var ve=W[Y];if(ve!=null&&typeof ve!="boolean"&&ve!==""){if(Y.indexOf("--")===0){var ge=l(N(Y));ve=l(N((""+ve).trim()))}else{ge=Y;var Te=De.get(ge);Te!==void 0||(Te=c(N(ge.replace(q,"-$1").toLowerCase().replace(j,"-ms-"))),De.set(ge,Te)),ge=Te,ve=typeof ve=="number"?ve===0||d.call(O,Y)?l(""+ve):l(ve+"px"):l(N((""+ve).trim()))}R?(R=!1,C.push(me,ge,_e,ve)):C.push($e,ge,_e,ve)}}R||C.push(oe)}var ze=c(" "),tt=c('="'),oe=c('"'),Ee=c('=""');function Re(C,R,W,Y){switch(W){case"style":Le(C,R,Y);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<W.length)||W[0]!=="o"&&W[0]!=="O"||W[1]!=="n"&&W[1]!=="N"){if(R=D.hasOwnProperty(W)?D[W]:null,R!==null){switch(typeof Y){case"function":case"symbol":return;case"boolean":if(!R.acceptsBooleans)return}switch(W=l(R.attributeName),R.type){case 3:Y&&C.push(ze,W,Ee);break;case 4:Y===!0?C.push(ze,W,Ee):Y!==!1&&C.push(ze,W,tt,l(N(Y)),oe);break;case 5:isNaN(Y)||C.push(ze,W,tt,l(N(Y)),oe);break;case 6:!isNaN(Y)&&1<=Y&&C.push(ze,W,tt,l(N(Y)),oe);break;default:R.sanitizeURL&&(Y=""+Y),C.push(ze,W,tt,l(N(Y)),oe)}}else if(x(W)){switch(typeof Y){case"function":case"symbol":return;case"boolean":if(R=W.toLowerCase().slice(0,5),R!=="data-"&&R!=="aria-")return}C.push(ze,l(W),tt,l(N(Y)),oe)}}}var A=c(">"),ye=c("/>");function fe(C,R,W){if(R!=null){if(W!=null)throw Error(e(60));if(typeof R!="object"||!("__html"in R))throw Error(e(61));R=R.__html,R!=null&&C.push(l(""+R))}}function Q(C){var R="";return t.Children.forEach(C,function(W){W!=null&&(R+=W)}),R}var V=c(' selected=""');function se(C,R,W,Y){C.push(ee(W));var ve=W=null,ge;for(ge in R)if(d.call(R,ge)){var Te=R[ge];if(Te!=null)switch(ge){case"children":W=Te;break;case"dangerouslySetInnerHTML":ve=Te;break;default:Re(C,Y,ge,Te)}}return C.push(A),fe(C,ve,W),typeof W=="string"?(C.push(l(N(W))),null):W}var Se=c(`
|
|
270
|
+
`),ke=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,le=new Map;function ee(C){var R=le.get(C);if(R===void 0){if(!ke.test(C))throw Error(e(65,C));R=c("<"+C),le.set(C,R)}return R}var ne=c("<!DOCTYPE html>");function ue(C,R,W,Y,ve){switch(R){case"select":C.push(ee("select"));var ge=null,Te=null;for(Ze in W)if(d.call(W,Ze)){var Ie=W[Ze];if(Ie!=null)switch(Ze){case"children":ge=Ie;break;case"dangerouslySetInnerHTML":Te=Ie;break;case"defaultValue":case"value":break;default:Re(C,Y,Ze,Ie)}}return C.push(A),fe(C,Te,ge),ge;case"option":Te=ve.selectedValue,C.push(ee("option"));var Xe=Ie=null,et=null,Ze=null;for(ge in W)if(d.call(W,ge)){var bt=W[ge];if(bt!=null)switch(ge){case"children":Ie=bt;break;case"selected":et=bt;break;case"dangerouslySetInnerHTML":Ze=bt;break;case"value":Xe=bt;default:Re(C,Y,ge,bt)}}if(Te!=null)if(W=Xe!==null?""+Xe:Q(Ie),ae(Te)){for(Y=0;Y<Te.length;Y++)if(""+Te[Y]===W){C.push(V);break}}else""+Te===W&&C.push(V);else et&&C.push(V);return C.push(A),fe(C,Ze,Ie),Ie;case"textarea":C.push(ee("textarea")),Ze=Te=ge=null;for(Ie in W)if(d.call(W,Ie)&&(Xe=W[Ie],Xe!=null))switch(Ie){case"children":Ze=Xe;break;case"value":ge=Xe;break;case"defaultValue":Te=Xe;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Re(C,Y,Ie,Xe)}if(ge===null&&Te!==null&&(ge=Te),C.push(A),Ze!=null){if(ge!=null)throw Error(e(92));if(ae(Ze)&&1<Ze.length)throw Error(e(93));ge=""+Ze}return typeof ge=="string"&&ge[0]===`
|
|
271
|
+
`&&C.push(Se),ge!==null&&C.push(l(N(""+ge))),null;case"input":C.push(ee("input")),Xe=Ze=Ie=ge=null;for(Te in W)if(d.call(W,Te)&&(et=W[Te],et!=null))switch(Te){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Xe=et;break;case"defaultValue":Ie=et;break;case"checked":Ze=et;break;case"value":ge=et;break;default:Re(C,Y,Te,et)}return Ze!==null?Re(C,Y,"checked",Ze):Xe!==null&&Re(C,Y,"checked",Xe),ge!==null?Re(C,Y,"value",ge):Ie!==null&&Re(C,Y,"value",Ie),C.push(ye),null;case"menuitem":C.push(ee("menuitem"));for(var hn in W)if(d.call(W,hn)&&(ge=W[hn],ge!=null))switch(hn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Re(C,Y,hn,ge)}return C.push(A),null;case"title":C.push(ee("title")),ge=null;for(bt in W)if(d.call(W,bt)&&(Te=W[bt],Te!=null))switch(bt){case"children":ge=Te;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Re(C,Y,bt,Te)}return C.push(A),ge;case"listing":case"pre":C.push(ee(R)),Te=ge=null;for(Xe in W)if(d.call(W,Xe)&&(Ie=W[Xe],Ie!=null))switch(Xe){case"children":ge=Ie;break;case"dangerouslySetInnerHTML":Te=Ie;break;default:Re(C,Y,Xe,Ie)}if(C.push(A),Te!=null){if(ge!=null)throw Error(e(60));if(typeof Te!="object"||!("__html"in Te))throw Error(e(61));W=Te.__html,W!=null&&(typeof W=="string"&&0<W.length&&W[0]===`
|
|
272
|
+
`?C.push(Se,l(W)):C.push(l(""+W)))}return typeof ge=="string"&&ge[0]===`
|
|
273
|
+
`&&C.push(Se),ge;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":C.push(ee(R));for(var $n in W)if(d.call(W,$n)&&(ge=W[$n],ge!=null))switch($n){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,R));default:Re(C,Y,$n,ge)}return C.push(ye),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return se(C,W,R,Y);case"html":return ve.insertionMode===0&&C.push(ne),se(C,W,R,Y);default:if(R.indexOf("-")===-1&&typeof W.is!="string")return se(C,W,R,Y);C.push(ee(R)),Te=ge=null;for(et in W)if(d.call(W,et)&&(Ie=W[et],Ie!=null))switch(et){case"children":ge=Ie;break;case"dangerouslySetInnerHTML":Te=Ie;break;case"style":Le(C,Y,Ie);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:x(et)&&typeof Ie!="function"&&typeof Ie!="symbol"&&C.push(ze,l(et),tt,l(N(Ie)),oe)}return C.push(A),fe(C,Te,ge),ge}}var xe=c("</"),Me=c(">"),Ne=c('<template id="'),Ye=c('"></template>'),He=c("<!--$-->"),Ke=c('<!--$?--><template id="'),lt=c('"></template>'),nt=c("<!--$!-->"),Mt=c("<!--/$-->"),Pn=c("<template"),Ft=c('"'),Rr=c(' data-dgst="');c(' data-msg="'),c(' data-stck="');var wi=c("></template>");function Ht(C,R,W){if(i(C,Ke),W===null)throw Error(e(395));return i(C,W),o(C,lt)}var wn=c('<div hidden id="'),Wn=c('">'),at=c("</div>"),ln=c('<svg aria-hidden="true" style="display:none" id="'),Si=c('">'),ti=c("</svg>"),Qn=c('<math aria-hidden="true" style="display:none" id="'),Ti=c('">'),xr=c("</math>"),Nt=c('<table hidden id="'),io=c('">'),oo=c("</table>"),ta=c('<table hidden><tbody id="'),Rt=c('">'),ao=c("</tbody></table>"),ms=c('<table hidden><tr id="'),ys=c('">'),er=c("</tr></table>"),so=c('<table hidden><colgroup id="'),Ci=c('">'),Or=c("</colgroup></table>");function cn(C,R,W,Y){switch(W.insertionMode){case 0:case 1:return i(C,wn),i(C,R.segmentPrefix),i(C,l(Y.toString(16))),o(C,Wn);case 2:return i(C,ln),i(C,R.segmentPrefix),i(C,l(Y.toString(16))),o(C,Si);case 3:return i(C,Qn),i(C,R.segmentPrefix),i(C,l(Y.toString(16))),o(C,Ti);case 4:return i(C,Nt),i(C,R.segmentPrefix),i(C,l(Y.toString(16))),o(C,io);case 5:return i(C,ta),i(C,R.segmentPrefix),i(C,l(Y.toString(16))),o(C,Rt);case 6:return i(C,ms),i(C,R.segmentPrefix),i(C,l(Y.toString(16))),o(C,ys);case 7:return i(C,so),i(C,R.segmentPrefix),i(C,l(Y.toString(16))),o(C,Ci);default:throw Error(e(397))}}function tr(C,R){switch(R.insertionMode){case 0:case 1:return o(C,at);case 2:return o(C,ti);case 3:return o(C,xr);case 4:return o(C,oo);case 5:return o(C,ao);case 6:return o(C,er);case 7:return o(C,Or);default:throw Error(e(397))}}var Ei=c('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ir=c('$RS("'),Br=c('","'),nr=c('")<\/script>'),Mr=c('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),un=c('$RC("'),na=c('","'),ra=c('")<\/script>'),Dr=c('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Ot=c('$RX("'),rr=c('"'),ir=c(")<\/script>"),Nr=c(","),_i=/[<\u2028\u2029]/g;function Ln(C){return JSON.stringify(C).replace(_i,function(R){switch(R){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var or=Object.assign,Gt=Symbol.for("react.element"),Pr=Symbol.for("react.portal"),ni=Symbol.for("react.fragment"),ki=Symbol.for("react.strict_mode"),Sn=Symbol.for("react.profiler"),ar=Symbol.for("react.provider"),Jt=Symbol.for("react.context"),Ai=Symbol.for("react.forward_ref"),zt=Symbol.for("react.suspense"),fn=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),z=Symbol.for("react.scope"),K=Symbol.for("react.debug_trace_mode"),be=Symbol.for("react.legacy_hidden"),he=Symbol.for("react.default_value"),we=Symbol.iterator;function Oe(C){if(C==null)return null;if(typeof C=="function")return C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case ni:return"Fragment";case Pr:return"Portal";case Sn:return"Profiler";case ki:return"StrictMode";case zt:return"Suspense";case fn:return"SuspenseList"}if(typeof C=="object")switch(C.$$typeof){case Jt:return(C.displayName||"Context")+".Consumer";case ar:return(C._context.displayName||"Context")+".Provider";case Ai:var R=C.render;return C=C.displayName,C||(C=R.displayName||R.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case T:return R=C.displayName||null,R!==null?R:Oe(C.type)||"Memo";case I:R=C._payload,C=C._init;try{return Oe(C(R))}catch{}}return null}var je={};function qe(C,R){if(C=C.contextTypes,!C)return je;var W={},Y;for(Y in C)W[Y]=R[Y];return W}var Ve=null;function ut(C,R){if(C!==R){C.context._currentValue=C.parentValue,C=C.parent;var W=R.parent;if(C===null){if(W!==null)throw Error(e(401))}else{if(W===null)throw Error(e(401));ut(C,W)}R.context._currentValue=R.value}}function Yt(C){C.context._currentValue=C.parentValue,C=C.parent,C!==null&&Yt(C)}function Zt(C){var R=C.parent;R!==null&&Zt(R),C.context._currentValue=C.value}function Kt(C,R){if(C.context._currentValue=C.parentValue,C=C.parent,C===null)throw Error(e(402));C.depth===R.depth?ut(C,R):Kt(C,R)}function Wr(C,R){var W=R.parent;if(W===null)throw Error(e(402));C.depth===W.depth?ut(C,W):Wr(C,W),R.context._currentValue=R.value}function sr(C){var R=Ve;R!==C&&(R===null?Zt(C):C===null?Yt(R):R.depth===C.depth?ut(R,C):R.depth>C.depth?Kt(R,C):Wr(R,C),Ve=C)}var Ui={isMounted:function(){return!1},enqueueSetState:function(C,R){C=C._reactInternals,C.queue!==null&&C.queue.push(R)},enqueueReplaceState:function(C,R){C=C._reactInternals,C.replace=!0,C.queue=[R]},enqueueForceUpdate:function(){}};function Lr(C,R,W,Y){var ve=C.state!==void 0?C.state:null;C.updater=Ui,C.props=W,C.state=ve;var ge={queue:[],replace:!1};C._reactInternals=ge;var Te=R.contextType;if(C.context=typeof Te=="object"&&Te!==null?Te._currentValue:Y,Te=R.getDerivedStateFromProps,typeof Te=="function"&&(Te=Te(W,ve),ve=Te==null?ve:or({},ve,Te),C.state=ve),typeof R.getDerivedStateFromProps!="function"&&typeof C.getSnapshotBeforeUpdate!="function"&&(typeof C.UNSAFE_componentWillMount=="function"||typeof C.componentWillMount=="function"))if(R=C.state,typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount(),R!==C.state&&Ui.enqueueReplaceState(C,C.state,null),ge.queue!==null&&0<ge.queue.length)if(R=ge.queue,Te=ge.replace,ge.queue=null,ge.replace=!1,Te&&R.length===1)C.state=R[0];else{for(ge=Te?R[0]:C.state,ve=!0,Te=Te?1:0;Te<R.length;Te++){var Ie=R[Te];Ie=typeof Ie=="function"?Ie.call(C,ge,W,Y):Ie,Ie!=null&&(ve?(ve=!1,ge=or({},ge,Ie)):or(ge,Ie))}C.state=ge}else ge.queue=null}var ri={id:1,overflow:""};function wr(C,R,W){var Y=C.id;C=C.overflow;var ve=32-ii(Y)-1;Y&=~(1<<ve),W+=1;var ge=32-ii(R)+ve;if(30<ge){var Te=ve-ve%5;return ge=(Y&(1<<Te)-1).toString(32),Y>>=Te,ve-=Te,{id:1<<32-ii(R)+ve|W<<ve|Y,overflow:ge+C}}return{id:1<<ge|W<<ve|Y,overflow:C}}var ii=Math.clz32?Math.clz32:ia,$u=Math.log,ju=Math.LN2;function ia(C){return C>>>=0,C===0?32:31-($u(C)/ju|0)|0}function lr(C,R){return C===R&&(C!==0||1/C===1/R)||C!==C&&R!==R}var Hu=typeof Object.is=="function"?Object.is:lr,Sr=null,bs=null,oa=null,gt=null,oi=!1,aa=!1,ai=0,zr=null,sa=0;function $r(){if(Sr===null)throw Error(e(321));return Sr}function zn(){if(0<sa)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function vs(){return gt===null?oa===null?(oi=!1,oa=gt=zn()):(oi=!0,gt=oa):gt.next===null?(oi=!1,gt=gt.next=zn()):(oi=!0,gt=gt.next),gt}function lo(){bs=Sr=null,aa=!1,oa=null,sa=0,gt=zr=null}function Il(C,R){return typeof R=="function"?R(C):R}function la(C,R,W){if(Sr=$r(),gt=vs(),oi){var Y=gt.queue;if(R=Y.dispatch,zr!==null&&(W=zr.get(Y),W!==void 0)){zr.delete(Y),Y=gt.memoizedState;do Y=C(Y,W.action),W=W.next;while(W!==null);return gt.memoizedState=Y,[Y,R]}return[gt.memoizedState,R]}return C=C===Il?typeof R=="function"?R():R:W!==void 0?W(R):R,gt.memoizedState=C,C=gt.queue={last:null,dispatch:null},C=C.dispatch=Vu.bind(null,Sr,C),[gt.memoizedState,C]}function Bl(C,R){if(Sr=$r(),gt=vs(),R=R===void 0?null:R,gt!==null){var W=gt.memoizedState;if(W!==null&&R!==null){var Y=W[1];e:if(Y===null)Y=!1;else{for(var ve=0;ve<Y.length&&ve<R.length;ve++)if(!Hu(R[ve],Y[ve])){Y=!1;break e}Y=!0}if(Y)return W[0]}}return C=C(),gt.memoizedState=[C,R],C}function Vu(C,R,W){if(25<=sa)throw Error(e(301));if(C===Sr)if(aa=!0,C={action:W,next:null},zr===null&&(zr=new Map),W=zr.get(R),W===void 0)zr.set(R,C);else{for(R=W;R.next!==null;)R=R.next;R.next=C}}function qu(){throw Error(e(394))}function ca(){}var Ml={readContext:function(C){return C._currentValue},useContext:function(C){return $r(),C._currentValue},useMemo:Bl,useReducer:la,useRef:function(C){Sr=$r(),gt=vs();var R=gt.memoizedState;return R===null?(C={current:C},gt.memoizedState=C):R},useState:function(C){return la(Il,C)},useInsertionEffect:ca,useLayoutEffect:function(){},useCallback:function(C,R){return Bl(function(){return C},R)},useImperativeHandle:ca,useEffect:ca,useDebugValue:ca,useDeferredValue:function(C){return $r(),C},useTransition:function(){return $r(),[!1,qu]},useId:function(){var C=bs.treeContext,R=C.overflow;C=C.id,C=(C&~(1<<32-ii(C)-1)).toString(32)+R;var W=co;if(W===null)throw Error(e(404));return R=ai++,C=":"+W.idPrefix+"R"+C,0<R&&(C+="H"+R.toString(32)),C+":"},useMutableSource:function(C,R){return $r(),R(C._source)},useSyncExternalStore:function(C,R,W){if(W===void 0)throw Error(e(407));return W()}},co=null,xs=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Xu(C){return console.error(C),null}function Fi(){}function Ds(C,R,W,Y,ve,ge,Te,Ie,Xe){var et=[],Ze=new Set;return R={destination:null,responseState:R,progressiveChunkSize:Y===void 0?12800:Y,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ze,pingedTasks:et,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ve===void 0?Xu:ve,onAllReady:ge===void 0?Fi:ge,onShellReady:Te===void 0?Fi:Te,onShellError:Ie===void 0?Fi:Ie,onFatalError:Xe===void 0?Fi:Xe},W=Ri(R,0,null,W,!1,!1),W.parentFlushed=!0,C=ws(R,C,null,W,Ze,je,null,ri),et.push(C),R}function ws(C,R,W,Y,ve,ge,Te,Ie){C.allPendingTasks++,W===null?C.pendingRootTasks++:W.pendingTasks++;var Xe={node:R,ping:function(){var et=C.pingedTasks;et.push(Xe),et.length===1&&jl(C)},blockedBoundary:W,blockedSegment:Y,abortSet:ve,legacyContext:ge,context:Te,treeContext:Ie};return ve.add(Xe),Xe}function Ri(C,R,W,Y,ve,ge){return{status:0,id:-1,index:R,parentFlushed:!1,chunks:[],children:[],formatContext:Y,boundary:W,lastPushedText:ve,textEmbedded:ge}}function uo(C,R){if(C=C.onError(R),C!=null&&typeof C!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof C+'" instead');return C}function ua(C,R){var W=C.onShellError;W(R),W=C.onFatalError,W(R),C.destination!==null?(C.status=2,f(C.destination,R)):(C.status=1,C.fatalError=R)}function Nl(C,R,W,Y,ve){for(Sr={},bs=R,ai=0,C=W(Y,ve);aa;)aa=!1,ai=0,sa+=1,gt=null,C=W(Y,ve);return lo(),C}function Pl(C,R,W,Y){var ve=W.render(),ge=Y.childContextTypes;if(ge!=null){var Te=R.legacyContext;if(typeof W.getChildContext!="function")Y=Te;else{W=W.getChildContext();for(var Ie in W)if(!(Ie in ge))throw Error(e(108,Oe(Y)||"Unknown",Ie));Y=or({},Te,W)}R.legacyContext=Y,dn(C,R,ve),R.legacyContext=Te}else dn(C,R,ve)}function Wl(C,R){if(C&&C.defaultProps){R=or({},R),C=C.defaultProps;for(var W in C)R[W]===void 0&&(R[W]=C[W]);return R}return R}function fa(C,R,W,Y,ve){if(typeof W=="function")if(W.prototype&&W.prototype.isReactComponent){ve=qe(W,R.legacyContext);var ge=W.contextType;ge=new W(Y,typeof ge=="object"&&ge!==null?ge._currentValue:ve),Lr(ge,W,Y,ve),Pl(C,R,ge,W)}else{ge=qe(W,R.legacyContext),ve=Nl(C,R,W,Y,ge);var Te=ai!==0;if(typeof ve=="object"&&ve!==null&&typeof ve.render=="function"&&ve.$$typeof===void 0)Lr(ve,W,Y,ge),Pl(C,R,ve,W);else if(Te){Y=R.treeContext,R.treeContext=wr(Y,1,0);try{dn(C,R,ve)}finally{R.treeContext=Y}}else dn(C,R,ve)}else if(typeof W=="string"){switch(ve=R.blockedSegment,ge=ue(ve.chunks,W,Y,C.responseState,ve.formatContext),ve.lastPushedText=!1,Te=ve.formatContext,ve.formatContext=H(Te,W,Y),da(C,R,ge),ve.formatContext=Te,W){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:ve.chunks.push(xe,l(W),Me)}ve.lastPushedText=!1}else{switch(W){case be:case K:case ki:case Sn:case ni:dn(C,R,Y.children);return;case fn:dn(C,R,Y.children);return;case z:throw Error(e(343));case zt:e:{W=R.blockedBoundary,ve=R.blockedSegment,ge=Y.fallback,Y=Y.children,Te=new Set;var Ie={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Te,errorDigest:null},Xe=Ri(C,ve.chunks.length,Ie,ve.formatContext,!1,!1);ve.children.push(Xe),ve.lastPushedText=!1;var et=Ri(C,0,null,ve.formatContext,!1,!1);et.parentFlushed=!0,R.blockedBoundary=Ie,R.blockedSegment=et;try{if(da(C,R,Y),et.lastPushedText&&et.textEmbedded&&et.chunks.push(P),et.status=1,ha(Ie,et),Ie.pendingTasks===0)break e}catch(Ze){et.status=4,Ie.forceClientRender=!0,Ie.errorDigest=uo(C,Ze)}finally{R.blockedBoundary=W,R.blockedSegment=ve}R=ws(C,ge,W,Xe,Te,R.legacyContext,R.context,R.treeContext),C.pingedTasks.push(R)}return}if(typeof W=="object"&&W!==null)switch(W.$$typeof){case Ai:if(Y=Nl(C,R,W.render,Y,ve),ai!==0){W=R.treeContext,R.treeContext=wr(W,1,0);try{dn(C,R,Y)}finally{R.treeContext=W}}else dn(C,R,Y);return;case T:W=W.type,Y=Wl(W,Y),fa(C,R,W,Y,ve);return;case ar:if(ve=Y.children,W=W._context,Y=Y.value,ge=W._currentValue,W._currentValue=Y,Te=Ve,Ve=Y={parent:Te,depth:Te===null?0:Te.depth+1,context:W,parentValue:ge,value:Y},R.context=Y,dn(C,R,ve),C=Ve,C===null)throw Error(e(403));Y=C.parentValue,C.context._currentValue=Y===he?C.context._defaultValue:Y,C=Ve=C.parent,R.context=C;return;case Jt:Y=Y.children,Y=Y(W._currentValue),dn(C,R,Y);return;case I:ve=W._init,W=ve(W._payload),Y=Wl(W,Y),fa(C,R,W,Y,void 0);return}throw Error(e(130,W==null?W:typeof W,""))}}function dn(C,R,W){if(R.node=W,typeof W=="object"&&W!==null){switch(W.$$typeof){case Gt:fa(C,R,W.type,W.props,W.ref);return;case Pr:throw Error(e(257));case I:var Y=W._init;W=Y(W._payload),dn(C,R,W);return}if(ae(W)){Ll(C,R,W);return}if(W===null||typeof W!="object"?Y=null:(Y=we&&W[we]||W["@@iterator"],Y=typeof Y=="function"?Y:null),Y&&(Y=Y.call(W))){if(W=Y.next(),!W.done){var ve=[];do ve.push(W.value),W=Y.next();while(!W.done);Ll(C,R,ve)}return}throw C=Object.prototype.toString.call(W),Error(e(31,C==="[object Object]"?"object with keys {"+Object.keys(W).join(", ")+"}":C))}typeof W=="string"?(Y=R.blockedSegment,Y.lastPushedText=de(R.blockedSegment.chunks,W,C.responseState,Y.lastPushedText)):typeof W=="number"&&(Y=R.blockedSegment,Y.lastPushedText=de(R.blockedSegment.chunks,""+W,C.responseState,Y.lastPushedText))}function Ll(C,R,W){for(var Y=W.length,ve=0;ve<Y;ve++){var ge=R.treeContext;R.treeContext=wr(ge,Y,ve);try{da(C,R,W[ve])}finally{R.treeContext=ge}}}function da(C,R,W){var Y=R.blockedSegment.formatContext,ve=R.legacyContext,ge=R.context;try{return dn(C,R,W)}catch(Xe){if(lo(),typeof Xe=="object"&&Xe!==null&&typeof Xe.then=="function"){W=Xe;var Te=R.blockedSegment,Ie=Ri(C,Te.chunks.length,null,Te.formatContext,Te.lastPushedText,!0);Te.children.push(Ie),Te.lastPushedText=!1,C=ws(C,R.node,R.blockedBoundary,Ie,R.abortSet,R.legacyContext,R.context,R.treeContext).ping,W.then(C,C),R.blockedSegment.formatContext=Y,R.legacyContext=ve,R.context=ge,sr(ge)}else throw R.blockedSegment.formatContext=Y,R.legacyContext=ve,R.context=ge,sr(ge),Xe}}function Gu(C){var R=C.blockedBoundary;C=C.blockedSegment,C.status=3,$l(this,R,C)}function zl(C,R,W){var Y=C.blockedBoundary;C.blockedSegment.status=3,Y===null?(R.allPendingTasks--,R.status!==2&&(R.status=2,R.destination!==null&&R.destination.close())):(Y.pendingTasks--,Y.forceClientRender||(Y.forceClientRender=!0,C=W===void 0?Error(e(432)):W,Y.errorDigest=R.onError(C),Y.parentFlushed&&R.clientRenderedBoundaries.push(Y)),Y.fallbackAbortableTasks.forEach(function(ve){return zl(ve,R,W)}),Y.fallbackAbortableTasks.clear(),R.allPendingTasks--,R.allPendingTasks===0&&(Y=R.onAllReady,Y()))}function ha(C,R){if(R.chunks.length===0&&R.children.length===1&&R.children[0].boundary===null){var W=R.children[0];W.id=R.id,W.parentFlushed=!0,W.status===1&&ha(C,W)}else C.completedSegments.push(R)}function $l(C,R,W){if(R===null){if(W.parentFlushed){if(C.completedRootSegment!==null)throw Error(e(389));C.completedRootSegment=W}C.pendingRootTasks--,C.pendingRootTasks===0&&(C.onShellError=Fi,R=C.onShellReady,R())}else R.pendingTasks--,R.forceClientRender||(R.pendingTasks===0?(W.parentFlushed&&W.status===1&&ha(R,W),R.parentFlushed&&C.completedBoundaries.push(R),R.fallbackAbortableTasks.forEach(Gu,C),R.fallbackAbortableTasks.clear()):W.parentFlushed&&W.status===1&&(ha(R,W),R.completedSegments.length===1&&R.parentFlushed&&C.partialBoundaries.push(R)));C.allPendingTasks--,C.allPendingTasks===0&&(C=C.onAllReady,C())}function jl(C){if(C.status!==2){var R=Ve,W=xs.current;xs.current=Ml;var Y=co;co=C.responseState;try{var ve=C.pingedTasks,ge;for(ge=0;ge<ve.length;ge++){var Te=ve[ge],Ie=C,Xe=Te.blockedSegment;if(Xe.status===0){sr(Te.context);try{dn(Ie,Te,Te.node),Xe.lastPushedText&&Xe.textEmbedded&&Xe.chunks.push(P),Te.abortSet.delete(Te),Xe.status=1,$l(Ie,Te.blockedBoundary,Xe)}catch(jn){if(lo(),typeof jn=="object"&&jn!==null&&typeof jn.then=="function"){var et=Te.ping;jn.then(et,et)}else{Te.abortSet.delete(Te),Xe.status=4;var Ze=Te.blockedBoundary,bt=jn,hn=uo(Ie,bt);if(Ze===null?ua(Ie,bt):(Ze.pendingTasks--,Ze.forceClientRender||(Ze.forceClientRender=!0,Ze.errorDigest=hn,Ze.parentFlushed&&Ie.clientRenderedBoundaries.push(Ze))),Ie.allPendingTasks--,Ie.allPendingTasks===0){var $n=Ie.onAllReady;$n()}}}finally{}}}ve.splice(0,ge),C.destination!==null&&Ss(C,C.destination)}catch(jn){uo(C,jn),ua(C,jn)}finally{co=Y,xs.current=W,W===Ml&&sr(R)}}}function pa(C,R,W){switch(W.parentFlushed=!0,W.status){case 0:var Y=W.id=C.nextSegmentId++;return W.lastPushedText=!1,W.textEmbedded=!1,C=C.responseState,i(R,Ne),i(R,C.placeholderPrefix),C=l(Y.toString(16)),i(R,C),o(R,Ye);case 1:W.status=2;var ve=!0;Y=W.chunks;var ge=0;W=W.children;for(var Te=0;Te<W.length;Te++){for(ve=W[Te];ge<ve.index;ge++)i(R,Y[ge]);ve=ga(C,R,ve)}for(;ge<Y.length-1;ge++)i(R,Y[ge]);return ge<Y.length&&(ve=o(R,Y[ge])),ve;default:throw Error(e(390))}}function ga(C,R,W){var Y=W.boundary;if(Y===null)return pa(C,R,W);if(Y.parentFlushed=!0,Y.forceClientRender)Y=Y.errorDigest,o(R,nt),i(R,Pn),Y&&(i(R,Rr),i(R,l(N(Y))),i(R,Ft)),o(R,wi),pa(C,R,W);else if(0<Y.pendingTasks){Y.rootSegmentID=C.nextSegmentId++,0<Y.completedSegments.length&&C.partialBoundaries.push(Y);var ve=C.responseState,ge=ve.nextSuspenseID++;ve=c(ve.boundaryPrefix+ge.toString(16)),Y=Y.id=ve,Ht(R,C.responseState,Y),pa(C,R,W)}else if(Y.byteSize>C.progressiveChunkSize)Y.rootSegmentID=C.nextSegmentId++,C.completedBoundaries.push(Y),Ht(R,C.responseState,Y.id),pa(C,R,W);else{if(o(R,He),W=Y.completedSegments,W.length!==1)throw Error(e(391));ga(C,R,W[0])}return o(R,Mt)}function Hl(C,R,W){return cn(R,C.responseState,W.formatContext,W.id),ga(C,R,W),tr(R,W.formatContext)}function Vl(C,R,W){for(var Y=W.completedSegments,ve=0;ve<Y.length;ve++)ql(C,R,W,Y[ve]);if(Y.length=0,C=C.responseState,Y=W.id,W=W.rootSegmentID,i(R,C.startInlineScript),C.sentCompleteBoundaryFunction?i(R,un):(C.sentCompleteBoundaryFunction=!0,i(R,Mr)),Y===null)throw Error(e(395));return W=l(W.toString(16)),i(R,Y),i(R,na),i(R,C.segmentPrefix),i(R,W),o(R,ra)}function ql(C,R,W,Y){if(Y.status===2)return!0;var ve=Y.id;if(ve===-1){if((Y.id=W.rootSegmentID)===-1)throw Error(e(392));return Hl(C,R,Y)}return Hl(C,R,Y),C=C.responseState,i(R,C.startInlineScript),C.sentCompleteSegmentFunction?i(R,Ir):(C.sentCompleteSegmentFunction=!0,i(R,Ei)),i(R,C.segmentPrefix),ve=l(ve.toString(16)),i(R,ve),i(R,Br),i(R,C.placeholderPrefix),i(R,ve),o(R,nr)}function Ss(C,R){n=new Uint8Array(512),r=0;try{var W=C.completedRootSegment;if(W!==null&&C.pendingRootTasks===0){ga(C,R,W),C.completedRootSegment=null;var Y=C.responseState.bootstrapChunks;for(W=0;W<Y.length-1;W++)i(R,Y[W]);W<Y.length&&o(R,Y[W])}var ve=C.clientRenderedBoundaries,ge;for(ge=0;ge<ve.length;ge++){var Te=ve[ge];Y=R;var Ie=C.responseState,Xe=Te.id,et=Te.errorDigest,Ze=Te.errorMessage,bt=Te.errorComponentStack;if(i(Y,Ie.startInlineScript),Ie.sentClientRenderFunction?i(Y,Ot):(Ie.sentClientRenderFunction=!0,i(Y,Dr)),Xe===null)throw Error(e(395));i(Y,Xe),i(Y,rr),(et||Ze||bt)&&(i(Y,Nr),i(Y,l(Ln(et||"")))),(Ze||bt)&&(i(Y,Nr),i(Y,l(Ln(Ze||"")))),bt&&(i(Y,Nr),i(Y,l(Ln(bt)))),o(Y,ir)}ve.splice(0,ge);var hn=C.completedBoundaries;for(ge=0;ge<hn.length;ge++)Vl(C,R,hn[ge]);hn.splice(0,ge),a(R),n=new Uint8Array(512),r=0;var $n=C.partialBoundaries;for(ge=0;ge<$n.length;ge++){var jn=$n[ge];e:{ve=C,Te=R;var ma=jn.completedSegments;for(Ie=0;Ie<ma.length;Ie++)if(!ql(ve,Te,jn,ma[Ie])){Ie++,ma.splice(0,Ie);var Gl=!1;break e}ma.splice(0,Ie),Gl=!0}if(!Gl){C.destination=null,ge++,$n.splice(0,ge);return}}$n.splice(0,ge);var fo=C.completedBoundaries;for(ge=0;ge<fo.length;ge++)Vl(C,R,fo[ge]);fo.splice(0,ge)}finally{a(R),C.allPendingTasks===0&&C.pingedTasks.length===0&&C.clientRenderedBoundaries.length===0&&C.completedBoundaries.length===0&&R.close()}}function Xl(C,R){try{var W=C.abortableTasks;W.forEach(function(Y){return zl(Y,C,R)}),W.clear(),C.destination!==null&&Ss(C,C.destination)}catch(Y){uo(C,Y),ua(C,Y)}}return xp.renderToReadableStream=function(C,R){return new Promise(function(W,Y){var ve,ge,Te=new Promise(function(Ze,bt){ge=Ze,ve=bt}),Ie=Ds(C,J(R?R.identifierPrefix:void 0,R?R.nonce:void 0,R?R.bootstrapScriptContent:void 0,R?R.bootstrapScripts:void 0,R?R.bootstrapModules:void 0),ie(R?R.namespaceURI:void 0),R?R.progressiveChunkSize:void 0,R?R.onError:void 0,ge,function(){var Ze=new ReadableStream({type:"bytes",pull:function(bt){if(Ie.status===1)Ie.status=2,f(bt,Ie.fatalError);else if(Ie.status!==2&&Ie.destination===null){Ie.destination=bt;try{Ss(Ie,bt)}catch(hn){uo(Ie,hn),ua(Ie,hn)}}},cancel:function(){Xl(Ie)}},{highWaterMark:0});Ze.allReady=Te,W(Ze)},function(Ze){Te.catch(function(){}),Y(Ze)},ve);if(R&&R.signal){var Xe=R.signal,et=function(){Xl(Ie,Xe.reason),Xe.removeEventListener("abort",et)};Xe.addEventListener("abort",et)}jl(Ie)})},xp.version="18.3.1",xp}var Ks={};/**
|
|
274
|
+
* @license React
|
|
275
|
+
* react-dom-server-legacy.browser.development.js
|
|
276
|
+
*
|
|
277
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
278
|
+
*
|
|
279
|
+
* This source code is licensed under the MIT license found in the
|
|
280
|
+
* LICENSE file in the root directory of this source tree.
|
|
281
|
+
*/var d_;function MJ(){return d_||(d_=1,process.env.NODE_ENV!=="production"&&function(){var t=Dl,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(u){{for(var h=arguments.length,m=new Array(h>1?h-1:0),w=1;w<h;w++)m[w-1]=arguments[w];o("warn",u,m)}}function i(u){{for(var h=arguments.length,m=new Array(h>1?h-1:0),w=1;w<h;w++)m[w-1]=arguments[w];o("error",u,m)}}function o(u,h,m){{var w=n.ReactDebugCurrentFrame,_=w.getStackAddendum();_!==""&&(h+="%s",m=m.concat([_]));var B=m.map(function(L){return String(L)});B.unshift("Warning: "+h),Function.prototype.apply.call(console[u],console,B)}}function a(u){u()}function s(u){}function l(u,h){c(u,h)}function c(u,h){return u.push(h)}function f(u){}function d(u){u.push(null)}function p(u){return u}function g(u){return u}function b(u,h){u.destroy(h)}function x(u){{var h=typeof Symbol=="function"&&Symbol.toStringTag,m=h&&u[Symbol.toStringTag]||u.constructor.name||"Object";return m}}function v(u){try{return D(u),!1}catch{return!0}}function D(u){return""+u}function S(u,h){if(v(u))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",h,x(u)),D(u)}function E(u,h){if(v(u))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",h,x(u)),D(u)}function O(u){if(v(u))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",x(u)),D(u)}var U=Object.prototype.hasOwnProperty,M=0,N=1,q=2,j=3,ae=4,ce=5,F=6,Z=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",k=Z+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",re=new RegExp("^["+Z+"]["+k+"]*$"),$={},G={};function J(u){return U.call(G,u)?!0:U.call($,u)?!1:re.test(u)?(G[u]=!0,!0):($[u]=!0,i("Invalid attribute name: `%s`",u),!1)}function X(u,h,m,w){if(m!==null&&m.type===M)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":{if(m!==null)return!m.acceptsBooleans;var _=u.toLowerCase().slice(0,5);return _!=="data-"&&_!=="aria-"}default:return!1}}function ie(u){return P.hasOwnProperty(u)?P[u]:null}function H(u,h,m,w,_,B,L){this.acceptsBooleans=h===q||h===j||h===ae,this.attributeName=w,this.attributeNamespace=_,this.mustUseProperty=m,this.propertyName=u,this.type=h,this.sanitizeURL=B,this.removeEmptyString=L}var P={},de=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];de.forEach(function(u){P[u]=new H(u,M,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var h=u[0],m=u[1];P[h]=new H(h,N,!1,m,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){P[u]=new H(u,q,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){P[u]=new H(u,q,!1,u,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(u){P[u]=new H(u,j,!1,u.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(u){P[u]=new H(u,j,!0,u,null,!1,!1)}),["capture","download"].forEach(function(u){P[u]=new H(u,ae,!1,u,null,!1,!1)}),["cols","rows","size","span"].forEach(function(u){P[u]=new H(u,F,!1,u,null,!1,!1)}),["rowSpan","start"].forEach(function(u){P[u]=new H(u,ce,!1,u.toLowerCase(),null,!1,!1)});var De=/[\-\:]([a-z])/g,me=function(u){return u[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(u){var h=u.replace(De,me);P[h]=new H(h,N,!1,u,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(u){var h=u.replace(De,me);P[h]=new H(h,N,!1,u,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(u){var h=u.replace(De,me);P[h]=new H(h,N,!1,u,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(u){P[u]=new H(u,N,!1,u.toLowerCase(),null,!1,!1)});var _e="xlinkHref";P[_e]=new H("xlinkHref",N,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(u){P[u]=new H(u,N,!1,u.toLowerCase(),null,!0,!0)});var $e={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Le(u,h){return u+h.charAt(0).toUpperCase()+h.substring(1)}var ze=["Webkit","ms","Moz","O"];Object.keys($e).forEach(function(u){ze.forEach(function(h){$e[Le(h,u)]=$e[u]})});var tt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function oe(u,h){tt[h.type]||h.onChange||h.onInput||h.readOnly||h.disabled||h.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),h.onChange||h.readOnly||h.disabled||h.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ee(u,h){if(u.indexOf("-")===-1)return typeof h.is=="string";switch(u){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Re={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},A={},ye=new RegExp("^(aria)-["+k+"]*$"),fe=new RegExp("^(aria)[A-Z]["+k+"]*$");function Q(u,h){{if(U.call(A,h)&&A[h])return!0;if(fe.test(h)){var m="aria-"+h.slice(4).toLowerCase(),w=Re.hasOwnProperty(m)?m:null;if(w==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",h),A[h]=!0,!0;if(h!==w)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",h,w),A[h]=!0,!0}if(ye.test(h)){var _=h.toLowerCase(),B=Re.hasOwnProperty(_)?_:null;if(B==null)return A[h]=!0,!1;if(h!==B)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",h,B),A[h]=!0,!0}}return!0}function V(u,h){{var m=[];for(var w in h){var _=Q(u,w);_||m.push(w)}var B=m.map(function(L){return"`"+L+"`"}).join(", ");m.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,u):m.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",B,u)}}function se(u,h){Ee(u,h)||V(u,h)}var Se=!1;function ke(u,h){{if(u!=="input"&&u!=="textarea"&&u!=="select")return;h!=null&&h.value===null&&!Se&&(Se=!0,u==="select"&&h.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",u):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",u))}}var le={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},ee=function(){};{var ne={},ue=/^on./,xe=/^on[^A-Z]/,Me=new RegExp("^(aria)-["+k+"]*$"),Ne=new RegExp("^(aria)[A-Z]["+k+"]*$");ee=function(u,h,m,w){if(U.call(ne,h)&&ne[h])return!0;var _=h.toLowerCase();if(_==="onfocusin"||_==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ne[h]=!0,!0;if(w!=null){var B=w.registrationNameDependencies,L=w.possibleRegistrationNames;if(B.hasOwnProperty(h))return!0;var te=L.hasOwnProperty(_)?L[_]:null;if(te!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",h,te),ne[h]=!0,!0;if(ue.test(h))return i("Unknown event handler property `%s`. It will be ignored.",h),ne[h]=!0,!0}else if(ue.test(h))return xe.test(h)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",h),ne[h]=!0,!0;if(Me.test(h)||Ne.test(h))return!0;if(_==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ne[h]=!0,!0;if(_==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ne[h]=!0,!0;if(_==="is"&&m!==null&&m!==void 0&&typeof m!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof m),ne[h]=!0,!0;if(typeof m=="number"&&isNaN(m))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",h),ne[h]=!0,!0;var pe=ie(h),Ce=pe!==null&&pe.type===M;if(le.hasOwnProperty(_)){var Fe=le[_];if(Fe!==h)return i("Invalid DOM property `%s`. Did you mean `%s`?",h,Fe),ne[h]=!0,!0}else if(!Ce&&h!==_)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",h,_),ne[h]=!0,!0;return typeof m=="boolean"&&X(h,m,pe)?(m?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',m,h,h,m,h):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',m,h,h,m,h,h,h),ne[h]=!0,!0):Ce?!0:X(h,m,pe)?(ne[h]=!0,!1):((m==="false"||m==="true")&&pe!==null&&pe.type===j&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",m,h,m==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',h,m),ne[h]=!0),!0)}}var Ye=function(u,h,m){{var w=[];for(var _ in h){var B=ee(u,_,h[_],m);B||w.push(_)}var L=w.map(function(te){return"`"+te+"`"}).join(", ");w.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,u):w.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",L,u)}};function He(u,h,m){Ee(u,h)||Ye(u,h,m)}var Ke=function(){};{var lt=/^(?:webkit|moz|o)[A-Z]/,nt=/^-ms-/,Mt=/-(.)/g,Pn=/;\s*$/,Ft={},Rr={},wi=!1,Ht=!1,wn=function(u){return u.replace(Mt,function(h,m){return m.toUpperCase()})},Wn=function(u){Ft.hasOwnProperty(u)&&Ft[u]||(Ft[u]=!0,i("Unsupported style property %s. Did you mean %s?",u,wn(u.replace(nt,"ms-"))))},at=function(u){Ft.hasOwnProperty(u)&&Ft[u]||(Ft[u]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",u,u.charAt(0).toUpperCase()+u.slice(1)))},ln=function(u,h){Rr.hasOwnProperty(h)&&Rr[h]||(Rr[h]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,u,h.replace(Pn,"")))},Si=function(u,h){wi||(wi=!0,i("`NaN` is an invalid value for the `%s` css style property.",u))},ti=function(u,h){Ht||(Ht=!0,i("`Infinity` is an invalid value for the `%s` css style property.",u))};Ke=function(u,h){u.indexOf("-")>-1?Wn(u):lt.test(u)?at(u):Pn.test(h)&&ln(u,h),typeof h=="number"&&(isNaN(h)?Si(u,h):isFinite(h)||ti(u,h))}}var Qn=Ke,Ti=/["'&<>]/;function xr(u){O(u);var h=""+u,m=Ti.exec(h);if(!m)return h;var w,_="",B,L=0;for(B=m.index;B<h.length;B++){switch(h.charCodeAt(B)){case 34:w=""";break;case 38:w="&";break;case 39:w="'";break;case 60:w="<";break;case 62:w=">";break;default:continue}L!==B&&(_+=h.substring(L,B)),L=B+1,_+=w}return L!==B?_+h.substring(L,B):_}function Nt(u){return typeof u=="boolean"||typeof u=="number"?""+u:xr(u)}var io=/([A-Z])/g,oo=/^ms-/;function ta(u){return u.replace(io,"-$1").toLowerCase().replace(oo,"-ms-")}var Rt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,ao=!1;function ms(u){!ao&&Rt.test(u)&&(ao=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(u)))}var ys=Array.isArray;function er(u){return ys(u)}var so="<script>";function Ci(u,h,m,w,_){var B=u===void 0?"":u,L=so,te=[];return{bootstrapChunks:te,startInlineScript:L,placeholderPrefix:B+"P:",segmentPrefix:B+"S:",boundaryPrefix:B+"B:",idPrefix:B,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Or=0,cn=1,tr=2,Ei=3,Ir=4,Br=5,nr=6,Mr=7;function un(u,h){return{insertionMode:u,selectedValue:h}}function na(u,h,m){switch(h){case"select":return un(cn,m.value!=null?m.value:m.defaultValue);case"svg":return un(tr,null);case"math":return un(Ei,null);case"foreignObject":return un(cn,null);case"table":return un(Ir,null);case"thead":case"tbody":case"tfoot":return un(Br,null);case"colgroup":return un(Mr,null);case"tr":return un(nr,null)}return u.insertionMode>=Ir||u.insertionMode===Or?un(cn,null):u}var ra=null;function Dr(u){var h=u.nextSuspenseID++;return u.boundaryPrefix+h.toString(16)}function Ot(u,h,m){var w=u.idPrefix,_=":"+w+"R"+h;return m>0&&(_+="H"+m.toString(32)),_+":"}function rr(u){return Nt(u)}var ir="<!-- -->";function Nr(u,h,m,w){return h===""?w:(w&&u.push(ir),u.push(rr(h)),!0)}function _i(u,h,m,w){m&&w&&u.push(ir)}var Ln=new Map;function or(u){var h=Ln.get(u);if(h!==void 0)return h;var m=Nt(ta(u));return Ln.set(u,m),m}var Gt=' style="',Pr=":",ni=";";function ki(u,h,m){if(typeof m!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var w=!0;for(var _ in m)if(U.call(m,_)){var B=m[_];if(!(B==null||typeof B=="boolean"||B==="")){var L=void 0,te=void 0,pe=_.indexOf("--")===0;pe?(L=Nt(_),E(B,_),te=Nt((""+B).trim())):(Qn(_,B),L=or(_),typeof B=="number"?B!==0&&!U.call($e,_)?te=B+"px":te=""+B:(E(B,_),te=Nt((""+B).trim()))),w?(w=!1,u.push(Gt,L,Pr,te)):u.push(ni,L,Pr,te)}}w||u.push(Jt)}var Sn=" ",ar='="',Jt='"',Ai='=""';function zt(u,h,m,w){switch(m){case"style":{ki(u,h,w);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(m.length>2&&(m[0]==="o"||m[0]==="O")&&(m[1]==="n"||m[1]==="N"))){var _=ie(m);if(_!==null){switch(typeof w){case"function":case"symbol":return;case"boolean":if(!_.acceptsBooleans)return}var B=_.attributeName,L=B;switch(_.type){case j:w&&u.push(Sn,L,Ai);return;case ae:w===!0?u.push(Sn,L,Ai):w===!1||u.push(Sn,L,ar,Nt(w),Jt);return;case ce:isNaN(w)||u.push(Sn,L,ar,Nt(w),Jt);break;case F:!isNaN(w)&&w>=1&&u.push(Sn,L,ar,Nt(w),Jt);break;default:_.sanitizeURL&&(S(w,B),w=""+w,ms(w)),u.push(Sn,L,ar,Nt(w),Jt)}}else if(J(m)){switch(typeof w){case"function":case"symbol":return;case"boolean":{var te=m.toLowerCase().slice(0,5);if(te!=="data-"&&te!=="aria-")return}}u.push(Sn,m,ar,Nt(w),Jt)}}}var fn=">",T="/>";function I(u,h,m){if(h!=null){if(m!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof h!="object"||!("__html"in h))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var w=h.__html;w!=null&&(O(w),u.push(""+w))}}var z=!1,K=!1,be=!1,he=!1,we=!1,Oe=!1,je=!1;function qe(u,h){{var m=u[h];if(m!=null){var w=er(m);u.multiple&&!w?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",h):!u.multiple&&w&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",h)}}}function Ve(u,h,m){oe("select",h),qe(h,"value"),qe(h,"defaultValue"),h.value!==void 0&&h.defaultValue!==void 0&&!be&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),be=!0),u.push(lr("select"));var w=null,_=null;for(var B in h)if(U.call(h,B)){var L=h[B];if(L==null)continue;switch(B){case"children":w=L;break;case"dangerouslySetInnerHTML":_=L;break;case"defaultValue":case"value":break;default:zt(u,m,B,L);break}}return u.push(fn),I(u,_,w),w}function ut(u){var h="";return t.Children.forEach(u,function(m){m!=null&&(h+=m,!we&&typeof m!="string"&&typeof m!="number"&&(we=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),h}var Yt=' selected=""';function Zt(u,h,m,w){var _=w.selectedValue;u.push(lr("option"));var B=null,L=null,te=null,pe=null;for(var Ce in h)if(U.call(h,Ce)){var Fe=h[Ce];if(Fe==null)continue;switch(Ce){case"children":B=Fe;break;case"selected":te=Fe,je||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),je=!0);break;case"dangerouslySetInnerHTML":pe=Fe;break;case"value":L=Fe;default:zt(u,m,Ce,Fe);break}}if(_!=null){var Pe;if(L!==null?(S(L,"value"),Pe=""+L):(pe!==null&&(Oe||(Oe=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Pe=ut(B)),er(_))for(var Je=0;Je<_.length;Je++){S(_[Je],"value");var pt=""+_[Je];if(pt===Pe){u.push(Yt);break}}else S(_,"select.value"),""+_===Pe&&u.push(Yt)}else te&&u.push(Yt);return u.push(fn),I(u,pe,B),B}function Kt(u,h,m){oe("input",h),h.checked!==void 0&&h.defaultChecked!==void 0&&!K&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),K=!0),h.value!==void 0&&h.defaultValue!==void 0&&!z&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",h.type),z=!0),u.push(lr("input"));var w=null,_=null,B=null,L=null;for(var te in h)if(U.call(h,te)){var pe=h[te];if(pe==null)continue;switch(te){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":L=pe;break;case"defaultValue":_=pe;break;case"checked":B=pe;break;case"value":w=pe;break;default:zt(u,m,te,pe);break}}return B!==null?zt(u,m,"checked",B):L!==null&&zt(u,m,"checked",L),w!==null?zt(u,m,"value",w):_!==null&&zt(u,m,"value",_),u.push(T),null}function Wr(u,h,m){oe("textarea",h),h.value!==void 0&&h.defaultValue!==void 0&&!he&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),he=!0),u.push(lr("textarea"));var w=null,_=null,B=null;for(var L in h)if(U.call(h,L)){var te=h[L];if(te==null)continue;switch(L){case"children":B=te;break;case"value":w=te;break;case"defaultValue":_=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:zt(u,m,L,te);break}}if(w===null&&_!==null&&(w=_),u.push(fn),B!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),w!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(er(B)){if(B.length>1)throw new Error("<textarea> can only have at most one child.");O(B[0]),w=""+B[0]}O(B),w=""+B}return typeof w=="string"&&w[0]===`
|
|
282
|
+
`&&u.push(ii),w!==null&&(S(w,"value"),u.push(rr(""+w))),null}function sr(u,h,m,w){u.push(lr(m));for(var _ in h)if(U.call(h,_)){var B=h[_];if(B==null)continue;switch(_){case"children":case"dangerouslySetInnerHTML":throw new Error(m+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:zt(u,w,_,B);break}}return u.push(T),null}function Ui(u,h,m){u.push(lr("menuitem"));for(var w in h)if(U.call(h,w)){var _=h[w];if(_==null)continue;switch(w){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:zt(u,m,w,_);break}}return u.push(fn),null}function Lr(u,h,m){u.push(lr("title"));var w=null;for(var _ in h)if(U.call(h,_)){var B=h[_];if(B==null)continue;switch(_){case"children":w=B;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:zt(u,m,_,B);break}}u.push(fn);{var L=Array.isArray(w)&&w.length<2?w[0]||null:w;Array.isArray(w)&&w.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&L.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):L!=null&&typeof L!="string"&&typeof L!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return w}function ri(u,h,m,w){u.push(lr(m));var _=null,B=null;for(var L in h)if(U.call(h,L)){var te=h[L];if(te==null)continue;switch(L){case"children":_=te;break;case"dangerouslySetInnerHTML":B=te;break;default:zt(u,w,L,te);break}}return u.push(fn),I(u,B,_),typeof _=="string"?(u.push(rr(_)),null):_}function wr(u,h,m,w){u.push(lr(m));var _=null,B=null;for(var L in h)if(U.call(h,L)){var te=h[L];if(te==null)continue;switch(L){case"children":_=te;break;case"dangerouslySetInnerHTML":B=te;break;case"style":ki(u,w,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:J(L)&&typeof te!="function"&&typeof te!="symbol"&&u.push(Sn,L,ar,Nt(te),Jt);break}}return u.push(fn),I(u,B,_),_}var ii=`
|
|
283
|
+
`;function $u(u,h,m,w){u.push(lr(m));var _=null,B=null;for(var L in h)if(U.call(h,L)){var te=h[L];if(te==null)continue;switch(L){case"children":_=te;break;case"dangerouslySetInnerHTML":B=te;break;default:zt(u,w,L,te);break}}if(u.push(fn),B!=null){if(_!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof B!="object"||!("__html"in B))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var pe=B.__html;pe!=null&&(typeof pe=="string"&&pe.length>0&&pe[0]===`
|
|
284
|
+
`?u.push(ii,pe):(O(pe),u.push(""+pe)))}return typeof _=="string"&&_[0]===`
|
|
285
|
+
`&&u.push(ii),_}var ju=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ia=new Map;function lr(u){var h=ia.get(u);if(h===void 0){if(!ju.test(u))throw new Error("Invalid tag: "+u);h="<"+u,ia.set(u,h)}return h}var Hu="<!DOCTYPE html>";function Sr(u,h,m,w,_){switch(se(h,m),ke(h,m),He(h,m,null),!m.suppressContentEditableWarning&&m.contentEditable&&m.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),_.insertionMode!==tr&&_.insertionMode!==Ei&&h.indexOf("-")===-1&&typeof m.is!="string"&&h.toLowerCase()!==h&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",h),h){case"select":return Ve(u,m,w);case"option":return Zt(u,m,w,_);case"textarea":return Wr(u,m,w);case"input":return Kt(u,m,w);case"menuitem":return Ui(u,m,w);case"title":return Lr(u,m,w);case"listing":case"pre":return $u(u,m,h,w);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return sr(u,m,h,w);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ri(u,m,h,w);case"html":return _.insertionMode===Or&&u.push(Hu),ri(u,m,h,w);default:return h.indexOf("-")===-1&&typeof m.is!="string"?ri(u,m,h,w):wr(u,m,h,w)}}var bs="</",oa=">";function gt(u,h,m){switch(h){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:u.push(bs,h,oa)}}function oi(u,h){for(var m=h.bootstrapChunks,w=0;w<m.length-1;w++)l(u,m[w]);return w<m.length?c(u,m[w]):!0}var aa='<template id="',ai='"></template>';function zr(u,h,m){l(u,aa),l(u,h.placeholderPrefix);var w=m.toString(16);return l(u,w),c(u,ai)}var sa="<!--$-->",$r='<!--$?--><template id="',zn='"></template>',vs="<!--$!-->",lo="<!--/$-->",Il="<template",la='"',Bl=' data-dgst="',Vu=' data-msg="',qu=' data-stck="',ca="></template>";function Ml(u,h){return c(u,sa)}function co(u,h,m){if(l(u,$r),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return l(u,m),c(u,zn)}function xs(u,h,m,w,_){var B;return B=c(u,vs),l(u,Il),m&&(l(u,Bl),l(u,Nt(m)),l(u,la)),w&&(l(u,Vu),l(u,Nt(w)),l(u,la)),_&&(l(u,qu),l(u,Nt(_)),l(u,la)),B=c(u,ca),B}function Xu(u,h){return c(u,lo)}function Fi(u,h){return c(u,lo)}function Ds(u,h){return c(u,lo)}var ws='<div hidden id="',Ri='">',uo="</div>",ua='<svg aria-hidden="true" style="display:none" id="',Nl='">',Pl="</svg>",Wl='<math aria-hidden="true" style="display:none" id="',fa='">',dn="</math>",Ll='<table hidden id="',da='">',Gu="</table>",zl='<table hidden><tbody id="',ha='">',$l="</tbody></table>",jl='<table hidden><tr id="',pa='">',ga="</tr></table>",Hl='<table hidden><colgroup id="',Vl='">',ql="</colgroup></table>";function Ss(u,h,m,w){switch(m.insertionMode){case Or:case cn:return l(u,ws),l(u,h.segmentPrefix),l(u,w.toString(16)),c(u,Ri);case tr:return l(u,ua),l(u,h.segmentPrefix),l(u,w.toString(16)),c(u,Nl);case Ei:return l(u,Wl),l(u,h.segmentPrefix),l(u,w.toString(16)),c(u,fa);case Ir:return l(u,Ll),l(u,h.segmentPrefix),l(u,w.toString(16)),c(u,da);case Br:return l(u,zl),l(u,h.segmentPrefix),l(u,w.toString(16)),c(u,ha);case nr:return l(u,jl),l(u,h.segmentPrefix),l(u,w.toString(16)),c(u,pa);case Mr:return l(u,Hl),l(u,h.segmentPrefix),l(u,w.toString(16)),c(u,Vl);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Xl(u,h){switch(h.insertionMode){case Or:case cn:return c(u,uo);case tr:return c(u,Pl);case Ei:return c(u,dn);case Ir:return c(u,Gu);case Br:return c(u,$l);case nr:return c(u,ga);case Mr:return c(u,ql);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var C="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",R='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',W='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Y=C+';$RS("',ve='$RS("',ge='","',Te='")<\/script>';function Ie(u,h,m){l(u,h.startInlineScript),h.sentCompleteSegmentFunction?l(u,ve):(h.sentCompleteSegmentFunction=!0,l(u,Y)),l(u,h.segmentPrefix);var w=m.toString(16);return l(u,w),l(u,ge),l(u,h.placeholderPrefix),l(u,w),c(u,Te)}var Xe=R+';$RC("',et='$RC("',Ze='","',bt='")<\/script>';function hn(u,h,m,w){if(l(u,h.startInlineScript),h.sentCompleteBoundaryFunction?l(u,et):(h.sentCompleteBoundaryFunction=!0,l(u,Xe)),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var _=w.toString(16);return l(u,m),l(u,Ze),l(u,h.segmentPrefix),l(u,_),c(u,bt)}var $n=W+';$RX("',jn='$RX("',ma='"',Gl=")<\/script>",fo=",";function Ey(u,h,m,w,_,B){if(l(u,h.startInlineScript),h.sentClientRenderFunction?l(u,jn):(h.sentClientRenderFunction=!0,l(u,$n)),m===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return l(u,m),l(u,ma),(w||_||B)&&(l(u,fo),l(u,Ju(w||""))),(_||B)&&(l(u,fo),l(u,Ju(_||""))),B&&(l(u,fo),l(u,Ju(B))),c(u,Gl)}var _y=/[<\u2028\u2029]/g;function Ju(u){var h=JSON.stringify(u);return h.replace(_y,function(m){switch(m){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ky(u,h){var m=Ci(h);return{bootstrapChunks:m.bootstrapChunks,startInlineScript:m.startInlineScript,placeholderPrefix:m.placeholderPrefix,segmentPrefix:m.segmentPrefix,boundaryPrefix:m.boundaryPrefix,idPrefix:m.idPrefix,nextSuspenseID:m.nextSuspenseID,sentCompleteSegmentFunction:m.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:m.sentCompleteBoundaryFunction,sentClientRenderFunction:m.sentClientRenderFunction,generateStaticMarkup:u}}function Ay(){return{insertionMode:cn,selectedValue:null}}function hh(u,h,m,w){return m.generateStaticMarkup?(u.push(Nt(h)),!1):Nr(u,h,m,w)}function ph(u,h,m,w){if(!h.generateStaticMarkup)return _i(u,h,m,w)}function Uy(u,h){return h.generateStaticMarkup?!0:Ml(u)}function Fy(u,h,m,w,_){return h.generateStaticMarkup?!0:xs(u,h,m,w,_)}function Ry(u,h){return h.generateStaticMarkup?!0:Xu(u)}function Oy(u,h){return h.generateStaticMarkup?!0:Ds(u)}var Tn=Object.assign,Iy=Symbol.for("react.element"),gh=Symbol.for("react.portal"),Jl=Symbol.for("react.fragment"),Hn=Symbol.for("react.strict_mode"),mh=Symbol.for("react.profiler"),Yl=Symbol.for("react.provider"),Zl=Symbol.for("react.context"),Kl=Symbol.for("react.forward_ref"),Ql=Symbol.for("react.suspense"),Ts=Symbol.for("react.suspense_list"),Cs=Symbol.for("react.memo"),ya=Symbol.for("react.lazy"),Yu=Symbol.for("react.scope"),Zu=Symbol.for("react.debug_trace_mode"),Ku=Symbol.for("react.legacy_hidden"),ec=Symbol.for("react.default_value"),yh=Symbol.iterator,By="@@iterator";function My(u){if(u===null||typeof u!="object")return null;var h=yh&&u[yh]||u[By];return typeof h=="function"?h:null}function Ny(u,h,m){var w=u.displayName;if(w)return w;var _=h.displayName||h.name||"";return _!==""?m+"("+_+")":m}function Qu(u){return u.displayName||"Context"}function St(u){if(u==null)return null;if(typeof u.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case Jl:return"Fragment";case gh:return"Portal";case mh:return"Profiler";case Hn:return"StrictMode";case Ql:return"Suspense";case Ts:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case Zl:var h=u;return Qu(h)+".Consumer";case Yl:var m=u;return Qu(m._context)+".Provider";case Kl:return Ny(u,u.render,"ForwardRef");case Cs:var w=u.displayName||null;return w!==null?w:St(u.type)||"Memo";case ya:{var _=u,B=_._payload,L=_._init;try{return St(L(B))}catch{return null}}}return null}var Es=0,bh,ef,Dt,ba,tf,nf,rf;function of(){}of.__reactDisabledLog=!0;function vh(){{if(Es===0){bh=console.log,ef=console.info,Dt=console.warn,ba=console.error,tf=console.group,nf=console.groupCollapsed,rf=console.groupEnd;var u={configurable:!0,enumerable:!0,value:of,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}Es++}}function xh(){{if(Es--,Es===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Tn({},u,{value:bh}),info:Tn({},u,{value:ef}),warn:Tn({},u,{value:Dt}),error:Tn({},u,{value:ba}),group:Tn({},u,{value:tf}),groupCollapsed:Tn({},u,{value:nf}),groupEnd:Tn({},u,{value:rf})})}Es<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var tc=n.ReactCurrentDispatcher,nc;function _s(u,h,m){{if(nc===void 0)try{throw Error()}catch(_){var w=_.stack.trim().match(/\n( *(at )?)/);nc=w&&w[1]||""}return`
|
|
286
|
+
`+nc+u}}var af=!1,va;{var sf=typeof WeakMap=="function"?WeakMap:Map;va=new sf}function ho(u,h){if(!u||af)return"";{var m=va.get(u);if(m!==void 0)return m}var w;af=!0;var _=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var B;B=tc.current,tc.current=null,vh();try{if(h){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(qt){w=qt}Reflect.construct(u,[],L)}else{try{L.call()}catch(qt){w=qt}u.call(L.prototype)}}else{try{throw Error()}catch(qt){w=qt}u()}}catch(qt){if(qt&&w&&typeof qt.stack=="string"){for(var te=qt.stack.split(`
|
|
287
|
+
`),pe=w.stack.split(`
|
|
288
|
+
`),Ce=te.length-1,Fe=pe.length-1;Ce>=1&&Fe>=0&&te[Ce]!==pe[Fe];)Fe--;for(;Ce>=1&&Fe>=0;Ce--,Fe--)if(te[Ce]!==pe[Fe]){if(Ce!==1||Fe!==1)do if(Ce--,Fe--,Fe<0||te[Ce]!==pe[Fe]){var Pe=`
|
|
289
|
+
`+te[Ce].replace(" at new "," at ");return u.displayName&&Pe.includes("<anonymous>")&&(Pe=Pe.replace("<anonymous>",u.displayName)),typeof u=="function"&&va.set(u,Pe),Pe}while(Ce>=1&&Fe>=0);break}}}finally{af=!1,tc.current=B,xh(),Error.prepareStackTrace=_}var Je=u?u.displayName||u.name:"",pt=Je?_s(Je):"";return typeof u=="function"&&va.set(u,pt),pt}function lf(u,h,m){return ho(u,!0)}function ks(u,h,m){return ho(u,!1)}function Py(u){var h=u.prototype;return!!(h&&h.isReactComponent)}function As(u,h,m){if(u==null)return"";if(typeof u=="function")return ho(u,Py(u));if(typeof u=="string")return _s(u);switch(u){case Ql:return _s("Suspense");case Ts:return _s("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case Kl:return ks(u.render);case Cs:return As(u.type,h,m);case ya:{var w=u,_=w._payload,B=w._init;try{return As(B(_),h,m)}catch{}}}return""}var Dh={},cf=n.ReactDebugCurrentFrame;function rc(u){if(u){var h=u._owner,m=As(u.type,u._source,h?h.type:null);cf.setExtraStackFrame(m)}else cf.setExtraStackFrame(null)}function ic(u,h,m,w,_){{var B=Function.call.bind(U);for(var L in u)if(B(u,L)){var te=void 0;try{if(typeof u[L]!="function"){var pe=Error((w||"React class")+": "+m+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw pe.name="Invariant Violation",pe}te=u[L](h,L,w,m,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ce){te=Ce}te&&!(te instanceof Error)&&(rc(_),i("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",w||"React class",m,L,typeof te),rc(null)),te instanceof Error&&!(te.message in Dh)&&(Dh[te.message]=!0,rc(_),i("Failed %s type: %s",m,te.message),rc(null))}}}var oc;oc={};var Us={};Object.freeze(Us);function Fs(u,h){{var m=u.contextTypes;if(!m)return Us;var w={};for(var _ in m)w[_]=h[_];{var B=St(u)||"Unknown";ic(m,w,"context",B)}return w}}function wh(u,h,m,w){{if(typeof u.getChildContext!="function"){{var _=St(h)||"Unknown";oc[_]||(oc[_]=!0,i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",_,_))}return m}var B=u.getChildContext();for(var L in B)if(!(L in w))throw new Error((St(h)||"Unknown")+'.getChildContext(): key "'+L+'" is not defined in childContextTypes.');{var te=St(h)||"Unknown";ic(w,B,"child context",te)}return Tn({},m,B)}}var po;po={};var ac=null,Oi=null;function uf(u){u.context._currentValue2=u.parentValue}function go(u){u.context._currentValue2=u.value}function sc(u,h){if(u!==h){uf(u);var m=u.parent,w=h.parent;if(m===null){if(w!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(w===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");sc(m,w)}go(h)}}function Ii(u){uf(u);var h=u.parent;h!==null&&Ii(h)}function lc(u){var h=u.parent;h!==null&&lc(h),go(u)}function cc(u,h){uf(u);var m=u.parent;if(m===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");m.depth===h.depth?sc(m,h):cc(m,h)}function Rs(u,h){var m=h.parent;if(m===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");u.depth===m.depth?sc(u,m):Rs(u,m),go(h)}function Os(u){var h=Oi,m=u;h!==m&&(h===null?lc(m):m===null?Ii(h):h.depth===m.depth?sc(h,m):h.depth>m.depth?cc(h,m):Rs(h,m),Oi=m)}function Sh(u,h){var m;m=u._currentValue2,u._currentValue2=h,u._currentRenderer2!==void 0&&u._currentRenderer2!==null&&u._currentRenderer2!==po&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer2=po;var w=Oi,_={parent:w,depth:w===null?0:w.depth+1,context:u,parentValue:m,value:h};return Oi=_,_}function Th(u){var h=Oi;if(h===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");h.context!==u&&i("The parent context is not the expected context. This is probably a bug in React.");{var m=h.parentValue;m===ec?h.context._currentValue2=h.context._defaultValue:h.context._currentValue2=m,u._currentRenderer2!==void 0&&u._currentRenderer2!==null&&u._currentRenderer2!==po&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer2=po}return Oi=h.parent}function Ch(){return Oi}function Bi(u){var h=u._currentValue2;return h}function ff(u){return u._reactInternals}function Wy(u,h){u._reactInternals=h}var Eh={},xa={},Is,df,uc,fc,dc,Da,Bs,Ms,hc;{Is=new Set,df=new Set,uc=new Set,Bs=new Set,fc=new Set,Ms=new Set,hc=new Set;var Ns=new Set;Da=function(u,h){if(!(u===null||typeof u=="function")){var m=h+"_"+u;Ns.has(m)||(Ns.add(m),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",h,u))}},dc=function(u,h){if(h===void 0){var m=St(u)||"Component";fc.has(m)||(fc.add(m),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",m))}}}function pc(u,h){{var m=u.constructor,w=m&&St(m)||"ReactClass",_=w+"."+h;if(Eh[_])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
290
|
+
|
|
291
|
+
Please check the code for the %s component.`,h,h,w),Eh[_]=!0}}var gc={isMounted:function(u){return!1},enqueueSetState:function(u,h,m){var w=ff(u);w.queue===null?pc(u,"setState"):(w.queue.push(h),m!=null&&Da(m,"setState"))},enqueueReplaceState:function(u,h,m){var w=ff(u);w.replace=!0,w.queue=[h],m!=null&&Da(m,"setState")},enqueueForceUpdate:function(u,h){var m=ff(u);m.queue===null?pc(u,"forceUpdate"):h!=null&&Da(h,"setState")}};function hf(u,h,m,w,_){var B=m(_,w);dc(h,B);var L=B==null?w:Tn({},w,B);return L}function _h(u,h,m){var w=Us,_=u.contextType;if("contextType"in u){var B=_===null||_!==void 0&&_.$$typeof===Zl&&_._context===void 0;if(!B&&!hc.has(u)){hc.add(u);var L="";_===void 0?L=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof _!="object"?L=" However, it is set to a "+typeof _+".":_.$$typeof===Yl?L=" Did you accidentally pass the Context.Provider instead?":_._context!==void 0?L=" Did you accidentally pass the Context.Consumer instead?":L=" However, it is set to an object with keys {"+Object.keys(_).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",St(u)||"Component",L)}}typeof _=="object"&&_!==null?w=Bi(_):w=m;var te=new u(h,w);{if(typeof u.getDerivedStateFromProps=="function"&&(te.state===null||te.state===void 0)){var pe=St(u)||"Component";Is.has(pe)||(Is.add(pe),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",pe,te.state===null?"null":"undefined",pe))}if(typeof u.getDerivedStateFromProps=="function"||typeof te.getSnapshotBeforeUpdate=="function"){var Ce=null,Fe=null,Pe=null;if(typeof te.componentWillMount=="function"&&te.componentWillMount.__suppressDeprecationWarning!==!0?Ce="componentWillMount":typeof te.UNSAFE_componentWillMount=="function"&&(Ce="UNSAFE_componentWillMount"),typeof te.componentWillReceiveProps=="function"&&te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Fe="componentWillReceiveProps":typeof te.UNSAFE_componentWillReceiveProps=="function"&&(Fe="UNSAFE_componentWillReceiveProps"),typeof te.componentWillUpdate=="function"&&te.componentWillUpdate.__suppressDeprecationWarning!==!0?Pe="componentWillUpdate":typeof te.UNSAFE_componentWillUpdate=="function"&&(Pe="UNSAFE_componentWillUpdate"),Ce!==null||Fe!==null||Pe!==null){var Je=St(u)||"Component",pt=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";uc.has(Je)||(uc.add(Je),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
292
|
+
|
|
293
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
294
|
+
|
|
295
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
296
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,Je,pt,Ce!==null?`
|
|
297
|
+
`+Ce:"",Fe!==null?`
|
|
298
|
+
`+Fe:"",Pe!==null?`
|
|
299
|
+
`+Pe:""))}}}return te}function kh(u,h,m){{var w=St(h)||"Component",_=u.render;_||(h.prototype&&typeof h.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",w):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",w)),u.getInitialState&&!u.getInitialState.isReactClassApproved&&!u.state&&i("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",w),u.getDefaultProps&&!u.getDefaultProps.isReactClassApproved&&i("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",w),u.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",w),u.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",w),u.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",w),h.contextType&&h.contextTypes&&!Ms.has(h)&&(Ms.add(h),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",w)),typeof u.componentShouldUpdate=="function"&&i("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",w),h.prototype&&h.prototype.isPureReactComponent&&typeof u.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",St(h)||"A pure component"),typeof u.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",w),typeof u.componentDidReceiveProps=="function"&&i("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",w),typeof u.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",w),typeof u.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",w);var B=u.props!==m;u.props!==void 0&&B&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",w,w),u.defaultProps&&i("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",w,w),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!df.has(h)&&(df.add(h),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",St(h))),typeof u.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof u.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",w),typeof h.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",w);var L=u.state;L&&(typeof L!="object"||er(L))&&i("%s.state: must be set to an object or null",w),typeof u.getChildContext=="function"&&typeof h.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",w)}}function Ah(u,h){var m=h.state;if(typeof h.componentWillMount=="function"){if(h.componentWillMount.__suppressDeprecationWarning!==!0){var w=St(u)||"Unknown";xa[w]||(r(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
300
|
+
|
|
301
|
+
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
302
|
+
|
|
303
|
+
Please update the following components: %s`,w),xa[w]=!0)}h.componentWillMount()}typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),m!==h.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",St(u)||"Component"),gc.enqueueReplaceState(h,h.state,null))}function Ly(u,h,m,w){if(u.queue!==null&&u.queue.length>0){var _=u.queue,B=u.replace;if(u.queue=null,u.replace=!1,B&&_.length===1)h.state=_[0];else{for(var L=B?_[0]:h.state,te=!0,pe=B?1:0;pe<_.length;pe++){var Ce=_[pe],Fe=typeof Ce=="function"?Ce.call(h,L,m,w):Ce;Fe!=null&&(te?(te=!1,L=Tn({},L,Fe)):Tn(L,Fe))}h.state=L}}else u.queue=null}function Uh(u,h,m,w){kh(u,h,m);var _=u.state!==void 0?u.state:null;u.updater=gc,u.props=m,u.state=_;var B={queue:[],replace:!1};Wy(u,B);var L=h.contextType;if(typeof L=="object"&&L!==null?u.context=Bi(L):u.context=w,u.state===m){var te=St(h)||"Component";Bs.has(te)||(Bs.add(te),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",te))}var pe=h.getDerivedStateFromProps;typeof pe=="function"&&(u.state=hf(u,h,pe,_,m)),typeof h.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(Ah(h,u),Ly(B,u,m,w))}var zy={id:1,overflow:""};function $y(u){var h=u.overflow,m=u.id,w=m&~jy(m);return w.toString(32)+h}function pf(u,h,m){var w=u.id,_=u.overflow,B=Ps(w)-1,L=w&~(1<<B),te=m+1,pe=Ps(h)+B;if(pe>30){var Ce=B-B%5,Fe=(1<<Ce)-1,Pe=(L&Fe).toString(32),Je=L>>Ce,pt=B-Ce,qt=Ps(h)+pt,wo=te<<pt,So=wo|Je,fi=Pe+_;return{id:1<<qt|So,overflow:fi}}else{var ka=te<<B,Db=ka|L,AO=_;return{id:1<<pe|Db,overflow:AO}}}function Ps(u){return 32-Hy(u)}function jy(u){return 1<<Ps(u)-1}var Hy=Math.clz32?Math.clz32:Vy,gf=Math.log,mc=Math.LN2;function Vy(u){var h=u>>>0;return h===0?32:31-(gf(h)/mc|0)|0}function qy(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}var Xy=typeof Object.is=="function"?Object.is:qy,si=null,mf=null,yc=null,xt=null,Vn=!1,wa=!1,mo=0,ft=null,Mi=0,bc=25,qn=!1,Xn;function jr(){if(si===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
304
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
305
|
+
2. You might be breaking the Rules of Hooks
|
|
306
|
+
3. You might have more than one copy of React in the same app
|
|
307
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return qn&&i("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),si}function Gy(u,h){if(h===null)return i("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Xn),!1;u.length!==h.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
308
|
+
|
|
309
|
+
Previous: %s
|
|
310
|
+
Incoming: %s`,Xn,"["+u.join(", ")+"]","["+h.join(", ")+"]");for(var m=0;m<h.length&&m<u.length;m++)if(!Xy(u[m],h[m]))return!1;return!0}function Tr(){if(Mi>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ni(){return xt===null?yc===null?(Vn=!1,yc=xt=Tr()):(Vn=!0,xt=yc):xt.next===null?(Vn=!1,xt=xt.next=Tr()):(Vn=!0,xt=xt.next),xt}function yo(u,h){si=h,mf=u,qn=!1,mo=0}function Jy(u,h,m,w){for(;wa;)wa=!1,mo=0,Mi+=1,xt=null,m=u(h,w);return Ws(),m}function yf(){var u=mo!==0;return u}function Ws(){qn=!1,si=null,mf=null,wa=!1,yc=null,Mi=0,ft=null,xt=null}function Yy(u){return qn&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Bi(u)}function Zy(u){return Xn="useContext",jr(),Bi(u)}function vc(u,h){return typeof h=="function"?h(u):h}function bf(u){return Xn="useState",Fh(vc,u)}function Fh(u,h,m){if(u!==vc&&(Xn="useReducer"),si=jr(),xt=Ni(),Vn){var w=xt.queue,_=w.dispatch;if(ft!==null){var B=ft.get(w);if(B!==void 0){ft.delete(w);var L=xt.memoizedState,te=B;do{var pe=te.action;qn=!0,L=u(L,pe),qn=!1,te=te.next}while(te!==null);return xt.memoizedState=L,[L,_]}}return[xt.memoizedState,_]}else{qn=!0;var Ce;u===vc?Ce=typeof h=="function"?h():h:Ce=m!==void 0?m(h):h,qn=!1,xt.memoizedState=Ce;var Fe=xt.queue={last:null,dispatch:null},Pe=Fe.dispatch=Oh.bind(null,si,Fe);return[xt.memoizedState,Pe]}}function Rh(u,h){si=jr(),xt=Ni();var m=h===void 0?null:h;if(xt!==null){var w=xt.memoizedState;if(w!==null&&m!==null){var _=w[1];if(Gy(m,_))return w[0]}}qn=!0;var B=u();return qn=!1,xt.memoizedState=[B,m],B}function vf(u){si=jr(),xt=Ni();var h=xt.memoizedState;if(h===null){var m={current:u};return Object.seal(m),xt.memoizedState=m,m}else return h}function Ky(u,h){Xn="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Oh(u,h,m){if(Mi>=bc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(u===si){wa=!0;var w={action:m,next:null};ft===null&&(ft=new Map);var _=ft.get(h);if(_===void 0)ft.set(h,w);else{for(var B=_;B.next!==null;)B=B.next;B.next=w}}}function Ih(u,h){return Rh(function(){return u},h)}function Qy(u,h,m){return jr(),h(u._source)}function eb(u,h,m){if(m===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return m()}function tb(u){return jr(),u}function nb(){throw new Error("startTransition cannot be called during server rendering.")}function rb(){return jr(),[!1,nb]}function ib(){var u=mf,h=$y(u.treeContext),m=xf;if(m===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var w=mo++;return Ot(m,h,w)}function xc(){}var Bh={readContext:Yy,useContext:Zy,useMemo:Rh,useReducer:Fh,useRef:vf,useState:bf,useInsertionEffect:xc,useLayoutEffect:Ky,useCallback:Ih,useImperativeHandle:xc,useEffect:xc,useDebugValue:xc,useDeferredValue:tb,useTransition:rb,useId:ib,useMutableSource:Qy,useSyncExternalStore:eb},xf=null;function Mh(u){xf=u}function Dc(u){try{var h="",m=u;do{switch(m.tag){case 0:h+=_s(m.type,null,null);break;case 1:h+=ks(m.type,null,null);break;case 2:h+=lf(m.type,null,null);break}m=m.parent}while(m);return h}catch(w){return`
|
|
311
|
+
Error generating stack: `+w.message+`
|
|
312
|
+
`+w.stack}}var wc=n.ReactCurrentDispatcher,Ls=n.ReactDebugCurrentFrame,Sc=0,Sa=1,Tc=2,Cc=3,Ec=4,Ta=0,Df=1,bo=2,Nh=12800;function ob(u){return console.error(u),null}function Ca(){}function Ea(u,h,m,w,_,B,L,te,pe){var Ce=[],Fe=new Set,Pe={destination:null,responseState:h,progressiveChunkSize:w===void 0?Nh:w,status:Ta,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Fe,pingedTasks:Ce,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:_===void 0?ob:_,onAllReady:Ca,onShellReady:L===void 0?Ca:L,onShellError:Ca,onFatalError:Ca},Je=_c(Pe,0,null,m,!1,!1);Je.parentFlushed=!0;var pt=vo(Pe,u,null,Je,Fe,Us,ac,zy);return Ce.push(pt),Pe}function ab(u,h){var m=u.pingedTasks;m.push(h),m.length===1&&a(function(){return Ff(u)})}function sb(u,h){return{id:ra,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null}}function vo(u,h,m,w,_,B,L,te){u.allPendingTasks++,m===null?u.pendingRootTasks++:m.pendingTasks++;var pe={node:h,ping:function(){return ab(u,pe)},blockedBoundary:m,blockedSegment:w,abortSet:_,legacyContext:B,context:L,treeContext:te};return pe.componentStack=null,_.add(pe),pe}function _c(u,h,m,w,_,B){return{status:Sc,id:-1,index:h,parentFlushed:!1,chunks:[],children:[],formatContext:w,boundary:m,lastPushedText:_,textEmbedded:B}}var li=null;function wf(){return li===null||li.componentStack===null?"":Dc(li.componentStack)}function xo(u,h){u.componentStack={tag:0,parent:u.componentStack,type:h}}function zs(u,h){u.componentStack={tag:1,parent:u.componentStack,type:h}}function ci(u,h){u.componentStack={tag:2,parent:u.componentStack,type:h}}function Hr(u){u.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):u.componentStack=u.componentStack.parent}var ui=null;function kc(u,h){{var m;typeof h=="string"?m=h:h&&typeof h.message=="string"?m=h.message:m=String(h);var w=ui||wf();ui=null,u.errorMessage=m,u.errorComponentStack=w}}function $s(u,h){var m=u.onError(h);if(m!=null&&typeof m!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof m+'" instead');return m}function Cr(u,h){var m=u.onShellError;m(h);var w=u.onFatalError;w(h),u.destination!==null?(u.status=bo,b(u.destination,h)):(u.status=Df,u.fatalError=h)}function js(u,h,m){xo(h,"Suspense");var w=h.blockedBoundary,_=h.blockedSegment,B=m.fallback,L=m.children,te=new Set,pe=sb(u,te),Ce=_.chunks.length,Fe=_c(u,Ce,pe,_.formatContext,!1,!1);_.children.push(Fe),_.lastPushedText=!1;var Pe=_c(u,0,null,_.formatContext,!1,!1);Pe.parentFlushed=!0,h.blockedBoundary=pe,h.blockedSegment=Pe;try{if(pn(u,h,L),ph(Pe.chunks,u.responseState,Pe.lastPushedText,Pe.textEmbedded),Pe.status=Sa,_a(pe,Pe),pe.pendingTasks===0){Hr(h);return}}catch(pt){Pe.status=Ec,pe.forceClientRender=!0,pe.errorDigest=$s(u,pt),kc(pe,pt)}finally{h.blockedBoundary=w,h.blockedSegment=_}var Je=vo(u,B,w,Fe,te,h.legacyContext,h.context,h.treeContext);Je.componentStack=h.componentStack,u.pingedTasks.push(Je),Hr(h)}function Sf(u,h,m,w){xo(h,m);var _=h.blockedSegment,B=Sr(_.chunks,m,w,u.responseState,_.formatContext);_.lastPushedText=!1;var L=_.formatContext;_.formatContext=na(L,m,w),pn(u,h,B),_.formatContext=L,gt(_.chunks,m),_.lastPushedText=!1,Hr(h)}function Hs(u){return u.prototype&&u.prototype.isReactComponent}function Vs(u,h,m,w,_){var B={};yo(h,B);var L=m(w,_);return Jy(m,w,L,_)}function Ph(u,h,m,w,_){var B=m.render();m.props!==_&&(Cf||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",St(w)||"a component"),Cf=!0);{var L=w.childContextTypes;if(L!=null){var te=h.legacyContext,pe=wh(m,w,te,L);h.legacyContext=pe,Gn(u,h,B),h.legacyContext=te;return}}Gn(u,h,B)}function lb(u,h,m,w){ci(h,m);var _=Fs(m,h.legacyContext),B=_h(m,w,_);Uh(B,m,w,_),Ph(u,h,B,m,w),Hr(h)}var Wh={},qs={},Tf={},Lh={},Cf=!1,Xs={},Ef=!1,_f=!1,kf=!1;function zh(u,h,m,w){var _;if(_=Fs(m,h.legacyContext),zs(h,m),m.prototype&&typeof m.prototype.render=="function"){var B=St(m)||"Unknown";Wh[B]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",B,B),Wh[B]=!0)}var L=Vs(u,h,m,w,_),te=yf();if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){var pe=St(m)||"Unknown";qs[pe]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",pe,pe,pe),qs[pe]=!0)}if(typeof L=="object"&&L!==null&&typeof L.render=="function"&&L.$$typeof===void 0){{var Ce=St(m)||"Unknown";qs[Ce]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Ce,Ce,Ce),qs[Ce]=!0)}Uh(L,m,w,_),Ph(u,h,L,m,w)}else if($h(m),te){var Fe=h.treeContext,Pe=1,Je=0;h.treeContext=pf(Fe,Pe,Je);try{Gn(u,h,L)}finally{h.treeContext=Fe}}else Gn(u,h,L);Hr(h)}function $h(u){{if(u&&u.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",u.displayName||u.name||"Component"),u.defaultProps!==void 0){var h=St(u)||"Unknown";Xs[h]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",h),Xs[h]=!0)}if(typeof u.getDerivedStateFromProps=="function"){var m=St(u)||"Unknown";Lh[m]||(i("%s: Function components do not support getDerivedStateFromProps.",m),Lh[m]=!0)}if(typeof u.contextType=="object"&&u.contextType!==null){var w=St(u)||"Unknown";Tf[w]||(i("%s: Function components do not support contextType.",w),Tf[w]=!0)}}}function Af(u,h){if(u&&u.defaultProps){var m=Tn({},h),w=u.defaultProps;for(var _ in w)m[_]===void 0&&(m[_]=w[_]);return m}return h}function jh(u,h,m,w,_){zs(h,m.render);var B=Vs(u,h,m.render,w,_),L=yf();if(L){var te=h.treeContext,pe=1,Ce=0;h.treeContext=pf(te,pe,Ce);try{Gn(u,h,B)}finally{h.treeContext=te}}else Gn(u,h,B);Hr(h)}function cb(u,h,m,w,_){var B=m.type,L=Af(B,w);Uf(u,h,B,L,_)}function ub(u,h,m,w){m._context===void 0?m!==m.Consumer&&(kf||(kf=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):m=m._context;var _=w.children;typeof _!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var B=Bi(m),L=_(B);Gn(u,h,L)}function Hh(u,h,m,w){var _=m._context,B=w.value,L=w.children,te;te=h.context,h.context=Sh(_,B),Gn(u,h,L),h.context=Th(_),te!==h.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function fb(u,h,m,w,_){xo(h,"Lazy");var B=m._payload,L=m._init,te=L(B),pe=Af(te,w);Uf(u,h,te,pe,_),Hr(h)}function Uf(u,h,m,w,_){if(typeof m=="function")if(Hs(m)){lb(u,h,m,w);return}else{zh(u,h,m,w);return}if(typeof m=="string"){Sf(u,h,m,w);return}switch(m){case Ku:case Zu:case Hn:case mh:case Jl:{Gn(u,h,w.children);return}case Ts:{xo(h,"SuspenseList"),Gn(u,h,w.children),Hr(h);return}case Yu:throw new Error("ReactDOMServer does not yet support scope components.");case Ql:{js(u,h,w);return}}if(typeof m=="object"&&m!==null)switch(m.$$typeof){case Kl:{jh(u,h,m,w,_);return}case Cs:{cb(u,h,m,w,_);return}case Yl:{Hh(u,h,m,w);return}case Zl:{ub(u,h,m,w);return}case ya:{fb(u,h,m,w);return}}var B="";throw(m===void 0||typeof m=="object"&&m!==null&&Object.keys(m).length===0)&&(B+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(m==null?m:typeof m)+"."+B))}function db(u,h){typeof Symbol=="function"&&u[Symbol.toStringTag]==="Generator"&&(Ef||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Ef=!0),u.entries===h&&(_f||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),_f=!0)}function Gn(u,h,m){try{return hb(u,h,m)}catch(w){throw typeof w=="object"&&w!==null&&typeof w.then=="function"||(ui=ui!==null?ui:wf()),w}}function hb(u,h,m){if(h.node=m,typeof m=="object"&&m!==null){switch(m.$$typeof){case Iy:{var w=m,_=w.type,B=w.props,L=w.ref;Uf(u,h,_,B,L);return}case gh:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ya:{var te=m,pe=te._payload,Ce=te._init,Fe;try{Fe=Ce(pe)}catch(ka){throw typeof ka=="object"&&ka!==null&&typeof ka.then=="function"&&xo(h,"Lazy"),ka}Gn(u,h,Fe);return}}if(er(m)){Ac(u,h,m);return}var Pe=My(m);if(Pe){db(m,Pe);var Je=Pe.call(m);if(Je){var pt=Je.next();if(!pt.done){var qt=[];do qt.push(pt.value),pt=Je.next();while(!pt.done);Ac(u,h,qt);return}return}}var wo=Object.prototype.toString.call(m);throw new Error("Objects are not valid as a React child (found: "+(wo==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":wo)+"). If you meant to render a collection of children, use an array instead.")}if(typeof m=="string"){var So=h.blockedSegment;So.lastPushedText=hh(h.blockedSegment.chunks,m,u.responseState,So.lastPushedText);return}if(typeof m=="number"){var fi=h.blockedSegment;fi.lastPushedText=hh(h.blockedSegment.chunks,""+m,u.responseState,fi.lastPushedText);return}typeof m=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Ac(u,h,m){for(var w=m.length,_=0;_<w;_++){var B=h.treeContext;h.treeContext=pf(B,w,_);try{pn(u,h,m[_])}finally{h.treeContext=B}}}function pb(u,h,m){var w=h.blockedSegment,_=w.chunks.length,B=_c(u,_,null,w.formatContext,w.lastPushedText,!0);w.children.push(B),w.lastPushedText=!1;var L=vo(u,h.node,h.blockedBoundary,B,h.abortSet,h.legacyContext,h.context,h.treeContext);h.componentStack!==null&&(L.componentStack=h.componentStack.parent);var te=L.ping;m.then(te,te)}function pn(u,h,m){var w=h.blockedSegment.formatContext,_=h.legacyContext,B=h.context,L=null;L=h.componentStack;try{return Gn(u,h,m)}catch(te){if(Ws(),typeof te=="object"&&te!==null&&typeof te.then=="function"){pb(u,h,te),h.blockedSegment.formatContext=w,h.legacyContext=_,h.context=B,Os(B),h.componentStack=L;return}else throw h.blockedSegment.formatContext=w,h.legacyContext=_,h.context=B,Os(B),h.componentStack=L,te}}function gb(u,h,m,w){var _=$s(u,w);if(h===null?Cr(u,w):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=_,kc(h,w),h.parentFlushed&&u.clientRenderedBoundaries.push(h))),u.allPendingTasks--,u.allPendingTasks===0){var B=u.onAllReady;B()}}function Vh(u){var h=this,m=u.blockedBoundary,w=u.blockedSegment;w.status=Cc,Xh(h,m,w)}function qh(u,h,m){var w=u.blockedBoundary,_=u.blockedSegment;if(_.status=Cc,w===null)h.allPendingTasks--,h.status!==bo&&(h.status=bo,h.destination!==null&&d(h.destination));else{if(w.pendingTasks--,!w.forceClientRender){w.forceClientRender=!0;var B=m===void 0?new Error("The render was aborted by the server without a reason."):m;w.errorDigest=h.onError(B);{var L="The server did not finish this Suspense boundary: ";B&&typeof B.message=="string"?B=L+B.message:B=L+String(B);var te=li;li=u;try{kc(w,B)}finally{li=te}}w.parentFlushed&&h.clientRenderedBoundaries.push(w)}if(w.fallbackAbortableTasks.forEach(function(Ce){return qh(Ce,h,m)}),w.fallbackAbortableTasks.clear(),h.allPendingTasks--,h.allPendingTasks===0){var pe=h.onAllReady;pe()}}}function _a(u,h){if(h.chunks.length===0&&h.children.length===1&&h.children[0].boundary===null){var m=h.children[0];m.id=h.id,m.parentFlushed=!0,m.status===Sa&&_a(u,m)}else{var w=u.completedSegments;w.push(h)}}function Xh(u,h,m){if(h===null){if(m.parentFlushed){if(u.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");u.completedRootSegment=m}if(u.pendingRootTasks--,u.pendingRootTasks===0){u.onShellError=Ca;var w=u.onShellReady;w()}}else if(h.pendingTasks--,!h.forceClientRender){if(h.pendingTasks===0)m.parentFlushed&&m.status===Sa&&_a(h,m),h.parentFlushed&&u.completedBoundaries.push(h),h.fallbackAbortableTasks.forEach(Vh,u),h.fallbackAbortableTasks.clear();else if(m.parentFlushed&&m.status===Sa){_a(h,m);var _=h.completedSegments;_.length===1&&h.parentFlushed&&u.partialBoundaries.push(h)}}if(u.allPendingTasks--,u.allPendingTasks===0){var B=u.onAllReady;B()}}function mb(u,h){var m=h.blockedSegment;if(m.status===Sc){Os(h.context);var w=null;w=li,li=h;try{Gn(u,h,h.node),ph(m.chunks,u.responseState,m.lastPushedText,m.textEmbedded),h.abortSet.delete(h),m.status=Sa,Xh(u,h.blockedBoundary,m)}catch(B){if(Ws(),typeof B=="object"&&B!==null&&typeof B.then=="function"){var _=h.ping;B.then(_,_)}else h.abortSet.delete(h),m.status=Ec,gb(u,h.blockedBoundary,m,B)}finally{li=w}}}function Ff(u){if(u.status!==bo){var h=Ch(),m=wc.current;wc.current=Bh;var w;w=Ls.getCurrentStack,Ls.getCurrentStack=wf;var _=xf;Mh(u.responseState);try{var B=u.pingedTasks,L;for(L=0;L<B.length;L++){var te=B[L];mb(u,te)}B.splice(0,L),u.destination!==null&&Fc(u,u.destination)}catch(pe){$s(u,pe),Cr(u,pe)}finally{Mh(_),wc.current=m,Ls.getCurrentStack=w,m===Bh&&Os(h)}}}function Do(u,h,m){switch(m.parentFlushed=!0,m.status){case Sc:{var w=m.id=u.nextSegmentId++;return m.lastPushedText=!1,m.textEmbedded=!1,zr(h,u.responseState,w)}case Sa:{m.status=Tc;for(var _=!0,B=m.chunks,L=0,te=m.children,pe=0;pe<te.length;pe++){for(var Ce=te[pe];L<Ce.index;L++)l(h,B[L]);_=Gs(u,h,Ce)}for(;L<B.length-1;L++)l(h,B[L]);return L<B.length&&(_=c(h,B[L])),_}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Gs(u,h,m){var w=m.boundary;if(w===null)return Do(u,h,m);if(w.parentFlushed=!0,w.forceClientRender)return Fy(h,u.responseState,w.errorDigest,w.errorMessage,w.errorComponentStack),Do(u,h,m),Oy(h,u.responseState);if(w.pendingTasks>0){w.rootSegmentID=u.nextSegmentId++,w.completedSegments.length>0&&u.partialBoundaries.push(w);var _=w.id=Dr(u.responseState);return co(h,u.responseState,_),Do(u,h,m),Fi(h,u.responseState)}else{if(w.byteSize>u.progressiveChunkSize)return w.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(w),co(h,u.responseState,w.id),Do(u,h,m),Fi(h,u.responseState);Uy(h,u.responseState);var B=w.completedSegments;if(B.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var L=B[0];return Gs(u,h,L),Ry(h,u.responseState)}}function yb(u,h,m){return Ey(h,u.responseState,m.id,m.errorDigest,m.errorMessage,m.errorComponentStack)}function Rf(u,h,m){return Ss(h,u.responseState,m.formatContext,m.id),Gs(u,h,m),Xl(h,m.formatContext)}function Js(u,h,m){for(var w=m.completedSegments,_=0;_<w.length;_++){var B=w[_];Gh(u,h,m,B)}return w.length=0,hn(h,u.responseState,m.id,m.rootSegmentID)}function Uc(u,h,m){for(var w=m.completedSegments,_=0;_<w.length;_++){var B=w[_];if(!Gh(u,h,m,B))return _++,w.splice(0,_),!1}return w.splice(0,_),!0}function Gh(u,h,m,w){if(w.status===Tc)return!0;var _=w.id;if(_===-1){var B=w.id=m.rootSegmentID;if(B===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Rf(u,h,w)}else return Rf(u,h,w),Ie(h,u.responseState,_)}function Fc(u,h){try{var m=u.completedRootSegment;m!==null&&u.pendingRootTasks===0&&(Gs(u,h,m),u.completedRootSegment=null,oi(h,u.responseState));var w=u.clientRenderedBoundaries,_;for(_=0;_<w.length;_++){var B=w[_];if(!yb(u,h,B)){u.destination=null,_++,w.splice(0,_);return}}w.splice(0,_);var L=u.completedBoundaries;for(_=0;_<L.length;_++){var te=L[_];if(!Js(u,h,te)){u.destination=null,_++,L.splice(0,_);return}}L.splice(0,_);var pe=u.partialBoundaries;for(_=0;_<pe.length;_++){var Ce=pe[_];if(!Uc(u,h,Ce)){u.destination=null,_++,pe.splice(0,_);return}}pe.splice(0,_);var Fe=u.completedBoundaries;for(_=0;_<Fe.length;_++){var Pe=Fe[_];if(!Js(u,h,Pe)){u.destination=null,_++,Fe.splice(0,_);return}}Fe.splice(0,_)}finally{u.allPendingTasks===0&&u.pingedTasks.length===0&&u.clientRenderedBoundaries.length===0&&u.completedBoundaries.length===0&&(u.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),d(h))}}function Jh(u){a(function(){return Ff(u)})}function bb(u,h){if(u.status===Df){u.status=bo,b(h,u.fatalError);return}if(u.status!==bo&&u.destination===null){u.destination=h;try{Fc(u,h)}catch(m){$s(u,m),Cr(u,m)}}}function Yh(u,h){try{var m=u.abortableTasks;m.forEach(function(w){return qh(w,u,h)}),m.clear(),u.destination!==null&&Fc(u,u.destination)}catch(w){$s(u,w),Cr(u,w)}}function Of(){}function Zh(u,h,m,w){var _=!1,B=null,L="",te={push:function(Pe){return Pe!==null&&(L+=Pe),!0},destroy:function(Pe){_=!0,B=Pe}},pe=!1;function Ce(){pe=!0}var Fe=Ea(u,ky(m,h?h.identifierPrefix:void 0),Ay(),1/0,Of,void 0,Ce);if(Jh(Fe),Yh(Fe,w),bb(Fe,te),_)throw B;if(!pe)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return L}function vb(u,h){return Zh(u,h,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function Kh(u,h){return Zh(u,h,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function xb(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function y(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}Ks.renderToNodeStream=xb,Ks.renderToStaticMarkup=Kh,Ks.renderToStaticNodeStream=y,Ks.renderToString=vb,Ks.version=e}()),Ks}var Dp={};/**
|
|
313
|
+
* @license React
|
|
314
|
+
* react-dom-server.browser.development.js
|
|
315
|
+
*
|
|
316
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
317
|
+
*
|
|
318
|
+
* This source code is licensed under the MIT license found in the
|
|
319
|
+
* LICENSE file in the root directory of this source tree.
|
|
320
|
+
*/var h_;function NJ(){return h_||(h_=1,process.env.NODE_ENV!=="production"&&function(){var t=Dl,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(y){{for(var u=arguments.length,h=new Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];o("warn",y,h)}}function i(y){{for(var u=arguments.length,h=new Array(u>1?u-1:0),m=1;m<u;m++)h[m-1]=arguments[m];o("error",y,h)}}function o(y,u,h){{var m=n.ReactDebugCurrentFrame,w=m.getStackAddendum();w!==""&&(u+="%s",h=h.concat([w]));var _=h.map(function(B){return String(B)});_.unshift("Warning: "+u),Function.prototype.apply.call(console[y],console,_)}}function a(y){y()}var s=512,l=null,c=0;function f(y){l=new Uint8Array(s),c=0}function d(y,u){if(u.length!==0){if(u.length>s){c>0&&(y.enqueue(new Uint8Array(l.buffer,0,c)),l=new Uint8Array(s),c=0),y.enqueue(u);return}var h=u,m=l.length-c;m<h.length&&(m===0?y.enqueue(l):(l.set(h.subarray(0,m),c),y.enqueue(l),h=h.subarray(m)),l=new Uint8Array(s),c=0),l.set(h,c),c+=h.length}}function p(y,u){return d(y,u),!0}function g(y){l&&c>0&&(y.enqueue(new Uint8Array(l.buffer,0,c)),l=null,c=0)}function b(y){y.close()}var x=new TextEncoder;function v(y){return x.encode(y)}function D(y){return x.encode(y)}function S(y,u){typeof y.error=="function"?y.error(u):y.close()}function E(y){{var u=typeof Symbol=="function"&&Symbol.toStringTag,h=u&&y[Symbol.toStringTag]||y.constructor.name||"Object";return h}}function O(y){try{return U(y),!1}catch{return!0}}function U(y){return""+y}function M(y,u){if(O(y))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",u,E(y)),U(y)}function N(y,u){if(O(y))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",u,E(y)),U(y)}function q(y){if(O(y))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",E(y)),U(y)}var j=Object.prototype.hasOwnProperty,ae=0,ce=1,F=2,Z=3,k=4,re=5,$=6,G=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",J=G+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",X=new RegExp("^["+G+"]["+J+"]*$"),ie={},H={};function P(y){return j.call(H,y)?!0:j.call(ie,y)?!1:X.test(y)?(H[y]=!0,!0):(ie[y]=!0,i("Invalid attribute name: `%s`",y),!1)}function de(y,u,h,m){if(h!==null&&h.type===ae)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":{if(h!==null)return!h.acceptsBooleans;var w=y.toLowerCase().slice(0,5);return w!=="data-"&&w!=="aria-"}default:return!1}}function De(y){return _e.hasOwnProperty(y)?_e[y]:null}function me(y,u,h,m,w,_,B){this.acceptsBooleans=u===F||u===Z||u===k,this.attributeName=m,this.attributeNamespace=w,this.mustUseProperty=h,this.propertyName=y,this.type=u,this.sanitizeURL=_,this.removeEmptyString=B}var _e={},$e=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];$e.forEach(function(y){_e[y]=new me(y,ae,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var u=y[0],h=y[1];_e[u]=new me(u,ce,!1,h,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){_e[y]=new me(y,F,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){_e[y]=new me(y,F,!1,y,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(y){_e[y]=new me(y,Z,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){_e[y]=new me(y,Z,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){_e[y]=new me(y,k,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){_e[y]=new me(y,$,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){_e[y]=new me(y,re,!1,y.toLowerCase(),null,!1,!1)});var Le=/[\-\:]([a-z])/g,ze=function(y){return y[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(y){var u=y.replace(Le,ze);_e[u]=new me(u,ce,!1,y,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(y){var u=y.replace(Le,ze);_e[u]=new me(u,ce,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var u=y.replace(Le,ze);_e[u]=new me(u,ce,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){_e[y]=new me(y,ce,!1,y.toLowerCase(),null,!1,!1)});var tt="xlinkHref";_e[tt]=new me("xlinkHref",ce,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){_e[y]=new me(y,ce,!1,y.toLowerCase(),null,!0,!0)});var oe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(y,u){return y+u.charAt(0).toUpperCase()+u.substring(1)}var Re=["Webkit","ms","Moz","O"];Object.keys(oe).forEach(function(y){Re.forEach(function(u){oe[Ee(u,y)]=oe[y]})});var A={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function ye(y,u){A[u.type]||u.onChange||u.onInput||u.readOnly||u.disabled||u.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),u.onChange||u.readOnly||u.disabled||u.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function fe(y,u){if(y.indexOf("-")===-1)return typeof u.is=="string";switch(y){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Q={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},V={},se=new RegExp("^(aria)-["+J+"]*$"),Se=new RegExp("^(aria)[A-Z]["+J+"]*$");function ke(y,u){{if(j.call(V,u)&&V[u])return!0;if(Se.test(u)){var h="aria-"+u.slice(4).toLowerCase(),m=Q.hasOwnProperty(h)?h:null;if(m==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",u),V[u]=!0,!0;if(u!==m)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",u,m),V[u]=!0,!0}if(se.test(u)){var w=u.toLowerCase(),_=Q.hasOwnProperty(w)?w:null;if(_==null)return V[u]=!0,!1;if(u!==_)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",u,_),V[u]=!0,!0}}return!0}function le(y,u){{var h=[];for(var m in u){var w=ke(y,m);w||h.push(m)}var _=h.map(function(B){return"`"+B+"`"}).join(", ");h.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",_,y):h.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",_,y)}}function ee(y,u){fe(y,u)||le(y,u)}var ne=!1;function ue(y,u){{if(y!=="input"&&y!=="textarea"&&y!=="select")return;u!=null&&u.value===null&&!ne&&(ne=!0,y==="select"&&u.multiple?i("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",y):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",y))}}var xe={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Me=function(){};{var Ne={},Ye=/^on./,He=/^on[^A-Z]/,Ke=new RegExp("^(aria)-["+J+"]*$"),lt=new RegExp("^(aria)[A-Z]["+J+"]*$");Me=function(y,u,h,m){if(j.call(Ne,u)&&Ne[u])return!0;var w=u.toLowerCase();if(w==="onfocusin"||w==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ne[u]=!0,!0;if(m!=null){var _=m.registrationNameDependencies,B=m.possibleRegistrationNames;if(_.hasOwnProperty(u))return!0;var L=B.hasOwnProperty(w)?B[w]:null;if(L!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",u,L),Ne[u]=!0,!0;if(Ye.test(u))return i("Unknown event handler property `%s`. It will be ignored.",u),Ne[u]=!0,!0}else if(Ye.test(u))return He.test(u)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",u),Ne[u]=!0,!0;if(Ke.test(u)||lt.test(u))return!0;if(w==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ne[u]=!0,!0;if(w==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ne[u]=!0,!0;if(w==="is"&&h!==null&&h!==void 0&&typeof h!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof h),Ne[u]=!0,!0;if(typeof h=="number"&&isNaN(h))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",u),Ne[u]=!0,!0;var te=De(u),pe=te!==null&&te.type===ae;if(xe.hasOwnProperty(w)){var Ce=xe[w];if(Ce!==u)return i("Invalid DOM property `%s`. Did you mean `%s`?",u,Ce),Ne[u]=!0,!0}else if(!pe&&u!==w)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",u,w),Ne[u]=!0,!0;return typeof h=="boolean"&&de(u,h,te)?(h?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',h,u,u,h,u):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',h,u,u,h,u,u,u),Ne[u]=!0,!0):pe?!0:de(u,h,te)?(Ne[u]=!0,!1):((h==="false"||h==="true")&&te!==null&&te.type===Z&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",h,u,h==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',u,h),Ne[u]=!0),!0)}}var nt=function(y,u,h){{var m=[];for(var w in u){var _=Me(y,w,u[w],h);_||m.push(w)}var B=m.map(function(L){return"`"+L+"`"}).join(", ");m.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",B,y):m.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",B,y)}};function Mt(y,u,h){fe(y,u)||nt(y,u,h)}var Pn=function(){};{var Ft=/^(?:webkit|moz|o)[A-Z]/,Rr=/^-ms-/,wi=/-(.)/g,Ht=/;\s*$/,wn={},Wn={},at=!1,ln=!1,Si=function(y){return y.replace(wi,function(u,h){return h.toUpperCase()})},ti=function(y){wn.hasOwnProperty(y)&&wn[y]||(wn[y]=!0,i("Unsupported style property %s. Did you mean %s?",y,Si(y.replace(Rr,"ms-"))))},Qn=function(y){wn.hasOwnProperty(y)&&wn[y]||(wn[y]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",y,y.charAt(0).toUpperCase()+y.slice(1)))},Ti=function(y,u){Wn.hasOwnProperty(u)&&Wn[u]||(Wn[u]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,y,u.replace(Ht,"")))},xr=function(y,u){at||(at=!0,i("`NaN` is an invalid value for the `%s` css style property.",y))},Nt=function(y,u){ln||(ln=!0,i("`Infinity` is an invalid value for the `%s` css style property.",y))};Pn=function(y,u){y.indexOf("-")>-1?ti(y):Ft.test(y)?Qn(y):Ht.test(u)&&Ti(y,u),typeof u=="number"&&(isNaN(u)?xr(y,u):isFinite(u)||Nt(y,u))}}var io=Pn,oo=/["'&<>]/;function ta(y){q(y);var u=""+y,h=oo.exec(u);if(!h)return u;var m,w="",_,B=0;for(_=h.index;_<u.length;_++){switch(u.charCodeAt(_)){case 34:m=""";break;case 38:m="&";break;case 39:m="'";break;case 60:m="<";break;case 62:m=">";break;default:continue}B!==_&&(w+=u.substring(B,_)),B=_+1,w+=m}return B!==_?w+u.substring(B,_):w}function Rt(y){return typeof y=="boolean"||typeof y=="number"?""+y:ta(y)}var ao=/([A-Z])/g,ms=/^ms-/;function ys(y){return y.replace(ao,"-$1").toLowerCase().replace(ms,"-ms-")}var er=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,so=!1;function Ci(y){!so&&er.test(y)&&(so=!0,i("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(y)))}var Or=Array.isArray;function cn(y){return Or(y)}var tr=D("<script>"),Ei=D("<\/script>"),Ir=D('<script src="'),Br=D('<script type="module" src="'),nr=D('" async=""><\/script>');function Mr(y){return q(y),(""+y).replace(un,na)}var un=/(<\/|<)(s)(cript)/gi,na=function(y,u,h,m){return""+u+(h==="s"?"\\u0073":"\\u0053")+m};function ra(y,u,h,m,w){var _=y===void 0?"":y,B=u===void 0?tr:D('<script nonce="'+Rt(u)+'">'),L=[];if(h!==void 0&&L.push(B,v(Mr(h)),Ei),m!==void 0)for(var te=0;te<m.length;te++)L.push(Ir,v(Rt(m[te])),nr);if(w!==void 0)for(var pe=0;pe<w.length;pe++)L.push(Br,v(Rt(w[pe])),nr);return{bootstrapChunks:L,startInlineScript:B,placeholderPrefix:D(_+"P:"),segmentPrefix:D(_+"S:"),boundaryPrefix:_+"B:",idPrefix:_,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Dr=0,Ot=1,rr=2,ir=3,Nr=4,_i=5,Ln=6,or=7;function Gt(y,u){return{insertionMode:y,selectedValue:u}}function Pr(y){var u=y==="http://www.w3.org/2000/svg"?rr:y==="http://www.w3.org/1998/Math/MathML"?ir:Dr;return Gt(u,null)}function ni(y,u,h){switch(u){case"select":return Gt(Ot,h.value!=null?h.value:h.defaultValue);case"svg":return Gt(rr,null);case"math":return Gt(ir,null);case"foreignObject":return Gt(Ot,null);case"table":return Gt(Nr,null);case"thead":case"tbody":case"tfoot":return Gt(_i,null);case"colgroup":return Gt(or,null);case"tr":return Gt(Ln,null)}return y.insertionMode>=Nr||y.insertionMode===Dr?Gt(Ot,null):y}var ki=null;function Sn(y){var u=y.nextSuspenseID++;return D(y.boundaryPrefix+u.toString(16))}function ar(y,u,h){var m=y.idPrefix,w=":"+m+"R"+u;return h>0&&(w+="H"+h.toString(32)),w+":"}function Jt(y){return Rt(y)}var Ai=D("<!-- -->");function zt(y,u,h,m){return u===""?m:(m&&y.push(Ai),y.push(v(Jt(u))),!0)}function fn(y,u,h,m){h&&m&&y.push(Ai)}var T=new Map;function I(y){var u=T.get(y);if(u!==void 0)return u;var h=D(Rt(ys(y)));return T.set(y,h),h}var z=D(' style="'),K=D(":"),be=D(";");function he(y,u,h){if(typeof h!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var m=!0;for(var w in h)if(j.call(h,w)){var _=h[w];if(!(_==null||typeof _=="boolean"||_==="")){var B=void 0,L=void 0,te=w.indexOf("--")===0;te?(B=v(Rt(w)),N(_,w),L=v(Rt((""+_).trim()))):(io(w,_),B=I(w),typeof _=="number"?_!==0&&!j.call(oe,w)?L=v(_+"px"):L=v(""+_):(N(_,w),L=v(Rt((""+_).trim())))),m?(m=!1,y.push(z,B,K,L)):y.push(be,B,K,L)}}m||y.push(je)}var we=D(" "),Oe=D('="'),je=D('"'),qe=D('=""');function Ve(y,u,h,m){switch(h){case"style":{he(y,u,m);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(h.length>2&&(h[0]==="o"||h[0]==="O")&&(h[1]==="n"||h[1]==="N"))){var w=De(h);if(w!==null){switch(typeof m){case"function":case"symbol":return;case"boolean":if(!w.acceptsBooleans)return}var _=w.attributeName,B=v(_);switch(w.type){case Z:m&&y.push(we,B,qe);return;case k:m===!0?y.push(we,B,qe):m===!1||y.push(we,B,Oe,v(Rt(m)),je);return;case re:isNaN(m)||y.push(we,B,Oe,v(Rt(m)),je);break;case $:!isNaN(m)&&m>=1&&y.push(we,B,Oe,v(Rt(m)),je);break;default:w.sanitizeURL&&(M(m,_),m=""+m,Ci(m)),y.push(we,B,Oe,v(Rt(m)),je)}}else if(P(h)){switch(typeof m){case"function":case"symbol":return;case"boolean":{var L=h.toLowerCase().slice(0,5);if(L!=="data-"&&L!=="aria-")return}}y.push(we,v(h),Oe,v(Rt(m)),je)}}}var ut=D(">"),Yt=D("/>");function Zt(y,u,h){if(u!=null){if(h!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof u!="object"||!("__html"in u))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var m=u.__html;m!=null&&(q(m),y.push(v(""+m)))}}var Kt=!1,Wr=!1,sr=!1,Ui=!1,Lr=!1,ri=!1,wr=!1;function ii(y,u){{var h=y[u];if(h!=null){var m=cn(h);y.multiple&&!m?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",u):!y.multiple&&m&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",u)}}}function $u(y,u,h){ye("select",u),ii(u,"value"),ii(u,"defaultValue"),u.value!==void 0&&u.defaultValue!==void 0&&!sr&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),sr=!0),y.push(zn("select"));var m=null,w=null;for(var _ in u)if(j.call(u,_)){var B=u[_];if(B==null)continue;switch(_){case"children":m=B;break;case"dangerouslySetInnerHTML":w=B;break;case"defaultValue":case"value":break;default:Ve(y,h,_,B);break}}return y.push(ut),Zt(y,w,m),m}function ju(y){var u="";return t.Children.forEach(y,function(h){h!=null&&(u+=h,!Lr&&typeof h!="string"&&typeof h!="number"&&(Lr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),u}var ia=D(' selected=""');function lr(y,u,h,m){var w=m.selectedValue;y.push(zn("option"));var _=null,B=null,L=null,te=null;for(var pe in u)if(j.call(u,pe)){var Ce=u[pe];if(Ce==null)continue;switch(pe){case"children":_=Ce;break;case"selected":L=Ce,wr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),wr=!0);break;case"dangerouslySetInnerHTML":te=Ce;break;case"value":B=Ce;default:Ve(y,h,pe,Ce);break}}if(w!=null){var Fe;if(B!==null?(M(B,"value"),Fe=""+B):(te!==null&&(ri||(ri=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Fe=ju(_)),cn(w))for(var Pe=0;Pe<w.length;Pe++){M(w[Pe],"value");var Je=""+w[Pe];if(Je===Fe){y.push(ia);break}}else M(w,"select.value"),""+w===Fe&&y.push(ia)}else L&&y.push(ia);return y.push(ut),Zt(y,te,_),_}function Hu(y,u,h){ye("input",u),u.checked!==void 0&&u.defaultChecked!==void 0&&!Wr&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",u.type),Wr=!0),u.value!==void 0&&u.defaultValue!==void 0&&!Kt&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",u.type),Kt=!0),y.push(zn("input"));var m=null,w=null,_=null,B=null;for(var L in u)if(j.call(u,L)){var te=u[L];if(te==null)continue;switch(L){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":B=te;break;case"defaultValue":w=te;break;case"checked":_=te;break;case"value":m=te;break;default:Ve(y,h,L,te);break}}return _!==null?Ve(y,h,"checked",_):B!==null&&Ve(y,h,"checked",B),m!==null?Ve(y,h,"value",m):w!==null&&Ve(y,h,"value",w),y.push(Yt),null}function Sr(y,u,h){ye("textarea",u),u.value!==void 0&&u.defaultValue!==void 0&&!Ui&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Ui=!0),y.push(zn("textarea"));var m=null,w=null,_=null;for(var B in u)if(j.call(u,B)){var L=u[B];if(L==null)continue;switch(B){case"children":_=L;break;case"value":m=L;break;case"defaultValue":w=L;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Ve(y,h,B,L);break}}if(m===null&&w!==null&&(m=w),y.push(ut),_!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),m!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(cn(_)){if(_.length>1)throw new Error("<textarea> can only have at most one child.");q(_[0]),m=""+_[0]}q(_),m=""+_}return typeof m=="string"&&m[0]===`
|
|
321
|
+
`&&y.push(ai),m!==null&&(M(m,"value"),y.push(v(Jt(""+m)))),null}function bs(y,u,h,m){y.push(zn(h));for(var w in u)if(j.call(u,w)){var _=u[w];if(_==null)continue;switch(w){case"children":case"dangerouslySetInnerHTML":throw new Error(h+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ve(y,m,w,_);break}}return y.push(Yt),null}function oa(y,u,h){y.push(zn("menuitem"));for(var m in u)if(j.call(u,m)){var w=u[m];if(w==null)continue;switch(m){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Ve(y,h,m,w);break}}return y.push(ut),null}function gt(y,u,h){y.push(zn("title"));var m=null;for(var w in u)if(j.call(u,w)){var _=u[w];if(_==null)continue;switch(w){case"children":m=_;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Ve(y,h,w,_);break}}y.push(ut);{var B=Array.isArray(m)&&m.length<2?m[0]||null:m;Array.isArray(m)&&m.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):B!=null&&B.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):B!=null&&typeof B!="string"&&typeof B!="number"&&i("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return m}function oi(y,u,h,m){y.push(zn(h));var w=null,_=null;for(var B in u)if(j.call(u,B)){var L=u[B];if(L==null)continue;switch(B){case"children":w=L;break;case"dangerouslySetInnerHTML":_=L;break;default:Ve(y,m,B,L);break}}return y.push(ut),Zt(y,_,w),typeof w=="string"?(y.push(v(Jt(w))),null):w}function aa(y,u,h,m){y.push(zn(h));var w=null,_=null;for(var B in u)if(j.call(u,B)){var L=u[B];if(L==null)continue;switch(B){case"children":w=L;break;case"dangerouslySetInnerHTML":_=L;break;case"style":he(y,m,L);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:P(B)&&typeof L!="function"&&typeof L!="symbol"&&y.push(we,v(B),Oe,v(Rt(L)),je);break}}return y.push(ut),Zt(y,_,w),w}var ai=D(`
|
|
322
|
+
`);function zr(y,u,h,m){y.push(zn(h));var w=null,_=null;for(var B in u)if(j.call(u,B)){var L=u[B];if(L==null)continue;switch(B){case"children":w=L;break;case"dangerouslySetInnerHTML":_=L;break;default:Ve(y,m,B,L);break}}if(y.push(ut),_!=null){if(w!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof _!="object"||!("__html"in _))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var te=_.__html;te!=null&&(typeof te=="string"&&te.length>0&&te[0]===`
|
|
323
|
+
`?y.push(ai,v(te)):(q(te),y.push(v(""+te))))}return typeof w=="string"&&w[0]===`
|
|
324
|
+
`&&y.push(ai),w}var sa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,$r=new Map;function zn(y){var u=$r.get(y);if(u===void 0){if(!sa.test(y))throw new Error("Invalid tag: "+y);u=D("<"+y),$r.set(y,u)}return u}var vs=D("<!DOCTYPE html>");function lo(y,u,h,m,w){switch(ee(u,h),ue(u,h),Mt(u,h,null),!h.suppressContentEditableWarning&&h.contentEditable&&h.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),w.insertionMode!==rr&&w.insertionMode!==ir&&u.indexOf("-")===-1&&typeof h.is!="string"&&u.toLowerCase()!==u&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",u),u){case"select":return $u(y,h,m);case"option":return lr(y,h,m,w);case"textarea":return Sr(y,h,m);case"input":return Hu(y,h,m);case"menuitem":return oa(y,h,m);case"title":return gt(y,h,m);case"listing":case"pre":return zr(y,h,u,m);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return bs(y,h,u,m);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return oi(y,h,u,m);case"html":return w.insertionMode===Dr&&y.push(vs),oi(y,h,u,m);default:return u.indexOf("-")===-1&&typeof h.is!="string"?oi(y,h,u,m):aa(y,h,u,m)}}var Il=D("</"),la=D(">");function Bl(y,u,h){switch(u){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:y.push(Il,v(u),la)}}function Vu(y,u){for(var h=u.bootstrapChunks,m=0;m<h.length-1;m++)d(y,h[m]);return m<h.length?p(y,h[m]):!0}var qu=D('<template id="'),ca=D('"></template>');function Ml(y,u,h){d(y,qu),d(y,u.placeholderPrefix);var m=v(h.toString(16));return d(y,m),p(y,ca)}var co=D("<!--$-->"),xs=D('<!--$?--><template id="'),Xu=D('"></template>'),Fi=D("<!--$!-->"),Ds=D("<!--/$-->"),ws=D("<template"),Ri=D('"'),uo=D(' data-dgst="'),ua=D(' data-msg="'),Nl=D(' data-stck="'),Pl=D("></template>");function Wl(y,u){return p(y,co)}function fa(y,u,h){if(d(y,xs),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(y,h),p(y,Xu)}function dn(y,u,h,m,w){var _;return _=p(y,Fi),d(y,ws),h&&(d(y,uo),d(y,v(Rt(h))),d(y,Ri)),m&&(d(y,ua),d(y,v(Rt(m))),d(y,Ri)),w&&(d(y,Nl),d(y,v(Rt(w))),d(y,Ri)),_=p(y,Pl),_}function Ll(y,u){return p(y,Ds)}function da(y,u){return p(y,Ds)}function Gu(y,u){return p(y,Ds)}var zl=D('<div hidden id="'),ha=D('">'),$l=D("</div>"),jl=D('<svg aria-hidden="true" style="display:none" id="'),pa=D('">'),ga=D("</svg>"),Hl=D('<math aria-hidden="true" style="display:none" id="'),Vl=D('">'),ql=D("</math>"),Ss=D('<table hidden id="'),Xl=D('">'),C=D("</table>"),R=D('<table hidden><tbody id="'),W=D('">'),Y=D("</tbody></table>"),ve=D('<table hidden><tr id="'),ge=D('">'),Te=D("</tr></table>"),Ie=D('<table hidden><colgroup id="'),Xe=D('">'),et=D("</colgroup></table>");function Ze(y,u,h,m){switch(h.insertionMode){case Dr:case Ot:return d(y,zl),d(y,u.segmentPrefix),d(y,v(m.toString(16))),p(y,ha);case rr:return d(y,jl),d(y,u.segmentPrefix),d(y,v(m.toString(16))),p(y,pa);case ir:return d(y,Hl),d(y,u.segmentPrefix),d(y,v(m.toString(16))),p(y,Vl);case Nr:return d(y,Ss),d(y,u.segmentPrefix),d(y,v(m.toString(16))),p(y,Xl);case _i:return d(y,R),d(y,u.segmentPrefix),d(y,v(m.toString(16))),p(y,W);case Ln:return d(y,ve),d(y,u.segmentPrefix),d(y,v(m.toString(16))),p(y,ge);case or:return d(y,Ie),d(y,u.segmentPrefix),d(y,v(m.toString(16))),p(y,Xe);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function bt(y,u){switch(u.insertionMode){case Dr:case Ot:return p(y,$l);case rr:return p(y,ga);case ir:return p(y,ql);case Nr:return p(y,C);case _i:return p(y,Y);case Ln:return p(y,Te);case or:return p(y,et);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var hn="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",$n='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',jn='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',ma=D(hn+';$RS("'),Gl=D('$RS("'),fo=D('","'),Ey=D('")<\/script>');function _y(y,u,h){d(y,u.startInlineScript),u.sentCompleteSegmentFunction?d(y,Gl):(u.sentCompleteSegmentFunction=!0,d(y,ma)),d(y,u.segmentPrefix);var m=v(h.toString(16));return d(y,m),d(y,fo),d(y,u.placeholderPrefix),d(y,m),p(y,Ey)}var Ju=D($n+';$RC("'),ky=D('$RC("'),Ay=D('","'),hh=D('")<\/script>');function ph(y,u,h,m){if(d(y,u.startInlineScript),u.sentCompleteBoundaryFunction?d(y,ky):(u.sentCompleteBoundaryFunction=!0,d(y,Ju)),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var w=v(m.toString(16));return d(y,h),d(y,Ay),d(y,u.segmentPrefix),d(y,w),p(y,hh)}var Uy=D(jn+';$RX("'),Fy=D('$RX("'),Ry=D('"'),Oy=D(")<\/script>"),Tn=D(",");function Iy(y,u,h,m,w,_){if(d(y,u.startInlineScript),u.sentClientRenderFunction?d(y,Fy):(u.sentClientRenderFunction=!0,d(y,Uy)),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(y,h),d(y,Ry),(m||w||_)&&(d(y,Tn),d(y,v(Jl(m||"")))),(w||_)&&(d(y,Tn),d(y,v(Jl(w||"")))),_&&(d(y,Tn),d(y,v(Jl(_)))),p(y,Oy)}var gh=/[<\u2028\u2029]/g;function Jl(y){var u=JSON.stringify(y);return u.replace(gh,function(h){switch(h){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Hn=Object.assign,mh=Symbol.for("react.element"),Yl=Symbol.for("react.portal"),Zl=Symbol.for("react.fragment"),Kl=Symbol.for("react.strict_mode"),Ql=Symbol.for("react.profiler"),Ts=Symbol.for("react.provider"),Cs=Symbol.for("react.context"),ya=Symbol.for("react.forward_ref"),Yu=Symbol.for("react.suspense"),Zu=Symbol.for("react.suspense_list"),Ku=Symbol.for("react.memo"),ec=Symbol.for("react.lazy"),yh=Symbol.for("react.scope"),By=Symbol.for("react.debug_trace_mode"),My=Symbol.for("react.legacy_hidden"),Ny=Symbol.for("react.default_value"),Qu=Symbol.iterator,St="@@iterator";function Es(y){if(y===null||typeof y!="object")return null;var u=Qu&&y[Qu]||y[St];return typeof u=="function"?u:null}function bh(y,u,h){var m=y.displayName;if(m)return m;var w=u.displayName||u.name||"";return w!==""?h+"("+w+")":h}function ef(y){return y.displayName||"Context"}function Dt(y){if(y==null)return null;if(typeof y.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case Zl:return"Fragment";case Yl:return"Portal";case Ql:return"Profiler";case Kl:return"StrictMode";case Yu:return"Suspense";case Zu:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case Cs:var u=y;return ef(u)+".Consumer";case Ts:var h=y;return ef(h._context)+".Provider";case ya:return bh(y,y.render,"ForwardRef");case Ku:var m=y.displayName||null;return m!==null?m:Dt(y.type)||"Memo";case ec:{var w=y,_=w._payload,B=w._init;try{return Dt(B(_))}catch{return null}}}return null}var ba=0,tf,nf,rf,of,vh,xh,tc;function nc(){}nc.__reactDisabledLog=!0;function _s(){{if(ba===0){tf=console.log,nf=console.info,rf=console.warn,of=console.error,vh=console.group,xh=console.groupCollapsed,tc=console.groupEnd;var y={configurable:!0,enumerable:!0,value:nc,writable:!0};Object.defineProperties(console,{info:y,log:y,warn:y,error:y,group:y,groupCollapsed:y,groupEnd:y})}ba++}}function af(){{if(ba--,ba===0){var y={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Hn({},y,{value:tf}),info:Hn({},y,{value:nf}),warn:Hn({},y,{value:rf}),error:Hn({},y,{value:of}),group:Hn({},y,{value:vh}),groupCollapsed:Hn({},y,{value:xh}),groupEnd:Hn({},y,{value:tc})})}ba<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var va=n.ReactCurrentDispatcher,sf;function ho(y,u,h){{if(sf===void 0)try{throw Error()}catch(w){var m=w.stack.trim().match(/\n( *(at )?)/);sf=m&&m[1]||""}return`
|
|
325
|
+
`+sf+y}}var lf=!1,ks;{var Py=typeof WeakMap=="function"?WeakMap:Map;ks=new Py}function As(y,u){if(!y||lf)return"";{var h=ks.get(y);if(h!==void 0)return h}var m;lf=!0;var w=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var _;_=va.current,va.current=null,_s();try{if(u){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(pt){m=pt}Reflect.construct(y,[],B)}else{try{B.call()}catch(pt){m=pt}y.call(B.prototype)}}else{try{throw Error()}catch(pt){m=pt}y()}}catch(pt){if(pt&&m&&typeof pt.stack=="string"){for(var L=pt.stack.split(`
|
|
326
|
+
`),te=m.stack.split(`
|
|
327
|
+
`),pe=L.length-1,Ce=te.length-1;pe>=1&&Ce>=0&&L[pe]!==te[Ce];)Ce--;for(;pe>=1&&Ce>=0;pe--,Ce--)if(L[pe]!==te[Ce]){if(pe!==1||Ce!==1)do if(pe--,Ce--,Ce<0||L[pe]!==te[Ce]){var Fe=`
|
|
328
|
+
`+L[pe].replace(" at new "," at ");return y.displayName&&Fe.includes("<anonymous>")&&(Fe=Fe.replace("<anonymous>",y.displayName)),typeof y=="function"&&ks.set(y,Fe),Fe}while(pe>=1&&Ce>=0);break}}}finally{lf=!1,va.current=_,af(),Error.prepareStackTrace=w}var Pe=y?y.displayName||y.name:"",Je=Pe?ho(Pe):"";return typeof y=="function"&&ks.set(y,Je),Je}function Dh(y,u,h){return As(y,!0)}function cf(y,u,h){return As(y,!1)}function rc(y){var u=y.prototype;return!!(u&&u.isReactComponent)}function ic(y,u,h){if(y==null)return"";if(typeof y=="function")return As(y,rc(y));if(typeof y=="string")return ho(y);switch(y){case Yu:return ho("Suspense");case Zu:return ho("SuspenseList")}if(typeof y=="object")switch(y.$$typeof){case ya:return cf(y.render);case Ku:return ic(y.type,u,h);case ec:{var m=y,w=m._payload,_=m._init;try{return ic(_(w),u,h)}catch{}}}return""}var oc={},Us=n.ReactDebugCurrentFrame;function Fs(y){if(y){var u=y._owner,h=ic(y.type,y._source,u?u.type:null);Us.setExtraStackFrame(h)}else Us.setExtraStackFrame(null)}function wh(y,u,h,m,w){{var _=Function.call.bind(j);for(var B in y)if(_(y,B)){var L=void 0;try{if(typeof y[B]!="function"){var te=Error((m||"React class")+": "+h+" type `"+B+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof y[B]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw te.name="Invariant Violation",te}L=y[B](u,B,m,h,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(pe){L=pe}L&&!(L instanceof Error)&&(Fs(w),i("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",m||"React class",h,B,typeof L),Fs(null)),L instanceof Error&&!(L.message in oc)&&(oc[L.message]=!0,Fs(w),i("Failed %s type: %s",h,L.message),Fs(null))}}}var po;po={};var ac={};Object.freeze(ac);function Oi(y,u){{var h=y.contextTypes;if(!h)return ac;var m={};for(var w in h)m[w]=u[w];{var _=Dt(y)||"Unknown";wh(h,m,"context",_)}return m}}function uf(y,u,h,m){{if(typeof y.getChildContext!="function"){{var w=Dt(u)||"Unknown";po[w]||(po[w]=!0,i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",w,w))}return h}var _=y.getChildContext();for(var B in _)if(!(B in m))throw new Error((Dt(u)||"Unknown")+'.getChildContext(): key "'+B+'" is not defined in childContextTypes.');{var L=Dt(u)||"Unknown";wh(m,_,"child context",L)}return Hn({},h,_)}}var go;go={};var sc=null,Ii=null;function lc(y){y.context._currentValue=y.parentValue}function cc(y){y.context._currentValue=y.value}function Rs(y,u){if(y!==u){lc(y);var h=y.parent,m=u.parent;if(h===null){if(m!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(m===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Rs(h,m)}cc(u)}}function Os(y){lc(y);var u=y.parent;u!==null&&Os(u)}function Sh(y){var u=y.parent;u!==null&&Sh(u),cc(y)}function Th(y,u){lc(y);var h=y.parent;if(h===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");h.depth===u.depth?Rs(h,u):Th(h,u)}function Ch(y,u){var h=u.parent;if(h===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");y.depth===h.depth?Rs(y,h):Ch(y,h),cc(u)}function Bi(y){var u=Ii,h=y;u!==h&&(u===null?Sh(h):h===null?Os(u):u.depth===h.depth?Rs(u,h):u.depth>h.depth?Th(u,h):Ch(u,h),Ii=h)}function ff(y,u){var h;h=y._currentValue,y._currentValue=u,y._currentRenderer!==void 0&&y._currentRenderer!==null&&y._currentRenderer!==go&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),y._currentRenderer=go;var m=Ii,w={parent:m,depth:m===null?0:m.depth+1,context:y,parentValue:h,value:u};return Ii=w,w}function Wy(y){var u=Ii;if(u===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");u.context!==y&&i("The parent context is not the expected context. This is probably a bug in React.");{var h=u.parentValue;h===Ny?u.context._currentValue=u.context._defaultValue:u.context._currentValue=h,y._currentRenderer!==void 0&&y._currentRenderer!==null&&y._currentRenderer!==go&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),y._currentRenderer=go}return Ii=u.parent}function Eh(){return Ii}function xa(y){var u=y._currentValue;return u}function Is(y){return y._reactInternals}function df(y,u){y._reactInternals=u}var uc={},fc={},dc,Da,Bs,Ms,hc,Ns,pc,gc,hf;{dc=new Set,Da=new Set,Bs=new Set,pc=new Set,Ms=new Set,gc=new Set,hf=new Set;var _h=new Set;Ns=function(y,u){if(!(y===null||typeof y=="function")){var h=u+"_"+y;_h.has(h)||(_h.add(h),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u,y))}},hc=function(y,u){if(u===void 0){var h=Dt(y)||"Component";Ms.has(h)||(Ms.add(h),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",h))}}}function kh(y,u){{var h=y.constructor,m=h&&Dt(h)||"ReactClass",w=m+"."+u;if(uc[w])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
329
|
+
|
|
330
|
+
Please check the code for the %s component.`,u,u,m),uc[w]=!0}}var Ah={isMounted:function(y){return!1},enqueueSetState:function(y,u,h){var m=Is(y);m.queue===null?kh(y,"setState"):(m.queue.push(u),h!=null&&Ns(h,"setState"))},enqueueReplaceState:function(y,u,h){var m=Is(y);m.replace=!0,m.queue=[u],h!=null&&Ns(h,"setState")},enqueueForceUpdate:function(y,u){var h=Is(y);h.queue===null?kh(y,"forceUpdate"):u!=null&&Ns(u,"setState")}};function Ly(y,u,h,m,w){var _=h(w,m);hc(u,_);var B=_==null?m:Hn({},m,_);return B}function Uh(y,u,h){var m=ac,w=y.contextType;if("contextType"in y){var _=w===null||w!==void 0&&w.$$typeof===Cs&&w._context===void 0;if(!_&&!hf.has(y)){hf.add(y);var B="";w===void 0?B=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof w!="object"?B=" However, it is set to a "+typeof w+".":w.$$typeof===Ts?B=" Did you accidentally pass the Context.Provider instead?":w._context!==void 0?B=" Did you accidentally pass the Context.Consumer instead?":B=" However, it is set to an object with keys {"+Object.keys(w).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Dt(y)||"Component",B)}}typeof w=="object"&&w!==null?m=xa(w):m=h;var L=new y(u,m);{if(typeof y.getDerivedStateFromProps=="function"&&(L.state===null||L.state===void 0)){var te=Dt(y)||"Component";dc.has(te)||(dc.add(te),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",te,L.state===null?"null":"undefined",te))}if(typeof y.getDerivedStateFromProps=="function"||typeof L.getSnapshotBeforeUpdate=="function"){var pe=null,Ce=null,Fe=null;if(typeof L.componentWillMount=="function"&&L.componentWillMount.__suppressDeprecationWarning!==!0?pe="componentWillMount":typeof L.UNSAFE_componentWillMount=="function"&&(pe="UNSAFE_componentWillMount"),typeof L.componentWillReceiveProps=="function"&&L.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Ce="componentWillReceiveProps":typeof L.UNSAFE_componentWillReceiveProps=="function"&&(Ce="UNSAFE_componentWillReceiveProps"),typeof L.componentWillUpdate=="function"&&L.componentWillUpdate.__suppressDeprecationWarning!==!0?Fe="componentWillUpdate":typeof L.UNSAFE_componentWillUpdate=="function"&&(Fe="UNSAFE_componentWillUpdate"),pe!==null||Ce!==null||Fe!==null){var Pe=Dt(y)||"Component",Je=typeof y.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Bs.has(Pe)||(Bs.add(Pe),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
331
|
+
|
|
332
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
333
|
+
|
|
334
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
335
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,Pe,Je,pe!==null?`
|
|
336
|
+
`+pe:"",Ce!==null?`
|
|
337
|
+
`+Ce:"",Fe!==null?`
|
|
338
|
+
`+Fe:""))}}}return L}function zy(y,u,h){{var m=Dt(u)||"Component",w=y.render;w||(u.prototype&&typeof u.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",m):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",m)),y.getInitialState&&!y.getInitialState.isReactClassApproved&&!y.state&&i("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",m),y.getDefaultProps&&!y.getDefaultProps.isReactClassApproved&&i("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",m),y.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",m),y.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",m),y.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",m),u.contextType&&u.contextTypes&&!gc.has(u)&&(gc.add(u),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",m)),typeof y.componentShouldUpdate=="function"&&i("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",m),u.prototype&&u.prototype.isPureReactComponent&&typeof y.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Dt(u)||"A pure component"),typeof y.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",m),typeof y.componentDidReceiveProps=="function"&&i("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",m),typeof y.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",m),typeof y.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",m);var _=y.props!==h;y.props!==void 0&&_&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",m,m),y.defaultProps&&i("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",m,m),typeof y.getSnapshotBeforeUpdate=="function"&&typeof y.componentDidUpdate!="function"&&!Da.has(u)&&(Da.add(u),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Dt(u))),typeof y.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof y.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",m),typeof u.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",m);var B=y.state;B&&(typeof B!="object"||cn(B))&&i("%s.state: must be set to an object or null",m),typeof y.getChildContext=="function"&&typeof u.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",m)}}function $y(y,u){var h=u.state;if(typeof u.componentWillMount=="function"){if(u.componentWillMount.__suppressDeprecationWarning!==!0){var m=Dt(y)||"Unknown";fc[m]||(r(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
339
|
+
|
|
340
|
+
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
341
|
+
|
|
342
|
+
Please update the following components: %s`,m),fc[m]=!0)}u.componentWillMount()}typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),h!==u.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Dt(y)||"Component"),Ah.enqueueReplaceState(u,u.state,null))}function pf(y,u,h,m){if(y.queue!==null&&y.queue.length>0){var w=y.queue,_=y.replace;if(y.queue=null,y.replace=!1,_&&w.length===1)u.state=w[0];else{for(var B=_?w[0]:u.state,L=!0,te=_?1:0;te<w.length;te++){var pe=w[te],Ce=typeof pe=="function"?pe.call(u,B,h,m):pe;Ce!=null&&(L?(L=!1,B=Hn({},B,Ce)):Hn(B,Ce))}u.state=B}}else y.queue=null}function Ps(y,u,h,m){zy(y,u,h);var w=y.state!==void 0?y.state:null;y.updater=Ah,y.props=h,y.state=w;var _={queue:[],replace:!1};df(y,_);var B=u.contextType;if(typeof B=="object"&&B!==null?y.context=xa(B):y.context=m,y.state===h){var L=Dt(u)||"Component";pc.has(L)||(pc.add(L),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",L))}var te=u.getDerivedStateFromProps;typeof te=="function"&&(y.state=Ly(y,u,te,w,h)),typeof u.getDerivedStateFromProps!="function"&&typeof y.getSnapshotBeforeUpdate!="function"&&(typeof y.UNSAFE_componentWillMount=="function"||typeof y.componentWillMount=="function")&&($y(u,y),pf(_,y,h,m))}var jy={id:1,overflow:""};function Hy(y){var u=y.overflow,h=y.id,m=h&~Vy(h);return m.toString(32)+u}function gf(y,u,h){var m=y.id,w=y.overflow,_=mc(m)-1,B=m&~(1<<_),L=h+1,te=mc(u)+_;if(te>30){var pe=_-_%5,Ce=(1<<pe)-1,Fe=(B&Ce).toString(32),Pe=B>>pe,Je=_-pe,pt=mc(u)+Je,qt=L<<Je,wo=qt|Pe,So=Fe+w;return{id:1<<pt|wo,overflow:So}}else{var fi=L<<_,ka=fi|B,Db=w;return{id:1<<te|ka,overflow:Db}}}function mc(y){return 32-qy(y)}function Vy(y){return 1<<mc(y)-1}var qy=Math.clz32?Math.clz32:mf,Xy=Math.log,si=Math.LN2;function mf(y){var u=y>>>0;return u===0?32:31-(Xy(u)/si|0)|0}function yc(y,u){return y===u&&(y!==0||1/y===1/u)||y!==y&&u!==u}var xt=typeof Object.is=="function"?Object.is:yc,Vn=null,wa=null,mo=null,ft=null,Mi=!1,bc=!1,qn=0,Xn=null,jr=0,Gy=25,Tr=!1,Ni;function yo(){if(Vn===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
343
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
344
|
+
2. You might be breaking the Rules of Hooks
|
|
345
|
+
3. You might have more than one copy of React in the same app
|
|
346
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Tr&&i("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Vn}function Jy(y,u){if(u===null)return i("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Ni),!1;y.length!==u.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
347
|
+
|
|
348
|
+
Previous: %s
|
|
349
|
+
Incoming: %s`,Ni,"["+y.join(", ")+"]","["+u.join(", ")+"]");for(var h=0;h<u.length&&h<y.length;h++)if(!xt(y[h],u[h]))return!1;return!0}function yf(){if(jr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ws(){return ft===null?mo===null?(Mi=!1,mo=ft=yf()):(Mi=!0,ft=mo):ft.next===null?(Mi=!1,ft=ft.next=yf()):(Mi=!0,ft=ft.next),ft}function Yy(y,u){Vn=u,wa=y,Tr=!1,qn=0}function Zy(y,u,h,m){for(;bc;)bc=!1,qn=0,jr+=1,ft=null,h=y(u,m);return bf(),h}function vc(){var y=qn!==0;return y}function bf(){Tr=!1,Vn=null,wa=null,bc=!1,mo=null,jr=0,Xn=null,ft=null}function Fh(y){return Tr&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),xa(y)}function Rh(y){return Ni="useContext",yo(),xa(y)}function vf(y,u){return typeof u=="function"?u(y):u}function Ky(y){return Ni="useState",Oh(vf,y)}function Oh(y,u,h){if(y!==vf&&(Ni="useReducer"),Vn=yo(),ft=Ws(),Mi){var m=ft.queue,w=m.dispatch;if(Xn!==null){var _=Xn.get(m);if(_!==void 0){Xn.delete(m);var B=ft.memoizedState,L=_;do{var te=L.action;Tr=!0,B=y(B,te),Tr=!1,L=L.next}while(L!==null);return ft.memoizedState=B,[B,w]}}return[ft.memoizedState,w]}else{Tr=!0;var pe;y===vf?pe=typeof u=="function"?u():u:pe=h!==void 0?h(u):u,Tr=!1,ft.memoizedState=pe;var Ce=ft.queue={last:null,dispatch:null},Fe=Ce.dispatch=tb.bind(null,Vn,Ce);return[ft.memoizedState,Fe]}}function Ih(y,u){Vn=yo(),ft=Ws();var h=u===void 0?null:u;if(ft!==null){var m=ft.memoizedState;if(m!==null&&h!==null){var w=m[1];if(Jy(h,w))return m[0]}}Tr=!0;var _=y();return Tr=!1,ft.memoizedState=[_,h],_}function Qy(y){Vn=yo(),ft=Ws();var u=ft.memoizedState;if(u===null){var h={current:y};return Object.seal(h),ft.memoizedState=h,h}else return u}function eb(y,u){Ni="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function tb(y,u,h){if(jr>=Gy)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(y===Vn){bc=!0;var m={action:h,next:null};Xn===null&&(Xn=new Map);var w=Xn.get(u);if(w===void 0)Xn.set(u,m);else{for(var _=w;_.next!==null;)_=_.next;_.next=m}}}function nb(y,u){return Ih(function(){return y},u)}function rb(y,u,h){return yo(),u(y._source)}function ib(y,u,h){if(h===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return h()}function xc(y){return yo(),y}function Bh(){throw new Error("startTransition cannot be called during server rendering.")}function xf(){return yo(),[!1,Bh]}function Mh(){var y=wa,u=Hy(y.treeContext),h=Ls;if(h===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var m=qn++;return ar(h,u,m)}function Dc(){}var wc={readContext:Fh,useContext:Rh,useMemo:Ih,useReducer:Oh,useRef:Qy,useState:Ky,useInsertionEffect:Dc,useLayoutEffect:eb,useCallback:nb,useImperativeHandle:Dc,useEffect:Dc,useDebugValue:Dc,useDeferredValue:xc,useTransition:xf,useId:Mh,useMutableSource:rb,useSyncExternalStore:ib},Ls=null;function Sc(y){Ls=y}function Sa(y){try{var u="",h=y;do{switch(h.tag){case 0:u+=ho(h.type,null,null);break;case 1:u+=cf(h.type,null,null);break;case 2:u+=Dh(h.type,null,null);break}h=h.parent}while(h);return u}catch(m){return`
|
|
350
|
+
Error generating stack: `+m.message+`
|
|
351
|
+
`+m.stack}}var Tc=n.ReactCurrentDispatcher,Cc=n.ReactDebugCurrentFrame,Ec=0,Ta=1,Df=2,bo=3,Nh=4,ob=0,Ca=1,Ea=2,ab=12800;function sb(y){return console.error(y),null}function vo(){}function _c(y,u,h,m,w,_,B,L,te){var pe=[],Ce=new Set,Fe={destination:null,responseState:u,progressiveChunkSize:m===void 0?ab:m,status:ob,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ce,pingedTasks:pe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:w===void 0?sb:w,onAllReady:_===void 0?vo:_,onShellReady:B===void 0?vo:B,onShellError:L===void 0?vo:L,onFatalError:te===void 0?vo:te},Pe=zs(Fe,0,null,h,!1,!1);Pe.parentFlushed=!0;var Je=xo(Fe,y,null,Pe,Ce,ac,sc,jy);return pe.push(Je),Fe}function li(y,u){var h=y.pingedTasks;h.push(u),h.length===1&&a(function(){return Rf(y)})}function wf(y,u){return{id:ki,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u,errorDigest:null}}function xo(y,u,h,m,w,_,B,L){y.allPendingTasks++,h===null?y.pendingRootTasks++:h.pendingTasks++;var te={node:u,ping:function(){return li(y,te)},blockedBoundary:h,blockedSegment:m,abortSet:w,legacyContext:_,context:B,treeContext:L};return te.componentStack=null,w.add(te),te}function zs(y,u,h,m,w,_){return{status:Ec,id:-1,index:u,parentFlushed:!1,chunks:[],children:[],formatContext:m,boundary:h,lastPushedText:w,textEmbedded:_}}var ci=null;function Hr(){return ci===null||ci.componentStack===null?"":Sa(ci.componentStack)}function ui(y,u){y.componentStack={tag:0,parent:y.componentStack,type:u}}function kc(y,u){y.componentStack={tag:1,parent:y.componentStack,type:u}}function $s(y,u){y.componentStack={tag:2,parent:y.componentStack,type:u}}function Cr(y){y.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):y.componentStack=y.componentStack.parent}var js=null;function Sf(y,u){{var h;typeof u=="string"?h=u:u&&typeof u.message=="string"?h=u.message:h=String(u);var m=js||Hr();js=null,y.errorMessage=h,y.errorComponentStack=m}}function Hs(y,u){var h=y.onError(u);if(h!=null&&typeof h!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof h+'" instead');return h}function Vs(y,u){var h=y.onShellError;h(u);var m=y.onFatalError;m(u),y.destination!==null?(y.status=Ea,S(y.destination,u)):(y.status=Ca,y.fatalError=u)}function Ph(y,u,h){ui(u,"Suspense");var m=u.blockedBoundary,w=u.blockedSegment,_=h.fallback,B=h.children,L=new Set,te=wf(y,L),pe=w.chunks.length,Ce=zs(y,pe,te,w.formatContext,!1,!1);w.children.push(Ce),w.lastPushedText=!1;var Fe=zs(y,0,null,w.formatContext,!1,!1);Fe.parentFlushed=!0,u.blockedBoundary=te,u.blockedSegment=Fe;try{if(_a(y,u,B),fn(Fe.chunks,y.responseState,Fe.lastPushedText,Fe.textEmbedded),Fe.status=Ta,Do(te,Fe),te.pendingTasks===0){Cr(u);return}}catch(Je){Fe.status=Nh,te.forceClientRender=!0,te.errorDigest=Hs(y,Je),Sf(te,Je)}finally{u.blockedBoundary=m,u.blockedSegment=w}var Pe=xo(y,_,m,Ce,L,u.legacyContext,u.context,u.treeContext);Pe.componentStack=u.componentStack,y.pingedTasks.push(Pe),Cr(u)}function lb(y,u,h,m){ui(u,h);var w=u.blockedSegment,_=lo(w.chunks,h,m,y.responseState,w.formatContext);w.lastPushedText=!1;var B=w.formatContext;w.formatContext=ni(B,h,m),_a(y,u,_),w.formatContext=B,Bl(w.chunks,h),w.lastPushedText=!1,Cr(u)}function Wh(y){return y.prototype&&y.prototype.isReactComponent}function qs(y,u,h,m,w){var _={};Yy(u,_);var B=h(m,w);return Zy(h,m,B,w)}function Tf(y,u,h,m,w){var _=h.render();h.props!==w&&(kf||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Dt(m)||"a component"),kf=!0);{var B=m.childContextTypes;if(B!=null){var L=u.legacyContext,te=uf(h,m,L,B);u.legacyContext=te,pn(y,u,_),u.legacyContext=L;return}}pn(y,u,_)}function Lh(y,u,h,m){$s(u,h);var w=Oi(h,u.legacyContext),_=Uh(h,m,w);Ps(_,h,m,w),Tf(y,u,_,h,m),Cr(u)}var Cf={},Xs={},Ef={},_f={},kf=!1,zh={},$h=!1,Af=!1,jh=!1;function cb(y,u,h,m){var w;if(w=Oi(h,u.legacyContext),kc(u,h),h.prototype&&typeof h.prototype.render=="function"){var _=Dt(h)||"Unknown";Cf[_]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",_,_),Cf[_]=!0)}var B=qs(y,u,h,m,w),L=vc();if(typeof B=="object"&&B!==null&&typeof B.render=="function"&&B.$$typeof===void 0){var te=Dt(h)||"Unknown";Xs[te]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",te,te,te),Xs[te]=!0)}if(typeof B=="object"&&B!==null&&typeof B.render=="function"&&B.$$typeof===void 0){{var pe=Dt(h)||"Unknown";Xs[pe]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",pe,pe,pe),Xs[pe]=!0)}Ps(B,h,m,w),Tf(y,u,B,h,m)}else if(ub(h),L){var Ce=u.treeContext,Fe=1,Pe=0;u.treeContext=gf(Ce,Fe,Pe);try{pn(y,u,B)}finally{u.treeContext=Ce}}else pn(y,u,B);Cr(u)}function ub(y){{if(y&&y.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",y.displayName||y.name||"Component"),y.defaultProps!==void 0){var u=Dt(y)||"Unknown";zh[u]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",u),zh[u]=!0)}if(typeof y.getDerivedStateFromProps=="function"){var h=Dt(y)||"Unknown";_f[h]||(i("%s: Function components do not support getDerivedStateFromProps.",h),_f[h]=!0)}if(typeof y.contextType=="object"&&y.contextType!==null){var m=Dt(y)||"Unknown";Ef[m]||(i("%s: Function components do not support contextType.",m),Ef[m]=!0)}}}function Hh(y,u){if(y&&y.defaultProps){var h=Hn({},u),m=y.defaultProps;for(var w in m)h[w]===void 0&&(h[w]=m[w]);return h}return u}function fb(y,u,h,m,w){kc(u,h.render);var _=qs(y,u,h.render,m,w),B=vc();if(B){var L=u.treeContext,te=1,pe=0;u.treeContext=gf(L,te,pe);try{pn(y,u,_)}finally{u.treeContext=L}}else pn(y,u,_);Cr(u)}function Uf(y,u,h,m,w){var _=h.type,B=Hh(_,m);Ac(y,u,_,B,w)}function db(y,u,h,m){h._context===void 0?h!==h.Consumer&&(jh||(jh=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):h=h._context;var w=m.children;typeof w!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var _=xa(h),B=w(_);pn(y,u,B)}function Gn(y,u,h,m){var w=h._context,_=m.value,B=m.children,L;L=u.context,u.context=ff(w,_),pn(y,u,B),u.context=Wy(w),L!==u.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function hb(y,u,h,m,w){ui(u,"Lazy");var _=h._payload,B=h._init,L=B(_),te=Hh(L,m);Ac(y,u,L,te,w),Cr(u)}function Ac(y,u,h,m,w){if(typeof h=="function")if(Wh(h)){Lh(y,u,h,m);return}else{cb(y,u,h,m);return}if(typeof h=="string"){lb(y,u,h,m);return}switch(h){case My:case By:case Kl:case Ql:case Zl:{pn(y,u,m.children);return}case Zu:{ui(u,"SuspenseList"),pn(y,u,m.children),Cr(u);return}case yh:throw new Error("ReactDOMServer does not yet support scope components.");case Yu:{Ph(y,u,m);return}}if(typeof h=="object"&&h!==null)switch(h.$$typeof){case ya:{fb(y,u,h,m,w);return}case Ku:{Uf(y,u,h,m,w);return}case Ts:{Gn(y,u,h,m);return}case Cs:{db(y,u,h,m);return}case ec:{hb(y,u,h,m);return}}var _="";throw(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(h==null?h:typeof h)+"."+_))}function pb(y,u){typeof Symbol=="function"&&y[Symbol.toStringTag]==="Generator"&&($h||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),$h=!0),y.entries===u&&(Af||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Af=!0)}function pn(y,u,h){try{return gb(y,u,h)}catch(m){throw typeof m=="object"&&m!==null&&typeof m.then=="function"||(js=js!==null?js:Hr()),m}}function gb(y,u,h){if(u.node=h,typeof h=="object"&&h!==null){switch(h.$$typeof){case mh:{var m=h,w=m.type,_=m.props,B=m.ref;Ac(y,u,w,_,B);return}case Yl:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case ec:{var L=h,te=L._payload,pe=L._init,Ce;try{Ce=pe(te)}catch(fi){throw typeof fi=="object"&&fi!==null&&typeof fi.then=="function"&&ui(u,"Lazy"),fi}pn(y,u,Ce);return}}if(cn(h)){Vh(y,u,h);return}var Fe=Es(h);if(Fe){pb(h,Fe);var Pe=Fe.call(h);if(Pe){var Je=Pe.next();if(!Je.done){var pt=[];do pt.push(Je.value),Je=Pe.next();while(!Je.done);Vh(y,u,pt);return}return}}var qt=Object.prototype.toString.call(h);throw new Error("Objects are not valid as a React child (found: "+(qt==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":qt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof h=="string"){var wo=u.blockedSegment;wo.lastPushedText=zt(u.blockedSegment.chunks,h,y.responseState,wo.lastPushedText);return}if(typeof h=="number"){var So=u.blockedSegment;So.lastPushedText=zt(u.blockedSegment.chunks,""+h,y.responseState,So.lastPushedText);return}typeof h=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Vh(y,u,h){for(var m=h.length,w=0;w<m;w++){var _=u.treeContext;u.treeContext=gf(_,m,w);try{_a(y,u,h[w])}finally{u.treeContext=_}}}function qh(y,u,h){var m=u.blockedSegment,w=m.chunks.length,_=zs(y,w,null,m.formatContext,m.lastPushedText,!0);m.children.push(_),m.lastPushedText=!1;var B=xo(y,u.node,u.blockedBoundary,_,u.abortSet,u.legacyContext,u.context,u.treeContext);u.componentStack!==null&&(B.componentStack=u.componentStack.parent);var L=B.ping;h.then(L,L)}function _a(y,u,h){var m=u.blockedSegment.formatContext,w=u.legacyContext,_=u.context,B=null;B=u.componentStack;try{return pn(y,u,h)}catch(L){if(bf(),typeof L=="object"&&L!==null&&typeof L.then=="function"){qh(y,u,L),u.blockedSegment.formatContext=m,u.legacyContext=w,u.context=_,Bi(_),u.componentStack=B;return}else throw u.blockedSegment.formatContext=m,u.legacyContext=w,u.context=_,Bi(_),u.componentStack=B,L}}function Xh(y,u,h,m){var w=Hs(y,m);if(u===null?Vs(y,m):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=w,Sf(u,m),u.parentFlushed&&y.clientRenderedBoundaries.push(u))),y.allPendingTasks--,y.allPendingTasks===0){var _=y.onAllReady;_()}}function mb(y){var u=this,h=y.blockedBoundary,m=y.blockedSegment;m.status=bo,Gs(u,h,m)}function Ff(y,u,h){var m=y.blockedBoundary,w=y.blockedSegment;if(w.status=bo,m===null)u.allPendingTasks--,u.status!==Ea&&(u.status=Ea,u.destination!==null&&b(u.destination));else{if(m.pendingTasks--,!m.forceClientRender){m.forceClientRender=!0;var _=h===void 0?new Error("The render was aborted by the server without a reason."):h;m.errorDigest=u.onError(_);{var B="The server did not finish this Suspense boundary: ";_&&typeof _.message=="string"?_=B+_.message:_=B+String(_);var L=ci;ci=y;try{Sf(m,_)}finally{ci=L}}m.parentFlushed&&u.clientRenderedBoundaries.push(m)}if(m.fallbackAbortableTasks.forEach(function(pe){return Ff(pe,u,h)}),m.fallbackAbortableTasks.clear(),u.allPendingTasks--,u.allPendingTasks===0){var te=u.onAllReady;te()}}}function Do(y,u){if(u.chunks.length===0&&u.children.length===1&&u.children[0].boundary===null){var h=u.children[0];h.id=u.id,h.parentFlushed=!0,h.status===Ta&&Do(y,h)}else{var m=y.completedSegments;m.push(u)}}function Gs(y,u,h){if(u===null){if(h.parentFlushed){if(y.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");y.completedRootSegment=h}if(y.pendingRootTasks--,y.pendingRootTasks===0){y.onShellError=vo;var m=y.onShellReady;m()}}else if(u.pendingTasks--,!u.forceClientRender){if(u.pendingTasks===0)h.parentFlushed&&h.status===Ta&&Do(u,h),u.parentFlushed&&y.completedBoundaries.push(u),u.fallbackAbortableTasks.forEach(mb,y),u.fallbackAbortableTasks.clear();else if(h.parentFlushed&&h.status===Ta){Do(u,h);var w=u.completedSegments;w.length===1&&u.parentFlushed&&y.partialBoundaries.push(u)}}if(y.allPendingTasks--,y.allPendingTasks===0){var _=y.onAllReady;_()}}function yb(y,u){var h=u.blockedSegment;if(h.status===Ec){Bi(u.context);var m=null;m=ci,ci=u;try{pn(y,u,u.node),fn(h.chunks,y.responseState,h.lastPushedText,h.textEmbedded),u.abortSet.delete(u),h.status=Ta,Gs(y,u.blockedBoundary,h)}catch(_){if(bf(),typeof _=="object"&&_!==null&&typeof _.then=="function"){var w=u.ping;_.then(w,w)}else u.abortSet.delete(u),h.status=Nh,Xh(y,u.blockedBoundary,h,_)}finally{ci=m}}}function Rf(y){if(y.status!==Ea){var u=Eh(),h=Tc.current;Tc.current=wc;var m;m=Cc.getCurrentStack,Cc.getCurrentStack=Hr;var w=Ls;Sc(y.responseState);try{var _=y.pingedTasks,B;for(B=0;B<_.length;B++){var L=_[B];yb(y,L)}_.splice(0,B),y.destination!==null&&Of(y,y.destination)}catch(te){Hs(y,te),Vs(y,te)}finally{Sc(w),Tc.current=h,Cc.getCurrentStack=m,h===wc&&Bi(u)}}}function Js(y,u,h){switch(h.parentFlushed=!0,h.status){case Ec:{var m=h.id=y.nextSegmentId++;return h.lastPushedText=!1,h.textEmbedded=!1,Ml(u,y.responseState,m)}case Ta:{h.status=Df;for(var w=!0,_=h.chunks,B=0,L=h.children,te=0;te<L.length;te++){for(var pe=L[te];B<pe.index;B++)d(u,_[B]);w=Uc(y,u,pe)}for(;B<_.length-1;B++)d(u,_[B]);return B<_.length&&(w=p(u,_[B])),w}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Uc(y,u,h){var m=h.boundary;if(m===null)return Js(y,u,h);if(m.parentFlushed=!0,m.forceClientRender)return dn(u,y.responseState,m.errorDigest,m.errorMessage,m.errorComponentStack),Js(y,u,h),Gu(u,y.responseState);if(m.pendingTasks>0){m.rootSegmentID=y.nextSegmentId++,m.completedSegments.length>0&&y.partialBoundaries.push(m);var w=m.id=Sn(y.responseState);return fa(u,y.responseState,w),Js(y,u,h),da(u,y.responseState)}else{if(m.byteSize>y.progressiveChunkSize)return m.rootSegmentID=y.nextSegmentId++,y.completedBoundaries.push(m),fa(u,y.responseState,m.id),Js(y,u,h),da(u,y.responseState);Wl(u,y.responseState);var _=m.completedSegments;if(_.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var B=_[0];return Uc(y,u,B),Ll(u,y.responseState)}}function Gh(y,u,h){return Iy(u,y.responseState,h.id,h.errorDigest,h.errorMessage,h.errorComponentStack)}function Fc(y,u,h){return Ze(u,y.responseState,h.formatContext,h.id),Uc(y,u,h),bt(u,h.formatContext)}function Jh(y,u,h){for(var m=h.completedSegments,w=0;w<m.length;w++){var _=m[w];Yh(y,u,h,_)}return m.length=0,ph(u,y.responseState,h.id,h.rootSegmentID)}function bb(y,u,h){for(var m=h.completedSegments,w=0;w<m.length;w++){var _=m[w];if(!Yh(y,u,h,_))return w++,m.splice(0,w),!1}return m.splice(0,w),!0}function Yh(y,u,h,m){if(m.status===Df)return!0;var w=m.id;if(w===-1){var _=m.id=h.rootSegmentID;if(_===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Fc(y,u,m)}else return Fc(y,u,m),_y(u,y.responseState,w)}function Of(y,u){f();try{var h=y.completedRootSegment;h!==null&&y.pendingRootTasks===0&&(Uc(y,u,h),y.completedRootSegment=null,Vu(u,y.responseState));var m=y.clientRenderedBoundaries,w;for(w=0;w<m.length;w++){var _=m[w];Gh(y,u,_)}m.splice(0,w);var B=y.completedBoundaries;for(w=0;w<B.length;w++){var L=B[w];Jh(y,u,L)}B.splice(0,w),g(u),f(u);var te=y.partialBoundaries;for(w=0;w<te.length;w++){var pe=te[w];if(!bb(y,u,pe)){y.destination=null,w++,te.splice(0,w);return}}te.splice(0,w);var Ce=y.completedBoundaries;for(w=0;w<Ce.length;w++){var Fe=Ce[w];Jh(y,u,Fe)}Ce.splice(0,w)}finally{g(u),y.allPendingTasks===0&&y.pingedTasks.length===0&&y.clientRenderedBoundaries.length===0&&y.completedBoundaries.length===0&&(y.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),b(u))}}function Zh(y){a(function(){return Rf(y)})}function vb(y,u){if(y.status===Ca){y.status=Ea,S(u,y.fatalError);return}if(y.status!==Ea&&y.destination===null){y.destination=u;try{Of(y,u)}catch(h){Hs(y,h),Vs(y,h)}}}function Kh(y,u){try{var h=y.abortableTasks;h.forEach(function(m){return Ff(m,y,u)}),h.clear(),y.destination!==null&&Of(y,y.destination)}catch(m){Hs(y,m),Vs(y,m)}}function xb(y,u){return new Promise(function(h,m){var w,_,B=new Promise(function(Pe,Je){_=Pe,w=Je});function L(){var Pe=new ReadableStream({type:"bytes",pull:function(Je){vb(pe,Je)},cancel:function(Je){Kh(pe)}},{highWaterMark:0});Pe.allReady=B,h(Pe)}function te(Pe){B.catch(function(){}),m(Pe)}var pe=_c(y,ra(u?u.identifierPrefix:void 0,u?u.nonce:void 0,u?u.bootstrapScriptContent:void 0,u?u.bootstrapScripts:void 0,u?u.bootstrapModules:void 0),Pr(u?u.namespaceURI:void 0),u?u.progressiveChunkSize:void 0,u?u.onError:void 0,_,L,te,w);if(u&&u.signal){var Ce=u.signal,Fe=function(){Kh(pe,Ce.reason),Ce.removeEventListener("abort",Fe)};Ce.addEventListener("abort",Fe)}Zh(pe)})}Dp.renderToReadableStream=xb,Dp.version=e}()),Dp}var vl,Q0;process.env.NODE_ENV==="production"?(vl=IJ(),Q0=BJ()):(vl=MJ(),Q0=NJ());Ol.version=vl.version;Ol.renderToString=vl.renderToString;Ol.renderToStaticMarkup=vl.renderToStaticMarkup;Ol.renderToNodeStream=vl.renderToNodeStream;Ol.renderToStaticNodeStream=vl.renderToStaticNodeStream;Ol.renderToReadableStream=Q0.renderToReadableStream;const wp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",PJ=t=>{t=t.replace(/\r\n/g,`
|
|
352
|
+
`);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},WJ=t=>{let e,n,r,i,o,a,s,l=0,c="";for(t=PJ(t);l<t.length;)e=t.charCodeAt(l++),n=t.charCodeAt(l++),r=t.charCodeAt(l++),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),c=c+wp.charAt(i)+wp.charAt(o)+wp.charAt(a)+wp.charAt(s);return c},LJ=t=>typeof t=="string"?"string":typeof SVGElement<"u"&&t instanceof SVGElement?"element":void 0,$8=t=>"data:image/svg+xml;base64,"+WJ(t),zJ=t=>$8(new XMLSerializer().serializeToString(t)),$J=t=>{switch(LJ(t)){case"string":return $8(t);case"element":return zJ(t);default:return t}},Xi=()=>new Map,e2=t=>{const e=Xi();return t.forEach((n,r)=>{e.set(r,n)}),e},Pu=(t,e,n)=>{let r=t.get(e);return r===void 0&&t.set(e,r=n()),r},jJ=(t,e)=>{const n=[];for(const[r,i]of t)n.push(e(i,r));return n},HJ=(t,e)=>{for(const[n,r]of t)if(e(r,n))return!0;return!1},wu=()=>new Set,R1=t=>t[t.length-1],Su=Array.from,VJ=Array.isArray;class qJ{constructor(){this._observers=Xi()}on(e,n){return Pu(this._observers,e,wu).add(n),n}once(e,n){const r=(...i)=>{this.off(e,r),n(...i)};this.on(e,r)}off(e,n){const r=this._observers.get(e);r!==void 0&&(r.delete(n),r.size===0&&this._observers.delete(e))}emit(e,n){return Su((this._observers.get(e)||Xi()).values()).forEach(r=>r(...n))}destroy(){this._observers=Xi()}}const xl=Math.floor,qp=Math.abs,j8=(t,e)=>t<e?t:e,Wu=(t,e)=>t>e?t:e,XJ=t=>t!==0?t<0:1/t<0,p_=1,g_=2,O1=4,I1=8,GJ=32,H8=64,sm=128,JJ=31,m_=63,dd=127,YJ=2147483647,ZJ=Number.isInteger||(t=>typeof t=="number"&&isFinite(t)&&xl(t)===t),KJ=t=>t.toLowerCase(),QJ=/^\s*/g,eY=t=>t.replace(QJ,""),tY=/([A-Z])/g,y_=(t,e)=>eY(t.replace(tY,n=>`${e}${KJ(n)}`)),nY=t=>{const e=unescape(encodeURIComponent(t)),n=e.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=e.codePointAt(i);return r},zd=typeof TextEncoder<"u"?new TextEncoder:null,rY=t=>zd.encode(t),iY=zd?rY:nY;let B1=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});B1&&B1.decode(new Uint8Array).length===1&&(B1=null);class fh{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const OD=()=>new fh,oY=t=>{let e=t.cpos;for(let n=0;n<t.bufs.length;n++)e+=t.bufs[n].length;return e},Po=t=>{const e=new Uint8Array(oY(t));let n=0;for(let r=0;r<t.bufs.length;r++){const i=t.bufs[r];e.set(i,n),n+=i.length}return e.set(new Uint8Array(t.cbuf.buffer,0,t.cpos),n),e},aY=(t,e)=>{const n=t.cbuf.length;n-t.cpos<e&&(t.bufs.push(new Uint8Array(t.cbuf.buffer,0,t.cpos)),t.cbuf=new Uint8Array(Wu(n,e)*2),t.cpos=0)},en=(t,e)=>{const n=t.cbuf.length;t.cpos===n&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(n*2),t.cpos=0),t.cbuf[t.cpos++]=e},t2=en,wt=(t,e)=>{for(;e>dd;)en(t,sm|dd&e),e=xl(e/128);en(t,dd&e)},ID=(t,e)=>{const n=XJ(e);for(n&&(e=-e),en(t,(e>m_?sm:0)|(n?H8:0)|m_&e),e=xl(e/64);e>0;)en(t,(e>dd?sm:0)|dd&e),e=xl(e/128)},n2=new Uint8Array(3e4),sY=n2.length/3,lY=(t,e)=>{if(e.length<sY){const n=zd.encodeInto(e,n2).written||0;wt(t,n);for(let r=0;r<n;r++)en(t,n2[r])}else Er(t,iY(e))},cY=(t,e)=>{const n=unescape(encodeURIComponent(e)),r=n.length;wt(t,r);for(let i=0;i<r;i++)en(t,n.codePointAt(i))},au=zd&&zd.encodeInto?lY:cY,BD=(t,e)=>{const n=t.cbuf.length,r=t.cpos,i=j8(n-r,e.length),o=e.length-i;t.cbuf.set(e.subarray(0,i),r),t.cpos+=i,o>0&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(Wu(n*2,o)),t.cbuf.set(e.subarray(i)),t.cpos=o)},Er=(t,e)=>{wt(t,e.byteLength),BD(t,e)},MD=(t,e)=>{aY(t,e);const n=new DataView(t.cbuf.buffer,t.cpos,e);return t.cpos+=e,n},uY=(t,e)=>MD(t,4).setFloat32(0,e,!1),fY=(t,e)=>MD(t,8).setFloat64(0,e,!1),dY=(t,e)=>MD(t,8).setBigInt64(0,e,!1),b_=new DataView(new ArrayBuffer(4)),hY=t=>(b_.setFloat32(0,t),b_.getFloat32(0)===t),$d=(t,e)=>{switch(typeof e){case"string":en(t,119),au(t,e);break;case"number":ZJ(e)&&qp(e)<=YJ?(en(t,125),ID(t,e)):hY(e)?(en(t,124),uY(t,e)):(en(t,123),fY(t,e));break;case"bigint":en(t,122),dY(t,e);break;case"object":if(e===null)en(t,126);else if(VJ(e)){en(t,117),wt(t,e.length);for(let n=0;n<e.length;n++)$d(t,e[n])}else if(e instanceof Uint8Array)en(t,116),Er(t,e);else{en(t,118);const n=Object.keys(e);wt(t,n.length);for(let r=0;r<n.length;r++){const i=n[r];au(t,i),$d(t,e[i])}}break;case"boolean":en(t,e?120:121);break;default:en(t,127)}};class v_ extends fh{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&wt(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}const x_=t=>{t.count>0&&(ID(t.encoder,t.count===1?t.s:-t.s),t.count>1&&wt(t.encoder,t.count-2))};class Xp{constructor(){this.encoder=new fh,this.s=0,this.count=0}write(e){this.s===e?this.count++:(x_(this),this.count=1,this.s=e)}toUint8Array(){return x_(this),Po(this.encoder)}}const D_=t=>{if(t.count>0){const e=t.diff*2+(t.count===1?0:1);ID(t.encoder,e),t.count>1&&wt(t.encoder,t.count-2)}};class M1{constructor(){this.encoder=new fh,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(D_(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return D_(this),Po(this.encoder)}}class pY{constructor(){this.sarr=[],this.s="",this.lensE=new Xp}write(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}toUint8Array(){const e=new fh;return this.sarr.push(this.s),this.s="",au(e,this.sarr.join("")),BD(e,this.lensE.toUint8Array()),Po(e)}}const Tu=t=>new Error(t),Gi=()=>{throw Tu("Method unimplemented")},as=()=>{throw Tu("Unexpected case")},gY=crypto.getRandomValues.bind(crypto),V8=()=>gY(new Uint32Array(1))[0],mY="10000000-1000-4000-8000"+-1e11,yY=()=>mY.replace(/[018]/g,t=>(t^V8()&15>>t/4).toString(16)),w_=t=>new Promise(t);Promise.all.bind(Promise);const S_=t=>t===void 0?null:t;class bY{constructor(){this.map=new Map}setItem(e,n){this.map.set(e,n)}getItem(e){return this.map.get(e)}}let q8=new bY,vY=!0;try{typeof localStorage<"u"&&localStorage&&(q8=localStorage,vY=!1)}catch{}const xY=q8,DY=Object.assign,wY=Object.keys,SY=(t,e)=>{for(const n in t)e(t[n],n)},T_=t=>wY(t).length,TY=t=>{for(const e in t)return!1;return!0},CY=(t,e)=>{for(const n in t)if(!e(t[n],n))return!1;return!0},EY=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),_Y=(t,e)=>t===e||T_(t)===T_(e)&&CY(t,(n,r)=>(n!==void 0||EY(e,r))&&e[r]===n),kY=Object.freeze,X8=t=>{for(const e in t){const n=t[e];(typeof n=="object"||typeof n=="function")&&X8(t[e])}return kY(t)},ND=(t,e,n=0)=>{try{for(;n<t.length;n++)t[n](...e)}finally{n<t.length&&ND(t,e,n+1)}},AY=(t,e)=>e.includes(t),jd=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]";let Pi;const UY=()=>{if(Pi===void 0)if(jd){Pi=Xi();const t=process.argv;let e=null;for(let n=0;n<t.length;n++){const r=t[n];r[0]==="-"?(e!==null&&Pi.set(e,""),e=r):e!==null&&(Pi.set(e,r),e=null)}e!==null&&Pi.set(e,"")}else typeof location=="object"?(Pi=Xi(),(location.search||"?").slice(1).split("&").forEach(t=>{if(t.length!==0){const[e,n]=t.split("=");Pi.set(`--${y_(e,"-")}`,n),Pi.set(`-${y_(e,"-")}`,n)}})):Pi=Xi();return Pi},r2=t=>UY().has(t),lm=t=>S_(jd?process.env[t.toUpperCase().replaceAll("-","_")]:xY.getItem(t)),G8=t=>r2("--"+t)||lm(t)!==null;G8("production");const FY=jd&&AY(process.env.FORCE_COLOR,["true","1","2"]),RY=FY||!r2("--no-colors")&&!G8("no-color")&&(!jd||process.stdout.isTTY)&&(!jd||r2("--color")||lm("COLORTERM")!==null||(lm("TERM")||"").includes("color"));class OY{constructor(e,n){this.left=e,this.right=n}}const Ro=(t,e)=>new OY(t,e);typeof DOMParser<"u"&&new DOMParser;const IY=t=>jJ(t,(e,n)=>`${n}:${e};`).join(""),ea=Symbol,J8=ea(),Y8=ea(),BY=ea(),MY=ea(),NY=ea(),Z8=ea(),PY=ea(),PD=ea(),WY=ea(),LY=t=>{var i;t.length===1&&((i=t[0])==null?void 0:i.constructor)===Function&&(t=t[0]());const e=[],n=[];let r=0;for(;r<t.length;r++){const o=t[r];if(o===void 0)break;if(o.constructor===String||o.constructor===Number)e.push(o);else if(o.constructor===Object)break}for(r>0&&n.push(e.join(""));r<t.length;r++){const o=t[r];o instanceof Symbol||n.push(o)}return n},zY={[J8]:Ro("font-weight","bold"),[Y8]:Ro("font-weight","normal"),[BY]:Ro("color","blue"),[NY]:Ro("color","green"),[MY]:Ro("color","grey"),[Z8]:Ro("color","red"),[PY]:Ro("color","purple"),[PD]:Ro("color","orange"),[WY]:Ro("color","black")},$Y=t=>{var a;t.length===1&&((a=t[0])==null?void 0:a.constructor)===Function&&(t=t[0]());const e=[],n=[],r=Xi();let i=[],o=0;for(;o<t.length;o++){const s=t[o],l=zY[s];if(l!==void 0)r.set(l.left,l.right);else{if(s===void 0)break;if(s.constructor===String||s.constructor===Number){const c=IY(r);o>0||c.length>0?(e.push("%c"+s),n.push(c)):e.push(s)}else break}}for(o>0&&(i=n,i.unshift(e.join("")));o<t.length;o++){const s=t[o];s instanceof Symbol||i.push(s)}return i},K8=RY?$Y:LY,jY=(...t)=>{console.log(...K8(t)),Q8.forEach(e=>e.print(t))},HY=(...t)=>{console.warn(...K8(t)),t.unshift(PD),Q8.forEach(e=>e.print(t))},Q8=wu(),eO=t=>({[Symbol.iterator](){return this},next:t}),VY=(t,e)=>eO(()=>{let n;do n=t.next();while(!n.done&&!e(n.value));return n}),N1=(t,e)=>eO(()=>{const{done:n,value:r}=t.next();return{done:n,value:n?void 0:e(r)}});class qY{constructor(e,n){this.clock=e,this.len=n}}class XY{constructor(){this.clients=new Map}}const tO=(t,e,n)=>e.clients.forEach((r,i)=>{const o=t.doc.store.clients.get(i);for(let a=0;a<r.length;a++){const s=r[a];lO(t,o,s.clock,s.len,n)}}),GY=(t,e)=>{let n=0,r=t.length-1;for(;n<=r;){const i=xl((n+r)/2),o=t[i],a=o.clock;if(a<=e){if(e<a+o.len)return i;n=i+1}else r=i-1}return null},nO=(t,e)=>{const n=t.clients.get(e.client);return n!==void 0&&GY(n,e.clock)!==null},rO=t=>{t.clients.forEach(e=>{e.sort((i,o)=>i.clock-o.clock);let n,r;for(n=1,r=1;n<e.length;n++){const i=e[r-1],o=e[n];i.clock+i.len>=o.clock?i.len=Wu(i.len,o.clock+o.len-i.clock):(r<n&&(e[r]=o),r++)}e.length=r})},iO=(t,e,n,r)=>{Pu(t.clients,e,()=>[]).push(new qY(n,r))},JY=(t,e)=>{wt(t.restEncoder,e.clients.size),Su(e.clients.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{t.resetDsCurVal(),wt(t.restEncoder,n);const i=r.length;wt(t.restEncoder,i);for(let o=0;o<i;o++){const a=r[o];t.writeDsClock(a.clock),t.writeDsLen(a.len)}})},oO=V8;class dh extends qJ{constructor({guid:e=yY(),collectionid:n=null,gc:r=!0,gcFilter:i=()=>!0,meta:o=null,autoLoad:a=!1,shouldLoad:s=!0}={}){super(),this.gc=r,this.gcFilter=i,this.clientID=oO(),this.guid=e,this.collectionid=n,this.share=new Map,this.store=new iZ,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=a,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.isDestroyed=!1,this.whenLoaded=w_(c=>{this.on("load",()=>{this.isLoaded=!0,c(this)})});const l=()=>w_(c=>{const f=d=>{(d===void 0||d===!0)&&(this.off("sync",f),c())};this.on("sync",f)});this.on("sync",c=>{c===!1&&this.isSynced&&(this.whenSynced=l()),this.isSynced=c===void 0||c===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[this])}),this.whenSynced=l()}load(){const e=this._item;e!==null&&!this.shouldLoad&&kt(e.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Su(this.subdocs).map(e=>e.guid))}transact(e,n=null){return kt(this,e,n)}get(e,n=bn){const r=Pu(this.share,e,()=>{const o=new n;return o._integrate(this,null),o}),i=r.constructor;if(n!==bn&&i!==n)if(i===bn){const o=new n;o._map=r._map,r._map.forEach(a=>{for(;a!==null;a=a.left)a.parent=o}),o._start=r._start;for(let a=o._start;a!==null;a=a.right)a.parent=o;return o._length=r._length,this.share.set(e,o),o._integrate(this,null),o}else throw new Error(`Type with the name ${e} has already been defined with a different constructor`);return r}getArray(e=""){return this.get(e,hd)}getText(e=""){return this.get(e,Xd)}getMap(e=""){return this.get(e,dm)}getXmlElement(e=""){return this.get(e,Gd)}getXmlFragment(e=""){return this.get(e,Cu)}toJSON(){const e={};return this.share.forEach((n,r)=>{e[r]=n.toJSON()}),e}destroy(){this.isDestroyed=!0,Su(this.subdocs).forEach(n=>n.destroy());const e=this._item;if(e!==null){this._item=null;const n=e.content;n.doc=new dh({guid:this.guid,...n.opts,shouldLoad:!1}),n.doc._item=e,kt(e.parent.doc,r=>{const i=n.doc;e.deleted||r.subdocsAdded.add(i),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}}class YY{constructor(){this.restEncoder=OD()}toUint8Array(){return Po(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){wt(this.restEncoder,e)}writeDsLen(e){wt(this.restEncoder,e)}}class ZY extends YY{writeLeftID(e){wt(this.restEncoder,e.client),wt(this.restEncoder,e.clock)}writeRightID(e){wt(this.restEncoder,e.client),wt(this.restEncoder,e.clock)}writeClient(e){wt(this.restEncoder,e)}writeInfo(e){t2(this.restEncoder,e)}writeString(e){au(this.restEncoder,e)}writeParentInfo(e){wt(this.restEncoder,e?1:0)}writeTypeRef(e){wt(this.restEncoder,e)}writeLen(e){wt(this.restEncoder,e)}writeAny(e){$d(this.restEncoder,e)}writeBuf(e){Er(this.restEncoder,e)}writeJSON(e){au(this.restEncoder,JSON.stringify(e))}writeKey(e){au(this.restEncoder,e)}}class KY{constructor(){this.restEncoder=OD(),this.dsCurrVal=0}toUint8Array(){return Po(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){const n=e-this.dsCurrVal;this.dsCurrVal=e,wt(this.restEncoder,n)}writeDsLen(e){e===0&&as(),wt(this.restEncoder,e-1),this.dsCurrVal+=e}}class QY extends KY{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new M1,this.clientEncoder=new Xp,this.leftClockEncoder=new M1,this.rightClockEncoder=new M1,this.infoEncoder=new v_(t2),this.stringEncoder=new pY,this.parentInfoEncoder=new v_(t2),this.typeRefEncoder=new Xp,this.lenEncoder=new Xp}toUint8Array(){const e=OD();return wt(e,0),Er(e,this.keyClockEncoder.toUint8Array()),Er(e,this.clientEncoder.toUint8Array()),Er(e,this.leftClockEncoder.toUint8Array()),Er(e,this.rightClockEncoder.toUint8Array()),Er(e,Po(this.infoEncoder)),Er(e,this.stringEncoder.toUint8Array()),Er(e,Po(this.parentInfoEncoder)),Er(e,this.typeRefEncoder.toUint8Array()),Er(e,this.lenEncoder.toUint8Array()),BD(e,Po(this.restEncoder)),Po(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){$d(this.restEncoder,e)}writeBuf(e){Er(this.restEncoder,e)}writeJSON(e){$d(this.restEncoder,e)}writeKey(e){const n=this.keyMap.get(e);n===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(n)}}const eZ=(t,e,n,r)=>{r=Wu(r,e[0].id.clock);const i=qo(e,r);wt(t.restEncoder,e.length-i),t.writeClient(n),wt(t.restEncoder,r);const o=e[i];o.write(t,r-o.id.clock);for(let a=i+1;a<e.length;a++)e[a].write(t,0)},tZ=(t,e,n)=>{const r=new Map;n.forEach((i,o)=>{dr(e,o)>i&&r.set(o,i)}),WD(e).forEach((i,o)=>{n.has(o)||r.set(o,0)}),wt(t.restEncoder,r.size),Su(r.entries()).sort((i,o)=>o[0]-i[0]).forEach(([i,o])=>{eZ(t,e.clients.get(i),i,o)})},nZ=(t,e)=>tZ(t,e.doc.store,e.beforeState);class rZ{constructor(){this.l=[]}}const C_=()=>new rZ,E_=(t,e)=>t.l.push(e),__=(t,e)=>{const n=t.l,r=n.length;t.l=n.filter(i=>e!==i),r===t.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},aO=(t,e,n)=>ND(t.l,[e,n]);class Gp{constructor(e,n){this.client=e,this.clock=n}}const Sp=(t,e)=>t===e||t!==null&&e!==null&&t.client===e.client&&t.clock===e.clock,At=(t,e)=>new Gp(t,e),Hd=t=>{for(const[e,n]of t.doc.share.entries())if(n===t)return e;throw as()};class cm{constructor(e,n,r,i=0){this.type=e,this.tname=n,this.item=r,this.assoc=i}}const Tp=(t,e,n)=>{let r=null,i=null;return t._item===null?i=Hd(t):r=At(t._item.id.client,t._item.id.clock),new cm(r,i,e,n)},P1=(t,e,n=0)=>{let r=t._start;if(n<0){if(e===0)return Tp(t,null,n);e--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>e)return Tp(t,At(r.id.client,r.id.clock+e),n);e-=r.length}if(r.right===null&&n<0)return Tp(t,r.lastId,n);r=r.right}return Tp(t,null,n)},qc=(t,e)=>e===void 0?!t.deleted:e.sv.has(t.id.client)&&(e.sv.get(t.id.client)||0)>t.id.clock&&!nO(e.ds,t.id),i2=(t,e)=>{const n=Pu(t.meta,i2,wu),r=t.doc.store;n.has(e)||(e.sv.forEach((i,o)=>{i<dr(r,o)&&ss(t,At(o,i))}),tO(t,e.ds,i=>{}),n.add(e))};class iZ{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const WD=t=>{const e=new Map;return t.clients.forEach((n,r)=>{const i=n[n.length-1];e.set(r,i.id.clock+i.length)}),e},dr=(t,e)=>{const n=t.clients.get(e);if(n===void 0)return 0;const r=n[n.length-1];return r.id.clock+r.length},sO=(t,e)=>{let n=t.clients.get(e.id.client);if(n===void 0)n=[],t.clients.set(e.id.client,n);else{const r=n[n.length-1];if(r.id.clock+r.length!==e.id.clock)throw as()}n.push(e)},qo=(t,e)=>{let n=0,r=t.length-1,i=t[r],o=i.id.clock;if(o===e)return r;let a=xl(e/(o+i.length-1)*r);for(;n<=r;){if(i=t[a],o=i.id.clock,o<=e){if(e<o+i.length)return a;n=a+1}else r=a-1;a=xl((n+r)/2)}throw as()},oZ=(t,e)=>{const n=t.clients.get(e.client);return n[qo(n,e.clock)]},W1=oZ,o2=(t,e,n)=>{const r=qo(e,n),i=e[r];return i.id.clock<n&&i instanceof Un?(e.splice(r+1,0,EO(t,i,n-i.id.clock)),r+1):r},ss=(t,e)=>{const n=t.doc.store.clients.get(e.client);return n[o2(t,n,e.clock)]},k_=(t,e,n)=>{const r=e.clients.get(n.client),i=qo(r,n.clock),o=r[i];return n.clock!==o.id.clock+o.length-1&&o.constructor!==Ha&&r.splice(i+1,0,EO(t,o,n.clock-o.id.clock+1)),o},aZ=(t,e,n)=>{const r=t.clients.get(e.id.client);r[qo(r,e.id.clock)]=n},lO=(t,e,n,r,i)=>{if(r===0)return;const o=n+r;let a=o2(t,e,n),s;do s=e[a++],o<s.id.clock+s.length&&o2(t,e,o),i(s);while(a<e.length&&e[a].id.clock<o)};class sZ{constructor(e,n,r){this.doc=e,this.deleteSet=new XY,this.beforeState=WD(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=n,this.meta=new Map,this.local=r,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}}const A_=(t,e)=>e.deleteSet.clients.size===0&&!HJ(e.afterState,(n,r)=>e.beforeState.get(r)!==n)?!1:(rO(e.deleteSet),nZ(t,e),JY(t,e.deleteSet),!0),U_=(t,e,n)=>{const r=e._item;(r===null||r.id.clock<(t.beforeState.get(r.id.client)||0)&&!r.deleted)&&Pu(t.changed,e,wu).add(n)},Jp=(t,e)=>{let n=t[e],r=t[e-1],i=e;for(;i>0;n=r,r=t[--i-1]){if(r.deleted===n.deleted&&r.constructor===n.constructor&&r.mergeWith(n)){n instanceof Un&&n.parentSub!==null&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,r);continue}break}const o=e-i;return o&&t.splice(e+1-o,o),o},lZ=(t,e,n)=>{for(const[r,i]of t.clients.entries()){const o=e.clients.get(r);for(let a=i.length-1;a>=0;a--){const s=i[a],l=s.clock+s.len;for(let c=qo(o,s.clock),f=o[c];c<o.length&&f.id.clock<l;f=o[++c]){const d=o[c];if(s.clock+s.len<=d.id.clock)break;d instanceof Un&&d.deleted&&!d.keep&&n(d)&&d.gc(e,!1)}}}},cZ=(t,e)=>{t.clients.forEach((n,r)=>{const i=e.clients.get(r);for(let o=n.length-1;o>=0;o--){const a=n[o],s=j8(i.length-1,1+qo(i,a.clock+a.len-1));for(let l=s,c=i[l];l>0&&c.id.clock>=a.clock;c=i[l])l-=1+Jp(i,l)}})},cO=(t,e)=>{if(e<t.length){const n=t[e],r=n.doc,i=r.store,o=n.deleteSet,a=n._mergeStructs;try{rO(o),n.afterState=WD(n.doc.store),r.emit("beforeObserverCalls",[n,r]);const s=[];n.changed.forEach((l,c)=>s.push(()=>{(c._item===null||!c._item.deleted)&&c._callObserver(n,l)})),s.push(()=>{n.changedParentTypes.forEach((l,c)=>{c._dEH.l.length>0&&(c._item===null||!c._item.deleted)&&(l=l.filter(f=>f.target._item===null||!f.target._item.deleted),l.forEach(f=>{f.currentTarget=c,f._path=null}),l.sort((f,d)=>f.path.length-d.path.length),aO(c._dEH,l,n))})}),s.push(()=>r.emit("afterTransaction",[n,r])),ND(s,[]),n._needFormattingCleanup&&DZ(n)}finally{r.gc&&lZ(o,i,r.gcFilter),cZ(o,i),n.afterState.forEach((f,d)=>{const p=n.beforeState.get(d)||0;if(p!==f){const g=i.clients.get(d),b=Wu(qo(g,p),1);for(let x=g.length-1;x>=b;)x-=1+Jp(g,x)}});for(let f=a.length-1;f>=0;f--){const{client:d,clock:p}=a[f].id,g=i.clients.get(d),b=qo(g,p);b+1<g.length&&Jp(g,b+1)>1||b>0&&Jp(g,b)}if(!n.local&&n.afterState.get(r.clientID)!==n.beforeState.get(r.clientID)&&(jY(PD,J8,"[yjs] ",Y8,Z8,"Changed the client-id because another client seems to be using it."),r.clientID=oO()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){const f=new ZY;A_(f,n)&&r.emit("update",[f.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){const f=new QY;A_(f,n)&&r.emit("updateV2",[f.toUint8Array(),n.origin,r,n])}const{subdocsAdded:s,subdocsLoaded:l,subdocsRemoved:c}=n;(s.size>0||c.size>0||l.size>0)&&(s.forEach(f=>{f.clientID=r.clientID,f.collectionid==null&&(f.collectionid=r.collectionid),r.subdocs.add(f)}),c.forEach(f=>r.subdocs.delete(f)),r.emit("subdocs",[{loaded:l,added:s,removed:c},r,n]),c.forEach(f=>f.destroy())),t.length<=e+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,t])):cO(t,e+1)}}},kt=(t,e,n=null,r=!0)=>{const i=t._transactionCleanups;let o=!1,a=null;t._transaction===null&&(o=!0,t._transaction=new sZ(t,n,r),i.push(t._transaction),i.length===1&&t.emit("beforeAllTransactions",[t]),t.emit("beforeTransaction",[t._transaction,t]));try{a=e(t._transaction)}finally{if(o){const s=t._transaction===i[0];t._transaction=null,s&&cO(i,0)}}return a},F_="You must not compute changes after the event-handler fired.";class Dy{constructor(e,n){this.target=e,this.currentTarget=e,this.transaction=n,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=uZ(this.currentTarget,this.target))}deletes(e){return nO(this.transaction.deleteSet,e.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw Tu(F_);const e=new Map,n=this.target;this.transaction.changed.get(n).forEach(i=>{if(i!==null){const o=n._map.get(i);let a,s;if(this.adds(o)){let l=o.left;for(;l!==null&&this.adds(l);)l=l.left;if(this.deletes(o))if(l!==null&&this.deletes(l))a="delete",s=R1(l.content.getContent());else return;else l!==null&&this.deletes(l)?(a="update",s=R1(l.content.getContent())):(a="add",s=void 0)}else if(this.deletes(o))a="delete",s=R1(o.content.getContent());else return;e.set(i,{action:a,oldValue:s})}}),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock>=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(e===null){if(this.transaction.doc._transactionCleanups.length===0)throw Tu(F_);const n=this.target,r=wu(),i=wu(),o=[];if(e={added:r,deleted:i,delta:o,keys:this.keys},this.transaction.changed.get(n).has(null)){let s=null;const l=()=>{s&&o.push(s)};for(let c=n._start;c!==null;c=c.right)c.deleted?this.deletes(c)&&!this.adds(c)&&((s===null||s.delete===void 0)&&(l(),s={delete:0}),s.delete+=c.length,i.add(c)):this.adds(c)?((s===null||s.insert===void 0)&&(l(),s={insert:[]}),s.insert=s.insert.concat(c.content.getContent()),r.add(c)):((s===null||s.retain===void 0)&&(l(),s={retain:0}),s.retain+=c.length);s!==null&&s.retain===void 0&&l()}this._changes=e}return e}}const uZ=(t,e)=>{const n=[];for(;e._item!==null&&e!==t;){if(e._item.parentSub!==null)n.unshift(e._item.parentSub);else{let r=0,i=e._item.parent._start;for(;i!==e._item&&i!==null;)!i.deleted&&i.countable&&(r+=i.length),i=i.right;n.unshift(r)}e=e._item.parent}return n},Fn=()=>{HY("Invalid access: Add Yjs type to a document before reading data.")},uO=80;let LD=0;class fZ{constructor(e,n){e.marker=!0,this.p=e,this.index=n,this.timestamp=LD++}}const dZ=t=>{t.timestamp=LD++},fO=(t,e,n)=>{t.p.marker=!1,t.p=e,e.marker=!0,t.index=n,t.timestamp=LD++},hZ=(t,e,n)=>{if(t.length>=uO){const r=t.reduce((i,o)=>i.timestamp<o.timestamp?i:o);return fO(r,e,n),r}else{const r=new fZ(e,n);return t.push(r),r}},wy=(t,e)=>{if(t._start===null||e===0||t._searchMarker===null)return null;const n=t._searchMarker.length===0?null:t._searchMarker.reduce((o,a)=>qp(e-o.index)<qp(e-a.index)?o:a);let r=t._start,i=0;for(n!==null&&(r=n.p,i=n.index,dZ(n));r.right!==null&&i<e;){if(!r.deleted&&r.countable){if(e<i+r.length)break;i+=r.length}r=r.right}for(;r.left!==null&&i>e;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);for(;r.left!==null&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);return n!==null&&qp(n.index-i)<r.parent.length/uO?(fO(n,r,i),n):hZ(t._searchMarker,r,i)},Vd=(t,e,n)=>{for(let r=t.length-1;r>=0;r--){const i=t[r];if(n>0){let o=i.p;for(o.marker=!1;o&&(o.deleted||!o.countable);)o=o.left,o&&!o.deleted&&o.countable&&(i.index-=o.length);if(o===null||o.marker===!0){t.splice(r,1);continue}i.p=o,o.marker=!0}(e<i.index||n>0&&e===i.index)&&(i.index=Wu(e,i.index+n))}},Sy=(t,e,n)=>{const r=t,i=e.changedParentTypes;for(;Pu(i,t,()=>[]).push(n),t._item!==null;)t=t._item.parent;aO(r._eH,n,e)};class bn{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=C_(),this._dEH=C_(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,n){this.doc=e,this._item=n}_copy(){throw Gi()}clone(){throw Gi()}_write(e){}get _first(){let e=this._start;for(;e!==null&&e.deleted;)e=e.right;return e}_callObserver(e,n){!e.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(e){E_(this._eH,e)}observeDeep(e){E_(this._dEH,e)}unobserve(e){__(this._eH,e)}unobserveDeep(e){__(this._dEH,e)}toJSON(){}}const dO=(t,e,n)=>{t.doc??Fn(),e<0&&(e=t._length+e),n<0&&(n=t._length+n);let r=n-e;const i=[];let o=t._start;for(;o!==null&&r>0;){if(o.countable&&!o.deleted){const a=o.content.getContent();if(a.length<=e)e-=a.length;else{for(let s=e;s<a.length&&r>0;s++)i.push(a[s]),r--;e=0}}o=o.right}return i},hO=t=>{t.doc??Fn();const e=[];let n=t._start;for(;n!==null;){if(n.countable&&!n.deleted){const r=n.content.getContent();for(let i=0;i<r.length;i++)e.push(r[i])}n=n.right}return e},qd=(t,e)=>{let n=0,r=t._start;for(t.doc??Fn();r!==null;){if(r.countable&&!r.deleted){const i=r.content.getContent();for(let o=0;o<i.length;o++)e(i[o],n++,t)}r=r.right}},pO=(t,e)=>{const n=[];return qd(t,(r,i)=>{n.push(e(r,i,t))}),n},pZ=t=>{let e=t._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){for(;e!==null&&e.deleted;)e=e.right;if(e===null)return{done:!0,value:void 0};n=e.content.getContent(),r=0,e=e.right}const i=n[r++];return n.length<=r&&(n=null),{done:!1,value:i}}}},gO=(t,e)=>{t.doc??Fn();const n=wy(t,e);let r=t._start;for(n!==null&&(r=n.p,e-=n.index);r!==null;r=r.right)if(!r.deleted&&r.countable){if(e<r.length)return r.content.getContent()[e];e-=r.length}},um=(t,e,n,r)=>{let i=n;const o=t.doc,a=o.clientID,s=o.store,l=n===null?e._start:n.right;let c=[];const f=()=>{c.length>0&&(i=new Un(At(a,dr(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Eu(c)),i.integrate(t,0),c=[])};r.forEach(d=>{if(d===null)c.push(d);else switch(d.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(d);break;default:switch(f(),d.constructor){case Uint8Array:case ArrayBuffer:i=new Un(At(a,dr(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Ty(new Uint8Array(d))),i.integrate(t,0);break;case dh:i=new Un(At(a,dr(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Cy(d)),i.integrate(t,0);break;default:if(d instanceof bn)i=new Un(At(a,dr(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new gs(d)),i.integrate(t,0);else throw new Error("Unexpected content type in insert operation")}}}),f()},mO=()=>Tu("Length exceeded!"),yO=(t,e,n,r)=>{if(n>e._length)throw mO();if(n===0)return e._searchMarker&&Vd(e._searchMarker,n,r.length),um(t,e,null,r);const i=n,o=wy(e,n);let a=e._start;for(o!==null&&(a=o.p,n-=o.index,n===0&&(a=a.prev,n+=a&&a.countable&&!a.deleted?a.length:0));a!==null;a=a.right)if(!a.deleted&&a.countable){if(n<=a.length){n<a.length&&ss(t,At(a.id.client,a.id.clock+n));break}n-=a.length}return e._searchMarker&&Vd(e._searchMarker,i,r.length),um(t,e,a,r)},gZ=(t,e,n)=>{let i=(e._searchMarker||[]).reduce((o,a)=>a.index>o.index?a:o,{index:0,p:e._start}).p;if(i)for(;i.right;)i=i.right;return um(t,e,i,n)},bO=(t,e,n,r)=>{if(r===0)return;const i=n,o=r,a=wy(e,n);let s=e._start;for(a!==null&&(s=a.p,n-=a.index);s!==null&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&ss(t,At(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&s!==null;)s.deleted||(r<s.length&&ss(t,At(s.id.client,s.id.clock+r)),s.delete(t),r-=s.length),s=s.right;if(r>0)throw mO();e._searchMarker&&Vd(e._searchMarker,i,-o+r)},fm=(t,e,n)=>{const r=e._map.get(n);r!==void 0&&r.delete(t)},zD=(t,e,n,r)=>{const i=e._map.get(n)||null,o=t.doc,a=o.clientID;let s;if(r==null)s=new Eu([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new Eu([r]);break;case Uint8Array:s=new Ty(r);break;case dh:s=new Cy(r);break;default:if(r instanceof bn)s=new gs(r);else throw new Error("Unexpected content type")}new Un(At(a,dr(o.store,a)),i,i&&i.lastId,null,null,e,n,s).integrate(t,0)},$D=(t,e)=>{t.doc??Fn();const n=t._map.get(e);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},vO=t=>{const e={};return t.doc??Fn(),t._map.forEach((n,r)=>{n.deleted||(e[r]=n.content.getContent()[n.length-1])}),e},xO=(t,e)=>{t.doc??Fn();const n=t._map.get(e);return n!==void 0&&!n.deleted},mZ=(t,e)=>{const n={};return t._map.forEach((r,i)=>{let o=r;for(;o!==null&&(!e.sv.has(o.id.client)||o.id.clock>=(e.sv.get(o.id.client)||0));)o=o.left;o!==null&&qc(o,e)&&(n[i]=o.content.getContent()[o.length-1])}),n},Cp=t=>(t.doc??Fn(),VY(t._map.entries(),e=>!e[1].deleted));class yZ extends Dy{}class hd extends bn{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){const n=new hd;return n.push(e),n}_integrate(e,n){super._integrate(e,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new hd}clone(){const e=new hd;return e.insert(0,this.toArray().map(n=>n instanceof bn?n.clone():n)),e}get length(){return this.doc??Fn(),this._length}_callObserver(e,n){super._callObserver(e,n),Sy(this,e,new yZ(this,e))}insert(e,n){this.doc!==null?kt(this.doc,r=>{yO(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}push(e){this.doc!==null?kt(this.doc,n=>{gZ(n,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,n=1){this.doc!==null?kt(this.doc,r=>{bO(r,this,e,n)}):this._prelimContent.splice(e,n)}get(e){return gO(this,e)}toArray(){return hO(this)}slice(e=0,n=this.length){return dO(this,e,n)}toJSON(){return this.map(e=>e instanceof bn?e.toJSON():e)}map(e){return pO(this,e)}forEach(e){qd(this,e)}[Symbol.iterator](){return pZ(this)}_write(e){e.writeTypeRef(_Z)}}class bZ extends Dy{constructor(e,n,r){super(e,n),this.keysChanged=r}}class dm extends bn{constructor(e){super(),this._prelimContent=null,e===void 0?this._prelimContent=new Map:this._prelimContent=new Map(e)}_integrate(e,n){super._integrate(e,n),this._prelimContent.forEach((r,i)=>{this.set(i,r)}),this._prelimContent=null}_copy(){return new dm}clone(){const e=new dm;return this.forEach((n,r)=>{e.set(r,n instanceof bn?n.clone():n)}),e}_callObserver(e,n){Sy(this,e,new bZ(this,e,n))}toJSON(){this.doc??Fn();const e={};return this._map.forEach((n,r)=>{if(!n.deleted){const i=n.content.getContent()[n.length-1];e[r]=i instanceof bn?i.toJSON():i}}),e}get size(){return[...Cp(this)].length}keys(){return N1(Cp(this),e=>e[0])}values(){return N1(Cp(this),e=>e[1].content.getContent()[e[1].length-1])}entries(){return N1(Cp(this),e=>[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){this.doc??Fn(),this._map.forEach((n,r)=>{n.deleted||e(n.content.getContent()[n.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(e){this.doc!==null?kt(this.doc,n=>{fm(n,this,e)}):this._prelimContent.delete(e)}set(e,n){return this.doc!==null?kt(this.doc,r=>{zD(r,this,e,n)}):this._prelimContent.set(e,n),n}get(e){return $D(this,e)}has(e){return xO(this,e)}clear(){this.doc!==null?kt(this.doc,e=>{this.forEach(function(n,r,i){fm(e,i,r)})}):this._prelimContent.clear()}_write(e){e.writeTypeRef(kZ)}}const Ja=(t,e)=>t===e||typeof t=="object"&&typeof e=="object"&&t&&e&&_Y(t,e);class a2{constructor(e,n,r,i){this.left=e,this.right=n,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&as(),this.right.content.constructor){case an:this.right.deleted||Lu(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}}const R_=(t,e,n)=>{for(;e.right!==null&&n>0;){switch(e.right.content.constructor){case an:e.right.deleted||Lu(e.currentAttributes,e.right.content);break;default:e.right.deleted||(n<e.right.length&&ss(t,At(e.right.id.client,e.right.id.clock+n)),e.index+=e.right.length,n-=e.right.length);break}e.left=e.right,e.right=e.right.right}return e},Ep=(t,e,n,r)=>{const i=new Map,o=r?wy(e,n):null;if(o){const a=new a2(o.p.left,o.p,o.index,i);return R_(t,a,n-o.index)}else{const a=new a2(null,e._start,0,i);return R_(t,a,n)}},DO=(t,e,n,r)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===an&&Ja(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();const i=t.doc,o=i.clientID;r.forEach((a,s)=>{const l=n.left,c=n.right,f=new Un(At(o,dr(i.store,o)),l,l&&l.lastId,c,c&&c.id,e,null,new an(s,a));f.integrate(t,0),n.right=f,n.forward()})},Lu=(t,e)=>{const{key:n,value:r}=e;r===null?t.delete(n):t.set(n,r)},wO=(t,e)=>{for(;t.right!==null;){if(!(t.right.deleted||t.right.content.constructor===an&&Ja(e[t.right.content.key]??null,t.right.content.value)))break;t.forward()}},SO=(t,e,n,r)=>{const i=t.doc,o=i.clientID,a=new Map;for(const s in r){const l=r[s],c=n.currentAttributes.get(s)??null;if(!Ja(c,l)){a.set(s,c);const{left:f,right:d}=n;n.right=new Un(At(o,dr(i.store,o)),f,f&&f.lastId,d,d&&d.id,e,null,new an(s,l)),n.right.integrate(t,0),n.forward()}}return a},L1=(t,e,n,r,i)=>{n.currentAttributes.forEach((p,g)=>{i[g]===void 0&&(i[g]=null)});const o=t.doc,a=o.clientID;wO(n,i);const s=SO(t,e,n,i),l=r.constructor===String?new Xo(r):r instanceof bn?new gs(r):new zu(r);let{left:c,right:f,index:d}=n;e._searchMarker&&Vd(e._searchMarker,n.index,l.getLength()),f=new Un(At(a,dr(o.store,a)),c,c&&c.lastId,f,f&&f.id,e,null,l),f.integrate(t,0),n.right=f,n.index=d,n.forward(),DO(t,e,n,s)},O_=(t,e,n,r,i)=>{const o=t.doc,a=o.clientID;wO(n,i);const s=SO(t,e,n,i);e:for(;n.right!==null&&(r>0||s.size>0&&(n.right.deleted||n.right.content.constructor===an));){if(!n.right.deleted)switch(n.right.content.constructor){case an:{const{key:l,value:c}=n.right.content,f=i[l];if(f!==void 0){if(Ja(f,c))s.delete(l);else{if(r===0)break e;s.set(l,c)}n.right.delete(t)}else n.currentAttributes.set(l,c);break}default:r<n.right.length&&ss(t,At(n.right.id.client,n.right.id.clock+r)),r-=n.right.length;break}n.forward()}if(r>0){let l="";for(;r>0;r--)l+=`
|
|
353
|
+
`;n.right=new Un(At(a,dr(o.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,e,null,new Xo(l)),n.right.integrate(t,0),n.forward()}DO(t,e,n,s)},TO=(t,e,n,r,i)=>{let o=e;const a=Xi();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===an){const c=o.content;a.set(c.key,c)}o=o.right}let s=0,l=!1;for(;e!==o;){if(n===e&&(l=!0),!e.deleted){const c=e.content;switch(c.constructor){case an:{const{key:f,value:d}=c,p=r.get(f)??null;(a.get(f)!==c||p===d)&&(e.delete(t),s++,!l&&(i.get(f)??null)===d&&p!==d&&(p===null?i.delete(f):i.set(f,p))),!l&&!e.deleted&&Lu(i,c);break}}}e=e.right}return s},vZ=(t,e)=>{for(;e&&e.right&&(e.right.deleted||!e.right.countable);)e=e.right;const n=new Set;for(;e&&(e.deleted||!e.countable);){if(!e.deleted&&e.content.constructor===an){const r=e.content.key;n.has(r)?e.delete(t):n.add(r)}e=e.left}},xZ=t=>{let e=0;return kt(t.doc,n=>{let r=t._start,i=t._start,o=Xi();const a=e2(o);for(;i;){if(i.deleted===!1)switch(i.content.constructor){case an:Lu(a,i.content);break;default:e+=TO(n,r,i,o,a),o=e2(a),r=i;break}i=i.right}}),e},DZ=t=>{const e=new Set,n=t.doc;for(const[r,i]of t.afterState.entries()){const o=t.beforeState.get(r)||0;i!==o&&lO(t,n.store.clients.get(r),o,i,a=>{!a.deleted&&a.content.constructor===an&&a.constructor!==Ha&&e.add(a.parent)})}kt(n,r=>{tO(t,t.deleteSet,i=>{if(i instanceof Ha||!i.parent._hasFormatting||e.has(i.parent))return;const o=i.parent;i.content.constructor===an?e.add(o):vZ(r,i)});for(const i of e)xZ(i)})},I_=(t,e,n)=>{const r=n,i=e2(e.currentAttributes),o=e.right;for(;n>0&&e.right!==null;){if(e.right.deleted===!1)switch(e.right.content.constructor){case gs:case zu:case Xo:n<e.right.length&&ss(t,At(e.right.id.client,e.right.id.clock+n)),n-=e.right.length,e.right.delete(t);break}e.forward()}o&&TO(t,o,e.right,i,e.currentAttributes);const a=(e.left||e.right).parent;return a._searchMarker&&Vd(a._searchMarker,e.index,-r+n),e};class wZ extends Dy{constructor(e,n,r){super(e,n),this.childListChanged=!1,this.keysChanged=new Set,r.forEach(i=>{i===null?this.childListChanged=!0:this.keysChanged.add(i)})}get changes(){if(this._changes===null){const e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(this._delta===null){const e=this.target.doc,n=[];kt(e,r=>{const i=new Map,o=new Map;let a=this.target._start,s=null;const l={};let c="",f=0,d=0;const p=()=>{if(s!==null){let g=null;switch(s){case"delete":d>0&&(g={delete:d}),d=0;break;case"insert":(typeof c=="object"||c.length>0)&&(g={insert:c},i.size>0&&(g.attributes={},i.forEach((b,x)=>{b!==null&&(g.attributes[x]=b)}))),c="";break;case"retain":f>0&&(g={retain:f},TY(l)||(g.attributes=DY({},l))),f=0;break}g&&n.push(g),s=null}};for(;a!==null;){switch(a.content.constructor){case gs:case zu:this.adds(a)?this.deletes(a)||(p(),s="insert",c=a.content.getContent()[0],p()):this.deletes(a)?(s!=="delete"&&(p(),s="delete"),d+=1):a.deleted||(s!=="retain"&&(p(),s="retain"),f+=1);break;case Xo:this.adds(a)?this.deletes(a)||(s!=="insert"&&(p(),s="insert"),c+=a.content.str):this.deletes(a)?(s!=="delete"&&(p(),s="delete"),d+=a.length):a.deleted||(s!=="retain"&&(p(),s="retain"),f+=a.length);break;case an:{const{key:g,value:b}=a.content;if(this.adds(a)){if(!this.deletes(a)){const x=i.get(g)??null;Ja(x,b)?b!==null&&a.delete(r):(s==="retain"&&p(),Ja(b,o.get(g)??null)?delete l[g]:l[g]=b)}}else if(this.deletes(a)){o.set(g,b);const x=i.get(g)??null;Ja(x,b)||(s==="retain"&&p(),l[g]=x)}else if(!a.deleted){o.set(g,b);const x=l[g];x!==void 0&&(Ja(x,b)?x!==null&&a.delete(r):(s==="retain"&&p(),b===null?delete l[g]:l[g]=b))}a.deleted||(s==="insert"&&p(),Lu(i,a.content));break}}a=a.right}for(p();n.length>0;){const g=n[n.length-1];if(g.retain!==void 0&&g.attributes===void 0)n.pop();else break}}),this._delta=n}return this._delta}}class Xd extends bn{constructor(e){super(),this._pending=e!==void 0?[()=>this.insert(0,e)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??Fn(),this._length}_integrate(e,n){super._integrate(e,n);try{this._pending.forEach(r=>r())}catch(r){console.error(r)}this._pending=null}_copy(){return new Xd}clone(){const e=new Xd;return e.applyDelta(this.toDelta()),e}_callObserver(e,n){super._callObserver(e,n);const r=new wZ(this,e,n);Sy(this,e,r),!e.local&&this._hasFormatting&&(e._needFormattingCleanup=!0)}toString(){this.doc??Fn();let e="",n=this._start;for(;n!==null;)!n.deleted&&n.countable&&n.content.constructor===Xo&&(e+=n.content.str),n=n.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:n=!0}={}){this.doc!==null?kt(this.doc,r=>{const i=new a2(null,this._start,0,new Map);for(let o=0;o<e.length;o++){const a=e[o];if(a.insert!==void 0){const s=!n&&typeof a.insert=="string"&&o===e.length-1&&i.right===null&&a.insert.slice(-1)===`
|
|
354
|
+
`?a.insert.slice(0,-1):a.insert;(typeof s!="string"||s.length>0)&&L1(r,this,i,s,a.attributes||{})}else a.retain!==void 0?O_(r,this,i,a.retain,a.attributes||{}):a.delete!==void 0&&I_(r,i,a.delete)}}):this._pending.push(()=>this.applyDelta(e))}toDelta(e,n,r){this.doc??Fn();const i=[],o=new Map,a=this.doc;let s="",l=this._start;function c(){if(s.length>0){const d={};let p=!1;o.forEach((b,x)=>{p=!0,d[x]=b});const g={insert:s};p&&(g.attributes=d),i.push(g),s=""}}const f=()=>{for(;l!==null;){if(qc(l,e)||n!==void 0&&qc(l,n))switch(l.content.constructor){case Xo:{const d=o.get("ychange");e!==void 0&&!qc(l,e)?(d===void 0||d.user!==l.id.client||d.type!=="removed")&&(c(),o.set("ychange",r?r("removed",l.id):{type:"removed"})):n!==void 0&&!qc(l,n)?(d===void 0||d.user!==l.id.client||d.type!=="added")&&(c(),o.set("ychange",r?r("added",l.id):{type:"added"})):d!==void 0&&(c(),o.delete("ychange")),s+=l.content.str;break}case gs:case zu:{c();const d={insert:l.content.getContent()[0]};if(o.size>0){const p={};d.attributes=p,o.forEach((g,b)=>{p[b]=g})}i.push(d);break}case an:qc(l,e)&&(c(),Lu(o,l.content));break}l=l.right}c()};return e||n?kt(a,d=>{e&&i2(d,e),n&&i2(d,n),f()},"cleanup"):f(),i}insert(e,n,r){if(n.length<=0)return;const i=this.doc;i!==null?kt(i,o=>{const a=Ep(o,this,e,!r);r||(r={},a.currentAttributes.forEach((s,l)=>{r[l]=s})),L1(o,this,a,n,r)}):this._pending.push(()=>this.insert(e,n,r))}insertEmbed(e,n,r){const i=this.doc;i!==null?kt(i,o=>{const a=Ep(o,this,e,!r);L1(o,this,a,n,r||{})}):this._pending.push(()=>this.insertEmbed(e,n,r||{}))}delete(e,n){if(n===0)return;const r=this.doc;r!==null?kt(r,i=>{I_(i,Ep(i,this,e,!0),n)}):this._pending.push(()=>this.delete(e,n))}format(e,n,r){if(n===0)return;const i=this.doc;i!==null?kt(i,o=>{const a=Ep(o,this,e,!1);a.right!==null&&O_(o,this,a,n,r)}):this._pending.push(()=>this.format(e,n,r))}removeAttribute(e){this.doc!==null?kt(this.doc,n=>{fm(n,this,e)}):this._pending.push(()=>this.removeAttribute(e))}setAttribute(e,n){this.doc!==null?kt(this.doc,r=>{zD(r,this,e,n)}):this._pending.push(()=>this.setAttribute(e,n))}getAttribute(e){return $D(this,e)}getAttributes(){return vO(this)}_write(e){e.writeTypeRef(AZ)}}class z1{constructor(e,n=()=>!0){this._filter=n,this._root=e,this._currentNode=e._start,this._firstCall=!0,e.doc??Fn()}[Symbol.iterator](){return this}next(){let e=this._currentNode,n=e&&e.content&&e.content.type;if(e!==null&&(!this._firstCall||e.deleted||!this._filter(n)))do if(n=e.content.type,!e.deleted&&(n.constructor===Gd||n.constructor===Cu)&&n._start!==null)e=n._start;else for(;e!==null;)if(e.right!==null){e=e.right;break}else e.parent===this._root?e=null:e=e.parent._item;while(e!==null&&(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,e===null?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}}class Cu extends bn{constructor(){super(),this._prelimContent=[]}get firstChild(){const e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,n){super._integrate(e,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Cu}clone(){const e=new Cu;return e.insert(0,this.toArray().map(n=>n instanceof bn?n.clone():n)),e}get length(){return this.doc??Fn(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(e){return new z1(this,e)}querySelector(e){e=e.toUpperCase();const r=new z1(this,i=>i.nodeName&&i.nodeName.toUpperCase()===e).next();return r.done?null:r.value}querySelectorAll(e){return e=e.toUpperCase(),Su(new z1(this,n=>n.nodeName&&n.nodeName.toUpperCase()===e))}_callObserver(e,n){Sy(this,e,new SZ(this,n,e))}toString(){return pO(this,e=>e.toString()).join("")}toJSON(){return this.toString()}toDOM(e=document,n={},r){const i=e.createDocumentFragment();return r!==void 0&&r._createAssociation(i,this),qd(this,o=>{i.insertBefore(o.toDOM(e,n,r),null)}),i}insert(e,n){this.doc!==null?kt(this.doc,r=>{yO(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}insertAfter(e,n){if(this.doc!==null)kt(this.doc,r=>{const i=e&&e instanceof bn?e._item:e;um(r,this,i,n)});else{const r=this._prelimContent,i=e===null?0:r.findIndex(o=>o===e)+1;if(i===0&&e!==null)throw Tu("Reference item not found");r.splice(i,0,...n)}}delete(e,n=1){this.doc!==null?kt(this.doc,r=>{bO(r,this,e,n)}):this._prelimContent.splice(e,n)}toArray(){return hO(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return gO(this,e)}slice(e=0,n=this.length){return dO(this,e,n)}forEach(e){qd(this,e)}_write(e){e.writeTypeRef(FZ)}}class Gd extends Cu{constructor(e="UNDEFINED"){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,n){super._integrate(e,n),this._prelimAttrs.forEach((r,i)=>{this.setAttribute(i,r)}),this._prelimAttrs=null}_copy(){return new Gd(this.nodeName)}clone(){const e=new Gd(this.nodeName),n=this.getAttributes();return SY(n,(r,i)=>{typeof r=="string"&&e.setAttribute(i,r)}),e.insert(0,this.toArray().map(r=>r instanceof bn?r.clone():r)),e}toString(){const e=this.getAttributes(),n=[],r=[];for(const s in e)r.push(s);r.sort();const i=r.length;for(let s=0;s<i;s++){const l=r[s];n.push(l+'="'+e[l]+'"')}const o=this.nodeName.toLocaleLowerCase(),a=n.length>0?" "+n.join(" "):"";return`<${o}${a}>${super.toString()}</${o}>`}removeAttribute(e){this.doc!==null?kt(this.doc,n=>{fm(n,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,n){this.doc!==null?kt(this.doc,r=>{zD(r,this,e,n)}):this._prelimAttrs.set(e,n)}getAttribute(e){return $D(this,e)}hasAttribute(e){return xO(this,e)}getAttributes(e){return e?mZ(this,e):vO(this)}toDOM(e=document,n={},r){const i=e.createElement(this.nodeName),o=this.getAttributes();for(const a in o){const s=o[a];typeof s=="string"&&i.setAttribute(a,s)}return qd(this,a=>{i.appendChild(a.toDOM(e,n,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(e){e.writeTypeRef(UZ),e.writeKey(this.nodeName)}}class SZ extends Dy{constructor(e,n,r){super(e,r),this.childListChanged=!1,this.attributesChanged=new Set,n.forEach(i=>{i===null?this.childListChanged=!0:this.attributesChanged.add(i)})}}class Jd extends Xd{get nextSibling(){const e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){const e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new Jd}clone(){const e=new Jd;return e.applyDelta(this.toDelta()),e}toDOM(e=document,n,r){const i=e.createTextNode(this.toString());return r!==void 0&&r._createAssociation(i,this),i}toString(){return this.toDelta().map(e=>{const n=[];for(const i in e.attributes){const o=[];for(const a in e.attributes[i])o.push({key:a,value:e.attributes[i][a]});o.sort((a,s)=>a.key<s.key?-1:1),n.push({nodeName:i,attrs:o})}n.sort((i,o)=>i.nodeName<o.nodeName?-1:1);let r="";for(let i=0;i<n.length;i++){const o=n[i];r+=`<${o.nodeName}`;for(let a=0;a<o.attrs.length;a++){const s=o.attrs[a];r+=` ${s.key}="${s.value}"`}r+=">"}r+=e.insert;for(let i=n.length-1;i>=0;i--)r+=`</${n[i].nodeName}>`;return r}).join("")}toJSON(){return this.toString()}_write(e){e.writeTypeRef(RZ)}}class CO{constructor(e,n){this.id=e,this.length=n}get deleted(){throw Gi()}mergeWith(e){return!1}write(e,n,r){throw Gi()}integrate(e,n){throw Gi()}}const TZ=0;class Ha extends CO{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,n){n>0&&(this.id.clock+=n,this.length-=n),sO(e.doc.store,this)}write(e,n){e.writeInfo(TZ),e.writeLen(this.length-n)}getMissing(e,n){return null}}class Ty{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new Ty(this.content)}splice(e){throw Gi()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeBuf(this.content)}getRef(){return 3}}class hm{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new hm(this.len)}splice(e){const n=new hm(this.len-e);return this.len=e,n}mergeWith(e){return this.len+=e.len,!0}integrate(e,n){iO(e.deleteSet,n.id.client,n.id.clock,this.len),n.markDeleted()}delete(e){}gc(e){}write(e,n){e.writeLen(this.len-n)}getRef(){return 1}}const CZ=(t,e)=>new dh({guid:t,...e,shouldLoad:e.shouldLoad||e.autoLoad||!1});class Cy{constructor(e){e._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=e;const n={};this.opts=n,e.gc||(n.gc=!1),e.autoLoad&&(n.autoLoad=!0),e.meta!==null&&(n.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new Cy(CZ(this.doc.guid,this.opts))}splice(e){throw Gi()}mergeWith(e){return!1}integrate(e,n){this.doc._item=n,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&&e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,n){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}}class zu{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new zu(this.embed)}splice(e){throw Gi()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeJSON(this.embed)}getRef(){return 5}}class an{constructor(e,n){this.key=e,this.value=n}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new an(this.key,this.value)}splice(e){throw Gi()}mergeWith(e){return!1}integrate(e,n){const r=n.parent;r._searchMarker=null,r._hasFormatting=!0}delete(e){}gc(e){}write(e,n){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}}const EZ=lm("node_env")==="development";class Eu{constructor(e){this.arr=e,EZ&&X8(e)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new Eu(this.arr)}splice(e){const n=new Eu(this.arr.slice(e));return this.arr=this.arr.slice(0,e),n}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){const r=this.arr.length;e.writeLen(r-n);for(let i=n;i<r;i++){const o=this.arr[i];e.writeAny(o)}}getRef(){return 8}}class Xo{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new Xo(this.str)}splice(e){const n=new Xo(this.str.slice(e));this.str=this.str.slice(0,e);const r=this.str.charCodeAt(e-1);return r>=55296&&r<=56319&&(this.str=this.str.slice(0,e-1)+"�",n.str="�"+n.str.slice(1)),n}mergeWith(e){return this.str+=e.str,!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeString(n===0?this.str:this.str.slice(n))}getRef(){return 4}}const _Z=0,kZ=1,AZ=2,UZ=3,FZ=4,RZ=6;class gs{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new gs(this.type._copy())}splice(e){throw Gi()}mergeWith(e){return!1}integrate(e,n){this.type._integrate(e.doc,n)}delete(e){let n=this.type._start;for(;n!==null;)n.deleted?n.id.clock<(e.beforeState.get(n.id.client)||0)&&e._mergeStructs.push(n):n.delete(e),n=n.right;this.type._map.forEach(r=>{r.deleted?r.id.clock<(e.beforeState.get(r.id.client)||0)&&e._mergeStructs.push(r):r.delete(e)}),e.changed.delete(this.type)}gc(e){let n=this.type._start;for(;n!==null;)n.gc(e,!0),n=n.right;this.type._start=null,this.type._map.forEach(r=>{for(;r!==null;)r.gc(e,!0),r=r.left}),this.type._map=new Map}write(e,n){this.type._write(e)}getRef(){return 7}}const EO=(t,e,n)=>{const{client:r,clock:i}=e.id,o=new Un(At(r,i+n),e,At(r,i+n-1),e.right,e.rightOrigin,e.parent,e.parentSub,e.content.splice(n));return e.deleted&&o.markDeleted(),e.keep&&(o.keep=!0),e.redone!==null&&(o.redone=At(e.redone.client,e.redone.clock+n)),e.right=o,o.right!==null&&(o.right.left=o),t._mergeStructs.push(o),o.parentSub!==null&&o.right===null&&o.parent._map.set(o.parentSub,o),e.length=n,o};class Un extends CO{constructor(e,n,r,i,o,a,s,l){super(e,l.getLength()),this.origin=r,this.left=n,this.right=i,this.rightOrigin=o,this.parent=a,this.parentSub=s,this.redone=null,this.content=l,this.info=this.content.isCountable()?g_:0}set marker(e){(this.info&I1)>0!==e&&(this.info^=I1)}get marker(){return(this.info&I1)>0}get keep(){return(this.info&p_)>0}set keep(e){this.keep!==e&&(this.info^=p_)}get countable(){return(this.info&g_)>0}get deleted(){return(this.info&O1)>0}set deleted(e){this.deleted!==e&&(this.info^=O1)}markDeleted(){this.info|=O1}getMissing(e,n){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=dr(n,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=dr(n,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===Gp&&this.id.client!==this.parent.client&&this.parent.clock>=dr(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=k_(e,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=ss(e,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Ha||this.right&&this.right.constructor===Ha)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===Un&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===Un&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===Gp){const r=W1(n,this.parent);r.constructor===Ha?this.parent=null:this.parent=r.content.type}return null}integrate(e,n){if(n>0&&(this.id.clock+=n,this.left=k_(e,e.doc.store,At(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(n),this.length-=n),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let r=this.left,i;if(r!==null)i=r.right;else if(this.parentSub!==null)for(i=this.parent._map.get(this.parentSub)||null;i!==null&&i.left!==null;)i=i.left;else i=this.parent._start;const o=new Set,a=new Set;for(;i!==null&&i!==this.right;){if(a.add(i),o.add(i),Sp(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,o.clear();else if(Sp(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&a.has(W1(e.doc.store,i.origin)))o.has(W1(e.doc.store,i.origin))||(r=i,o.clear());else break;i=i.right}this.left=r}if(this.left!==null){const r=this.left.right;this.right=r,this.left.right=this}else{let r;if(this.parentSub!==null)for(r=this.parent._map.get(this.parentSub)||null;r!==null&&r.left!==null;)r=r.left;else r=this.parent._start,this.parent._start=this;this.right=r}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(e)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),sO(e.doc.store,this),this.content.integrate(e,this),U_(e,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(e)}else new Ha(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;e!==null&&e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;e!==null&&e.deleted;)e=e.left;return e}get lastId(){return this.length===1?this.id:At(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&Sp(e.origin,this.lastId)&&this.right===e&&Sp(this.rightOrigin,e.rightOrigin)&&this.id.client===e.id.client&&this.id.clock+this.length===e.id.clock&&this.deleted===e.deleted&&this.redone===null&&e.redone===null&&this.content.constructor===e.content.constructor&&this.content.mergeWith(e.content)){const n=this.parent._searchMarker;return n&&n.forEach(r=>{r.p===e&&(r.p=this,!this.deleted&&this.countable&&(r.index-=this.length))}),e.keep&&(this.keep=!0),this.right=e.right,this.right!==null&&(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){const n=this.parent;this.countable&&this.parentSub===null&&(n._length-=this.length),this.markDeleted(),iO(e.deleteSet,this.id.client,this.id.clock,this.length),U_(e,n,this.parentSub),this.content.delete(e)}}gc(e,n){if(!this.deleted)throw as();this.content.gc(e),n?aZ(e,this,new Ha(this.id,this.length)):this.content=new hm(this.length)}write(e,n){const r=n>0?At(this.id.client,this.id.clock+n-1):this.origin,i=this.rightOrigin,o=this.parentSub,a=this.content.getRef()&JJ|(r===null?0:sm)|(i===null?0:H8)|(o===null?0:GJ);if(e.writeInfo(a),r!==null&&e.writeLeftID(r),i!==null&&e.writeRightID(i),r===null&&i===null){const s=this.parent;if(s._item!==void 0){const l=s._item;if(l===null){const c=Hd(s);e.writeParentInfo(!0),e.writeString(c)}else e.writeParentInfo(!1),e.writeLeftID(l.id)}else s.constructor===String?(e.writeParentInfo(!0),e.writeString(s)):s.constructor===Gp?(e.writeParentInfo(!1),e.writeLeftID(s)):as();o!==null&&e.writeString(o)}this.content.write(e,n)}}const _O=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},kO="__ $YJS$ __";_O[kO]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");_O[kO]=!0;const OZ=new Go("y-sync");new Go("y-undo");new Go("yjs-cursor");const IZ=(t,e,n)=>{if(t===0)return P1(e,0,-1);let r=e._first===null?null:e._first.content.type;for(;r!==null&&e!==r;){if(r instanceof Jd){if(r._length>=t)return P1(r,t,-1);if(t-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,t--;while(r!==e&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==e&&(r=r._item===null?null:r._item.next.content.type)}}else{const i=(n.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&t<i)r=r._first.content.type,t--;else{if(t===1&&r._length===0&&i>1)return new cm(r._item===null?null:r._item.id,r._item===null?Hd(r):null,null);if(t-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(t===0)return r=r._item===null?r:r._item.parent,new cm(r._item===null?null:r._item.id,r._item===null?Hd(r):null,null);do r=r._item.parent,t--;while(r!==e&&r._item.next===null);r!==e&&(r=r._item.next.content.type)}}}if(r===null)throw as();if(t===0&&r.constructor!==Jd&&r!==e)return BZ(r._item.parent,r._item)}return P1(e,e._length,-1)},BZ=(t,e)=>{let n=null,r=null;return t._item===null?r=Hd(t):n=At(t._item.id.client,t._item.id.clock),new cm(n,r,e.id)};exports.AllSelection=Ar;exports.CellSelection=Ut;exports.DOMParser=s2;exports.DOMSerializer=wl;exports.Decoration=kn;exports.DecorationSet=Bt;exports.EditorState=Xc;exports.EditorView=i6;exports.Fragment=Ue;exports.I=sP;exports.Node=Ya;exports.NodeRange=gd;exports.NodeSelection=Ge;exports.Plugin=Sl;exports.PluginKey=Go;exports.ReplaceAroundStep=nn;exports.ReplaceStep=tn;exports.Schema=XO;exports.Selection=Qe;exports.SelectionRange=h2;exports.Slice=We;exports.TextSelection=st;exports.Transform=d2;exports.VisibilitySensor=OJ;exports.absolutePositionToRelativePosition=IZ;exports.addColumnAfter=c7;exports.addColumnBefore=l7;exports.addRowAfter=p7;exports.addRowBefore=h7;exports.canJoin=ku;exports.canSplit=Kc;exports.clamp=OM;exports.clsx=WA;exports.columnResizing=M7;exports.createParagraphNear=tA;exports.cva=cP;exports.d=aP;exports.debounce=FA;exports.deepEqual=AH;exports.deleteColumn=f7;exports.deleteRow=m7;exports.deleteSelection=T2;exports.deleteTable=E7;exports.differenceBy=X9;exports.dropCursor=PP;exports.exitCode=v6;exports.find=kP;exports.findWrapping=u2;exports.fixTables=d3;exports.gapCursor=$P;exports.goToNextCell=C7;exports.history=NP;exports.i=$J;exports.isNumber=J9;exports.joinBackward=Gk;exports.joinDown=y6;exports.joinForward=Kk;exports.joinPoint=f2;exports.joinTextblockBackward=p6;exports.joinTextblockForward=g6;exports.joinUp=m6;exports.keymap=h6;exports.lib=vi;exports.lift=b6;exports.liftEmptyBlock=nA;exports.liftListItem=F6;exports.liftTarget=_u;exports.mergeCells=b7;exports.newlineInCode=eA;exports.redo=s3;exports.registerCustomProtocol=EP;exports.reset=CP;exports.selectNodeBackward=Yk;exports.selectNodeForward=Qk;exports.selectParentNode=w6;exports.selectTextblockEnd=C6;exports.selectTextblockStart=T6;exports.server_browser=Ol;exports.setBlockType=_6;exports.setCellAttr=D7;exports.sinkListItem=I6;exports.splitCell=v7;exports.tableEditing=q7;exports.throttle=pN;exports.toggleHeader=Em;exports.toggleHeaderCell=S7;exports.tokenize=G2;exports.truncate=bN;exports.twMerge=YN;exports.undo=a3;exports.wrapIn=E6;exports.wrapInList=k6;exports.x=lP;exports.ySyncPluginKey=OZ;
|