reactjs-tiptap-editor 0.1.15 → 0.1.16

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.
@@ -0,0 +1,370 @@
1
+ "use strict";const gt=require("react"),HO=require("react-dom"),De=require("react/jsx-runtime");function vn(t){this.content=t}vn.prototype={constructor:vn,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 vn(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 vn(n)},addToStart:function(t,e){return new vn([t,e].concat(this.remove(t).content))},addToEnd:function(t,e){var n=this.remove(t).content.slice();return n.push(t,e),new vn(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 vn(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=vn.from(t),t.size?new vn(t.content.concat(this.subtract(t).content)):this},append:function(t){return t=vn.from(t),t.size?new vn(this.subtract(t).content.concat(t.content)):this},subtract:function(t){var e=this;t=vn.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}};vn.from=function(t){if(t instanceof vn)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new vn(e)};function Wk(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=Wk(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function $k(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=$k(a.content,s.content,n-1,r-1);if(c)return c}n-=l,r-=l}}class Re{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 Re(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 Re(r,i)}cutByIndex(e,n){return e==n?Re.empty:e==0&&n==this.content.length?this:new Re(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 Re(i,o)}addToStart(e){return new Re([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new Re(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 Wk(this,e,n)}findDiffEnd(e,n=this.size,r=e.size){return $k(this,e,n,r)}findIndex(e,n=-1){if(e==0)return gp(0,e);if(e==this.size)return gp(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?gp(r+1,a):gp(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 Re.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new Re(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return Re.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 Re(n||e,r)}static from(e){if(!e)return Re.empty;if(e instanceof Re)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new Re([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))}}Re.empty=new Re([],0);const $b={index:0,offset:0};function gp(t,e){return $b.index=t,$b.offset=e,$b}function gg(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(!gg(t[r],e[r]))return!1}else{for(let r in t)if(!(r in e)||!gg(t[r],e[r]))return!1;for(let r in e)if(!(r in t))return!1}return!0}class vt{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&&gg(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 vt.none;if(e instanceof vt)return[e];let n=e.slice();return n.sort((r,i)=>r.type.rank-i.type.rank),n}}vt.none=[];class mg 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=jk(this.content,e+this.openStart,n);return r&&new We(r,this.openStart,this.openEnd)}removeBetween(e,n){return new We(zk(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(Re.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(Re.empty,0,0);function zk(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(zk(o.content,e-i-1,n-i-1)))}function jk(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=jk(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function qO(t,e,n){if(n.openStart>t.depth)throw new mg("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new mg("Inconsistent open depths");return Vk(t,e,n,0)}function Vk(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=Vk(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 yl(a,s.cut(0,t.parentOffset).append(n.content).append(s.cut(e.parentOffset)))}else{let{start:a,end:s}=GO(n,t);return yl(o,qk(t,a,s,e,r))}else return yl(o,yg(t,e,r))}function Hk(t,e){if(!e.type.compatibleContent(t.type))throw new mg("Cannot join "+e.type.name+" onto "+t.type.name)}function D0(t,e,n){let r=t.node(n);return Hk(r,e.node(n)),r}function ml(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 dd(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&&(ml(t.nodeAfter,r),o++));for(let s=o;s<a;s++)ml(i.child(s),r);e&&e.depth==n&&e.textOffset&&ml(e.nodeBefore,r)}function yl(t,e){return t.type.checkContent(e),t.copy(e)}function qk(t,e,n,r,i){let o=t.depth>i&&D0(t,e,i+1),a=r.depth>i&&D0(n,r,i+1),s=[];return dd(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(Hk(o,a),ml(yl(o,qk(t,e,n,r,i+1)),s)):(o&&ml(yl(o,yg(t,e,i+1)),s),dd(e,n,i,s),a&&ml(yl(a,yg(n,r,i+1)),s)),dd(r,null,i,s),new Re(s)}function yg(t,e,n){let r=[];if(dd(null,t,n,r),t.depth>n){let i=D0(t,e,n+1);ml(yl(i,yg(t,e,n+1)),r)}return dd(e,null,n,r),new Re(r)}function GO(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(Re.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}class kd{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 vt.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 Ad(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 kd(n,r,o)}static resolveCached(e,n){let r=Mw.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 Mw.set(e,r=new XO);let i=r.elts[r.i]=kd.resolve(e,n);return r.i=(r.i+1)%JO,i}}class XO{constructor(){this.elts=[],this.i=0}}const JO=12,Mw=new WeakMap;class Ad{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 YO=Object.create(null);let ls=class w0{constructor(e,n,r,i=vt.none){this.type=e,this.attrs=n,this.marks=i,this.content=r||Re.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&&gg(this.attrs,n||e.defaultAttrs||YO)&&vt.sameSet(this.marks,r||vt.none)}copy(e=null){return e==this.content?this:new w0(this.type,this.attrs,e,this.marks)}mark(e){return e==this.marks?this:new w0(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 qO(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 kd.resolveCached(this,e)}resolveNoCache(e){return kd.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()+")"),Gk(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=Re.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=vt.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(!vt.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=Re.fromJSON(e,n.content),o=e.nodeType(n.type).create(n.attrs,i,r);return o.type.checkAttrs(o.attrs),o}};ls.prototype.text=void 0;class bg extends ls{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):Gk(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 bg(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new bg(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 Gk(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class Sl{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new KO(e,n);if(r.next==null)return Sl.empty;let i=Xk(r);r.next&&r.err("Unexpected trailing text");let o=iI(rI(i));return oI(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 Re.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
+ `)}}Sl.empty=new Sl(!0);class KO{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 Xk(t){let e=[];do e.push(ZO(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function ZO(t){let e=[];do e.push(QO(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function QO(t){let e=nI(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=eI(t,e);else break;return e}function Nw(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function eI(t,e){let n=Nw(t),r=n;return t.eat(",")&&(t.next!="}"?r=Nw(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function tI(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 nI(t){if(t.eat("(")){let e=Xk(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=tI(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 rI(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 Jk(t,e){return e-t}function Pw(t,e){let n=[];return r(e),n.sort(Jk);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 iI(t){let e=Object.create(null);return n(Pw(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]);Pw(t,l).forEach(f=>{c||i.push([s,c=[]]),c.indexOf(f)==-1&&c.push(f)})})});let o=e[r.join(",")]=new Sl(r.indexOf(t.length-1)>-1);for(let a=0;a<i.length;a++){let s=i[a][1].sort(Jk);o.next.push({type:i[a][0],next:e[s.join(",")]||n(s)})}return o}}function oI(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 Yk(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 Kk(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 Zk(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 Qk(t,e){let n=Object.create(null);if(e)for(let r in e)n[r]=new sI(t,r,e[r]);return n}let Lw=class eA{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=Qk(e,r.attrs),this.defaultAttrs=Yk(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==Sl.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:Kk(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new ls(this,this.computeAttrs(e),Re.from(n),vt.setFrom(r))}createChecked(e=null,n,r){return n=Re.from(n),this.checkContent(n),new ls(this,this.computeAttrs(e),n,vt.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=Re.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(Re.empty,!0);return o?new ls(this,e,n.append(o),vt.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){Zk(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:vt.none:e}static compile(e,n){let r=Object.create(null);e.forEach((o,a)=>r[o]=new eA(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 aI(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 sI{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?aI(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Om{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=Qk(e,i.attrs),this.excluded=null;let o=Yk(this.attrs);this.instance=o?new vt(this,o):null}create(e=null){return!e&&this.instance?this.instance:new vt(this,Kk(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new Om(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){Zk(this.attrs,e,"mark",this.name)}excludes(e){return this.excluded.indexOf(e)>-1}}class lI{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=vn.from(e.nodes),n.marks=vn.from(e.marks||{}),this.nodes=Lw.compile(this.spec.nodes,this),this.marks=Om.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]=Sl.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?Ww(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==""?[]:Ww(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 Lw){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 bg(r,r.defaultAttrs,e,vt.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return ls.fromJSON(this,e)}markFromJSON(e){return vt.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function Ww(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 cI(t){return t.tag!=null}function uI(t){return t.style!=null}let Y2=class S0{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(i=>{if(cI(i))this.tags.push(i);else if(uI(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 zw(this,n,!1);return r.addAll(e,vt.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new zw(this,n,!0);return r.addAll(e,vt.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(hI(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=jw(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=jw(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new S0(e,S0.schemaRules(e)))}};const tA={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},fI={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},nA={ol:!0,ul:!0},Ud=1,T0=2,qp=4;function $w(t,e,n){return e!=null?(e?Ud:0)|(e==="full"?T0:0):t&&t.whitespace=="pre"?Ud|T0:n&-5}class mp{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=vt.none,this.match=o||(a&qp?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(Re.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&Ud)){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=Re.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(Re.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&&!tA.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class zw{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=$w(null,n.preserveWhitespace,0)|(r?qp:0);i?o=new mp(i.type,i.attrs,vt.none,!0,n.topMatch||i.type.contentMatch,a):r?o=new mp(null,null,vt.none,!0,null,a):o=new mp(e.schema.topNodeType,null,vt.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&T0?"full":this.localPreserveWS||(i.options&Ud)>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;nA.hasOwnProperty(a)&&this.parser.normalizeLists&&dI(e);let l=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(s=this.parser.matchTag(e,this,r));e:if(l?l.ignore:fI.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(tA.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=vt.none;for(let a of r.concat(e.marks))(i.type?i.type.allowsMarkType(a.type):Vw(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=$w(e,o,a.options);a.options&qp&&a.content.length==0&&(s|=qp);let l=vt.none;return r=r.filter(c=>(a.type?a.type.allowsMarkType(c.type):Vw(c.type,e))?(l=c.addToSet(l),!1):!0),this.nodes.push(new mp(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|=Ud)}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 dI(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&nA.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function hI(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function jw(t){let e={};for(let n in t)e[n]=t[n];return e}function Vw(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 Il{constructor(e,n){this.nodes=e,this.marks=n}serializeFragment(e,n={},r){r||(r=zb(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}=Gp(zb(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&&Gp(zb(r),i(e,n),null,e.attrs)}static renderSpec(e,n,r=null,i){return Gp(e,n,r,i)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new Il(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=Hw(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return Hw(e.marks)}}function Hw(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function zb(t){return t.document||window.document}const qw=new WeakMap;function pI(t){let e=qw.get(t);return e===void 0&&qw.set(t,e=gI(t)),e}function gI(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 Gp(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=pI(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:m}=Gp(t,p,n,r);if(l.appendChild(g),m){if(s)throw new RangeError("Multiple content holes");s=m}}}return{dom:l,contentDOM:s}}const rA=65535,iA=Math.pow(2,16);function mI(t,e){return t+e*iA}function Gw(t){return t&rA}function yI(t){return(t-(t&rA))/iA}const oA=1,aA=2,Xp=4,sA=8;class _0{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&sA)>0}get deletedBefore(){return(this.delInfo&(oA|Xp))>0}get deletedAfter(){return(this.delInfo&(aA|Xp))>0}get deletedAcross(){return(this.delInfo&Xp)>0}}class Ir{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&Ir.empty)return Ir.empty}recover(e){let n=0,r=Gw(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+yI(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 m=e==(n<0?l:d)?null:mI(s/3,e-l),v=e==l?aA:e==d?oA:Xp;return(n<0?e!=l:e!=d)&&(v|=sA),new _0(g,v,m)}i+=f-c}return r?e+i:new _0(e+i,0,null)}touches(e,n){let r=0,i=Gw(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 Ir(this.ranges,!this.inverted)}toString(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)}static offset(e){return e==0?Ir.empty:new Ir(e<0?[0,-e,0]:[0,0,e])}}Ir.empty=new Ir([]);class uu{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 uu(this.maps,this.mirror,e,n)}copy(){return new uu(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 uu;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 _0(e,i,null)}}const jb=Object.create(null);class Pn{getMap(){return Ir.empty}merge(e){return null}static fromJSON(e,n){if(!n||!n.stepType)throw new RangeError("Invalid input for Step.fromJSON");let r=jb[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 jb)throw new RangeError("Duplicate use of step JSON ID "+e);return jb[e]=n,n.prototype.jsonID=e,n}}class Xt{constructor(e,n){this.doc=e,this.failed=n}static ok(e){return new Xt(e,null)}static fail(e){return new Xt(null,e)}static fromReplace(e,n,r,i){try{return Xt.ok(e.replace(n,r,i))}catch(o){if(o instanceof mg)return Xt.fail(o.message);throw o}}}function K2(t,e,n){let r=[];for(let i=0;i<t.childCount;i++){let o=t.child(i);o.content.size&&(o=o.copy(K2(o.content,e,o))),o.isInline&&(o=e(o,n,i)),r.push(o)}return Re.fromArray(r)}class ts extends Pn{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(K2(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 Xt.fromReplace(e,this.from,this.to,o)}invert(){return new Ki(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 ts(n.pos,r.pos,this.mark)}merge(e){return e instanceof ts&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new ts(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 ts(n.from,n.to,e.markFromJSON(n.mark))}}Pn.jsonID("addMark",ts);class Ki extends Pn{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(K2(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return Xt.fromReplace(e,this.from,this.to,r)}invert(){return new ts(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 Ki(n.pos,r.pos,this.mark)}merge(e){return e instanceof Ki&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new Ki(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 Ki(n.from,n.to,e.markFromJSON(n.mark))}}Pn.jsonID("removeMark",Ki);class ns extends Pn{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Xt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Xt.fromReplace(e,this.pos,this.pos+1,new We(Re.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 ns(this.pos,n.marks[i]);return new ns(this.pos,this.mark)}}return new xu(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new ns(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 ns(n.pos,e.markFromJSON(n.mark))}}Pn.jsonID("addNodeMark",ns);class xu extends Pn{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Xt.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.removeFromSet(n.marks));return Xt.fromReplace(e,this.pos,this.pos+1,new We(Re.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);return!n||!this.mark.isInSet(n.marks)?this:new ns(this.pos,this.mark)}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new xu(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 xu(n.pos,e.markFromJSON(n.mark))}}Pn.jsonID("removeNodeMark",xu);class on extends Pn{constructor(e,n,r,i=!1){super(),this.from=e,this.to=n,this.slice=r,this.structure=i}apply(e){return this.structure&&C0(e,this.from,this.to)?Xt.fail("Structure replace would overwrite content"):Xt.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new Ir([this.from,this.to-this.from,this.slice.size])}invert(e){return new on(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 on(n.pos,Math.max(n.pos,r.pos),this.slice)}merge(e){if(!(e instanceof on)||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 on(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 on(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 on(n.from,n.to,We.fromJSON(e,n.slice),!!n.structure)}}Pn.jsonID("replace",on);class an extends Pn{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&&(C0(e,this.from,this.gapFrom)||C0(e,this.gapTo,this.to)))return Xt.fail("Structure gap-replace would overwrite content");let n=e.slice(this.gapFrom,this.gapTo);if(n.openStart||n.openEnd)return Xt.fail("Gap is not a flat range");let r=this.slice.insertAt(this.insert,n.content);return r?Xt.fromReplace(e,this.from,this.to,r):Xt.fail("Content does not fit in gap")}getMap(){return new Ir([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 an(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 an(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 an(n.from,n.to,n.gapFrom,n.gapTo,We.fromJSON(e,n.slice),n.insert,!!n.structure)}}Pn.jsonID("replaceAround",an);function C0(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 bI(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),m=r.addToSet(d);for(let v=0;v<d.length;v++)d[v].isInSet(m)||(a&&a.to==p&&a.mark.eq(d[v])?a.to=g:i.push(a=new Ki(p,g,d[v])));s&&s.to==p?s.to=g:o.push(s=new ts(p,g,r))}}),i.forEach(l=>t.step(l)),o.forEach(l=>t.step(l))}function vI(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 Om){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 m=i[g];m.step==o-1&&d.eq(i[g].style)&&(p=m)}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 Ki(a.from,a.to,a.style)))}function Z2(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 on(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 Ki(s,f,c.marks[p]));if(i&&c.isText&&n.whitespace!="pre"){let p,g=/\r?\n|\r/g,m;for(;p=g.exec(c.text);)m||(m=new We(Re.from(n.schema.text(" ",n.allowedMarks(c.marks))),0,0)),a.push(new on(s+p.index,s+p.index+p[0].length,m))}}s=f}if(!r.validEnd){let l=r.fillBefore(Re.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 xI(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function Wu(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||!xI(i,o,a))break}return null}function DI(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=Re.empty,d=0;for(let m=o,v=!1;m>n;m--)v||r.index(m)>0?(v=!0,f=Re.from(r.node(m).copy(f)),d++):l--;let p=Re.empty,g=0;for(let m=o,v=!1;m>n;m--)v||i.after(m+1)<i.end(m)?(v=!0,p=Re.from(i.node(m).copy(p)),g++):c++;t.step(new an(l,c,a,s,new We(f.append(p),d,g),f.size-d,!0))}function Q2(t,e,n=null,r=t){let i=wI(t,e),o=i&&SI(r,e);return o?i.map(Xw).concat({type:e,attrs:n}).concat(o.map(Xw)):null}function Xw(t){return{type:t,attrs:null}}function wI(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 SI(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 TI(t,e,n){let r=Re.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=Re.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new an(i,o,i,o,new We(r,0,0),n.length,!0))}function _I(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)&&CI(t.doc,t.mapping.slice(o).map(s),r)){let c=null;if(r.schema.linebreakReplacement){let g=r.whitespace=="pre",m=!!r.contentMatch.matchType(r.schema.linebreakReplacement);g&&!m?c=!1:!g&&m&&(c=!0)}c===!1&&cA(t,a,s,o),Z2(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 an(d,p,d+1,p-1,new We(Re.from(r.create(l,null,a.marks)),0,0),1,!0)),c===!0&&lA(t,a,s,o),!1}})}function lA(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 cA(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 CI(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function EI(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 an(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new We(Re.from(a),0,0),1,!0))}function fu(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),m=r&&r[f+1];m&&(g=g.replaceChild(0,m.type.create(m.attrs)));let v=r&&r[f]||d;if(!d.canReplace(p+1,d.childCount)||!v.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 kI(t,e,n=1,r){let i=t.doc.resolve(e),o=Re.empty,a=Re.empty;for(let s=i.depth,l=i.depth-n,c=n-1;s>l;s--,c--){o=Re.from(i.node(s).copy(o));let f=r&&r[c];a=Re.from(f?f.type.create(f.attrs,a):i.node(s).copy(a))}t.step(new on(e,e,new We(o.append(a),n,n),!0))}function $u(t,e){let n=t.resolve(e),r=n.index();return uA(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function AI(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 uA(t,e){return!!(t&&e&&!t.isLeaf&&AI(t,e))}function ex(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&&uA(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 UI(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);cA(t,f.node(),f.before(),s)}a.inlineContent&&Z2(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 on(c,l.map(e+n,-1),We.empty,!0)),r===!0){let f=t.doc.resolve(c);lA(t,f.node(),f.before(),t.steps.length)}return t}function FI(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 fA(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 Im(t,e,n=e,r=We.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return dA(i,o,r)?new on(e,n,r):new RI(i,o,r).fit()}function dA(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class RI{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=Re.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=Re.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 an(r.pos,e,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new on(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=Vb(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(Re.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=Vb(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=Vb(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new We(sd(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new We(sd(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 v=0;v<o.length;v++)this.openFrontierNode(o[v]);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 v=0;v<i.childCount;v++)f.push(i.child(v));d=d.matchFragment(i)}let g=s.size+e-(a.content.size-a.openEnd);for(;c<s.childCount;){let v=s.child(c),x=d.matchType(v.type);if(!x)break;c++,(c>1||l==0||v.content.size)&&(d=x,f.push(hA(v.mark(p.allowedMarks(v.marks)),c==1?l:0,c==s.childCount?g:-1)))}let m=c==s.childCount;m||(g=-1),this.placed=ld(this.placed,n,Re.from(f)),this.frontier[n].match=d,m&&g<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let v=0,x=s;v<g;v++){let D=x.lastChild;this.frontier.push({type:D.type,match:D.contentMatchAt(D.childCount)}),x=D.content}this.unplaced=m?e==0?We.empty:new We(sd(a.content,e-1,1),e-1,g<0?a.openEnd:e-1):new We(sd(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||!Hb(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=Hb(e,n,i,r,o);if(a){for(let s=n-1;s>=0;s--){let{match:l,type:c}=this.frontier[s],f=Hb(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=ld(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=ld(this.placed,this.depth,Re.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(Re.empty,!0);n.childCount&&(this.placed=ld(this.placed,this.frontier.length,n))}}function sd(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(sd(t.firstChild.content,e-1,n)))}function ld(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(ld(t.lastChild.content,e-1,n)))}function Vb(t,e){for(let n=0;n<e;n++)t=t.firstChild.content;return t}function hA(t,e,n){if(e<=0)return t;let r=t.content;return e>1&&(r=r.replaceChild(0,hA(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(Re.empty,!0)))),t.copy(r)}function Hb(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&&!OI(n,o.content,a)?s:null}function OI(t,e,n){for(let r=n;r<e.childCount;r++)if(!t.allowsMarks(e.child(r).marks))return!0;return!1}function II(t){return t.spec.defining||t.spec.definingForContent}function BI(t,e,n,r){if(!r.size)return t.deleteRange(e,n);let i=t.doc.resolve(e),o=t.doc.resolve(n);if(dA(i,o,r))return t.step(new on(e,n,r));let a=gA(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 m=i.node(p).type.spec;if(m.defining||m.definingAsContext||m.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 m=p.firstChild;if(c.push(m),g==r.openStart)break;p=m.content}for(let p=f-1;p>=0;p--){let g=c[p],m=II(g.type);if(m&&!g.sameMarkup(i.node(Math.abs(s)-1)))f=p;else if(m||!g.type.isTextblock)break}for(let p=r.openStart;p>=0;p--){let g=(p+f+1)%(r.openStart+1),m=c[g];if(m)for(let v=0;v<a.length;v++){let x=a[(v+l)%a.length],D=!0;x<0&&(D=!1,x=-x);let w=i.node(x-1),C=i.index(x-1);if(w.canReplaceWith(C,C,m.type,m.marks))return t.replace(i.before(x),D?o.after(x):n,new We(pA(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 pA(t,e,n,r,i){if(e<n){let o=t.firstChild;t=t.replaceChild(0,o.copy(pA(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(Re.empty,!0))}return t}function MI(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=FI(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new We(Re.from(r),0,0))}function NI(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=gA(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 gA(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 du extends Pn{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 Xt.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 Xt.fromReplace(e,this.pos,this.pos+1,new We(Re.from(i),0,n.isLeaf?0:1))}getMap(){return Ir.empty}invert(e){return new du(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 du(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 du(n.pos,n.attr,n.value)}}Pn.jsonID("attr",du);class Fd extends Pn{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 Xt.ok(r)}getMap(){return Ir.empty}invert(e){return new Fd(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 Fd(n.attr,n.value)}}Pn.jsonID("docAttr",Fd);let Du=class extends Error{};Du=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};Du.prototype=Object.create(Error.prototype);Du.prototype.constructor=Du;Du.prototype.name="TransformError";class tx{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new uu}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new Du(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=Im(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new We(Re.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 BI(this,e,n,r),this}replaceRangeWith(e,n,r){return MI(this,e,n,r),this}deleteRange(e,n){return NI(this,e,n),this}lift(e,n){return DI(this,e,n),this}join(e,n=1){return UI(this,e,n),this}wrap(e,n){return TI(this,e,n),this}setBlockType(e,n=e,r,i=null){return _I(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return EI(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new du(e,n,r)),this}setDocAttribute(e,n){return this.step(new Fd(e,n)),this}addNodeMark(e,n){return this.step(new ns(e,n)),this}removeNodeMark(e,n){if(!(n instanceof vt)){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 xu(e,n)),this}split(e,n=1,r){return kI(this,e,n,r),this}addMark(e,n,r){return bI(this,e,n,r),this}removeMark(e,n,r){return vI(this,e,n,r),this}clearIncompatible(e,n,r){return Z2(this,e,n,r),this}}const qb=Object.create(null);class tt{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new nx(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&&Kw(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),Kw(e,r,n.isInline?-1:1))}}static findFrom(e,n,r=!1){let i=e.parent.inlineContent?new lt(e):tu(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?tu(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):tu(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 Mr(e.node(0))}static atStart(e){return tu(e,e,0,0,1)||new Mr(e)}static atEnd(e){return tu(e,e,e.content.size,e.childCount,-1)||new Mr(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=qb[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 qb)throw new RangeError("Duplicate use of selection JSON ID "+e);return qb[e]=n,n.prototype.jsonID=e,n}getBookmark(){return lt.between(this.$anchor,this.$head).getBookmark()}}tt.prototype.visible=!0;class nx{constructor(e,n){this.$from=e,this.$to=n}}let Jw=!1;function Yw(t){!Jw&&!t.parent.inlineContent&&(Jw=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class lt extends tt{constructor(e,n=e){Yw(e),Yw(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 tt.near(r);let i=e.resolve(n.map(this.anchor));return new lt(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 lt&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Bm(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 lt(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=tt.findFrom(n,r,!0)||tt.findFrom(n,-r,!0);if(o)n=o.$head;else return tt.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(tt.findFrom(e,-r,!0)||tt.findFrom(e,r,!0)).$anchor,e.pos<n.pos!=i<0&&(e=n))),new lt(e,n)}}tt.jsonID("text",lt);class Bm{constructor(e,n){this.anchor=e,this.head=n}map(e){return new Bm(e.map(this.anchor),e.map(this.head))}resolve(e){return lt.between(e.resolve(this.anchor),e.resolve(this.head))}}class Ye extends tt{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?tt.near(o):new Ye(o)}content(){return new We(Re.from(this.node),0,0)}eq(e){return e instanceof Ye&&e.anchor==this.anchor}toJSON(){return{type:"node",anchor:this.anchor}}getBookmark(){return new rx(this.anchor)}static fromJSON(e,n){if(typeof n.anchor!="number")throw new RangeError("Invalid input for NodeSelection.fromJSON");return new Ye(e.resolve(n.anchor))}static create(e,n){return new Ye(e.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}}Ye.prototype.visible=!1;tt.jsonID("node",Ye);class rx{constructor(e){this.anchor=e}map(e){let{deleted:n,pos:r}=e.mapResult(this.anchor);return n?new Bm(r,r):new rx(r)}resolve(e){let n=e.resolve(this.anchor),r=n.nodeAfter;return r&&Ye.isSelectable(r)?new Ye(n):tt.near(n)}}class Mr extends tt{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=tt.atStart(e.doc);r.eq(e.selection)||e.setSelection(r)}else super.replace(e,n)}toJSON(){return{type:"all"}}static fromJSON(e){return new Mr(e)}map(e){return new Mr(e)}eq(e){return e instanceof Mr}getBookmark(){return PI}}tt.jsonID("all",Mr);const PI={map(){return this},resolve(t){return new Mr(t)}};function tu(t,e,n,r,i,o=!1){if(e.inlineContent)return lt.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&&Ye.isSelectable(s))return Ye.create(t,n-(i<0?s.nodeSize:0))}else{let l=tu(t,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function Kw(t,e,n){let r=t.steps.length-1;if(r<e)return;let i=t.steps[r];if(!(i instanceof on||i instanceof an))return;let o=t.mapping.maps[r],a;o.forEach((s,l,c,f)=>{a==null&&(a=f)}),t.setSelection(tt.near(t.doc.resolve(a),n))}const Zw=1,Qw=2,eS=4;let LI=class extends tx{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|Zw)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&Zw)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Qw,this}ensureMarks(e){return vt.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&Qw)>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)||vt.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(tt.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|=eS,this}get scrolledIntoView(){return(this.updated&eS)>0}};function tS(t,e){return!e||!t?t:t.bind(e)}class cd{constructor(e,n,r){this.name=e,this.init=tS(n.init,r),this.apply=tS(n.apply,r)}}const WI=[new cd("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new cd("selection",{init(t,e){return t.selection||tt.atStart(e.doc)},apply(t){return t.selection}}),new cd("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new cd("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Gb{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=WI.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 cd(r.key,r.spec.state,r))})}}class au{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 au(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 LI(this)}static create(e){let n=new Gb(e.doc?e.doc.type.schema:e.schema,e.plugins),r=new au(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 Gb(this.schema,e.plugins),r=n.fields,i=new au(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 Gb(e.schema,e.plugins),o=new au(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=ls.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=tt.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 mA(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=mA(i,e,{})),n[r]=i}return n}class Bl{constructor(e){this.spec=e,this.props={},e.props&&mA(e.props,this,this.props),this.key=e.key?e.key.key:yA("plugin")}getState(e){return e[this.key]}}const Xb=Object.create(null);function yA(t){return t in Xb?t+"$"+ ++Xb[t]:(Xb[t]=0,t+"$")}class ia{constructor(e="key"){this.key=yA(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const xn=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},Rd=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let E0=null;const Vo=function(t,e,n){let r=E0||(E0=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},$I=function(){E0=null},Tl=function(t,e,n,r){return n&&(nS(t,e,n,r,-1)||nS(t,e,n,r,1))},zI=/^(img|br|input|textarea|hr)$/i;function nS(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:ii(t))){let o=t.parentNode;if(!o||o.nodeType!=1||fh(t)||zI.test(t.nodeName)||t.contentEditable=="false")return!1;e=xn(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?ii(t):0}else return!1}}function ii(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function jI(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=ii(t)}else if(t.parentNode&&!fh(t))e=xn(t),t=t.parentNode;else return null}}function VI(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&&!fh(t))e=xn(t)+1,t=t.parentNode;else return null}}function HI(t,e,n){for(let r=e==0,i=e==ii(t);r||i;){if(t==n)return!0;let o=xn(t);if(t=t.parentNode,!t)return!1;r=r&&o==0,i=i&&o==ii(t)}}function fh(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 Mm=function(t){return t.focusNode&&Tl(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function dl(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function qI(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function GI(t,e,n){if(t.caretPositionFromPoint)try{let r=t.caretPositionFromPoint(e,n);if(r)return{node:r.offsetNode,offset:Math.min(ii(r.offsetNode),r.offset)}}catch{}if(t.caretRangeFromPoint){let r=t.caretRangeFromPoint(e,n);if(r)return{node:r.startContainer,offset:Math.min(ii(r.startContainer),r.startOffset)}}}const io=typeof navigator<"u"?navigator:null,rS=typeof document<"u"?document:null,xs=io&&io.userAgent||"",k0=/Edge\/(\d+)/.exec(xs),bA=/MSIE \d/.exec(xs),A0=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(xs),vr=!!(bA||A0||k0),cs=bA?document.documentMode:A0?+A0[1]:k0?+k0[1]:0,Si=!vr&&/gecko\/(\d+)/i.test(xs);Si&&+(/Firefox\/(\d+)/.exec(xs)||[0,0])[1];const U0=!vr&&/Chrome\/(\d+)/.exec(xs),Fn=!!U0,vA=U0?+U0[1]:0,er=!vr&&!!io&&/Apple Computer/.test(io.vendor),wu=er&&(/Mobile\/\w+/.test(xs)||!!io&&io.maxTouchPoints>2),ni=wu||(io?/Mac/.test(io.platform):!1),XI=io?/Win/.test(io.platform):!1,Go=/Android \d/.test(xs),dh=!!rS&&"webkitFontSmoothing"in rS.documentElement.style,JI=dh?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function YI(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 Oo(t,e){return typeof t=="number"?t:t[e]}function KI(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 iS(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=Rd(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,c=l?YI(o):KI(s),f=0,d=0;if(e.top<c.top+Oo(r,"top")?d=-(c.top-e.top+Oo(i,"top")):e.bottom>c.bottom-Oo(r,"bottom")&&(d=e.bottom-e.top>c.bottom-c.top?e.top+Oo(i,"top")-c.top:e.bottom-c.bottom+Oo(i,"bottom")),e.left<c.left+Oo(r,"left")?f=-(c.left-e.left+Oo(i,"left")):e.right>c.right-Oo(r,"right")&&(f=e.right-c.right+Oo(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 m=s.scrollLeft-p,v=s.scrollTop-g;e={left:e.left-m,top:e.top-v,right:e.right-m,bottom:e.bottom-v}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function ZI(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:xA(t.dom)}}function xA(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=Rd(r));return e}function QI({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;DA(n,r==0?0:r-e)}function DA(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 Vc=null;function e4(t){if(t.setActive)return t.setActive();if(Vc)return t.focus(Vc);let e=xA(t);t.focus(Vc==null?{get preventScroll(){return Vc={preventScroll:!0},!0}}:void 0),Vc||(Vc=!1,DA(e,0))}function wA(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=Vo(f).getClientRects();else continue;for(let g=0;g<p.length;g++){let m=p[g];if(m.top<=a&&m.bottom>=s){a=Math.max(m.bottom,a),s=Math.min(m.top,s);let v=m.left>e.left?m.left-e.left:m.right<e.left?e.left-m.right:0;if(v<r){n=f,r=v,i=v&&n.nodeType==3?{left:m.right<e.left?m.right:m.left,top:e.top}:e,f.nodeType==1&&v&&(o=d+(e.left>=(m.left+m.right)/2?1:0));continue}}else m.top>e.top&&!l&&m.left<=e.left&&m.right>=e.left&&(l=f,c={left:Math.max(m.left,Math.min(m.right,e.left)),top:m.top});!n&&(e.left>=m.right&&e.top>=m.top||e.left>=m.left&&e.top>=m.bottom)&&(o=d+1)}}return!n&&l&&(n=l,i=c,r=0),n&&n.nodeType==3?t4(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:wA(n,i)}function t4(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=Ha(r,1);if(o.top!=o.bottom&&ix(e,o))return{node:t,offset:i+(e.left>=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function ix(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function n4(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left<t.getBoundingClientRect().left?n:t}function r4(t,e,n){let{node:r,offset:i}=wA(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 i4(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 SA(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(ix(e,c))return SA(a,e,c)}}if((o=(o+1)%r)==i)break}return t}function o4(t,e){let n=t.dom.ownerDocument,r,i=0,o=GI(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(!ix(e,c)||(a=SA(t.dom,e,c),!a))return null}if(er)for(let c=a;r&&c;c=Rd(c))c.draggable&&(r=void 0);if(a=n4(a,e),r){if(Si&&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;dh&&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=i4(t,r,i,e))}s==null&&(s=r4(t,a,e));let l=t.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function oS(t){return t.top<t.bottom||t.left<t.right}function Ha(t,e){let n=t.getClientRects();if(n.length){let r=n[e<0?0:n.length-1];if(oS(r))return r}return Array.prototype.find.call(n,oS)||t.getBoundingClientRect()}const a4=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function TA(t,e,n){let{node:r,offset:i,atom:o}=t.docView.domFromPos(e,n<0?-1:1),a=dh||Si;if(r.nodeType==3)if(a&&(a4.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let l=Ha(Vo(r,i,i),n);if(Si&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let c=Ha(Vo(r,i-1,i-1),-1);if(c.top==l.top){let f=Ha(Vo(r,i,i+1),-1);if(f.top!=l.top)return Gf(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++,Gf(Ha(Vo(r,l,c),f),f<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==ii(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return Jb(l.getBoundingClientRect(),!1)}if(o==null&&i<ii(r)){let l=r.childNodes[i];if(l.nodeType==1)return Jb(l.getBoundingClientRect(),!0)}return Jb(r.getBoundingClientRect(),n>=0)}if(o==null&&i&&(n<0||i==ii(r))){let l=r.childNodes[i-1],c=l.nodeType==3?Vo(l,ii(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(c)return Gf(Ha(c,1),!1)}if(o==null&&i<ii(r)){let l=r.childNodes[i];for(;l.pmViewDesc&&l.pmViewDesc.ignoreForCoords;)l=l.nextSibling;let c=l?l.nodeType==3?Vo(l,0,a?0:1):l.nodeType==1?l:null:null;if(c)return Gf(Ha(c,-1),!0)}return Gf(Ha(r.nodeType==3?Vo(r):r,-n),n>=0)}function Gf(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 Jb(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 _A(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 s4(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return _A(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=TA(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=Vo(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 l4=/[\u0590-\u08ac]/;function c4(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?!l4.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:_A(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:m,focusOffset:v}=t.domSelectionRange(),x=m&&!g.contains(m.nodeType==1?m:m.parentNode)||l==m&&c==v;try{s.collapse(f,d),l&&(l!=f||c!=d)&&s.extend&&s.extend(l,c)}catch{}return p!=null&&(s.caretBidiLevel=p),x}):r.pos==r.start()||r.pos==r.end()}let aS=null,sS=null,lS=!1;function u4(t,e,n){return aS==e&&sS==n?lS:(aS=e,sS=n,lS=n=="up"||n=="down"?s4(t,e,n):c4(t,e,n))}const oi=0,cS=1,hl=2,oo=3;class hh{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=oi,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>xn(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 EA){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 CA&&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?xn(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?xn(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=xn(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=xn(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,m=0;g<this.children.length;g++){let v=this.children[g],x=m+v.size;if(o>m&&a<x)return v.setSelection(e-m-v.border,n-m-v.border,r,i);m=x}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((Si||er)&&e==n){let{node:g,offset:m}=s;if(g.nodeType==3){if(d=!!(m&&g.nodeValue[m-1]==`
6
+ `),d&&m==g.nodeValue.length)for(let v=g,x;v;v=v.parentNode){if(x=v.nextSibling){x.nodeName=="BR"&&(s=l={node:x.parentNode,offset:xn(x)+1});break}let D=v.pmViewDesc;if(D&&D.node&&D.node.isBlock)break}}else{let v=g.childNodes[m-1];d=v&&(v.nodeName=="BR"||v.contentEditable=="false")}}if(Si&&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&&er)&&Tl(s.node,s.offset,f.anchorNode,f.anchorOffset)&&Tl(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 m=s;s=l,l=m}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?hl:cS,e==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=oo:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?hl:oo}r=a}this.dirty=hl}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?hl:cS;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(e){return!1}}class CA extends hh{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==oi&&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 f4 extends hh{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 _l extends hh{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=Il.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new _l(e,n,a.dom,a.contentDOM||a.dom,a)}parseRule(){return this.dirty&oo||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=oo&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=oi){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=oi}}slice(e,n,r){let i=_l.create(this.parent,this.mark,!0,r),o=this.children,a=this.size;n<a&&(o=R0(o,n,a,r)),e>0&&(o=R0(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 us extends hh{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}=Il.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=UA(f,r,n),c?l=new d4(e,n,r,i,f,d||null,p,c,o,a+1):n.isText?new Nm(e,n,r,i,f,p,o):new us(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=()=>Re.empty)}return e}matchesNode(e,n,r){return this.dirty==oi&&e.eq(this.node)&&vg(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 p4(this,a&&a.node,e);y4(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?vt.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==hl)&&(a&&this.protectLocalComposition(e,a),kA(this.contentDOM,this.children,e),wu&&b4(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof lt)||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=v4(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 f4(this,o,n,i);e.input.compositionNodes.push(a),this.children=R0(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==oo||!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=oi}updateOuterDeco(e){if(vg(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=AA(this.dom,this.nodeDOM,F0(this.outerDeco,this.node,n),F0(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 uS(t,e,n,r,i){UA(r,e,t);let o=new us(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}class Nm extends us{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==oo||this.dirty!=oi&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=oi||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=oi,!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 Nm(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=oo)}get domAtom(){return!1}isText(e){return this.node.text==e}}class EA extends hh{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==oi&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class d4 extends us{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==oo)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 kA(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=fS(r),i=!0;r=r.nextSibling}else i=!0,t.insertBefore(s,r);if(a instanceof _l){let l=r?r.previousSibling:t.lastChild;kA(a.contentDOM,a.children,n),r=l?l.nextSibling:t.firstChild}}for(;r;)r=fS(r),i=!0;i&&n.trackWrites==t&&(n.trackWrites=null)}const hd=function(t){t&&(this.nodeName=t)};hd.prototype=Object.create(null);const pl=[new hd];function F0(t,e,n){if(t.length==0)return pl;let r=n?pl[0]:new hd,i=[r];for(let o=0;o<t.length;o++){let a=t[o].type.attrs;if(a){a.nodeName&&i.push(r=new hd(a.nodeName));for(let s in a){let l=a[s];l!=null&&(n&&i.length==1&&i.push(r=new hd(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 AA(t,e,n,r){if(n==pl&&r==pl)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=pl[0]),i=l}h4(i,s||pl[0],a)}return i}function h4(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 UA(t,e,n){return AA(t,t,pl,F0(e,n,t.nodeType!=1))}function vg(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 fS(t){let e=t.nextSibling;return t.parentNode.removeChild(t),e}class p4{constructor(e,n,r){this.lock=n,this.view=r,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=g4(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=oi,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=_l.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==oo&&a.dom==a.contentDOM&&(a.dirty=hl),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 us){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!=oo&&vg(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=hl,d.updateChildren(i,a+1),d.dirty=oi),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)||!vg(r,e.outerDeco)||!i.eq(e.innerDeco))return null;let s=us.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=us.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 CA(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 _l;)n=e,e=n.children[n.children.length-1];(!e||!(e instanceof Nm)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((er||Fn)&&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 EA(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 g4(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 _l)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 m4(t,e){return t.type.side-e.type.side}function y4(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 x=i[a++];x.widget&&(f?(d||(d=[f])).push(x):f=x)}if(f)if(d){d.sort(m4);for(let x=0;x<d.length;x++)n(d[x],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 x=0;x<s.length;x++)s[x].to<=o&&s.splice(x--,1);for(;a<i.length&&i[a].from<=o&&i[a].to>o;)s.push(i[a++]);let m=o+p.nodeSize;if(p.isText){let x=m;a<i.length&&i[a].from<x&&(x=i[a].from);for(let D=0;D<s.length;D++)s[D].to<x&&(x=s[D].to);x<m&&(l=p.cut(x-o),p=p.cut(0,x-o),m=x,g=-1)}else for(;a<i.length&&i[a].to<m;)a++;let v=p.isInline&&!p.isLeaf?s.filter(x=>!x.inline):s.slice();r(p,v,e.forChild(o,p),g),o=m}}function b4(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 v4(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 R0(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 ox(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(Mm(n)){for(l=a;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&Ye.isSelectable(d)&&i.parent&&!(d.isInline&&HI(n.focusNode,n.focusOffset,i.dom))){let p=i.posBefore;c=new Ye(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 m=n.getRangeAt(g);d=Math.min(d,t.docView.posFromDOM(m.startContainer,m.startOffset,1)),p=Math.max(p,t.docView.posFromDOM(m.endContainer,m.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=ax(t,f,s,d)}return c}function FA(t){return t.editable?t.hasFocus():OA(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function Jo(t,e=!1){let n=t.state.selection;if(RA(t,n),!!FA(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&Fn){let r=t.domSelectionRange(),i=t.domObserver.currentSelection;if(r.anchorNode&&i.anchorNode&&Tl(r.anchorNode,r.anchorOffset,i.anchorNode,i.anchorOffset)){t.input.mouseDown.delayedSelectionSync=!0,t.domObserver.setCurSelection();return}}if(t.domObserver.disconnectSelection(),t.cursorWrapper)D4(t);else{let{anchor:r,head:i}=n,o,a;dS&&!(n instanceof lt)&&(n.$from.parent.inlineContent||(o=hS(t,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(a=hS(t,n.to))),t.docView.setSelection(r,i,t,e),dS&&(o&&pS(o),a&&pS(a)),n.visible?t.dom.classList.remove("ProseMirror-hideselection"):(t.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&x4(t))}t.domObserver.setCurSelection(),t.domObserver.connectSelection()}}const dS=er||Fn&&vA<63;function hS(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(er&&i&&i.contentEditable=="false")return Yb(i);if((!i||i.contentEditable=="false")&&(!o||o.contentEditable=="false")){if(i)return Yb(i);if(o)return Yb(o)}}function Yb(t){return t.contentEditable="true",er&&t.draggable&&(t.draggable=!1,t.wasDraggable=!0),t}function pS(t){t.contentEditable="false",t.wasDraggable&&(t.draggable=!0,t.wasDraggable=null)}function x4(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(()=>{(!FA(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function D4(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,xn(r)+1):n.setStart(r,0),n.collapse(!0),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&vr&&cs<=11&&(r.disabled=!0,r.disabled=!1)}function RA(t,e){if(e instanceof Ye){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(gS(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else gS(t)}function gS(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function ax(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||lt.between(e,n,r)}function mS(t){return t.editable&&!t.hasFocus()?!1:OA(t)}function OA(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 w4(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return Tl(e.node,e.offset,n.anchorNode,n.anchorOffset)}function O0(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&&tt.findFrom(o,e)}function qa(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function yS(t,e,n){let r=t.state.selection;if(r instanceof lt)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 qa(t,new lt(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=O0(t.state,e);return i&&i instanceof Ye?qa(t,i):!1}else if(!(ni&&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?Ye.isSelectable(o)?qa(t,new Ye(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):dh?qa(t,new lt(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ye&&r.node.isInline)return qa(t,new lt(e>0?r.$to:r.$from));{let i=O0(t.state,e);return i?qa(t,i):!1}}}function xg(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function pd(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Hc(t,e){return e<0?S4(t):T4(t)}function S4(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(Si&&n.nodeType==1&&r<xg(n)&&pd(n.childNodes[r],-1)&&(a=!0);;)if(r>0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(pd(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(IA(n))break;{let s=n.previousSibling;for(;s&&pd(s,-1);)i=n.parentNode,o=xn(s),s=s.previousSibling;if(s)n=s,r=xg(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?I0(t,n,r):i&&I0(t,i,o)}function T4(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=xg(n),o,a;for(;;)if(r<i){if(n.nodeType!=1)break;let s=n.childNodes[r];if(pd(s,1))o=n,a=++r;else break}else{if(IA(n))break;{let s=n.nextSibling;for(;s&&pd(s,1);)o=s.parentNode,a=xn(s)+1,s=s.nextSibling;if(s)n=s,r=0,i=xg(n);else{if(n=n.parentNode,n==t.dom)break;r=i=0}}}o&&I0(t,o,a)}function IA(t){let e=t.pmViewDesc;return e&&e.node&&e.node.isBlock}function _4(t,e){for(;t&&e==t.childNodes.length&&!fh(t);)e=xn(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 C4(t,e){for(;t&&!e&&!fh(t);)e=xn(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 I0(t,e,n){if(e.nodeType!=3){let o,a;(a=_4(e,n))?(e=a,n=0):(o=C4(e,n))&&(e=o,n=o.nodeValue.length)}let r=t.domSelection();if(!r)return;if(Mm(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&&Jo(t)},50)}function bS(t,e){let n=t.state.doc.resolve(e);if(!(Fn||XI)&&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 vS(t,e,n){let r=t.state.selection;if(r instanceof lt&&!r.empty||n.indexOf("s")>-1||ni&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=O0(t.state,e);if(a&&a instanceof Ye)return qa(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof Mr?tt.near(a,e):tt.findFrom(a,e);return s?qa(t,s):!1}return!1}function xS(t,e){if(!(t.state.selection instanceof lt))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 DS(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function E4(t){if(!er||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;DS(t,r,"true"),setTimeout(()=>DS(t,r,"false"),20)}return!1}function k4(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function A4(t,e){let n=e.keyCode,r=k4(e);if(n==8||ni&&n==72&&r=="c")return xS(t,-1)||Hc(t,-1);if(n==46&&!e.shiftKey||ni&&n==68&&r=="c")return xS(t,1)||Hc(t,1);if(n==13||n==27)return!0;if(n==37||ni&&n==66&&r=="c"){let i=n==37?bS(t,t.state.selection.from)=="ltr"?-1:1:-1;return yS(t,i,r)||Hc(t,i)}else if(n==39||ni&&n==70&&r=="c"){let i=n==39?bS(t,t.state.selection.from)=="ltr"?1:-1:1;return yS(t,i,r)||Hc(t,i)}else{if(n==38||ni&&n==80&&r=="c")return vS(t,-1,r)||Hc(t,-1);if(n==40||ni&&n==78&&r=="c")return E4(t)||vS(t,1,r)||Hc(t,1);if(r==(ni?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function sx(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")||Il.fromSchema(t.state.schema),s=WA(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c=l.firstChild,f,d=0;for(;c&&c.nodeType==1&&(f=LA[c.nodeName.toLowerCase()]);){for(let g=f.length-1;g>=0;g--){let m=s.createElement(f[g]);for(;l.firstChild;)m.appendChild(l.firstChild);l.appendChild(m),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 BA(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(Re.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,m=Il.fromSchema(g);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(v=>{let x=a.appendChild(document.createElement("p"));v&&x.appendChild(m.serializeNode(g.text(v,p)))})}}else t.someProp("transformPastedHTML",d=>{n=d(n,t)}),a=O4(n),dh&&I4(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")||Y2.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||f),context:i,ruleFromNode(p){return p.nodeName=="BR"&&!p.nextSibling&&p.parentNode&&!U4.test(p.parentNode.nodeName)?{ignore:!0}:null}})),f)s=B4(wS(s,+f[1],+f[2]),f[4]);else if(s=We.maxOpen(F4(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=wS(s,d,p)}return t.someProp("transformPasted",d=>{s=d(s,t)}),s}const U4=/^(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 F4(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&&NA(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=PA(a[a.length-1],o.length));let f=MA(s,l);a.push(f),i=i.matchType(f.type),o=l}}),a)return Re.from(a)}return t}function MA(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,Re.from(t));return t}function NA(t,e,n,r,i){if(i<t.length&&i<e.length&&t[i]==e[i]){let o=NA(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(Re.from(MA(n,t,i+1))))}}function PA(t,e){if(e==0)return t;let n=t.content.replaceChild(t.childCount-1,PA(t.lastChild,e-1)),r=t.contentMatchAt(t.childCount).fillBefore(Re.empty,!0);return t.copy(n.append(r))}function B0(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=B0(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(Re.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function wS(t,e,n){return e<t.openStart&&(t=new We(B0(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new We(B0(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}const LA={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 SS=null;function WA(){return SS||(SS=document.implementation.createHTMLDocument("title"))}let Kb=null;function R4(t){let e=window.trustedTypes;return e?(Kb||(Kb=e.createPolicy("ProseMirrorClipboard",{createHTML:n=>n})),Kb.createHTML(t)):t}function O4(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=WA().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&LA[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"</"+o+">").reverse().join("")),n.innerHTML=R4(t),i)for(let o=0;o<i.length;o++)n=n.querySelector(i[o])||n;return n}function I4(t){let e=t.querySelectorAll(Fn?"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 B4(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=Re.from(l.create(r[s+1],i)),o++,a++}return new We(i,o,a)}const tr={},nr={},M4={touchstart:!0,touchmove:!0};class N4{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 P4(t){for(let e in tr){let n=tr[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{W4(t,r)&&!lx(t,r)&&(t.editable||!(r.type in nr))&&n(t,r)},M4[e]?{passive:!0}:void 0)}er&&t.dom.addEventListener("input",()=>null),M0(t)}function rs(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function L4(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 M0(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>lx(t,r))})}function lx(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function W4(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 $4(t,e){!lx(t,e)&&tr[e.type]&&(t.editable||!(e.type in nr))&&tr[e.type](t,e)}nr.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!zA(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(Go&&Fn&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),wu&&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,dl(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||A4(t,n)?n.preventDefault():rs(t,"key")};nr.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};nr.keypress=(t,e)=>{let n=e;if(zA(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||ni&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof lt)||!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 Pm(t){return{left:t.clientX,top:t.clientY}}function z4(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function cx(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 hu(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 j4(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Ye.isSelectable(r)?(hu(t,new Ye(n)),!0):!1}function V4(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof Ye&&(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(Ye.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?(hu(t,Ye.create(t.state.doc,i)),!0):!1}function H4(t,e,n,r,i){return cx(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?V4(t,n):j4(t,n))}function q4(t,e,n,r){return cx(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function G4(t,e,n,r){return cx(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||X4(t,n,r)}function X4(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(hu(t,lt.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)hu(t,lt.create(r,s+1,s+1+a.content.size));else if(Ye.isSelectable(a))hu(t,Ye.create(r,s));else continue;return!0}}function ux(t){return Dg(t)}const $A=ni?"metaKey":"ctrlKey";tr.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=ux(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&z4(n,t.input.lastClick)&&!n[$A]&&(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(Pm(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new J4(t,a,n,!!r)):(o=="doubleClick"?q4:G4)(t,a.pos,a.inside,n)?n.preventDefault():rs(t,"pointer"))};class J4{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[$A],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 Ye&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Si&&!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)),rs(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(()=>Jo(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(Pm(e))),this.updateAllowDefault(e),this.allowDefault||!n?rs(this.view,"pointer"):H4(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||er&&this.mightDrag&&!this.mightDrag.node.isAtom||Fn&&!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)?(hu(this.view,tt.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):rs(this.view,"pointer")}move(e){this.updateAllowDefault(e),rs(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)}}tr.touchstart=t=>{t.input.lastTouch=Date.now(),ux(t),rs(t,"pointer")};tr.touchmove=t=>{t.input.lastTouch=Date.now(),rs(t,"pointer")};tr.contextmenu=t=>ux(t);function zA(t,e){return t.composing?!0:er&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const Y4=Go?5e3:-1;nr.compositionstart=nr.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof lt&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),Dg(t,!0),t.markCursor=null;else if(Dg(t,!e.selection.empty),Si&&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}jA(t,Y4)};nr.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++,jA(t,20))};function jA(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Dg(t),e))}function VA(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=Z4());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function K4(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=jI(e.focusNode,e.focusOffset),r=VI(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 Z4(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Dg(t,e=!1){if(!(Go&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),VA(t),e||t.docView&&t.docView.dirty){let n=ox(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 Q4(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 Od=vr&&cs<15||wu&&JI<604;tr.copy=nr.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=Od?null:n.clipboardData,a=r.content(),{dom:s,text:l}=sx(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):Q4(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function e6(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function t6(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?Id(t,r.value,null,i,e):Id(t,r.textContent,r.innerHTML,i,e)},50)}function Id(t,e,n,r,i){let o=BA(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=e6(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 HA(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," "):""}nr.paste=(t,e)=>{let n=e;if(t.composing&&!Go)return;let r=Od?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&Id(t,HA(r),r.getData("text/html"),i,n)?n.preventDefault():t6(t,n)};class qA{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const GA=ni?"altKey":"ctrlKey";tr.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(Pm(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof Ye?i.to-1:i.to))){if(r&&r.mightDrag)a=Ye.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=Ye.create(t.state.doc,d.posBefore))}}let s=(a||t.state.selection).content(),{dom:l,text:c,slice:f}=sx(t,s);(!n.dataTransfer.files.length||!Fn||vA>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(Od?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",Od||n.dataTransfer.setData("text/plain",c),t.dragging=new qA(f,!n[GA],a)};tr.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};nr.dragover=nr.dragenter=(t,e)=>e.preventDefault();nr.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(Pm(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",m=>{a=m(a,t)}):a=BA(t,HA(n.dataTransfer),Od?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[GA]);if(t.someProp("handleDrop",m=>m(t,n,a||We.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?fA(t.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let c=t.state.tr;if(s){let{node:m}=r;m?m.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&&Ye.isSelectable(a.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new Ye(g));else{let m=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((v,x,D,w)=>m=w),c.setSelection(ax(t,g,c.doc.resolve(m)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))};tr.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())&&Jo(t)},20))};tr.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)};tr.beforeinput=(t,e)=>{if(Fn&&Go&&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,dl(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 nr)tr[t]=nr[t];function Bd(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 wg{constructor(e,n){this.toDOM=e,this.spec=n||bl,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 Rn(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof wg&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Bd(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class fs{constructor(e,n){this.attrs=e,this.spec=n||bl}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 Rn(o,a,this)}valid(e,n){return n.from<n.to}eq(e){return this==e||e instanceof fs&&Bd(this.attrs,e.attrs)&&Bd(this.spec,e.spec)}static is(e){return e.type instanceof fs}destroy(){}}let n6=class XA{constructor(e,n){this.attrs=e,this.spec=n||bl}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 Rn(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 XA&&Bd(this.attrs,e.attrs)&&Bd(this.spec,e.spec)}destroy(){}};class Rn{constructor(e,n,r){this.from=e,this.to=n,this.type=r}copy(e,n){return new Rn(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 Rn(e,e,new wg(n,r))}static inline(e,n,r,i){return new Rn(e,n,new fs(r,i))}static node(e,n,r,i){return new Rn(e,n,new n6(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof fs}get widget(){return this.type instanceof wg}}const nu=[],bl={};class Pt{constructor(e,n){this.local=e.length?e:nu,this.children=n.length?n:nu}static create(e,n){return n.length?Sg(n,e,0,bl):Un}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==Un||e.maps.length==0?this:this.mapInner(e,n,0,0,r||bl)}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?r6(this.children,a||[],e,n,r,i,o):a?new Pt(a.sort(vl),nu):Un}add(e,n){return n.length?this==Un?Pt.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=YA(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,Sg(f,s,c+1,bl)),o+=3}});let a=JA(o?KA(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||a.splice(s--,1);return new Pt(a.length?this.local.concat(a).sort(vl):this.local,i||this.children)}remove(e){return e.length==0||this==Un?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!=Un?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 Pt(i,r):Un}forChild(e,n){if(this==Un)return this;if(n.isLeaf)return Pt.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 fs){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 Pt(i.sort(vl),nu);return r?new Ka([s,r]):s}return r||Un}eq(e){if(this==e)return!0;if(!(e instanceof Pt)||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 fx(this.localsInner(e))}localsInner(e){if(this==Un)return nu;if(e.inlineContent||!this.local.some(fs.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof fs||n.push(this.local[r]);return n}forEachSet(e){e(this)}}Pt.empty=new Pt([],[]);Pt.removeOverlap=fx;const Un=Pt.empty;class Ka{constructor(e){this.members=e}map(e,n){const r=this.members.map(i=>i.map(e,n,bl));return Ka.from(r)}forChild(e,n){if(n.isLeaf)return Pt.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,n);o!=Un&&(o instanceof Ka?r=r.concat(o.members):r.push(o))}return Ka.from(r)}eq(e){if(!(e instanceof Ka)||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?fx(r?n:n.sort(vl)):nu}static from(e){switch(e.length){case 0:return Un;case 1:return e[0];default:return new Ka(e.every(n=>n instanceof Pt)?e:e.reduce((n,r)=>n.concat(r instanceof Pt?r:r.members),[]))}}forEachSet(e){for(let n=0;n<this.members.length;n++)this.members[n].forEachSet(e)}}function r6(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,m,v)=>{let x=v-m-(g-p);for(let D=0;D<s.length;D+=3){let w=s[D+1];if(w<0||p>w+f-d)continue;let C=s[D]+f-d;g>=C?s[D+1]=p<=C?-2:-1:p>=f&&x&&(s[D]+=x,s[D+1]+=x)}d+=x}),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:m,offset:v}=r.content.findIndex(d),x=r.maybeChild(m);if(x&&v==d&&v+x.nodeSize==g){let D=s[c+2].mapInner(n,x,f+1,t[c]+o+1,a);D!=Un?(s[c]=d,s[c+1]=g,s[c+2]=D):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=i6(s,t,e,n,i,o,a),f=Sg(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 Pt(e.sort(vl),s)}function JA(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 Rn(i.from+e,i.to+e,i.type))}return n}function i6(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 YA(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 KA(t){let e=[];for(let n=0;n<t.length;n++)t[n]!=null&&e.push(t[n]);return e}function Sg(t,e,n,r){let i=[],o=!1;e.forEach((s,l)=>{let c=YA(t,s,l+n);if(c){o=!0;let f=Sg(c,s,n+l+1,r);f!=Un&&i.push(l,l+s.nodeSize,f)}});let a=JA(o?KA(t):t,-n).sort(vl);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 Pt(a,i):Un}function vl(t,e){return t.from-e.from||t.to-e.to}function fx(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),TS(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),TS(e,i,r.copy(o.from,r.to)));break}}}return e}function TS(t,e,n){for(;e<t.length&&vl(n,t[e])>0;)e++;t.splice(e,0,n)}function Zb(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=Un&&e.push(r)}),t.cursorWrapper&&e.push(Pt.create(t.state.doc,[t.cursorWrapper.deco])),Ka.from(e)}const o6={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},a6=vr&&cs<=11;class s6{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 l6{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new s6,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]);vr&&cs<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),a6&&(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,o6)),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(mS(this.view)){if(this.suppressingSelectionUpdates)return Jo(this.view);if(vr&&cs<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Tl(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=Rd(o))n.add(o);for(let o=e.anchorNode;o;o=Rd(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)&&mS(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(Si&&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||f6(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&&Mm(r)&&(c=ox(e))&&c.eq(tt.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Jo(e),this.currentSelection.set(r)):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,a),c6(e)),this.handleDOMChange(o,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Jo(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(vr&&cs<=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?xn(i)+1:0,s=r.localPosFromDOM(e.target,a,-1),l=o&&o.parentNode==e.target?xn(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 _S=new WeakMap,CS=!1;function c6(t){if(!_S.has(t)&&(_S.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=Si,CS)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."),CS=!0}}function ES(t,e){let n=e.startContainer,r=e.startOffset,i=e.endContainer,o=e.endOffset,a=t.domAtPos(t.state.selection.anchor);return Tl(a.node,a.offset,i,o)&&([n,r,i,o]=[i,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:o}}function u6(t,e){if(e.getComposedRanges){let i=e.getComposedRanges(t.root)[0];if(i)return ES(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?ES(t,n):null}function f6(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 d6(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}],Mm(l)||c.push({node:l.focusNode,offset:l.focusOffset})),Fn&&t.input.lastKeyCode===8)for(let x=o;x>i;x--){let D=r.childNodes[x-1],w=D.pmViewDesc;if(D.nodeName=="BR"&&!w){o=x;break}if(!w||w.size)break}let d=t.state.doc,p=t.someProp("domParser")||Y2.fromSchema(t.state.schema),g=d.resolve(a),m=null,v=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:h6,context:g});if(c&&c[0].pos!=null){let x=c[0].pos,D=c[1]&&c[1].pos;D==null&&(D=x),m={anchor:x+a,head:D+a}}return{doc:v,sel:m,from:a,to:s}}function h6(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(er&&/^(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||er&&/^(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 p6=/^(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 g6(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,oe=ox(t,j);if(oe&&!t.state.selection.eq(oe)){if(Fn&&Go&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",F=>F(t,dl(13,"Enter"))))return;let ue=t.state.tr.setSelection(oe);j=="pointer"?ue.setMeta("pointer",!0):j=="key"&&ue.scrollIntoView(),o&&ue.setMeta("composition",o),t.dispatch(ue)}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=d6(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 m=b6(d.content,c.doc.content,c.from,p,g);if(m&&t.input.domChangeCount++,(wu&&t.input.lastIOSEnter>Date.now()-225||Go)&&i.some(j=>j.nodeType==1&&!p6.test(j.nodeName))&&(!m||m.endA>=m.endB)&&t.someProp("handleKeyDown",j=>j(t,dl(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!m)if(r&&l instanceof lt&&!l.empty&&l.$head.sameParent(l.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))m={start:l.from,endA:l.to,endB:l.to};else{if(c.sel){let j=kS(t,t.state.doc,c.sel);if(j&&!j.eq(t.state.selection)){let oe=t.state.tr.setSelection(j);o&&oe.setMeta("composition",o),t.dispatch(oe)}}return}t.state.selection.from<t.state.selection.to&&m.start==m.endB&&t.state.selection instanceof lt&&(m.start>t.state.selection.from&&m.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?m.start=t.state.selection.from:m.endA<t.state.selection.to&&m.endA>=t.state.selection.to-2&&t.state.selection.to<=c.to&&(m.endB+=t.state.selection.to-m.endA,m.endA=t.state.selection.to)),vr&&cs<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>c.from&&c.doc.textBetween(m.start-c.from-1,m.start-c.from+1)=="  "&&(m.start--,m.endA--,m.endB--);let v=c.doc.resolveNoCache(m.start-c.from),x=c.doc.resolveNoCache(m.endB-c.from),D=f.resolve(m.start),w=v.sameParent(x)&&v.parent.inlineContent&&D.end()>=m.endA,C;if((wu&&t.input.lastIOSEnter>Date.now()-225&&(!w||i.some(j=>j.nodeName=="DIV"||j.nodeName=="P"))||!w&&v.pos<c.doc.content.size&&!v.sameParent(x)&&(C=tt.findFrom(c.doc.resolve(v.pos+1),1,!0))&&C.head==x.pos)&&t.someProp("handleKeyDown",j=>j(t,dl(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>m.start&&y6(f,m.start,m.endA,v,x)&&t.someProp("handleKeyDown",j=>j(t,dl(8,"Backspace")))){Go&&Fn&&t.domObserver.suppressSelectionUpdates();return}Fn&&m.endB==m.start&&(t.input.lastChromeDelete=Date.now()),Go&&!w&&v.start()!=x.start()&&x.parentOffset==0&&v.depth==x.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==m.endA&&(m.endB-=2,x=c.doc.resolveNoCache(m.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(j){return j(t,dl(13,"Enter"))})},20));let R=m.start,U=m.endA,I,N,V;if(w){if(v.pos==x.pos)vr&&cs<=11&&v.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Jo(t),20)),I=t.state.tr.delete(R,U),N=f.resolve(m.start).marksAcross(f.resolve(m.endA));else if(m.endA==m.endB&&(V=m6(v.parent.content.cut(v.parentOffset,x.parentOffset),D.parent.content.cut(D.parentOffset,m.endA-D.start()))))I=t.state.tr,V.type=="add"?I.addMark(R,U,V.mark):I.removeMark(R,U,V.mark);else if(v.parent.child(v.index()).isText&&v.index()==x.index()-(x.textOffset?0:1)){let j=v.parent.textBetween(v.parentOffset,x.parentOffset);if(t.someProp("handleTextInput",oe=>oe(t,R,U,j)))return;I=t.state.tr.insertText(j,R,U)}}if(I||(I=t.state.tr.replace(R,U,c.doc.slice(m.start-c.from,m.endB-c.from))),c.sel){let j=kS(t,I.doc,c.sel);j&&!(Fn&&t.composing&&j.empty&&(m.start!=m.endB||t.input.lastChromeDelete<Date.now()-100)&&(j.head==R||j.head==I.mapping.map(U)-1)||vr&&j.empty&&j.head==R)&&I.setSelection(j)}N&&I.ensureMarks(N),o&&I.setMeta("composition",o),t.dispatch(I.scrollIntoView())}function kS(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:ax(t,e.resolve(n.anchor),e.resolve(n.head))}function m6(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(Re.from(c).eq(t))return{mark:s,type:a}}function y6(t,e,n,r,i){if(n-e<=i.pos-r.pos||Qb(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(Qb(o,!0,!0));return!a.parent.isTextblock||a.pos>n||Qb(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function Qb(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 b6(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&&AS(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&&AS(t.textBetween(o-1,o+1))&&(o+=l?1:-1),a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function AS(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 v6{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 N4,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(IS),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=RS(this),FS(this),this.nodeViews=OS(this),this.docView=uS(this.state.doc,US(this),Zb(this),this.dom,this),this.domObserver=new l6(this,(r,i,o,a)=>g6(this,r,i,o,a)),this.domObserver.start(),P4(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&&M0(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(IS),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&&(VA(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=OS(this);D6(g,this.nodeViews)&&(this.nodeViews=g,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&M0(this),this.editable=RS(this),FS(this);let l=Zb(this),c=US(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&&ZI(this);if(a){this.domObserver.stop();let g=d&&(vr||Fn)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&x6(i.selection,e.selection);if(d){let m=Fn?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=K4(this)),(o||!this.docView.update(e.doc,c,l,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=uS(e.doc,c,l,this.dom,this)),m&&!this.trackWrites&&(g=!0)}g||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&w4(this))?Jo(this,g):(RA(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&&QI(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 Ye){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&iS(this,n.getBoundingClientRect(),e)}else iS(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 qA(e.slice,e.move,i<0?void 0:Ye.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(vr){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&&e4(this.dom),Jo(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 o4(this,e)}coordsAtPos(e,n=1){return TA(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 u4(this,n||this.state,e)}pasteHTML(e,n){return Id(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return Id(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return sx(this,e)}destroy(){this.docView&&(L4(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Zb(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,$I())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return $4(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?er&&this.root.nodeType===11&&qI(this.dom.ownerDocument)==this.dom&&u6(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function US(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"),[Rn.node(0,t.state.doc.content.size,e)]}function FS(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:Rn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function RS(t){return!t.someProp("editable",e=>e(t.state)===!1)}function x6(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 OS(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 D6(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 IS(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 hs={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:"'"},Tg={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},w6=typeof navigator<"u"&&/Mac/.test(navigator.platform),S6=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Dn=0;Dn<10;Dn++)hs[48+Dn]=hs[96+Dn]=String(Dn);for(var Dn=1;Dn<=24;Dn++)hs[Dn+111]="F"+Dn;for(var Dn=65;Dn<=90;Dn++)hs[Dn]=String.fromCharCode(Dn+32),Tg[Dn]=String.fromCharCode(Dn);for(var ev in hs)Tg.hasOwnProperty(ev)||(Tg[ev]=hs[ev]);function T6(t){var e=w6&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||S6&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?Tg:hs)[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 _6=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function C6(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))_6?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 E6(t){let e=Object.create(null);for(let n in t)e[C6(n)]=t[n];return e}function tv(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 k6(t){return new Bl({props:{handleKeyDown:dx(t)}})}function dx(t){let e=E6(t);return function(n,r){let i=T6(r),o,a=e[tv(i,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let s=e[tv(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=hs[r.keyCode])&&o!=i){let s=e[tv(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}const hx=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function ZA(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const QA=(t,e,n)=>{let r=ZA(t,n);if(!r)return!1;let i=px(r);if(!i){let a=r.blockRange(),s=a&&Wu(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(l3(t,i,e,-1))return!0;if(r.parent.content.size==0&&(Su(o,"end")||Ye.isSelectable(o)))for(let a=r.depth;;a--){let s=Im(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(Su(o,"end")?tt.findFrom(l.doc.resolve(l.mapping.map(i.pos,-1)),-1):Ye.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},A6=(t,e,n)=>{let r=ZA(t,n);if(!r)return!1;let i=px(r);return i?e3(t,i,e):!1},U6=(t,e,n)=>{let r=n3(t,n);if(!r)return!1;let i=gx(r);return i?e3(t,i,e):!1};function e3(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=Im(t.doc,o,l,We.empty);if(!c||c.from!=o||c instanceof on&&c.slice.size>=l-o)return!1;if(n){let f=t.tr.step(c);f.setSelection(lt.create(f.doc,o)),n(f.scrollIntoView())}return!0}function Su(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 t3=(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=px(r)}let a=o&&o.nodeBefore;return!a||!Ye.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ye.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function px(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 n3(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)?null:n}const r3=(t,e,n)=>{let r=n3(t,n);if(!r)return!1;let i=gx(r);if(!i)return!1;let o=i.nodeAfter;if(l3(t,i,e,1))return!0;if(r.parent.content.size==0&&(Su(o,"start")||Ye.isSelectable(o))){let a=Im(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(Su(o,"start")?tt.findFrom(s.doc.resolve(s.mapping.map(i.pos)),1):Ye.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},i3=(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=gx(r)}let a=o&&o.nodeAfter;return!a||!Ye.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ye.create(t.doc,o.pos)).scrollIntoView()),!0)};function gx(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 F6=(t,e)=>{let n=t.selection,r=n instanceof Ye,i;if(r){if(n.node.isTextblock||!$u(t.doc,n.from))return!1;i=n.from}else if(i=ex(t.doc,n.from,-1),i==null)return!1;if(e){let o=t.tr.join(i);r&&o.setSelection(Ye.create(o.doc,i-t.doc.resolve(i).nodeBefore.nodeSize)),e(o.scrollIntoView())}return!0},R6=(t,e)=>{let n=t.selection,r;if(n instanceof Ye){if(n.node.isTextblock||!$u(t.doc,n.to))return!1;r=n.to}else if(r=ex(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},O6=(t,e)=>{let{$from:n,$to:r}=t.selection,i=n.blockRange(r),o=i&&Wu(i);return o==null?!1:(e&&e(t.tr.lift(i,o).scrollIntoView()),!0)},o3=(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 mx(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 I6=(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=mx(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(tt.near(l.doc.resolve(s),1)),e(l.scrollIntoView())}return!0},a3=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof Mr||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=mx(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(lt.create(s.doc,a+1)),e(s.scrollIntoView())}return!0},s3=(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(fu(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Wu(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)};function B6(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof Ye&&e.selection.node.isBlock)return!r.parentOffset||!fu(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=mx(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 lt||e.selection instanceof Mr)&&f.deleteSelection();let d=f.mapping.map(r.pos),p=fu(f.doc,d,o.length,o);if(p||(o[0]=s?{type:s}:null,p=fu(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)),m=f.doc.resolve(g);s&&r.node(a-1).canReplaceWith(m.index(),m.index()+1,s)&&f.setNodeMarkup(f.mapping.map(r.before(a)),s)}return n&&n(f.scrollIntoView()),!0}}const M6=B6(),N6=(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(Ye.create(t.doc,i))),!0)};function P6(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||$u(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function l3(t,e,n,r){let i=e.nodeBefore,o=e.nodeAfter,a,s,l=i.type.spec.isolating||o.type.spec.isolating;if(!l&&P6(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,m=Re.empty;for(let D=a.length-1;D>=0;D--)m=Re.from(a[D].create(null,m));m=Re.from(i.copy(m));let v=t.tr.step(new an(e.pos-1,g,e.pos,g,new We(m,1,0),a.length,!0)),x=v.doc.resolve(g+2*a.length);x.nodeAfter&&x.nodeAfter.type==i.type&&$u(v.doc,x.pos)&&v.join(x.pos),n(v.scrollIntoView())}return!0}let f=o.type.spec.isolating||r>0&&l?null:tt.findFrom(e,1),d=f&&f.$from.blockRange(f.$to),p=d&&Wu(d);if(p!=null&&p>=e.depth)return n&&n(t.tr.lift(d,p).scrollIntoView()),!0;if(c&&Su(o,"start",!0)&&Su(i,"end")){let g=i,m=[];for(;m.push(g),!g.isTextblock;)g=g.lastChild;let v=o,x=1;for(;!v.isTextblock;v=v.firstChild)x++;if(g.canReplace(g.childCount,g.childCount,v.content)){if(n){let D=Re.empty;for(let C=m.length-1;C>=0;C--)D=Re.from(m[C].copy(D));let w=t.tr.step(new an(e.pos-m.length,e.pos+o.nodeSize,e.pos+x,e.pos+o.nodeSize-x,new We(D,m.length,0),0,!0));n(w.scrollIntoView())}return!0}}return!1}function c3(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(lt.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}const L6=c3(-1),W6=c3(1);function $6(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&Q2(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function z6(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 yx(...t){return function(e,n,r){for(let i=0;i<t.length;i++)if(t[i](e,n,r))return!0;return!1}}yx(hx,QA,t3);yx(hx,r3,i3);yx(o3,a3,s3,M6);typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function j6(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 V6(s,a,t,e)?(r&&r(s.scrollIntoView()),!0):!1}}function V6(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 Ad(l,l,e.depth),e.endIndex<e.parent.childCount&&(e=new Ad(e.$from,a.resolve(e.$to.end(e.depth)),e.depth)),i=!0}let s=Q2(o,n,r,e);return s?(t&&H6(t,e,s,i,n),!0):!1}function H6(t,e,n,r,i){let o=Re.empty;for(let f=n.length-1;f>=0;f--)o=Re.from(n[f].type.create(n[f].attrs,o));t.step(new an(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&&fu(t.doc,l,s)&&(t.split(l,s),l+=2*s),l+=c.child(f).nodeSize;return t}function q6(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?G6(e,n,t,o):X6(e,n,o):!0:!1}}function G6(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new an(o-1,a,o,a,new We(Re.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new Ad(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));const s=Wu(r);if(s==null)return!1;i.lift(r,s);let l=i.mapping.map(o,-1)-1;return $u(i.doc,l)&&i.join(l),e(i.scrollIntoView()),!0}function X6(t,e,n){let r=t.tr,i=n.parent;for(let g=n.end,m=n.endIndex-1,v=n.startIndex;m>v;m--)g-=i.child(m).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?Re.empty:Re.from(i))))return!1;let d=o.pos,p=d+a.nodeSize;return r.step(new an(d-(s?1:0),p+(l?1:0),d+1,p-1,new We((s?Re.empty:Re.from(i.copy(Re.empty))).append(l?Re.empty:Re.from(i.copy(Re.empty))),s?0:1,l?0:1),s?0:1)),e(r.scrollIntoView()),!0}function J6(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=Re.from(c?t.create():null),d=new We(Re.from(t.create(null,Re.from(s.type.create(null,f)))),c?3:1,0),p=o.start,g=o.end;n(e.tr.step(new an(p-(c?3:1),g,p,g,d,1,!0)).scrollIntoView())}return!0}}var u3=typeof global=="object"&&global&&global.Object===Object&&global,Y6=typeof self=="object"&&self&&self.Object===Object&&self,co=u3||Y6||Function("return this")(),ao=co.Symbol,f3=Object.prototype,K6=f3.hasOwnProperty,Z6=f3.toString,Xf=ao?ao.toStringTag:void 0;function Q6(t){var e=K6.call(t,Xf),n=t[Xf];try{t[Xf]=void 0;var r=!0}catch{}var i=Z6.call(t);return r&&(e?t[Xf]=n:delete t[Xf]),i}var e9=Object.prototype,t9=e9.toString;function n9(t){return t9.call(t)}var r9="[object Null]",i9="[object Undefined]",BS=ao?ao.toStringTag:void 0;function Ds(t){return t==null?t===void 0?i9:r9:BS&&BS in Object(t)?Q6(t):n9(t)}function Zo(t){return t!=null&&typeof t=="object"}var o9="[object Symbol]";function Lm(t){return typeof t=="symbol"||Zo(t)&&Ds(t)==o9}function d3(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 so=Array.isArray,MS=ao?ao.prototype:void 0,NS=MS?MS.toString:void 0;function _g(t){if(typeof t=="string")return t;if(so(t))return d3(t,_g)+"";if(Lm(t))return NS?NS.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var a9=/\s/;function s9(t){for(var e=t.length;e--&&a9.test(t.charAt(e)););return e}var l9=/^\s+/;function c9(t){return t&&t.slice(0,s9(t)+1).replace(l9,"")}function ps(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var PS=NaN,u9=/^[-+]0x[0-9a-f]+$/i,f9=/^0b[01]+$/i,d9=/^0o[0-7]+$/i,h9=parseInt;function pu(t){if(typeof t=="number")return t;if(Lm(t))return PS;if(ps(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=ps(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=c9(t);var n=f9.test(t);return n||d9.test(t)?h9(t.slice(2),n?2:8):u9.test(t)?PS:+t}var p9=1/0,g9=17976931348623157e292;function m9(t){if(!t)return t===0?t:0;if(t=pu(t),t===p9||t===-1/0){var e=t<0?-1:1;return e*g9}return t===t?t:0}function y9(t){var e=m9(t),n=e%1;return e===e?n?e-n:e:0}function bx(t){return t}var b9="[object AsyncFunction]",v9="[object Function]",x9="[object GeneratorFunction]",D9="[object Proxy]";function h3(t){if(!ps(t))return!1;var e=Ds(t);return e==v9||e==x9||e==b9||e==D9}var nv=co["__core-js_shared__"],LS=function(){var t=/[^.]+$/.exec(nv&&nv.keys&&nv.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function w9(t){return!!LS&&LS in t}var S9=Function.prototype,T9=S9.toString;function Ml(t){if(t!=null){try{return T9.call(t)}catch{}try{return t+""}catch{}}return""}var _9=/[\\^$.*+?()[\]{}|]/g,C9=/^\[object .+?Constructor\]$/,E9=Function.prototype,k9=Object.prototype,A9=E9.toString,U9=k9.hasOwnProperty,F9=RegExp("^"+A9.call(U9).replace(_9,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function R9(t){if(!ps(t)||w9(t))return!1;var e=h3(t)?F9:C9;return e.test(Ml(t))}function O9(t,e){return t==null?void 0:t[e]}function Nl(t,e){var n=O9(t,e);return R9(n)?n:void 0}var N0=Nl(co,"WeakMap");function I9(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 B9=800,M9=16,N9=Date.now;function P9(t){var e=0,n=0;return function(){var r=N9(),i=M9-(r-n);if(n=r,i>0){if(++e>=B9)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function L9(t){return function(){return t}}var WS=function(){try{var t=Nl(Object,"defineProperty");return t({},"",{}),t}catch{}}(),W9=WS?function(t,e){return WS(t,"toString",{configurable:!0,enumerable:!1,value:L9(e),writable:!0})}:bx,$9=P9(W9);function z9(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 j9(t){return t!==t}function V9(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function H9(t,e,n){return e===e?V9(t,e,n):z9(t,j9,n)}function q9(t,e){var n=t==null?0:t.length;return!!n&&H9(t,e,0)>-1}var G9=9007199254740991,X9=/^(?:0|[1-9]\d*)$/;function p3(t,e){var n=typeof t;return e=e??G9,!!e&&(n=="number"||n!="symbol"&&X9.test(t))&&t>-1&&t%1==0&&t<e}function g3(t,e){return t===e||t!==t&&e!==e}var $S=Math.max;function J9(t,e,n){return e=$S(e===void 0?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=$S(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),I9(t,this,s)}}function Y9(t,e){return $9(J9(t,e,bx),t+"")}var K9=9007199254740991;function vx(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=K9}function m3(t){return t!=null&&vx(t.length)&&!h3(t)}var Z9=Object.prototype;function Q9(t){var e=t&&t.constructor,n=typeof e=="function"&&e.prototype||Z9;return t===n}function eB(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}var tB="[object Arguments]";function zS(t){return Zo(t)&&Ds(t)==tB}var y3=Object.prototype,nB=y3.hasOwnProperty,rB=y3.propertyIsEnumerable,xx=zS(function(){return arguments}())?zS:function(t){return Zo(t)&&nB.call(t,"callee")&&!rB.call(t,"callee")};function iB(){return!1}var b3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,jS=b3&&typeof module=="object"&&module&&!module.nodeType&&module,oB=jS&&jS.exports===b3,VS=oB?co.Buffer:void 0,aB=VS?VS.isBuffer:void 0,P0=aB||iB,sB="[object Arguments]",lB="[object Array]",cB="[object Boolean]",uB="[object Date]",fB="[object Error]",dB="[object Function]",hB="[object Map]",pB="[object Number]",gB="[object Object]",mB="[object RegExp]",yB="[object Set]",bB="[object String]",vB="[object WeakMap]",xB="[object ArrayBuffer]",DB="[object DataView]",wB="[object Float32Array]",SB="[object Float64Array]",TB="[object Int8Array]",_B="[object Int16Array]",CB="[object Int32Array]",EB="[object Uint8Array]",kB="[object Uint8ClampedArray]",AB="[object Uint16Array]",UB="[object Uint32Array]",At={};At[wB]=At[SB]=At[TB]=At[_B]=At[CB]=At[EB]=At[kB]=At[AB]=At[UB]=!0;At[sB]=At[lB]=At[xB]=At[cB]=At[DB]=At[uB]=At[fB]=At[dB]=At[hB]=At[pB]=At[gB]=At[mB]=At[yB]=At[bB]=At[vB]=!1;function FB(t){return Zo(t)&&vx(t.length)&&!!At[Ds(t)]}function Dx(t){return function(e){return t(e)}}var v3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,gd=v3&&typeof module=="object"&&module&&!module.nodeType&&module,RB=gd&&gd.exports===v3,rv=RB&&u3.process,Cg=function(){try{var t=gd&&gd.require&&gd.require("util").types;return t||rv&&rv.binding&&rv.binding("util")}catch{}}(),HS=Cg&&Cg.isTypedArray,x3=HS?Dx(HS):FB,OB=Object.prototype,IB=OB.hasOwnProperty;function BB(t,e){var n=so(t),r=!n&&xx(t),i=!n&&!r&&P0(t),o=!n&&!r&&!i&&x3(t),a=n||r||i||o,s=a?eB(t.length,String):[],l=s.length;for(var c in t)IB.call(t,c)&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||p3(c,l)))&&s.push(c);return s}function MB(t,e){return function(n){return t(e(n))}}var NB=MB(Object.keys,Object),PB=Object.prototype,LB=PB.hasOwnProperty;function WB(t){if(!Q9(t))return NB(t);var e=[];for(var n in Object(t))LB.call(t,n)&&n!="constructor"&&e.push(n);return e}function D3(t){return m3(t)?BB(t):WB(t)}var $B=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zB=/^\w*$/;function wx(t,e){if(so(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||Lm(t)?!0:zB.test(t)||!$B.test(t)||e!=null&&t in Object(e)}var Md=Nl(Object,"create");function jB(){this.__data__=Md?Md(null):{},this.size=0}function VB(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var HB="__lodash_hash_undefined__",qB=Object.prototype,GB=qB.hasOwnProperty;function XB(t){var e=this.__data__;if(Md){var n=e[t];return n===HB?void 0:n}return GB.call(e,t)?e[t]:void 0}var JB=Object.prototype,YB=JB.hasOwnProperty;function KB(t){var e=this.__data__;return Md?e[t]!==void 0:YB.call(e,t)}var ZB="__lodash_hash_undefined__";function QB(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Md&&e===void 0?ZB:e,this}function Cl(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])}}Cl.prototype.clear=jB;Cl.prototype.delete=VB;Cl.prototype.get=XB;Cl.prototype.has=KB;Cl.prototype.set=QB;function eM(){this.__data__=[],this.size=0}function Wm(t,e){for(var n=t.length;n--;)if(g3(t[n][0],e))return n;return-1}var tM=Array.prototype,nM=tM.splice;function rM(t){var e=this.__data__,n=Wm(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():nM.call(e,n,1),--this.size,!0}function iM(t){var e=this.__data__,n=Wm(e,t);return n<0?void 0:e[n][1]}function oM(t){return Wm(this.__data__,t)>-1}function aM(t,e){var n=this.__data__,r=Wm(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function oa(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])}}oa.prototype.clear=eM;oa.prototype.delete=rM;oa.prototype.get=iM;oa.prototype.has=oM;oa.prototype.set=aM;var Nd=Nl(co,"Map");function sM(){this.size=0,this.__data__={hash:new Cl,map:new(Nd||oa),string:new Cl}}function lM(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function $m(t,e){var n=t.__data__;return lM(e)?n[typeof e=="string"?"string":"hash"]:n.map}function cM(t){var e=$m(this,t).delete(t);return this.size-=e?1:0,e}function uM(t){return $m(this,t).get(t)}function fM(t){return $m(this,t).has(t)}function dM(t,e){var n=$m(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function aa(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])}}aa.prototype.clear=sM;aa.prototype.delete=cM;aa.prototype.get=uM;aa.prototype.has=fM;aa.prototype.set=dM;var hM="Expected a function";function Sx(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(hM);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(Sx.Cache||aa),n}Sx.Cache=aa;var pM=500;function gM(t){var e=Sx(t,function(r){return n.size===pM&&n.clear(),r}),n=e.cache;return e}var mM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yM=/\\(\\)?/g,bM=gM(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(mM,function(n,r,i,o){e.push(i?o.replace(yM,"$1"):r||n)}),e});function L0(t){return t==null?"":_g(t)}function w3(t,e){return so(t)?t:wx(t,e)?[t]:bM(L0(t))}function zm(t){if(typeof t=="string"||Lm(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function S3(t,e){e=w3(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[zm(e[n++])];return n&&n==r?t:void 0}function vM(t,e,n){var r=t==null?void 0:S3(t,e);return r===void 0?n:r}function T3(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var qS=ao?ao.isConcatSpreadable:void 0;function xM(t){return so(t)||xx(t)||!!(qS&&t&&t[qS])}function DM(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=xM),i||(i=[]);++o<a;){var s=t[o];n(s)&&T3(i,s)}return i}function wM(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 SM(t,e,n){var r=t.length;return n=n===void 0?r:n,n>=r?t:wM(t,e,n)}var TM="\\ud800-\\udfff",_M="\\u0300-\\u036f",CM="\\ufe20-\\ufe2f",EM="\\u20d0-\\u20ff",kM=_M+CM+EM,AM="\\ufe0e\\ufe0f",UM="\\u200d",FM=RegExp("["+UM+TM+kM+AM+"]");function Tx(t){return FM.test(t)}function RM(t){return t.split("")}var _3="\\ud800-\\udfff",OM="\\u0300-\\u036f",IM="\\ufe20-\\ufe2f",BM="\\u20d0-\\u20ff",MM=OM+IM+BM,NM="\\ufe0e\\ufe0f",PM="["+_3+"]",W0="["+MM+"]",$0="\\ud83c[\\udffb-\\udfff]",LM="(?:"+W0+"|"+$0+")",C3="[^"+_3+"]",E3="(?:\\ud83c[\\udde6-\\uddff]){2}",k3="[\\ud800-\\udbff][\\udc00-\\udfff]",WM="\\u200d",A3=LM+"?",U3="["+NM+"]?",$M="(?:"+WM+"(?:"+[C3,E3,k3].join("|")+")"+U3+A3+")*",zM=U3+A3+$M,jM="(?:"+[C3+W0+"?",W0,E3,k3,PM].join("|")+")",VM=RegExp($0+"(?="+$0+")|"+jM+zM,"g");function HM(t){return t.match(VM)||[]}function qM(t){return Tx(t)?HM(t):RM(t)}function GM(t,e,n){return t===t&&(n!==void 0&&(t=t<=n?t:n),e!==void 0&&(t=t>=e?t:e)),t}function XM(t,e,n){return n===void 0&&(n=e,e=void 0),n!==void 0&&(n=pu(n),n=n===n?n:0),e!==void 0&&(e=pu(e),e=e===e?e:0),GM(pu(t),e,n)}function JM(){this.__data__=new oa,this.size=0}function YM(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function KM(t){return this.__data__.get(t)}function ZM(t){return this.__data__.has(t)}var QM=200;function eN(t,e){var n=this.__data__;if(n instanceof oa){var r=n.__data__;if(!Nd||r.length<QM-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new aa(r)}return n.set(t,e),this.size=n.size,this}function Yo(t){var e=this.__data__=new oa(t);this.size=e.size}Yo.prototype.clear=JM;Yo.prototype.delete=YM;Yo.prototype.get=KM;Yo.prototype.has=ZM;Yo.prototype.set=eN;function tN(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 nN(){return[]}var rN=Object.prototype,iN=rN.propertyIsEnumerable,GS=Object.getOwnPropertySymbols,oN=GS?function(t){return t==null?[]:(t=Object(t),tN(GS(t),function(e){return iN.call(t,e)}))}:nN;function aN(t,e,n){var r=e(t);return so(t)?r:T3(r,n(t))}function XS(t){return aN(t,D3,oN)}var z0=Nl(co,"DataView"),j0=Nl(co,"Promise"),V0=Nl(co,"Set"),JS="[object Map]",sN="[object Object]",YS="[object Promise]",KS="[object Set]",ZS="[object WeakMap]",QS="[object DataView]",lN=Ml(z0),cN=Ml(Nd),uN=Ml(j0),fN=Ml(V0),dN=Ml(N0),Ga=Ds;(z0&&Ga(new z0(new ArrayBuffer(1)))!=QS||Nd&&Ga(new Nd)!=JS||j0&&Ga(j0.resolve())!=YS||V0&&Ga(new V0)!=KS||N0&&Ga(new N0)!=ZS)&&(Ga=function(t){var e=Ds(t),n=e==sN?t.constructor:void 0,r=n?Ml(n):"";if(r)switch(r){case lN:return QS;case cN:return JS;case uN:return YS;case fN:return KS;case dN:return ZS}return e});var eT=co.Uint8Array,hN="__lodash_hash_undefined__";function pN(t){return this.__data__.set(t,hN),this}function gN(t){return this.__data__.has(t)}function Pd(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new aa;++e<n;)this.add(t[e])}Pd.prototype.add=Pd.prototype.push=pN;Pd.prototype.has=gN;function mN(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 F3(t,e){return t.has(e)}var yN=1,bN=2;function R3(t,e,n,r,i,o){var a=n&yN,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&bN?new Pd:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var m=t[d],v=e[d];if(r)var x=a?r(v,m,d,e,t,o):r(m,v,d,t,e,o);if(x!==void 0){if(x)continue;p=!1;break}if(g){if(!mN(e,function(D,w){if(!F3(g,w)&&(m===D||i(m,D,n,r,o)))return g.push(w)})){p=!1;break}}else if(!(m===v||i(m,v,n,r,o))){p=!1;break}}return o.delete(t),o.delete(e),p}function vN(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function xN(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var DN=1,wN=2,SN="[object Boolean]",TN="[object Date]",_N="[object Error]",CN="[object Map]",EN="[object Number]",kN="[object RegExp]",AN="[object Set]",UN="[object String]",FN="[object Symbol]",RN="[object ArrayBuffer]",ON="[object DataView]",tT=ao?ao.prototype:void 0,iv=tT?tT.valueOf:void 0;function IN(t,e,n,r,i,o,a){switch(n){case ON:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case RN:return!(t.byteLength!=e.byteLength||!o(new eT(t),new eT(e)));case SN:case TN:case EN:return g3(+t,+e);case _N:return t.name==e.name&&t.message==e.message;case kN:case UN:return t==e+"";case CN:var s=vN;case AN:var l=r&DN;if(s||(s=xN),t.size!=e.size&&!l)return!1;var c=a.get(t);if(c)return c==e;r|=wN,a.set(t,e);var f=R3(s(t),s(e),r,i,o,a);return a.delete(t),f;case FN:if(iv)return iv.call(t)==iv.call(e)}return!1}var BN=1,MN=Object.prototype,NN=MN.hasOwnProperty;function PN(t,e,n,r,i,o){var a=n&BN,s=XS(t),l=s.length,c=XS(e),f=c.length;if(l!=f&&!a)return!1;for(var d=l;d--;){var p=s[d];if(!(a?p in e:NN.call(e,p)))return!1}var g=o.get(t),m=o.get(e);if(g&&m)return g==e&&m==t;var v=!0;o.set(t,e),o.set(e,t);for(var x=a;++d<l;){p=s[d];var D=t[p],w=e[p];if(r)var C=a?r(w,D,p,e,t,o):r(D,w,p,t,e,o);if(!(C===void 0?D===w||i(D,w,n,r,o):C)){v=!1;break}x||(x=p=="constructor")}if(v&&!x){var R=t.constructor,U=e.constructor;R!=U&&"constructor"in t&&"constructor"in e&&!(typeof R=="function"&&R instanceof R&&typeof U=="function"&&U instanceof U)&&(v=!1)}return o.delete(t),o.delete(e),v}var LN=1,nT="[object Arguments]",rT="[object Array]",yp="[object Object]",WN=Object.prototype,iT=WN.hasOwnProperty;function $N(t,e,n,r,i,o){var a=so(t),s=so(e),l=a?rT:Ga(t),c=s?rT:Ga(e);l=l==nT?yp:l,c=c==nT?yp:c;var f=l==yp,d=c==yp,p=l==c;if(p&&P0(t)){if(!P0(e))return!1;a=!0,f=!1}if(p&&!f)return o||(o=new Yo),a||x3(t)?R3(t,e,n,r,i,o):IN(t,e,l,n,r,i,o);if(!(n&LN)){var g=f&&iT.call(t,"__wrapped__"),m=d&&iT.call(e,"__wrapped__");if(g||m){var v=g?t.value():t,x=m?e.value():e;return o||(o=new Yo),i(v,x,n,r,o)}}return p?(o||(o=new Yo),PN(t,e,n,r,i,o)):!1}function _x(t,e,n,r,i){return t===e?!0:t==null||e==null||!Zo(t)&&!Zo(e)?t!==t&&e!==e:$N(t,e,n,r,_x,i)}var zN=1,jN=2;function VN(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 Yo,d;if(!(d===void 0?_x(c,l,zN|jN,r,f):d))return!1}}return!0}function O3(t){return t===t&&!ps(t)}function HN(t){for(var e=D3(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,O3(i)]}return e}function I3(t,e){return function(n){return n==null?!1:n[t]===e&&(e!==void 0||t in Object(n))}}function qN(t){var e=HN(t);return e.length==1&&e[0][2]?I3(e[0][0],e[0][1]):function(n){return n===t||VN(n,t,e)}}function GN(t,e){return t!=null&&e in Object(t)}function XN(t,e,n){e=w3(e,t);for(var r=-1,i=e.length,o=!1;++r<i;){var a=zm(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&&vx(i)&&p3(a,i)&&(so(t)||xx(t)))}function JN(t,e){return t!=null&&XN(t,e,GN)}var YN=1,KN=2;function ZN(t,e){return wx(t)&&O3(e)?I3(zm(t),e):function(n){var r=vM(n,t);return r===void 0&&r===e?JN(n,t):_x(e,r,YN|KN)}}function B3(t){return function(e){return e==null?void 0:e[t]}}function QN(t){return function(e){return S3(e,t)}}function e7(t){return wx(t)?B3(zm(t)):QN(t)}function t7(t){return typeof t=="function"?t:t==null?bx:typeof t=="object"?so(t)?ZN(t[0],t[1]):qN(t):e7(t)}var ov=function(){return co.Date.now()},n7="Expected a function",r7=Math.max,i7=Math.min;function M3(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(n7);e=pu(e)||0,ps(n)&&(f=!!n.leading,d="maxWait"in n,o=d?r7(pu(n.maxWait)||0,e):o,p="trailing"in n?!!n.trailing:p);function g(I){var N=r,V=i;return r=i=void 0,c=I,a=t.apply(V,N),a}function m(I){return c=I,s=setTimeout(D,e),f?g(I):a}function v(I){var N=I-l,V=I-c,j=e-N;return d?i7(j,o-V):j}function x(I){var N=I-l,V=I-c;return l===void 0||N>=e||N<0||d&&V>=o}function D(){var I=ov();if(x(I))return w(I);s=setTimeout(D,v(I))}function w(I){return s=void 0,p&&r?g(I):(r=i=void 0,a)}function C(){s!==void 0&&clearTimeout(s),c=0,r=l=i=s=void 0}function R(){return s===void 0?a:w(ov())}function U(){var I=ov(),N=x(I);if(r=arguments,i=this,l=I,N){if(s===void 0)return m(l);if(d)return clearTimeout(s),s=setTimeout(D,e),g(l)}return s===void 0&&(s=setTimeout(D,e)),a}return U.cancel=C,U.flush=R,U}function av(t){return Zo(t)&&m3(t)}var o7=200;function a7(t,e,n,r){var i=-1,o=q9,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=d3(e,Dx(n))),e.length>=o7&&(o=F3,a=!1,e=new Pd(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 s7(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var l7=Y9(function(t,e){var n=s7(e);return av(n)&&(n=void 0),av(t)?a7(t,DM(e,1,av),t7(n)):[]}),c7="[object Number]";function u7(t){return typeof t=="number"||Zo(t)&&Ds(t)==c7}var f7="[object RegExp]";function d7(t){return Zo(t)&&Ds(t)==f7}var oT=Cg&&Cg.isRegExp,h7=oT?Dx(oT):d7,p7=B3("length"),N3="\\ud800-\\udfff",g7="\\u0300-\\u036f",m7="\\ufe20-\\ufe2f",y7="\\u20d0-\\u20ff",b7=g7+m7+y7,v7="\\ufe0e\\ufe0f",x7="["+N3+"]",H0="["+b7+"]",q0="\\ud83c[\\udffb-\\udfff]",D7="(?:"+H0+"|"+q0+")",P3="[^"+N3+"]",L3="(?:\\ud83c[\\udde6-\\uddff]){2}",W3="[\\ud800-\\udbff][\\udc00-\\udfff]",w7="\\u200d",$3=D7+"?",z3="["+v7+"]?",S7="(?:"+w7+"(?:"+[P3,L3,W3].join("|")+")"+z3+$3+")*",T7=z3+$3+S7,_7="(?:"+[P3+H0+"?",H0,L3,W3,x7].join("|")+")",aT=RegExp(q0+"(?="+q0+")|"+_7+T7,"g");function C7(t){for(var e=aT.lastIndex=0;aT.test(t);)++e;return e}function E7(t){return Tx(t)?C7(t):p7(t)}var k7="Expected a function";function A7(t,e,n){var r=!0,i=!0;if(typeof t!="function")throw new TypeError(k7);return ps(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),M3(t,e,{leading:r,maxWait:e,trailing:i})}var U7=30,F7="...",R7=/\w*$/;function O7(t,e){var n=U7,r=F7;if(ps(e)){var i="separator"in e?e.separator:i;n="length"in e?y9(e.length):n,r="omission"in e?_g(e.omission):r}t=L0(t);var o=t.length;if(Tx(t)){var a=qM(t);o=a.length}if(n>=o)return t;var s=n-E7(r);if(s<1)return r;var l=a?SM(a,0,s).join(""):t.slice(0,s);if(i===void 0)return l+r;if(a&&(s+=l.length-s),h7(i)){if(t.slice(s).search(i)){var c,f=l;for(i.global||(i=RegExp(i.source,L0(R7.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(_g(i),s)!=s){var p=l.lastIndexOf(i);p>-1&&(l=l.slice(0,p))}return l+r}function j3(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=j3(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Zi(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=j3(t))&&(r&&(r+=" "),r+=e);return r}const Cx="-",I7=t=>{const e=M7(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:a=>{const s=a.split(Cx);return s[0]===""&&s.length!==1&&s.shift(),V3(s,e)||B7(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},V3=(t,e)=>{var a;if(t.length===0)return e.classGroupId;const n=t[0],r=e.nextPart.get(n),i=r?V3(t.slice(1),r):void 0;if(i)return i;if(e.validators.length===0)return;const o=t.join(Cx);return(a=e.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},sT=/^\[(.+)\]$/,B7=t=>{if(sT.test(t)){const e=sT.exec(t)[1],n=e==null?void 0:e.substring(0,e.indexOf(":"));if(n)return"arbitrary.."+n}},M7=t=>{const{theme:e,prefix:n}=t,r={nextPart:new Map,validators:[]};return P7(Object.entries(t.classGroups),n).forEach(([o,a])=>{G0(a,r,o,e)}),r},G0=(t,e,n,r)=>{t.forEach(i=>{if(typeof i=="string"){const o=i===""?e:lT(e,i);o.classGroupId=n;return}if(typeof i=="function"){if(N7(i)){G0(i(r),e,n,r);return}e.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{G0(a,lT(e,o),n,r)})})},lT=(t,e)=>{let n=t;return e.split(Cx).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},N7=t=>t.isThemeGetter,P7=(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,L7=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)}}},H3="!",W7=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 x=0;x<s.length;x++){let D=s[x];if(c===0){if(D===i&&(r||s.slice(x,x+o)===e)){l.push(s.slice(f,x)),f=x+o;continue}if(D==="/"){d=x;continue}}D==="["?c++:D==="]"&&c--}const p=l.length===0?s:s.substring(f),g=p.startsWith(H3),m=g?p.substring(1):p,v=d&&d>f?d-f:void 0;return{modifiers:l,hasImportantModifier:g,baseClassName:m,maybePostfixModifierPosition:v}};return n?s=>n({className:s,parseClassName:a}):a},$7=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},z7=t=>({cache:L7(t.cacheSize),parseClassName:W7(t),...I7(t)}),j7=/\s+/,V7=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=e,o=[],a=t.trim().split(j7);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 m=!!g,v=r(m?p.substring(0,g):p);if(!v){if(!m){s=c+(s.length>0?" "+s:s);continue}if(v=r(p),!v){s=c+(s.length>0?" "+s:s);continue}m=!1}const x=$7(f).join(":"),D=d?x+H3:x,w=D+v;if(o.includes(w))continue;o.push(w);const C=i(v,m);for(let R=0;R<C.length;++R){const U=C[R];o.push(D+U)}s=c+(s.length>0?" "+s:s)}return s};function H7(){let t=0,e,n,r="";for(;t<arguments.length;)(e=arguments[t++])&&(n=q3(e))&&(r&&(r+=" "),r+=n);return r}const q3=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=q3(t[r]))&&(n&&(n+=" "),n+=e);return n};function q7(t,...e){let n,r,i,o=a;function a(l){const c=e.reduce((f,d)=>d(f),t());return n=z7(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=V7(l,n);return i(l,f),f}return function(){return o(H7.apply(null,arguments))}}const kt=t=>{const e=n=>n[t]||[];return e.isThemeGetter=!0,e},G3=/^\[(?:([a-z-]+):)?(.+)\]$/i,G7=/^\d+\/\d+$/,X7=new Set(["px","full","screen"]),J7=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Y7=/\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$/,K7=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Z7=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Q7=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Io=t=>gu(t)||X7.has(t)||G7.test(t),La=t=>zu(t,"length",sP),gu=t=>!!t&&!Number.isNaN(Number(t)),sv=t=>zu(t,"number",gu),Jf=t=>!!t&&Number.isInteger(Number(t)),eP=t=>t.endsWith("%")&&gu(t.slice(0,-1)),ot=t=>G3.test(t),Wa=t=>J7.test(t),tP=new Set(["length","size","percentage"]),nP=t=>zu(t,tP,X3),rP=t=>zu(t,"position",X3),iP=new Set(["image","url"]),oP=t=>zu(t,iP,cP),aP=t=>zu(t,"",lP),Yf=()=>!0,zu=(t,e,n)=>{const r=G3.exec(t);return r?r[1]?typeof e=="string"?r[1]===e:e.has(r[1]):n(r[2]):!1},sP=t=>Y7.test(t)&&!K7.test(t),X3=()=>!1,lP=t=>Z7.test(t),cP=t=>Q7.test(t),uP=()=>{const t=kt("colors"),e=kt("spacing"),n=kt("blur"),r=kt("brightness"),i=kt("borderColor"),o=kt("borderRadius"),a=kt("borderSpacing"),s=kt("borderWidth"),l=kt("contrast"),c=kt("grayscale"),f=kt("hueRotate"),d=kt("invert"),p=kt("gap"),g=kt("gradientColorStops"),m=kt("gradientColorStopPositions"),v=kt("inset"),x=kt("margin"),D=kt("opacity"),w=kt("padding"),C=kt("saturate"),R=kt("scale"),U=kt("sepia"),I=kt("skew"),N=kt("space"),V=kt("translate"),j=()=>["auto","contain","none"],oe=()=>["auto","hidden","clip","visible","scroll"],ue=()=>["auto",ot,e],F=()=>[ot,e],X=()=>["",Io,La],E=()=>["auto",gu,ot],re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],J=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Y=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",ot],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[gu,ot];return{cacheSize:500,separator:":",theme:{colors:[Yf],spacing:[Io,La],blur:["none","",Wa,ot],brightness:H(),borderColor:[t],borderRadius:["none","","full",Wa,ot],borderSpacing:F(),borderWidth:X(),contrast:H(),grayscale:G(),hueRotate:H(),invert:G(),gap:F(),gradientColorStops:[t],gradientColorStopPositions:[eP,La],inset:ue(),margin:ue(),opacity:H(),padding:F(),saturate:H(),scale:H(),sepia:G(),skew:H(),space:F(),translate:F()},classGroups:{aspect:[{aspect:["auto","square","video",ot]}],container:["container"],columns:[{columns:[Wa]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"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(),ot]}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Jf,ot]}],basis:[{basis:ue()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ot]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",Jf,ot]}],"grid-cols":[{"grid-cols":[Yf]}],"col-start-end":[{col:["auto",{span:["full",Jf,ot]},ot]}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":[Yf]}],"row-start-end":[{row:["auto",{span:[Jf,ot]},ot]}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ot]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ot]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"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",ot,e]}],"min-w":[{"min-w":[ot,e,"min","max","fit"]}],"max-w":[{"max-w":[ot,e,"none","full","min","max","fit","prose",{screen:[Wa]},Wa]}],h:[{h:[ot,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ot,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ot,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ot,e,"auto","min","max","fit"]}],"font-size":[{text:["base",Wa,La]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",sv]}],"font-family":[{font:[Yf]}],"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",ot]}],"line-clamp":[{"line-clamp":["none",gu,sv]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Io,ot]}],"list-image":[{"list-image":["none",ot]}],"list-style-type":[{list:["none","disc","decimal",ot]}],"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:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Io,La]}],"underline-offset":[{"underline-offset":["auto",Io,ot]}],"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",ot]}],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",ot]}],"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(),rP]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",nP]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},oP]}],"bg-color":[{bg:[t]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"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:[...z(),"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:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[Io,ot]}],"outline-w":[{outline:[Io,La]}],"outline-color":[{outline:[t]}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[t]}],"ring-opacity":[{"ring-opacity":[D]}],"ring-offset-w":[{"ring-offset":[Io,La]}],"ring-offset-color":[{"ring-offset":[t]}],shadow:[{shadow:["","inner","none",Wa,aP]}],"shadow-color":[{shadow:[Yf]}],opacity:[{opacity:[D]}],"mix-blend":[{"mix-blend":[...J(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":J()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Wa,ot]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[C]}],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":[C]}],"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",ot]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",ot]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",ot]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[R]}],"scale-x":[{"scale-x":[R]}],"scale-y":[{"scale-y":[R]}],rotate:[{rotate:[Jf,ot]}],"translate-x":[{"translate-x":[V]}],"translate-y":[{"translate-y":[V]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ot]}],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",ot]}],"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",ot]}],fill:[{fill:[t,"none"]}],"stroke-w":[{stroke:[Io,La,sv]}],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"]}}},fP=q7(uP);function dP({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,m=g.flags;if(!(m&244)&&(g.flags=m|f|8,!0)||m&16&&!(m&4)&&(g.flags=m&-17|f|8,!0)||!(m&224)&&s(c,g)&&(g.flags=m|16|f|8,g.subs!==void 0)){const v=g.subs;if(v!==void 0){v.nextSub!==void 0?(v.prevSub=d,c=d=v,f=64,++p):(c=v,f=m&2?128:64);continue}m&2&&(r!==void 0?r.depsTail.nextDep=g.deps:n=g,r=g)}else m&(4|f)?!(m&f)&&m&224&&s(c,g)&&(g.flags=m|f):(g.flags=m|f|8,(m&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 x=d.dep.subs;if(d=x.prevSub,x.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 m=c.subsTail;g.prevSub=m,m.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 m=p.subs;m.nextSub!==void 0&&a(m),d=!0}}else if((g&65)===65){const m=p.subs;m.nextSub!==void 0&&(m.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 m=g.subs;if(d){if(t(g)){(c=m.prevSub)!==void 0?(m.prevSub=void 0,a(g.subs),g=c.sub):g=m.sub;continue}}else g.flags&=-65;if((c=m.prevSub)!==void 0){if(m.prevSub=void 0,c.nextDep!==void 0){c=c.nextDep;continue e}g=c.sub}else{if((c=m.nextDep)!==void 0)continue e;g=m.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 m=f.flags;m&32||(f.flags=m|32);const v=f.deps;if(v!==void 0){c=v,f.depsTail.nextDep=d,f.deps=void 0,f.depsTail=void 0;continue}}c=d}while(c!==void 0)}}var{link:J3,propagate:hP,updateDirtyFlag:pP,startTracking:Ex,endTracking:kx,processEffectNotifications:gP,processComputedUpdate:Wte,processPendingInnerEffects:Y3}=dP({updateComputed(t){const e=Qi;Qi=t,Ex(t);try{const n=t.currentValue,r=t.getter(n);return n!==r?(t.currentValue=r,!0):!1}finally{Qi=e,kx(t)}},notifyEffect(t){return"isScope"in t?bP(t):yP(t)}}),Qi;function mP(t){return vP.bind({currentValue:t,subs:void 0,subsTail:void 0})}function K3(t){const e={fn:t,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:2};return Qi!==void 0&&J3(e,Qi),Z3(e),xP.bind(e)}function Z3(t){const e=Qi;Qi=t,Ex(t);try{t.fn()}finally{Qi=e,kx(t)}}function yP(t){const e=t.flags;return e&32||e&64&&pP(t,e)?Z3(t):Y3(t,t.flags),!0}function bP(t){return t.flags&128?(Y3(t,t.flags),!0):!1}function vP(...t){if(t.length){if(this.currentValue!==(this.currentValue=t[0])){const e=this.subs;e!==void 0&&(hP(e),gP())}}else return Qi!==void 0&&J3(this,Qi),this.currentValue}function xP(){Ex(this),kx(this)}function DP(t){return mP(t)}function wP(t){return[gt.useSyncExternalStore(e=>{let n=K3(()=>{t(),e()});return()=>n()},()=>t(),()=>t()),e=>{t(typeof e=="function"?e(t()):e)}]}function SP(t){return gt.useSyncExternalStore(e=>{let n=K3(()=>{t(),e()});return()=>n()},()=>t(),()=>t())}const cT=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,uT=Zi,TP=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return uT(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=cT(f)||cT(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(m=>{let[v,x]=m;return Array.isArray(x)?x.includes({...o,...s}[v]):{...o,...s}[v]===x})?[...c,d,p]:c},[]);return uT(t,a,l,n==null?void 0:n.class,n==null?void 0:n.className)},_P="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",CP="ελ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",Tu=(t,e)=>{for(const n in e)t[n]=e[n];return t},X0="numeric",J0="ascii",Y0="alpha",md="asciinumeric",ud="alphanumeric",K0="domain",Q3="emoji",EP="scheme",kP="slashscheme",lv="whitespace";function AP(t,e){return t in e||(e[t]=[]),e[t]}function gl(t,e,n){e[X0]&&(e[md]=!0,e[ud]=!0),e[J0]&&(e[md]=!0,e[Y0]=!0),e[md]&&(e[ud]=!0),e[Y0]&&(e[ud]=!0),e[ud]&&(e[K0]=!0),e[Q3]&&(e[K0]=!0);for(const r in e){const i=AP(r,n);i.indexOf(t)<0&&i.push(t)}}function UP(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function mr(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}mr.groups={};mr.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||mr.groups;let i;return e&&e.j?i=e:(i=new mr(e),n&&r&&gl(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||mr.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 mr,Tu(a.j,s.j),a.jr.push.apply(a.jr,s.jr),a.jd=s.jd,a.t=s.t):a=new mr,o){if(r)if(a.t&&typeof a.t=="string"){const l=Tu(UP(a.t,r),n);gl(o,l,r)}else n&&gl(o,n,r);a.t=o}return i.j[t]=a,a}};const at=(t,e,n,r,i)=>t.ta(e,n,r,i),$t=(t,e,n,r,i)=>t.tr(e,n,r,i),fT=(t,e,n,r,i)=>t.ts(e,n,r,i),Me=(t,e,n,r,i)=>t.tt(e,n,r,i),zo="WORD",Z0="UWORD",eU="ASCIINUMERICAL",tU="ALPHANUMERICAL",Ld="LOCALHOST",Q0="TLD",e2="UTLD",Jp="SCHEME",ru="SLASH_SCHEME",Ax="NUM",t2="WS",Ux="NL",yd="OPENBRACE",bd="CLOSEBRACE",Eg="OPENBRACKET",kg="CLOSEBRACKET",Ag="OPENPAREN",Ug="CLOSEPAREN",Fg="OPENANGLEBRACKET",Rg="CLOSEANGLEBRACKET",Og="FULLWIDTHLEFTPAREN",Ig="FULLWIDTHRIGHTPAREN",Bg="LEFTCORNERBRACKET",Mg="RIGHTCORNERBRACKET",Ng="LEFTWHITECORNERBRACKET",Pg="RIGHTWHITECORNERBRACKET",Lg="FULLWIDTHLESSTHAN",Wg="FULLWIDTHGREATERTHAN",$g="AMPERSAND",Fx="APOSTROPHE",zg="ASTERISK",Xa="AT",jg="BACKSLASH",Vg="BACKTICK",Hg="CARET",Za="COLON",Rx="COMMA",qg="DOLLAR",qi="DOT",Gg="EQUALS",Ox="EXCLAMATION",ei="HYPHEN",vd="PERCENT",Xg="PIPE",Jg="PLUS",Yg="POUND",xd="QUERY",Ix="QUOTE",nU="FULLWIDTHMIDDLEDOT",Bx="SEMI",Gi="SLASH",Dd="TILDE",Kg="UNDERSCORE",rU="EMOJI",Zg="SYM";var iU=Object.freeze({__proto__:null,WORD:zo,UWORD:Z0,ASCIINUMERICAL:eU,ALPHANUMERICAL:tU,LOCALHOST:Ld,TLD:Q0,UTLD:e2,SCHEME:Jp,SLASH_SCHEME:ru,NUM:Ax,WS:t2,NL:Ux,OPENBRACE:yd,CLOSEBRACE:bd,OPENBRACKET:Eg,CLOSEBRACKET:kg,OPENPAREN:Ag,CLOSEPAREN:Ug,OPENANGLEBRACKET:Fg,CLOSEANGLEBRACKET:Rg,FULLWIDTHLEFTPAREN:Og,FULLWIDTHRIGHTPAREN:Ig,LEFTCORNERBRACKET:Bg,RIGHTCORNERBRACKET:Mg,LEFTWHITECORNERBRACKET:Ng,RIGHTWHITECORNERBRACKET:Pg,FULLWIDTHLESSTHAN:Lg,FULLWIDTHGREATERTHAN:Wg,AMPERSAND:$g,APOSTROPHE:Fx,ASTERISK:zg,AT:Xa,BACKSLASH:jg,BACKTICK:Vg,CARET:Hg,COLON:Za,COMMA:Rx,DOLLAR:qg,DOT:qi,EQUALS:Gg,EXCLAMATION:Ox,HYPHEN:ei,PERCENT:vd,PIPE:Xg,PLUS:Jg,POUND:Yg,QUERY:xd,QUOTE:Ix,FULLWIDTHMIDDLEDOT:nU,SEMI:Bx,SLASH:Gi,TILDE:Dd,UNDERSCORE:Kg,EMOJI:rU,SYM:Zg});const Bo=/[a-z]/,Kf=new RegExp("\\p{L}","u"),cv=new RegExp("\\p{Emoji}","u"),Mo=/\d/,uv=/\s/,dT="\r",fv=`
11
+ `,FP="️",RP="‍",dv="";let bp=null,vp=null;function OP(t=[]){const e={};mr.groups=e;const n=new mr;bp==null&&(bp=hT(_P)),vp==null&&(vp=hT(CP)),Me(n,"'",Fx),Me(n,"{",yd),Me(n,"}",bd),Me(n,"[",Eg),Me(n,"]",kg),Me(n,"(",Ag),Me(n,")",Ug),Me(n,"<",Fg),Me(n,">",Rg),Me(n,"(",Og),Me(n,")",Ig),Me(n,"「",Bg),Me(n,"」",Mg),Me(n,"『",Ng),Me(n,"』",Pg),Me(n,"<",Lg),Me(n,">",Wg),Me(n,"&",$g),Me(n,"*",zg),Me(n,"@",Xa),Me(n,"`",Vg),Me(n,"^",Hg),Me(n,":",Za),Me(n,",",Rx),Me(n,"$",qg),Me(n,".",qi),Me(n,"=",Gg),Me(n,"!",Ox),Me(n,"-",ei),Me(n,"%",vd),Me(n,"|",Xg),Me(n,"+",Jg),Me(n,"#",Yg),Me(n,"?",xd),Me(n,'"',Ix),Me(n,"/",Gi),Me(n,";",Bx),Me(n,"~",Dd),Me(n,"_",Kg),Me(n,"\\",jg),Me(n,"・",nU);const r=$t(n,Mo,Ax,{[X0]:!0});$t(r,Mo,r);const i=$t(r,Bo,eU,{[md]:!0}),o=$t(r,Kf,tU,{[ud]:!0}),a=$t(n,Bo,zo,{[J0]:!0});$t(a,Mo,i),$t(a,Bo,a),$t(i,Mo,i),$t(i,Bo,i);const s=$t(n,Kf,Z0,{[Y0]:!0});$t(s,Bo),$t(s,Mo,o),$t(s,Kf,s),$t(o,Mo,o),$t(o,Bo),$t(o,Kf,o);const l=Me(n,fv,Ux,{[lv]:!0}),c=Me(n,dT,t2,{[lv]:!0}),f=$t(n,uv,t2,{[lv]:!0});Me(n,dv,f),Me(c,fv,l),Me(c,dv,f),$t(c,uv,f),Me(f,dT),Me(f,fv),$t(f,uv,f),Me(f,dv,f);const d=$t(n,cv,rU,{[Q3]:!0});Me(d,"#"),$t(d,cv,d),Me(d,FP,d);const p=Me(d,RP);Me(p,"#"),$t(p,cv,d);const g=[[Bo,a],[Mo,i]],m=[[Bo,null],[Kf,s],[Mo,o]];for(let v=0;v<bp.length;v++)$a(n,bp[v],Q0,zo,g);for(let v=0;v<vp.length;v++)$a(n,vp[v],e2,Z0,m);gl(Q0,{tld:!0,ascii:!0},e),gl(e2,{utld:!0,alpha:!0},e),$a(n,"file",Jp,zo,g),$a(n,"mailto",Jp,zo,g),$a(n,"http",ru,zo,g),$a(n,"https",ru,zo,g),$a(n,"ftp",ru,zo,g),$a(n,"ftps",ru,zo,g),gl(Jp,{scheme:!0,ascii:!0},e),gl(ru,{slashscheme:!0,ascii:!0},e),t=t.sort((v,x)=>v[0]>x[0]?1:-1);for(let v=0;v<t.length;v++){const x=t[v][0],w=t[v][1]?{[EP]:!0}:{[kP]:!0};x.indexOf("-")>=0?w[K0]=!0:Bo.test(x)?Mo.test(x)?w[md]=!0:w[J0]=!0:w[X0]=!0,fT(n,x,x,w)}return fT(n,"localhost",Ld,{ascii:!0}),n.jd=new mr(Zg),{start:n,tokens:Tu({groups:e},iU)}}function oU(t,e){const n=IP(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 IP(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 $a(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 mr(r),o.jr=i.slice(),t.j[l]=o),t=o}return o=new mr(n),o.jr=i.slice(),t.j[e[a-1]]=o,o}function hT(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 Wd={defaultProtocol:"http",events:null,format:pT,formatHref:pT,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Mx(t,e=null){let n=Tu({},Wd);t&&(n=Tu(n,t instanceof Mx?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}Mx.prototype={o:Wd,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]:Wd[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 pT(t){return t}function aU(t,e){this.t="token",this.v=t,this.tk=e}aU.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=Wd.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&&Tu(a,f),{tagName:i,attributes:a,content:o,eventListeners:d}}};function jm(t,e){class n extends aU{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 gT=jm("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),mT=jm("text"),BP=jm("nl"),xp=jm("url",{isLink:!0,toHref(t=Wd.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==Ld&&t[1].t===Za}}),Zr=t=>new mr(t);function MP({groups:t}){const e=t.domain.concat([$g,zg,Xa,jg,Vg,Hg,qg,Gg,ei,Ax,vd,Xg,Jg,Yg,Gi,Zg,Dd,Kg]),n=[Za,Rx,qi,Ox,vd,xd,Ix,Bx,Fg,Rg,yd,bd,kg,Eg,Ag,Ug,Og,Ig,Bg,Mg,Ng,Pg,Lg,Wg],r=[$g,Fx,zg,jg,Vg,Hg,qg,Gg,ei,yd,bd,vd,Xg,Jg,Yg,xd,Gi,Zg,Dd,Kg],i=Zr(),o=Me(i,Dd);at(o,r,o),at(o,t.domain,o);const a=Zr(),s=Zr(),l=Zr();at(i,t.domain,a),at(i,t.scheme,s),at(i,t.slashscheme,l),at(a,r,o),at(a,t.domain,a);const c=Me(a,Xa);Me(o,Xa,c),Me(s,Xa,c),Me(l,Xa,c);const f=Me(o,qi);at(f,r,o),at(f,t.domain,o);const d=Zr();at(c,t.domain,d),at(d,t.domain,d);const p=Me(d,qi);at(p,t.domain,d);const g=Zr(gT);at(p,t.tld,g),at(p,t.utld,g),Me(c,Ld,g);const m=Me(d,ei);Me(m,ei,m),at(m,t.domain,d),at(g,t.domain,d),Me(g,qi,p),Me(g,ei,m);const v=Me(g,Za);at(v,t.numeric,gT);const x=Me(a,ei),D=Me(a,qi);Me(x,ei,x),at(x,t.domain,a),at(D,r,o),at(D,t.domain,a);const w=Zr(xp);at(D,t.tld,w),at(D,t.utld,w),at(w,t.domain,a),at(w,r,o),Me(w,qi,D),Me(w,ei,x),Me(w,Xa,c);const C=Me(w,Za),R=Zr(xp);at(C,t.numeric,R);const U=Zr(xp),I=Zr();at(U,e,U),at(U,n,I),at(I,e,U),at(I,n,I),Me(w,Gi,U),Me(R,Gi,U);const N=Me(s,Za),V=Me(l,Za),j=Me(V,Gi),oe=Me(j,Gi);at(s,t.domain,a),Me(s,qi,D),Me(s,ei,x),at(l,t.domain,a),Me(l,qi,D),Me(l,ei,x),at(N,t.domain,U),Me(N,Gi,U),Me(N,xd,U),at(oe,t.domain,U),at(oe,e,U),Me(oe,Gi,U);const ue=[[yd,bd],[Eg,kg],[Ag,Ug],[Fg,Rg],[Og,Ig],[Bg,Mg],[Ng,Pg],[Lg,Wg]];for(let F=0;F<ue.length;F++){const[X,E]=ue[F],re=Me(U,X);Me(I,X,re),Me(re,E,U);const z=Zr(xp);at(re,e,z);const J=Zr();at(re,n),at(z,e,z),at(z,n,J),at(J,e,z),at(J,n,J),Me(z,E,U),Me(J,E,U)}return Me(i,Ld,w),Me(i,Ux,BP),{start:i,tokens:iU}}function NP(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(hv(mT,e,a)),a=[]),i-=p,f-=p;const g=d.t,m=n.slice(i-f,i);o.push(hv(g,e,m))}}return a.length>0&&o.push(hv(mT,e,a)),o}function hv(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 PP=typeof console<"u"&&console&&console.warn||(()=>{}),LP="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Ut={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function WP(){return mr.groups={},Ut.scanner=null,Ut.parser=null,Ut.tokenQueue=[],Ut.pluginQueue=[],Ut.customSchemes=[],Ut.initialized=!1,Ut}function $P(t,e=!1){if(Ut.initialized&&PP(`linkifyjs: already initialized - will not register custom scheme "${t}" ${LP}`),!/^[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`);Ut.customSchemes.push([t,e])}function zP(){Ut.scanner=OP(Ut.customSchemes);for(let t=0;t<Ut.tokenQueue.length;t++)Ut.tokenQueue[t][1]({scanner:Ut.scanner});Ut.parser=MP(Ut.scanner.tokens);for(let t=0;t<Ut.pluginQueue.length;t++)Ut.pluginQueue[t][1]({scanner:Ut.scanner,parser:Ut.parser});return Ut.initialized=!0,Ut}function Nx(t){return Ut.initialized||zP(),NP(Ut.parser.start,t,oU(Ut.scanner.start,t))}Nx.scan=oU;function jP(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 Mx(n),i=Nx(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 Qg=200,sn=function(){};sn.prototype.append=function(e){return e.length?(e=sn.from(e),!this.length&&e||e.length<Qg&&this.leafAppend(e)||this.length<Qg&&e.leafPrepend(this)||this.appendInner(e)):this};sn.prototype.prepend=function(e){return e.length?sn.from(e).append(this):this};sn.prototype.appendInner=function(e){return new VP(this,e)};sn.prototype.slice=function(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.length),e>=n?sn.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};sn.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};sn.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)};sn.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};sn.from=function(e){return e instanceof sn?e:e&&e.length?new sU(e):sn.empty};var sU=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<=Qg)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=Qg)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}(sn);sn.empty=new sU([]);var VP=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}(sn);const HP=500;class xi{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 za(d.map));let g=d.step.map(i.slice(o)),m;g&&a.maybeStep(g).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],c.push(new za(m,void 0,void 0,c.length+f.length))),o--,m&&i.appendMap(m,o)}else a.maybeStep(d.step);if(d.selection)return s=i?d.selection.map(i.slice(o)):d.selection,l=new xi(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 za(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>GP&&(s=qP(s,c),a-=c),new xi(s.append(o),a)}remapping(e,n){let r=new uu;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 xi(this.items.append(e.map(n=>new za(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 m=o.maps[g];if(p.step){let v=e.steps[g].invert(e.docs[g]),x=p.selection&&p.selection.map(o.slice(l+1,g));x&&s++,r.push(new za(m,v,x))}else r.push(new za(m))},i);let c=[];for(let p=n;p<a;p++)c.push(new za(o.maps[p]));let f=this.items.slice(0,i).append(c).append(r),d=new xi(f,s);return d.emptyItemCount()>HP&&(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 za(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 xi(sn.from(i.reverse()),o)}}xi.empty=new xi(sn.empty,0);function qP(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}let za=class lU{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 lU(n.getMap().invert(),n,this.selection)}}};class Ja{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const GP=20;function XP(t,e,n,r){let i=n.getMeta(xl),o;if(i)return i.historyState;n.getMeta(KP)&&(t=new Ja(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(xl))return a.getMeta(xl).redo?new Ja(t.done.addTransform(n,void 0,r,Yp(e)),t.undone,yT(n.mapping.maps),t.prevTime,t.prevComposition):new Ja(t.done,t.undone.addTransform(n,void 0,r,Yp(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||!JP(n,t.prevRanges)),c=a?pv(t.prevRanges,n.mapping):yT(n.mapping.maps);return new Ja(t.done.addTransform(n,l?e.selection.getBookmark():void 0,r,Yp(e)),xi.empty,c,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new Ja(t.done.rebased(n,o),t.undone.rebased(n,o),pv(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new Ja(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),pv(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function JP(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 yT(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 pv(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 YP(t,e,n){let r=Yp(e),i=xl.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 Ja(n?s:o.remaining,n?o.remaining:s,null,0,-1);return o.transform.setSelection(a).setMeta(xl,{redo:n,historyState:l})}let gv=!1,bT=null;function Yp(t){let e=t.plugins;if(bT!=e){gv=!1,bT=e;for(let n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){gv=!0;break}}return gv}const xl=new ia("history"),KP=new ia("closeHistory");function ZP(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new Bl({key:xl,state:{init(){return new Ja(xi.empty,xi.empty,null,0,-1)},apply(e,n,r){return XP(n,r,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,n){let r=n.inputType,i=r=="historyUndo"?uU:r=="historyRedo"?fU:null;return i?(n.preventDefault(),i(e.state,e.dispatch)):!1}}}})}function cU(t,e){return(n,r)=>{let i=xl.getState(n);if(!i||(t?i.undone:i.done).eventCount==0)return!1;if(r){let o=YP(i,n,t);o&&r(e?o.scrollIntoView():o)}return!0}}const uU=cU(!1,!0),fU=cU(!0,!0);function QP(t={}){return new Bl({view(e){return new eL(e,t)}})}class eL{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=fA(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 zt extends tt{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return zt.valid(r)?new zt(r):tt.near(r)}content(){return We.empty}eq(e){return e instanceof zt&&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 zt(e.resolve(n.pos))}getBookmark(){return new Px(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!tL(e)||!nL(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&&zt.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(zt.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!Ye.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(zt.valid(s))return s}return null}}}zt.prototype.visible=!1;zt.findFrom=zt.findGapCursorFrom;tt.jsonID("gapcursor",zt);class Px{constructor(e){this.pos=e}map(e){return new Px(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return zt.valid(n)?new zt(n):tt.near(n)}}function tL(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 nL(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 rL(){return new Bl({props:{decorations:sL,createSelectionBetween(t,e,n){return e.pos==n.pos&&zt.valid(n)?new zt(n):null},handleClick:oL,handleKeyDown:iL,handleDOMEvents:{beforeinput:aL}}})}const iL=dx({ArrowLeft:Dp("horiz",-1),ArrowRight:Dp("horiz",1),ArrowUp:Dp("vert",-1),ArrowDown:Dp("vert",1)});function Dp(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 lt){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(e>0?s.after():s.before())}let c=zt.findGapCursorFrom(s,e,l);return c?(i&&i(r.tr.setSelection(new zt(c))),!0):!1}}function oL(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!zt.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&Ye.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new zt(r))),!0)}function aL(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof zt))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=Re.empty;for(let a=r.length-1;a>=0;a--)i=Re.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new We(i,0,0));return o.setSelection(lt.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function sL(t){if(!(t.selection instanceof zt))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Pt.create(t.doc,[Rn.widget(t.selection.head,e,{key:"gapcursor"})])}var n2,r2;if(typeof WeakMap<"u"){let t=new WeakMap;n2=e=>t.get(e),r2=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;n2=r=>{for(let i=0;i<t.length;i+=2)if(t[i]==r)return t[i+1]},r2=(r,i)=>(n==10&&(n=0),t[n++]=r,t[n++]=i)}var jt=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 n2(t)||r2(t,lL(t))}};function lL(t){if(t.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+t.type.name);const e=cL(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 m=0;;m++){for(;i<r.length&&r[i]!=0;)i++;if(m==d.childCount)break;const v=d.child(m),{colspan:x,rowspan:D,colwidth:w}=v.attrs;for(let C=0;C<D;C++){if(C+c>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:f,n:D-C});break}const R=i+C*e;for(let U=0;U<x;U++){r[R+U]==0?r[R+U]=f:(o||(o=[])).push({type:"collision",row:c,pos:f,n:x-U});const I=w&&w[U];if(I){const N=(R+U)%e*2,V=a[N];V==null||V!=I&&a[N+1]==1?(a[N]=I,a[N+1]=1):V==I&&a[N+1]++}}}i+=x,f+=v.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 jt(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&&uL(s,a,t),s}function cL(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 uL(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=fL(l)))[c]=d)}s&&t.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}function fL(t){if(t.colwidth)return t.colwidth.slice();const e=[];for(let n=0;n<t.colspan;n++)e.push(0);return e}function Mn(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 Qa=new ia("selectingCells");function ju(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 dL(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 _i(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 Vm(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=ju(e.$head)||hL(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function hL(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 i2(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function pL(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function Lx(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function dU(t,e,n){const r=t.node(-1),i=jt.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 El(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 hU(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 gL(t,e,n){const r=Mn(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 Ot=class jo extends tt{constructor(e,n=e){const r=e.node(-1),i=jt.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 nx(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(i2(r)&&i2(i)&&Lx(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?jo.rowSelection(r,i):o&&this.isColSelection()?jo.colSelection(r,i):new jo(r,i)}return lt.between(r,i)}content(){const e=this.$anchorCell.node(-1),n=jt.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 m=e.nodeAt(p);if(!m)throw RangeError(`No cell with offset ${p} found`);const v=i.left-g.left,x=g.right-i.right;if(v>0||x>0){let D=m.attrs;if(v>0&&(D=El(D,0,v)),x>0&&(D=El(D,D.colspan-x,x)),g.left<i.left){if(m=m.type.createAndFill(D),!m)throw RangeError(`Could not create cell with attrs ${JSON.stringify(D)}`)}else m=m.type.create(D,m.content)}if(g.top<i.top||g.bottom>i.bottom){const D={...m.attrs,rowspan:Math.min(g.bottom,i.bottom)-Math.max(g.top,i.top)};g.top<i.top?m=m.type.createAndFill(D):m=m.type.create(D,m.content)}c.push(m)}a.push(e.child(l).copy(Re.from(c)))}const s=this.isColSelection()&&this.isRowSelection()?e:a;return new We(Re.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=tt.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,n){this.replace(e,new We(Re.from(n),0,0))}forEachCell(e){const n=this.$anchorCell.node(-1),r=jt.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=jt.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 jo(e,n)}isRowSelection(){const e=this.$anchorCell.node(-1),n=jt.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 jo&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),i=jt.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 jo(e,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,n){return new jo(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){return new jo(e.resolve(n),e.resolve(r))}getBookmark(){return new mL(this.$anchorCell.pos,this.$headCell.pos)}};Ot.prototype.visible=!1;tt.jsonID("cell",Ot);var mL=class pU{constructor(e,n){this.anchor=e,this.head=n}map(e){return new pU(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&&Lx(n,r)?new Ot(n,r):tt.near(r,1)}};function yL(t){if(!(t.selection instanceof Ot))return null;const e=[];return t.selection.forEachCell((n,r)=>{e.push(Rn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Pt.create(t.doc,e)}function bL({$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 vL({$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 xL(t,e,n){const r=(e||t).selection,i=(e||t).doc;let o,a;if(r instanceof Ye&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Ot.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Ot.rowSelection(s,s)}else if(!n){const s=jt.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=Ot.create(i,l+1,c)}}else r instanceof lt&&bL(r)?o=lt.create(i,r.from):r instanceof lt&&vL(r)&&(o=lt.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var DL=new ia("fix-tables");function gU(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)?gU(t.child(s),l,n+1,r):l.nodesBetween(0,l.content.size,r,n+1),n+=l.nodeSize}}function mU(t,e){let n;const r=(i,o)=>{i.type.spec.tableRole=="table"&&(n=wL(t,i,o,n))};return e?e.doc!=t.doc&&gU(e.doc,t.doc,0,r):t.doc.descendants(r),n}function wL(t,e,n,r){const i=jt.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,El(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 m=[];for(let x=0;x<p;x++){const D=Mn(t.schema)[g].createAndFill();D&&m.push(D)}const v=(l==0||a==l-1)&&s==l?c+1:d-1;r.insert(r.mapping.map(v),m)}c=d}return r.setMeta(DL,{fixTables:!0})}function uo(t){const e=t.selection,n=Vm(t),r=n.node(-1),i=n.start(-1),o=jt.get(r);return{...e instanceof Ot?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(n.pos-i),tableStart:i,map:o,table:r}}function yU(t,{map:e,tableStart:n,table:r},i){let o=i>0?-1:0;gL(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,hU(c.attrs,i-e.colCount(l))),a+=c.attrs.rowspan-1}else{const l=o==null?Mn(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 SL(t,e){if(!_i(t))return!1;if(e){const n=uo(t);e(yU(t.tr,n,n.left))}return!0}function TL(t,e){if(!_i(t))return!1;if(e){const n=uo(t);e(yU(t.tr,n,n.right))}return!0}function _L(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,El(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 CL(t,e){if(!_i(t))return!1;if(e){const n=uo(t),r=t.tr;if(n.left==0&&n.right==n.map.width)return!1;for(let i=n.right-1;_L(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=jt.get(o)}e(r)}return!0}function EL(t,e,n){var r;const i=Mn(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 bU(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;EL(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?Mn(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,Mn(r.type.schema).row.create(null,s)),t}function kL(t,e){if(!_i(t))return!1;if(e){const n=uo(t);e(bU(t.tr,n,n.top))}return!0}function AL(t,e){if(!_i(t))return!1;if(e){const n=uo(t);e(bU(t.tr,n,n.bottom))}return!0}function UL(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,m=p.type.create({...g,rowspan:p.attrs.rowspan-1},p.content),v=e.positionAt(i+1,c,n);t.insert(t.mapping.slice(s).map(r+v),m),c+=g.colspan-1}}}}function FL(t,e){if(!_i(t))return!1;if(e){const n=uo(t),r=t.tr;if(n.top==0&&n.bottom==n.map.height)return!1;for(let i=n.bottom-1;UL(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=jt.get(n.table)}e(r)}return!0}function vT(t){const e=t.content;return e.childCount==1&&e.child(0).isTextblock&&e.child(0).childCount==0}function RL({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 OL(t,e){const n=t.selection;if(!(n instanceof Ot)||n.$anchorCell.pos==n.$headCell.pos)return!1;const r=uo(t),{map:i}=r;if(RL(i,r))return!1;if(e){const o=t.tr,a={};let s=Re.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{vT(g)||(s=s.append(g.content));const m=o.mapping.map(p+r.tableStart);o.delete(m,m+g.nodeSize)}}if(l==null||c==null)return!0;if(o.setNodeMarkup(l+r.tableStart,null,{...hU(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=vT(c)?l+1:f;o.replaceWith(d+r.tableStart,f+r.tableStart,s)}o.setSelection(new Ot(o.doc.resolve(l+r.tableStart))),e(o)}return!0}function IL(t,e){const n=Mn(t.schema);return BL(({node:r})=>n[r.type.spec.tableRole])(t,e)}function BL(t){return(e,n)=>{var r;const i=e.selection;let o,a;if(i instanceof Ot){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=dL(i.$from),!o)return!1;a=(r=ju(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=uo(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 m=f.map.positionAt(g,f.left,f.table);g==f.top&&(m+=o.nodeSize);for(let v=f.left,x=0;v<f.right;v++,x++)v==f.left&&g==f.top||d.insert(p=d.mapping.map(m+f.tableStart,1),t({node:o,row:g,col:v}).createAndFill(l[x]))}d.setNodeMarkup(a,t({node:o,row:f.top,col:f.left}),l[0]),i instanceof Ot&&d.setSelection(new Ot(d.doc.resolve(i.$anchorCell.pos),p?d.doc.resolve(p):void 0)),n(d)}return!0}}function ML(t,e){return function(n,r){if(!_i(n))return!1;const i=Vm(n);if(i.nodeAfter.attrs[t]===e)return!1;if(r){const o=n.tr;n.selection instanceof Ot?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 NL(t){return function(e,n){if(!_i(e))return!1;if(n){const r=Mn(e.schema),i=uo(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 xT(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 Hm(t,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?NL(t):function(n,r){if(!_i(n))return!1;if(r){const i=Mn(n.schema),o=uo(n),a=n.tr,s=xT("row",o,i),l=xT("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 m=g+o.tableStart,v=a.doc.nodeAt(m);v&&a.setNodeMarkup(m,p,v.attrs)}),r(a)}return!0}}Hm("row",{useDeprecatedLogic:!0});Hm("column",{useDeprecatedLogic:!0});var PL=Hm("cell",{useDeprecatedLogic:!0});function LL(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 WL(t){return function(e,n){if(!_i(e))return!1;const r=LL(Vm(e),t);if(r==null)return!1;if(n){const i=e.doc.resolve(r);n(e.tr.setSelection(lt.between(i,pL(i))).scrollIntoView())}return!0}}function $L(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 wp(t,e){const n=t.selection;if(!(n instanceof Ot))return!1;if(e){const r=t.tr,i=Mn(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 zL(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=o2(Mn(a).row,new We(c,f,d)).content),s.push(c)}else if(o=="cell"||o=="header_cell")s.push(n||r?o2(Mn(a).row,new We(e,n,r)).content:e);else return null;return jL(a,s)}function jL(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(Re.empty),n[i]<r){const o=Mn(t).cell.createAndFill(),a=[];for(let s=n[i];s<r;s++)a.push(o);e[i]=e[i].append(Re.from(a))}return{height:e.length,width:r,rows:e}}function o2(t,e){const n=t.createAndFill();return new tx(n).replace(0,n.content.size,e).doc}function VL({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(El(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(Re.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(Re.from(l))}n=o,e=i}return{width:t,height:e,rows:n}}function HL(t,e,n,r,i,o,a){const s=t.doc.type.schema,l=Mn(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 m=[];let v;g.lastChild==null||g.lastChild.type==l.cell?v=c||(c=l.cell.createAndFill()):v=f||(f=l.header_cell.createAndFill());for(let x=e.width;x<i;x++)m.push(v);t.insert(t.mapping.slice(a).map(p-1+r),m)}if(o>e.height){const d=[];for(let m=0,v=(e.height-1)*e.width;m<Math.max(e.width,i);m++){const x=m>=e.width?!1:n.nodeAt(e.map[v+m]).type==l.header_cell;d.push(x?f||(f=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const p=l.row.create(null,Re.from(d)),g=[];for(let m=e.height;m<o;m++)g.push(p);t.insert(t.mapping.slice(a).map(r+n.nodeSize-2),g)}return!!(c||f)}function DT(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:m}=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,m,n)),p.type.createAndFill({...p.attrs,rowspan:g+p.attrs.rowspan-a})),c+=p.attrs.colspan-1}}return l}function wT(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),m=t.mapping.slice(s).map(d+r);t.setNodeMarkup(m,null,El(p.attrs,a-g,p.attrs.colspan-(a-g))),t.insert(m+p.nodeSize,p.type.createAndFill(El(p.attrs,0,a-g))),c+=p.attrs.rowspan-1}}return l}function ST(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=jt.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=jt.get(o),p=d.mapping.maps.length}HL(d,a,o,n,c,f,p)&&g(),DT(d,a,o,n,l,c,s,p)&&g(),DT(d,a,o,n,l,c,f,p)&&g(),wT(d,a,o,n,s,f,l,p)&&g(),wT(d,a,o,n,s,f,c,p)&&g();for(let m=s;m<f;m++){const v=a.positionAt(m,l,o),x=a.positionAt(m,c,o);d.replace(d.mapping.slice(p).map(v+n),d.mapping.slice(p).map(x+n),new We(i.rows[m-s],0,0))}g(),d.setSelection(new Ot(d.doc.resolve(n+a.positionAt(s,l,o)),d.doc.resolve(n+a.positionAt(f-1,c-1,o)))),e(d)}var qL=dx({ArrowLeft:Sp("horiz",-1),ArrowRight:Sp("horiz",1),ArrowUp:Sp("vert",-1),ArrowDown:Sp("vert",1),"Shift-ArrowLeft":Tp("horiz",-1),"Shift-ArrowRight":Tp("horiz",1),"Shift-ArrowUp":Tp("vert",-1),"Shift-ArrowDown":Tp("vert",1),Backspace:wp,"Mod-Backspace":wp,Delete:wp,"Mod-Delete":wp});function Kp(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 Ot)return Kp(n,r,tt.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;const a=vU(i,t,e);if(a==null)return!1;if(t=="horiz")return Kp(n,r,tt.near(n.doc.resolve(o.head+e),e));{const s=n.doc.resolve(a),l=dU(s,t,e);let c;return l?c=tt.near(l,1):e<0?c=tt.near(n.doc.resolve(s.before(-1)),-1):c=tt.near(n.doc.resolve(s.after(-1)),1),Kp(n,r,c)}}}function Tp(t,e){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Ot)a=o;else{const l=vU(i,t,e);if(l==null)return!1;a=new Ot(n.doc.resolve(l))}const s=dU(a.$headCell,t,e);return s?Kp(n,r,new Ot(a.$anchorCell,s)):!1}}function GL(t,e){const n=t.state.doc,r=ju(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Ot(r))),!0):!1}function XL(t,e,n){if(!_i(t.state))return!1;let r=zL(n);const i=t.state.selection;if(i instanceof Ot){r||(r={width:1,height:1,rows:[Re.from(o2(Mn(t.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=jt.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=VL(r,s.right-s.left,s.bottom-s.top),ST(t.state,t.dispatch,a,s,r),!0}else if(r){const o=Vm(t.state),a=o.start(-1);return ST(t.state,t.dispatch,a,jt.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function JL(t,e){var n;if(e.ctrlKey||e.metaKey)return;const r=TT(t,e.target);let i;if(e.shiftKey&&t.state.selection instanceof Ot)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=ju(t.state.selection.$anchor))!=null&&((n=mv(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(l,c){let f=mv(t,c);const d=Qa.getState(t.state)==null;if(!f||!Lx(l,f))if(d)f=l;else return;const p=new Ot(l,f);if(d||!t.state.selection.eq(p)){const g=t.state.tr.setSelection(p);d&&g.setMeta(Qa,l.pos),t.dispatch(g)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),Qa.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(Qa,-1))}function s(l){const c=l,f=Qa.getState(t.state);let d;if(f!=null)d=t.state.doc.resolve(f);else if(TT(t,c.target)!=r&&(d=mv(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 vU(t,e,n){if(!(t.state.selection instanceof lt))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 TT(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function mv(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?ju(t.state.doc.resolve(n.pos)):null}var YL=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")),a2(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,a2(t,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(t){return t.type=="attributes"&&(t.target==this.table||this.colgroup.contains(t.target))}};function a2(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:m}=f.child(d).attrs;for(let v=0;v<g;v++,p++){const x=i==p?o:m&&m[v],D=x?x+"px":"";if(s+=x||r,x||(l=!1),c)c.style.width!=D&&(c.style.width=D),c=c.nextSibling;else{const w=document.createElement("col");w.style.width=D,e.appendChild(w)}}}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 Br=new ia("tableColumnResizing");function KL({handleWidth:t=5,cellMinWidth:e=25,defaultCellMinWidth:n=100,View:r=YL,lastColumnResizable:i=!0}={}){const o=new Bl({key:Br,state:{init(a,s){var l,c;const f=(c=(l=o.spec)==null?void 0:l.props)==null?void 0:c.nodeViews,d=Mn(s.schema).table.name;return r&&f&&(f[d]=(p,g)=>new r(p,n,g)),new ZL(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=Br.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{QL(a,s,t,i)},mouseleave:a=>{eW(a)},mousedown:(a,s)=>{tW(a,s,e,n)}},decorations:a=>{const s=Br.getState(a);if(s&&s.activeHandle>-1)return aW(a,s.activeHandle)},nodeViews:{}}});return o}var ZL=class Zp{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(Br);if(r&&r.setHandle!=null)return new Zp(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Zp(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return i2(e.doc.resolve(i))||(i=-1),new Zp(i,n.dragging)}return n}};function QL(t,e,n,r){if(!t.editable)return;const i=Br.getState(t.state);if(i&&!i.dragging){const o=rW(e.target);let a=-1;if(o){const{left:s,right:l}=o.getBoundingClientRect();e.clientX-s<=n?a=_T(t,e,"left",n):l-e.clientX<=n&&(a=_T(t,e,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=t.state.doc.resolve(a),l=s.node(-1),c=jt.get(l),f=s.start(-1);if(c.colCount(s.pos-f)+s.nodeAfter.attrs.colspan-1==c.width-1)return}xU(t,a)}}}function eW(t){if(!t.editable)return;const e=Br.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&xU(t,-1)}function tW(t,e,n,r){var i;if(!t.editable)return!1;const o=(i=t.dom.ownerDocument.defaultView)!=null?i:window,a=Br.getState(t.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=t.state.doc.nodeAt(a.activeHandle),l=nW(t,a.activeHandle,s.attrs);t.dispatch(t.state.tr.setMeta(Br,{setDragging:{startX:e.clientX,startWidth:l}}));function c(d){o.removeEventListener("mouseup",c),o.removeEventListener("mousemove",f);const p=Br.getState(t.state);p!=null&&p.dragging&&(iW(t,p.activeHandle,CT(p.dragging,d,n)),t.dispatch(t.state.tr.setMeta(Br,{setDragging:null})))}function f(d){if(!d.which)return c(d);const p=Br.getState(t.state);if(p&&p.dragging){const g=CT(p.dragging,d,n);ET(t,p.activeHandle,g,r)}}return ET(t,a.activeHandle,l,r),o.addEventListener("mouseup",c),o.addEventListener("mousemove",f),e.preventDefault(),!0}function nW(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 rW(t){for(;t&&t.nodeName!="TD"&&t.nodeName!="TH";)t=t.classList&&t.classList.contains("ProseMirror")?null:t.parentNode;return t}function _T(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=ju(t.state.doc.resolve(a));if(!s)return-1;if(n=="right")return s.pos;const l=jt.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 CT(t,e,n){const r=e.clientX-t.startX;return Math.max(n,t.startWidth+r)}function xU(t,e){t.dispatch(t.state.tr.setMeta(Br,{setHandle:e}))}function iW(t,e,n){const r=t.state.doc.resolve(e),i=r.node(-1),o=jt.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 m=p.colwidth?p.colwidth.slice():oW(p.colspan);m[g]=n,l.setNodeMarkup(a+d,null,{...p,colwidth:m})}l.docChanged&&t.dispatch(l)}function ET(t,e,n,r){const i=t.state.doc.resolve(e),o=i.node(-1),a=i.start(-1),s=jt.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&&a2(o,l.firstChild,l,r,s,n)}function oW(t){return Array(t).fill(0)}function aW(t,e){var n;const r=[],i=t.doc.resolve(e),o=i.node(-1);if(!o)return Pt.empty;const a=jt.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=Br.getState(t))!=null&&n.dragging&&r.push(Rn.node(s+d,s+d+o.nodeAt(d).nodeSize,{class:"column-resize-dragging"})),r.push(Rn.widget(p,g))}}return Pt.create(t.doc,r)}function sW({allowTableNodeSelection:t=!1}={}){return new Bl({key:Qa,state:{init(){return null},apply(e,n){const r=e.getMeta(Qa);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:yL,handleDOMEvents:{mousedown:JL},createSelectionBetween(e){return Qa.getState(e.state)!=null?e.state.selection:null},handleTripleClick:GL,handleKeyDown:qL,handlePaste:XL},appendTransaction(e,n,r){return xL(r,mU(r,n),t)}})}var it=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function DU(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wU(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 kT=Object.prototype.toString,SU=function(e){var n=kT.call(e),r=n==="[object Arguments]";return r||(r=n!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&kT.call(e.callee)==="[object Function]"),r},yv,AT;function lW(){if(AT)return yv;AT=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=SU,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 m=g!==null&&typeof g=="object",v=n.call(g)==="[object Function]",x=r(g),D=m&&n.call(g)==="[object String]",w=[];if(!m&&!v&&!x)throw new TypeError("Object.keys called on a non-object");var C=a&&v;if(D&&g.length>0&&!e.call(g,0))for(var R=0;R<g.length;++R)w.push(String(R));if(x&&g.length>0)for(var U=0;U<g.length;++U)w.push(String(U));else for(var I in g)!(C&&I==="prototype")&&e.call(g,I)&&w.push(String(I));if(o)for(var N=d(g),V=0;V<s.length;++V)!(N&&s[V]==="constructor")&&e.call(g,s[V])&&w.push(s[V]);return w}}return yv=t,yv}var cW=Array.prototype.slice,uW=SU,UT=Object.keys,Qp=UT?function(e){return UT(e)}:lW(),FT=Object.keys;Qp.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 uW(r)?FT(cW.call(r)):FT(r)})}else Object.keys=Qp;return Object.keys||Qp};var Wx=Qp,eg=Object.defineProperty||!1;if(eg)try{eg({},"a",{value:1})}catch{eg=!1}var qm=eg,$x=SyntaxError,si=TypeError,fW=Object.getOwnPropertyDescriptor,tg=fW;if(tg)try{tg([],"length")}catch{tg=null}var Pl=tg,RT=qm,dW=$x,qc=si,OT=Pl,zx=function(e,n,r){if(!e||typeof e!="object"&&typeof e!="function")throw new qc("`obj` must be an object or a function`");if(typeof n!="string"&&typeof n!="symbol")throw new qc("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new qc("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new qc("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new qc("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new qc("`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=!!OT&&OT(e,n);if(RT)RT(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 dW("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},s2=qm,TU=function(){return!!s2};TU.hasArrayLengthDefineBug=function(){if(!s2)return null;try{return s2([],"length",{value:1}).length!==1}catch{return!0}};var jx=TU,hW=Wx,pW=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",gW=Object.prototype.toString,mW=Array.prototype.concat,IT=zx,yW=function(t){return typeof t=="function"&&gW.call(t)==="[object Function]"},_U=jx(),bW=function(t,e,n,r){if(e in t){if(r===!0){if(t[e]===n)return}else if(!yW(r)||!r())return}_U?IT(t,e,n,!0):IT(t,e,n)},CU=function(t,e){var n=arguments.length>2?arguments[2]:{},r=hW(e);pW&&(r=mW.call(r,Object.getOwnPropertySymbols(e)));for(var i=0;i<r.length;i+=1)bW(t,r[i],e[r[i]],n[r[i]])};CU.supportsDescriptors=!!_U;var Ll=CU,EU={exports:{}},Vx=Object,kU=Error,vW=EvalError,xW=RangeError,DW=ReferenceError,wW=URIError,SW=Math.abs,TW=Math.floor,_W=Math.max,CW=Math.min,EW=Math.pow,kW=Math.round,AW=Number.isNaN||function(e){return e!==e},UW=AW,FW=function(e){return UW(e)||e===0?e:e<0?-1:1},Gm=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},BT=typeof Symbol<"u"&&Symbol,RW=Gm,Hx=function(){return typeof BT!="function"||typeof Symbol!="function"||typeof BT("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:RW()},bv,MT;function AU(){return MT||(MT=1,bv=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),bv}var vv,NT;function UU(){if(NT)return vv;NT=1;var t=Vx;return vv=t.getPrototypeOf||null,vv}var xv,PT;function OW(){if(PT)return xv;PT=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 xv=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),m=[],v=0;v<g;v++)m[v]="$"+v;if(d=Function("binder","return function ("+a(m,",")+"){ return binder.apply(this,arguments); }")(p),c.prototype){var x=function(){};x.prototype=c.prototype,d.prototype=new x,x.prototype=null}return d},xv}var Dv,LT;function ph(){if(LT)return Dv;LT=1;var t=OW();return Dv=Function.prototype.bind||t,Dv}var wv,WT;function qx(){return WT||(WT=1,wv=Function.prototype.call),wv}var Sv,$T;function Gx(){return $T||($T=1,Sv=Function.prototype.apply),Sv}var IW=typeof Reflect<"u"&&Reflect&&Reflect.apply,BW=ph(),MW=Gx(),NW=qx(),PW=IW,FU=PW||BW.call(NW,MW),LW=ph(),WW=si,$W=qx(),zW=FU,Xx=function(e){if(e.length<1||typeof e[0]!="function")throw new WW("a function is required");return zW(LW,$W,e)},Tv,zT;function jW(){if(zT)return Tv;zT=1;var t=Xx,e=Pl,n;try{n=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var r=!!n&&e&&e(Object.prototype,"__proto__"),i=Object,o=i.getPrototypeOf;return Tv=r&&typeof r.get=="function"?t([r.get]):typeof o=="function"?function(s){return o(s==null?s:i(s))}:!1,Tv}var _v,jT;function RU(){if(jT)return _v;jT=1;var t=AU(),e=UU(),n=jW();return _v=t?function(i){return t(i)}:e?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return e(i)}:n?function(i){return n(i)}:null,_v}var VW=Function.prototype.call,HW=Object.prototype.hasOwnProperty,qW=ph(),Jx=qW.call(VW,HW),pt,GW=Vx,XW=kU,JW=vW,YW=xW,KW=DW,_u=$x,mu=si,ZW=wW,QW=SW,e$=TW,t$=_W,n$=CW,r$=EW,i$=kW,o$=FW,OU=Function,Cv=function(t){try{return OU('"use strict"; return ('+t+").constructor;")()}catch{}},$d=Pl,a$=qm,Ev=function(){throw new mu},s$=$d?function(){try{return arguments.callee,Ev}catch{try{return $d(arguments,"callee").get}catch{return Ev}}}():Ev,Gc=Hx(),nn=RU(),l$=UU(),c$=AU(),IU=Gx(),gh=qx(),iu={},u$=typeof Uint8Array>"u"||!nn?pt:nn(Uint8Array),Dl={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?pt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?pt:ArrayBuffer,"%ArrayIteratorPrototype%":Gc&&nn?nn([][Symbol.iterator]()):pt,"%AsyncFromSyncIteratorPrototype%":pt,"%AsyncFunction%":iu,"%AsyncGenerator%":iu,"%AsyncGeneratorFunction%":iu,"%AsyncIteratorPrototype%":iu,"%Atomics%":typeof Atomics>"u"?pt:Atomics,"%BigInt%":typeof BigInt>"u"?pt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?pt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?pt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?pt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":XW,"%eval%":eval,"%EvalError%":JW,"%Float32Array%":typeof Float32Array>"u"?pt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?pt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?pt:FinalizationRegistry,"%Function%":OU,"%GeneratorFunction%":iu,"%Int8Array%":typeof Int8Array>"u"?pt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?pt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?pt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Gc&&nn?nn(nn([][Symbol.iterator]())):pt,"%JSON%":typeof JSON=="object"?JSON:pt,"%Map%":typeof Map>"u"?pt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Gc||!nn?pt:nn(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":GW,"%Object.getOwnPropertyDescriptor%":$d,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?pt:Promise,"%Proxy%":typeof Proxy>"u"?pt:Proxy,"%RangeError%":YW,"%ReferenceError%":KW,"%Reflect%":typeof Reflect>"u"?pt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?pt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Gc||!nn?pt:nn(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?pt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Gc&&nn?nn(""[Symbol.iterator]()):pt,"%Symbol%":Gc?Symbol:pt,"%SyntaxError%":_u,"%ThrowTypeError%":s$,"%TypedArray%":u$,"%TypeError%":mu,"%Uint8Array%":typeof Uint8Array>"u"?pt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?pt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?pt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?pt:Uint32Array,"%URIError%":ZW,"%WeakMap%":typeof WeakMap>"u"?pt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?pt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?pt:WeakSet,"%Function.prototype.call%":gh,"%Function.prototype.apply%":IU,"%Object.defineProperty%":a$,"%Object.getPrototypeOf%":l$,"%Math.abs%":QW,"%Math.floor%":e$,"%Math.max%":t$,"%Math.min%":n$,"%Math.pow%":r$,"%Math.round%":i$,"%Math.sign%":o$,"%Reflect.getPrototypeOf%":c$};if(nn)try{null.error}catch(t){var f$=nn(nn(t));Dl["%Error.prototype%"]=f$}var d$=function t(e){var n;if(e==="%AsyncFunction%")n=Cv("async function () {}");else if(e==="%GeneratorFunction%")n=Cv("function* () {}");else if(e==="%AsyncGeneratorFunction%")n=Cv("async function* () {}");else if(e==="%AsyncGenerator%"){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&nn&&(n=nn(i.prototype))}return Dl[e]=n,n},VT={__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"]},mh=ph(),em=Jx,h$=mh.call(gh,Array.prototype.concat),p$=mh.call(IU,Array.prototype.splice),HT=mh.call(gh,String.prototype.replace),tm=mh.call(gh,String.prototype.slice),g$=mh.call(gh,RegExp.prototype.exec),m$=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,y$=/\\(\\)?/g,b$=function(e){var n=tm(e,0,1),r=tm(e,-1);if(n==="%"&&r!=="%")throw new _u("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&n!=="%")throw new _u("invalid intrinsic syntax, expected opening `%`");var i=[];return HT(e,m$,function(o,a,s,l){i[i.length]=s?HT(l,y$,"$1"):a||o}),i},v$=function(e,n){var r=e,i;if(em(VT,r)&&(i=VT[r],r="%"+i[0]+"%"),em(Dl,r)){var o=Dl[r];if(o===iu&&(o=d$(r)),typeof o>"u"&&!n)throw new mu("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:r,value:o}}throw new _u("intrinsic "+e+" does not exist!")},sa=function(e,n){if(typeof e!="string"||e.length===0)throw new mu("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof n!="boolean")throw new mu('"allowMissing" argument must be a boolean');if(g$(/^%?[^%]*%?$/,e)===null)throw new _u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=b$(e),i=r.length>0?r[0]:"",o=v$("%"+i+"%",n),a=o.name,s=o.value,l=!1,c=o.alias;c&&(i=c[0],p$(r,h$([0,1],c)));for(var f=1,d=!0;f<r.length;f+=1){var p=r[f],g=tm(p,0,1),m=tm(p,-1);if((g==='"'||g==="'"||g==="`"||m==='"'||m==="'"||m==="`")&&g!==m)throw new _u("property names with quotes must have matching quotes");if((p==="constructor"||!d)&&(l=!0),i+="."+p,a="%"+i+"%",em(Dl,a))s=Dl[a];else if(s!=null){if(!(p in s)){if(!n)throw new mu("base intrinsic for "+e+" exists, but the property is not available.");return}if($d&&f+1>=r.length){var v=$d(s,p);d=!!v,d&&"get"in v&&!("originalValue"in v.get)?s=v.get:s=s[p]}else d=em(s,p),s=s[p];d&&!l&&(Dl[a]=s)}}return s},x$=sa,qT=zx,D$=jx(),GT=Pl,XT=si,w$=x$("%Math.floor%"),S$=function(e,n){if(typeof e!="function")throw new XT("`fn` is not a function");if(typeof n!="number"||n<0||n>4294967295||w$(n)!==n)throw new XT("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&GT){var a=GT(e,"length");a&&!a.configurable&&(i=!1),a&&!a.writable&&(o=!1)}return(i||o||!r)&&(D$?qT(e,"length",n,!0,!0):qT(e,"length",n)),e},T$=ph(),_$=Gx(),C$=FU,E$=function(){return C$(T$,_$,arguments)};(function(t){var e=S$,n=qm,r=Xx,i=E$;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})(EU);var Vu=EU.exports,BU=sa,MU=Xx,k$=MU([BU("%String.prototype.indexOf%")]),Ln=function(e,n){var r=BU(e,!!n);return typeof r=="function"&&k$(e,".prototype.")>-1?MU([r]):r},A$=Wx,NU=Gm(),PU=Ln,ng=Vx,U$=PU("Array.prototype.push"),JT=PU("Object.prototype.propertyIsEnumerable"),F$=NU?ng.getOwnPropertySymbols:null,LU=function(e,n){if(e==null)throw new TypeError("target must be an object");var r=ng(e);if(arguments.length===1)return r;for(var i=1;i<arguments.length;++i){var o=ng(arguments[i]),a=A$(o),s=NU&&(ng.getOwnPropertySymbols||F$);if(s)for(var l=s(o),c=0;c<l.length;++c){var f=l[c];JT(o,f)&&U$(a,f)}for(var d=0;d<a.length;++d){var p=a[d];if(JT(o,p)){var g=o[p];r[p]=g}}}return r},kv=LU,R$=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},O$=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},WU=function(){return!Object.assign||R$()||O$()?kv:Object.assign},I$=Ll,B$=WU,M$=function(){var e=B$();return I$(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},N$=Ll,P$=Vu,L$=LU,$U=WU,W$=M$,$$=P$.apply($U()),zU=function(e,n){return $$(Object,arguments)};N$(zU,{getPolyfill:$U,implementation:L$,shim:W$});var z$=zU,jU=sa,VU=Vu,j$=VU(jU("String.prototype.indexOf")),HU=function(e,n){var r=jU(e,!!n);return typeof r=="function"&&j$(e,".prototype.")>-1?VU(r):r},zd=function(){return typeof(function(){}).name=="string"},wd=Object.getOwnPropertyDescriptor;if(wd)try{wd([],"length")}catch{wd=null}zd.functionsHaveConfigurableNames=function(){if(!zd()||!wd)return!1;var e=wd(function(){},"name");return!!e&&!!e.configurable};var V$=Function.prototype.bind;zd.boundFunctionsHaveNames=function(){return zd()&&typeof V$=="function"&&(function(){}).bind().name!==""};var H$=zd,YT=zx,q$=jx(),G$=H$.functionsHaveConfigurableNames(),X$=si,J$=function(e,n){if(typeof e!="function")throw new X$("`fn` is not a function");var r=arguments.length>2&&!!arguments[2];return(!r||G$)&&(q$?YT(e,"name",n,!0,!0):YT(e,"name",n)),e},Y$=J$,K$=si,Z$=Object,qU=Y$(function(){if(this==null||this!==Z$(this))throw new K$("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),Q$=qU,ez=Ll.supportsDescriptors,tz=Object.getOwnPropertyDescriptor,GU=function(){if(ez&&/a/mig.flags==="gim"){var e=tz(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 Q$},nz=Ll.supportsDescriptors,rz=GU,iz=Pl,oz=Object.defineProperty,az=kU,KT=RU(),sz=/a/,lz=function(){if(!nz||!KT)throw new az("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=rz(),n=KT(sz),r=iz(n,"flags");return(!r||r.get!==e)&&oz(n,"flags",{configurable:!0,enumerable:!1,get:e}),e},cz=Ll,uz=Vu,fz=qU,XU=GU,dz=lz,JU=uz(XU());cz(JU,{getPolyfill:XU,implementation:fz,shim:dz});var hz=JU,rg={exports:{}},pz=Gm,Wl=function(){return pz()&&!!Symbol.toStringTag},gz=Wl(),mz=Ln,l2=mz("Object.prototype.toString"),Xm=function(e){return gz&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:l2(e)==="[object Arguments]"},YU=function(e){return Xm(e)?!0:e!==null&&typeof e=="object"&&"length"in e&&typeof e.length=="number"&&e.length>=0&&l2(e)!=="[object Array]"&&"callee"in e&&l2(e.callee)==="[object Function]"},yz=function(){return Xm(arguments)}();Xm.isLegacyArguments=YU;var KU=yz?Xm:YU;const bz={},vz=Object.freeze(Object.defineProperty({__proto__:null,default:bz},Symbol.toStringTag,{value:"Module"})),xz=wU(vz);var Yx=typeof Map=="function"&&Map.prototype,Av=Object.getOwnPropertyDescriptor&&Yx?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,nm=Yx&&Av&&typeof Av.get=="function"?Av.get:null,ZT=Yx&&Map.prototype.forEach,Kx=typeof Set=="function"&&Set.prototype,Uv=Object.getOwnPropertyDescriptor&&Kx?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,rm=Kx&&Uv&&typeof Uv.get=="function"?Uv.get:null,QT=Kx&&Set.prototype.forEach,Dz=typeof WeakMap=="function"&&WeakMap.prototype,Sd=Dz?WeakMap.prototype.has:null,wz=typeof WeakSet=="function"&&WeakSet.prototype,Td=wz?WeakSet.prototype.has:null,Sz=typeof WeakRef=="function"&&WeakRef.prototype,e_=Sz?WeakRef.prototype.deref:null,Tz=Boolean.prototype.valueOf,_z=Object.prototype.toString,Cz=Function.prototype.toString,Ez=String.prototype.match,Zx=String.prototype.slice,is=String.prototype.replace,kz=String.prototype.toUpperCase,t_=String.prototype.toLowerCase,ZU=RegExp.prototype.test,n_=Array.prototype.concat,Xi=Array.prototype.join,Az=Array.prototype.slice,r_=Math.floor,c2=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Fv=Object.getOwnPropertySymbols,u2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="object",_d=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Cu||!0)?Symbol.toStringTag:null,QU=Object.prototype.propertyIsEnumerable,i_=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function o_(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ZU.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var r=t<0?-r_(-t):r_(t);if(r!==t){var i=String(r),o=Zx.call(e,i.length+1);return is.call(i,n,"$&_")+"."+is.call(is.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return is.call(e,n,"$&_")}var f2=xz,a_=f2.custom,s_=nF(a_)?a_:null,eF={__proto__:null,double:'"',single:"'"},Uz={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},Jm=function t(e,n,r,i){var o=n||{};if(Ho(o,"quoteStyle")&&!Ho(eF,o.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Ho(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=Ho(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(Ho(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(Ho(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 iF(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return s?o_(e,l):l}if(typeof e=="bigint"){var c=String(e)+"n";return s?o_(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 d2(e)?"[Array]":"[Object]";var d=Xz(o,r);if(typeof i>"u")i=[];else if(rF(i,e)>=0)return"[Circular]";function p(X,E,re){if(E&&(i=Az.call(i),i.push(E)),re){var z={depth:o.depth};return Ho(o,"quoteStyle")&&(z.quoteStyle=o.quoteStyle),t(X,z,r+1,i)}return t(X,o,r+1,i)}if(typeof e=="function"&&!l_(e)){var g=Lz(e),m=_p(e,p);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(m.length>0?" { "+Xi.call(m,", ")+" }":"")}if(nF(e)){var v=Cu?is.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):u2.call(e);return typeof e=="object"&&!Cu?Zf(v):v}if(Hz(e)){for(var x="<"+t_.call(String(e.nodeName)),D=e.attributes||[],w=0;w<D.length;w++)x+=" "+D[w].name+"="+tF(Fz(D[w].value),"double",o);return x+=">",e.childNodes&&e.childNodes.length&&(x+="..."),x+="</"+t_.call(String(e.nodeName))+">",x}if(d2(e)){if(e.length===0)return"[]";var C=_p(e,p);return d&&!Gz(C)?"["+h2(C,d)+"]":"[ "+Xi.call(C,", ")+" ]"}if(Oz(e)){var R=_p(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!QU.call(e,"cause")?"{ ["+String(e)+"] "+Xi.call(n_.call("[cause]: "+p(e.cause),R),", ")+" }":R.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+Xi.call(R,", ")+" }"}if(typeof e=="object"&&a){if(s_&&typeof e[s_]=="function"&&f2)return f2(e,{depth:f-r});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Wz(e)){var U=[];return ZT&&ZT.call(e,function(X,E){U.push(p(E,e,!0)+" => "+p(X,e))}),c_("Map",nm.call(e),U,d)}if(jz(e)){var I=[];return QT&&QT.call(e,function(X){I.push(p(X,e))}),c_("Set",rm.call(e),I,d)}if($z(e))return Rv("WeakMap");if(Vz(e))return Rv("WeakSet");if(zz(e))return Rv("WeakRef");if(Bz(e))return Zf(p(Number(e)));if(Nz(e))return Zf(p(c2.call(e)));if(Mz(e))return Zf(Tz.call(e));if(Iz(e))return Zf(p(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof it<"u"&&e===it)return"{ [object globalThis] }";if(!Rz(e)&&!l_(e)){var N=_p(e,p),V=i_?i_(e)===Object.prototype:e instanceof Object||e.constructor===Object,j=e instanceof Object?"":"null prototype",oe=!V&&_d&&Object(e)===e&&_d in e?Zx.call(ws(e),8,-1):j?"Object":"",ue=V||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",F=ue+(oe||j?"["+Xi.call(n_.call([],oe||[],j||[]),": ")+"] ":"");return N.length===0?F+"{}":d?F+"{"+h2(N,d)+"}":F+"{ "+Xi.call(N,", ")+" }"}return String(e)};function tF(t,e,n){var r=n.quoteStyle||e,i=eF[r];return i+t+i}function Fz(t){return is.call(String(t),/"/g,"&quot;")}function $l(t){return!_d||!(typeof t=="object"&&(_d in t||typeof t[_d]<"u"))}function d2(t){return ws(t)==="[object Array]"&&$l(t)}function Rz(t){return ws(t)==="[object Date]"&&$l(t)}function l_(t){return ws(t)==="[object RegExp]"&&$l(t)}function Oz(t){return ws(t)==="[object Error]"&&$l(t)}function Iz(t){return ws(t)==="[object String]"&&$l(t)}function Bz(t){return ws(t)==="[object Number]"&&$l(t)}function Mz(t){return ws(t)==="[object Boolean]"&&$l(t)}function nF(t){if(Cu)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!u2)return!1;try{return u2.call(t),!0}catch{}return!1}function Nz(t){if(!t||typeof t!="object"||!c2)return!1;try{return c2.call(t),!0}catch{}return!1}var Pz=Object.prototype.hasOwnProperty||function(t){return t in this};function Ho(t,e){return Pz.call(t,e)}function ws(t){return _z.call(t)}function Lz(t){if(t.name)return t.name;var e=Ez.call(Cz.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function rF(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 Wz(t){if(!nm||!t||typeof t!="object")return!1;try{nm.call(t);try{rm.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function $z(t){if(!Sd||!t||typeof t!="object")return!1;try{Sd.call(t,Sd);try{Td.call(t,Td)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function zz(t){if(!e_||!t||typeof t!="object")return!1;try{return e_.call(t),!0}catch{}return!1}function jz(t){if(!rm||!t||typeof t!="object")return!1;try{rm.call(t);try{nm.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Vz(t){if(!Td||!t||typeof t!="object")return!1;try{Td.call(t,Td);try{Sd.call(t,Sd)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Hz(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function iF(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return iF(Zx.call(t,0,e.maxStringLength),e)+r}var i=Uz[e.quoteStyle||"single"];i.lastIndex=0;var o=is.call(is.call(t,i,"\\$1"),/[\x00-\x1f]/g,qz);return tF(o,"single",e)}function qz(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":"")+kz.call(e.toString(16))}function Zf(t){return"Object("+t+")"}function Rv(t){return t+" { ? }"}function c_(t,e,n,r){var i=r?h2(n,r):Xi.call(n,", ");return t+" ("+e+") {"+i+"}"}function Gz(t){for(var e=0;e<t.length;e++)if(rF(t[e],`
15
+ `)>=0)return!1;return!0}function Xz(t,e){var n;if(t.indent===" ")n=" ";else if(typeof t.indent=="number"&&t.indent>0)n=Xi.call(Array(t.indent+1)," ");else return null;return{base:n,prev:Xi.call(Array(e+1),n)}}function h2(t,e){if(t.length===0)return"";var n=`
16
+ `+e.prev+e.base;return n+Xi.call(t,","+n)+`
17
+ `+e.prev}function _p(t,e){var n=d2(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=Ho(t,i)?e(t[i],t):""}var o=typeof Fv=="function"?Fv(t):[],a;if(Cu){a={};for(var s=0;s<o.length;s++)a["$"+o[s]]=o[s]}for(var l in t)Ho(t,l)&&(n&&String(Number(l))===l&&l<t.length||Cu&&a["$"+l]instanceof Symbol||(ZU.call(/[^\w$]/,l)?r.push(e(l,t)+": "+e(t[l],t)):r.push(l+": "+e(t[l],t))));if(typeof Fv=="function")for(var c=0;c<o.length;c++)QU.call(t,o[c])&&r.push("["+e(o[c])+"]: "+e(t[o[c]],t));return r}var Jz=Jm,Yz=si,Ym=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},Kz=function(t,e){if(t){var n=Ym(t,e);return n&&n.value}},Zz=function(t,e,n){var r=Ym(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}},Qz=function(t,e){return t?!!Ym(t,e):!1},ej=function(t,e){if(t)return Ym(t,e,!0)},tj=function(){var e,n={assert:function(r){if(!n.has(r))throw new Yz("Side channel does not contain "+Jz(r))},delete:function(r){var i=e&&e.next,o=ej(e,r);return o&&i&&i===o&&(e=void 0),!!o},get:function(r){return Kz(e,r)},has:function(r){return Qz(e,r)},set:function(r,i){e||(e={next:void 0}),Zz(e,r,i)}};return n},nj=sa,yh=Ln,rj=Jm,ij=si,u_=nj("%Map%",!0),oj=yh("Map.prototype.get",!0),aj=yh("Map.prototype.set",!0),sj=yh("Map.prototype.has",!0),lj=yh("Map.prototype.delete",!0),cj=yh("Map.prototype.size",!0),oF=!!u_&&function(){var e,n={assert:function(r){if(!n.has(r))throw new ij("Side channel does not contain "+rj(r))},delete:function(r){if(e){var i=lj(e,r);return cj(e)===0&&(e=void 0),i}return!1},get:function(r){if(e)return oj(e,r)},has:function(r){return e?sj(e,r):!1},set:function(r,i){e||(e=new u_),aj(e,r,i)}};return n},uj=sa,Km=Ln,fj=Jm,Cp=oF,dj=si,Xc=uj("%WeakMap%",!0),hj=Km("WeakMap.prototype.get",!0),pj=Km("WeakMap.prototype.set",!0),gj=Km("WeakMap.prototype.has",!0),mj=Km("WeakMap.prototype.delete",!0),yj=Xc?function(){var e,n,r={assert:function(i){if(!r.has(i))throw new dj("Side channel does not contain "+fj(i))},delete:function(i){if(Xc&&i&&(typeof i=="object"||typeof i=="function")){if(e)return mj(e,i)}else if(Cp&&n)return n.delete(i);return!1},get:function(i){return Xc&&i&&(typeof i=="object"||typeof i=="function")&&e?hj(e,i):n&&n.get(i)},has:function(i){return Xc&&i&&(typeof i=="object"||typeof i=="function")&&e?gj(e,i):!!n&&n.has(i)},set:function(i,o){Xc&&i&&(typeof i=="object"||typeof i=="function")?(e||(e=new Xc),pj(e,i,o)):Cp&&(n||(n=Cp()),n.set(i,o))}};return r}:Cp,bj=si,vj=Jm,xj=tj,Dj=oF,wj=yj,Sj=wj||Dj||xj,aF=function(){var e,n={assert:function(r){if(!n.has(r))throw new bj("Side channel does not contain "+vj(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=Sj()),e.set(r,i)}};return n},Tj=Jx,Qf=aF(),No=si,Qx={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new No("`O` is not an object");if(typeof e!="string")throw new No("`slot` must be a string");if(Qf.assert(t),!Qx.has(t,e))throw new No("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new No("`O` is not an object");if(typeof e!="string")throw new No("`slot` must be a string");var n=Qf.get(t);return n&&n["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new No("`O` is not an object");if(typeof e!="string")throw new No("`slot` must be a string");var n=Qf.get(t);return!!n&&Tj(n,"$"+e)},set:function(t,e,n){if(!t||typeof t!="object"&&typeof t!="function")throw new No("`O` is not an object");if(typeof e!="string")throw new No("`slot` must be a string");var r=Qf.get(t);r||(r={},Qf.set(t,r)),r["$"+e]=n}};Object.freeze&&Object.freeze(Qx);var _j=Qx,ed=_j,Cj=$x,f_=typeof StopIteration=="object"?StopIteration:null,Ej=function(e){if(!f_)throw new Cj("this environment lacks StopIteration");ed.set(e,"[[Done]]",!1);var n={next:function(){var i=ed.get(this,"[[Iterator]]"),o=!!ed.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(a){if(ed.set(i,"[[Done]]",!0),a!==f_)throw a;return{done:!0,value:void 0}}}};return ed.set(n,"[[Iterator]]",e),n},kj={}.toString,sF=Array.isArray||function(t){return kj.call(t)=="[object Array]"},lF=Ln,Aj=lF("String.prototype.valueOf"),Uj=function(e){try{return Aj(e),!0}catch{return!1}},Fj=lF("Object.prototype.toString"),Rj="[object String]",Oj=Wl(),cF=function(e){return typeof e=="string"?!0:!e||typeof e!="object"?!1:Oj?Uj(e):Fj(e)===Rj},eD=typeof Map=="function"&&Map.prototype?Map:null,Ij=typeof Set=="function"&&Set.prototype?Set:null,im;eD||(im=function(e){return!1});var uF=eD?Map.prototype.has:null,d_=Ij?Set.prototype.has:null;!im&&!uF&&(im=function(e){return!1});var fF=im||function(e){if(!e||typeof e!="object")return!1;try{if(uF.call(e),d_)try{d_.call(e)}catch{return!0}return e instanceof eD}catch{}return!1},Bj=typeof Map=="function"&&Map.prototype?Map:null,tD=typeof Set=="function"&&Set.prototype?Set:null,om;tD||(om=function(e){return!1});var h_=Bj?Map.prototype.has:null,dF=tD?Set.prototype.has:null;!om&&!dF&&(om=function(e){return!1});var hF=om||function(e){if(!e||typeof e!="object")return!1;try{if(dF.call(e),h_)try{h_.call(e)}catch{return!0}return e instanceof tD}catch{}return!1},p_=KU,g_=Ej;if(Hx()||Gm()){var Ov=Symbol.iterator;rg.exports=function(e){if(e!=null&&typeof e[Ov]<"u")return e[Ov]();if(p_(e))return Array.prototype[Ov].call(e)}}else{var Mj=sF,Nj=cF,m_=sa,Pj=m_("%Map%",!0),Lj=m_("%Set%",!0),vi=HU,y_=vi("Array.prototype.push"),b_=vi("String.prototype.charCodeAt"),Wj=vi("String.prototype.slice"),$j=function(e,n){var r=e.length;if(n+1>=r)return n+1;var i=b_(e,n);if(i<55296||i>56319)return n+1;var o=b_(e,n+1);return o<56320||o>57343?n+1:n+2},Iv=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}}}},v_=function(e,n){if(Mj(e)||p_(e))return Iv(e);if(Nj(e)){var r=0;return{next:function(){var o=$j(e,r),a=Wj(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(!Pj&&!Lj)rg.exports=function(e){if(e!=null)return v_(e,!0)};else{var zj=fF,jj=hF,x_=vi("Map.prototype.forEach",!0),D_=vi("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var w_=vi("Map.prototype.iterator",!0),S_=vi("Set.prototype.iterator",!0);var T_=vi("Map.prototype.@@iterator",!0)||vi("Map.prototype._es6-shim iterator_",!0),__=vi("Set.prototype.@@iterator",!0)||vi("Set.prototype._es6-shim iterator_",!0),Vj=function(e){if(zj(e)){if(w_)return g_(w_(e));if(T_)return T_(e);if(x_){var n=[];return x_(e,function(i,o){y_(n,[o,i])}),Iv(n)}}if(jj(e)){if(S_)return g_(S_(e));if(__)return __(e);if(D_){var r=[];return D_(e,function(i){y_(r,i)}),Iv(r)}}};rg.exports=function(e){return Vj(e)||v_(e)}}}var Hj=rg.exports,C_=function(t){return t!==t},pF=function(e,n){return e===0&&n===0?1/e===1/n:!!(e===n||C_(e)&&C_(n))},qj=pF,gF=function(){return typeof Object.is=="function"?Object.is:qj},Gj=gF,Xj=Ll,Jj=function(){var e=Gj();return Xj(Object,{is:e},{is:function(){return Object.is!==e}}),e},Yj=Ll,Kj=Vu,Zj=pF,mF=gF,Qj=Jj,yF=Kj(mF(),Object);Yj(yF,{getPolyfill:mF,implementation:Zj,shim:Qj});var eV=yF,tV=Vu,bF=Ln,nV=sa,p2=nV("%ArrayBuffer%",!0),ig=bF("ArrayBuffer.prototype.byteLength",!0),rV=bF("Object.prototype.toString"),E_=!!p2&&!ig&&new p2(0).slice,k_=!!E_&&tV(E_),vF=ig||k_?function(e){if(!e||typeof e!="object")return!1;try{return ig?ig(e):k_(e,0),!0}catch{return!1}}:p2?function(e){return rV(e)==="[object ArrayBuffer]"}:function(e){return!1},xF=Ln,iV=xF("Date.prototype.getDay"),oV=function(e){try{return iV(e),!0}catch{return!1}},aV=xF("Object.prototype.toString"),sV="[object Date]",lV=Wl(),cV=function(e){return typeof e!="object"||e===null?!1:lV?oV(e):aV(e)===sV},A_=Ln,uV=Wl(),fV=Jx,dV=Pl,g2;if(uV){var hV=A_("RegExp.prototype.exec"),U_={},Bv=function(){throw U_},F_={toString:Bv,valueOf:Bv};typeof Symbol.toPrimitive=="symbol"&&(F_[Symbol.toPrimitive]=Bv),g2=function(e){if(!e||typeof e!="object")return!1;var n=dV(e,"lastIndex"),r=n&&fV(n,"value");if(!r)return!1;try{hV(e,F_)}catch(i){return i===U_}}}else{var pV=A_("Object.prototype.toString"),gV="[object RegExp]";g2=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:pV(e)===gV}}var DF=g2,mV=Ln,R_=mV("SharedArrayBuffer.prototype.byteLength",!0),yV=R_?function(e){if(!e||typeof e!="object")return!1;try{return R_(e),!0}catch{return!1}}:function(e){return!1},wF=Ln,bV=wF("Number.prototype.toString"),vV=function(e){try{return bV(e),!0}catch{return!1}},xV=wF("Object.prototype.toString"),DV="[object Number]",wV=Wl(),SV=function(e){return typeof e=="number"?!0:!e||typeof e!="object"?!1:wV?vV(e):xV(e)===DV},SF=Ln,TV=SF("Boolean.prototype.toString"),_V=SF("Object.prototype.toString"),CV=function(e){try{return TV(e),!0}catch{return!1}},EV="[object Boolean]",kV=Wl(),AV=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:kV?CV(e):_V(e)===EV},m2={exports:{}},Mv,O_;function UV(){if(O_)return Mv;O_=1;var t=Ln,e=DF,n=t("RegExp.prototype.exec"),r=si;return Mv=function(o){if(!e(o))throw new r("`regex` must be a RegExp");return function(s){return n(o,s)!==null}},Mv}var TF=Ln,FV=TF("Object.prototype.toString"),RV=Hx(),OV=UV();if(RV){var IV=TF("Symbol.prototype.toString"),BV=OV(/^Symbol\(.*\)$/),MV=function(e){return typeof e.valueOf()!="symbol"?!1:BV(IV(e))};m2.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||FV(e)!=="[object Symbol]")return!1;try{return MV(e)}catch{return!1}}}else m2.exports=function(e){return!1};var NV=m2.exports,y2={exports:{}},I_=typeof BigInt<"u"&&BigInt,PV=function(){return typeof I_=="function"&&typeof BigInt=="function"&&typeof I_(42)=="bigint"&&typeof BigInt(42)=="bigint"},LV=PV();if(LV){var WV=BigInt.prototype.valueOf,$V=function(e){try{return WV.call(e),!0}catch{}return!1};y2.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:$V(e)}}else y2.exports=function(e){return!1};var zV=y2.exports,jV=cF,VV=SV,HV=AV,qV=NV,GV=zV,XV=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(jV(e))return"String";if(VV(e))return"Number";if(HV(e))return"Boolean";if(qV(e))return"Symbol";if(GV(e))return"BigInt"},am=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,B_=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,sm;am||(sm=function(e){return!1});var b2=am?am.prototype.has:null,Nv=B_?B_.prototype.has:null;!sm&&!b2&&(sm=function(e){return!1});var JV=sm||function(e){if(!e||typeof e!="object")return!1;try{if(b2.call(e,b2),Nv)try{Nv.call(e,Nv)}catch{return!0}return e instanceof am}catch{}return!1},v2={exports:{}},YV=sa,_F=Ln,KV=YV("%WeakSet%",!0),Pv=_F("WeakSet.prototype.has",!0);if(Pv){var Lv=_F("WeakMap.prototype.has",!0);v2.exports=function(e){if(!e||typeof e!="object")return!1;try{if(Pv(e,Pv),Lv)try{Lv(e,Lv)}catch{return!0}return e instanceof KV}catch{}return!1}}else v2.exports=function(e){return!1};var ZV=v2.exports,QV=fF,eH=hF,tH=JV,nH=ZV,rH=function(e){if(e&&typeof e=="object"){if(QV(e))return"Map";if(eH(e))return"Set";if(tH(e))return"WeakMap";if(nH(e))return"WeakSet"}return!1},CF=Function.prototype.toString,su=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,x2,og;if(typeof su=="function"&&typeof Object.defineProperty=="function")try{x2=Object.defineProperty({},"length",{get:function(){throw og}}),og={},su(function(){throw 42},null,x2)}catch(t){t!==og&&(su=null)}else su=null;var iH=/^\s*class\b/,D2=function(e){try{var n=CF.call(e);return iH.test(n)}catch{return!1}},Wv=function(e){try{return D2(e)?!1:(CF.call(e),!0)}catch{return!1}},ag=Object.prototype.toString,oH="[object Object]",aH="[object Function]",sH="[object GeneratorFunction]",lH="[object HTMLAllCollection]",cH="[object HTML document.all class]",uH="[object HTMLCollection]",fH=typeof Symbol=="function"&&!!Symbol.toStringTag,dH=!(0 in[,]),w2=function(){return!1};if(typeof document=="object"){var hH=document.all;ag.call(hH)===ag.call(document.all)&&(w2=function(e){if((dH||!e)&&(typeof e>"u"||typeof e=="object"))try{var n=ag.call(e);return(n===lH||n===cH||n===uH||n===oH)&&e("")==null}catch{}return!1})}var pH=su?function(e){if(w2(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{su(e,null,x2)}catch(n){if(n!==og)return!1}return!D2(e)&&Wv(e)}:function(e){if(w2(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(fH)return Wv(e);if(D2(e))return!1;var n=ag.call(e);return n!==aH&&n!==sH&&!/^\[object HTML/.test(n)?!1:Wv(e)},gH=pH,mH=Object.prototype.toString,EF=Object.prototype.hasOwnProperty,yH=function(e,n,r){for(var i=0,o=e.length;i<o;i++)EF.call(e,i)&&(r==null?n(e[i],i,e):n.call(r,e[i],i,e))},bH=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)},vH=function(e,n,r){for(var i in e)EF.call(e,i)&&(r==null?n(e[i],i,e):n.call(r,e[i],i,e))};function xH(t){return mH.call(t)==="[object Array]"}var DH=function(e,n,r){if(!gH(n))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=r),xH(e)?yH(e,n,i):typeof e=="string"?bH(e,n,i):vH(e,n,i)},wH=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],$v=wH,SH=typeof globalThis>"u"?it:globalThis,TH=function(){for(var e=[],n=0;n<$v.length;n++)typeof SH[$v[n]]=="function"&&(e[e.length]=$v[n]);return e},lm=DH,_H=TH,M_=Vu,nD=Ln,sg=Pl,CH=nD("Object.prototype.toString"),kF=Wl(),N_=typeof globalThis>"u"?it:globalThis,S2=_H(),rD=nD("String.prototype.slice"),zv=Object.getPrototypeOf,EH=nD("Array.prototype.indexOf",!0)||function(e,n){for(var r=0;r<e.length;r+=1)if(e[r]===n)return r;return-1},cm={__proto__:null};kF&&sg&&zv?lm(S2,function(t){var e=new N_[t];if(Symbol.toStringTag in e){var n=zv(e),r=sg(n,Symbol.toStringTag);if(!r){var i=zv(n);r=sg(i,Symbol.toStringTag)}cm["$"+t]=M_(r.get)}}):lm(S2,function(t){var e=new N_[t],n=e.slice||e.set;n&&(cm["$"+t]=M_(n))});var kH=function(e){var n=!1;return lm(cm,function(r,i){if(!n)try{"$"+r(e)===i&&(n=rD(i,1))}catch{}}),n},AH=function(e){var n=!1;return lm(cm,function(r,i){if(!n)try{r(e),n=rD(i,1)}catch{}}),n},UH=function(e){if(!e||typeof e!="object")return!1;if(!kF){var n=rD(CH(e),8,-1);return EH(S2,n)>-1?n:n!=="Object"?!1:AH(e)}return sg?kH(e):null},FH=Ln,P_=FH("ArrayBuffer.prototype.byteLength",!0),RH=vF,OH=function(e){return RH(e)?P_?P_(e):e.byteLength:NaN},AF=z$,fo=HU,L_=hz,IH=sa,Eu=Hj,BH=aF,W_=eV,$_=KU,z_=sF,j_=vF,V_=cV,H_=DF,q_=yV,G_=Wx,X_=XV,J_=rH,Y_=UH,K_=OH,Z_=fo("SharedArrayBuffer.prototype.byteLength",!0),Q_=fo("Date.prototype.getTime"),jv=Object.getPrototypeOf,eC=fo("Object.prototype.toString"),um=IH("%Set%",!0),T2=fo("Map.prototype.has",!0),fm=fo("Map.prototype.get",!0),tC=fo("Map.prototype.size",!0),dm=fo("Set.prototype.add",!0),UF=fo("Set.prototype.delete",!0),hm=fo("Set.prototype.has",!0),lg=fo("Set.prototype.size",!0);function nC(t,e,n,r){for(var i=Eu(t),o;(o=i.next())&&!o.done;)if(Di(e,o.value,n,r))return UF(t,o.value),!0;return!1}function FF(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 MH(t,e,n,r,i,o){var a=FF(n);if(a!=null)return a;var s=fm(e,a),l=AF({},i,{strict:!1});return typeof s>"u"&&!T2(e,a)||!Di(r,s,l,o)?!1:!T2(t,a)&&Di(r,s,l,o)}function NH(t,e,n){var r=FF(n);return r??(hm(e,r)&&!hm(t,r))}function rC(t,e,n,r,i,o){for(var a=Eu(t),s,l;(s=a.next())&&!s.done;)if(l=s.value,Di(n,l,i,o)&&Di(r,fm(e,l),i,o))return UF(t,l),!0;return!1}function Di(t,e,n,r){var i=n||{};if(i.strict?W_(t,e):t===e)return!0;var o=X_(t),a=X_(e);if(o!==a)return!1;if(!t||!e||typeof t!="object"&&typeof e!="object")return i.strict?W_(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),WH(t,e,i,r)}function iC(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 PH(t,e,n,r){if(lg(t)!==lg(e))return!1;for(var i=Eu(t),o=Eu(e),a,s,l;(a=i.next())&&!a.done;)if(a.value&&typeof a.value=="object")l||(l=new um),dm(l,a.value);else if(!hm(e,a.value)){if(n.strict||!NH(t,e,a.value))return!1;l||(l=new um),dm(l,a.value)}if(l){for(;(s=o.next())&&!s.done;)if(s.value&&typeof s.value=="object"){if(!nC(l,s.value,n.strict,r))return!1}else if(!n.strict&&!hm(t,s.value)&&!nC(l,s.value,n.strict,r))return!1;return lg(l)===0}return!0}function LH(t,e,n,r){if(tC(t)!==tC(e))return!1;for(var i=Eu(t),o=Eu(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 um),dm(l,c);else if(d=fm(e,c),typeof d>"u"&&!T2(e,c)||!Di(f,d,n,r)){if(n.strict||!MH(t,e,c,f,n,r))return!1;l||(l=new um),dm(l,c)}if(l){for(;(s=o.next())&&!s.done;)if(c=s.value[0],d=s.value[1],c&&typeof c=="object"){if(!rC(l,t,c,d,n,r))return!1}else if(!n.strict&&(!t.has(c)||!Di(fm(t,c),d,n,r))&&!rC(l,t,c,d,AF({},n,{strict:!1}),r))return!1;return lg(l)===0}return!0}function WH(t,e,n,r){var i,o;if(typeof t!=typeof e||t==null||e==null||eC(t)!==eC(e)||$_(t)!==$_(e))return!1;var a=z_(t),s=z_(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=H_(t),d=H_(e);if(f!==d||(f||d)&&(t.source!==e.source||L_(t)!==L_(e)))return!1;var p=V_(t),g=V_(e);if(p!==g||(p||g)&&Q_(t)!==Q_(e)||n.strict&&jv&&jv(t)!==jv(e))return!1;var m=Y_(t),v=Y_(e);if(m!==v)return!1;if(m||v){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var x=iC(t),D=iC(e);if(x!==D)return!1;if(x||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 w=j_(t),C=j_(e);if(w!==C)return!1;if(w||C)return K_(t)!==K_(e)?!1:typeof Uint8Array=="function"&&Di(new Uint8Array(t),new Uint8Array(e),n,r);var R=q_(t),U=q_(e);if(R!==U)return!1;if(R||U)return Z_(t)!==Z_(e)?!1:typeof Uint8Array=="function"&&Di(new Uint8Array(t),new Uint8Array(e),n,r);if(typeof t!=typeof e)return!1;var I=G_(t),N=G_(e);if(I.length!==N.length)return!1;for(I.sort(),N.sort(),i=I.length-1;i>=0;i--)if(I[i]!=N[i])return!1;for(i=I.length-1;i>=0;i--)if(o=I[i],!Di(t[o],e[o],n,r))return!1;var V=J_(t),j=J_(e);return V!==j?!1:V==="Set"||j==="Set"?PH(t,e,n,r):V==="Map"?LH(t,e,n,r):!0}var $H=function(e,n,r){return Di(e,n,r,BH())};const zH=DU($H);var Ci={},iD="1.13.7",oC=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},Zm=Array.prototype,oD=Object.prototype,aC=typeof Symbol<"u"?Symbol.prototype:null,jH=Zm.push,bh=Zm.slice,jd=oD.toString,VH=oD.hasOwnProperty,RF=typeof ArrayBuffer<"u",HH=typeof DataView<"u",qH=Array.isArray,sC=Object.keys,lC=Object.create,cC=RF&&ArrayBuffer.isView,GH=isNaN,XH=isFinite,OF=!{toString:null}.propertyIsEnumerable("toString"),uC=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],JH=Math.pow(2,53)-1;function rr(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 Ss(t){var e=typeof t;return e==="function"||e==="object"&&!!t}function IF(t){return t===null}function aD(t){return t===void 0}function sD(t){return t===!0||t===!1||jd.call(t)==="[object Boolean]"}function BF(t){return!!(t&&t.nodeType===1)}function Wn(t){var e="[object "+t+"]";return function(n){return jd.call(n)===e}}const Qm=Wn("String"),lD=Wn("Number"),MF=Wn("Date"),NF=Wn("RegExp"),PF=Wn("Error"),cD=Wn("Symbol"),uD=Wn("ArrayBuffer");var LF=Wn("Function"),YH=oC.document&&oC.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof YH!="function"&&(LF=function(t){return typeof t=="function"||!1});const Nn=LF,WF=Wn("Object");var $F=HH&&(!/\[native code\]/.test(String(DataView))||WF(new DataView(new ArrayBuffer(8)))),fD=typeof Map<"u"&&WF(new Map),KH=Wn("DataView");function ZH(t){return t!=null&&Nn(t.getInt8)&&uD(t.buffer)}const Vd=$F?ZH:KH,Ts=qH||Wn("Array");function _s(t,e){return t!=null&&VH.call(t,e)}var _2=Wn("Arguments");(function(){_2(arguments)||(_2=function(t){return _s(t,"callee")})})();const ey=_2;function zF(t){return!cD(t)&&XH(t)&&!isNaN(parseFloat(t))}function dD(t){return lD(t)&&GH(t)}function hD(t){return function(){return t}}function jF(t){return function(e){var n=t(e);return typeof n=="number"&&n>=0&&n<=JH}}function VF(t){return function(e){return e==null?void 0:e[t]}}const pm=VF("byteLength"),QH=jF(pm);var eq=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function tq(t){return cC?cC(t)&&!Vd(t):QH(t)&&eq.test(jd.call(t))}const pD=RF?tq:hD(!1),xr=VF("length");function nq(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 HF(t,e){e=nq(e);var n=uC.length,r=t.constructor,i=Nn(r)&&r.prototype||oD,o="constructor";for(_s(t,o)&&!e.contains(o)&&e.push(o);n--;)o=uC[n],o in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function Yt(t){if(!Ss(t))return[];if(sC)return sC(t);var e=[];for(var n in t)_s(t,n)&&e.push(n);return OF&&HF(t,e),e}function qF(t){if(t==null)return!0;var e=xr(t);return typeof e=="number"&&(Ts(t)||Qm(t)||ey(t))?e===0:xr(Yt(t))===0}function gD(t,e){var n=Yt(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 xt(t){if(t instanceof xt)return t;if(!(this instanceof xt))return new xt(t);this._wrapped=t}xt.VERSION=iD;xt.prototype.value=function(){return this._wrapped};xt.prototype.valueOf=xt.prototype.toJSON=xt.prototype.value;xt.prototype.toString=function(){return String(this._wrapped)};function fC(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,pm(t))}var dC="[object DataView]";function C2(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:GF(t,e,n,r)}function GF(t,e,n,r){t instanceof xt&&(t=t._wrapped),e instanceof xt&&(e=e._wrapped);var i=jd.call(t);if(i!==jd.call(e))return!1;if($F&&i=="[object Object]"&&Vd(t)){if(!Vd(e))return!1;i=dC}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 aC.valueOf.call(t)===aC.valueOf.call(e);case"[object ArrayBuffer]":case dC:return GF(fC(t),fC(e),n,r)}var o=i==="[object Array]";if(!o&&pD(t)){var a=pm(t);if(a!==pm(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&&!(Nn(s)&&s instanceof s&&Nn(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(!C2(t[c],e[c],n,r))return!1}else{var f=Yt(t),d;if(c=f.length,Yt(e).length!==c)return!1;for(;c--;)if(d=f[c],!(_s(e,d)&&C2(t[d],e[d],n,r)))return!1}return n.pop(),r.pop(),!0}function XF(t,e){return C2(t,e)}function Hu(t){if(!Ss(t))return[];var e=[];for(var n in t)e.push(n);return OF&&HF(t,e),e}function mD(t){var e=xr(t);return function(n){if(n==null)return!1;var r=Hu(n);if(xr(r))return!1;for(var i=0;i<e;i++)if(!Nn(n[t[i]]))return!1;return t!==KF||!Nn(n[yD])}}var yD="forEach",JF="has",bD=["clear","delete"],YF=["get",JF,"set"],rq=bD.concat(yD,YF),KF=bD.concat(YF),iq=["add"].concat(bD,yD,JF);const ZF=fD?mD(rq):Wn("Map"),QF=fD?mD(KF):Wn("WeakMap"),eR=fD?mD(iq):Wn("Set"),tR=Wn("WeakSet");function zl(t){for(var e=Yt(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function nR(t){for(var e=Yt(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function vD(t){for(var e={},n=Yt(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function Hd(t){var e=[];for(var n in t)Nn(t[n])&&e.push(n);return e.sort()}function xD(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 DD=xD(Hu),ku=xD(Yt),wD=xD(Hu,!0);function oq(){return function(){}}function rR(t){if(!Ss(t))return{};if(lC)return lC(t);var e=oq();e.prototype=t;var n=new e;return e.prototype=null,n}function iR(t,e){var n=rR(t);return e&&ku(n,e),n}function oR(t){return Ss(t)?Ts(t)?t.slice():DD({},t):t}function aR(t,e){return e(t),t}function SD(t){return Ts(t)?t:[t]}xt.toPath=SD;function vh(t){return xt.toPath(t)}function TD(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 _D(t,e,n){var r=TD(t,vh(e));return aD(r)?n:r}function sR(t,e){e=vh(e);for(var n=e.length,r=0;r<n;r++){var i=e[r];if(!_s(t,i))return!1;t=t[i]}return!!n}function ty(t){return t}function kl(t){return t=ku({},t),function(e){return gD(e,t)}}function ny(t){return t=vh(t),function(e){return TD(e,t)}}function xh(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 lR(t,e,n){return t==null?ty:Nn(t)?xh(t,e,n):Ss(t)&&!Ts(t)?kl(t):ny(t)}function ry(t,e){return lR(t,e,1/0)}xt.iteratee=ry;function wr(t,e,n){return xt.iteratee!==ry?xt.iteratee(t,e):lR(t,e,n)}function cR(t,e,n){e=wr(e,n);for(var r=Yt(t),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=e(t[s],s,t)}return o}function CD(){}function uR(t){return t==null?CD:function(e){return _D(t,e)}}function fR(t,e,n){var r=Array(Math.max(0,t));e=xh(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function gm(t,e){return e==null&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}const Au=Date.now||function(){return new Date().getTime()};function dR(t){var e=function(o){return t[o]},n="(?:"+Yt(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 hR={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},pR=dR(hR),aq=vD(hR),gR=dR(aq),mR=xt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Vv=/(.)^/,sq={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},lq=/\\|'|\r|\n|\u2028|\u2029/g;function cq(t){return"\\"+sq[t]}var uq=/^\s*(\w|\$)+\s*$/;function yR(t,e,n){!e&&n&&(e=n),e=wD({},e,xt.templateSettings);var r=RegExp([(e.escape||Vv).source,(e.interpolate||Vv).source,(e.evaluate||Vv).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,function(c,f,d,p,g){return o+=t.slice(i,g).replace(lq,cq),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(!uq.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,xt)};return l.source="function("+a+`){
29
+ `+o+"}",l}function bR(t,e,n){e=vh(e);var r=e.length;if(!r)return Nn(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=Nn(o)?o.call(t):o}return t}var fq=0;function vR(t){var e=++fq+"";return t?t+e:e}function xR(t){var e=xt(t);return e._chain=!0,e}function DR(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=rR(t.prototype),a=t.apply(o,i);return Ss(a)?a:o}var jl=rr(function(t,e){var n=jl.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 DR(t,r,this,this,a)};return r});jl.placeholder=xt;const ED=rr(function(t,e,n){if(!Nn(t))throw new TypeError("Bind must be called on a function");var r=rr(function(i){return DR(t,r,e,this,n.concat(i))});return r}),Nr=jF(xr);function Vl(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=xr(t);o<a;o++){var s=t[o];if(Nr(s)&&(Ts(s)||ey(s)))if(e>1)Vl(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 wR=rr(function(t,e){e=Vl(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]=ED(t[r],t)}return t});function SR(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return _s(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}const kD=rr(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)}),TR=jl(kD,xt,1);function _R(t,e,n){var r,i,o,a,s=0;n||(n={});var l=function(){s=n.leading===!1?0:Au(),r=null,a=t.apply(i,o),r||(i=o=null)},c=function(){var f=Au();!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 CR(t,e,n){var r,i,o,a,s,l=function(){var f=Au()-i;e>f?r=setTimeout(l,e-f):(r=null,n||(a=t.apply(s,o)),r||(o=s=null))},c=rr(function(f){return s=this,o=f,i=Au(),r||(r=setTimeout(l,e),n&&(a=t.apply(s,o))),a});return c.cancel=function(){clearTimeout(r),r=o=s=null},c}function ER(t,e){return jl(e,t)}function iy(t){return function(){return!t.apply(this,arguments)}}function kR(){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 AR(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function AD(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const UR=jl(AD,2);function UD(t,e,n){e=wr(e,n);for(var r=Yt(t),i,o=0,a=r.length;o<a;o++)if(i=r[o],e(t[i],i,t))return i}function FR(t){return function(e,n,r){n=wr(n,r);for(var i=xr(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}const oy=FR(1),FD=FR(-1);function RD(t,e,n,r){n=wr(n,r,1);for(var i=n(e),o=0,a=xr(t);o<a;){var s=Math.floor((o+a)/2);n(t[s])<i?o=s+1:a=s}return o}function RR(t,e,n){return function(r,i,o){var a=0,s=xr(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(bh.call(r,a,s),dD),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 OD=RR(1,oy,RD),OR=RR(-1,FD);function qd(t,e,n){var r=Nr(t)?oy:UD,i=r(t,e,n);if(i!==void 0&&i!==-1)return t[i]}function IR(t,e){return qd(t,kl(e))}function Ti(t,e,n){e=xh(e,n);var r,i;if(Nr(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=Yt(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}function Qo(t,e,n){e=wr(e,n);for(var r=!Nr(t)&&Yt(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 BR(t){var e=function(n,r,i,o){var a=!Nr(n)&&Yt(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,xh(r,o,4),i,a)}}const yu=BR(1),mm=BR(-1);function gs(t,e,n){var r=[];return e=wr(e,n),Ti(t,function(i,o,a){e(i,o,a)&&r.push(i)}),r}function MR(t,e,n){return gs(t,iy(wr(e)),n)}function ym(t,e,n){e=wr(e,n);for(var r=!Nr(t)&&Yt(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 bm(t,e,n){e=wr(e,n);for(var r=!Nr(t)&&Yt(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 ai(t,e,n,r){return Nr(t)||(t=zl(t)),(typeof n!="number"||r)&&(n=0),OD(t,e,n)>=0}const NR=rr(function(t,e,n){var r,i;return Nn(e)?i=e:(e=vh(e),r=e.slice(0,-1),e=e[e.length-1]),Qo(t,function(o){var a=i;if(!a){if(r&&r.length&&(o=TD(o,r)),o==null)return;a=o[e]}return a==null?a:a.apply(o,n)})});function ay(t,e){return Qo(t,ny(e))}function PR(t,e){return gs(t,kl(e))}function ID(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=Nr(t)?t:zl(t);for(var s=0,l=t.length;s<l;s++)o=t[s],o!=null&&o>r&&(r=o)}else e=wr(e,n),Ti(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 LR(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=Nr(t)?t:zl(t);for(var s=0,l=t.length;s<l;s++)o=t[s],o!=null&&o<r&&(r=o)}else e=wr(e,n),Ti(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 dq=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function BD(t){return t?Ts(t)?bh.call(t):Qm(t)?t.match(dq):Nr(t)?Qo(t,ty):zl(t):[]}function MD(t,e,n){if(e==null||n)return Nr(t)||(t=zl(t)),t[gm(t.length-1)];var r=BD(t),i=xr(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,a=0;a<e;a++){var s=gm(a,o),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,e)}function WR(t){return MD(t,1/0)}function $R(t,e,n){var r=0;return e=wr(e,n),ay(Qo(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 sy(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=wr(r,i),Ti(n,function(a,s){var l=r(a,s,n);t(o,a,l)}),o}}const zR=sy(function(t,e,n){_s(t,n)?t[n].push(e):t[n]=[e]}),jR=sy(function(t,e,n){t[n]=e}),VR=sy(function(t,e,n){_s(t,n)?t[n]++:t[n]=1}),HR=sy(function(t,e,n){t[n?0:1].push(e)},!0);function qR(t){return t==null?0:Nr(t)?t.length:Yt(t).length}function hq(t,e,n){return e in n}const ND=rr(function(t,e){var n={},r=e[0];if(t==null)return n;Nn(r)?(e.length>1&&(r=xh(r,e[1])),e=Hu(t)):(r=hq,e=Vl(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}),GR=rr(function(t,e){var n=e[0],r;return Nn(n)?(n=iy(n),e.length>1&&(r=e[1])):(e=Qo(Vl(e,!1,!1),String),n=function(i,o){return!ai(e,o)}),ND(t,n,r)});function PD(t,e,n){return bh.call(t,0,Math.max(0,t.length-(e==null||n?1:e)))}function bu(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[0]:PD(t,t.length-e)}function wl(t,e,n){return bh.call(t,e==null||n?1:e)}function XR(t,e,n){return t==null||t.length<1?e==null||n?void 0:[]:e==null||n?t[t.length-1]:wl(t,Math.max(0,t.length-e))}function JR(t){return gs(t,Boolean)}function YR(t,e){return Vl(t,e,!1)}const LD=rr(function(t,e){return e=Vl(e,!0,!0),gs(t,function(n){return!ai(e,n)})}),KR=rr(function(t,e){return LD(t,e)});function Gd(t,e,n,r){sD(e)||(r=n,n=e,e=!1),n!=null&&(n=wr(n,r));for(var i=[],o=[],a=0,s=xr(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?ai(o,c)||(o.push(c),i.push(l)):ai(i,l)||i.push(l)}return i}const ZR=rr(function(t){return Gd(Vl(t,!0,!0))});function QR(t){for(var e=[],n=arguments.length,r=0,i=xr(t);r<i;r++){var o=t[r];if(!ai(e,o)){var a;for(a=1;a<n&&ai(arguments[a],o);a++);a===n&&e.push(o)}}return e}function Xd(t){for(var e=t&&ID(t,xr).length||0,n=Array(e),r=0;r<e;r++)n[r]=ay(t,r);return n}const e8=rr(Xd);function t8(t,e){for(var n={},r=0,i=xr(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function n8(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 r8(t,e){if(e==null||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(bh.call(t,r,r+=e));return n}function WD(t,e){return t._chain?xt(e).chain():e}function $D(t){return Ti(Hd(t),function(e){var n=xt[e]=t[e];xt.prototype[e]=function(){var r=[this._wrapped];return jH.apply(r,arguments),WD(this,n.apply(xt,r))}}),xt}Ti(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var e=Zm[t];xt.prototype[t]=function(){var n=this._wrapped;return n!=null&&(e.apply(n,arguments),(t==="shift"||t==="splice")&&n.length===0&&delete n[0]),WD(this,n)}});Ti(["concat","join","slice"],function(t){var e=Zm[t];xt.prototype[t]=function(){var n=this._wrapped;return n!=null&&(n=e.apply(n,arguments)),WD(this,n)}});const pq=Object.freeze(Object.defineProperty({__proto__:null,VERSION:iD,after:AR,all:ym,allKeys:Hu,any:bm,assign:ku,before:AD,bind:ED,bindAll:wR,chain:xR,chunk:r8,clone:oR,collect:Qo,compact:JR,compose:kR,constant:hD,contains:ai,countBy:VR,create:iR,debounce:CR,default:xt,defaults:wD,defer:TR,delay:kD,detect:qd,difference:LD,drop:wl,each:Ti,escape:pR,every:ym,extend:DD,extendOwn:ku,filter:gs,find:qd,findIndex:oy,findKey:UD,findLastIndex:FD,findWhere:IR,first:bu,flatten:YR,foldl:yu,foldr:mm,forEach:Ti,functions:Hd,get:_D,groupBy:zR,has:sR,head:bu,identity:ty,include:ai,includes:ai,indexBy:jR,indexOf:OD,initial:PD,inject:yu,intersection:QR,invert:vD,invoke:NR,isArguments:ey,isArray:Ts,isArrayBuffer:uD,isBoolean:sD,isDataView:Vd,isDate:MF,isElement:BF,isEmpty:qF,isEqual:XF,isError:PF,isFinite:zF,isFunction:Nn,isMap:ZF,isMatch:gD,isNaN:dD,isNull:IF,isNumber:lD,isObject:Ss,isRegExp:NF,isSet:eR,isString:Qm,isSymbol:cD,isTypedArray:pD,isUndefined:aD,isWeakMap:QF,isWeakSet:tR,iteratee:ry,keys:Yt,last:XR,lastIndexOf:OR,map:Qo,mapObject:cR,matcher:kl,matches:kl,max:ID,memoize:SR,methods:Hd,min:LR,mixin:$D,negate:iy,noop:CD,now:Au,object:t8,omit:GR,once:UR,pairs:nR,partial:jl,partition:HR,pick:ND,pluck:ay,property:ny,propertyOf:uR,random:gm,range:n8,reduce:yu,reduceRight:mm,reject:MR,rest:wl,restArguments:rr,result:bR,sample:MD,select:gs,shuffle:WR,size:qR,some:bm,sortBy:$R,sortedIndex:RD,tail:wl,take:bu,tap:aR,template:yR,templateSettings:mR,throttle:_R,times:fR,toArray:BD,toPath:SD,transpose:Xd,unescape:gR,union:ZR,uniq:Gd,unique:Gd,uniqueId:vR,unzip:Xd,values:zl,where:PR,without:KR,wrap:ER,zip:e8},Symbol.toStringTag,{value:"Module"}));var E2=$D(pq);E2._=E2;const gq=Object.freeze(Object.defineProperty({__proto__:null,VERSION:iD,after:AR,all:ym,allKeys:Hu,any:bm,assign:ku,before:AD,bind:ED,bindAll:wR,chain:xR,chunk:r8,clone:oR,collect:Qo,compact:JR,compose:kR,constant:hD,contains:ai,countBy:VR,create:iR,debounce:CR,default:E2,defaults:wD,defer:TR,delay:kD,detect:qd,difference:LD,drop:wl,each:Ti,escape:pR,every:ym,extend:DD,extendOwn:ku,filter:gs,find:qd,findIndex:oy,findKey:UD,findLastIndex:FD,findWhere:IR,first:bu,flatten:YR,foldl:yu,foldr:mm,forEach:Ti,functions:Hd,get:_D,groupBy:zR,has:sR,head:bu,identity:ty,include:ai,includes:ai,indexBy:jR,indexOf:OD,initial:PD,inject:yu,intersection:QR,invert:vD,invoke:NR,isArguments:ey,isArray:Ts,isArrayBuffer:uD,isBoolean:sD,isDataView:Vd,isDate:MF,isElement:BF,isEmpty:qF,isEqual:XF,isError:PF,isFinite:zF,isFunction:Nn,isMap:ZF,isMatch:gD,isNaN:dD,isNull:IF,isNumber:lD,isObject:Ss,isRegExp:NF,isSet:eR,isString:Qm,isSymbol:cD,isTypedArray:pD,isUndefined:aD,isWeakMap:QF,isWeakSet:tR,iteratee:ry,keys:Yt,last:XR,lastIndexOf:OR,map:Qo,mapObject:cR,matcher:kl,matches:kl,max:ID,memoize:SR,methods:Hd,min:LR,mixin:$D,negate:iy,noop:CD,now:Au,object:t8,omit:GR,once:UR,pairs:nR,partial:jl,partition:HR,pick:ND,pluck:ay,property:ny,propertyOf:uR,random:gm,range:n8,reduce:yu,reduceRight:mm,reject:MR,rest:wl,restArguments:rr,result:bR,sample:MD,select:gs,shuffle:WR,size:qR,some:bm,sortBy:$R,sortedIndex:RD,tail:wl,take:bu,tap:aR,template:yR,templateSettings:mR,throttle:_R,times:fR,toArray:BD,toPath:SD,transpose:Xd,unescape:gR,union:ZR,uniq:Gd,unique:Gd,uniqueId:vR,unzip:Xd,values:zl,where:PR,without:KR,wrap:ER,zip:e8},Symbol.toStringTag,{value:"Module"})),qt=wU(gq);var zD={},un={},i8={exports:{}},Ep={exports:{}},hC;function qu(){if(hC)return Ep.exports;hC=1;var t=function(){return this===void 0}();if(t)Ep.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}};Ep.exports={isArray:c,keys:i,names:i,defineProperty:a,getDescriptor:o,freeze:s,getPrototypeOf:l,isES5:t,propertyIsWritable:function(){return!0}}}return Ep.exports}var Hv,pC;function Et(){if(pC)return Hv;pC=1;var t=qu(),e=typeof navigator>"u",n={e:{}},r,i=typeof self<"u"?self:typeof window<"u"?window:typeof it<"u"||it!==void 0?it:null;function o(){try{var P=r;return r=null,P.apply(this,arguments)}catch(he){return n.e=he,n}}function a(P){return r=P,o}var s=function(P,he){var Se={}.hasOwnProperty;function ye(){this.constructor=P,this.constructor$=he;for(var Ae in he.prototype)Se.call(he.prototype,Ae)&&Ae.charAt(Ae.length-1)!=="$"&&(this[Ae+"$"]=he.prototype[Ae])}return ye.prototype=he.prototype,P.prototype=new ye,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(I(P)):P}function d(P,he){var Se=P.length,ye=new Array(Se+1),Ae;for(Ae=0;Ae<Se;++Ae)ye[Ae]=P[Ae];return ye[Ae]=he,ye}function p(P,he,Se){if(t.isES5){var ye=Object.getOwnPropertyDescriptor(P,he);if(ye!=null)return ye.get==null&&ye.set==null?ye.value:Se}else return{}.hasOwnProperty.call(P,he)?P[he]:void 0}function g(P,he,Se){if(l(P))return P;var ye={value:Se,configurable:!0,enumerable:!1,writable:!0};return t.defineProperty(P,he,ye),P}function m(P){throw P}var v=function(){var P=[Array.prototype,Object.prototype,Function.prototype],he=function(Ae){for(var je=0;je<P.length;++je)if(P[je]===Ae)return!0;return!1};if(t.isES5){var Se=Object.getOwnPropertyNames;return function(Ae){for(var je=[],$e=Object.create(null);Ae!=null&&!he(Ae);){var ze;try{ze=Se(Ae)}catch{return je}for(var Ze=0;Ze<ze.length;++Ze){var se=ze[Ze];if(!$e[se]){$e[se]=!0;var Ue=Object.getOwnPropertyDescriptor(Ae,se);Ue!=null&&Ue.get==null&&Ue.set==null&&je.push(se)}}Ae=t.getPrototypeOf(Ae)}return je}}else{var ye={}.hasOwnProperty;return function(Ae){if(he(Ae))return[];var je=[];e:for(var $e in Ae)if(ye.call(Ae,$e))je.push($e);else{for(var ze=0;ze<P.length;++ze)if(ye.call(P[ze],$e))continue e;je.push($e)}return je}}}(),x=/this\s*\.\s*\S+\s*=/;function D(P){try{if(typeof P=="function"){var he=t.names(P.prototype),Se=t.isES5&&he.length>1,ye=he.length>0&&!(he.length===1&&he[0]==="constructor"),Ae=x.test(P+"")&&t.names(P).length>0;if(Se||ye||Ae)return!0}return!1}catch{return!1}}function w(P){return P}var C=/^[a-z$_][a-z$_0-9]*$/i;function R(P){return C.test(P)}function U(P,he,Se){for(var ye=new Array(P),Ae=0;Ae<P;++Ae)ye[Ae]=he+Ae+Se;return ye}function I(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 V(P){try{g(P,"isOperational",!0)}catch{}}function j(P){return P==null?!1:P instanceof Error.__BluebirdErrorTypes__.OperationalError||P.isOperational===!0}function oe(P){return N(P)&&t.propertyIsWritable(P,"stack")}var ue=function(){return"stack"in new Error?function(P){return oe(P)?P:new Error(I(P))}:function(P){if(oe(P))return P;try{throw new Error(I(P))}catch(he){return he}}}();function F(P){return{}.toString.call(P)}function X(P,he,Se){for(var ye=t.names(P),Ae=0;Ae<ye.length;++Ae){var je=ye[Ae];if(Se(je))try{t.defineProperty(he,je,t.getDescriptor(P,je))}catch{}}}var E=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 he=[],Se=P[Symbol.iterator](),ye;!(ye=Se.next()).done;)he.push(ye.value);return he};E=function(P){return t.isArray(P)?P:P!=null&&typeof P[Symbol.iterator]=="function"?re(P):null}}var z=typeof process<"u"&&F(process).toLowerCase()==="[object process]",J=typeof process<"u"&&typeof process.env<"u";function Y(P){return J?process.env[P]:void 0}function G(){if(typeof Promise=="function")try{var P=new Promise(function(){});if({}.toString.call(P)==="[object Promise]")return Promise}catch{}}function ae(P,he){return P.bind(he)}var H={isClass:D,isIdentifier:R,inheritedDataKeys:v,getDataPropertyOrDefault:p,thrower:m,isArray:t.isArray,asArray:E,notEnumerableProp:g,isPrimitive:l,isObject:c,isError:N,canEvaluate:e,errorObj:n,tryCatch:a,inherits:s,withAppended:d,maybeWrapAsError:f,toFastProperties:w,filledRange:U,toString:I,canAttachTrace:oe,ensureErrorObject:ue,originatesFromRejection:j,markAsOriginatingFromRejection:V,classString:F,copyDescriptors:X,hasDevTools:typeof chrome<"u"&&chrome&&typeof chrome.loadTimes=="function",isNode:z,hasEnvVariables:J,env:Y,global:i,getNativePromise:G,domainBind:ae};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 Hv=H,Hv}var kp={exports:{}},qv,gC;function mq(){if(gC)return qv;gC=1;var t=Et(),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=it.setImmediate,o=process.nextTick;e=t.isRecentNode?function(s){i.call(it,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(m){var v=new MutationObserver(function(){v.disconnect(),m()});v.observe(s,l),p()}}():typeof setImmediate<"u"?e=function(s){setImmediate(s)}:typeof setTimeout<"u"?e=function(s){setTimeout(s,0)}:e=n;return qv=e,qv}var Gv,mC;function yq(){if(mC)return Gv;mC=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)},Gv=e,Gv}var yC;function bq(){if(yC)return kp.exports;yC=1;var t;try{throw new Error}catch(l){t=l}var e=mq(),n=yq(),r=Et();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},kp.exports=i,kp.exports.firstLineError=t,kp.exports}var Xv,bC;function ms(){if(bC)return Xv;bC=1;var t=qu(),e=t.freeze,n=Et(),r=n.inherits,i=n.notEnumerableProp;function o(D,w){function C(R){if(!(this instanceof C))return new C(R);i(this,"message",typeof R=="string"?R:w),i(this,"name",D),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return r(C,Error),C}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 m=0;d.prototype.toString=function(){var D=Array(m*4+1).join(" "),w=`
37
+ `+D+`AggregateError of:
38
+ `;m++,D=Array(m*4+1).join(" ");for(var C=0;C<this.length;++C){for(var R=this[C]===this?"[Circular AggregateError]":this[C]+"",U=R.split(`
39
+ `),I=0;I<U.length;++I)U[I]=D+U[I];R=U.join(`
40
+ `),w+=R+`
41
+ `}return m--,w};function v(D){if(!(this instanceof v))return new v(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(v,Error);var x=Error.__BluebirdErrorTypes__;return x||(x=e({CancellationError:c,TimeoutError:f,OperationalError:v,RejectionError:v,AggregateError:d}),t.defineProperty(Error,"__BluebirdErrorTypes__",{value:x,writable:!1,enumerable:!1,configurable:!1})),Xv={Error,TypeError:a,RangeError:s,CancellationError:x.CancellationError,OperationalError:x.OperationalError,TimeoutError:x.TimeoutError,AggregateError:x.AggregateError,Warning:l},Xv}var Jv,vC;function vq(){return vC||(vC=1,Jv=function(t,e){var n=Et(),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 m=t.reject(g.e);return p&&p._popContext(),m}else if(typeof g=="function"){if(c(d)){var m=new t(e);return d._then(m._fulfill,m._reject,void 0,m,null),m}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 m=new t(e),v=m;g&&g._pushContext(),m._captureStackTrace(),g&&g._popContext();var x=!0,D=n.tryCatch(p).call(d,w,C);x=!1,m&&D===r&&(m._rejectCallback(D.e,!0,!0),m=null);function w(R){m&&(m._resolveCallback(R),m=null)}function C(R){m&&(m._rejectCallback(R,x,!0),m=null)}return v}return o}),Jv}var Yv,xC;function xq(){return xC||(xC=1,Yv=function(t,e,n,r,i){var o=Et();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 m=n(l[g],f);m instanceof t?(m=m._target(),p=m._bitField):p=null,d?p!==null&&m.suppressUnhandledRejections():p!==null?p&50397184?p&33554432?d=this._promiseFulfilled(m._value(),g):p&16777216?d=this._promiseRejected(m._reason(),g):d=this._promiseCancelled(g):(m._proxy(this,g),this._values[g]=m):d=this._promiseFulfilled(m,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}),Yv}var Kv,DC;function Dq(){return DC||(DC=1,Kv=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}),Kv}var Zv,wC;function wq(){return wC||(wC=1,Zv=function(t,e){var n=t._getDomain,r=t._async,i=ms().Warning,o=Et(),a=o.canAttachTrace,s,l,c=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,f=/\((?:timers\.js):\d+:\d+\)/,d=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,p=null,g=null,m=!1,v,x=!!(o.env("BLUEBIRD_DEBUG")!=0&&(o.env("BLUEBIRD_DEBUG")||o.env("NODE_ENV")==="development")),D=!!(o.env("BLUEBIRD_WARNINGS")!=0&&(x||o.env("BLUEBIRD_WARNINGS"))),w=!!(o.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(x||o.env("BLUEBIRD_LONG_STACK_TRACES"))),C=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(){Ue("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(),Ue("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,le){return Se(ee,ne,le||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 R=function(){};t.longStackTraces=function(){if(r.haveItemsQueued()&&!fe.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
42
+
43
+ See http://goo.gl/MqrFmX
44
+ `);if(!fe.longStackTraces&&de()){var ee=t.prototype._captureStackTrace,ne=t.prototype._attachExtraTrace;fe.longStackTraces=!0,R=function(){if(r.haveItemsQueued()&&!fe.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(),fe.longStackTraces=!1},t.prototype._captureStackTrace=ae,t.prototype._attachExtraTrace=H,e.activateLongStackTraces(),r.disableTrampolineIfNecessary()}},t.hasLongStackTraces=function(){return fe.longStackTraces&&de()};var U=function(){try{if(typeof CustomEvent=="function"){var ee=new CustomEvent("CustomEvent");return o.global.dispatchEvent(ee),function(ne,le){var xe=new CustomEvent(ne.toLowerCase(),{detail:le,cancelable:!0});return!o.global.dispatchEvent(xe)}}else if(typeof Event=="function"){var ee=new Event("CustomEvent");return o.global.dispatchEvent(ee),function(le,xe){var Ne=new Event(le.toLowerCase(),{cancelable:!0});return Ne.detail=xe,!o.global.dispatchEvent(Ne)}}else{var ee=document.createEvent("CustomEvent");return ee.initCustomEvent("testingtheevent",!1,!0,{}),o.global.dispatchEvent(ee),function(le,xe){var Ne=document.createEvent("CustomEvent");return Ne.initCustomEvent(le.toLowerCase(),!1,!0,xe),!o.global.dispatchEvent(Ne)}}}catch{}return function(){return!1}}(),I=function(){return o.isNode?function(){return process.emit.apply(process,arguments)}:o.global?function(ee){var ne="on"+ee.toLowerCase(),le=o.global[ne];return le?(le.apply(o.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function N(ee,ne){return{promise:ne}}var V={promiseCreated:N,promiseFulfilled:N,promiseRejected:N,promiseResolved:N,promiseCancelled:N,promiseChained:function(ee,ne,le){return{promise:ne,child:le}},warning:function(ee,ne){return{warning:ne}},unhandledRejection:function(ee,ne,le){return{reason:ne,promise:le}},rejectionHandled:N},j=function(ee){var ne=!1;try{ne=I.apply(null,arguments)}catch(xe){r.throwLater(xe),ne=!0}var le=!1;try{le=U(ee,V[ee].apply(null,arguments))}catch(xe){r.throwLater(xe),le=!0}return le||ne};t.config=function(ee){if(ee=Object(ee),"longStackTraces"in ee&&(ee.longStackTraces?t.longStackTraces():!ee.longStackTraces&&t.hasLongStackTraces()&&R()),"warnings"in ee){var ne=ee.warnings;fe.warnings=!!ne,C=fe.warnings,o.isObject(ne)&&"wForgottenReturn"in ne&&(C=!!ne.wForgottenReturn)}if("cancellation"in ee&&ee.cancellation&&!fe.cancellation){if(r.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");t.prototype._clearCancellationData=re,t.prototype._propagateFrom=z,t.prototype._onCancel=X,t.prototype._setOnCancel=E,t.prototype._attachCancellationCallback=F,t.prototype._execute=ue,Y=z,fe.cancellation=!0}return"monitoring"in ee&&(ee.monitoring&&!fe.monitoring?(fe.monitoring=!0,t.prototype._fireEvent=j):!ee.monitoring&&fe.monitoring&&(fe.monitoring=!1,t.prototype._fireEvent=oe)),t};function oe(){return!1}t.prototype._fireEvent=oe,t.prototype._execute=function(ee,ne,le){try{ee(ne,le)}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 ue(ee,ne,le){var xe=this;try{ee(ne,le,function(Ne){if(typeof Ne!="function")throw new TypeError("onCancel must be a function, got: "+o.toString(Ne));xe._attachCancellationCallback(Ne)})}catch(Ne){return Ne}}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 X(){return this._onCancelField}function E(ee){this._onCancelField=ee}function re(){this._cancellationParent=void 0,this._onCancelField=void 0}function z(ee,ne){if(ne&1){this._cancellationParent=ee;var le=ee._branchesRemainingToCancel;le===void 0&&(le=0),ee._branchesRemainingToCancel=le+1}ne&2&&ee._isBound()&&this._setBoundTo(ee._boundTo)}function J(ee,ne){ne&2&&ee._isBound()&&this._setBoundTo(ee._boundTo)}var Y=J;function G(){var ee=this._boundTo;return ee!==void 0&&ee instanceof t?ee.isFulfilled()?ee.value():void 0:ee}function ae(){this._trace=new we(this._peekContext())}function H(ee,ne){if(a(ee)){var le=this._trace;if(le!==void 0&&ne&&(le=le._parent),le!==void 0)le.attachExtraTrace(ee);else if(!ee.__stackCleaned__){var xe=Ze(ee);o.notEnumerableProp(ee,"stack",xe.message+`
48
+ `+xe.stack.join(`
49
+ `)),o.notEnumerableProp(ee,"__stackCleaned__",!0)}}}function P(ee,ne,le,xe,Ne){if(ee===void 0&&ne!==null&&C){if(Ne!==void 0&&Ne._returnedNonUndefined()||!(xe._bitField&65535))return;le&&(le=le+" ");var Pe="",Ge="";if(ne._trace){for(var He=ne._trace.stack.split(`
50
+ `),et=$e(He),ct=et.length-1;ct>=0;--ct){var rt=et[ct];if(!f.test(rt)){var Lt=rt.match(d);Lt&&(Pe="at "+Lt[1]+":"+Lt[2]+":"+Lt[3]+" ");break}}if(et.length>0){for(var zn=et[0],ct=0;ct<He.length;++ct)if(He[ct]===zn){ct>0&&(Ge=`
51
+ `+He[ct-1]);break}}}var It="a promise was created in a "+le+"handler "+Pe+"but was not returned from it, see http://goo.gl/rRqMUw"+Ge;xe._warn(It,!0,ne)}}function he(ee,ne){var le=ee+" is deprecated and will be removed in a future version.";return ne&&(le+=" Use "+ne+" instead."),Se(le)}function Se(ee,ne,le){if(fe.warnings){var xe=new i(ee),Ne;if(ne)le._attachExtraTrace(xe);else if(fe.longStackTraces&&(Ne=t._peekContext()))Ne.attachExtraTrace(xe);else{var Pe=Ze(xe);xe.stack=Pe.message+`
52
+ `+Pe.stack.join(`
53
+ `)}j("warning",xe)||se(xe,"",!0)}}function ye(ee,ne){for(var le=0;le<ne.length-1;++le)ne[le].push("From previous event:"),ne[le]=ne[le].join(`
54
+ `);return le<ne.length&&(ne[le]=ne[le].join(`
55
+ `)),ee+`
56
+ `+ne.join(`
57
+ `)}function Ae(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 je(ee){for(var ne=ee[0],le=1;le<ee.length;++le){for(var xe=ee[le],Ne=ne.length-1,Pe=ne[Ne],Ge=-1,He=xe.length-1;He>=0;--He)if(xe[He]===Pe){Ge=He;break}for(var He=Ge;He>=0;--He){var et=xe[He];if(ne[Ne]===et)ne.pop(),Ne--;else break}ne=xe}}function $e(ee){for(var ne=[],le=0;le<ee.length;++le){var xe=ee[le],Ne=xe===" (No stack trace)"||p.test(xe),Pe=Ne&&ce(xe);Ne&&!Pe&&(m&&xe.charAt(0)!==" "&&(xe=" "+xe),ne.push(xe))}return ne}function ze(ee){for(var ne=ee.stack.replace(/\s+$/g,"").split(`
58
+ `),le=0;le<ne.length;++le){var xe=ne[le];if(xe===" (No stack trace)"||p.test(xe))break}return le>0&&ee.name!="SyntaxError"&&(ne=ne.slice(le)),ne}function Ze(ee){var ne=ee.stack,le=ee.toString();return ne=typeof ne=="string"&&ne.length>0?ze(ee):[" (No stack trace)"],{message:le,stack:ee.name=="SyntaxError"?ne:$e(ne)}}function se(ee,ne,le){if(typeof console<"u"){var xe;if(o.isObject(ee)){var Ne=ee.stack;xe=ne+g(Ne,ee)}else xe=ne+String(ee);typeof v=="function"?v(xe,le):(typeof console.log=="function"||typeof console.log=="object")&&console.log(xe)}}function Ue(ee,ne,le,xe){var Ne=!1;try{typeof ne=="function"&&(Ne=!0,ee==="rejectionHandled"?ne(xe):ne(le,xe))}catch(Pe){r.throwLater(Pe)}ee==="unhandledRejection"?!j(ee,le,xe)&&!Ne&&se(le,"Unhandled rejection "):j(ee,xe)}function _e(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 le=/\[object [a-zA-Z0-9$_]+\]/;if(le.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 de(){return typeof Ee=="function"}var ce=function(){return!1},K=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function q(ee){var ne=ee.match(K);if(ne)return{fileName:ne[1],line:parseInt(ne[2],10)}}function ie(ee,ne){if(de()){for(var le=ee.stack.split(`
59
+ `),xe=ne.stack.split(`
60
+ `),Ne=-1,Pe=-1,Ge,He,et=0;et<le.length;++et){var ct=q(le[et]);if(ct){Ge=ct.fileName,Ne=ct.line;break}}for(var et=0;et<xe.length;++et){var ct=q(xe[et]);if(ct){He=ct.fileName,Pe=ct.line;break}}Ne<0||Pe<0||!Ge||!He||Ge!==He||Ne>=Pe||(ce=function(rt){if(c.test(rt))return!0;var Lt=q(rt);return!!(Lt&&Lt.fileName===Ge&&Ne<=Lt.line&&Lt.line<=Pe)})}}function we(ee){this._parent=ee,this._promisesCreated=0;var ne=this._length=1+(ee===void 0?0:ee._length);Ee(this,we),ne>32&&this.uncycle()}o.inherits(we,Error),e.CapturedTrace=we,we.prototype.uncycle=function(){var ee=this._length;if(!(ee<2)){for(var ne=[],le={},xe=0,Ne=this;Ne!==void 0;++xe)ne.push(Ne),Ne=Ne._parent;ee=this._length=xe;for(var xe=ee-1;xe>=0;--xe){var Pe=ne[xe].stack;le[Pe]===void 0&&(le[Pe]=xe)}for(var xe=0;xe<ee;++xe){var Ge=ne[xe].stack,He=le[Ge];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 et=xe>0?ne[xe-1]:this;He<ee-1?(et._parent=ne[He+1],et._parent.uncycle(),et._length=et._parent._length+1):(et._parent=void 0,et._length=1);for(var ct=et._length+1,rt=xe-2;rt>=0;--rt)ne[rt]._length=ct,ct++;return}}}},we.prototype.attachExtraTrace=function(ee){if(!ee.__stackCleaned__){this.uncycle();for(var ne=Ze(ee),le=ne.message,xe=[ne.stack],Ne=this;Ne!==void 0;)xe.push($e(Ne.stack.split(`
61
+ `))),Ne=Ne._parent;je(xe),Ae(xe),o.notEnumerableProp(ee,"stack",ye(le,xe)),o.notEnumerableProp(ee,"__stackCleaned__",!0)}};var Ee=function(){var ne=/^\s*at\s*/,le=function(Ge,He){return typeof Ge=="string"?Ge:He.name!==void 0&&He.message!==void 0?He.toString():_e(He)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,p=ne,g=le;var xe=Error.captureStackTrace;return ce=function(Ge){return c.test(Ge)},function(Ge,He){Error.stackTraceLimit+=6,xe(Ge,He),Error.stackTraceLimit-=6}}var Ne=new Error;if(typeof Ne.stack=="string"&&Ne.stack.split(`
62
+ `)[0].indexOf("stackDetection@")>=0)return p=/@/,g=le,m=!0,function(He){He.stack=new Error().stack};var Pe;try{throw new Error}catch(Ge){Pe="stack"in Ge}return!("stack"in Ne)&&Pe&&typeof Error.stackTraceLimit=="number"?(p=ne,g=le,function(He){Error.stackTraceLimit+=6;try{throw new Error}catch(et){He.stack=et.stack}Error.stackTraceLimit-=6}):(g=function(Ge,He){return typeof Ge=="string"?Ge:(typeof He=="object"||typeof He=="function")&&He.name!==void 0&&He.message!==void 0?He.toString():_e(He)},null)}();typeof console<"u"&&typeof console.warn<"u"&&(v=function(ee){console.warn(ee)},o.isNode&&process.stderr.isTTY?v=function(ee,ne){var le=ne?"\x1B[33m":"\x1B[31m";console.warn(le+ee+`\x1B[0m
63
+ `)}:!o.isNode&&typeof new Error().stack=="string"&&(v=function(ee,ne){console.warn("%c"+ee,ne?"color: darkorange":"color: red")}));var fe={warnings:D,longStackTraces:!1,cancellation:!1,monitoring:!1};return w&&t.longStackTraces(),{longStackTraces:function(){return fe.longStackTraces},warnings:function(){return fe.warnings},cancellation:function(){return fe.cancellation},monitoring:function(){return fe.monitoring},propagateFromFunction:function(){return Y},boundValueFunction:function(){return G},checkForgottenReturns:P,setBounds:ie,warn:Se,deprecated:he,CapturedTrace:we,fireDomEvent:U,fireGlobalEvent:I}}),Zv}var Qv,SC;function Sq(){return SC||(SC=1,Qv=function(t,e){var n=Et(),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 m=this.isFinallyHandler()?g.call(p._boundValue()):g.call(p._boundValue(),d);if(m!==void 0){p._setReturnedNonUndefined();var v=e(m,p);if(v instanceof t){if(this.cancelPromise!=null)if(v._isCancelled()){var x=new r("late cancellation observer");return p._attachExtraTrace(x),i.e=x,i}else v.isPending()&&v._attachCancellationCallback(new a(this));return v._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,m){return typeof d!="function"?this.then():this._then(g,m,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}),Qv}var e1,TC;function Tq(){return TC||(TC=1,e1=function(t){var e=Et(),n=qu().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 m=n(p),v=0;v<m.length;++v){var x=m[v];if(p[x]!=c[x])continue e}return r(s).call(f,c)}}return t}}return o}),e1}var t1,_C;function o8(){if(_C)return t1;_C=1;var t=Et(),e=t.maybeWrapAsError,n=ms(),r=n.OperationalError,i=qu();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 m=arguments.length,v=new Array(Math.max(m-1,0)),x=1;x<m;++x)v[x-1]=arguments[x];c._fulfill(v)}c=null}}}return t1=l,t1}var n1,CC;function _q(){return CC||(CC=1,n1=function(t,e,n,r,i){var o=Et(),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)}}),n1}var r1,EC;function Cq(){return EC||(EC=1,r1=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)}}),r1}var i1,kC;function Eq(){return kC||(kC=1,i1=function(t,e,n,r){var i=Et(),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()}}),i1}var o1,AC;function kq(){return AC||(AC=1,o1=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)}}),o1}var a1,UC;function Aq(){return UC||(UC=1,a1=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}),a1}var s1,FC;function Uq(){return FC||(FC=1,s1=function(t,e,n,r,i,o){var a=Et(),s=a.canEvaluate,l=a.tryCatch,c=a.errorObj,f;if(s){for(var d=function(w){return new Function("value","holder",`
70
+ 'use strict';
71
+ holder.pIndex = value;
72
+ holder.checkFulfillment(this);
73
+ `.replace(/Index/g,w))},p=function(w){return new Function("promise","holder",`
74
+ 'use strict';
75
+ holder.pIndex = promise;
76
+ `.replace(/Index/g,w))},g=function(w){for(var C=new Array(w),R=0;R<C.length;++R)C[R]="this.p"+(R+1);var U=C.join(" = ")+" = null;",I=`var promise;
77
+ `+C.map(function(oe){return`
78
+ promise = `+oe+`;
79
+ if (promise instanceof Promise) {
80
+ promise.cancel();
81
+ }
82
+ `}).join(`
83
+ `),N=C.join(", "),V="Holder$"+w,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,V).replace(/\[TheTotal\]/g,w).replace(/\[ThePassedArguments\]/g,N).replace(/\[TheProperties\]/g,U).replace(/\[CancellationCode\]/g,I),new Function("tryCatch","errorObj","Promise","async",j)(l,c,t,i)},m=[],v=[],x=[],D=0;D<8;++D)m.push(g(D+1)),v.push(d(D+1)),x.push(p(D+1));f=function(w){this._reject(w)}}t.join=function(){var w=arguments.length-1,C;if(w>0&&typeof arguments[w]=="function"&&(C=arguments[w],w<=8&&s)){var E=new t(r);E._captureStackTrace();for(var R=m[w-1],U=new R(C),I=v,N=0;N<w;++N){var V=n(arguments[N],E);if(V instanceof t){V=V._target();var j=V._bitField;j&50397184?j&33554432?I[N].call(E,V._value(),U):j&16777216?E._reject(V._reason()):E._cancel():(V._then(I[N],f,void 0,E,U),x[N](V,U),U.asyncNeeded=!1)}else I[N].call(E,V,U)}if(!E._isFateSealed()){if(U.asyncNeeded){var oe=o();oe!==null&&(U.fn=a.domainBind(oe,U.fn))}E._setAsyncGuaranteed(),E._setOnCancel(U)}return E}for(var ue=arguments.length,F=new Array(ue),X=0;X<ue;++X)F[X]=arguments[X];C&&F.pop();var E=new e(F).promise();return C!==void 0?E.spread(C):E}}),s1}var l1,RC;function Fq(){return RC||(RC=1,l1=function(t,e,n,r,i,o){var a=t._getDomain,s=Et(),l=s.tryCatch,c=s.errorObj,f=t._async;function d(g,m,v,x){this.constructor$(g),this._promise._captureStackTrace();var D=a();this._callback=D===null?m:s.domainBind(D,m),this._preservedValues=x===i?new Array(this.length()):null,this._limit=v,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,m){var v=this._values,x=this.length(),D=this._preservedValues,w=this._limit;if(m<0){if(m=m*-1-1,v[m]=g,w>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(w>=1&&this._inFlight>=w)return v[m]=g,this._queue.push(m),!1;D!==null&&(D[m]=g);var C=this._promise,R=this._callback,U=C._boundValue();C._pushContext();var I=l(R).call(U,g,m,x),N=C._popContext();if(o.checkForgottenReturns(I,N,D!==null?"Promise.filter":"Promise.map",C),I===c)return this._reject(I.e),!0;var V=r(I,this._promise);if(V instanceof t){V=V._target();var j=V._bitField;if(j&50397184)if(j&33554432)I=V._value();else return j&16777216?(this._reject(V._reason()),!0):(this._cancel(),!0);else return w>=1&&this._inFlight++,v[m]=V,V._proxy(this,(m+1)*-1),!1}v[m]=I}var oe=++this._totalResolved;return oe>=x?(D!==null?this._filter(v,D):this._resolve(v),!0):!1},d.prototype._drainQueue=function(){for(var g=this._queue,m=this._limit,v=this._values;g.length>0&&this._inFlight<m;){if(this._isResolved())return;var x=g.pop();this._promiseFulfilled(v[x],x)}},d.prototype._filter=function(g,m){for(var v=m.length,x=new Array(v),D=0,w=0;w<v;++w)g[w]&&(x[D++]=m[w]);x.length=D,this._resolve(x)},d.prototype.preservedValues=function(){return this._preservedValues};function p(g,m,v,x){if(typeof m!="function")return n("expecting a function but got "+s.classString(m));var D=0;if(v!==void 0)if(typeof v=="object"&&v!==null){if(typeof v.concurrency!="number")return t.reject(new TypeError("'concurrency' must be a number but it is "+s.classString(v.concurrency)));D=v.concurrency}else return t.reject(new TypeError("options argument must be an object but it is "+s.classString(v)));return D=typeof D=="number"&&isFinite(D)&&D>=1?D:0,new d(g,m,D,x).promise()}t.prototype.map=function(g,m){return p(this,g,m,null)},t.map=function(g,m,v,x){return p(g,m,v,x)}}),l1}var c1,OC;function Rq(){if(OC)return c1;OC=1;var t=Object.create;if(t){var e=t(null),n=t(null);e[" size"]=n[" size"]=0}return c1=function(r){var i=Et(),o=i.canEvaluate,a=i.isIdentifier,s,l;{var c=function(x){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,x))(p)},f=function(x){return new Function("obj",`
136
+ 'use strict';
137
+ return obj.propertyName;
138
+ `.replace("propertyName",x))},d=function(x,D,w){var C=w[x];if(typeof C!="function"){if(!a(x))return null;if(C=D(x),w[x]=C,w[" size"]++,w[" size"]>512){for(var R=Object.keys(w),U=0;U<256;++U)delete w[R[U]];w[" size"]=R.length-256}}return C};s=function(x){return d(x,c,e)},l=function(x){return d(x,f,n)}}function p(x,D){var w;if(x!=null&&(w=x[D]),typeof w!="function"){var C="Object "+i.classString(x)+" has no method '"+i.toString(D)+"'";throw new r.TypeError(C)}return w}function g(x){var D=this.pop(),w=p(x,D);return w.apply(x,this)}r.prototype.call=function(x){for(var D=arguments.length,w=new Array(Math.max(D-1,0)),C=1;C<D;++C)w[C-1]=arguments[C];if(o){var R=s(x);if(R!==null)return this._then(R,void 0,void 0,w,void 0)}return w.push(x),this._then(g,void 0,void 0,w,void 0)};function m(x){return x[this]}function v(x){var D=+this;return D<0&&(D=Math.max(0,D+x.length)),x[D]}r.prototype.get=function(x){var D=typeof x=="number",w;if(D)w=v;else if(o){var C=l(x);w=C!==null?C:m}else w=m;return this._then(w,void 0,void 0,x,void 0)}},c1}var u1,IC;function Oq(){return IC||(IC=1,u1=function(t,e,n,r,i,o){var a=Et(),s=ms().TypeError,l=Et().inherits,c=a.errorObj,f=a.tryCatch,d={};function p(C){setTimeout(function(){throw C},0)}function g(C){var R=n(C);return R!==C&&typeof C._isDisposable=="function"&&typeof C._getDisposer=="function"&&C._isDisposable()&&R._setDisposable(C._getDisposer()),R}function m(C,R){var U=0,I=C.length,N=new t(i);function V(){if(U>=I)return N._fulfill();var j=g(C[U++]);if(j instanceof t&&j._isDisposable()){try{j=n(j._getDisposer().tryDispose(R),C.promise)}catch(oe){return p(oe)}if(j instanceof t)return j._then(V,p,null,null,null)}V()}return V(),N}function v(C,R,U){this._data=C,this._promise=R,this._context=U}v.prototype.data=function(){return this._data},v.prototype.promise=function(){return this._promise},v.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():d},v.prototype.tryDispose=function(C){var R=this.resource(),U=this._context;U!==void 0&&U._pushContext();var I=R!==d?this.doDispose(R,C):null;return U!==void 0&&U._popContext(),this._promise._unsetDisposable(),this._data=null,I},v.isDisposer=function(C){return C!=null&&typeof C.resource=="function"&&typeof C.tryDispose=="function"};function x(C,R,U){this.constructor$(C,R,U)}l(x,v),x.prototype.doDispose=function(C,R){var U=this.data();return U.call(C,C,R)};function D(C){return v.isDisposer(C)?(this.resources[this.index]._setDisposable(C),C.promise()):C}function w(C){this.length=C,this.promise=null,this[C-1]=null}w.prototype._resultCancelled=function(){for(var C=this.length,R=0;R<C;++R){var U=this[R];U instanceof t&&U.cancel()}},t.using=function(){var C=arguments.length;if(C<2)return e("you must pass at least 2 arguments to Promise.using");var R=arguments[C-1];if(typeof R!="function")return e("expecting a function but got "+a.classString(R));var U,I=!0;C===2&&Array.isArray(arguments[0])?(U=arguments[0],C=U.length,I=!1):(U=arguments,C--);for(var N=new w(C),V=0;V<C;++V){var j=U[V];if(v.isDisposer(j)){var oe=j;j=j.promise(),j._setDisposable(oe)}else{var ue=n(j);ue instanceof t&&(j=ue._then(D,null,null,{resources:N,index:V},void 0))}N[V]=j}for(var F=new Array(N.length),V=0;V<F.length;++V)F[V]=t.resolve(N[V]).reflect();var X=t.all(F).then(function(re){for(var z=0;z<re.length;++z){var J=re[z];if(J.isRejected())return c.e=J.error(),c;if(!J.isFulfilled()){X.cancel();return}re[z]=J.value()}E._pushContext(),R=f(R);var Y=I?R.apply(void 0,re):R(re),G=E._popContext();return o.checkForgottenReturns(Y,G,"Promise.using",E),Y}),E=X.lastly(function(){var re=new t.PromiseInspection(X);return m(N,re)});return N.promise=E,E._setOnCancel(N),E},t.prototype._setDisposable=function(C){this._bitField=this._bitField|131072,this._disposer=C},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(C){if(typeof C=="function")return new x(C,this,r());throw new s}}),u1}var f1,BC;function Iq(){return BC||(BC=1,f1=function(t,e,n){var r=Et(),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,m;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),m=setTimeout(function(){g._fulfill()},+d),n.cancellation()&&g._setOnCancel(new o(m)),g._captureStackTrace()),g._setAsyncGuaranteed(),g};t.prototype.delay=function(d){return s(d,this)};var l=function(d,p,g){var m;typeof p!="string"?p instanceof Error?m=p:m=new i("operation timed out"):m=new i(p),r.markAsOriginatingFromRejection(m),d._attachExtraTrace(m),d._reject(m),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,m,v=new o(setTimeout(function(){g.isPending()&&l(g,p,m)},d));return n.cancellation()?(m=this.then(),g=m._then(c,f,void 0,v,void 0),g._setOnCancel(v)):g=this._then(c,f,void 0,v,void 0),g}}),f1}var d1,MC;function Bq(){return MC||(MC=1,d1=function(t,e,n,r,i,o){var a=ms(),s=a.TypeError,l=Et(),c=l.errorObj,f=l.tryCatch,d=[];function p(m,v,x){for(var D=0;D<v.length;++D){x._pushContext();var w=f(v[D])(m);if(x._popContext(),w===c){x._pushContext();var C=t.reject(c.e);return x._popContext(),C}var R=r(w,x);if(R instanceof t)return R}return null}function g(m,v,x,D){if(o.cancellation()){var w=new t(n),C=this._finallyPromise=new t(n);this._promise=w.lastly(function(){return C}),w._captureStackTrace(),w._setOnCancel(this)}else{var R=this._promise=new t(n);R._captureStackTrace()}this._stack=D,this._generatorFunction=m,this._receiver=v,this._generator=void 0,this._yieldHandlers=typeof x=="function"?[x].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 m=typeof this._generator.return<"u",v;if(m)this._promise._pushContext(),v=f(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var x=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=x,this._promise._attachExtraTrace(x),this._promise._pushContext(),v=f(this._generator.throw).call(this._generator,x),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(v)}},g.prototype._promiseFulfilled=function(m){this._yieldedPromise=null,this._promise._pushContext();var v=f(this._generator.next).call(this._generator,m);this._promise._popContext(),this._continue(v)},g.prototype._promiseRejected=function(m){this._yieldedPromise=null,this._promise._attachExtraTrace(m),this._promise._pushContext();var v=f(this._generator.throw).call(this._generator,m);this._promise._popContext(),this._continue(v)},g.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var m=this._yieldedPromise;this._yieldedPromise=null,m.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(m){var v=this._promise;if(m===c)return this._cleanup(),this._cancellationPhase?v.cancel():v._rejectCallback(m.e,!1);var x=m.value;if(m.done===!0)return this._cleanup(),this._cancellationPhase?v.cancel():v._resolveCallback(x);var D=r(x,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",x)+`From coroutine:
143
+ `+this._stack.split(`
144
+ `).slice(1,-7).join(`
145
+ `)));return}D=D._target();var w=D._bitField;w&50397184?w&33554432?t._async.invoke(this._promiseFulfilled,this,D._value()):w&16777216?t._async.invoke(this._promiseRejected,this,D._reason()):this._promiseCancelled():(this._yieldedPromise=D,D._proxy(this,null))},t.coroutine=function(m,v){if(typeof m!="function")throw new s(`generatorFunction must be a function
146
+
147
+ See http://goo.gl/MqrFmX
148
+ `);var x=Object(v).yieldHandler,D=g,w=new Error().stack;return function(){var C=m.apply(this,arguments),R=new D(void 0,void 0,x,w),U=R.promise();return R._generator=C,R._promiseFulfilled(void 0),U}},t.coroutine.addYieldHandler=function(m){if(typeof m!="function")throw new s("expecting a function but got "+l.classString(m));d.push(m)},t.spawn=function(m){if(o.deprecated("Promise.spawn()","Promise.coroutine()"),typeof m!="function")return e(`generatorFunction must be a function
149
+
150
+ See http://goo.gl/MqrFmX
151
+ `);var v=new g(m,this),x=v.promise();return v._run(t.spawn),x}}),d1}var h1,NC;function Mq(){return NC||(NC=1,h1=function(t){var e=Et(),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}}),h1}var p1,PC;function Nq(){return PC||(PC=1,p1=function(t,e){var n={},r=Et(),i=o8(),o=r.withAppended,a=r.maybeWrapAsError,s=r.canEvaluate,l=ms().TypeError,c="Async",f={__isPromisified__:!0},d=["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"],p=new RegExp("^(?:"+d.join("|")+")$"),g=function(X){return r.isIdentifier(X)&&X.charAt(0)!=="_"&&X!=="constructor"};function m(X){return!p.test(X)}function v(X){try{return X.__isPromisified__===!0}catch{return!1}}function x(X,E,re){var z=r.getDataPropertyOrDefault(X,E+re,f);return z?v(z):!1}function D(X,E,re){for(var z=0;z<X.length;z+=2){var J=X[z];if(re.test(J)){for(var Y=J.replace(re,""),G=0;G<X.length;G+=2)if(X[G]===Y)throw new l(`Cannot promisify an API that has normal methods with '%s'-suffix
152
+
153
+ See http://goo.gl/MqrFmX
154
+ `.replace("%s",E))}}}function w(X,E,re,z){for(var J=r.inheritedDataKeys(X),Y=[],G=0;G<J.length;++G){var ae=J[G],H=X[ae],P=z===g?!0:g(ae);typeof H=="function"&&!v(H)&&!x(X,ae,E)&&z(ae,H,X,P)&&Y.push(ae,H)}return D(Y,E,re),Y}var C=function(X){return X.replace(/([$])/,"\\$")},R;{var U=function(X){for(var E=[X],re=Math.max(0,X-1-3),z=X-1;z>=re;--z)E.push(z);for(var z=X+1;z<=3;++z)E.push(z);return E},I=function(X){return r.filledRange(X,"_arg","")},N=function(X){return r.filledRange(Math.max(X,3),"_arg","")},V=function(X){return typeof X.length=="number"?Math.max(Math.min(X.length,1024),0):0};R=function(X,E,re,z,J,Y){var G=Math.max(0,V(z)-1),ae=U(G),H=typeof X=="string"||E===n;function P(Ae){var je=I(Ae).join(", "),$e=Ae>0?", ":"",ze;return H?ze=`ret = callback.call(this, {{args}}, nodeback); break;
155
+ `:ze=E===void 0?`ret = callback({{args}}, nodeback); break;
156
+ `:`ret = callback.call(receiver, {{args}}, nodeback); break;
157
+ `,ze.replace("{{args}}",je).replace(", ",$e)}function he(){for(var Ae="",je=0;je<ae.length;++je)Ae+="case "+ae[je]+":"+P(ae[je]);return Ae+=`
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
+ `),Ae}var Se=typeof X=="string"?"this != null ? this['"+X+"'] : fn":"fn",ye=`'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, `+Y+`);
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]",he()).replace("[GetFunctionCode]",Se);return ye=ye.replace("Parameters",N(G)),new Function("Promise","fn","receiver","withAppended","maybeWrapAsError","nodebackForPromise","tryCatch","errorObj","notEnumerableProp","INTERNAL",ye)(t,z,E,o,a,i,r.tryCatch,r.errorObj,r.notEnumerableProp,e)}}function j(X,E,re,z,J,Y){var G=function(){return this}(),ae=X;typeof ae=="string"&&(X=z);function H(){var P=E;E===n&&(P=this);var he=new t(e);he._captureStackTrace();var Se=typeof ae=="string"&&this!==G?this[ae]:X,ye=i(he,Y);try{Se.apply(P,o(arguments,ye))}catch(Ae){he._rejectCallback(a(Ae),!0,!0)}return he._isFateSealed()||he._setAsyncGuaranteed(),he}return r.notEnumerableProp(H,"__isPromisified__",!0),H}var oe=s?R:j;function ue(X,E,re,z,J){for(var Y=new RegExp(C(E)+"$"),G=w(X,E,Y,re),ae=0,H=G.length;ae<H;ae+=2){var P=G[ae],he=G[ae+1],Se=P+E;if(z===oe)X[Se]=oe(P,n,P,he,E,J);else{var ye=z(he,function(){return oe(P,n,P,he,E,J)});r.notEnumerableProp(ye,"__isPromisified__",!0),X[Se]=ye}}return r.toFastProperties(X),X}function F(X,E,re){return oe(X,E,void 0,X,null,re)}t.promisify=function(X,E){if(typeof X!="function")throw new l("expecting a function but got "+r.classString(X));if(v(X))return X;E=Object(E);var re=E.context===void 0?n:E.context,z=!!E.multiArgs,J=F(X,re,z);return r.copyDescriptors(X,J,m),J},t.promisifyAll=function(X,E){if(typeof X!="function"&&typeof X!="object")throw new l(`the target of promisifyAll must be an object or a function
190
+
191
+ See http://goo.gl/MqrFmX
192
+ `);E=Object(E);var re=!!E.multiArgs,z=E.suffix;typeof z!="string"&&(z=c);var J=E.filter;typeof J!="function"&&(J=g);var Y=E.promisifier;if(typeof Y!="function"&&(Y=oe),!r.isIdentifier(z))throw new RangeError(`suffix must be a valid identifier
193
+
194
+ See http://goo.gl/MqrFmX
195
+ `);for(var G=r.inheritedDataKeys(X),ae=0;ae<G.length;++ae){var H=X[G[ae]];G[ae]!=="constructor"&&r.isClass(H)&&(ue(H.prototype,z,J,Y,re),ue(H,z,J,Y,re))}return ue(X,z,J,Y,re)}}),p1}var g1,LC;function Pq(){return LC||(LC=1,g1=function(t,e,n,r){var i=Et(),o=i.isObject,a=qu(),s;typeof Map=="function"&&(s=Map);var l=function(){var p=0,g=0;function m(v,x){this[p]=v,this[p+g]=x,p++}return function(x){g=x.size,p=0;var D=new Array(x.size*2);return x.forEach(m,D),D}}(),c=function(p){for(var g=new s,m=p.length/2|0,v=0;v<m;++v){var x=p[m+v],D=p[v];g.set(x,D)}return g};function f(p){var g=!1,m;if(s!==void 0&&p instanceof s)m=l(p),g=!0;else{var v=a.keys(p),x=v.length;m=new Array(x*2);for(var D=0;D<x;++D){var w=v[D];m[D]=p[w],m[D+x]=w}}this.constructor$(m),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 m=++this._totalResolved;if(m>=this._length){var v;if(this._isMap)v=c(this._values);else{v={};for(var x=this.length(),D=0,w=this.length();D<w;++D)v[this._values[D+x]]=this._values[D]}return this._resolve(v),!0}return!1},f.prototype.shouldCopyValues=function(){return!1},f.prototype.getActualLength=function(p){return p>>1};function d(p){var g,m=n(p);if(o(m))m instanceof t?g=m._then(t.props,void 0,void 0,void 0,void 0):g=new f(m).promise();else return r(`cannot await properties of a non-object
196
+
197
+ See http://goo.gl/MqrFmX
198
+ `);return m instanceof t&&g._propagateFrom(m,2),g}t.prototype.props=function(){return d(this)},t.props=function(p){return d(p)}}),g1}var m1,WC;function Lq(){return WC||(WC=1,m1=function(t,e,n,r){var i=Et(),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,m=s.length;g<m;++g){var v=s[g];v===void 0&&!(g in s)||t.cast(v)._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)}}),m1}var y1,$C;function Wq(){return $C||($C=1,y1=function(t,e,n,r,i,o){var a=t._getDomain,s=Et(),l=s.tryCatch;function c(m,v,x,D){this.constructor$(m);var w=a();this._fn=w===null?v:s.domainBind(w,v),x!==void 0&&(x=t.resolve(x),x._attachCancellationCallback(this)),this._initialValue=x,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(m){this._eachValues!==void 0&&this._eachValues!==null&&m!==i&&this._eachValues.push(m)},c.prototype._eachComplete=function(m){return this._eachValues!==null&&this._eachValues.push(m),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(m){this._promise._resolveCallback(m),this._values=null},c.prototype._resultCancelled=function(m){if(m===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(m){this._values=m;var v,x,D=m.length;if(this._initialValue!==void 0?(v=this._initialValue,x=0):(v=t.resolve(m[0]),x=1),this._currentCancellable=v,!v.isRejected())for(;x<D;++x){var w={accum:null,value:m[x],index:x,length:D,array:this};v=v._then(p,void 0,void 0,w,void 0)}this._eachValues!==void 0&&(v=v._then(this._eachComplete,void 0,void 0,this,void 0)),v._then(f,f,void 0,v,this)},t.prototype.reduce=function(m,v){return d(this,m,v,null)},t.reduce=function(m,v,x,D){return d(m,v,x,D)};function f(m,v){this.isFulfilled()?v._resolve(m):v._reject(m)}function d(m,v,x,D){if(typeof v!="function")return n("expecting a function but got "+s.classString(v));var w=new c(m,v,x,D);return w.promise()}function p(m){this.accum=m,this.array._gotAccum(m);var v=r(this.value,this.array._promise);return v instanceof t?(this.array._currentCancellable=v,v._then(g,void 0,void 0,this,void 0)):g.call(this,v)}function g(m){var v=this.array,x=v._promise,D=l(v._fn);x._pushContext();var w;v._eachValues!==void 0?w=D.call(x._boundValue(),m,this.index,this.length):w=D.call(x._boundValue(),this.accum,m,this.index,this.length),w instanceof t&&(v._currentCancellable=w);var C=x._popContext();return o.checkForgottenReturns(w,C,v._eachValues!==void 0?"Promise.each":"Promise.reduce",x),w}}),y1}var b1,zC;function $q(){return zC||(zC=1,b1=function(t,e,n){var r=t.PromiseInspection,i=Et();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)}}),b1}var v1,jC;function zq(){return jC||(jC=1,v1=function(t,e,n){var r=Et(),i=ms().RangeError,o=ms().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}),v1}var x1,VC;function jq(){return VC||(VC=1,x1=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)}}),x1}var D1,HC;function Vq(){return HC||(HC=1,D1=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}),D1}var w1,qC;function Hq(){return qC||(qC=1,w1=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)}}),w1}(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(z){return F.reject(new p(z))};function i(){}var o={},a=Et(),s;a.isNode?s=function(){var z=process.domain;return z===void 0&&(z=null),z}:s=function(){return null},a.notEnumerableProp(F,"_getDomain",s);var l=qu(),c=bq(),f=new c;l.defineProperty(F,"_async",{value:f});var d=ms(),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 m=function(){},v={},x={},D=vq()(F,m),w=xq()(F,m,D,r,i),C=Dq()(F),R=C.create,U=wq()(F,C);U.CapturedTrace;var I=Sq()(F,D),N=Tq()(x),V=o8(),j=a.errorObj,oe=a.tryCatch;function ue(z,J){if(typeof J!="function")throw new p("expecting a function but got "+a.classString(J));if(z.constructor!==F)throw new p(`the promise constructor cannot be invoked directly
205
+
206
+ See http://goo.gl/MqrFmX
207
+ `)}function F(z){this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,z!==m&&(ue(this,z),this._resolveFromExecutor(z)),this._promiseCreated(),this._fireEvent("promiseCreated",this)}F.prototype.toString=function(){return"[object Promise]"},F.prototype.caught=F.prototype.catch=function(z){var J=arguments.length;if(J>1){var Y=new Array(J-1),G=0,ae;for(ae=0;ae<J-1;++ae){var H=arguments[ae];if(a.isObject(H))Y[G++]=H;else return r("expecting an object but got A catch statement predicate "+a.classString(H))}return Y.length=G,z=arguments[ae],this.then(void 0,N(Y,z,this))}return this.then(void 0,z)},F.prototype.reflect=function(){return this._then(n,n,void 0,this,void 0)},F.prototype.then=function(z,J){if(U.warnings()&&arguments.length>0&&typeof z!="function"&&typeof J!="function"){var Y=".then() only accepts functions but was passed: "+a.classString(z);arguments.length>1&&(Y+=", "+a.classString(J)),this._warn(Y)}return this._then(z,J,void 0,void 0,void 0)},F.prototype.done=function(z,J){var Y=this._then(z,J,void 0,void 0,void 0);Y._setIsFinal()},F.prototype.spread=function(z){return typeof z!="function"?r("expecting a function but got "+a.classString(z)):this.all()._then(z,void 0,void 0,v,void 0)},F.prototype.toJSON=function(){var z={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(z.fulfillmentValue=this.value(),z.isFulfilled=!0):this.isRejected()&&(z.rejectionReason=this.reason(),z.isRejected=!0),z},F.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new w(this).promise()},F.prototype.error=function(z){return this.caught(a.originatesFromRejection,z)},F.getNewLibraryCopy=t.exports,F.is=function(z){return z instanceof F},F.fromNode=F.fromCallback=function(z){var J=new F(m);J._captureStackTrace();var Y=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,G=oe(z)(V(J,Y));return G===j&&J._rejectCallback(G.e,!0),J._isFateSealed()||J._setAsyncGuaranteed(),J},F.all=function(z){return new w(z).promise()},F.cast=function(z){var J=D(z);return J instanceof F||(J=new F(m),J._captureStackTrace(),J._setFulfilled(),J._rejectionHandler0=z),J},F.resolve=F.fulfilled=F.cast,F.reject=F.rejected=function(z){var J=new F(m);return J._captureStackTrace(),J._rejectCallback(z,!0),J},F.setScheduler=function(z){if(typeof z!="function")throw new p("expecting a function but got "+a.classString(z));return f.setScheduler(z)},F.prototype._then=function(z,J,Y,G,ae){var H=ae!==void 0,P=H?ae:new F(m),he=this._target(),Se=he._bitField;H||(P._propagateFrom(this,3),P._captureStackTrace(),G===void 0&&this._bitField&2097152&&(Se&50397184?G=this._boundValue():G=he===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,P));var ye=s();if(Se&50397184){var Ae,je,$e=he._settlePromiseCtx;Se&33554432?(je=he._rejectionHandler0,Ae=z):Se&16777216?(je=he._fulfillmentHandler0,Ae=J,he._unsetRejectionIsUnhandled()):($e=he._settlePromiseLateCancellationObserver,je=new g("late cancellation observer"),he._attachExtraTrace(je),Ae=J),f.invoke($e,he,{handler:ye===null?Ae:typeof Ae=="function"&&a.domainBind(ye,Ae),promise:P,receiver:G,value:je})}else he._addCallbacks(z,J,P,G,ye);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(z){this._bitField=this._bitField&-65536|z&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(z){var J=z===0?this._receiver0:this[z*4-4+3];if(J!==o)return J===void 0&&this._isBound()?this._boundValue():J},F.prototype._promiseAt=function(z){return this[z*4-4+2]},F.prototype._fulfillmentHandlerAt=function(z){return this[z*4-4+0]},F.prototype._rejectionHandlerAt=function(z){return this[z*4-4+1]},F.prototype._boundValue=function(){},F.prototype._migrateCallback0=function(z){z._bitField;var J=z._fulfillmentHandler0,Y=z._rejectionHandler0,G=z._promise0,ae=z._receiverAt(0);ae===void 0&&(ae=o),this._addCallbacks(J,Y,G,ae,null)},F.prototype._migrateCallbackAt=function(z,J){var Y=z._fulfillmentHandlerAt(J),G=z._rejectionHandlerAt(J),ae=z._promiseAt(J),H=z._receiverAt(J);H===void 0&&(H=o),this._addCallbacks(Y,G,ae,H,null)},F.prototype._addCallbacks=function(z,J,Y,G,ae){var H=this._length();if(H>=65531&&(H=0,this._setLength(0)),H===0)this._promise0=Y,this._receiver0=G,typeof z=="function"&&(this._fulfillmentHandler0=ae===null?z:a.domainBind(ae,z)),typeof J=="function"&&(this._rejectionHandler0=ae===null?J:a.domainBind(ae,J));else{var P=H*4-4;this[P+2]=Y,this[P+3]=G,typeof z=="function"&&(this[P+0]=ae===null?z:a.domainBind(ae,z)),typeof J=="function"&&(this[P+1]=ae===null?J:a.domainBind(ae,J))}return this._setLength(H+1),H},F.prototype._proxy=function(z,J){this._addCallbacks(void 0,void 0,J,z,null)},F.prototype._resolveCallback=function(z,J){if(!(this._bitField&117506048)){if(z===this)return this._rejectCallback(e(),!1);var Y=D(z,this);if(!(Y instanceof F))return this._fulfill(z);J&&this._propagateFrom(Y,2);var G=Y._target();if(G===this){this._reject(e());return}var ae=G._bitField;if(ae&50397184)if(ae&33554432)this._fulfill(G._value());else if(ae&16777216)this._reject(G._reason());else{var he=new g("late cancellation observer");G._attachExtraTrace(he),this._reject(he)}else{var H=this._length();H>0&&G._migrateCallback0(this);for(var P=1;P<H;++P)G._migrateCallbackAt(this,P);this._setFollowing(),this._setLength(0),this._setFollowee(G)}}},F.prototype._rejectCallback=function(z,J,Y){var G=a.ensureErrorObject(z),ae=G===z;if(!ae&&!Y&&U.warnings()){var H="a promise was rejected with a non-error: "+a.classString(z);this._warn(H,!0)}this._attachExtraTrace(G,J?ae:!1),this._reject(z)},F.prototype._resolveFromExecutor=function(z){var J=this;this._captureStackTrace(),this._pushContext();var Y=!0,G=this._execute(z,function(ae){J._resolveCallback(ae)},function(ae){J._rejectCallback(ae,Y)});Y=!1,this._popContext(),G!==void 0&&J._rejectCallback(G,!0)},F.prototype._settlePromiseFromHandler=function(z,J,Y,G){var ae=G._bitField;if(!(ae&65536)){G._pushContext();var H;J===v?!Y||typeof Y.length!="number"?(H=j,H.e=new p("cannot .spread() a non-array: "+a.classString(Y))):H=oe(z).apply(this._boundValue(),Y):H=oe(z).call(J,Y);var P=G._popContext();ae=G._bitField,!(ae&65536)&&(H===x?G._reject(Y):H===j?G._rejectCallback(H.e,!1):(U.checkForgottenReturns(H,P,"",G,this),G._resolveCallback(H)))}},F.prototype._target=function(){for(var z=this;z._isFollowing();)z=z._followee();return z},F.prototype._followee=function(){return this._rejectionHandler0},F.prototype._setFollowee=function(z){this._rejectionHandler0=z},F.prototype._settlePromise=function(z,J,Y,G){var ae=z instanceof F,H=this._bitField,P=(H&134217728)!==0;H&65536?(ae&&z._invokeInternalOnCancel(),Y instanceof I&&Y.isFinallyHandler()?(Y.cancelPromise=z,oe(J).call(Y,G)===j&&z._reject(j.e)):J===n?z._fulfill(n.call(Y)):Y instanceof i?Y._promiseCancelled(z):ae||z instanceof w?z._cancel():Y.cancel()):typeof J=="function"?ae?(P&&z._setAsyncGuaranteed(),this._settlePromiseFromHandler(J,Y,G,z)):J.call(Y,G,z):Y instanceof i?Y._isResolved()||(H&33554432?Y._promiseFulfilled(G,z):Y._promiseRejected(G,z)):ae&&(P&&z._setAsyncGuaranteed(),H&33554432?z._fulfill(G):z._reject(G))},F.prototype._settlePromiseLateCancellationObserver=function(z){var J=z.handler,Y=z.promise,G=z.receiver,ae=z.value;typeof J=="function"?Y instanceof F?this._settlePromiseFromHandler(J,G,ae,Y):J.call(G,ae,Y):Y instanceof F&&Y._reject(ae)},F.prototype._settlePromiseCtx=function(z){this._settlePromise(z.promise,z.handler,z.receiver,z.value)},F.prototype._settlePromise0=function(z,J,Y){var G=this._promise0,ae=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(G,z,ae,J)},F.prototype._clearCallbackDataAtIndex=function(z){var J=z*4-4;this[J+2]=this[J+3]=this[J+0]=this[J+1]=void 0},F.prototype._fulfill=function(z){var J=this._bitField;if(!((J&117506048)>>>16)){if(z===this){var Y=e();return this._attachExtraTrace(Y),this._reject(Y)}this._setFulfilled(),this._rejectionHandler0=z,(J&65535)>0&&(J&134217728?this._settlePromises():f.settlePromises(this))}},F.prototype._reject=function(z){var J=this._bitField;if(!((J&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=z,this._isFinal())return f.fatalError(z,a.isNode);(J&65535)>0?f.settlePromises(this):this._ensurePossibleRejectionHandled()}},F.prototype._fulfillPromises=function(z,J){for(var Y=1;Y<z;Y++){var G=this._fulfillmentHandlerAt(Y),ae=this._promiseAt(Y),H=this._receiverAt(Y);this._clearCallbackDataAtIndex(Y),this._settlePromise(ae,G,H,J)}},F.prototype._rejectPromises=function(z,J){for(var Y=1;Y<z;Y++){var G=this._rejectionHandlerAt(Y),ae=this._promiseAt(Y),H=this._receiverAt(Y);this._clearCallbackDataAtIndex(Y),this._settlePromise(ae,G,H,J)}},F.prototype._settlePromises=function(){var z=this._bitField,J=z&65535;if(J>0){if(z&16842752){var Y=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,Y,z),this._rejectPromises(J,Y)}else{var G=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,G,z),this._fulfillPromises(J,G)}this._setLength(0)}this._clearCancellationData()},F.prototype._settledValue=function(){var z=this._bitField;if(z&33554432)return this._rejectionHandler0;if(z&16777216)return this._fulfillmentHandler0};function X(z){this.promise._resolveCallback(z)}function E(z){this.promise._rejectCallback(z,!1)}F.defer=F.pending=function(){U.deprecated("Promise.defer","new Promise");var z=new F(m);return{promise:z,resolve:X,reject:E}},a.notEnumerableProp(F,"_makeSelfResolutionError",e),_q()(F,m,D,r,U),Cq()(F,m,D,U),Eq()(F,w,r,U),kq()(F),Aq()(F),Uq()(F,w,D,m,f,s),F.Promise=F,F.version="3.4.7",Fq()(F,w,r,D,m,U),Rq()(F),Oq()(F,r,D,R,m,U),Iq()(F,m,U),Bq()(F,r,m,D,i,U),Mq()(F),Nq()(F,m),Pq()(F,w,D,r),Lq()(F,m,D,r),Wq()(F,w,r,D,m,U),$q()(F,w,U),zq()(F,w,r),jq()(F,m),Vq()(F,m),Hq()(F),a.toFastProperties(F),a.toFastProperties(F.prototype);function re(z){var J=new F(m);J._fulfillmentHandler0=z,J._rejectionHandler0=z,J._promise0=z,J._receiver0=z}return re({a:1}),re({b:2}),re({c:3}),re(1),re(function(){}),re(void 0),re(!1),re(new F(m)),U.setBounds(c.firstLineError,a.lastLineError),F}})(i8);var qq=i8.exports,Gq=qt,Dr=qq();un.defer=Xq;un.when=Dr.resolve;un.resolve=Dr.resolve;un.all=Dr.all;un.props=Dr.props;un.reject=Dr.reject;un.promisify=Dr.promisify;un.mapSeries=Dr.mapSeries;un.attempt=Dr.attempt;un.nfcall=function(t){var e=Array.prototype.slice.call(arguments,1),n=Dr.promisify(t);return n.apply(null,e)};Dr.prototype.fail=Dr.prototype.caught;Dr.prototype.also=function(t){return this.then(function(e){var n=Gq.extend({},e,t(e));return Dr.props(n)})};function Xq(){var t,e,n=new Dr.Promise(function(r,i){t=r,e=i});return{resolve:t,reject:e,promise:n}}var ut={},Jq=qt,Tn=ut.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 Yq(t,e){return e=e||{},{type:Tn.document,children:t,notes:e.notes||new ly({}),comments:e.comments||[]}}function Kq(t,e){e=e||{};var n=e.indent||{};return{type:Tn.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 Zq(t,e){return e=e||{},{type:Tn.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||a8.baseline,font:e.font||null,fontSize:e.fontSize||null,highlight:e.highlight||null}}var a8={baseline:"baseline",superscript:"superscript",subscript:"subscript"};function Qq(t){return{type:Tn.text,value:t}}function eG(){return{type:Tn.tab}}function tG(t){return{type:Tn.checkbox,checked:t.checked}}function nG(t,e){return{type:Tn.hyperlink,children:t,href:e.href,anchor:e.anchor,targetFrame:e.targetFrame}}function rG(t){return{type:Tn.noteReference,noteType:t.noteType,noteId:t.noteId}}function ly(t){this._notes=Jq.indexBy(t,function(e){return s8(e.noteType,e.noteId)})}ly.prototype.resolve=function(t){return this.findNoteByKey(s8(t.noteType,t.noteId))};ly.prototype.findNoteByKey=function(t){return this._notes[t]||null};function iG(t){return{type:Tn.note,noteType:t.noteType,noteId:t.noteId,body:t.body}}function oG(t){return{type:Tn.commentReference,commentId:t.commentId}}function aG(t){return{type:Tn.comment,commentId:t.commentId,body:t.body,authorName:t.authorName,authorInitials:t.authorInitials}}function s8(t,e){return t+"-"+e}function sG(t){return{type:Tn.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 lG(t,e){return e=e||{},{type:Tn.table,children:t,styleId:e.styleId||null,styleName:e.styleName||null}}function cG(t,e){return e=e||{},{type:Tn.tableRow,children:t,isHeader:e.isHeader||!1}}function uG(t,e){return e=e||{},{type:Tn.tableCell,children:t,colSpan:e.colSpan==null?1:e.colSpan,rowSpan:e.rowSpan==null?1:e.rowSpan}}function jD(t){return{type:Tn.break,breakType:t}}function fG(t){return{type:Tn.bookmarkStart,name:t.name}}ut.document=ut.Document=Yq;ut.paragraph=ut.Paragraph=Kq;ut.run=ut.Run=Zq;ut.text=ut.Text=Qq;ut.tab=ut.Tab=eG;ut.checkbox=ut.Checkbox=tG;ut.Hyperlink=nG;ut.noteReference=ut.NoteReference=rG;ut.Notes=ly;ut.Note=iG;ut.commentReference=oG;ut.comment=aG;ut.Image=sG;ut.Table=lG;ut.TableRow=cG;ut.TableCell=uG;ut.lineBreak=jD("line");ut.pageBreak=jD("page");ut.columnBreak=jD("column");ut.BookmarkStart=fG;ut.verticalAlignment=a8;var Pr={},Jd=qt;Pr.Result=lo;Pr.success=dG;Pr.warning=hG;Pr.error=pG;function lo(t,e){this.value=t,this.messages=e||[]}lo.prototype.map=function(t){return new lo(t(this.value),this.messages)};lo.prototype.flatMap=function(t){var e=t(this.value);return new lo(e.value,VD([this,e]))};lo.prototype.flatMapThen=function(t){var e=this;return t(this.value).then(function(n){return new lo(n.value,VD([e,n]))})};lo.combine=function(t){var e=Jd.flatten(Jd.pluck(t,"value")),n=VD(t);return new lo(e,n)};function dG(t){return new lo(t,[])}function hG(t){return{type:"warning",message:t}}function pG(t){return{type:"error",message:t.message,error:t}}function VD(t){var e=[];return Jd.flatten(Jd.pluck(t,"messages"),!0).forEach(function(n){gG(e,n)||e.push(n)}),e}function gG(t,e){return Jd.find(t,mG.bind(null,e))!==void 0}function mG(t,e){return t.type===e.type&&t.message===e.message}var Dh={},cy={};cy.byteLength=vG;cy.toByteArray=DG;cy.fromByteArray=TG;var Ji=[],ti=[],yG=typeof Uint8Array<"u"?Uint8Array:Array,S1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Jc=0,bG=S1.length;Jc<bG;++Jc)Ji[Jc]=S1[Jc],ti[S1.charCodeAt(Jc)]=Jc;ti[45]=62;ti[95]=63;function l8(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 vG(t){var e=l8(t),n=e[0],r=e[1];return(n+r)*3/4-r}function xG(t,e,n){return(e+n)*3/4-n}function DG(t){var e,n=l8(t),r=n[0],i=n[1],o=new yG(xG(t,r,i)),a=0,s=i>0?r-4:r,l;for(l=0;l<s;l+=4)e=ti[t.charCodeAt(l)]<<18|ti[t.charCodeAt(l+1)]<<12|ti[t.charCodeAt(l+2)]<<6|ti[t.charCodeAt(l+3)],o[a++]=e>>16&255,o[a++]=e>>8&255,o[a++]=e&255;return i===2&&(e=ti[t.charCodeAt(l)]<<2|ti[t.charCodeAt(l+1)]>>4,o[a++]=e&255),i===1&&(e=ti[t.charCodeAt(l)]<<10|ti[t.charCodeAt(l+1)]<<4|ti[t.charCodeAt(l+2)]>>2,o[a++]=e>>8&255,o[a++]=e&255),o}function wG(t){return Ji[t>>18&63]+Ji[t>>12&63]+Ji[t>>6&63]+Ji[t&63]}function SG(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(wG(r));return i.join("")}function TG(t){for(var e,n=t.length,r=n%3,i=[],o=16383,a=0,s=n-r;a<s;a+=o)i.push(SG(t,a,a+o>s?s:a+o));return r===1?(e=t[n-1],i.push(Ji[e>>2]+Ji[e<<4&63]+"==")):r===2&&(e=(t[n-2]<<8)+t[n-1],i.push(Ji[e>>10]+Ji[e>>4&63]+Ji[e<<2&63]+"=")),i.join("")}function Ap(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 c8={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 Ap=="function"&&Ap;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(m){var v=r[c][1][m];return a(v||m)},g,g.exports,n,r,i,o)}return i[c].exports}for(var s=typeof Ap=="function"&&Ap,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,m,v,x=[],D=0,w=l.length,C=w,R=o.getTypeOf(l)!=="string";D<l.length;)C=w-D,d=R?(c=l[D++],f=D<w?l[D++]:0,D<w?l[D++]:0):(c=l.charCodeAt(D++),f=D<w?l.charCodeAt(D++):0,D<w?l.charCodeAt(D++):0),p=c>>2,g=(3&c)<<4|f>>4,m=1<C?(15&f)<<2|d>>6:64,v=2<C?63&d:64,x.push(s.charAt(p)+s.charAt(g)+s.charAt(m)+s.charAt(v));return x.join("")},i.decode=function(l){var c,f,d,p,g,m,v=0,x=0,D="data:";if(l.substr(0,D.length)===D)throw new Error("Invalid base64 input, it looks like a data url.");var w,C=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===s.charAt(64)&&C--,l.charAt(l.length-2)===s.charAt(64)&&C--,C%1!=0)throw new Error("Invalid base64 input, bad content length.");for(w=a.uint8array?new Uint8Array(0|C):new Array(0|C);v<l.length;)c=s.indexOf(l.charAt(v++))<<2|(p=s.indexOf(l.charAt(v++)))>>4,f=(15&p)<<4|(g=s.indexOf(l.charAt(v++)))>>2,d=(3&g)<<6|(m=s.indexOf(l.charAt(v++))),w[x++]=c,g!==64&&(w[x++]=f),m!==64&&(w[x++]=d);return w}},{"./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,m){this.compressedSize=f,this.uncompressedSize=d,this.crc32=p,this.compression=g,this.compressedContent=m}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,m=p+d;c^=-1;for(var v=p;v<m;v++)c=c>>>8^g[255&(c^f[v])];return-1^c}(0|l,s,s.length,0):function(c,f,d,p){var g=a,m=p+d;c^=-1;for(var v=p;v<m;v++)c=c>>>8^g[255&(c^f.charCodeAt(v))];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,m){var v,x="";for(v=0;v<m;v++)x+=String.fromCharCode(255&g),g>>>=8;return x}function a(g,m,v,x,D,w){var C,R,U=g.file,I=g.compression,N=w!==c.utf8encode,V=s.transformTo("string",w(U.name)),j=s.transformTo("string",c.utf8encode(U.name)),oe=U.comment,ue=s.transformTo("string",w(oe)),F=s.transformTo("string",c.utf8encode(oe)),X=j.length!==U.name.length,E=F.length!==oe.length,re="",z="",J="",Y=U.dir,G=U.date,ae={crc32:0,compressedSize:0,uncompressedSize:0};m&&!v||(ae.crc32=g.crc32,ae.compressedSize=g.compressedSize,ae.uncompressedSize=g.uncompressedSize);var H=0;m&&(H|=8),N||!X&&!E||(H|=2048);var P=0,he=0;Y&&(P|=16),D==="UNIX"?(he=798,P|=function(ye,Ae){var je=ye;return ye||(je=Ae?16893:33204),(65535&je)<<16}(U.unixPermissions,Y)):(he=20,P|=function(ye){return 63&(ye||0)}(U.dosPermissions)),C=G.getUTCHours(),C<<=6,C|=G.getUTCMinutes(),C<<=5,C|=G.getUTCSeconds()/2,R=G.getUTCFullYear()-1980,R<<=4,R|=G.getUTCMonth()+1,R<<=5,R|=G.getUTCDate(),X&&(z=o(1,1)+o(f(V),4)+j,re+="up"+o(z.length,2)+z),E&&(J=o(1,1)+o(f(ue),4)+F,re+="uc"+o(J.length,2)+J);var Se="";return Se+=`
218
+ \0`,Se+=o(H,2),Se+=I.magic,Se+=o(C,2),Se+=o(R,2),Se+=o(ae.crc32,4),Se+=o(ae.compressedSize,4),Se+=o(ae.uncompressedSize,4),Se+=o(V.length,2),Se+=o(re.length,2),{fileRecord:d.LOCAL_FILE_HEADER+Se+V+re,dirRecord:d.CENTRAL_FILE_HEADER+o(he,2)+Se+o(ue.length,2)+"\0\0\0\0"+o(P,4)+o(x,4)+V+re+ue}}var s=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),f=n("../crc32"),d=n("../signature");function p(g,m,v,x){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=m,this.zipPlatform=v,this.encodeFileName=x,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 m=g.meta.percent||0,v=this.entriesCount,x=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:v?(m+100*(v-x-1))/v:100}}))},p.prototype.openedSource=function(g){this.currentSourceOffset=this.bytesWritten,this.currentFile=g.file.name;var m=this.streamFiles&&!g.file.dir;if(m){var v=a(g,m,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:v.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(g){this.accumulate=!1;var m=this.streamFiles&&!g.file.dir,v=a(g,m,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(v.dirRecord),m)this.push({data:function(x){return d.DATA_DESCRIPTOR+o(x.crc32,4)+o(x.compressedSize,4)+o(x.uncompressedSize,4)}(g),meta:{percent:100}});else for(this.push({data:v.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},p.prototype.flush=function(){for(var g=this.bytesWritten,m=0;m<this.dirRecords.length;m++)this.push({data:this.dirRecords[m],meta:{percent:100}});var v=this.bytesWritten-g,x=function(D,w,C,R,U){var I=s.transformTo("string",U(R));return d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+o(D,2)+o(D,2)+o(w,4)+o(C,4)+o(I.length,2)+I}(this.dirRecords.length,v,g,this.zipComment,this.encodeFileName);this.push({data:x,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 m=this;return g.on("data",function(v){m.processChunk(v)}),g.on("end",function(){m.closedSource(m.previous.streamInfo),m._sources.length?m.prepareNextSource():m.end()}),g.on("error",function(v){m.error(v)}),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 m=this._sources;if(!l.prototype.error.call(this,g))return!1;for(var v=0;v<m.length;v++)try{m[v].error(g)}catch{}return!0},p.prototype.lock=function(){l.prototype.lock.call(this);for(var g=this._sources,m=0;m<g.length;m++)g[m].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 m=function(w,C){var R=w||C,U=o[R];if(!U)throw new Error(R+" is not a valid compression method !");return U}(g.options.compression,l.compression),v=g.options.compressionOptions||l.compressionOptions||{},x=g.dir,D=g.date;g._compressWorker(m,v).withStreamInfo("file",{name:p,dir:x,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,m){var v=p.decompressed.getContentWorker().pipe(new c);v.on("error",function(x){m(x)}).on("end",function(){v.streamInfo.crc32!==p.decompressed.crc32?m(new Error("Corrupted zip : CRC32 mismatch")):g()}).resume()})}r.exports=function(p,g){var m=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(v){var x=new l(g);return x.load(v),x}).then(function(v){var x=[a.Promise.resolve(v)],D=v.files;if(g.checkCRC32)for(var w=0;w<D.length;w++)x.push(d(D[w]));return a.Promise.all(x)}).then(function(v){for(var x=v.shift(),D=x.files,w=0;w<D.length;w++){var C=D[w],R=C.fileNameStr,U=o.resolve(C.fileNameStr);m.file(U,C.decompressed,{binary:!0,optimizedBinaryString:!0,date:C.date,dir:C.dir,comment:C.fileCommentStr.length?C.fileCommentStr:null,unixPermissions:C.unixPermissions,dosPermissions:C.dosPermissions,createFolders:g.createFolders}),C.dir||(m.file(U).unsafeOriginalName=R)}return x.zipComment.length&&(m.comment=x.zipComment),m})}},{"./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,I,N){var V,j=s.getTypeOf(I),oe=s.extend(N||{},f);oe.date=oe.date||new Date,oe.compression!==null&&(oe.compression=oe.compression.toUpperCase()),typeof oe.unixPermissions=="string"&&(oe.unixPermissions=parseInt(oe.unixPermissions,8)),oe.unixPermissions&&16384&oe.unixPermissions&&(oe.dir=!0),oe.dosPermissions&&16&oe.dosPermissions&&(oe.dir=!0),oe.dir&&(U=D(U)),oe.createFolders&&(V=x(U))&&w.call(this,V,!0);var ue=j==="string"&&oe.binary===!1&&oe.base64===!1;N&&N.binary!==void 0||(oe.binary=!ue),(I instanceof d&&I.uncompressedSize===0||oe.dir||!I||I.length===0)&&(oe.base64=!1,oe.binary=!0,I="",oe.compression="STORE",j="string");var F=null;F=I instanceof d||I instanceof l?I:m.isNode&&m.isStream(I)?new v(U,I):s.prepareContent(U,I,oe.binary,oe.optimizedBinaryString,oe.base64);var X=new p(U,F,oe);this.files[U]=X}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"),m=n("./nodejsUtils"),v=n("./nodejs/NodejsStreamInputAdapter"),x=function(U){U.slice(-1)==="/"&&(U=U.substring(0,U.length-1));var I=U.lastIndexOf("/");return 0<I?U.substring(0,I):""},D=function(U){return U.slice(-1)!=="/"&&(U+="/"),U},w=function(U,I){return I=I!==void 0?I:f.createFolders,U=D(U),this.files[U]||o.call(this,U,null,{dir:!0,createFolders:I}),this.files[U]};function C(U){return Object.prototype.toString.call(U)==="[object RegExp]"}var R={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(U){var I,N,V;for(I in this.files)V=this.files[I],(N=I.slice(this.root.length,I.length))&&I.slice(0,this.root.length)===this.root&&U(N,V)},filter:function(U){var I=[];return this.forEach(function(N,V){U(N,V)&&I.push(V)}),I},file:function(U,I,N){if(arguments.length!==1)return U=this.root+U,o.call(this,U,I,N),this;if(C(U)){var V=U;return this.filter(function(oe,ue){return!ue.dir&&V.test(oe)})}var j=this.files[this.root+U];return j&&!j.dir?j:null},folder:function(U){if(!U)return this;if(C(U))return this.filter(function(j,oe){return oe.dir&&U.test(j)});var I=this.root+U,N=w.call(this,I),V=this.clone();return V.root=N.name,V},remove:function(U){U=this.root+U;var I=this.files[U];if(I||(U.slice(-1)!=="/"&&(U+="/"),I=this.files[U]),I&&!I.dir)delete this.files[U];else for(var N=this.filter(function(j,oe){return oe.name.slice(0,U.length)===U}),V=0;V<N.length;V++)delete this.files[N[V].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 I,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 V=N.comment||this.comment||"";I=g.generateWorker(this,N,V)}catch(j){(I=new l("error")).error(j)}return new c(I,N.type||"string",N.mimeType)},generateAsync:function(U,I){return this.generateInternalStream(U).accumulate(I)},generateNodeStream:function(U,I){return(U=U||{}).type||(U.type="nodebuffer"),this.generateInternalStream(U).toNodejsStream(I)}};r.exports=R},{"./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(m,v){return new f.Promise(function(x,D){var w=[],C=m._internalType,R=m._outputType,U=m._mimeType;m.on("data",function(I,N){w.push(I),v&&v(N)}).on("error",function(I){w=[],D(I)}).on("end",function(){try{var I=function(N,V,j){switch(N){case"blob":return o.newBlob(o.transformTo("arraybuffer",V),j);case"base64":return l.encode(V);default:return o.transformTo(N,V)}}(R,function(N,V){var j,oe=0,ue=null,F=0;for(j=0;j<V.length;j++)F+=V[j].length;switch(N){case"string":return V.join("");case"array":return Array.prototype.concat.apply([],V);case"uint8array":for(ue=new Uint8Array(F),j=0;j<V.length;j++)ue.set(V[j],oe),oe+=V[j].length;return ue;case"nodebuffer":return Buffer.concat(V);default:throw new Error("concat : unsupported type '"+N+"'")}}(C,w),U);x(I)}catch(N){D(N)}w=[]}).resume()})}function g(m,v,x){var D=v;switch(v){case"blob":case"arraybuffer":D="uint8array";break;case"base64":D="string"}try{this._internalType=D,this._outputType=v,this._mimeType=x,o.checkSupport(D),this._worker=m.pipe(new a(D)),m.lock()}catch(w){this._worker=new s("error"),this._worker.error(w)}}g.prototype={accumulate:function(m){return p(this,m)},on:function(m,v){var x=this;return m==="data"?this._worker.on(m,function(D){v.call(x,D.data,D.meta)}):this._worker.on(m,function(){o.delay(v,arguments,x)}),this},resume:function(){return o.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(m){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"},m)}},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(m){var v,x,D,w,C,R=m.length,U=0;for(w=0;w<R;w++)(64512&(x=m.charCodeAt(w)))==55296&&w+1<R&&(64512&(D=m.charCodeAt(w+1)))==56320&&(x=65536+(x-55296<<10)+(D-56320),w++),U+=x<128?1:x<2048?2:x<65536?3:4;for(v=a.uint8array?new Uint8Array(U):new Array(U),w=C=0;C<U;w++)(64512&(x=m.charCodeAt(w)))==55296&&w+1<R&&(64512&(D=m.charCodeAt(w+1)))==56320&&(x=65536+(x-55296<<10)+(D-56320),w++),x<128?v[C++]=x:(x<2048?v[C++]=192|x>>>6:(x<65536?v[C++]=224|x>>>12:(v[C++]=240|x>>>18,v[C++]=128|x>>>12&63),v[C++]=128|x>>>6&63),v[C++]=128|63&x);return v}(g)},i.utf8decode=function(g){return a.nodebuffer?o.transformTo("nodebuffer",g).toString("utf-8"):function(m){var v,x,D,w,C=m.length,R=new Array(2*C);for(v=x=0;v<C;)if((D=m[v++])<128)R[x++]=D;else if(4<(w=c[D]))R[x++]=65533,v+=w-1;else{for(D&=w===2?31:w===3?15:7;1<w&&v<C;)D=D<<6|63&m[v++],w--;1<w?R[x++]=65533:D<65536?R[x++]=D:(D-=65536,R[x++]=55296|D>>10&1023,R[x++]=56320|1023&D)}return R.length!==x&&(R.subarray?R=R.subarray(0,x):R.length=x),o.applyFromCharCode(R)}(g=o.transformTo(a.uint8array?"uint8array":"array",g))},o.inherits(d,l),d.prototype.processChunk=function(g){var m=o.transformTo(a.uint8array?"uint8array":"array",g.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var v=m;(m=new Uint8Array(v.length+this.leftOver.length)).set(this.leftOver,0),m.set(v,this.leftOver.length)}else m=this.leftOver.concat(m);this.leftOver=null}var x=function(w,C){var R;for((C=C||w.length)>w.length&&(C=w.length),R=C-1;0<=R&&(192&w[R])==128;)R--;return R<0||R===0?C:R+c[w[R]]>C?R:C}(m),D=m;x!==m.length&&(a.uint8array?(D=m.subarray(0,x),this.leftOver=m.subarray(x,m.length)):(D=m.slice(0,x),this.leftOver=m.slice(x,m.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(v){return v}function f(v,x){for(var D=0;D<v.length;++D)x[D]=255&v.charCodeAt(D);return x}n("setimmediate"),i.newBlob=function(v,x){i.checkSupport("blob");try{return new Blob([v],{type:x})}catch{try{var D=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return D.append(v),D.getBlob(x)}catch{throw new Error("Bug : can't construct the Blob.")}}};var d={stringifyByChunk:function(v,x,D){var w=[],C=0,R=v.length;if(R<=D)return String.fromCharCode.apply(null,v);for(;C<R;)x==="array"||x==="nodebuffer"?w.push(String.fromCharCode.apply(null,v.slice(C,Math.min(C+D,R)))):w.push(String.fromCharCode.apply(null,v.subarray(C,Math.min(C+D,R)))),C+=D;return w.join("")},stringifyByChar:function(v){for(var x="",D=0;D<v.length;D++)x+=String.fromCharCode(v[D]);return x},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(v){var x=65536,D=i.getTypeOf(v),w=!0;if(D==="uint8array"?w=d.applyCanBeUsed.uint8array:D==="nodebuffer"&&(w=d.applyCanBeUsed.nodebuffer),w)for(;1<x;)try{return d.stringifyByChunk(v,D,x)}catch{x=Math.floor(x/2)}return d.stringifyByChar(v)}function g(v,x){for(var D=0;D<v.length;D++)x[D]=v[D];return x}i.applyFromCharCode=p;var m={};m.string={string:c,array:function(v){return f(v,new Array(v.length))},arraybuffer:function(v){return m.string.uint8array(v).buffer},uint8array:function(v){return f(v,new Uint8Array(v.length))},nodebuffer:function(v){return f(v,s.allocBuffer(v.length))}},m.array={string:p,array:c,arraybuffer:function(v){return new Uint8Array(v).buffer},uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return s.newBufferFrom(v)}},m.arraybuffer={string:function(v){return p(new Uint8Array(v))},array:function(v){return g(new Uint8Array(v),new Array(v.byteLength))},arraybuffer:c,uint8array:function(v){return new Uint8Array(v)},nodebuffer:function(v){return s.newBufferFrom(new Uint8Array(v))}},m.uint8array={string:p,array:function(v){return g(v,new Array(v.length))},arraybuffer:function(v){return v.buffer},uint8array:c,nodebuffer:function(v){return s.newBufferFrom(v)}},m.nodebuffer={string:p,array:function(v){return g(v,new Array(v.length))},arraybuffer:function(v){return m.nodebuffer.uint8array(v).buffer},uint8array:function(v){return g(v,new Uint8Array(v.length))},nodebuffer:c},i.transformTo=function(v,x){if(x=x||"",!v)return x;i.checkSupport(v);var D=i.getTypeOf(x);return m[D][v](x)},i.resolve=function(v){for(var x=v.split("/"),D=[],w=0;w<x.length;w++){var C=x[w];C==="."||C===""&&w!==0&&w!==x.length-1||(C===".."?D.pop():D.push(C))}return D.join("/")},i.getTypeOf=function(v){return typeof v=="string"?"string":Object.prototype.toString.call(v)==="[object Array]"?"array":o.nodebuffer&&s.isBuffer(v)?"nodebuffer":o.uint8array&&v instanceof Uint8Array?"uint8array":o.arraybuffer&&v instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(v){if(!o[v.toLowerCase()])throw new Error(v+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(v){var x,D,w="";for(D=0;D<(v||"").length;D++)w+="\\x"+((x=v.charCodeAt(D))<16?"0":"")+x.toString(16).toUpperCase();return w},i.delay=function(v,x,D){setImmediate(function(){v.apply(D||null,x||[])})},i.inherits=function(v,x){function D(){}D.prototype=x.prototype,v.prototype=new D},i.extend=function(){var v,x,D={};for(v=0;v<arguments.length;v++)for(x in arguments[v])Object.prototype.hasOwnProperty.call(arguments[v],x)&&D[x]===void 0&&(D[x]=arguments[v][x]);return D},i.prepareContent=function(v,x,D,w,C){return l.Promise.resolve(x).then(function(R){return o.blob&&(R instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(R))!==-1)&&typeof FileReader<"u"?new l.Promise(function(U,I){var N=new FileReader;N.onload=function(V){U(V.target.result)},N.onerror=function(V){I(V.target.error)},N.readAsArrayBuffer(R)}):R}).then(function(R){var U=i.getTypeOf(R);return U?(U==="arraybuffer"?R=i.transformTo("uint8array",R):U==="string"&&(C?R=a.decode(R):D&&w!==!0&&(R=function(I){return f(I,o.uint8array?new Uint8Array(I.length):new Array(I.length))}(R))),R):l.Promise.reject(new Error("Can't read the data of '"+v+"'. 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 m=this.reader.readString(4)===p;return this.reader.setIndex(g),m},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,m=this.zip64EndOfCentralSize-44;0<m;)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 m=p-g;if(0<m)this.isSignature(p,s.CENTRAL_FILE_HEADER)||(this.reader.zero=m);else if(m<0)throw new Error("Corrupted zip: missing "+Math.abs(m)+" 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,m){this.options=g,this.loadOptions=m}p.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(g){var m,v;if(g.skip(22),this.fileNameLength=g.readInt(2),v=g.readInt(2),this.fileName=g.readData(this.fileNameLength),g.skip(v),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((m=function(x){for(var D in f)if(Object.prototype.hasOwnProperty.call(f,D)&&f[D].magic===x)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,m,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 m=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(m),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 m,v,x,D=g.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});g.index+4<D;)m=g.readInt(2),v=g.readInt(2),x=g.readData(v),this.extraFields[m]={id:m,length:v,value:x};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 m=this.findExtraFieldUnicodePath();if(m!==null)this.fileNameStr=m;else{var v=a.transformTo(g,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(v)}var x=this.findExtraFieldUnicodeComment();if(x!==null)this.fileCommentStr=x;else{var D=a.transformTo(g,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(D)}}},findExtraFieldUnicodePath:function(){var g=this.extraFields[28789];if(g){var m=o(g.value);return m.readInt(1)!==1||l(this.fileName)!==m.readInt(4)?null:c.utf8decode(m.readData(g.length-5))}return null},findExtraFieldUnicodeComment:function(){var g=this.extraFields[25461];if(g){var m=o(g.value);return m.readInt(1)!==1||l(this.fileComment)!==m.readInt(4)?null:c.utf8decode(m.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(m,v,x){this.name=m,this.dir=x.dir,this.date=x.date,this.comment=x.comment,this.unixPermissions=x.unixPermissions,this.dosPermissions=x.dosPermissions,this._data=v,this._dataBinary=x.binary,this.options={compression:x.compression,compressionOptions:x.compressionOptions}}var a=n("./stream/StreamHelper"),s=n("./stream/DataWorker"),l=n("./utf8"),c=n("./compressedObject"),f=n("./stream/GenericWorker");o.prototype={internalStream:function(m){var v=null,x="string";try{if(!m)throw new Error("No output type specified.");var D=(x=m.toLowerCase())==="string"||x==="text";x!=="binarystring"&&x!=="text"||(x="string"),v=this._decompressWorker();var w=!this._dataBinary;w&&!D&&(v=v.pipe(new l.Utf8EncodeWorker)),!w&&D&&(v=v.pipe(new l.Utf8DecodeWorker))}catch(C){(v=new f("error")).error(C)}return new a(v,x,"")},async:function(m,v){return this.internalStream(m).accumulate(v)},nodeStream:function(m,v){return this.internalStream(m||"nodebuffer").toNodejsStream(v)},_compressWorker:function(m,v){if(this._data instanceof c&&this._data.compression.magic===m.magic)return this._data.getCompressedWorker();var x=this._decompressWorker();return this._dataBinary||(x=x.pipe(new l.Utf8EncodeWorker)),c.createWorkerFrom(x,m,v)},_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(m),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 v=o.document.createElement("script");v.onreadystatechange=function(){m(),v.onreadystatechange=null,v.parentNode.removeChild(v),v=null},o.document.documentElement.appendChild(v)}:function(){setTimeout(m,0)};else{var p=new o.MessageChannel;p.port1.onmessage=m,a=function(){p.port2.postMessage(0)}}var g=[];function m(){var v,x;s=!0;for(var D=g.length;D;){for(x=g,g=[],v=-1;++v<D;)x[v]();D=g.length}s=!1}r.exports=function(v){g.push(v)!==1||s||a()}}).call(this,typeof it<"u"?it: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&&v(this,D)}function p(D,w,C){this.promise=D,typeof w=="function"&&(this.onFulfilled=w,this.callFulfilled=this.otherCallFulfilled),typeof C=="function"&&(this.onRejected=C,this.callRejected=this.otherCallRejected)}function g(D,w,C){o(function(){var R;try{R=w(C)}catch(U){return s.reject(D,U)}R===D?s.reject(D,new TypeError("Cannot resolve promise with itself")):s.resolve(D,R)})}function m(D){var w=D&&D.then;if(D&&(typeof D=="object"||typeof D=="function")&&typeof w=="function")return function(){w.apply(D,arguments)}}function v(D,w){var C=!1;function R(N){C||(C=!0,s.reject(D,N))}function U(N){C||(C=!0,s.resolve(D,N))}var I=x(function(){w(U,R)});I.status==="error"&&R(I.value)}function x(D,w){var C={};try{C.value=D(w),C.status="success"}catch(R){C.status="error",C.value=R}return C}(r.exports=d).prototype.finally=function(D){if(typeof D!="function")return this;var w=this.constructor;return this.then(function(C){return w.resolve(D()).then(function(){return C})},function(C){return w.resolve(D()).then(function(){throw C})})},d.prototype.catch=function(D){return this.then(null,D)},d.prototype.then=function(D,w){if(typeof D!="function"&&this.state===c||typeof w!="function"&&this.state===l)return this;var C=new this.constructor(a);return this.state!==f?g(C,this.state===c?D:w,this.outcome):this.queue.push(new p(C,D,w)),C},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,w){var C=x(m,w);if(C.status==="error")return s.reject(D,C.value);var R=C.value;if(R)v(D,R);else{D.state=c,D.outcome=w;for(var U=-1,I=D.queue.length;++U<I;)D.queue[U].callFulfilled(w)}return D},s.reject=function(D,w){D.state=l,D.outcome=w;for(var C=-1,R=D.queue.length;++C<R;)D.queue[C].callRejected(w);return D},d.resolve=function(D){return D instanceof this?D:s.resolve(new this(a),D)},d.reject=function(D){var w=new this(a);return s.reject(w,D)},d.all=function(D){var w=this;if(Object.prototype.toString.call(D)!=="[object Array]")return this.reject(new TypeError("must be an array"));var C=D.length,R=!1;if(!C)return this.resolve([]);for(var U=new Array(C),I=0,N=-1,V=new this(a);++N<C;)j(D[N],N);return V;function j(oe,ue){w.resolve(oe).then(function(F){U[ue]=F,++I!==C||R||(R=!0,s.resolve(V,U))},function(F){R||(R=!0,s.reject(V,F))})}},d.race=function(D){var w=this;if(Object.prototype.toString.call(D)!=="[object Array]")return this.reject(new TypeError("must be an array"));var C=D.length,R=!1;if(!C)return this.resolve([]);for(var U=-1,I=new this(a);++U<C;)N=D[U],w.resolve(N).then(function(V){R||(R=!0,s.resolve(I,V))},function(V){R||(R=!0,s.reject(I,V))});var N;return I}},{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,m=8;function v(D){if(!(this instanceof v))return new v(D);this.options=a.assign({level:p,method:m,chunkSize:16384,windowBits:15,memLevel:8,strategy:g,to:""},D||{});var w=this.options;w.raw&&0<w.windowBits?w.windowBits=-w.windowBits:w.gzip&&0<w.windowBits&&w.windowBits<16&&(w.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var C=o.deflateInit2(this.strm,w.level,w.method,w.windowBits,w.memLevel,w.strategy);if(C!==d)throw new Error(l[C]);if(w.header&&o.deflateSetHeader(this.strm,w.header),w.dictionary){var R;if(R=typeof w.dictionary=="string"?s.string2buf(w.dictionary):f.call(w.dictionary)==="[object ArrayBuffer]"?new Uint8Array(w.dictionary):w.dictionary,(C=o.deflateSetDictionary(this.strm,R))!==d)throw new Error(l[C]);this._dict_set=!0}}function x(D,w){var C=new v(w);if(C.push(D,!0),C.err)throw C.msg||l[C.err];return C.result}v.prototype.push=function(D,w){var C,R,U=this.strm,I=this.options.chunkSize;if(this.ended)return!1;R=w===~~w?w:w===!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(I),U.next_out=0,U.avail_out=I),(C=o.deflate(U,R))!==1&&C!==d)return this.onEnd(C),!(this.ended=!0);U.avail_out!==0&&(U.avail_in!==0||R!==4&&R!==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)&&C!==1);return R===4?(C=o.deflateEnd(this.strm),this.onEnd(C),this.ended=!0,C===d):R!==2||(this.onEnd(d),!(U.avail_out=0))},v.prototype.onData=function(D){this.chunks.push(D)},v.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=v,i.deflate=x,i.deflateRaw=function(D,w){return(w=w||{}).raw=!0,x(D,w)},i.gzip=function(D,w){return(w=w||{}).gzip=!0,x(D,w)}},{"./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(v){if(!(this instanceof g))return new g(v);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},v||{});var x=this.options;x.raw&&0<=x.windowBits&&x.windowBits<16&&(x.windowBits=-x.windowBits,x.windowBits===0&&(x.windowBits=-15)),!(0<=x.windowBits&&x.windowBits<16)||v&&v.windowBits||(x.windowBits+=32),15<x.windowBits&&x.windowBits<48&&!(15&x.windowBits)&&(x.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,x.windowBits);if(D!==l.Z_OK)throw new Error(c[D]);this.header=new d,o.inflateGetHeader(this.strm,this.header)}function m(v,x){var D=new g(x);if(D.push(v,!0),D.err)throw D.msg||c[D.err];return D.result}g.prototype.push=function(v,x){var D,w,C,R,U,I,N=this.strm,V=this.options.chunkSize,j=this.options.dictionary,oe=!1;if(this.ended)return!1;w=x===~~x?x:x===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof v=="string"?N.input=s.binstring2buf(v):p.call(v)==="[object ArrayBuffer]"?N.input=new Uint8Array(v):N.input=v,N.next_in=0,N.avail_in=N.input.length;do{if(N.avail_out===0&&(N.output=new a.Buf8(V),N.next_out=0,N.avail_out=V),(D=o.inflate(N,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&j&&(I=typeof j=="string"?s.string2buf(j):p.call(j)==="[object ArrayBuffer]"?new Uint8Array(j):j,D=o.inflateSetDictionary(this.strm,I)),D===l.Z_BUF_ERROR&&oe===!0&&(D=l.Z_OK,oe=!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||w!==l.Z_FINISH&&w!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(C=s.utf8border(N.output,N.next_out),R=N.next_out-C,U=s.buf2string(N.output,C),N.next_out=R,N.avail_out=V-R,R&&a.arraySet(N.output,N.output,C,R,0),this.onData(U)):this.onData(a.shrinkBuf(N.output,N.next_out)))),N.avail_in===0&&N.avail_out===0&&(oe=!0)}while((0<N.avail_in||N.avail_out===0)&&D!==l.Z_STREAM_END);return D===l.Z_STREAM_END&&(w=l.Z_FINISH),w===l.Z_FINISH?(D=o.inflateEnd(this.strm),this.onEnd(D),this.ended=!0,D===l.Z_OK):w!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(N.avail_out=0))},g.prototype.onData=function(v){this.chunks.push(v)},g.prototype.onEnd=function(v){v===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=v,this.msg=this.strm.msg},i.Inflate=g,i.inflate=m,i.inflateRaw=function(v,x){return(x=x||{}).raw=!0,m(v,x)},i.ungzip=m},{"./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,m;for(c=d=0,f=l.length;c<f;c++)d+=l[c].length;for(m=new Uint8Array(d),c=p=0,f=l.length;c<f;c++)g=l[c],m.set(g,p),p+=g.length;return m}},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="",m=0;m<p;m++)g+=String.fromCharCode(d[m]);return g}l[254]=l[254]=1,i.string2buf=function(d){var p,g,m,v,x,D=d.length,w=0;for(v=0;v<D;v++)(64512&(g=d.charCodeAt(v)))==55296&&v+1<D&&(64512&(m=d.charCodeAt(v+1)))==56320&&(g=65536+(g-55296<<10)+(m-56320),v++),w+=g<128?1:g<2048?2:g<65536?3:4;for(p=new o.Buf8(w),v=x=0;x<w;v++)(64512&(g=d.charCodeAt(v)))==55296&&v+1<D&&(64512&(m=d.charCodeAt(v+1)))==56320&&(g=65536+(g-55296<<10)+(m-56320),v++),g<128?p[x++]=g:(g<2048?p[x++]=192|g>>>6:(g<65536?p[x++]=224|g>>>12:(p[x++]=240|g>>>18,p[x++]=128|g>>>12&63),p[x++]=128|g>>>6&63),p[x++]=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,m=p.length;g<m;g++)p[g]=d.charCodeAt(g);return p},i.buf2string=function(d,p){var g,m,v,x,D=p||d.length,w=new Array(2*D);for(g=m=0;g<D;)if((v=d[g++])<128)w[m++]=v;else if(4<(x=l[v]))w[m++]=65533,g+=x-1;else{for(v&=x===2?31:x===3?15:7;1<x&&g<D;)v=v<<6|63&d[g++],x--;1<x?w[m++]=65533:v<65536?w[m++]=v:(v-=65536,w[m++]=55296|v>>10&1023,w[m++]=56320|1023&v)}return f(w,m)},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,m=-2,v=-1,x=4,D=2,w=8,C=9,R=286,U=30,I=19,N=2*R+1,V=15,j=3,oe=258,ue=oe+j+1,F=42,X=113,E=1,re=2,z=3,J=4;function Y(A,de){return A.msg=f[de],de}function G(A){return(A<<1)-(4<A?9:0)}function ae(A){for(var de=A.length;0<=--de;)A[de]=0}function H(A){var de=A.state,ce=de.pending;ce>A.avail_out&&(ce=A.avail_out),ce!==0&&(a.arraySet(A.output,de.pending_buf,de.pending_out,ce,A.next_out),A.next_out+=ce,de.pending_out+=ce,A.total_out+=ce,A.avail_out-=ce,de.pending-=ce,de.pending===0&&(de.pending_out=0))}function P(A,de){s._tr_flush_block(A,0<=A.block_start?A.block_start:-1,A.strstart-A.block_start,de),A.block_start=A.strstart,H(A.strm)}function he(A,de){A.pending_buf[A.pending++]=de}function Se(A,de){A.pending_buf[A.pending++]=de>>>8&255,A.pending_buf[A.pending++]=255&de}function ye(A,de){var ce,K,q=A.max_chain_length,ie=A.strstart,we=A.prev_length,Ee=A.nice_match,fe=A.strstart>A.w_size-ue?A.strstart-(A.w_size-ue):0,ee=A.window,ne=A.w_mask,le=A.prev,xe=A.strstart+oe,Ne=ee[ie+we-1],Pe=ee[ie+we];A.prev_length>=A.good_match&&(q>>=2),Ee>A.lookahead&&(Ee=A.lookahead);do if(ee[(ce=de)+we]===Pe&&ee[ce+we-1]===Ne&&ee[ce]===ee[ie]&&ee[++ce]===ee[ie+1]){ie+=2,ce++;do;while(ee[++ie]===ee[++ce]&&ee[++ie]===ee[++ce]&&ee[++ie]===ee[++ce]&&ee[++ie]===ee[++ce]&&ee[++ie]===ee[++ce]&&ee[++ie]===ee[++ce]&&ee[++ie]===ee[++ce]&&ee[++ie]===ee[++ce]&&ie<xe);if(K=oe-(xe-ie),ie=xe-oe,we<K){if(A.match_start=de,Ee<=(we=K))break;Ne=ee[ie+we-1],Pe=ee[ie+we]}}while((de=le[de&ne])>fe&&--q!=0);return we<=A.lookahead?we:A.lookahead}function Ae(A){var de,ce,K,q,ie,we,Ee,fe,ee,ne,le=A.w_size;do{if(q=A.window_size-A.lookahead-A.strstart,A.strstart>=le+(le-ue)){for(a.arraySet(A.window,A.window,le,le,0),A.match_start-=le,A.strstart-=le,A.block_start-=le,de=ce=A.hash_size;K=A.head[--de],A.head[de]=le<=K?K-le:0,--ce;);for(de=ce=le;K=A.prev[--de],A.prev[de]=le<=K?K-le:0,--ce;);q+=le}if(A.strm.avail_in===0)break;if(we=A.strm,Ee=A.window,fe=A.strstart+A.lookahead,ee=q,ne=void 0,ne=we.avail_in,ee<ne&&(ne=ee),ce=ne===0?0:(we.avail_in-=ne,a.arraySet(Ee,we.input,we.next_in,ne,fe),we.state.wrap===1?we.adler=l(we.adler,Ee,ne,fe):we.state.wrap===2&&(we.adler=c(we.adler,Ee,ne,fe)),we.next_in+=ne,we.total_in+=ne,ne),A.lookahead+=ce,A.lookahead+A.insert>=j)for(ie=A.strstart-A.insert,A.ins_h=A.window[ie],A.ins_h=(A.ins_h<<A.hash_shift^A.window[ie+1])&A.hash_mask;A.insert&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[ie+j-1])&A.hash_mask,A.prev[ie&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=ie,ie++,A.insert--,!(A.lookahead+A.insert<j)););}while(A.lookahead<ue&&A.strm.avail_in!==0)}function je(A,de){for(var ce,K;;){if(A.lookahead<ue){if(Ae(A),A.lookahead<ue&&de===d)return E;if(A.lookahead===0)break}if(ce=0,A.lookahead>=j&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+j-1])&A.hash_mask,ce=A.prev[A.strstart&A.w_mask]=A.head[A.ins_h],A.head[A.ins_h]=A.strstart),ce!==0&&A.strstart-ce<=A.w_size-ue&&(A.match_length=ye(A,ce)),A.match_length>=j)if(K=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,ce=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 K=s._tr_tally(A,0,A.window[A.strstart]),A.lookahead--,A.strstart++;if(K&&(P(A,!1),A.strm.avail_out===0))return E}return A.insert=A.strstart<j-1?A.strstart:j-1,de===p?(P(A,!0),A.strm.avail_out===0?z:J):A.last_lit&&(P(A,!1),A.strm.avail_out===0)?E:re}function $e(A,de){for(var ce,K,q;;){if(A.lookahead<ue){if(Ae(A),A.lookahead<ue&&de===d)return E;if(A.lookahead===0)break}if(ce=0,A.lookahead>=j&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+j-1])&A.hash_mask,ce=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,ce!==0&&A.prev_length<A.max_lazy_match&&A.strstart-ce<=A.w_size-ue&&(A.match_length=ye(A,ce),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(q=A.strstart+A.lookahead-j,K=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<=q&&(A.ins_h=(A.ins_h<<A.hash_shift^A.window[A.strstart+j-1])&A.hash_mask,ce=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++,K&&(P(A,!1),A.strm.avail_out===0))return E}else if(A.match_available){if((K=s._tr_tally(A,0,A.window[A.strstart-1]))&&P(A,!1),A.strstart++,A.lookahead--,A.strm.avail_out===0)return E}else A.match_available=1,A.strstart++,A.lookahead--}return A.match_available&&(K=s._tr_tally(A,0,A.window[A.strstart-1]),A.match_available=0),A.insert=A.strstart<j-1?A.strstart:j-1,de===p?(P(A,!0),A.strm.avail_out===0?z:J):A.last_lit&&(P(A,!1),A.strm.avail_out===0)?E:re}function ze(A,de,ce,K,q){this.good_length=A,this.max_lazy=de,this.nice_length=ce,this.max_chain=K,this.func=q}function Ze(){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=w,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*I+1)),ae(this.dyn_ltree),ae(this.dyn_dtree),ae(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(V+1),this.heap=new a.Buf16(2*R+1),ae(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*R+1),ae(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 se(A){var de;return A&&A.state?(A.total_in=A.total_out=0,A.data_type=D,(de=A.state).pending=0,de.pending_out=0,de.wrap<0&&(de.wrap=-de.wrap),de.status=de.wrap?F:X,A.adler=de.wrap===2?0:1,de.last_flush=d,s._tr_init(de),g):Y(A,m)}function Ue(A){var de=se(A);return de===g&&function(ce){ce.window_size=2*ce.w_size,ae(ce.head),ce.max_lazy_match=o[ce.level].max_lazy,ce.good_match=o[ce.level].good_length,ce.nice_match=o[ce.level].nice_length,ce.max_chain_length=o[ce.level].max_chain,ce.strstart=0,ce.block_start=0,ce.lookahead=0,ce.insert=0,ce.match_length=ce.prev_length=j-1,ce.match_available=0,ce.ins_h=0}(A.state),de}function _e(A,de,ce,K,q,ie){if(!A)return m;var we=1;if(de===v&&(de=6),K<0?(we=0,K=-K):15<K&&(we=2,K-=16),q<1||C<q||ce!==w||K<8||15<K||de<0||9<de||ie<0||x<ie)return Y(A,m);K===8&&(K=9);var Ee=new Ze;return(A.state=Ee).strm=A,Ee.wrap=we,Ee.gzhead=null,Ee.w_bits=K,Ee.w_size=1<<Ee.w_bits,Ee.w_mask=Ee.w_size-1,Ee.hash_bits=q+7,Ee.hash_size=1<<Ee.hash_bits,Ee.hash_mask=Ee.hash_size-1,Ee.hash_shift=~~((Ee.hash_bits+j-1)/j),Ee.window=new a.Buf8(2*Ee.w_size),Ee.head=new a.Buf16(Ee.hash_size),Ee.prev=new a.Buf16(Ee.w_size),Ee.lit_bufsize=1<<q+6,Ee.pending_buf_size=4*Ee.lit_bufsize,Ee.pending_buf=new a.Buf8(Ee.pending_buf_size),Ee.d_buf=1*Ee.lit_bufsize,Ee.l_buf=3*Ee.lit_bufsize,Ee.level=de,Ee.strategy=ie,Ee.method=ce,Ue(A)}o=[new ze(0,0,0,0,function(A,de){var ce=65535;for(ce>A.pending_buf_size-5&&(ce=A.pending_buf_size-5);;){if(A.lookahead<=1){if(Ae(A),A.lookahead===0&&de===d)return E;if(A.lookahead===0)break}A.strstart+=A.lookahead,A.lookahead=0;var K=A.block_start+ce;if((A.strstart===0||A.strstart>=K)&&(A.lookahead=A.strstart-K,A.strstart=K,P(A,!1),A.strm.avail_out===0)||A.strstart-A.block_start>=A.w_size-ue&&(P(A,!1),A.strm.avail_out===0))return E}return A.insert=0,de===p?(P(A,!0),A.strm.avail_out===0?z:J):(A.strstart>A.block_start&&(P(A,!1),A.strm.avail_out),E)}),new ze(4,4,8,4,je),new ze(4,5,16,8,je),new ze(4,6,32,32,je),new ze(4,4,16,16,$e),new ze(8,16,32,32,$e),new ze(8,16,128,128,$e),new ze(8,32,128,256,$e),new ze(32,128,258,1024,$e),new ze(32,258,258,4096,$e)],i.deflateInit=function(A,de){return _e(A,de,w,15,8,0)},i.deflateInit2=_e,i.deflateReset=Ue,i.deflateResetKeep=se,i.deflateSetHeader=function(A,de){return A&&A.state?A.state.wrap!==2?m:(A.state.gzhead=de,g):m},i.deflate=function(A,de){var ce,K,q,ie;if(!A||!A.state||5<de||de<0)return A?Y(A,m):m;if(K=A.state,!A.output||!A.input&&A.avail_in!==0||K.status===666&&de!==p)return Y(A,A.avail_out===0?-5:m);if(K.strm=A,ce=K.last_flush,K.last_flush=de,K.status===F)if(K.wrap===2)A.adler=0,he(K,31),he(K,139),he(K,8),K.gzhead?(he(K,(K.gzhead.text?1:0)+(K.gzhead.hcrc?2:0)+(K.gzhead.extra?4:0)+(K.gzhead.name?8:0)+(K.gzhead.comment?16:0)),he(K,255&K.gzhead.time),he(K,K.gzhead.time>>8&255),he(K,K.gzhead.time>>16&255),he(K,K.gzhead.time>>24&255),he(K,K.level===9?2:2<=K.strategy||K.level<2?4:0),he(K,255&K.gzhead.os),K.gzhead.extra&&K.gzhead.extra.length&&(he(K,255&K.gzhead.extra.length),he(K,K.gzhead.extra.length>>8&255)),K.gzhead.hcrc&&(A.adler=c(A.adler,K.pending_buf,K.pending,0)),K.gzindex=0,K.status=69):(he(K,0),he(K,0),he(K,0),he(K,0),he(K,0),he(K,K.level===9?2:2<=K.strategy||K.level<2?4:0),he(K,3),K.status=X);else{var we=w+(K.w_bits-8<<4)<<8;we|=(2<=K.strategy||K.level<2?0:K.level<6?1:K.level===6?2:3)<<6,K.strstart!==0&&(we|=32),we+=31-we%31,K.status=X,Se(K,we),K.strstart!==0&&(Se(K,A.adler>>>16),Se(K,65535&A.adler)),A.adler=1}if(K.status===69)if(K.gzhead.extra){for(q=K.pending;K.gzindex<(65535&K.gzhead.extra.length)&&(K.pending!==K.pending_buf_size||(K.gzhead.hcrc&&K.pending>q&&(A.adler=c(A.adler,K.pending_buf,K.pending-q,q)),H(A),q=K.pending,K.pending!==K.pending_buf_size));)he(K,255&K.gzhead.extra[K.gzindex]),K.gzindex++;K.gzhead.hcrc&&K.pending>q&&(A.adler=c(A.adler,K.pending_buf,K.pending-q,q)),K.gzindex===K.gzhead.extra.length&&(K.gzindex=0,K.status=73)}else K.status=73;if(K.status===73)if(K.gzhead.name){q=K.pending;do{if(K.pending===K.pending_buf_size&&(K.gzhead.hcrc&&K.pending>q&&(A.adler=c(A.adler,K.pending_buf,K.pending-q,q)),H(A),q=K.pending,K.pending===K.pending_buf_size)){ie=1;break}ie=K.gzindex<K.gzhead.name.length?255&K.gzhead.name.charCodeAt(K.gzindex++):0,he(K,ie)}while(ie!==0);K.gzhead.hcrc&&K.pending>q&&(A.adler=c(A.adler,K.pending_buf,K.pending-q,q)),ie===0&&(K.gzindex=0,K.status=91)}else K.status=91;if(K.status===91)if(K.gzhead.comment){q=K.pending;do{if(K.pending===K.pending_buf_size&&(K.gzhead.hcrc&&K.pending>q&&(A.adler=c(A.adler,K.pending_buf,K.pending-q,q)),H(A),q=K.pending,K.pending===K.pending_buf_size)){ie=1;break}ie=K.gzindex<K.gzhead.comment.length?255&K.gzhead.comment.charCodeAt(K.gzindex++):0,he(K,ie)}while(ie!==0);K.gzhead.hcrc&&K.pending>q&&(A.adler=c(A.adler,K.pending_buf,K.pending-q,q)),ie===0&&(K.status=103)}else K.status=103;if(K.status===103&&(K.gzhead.hcrc?(K.pending+2>K.pending_buf_size&&H(A),K.pending+2<=K.pending_buf_size&&(he(K,255&A.adler),he(K,A.adler>>8&255),A.adler=0,K.status=X)):K.status=X),K.pending!==0){if(H(A),A.avail_out===0)return K.last_flush=-1,g}else if(A.avail_in===0&&G(de)<=G(ce)&&de!==p)return Y(A,-5);if(K.status===666&&A.avail_in!==0)return Y(A,-5);if(A.avail_in!==0||K.lookahead!==0||de!==d&&K.status!==666){var Ee=K.strategy===2?function(fe,ee){for(var ne;;){if(fe.lookahead===0&&(Ae(fe),fe.lookahead===0)){if(ee===d)return E;break}if(fe.match_length=0,ne=s._tr_tally(fe,0,fe.window[fe.strstart]),fe.lookahead--,fe.strstart++,ne&&(P(fe,!1),fe.strm.avail_out===0))return E}return fe.insert=0,ee===p?(P(fe,!0),fe.strm.avail_out===0?z:J):fe.last_lit&&(P(fe,!1),fe.strm.avail_out===0)?E:re}(K,de):K.strategy===3?function(fe,ee){for(var ne,le,xe,Ne,Pe=fe.window;;){if(fe.lookahead<=oe){if(Ae(fe),fe.lookahead<=oe&&ee===d)return E;if(fe.lookahead===0)break}if(fe.match_length=0,fe.lookahead>=j&&0<fe.strstart&&(le=Pe[xe=fe.strstart-1])===Pe[++xe]&&le===Pe[++xe]&&le===Pe[++xe]){Ne=fe.strstart+oe;do;while(le===Pe[++xe]&&le===Pe[++xe]&&le===Pe[++xe]&&le===Pe[++xe]&&le===Pe[++xe]&&le===Pe[++xe]&&le===Pe[++xe]&&le===Pe[++xe]&&xe<Ne);fe.match_length=oe-(Ne-xe),fe.match_length>fe.lookahead&&(fe.match_length=fe.lookahead)}if(fe.match_length>=j?(ne=s._tr_tally(fe,1,fe.match_length-j),fe.lookahead-=fe.match_length,fe.strstart+=fe.match_length,fe.match_length=0):(ne=s._tr_tally(fe,0,fe.window[fe.strstart]),fe.lookahead--,fe.strstart++),ne&&(P(fe,!1),fe.strm.avail_out===0))return E}return fe.insert=0,ee===p?(P(fe,!0),fe.strm.avail_out===0?z:J):fe.last_lit&&(P(fe,!1),fe.strm.avail_out===0)?E:re}(K,de):o[K.level].func(K,de);if(Ee!==z&&Ee!==J||(K.status=666),Ee===E||Ee===z)return A.avail_out===0&&(K.last_flush=-1),g;if(Ee===re&&(de===1?s._tr_align(K):de!==5&&(s._tr_stored_block(K,0,0,!1),de===3&&(ae(K.head),K.lookahead===0&&(K.strstart=0,K.block_start=0,K.insert=0))),H(A),A.avail_out===0))return K.last_flush=-1,g}return de!==p?g:K.wrap<=0?1:(K.wrap===2?(he(K,255&A.adler),he(K,A.adler>>8&255),he(K,A.adler>>16&255),he(K,A.adler>>24&255),he(K,255&A.total_in),he(K,A.total_in>>8&255),he(K,A.total_in>>16&255),he(K,A.total_in>>24&255)):(Se(K,A.adler>>>16),Se(K,65535&A.adler)),H(A),0<K.wrap&&(K.wrap=-K.wrap),K.pending!==0?g:1)},i.deflateEnd=function(A){var de;return A&&A.state?(de=A.state.status)!==F&&de!==69&&de!==73&&de!==91&&de!==103&&de!==X&&de!==666?Y(A,m):(A.state=null,de===X?Y(A,-3):g):m},i.deflateSetDictionary=function(A,de){var ce,K,q,ie,we,Ee,fe,ee,ne=de.length;if(!A||!A.state||(ie=(ce=A.state).wrap)===2||ie===1&&ce.status!==F||ce.lookahead)return m;for(ie===1&&(A.adler=l(A.adler,de,ne,0)),ce.wrap=0,ne>=ce.w_size&&(ie===0&&(ae(ce.head),ce.strstart=0,ce.block_start=0,ce.insert=0),ee=new a.Buf8(ce.w_size),a.arraySet(ee,de,ne-ce.w_size,ce.w_size,0),de=ee,ne=ce.w_size),we=A.avail_in,Ee=A.next_in,fe=A.input,A.avail_in=ne,A.next_in=0,A.input=de,Ae(ce);ce.lookahead>=j;){for(K=ce.strstart,q=ce.lookahead-(j-1);ce.ins_h=(ce.ins_h<<ce.hash_shift^ce.window[K+j-1])&ce.hash_mask,ce.prev[K&ce.w_mask]=ce.head[ce.ins_h],ce.head[ce.ins_h]=K,K++,--q;);ce.strstart=K,ce.lookahead=j-1,Ae(ce)}return ce.strstart+=ce.lookahead,ce.block_start=ce.strstart,ce.insert=ce.lookahead,ce.lookahead=0,ce.match_length=ce.prev_length=j-1,ce.match_available=0,A.next_in=Ee,A.input=fe,A.avail_in=we,ce.wrap=ie,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,m,v,x,D,w,C,R,U,I,N,V,j,oe,ue,F,X,E,re;s=o.state,l=o.next_in,E=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,m=s.wsize,v=s.whave,x=s.wnext,D=s.window,w=s.hold,C=s.bits,R=s.lencode,U=s.distcode,I=(1<<s.lenbits)-1,N=(1<<s.distbits)-1;e:do{C<15&&(w+=E[l++]<<C,C+=8,w+=E[l++]<<C,C+=8),V=R[w&I];t:for(;;){if(w>>>=j=V>>>24,C-=j,(j=V>>>16&255)===0)re[f++]=65535&V;else{if(!(16&j)){if(!(64&j)){V=R[(65535&V)+(w&(1<<j)-1)];continue t}if(32&j){s.mode=12;break e}o.msg="invalid literal/length code",s.mode=30;break e}oe=65535&V,(j&=15)&&(C<j&&(w+=E[l++]<<C,C+=8),oe+=w&(1<<j)-1,w>>>=j,C-=j),C<15&&(w+=E[l++]<<C,C+=8,w+=E[l++]<<C,C+=8),V=U[w&N];n:for(;;){if(w>>>=j=V>>>24,C-=j,!(16&(j=V>>>16&255))){if(!(64&j)){V=U[(65535&V)+(w&(1<<j)-1)];continue n}o.msg="invalid distance code",s.mode=30;break e}if(ue=65535&V,C<(j&=15)&&(w+=E[l++]<<C,(C+=8)<j&&(w+=E[l++]<<C,C+=8)),g<(ue+=w&(1<<j)-1)){o.msg="invalid distance too far back",s.mode=30;break e}if(w>>>=j,C-=j,(j=f-d)<ue){if(v<(j=ue-j)&&s.sane){o.msg="invalid distance too far back",s.mode=30;break e}if(X=D,(F=0)===x){if(F+=m-j,j<oe){for(oe-=j;re[f++]=D[F++],--j;);F=f-ue,X=re}}else if(x<j){if(F+=m+x-j,(j-=x)<oe){for(oe-=j;re[f++]=D[F++],--j;);if(F=0,x<oe){for(oe-=j=x;re[f++]=D[F++],--j;);F=f-ue,X=re}}}else if(F+=x-j,j<oe){for(oe-=j;re[f++]=D[F++],--j;);F=f-ue,X=re}for(;2<oe;)re[f++]=X[F++],re[f++]=X[F++],re[f++]=X[F++],oe-=3;oe&&(re[f++]=X[F++],1<oe&&(re[f++]=X[F++]))}else{for(F=f-ue;re[f++]=re[F++],re[f++]=re[F++],re[f++]=re[F++],2<(oe-=3););oe&&(re[f++]=re[F++],1<oe&&(re[f++]=re[F++]))}break}}break}}while(l<c&&f<p);l-=oe=C>>3,w&=(1<<(C-=oe<<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=w,s.bits=C}},{}],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,m=1,v=852,x=592;function D(F){return(F>>>24&255)+(F>>>8&65280)+((65280&F)<<8)+((255&F)<<24)}function w(){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 C(F){var X;return F&&F.state?(X=F.state,F.total_in=F.total_out=X.total=0,F.msg="",X.wrap&&(F.adler=1&X.wrap),X.mode=m,X.last=0,X.havedict=0,X.dmax=32768,X.head=null,X.hold=0,X.bits=0,X.lencode=X.lendyn=new o.Buf32(v),X.distcode=X.distdyn=new o.Buf32(x),X.sane=1,X.back=-1,p):g}function R(F){var X;return F&&F.state?((X=F.state).wsize=0,X.whave=0,X.wnext=0,C(F)):g}function U(F,X){var E,re;return F&&F.state?(re=F.state,X<0?(E=0,X=-X):(E=1+(X>>4),X<48&&(X&=15)),X&&(X<8||15<X)?g:(re.window!==null&&re.wbits!==X&&(re.window=null),re.wrap=E,re.wbits=X,R(F))):g}function I(F,X){var E,re;return F?(re=new w,(F.state=re).window=null,(E=U(F,X))!==p&&(F.state=null),E):g}var N,V,j=!0;function oe(F){if(j){var X;for(N=new o.Buf32(512),V=new o.Buf32(32),X=0;X<144;)F.lens[X++]=8;for(;X<256;)F.lens[X++]=9;for(;X<280;)F.lens[X++]=7;for(;X<288;)F.lens[X++]=8;for(c(f,F.lens,0,288,N,0,F.work,{bits:9}),X=0;X<32;)F.lens[X++]=5;c(d,F.lens,0,32,V,0,F.work,{bits:5}),j=!1}F.lencode=N,F.lenbits=9,F.distcode=V,F.distbits=5}function ue(F,X,E,re){var z,J=F.state;return J.window===null&&(J.wsize=1<<J.wbits,J.wnext=0,J.whave=0,J.window=new o.Buf8(J.wsize)),re>=J.wsize?(o.arraySet(J.window,X,E-J.wsize,J.wsize,0),J.wnext=0,J.whave=J.wsize):(re<(z=J.wsize-J.wnext)&&(z=re),o.arraySet(J.window,X,E-re,z,J.wnext),(re-=z)?(o.arraySet(J.window,X,E-re,re,0),J.wnext=re,J.whave=J.wsize):(J.wnext+=z,J.wnext===J.wsize&&(J.wnext=0),J.whave<J.wsize&&(J.whave+=z))),0}i.inflateReset=R,i.inflateReset2=U,i.inflateResetKeep=C,i.inflateInit=function(F){return I(F,15)},i.inflateInit2=I,i.inflate=function(F,X){var E,re,z,J,Y,G,ae,H,P,he,Se,ye,Ae,je,$e,ze,Ze,se,Ue,_e,A,de,ce,K,q=0,ie=new o.Buf8(4),we=[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;(E=F.state).mode===12&&(E.mode=13),Y=F.next_out,z=F.output,ae=F.avail_out,J=F.next_in,re=F.input,G=F.avail_in,H=E.hold,P=E.bits,he=G,Se=ae,de=p;e:for(;;)switch(E.mode){case m:if(E.wrap===0){E.mode=13;break}for(;P<16;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(2&E.wrap&&H===35615){ie[E.check=0]=255&H,ie[1]=H>>>8&255,E.check=s(E.check,ie,2,0),P=H=0,E.mode=2;break}if(E.flags=0,E.head&&(E.head.done=!1),!(1&E.wrap)||(((255&H)<<8)+(H>>8))%31){F.msg="incorrect header check",E.mode=30;break}if((15&H)!=8){F.msg="unknown compression method",E.mode=30;break}if(P-=4,A=8+(15&(H>>>=4)),E.wbits===0)E.wbits=A;else if(A>E.wbits){F.msg="invalid window size",E.mode=30;break}E.dmax=1<<A,F.adler=E.check=1,E.mode=512&H?10:12,P=H=0;break;case 2:for(;P<16;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(E.flags=H,(255&E.flags)!=8){F.msg="unknown compression method",E.mode=30;break}if(57344&E.flags){F.msg="unknown header flags set",E.mode=30;break}E.head&&(E.head.text=H>>8&1),512&E.flags&&(ie[0]=255&H,ie[1]=H>>>8&255,E.check=s(E.check,ie,2,0)),P=H=0,E.mode=3;case 3:for(;P<32;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}E.head&&(E.head.time=H),512&E.flags&&(ie[0]=255&H,ie[1]=H>>>8&255,ie[2]=H>>>16&255,ie[3]=H>>>24&255,E.check=s(E.check,ie,4,0)),P=H=0,E.mode=4;case 4:for(;P<16;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}E.head&&(E.head.xflags=255&H,E.head.os=H>>8),512&E.flags&&(ie[0]=255&H,ie[1]=H>>>8&255,E.check=s(E.check,ie,2,0)),P=H=0,E.mode=5;case 5:if(1024&E.flags){for(;P<16;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}E.length=H,E.head&&(E.head.extra_len=H),512&E.flags&&(ie[0]=255&H,ie[1]=H>>>8&255,E.check=s(E.check,ie,2,0)),P=H=0}else E.head&&(E.head.extra=null);E.mode=6;case 6:if(1024&E.flags&&(G<(ye=E.length)&&(ye=G),ye&&(E.head&&(A=E.head.extra_len-E.length,E.head.extra||(E.head.extra=new Array(E.head.extra_len)),o.arraySet(E.head.extra,re,J,ye,A)),512&E.flags&&(E.check=s(E.check,re,ye,J)),G-=ye,J+=ye,E.length-=ye),E.length))break e;E.length=0,E.mode=7;case 7:if(2048&E.flags){if(G===0)break e;for(ye=0;A=re[J+ye++],E.head&&A&&E.length<65536&&(E.head.name+=String.fromCharCode(A)),A&&ye<G;);if(512&E.flags&&(E.check=s(E.check,re,ye,J)),G-=ye,J+=ye,A)break e}else E.head&&(E.head.name=null);E.length=0,E.mode=8;case 8:if(4096&E.flags){if(G===0)break e;for(ye=0;A=re[J+ye++],E.head&&A&&E.length<65536&&(E.head.comment+=String.fromCharCode(A)),A&&ye<G;);if(512&E.flags&&(E.check=s(E.check,re,ye,J)),G-=ye,J+=ye,A)break e}else E.head&&(E.head.comment=null);E.mode=9;case 9:if(512&E.flags){for(;P<16;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(H!==(65535&E.check)){F.msg="header crc mismatch",E.mode=30;break}P=H=0}E.head&&(E.head.hcrc=E.flags>>9&1,E.head.done=!0),F.adler=E.check=0,E.mode=12;break;case 10:for(;P<32;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}F.adler=E.check=D(H),P=H=0,E.mode=11;case 11:if(E.havedict===0)return F.next_out=Y,F.avail_out=ae,F.next_in=J,F.avail_in=G,E.hold=H,E.bits=P,2;F.adler=E.check=1,E.mode=12;case 12:if(X===5||X===6)break e;case 13:if(E.last){H>>>=7&P,P-=7&P,E.mode=27;break}for(;P<3;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}switch(E.last=1&H,P-=1,3&(H>>>=1)){case 0:E.mode=14;break;case 1:if(oe(E),E.mode=20,X!==6)break;H>>>=2,P-=2;break e;case 2:E.mode=17;break;case 3:F.msg="invalid block type",E.mode=30}H>>>=2,P-=2;break;case 14:for(H>>>=7&P,P-=7&P;P<32;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if((65535&H)!=(H>>>16^65535)){F.msg="invalid stored block lengths",E.mode=30;break}if(E.length=65535&H,P=H=0,E.mode=15,X===6)break e;case 15:E.mode=16;case 16:if(ye=E.length){if(G<ye&&(ye=G),ae<ye&&(ye=ae),ye===0)break e;o.arraySet(z,re,J,ye,Y),G-=ye,J+=ye,ae-=ye,Y+=ye,E.length-=ye;break}E.mode=12;break;case 17:for(;P<14;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(E.nlen=257+(31&H),H>>>=5,P-=5,E.ndist=1+(31&H),H>>>=5,P-=5,E.ncode=4+(15&H),H>>>=4,P-=4,286<E.nlen||30<E.ndist){F.msg="too many length or distance symbols",E.mode=30;break}E.have=0,E.mode=18;case 18:for(;E.have<E.ncode;){for(;P<3;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}E.lens[we[E.have++]]=7&H,H>>>=3,P-=3}for(;E.have<19;)E.lens[we[E.have++]]=0;if(E.lencode=E.lendyn,E.lenbits=7,ce={bits:E.lenbits},de=c(0,E.lens,0,19,E.lencode,0,E.work,ce),E.lenbits=ce.bits,de){F.msg="invalid code lengths set",E.mode=30;break}E.have=0,E.mode=19;case 19:for(;E.have<E.nlen+E.ndist;){for(;ze=(q=E.lencode[H&(1<<E.lenbits)-1])>>>16&255,Ze=65535&q,!(($e=q>>>24)<=P);){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(Ze<16)H>>>=$e,P-=$e,E.lens[E.have++]=Ze;else{if(Ze===16){for(K=$e+2;P<K;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(H>>>=$e,P-=$e,E.have===0){F.msg="invalid bit length repeat",E.mode=30;break}A=E.lens[E.have-1],ye=3+(3&H),H>>>=2,P-=2}else if(Ze===17){for(K=$e+3;P<K;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}P-=$e,A=0,ye=3+(7&(H>>>=$e)),H>>>=3,P-=3}else{for(K=$e+7;P<K;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}P-=$e,A=0,ye=11+(127&(H>>>=$e)),H>>>=7,P-=7}if(E.have+ye>E.nlen+E.ndist){F.msg="invalid bit length repeat",E.mode=30;break}for(;ye--;)E.lens[E.have++]=A}}if(E.mode===30)break;if(E.lens[256]===0){F.msg="invalid code -- missing end-of-block",E.mode=30;break}if(E.lenbits=9,ce={bits:E.lenbits},de=c(f,E.lens,0,E.nlen,E.lencode,0,E.work,ce),E.lenbits=ce.bits,de){F.msg="invalid literal/lengths set",E.mode=30;break}if(E.distbits=6,E.distcode=E.distdyn,ce={bits:E.distbits},de=c(d,E.lens,E.nlen,E.ndist,E.distcode,0,E.work,ce),E.distbits=ce.bits,de){F.msg="invalid distances set",E.mode=30;break}if(E.mode=20,X===6)break e;case 20:E.mode=21;case 21:if(6<=G&&258<=ae){F.next_out=Y,F.avail_out=ae,F.next_in=J,F.avail_in=G,E.hold=H,E.bits=P,l(F,Se),Y=F.next_out,z=F.output,ae=F.avail_out,J=F.next_in,re=F.input,G=F.avail_in,H=E.hold,P=E.bits,E.mode===12&&(E.back=-1);break}for(E.back=0;ze=(q=E.lencode[H&(1<<E.lenbits)-1])>>>16&255,Ze=65535&q,!(($e=q>>>24)<=P);){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(ze&&!(240&ze)){for(se=$e,Ue=ze,_e=Ze;ze=(q=E.lencode[_e+((H&(1<<se+Ue)-1)>>se)])>>>16&255,Ze=65535&q,!(se+($e=q>>>24)<=P);){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}H>>>=se,P-=se,E.back+=se}if(H>>>=$e,P-=$e,E.back+=$e,E.length=Ze,ze===0){E.mode=26;break}if(32&ze){E.back=-1,E.mode=12;break}if(64&ze){F.msg="invalid literal/length code",E.mode=30;break}E.extra=15&ze,E.mode=22;case 22:if(E.extra){for(K=E.extra;P<K;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}E.length+=H&(1<<E.extra)-1,H>>>=E.extra,P-=E.extra,E.back+=E.extra}E.was=E.length,E.mode=23;case 23:for(;ze=(q=E.distcode[H&(1<<E.distbits)-1])>>>16&255,Ze=65535&q,!(($e=q>>>24)<=P);){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(!(240&ze)){for(se=$e,Ue=ze,_e=Ze;ze=(q=E.distcode[_e+((H&(1<<se+Ue)-1)>>se)])>>>16&255,Ze=65535&q,!(se+($e=q>>>24)<=P);){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}H>>>=se,P-=se,E.back+=se}if(H>>>=$e,P-=$e,E.back+=$e,64&ze){F.msg="invalid distance code",E.mode=30;break}E.offset=Ze,E.extra=15&ze,E.mode=24;case 24:if(E.extra){for(K=E.extra;P<K;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}E.offset+=H&(1<<E.extra)-1,H>>>=E.extra,P-=E.extra,E.back+=E.extra}if(E.offset>E.dmax){F.msg="invalid distance too far back",E.mode=30;break}E.mode=25;case 25:if(ae===0)break e;if(ye=Se-ae,E.offset>ye){if((ye=E.offset-ye)>E.whave&&E.sane){F.msg="invalid distance too far back",E.mode=30;break}Ae=ye>E.wnext?(ye-=E.wnext,E.wsize-ye):E.wnext-ye,ye>E.length&&(ye=E.length),je=E.window}else je=z,Ae=Y-E.offset,ye=E.length;for(ae<ye&&(ye=ae),ae-=ye,E.length-=ye;z[Y++]=je[Ae++],--ye;);E.length===0&&(E.mode=21);break;case 26:if(ae===0)break e;z[Y++]=E.length,ae--,E.mode=21;break;case 27:if(E.wrap){for(;P<32;){if(G===0)break e;G--,H|=re[J++]<<P,P+=8}if(Se-=ae,F.total_out+=Se,E.total+=Se,Se&&(F.adler=E.check=E.flags?s(E.check,z,Se,Y-Se):a(E.check,z,Se,Y-Se)),Se=ae,(E.flags?H:D(H))!==E.check){F.msg="incorrect data check",E.mode=30;break}P=H=0}E.mode=28;case 28:if(E.wrap&&E.flags){for(;P<32;){if(G===0)break e;G--,H+=re[J++]<<P,P+=8}if(H!==(4294967295&E.total)){F.msg="incorrect length check",E.mode=30;break}P=H=0}E.mode=29;case 29:de=1;break e;case 30:de=-3;break e;case 31:return-4;case 32:default:return g}return F.next_out=Y,F.avail_out=ae,F.next_in=J,F.avail_in=G,E.hold=H,E.bits=P,(E.wsize||Se!==F.avail_out&&E.mode<30&&(E.mode<27||X!==4))&&ue(F,F.output,F.next_out,Se-F.avail_out)?(E.mode=31,-4):(he-=F.avail_in,Se-=F.avail_out,F.total_in+=he,F.total_out+=Se,E.total+=Se,E.wrap&&Se&&(F.adler=E.check=E.flags?s(E.check,z,Se,F.next_out-Se):a(E.check,z,Se,F.next_out-Se)),F.data_type=E.bits+(E.last?64:0)+(E.mode===12?128:0)+(E.mode===20||E.mode===15?256:0),(he==0&&Se===0||X===4)&&de===p&&(de=-5),de)},i.inflateEnd=function(F){if(!F||!F.state)return g;var X=F.state;return X.window&&(X.window=null),F.state=null,p},i.inflateGetHeader=function(F,X){var E;return F&&F.state&&2&(E=F.state).wrap?((E.head=X).done=!1,p):g},i.inflateSetDictionary=function(F,X){var E,re=X.length;return F&&F.state?(E=F.state).wrap!==0&&E.mode!==11?g:E.mode===11&&a(1,X,re,0)!==E.check?-3:ue(F,X,re,re)?(E.mode=31,-4):(E.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,m,v,x,D){var w,C,R,U,I,N,V,j,oe,ue=D.bits,F=0,X=0,E=0,re=0,z=0,J=0,Y=0,G=0,ae=0,H=0,P=null,he=0,Se=new o.Buf16(16),ye=new o.Buf16(16),Ae=null,je=0;for(F=0;F<=15;F++)Se[F]=0;for(X=0;X<g;X++)Se[d[p+X]]++;for(z=ue,re=15;1<=re&&Se[re]===0;re--);if(re<z&&(z=re),re===0)return m[v++]=20971520,m[v++]=20971520,D.bits=1,0;for(E=1;E<re&&Se[E]===0;E++);for(z<E&&(z=E),F=G=1;F<=15;F++)if(G<<=1,(G-=Se[F])<0)return-1;if(0<G&&(f===0||re!==1))return-1;for(ye[1]=0,F=1;F<15;F++)ye[F+1]=ye[F]+Se[F];for(X=0;X<g;X++)d[p+X]!==0&&(x[ye[d[p+X]]++]=X);if(N=f===0?(P=Ae=x,19):f===1?(P=a,he-=257,Ae=s,je-=257,256):(P=l,Ae=c,-1),F=E,I=v,Y=X=H=0,R=-1,U=(ae=1<<(J=z))-1,f===1&&852<ae||f===2&&592<ae)return 1;for(;;){for(V=F-Y,oe=x[X]<N?(j=0,x[X]):x[X]>N?(j=Ae[je+x[X]],P[he+x[X]]):(j=96,0),w=1<<F-Y,E=C=1<<J;m[I+(H>>Y)+(C-=w)]=V<<24|j<<16|oe|0,C!==0;);for(w=1<<F-1;H&w;)w>>=1;if(w!==0?(H&=w-1,H+=w):H=0,X++,--Se[F]==0){if(F===re)break;F=d[p+x[X]]}if(z<F&&(H&U)!==R){for(Y===0&&(Y=z),I+=E,G=1<<(J=F-Y);J+Y<re&&!((G-=Se[J+Y])<=0);)J++,G<<=1;if(ae+=1<<J,f===1&&852<ae||f===2&&592<ae)return 1;m[R=H&U]=z<<24|J<<16|I-v|0}}return H!==0&&(m[I+H]=F-Y<<24|64<<16|0),D.bits=z,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(q){for(var ie=q.length;0<=--ie;)q[ie]=0}var c=0,f=29,d=256,p=d+1+f,g=30,m=19,v=2*p+1,x=15,D=16,w=7,C=256,R=16,U=17,I=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],V=[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],oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ue=new Array(2*(p+2));l(ue);var F=new Array(2*g);l(F);var X=new Array(512);l(X);var E=new Array(256);l(E);var re=new Array(f);l(re);var z,J,Y,G=new Array(g);function ae(q,ie,we,Ee,fe){this.static_tree=q,this.extra_bits=ie,this.extra_base=we,this.elems=Ee,this.max_length=fe,this.has_stree=q&&q.length}function H(q,ie){this.dyn_tree=q,this.max_code=0,this.stat_desc=ie}function P(q){return q<256?X[q]:X[256+(q>>>7)]}function he(q,ie){q.pending_buf[q.pending++]=255&ie,q.pending_buf[q.pending++]=ie>>>8&255}function Se(q,ie,we){q.bi_valid>D-we?(q.bi_buf|=ie<<q.bi_valid&65535,he(q,q.bi_buf),q.bi_buf=ie>>D-q.bi_valid,q.bi_valid+=we-D):(q.bi_buf|=ie<<q.bi_valid&65535,q.bi_valid+=we)}function ye(q,ie,we){Se(q,we[2*ie],we[2*ie+1])}function Ae(q,ie){for(var we=0;we|=1&q,q>>>=1,we<<=1,0<--ie;);return we>>>1}function je(q,ie,we){var Ee,fe,ee=new Array(x+1),ne=0;for(Ee=1;Ee<=x;Ee++)ee[Ee]=ne=ne+we[Ee-1]<<1;for(fe=0;fe<=ie;fe++){var le=q[2*fe+1];le!==0&&(q[2*fe]=Ae(ee[le]++,le))}}function $e(q){var ie;for(ie=0;ie<p;ie++)q.dyn_ltree[2*ie]=0;for(ie=0;ie<g;ie++)q.dyn_dtree[2*ie]=0;for(ie=0;ie<m;ie++)q.bl_tree[2*ie]=0;q.dyn_ltree[2*C]=1,q.opt_len=q.static_len=0,q.last_lit=q.matches=0}function ze(q){8<q.bi_valid?he(q,q.bi_buf):0<q.bi_valid&&(q.pending_buf[q.pending++]=q.bi_buf),q.bi_buf=0,q.bi_valid=0}function Ze(q,ie,we,Ee){var fe=2*ie,ee=2*we;return q[fe]<q[ee]||q[fe]===q[ee]&&Ee[ie]<=Ee[we]}function se(q,ie,we){for(var Ee=q.heap[we],fe=we<<1;fe<=q.heap_len&&(fe<q.heap_len&&Ze(ie,q.heap[fe+1],q.heap[fe],q.depth)&&fe++,!Ze(ie,Ee,q.heap[fe],q.depth));)q.heap[we]=q.heap[fe],we=fe,fe<<=1;q.heap[we]=Ee}function Ue(q,ie,we){var Ee,fe,ee,ne,le=0;if(q.last_lit!==0)for(;Ee=q.pending_buf[q.d_buf+2*le]<<8|q.pending_buf[q.d_buf+2*le+1],fe=q.pending_buf[q.l_buf+le],le++,Ee===0?ye(q,fe,ie):(ye(q,(ee=E[fe])+d+1,ie),(ne=N[ee])!==0&&Se(q,fe-=re[ee],ne),ye(q,ee=P(--Ee),we),(ne=V[ee])!==0&&Se(q,Ee-=G[ee],ne)),le<q.last_lit;);ye(q,C,ie)}function _e(q,ie){var we,Ee,fe,ee=ie.dyn_tree,ne=ie.stat_desc.static_tree,le=ie.stat_desc.has_stree,xe=ie.stat_desc.elems,Ne=-1;for(q.heap_len=0,q.heap_max=v,we=0;we<xe;we++)ee[2*we]!==0?(q.heap[++q.heap_len]=Ne=we,q.depth[we]=0):ee[2*we+1]=0;for(;q.heap_len<2;)ee[2*(fe=q.heap[++q.heap_len]=Ne<2?++Ne:0)]=1,q.depth[fe]=0,q.opt_len--,le&&(q.static_len-=ne[2*fe+1]);for(ie.max_code=Ne,we=q.heap_len>>1;1<=we;we--)se(q,ee,we);for(fe=xe;we=q.heap[1],q.heap[1]=q.heap[q.heap_len--],se(q,ee,1),Ee=q.heap[1],q.heap[--q.heap_max]=we,q.heap[--q.heap_max]=Ee,ee[2*fe]=ee[2*we]+ee[2*Ee],q.depth[fe]=(q.depth[we]>=q.depth[Ee]?q.depth[we]:q.depth[Ee])+1,ee[2*we+1]=ee[2*Ee+1]=fe,q.heap[1]=fe++,se(q,ee,1),2<=q.heap_len;);q.heap[--q.heap_max]=q.heap[1],function(Pe,Ge){var He,et,ct,rt,Lt,zn,It=Ge.dyn_tree,Lr=Ge.max_code,Ai=Ge.stat_desc.static_tree,Gt=Ge.stat_desc.has_stree,Cn=Ge.stat_desc.extra_bits,jn=Ge.stat_desc.extra_base,st=Ge.stat_desc.max_length,fn=0;for(rt=0;rt<=x;rt++)Pe.bl_count[rt]=0;for(It[2*Pe.heap[Pe.heap_max]+1]=0,He=Pe.heap_max+1;He<v;He++)st<(rt=It[2*It[2*(et=Pe.heap[He])+1]+1]+1)&&(rt=st,fn++),It[2*et+1]=rt,Lr<et||(Pe.bl_count[rt]++,Lt=0,jn<=et&&(Lt=Cn[et-jn]),zn=It[2*et],Pe.opt_len+=zn*(rt+Lt),Gt&&(Pe.static_len+=zn*(Ai[2*et+1]+Lt)));if(fn!==0){do{for(rt=st-1;Pe.bl_count[rt]===0;)rt--;Pe.bl_count[rt]--,Pe.bl_count[rt+1]+=2,Pe.bl_count[st]--,fn-=2}while(0<fn);for(rt=st;rt!==0;rt--)for(et=Pe.bl_count[rt];et!==0;)Lr<(ct=Pe.heap[--He])||(It[2*ct+1]!==rt&&(Pe.opt_len+=(rt-It[2*ct+1])*It[2*ct],It[2*ct+1]=rt),et--)}}(q,ie),je(ee,Ne,q.bl_count)}function A(q,ie,we){var Ee,fe,ee=-1,ne=ie[1],le=0,xe=7,Ne=4;for(ne===0&&(xe=138,Ne=3),ie[2*(we+1)+1]=65535,Ee=0;Ee<=we;Ee++)fe=ne,ne=ie[2*(Ee+1)+1],++le<xe&&fe===ne||(le<Ne?q.bl_tree[2*fe]+=le:fe!==0?(fe!==ee&&q.bl_tree[2*fe]++,q.bl_tree[2*R]++):le<=10?q.bl_tree[2*U]++:q.bl_tree[2*I]++,ee=fe,Ne=(le=0)===ne?(xe=138,3):fe===ne?(xe=6,3):(xe=7,4))}function de(q,ie,we){var Ee,fe,ee=-1,ne=ie[1],le=0,xe=7,Ne=4;for(ne===0&&(xe=138,Ne=3),Ee=0;Ee<=we;Ee++)if(fe=ne,ne=ie[2*(Ee+1)+1],!(++le<xe&&fe===ne)){if(le<Ne)for(;ye(q,fe,q.bl_tree),--le!=0;);else fe!==0?(fe!==ee&&(ye(q,fe,q.bl_tree),le--),ye(q,R,q.bl_tree),Se(q,le-3,2)):le<=10?(ye(q,U,q.bl_tree),Se(q,le-3,3)):(ye(q,I,q.bl_tree),Se(q,le-11,7));ee=fe,Ne=(le=0)===ne?(xe=138,3):fe===ne?(xe=6,3):(xe=7,4)}}l(G);var ce=!1;function K(q,ie,we,Ee){Se(q,(c<<1)+(Ee?1:0),3),function(fe,ee,ne,le){ze(fe),he(fe,ne),he(fe,~ne),o.arraySet(fe.pending_buf,fe.window,ee,ne,fe.pending),fe.pending+=ne}(q,ie,we)}i._tr_init=function(q){ce||(function(){var ie,we,Ee,fe,ee,ne=new Array(x+1);for(fe=Ee=0;fe<f-1;fe++)for(re[fe]=Ee,ie=0;ie<1<<N[fe];ie++)E[Ee++]=fe;for(E[Ee-1]=fe,fe=ee=0;fe<16;fe++)for(G[fe]=ee,ie=0;ie<1<<V[fe];ie++)X[ee++]=fe;for(ee>>=7;fe<g;fe++)for(G[fe]=ee<<7,ie=0;ie<1<<V[fe]-7;ie++)X[256+ee++]=fe;for(we=0;we<=x;we++)ne[we]=0;for(ie=0;ie<=143;)ue[2*ie+1]=8,ie++,ne[8]++;for(;ie<=255;)ue[2*ie+1]=9,ie++,ne[9]++;for(;ie<=279;)ue[2*ie+1]=7,ie++,ne[7]++;for(;ie<=287;)ue[2*ie+1]=8,ie++,ne[8]++;for(je(ue,p+1,ne),ie=0;ie<g;ie++)F[2*ie+1]=5,F[2*ie]=Ae(ie,5);z=new ae(ue,N,d+1,p,x),J=new ae(F,V,0,g,x),Y=new ae(new Array(0),j,0,m,w)}(),ce=!0),q.l_desc=new H(q.dyn_ltree,z),q.d_desc=new H(q.dyn_dtree,J),q.bl_desc=new H(q.bl_tree,Y),q.bi_buf=0,q.bi_valid=0,$e(q)},i._tr_stored_block=K,i._tr_flush_block=function(q,ie,we,Ee){var fe,ee,ne=0;0<q.level?(q.strm.data_type===2&&(q.strm.data_type=function(le){var xe,Ne=4093624447;for(xe=0;xe<=31;xe++,Ne>>>=1)if(1&Ne&&le.dyn_ltree[2*xe]!==0)return a;if(le.dyn_ltree[18]!==0||le.dyn_ltree[20]!==0||le.dyn_ltree[26]!==0)return s;for(xe=32;xe<d;xe++)if(le.dyn_ltree[2*xe]!==0)return s;return a}(q)),_e(q,q.l_desc),_e(q,q.d_desc),ne=function(le){var xe;for(A(le,le.dyn_ltree,le.l_desc.max_code),A(le,le.dyn_dtree,le.d_desc.max_code),_e(le,le.bl_desc),xe=m-1;3<=xe&&le.bl_tree[2*oe[xe]+1]===0;xe--);return le.opt_len+=3*(xe+1)+5+5+4,xe}(q),fe=q.opt_len+3+7>>>3,(ee=q.static_len+3+7>>>3)<=fe&&(fe=ee)):fe=ee=we+5,we+4<=fe&&ie!==-1?K(q,ie,we,Ee):q.strategy===4||ee===fe?(Se(q,2+(Ee?1:0),3),Ue(q,ue,F)):(Se(q,4+(Ee?1:0),3),function(le,xe,Ne,Pe){var Ge;for(Se(le,xe-257,5),Se(le,Ne-1,5),Se(le,Pe-4,4),Ge=0;Ge<Pe;Ge++)Se(le,le.bl_tree[2*oe[Ge]+1],3);de(le,le.dyn_ltree,xe-1),de(le,le.dyn_dtree,Ne-1)}(q,q.l_desc.max_code+1,q.d_desc.max_code+1,ne+1),Ue(q,q.dyn_ltree,q.dyn_dtree)),$e(q),Ee&&ze(q)},i._tr_tally=function(q,ie,we){return q.pending_buf[q.d_buf+2*q.last_lit]=ie>>>8&255,q.pending_buf[q.d_buf+2*q.last_lit+1]=255&ie,q.pending_buf[q.l_buf+q.last_lit]=255&we,q.last_lit++,ie===0?q.dyn_ltree[2*we]++:(q.matches++,ie--,q.dyn_ltree[2*(E[we]+d+1)]++,q.dyn_dtree[2*P(ie)]++),q.last_lit===q.lit_bufsize-1},i._tr_align=function(q){Se(q,2,3),ye(q,C,ue),function(ie){ie.bi_valid===16?(he(ie,ie.bi_buf),ie.bi_buf=0,ie.bi_valid=0):8<=ie.bi_valid&&(ie.pending_buf[ie.pending++]=255&ie.bi_buf,ie.bi_buf>>=8,ie.bi_valid-=8)}(q)}},{"../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={},m=!1,v=a.document,x=Object.getPrototypeOf&&Object.getPrototypeOf(a);x=x&&x.setTimeout?x:a,l={}.toString.call(a.process)==="[object process]"?function(R){process.nextTick(function(){w(R)})}:function(){if(a.postMessage&&!a.importScripts){var R=!0,U=a.onmessage;return a.onmessage=function(){R=!1},a.postMessage("","*"),a.onmessage=U,R}}()?(d="setImmediate$"+Math.random()+"$",a.addEventListener?a.addEventListener("message",C,!1):a.attachEvent("onmessage",C),function(R){a.postMessage(d+R,"*")}):a.MessageChannel?((f=new MessageChannel).port1.onmessage=function(R){w(R.data)},function(R){f.port2.postMessage(R)}):v&&"onreadystatechange"in v.createElement("script")?(c=v.documentElement,function(R){var U=v.createElement("script");U.onreadystatechange=function(){w(R),U.onreadystatechange=null,c.removeChild(U),U=null},c.appendChild(U)}):function(R){setTimeout(w,0,R)},x.setImmediate=function(R){typeof R!="function"&&(R=new Function(""+R));for(var U=new Array(arguments.length-1),I=0;I<U.length;I++)U[I]=arguments[I+1];var N={callback:R,args:U};return g[p]=N,l(p),p++},x.clearImmediate=D}function D(R){delete g[R]}function w(R){if(m)setTimeout(w,0,R);else{var U=g[R];if(U){m=!0;try{(function(I){var N=I.callback,V=I.args;switch(V.length){case 0:N();break;case 1:N(V[0]);break;case 2:N(V[0],V[1]);break;case 3:N(V[0],V[1],V[2]);break;default:N.apply(s,V)}})(U)}finally{D(R),m=!1}}}}function C(R){R.source===a&&typeof R.data=="string"&&R.data.indexOf(d)===0&&w(+R.data.slice(d.length))}})(typeof self>"u"?o===void 0?this:o:self)}).call(this,typeof it<"u"?it:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(c8);var _G=c8.exports,CG=cy,EG=_G;Dh.openArrayBuffer=kG;Dh.splitPath=AG;Dh.joinPath=UG;function kG(t){return EG.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 CG.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 AG(t){var e=t.lastIndexOf("/");return e===-1?{dirname:"",basename:t}:{dirname:t.substring(0,e),basename:t.substring(e+1)}}function UG(){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 HD={},la={},Gu={},uy=qt;Gu.Element=Xu;Gu.element=function(t,e,n){return new Xu(t,e,n)};Gu.text=function(t){return{type:"text",value:t}};var u8=Gu.emptyElement={first:function(){return null},firstOrEmpty:function(){return u8},attributes:{},children:[]};function Xu(t,e,n){this.type="element",this.name=t,this.attributes=e||{},this.children=n||[]}Xu.prototype.first=function(t){return uy.find(this.children,function(e){return e.name===t})};Xu.prototype.firstOrEmpty=function(t){return this.first(t)||u8};Xu.prototype.getElementsByTagName=function(t){var e=uy.filter(this.children,function(n){return n.name===t});return f8(e)};Xu.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 FG={getElementsByTagName:function(t){return f8(uy.flatten(this.map(function(e){return e.getElementsByTagName(t)},!0)))}};function f8(t){return uy.extend(t,FG)}var d8={},qD={},fy={},ho={},ca={};function RG(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 GD(t,e){return e===void 0&&(e=Object),e&&typeof e.freeze=="function"?e.freeze(t):t}function OG(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 h8=GD({HTML:"text/html",isHTML:function(t){return t===h8.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),p8=GD({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===p8.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});ca.assign=OG;ca.find=RG;ca.freeze=GD;ca.MIME_TYPE=h8;ca.NAMESPACE=p8;var g8=ca,eo=g8.find,Yd=g8.NAMESPACE;function IG(t){return t!==""}function BG(t){return t?t.split(/[\t\n\f\r ]+/).filter(IG):[]}function MG(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function GC(t){if(!t)return[];var e=BG(t);return Object.keys(e.reduce(MG,{}))}function NG(t){return function(e){return t&&t.indexOf(e)!==-1}}function wh(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function Sr(t,e){var n=t.prototype;if(!(n instanceof e)){let r=function(){};r.prototype=e.prototype,r=new r,wh(n,r),t.prototype=n=r}n.constructor!=t&&(typeof t!="function"&&console.error("unknown Class:"+t),n.constructor=t)}var Tr={},wi=Tr.ELEMENT_NODE=1,Uu=Tr.ATTRIBUTE_NODE=2,vm=Tr.TEXT_NODE=3,m8=Tr.CDATA_SECTION_NODE=4,y8=Tr.ENTITY_REFERENCE_NODE=5,PG=Tr.ENTITY_NODE=6,b8=Tr.PROCESSING_INSTRUCTION_NODE=7,v8=Tr.COMMENT_NODE=8,x8=Tr.DOCUMENT_NODE=9,D8=Tr.DOCUMENT_TYPE_NODE=10,ea=Tr.DOCUMENT_FRAGMENT_NODE=11,LG=Tr.NOTATION_NODE=12,$n={},ln={};$n.INDEX_SIZE_ERR=(ln[1]="Index size error",1);$n.DOMSTRING_SIZE_ERR=(ln[2]="DOMString size error",2);var yr=$n.HIERARCHY_REQUEST_ERR=(ln[3]="Hierarchy request error",3);$n.WRONG_DOCUMENT_ERR=(ln[4]="Wrong document",4);$n.INVALID_CHARACTER_ERR=(ln[5]="Invalid character",5);$n.NO_DATA_ALLOWED_ERR=(ln[6]="No data allowed",6);$n.NO_MODIFICATION_ALLOWED_ERR=(ln[7]="No modification allowed",7);var w8=$n.NOT_FOUND_ERR=(ln[8]="Not found",8);$n.NOT_SUPPORTED_ERR=(ln[9]="Not supported",9);var XC=$n.INUSE_ATTRIBUTE_ERR=(ln[10]="Attribute in use",10);$n.INVALID_STATE_ERR=(ln[11]="Invalid state",11);$n.SYNTAX_ERR=(ln[12]="Syntax error",12);$n.INVALID_MODIFICATION_ERR=(ln[13]="Invalid modification",13);$n.NAMESPACE_ERR=(ln[14]="Invalid namespace",14);$n.INVALID_ACCESS_ERR=(ln[15]="Invalid access",15);function Ht(t,e){if(e instanceof Error)var n=e;else n=this,Error.call(this,ln[t]),this.message=ln[t],Error.captureStackTrace&&Error.captureStackTrace(this,Ht);return n.code=t,e&&(this.message=this.message+": "+e),n}Ht.prototype=Error.prototype;wh($n,Ht);function Ko(){}Ko.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++)lu(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 Fu(t,e){this._node=t,this._refresh=e,XD(this)}function XD(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!==e){var n=t._refresh(t._node);if(I8(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];wh(n,t),t._inc=e}}Fu.prototype.item=function(t){return XD(this),this[t]||null};Sr(Fu,Ko);function xm(){}function S8(t,e){for(var n=t.length;n--;)if(t[n]===e)return n}function JC(t,e,n,r){if(r?e[S8(e,r)]=n:e[e.length++]=n,t){n.ownerElement=t;var i=t.ownerDocument;i&&(r&&C8(i,t,r),WG(i,t,n))}}function YC(t,e,n){var r=S8(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&&(C8(o,t,n),n.ownerElement=null)}}else throw new Ht(w8,new Error(t.tagName+"@"+n))}xm.prototype={length:0,item:Ko.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 Ht(XC);var n=this.getNamedItem(t.nodeName);return JC(this._ownerElement,this,t,n),n},setNamedItemNS:function(t){var e=t.ownerElement,n;if(e&&e!=this._ownerElement)throw new Ht(XC);return n=this.getNamedItemNS(t.namespaceURI,t.localName),JC(this._ownerElement,this,t,n),n},removeNamedItem:function(t){var e=this.getNamedItem(t);return YC(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var n=this.getNamedItemNS(t,e);return YC(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 T8(){}T8.prototype={hasFeature:function(t,e){return!0},createDocument:function(t,e,n){var r=new Sh;if(r.implementation=this,r.childNodes=new Ko,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 dy;return r.name=t,r.nodeName=t,r.publicId=e||"",r.systemId=n||"",r}};function wt(){}wt.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 Dm(this,t,e)},replaceChild:function(t,e){Dm(this,t,e,k8),e&&this.removeChild(e)},removeChild:function(t){return E8(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(t){return k2(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==vm&&t.nodeType==vm?(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==Uu?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==Uu?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){var e=this.lookupPrefix(t);return e==null}};function _8(t){return t=="<"&&"&lt;"||t==">"&&"&gt;"||t=="&"&&"&amp;"||t=='"'&&"&quot;"||"&#"+t.charCodeAt()+";"}wh(Tr,wt);wh(Tr,wt.prototype);function Kd(t,e){if(e(t))return!0;if(t=t.firstChild)do if(Kd(t,e))return!0;while(t=t.nextSibling)}function Sh(){this.ownerDocument=this}function WG(t,e,n){t&&t._inc++;var r=n.namespaceURI;r===Yd.XMLNS&&(e._nsMap[n.prefix?n.localName:""]=n.value)}function C8(t,e,n,r){t&&t._inc++;var i=n.namespaceURI;i===Yd.XMLNS&&delete e._nsMap[n.prefix?n.localName:""]}function JD(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 E8(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,JD(t.ownerDocument,t),e}function $G(t){return t&&(t.nodeType===wt.DOCUMENT_NODE||t.nodeType===wt.DOCUMENT_FRAGMENT_NODE||t.nodeType===wt.ELEMENT_NODE)}function zG(t){return t&&(to(t)||YD(t)||ta(t)||t.nodeType===wt.DOCUMENT_FRAGMENT_NODE||t.nodeType===wt.COMMENT_NODE||t.nodeType===wt.PROCESSING_INSTRUCTION_NODE)}function ta(t){return t&&t.nodeType===wt.DOCUMENT_TYPE_NODE}function to(t){return t&&t.nodeType===wt.ELEMENT_NODE}function YD(t){return t&&t.nodeType===wt.TEXT_NODE}function KC(t,e){var n=t.childNodes||[];if(eo(n,to)||ta(e))return!1;var r=eo(n,ta);return!(e&&r&&n.indexOf(r)>n.indexOf(e))}function ZC(t,e){var n=t.childNodes||[];function r(o){return to(o)&&o!==e}if(eo(n,r))return!1;var i=eo(n,ta);return!(e&&i&&n.indexOf(i)>n.indexOf(e))}function jG(t,e,n){if(!$G(t))throw new Ht(yr,"Unexpected parent node type "+t.nodeType);if(n&&n.parentNode!==t)throw new Ht(w8,"child not in parent");if(!zG(e)||ta(e)&&t.nodeType!==wt.DOCUMENT_NODE)throw new Ht(yr,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)}function VG(t,e,n){var r=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===wt.DOCUMENT_FRAGMENT_NODE){var o=i.filter(to);if(o.length>1||eo(i,YD))throw new Ht(yr,"More than one element or text in fragment");if(o.length===1&&!KC(t,n))throw new Ht(yr,"Element in fragment can not be inserted before doctype")}if(to(e)&&!KC(t,n))throw new Ht(yr,"Only one element can be added and only after doctype");if(ta(e)){if(eo(r,ta))throw new Ht(yr,"Only one doctype is allowed");var a=eo(r,to);if(n&&r.indexOf(a)<r.indexOf(n))throw new Ht(yr,"Doctype can only be inserted before an element");if(!n&&a)throw new Ht(yr,"Doctype can not be appended since element is present")}}function k8(t,e,n){var r=t.childNodes||[],i=e.childNodes||[];if(e.nodeType===wt.DOCUMENT_FRAGMENT_NODE){var o=i.filter(to);if(o.length>1||eo(i,YD))throw new Ht(yr,"More than one element or text in fragment");if(o.length===1&&!ZC(t,n))throw new Ht(yr,"Element in fragment can not be inserted before doctype")}if(to(e)&&!ZC(t,n))throw new Ht(yr,"Only one element can be added and only after doctype");if(ta(e)){if(eo(r,function(l){return ta(l)&&l!==n}))throw new Ht(yr,"Only one doctype is allowed");var a=eo(r,to);if(n&&r.indexOf(a)<r.indexOf(n))throw new Ht(yr,"Doctype can only be inserted before an element")}}function Dm(t,e,n,r){jG(t,e,n),t.nodeType===wt.DOCUMENT_NODE&&(r||VG)(t,e,n);var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===ea){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 JD(t.ownerDocument||t,t),e.nodeType==ea&&(e.firstChild=e.lastChild=null),e}function HG(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,JD(t.ownerDocument,t,e),e}Sh.prototype={nodeName:"#document",nodeType:x8,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==ea){for(var n=t.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,e),n=r}return t}return Dm(this,t,e),t.ownerDocument=this,this.documentElement===null&&t.nodeType===wi&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),E8(this,t)},replaceChild:function(t,e){Dm(this,t,e,k8),t.ownerDocument=this,e&&this.removeChild(e),to(t)&&(this.documentElement=t)},importNode:function(t,e){return O8(this,t,e)},getElementById:function(t){var e=null;return Kd(this.documentElement,function(n){if(n.nodeType==wi&&n.getAttribute("id")==t)return e=n,!0}),e},getElementsByClassName:function(t){var e=GC(t);return new Fu(this,function(n){var r=[];return e.length>0&&Kd(n.documentElement,function(i){if(i!==n&&i.nodeType===wi){var o=i.getAttribute("class");if(o){var a=t===o;if(!a){var s=GC(o);a=e.every(NG(s))}a&&r.push(i)}}}),r})},createElement:function(t){var e=new Al;e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new Ko;var n=e.attributes=new xm;return n._ownerElement=e,e},createDocumentFragment:function(){var t=new hy;return t.ownerDocument=this,t.childNodes=new Ko,t},createTextNode:function(t){var e=new KD;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new ZD;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new QD;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var n=new tw;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=t,n.nodeValue=n.data=e,n},createAttribute:function(t){var e=new wm;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new ew;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var n=new Al,r=e.split(":"),i=n.attributes=new xm;return n.childNodes=new Ko,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 wm,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}};Sr(Sh,wt);function Al(){this._nsMap={}}Al.prototype={nodeType:wi,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===ea?this.insertBefore(t,null):HG(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 Fu(this,function(e){var n=[];return Kd(e,function(r){r!==e&&r.nodeType==wi&&(t==="*"||r.tagName==t)&&n.push(r)}),n})},getElementsByTagNameNS:function(t,e){return new Fu(this,function(n){var r=[];return Kd(n,function(i){i!==n&&i.nodeType===wi&&(t==="*"||i.namespaceURI===t)&&(e==="*"||i.localName==e)&&r.push(i)}),r})}};Sh.prototype.getElementsByTagName=Al.prototype.getElementsByTagName;Sh.prototype.getElementsByTagNameNS=Al.prototype.getElementsByTagNameNS;Sr(Al,wt);function wm(){}wm.prototype.nodeType=Uu;Sr(wm,wt);function Th(){}Th.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(ln[yr])},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}};Sr(Th,wt);function KD(){}KD.prototype={nodeName:"#text",nodeType:vm,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}};Sr(KD,Th);function ZD(){}ZD.prototype={nodeName:"#comment",nodeType:v8};Sr(ZD,Th);function QD(){}QD.prototype={nodeName:"#cdata-section",nodeType:m8};Sr(QD,Th);function dy(){}dy.prototype.nodeType=D8;Sr(dy,wt);function A8(){}A8.prototype.nodeType=LG;Sr(A8,wt);function U8(){}U8.prototype.nodeType=PG;Sr(U8,wt);function ew(){}ew.prototype.nodeType=y8;Sr(ew,wt);function hy(){}hy.prototype.nodeName="#document-fragment";hy.prototype.nodeType=ea;Sr(hy,wt);function tw(){}tw.prototype.nodeType=b8;Sr(tw,wt);function F8(){}F8.prototype.serializeToString=function(t,e,n){return R8.call(t,e,n)};wt.prototype.toString=R8;function R8(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 lu(this,n,t,e,a),n.join("")}function QC(t,e,n){var r=t.prefix||"",i=t.namespaceURI;if(!i||r==="xml"&&i===Yd.XML||i===Yd.XMLNS)return!1;for(var o=n.length;o--;){var a=n[o];if(a.prefix===r)return a.namespace!==i}return!0}function T1(t,e,n){t.push(" ",e,'="',n.replace(/[<>&"\t\n\r]/g,_8),'"')}function lu(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 wi:var o=t.attributes,a=o.length,D=t.firstChild,s=t.tagName;n=Yd.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 m=o.item(g);m.prefix=="xmlns"?i.push({prefix:m.localName,namespace:m.value}):m.nodeName=="xmlns"&&i.push({prefix:"",namespace:m.value})}for(var g=0;g<a;g++){var m=o.item(g);if(QC(m,n,i)){var v=m.prefix||"",x=m.namespaceURI;T1(e,v?"xmlns:"+v:"xmlns",x),i.push({prefix:v,namespace:x})}lu(m,e,n,r,i)}if(s===l&&QC(t,n,i)){var v=t.prefix||"",x=t.namespaceURI;T1(e,v?"xmlns:"+v:"xmlns",x),i.push({prefix:v,namespace:x})}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):lu(D,e,n,r,i.slice()),D=D.nextSibling;else for(;D;)lu(D,e,n,r,i.slice()),D=D.nextSibling;e.push("</",l,">")}else e.push("/>");return;case x8:case ea:for(var D=t.firstChild;D;)lu(D,e,n,r,i.slice()),D=D.nextSibling;return;case Uu:return T1(e,t.name,t.value);case vm:return e.push(t.data.replace(/[<&>]/g,_8));case m8:return e.push("<![CDATA[",t.data,"]]>");case v8:return e.push("<!--",t.data,"-->");case D8:var w=t.publicId,C=t.systemId;if(e.push("<!DOCTYPE ",t.name),w)e.push(" PUBLIC ",w),C&&C!="."&&e.push(" ",C),e.push(">");else if(C&&C!=".")e.push(" SYSTEM ",C,">");else{var R=t.internalSubset;R&&e.push(" [",R,"]"),e.push(">")}return;case b8:return e.push("<?",t.target," ",t.data,"?>");case y8:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function O8(t,e,n){var r;switch(e.nodeType){case wi:r=e.cloneNode(!1),r.ownerDocument=t;case ea:break;case Uu:n=!0;break}if(r||(r=e.cloneNode(!1)),r.ownerDocument=t,r.parentNode=null,n)for(var i=e.firstChild;i;)r.appendChild(O8(t,i,n)),i=i.nextSibling;return r}function k2(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 Ko),r.ownerDocument=t,r.nodeType){case wi:var a=e.attributes,s=r.attributes=new xm,l=a.length;s._ownerElement=r;for(var c=0;c<l;c++)r.setAttributeNode(k2(t,a.item(c),!0));break;case Uu:n=!0}if(n)for(var f=e.firstChild;f;)r.appendChild(k2(t,f,n)),f=f.nextSibling;return r}function I8(t,e,n){t[e]=n}try{if(Object.defineProperty){let t=function(e){switch(e.nodeType){case wi:case ea: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(Fu.prototype,"length",{get:function(){return XD(this),this.$$length}}),Object.defineProperty(wt.prototype,"textContent",{get:function(){return t(this)},set:function(e){switch(this.nodeType){case wi:case ea: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}}}),I8=function(e,n,r){e["$$"+n]=r}}}catch{}ho.DocumentType=dy;ho.DOMException=Ht;ho.DOMImplementation=T8;ho.Element=Al;ho.Node=wt;ho.NodeList=Ko;ho.XMLSerializer=F8;var py={},B8={};(function(t){var e=ca.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})(B8);var nw={},Zd=ca.NAMESPACE,A2=/[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]/,eE=new RegExp("[\\-\\.0-9"+A2.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),tE=new RegExp("^"+A2.source+eE.source+"*(?::"+A2.source+eE.source+"*)?$"),td=0,ja=1,Yc=2,nd=3,Kc=4,Zc=5,rd=6,Up=7;function Ru(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,Ru)}Ru.prototype=new Error;Ru.prototype.name=Ru.name;function M8(){}M8.prototype={parse:function(t,e,n){var r=this.domBuilder;r.startDocument(),N8(e,e={}),qG(t,e,n,r,this.errorHandler),r.endDocument()}};function qG(t,e,n,r,i){function o(z){if(z>65535){z-=65536;var J=55296+(z>>10),Y=56320+(z&1023);return String.fromCharCode(J,Y)}else return String.fromCharCode(z)}function a(z){var J=z.slice(1,-1);return Object.hasOwnProperty.call(n,J)?n[J]:J.charAt(0)==="#"?o(parseInt(J.substr(1).replace("x","0x"))):(i.error("entity not found:"+z),z)}function s(z){if(z>v){var J=t.substring(v,z).replace(/&#?\w+;/g,a);p&&l(v),r.characters(J,0,z-v),v=z}}function l(z,J){for(;z>=f&&(J=d.exec(t));)c=J.index,f=c+J[0].length,p.lineNumber++;p.columnNumber=z-c+1}for(var c=0,f=0,d=/.*(?:\r\n?|\n)|.*$/g,p=r.locator,g=[{currentNSMap:e}],m={},v=0;;){try{var x=t.indexOf("<",v);if(x<0){if(!t.substr(v).match(/^\s*$/)){var D=r.doc,w=D.createTextNode(t.substr(v));D.appendChild(w),r.currentElement=w}return}switch(x>v&&s(x),t.charAt(x+1)){case"/":var ue=t.indexOf(">",x+3),C=t.substring(x+2,ue).replace(/[ \t\n\r]+$/g,""),R=g.pop();ue<0?(C=t.substring(x+2).replace(/[\s<].*/,""),i.error("end tag name: "+C+" is not complete:"+R.tagName),ue=x+1+C.length):C.match(/\s</)&&(C=C.replace(/[\s<].*/,""),i.error("end tag name: "+C+" maybe not complete"),ue=x+1+C.length);var U=R.localNSMap,I=R.tagName==C,N=I||R.tagName&&R.tagName.toLowerCase()==C.toLowerCase();if(N){if(r.endElement(R.uri,R.localName,C),U)for(var V in U)Object.prototype.hasOwnProperty.call(U,V)&&r.endPrefixMapping(V);I||i.fatalError("end tag name: "+C+" is not match the current start tagName:"+R.tagName)}else g.push(R);ue++;break;case"?":p&&l(x),ue=KG(t,x,r);break;case"!":p&&l(x),ue=YG(t,x,r,i);break;default:p&&l(x);var j=new P8,oe=g[g.length-1].currentNSMap,ue=GG(t,x,j,oe,a,i),F=j.length;if(!j.closed&&JG(t,ue,j.tagName,m)&&(j.closed=!0,n.nbsp||i.warning("unclosed xml attribute")),p&&F){for(var X=nE(p,{}),E=0;E<F;E++){var re=j[E];l(re.offset),re.locator=nE(p,{})}r.locator=X,rE(j,r,oe)&&g.push(j),r.locator=p}else rE(j,r,oe)&&g.push(j);Zd.isHTML(j.uri)&&!j.closed?ue=XG(t,ue,j.tagName,a,r):ue++}}catch(z){if(z instanceof Ru)throw z;i.error("element parse error: "+z),ue=-1}ue>v?v=ue:s(Math.max(x,v)+1)}}function nE(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function GG(t,e,n,r,i,o){function a(p,g,m){n.attributeNames.hasOwnProperty(p)&&o.fatalError("Attribute "+p+" redefined"),n.addValue(p,g.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,i),m)}for(var s,l,c=++e,f=td;;){var d=t.charAt(c);switch(d){case"=":if(f===ja)s=t.slice(e,c),f=nd;else if(f===Yc)f=nd;else throw new Error("attribute equal must after attrName");break;case"'":case'"':if(f===nd||f===ja)if(f===ja&&(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=Zc;else throw new Error("attribute value no end '"+d+"' match");else if(f==Kc)l=t.slice(e,c),a(s,l,e),o.warning('attribute "'+s+'" missed start quot('+d+")!!"),e=c+1,f=Zc;else throw new Error('attribute value must after "="');break;case"/":switch(f){case td:n.setTagName(t.slice(e,c));case Zc:case rd:case Up:f=Up,n.closed=!0;case Kc:case ja:break;case Yc:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),f==td&&n.setTagName(t.slice(e,c)),c;case">":switch(f){case td:n.setTagName(t.slice(e,c));case Zc:case rd:case Up:break;case Kc:case ja:l=t.slice(e,c),l.slice(-1)==="/"&&(n.closed=!0,l=l.slice(0,-1));case Yc:f===Yc&&(l=s),f==Kc?(o.warning('attribute "'+l+'" missed quot(")!'),a(s,l,e)):((!Zd.isHTML(r[""])||!l.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),a(l,l,e));break;case nd:throw new Error("attribute value missed!!")}return c;case"€":d=" ";default:if(d<=" ")switch(f){case td:n.setTagName(t.slice(e,c)),f=rd;break;case ja:s=t.slice(e,c),f=Yc;break;case Kc:var l=t.slice(e,c);o.warning('attribute "'+l+'" missed quot(")!!'),a(s,l,e);case Zc:f=rd;break}else switch(f){case Yc:n.tagName,(!Zd.isHTML(r[""])||!s.match(/^(?:disabled|checked|selected)$/i))&&o.warning('attribute "'+s+'" missed value!! "'+s+'" instead2!!'),a(s,s,e),e=c,f=ja;break;case Zc:o.warning('attribute space is required"'+s+'"!!');case rd:f=ja,e=c;break;case nd:f=Kc,e=c;break;case Up:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function rE(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={},N8(n,n={})),n[f]=i[f]=s,o.uri=Zd.XMLNS,e.startPrefixMapping(f,s))}for(var d=t.length;d--;){o=t[d];var l=o.prefix;l&&(l==="xml"&&(o.uri=Zd.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 XG(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 JG(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 N8(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}function YG(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=ZG(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 KG(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 P8(){this.attributeNames={}}P8.prototype={setTagName:function(t){if(!tE.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,n){if(!tE.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 ZG(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}nw.XMLReader=M8;nw.ParseError=Ru;var QG=ca,eX=ho,iE=B8,L8=nw,tX=eX.DOMImplementation,oE=QG.NAMESPACE,nX=L8.ParseError,rX=L8.XMLReader;function W8(t){return t.replace(/\r[\n\u0085]/g,`
220
+ `).replace(/[\r\u0085\u2028]/g,`
221
+ `)}function $8(t){this.options=t||{locator:{}}}$8.prototype.parseFromString=function(t,e){var n=this.options,r=new rX,i=n.domBuilder||new _h,o=n.errorHandler,a=n.locator,s=n.xmlns||{},l=/\/x?html?$/.test(e),c=l?iE.HTML_ENTITIES:iE.XML_ENTITIES;a&&i.setDocumentLocator(a),r.errorHandler=iX(o,i,a),r.domBuilder=n.domBuilder||i,l&&(s[""]=oE.HTML),s.xml=s.xml||oE.XML;var f=n.normalizeLineEndings||W8;return t&&typeof t=="string"?r.parse(f(t),s,c):r.errorHandler.error("invalid doc source"),i.doc};function iX(t,e,n){if(!t){if(e instanceof _h)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+U2(n))}||function(){}}return o("warning"),o("error"),o("fatalError"),r}function _h(){this.cdata=!1}function Qc(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}_h.prototype={startDocument:function(){this.doc=new tX().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;Fp(this,o),this.currentElement=o,this.locator&&Qc(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&&Qc(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&&Qc(this.locator,n),Fp(this,n)},ignorableWhitespace:function(t,e,n){},characters:function(t,e,n){if(t=aE.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&&Qc(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=aE.apply(this,arguments);var r=this.doc.createComment(t);this.locator&&Qc(this.locator,r),Fp(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&&Qc(this.locator,i),Fp(this,i),this.doc.doctype=i}},warning:function(t){console.warn("[xmldom warning] "+t,U2(this.locator))},error:function(t){console.error("[xmldom error] "+t,U2(this.locator))},fatalError:function(t){throw new nX(t,this.locator)}};function U2(t){if(t)return`
222
+ @`+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function aE(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){_h.prototype[t]=function(){return null}});function Fp(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}py.__DOMHandler=_h;py.normalizeLineEndings=W8;py.DOMParser=$8;var z8=ho;fy.DOMImplementation=z8.DOMImplementation;fy.XMLSerializer=z8.XMLSerializer;fy.DOMParser=py.DOMParser;var oX=fy,aX=ho;function sX(t){var e=null,n=new oX.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)}qD.parseFromString=sX;qD.Node=aX.Node;var _1=un,sE=qt,j8=qD,V8=Gu,lX=V8.Element;d8.readString=cX;var lE=j8.Node;function cX(t,e){e=e||{};try{var n=j8.parseFromString(t,"text/xml")}catch(a){return _1.reject(a)}if(n.documentElement.tagName==="parsererror")return _1.resolve(new Error(n.documentElement.textContent));function r(a){switch(a.nodeType){case lE.ELEMENT_NODE:return i(a);case lE.TEXT_NODE:return V8.text(a.nodeValue)}}function i(a){var s=o(a),l=[];sE.forEach(a.childNodes,function(f){var d=r(f);d&&l.push(d)});var c={};return sE.forEach(a.attributes,function(f){c[o(f)]=f.value}),new lX(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 _1.resolve(r(n.documentElement))}var H8={},fd={},Po={},cE;function Cs(){return cE||(cE=1,(function(){var t,e,n,r,i,o,a,s=[].slice,l={}.hasOwnProperty;t=function(){var c,f,d,p,g,m;if(m=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)&&(m[f]=p[f]);return m},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},Po.assign=t,Po.isFunction=i,Po.isObject=o,Po.isArray=n,Po.isEmpty=r,Po.isPlainObject=a,Po.getValue=e}).call(it)),Po}var C1={exports:{}},E1={exports:{}},k1={exports:{}},A1={exports:{}},uE;function q8(){return uE||(uE=1,(function(){A1.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(it)),A1.exports}var fE;function gy(){return fE||(fE=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=Cs(),i=o.isObject,r=o.isFunction,n=o.getValue,e=_r(),t=q8(),k1.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(m){var v;return v=m.clone(),v.parent=p,p.children.push(v)}),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(it)),k1.exports}var U1={exports:{}},dE;function my(){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=_r(),U1.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(it)),U1.exports}var F1={exports:{}},hE;function yy(){return hE||(hE=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=_r(),F1.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(it)),F1.exports}var R1={exports:{}},pE;function by(){return pE||(pE=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=Cs().isObject,t=_r(),R1.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(it)),R1.exports}var O1={exports:{}},I1={exports:{}},gE;function vy(){return gE||(gE=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=_r(),I1.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(it)),I1.exports}var B1={exports:{}},mE;function xy(){return mE||(mE=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=Cs().isObject,t=_r(),B1.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(it)),B1.exports}var M1={exports:{}},yE;function Dy(){return yE||(yE=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=_r(),M1.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(it)),M1.exports}var N1={exports:{}},bE;function wy(){return bE||(bE=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=_r(),N1.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(it)),N1.exports}var vE;function Sy(){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=Cs().isObject,i=_r(),t=vy(),n=xy(),e=Dy(),r=wy(),O1.exports=function(l){a(c,l);function c(f,d,p){var g,m;c.__super__.constructor.call(this,f),this.name="!DOCTYPE",this.documentObject=f,o(d)&&(g=d,d=g.pubID,p=g.sysID),p==null&&(m=[d,p],p=m[0],d=m[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,m){var v;return v=new t(this,f,d,p,g,m),this.children.push(v),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,m){return this.attList(f,d,p,g,m)},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(it)),O1.exports}var P1={exports:{}},xE;function Ty(){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=_r(),P1.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(it)),P1.exports}var L1={exports:{}},DE;function _y(){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=_r(),L1.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(it)),L1.exports}var W1={exports:{}},wE;function Cy(){return wE||(wE=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=_r(),W1.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(it)),W1.exports}var $1={exports:{}},SE;function rw(){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=_r(),$1.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(it)),$1.exports}var TE;function _r(){return TE||(TE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,m={}.hasOwnProperty;g=Cs(),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,E1.exports=function(){function v(x){this.parent=x,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.children=[],o||(o=gy(),t=my(),e=yy(),n=by(),r=Sy(),s=Ty(),l=_y(),a=Cy(),i=rw())}return v.prototype.element=function(x,D,w){var C,R,U,I,N,V,j,oe,ue,F,X;if(V=null,D===null&&w==null&&(ue=[{},null],D=ue[0],w=ue[1]),D==null&&(D={}),D=c(D),p(D)||(F=[D,w],w=F[0],D=F[1]),x!=null&&(x=c(x)),Array.isArray(x))for(U=0,j=x.length;U<j;U++)R=x[U],V=this.element(R);else if(d(x))V=this.element(x.apply());else if(p(x)){for(N in x)if(m.call(x,N))if(X=x[N],d(X)&&(X=X.apply()),p(X)&&f(X)&&(X=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&N.indexOf(this.stringify.convertAttKey)===0)V=this.attribute(N.substr(this.stringify.convertAttKey.length),X);else if(!this.options.separateArrayItems&&Array.isArray(X))for(I=0,oe=X.length;I<oe;I++)R=X[I],C={},C[N]=R,V=this.element(C);else p(X)?(V=this.element(N),V.element(X)):V=this.element(N,X)}else this.options.skipNullNodes&&w===null?V=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&x.indexOf(this.stringify.convertTextKey)===0?V=this.text(w):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&x.indexOf(this.stringify.convertCDataKey)===0?V=this.cdata(w):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&x.indexOf(this.stringify.convertCommentKey)===0?V=this.comment(w):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&x.indexOf(this.stringify.convertRawKey)===0?V=this.raw(w):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&x.indexOf(this.stringify.convertPIKey)===0?V=this.instruction(x.substr(this.stringify.convertPIKey.length),w):V=this.node(x,D,w);if(V==null)throw new Error("Could not create any elements with: "+x+". "+this.debugInfo());return V},v.prototype.insertBefore=function(x,D,w){var C,R,U;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(x));return R=this.parent.children.indexOf(this),U=this.parent.children.splice(R),C=this.parent.element(x,D,w),Array.prototype.push.apply(this.parent.children,U),C},v.prototype.insertAfter=function(x,D,w){var C,R,U;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(x));return R=this.parent.children.indexOf(this),U=this.parent.children.splice(R+1),C=this.parent.element(x,D,w),Array.prototype.push.apply(this.parent.children,U),C},v.prototype.remove=function(){var x;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return x=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[x,x-x+1].concat([])),this.parent},v.prototype.node=function(x,D,w){var C,R;return x!=null&&(x=c(x)),D||(D={}),D=c(D),p(D)||(R=[D,w],w=R[0],D=R[1]),C=new o(this,x,D),w!=null&&C.text(w),this.children.push(C),C},v.prototype.text=function(x){var D;return D=new l(this,x),this.children.push(D),this},v.prototype.cdata=function(x){var D;return D=new t(this,x),this.children.push(D),this},v.prototype.comment=function(x){var D;return D=new e(this,x),this.children.push(D),this},v.prototype.commentBefore=function(x){var D,w;return D=this.parent.children.indexOf(this),w=this.parent.children.splice(D),this.parent.comment(x),Array.prototype.push.apply(this.parent.children,w),this},v.prototype.commentAfter=function(x){var D,w;return D=this.parent.children.indexOf(this),w=this.parent.children.splice(D+1),this.parent.comment(x),Array.prototype.push.apply(this.parent.children,w),this},v.prototype.raw=function(x){var D;return D=new s(this,x),this.children.push(D),this},v.prototype.dummy=function(){var x;return x=new i(this),this.children.push(x),x},v.prototype.instruction=function(x,D){var w,C,R,U,I;if(x!=null&&(x=c(x)),D!=null&&(D=c(D)),Array.isArray(x))for(U=0,I=x.length;U<I;U++)w=x[U],this.instruction(w);else if(p(x))for(w in x)m.call(x,w)&&(C=x[w],this.instruction(w,C));else d(D)&&(D=D.apply()),R=new a(this,x,D),this.children.push(R);return this},v.prototype.instructionBefore=function(x,D){var w,C;return w=this.parent.children.indexOf(this),C=this.parent.children.splice(w),this.parent.instruction(x,D),Array.prototype.push.apply(this.parent.children,C),this},v.prototype.instructionAfter=function(x,D){var w,C;return w=this.parent.children.indexOf(this),C=this.parent.children.splice(w+1),this.parent.instruction(x,D),Array.prototype.push.apply(this.parent.children,C),this},v.prototype.declaration=function(x,D,w){var C,R;return C=this.document(),R=new n(C,x,D,w),C.children[0]instanceof n?C.children[0]=R:C.children.unshift(R),C.root()||C},v.prototype.doctype=function(x,D){var w,C,R,U,I,N,V,j,oe,ue;for(C=this.document(),R=new r(C,x,D),oe=C.children,U=I=0,V=oe.length;I<V;U=++I)if(w=oe[U],w instanceof r)return C.children[U]=R,R;for(ue=C.children,U=N=0,j=ue.length;N<j;U=++N)if(w=ue[U],w.isRoot)return C.children.splice(U,0,R),R;return C.children.push(R),R},v.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},v.prototype.root=function(){var x;for(x=this;x;){if(x.isDocument)return x.rootObject;if(x.isRoot)return x;x=x.parent}},v.prototype.document=function(){var x;for(x=this;x;){if(x.isDocument)return x;x=x.parent}},v.prototype.end=function(x){return this.document().end(x)},v.prototype.prev=function(){var x;for(x=this.parent.children.indexOf(this);x>0&&this.parent.children[x-1].isDummy;)x=x-1;if(x<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[x-1]},v.prototype.next=function(){var x;for(x=this.parent.children.indexOf(this);x<this.parent.children.length-1&&this.parent.children[x+1].isDummy;)x=x+1;if(x===-1||x===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[x+1]},v.prototype.importDocument=function(x){var D;return D=x.root().clone(),D.parent=this,D.isRoot=!1,this.children.push(D),this},v.prototype.debugInfo=function(x){var D,w;return x=x||this.name,x==null&&!((D=this.parent)!=null&&D.name)?"":x==null?"parent: <"+this.parent.name+">":(w=this.parent)!=null&&w.name?"node: <"+x+">, parent: <"+this.parent.name+">":"node: <"+x+">"},v.prototype.ele=function(x,D,w){return this.element(x,D,w)},v.prototype.nod=function(x,D,w){return this.node(x,D,w)},v.prototype.txt=function(x){return this.text(x)},v.prototype.dat=function(x){return this.cdata(x)},v.prototype.com=function(x){return this.comment(x)},v.prototype.ins=function(x,D){return this.instruction(x,D)},v.prototype.doc=function(){return this.document()},v.prototype.dec=function(x,D,w){return this.declaration(x,D,w)},v.prototype.dtd=function(x,D){return this.doctype(x,D)},v.prototype.e=function(x,D,w){return this.element(x,D,w)},v.prototype.n=function(x,D,w){return this.node(x,D,w)},v.prototype.t=function(x){return this.text(x)},v.prototype.d=function(x){return this.cdata(x)},v.prototype.c=function(x){return this.comment(x)},v.prototype.r=function(x){return this.raw(x)},v.prototype.i=function(x,D){return this.instruction(x,D)},v.prototype.u=function(){return this.up()},v.prototype.importXMLBuilder=function(x){return this.importDocument(x)},v}()}).call(it)),E1.exports}var z1={exports:{}},_E;function G8(){return _E||(_E=1,(function(){var t=function(n,r){return function(){return n.apply(r,arguments)}},e={}.hasOwnProperty;z1.exports=function(){function n(r){this.assertLegalChar=t(this.assertLegalChar,this);var i,o,a;r||(r={}),this.noDoubleEncoding=r.noDoubleEncoding,o=r.stringify||{};for(i in o)e.call(o,i)&&(a=o[i],this[i]=a)}return n.prototype.eleName=function(r){return r=""+r||"",this.assertLegalChar(r)},n.prototype.eleText=function(r){return r=""+r||"",this.assertLegalChar(this.elEscape(r))},n.prototype.cdata=function(r){return r=""+r||"",r=r.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(r)},n.prototype.comment=function(r){if(r=""+r||"",r.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+r);return this.assertLegalChar(r)},n.prototype.raw=function(r){return""+r||""},n.prototype.attName=function(r){return r=""+r||""},n.prototype.attValue=function(r){return r=""+r||"",this.attEscape(r)},n.prototype.insTarget=function(r){return""+r||""},n.prototype.insValue=function(r){if(r=""+r||"",r.match(/\?>/))throw new Error("Invalid processing instruction value: "+r);return r},n.prototype.xmlVersion=function(r){if(r=""+r||"",!r.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+r);return r},n.prototype.xmlEncoding=function(r){if(r=""+r||"",!r.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+r);return r},n.prototype.xmlStandalone=function(r){return r?"yes":"no"},n.prototype.dtdPubID=function(r){return""+r||""},n.prototype.dtdSysID=function(r){return""+r||""},n.prototype.dtdElementValue=function(r){return""+r||""},n.prototype.dtdAttType=function(r){return""+r||""},n.prototype.dtdAttDefault=function(r){return r!=null?""+r||"":r},n.prototype.dtdEntityValue=function(r){return""+r||""},n.prototype.dtdNData=function(r){return""+r||""},n.prototype.convertAttKey="@",n.prototype.convertPIKey="?",n.prototype.convertTextKey="#text",n.prototype.convertCDataKey="#cdata",n.prototype.convertCommentKey="#comment",n.prototype.convertRawKey="#raw",n.prototype.assertLegalChar=function(r){var i;if(i=r.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),i)throw new Error("Invalid character in string: "+r+" at index "+i.index);return r},n.prototype.elEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},n.prototype.attEscape=function(r){var i;return i=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,r.replace(i,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},n}()}).call(it)),z1.exports}var j1={exports:{}},V1={exports:{}},CE;function X8(){return CE||(CE=1,(function(){var t={}.hasOwnProperty;V1.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(it)),V1.exports}var EE;function iw(){return EE||(EE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,m=function(x,D){for(var w in D)v.call(D,w)&&(x[w]=D[w]);function C(){this.constructor=x}return C.prototype=D.prototype,x.prototype=new C,x.__super__=D.prototype,x},v={}.hasOwnProperty;a=by(),s=Sy(),t=my(),e=yy(),c=gy(),d=Ty(),p=_y(),f=Cy(),l=rw(),n=vy(),r=Dy(),i=xy(),o=wy(),g=X8(),j1.exports=function(x){m(D,x);function D(w){D.__super__.constructor.call(this,w)}return D.prototype.document=function(w){var C,R,U,I,N;for(this.textispresent=!1,I="",N=w.children,R=0,U=N.length;R<U;R++)C=N[R],!(C instanceof l)&&(I+=(function(){switch(!1){case!(C instanceof a):return this.declaration(C);case!(C instanceof s):return this.docType(C);case!(C instanceof e):return this.comment(C);case!(C instanceof f):return this.processingInstruction(C);default:return this.element(C,0)}}).call(this));return this.pretty&&I.slice(-this.newline.length)===this.newline&&(I=I.slice(0,-this.newline.length)),I},D.prototype.attribute=function(w){return" "+w.name+'="'+w.value+'"'},D.prototype.cdata=function(w,C){return this.space(C)+"<![CDATA["+w.text+"]]>"+this.newline},D.prototype.comment=function(w,C){return this.space(C)+"<!-- "+w.text+" -->"+this.newline},D.prototype.declaration=function(w,C){var R;return R=this.space(C),R+='<?xml version="'+w.version+'"',w.encoding!=null&&(R+=' encoding="'+w.encoding+'"'),w.standalone!=null&&(R+=' standalone="'+w.standalone+'"'),R+=this.spacebeforeslash+"?>",R+=this.newline,R},D.prototype.docType=function(w,C){var R,U,I,N,V;if(C||(C=0),N=this.space(C),N+="<!DOCTYPE "+w.root().name,w.pubID&&w.sysID?N+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(N+=' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(N+=" [",N+=this.newline,V=w.children,U=0,I=V.length;U<I;U++)R=V[U],N+=(function(){switch(!1){case!(R instanceof n):return this.dtdAttList(R,C+1);case!(R instanceof r):return this.dtdElement(R,C+1);case!(R instanceof i):return this.dtdEntity(R,C+1);case!(R instanceof o):return this.dtdNotation(R,C+1);case!(R instanceof t):return this.cdata(R,C+1);case!(R instanceof e):return this.comment(R,C+1);case!(R instanceof f):return this.processingInstruction(R,C+1);default:throw new Error("Unknown DTD node type: "+R.constructor.name)}}).call(this);N+="]"}return N+=this.spacebeforeslash+">",N+=this.newline,N},D.prototype.element=function(w,C){var R,U,I,N,V,j,oe,ue,F,X,E,re,z;C||(C=0),z=!1,this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault),re=this.space(C),ue="",ue+=re+"<"+w.name,F=w.attributes;for(oe in F)v.call(F,oe)&&(R=F[oe],ue+=this.attribute(R));if(w.children.length===0||w.children.every(function(J){return J.value===""}))this.allowEmpty?ue+="></"+w.name+">"+this.newline:ue+=this.spacebeforeslash+"/>"+this.newline;else if(this.pretty&&w.children.length===1&&w.children[0].value!=null)ue+=">",ue+=w.children[0].value,ue+="</"+w.name+">"+this.newline;else{if(this.dontprettytextnodes){for(X=w.children,I=0,V=X.length;I<V;I++)if(U=X[I],U.value!=null){this.textispresent++,z=!0;break}}for(this.textispresent&&(this.newline="",this.pretty=!1,re=this.space(C)),ue+=">"+this.newline,E=w.children,N=0,j=E.length;N<j;N++)U=E[N],ue+=(function(){switch(!1){case!(U instanceof t):return this.cdata(U,C+1);case!(U instanceof e):return this.comment(U,C+1);case!(U instanceof c):return this.element(U,C+1);case!(U instanceof d):return this.raw(U,C+1);case!(U instanceof p):return this.text(U,C+1);case!(U instanceof f):return this.processingInstruction(U,C+1);case!(U instanceof l):return"";default:throw new Error("Unknown XML node type: "+U.constructor.name)}}).call(this);z&&this.textispresent--,this.textispresent||(this.newline=this.newlinedefault,this.pretty=this.prettydefault),ue+=re+"</"+w.name+">"+this.newline}return ue},D.prototype.processingInstruction=function(w,C){var R;return R=this.space(C)+"<?"+w.target,w.value&&(R+=" "+w.value),R+=this.spacebeforeslash+"?>"+this.newline,R},D.prototype.raw=function(w,C){return this.space(C)+w.value+this.newline},D.prototype.text=function(w,C){return this.space(C)+w.value+this.newline},D.prototype.dtdAttList=function(w,C){var R;return R=this.space(C)+"<!ATTLIST "+w.elementName+" "+w.attributeName+" "+w.attributeType,w.defaultValueType!=="#DEFAULT"&&(R+=" "+w.defaultValueType),w.defaultValue&&(R+=' "'+w.defaultValue+'"'),R+=this.spacebeforeslash+">"+this.newline,R},D.prototype.dtdElement=function(w,C){return this.space(C)+"<!ELEMENT "+w.name+" "+w.value+this.spacebeforeslash+">"+this.newline},D.prototype.dtdEntity=function(w,C){var R;return R=this.space(C)+"<!ENTITY",w.pe&&(R+=" %"),R+=" "+w.name,w.value?R+=' "'+w.value+'"':(w.pubID&&w.sysID?R+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(R+=' SYSTEM "'+w.sysID+'"'),w.nData&&(R+=" NDATA "+w.nData)),R+=this.spacebeforeslash+">"+this.newline,R},D.prototype.dtdNotation=function(w,C){var R;return R=this.space(C)+"<!NOTATION "+w.name,w.pubID&&w.sysID?R+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.pubID?R+=' PUBLIC "'+w.pubID+'"':w.sysID&&(R+=' SYSTEM "'+w.sysID+'"'),R+=this.spacebeforeslash+">"+this.newline,R},D.prototype.openNode=function(w,C){var R,U,I,N;if(C||(C=0),w instanceof c){I=this.space(C)+"<"+w.name,N=w.attributes;for(U in N)v.call(N,U)&&(R=N[U],I+=this.attribute(R));return I+=(w.children?">":"/>")+this.newline,I}else return I=this.space(C)+"<!DOCTYPE "+w.rootNodeName,w.pubID&&w.sysID?I+=' PUBLIC "'+w.pubID+'" "'+w.sysID+'"':w.sysID&&(I+=' SYSTEM "'+w.sysID+'"'),I+=(w.children?" [":">")+this.newline,I},D.prototype.closeNode=function(w,C){switch(C||(C=0),!1){case!(w instanceof c):return this.space(C)+"</"+w.name+">"+this.newline;case!(w instanceof s):return this.space(C)+"]>"+this.newline}},D}(g)}).call(it)),j1.exports}var kE;function uX(){return kE||(kE=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=Cs().isPlainObject,t=_r(),n=G8(),e=iw(),C1.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(it)),C1.exports}var H1={exports:{}},AE;function fX(){return AE||(AE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,m,v,x,D,w,C,R={}.hasOwnProperty;C=Cs(),D=C.isObject,x=C.isFunction,w=C.isPlainObject,v=C.getValue,c=gy(),e=my(),n=yy(),d=Ty(),m=_y(),f=Cy(),s=by(),l=Sy(),r=vy(),o=xy(),i=Dy(),a=wy(),t=q8(),g=G8(),p=iw(),H1.exports=function(){function U(I,N,V){var j;this.name="?xml",I||(I={}),I.writer?w(I.writer)&&(j=I.writer,I.writer=new p(j)):I.writer=new p(I),this.options=I,this.writer=I.writer,this.stringify=new g(I),this.onDataCallback=N||function(){},this.onEndCallback=V||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return U.prototype.node=function(I,N,V){var j,oe;if(I==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(I));return this.openCurrent(),I=v(I),N===null&&V==null&&(j=[{},null],N=j[0],V=j[1]),N==null&&(N={}),N=v(N),D(N)||(oe=[N,V],V=oe[0],N=oe[1]),this.currentNode=new c(this,I,N),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,V!=null&&this.text(V),this},U.prototype.element=function(I,N,V){return this.currentNode&&this.currentNode instanceof l?this.dtdElement.apply(this,arguments):this.node(I,N,V)},U.prototype.attribute=function(I,N){var V,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(I));if(I!=null&&(I=v(I)),D(I))for(V in I)R.call(I,V)&&(j=I[V],this.attribute(V,j));else x(N)&&(N=N.apply()),(!this.options.skipNullAttributes||N!=null)&&(this.currentNode.attributes[I]=new t(this,I,N));return this},U.prototype.text=function(I){var N;return this.openCurrent(),N=new m(this,I),this.onData(this.writer.text(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.cdata=function(I){var N;return this.openCurrent(),N=new e(this,I),this.onData(this.writer.cdata(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.comment=function(I){var N;return this.openCurrent(),N=new n(this,I),this.onData(this.writer.comment(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.raw=function(I){var N;return this.openCurrent(),N=new d(this,I),this.onData(this.writer.raw(N,this.currentLevel+1),this.currentLevel+1),this},U.prototype.instruction=function(I,N){var V,j,oe,ue,F;if(this.openCurrent(),I!=null&&(I=v(I)),N!=null&&(N=v(N)),Array.isArray(I))for(V=0,ue=I.length;V<ue;V++)j=I[V],this.instruction(j);else if(D(I))for(j in I)R.call(I,j)&&(oe=I[j],this.instruction(j,oe));else x(N)&&(N=N.apply()),F=new f(this,I,N),this.onData(this.writer.processingInstruction(F,this.currentLevel+1),this.currentLevel+1);return this},U.prototype.declaration=function(I,N,V){var j;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return j=new s(this,I,N,V),this.onData(this.writer.declaration(j,this.currentLevel+1),this.currentLevel+1),this},U.prototype.doctype=function(I,N,V){if(this.openCurrent(),I==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,V),this.currentNode.rootNodeName=I,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},U.prototype.dtdElement=function(I,N){var V;return this.openCurrent(),V=new i(this,I,N),this.onData(this.writer.dtdElement(V,this.currentLevel+1),this.currentLevel+1),this},U.prototype.attList=function(I,N,V,j,oe){var ue;return this.openCurrent(),ue=new r(this,I,N,V,j,oe),this.onData(this.writer.dtdAttList(ue,this.currentLevel+1),this.currentLevel+1),this},U.prototype.entity=function(I,N){var V;return this.openCurrent(),V=new o(this,!1,I,N),this.onData(this.writer.dtdEntity(V,this.currentLevel+1),this.currentLevel+1),this},U.prototype.pEntity=function(I,N){var V;return this.openCurrent(),V=new o(this,!0,I,N),this.onData(this.writer.dtdEntity(V,this.currentLevel+1),this.currentLevel+1),this},U.prototype.notation=function(I,N){var V;return this.openCurrent(),V=new a(this,I,N),this.onData(this.writer.dtdNotation(V,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(I){if(!I.isOpen)return!this.root&&this.currentLevel===0&&I instanceof c&&(this.root=I),this.onData(this.writer.openNode(I,this.currentLevel),this.currentLevel),I.isOpen=!0},U.prototype.closeNode=function(I){if(!I.isClosed)return this.onData(this.writer.closeNode(I,this.currentLevel),this.currentLevel),I.isClosed=!0},U.prototype.onData=function(I,N){return this.documentStarted=!0,this.onDataCallback(I,N+1)},U.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},U.prototype.debugInfo=function(I){return I==null?"":"node: <"+I+">"},U.prototype.ele=function(){return this.element.apply(this,arguments)},U.prototype.nod=function(I,N,V){return this.node(I,N,V)},U.prototype.txt=function(I){return this.text(I)},U.prototype.dat=function(I){return this.cdata(I)},U.prototype.com=function(I){return this.comment(I)},U.prototype.ins=function(I,N){return this.instruction(I,N)},U.prototype.dec=function(I,N,V){return this.declaration(I,N,V)},U.prototype.dtd=function(I,N,V){return this.doctype(I,N,V)},U.prototype.e=function(I,N,V){return this.element(I,N,V)},U.prototype.n=function(I,N,V){return this.node(I,N,V)},U.prototype.t=function(I){return this.text(I)},U.prototype.d=function(I){return this.cdata(I)},U.prototype.c=function(I){return this.comment(I)},U.prototype.r=function(I){return this.raw(I)},U.prototype.i=function(I,N){return this.instruction(I,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(I,N){return this.entity(I,N)},U.prototype.pent=function(I,N){return this.pEntity(I,N)},U.prototype.not=function(I,N){return this.notation(I,N)},U}()}).call(it)),H1.exports}var q1={exports:{}},UE;function dX(){return UE||(UE=1,(function(){var t,e,n,r,i,o,a,s,l,c,f,d,p,g,m=function(x,D){for(var w in D)v.call(D,w)&&(x[w]=D[w]);function C(){this.constructor=x}return C.prototype=D.prototype,x.prototype=new C,x.__super__=D.prototype,x},v={}.hasOwnProperty;a=by(),s=Sy(),t=my(),e=yy(),c=gy(),d=Ty(),p=_y(),f=Cy(),l=rw(),n=vy(),r=Dy(),i=xy(),o=wy(),g=X8(),q1.exports=function(x){m(D,x);function D(w,C){D.__super__.constructor.call(this,C),this.stream=w}return D.prototype.document=function(w){var C,R,U,I,N,V,j,oe;for(V=w.children,R=0,I=V.length;R<I;R++)C=V[R],C.isLastRootNode=!1;for(w.children[w.children.length-1].isLastRootNode=!0,j=w.children,oe=[],U=0,N=j.length;U<N;U++)if(C=j[U],!(C instanceof l))switch(!1){case!(C instanceof a):oe.push(this.declaration(C));break;case!(C instanceof s):oe.push(this.docType(C));break;case!(C instanceof e):oe.push(this.comment(C));break;case!(C instanceof f):oe.push(this.processingInstruction(C));break;default:oe.push(this.element(C))}return oe},D.prototype.attribute=function(w){return this.stream.write(" "+w.name+'="'+w.value+'"')},D.prototype.cdata=function(w,C){return this.stream.write(this.space(C)+"<![CDATA["+w.text+"]]>"+this.endline(w))},D.prototype.comment=function(w,C){return this.stream.write(this.space(C)+"<!-- "+w.text+" -->"+this.endline(w))},D.prototype.declaration=function(w,C){return this.stream.write(this.space(C)),this.stream.write('<?xml version="'+w.version+'"'),w.encoding!=null&&this.stream.write(' encoding="'+w.encoding+'"'),w.standalone!=null&&this.stream.write(' standalone="'+w.standalone+'"'),this.stream.write(this.spacebeforeslash+"?>"),this.stream.write(this.endline(w))},D.prototype.docType=function(w,C){var R,U,I,N;if(C||(C=0),this.stream.write(this.space(C)),this.stream.write("<!DOCTYPE "+w.root().name),w.pubID&&w.sysID?this.stream.write(' PUBLIC "'+w.pubID+'" "'+w.sysID+'"'):w.sysID&&this.stream.write(' SYSTEM "'+w.sysID+'"'),w.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(w)),N=w.children,U=0,I=N.length;U<I;U++)switch(R=N[U],!1){case!(R instanceof n):this.dtdAttList(R,C+1);break;case!(R instanceof r):this.dtdElement(R,C+1);break;case!(R instanceof i):this.dtdEntity(R,C+1);break;case!(R instanceof o):this.dtdNotation(R,C+1);break;case!(R instanceof t):this.cdata(R,C+1);break;case!(R instanceof e):this.comment(R,C+1);break;case!(R instanceof f):this.processingInstruction(R,C+1);break;default:throw new Error("Unknown DTD node type: "+R.constructor.name)}this.stream.write("]")}return this.stream.write(this.spacebeforeslash+">"),this.stream.write(this.endline(w))},D.prototype.element=function(w,C){var R,U,I,N,V,j,oe,ue;C||(C=0),ue=this.space(C),this.stream.write(ue+"<"+w.name),j=w.attributes;for(V in j)v.call(j,V)&&(R=j[V],this.attribute(R));if(w.children.length===0||w.children.every(function(F){return F.value===""}))this.allowEmpty?this.stream.write("></"+w.name+">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&w.children.length===1&&w.children[0].value!=null)this.stream.write(">"),this.stream.write(w.children[0].value),this.stream.write("</"+w.name+">");else{for(this.stream.write(">"+this.newline),oe=w.children,I=0,N=oe.length;I<N;I++)switch(U=oe[I],!1){case!(U instanceof t):this.cdata(U,C+1);break;case!(U instanceof e):this.comment(U,C+1);break;case!(U instanceof c):this.element(U,C+1);break;case!(U instanceof d):this.raw(U,C+1);break;case!(U instanceof p):this.text(U,C+1);break;case!(U instanceof f):this.processingInstruction(U,C+1);break;case!(U instanceof l):break;default:throw new Error("Unknown XML node type: "+U.constructor.name)}this.stream.write(ue+"</"+w.name+">")}return this.stream.write(this.endline(w))},D.prototype.processingInstruction=function(w,C){return this.stream.write(this.space(C)+"<?"+w.target),w.value&&this.stream.write(" "+w.value),this.stream.write(this.spacebeforeslash+"?>"+this.endline(w))},D.prototype.raw=function(w,C){return this.stream.write(this.space(C)+w.value+this.endline(w))},D.prototype.text=function(w,C){return this.stream.write(this.space(C)+w.value+this.endline(w))},D.prototype.dtdAttList=function(w,C){return this.stream.write(this.space(C)+"<!ATTLIST "+w.elementName+" "+w.attributeName+" "+w.attributeType),w.defaultValueType!=="#DEFAULT"&&this.stream.write(" "+w.defaultValueType),w.defaultValue&&this.stream.write(' "'+w.defaultValue+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(w))},D.prototype.dtdElement=function(w,C){return this.stream.write(this.space(C)+"<!ELEMENT "+w.name+" "+w.value),this.stream.write(this.spacebeforeslash+">"+this.endline(w))},D.prototype.dtdEntity=function(w,C){return this.stream.write(this.space(C)+"<!ENTITY"),w.pe&&this.stream.write(" %"),this.stream.write(" "+w.name),w.value?this.stream.write(' "'+w.value+'"'):(w.pubID&&w.sysID?this.stream.write(' PUBLIC "'+w.pubID+'" "'+w.sysID+'"'):w.sysID&&this.stream.write(' SYSTEM "'+w.sysID+'"'),w.nData&&this.stream.write(" NDATA "+w.nData)),this.stream.write(this.spacebeforeslash+">"+this.endline(w))},D.prototype.dtdNotation=function(w,C){return this.stream.write(this.space(C)+"<!NOTATION "+w.name),w.pubID&&w.sysID?this.stream.write(' PUBLIC "'+w.pubID+'" "'+w.sysID+'"'):w.pubID?this.stream.write(' PUBLIC "'+w.pubID+'"'):w.sysID&&this.stream.write(' SYSTEM "'+w.sysID+'"'),this.stream.write(this.spacebeforeslash+">"+this.endline(w))},D.prototype.endline=function(w){return w.isLastRootNode?"":this.newline},D}(g)}).call(it)),q1.exports}(function(){var t,e,n,r,i,o,a;a=Cs(),i=a.assign,o=a.isFunction,t=uX(),e=fX(),r=iw(),n=dX(),fd.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},fd.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)},fd.stringWriter=function(s){return new r(s)},fd.streamWriter=function(s,l){return new n(s,l)}}).call(it);var FE=qt,hX=fd;H8.writeString=pX;function pX(t,e){var n=FE.invert(e),r={element:o,text:gX};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=hX.create(a(l.name),{version:"1.0",encoding:"UTF-8",standalone:!0});return FE.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 gX(t,e){t.text(e.value)}var Ey=Gu;la.Element=Ey.Element;la.element=Ey.element;la.emptyElement=Ey.emptyElement;la.text=Ey.text;la.readString=d8.readString;la.writeString=H8.writeString;var mX=qt,yX=un,bX=la;HD.read=J8;HD.readXmlFromZipFile=xX;var vX={"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 J8(t){return bX.readString(t,vX).then(function(e){return Y8(e)[0]})}function xX(t,e){return t.exists(e)?t.read(e,"utf-8").then(DX).then(J8):yX.resolve(null)}function DX(t){return t.replace(/^\uFEFF/g,"")}function Y8(t){return t.type==="element"?t.name==="mc:AlternateContent"?t.first("mc:Fallback").children:(t.children=mX.flatten(t.children.map(Y8,!0)),[t]):[t]}var ow={},ds={},aw={};Object.defineProperty(aw,"__esModule",{value:!0});var wX=[{"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"}];aw.default=wX;var SX=it&&it.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ds,"__esModule",{value:!0});ds.hex=ds.dec=ds.codePoint=void 0;var TX=SX(aw),K8={},_X=String.fromCodePoint?String.fromCodePoint:AX;for(var G1=0,RE=TX.default;G1<RE.length;G1++){var X1=RE[G1],OE=parseInt(X1["Unicode dec"],10),CX={codePoint:OE,string:_X(OE)};K8[X1["Typeface name"].toUpperCase()+"_"+X1["Dingbat dec"]]=CX}function sw(t,e){return K8[t.toUpperCase()+"_"+e]}ds.codePoint=sw;function EX(t,e){return sw(t,parseInt(e,10))}ds.dec=EX;function kX(t,e){return sw(t,parseInt(e,16))}ds.hex=kX;function AX(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 lw={};lw.uriToZipEntryName=UX;lw.replaceFragment=FX;function UX(t,e){return e.charAt(0)==="/"?e.substr(1):t+"/"+e}function FX(t,e){var n=t.indexOf("#");return n!==-1&&(t=t.substring(0,n)),t+"#"+e}ow.createBodyReader=OX;ow._readNumberingProperties=Q8;var IE=ds,ri=qt,Nt=ut,Z8=Pr.Result,Lo=Pr.warning,RX=la,BE=lw;function OX(t){return{readXmlElement:function(e){return new ME(t).readXmlElement(e)},readXmlElements:function(e){return new ME(t).readXmlElements(e)}}}function ME(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(se){var Ue=se.map(d);return NE(Ue)}function d(se){if(se.type==="element"){var Ue=z[se.name];if(Ue)return Ue(se);if(!Object.prototype.hasOwnProperty.call(BX,se.name)){var _e=Lo("An unrecognised element was ignored: "+se.name);return id([_e])}}return od()}function p(se){return C(se).map(function(Ue){return{type:"paragraphProperties",styleId:Ue.styleId,styleName:Ue.name,alignment:se.firstOrEmpty("w:jc").attributes["w:val"],numbering:Q8(Ue.styleId,se.firstOrEmpty("w:numPr"),l),indent:g(se.firstOrEmpty("w:ind"))}})}function g(se){return{start:se.attributes["w:start"]||se.attributes["w:left"],end:se.attributes["w:end"]||se.attributes["w:right"],firstLine:se.attributes["w:firstLine"],hanging:se.attributes["w:hanging"]}}function m(se){return R(se).map(function(Ue){var _e=se.firstOrEmpty("w:sz").attributes["w:val"],A=/^[0-9]+$/.test(_e)?parseInt(_e,10)/2:null;return{type:"runProperties",styleId:Ue.styleId,styleName:Ue.name,verticalAlignment:se.firstOrEmpty("w:vertAlign").attributes["w:val"],font:se.firstOrEmpty("w:rFonts").attributes["w:ascii"],fontSize:A,isBold:x(se.first("w:b")),isUnderline:v(se.first("w:u")),isItalic:x(se.first("w:i")),isStrikethrough:x(se.first("w:strike")),isAllCaps:x(se.first("w:caps")),isSmallCaps:x(se.first("w:smallCaps")),highlight:w(se.firstOrEmpty("w:highlight").attributes["w:val"])}})}function v(se){if(se){var Ue=se.attributes["w:val"];return Ue!==void 0&&Ue!=="false"&&Ue!=="0"&&Ue!=="none"}else return!1}function x(se){if(se){var Ue=se.attributes["w:val"];return Ue!=="false"&&Ue!=="0"}else return!1}function D(se){return se!=="false"&&se!=="0"}function w(se){return!se||se==="none"?null:se}function C(se){return I(se,"w:pStyle","Paragraph",c.findParagraphStyleById)}function R(se){return I(se,"w:rStyle","Run",c.findCharacterStyleById)}function U(se){return I(se,"w:tblStyle","Table",c.findTableStyleById)}function I(se,Ue,_e,A){var de=[],ce=se.first(Ue),K=null,q=null;if(ce&&(K=ce.attributes["w:val"],K)){var ie=A(K);ie?q=ie.name:de.push(Ze(_e,K))}return Rp({styleId:K,name:q},de)}function N(se){var Ue=se.attributes["w:fldCharType"];if(Ue==="begin")e.push({type:"begin",fldChar:se}),n=[];else if(Ue==="end"){var _e=e.pop();if(_e.type==="begin"&&(_e=j(_e)),_e.type==="checkbox")return pr(Nt.checkbox({checked:_e.checked}))}else if(Ue==="separate"){var A=e.pop(),de=j(A);e.push(de)}return od()}function V(){var se=ri.last(e.filter(function(Ue){return Ue.type==="hyperlink"}));return se?se.options:null}function j(se){return oe(n.join(""),se.type==="begin"?se.fldChar:RX.emptyElement)}function oe(se,Ue){var _e=/\s*HYPERLINK "(.*)"/.exec(se);if(_e)return{type:"hyperlink",options:{href:_e[1]}};var A=/\s*HYPERLINK\s+\\l\s+"(.*)"/.exec(se);if(A)return{type:"hyperlink",options:{anchor:A[1]}};var de=/\s*FORMCHECKBOX\s*/.exec(se);if(de){var ce=Ue.firstOrEmpty("w:ffData").firstOrEmpty("w:checkBox"),K=ce.first("w:checked"),q=K==null?x(ce.first("w:default")):x(K);return{type:"checkbox",checked:q}}return{type:"unknown"}}function ue(se){return n.push(se.text()),od()}function F(se){var Ue=se.attributes["w:font"],_e=se.attributes["w:char"],A=IE.hex(Ue,_e);return A==null&&/^F0..$/.test(_e)&&(A=IE.hex(Ue,_e.substring(2))),A==null?id([Lo("A w:sym element with an unsupported character was ignored: char "+_e+" in font "+Ue)]):pr(new Nt.Text(A.string))}function X(se){return function(Ue){var _e=Ue.attributes["w:id"];return pr(new Nt.NoteReference({noteType:se,noteId:_e}))}}function E(se){return pr(Nt.commentReference({commentId:se.attributes["w:id"]}))}function re(se){return f(se.children)}var z={"w:p":function(se){var Ue=se.firstOrEmpty("w:pPr"),_e=!!Ue.firstOrEmpty("w:rPr").first("w:del");if(_e)return se.children.forEach(function(de){r.push(de)}),od();var A=se.children;return r.length>0&&(A=r.concat(A),r=[]),Sn.map(p(Ue),f(A),function(de,ce){return new Nt.Paragraph(ce,de)}).insertExtra()},"w:r":function(se){return Sn.map(m(se.firstOrEmpty("w:rPr")),f(se.children),function(Ue,_e){var A=V();return A!==null&&(_e=[new Nt.Hyperlink(_e,A)]),new Nt.Run(_e,Ue)})},"w:fldChar":N,"w:instrText":ue,"w:t":function(se){return pr(new Nt.Text(se.text()))},"w:tab":function(se){return pr(new Nt.Tab)},"w:noBreakHyphen":function(){return pr(new Nt.Text("‑"))},"w:softHyphen":function(se){return pr(new Nt.Text("­"))},"w:sym":F,"w:hyperlink":function(se){var Ue=se.attributes["r:id"],_e=se.attributes["w:anchor"];return f(se.children).map(function(A){function de(K){var q=se.attributes["w:tgtFrame"]||null;return new Nt.Hyperlink(A,ri.extend({targetFrame:q},K))}if(Ue){var ce=i.findTargetByRelationshipId(Ue);return _e&&(ce=BE.replaceFragment(ce,_e)),de({href:ce})}else return _e?de({anchor:_e}):A})},"w:tbl":J,"w:tr":G,"w:tc":ae,"w:footnoteReference":X("footnote"),"w:endnoteReference":X("endnote"),"w:commentReference":E,"w:br":function(se){var Ue=se.attributes["w:type"];return Ue==null||Ue==="textWrapping"?pr(Nt.lineBreak):Ue==="page"?pr(Nt.pageBreak):Ue==="column"?pr(Nt.columnBreak):id([Lo("Unsupported break type: "+Ue)])},"w:bookmarkStart":function(se){var Ue=se.attributes["w:name"];return Ue==="_GoBack"?od():pr(new Nt.BookmarkStart({name:Ue}))},"mc:AlternateContent":function(se){return re(se.first("mc:Fallback"))},"w:sdt":function(se){var Ue=se.firstOrEmpty("w:sdtPr").first("wordml:checkbox");if(Ue){var _e=Ue.first("wordml:checked"),A=!!_e&&D(_e.attributes["wordml:val"]);return pr(Nt.checkbox({checked:A}))}else return f(se.firstOrEmpty("w:sdtContent").children)},"w:ins":re,"w:object":re,"w:smartTag":re,"w:drawing":re,"w:pict":function(se){return re(se).toExtra()},"v:roundrect":re,"v:shape":re,"v:textbox":re,"w:txbxContent":re,"wp:inline":he,"wp:anchor":he,"v:imagedata":je,"v:group":re,"v:rect":re};return{readXmlElement:d,readXmlElements:f};function J(se){var Ue=Y(se.firstOrEmpty("w:tblPr"));return f(se.children).flatMap(P).flatMap(function(_e){return Ue.map(function(A){return Nt.Table(_e,A)})})}function Y(se){return U(se).map(function(Ue){return{styleId:Ue.styleId,styleName:Ue.name}})}function G(se){var Ue=se.firstOrEmpty("w:trPr"),_e=!!Ue.first("w:tblHeader");return f(se.children).map(function(A){return Nt.TableRow(A,{isHeader:_e})})}function ae(se){return f(se.children).map(function(Ue){var _e=se.firstOrEmpty("w:tcPr"),A=_e.firstOrEmpty("w:gridSpan").attributes["w:val"],de=A?parseInt(A,10):1,ce=Nt.TableCell(Ue,{colSpan:de});return ce._vMerge=H(_e),ce})}function H(se){var Ue=se.first("w:vMerge");if(Ue){var _e=Ue.attributes["w:val"];return _e==="continue"||!_e}else return null}function P(se){var Ue=ri.any(se,function(de){return de.type!==Nt.types.tableRow});if(Ue)return Rp(se,[Lo("unexpected non-row element in table, cell merging may be incorrect")]);var _e=ri.any(se,function(de){return ri.any(de.children,function(ce){return ce.type!==Nt.types.tableCell})});if(_e)return Rp(se,[Lo("unexpected non-cell element in table row, cell merging may be incorrect")]);var A={};return se.forEach(function(de){var ce=0;de.children.forEach(function(K){K._vMerge&&A[ce]?A[ce].rowSpan++:(A[ce]=K,K._vMerge=!1),ce+=K.colSpan})}),se.forEach(function(de){de.children=de.children.filter(function(ce){return!ce._vMerge}),de.children.forEach(function(ce){delete ce._vMerge})}),pr(se)}function he(se){var Ue=se.getElementsByTagName("a:graphic").getElementsByTagName("a:graphicData").getElementsByTagName("pic:pic").getElementsByTagName("pic:blipFill").getElementsByTagName("a:blip");return NE(Ue.map(Se.bind(null,se)))}function Se(se,Ue){var _e=se.first("wp:docPr").attributes,A=ye(_e.descr)?_e.title:_e.descr,de=Ae(Ue);return de===null?id([Lo("Could not find image file for a:blip element")]):ze(de,A)}function ye(se){return se==null||/^\s*$/.test(se)}function Ae(se){var Ue=se.attributes["r:embed"],_e=se.attributes["r:link"];if(Ue)return $e(Ue);if(_e){var A=i.findTargetByRelationshipId(_e);return{path:A,read:s.read.bind(s,A)}}else return null}function je(se){var Ue=se.attributes["r:id"];return Ue?ze($e(Ue),se.attributes["o:title"]):id([Lo("A v:imagedata element without a relationship ID was ignored")])}function $e(se){var Ue=BE.uriToZipEntryName("word",i.findTargetByRelationshipId(se));return{path:Ue,read:a.read.bind(a,Ue)}}function ze(se,Ue){var _e=o.findContentType(se.path),A=Nt.Image({readImage:se.read,altText:Ue,contentType:_e}),de=IX[_e]?[]:Lo("Image of type "+_e+" is unlikely to display in web browsers");return Rp(A,de)}function Ze(se,Ue){return Lo(se+" style with ID "+Ue+" was referenced but not defined in the document")}}function Q8(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 IX={"image/png":!0,"image/gif":!0,"image/jpeg":!0,"image/svg+xml":!0,"image/tiff":!0},BX={"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 id(t){return new Sn(null,null,t)}function od(){return new Sn(null)}function pr(t){return new Sn(t)}function Rp(t,e){return new Sn(t,null,e)}function Sn(t,e,n){this.value=t||[],this.extra=e||[],this._result=new Z8({element:this.value,extra:e},n),this.messages=this._result.messages}Sn.prototype.toExtra=function(){return new Sn(null,ky(this.extra,this.value),this.messages)};Sn.prototype.insertExtra=function(){var t=this.extra;return t&&t.length?new Sn(ky(this.value,t),null,this.messages):this};Sn.prototype.map=function(t){var e=this._result.map(function(n){return t(n.element)});return new Sn(e.value,this.extra,e.messages)};Sn.prototype.flatMap=function(t){var e=this._result.flatMap(function(n){return t(n.element)._result});return new Sn(e.value.element,ky(this.extra,e.value.extra),e.messages)};Sn.map=function(t,e,n){return new Sn(n(t.value,e.value),ky(t.extra,e.extra),t.messages.concat(e.messages))};function NE(t){var e=Z8.combine(ri.pluck(t,"_result"));return new Sn(ri.flatten(ri.pluck(e.value,"element")),ri.filter(ri.flatten(ri.pluck(e.value,"extra")),MX),e.messages)}function ky(t,e){return ri.flatten([t,e])}function MX(t){return t}var e5={};e5.DocumentXmlReader=LX;var NX=ut,PX=Pr.Result;function LX(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 NX.Document(a,{notes:t.notes,comments:t.comments})});return new PX(o.value,o.messages)}return{convertXmlToDocument:n}}var Ay={};Ay.readRelationships=WX;Ay.defaultValue=new cw([]);Ay.Relationships=cw;function WX(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 cw(e)}function cw(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 uw={};uw.readContentTypesFromXml=zX;var $X={png:"png",gif:"gif",jpeg:"jpeg",jpg:"jpeg",tif:"tiff",tiff:"tiff",bmp:"bmp"};uw.defaultContentTypes=t5({},{});function zX(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}}),t5(n,e)}function t5(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=$X[o.toLowerCase()];return a?"image/"+a:null}}}var Uy={},Op=qt;Uy.readNumberingXml=jX;Uy.Numbering=fw;Uy.defaultNumbering=new fw({},{});function fw(t,e,n){var r=Op.flatten(Op.values(e).map(function(s){return Op.values(s.levels)})),i=Op.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 jX(t,e){if(!e||!e.styles)throw new Error("styles is missing");var n=VX(t),r=qX(t);return new fw(r,n,e.styles)}function VX(t){var e={};return t.getElementsByTagName("w:abstractNum").forEach(function(n){var r=n.attributes["w:abstractNumId"];e[r]=HX(n)}),e}function HX(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 qX(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 Fy={};Fy.readStylesXml=GX;Fy.Styles=Qd;Fy.defaultStyles=new Qd({},{});function Qd(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]}}}Qd.EMPTY=new Qd({},{},{},{});function GX(t){var e={},n={},r={},i={},o={paragraph:e,character:n,table:r};return t.getElementsByTagName("w:style").forEach(function(a){var s=XX(a);if(s.type==="numbering")i[s.styleId]=YX(a);else{var l=o[s.type];l&&(l[s.styleId]=s)}}),new Qd(e,n,r,i)}function XX(t){var e=t.attributes["w:type"],n=t.attributes["w:styleId"],r=JX(t);return{type:e,styleId:n,name:r}}function JX(t){var e=t.first("w:name");return e?e.attributes["w:val"]:null}function YX(t){var e=t.firstOrEmpty("w:pPr").firstOrEmpty("w:numPr").firstOrEmpty("w:numId").attributes["w:val"];return{numId:e}}var dw={},KX=ut,ZX=Pr.Result;dw.createFootnotesReader=n5.bind(it,"footnote");dw.createEndnotesReader=n5.bind(it,"endnote");function n5(t,e){function n(o){return ZX.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 KX.Note({noteType:t,noteId:a,body:s})})}return n}var r5={},QX=ut,eJ=Pr.Result;function tJ(t){function e(r){return eJ.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 QX.comment({commentId:i,body:a,authorName:o("w:author"),authorInitials:o("w:initials")})})}return e}r5.createCommentsReader=tJ;var i5={},nJ=un;i5.Files=rJ;function rJ(){function t(e){return nJ.reject(new Error("could not open external image: '"+e+`'
225
+ cannot open linked files from a web browser`))}return{read:t}}zD.read=cJ;zD._findPartPaths=a5;var iJ=un,oJ=ut,J1=Pr.Result,Sm=Dh,o5=HD.readXmlFromZipFile,aJ=ow.createBodyReader,sJ=e5.DocumentXmlReader,Ou=Ay,PE=uw,LE=Uy,WE=Fy,$E=dw,lJ=r5,zE=i5.Files;function cJ(t,e){return e=e||{},iJ.props({contentTypes:fJ(t),partPaths:a5(t),docxFile:t,files:e.path?zE.relativeToFile(e.path):new zE(null)}).also(function(n){return{styles:hJ(t,n.partPaths.styles)}}).also(function(n){return{numbering:dJ(t,n.partPaths.numbering,n.styles)}}).also(function(n){return{footnotes:Ip(n.partPaths.footnotes,n,function(r,i){return i?$E.createFootnotesReader(r)(i):new J1([])}),endnotes:Ip(n.partPaths.endnotes,n,function(r,i){return i?$E.createEndnotesReader(r)(i):new J1([])}),comments:Ip(n.partPaths.comments,n,function(r,i){return i?lJ.createCommentsReader(r)(i):new J1([])})}}).also(function(n){return{notes:n.footnotes.flatMap(function(r){return n.endnotes.map(function(i){return new oJ.Notes(r.concat(i))})})}}).then(function(n){return Ip(n.partPaths.mainDocument,n,function(r,i){return n.notes.flatMap(function(o){return n.comments.flatMap(function(a){var s=new sJ({bodyReader:r,notes:o,comments:a});return s.convertXmlToDocument(i)})})})})}function a5(t){return pJ(t).then(function(e){var n=jE({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 Ju({filename:s5(n),readElement:Ou.readRelationships,defaultValue:Ou.defaultValue})(t).then(function(r){function i(o){return jE({docxFile:t,relationships:r,relationshipType:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/"+o,basePath:Sm.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 jE(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 uJ(Sm.joinPath(i,c),"/")}),l=s.filter(function(c){return e.exists(c)});return l.length===0?o:l[0]}function uJ(t,e){return t.substring(0,e.length)===e?t.substring(e.length):t}function Ju(t){return function(e){return o5(e,t.filename).then(function(n){return n?t.readElement(n):t.defaultValue})}}function Ip(t,e,n){var r=Ju({filename:s5(t),readElement:Ou.readRelationships,defaultValue:Ou.defaultValue});return r(e.docxFile).then(function(i){var o=new aJ({relationships:i,contentTypes:e.contentTypes,docxFile:e.docxFile,numbering:e.numbering,styles:e.styles,files:e.files});return o5(e.docxFile,t).then(function(a){return n(o,a)})})}function s5(t){var e=Sm.splitPath(t);return Sm.joinPath(e.dirname,"_rels",e.basename+".rels")}var fJ=Ju({filename:"[Content_Types].xml",readElement:PE.readContentTypesFromXml,defaultValue:PE.defaultContentTypes});function dJ(t,e,n){return Ju({filename:e,readElement:function(r){return LE.readNumberingXml(r,{styles:n})},defaultValue:LE.defaultNumbering})(t)}function hJ(t,e){return Ju({filename:e,readElement:WE.readStylesXml,defaultValue:WE.defaultStyles})(t)}var pJ=Ju({filename:"_rels/.rels",readElement:Ou.readRelationships,defaultValue:Ou.defaultValue}),hw={},gJ=qt,mJ=un,eh=la;hw.writeStyleMap=bJ;hw.readStyleMap=DJ;var yJ="http://schemas.zwobble.org/mammoth/style-map",Tm="mammoth/style-map",l5="/"+Tm;function bJ(t,e){return t.write(Tm,e),vJ(t).then(function(){return xJ(t)})}function vJ(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(eh.readString).then(function(i){var o=i.children;c5(o,r,"Id",{Id:"rMammothStyleMap",Type:yJ,Target:l5});var a={"":n};return t.write(e,eh.writeString(i,a))})}function xJ(t){var e="[Content_Types].xml",n="http://schemas.openxmlformats.org/package/2006/content-types",r="{"+n+"}Override";return t.read(e,"utf8").then(eh.readString).then(function(i){var o=i.children;c5(o,r,"PartName",{PartName:l5,ContentType:"text/prs.mammoth.style-map"});var a={"":n};return t.write(e,eh.writeString(i,a))})}function c5(t,e,n,r){var i=gJ.find(t,function(o){return o.name===e&&o.attributes[n]===r[n]});i?i.attributes=r:t.push(eh.element(e,r))}function DJ(t){return t.exists(Tm)?t.read(Tm,"utf8"):mJ.resolve(null)}var pw={},ll={},Wo={},Va={},VE;function u5(){if(VE)return Va;VE=1;var t=Oy();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"};Va.freshElement=n,Va.nonFreshElement=e,Va.elementWithTag=r,Va.text=i,Va.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 Va.isVoidElement=s,Va}var Y1,HE;function wJ(){if(HE)return Y1;HE=1;var t=qt,e=u5();function n(v){return r(c(v))}function r(v){var x=[];return v.map(i).forEach(function(D){l(x,D)}),x}function i(v){return o[v.type](v)}var o={element:a,text:s,forceWrite:s};function a(v){return e.elementWithTag(v.tag,r(v.children))}function s(v){return v}function l(v,x){var D=v[v.length-1];x.type==="element"&&!x.tag.fresh&&D&&D.type==="element"&&x.tag.matchesElement(D.tag)?(x.tag.separator&&l(D.children,e.text(x.tag.separator)),x.children.forEach(function(w){l(D.children,w)})):v.push(x)}function c(v){return f(v,function(x){return d[x.type](x)})}function f(v,x){return t.flatten(t.map(v,x),!0)}var d={element:g,text:m,forceWrite:p};function p(v){return[v]}function g(v){var x=c(v.children);return x.length===0&&!e.isVoidElement(v)?[]:[e.elementWithTag(v.tag,x)]}function m(v){return v.value.length===0?[]:[v]}return Y1=n,Y1}var qE;function Ry(){if(qE)return Wo;qE=1;var t=u5();Wo.freshElement=t.freshElement,Wo.nonFreshElement=t.nonFreshElement,Wo.elementWithTag=t.elementWithTag,Wo.text=t.text,Wo.forceWrite=t.forceWrite,Wo.simplify=wJ();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 Wo.write=e,Wo}var GE;function Oy(){if(GE)return ll;GE=1;var t=qt,e=Ry();ll.topLevelElement=n,ll.elements=r,ll.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)]},ll.empty=r([]),ll.ignore={wrap:function(){return[]}},ll}var gw={};(function(t){var e=qt,n=un,r=Ry();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}})})})(gw);var f5={},d5={},h5=qt;d5.writer=SJ;function SJ(t){return t=t||{},t.prettyPrint?TJ():p5()}var Bp={div:!0,p:!0,ul:!0,li:!0};function TJ(){var t=0,e=" ",n=[],r=!0,i=!1,o=p5();function a(m,v){Bp[m]&&p(),n.push(m),o.open(m,v),Bp[m]&&t++,r=!1}function s(m){Bp[m]&&(t--,p()),n.pop(),o.close(m)}function l(m){d();var v=g()?m:m.replace(`
226
+ `,`
227
+ `+e);o.text(v)}function c(m,v){p(),o.selfClosing(m,v)}function f(){return n.length===0||Bp[n[n.length-1]]}function d(){i||(p(),i=!0)}function p(){if(i=!1,!r&&f()&&!g()){o._append(`
228
+ `);for(var m=0;m<t;m++)o._append(e)}}function g(){return h5.some(n,function(m){return m==="pre"})}return{asString:o.asString,open:a,close:s,text:l,selfClosing:c}}function p5(){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 h5.map(l,function(c,f){return" "+f+'="'+CJ(c)+'"'}).join("")}function o(l){t.push(_J(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 _J(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function CJ(t){return t.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}var g5={},EJ=qt;function XE(t){return _m(t,t)}function _m(t,e){return function(){return{start:t,end:e}}}function kJ(t){var e=t.href||"";return e?{start:"[",end:"]("+e+")",anchorPosition:"before"}:{}}function AJ(t){var e=t.src||"",n=t.alt||"";return e||n?{start:"!["+n+"]("+e+")"}:{}}function JE(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 UJ(t,e,n){e=e||{indent:0,isOrdered:!1,count:0},e.count++,n.hasClosed=!1;var r=e.isOrdered?e.count+".":"-",i=y5(" ",e.indent)+r+" ";return{start:i,end:function(){if(!n.hasClosed)return n.hasClosed=!0,`
231
+ `}}}var m5={p:_m("",`
232
+
233
+ `),br:_m("",`
234
+ `),ul:JE({isOrdered:!1}),ol:JE({isOrdered:!0}),li:UJ,strong:XE("__"),em:XE("*"),a:kJ,img:AJ};(function(){for(var t=1;t<=6;t++)m5["h"+t]=_m(y5("#",t)+" ",`
235
+
236
+ `)})();function y5(t,e){return new Array(e+1).join(t)}function FJ(){var t=[],e=[],n=null,r={};function i(f,d){d=d||{};var p=m5[f]||function(){return{}},g=p(d,n,r);e.push({end:g.end,list:n}),g.list&&(n=g.list);var m=g.anchorPosition==="before";m&&o(d),t.push(g.start||""),m||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=EJ.isFunction(d.end)?d.end():d.end;t.push(p||"")}function s(f,d){i(f,d),a()}function l(f){t.push(RJ(f))}function c(){return t.join("")}return{asString:c,open:i,close:a,text:l,selfClosing:s}}g5.writer=FJ;function RJ(t){return t.replace(/\\/g,"\\\\").replace(/([\`\*_\{\}\[\]\(\)\#\+\-\.\!])/g,"\\$1")}var OJ=d5,IJ=g5;f5.writer=BJ;function BJ(t){return t=t||{},t.outputFormat==="markdown"?IJ.writer():OJ.writer(t)}var Ya=qt,YE=un,cg=ut,Qr=Oy(),F2=Pr,MJ=gw,ht=Ry(),NJ=f5;pw.DocumentConverter=PJ;function PJ(t){return{convertToHtml:function(e){var n=Ya.indexBy(e.type===cg.types.document?e.comments:[],"commentId"),r=new LJ(t,n);return r.convertToHtml(e)}}}function LJ(t,e){var n=1,r=[],i=[];t=Ya.extend({ignoreEmptyParagraphs:!0},t);var o=t.idPrefix===void 0?"":t.idPrefix,a=t.ignoreEmptyParagraphs,s=Qr.topLevelElement("p"),l=t.styleMap||[];function c(Y){var G=[],ae=d(Y,G,{}),H=[];b5(ae,function(he){he.type==="deferred"&&H.push(he)});var P={};return YE.mapSeries(H,function(he){return he.value().then(function(Se){P[he.id]=Se})}).then(function(){function he(ye){return K1(ye,function(Ae){return Ae.type==="deferred"?P[Ae.id]:Ae.children?[Ya.extend({},Ae,{children:he(Ae.children)})]:[Ae]})}var Se=NJ.writer({prettyPrint:t.prettyPrint,outputFormat:t.outputFormat});return ht.write(Se,ht.simplify(he(ae))),new F2.Result(Se.asString(),G)})}function f(Y,G,ae){return K1(Y,function(H){return d(H,G,ae)})}function d(Y,G,ae){if(!ae)throw new Error("options not set");var H=J[Y.type];return H?H(Y,G,ae):[]}function p(Y,G,ae){return g(Y,G).wrap(function(){var H=f(Y.children,G,ae);return a?H:[ht.forceWrite].concat(H)})}function g(Y,G){var ae=D(Y);return ae?ae.to:(Y.styleId&&G.push(KE("paragraph",Y)),s)}function m(Y,G,ae){var H=function(){return f(Y.children,G,ae)},P=[];if(Y.highlight!==null){var he=x({type:"highlight",color:Y.highlight});he&&P.push(he)}Y.isSmallCaps&&P.push(v("smallCaps")),Y.isAllCaps&&P.push(v("allCaps")),Y.isStrikethrough&&P.push(v("strikethrough","s")),Y.isUnderline&&P.push(v("underline")),Y.verticalAlignment===cg.verticalAlignment.subscript&&P.push(Qr.element("sub",{},{fresh:!1})),Y.verticalAlignment===cg.verticalAlignment.superscript&&P.push(Qr.element("sup",{},{fresh:!1})),Y.isItalic&&P.push(v("italic","em")),Y.isBold&&P.push(v("bold","strong"));var Se=Qr.empty,ye=D(Y);return ye?Se=ye.to:Y.styleId&&G.push(KE("run",Y)),P.push(Se),P.forEach(function(Ae){H=Ae.wrap.bind(Ae,H)}),H()}function v(Y,G){var ae=x({type:Y});return ae||(G?Qr.element(G,{},{fresh:!1}):Qr.empty)}function x(Y,G){var ae=D(Y);return ae?ae.to:G}function D(Y){for(var G=0;G<l.length;G++)if(l[G].from.matches(Y))return l[G]}function w(Y){return function(G,ae){return YE.attempt(function(){return Y(G,ae)}).caught(function(H){return ae.push(F2.error(H)),[]})}}function C(Y){return U(Y.noteType,Y.noteId)}function R(Y){return I(Y.noteType,Y.noteId)}function U(Y,G){return N(Y+"-"+G)}function I(Y,G){return N(Y+"-ref-"+G)}function N(Y){return o+Y}var V=Qr.elements([Qr.element("table",{},{fresh:!0})]);function j(Y,G,ae){return x(Y,V).wrap(function(){return oe(Y,G,ae)})}function oe(Y,G,ae){var H=Ya.findIndex(Y.children,function(ye){return!ye.type===cg.types.tableRow||!ye.isHeader});H===-1&&(H=Y.children.length);var P;if(H===0)P=f(Y.children,G,Ya.extend({},ae,{isTableHeader:!1}));else{var he=f(Y.children.slice(0,H),G,Ya.extend({},ae,{isTableHeader:!0})),Se=f(Y.children.slice(H),G,Ya.extend({},ae,{isTableHeader:!1}));P=[ht.freshElement("thead",{},he),ht.freshElement("tbody",{},Se)]}return[ht.forceWrite].concat(P)}function ue(Y,G,ae){var H=f(Y.children,G,ae);return[ht.freshElement("tr",{},[ht.forceWrite].concat(H))]}function F(Y,G,ae){var H=ae.isTableHeader?"th":"td",P=f(Y.children,G,ae),he={};return Y.colSpan!==1&&(he.colspan=Y.colSpan.toString()),Y.rowSpan!==1&&(he.rowspan=Y.rowSpan.toString()),[ht.freshElement(H,he,[ht.forceWrite].concat(P))]}function X(Y,G,ae){return x(Y,Qr.ignore).wrap(function(){var H=e[Y.commentId],P=i.length+1,he="["+zJ(H)+P+"]";return i.push({label:he,comment:H}),[ht.freshElement("a",{href:"#"+U("comment",Y.commentId),id:I("comment",Y.commentId)},[ht.text(he)])]})}function E(Y,G,ae){var H=Y.label,P=Y.comment,he=f(P.body,G,ae).concat([ht.nonFreshElement("p",{},[ht.text(" "),ht.freshElement("a",{href:"#"+I("comment",P.commentId)},[ht.text("↑")])])]);return[ht.freshElement("dt",{id:U("comment",P.commentId)},[ht.text("Comment "+H)]),ht.freshElement("dd",{},he)]}function re(Y,G,ae){return z(Y).wrap(function(){return[]})}function z(Y){var G=D(Y);return G?G.to:Y.breakType==="line"?Qr.topLevelElement("br"):Qr.empty}var J={document:function(Y,G,ae){var H=f(Y.children,G,ae),P=r.map(function(Se){return Y.notes.resolve(Se)}),he=f(P,G,ae);return H.concat([ht.freshElement("ol",{},he),ht.freshElement("dl",{},K1(i,function(Se){return E(Se,G,ae)}))])},paragraph:p,run:m,text:function(Y,G,ae){return[ht.text(Y.value)]},tab:function(Y,G,ae){return[ht.text(" ")]},hyperlink:function(Y,G,ae){var H=Y.anchor?"#"+N(Y.anchor):Y.href,P={href:H};Y.targetFrame!=null&&(P.target=Y.targetFrame);var he=f(Y.children,G,ae);return[ht.nonFreshElement("a",P,he)]},checkbox:function(Y){var G={type:"checkbox"};return Y.checked&&(G.checked="checked"),[ht.freshElement("input",G)]},bookmarkStart:function(Y,G,ae){var H=ht.freshElement("a",{id:N(Y.name)},[ht.forceWrite]);return[H]},noteReference:function(Y,G,ae){r.push(Y);var H=ht.freshElement("a",{href:"#"+C(Y),id:R(Y)},[ht.text("["+n+++"]")]);return[ht.freshElement("sup",{},[H])]},note:function(Y,G,ae){var H=f(Y.body,G,ae),P=ht.elementWithTag(Qr.element("p",{},{fresh:!1}),[ht.text(" "),ht.freshElement("a",{href:"#"+R(Y)},[ht.text("↑")])]),he=H.concat([P]);return ht.freshElement("li",{id:C(Y)},he)},commentReference:X,comment:E,image:$J(w(t.convertImage||MJ.dataUri)),table:j,tableRow:ue,tableCell:F,break:re};return{convertToHtml:c}}var WJ=1;function $J(t){return function(e,n,r){return[{type:"deferred",id:WJ++,value:function(){return t(e,n,r)}}]}}function KE(t,e){return F2.warning("Unrecognised "+t+" style: '"+e.styleName+"' (Style ID: "+e.styleId+")")}function K1(t,e){return Ya.flatten(t.map(e),!0)}function b5(t,e){t.forEach(function(n){e(n),n.children&&b5(n.children,e)})}var zJ=pw.commentAuthorLabel=function(e){return e.authorInitials||""},v5={},jJ=ut;function x5(t){if(t.type==="text")return t.value;if(t.type===jJ.types.tab)return" ";var e=t.type==="paragraph"?`
237
+
238
+ `:"";return(t.children||[]).map(x5).join("")+e}v5.convertElementToRawText=x5;var Iy={},Ei={},D5={},w5={exports:{}},Iu=w5.exports=function(t,e){this._tokens=t,this._startIndex=e||0};Iu.prototype.head=function(){return this._tokens[this._startIndex]};Iu.prototype.tail=function(t){return new Iu(this._tokens,this._startIndex+1)};Iu.prototype.toArray=function(){return this._tokens.slice(this._startIndex)};Iu.prototype.end=function(){return this._tokens[this._tokens.length-1]};Iu.prototype.to=function(t){var e=this.head().source,n=t.head()||t.end();return e.to(n.source)};var VJ=w5.exports,HJ=VJ;D5.Parser=function(t){var e=function(n,r){return n(new HJ(r))};return{parseTokens:e}};var mw={},S5={};(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)}})(S5);var yw={failure:function(t,e){if(t.length<1)throw new Error("Failure must have errors");return new On({status:"failure",remaining:e,errors:t})},error:function(t,e){if(t.length<1)throw new Error("Failure must have errors");return new On({status:"error",remaining:e,errors:t})},success:function(t,e,n){return new On({status:"success",value:t,source:n,remaining:e,errors:[]})},cut:function(t){return new On({status:"cut",remaining:t,errors:[]})}},On=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};On.prototype.map=function(t){return this._hasValue?new On({value:t(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this};On.prototype.changeRemaining=function(t){return new On({value:this._value,status:this._status,remaining:t,source:this._source,errors:this._errors})};On.prototype.isSuccess=function(){return this._status==="success"||this._status==="cut"};On.prototype.isFailure=function(){return this._status==="failure"};On.prototype.isError=function(){return this._status==="error"};On.prototype.isCut=function(){return this._status==="cut"};On.prototype.value=function(){return this._value};On.prototype.remaining=function(){return this._remaining};On.prototype.source=function(){return this._source};On.prototype.errors=function(){return this._errors};var bw={};bw.error=function(t){return new By(t)};var By=function(t){this.expected=t.expected,this.actual=t.actual,this._location=t.location};By.prototype.describe=function(){var t=this._location?this._location.describe()+`:
239
+ `:"";return t+"Expected "+this.expected+`
240
+ but got `+this.actual};By.prototype.lineNumber=function(){return this._location.lineNumber()};By.prototype.characterNumber=function(){return this._location.characterNumber()};var T5={};T5.fromArray=function(t){var e=0,n=function(){return e<t.length};return new Ul({hasNext:n,next:function(){if(n())return t[e++];throw new Error("No more elements")}})};var Ul=function(t){this._iterator=t};Ul.prototype.map=function(t){var e=this._iterator;return new Ul({hasNext:function(){return e.hasNext()},next:function(){return t(e.next())}})};Ul.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 Ul({hasNext:function(){return o(),r},next:function(){o();var a=i;return n=!1,a}})};Ul.prototype.first=function(){var t=this._iterator;return this._iterator.hasNext()?t.next():null};Ul.prototype.toArray=function(){for(var t=[];this._iterator.hasNext();)t.push(this._iterator.next());return t};(function(t){var e=qt,n=S5,r=yw,i=bw,o=T5;t.token=function(p,g){var m=g!==void 0;return function(v){var x=v.head();if(x&&x.name===p&&(!m||x.value===g))return r.success(x.value,v.tail(),x.source);var D=f({name:p,value:g});return d(v,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(m){return o.fromArray(g).map(function(v){return v(m)}).filter(function(v){return v.isSuccess()||v.isError()}).first()||d(m,p)}},t.then=function(p,g){return function(m){var v=p(m);return v.map||console.log(v),v.map(g)}},t.sequence=function(){var p=Array.prototype.slice.call(arguments,0),g=function(v){var x=e.foldl(p,function(w,C){var R=w.result,U=w.hasCut;if(!R.isSuccess())return{result:R,hasCut:U};var I=C(R.remaining());if(I.isCut())return{result:R,hasCut:!0};if(I.isSuccess()){var N;C.isCaptured?N=R.value().withValue(C,I.value()):N=R.value();var V=I.remaining(),j=v.to(V);return{result:r.success(N,V,j),hasCut:U}}else return U?{result:r.error(I.errors(),I.remaining()),hasCut:U}:{result:I,hasCut:U}},{result:r.success(new a,v),hasCut:!1}).result,D=v.to(x.remaining());return x.map(function(w){return w.withValue(t.sequence.source,D)})};g.head=function(){var v=e.find(p,m);return t.then(g,t.sequence.extract(v))},g.map=function(v){return t.then(g,function(x){return v.apply(this,x.toArray())})};function m(v){return v.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 m=e.clone(this._values);m[p.captureName]=g;var v=this._valuesArray.concat([g]);return new a(m,v)},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 m=function(){return p.apply(this,arguments)};return m.captureName=g,m.isCaptured=!0,m},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(m){var v=g.map(function(x){return m.get(x)});return p.apply(this,v)}},t.sequence.source={captureName:"☃source☃"},t.sequence.cut=function(){return function(p){return r.cut(p)}},t.optional=function(p){return function(g){var m=p(g);return m.isSuccess()?m.map(n.some):m.isFailure()?r.success(n.none,g):m}},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 m=[],v;(v=p(g))&&v.isSuccess();)g=v.remaining(),m.push(v.value());return v.isError()?v:r.success(m,g)}};t.oneOrMore=function(p){return t.oneOrMoreWithSeparator(p,l)};function l(p){return r.success(null,p)}var c=function(p,g,m){return function(v){var x=p(v);if(x.isSuccess()){var D=t.sequence.capture(p,"main"),w=s(t.then(t.sequence(g,D),t.sequence.extract(D))),C=w(x.remaining());return r.success([x.value()].concat(C.value()),C.remaining())}else return m||x.isError()?x:r.success([],v)}};t.leftAssociative=function(p,g,m){var v;m?v=[{func:m,rule:g}]:v=g,v=v.map(function(D){return t.then(D.rule,function(w){return function(C,R){return D.func(C,w,R)}})});var x=t.firstOf.apply(null,["rules"].concat(v));return function(D){var w=D,C=p(D);if(!C.isSuccess())return C;for(var R=x(C.remaining());R.isSuccess();){var U=R.remaining(),I=w.to(R.remaining()),N=R.value();C=r.success(N(C.value(),I),U,I),R=x(C.remaining())}return R.isError()?R:C}},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 m,v=p.head();return v?m=i.error({expected:g,actual:f(v),location:v.source}):m=i.error({expected:g,actual:"end of tokens"}),r.failure([m],p)}})(mw);var _5={exports:{}};_5.exports=function(t,e){var n={asString:function(){return t},range:function(r,i){return new Fl(t,e,r,i)}};return n};var Fl=function(t,e,n,r){this._string=t,this._description=e,this._startIndex=n,this._endIndex=r};Fl.prototype.to=function(t){return new Fl(this._string,this._description,this._startIndex,t._endIndex)};Fl.prototype.describe=function(){var t=this._position(),e=this._description?this._description+`
241
+ `:"";return e+"Line number: "+t.lineNumber+`
242
+ Character number: `+t.characterNumber};Fl.prototype.lineNumber=function(){return this._position().lineNumber};Fl.prototype.characterNumber=function(){return this._position().characterNumber};Fl.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 C5=_5.exports,E5=function(t,e,n){this.name=t,this.value=e,n&&(this.source=n)},k5={};(function(t){var e=mw,n=yw;t.parser=function(o,a,s){var l={rule:p,leftAssociative:g,rightAssociative:m},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 v(c)}function g(D){return v(c.untilExclusive(D))}function m(D){return v(c.untilInclusive(D))}function v(D){return x.bind(null,D)}function x(D,w){var C=f(w);return C.isSuccess()?D.apply(C):C}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(m,v){return l(m,g,v)}})}})}return{name:o,ruleBuilder:a,map:s}};var i=function(o){var a;return function(s){return a||(a=o()),a(s)}}})(k5);var A5={},Z1=E5,qJ=C5;A5.RegexTokeniser=GJ;function GJ(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 qJ(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 Z1(t[s].name,f,a.range(o,d));return{token:p,endIndex:d}}}}var d=o+1,p=new Z1("unrecognisedCharacter",i.substring(o,d),a.range(o,d));return{token:p,endIndex:d}}function r(i,o){return new Z1("end",null,o.range(i.length,i.length))}return{tokenise:e}}Ei.Parser=D5.Parser;Ei.rules=mw;Ei.errors=bw;Ei.results=yw;Ei.StringSource=C5;Ei.Token=E5;Ei.bottomUp=k5;Ei.RegexTokeniser=A5.RegexTokeniser;Ei.rule=function(t){var e;return function(n){return e||(e=t()),e(n)}};var _n={};_n.paragraph=XJ;_n.run=JJ;_n.table=YJ;_n.bold=new ki("bold");_n.italic=new ki("italic");_n.underline=new ki("underline");_n.strikethrough=new ki("strikethrough");_n.allCaps=new ki("allCaps");_n.smallCaps=new ki("smallCaps");_n.highlight=KJ;_n.commentReference=new ki("commentReference");_n.lineBreak=new My({breakType:"line"});_n.pageBreak=new My({breakType:"page"});_n.columnBreak=new My({breakType:"column"});_n.equalTo=QJ;_n.startsWith=eY;function XJ(t){return new ki("paragraph",t)}function JJ(t){return new ki("run",t)}function YJ(t){return new ki("table",t)}function KJ(t){return new U5(t)}function ki(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)}ki.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||ZJ(t,this._listIndex,this._listIsOrdered))&&(this._breakType===void 0||this._breakType===t.breakType)};function U5(t){t=t||{},this._color=t.color}U5.prototype.matches=function(t){return t.type==="highlight"&&(this._color===void 0||t.color===this._color)};function My(t){t=t||{},this._breakType=t.breakType}My.prototype.matches=function(t){return t.type==="break"&&(this._breakType===void 0||t.breakType===this._breakType)};function ZJ(t,e,n){return t.numbering&&t.numbering.level==e&&t.numbering.isOrdered==n}function QJ(t){return{operator:tY,operand:t}}function eY(t){return{operator:nY,operand:t}}function tY(t,e){return t.toUpperCase()===e.toUpperCase()}function nY(t,e){return e.toUpperCase().indexOf(t.toUpperCase())===0}var F5={},rY=Ei,iY=rY.RegexTokeniser;F5.tokenise=oY;var ZE="'((?:\\\\.|[^'])*)";function oY(t){var e="(?:[a-zA-Z\\-_]|\\\\.)",n=new iY([{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(ZE+"'")},{name:"unterminated-string",regex:new RegExp(ZE)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}]);return n.tokenise(t)}var aY=qt,Fe=Ei,An=_n,ug=Oy(),sY=F5.tokenise,Q1=Pr;Iy.readHtmlPath=fY;Iy.readDocumentMatcher=uY;Iy.readStyle=lY;function lY(t){return vw(vY,t)}function cY(){return Fe.rules.sequence(Fe.rules.sequence.capture(R5()),Fe.rules.tokenOfType("whitespace"),Fe.rules.tokenOfType("arrow"),Fe.rules.sequence.capture(Fe.rules.optional(Fe.rules.sequence(Fe.rules.tokenOfType("whitespace"),Fe.rules.sequence.capture(O5())).head())),Fe.rules.tokenOfType("end")).map(function(t,e){return{from:t,to:e.valueOrElse(ug.empty)}})}function uY(t){return vw(R5(),t)}function R5(){var t=Fe.rules.sequence,e=function(I,N){return Fe.rules.then(Fe.rules.token("identifier",I),function(){return N})},n=e("p",An.paragraph),r=e("r",An.run),i=Fe.rules.firstOf("p or r or table",n,r),o=Fe.rules.sequence(Fe.rules.tokenOfType("dot"),Fe.rules.sequence.cut(),Fe.rules.sequence.capture(Ny)).map(function(I){return{styleId:I}}),a=Fe.rules.firstOf("style name matcher",Fe.rules.then(Fe.rules.sequence(Fe.rules.tokenOfType("equals"),Fe.rules.sequence.cut(),Fe.rules.sequence.capture(cu)).head(),function(I){return{styleName:An.equalTo(I)}}),Fe.rules.then(Fe.rules.sequence(Fe.rules.tokenOfType("startsWith"),Fe.rules.sequence.cut(),Fe.rules.sequence.capture(cu)).head(),function(I){return{styleName:An.startsWith(I)}})),s=Fe.rules.sequence(Fe.rules.tokenOfType("open-square-bracket"),Fe.rules.sequence.cut(),Fe.rules.token("identifier","style-name"),Fe.rules.sequence.capture(a),Fe.rules.tokenOfType("close-square-bracket")).head(),l=Fe.rules.firstOf("list type",e("ordered-list",{isOrdered:!0}),e("unordered-list",{isOrdered:!1})),c=t(Fe.rules.tokenOfType("colon"),t.capture(l),t.cut(),Fe.rules.tokenOfType("open-paren"),t.capture(dY),Fe.rules.tokenOfType("close-paren")).map(function(I,N){return{list:{isOrdered:I.isOrdered,levelIndex:N-1}}});function f(I){var N=Fe.rules.firstOf.apply(Fe.rules.firstOf,["matcher suffix"].concat(I)),V=Fe.rules.zeroOrMore(N);return Fe.rules.then(V,function(j){var oe={};return j.forEach(function(ue){aY.extend(oe,ue)}),oe})}var d=t(t.capture(i),t.capture(f([o,s,c]))).map(function(I,N){return I(N)}),p=t(Fe.rules.token("identifier","table"),t.capture(f([o,s]))).map(function(I){return An.table(I)}),g=e("b",An.bold),m=e("i",An.italic),v=e("u",An.underline),x=e("strike",An.strikethrough),D=e("all-caps",An.allCaps),w=e("small-caps",An.smallCaps),C=t(Fe.rules.token("identifier","highlight"),Fe.rules.sequence.capture(Fe.rules.optional(Fe.rules.sequence(Fe.rules.tokenOfType("open-square-bracket"),Fe.rules.sequence.cut(),Fe.rules.token("identifier","color"),Fe.rules.tokenOfType("equals"),Fe.rules.sequence.capture(cu),Fe.rules.tokenOfType("close-square-bracket")).head()))).map(function(I){return An.highlight({color:I.valueOrElse(void 0)})}),R=e("comment-reference",An.commentReference),U=t(Fe.rules.token("identifier","br"),t.cut(),Fe.rules.tokenOfType("open-square-bracket"),Fe.rules.token("identifier","type"),Fe.rules.tokenOfType("equals"),t.capture(cu),Fe.rules.tokenOfType("close-square-bracket")).map(function(I){switch(I){case"line":return An.lineBreak;case"page":return An.pageBreak;case"column":return An.columnBreak}});return Fe.rules.firstOf("element type",d,p,g,m,v,x,D,w,C,R,U)}function fY(t){return vw(O5(),t)}function O5(){var t=Fe.rules.sequence.capture,e=Fe.rules.tokenOfType("whitespace"),n=Fe.rules.then(Fe.rules.optional(Fe.rules.sequence(Fe.rules.tokenOfType("colon"),Fe.rules.token("identifier","fresh"))),function(a){return a.map(function(){return!0}).valueOrElse(!1)}),r=Fe.rules.then(Fe.rules.optional(Fe.rules.sequence(Fe.rules.tokenOfType("colon"),Fe.rules.token("identifier","separator"),Fe.rules.tokenOfType("open-paren"),t(cu),Fe.rules.tokenOfType("close-paren")).head()),function(a){return a.valueOrElse("")}),i=Fe.rules.oneOrMoreWithSeparator(Ny,Fe.rules.tokenOfType("choice")),o=Fe.rules.sequence(t(i),t(Fe.rules.zeroOrMore(mY)),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),ug.element(a,f,d)});return Fe.rules.firstOf("html path",Fe.rules.then(Fe.rules.tokenOfType("bang"),function(){return ug.ignore}),Fe.rules.then(Fe.rules.zeroOrMoreWithSeparator(o,Fe.rules.sequence(e,Fe.rules.tokenOfType("gt"),e)),ug.elements))}var Ny=Fe.rules.then(Fe.rules.tokenOfType("identifier"),I5),dY=Fe.rules.tokenOfType("integer"),cu=Fe.rules.then(Fe.rules.tokenOfType("string"),I5),hY={n:`
244
+ `,r:"\r",t:" "};function I5(t){return t.replace(/\\(.)/g,function(e,n){return hY[n]||n})}var pY=Fe.rules.sequence(Fe.rules.tokenOfType("open-square-bracket"),Fe.rules.sequence.cut(),Fe.rules.sequence.capture(Ny),Fe.rules.tokenOfType("equals"),Fe.rules.sequence.capture(cu),Fe.rules.tokenOfType("close-square-bracket")).map(function(t,e){return{name:t,value:e,append:!1}}),gY=Fe.rules.sequence(Fe.rules.tokenOfType("dot"),Fe.rules.sequence.cut(),Fe.rules.sequence.capture(Ny)).map(function(t){return{name:"class",value:t,append:!0}}),mY=Fe.rules.firstOf("attribute or class",pY,gY);function vw(t,e){var n=sY(e),r=Fe.Parser(),i=r.parseTokens(t,n);return i.isSuccess()?Q1.success(i.value()):new Q1.Result(null,[Q1.warning(yY(e,i))])}function yY(t,e){return"Did not understand this style mapping, so ignored it: "+t+`
245
+ `+e.errors().map(bY).join(`
246
+ `)}function bY(t){return"Error was at character number "+t.characterNumber()+": Expected "+t.expected+" but got "+t.actual}var vY=cY(),Py={};Py.readOptions=wY;var B5=qt,xY=Py._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"],DY=Py._standardOptions={transformDocument:SY,includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0};function wY(t){return t=t||{},B5.extend({},DY,t,{customStyleMap:QE(t.styleMap),readStyleMap:function(){var e=this.customStyleMap;return this.includeEmbeddedStyleMap&&(e=e.concat(QE(this.embeddedStyleMap))),this.includeDefaultStyleMap&&(e=e.concat(xY)),e}})}function QE(t){return t?B5.isString(t)?t.split(`
247
+ `).map(function(e){return e.trim()}).filter(function(e){return e!==""&&e.charAt(0)!=="#"}):t:[]}function SY(t){return t}var M5={},ek=un,TY=Dh;M5.openZip=_Y;function _Y(t){return t.arrayBuffer?ek.resolve(TY.openArrayBuffer(t.arrayBuffer)):ek.reject(new Error("Could not find file in options"))}var Yu={},tk=qt;Yu.paragraph=CY;Yu.run=EY;Yu._elements=P5;Yu.getDescendantsOfType=kY;Yu.getDescendants=L5;function CY(t){return N5("paragraph",t)}function EY(t){return N5("run",t)}function N5(t,e){return P5(function(n){return n.type===t?e(n):n})}function P5(t){return function e(n){if(n.children){var r=tk.map(n.children,e);n=tk.extend(n,{children:r})}return t(n)}}function kY(t,e){return L5(t).filter(function(n){return n.type===e})}function L5(t){var e=[];return W5(t,function(n){e.push(n)}),e}function W5(t,e){t.children&&t.children.forEach(function(n){W5(n,e),e(n)})}var $5={},AY=Oy(),UY=Ry();$5.element=FY;function FY(t){return function(e){return UY.elementWithTag(AY.element(t),[e])}}var RY=qt,z5=zD,xw=hw,OY=pw.DocumentConverter,IY=v5.convertElementToRawText,BY=Iy.readStyle,MY=Py.readOptions,Ly=M5,NY=Pr.Result;Ci.convertToHtml=PY;Ci.convertToMarkdown=LY;Ci.convert=Dw;Ci.extractRawText=jY;Ci.images=gw;Ci.transforms=Yu;Ci.underline=$5;Ci.embedStyleMap=VY;Ci.readEmbeddedStyleMap=WY;function PY(t,e){return Dw(t,e)}function LY(t,e){var n=Object.create(e||{});return n.outputFormat="markdown",Dw(t,n)}function Dw(t,e){return e=MY(e),Ly.openZip(t).tap(function(n){return xw.readStyleMap(n).then(function(r){e.embeddedStyleMap=r})}).then(function(n){return z5.read(n,t).then(function(r){return r.map(e.transformDocument)}).then(function(r){return $Y(r,e)})})}function WY(t){return Ly.openZip(t).then(xw.readStyleMap)}function $Y(t,e){var n=zY(e.readStyleMap()),r=RY.extend({},e,{styleMap:n.value}),i=new OY(r);return t.flatMapThen(function(o){return n.flatMapThen(function(a){return i.convertToHtml(o)})})}function zY(t){return NY.combine((t||[]).map(BY)).map(function(e){return e.filter(function(n){return!!n})})}function jY(t){return Ly.openZip(t).then(z5.read).then(function(e){return e.map(IY)})}function VY(t,e){return Ly.openZip(t).tap(function(n){return xw.writeStyleMap(n,e)}).then(function(n){return n.toArrayBuffer()}).then(function(n){return{toArrayBuffer:function(){return n},toBuffer:function(){return Buffer.from(n)}}})}Ci.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 j5={exports:{}};(function(t,e){(function(r,i){t.exports=i(gt,HO)})(it,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 oe});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),m=a.n(g);function v(ue){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?v=function(X){return typeof X}:v=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},v(ue)}function x(ue,F){if(!(ue instanceof F))throw new TypeError("Cannot call a class as a function")}function D(ue,F){for(var X=0;X<F.length;X++){var E=F[X];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(ue,E.key,E)}}function w(ue,F,X){return F&&D(ue.prototype,F),ue}function C(ue,F){return F&&(v(F)==="object"||typeof F=="function")?F:U(ue)}function R(ue){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(X){return X.__proto__||Object.getPrototypeOf(X)},R(ue)}function U(ue){if(ue===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ue}function I(ue,F){if(typeof F!="function"&&F!==null)throw new TypeError("Super expression must either be null or a function");ue.prototype=Object.create(F&&F.prototype,{constructor:{value:ue,writable:!0,configurable:!0}}),F&&N(ue,F)}function N(ue,F){return N=Object.setPrototypeOf||function(E,re){return E.__proto__=re,E},N(ue,F)}function V(ue,F,X){return F in ue?Object.defineProperty(ue,F,{value:X,enumerable:!0,configurable:!0,writable:!0}):ue[F]=X,ue}function j(ue){return ue.width===void 0&&(ue.width=ue.right-ue.left),ue.height===void 0&&(ue.height=ue.bottom-ue.top),ue}var oe=function(ue){I(F,ue);function F(X){var E;return x(this,F),E=C(this,R(F).call(this,X)),V(U(E),"getContainer",function(){return E.props.containment||window}),V(U(E),"addEventListener",function(re,z,J,Y){E.debounceCheck||(E.debounceCheck={});var G,ae,H=function(){G=null,E.check()};Y>-1?ae=function(){G||(G=setTimeout(H,Y||0))}:ae=function(){clearTimeout(G),G=setTimeout(H,J||0)};var P={target:re,fn:ae,getLastTimeout:function(){return G}};re.addEventListener(z,P.fn),E.debounceCheck[z]=P}),V(U(E),"startWatching",function(){E.debounceCheck||E.interval||(E.props.intervalCheck&&(E.interval=setInterval(E.check,E.props.intervalDelay)),E.props.scrollCheck&&E.addEventListener(E.getContainer(),"scroll",E.props.scrollDelay,E.props.scrollThrottle),E.props.resizeCheck&&E.addEventListener(window,"resize",E.props.resizeDelay,E.props.resizeThrottle),!E.props.delayedCall&&E.check())}),V(U(E),"stopWatching",function(){if(E.debounceCheck){for(var re in E.debounceCheck)if(E.debounceCheck.hasOwnProperty(re)){var z=E.debounceCheck[re];clearTimeout(z.getLastTimeout()),z.target.removeEventListener(re,z.fn),E.debounceCheck[re]=null}}E.debounceCheck=null,E.interval&&(E.interval=clearInterval(E.interval))}),V(U(E),"check",function(){var re=E.node,z,J;if(!re)return E.state;if(z=j(E.roundRectDown(re.getBoundingClientRect())),E.props.containment){var Y=E.props.containment.getBoundingClientRect();J={top:Y.top,left:Y.left,bottom:Y.bottom,right:Y.right}}else J={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var G=E.props.offset||{},ae=v(G)==="object";ae&&(J.top+=G.top||0,J.left+=G.left||0,J.bottom-=G.bottom||0,J.right-=G.right||0);var H={top:z.top>=J.top,left:z.left>=J.left,bottom:z.bottom<=J.bottom,right:z.right<=J.right},P=z.height>0&&z.width>0,he=P&&H.top&&H.left&&H.bottom&&H.right;if(P&&E.props.partialVisibility){var Se=z.top<=J.bottom&&z.bottom>=J.top&&z.left<=J.right&&z.right>=J.left;typeof E.props.partialVisibility=="string"&&(Se=H[E.props.partialVisibility]),he=E.props.minTopValue?Se&&z.top<=J.bottom-E.props.minTopValue:Se}typeof G.direction=="string"&&typeof G.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 }",G.direction,G.value),he=m()(G,z,J));var ye=E.state;return E.state.isVisible!==he&&(ye={isVisible:he,visibilityRect:H},E.setState(ye),E.props.onChange&&E.props.onChange(he)),ye}),E.state={isVisible:null,visibilityRect:{}},E}return w(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(E){this.node=f.a.findDOMNode(this),this.props.active&&!E.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(E){return{top:Math.floor(E.top),left:Math.floor(E.left),bottom:Math.floor(E.bottom),right:Math.floor(E.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);V(oe,"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)}),V(oe,"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,m,v,x,D,w){if(w!==s){var C=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 C.name="Invariant Violation",C}}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}])})})(j5);var HY=j5.exports;const qY=DU(HY);var Hl={},cl={};/**
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 nk;function GY(){if(nk)return cl;nk=1;var t=gt;function e(T){for(var B="https://reactjs.org/docs/error-decoder.html?invariant="+T,$=1;$<arguments.length;$++)B+="&args[]="+encodeURIComponent(arguments[$]);return"Minified React error #"+T+"; visit "+B+" 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,B,$,Q,be,pe,Te){this.acceptsBooleans=B===2||B===3||B===4,this.attributeName=Q,this.attributeNamespace=be,this.mustUseProperty=$,this.propertyName=T,this.type=B,this.sanitizeURL=pe,this.removeEmptyString=Te}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 B=T[0];l[B]=new s(B,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 B=T.replace(c,f);l[B]=new s(B,1,!1,T,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(T){var B=T.replace(c,f);l[B]=new s(B,1,!1,T,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(T){var B=T.replace(c,f);l[B]=new s(B,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(B){B=B+T.charAt(0).toUpperCase()+T.substring(1),d[B]=d[T]})});var g=/["'&<>]/;function m(T){if(typeof T=="boolean"||typeof T=="number")return""+T;T=""+T;var B=g.exec(T);if(B){var $="",Q,be=0;for(Q=B.index;Q<T.length;Q++){switch(T.charCodeAt(Q)){case 34:B="&quot;";break;case 38:B="&amp;";break;case 39:B="&#x27;";break;case 60:B="&lt;";break;case 62:B="&gt;";break;default:continue}be!==Q&&($+=T.substring(be,Q)),be=Q+1,$+=B}T=be!==Q?$+T.substring(be,Q):$}return T}var v=/([A-Z])/g,x=/^ms-/,D=Array.isArray;function w(T,B){return{insertionMode:T,selectedValue:B}}function C(T,B,$){switch(B){case"select":return w(1,$.value!=null?$.value:$.defaultValue);case"svg":return w(2,null);case"math":return w(3,null);case"foreignObject":return w(1,null);case"table":return w(4,null);case"thead":case"tbody":case"tfoot":return w(5,null);case"colgroup":return w(7,null);case"tr":return w(6,null)}return 4<=T.insertionMode||T.insertionMode===0?w(1,null):T}var R=new Map;function U(T,B,$){if(typeof $!="object")throw Error(e(62));B=!0;for(var Q in $)if(n.call($,Q)){var be=$[Q];if(be!=null&&typeof be!="boolean"&&be!==""){if(Q.indexOf("--")===0){var pe=m(Q);be=m((""+be).trim())}else{pe=Q;var Te=R.get(pe);Te!==void 0||(Te=m(pe.replace(v,"-$1").toLowerCase().replace(x,"-ms-")),R.set(pe,Te)),pe=Te,be=typeof be=="number"?be===0||n.call(d,Q)?""+be:be+"px":m((""+be).trim())}B?(B=!1,T.push(' style="',pe,":",be)):T.push(";",pe,":",be)}}B||T.push('"')}function I(T,B,$,Q){switch($){case"style":U(T,B,Q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<$.length)||$[0]!=="o"&&$[0]!=="O"||$[1]!=="n"&&$[1]!=="N"){if(B=l.hasOwnProperty($)?l[$]:null,B!==null){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(!B.acceptsBooleans)return}switch($=B.attributeName,B.type){case 3:Q&&T.push(" ",$,'=""');break;case 4:Q===!0?T.push(" ",$,'=""'):Q!==!1&&T.push(" ",$,'="',m(Q),'"');break;case 5:isNaN(Q)||T.push(" ",$,'="',m(Q),'"');break;case 6:!isNaN(Q)&&1<=Q&&T.push(" ",$,'="',m(Q),'"');break;default:B.sanitizeURL&&(Q=""+Q),T.push(" ",$,'="',m(Q),'"')}}else if(a($)){switch(typeof Q){case"function":case"symbol":return;case"boolean":if(B=$.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")return}T.push(" ",$,'="',m(Q),'"')}}}function N(T,B,$){if(B!=null){if($!=null)throw Error(e(60));if(typeof B!="object"||!("__html"in B))throw Error(e(61));B=B.__html,B!=null&&T.push(""+B)}}function V(T){var B="";return t.Children.forEach(T,function($){$!=null&&(B+=$)}),B}function j(T,B,$,Q){T.push(F($));var be=$=null,pe;for(pe in B)if(n.call(B,pe)){var Te=B[pe];if(Te!=null)switch(pe){case"children":$=Te;break;case"dangerouslySetInnerHTML":be=Te;break;default:I(T,Q,pe,Te)}}return T.push(">"),N(T,be,$),typeof $=="string"?(T.push(m($)),null):$}var oe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ue=new Map;function F(T){var B=ue.get(T);if(B===void 0){if(!oe.test(T))throw Error(e(65,T));B="<"+T,ue.set(T,B)}return B}function X(T,B,$,Q,be){switch(B){case"select":T.push(F("select"));var pe=null,Te=null;for(qe in $)if(n.call($,qe)){var Ie=$[qe];if(Ie!=null)switch(qe){case"children":pe=Ie;break;case"dangerouslySetInnerHTML":Te=Ie;break;case"defaultValue":case"value":break;default:I(T,Q,qe,Ie)}}return T.push(">"),N(T,Te,pe),pe;case"option":Te=be.selectedValue,T.push(F("option"));var Ve=Ie=null,Xe=null,qe=null;for(pe in $)if(n.call($,pe)){var ft=$[pe];if(ft!=null)switch(pe){case"children":Ie=ft;break;case"selected":Xe=ft;break;case"dangerouslySetInnerHTML":qe=ft;break;case"value":Ve=ft;default:I(T,Q,pe,ft)}}if(Te!=null)if($=Ve!==null?""+Ve:V(Ie),D(Te)){for(Q=0;Q<Te.length;Q++)if(""+Te[Q]===$){T.push(' selected=""');break}}else""+Te===$&&T.push(' selected=""');else Xe&&T.push(' selected=""');return T.push(">"),N(T,qe,Ie),Ie;case"textarea":T.push(F("textarea")),qe=Te=pe=null;for(Ie in $)if(n.call($,Ie)&&(Ve=$[Ie],Ve!=null))switch(Ie){case"children":qe=Ve;break;case"value":pe=Ve;break;case"defaultValue":Te=Ve;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:I(T,Q,Ie,Ve)}if(pe===null&&Te!==null&&(pe=Te),T.push(">"),qe!=null){if(pe!=null)throw Error(e(92));if(D(qe)&&1<qe.length)throw Error(e(93));pe=""+qe}return typeof pe=="string"&&pe[0]===`
256
+ `&&T.push(`
257
+ `),pe!==null&&T.push(m(""+pe)),null;case"input":T.push(F("input")),Ve=qe=Ie=pe=null;for(Te in $)if(n.call($,Te)&&(Xe=$[Te],Xe!=null))switch(Te){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Ve=Xe;break;case"defaultValue":Ie=Xe;break;case"checked":qe=Xe;break;case"value":pe=Xe;break;default:I(T,Q,Te,Xe)}return qe!==null?I(T,Q,"checked",qe):Ve!==null&&I(T,Q,"checked",Ve),pe!==null?I(T,Q,"value",pe):Ie!==null&&I(T,Q,"value",Ie),T.push("/>"),null;case"menuitem":T.push(F("menuitem"));for(var Qt in $)if(n.call($,Qt)&&(pe=$[Qt],pe!=null))switch(Qt){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:I(T,Q,Qt,pe)}return T.push(">"),null;case"title":T.push(F("title")),pe=null;for(ft in $)if(n.call($,ft)&&(Te=$[ft],Te!=null))switch(ft){case"children":pe=Te;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:I(T,Q,ft,Te)}return T.push(">"),pe;case"listing":case"pre":T.push(F(B)),Te=pe=null;for(Ve in $)if(n.call($,Ve)&&(Ie=$[Ve],Ie!=null))switch(Ve){case"children":pe=Ie;break;case"dangerouslySetInnerHTML":Te=Ie;break;default:I(T,Q,Ve,Ie)}if(T.push(">"),Te!=null){if(pe!=null)throw Error(e(60));if(typeof Te!="object"||!("__html"in Te))throw Error(e(61));$=Te.__html,$!=null&&(typeof $=="string"&&0<$.length&&$[0]===`
258
+ `?T.push(`
259
+ `,$):T.push(""+$))}return typeof pe=="string"&&pe[0]===`
260
+ `&&T.push(`
261
+ `),pe;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(B));for(var en in $)if(n.call($,en)&&(pe=$[en],pe!=null))switch(en){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,B));default:I(T,Q,en,pe)}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,$,B,Q);case"html":return be.insertionMode===0&&T.push("<!DOCTYPE html>"),j(T,$,B,Q);default:if(B.indexOf("-")===-1&&typeof $.is!="string")return j(T,$,B,Q);T.push(F(B)),Te=pe=null;for(Xe in $)if(n.call($,Xe)&&(Ie=$[Xe],Ie!=null))switch(Xe){case"children":pe=Ie;break;case"dangerouslySetInnerHTML":Te=Ie;break;case"style":U(T,Q,Ie);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:a(Xe)&&typeof Ie!="function"&&typeof Ie!="symbol"&&T.push(" ",Xe,'="',m(Ie),'"')}return T.push(">"),N(T,Te,pe),pe}}function E(T,B,$){if(T.push('<!--$?--><template id="'),$===null)throw Error(e(395));return T.push($),T.push('"></template>')}function re(T,B,$,Q){switch($.insertionMode){case 0:case 1:return T.push('<div hidden id="'),T.push(B.segmentPrefix),B=Q.toString(16),T.push(B),T.push('">');case 2:return T.push('<svg aria-hidden="true" style="display:none" id="'),T.push(B.segmentPrefix),B=Q.toString(16),T.push(B),T.push('">');case 3:return T.push('<math aria-hidden="true" style="display:none" id="'),T.push(B.segmentPrefix),B=Q.toString(16),T.push(B),T.push('">');case 4:return T.push('<table hidden id="'),T.push(B.segmentPrefix),B=Q.toString(16),T.push(B),T.push('">');case 5:return T.push('<table hidden><tbody id="'),T.push(B.segmentPrefix),B=Q.toString(16),T.push(B),T.push('">');case 6:return T.push('<table hidden><tr id="'),T.push(B.segmentPrefix),B=Q.toString(16),T.push(B),T.push('">');case 7:return T.push('<table hidden><colgroup id="'),T.push(B.segmentPrefix),B=Q.toString(16),T.push(B),T.push('">');default:throw Error(e(397))}}function z(T,B){switch(B.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 J=/[<\u2028\u2029]/g;function Y(T){return JSON.stringify(T).replace(J,function(B){switch(B){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 G(T,B){return B=B===void 0?"":B,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:B+"P:",segmentPrefix:B+"S:",boundaryPrefix:B+"B:",idPrefix:B,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:T}}function ae(T,B,$,Q){return $.generateStaticMarkup?(T.push(m(B)),!1):(B===""?T=Q:(Q&&T.push("<!-- -->"),T.push(m(B)),T=!0),T)}var H=Object.assign,P=Symbol.for("react.element"),he=Symbol.for("react.portal"),Se=Symbol.for("react.fragment"),ye=Symbol.for("react.strict_mode"),Ae=Symbol.for("react.profiler"),je=Symbol.for("react.provider"),$e=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),Ze=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),Ue=Symbol.for("react.memo"),_e=Symbol.for("react.lazy"),A=Symbol.for("react.scope"),de=Symbol.for("react.debug_trace_mode"),ce=Symbol.for("react.legacy_hidden"),K=Symbol.for("react.default_value"),q=Symbol.iterator;function ie(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 Se:return"Fragment";case he:return"Portal";case Ae:return"Profiler";case ye:return"StrictMode";case Ze:return"Suspense";case se:return"SuspenseList"}if(typeof T=="object")switch(T.$$typeof){case $e:return(T.displayName||"Context")+".Consumer";case je:return(T._context.displayName||"Context")+".Provider";case ze:var B=T.render;return T=T.displayName,T||(T=B.displayName||B.name||"",T=T!==""?"ForwardRef("+T+")":"ForwardRef"),T;case Ue:return B=T.displayName||null,B!==null?B:ie(T.type)||"Memo";case _e:B=T._payload,T=T._init;try{return ie(T(B))}catch{}}return null}var we={};function Ee(T,B){if(T=T.contextTypes,!T)return we;var $={},Q;for(Q in T)$[Q]=B[Q];return $}var fe=null;function ee(T,B){if(T!==B){T.context._currentValue2=T.parentValue,T=T.parent;var $=B.parent;if(T===null){if($!==null)throw Error(e(401))}else{if($===null)throw Error(e(401));ee(T,$)}B.context._currentValue2=B.value}}function ne(T){T.context._currentValue2=T.parentValue,T=T.parent,T!==null&&ne(T)}function le(T){var B=T.parent;B!==null&&le(B),T.context._currentValue2=T.value}function xe(T,B){if(T.context._currentValue2=T.parentValue,T=T.parent,T===null)throw Error(e(402));T.depth===B.depth?ee(T,B):xe(T,B)}function Ne(T,B){var $=B.parent;if($===null)throw Error(e(402));T.depth===$.depth?ee(T,$):Ne(T,$),B.context._currentValue2=B.value}function Pe(T){var B=fe;B!==T&&(B===null?le(T):T===null?ne(B):B.depth===T.depth?ee(B,T):B.depth>T.depth?xe(B,T):Ne(B,T),fe=T)}var Ge={isMounted:function(){return!1},enqueueSetState:function(T,B){T=T._reactInternals,T.queue!==null&&T.queue.push(B)},enqueueReplaceState:function(T,B){T=T._reactInternals,T.replace=!0,T.queue=[B]},enqueueForceUpdate:function(){}};function He(T,B,$,Q){var be=T.state!==void 0?T.state:null;T.updater=Ge,T.props=$,T.state=be;var pe={queue:[],replace:!1};T._reactInternals=pe;var Te=B.contextType;if(T.context=typeof Te=="object"&&Te!==null?Te._currentValue2:Q,Te=B.getDerivedStateFromProps,typeof Te=="function"&&(Te=Te($,be),be=Te==null?be:H({},be,Te),T.state=be),typeof B.getDerivedStateFromProps!="function"&&typeof T.getSnapshotBeforeUpdate!="function"&&(typeof T.UNSAFE_componentWillMount=="function"||typeof T.componentWillMount=="function"))if(B=T.state,typeof T.componentWillMount=="function"&&T.componentWillMount(),typeof T.UNSAFE_componentWillMount=="function"&&T.UNSAFE_componentWillMount(),B!==T.state&&Ge.enqueueReplaceState(T,T.state,null),pe.queue!==null&&0<pe.queue.length)if(B=pe.queue,Te=pe.replace,pe.queue=null,pe.replace=!1,Te&&B.length===1)T.state=B[0];else{for(pe=Te?B[0]:T.state,be=!0,Te=Te?1:0;Te<B.length;Te++){var Ie=B[Te];Ie=typeof Ie=="function"?Ie.call(T,pe,$,Q):Ie,Ie!=null&&(be?(be=!1,pe=H({},pe,Ie)):H(pe,Ie))}T.state=pe}else pe.queue=null}var et={id:1,overflow:""};function ct(T,B,$){var Q=T.id;T=T.overflow;var be=32-rt(Q)-1;Q&=~(1<<be),$+=1;var pe=32-rt(B)+be;if(30<pe){var Te=be-be%5;return pe=(Q&(1<<Te)-1).toString(32),Q>>=Te,be-=Te,{id:1<<32-rt(B)+be|$<<be|Q,overflow:pe+T}}return{id:1<<pe|$<<be|Q,overflow:T}}var rt=Math.clz32?Math.clz32:It,Lt=Math.log,zn=Math.LN2;function It(T){return T>>>=0,T===0?32:31-(Lt(T)/zn|0)|0}function Lr(T,B){return T===B&&(T!==0||1/T===1/B)||T!==T&&B!==B}var Ai=typeof Object.is=="function"?Object.is:Lr,Gt=null,Cn=null,jn=null,st=null,fn=!1,Ui=!1,li=0,ir=null,Fi=0;function Cr(){if(Gt===null)throw Error(e(321));return Gt}function Wt(){if(0<Fi)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function po(){return st===null?jn===null?(fn=!1,jn=st=Wt()):(fn=!0,st=jn):st.next===null?(fn=!1,st=st.next=Wt()):(fn=!0,st=st.next),st}function go(){Cn=Gt=null,Ui=!1,jn=null,Fi=0,st=ir=null}function fa(T,B){return typeof B=="function"?B(T):B}function Bt(T,B,$){if(Gt=Cr(),st=po(),fn){var Q=st.queue;if(B=Q.dispatch,ir!==null&&($=ir.get(Q),$!==void 0)){ir.delete(Q),Q=st.memoizedState;do Q=T(Q,$.action),$=$.next;while($!==null);return st.memoizedState=Q,[Q,B]}return[st.memoizedState,B]}return T=T===fa?typeof B=="function"?B():B:$!==void 0?$(B):B,st.memoizedState=T,T=st.queue={last:null,dispatch:null},T=T.dispatch=ks.bind(null,Gt,T),[st.memoizedState,T]}function mo(T,B){if(Gt=Cr(),st=po(),B=B===void 0?null:B,st!==null){var $=st.memoizedState;if($!==null&&B!==null){var Q=$[1];e:if(Q===null)Q=!1;else{for(var be=0;be<Q.length&&be<B.length;be++)if(!Ai(B[be],Q[be])){Q=!1;break e}Q=!0}if(Q)return $[0]}}return T=T(),st.memoizedState=[T,B],T}function ks(T,B,$){if(25<=Fi)throw Error(e(301));if(T===Gt)if(Ui=!0,T={action:$,next:null},ir===null&&(ir=new Map),$=ir.get(B),$===void 0)ir.set(B,T);else{for(B=$;B.next!==null;)B=B.next;B.next=T}}function As(){throw Error(e(394))}function or(){}var yo={readContext:function(T){return T._currentValue2},useContext:function(T){return Cr(),T._currentValue2},useMemo:mo,useReducer:Bt,useRef:function(T){Gt=Cr(),st=po();var B=st.memoizedState;return B===null?(T={current:T},st.memoizedState=T):B},useState:function(T){return Bt(fa,T)},useInsertionEffect:or,useLayoutEffect:function(){},useCallback:function(T,B){return mo(function(){return T},B)},useImperativeHandle:or,useEffect:or,useDebugValue:or,useDeferredValue:function(T){return Cr(),T},useTransition:function(){return Cr(),[!1,As]},useId:function(){var T=Cn.treeContext,B=T.overflow;T=T.id,T=(T&~(1<<32-rt(T)-1)).toString(32)+B;var $=Ri;if($===null)throw Error(e(404));return B=li++,T=":"+$.idPrefix+"R"+T,0<B&&(T+="H"+B.toString(32)),T+":"},useMutableSource:function(T,B){return Cr(),B(T._source)},useSyncExternalStore:function(T,B,$){if($===void 0)throw Error(e(407));return $()}},Ri=null,Wr=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function dn(T){return console.error(T),null}function ar(){}function Oi(T,B,$,Q,be,pe,Te,Ie,Ve){var Xe=[],qe=new Set;return B={destination:null,responseState:B,progressiveChunkSize:Q===void 0?12800:Q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:qe,pingedTasks:Xe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:be===void 0?dn:be,onAllReady:ar,onShellReady:Te===void 0?ar:Te,onShellError:ar,onFatalError:ar},$=zr(B,0,null,$,!1,!1),$.parentFlushed=!0,T=$r(B,T,null,$,qe,we,null,et),Xe.push(T),B}function $r(T,B,$,Q,be,pe,Te,Ie){T.allPendingTasks++,$===null?T.pendingRootTasks++:$.pendingTasks++;var Ve={node:B,ping:function(){var Xe=T.pingedTasks;Xe.push(Ve),Xe.length===1&&Kt(T)},blockedBoundary:$,blockedSegment:Q,abortSet:be,legacyContext:pe,context:Te,treeContext:Ie};return be.add(Ve),Ve}function zr(T,B,$,Q,be,pe){return{status:0,id:-1,index:B,parentFlushed:!1,chunks:[],children:[],formatContext:Q,boundary:$,lastPushedText:be,textEmbedded:pe}}function sr(T,B){if(T=T.onError(B),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 jr(T,B){var $=T.onShellError;$(B),$=T.onFatalError,$(B),T.destination!==null?(T.status=2,T.destination.destroy(B)):(T.status=1,T.fatalError=B)}function hn(T,B,$,Q,be){for(Gt={},Cn=B,li=0,T=$(Q,be);Ui;)Ui=!1,li=0,Fi+=1,st=null,T=$(Q,be);return go(),T}function da(T,B,$,Q){var be=$.render(),pe=Q.childContextTypes;if(pe!=null){var Te=B.legacyContext;if(typeof $.getChildContext!="function")Q=Te;else{$=$.getChildContext();for(var Ie in $)if(!(Ie in pe))throw Error(e(108,ie(Q)||"Unknown",Ie));Q=H({},Te,$)}B.legacyContext=Q,Mt(T,B,be),B.legacyContext=Te}else Mt(T,B,be)}function ha(T,B){if(T&&T.defaultProps){B=H({},B),T=T.defaultProps;for(var $ in T)B[$]===void 0&&(B[$]=T[$]);return B}return B}function Er(T,B,$,Q,be){if(typeof $=="function")if($.prototype&&$.prototype.isReactComponent){be=Ee($,B.legacyContext);var pe=$.contextType;pe=new $(Q,typeof pe=="object"&&pe!==null?pe._currentValue2:be),He(pe,$,Q,be),da(T,B,pe,$)}else{pe=Ee($,B.legacyContext),be=hn(T,B,$,Q,pe);var Te=li!==0;if(typeof be=="object"&&be!==null&&typeof be.render=="function"&&be.$$typeof===void 0)He(be,$,Q,pe),da(T,B,be,$);else if(Te){Q=B.treeContext,B.treeContext=ct(Q,1,0);try{Mt(T,B,be)}finally{B.treeContext=Q}}else Mt(T,B,be)}else if(typeof $=="string"){switch(be=B.blockedSegment,pe=X(be.chunks,$,Q,T.responseState,be.formatContext),be.lastPushedText=!1,Te=be.formatContext,be.formatContext=C(Te,$,Q),cr(T,B,pe),be.formatContext=Te,$){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("</",$,">")}be.lastPushedText=!1}else{switch($){case ce:case de:case ye:case Ae:case Se:Mt(T,B,Q.children);return;case se:Mt(T,B,Q.children);return;case A:throw Error(e(343));case Ze:e:{$=B.blockedBoundary,be=B.blockedSegment,pe=Q.fallback,Q=Q.children,Te=new Set;var Ie={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Te,errorDigest:null},Ve=zr(T,be.chunks.length,Ie,be.formatContext,!1,!1);be.children.push(Ve),be.lastPushedText=!1;var Xe=zr(T,0,null,be.formatContext,!1,!1);Xe.parentFlushed=!0,B.blockedBoundary=Ie,B.blockedSegment=Xe;try{if(cr(T,B,Q),T.responseState.generateStaticMarkup||Xe.lastPushedText&&Xe.textEmbedded&&Xe.chunks.push("<!-- -->"),Xe.status=1,Vn(Ie,Xe),Ie.pendingTasks===0)break e}catch(qe){Xe.status=4,Ie.forceClientRender=!0,Ie.errorDigest=sr(T,qe)}finally{B.blockedBoundary=$,B.blockedSegment=be}B=$r(T,pe,$,Ve,Te,B.legacyContext,B.context,B.treeContext),T.pingedTasks.push(B)}return}if(typeof $=="object"&&$!==null)switch($.$$typeof){case ze:if(Q=hn(T,B,$.render,Q,be),li!==0){$=B.treeContext,B.treeContext=ct($,1,0);try{Mt(T,B,Q)}finally{B.treeContext=$}}else Mt(T,B,Q);return;case Ue:$=$.type,Q=ha($,Q),Er(T,B,$,Q,be);return;case je:if(be=Q.children,$=$._context,Q=Q.value,pe=$._currentValue2,$._currentValue2=Q,Te=fe,fe=Q={parent:Te,depth:Te===null?0:Te.depth+1,context:$,parentValue:pe,value:Q},B.context=Q,Mt(T,B,be),T=fe,T===null)throw Error(e(403));Q=T.parentValue,T.context._currentValue2=Q===K?T.context._defaultValue:Q,T=fe=T.parent,B.context=T;return;case $e:Q=Q.children,Q=Q($._currentValue2),Mt(T,B,Q);return;case _e:be=$._init,$=be($._payload),Q=ha($,Q),Er(T,B,$,Q,void 0);return}throw Error(e(130,$==null?$:typeof $,""))}}function Mt(T,B,$){if(B.node=$,typeof $=="object"&&$!==null){switch($.$$typeof){case P:Er(T,B,$.type,$.props,$.ref);return;case he:throw Error(e(257));case _e:var Q=$._init;$=Q($._payload),Mt(T,B,$);return}if(D($)){lr(T,B,$);return}if($===null||typeof $!="object"?Q=null:(Q=q&&$[q]||$["@@iterator"],Q=typeof Q=="function"?Q:null),Q&&(Q=Q.call($))){if($=Q.next(),!$.done){var be=[];do be.push($.value),$=Q.next();while(!$.done);lr(T,B,be)}return}throw T=Object.prototype.toString.call($),Error(e(31,T==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":T))}typeof $=="string"?(Q=B.blockedSegment,Q.lastPushedText=ae(B.blockedSegment.chunks,$,T.responseState,Q.lastPushedText)):typeof $=="number"&&(Q=B.blockedSegment,Q.lastPushedText=ae(B.blockedSegment.chunks,""+$,T.responseState,Q.lastPushedText))}function lr(T,B,$){for(var Q=$.length,be=0;be<Q;be++){var pe=B.treeContext;B.treeContext=ct(pe,Q,be);try{cr(T,B,$[be])}finally{B.treeContext=pe}}}function cr(T,B,$){var Q=B.blockedSegment.formatContext,be=B.legacyContext,pe=B.context;try{return Mt(T,B,$)}catch(Ve){if(go(),typeof Ve=="object"&&Ve!==null&&typeof Ve.then=="function"){$=Ve;var Te=B.blockedSegment,Ie=zr(T,Te.chunks.length,null,Te.formatContext,Te.lastPushedText,!0);Te.children.push(Ie),Te.lastPushedText=!1,T=$r(T,B.node,B.blockedBoundary,Ie,B.abortSet,B.legacyContext,B.context,B.treeContext).ping,$.then(T,T),B.blockedSegment.formatContext=Q,B.legacyContext=be,B.context=pe,Pe(pe)}else throw B.blockedSegment.formatContext=Q,B.legacyContext=be,B.context=pe,Pe(pe),Ve}}function Vr(T){var B=T.blockedBoundary;T=T.blockedSegment,T.status=3,ur(this,B,T)}function Ii(T,B,$){var Q=T.blockedBoundary;T.blockedSegment.status=3,Q===null?(B.allPendingTasks--,B.status!==2&&(B.status=2,B.destination!==null&&B.destination.push(null))):(Q.pendingTasks--,Q.forceClientRender||(Q.forceClientRender=!0,T=$===void 0?Error(e(432)):$,Q.errorDigest=B.onError(T),Q.parentFlushed&&B.clientRenderedBoundaries.push(Q)),Q.fallbackAbortableTasks.forEach(function(be){return Ii(be,B,$)}),Q.fallbackAbortableTasks.clear(),B.allPendingTasks--,B.allPendingTasks===0&&(Q=B.onAllReady,Q()))}function Vn(T,B){if(B.chunks.length===0&&B.children.length===1&&B.children[0].boundary===null){var $=B.children[0];$.id=B.id,$.parentFlushed=!0,$.status===1&&Vn(T,$)}else T.completedSegments.push(B)}function ur(T,B,$){if(B===null){if($.parentFlushed){if(T.completedRootSegment!==null)throw Error(e(389));T.completedRootSegment=$}T.pendingRootTasks--,T.pendingRootTasks===0&&(T.onShellError=ar,B=T.onShellReady,B())}else B.pendingTasks--,B.forceClientRender||(B.pendingTasks===0?($.parentFlushed&&$.status===1&&Vn(B,$),B.parentFlushed&&T.completedBoundaries.push(B),B.fallbackAbortableTasks.forEach(Vr,T),B.fallbackAbortableTasks.clear()):$.parentFlushed&&$.status===1&&(Vn(B,$),B.completedSegments.length===1&&B.parentFlushed&&T.partialBoundaries.push(B)));T.allPendingTasks--,T.allPendingTasks===0&&(T=T.onAllReady,T())}function Kt(T){if(T.status!==2){var B=fe,$=Wr.current;Wr.current=yo;var Q=Ri;Ri=T.responseState;try{var be=T.pingedTasks,pe;for(pe=0;pe<be.length;pe++){var Te=be[pe],Ie=T,Ve=Te.blockedSegment;if(Ve.status===0){Pe(Te.context);try{Mt(Ie,Te,Te.node),Ie.responseState.generateStaticMarkup||Ve.lastPushedText&&Ve.textEmbedded&&Ve.chunks.push("<!-- -->"),Te.abortSet.delete(Te),Ve.status=1,ur(Ie,Te.blockedBoundary,Ve)}catch(tn){if(go(),typeof tn=="object"&&tn!==null&&typeof tn.then=="function"){var Xe=Te.ping;tn.then(Xe,Xe)}else{Te.abortSet.delete(Te),Ve.status=4;var qe=Te.blockedBoundary,ft=tn,Qt=sr(Ie,ft);if(qe===null?jr(Ie,ft):(qe.pendingTasks--,qe.forceClientRender||(qe.forceClientRender=!0,qe.errorDigest=Qt,qe.parentFlushed&&Ie.clientRenderedBoundaries.push(qe))),Ie.allPendingTasks--,Ie.allPendingTasks===0){var en=Ie.onAllReady;en()}}}finally{}}}be.splice(0,pe),T.destination!==null&&Zt(T,T.destination)}catch(tn){sr(T,tn),jr(T,tn)}finally{Ri=Q,Wr.current=$,$===yo&&Pe(B)}}}function Hr(T,B,$){switch($.parentFlushed=!0,$.status){case 0:var Q=$.id=T.nextSegmentId++;return $.lastPushedText=!1,$.textEmbedded=!1,T=T.responseState,B.push('<template id="'),B.push(T.placeholderPrefix),T=Q.toString(16),B.push(T),B.push('"></template>');case 1:$.status=2;var be=!0;Q=$.chunks;var pe=0;$=$.children;for(var Te=0;Te<$.length;Te++){for(be=$[Te];pe<be.index;pe++)B.push(Q[pe]);be=ci(T,B,be)}for(;pe<Q.length-1;pe++)B.push(Q[pe]);return pe<Q.length&&(be=B.push(Q[pe])),be;default:throw Error(e(390))}}function ci(T,B,$){var Q=$.boundary;if(Q===null)return Hr(T,B,$);if(Q.parentFlushed=!0,Q.forceClientRender)return T.responseState.generateStaticMarkup||(Q=Q.errorDigest,B.push("<!--$!-->"),B.push("<template"),Q&&(B.push(' data-dgst="'),Q=m(Q),B.push(Q),B.push('"')),B.push("></template>")),Hr(T,B,$),T=T.responseState.generateStaticMarkup?!0:B.push("<!--/$-->"),T;if(0<Q.pendingTasks){Q.rootSegmentID=T.nextSegmentId++,0<Q.completedSegments.length&&T.partialBoundaries.push(Q);var be=T.responseState,pe=be.nextSuspenseID++;return be=be.boundaryPrefix+pe.toString(16),Q=Q.id=be,E(B,T.responseState,Q),Hr(T,B,$),B.push("<!--/$-->")}if(Q.byteSize>T.progressiveChunkSize)return Q.rootSegmentID=T.nextSegmentId++,T.completedBoundaries.push(Q),E(B,T.responseState,Q.id),Hr(T,B,$),B.push("<!--/$-->");if(T.responseState.generateStaticMarkup||B.push("<!--$-->"),$=Q.completedSegments,$.length!==1)throw Error(e(391));return ci(T,B,$[0]),T=T.responseState.generateStaticMarkup?!0:B.push("<!--/$-->"),T}function Bi(T,B,$){return re(B,T.responseState,$.formatContext,$.id),ci(T,B,$),z(B,$.formatContext)}function En(T,B,$){for(var Q=$.completedSegments,be=0;be<Q.length;be++)fr(T,B,$,Q[be]);if(Q.length=0,T=T.responseState,Q=$.id,$=$.rootSegmentID,B.push(T.startInlineScript),T.sentCompleteBoundaryFunction?B.push('$RC("'):(T.sentCompleteBoundaryFunction=!0,B.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("')),Q===null)throw Error(e(395));return $=$.toString(16),B.push(Q),B.push('","'),B.push(T.segmentPrefix),B.push($),B.push('")<\/script>')}function fr(T,B,$,Q){if(Q.status===2)return!0;var be=Q.id;if(be===-1){if((Q.id=$.rootSegmentID)===-1)throw Error(e(392));return Bi(T,B,Q)}return Bi(T,B,Q),T=T.responseState,B.push(T.startInlineScript),T.sentCompleteSegmentFunction?B.push('$RS("'):(T.sentCompleteSegmentFunction=!0,B.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("')),B.push(T.segmentPrefix),be=be.toString(16),B.push(be),B.push('","'),B.push(T.placeholderPrefix),B.push(be),B.push('")<\/script>')}function Zt(T,B){try{var $=T.completedRootSegment;if($!==null&&T.pendingRootTasks===0){ci(T,B,$),T.completedRootSegment=null;var Q=T.responseState.bootstrapChunks;for($=0;$<Q.length-1;$++)B.push(Q[$]);$<Q.length&&B.push(Q[$])}var be=T.clientRenderedBoundaries,pe;for(pe=0;pe<be.length;pe++){var Te=be[pe];Q=B;var Ie=T.responseState,Ve=Te.id,Xe=Te.errorDigest,qe=Te.errorMessage,ft=Te.errorComponentStack;if(Q.push(Ie.startInlineScript),Ie.sentClientRenderFunction?Q.push('$RX("'):(Ie.sentClientRenderFunction=!0,Q.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("')),Ve===null)throw Error(e(395));if(Q.push(Ve),Q.push('"'),Xe||qe||ft){Q.push(",");var Qt=Y(Xe||"");Q.push(Qt)}if(qe||ft){Q.push(",");var en=Y(qe||"");Q.push(en)}if(ft){Q.push(",");var tn=Y(ft);Q.push(tn)}if(!Q.push(")<\/script>")){T.destination=null,pe++,be.splice(0,pe);return}}be.splice(0,pe);var qr=T.completedBoundaries;for(pe=0;pe<qr.length;pe++)if(!En(T,B,qr[pe])){T.destination=null,pe++,qr.splice(0,pe);return}qr.splice(0,pe);var dr=T.partialBoundaries;for(pe=0;pe<dr.length;pe++){var Ni=dr[pe];e:{be=T,Te=B;var Gr=Ni.completedSegments;for(Ie=0;Ie<Gr.length;Ie++)if(!fr(be,Te,Ni,Gr[Ie])){Ie++,Gr.splice(0,Ie);var ui=!1;break e}Gr.splice(0,Ie),ui=!0}if(!ui){T.destination=null,pe++,dr.splice(0,pe);return}}dr.splice(0,pe);var kr=T.completedBoundaries;for(pe=0;pe<kr.length;pe++)if(!En(T,B,kr[pe])){T.destination=null,pe++,kr.splice(0,pe);return}kr.splice(0,pe)}finally{T.allPendingTasks===0&&T.pingedTasks.length===0&&T.clientRenderedBoundaries.length===0&&T.completedBoundaries.length===0&&B.push(null)}}function Mi(T,B){try{var $=T.abortableTasks;$.forEach(function(Q){return Ii(Q,T,B)}),$.clear(),T.destination!==null&&Zt(T,T.destination)}catch(Q){sr(T,Q),jr(T,Q)}}function Vt(){}function pn(T,B,$,Q){var be=!1,pe=null,Te="",Ie={push:function(Xe){return Xe!==null&&(Te+=Xe),!0},destroy:function(Xe){be=!0,pe=Xe}},Ve=!1;if(T=Oi(T,G($,B?B.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Vt,void 0,function(){Ve=!0}),Kt(T),Mi(T,Q),T.status===1)T.status=2,Ie.destroy(T.fatalError);else if(T.status!==2&&T.destination===null){T.destination=Ie;try{Zt(T,Ie)}catch(Xe){sr(T,Xe),jr(T,Xe)}}if(be)throw pe;if(!Ve)throw Error(e(426));return Te}return cl.renderToNodeStream=function(){throw Error(e(207))},cl.renderToStaticMarkup=function(T,B){return pn(T,B,!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')},cl.renderToStaticNodeStream=function(){throw Error(e(208))},cl.renderToString=function(T,B){return pn(T,B,!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')},cl.version="18.3.1",cl}var Mp={};/**
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 rk;function XY(){if(rk)return Mp;rk=1;var t=gt;function e(_){for(var O="https://reactjs.org/docs/error-decoder.html?invariant="+_,L=1;L<arguments.length;L++)O+="&args[]="+encodeURIComponent(arguments[L]);return"Minified React error #"+_+"; visit "+O+" 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(_,O){if(O.length!==0)if(512<O.length)0<r&&(_.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),_.enqueue(O);else{var L=n.length-r;L<O.length&&(L===0?_.enqueue(n):(n.set(O.subarray(0,L),r),_.enqueue(n),O=O.subarray(L)),n=new Uint8Array(512),r=0),n.set(O,r),r+=O.length}}function o(_,O){return i(_,O),!0}function a(_){n&&0<r&&(_.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var s=new TextEncoder;function l(_){return s.encode(_)}function c(_){return s.encode(_)}function f(_,O){typeof _.error=="function"?_.error(O):_.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={},m={};function v(_){return d.call(m,_)?!0:d.call(g,_)?!1:p.test(_)?m[_]=!0:(g[_]=!0,!1)}function x(_,O,L,Z,ve,me,Ce){this.acceptsBooleans=O===2||O===3||O===4,this.attributeName=Z,this.attributeNamespace=ve,this.mustUseProperty=L,this.propertyName=_,this.type=O,this.sanitizeURL=me,this.removeEmptyString=Ce}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(_){D[_]=new x(_,0,!1,_,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(_){var O=_[0];D[O]=new x(O,1,!1,_[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(_){D[_]=new x(_,2,!1,_.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(_){D[_]=new x(_,2,!1,_,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(_){D[_]=new x(_,3,!1,_.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(_){D[_]=new x(_,3,!0,_,null,!1,!1)}),["capture","download"].forEach(function(_){D[_]=new x(_,4,!1,_,null,!1,!1)}),["cols","rows","size","span"].forEach(function(_){D[_]=new x(_,6,!1,_,null,!1,!1)}),["rowSpan","start"].forEach(function(_){D[_]=new x(_,5,!1,_.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function C(_){return _[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(_){var O=_.replace(w,C);D[O]=new x(O,1,!1,_,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(_){var O=_.replace(w,C);D[O]=new x(O,1,!1,_,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(_){var O=_.replace(w,C);D[O]=new x(O,1,!1,_,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(_){D[_]=new x(_,1,!1,_.toLowerCase(),null,!1,!1)}),D.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(_){D[_]=new x(_,1,!1,_.toLowerCase(),null,!0,!0)});var R={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(R).forEach(function(_){U.forEach(function(O){O=O+_.charAt(0).toUpperCase()+_.substring(1),R[O]=R[_]})});var I=/["'&<>]/;function N(_){if(typeof _=="boolean"||typeof _=="number")return""+_;_=""+_;var O=I.exec(_);if(O){var L="",Z,ve=0;for(Z=O.index;Z<_.length;Z++){switch(_.charCodeAt(Z)){case 34:O="&quot;";break;case 38:O="&amp;";break;case 39:O="&#x27;";break;case 60:O="&lt;";break;case 62:O="&gt;";break;default:continue}ve!==Z&&(L+=_.substring(ve,Z)),ve=Z+1,L+=O}_=ve!==Z?L+_.substring(ve,Z):L}return _}var V=/([A-Z])/g,j=/^ms-/,oe=Array.isArray,ue=c("<script>"),F=c("<\/script>"),X=c('<script src="'),E=c('<script type="module" src="'),re=c('" async=""><\/script>'),z=/(<\/|<)(s)(cript)/gi;function J(_,O,L,Z){return""+O+(L==="s"?"\\u0073":"\\u0053")+Z}function Y(_,O,L,Z,ve){_=_===void 0?"":_,O=O===void 0?ue:c('<script nonce="'+N(O)+'">');var me=[];if(L!==void 0&&me.push(O,l((""+L).replace(z,J)),F),Z!==void 0)for(L=0;L<Z.length;L++)me.push(X,l(N(Z[L])),re);if(ve!==void 0)for(Z=0;Z<ve.length;Z++)me.push(E,l(N(ve[Z])),re);return{bootstrapChunks:me,startInlineScript:O,placeholderPrefix:c(_+"P:"),segmentPrefix:c(_+"S:"),boundaryPrefix:_+"B:",idPrefix:_,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function G(_,O){return{insertionMode:_,selectedValue:O}}function ae(_){return G(_==="http://www.w3.org/2000/svg"?2:_==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function H(_,O,L){switch(O){case"select":return G(1,L.value!=null?L.value:L.defaultValue);case"svg":return G(2,null);case"math":return G(3,null);case"foreignObject":return G(1,null);case"table":return G(4,null);case"thead":case"tbody":case"tfoot":return G(5,null);case"colgroup":return G(7,null);case"tr":return G(6,null)}return 4<=_.insertionMode||_.insertionMode===0?G(1,null):_}var P=c("<!-- -->");function he(_,O,L,Z){return O===""?Z:(Z&&_.push(P),_.push(l(N(O))),!0)}var Se=new Map,ye=c(' style="'),Ae=c(":"),je=c(";");function $e(_,O,L){if(typeof L!="object")throw Error(e(62));O=!0;for(var Z in L)if(d.call(L,Z)){var ve=L[Z];if(ve!=null&&typeof ve!="boolean"&&ve!==""){if(Z.indexOf("--")===0){var me=l(N(Z));ve=l(N((""+ve).trim()))}else{me=Z;var Ce=Se.get(me);Ce!==void 0||(Ce=c(N(me.replace(V,"-$1").toLowerCase().replace(j,"-ms-"))),Se.set(me,Ce)),me=Ce,ve=typeof ve=="number"?ve===0||d.call(R,Z)?l(""+ve):l(ve+"px"):l(N((""+ve).trim()))}O?(O=!1,_.push(ye,me,Ae,ve)):_.push(je,me,Ae,ve)}}O||_.push(se)}var ze=c(" "),Ze=c('="'),se=c('"'),Ue=c('=""');function _e(_,O,L,Z){switch(L){case"style":$e(_,O,Z);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<L.length)||L[0]!=="o"&&L[0]!=="O"||L[1]!=="n"&&L[1]!=="N"){if(O=D.hasOwnProperty(L)?D[L]:null,O!==null){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(!O.acceptsBooleans)return}switch(L=l(O.attributeName),O.type){case 3:Z&&_.push(ze,L,Ue);break;case 4:Z===!0?_.push(ze,L,Ue):Z!==!1&&_.push(ze,L,Ze,l(N(Z)),se);break;case 5:isNaN(Z)||_.push(ze,L,Ze,l(N(Z)),se);break;case 6:!isNaN(Z)&&1<=Z&&_.push(ze,L,Ze,l(N(Z)),se);break;default:O.sanitizeURL&&(Z=""+Z),_.push(ze,L,Ze,l(N(Z)),se)}}else if(v(L)){switch(typeof Z){case"function":case"symbol":return;case"boolean":if(O=L.toLowerCase().slice(0,5),O!=="data-"&&O!=="aria-")return}_.push(ze,l(L),Ze,l(N(Z)),se)}}}var A=c(">"),de=c("/>");function ce(_,O,L){if(O!=null){if(L!=null)throw Error(e(60));if(typeof O!="object"||!("__html"in O))throw Error(e(61));O=O.__html,O!=null&&_.push(l(""+O))}}function K(_){var O="";return t.Children.forEach(_,function(L){L!=null&&(O+=L)}),O}var q=c(' selected=""');function ie(_,O,L,Z){_.push(ee(L));var ve=L=null,me;for(me in O)if(d.call(O,me)){var Ce=O[me];if(Ce!=null)switch(me){case"children":L=Ce;break;case"dangerouslySetInnerHTML":ve=Ce;break;default:_e(_,Z,me,Ce)}}return _.push(A),ce(_,ve,L),typeof L=="string"?(_.push(l(N(L))),null):L}var we=c(`
270
+ `),Ee=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,fe=new Map;function ee(_){var O=fe.get(_);if(O===void 0){if(!Ee.test(_))throw Error(e(65,_));O=c("<"+_),fe.set(_,O)}return O}var ne=c("<!DOCTYPE html>");function le(_,O,L,Z,ve){switch(O){case"select":_.push(ee("select"));var me=null,Ce=null;for(Qe in L)if(d.call(L,Qe)){var Be=L[Qe];if(Be!=null)switch(Qe){case"children":me=Be;break;case"dangerouslySetInnerHTML":Ce=Be;break;case"defaultValue":case"value":break;default:_e(_,Z,Qe,Be)}}return _.push(A),ce(_,Ce,me),me;case"option":Ce=ve.selectedValue,_.push(ee("option"));var Je=Be=null,nt=null,Qe=null;for(me in L)if(d.call(L,me)){var Dt=L[me];if(Dt!=null)switch(me){case"children":Be=Dt;break;case"selected":nt=Dt;break;case"dangerouslySetInnerHTML":Qe=Dt;break;case"value":Je=Dt;default:_e(_,Z,me,Dt)}}if(Ce!=null)if(L=Je!==null?""+Je:K(Be),oe(Ce)){for(Z=0;Z<Ce.length;Z++)if(""+Ce[Z]===L){_.push(q);break}}else""+Ce===L&&_.push(q);else nt&&_.push(q);return _.push(A),ce(_,Qe,Be),Be;case"textarea":_.push(ee("textarea")),Qe=Ce=me=null;for(Be in L)if(d.call(L,Be)&&(Je=L[Be],Je!=null))switch(Be){case"children":Qe=Je;break;case"value":me=Je;break;case"defaultValue":Ce=Je;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:_e(_,Z,Be,Je)}if(me===null&&Ce!==null&&(me=Ce),_.push(A),Qe!=null){if(me!=null)throw Error(e(92));if(oe(Qe)&&1<Qe.length)throw Error(e(93));me=""+Qe}return typeof me=="string"&&me[0]===`
271
+ `&&_.push(we),me!==null&&_.push(l(N(""+me))),null;case"input":_.push(ee("input")),Je=Qe=Be=me=null;for(Ce in L)if(d.call(L,Ce)&&(nt=L[Ce],nt!=null))switch(Ce){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":Je=nt;break;case"defaultValue":Be=nt;break;case"checked":Qe=nt;break;case"value":me=nt;break;default:_e(_,Z,Ce,nt)}return Qe!==null?_e(_,Z,"checked",Qe):Je!==null&&_e(_,Z,"checked",Je),me!==null?_e(_,Z,"value",me):Be!==null&&_e(_,Z,"value",Be),_.push(de),null;case"menuitem":_.push(ee("menuitem"));for(var mn in L)if(d.call(L,mn)&&(me=L[mn],me!=null))switch(mn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:_e(_,Z,mn,me)}return _.push(A),null;case"title":_.push(ee("title")),me=null;for(Dt in L)if(d.call(L,Dt)&&(Ce=L[Dt],Ce!=null))switch(Dt){case"children":me=Ce;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:_e(_,Z,Dt,Ce)}return _.push(A),me;case"listing":case"pre":_.push(ee(O)),Ce=me=null;for(Je in L)if(d.call(L,Je)&&(Be=L[Je],Be!=null))switch(Je){case"children":me=Be;break;case"dangerouslySetInnerHTML":Ce=Be;break;default:_e(_,Z,Je,Be)}if(_.push(A),Ce!=null){if(me!=null)throw Error(e(60));if(typeof Ce!="object"||!("__html"in Ce))throw Error(e(61));L=Ce.__html,L!=null&&(typeof L=="string"&&0<L.length&&L[0]===`
272
+ `?_.push(we,l(L)):_.push(l(""+L)))}return typeof me=="string"&&me[0]===`
273
+ `&&_.push(we),me;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":_.push(ee(O));for(var qn in L)if(d.call(L,qn)&&(me=L[qn],me!=null))switch(qn){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,O));default:_e(_,Z,qn,me)}return _.push(de),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 ie(_,L,O,Z);case"html":return ve.insertionMode===0&&_.push(ne),ie(_,L,O,Z);default:if(O.indexOf("-")===-1&&typeof L.is!="string")return ie(_,L,O,Z);_.push(ee(O)),Ce=me=null;for(nt in L)if(d.call(L,nt)&&(Be=L[nt],Be!=null))switch(nt){case"children":me=Be;break;case"dangerouslySetInnerHTML":Ce=Be;break;case"style":$e(_,Z,Be);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:v(nt)&&typeof Be!="function"&&typeof Be!="symbol"&&_.push(ze,l(nt),Ze,l(N(Be)),se)}return _.push(A),ce(_,Ce,me),me}}var xe=c("</"),Ne=c(">"),Pe=c('<template id="'),Ge=c('"></template>'),He=c("<!--$-->"),et=c('<!--$?--><template id="'),ct=c('"></template>'),rt=c("<!--$!-->"),Lt=c("<!--/$-->"),zn=c("<template"),It=c('"'),Lr=c(' data-dgst="');c(' data-msg="'),c(' data-stck="');var Ai=c("></template>");function Gt(_,O,L){if(i(_,et),L===null)throw Error(e(395));return i(_,L),o(_,ct)}var Cn=c('<div hidden id="'),jn=c('">'),st=c("</div>"),fn=c('<svg aria-hidden="true" style="display:none" id="'),Ui=c('">'),li=c("</svg>"),ir=c('<math aria-hidden="true" style="display:none" id="'),Fi=c('">'),Cr=c("</math>"),Wt=c('<table hidden id="'),po=c('">'),go=c("</table>"),fa=c('<table hidden><tbody id="'),Bt=c('">'),mo=c("</tbody></table>"),ks=c('<table hidden><tr id="'),As=c('">'),or=c("</tr></table>"),yo=c('<table hidden><colgroup id="'),Ri=c('">'),Wr=c("</colgroup></table>");function dn(_,O,L,Z){switch(L.insertionMode){case 0:case 1:return i(_,Cn),i(_,O.segmentPrefix),i(_,l(Z.toString(16))),o(_,jn);case 2:return i(_,fn),i(_,O.segmentPrefix),i(_,l(Z.toString(16))),o(_,Ui);case 3:return i(_,ir),i(_,O.segmentPrefix),i(_,l(Z.toString(16))),o(_,Fi);case 4:return i(_,Wt),i(_,O.segmentPrefix),i(_,l(Z.toString(16))),o(_,po);case 5:return i(_,fa),i(_,O.segmentPrefix),i(_,l(Z.toString(16))),o(_,Bt);case 6:return i(_,ks),i(_,O.segmentPrefix),i(_,l(Z.toString(16))),o(_,As);case 7:return i(_,yo),i(_,O.segmentPrefix),i(_,l(Z.toString(16))),o(_,Ri);default:throw Error(e(397))}}function ar(_,O){switch(O.insertionMode){case 0:case 1:return o(_,st);case 2:return o(_,li);case 3:return o(_,Cr);case 4:return o(_,go);case 5:return o(_,mo);case 6:return o(_,or);case 7:return o(_,Wr);default:throw Error(e(397))}}var Oi=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("'),$r=c('$RS("'),zr=c('","'),sr=c('")<\/script>'),jr=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("'),hn=c('$RC("'),da=c('","'),ha=c('")<\/script>'),Er=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("'),Mt=c('$RX("'),lr=c('"'),cr=c(")<\/script>"),Vr=c(","),Ii=/[<\u2028\u2029]/g;function Vn(_){return JSON.stringify(_).replace(Ii,function(O){switch(O){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 ur=Object.assign,Kt=Symbol.for("react.element"),Hr=Symbol.for("react.portal"),ci=Symbol.for("react.fragment"),Bi=Symbol.for("react.strict_mode"),En=Symbol.for("react.profiler"),fr=Symbol.for("react.provider"),Zt=Symbol.for("react.context"),Mi=Symbol.for("react.forward_ref"),Vt=Symbol.for("react.suspense"),pn=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),$=Symbol.for("react.scope"),Q=Symbol.for("react.debug_trace_mode"),be=Symbol.for("react.legacy_hidden"),pe=Symbol.for("react.default_value"),Te=Symbol.iterator;function Ie(_){if(_==null)return null;if(typeof _=="function")return _.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case ci:return"Fragment";case Hr:return"Portal";case En:return"Profiler";case Bi:return"StrictMode";case Vt:return"Suspense";case pn:return"SuspenseList"}if(typeof _=="object")switch(_.$$typeof){case Zt:return(_.displayName||"Context")+".Consumer";case fr:return(_._context.displayName||"Context")+".Provider";case Mi:var O=_.render;return _=_.displayName,_||(_=O.displayName||O.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case T:return O=_.displayName||null,O!==null?O:Ie(_.type)||"Memo";case B:O=_._payload,_=_._init;try{return Ie(_(O))}catch{}}return null}var Ve={};function Xe(_,O){if(_=_.contextTypes,!_)return Ve;var L={},Z;for(Z in _)L[Z]=O[Z];return L}var qe=null;function ft(_,O){if(_!==O){_.context._currentValue=_.parentValue,_=_.parent;var L=O.parent;if(_===null){if(L!==null)throw Error(e(401))}else{if(L===null)throw Error(e(401));ft(_,L)}O.context._currentValue=O.value}}function Qt(_){_.context._currentValue=_.parentValue,_=_.parent,_!==null&&Qt(_)}function en(_){var O=_.parent;O!==null&&en(O),_.context._currentValue=_.value}function tn(_,O){if(_.context._currentValue=_.parentValue,_=_.parent,_===null)throw Error(e(402));_.depth===O.depth?ft(_,O):tn(_,O)}function qr(_,O){var L=O.parent;if(L===null)throw Error(e(402));_.depth===L.depth?ft(_,L):qr(_,L),O.context._currentValue=O.value}function dr(_){var O=qe;O!==_&&(O===null?en(_):_===null?Qt(O):O.depth===_.depth?ft(O,_):O.depth>_.depth?tn(O,_):qr(O,_),qe=_)}var Ni={isMounted:function(){return!1},enqueueSetState:function(_,O){_=_._reactInternals,_.queue!==null&&_.queue.push(O)},enqueueReplaceState:function(_,O){_=_._reactInternals,_.replace=!0,_.queue=[O]},enqueueForceUpdate:function(){}};function Gr(_,O,L,Z){var ve=_.state!==void 0?_.state:null;_.updater=Ni,_.props=L,_.state=ve;var me={queue:[],replace:!1};_._reactInternals=me;var Ce=O.contextType;if(_.context=typeof Ce=="object"&&Ce!==null?Ce._currentValue:Z,Ce=O.getDerivedStateFromProps,typeof Ce=="function"&&(Ce=Ce(L,ve),ve=Ce==null?ve:ur({},ve,Ce),_.state=ve),typeof O.getDerivedStateFromProps!="function"&&typeof _.getSnapshotBeforeUpdate!="function"&&(typeof _.UNSAFE_componentWillMount=="function"||typeof _.componentWillMount=="function"))if(O=_.state,typeof _.componentWillMount=="function"&&_.componentWillMount(),typeof _.UNSAFE_componentWillMount=="function"&&_.UNSAFE_componentWillMount(),O!==_.state&&Ni.enqueueReplaceState(_,_.state,null),me.queue!==null&&0<me.queue.length)if(O=me.queue,Ce=me.replace,me.queue=null,me.replace=!1,Ce&&O.length===1)_.state=O[0];else{for(me=Ce?O[0]:_.state,ve=!0,Ce=Ce?1:0;Ce<O.length;Ce++){var Be=O[Ce];Be=typeof Be=="function"?Be.call(_,me,L,Z):Be,Be!=null&&(ve?(ve=!1,me=ur({},me,Be)):ur(me,Be))}_.state=me}else me.queue=null}var ui={id:1,overflow:""};function kr(_,O,L){var Z=_.id;_=_.overflow;var ve=32-fi(Z)-1;Z&=~(1<<ve),L+=1;var me=32-fi(O)+ve;if(30<me){var Ce=ve-ve%5;return me=(Z&(1<<Ce)-1).toString(32),Z>>=Ce,ve-=Ce,{id:1<<32-fi(O)+ve|L<<ve|Z,overflow:me+_}}return{id:1<<me|L<<ve|Z,overflow:_}}var fi=Math.clz32?Math.clz32:pa,tf=Math.log,nf=Math.LN2;function pa(_){return _>>>=0,_===0?32:31-(tf(_)/nf|0)|0}function hr(_,O){return _===O&&(_!==0||1/_===1/O)||_!==_&&O!==O}var rf=typeof Object.is=="function"?Object.is:hr,Ar=null,Us=null,ga=null,bt=null,di=!1,ma=!1,hi=0,Xr=null,ya=0;function Jr(){if(Ar===null)throw Error(e(321));return Ar}function Hn(){if(0<ya)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Fs(){return bt===null?ga===null?(di=!1,ga=bt=Hn()):(di=!0,bt=ga):bt.next===null?(di=!1,bt=bt.next=Hn()):(di=!0,bt=bt.next),bt}function bo(){Us=Ar=null,ma=!1,ga=null,ya=0,bt=Xr=null}function ql(_,O){return typeof O=="function"?O(_):O}function ba(_,O,L){if(Ar=Jr(),bt=Fs(),di){var Z=bt.queue;if(O=Z.dispatch,Xr!==null&&(L=Xr.get(Z),L!==void 0)){Xr.delete(Z),Z=bt.memoizedState;do Z=_(Z,L.action),L=L.next;while(L!==null);return bt.memoizedState=Z,[Z,O]}return[bt.memoizedState,O]}return _=_===ql?typeof O=="function"?O():O:L!==void 0?L(O):O,bt.memoizedState=_,_=bt.queue={last:null,dispatch:null},_=_.dispatch=of.bind(null,Ar,_),[bt.memoizedState,_]}function Gl(_,O){if(Ar=Jr(),bt=Fs(),O=O===void 0?null:O,bt!==null){var L=bt.memoizedState;if(L!==null&&O!==null){var Z=L[1];e:if(Z===null)Z=!1;else{for(var ve=0;ve<Z.length&&ve<O.length;ve++)if(!rf(O[ve],Z[ve])){Z=!1;break e}Z=!0}if(Z)return L[0]}}return _=_(),bt.memoizedState=[_,O],_}function of(_,O,L){if(25<=ya)throw Error(e(301));if(_===Ar)if(ma=!0,_={action:L,next:null},Xr===null&&(Xr=new Map),L=Xr.get(O),L===void 0)Xr.set(O,_);else{for(O=L;O.next!==null;)O=O.next;O.next=_}}function af(){throw Error(e(394))}function va(){}var Xl={readContext:function(_){return _._currentValue},useContext:function(_){return Jr(),_._currentValue},useMemo:Gl,useReducer:ba,useRef:function(_){Ar=Jr(),bt=Fs();var O=bt.memoizedState;return O===null?(_={current:_},bt.memoizedState=_):O},useState:function(_){return ba(ql,_)},useInsertionEffect:va,useLayoutEffect:function(){},useCallback:function(_,O){return Gl(function(){return _},O)},useImperativeHandle:va,useEffect:va,useDebugValue:va,useDeferredValue:function(_){return Jr(),_},useTransition:function(){return Jr(),[!1,af]},useId:function(){var _=Us.treeContext,O=_.overflow;_=_.id,_=(_&~(1<<32-fi(_)-1)).toString(32)+O;var L=vo;if(L===null)throw Error(e(404));return O=hi++,_=":"+L.idPrefix+"R"+_,0<O&&(_+="H"+O.toString(32)),_+":"},useMutableSource:function(_,O){return Jr(),O(_._source)},useSyncExternalStore:function(_,O,L){if(L===void 0)throw Error(e(407));return L()}},vo=null,Rs=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sf(_){return console.error(_),null}function Pi(){}function Os(_,O,L,Z,ve,me,Ce,Be,Je){var nt=[],Qe=new Set;return O={destination:null,responseState:O,progressiveChunkSize:Z===void 0?12800:Z,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Qe,pingedTasks:nt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ve===void 0?sf:ve,onAllReady:me===void 0?Pi:me,onShellReady:Ce===void 0?Pi:Ce,onShellError:Be===void 0?Pi:Be,onFatalError:Je===void 0?Pi:Je},L=Li(O,0,null,L,!1,!1),L.parentFlushed=!0,_=Is(O,_,null,L,Qe,Ve,null,ui),nt.push(_),O}function Is(_,O,L,Z,ve,me,Ce,Be){_.allPendingTasks++,L===null?_.pendingRootTasks++:L.pendingTasks++;var Je={node:O,ping:function(){var nt=_.pingedTasks;nt.push(Je),nt.length===1&&tc(_)},blockedBoundary:L,blockedSegment:Z,abortSet:ve,legacyContext:me,context:Ce,treeContext:Be};return ve.add(Je),Je}function Li(_,O,L,Z,ve,me){return{status:0,id:-1,index:O,parentFlushed:!1,chunks:[],children:[],formatContext:Z,boundary:L,lastPushedText:ve,textEmbedded:me}}function xo(_,O){if(_=_.onError(O),_!=null&&typeof _!="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 _+'" instead');return _}function xa(_,O){var L=_.onShellError;L(O),L=_.onFatalError,L(O),_.destination!==null?(_.status=2,f(_.destination,O)):(_.status=1,_.fatalError=O)}function Jl(_,O,L,Z,ve){for(Ar={},Us=O,hi=0,_=L(Z,ve);ma;)ma=!1,hi=0,ya+=1,bt=null,_=L(Z,ve);return bo(),_}function Yl(_,O,L,Z){var ve=L.render(),me=Z.childContextTypes;if(me!=null){var Ce=O.legacyContext;if(typeof L.getChildContext!="function")Z=Ce;else{L=L.getChildContext();for(var Be in L)if(!(Be in me))throw Error(e(108,Ie(Z)||"Unknown",Be));Z=ur({},Ce,L)}O.legacyContext=Z,gn(_,O,ve),O.legacyContext=Ce}else gn(_,O,ve)}function Kl(_,O){if(_&&_.defaultProps){O=ur({},O),_=_.defaultProps;for(var L in _)O[L]===void 0&&(O[L]=_[L]);return O}return O}function Da(_,O,L,Z,ve){if(typeof L=="function")if(L.prototype&&L.prototype.isReactComponent){ve=Xe(L,O.legacyContext);var me=L.contextType;me=new L(Z,typeof me=="object"&&me!==null?me._currentValue:ve),Gr(me,L,Z,ve),Yl(_,O,me,L)}else{me=Xe(L,O.legacyContext),ve=Jl(_,O,L,Z,me);var Ce=hi!==0;if(typeof ve=="object"&&ve!==null&&typeof ve.render=="function"&&ve.$$typeof===void 0)Gr(ve,L,Z,me),Yl(_,O,ve,L);else if(Ce){Z=O.treeContext,O.treeContext=kr(Z,1,0);try{gn(_,O,ve)}finally{O.treeContext=Z}}else gn(_,O,ve)}else if(typeof L=="string"){switch(ve=O.blockedSegment,me=le(ve.chunks,L,Z,_.responseState,ve.formatContext),ve.lastPushedText=!1,Ce=ve.formatContext,ve.formatContext=H(Ce,L,Z),wa(_,O,me),ve.formatContext=Ce,L){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(L),Ne)}ve.lastPushedText=!1}else{switch(L){case be:case Q:case Bi:case En:case ci:gn(_,O,Z.children);return;case pn:gn(_,O,Z.children);return;case $:throw Error(e(343));case Vt:e:{L=O.blockedBoundary,ve=O.blockedSegment,me=Z.fallback,Z=Z.children,Ce=new Set;var Be={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ce,errorDigest:null},Je=Li(_,ve.chunks.length,Be,ve.formatContext,!1,!1);ve.children.push(Je),ve.lastPushedText=!1;var nt=Li(_,0,null,ve.formatContext,!1,!1);nt.parentFlushed=!0,O.blockedBoundary=Be,O.blockedSegment=nt;try{if(wa(_,O,Z),nt.lastPushedText&&nt.textEmbedded&&nt.chunks.push(P),nt.status=1,Sa(Be,nt),Be.pendingTasks===0)break e}catch(Qe){nt.status=4,Be.forceClientRender=!0,Be.errorDigest=xo(_,Qe)}finally{O.blockedBoundary=L,O.blockedSegment=ve}O=Is(_,me,L,Je,Ce,O.legacyContext,O.context,O.treeContext),_.pingedTasks.push(O)}return}if(typeof L=="object"&&L!==null)switch(L.$$typeof){case Mi:if(Z=Jl(_,O,L.render,Z,ve),hi!==0){L=O.treeContext,O.treeContext=kr(L,1,0);try{gn(_,O,Z)}finally{O.treeContext=L}}else gn(_,O,Z);return;case T:L=L.type,Z=Kl(L,Z),Da(_,O,L,Z,ve);return;case fr:if(ve=Z.children,L=L._context,Z=Z.value,me=L._currentValue,L._currentValue=Z,Ce=qe,qe=Z={parent:Ce,depth:Ce===null?0:Ce.depth+1,context:L,parentValue:me,value:Z},O.context=Z,gn(_,O,ve),_=qe,_===null)throw Error(e(403));Z=_.parentValue,_.context._currentValue=Z===pe?_.context._defaultValue:Z,_=qe=_.parent,O.context=_;return;case Zt:Z=Z.children,Z=Z(L._currentValue),gn(_,O,Z);return;case B:ve=L._init,L=ve(L._payload),Z=Kl(L,Z),Da(_,O,L,Z,void 0);return}throw Error(e(130,L==null?L:typeof L,""))}}function gn(_,O,L){if(O.node=L,typeof L=="object"&&L!==null){switch(L.$$typeof){case Kt:Da(_,O,L.type,L.props,L.ref);return;case Hr:throw Error(e(257));case B:var Z=L._init;L=Z(L._payload),gn(_,O,L);return}if(oe(L)){Zl(_,O,L);return}if(L===null||typeof L!="object"?Z=null:(Z=Te&&L[Te]||L["@@iterator"],Z=typeof Z=="function"?Z:null),Z&&(Z=Z.call(L))){if(L=Z.next(),!L.done){var ve=[];do ve.push(L.value),L=Z.next();while(!L.done);Zl(_,O,ve)}return}throw _=Object.prototype.toString.call(L),Error(e(31,_==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":_))}typeof L=="string"?(Z=O.blockedSegment,Z.lastPushedText=he(O.blockedSegment.chunks,L,_.responseState,Z.lastPushedText)):typeof L=="number"&&(Z=O.blockedSegment,Z.lastPushedText=he(O.blockedSegment.chunks,""+L,_.responseState,Z.lastPushedText))}function Zl(_,O,L){for(var Z=L.length,ve=0;ve<Z;ve++){var me=O.treeContext;O.treeContext=kr(me,Z,ve);try{wa(_,O,L[ve])}finally{O.treeContext=me}}}function wa(_,O,L){var Z=O.blockedSegment.formatContext,ve=O.legacyContext,me=O.context;try{return gn(_,O,L)}catch(Je){if(bo(),typeof Je=="object"&&Je!==null&&typeof Je.then=="function"){L=Je;var Ce=O.blockedSegment,Be=Li(_,Ce.chunks.length,null,Ce.formatContext,Ce.lastPushedText,!0);Ce.children.push(Be),Ce.lastPushedText=!1,_=Is(_,O.node,O.blockedBoundary,Be,O.abortSet,O.legacyContext,O.context,O.treeContext).ping,L.then(_,_),O.blockedSegment.formatContext=Z,O.legacyContext=ve,O.context=me,dr(me)}else throw O.blockedSegment.formatContext=Z,O.legacyContext=ve,O.context=me,dr(me),Je}}function lf(_){var O=_.blockedBoundary;_=_.blockedSegment,_.status=3,ec(this,O,_)}function Ql(_,O,L){var Z=_.blockedBoundary;_.blockedSegment.status=3,Z===null?(O.allPendingTasks--,O.status!==2&&(O.status=2,O.destination!==null&&O.destination.close())):(Z.pendingTasks--,Z.forceClientRender||(Z.forceClientRender=!0,_=L===void 0?Error(e(432)):L,Z.errorDigest=O.onError(_),Z.parentFlushed&&O.clientRenderedBoundaries.push(Z)),Z.fallbackAbortableTasks.forEach(function(ve){return Ql(ve,O,L)}),Z.fallbackAbortableTasks.clear(),O.allPendingTasks--,O.allPendingTasks===0&&(Z=O.onAllReady,Z()))}function Sa(_,O){if(O.chunks.length===0&&O.children.length===1&&O.children[0].boundary===null){var L=O.children[0];L.id=O.id,L.parentFlushed=!0,L.status===1&&Sa(_,L)}else _.completedSegments.push(O)}function ec(_,O,L){if(O===null){if(L.parentFlushed){if(_.completedRootSegment!==null)throw Error(e(389));_.completedRootSegment=L}_.pendingRootTasks--,_.pendingRootTasks===0&&(_.onShellError=Pi,O=_.onShellReady,O())}else O.pendingTasks--,O.forceClientRender||(O.pendingTasks===0?(L.parentFlushed&&L.status===1&&Sa(O,L),O.parentFlushed&&_.completedBoundaries.push(O),O.fallbackAbortableTasks.forEach(lf,_),O.fallbackAbortableTasks.clear()):L.parentFlushed&&L.status===1&&(Sa(O,L),O.completedSegments.length===1&&O.parentFlushed&&_.partialBoundaries.push(O)));_.allPendingTasks--,_.allPendingTasks===0&&(_=_.onAllReady,_())}function tc(_){if(_.status!==2){var O=qe,L=Rs.current;Rs.current=Xl;var Z=vo;vo=_.responseState;try{var ve=_.pingedTasks,me;for(me=0;me<ve.length;me++){var Ce=ve[me],Be=_,Je=Ce.blockedSegment;if(Je.status===0){dr(Ce.context);try{gn(Be,Ce,Ce.node),Je.lastPushedText&&Je.textEmbedded&&Je.chunks.push(P),Ce.abortSet.delete(Ce),Je.status=1,ec(Be,Ce.blockedBoundary,Je)}catch(Gn){if(bo(),typeof Gn=="object"&&Gn!==null&&typeof Gn.then=="function"){var nt=Ce.ping;Gn.then(nt,nt)}else{Ce.abortSet.delete(Ce),Je.status=4;var Qe=Ce.blockedBoundary,Dt=Gn,mn=xo(Be,Dt);if(Qe===null?xa(Be,Dt):(Qe.pendingTasks--,Qe.forceClientRender||(Qe.forceClientRender=!0,Qe.errorDigest=mn,Qe.parentFlushed&&Be.clientRenderedBoundaries.push(Qe))),Be.allPendingTasks--,Be.allPendingTasks===0){var qn=Be.onAllReady;qn()}}}finally{}}}ve.splice(0,me),_.destination!==null&&Bs(_,_.destination)}catch(Gn){xo(_,Gn),xa(_,Gn)}finally{vo=Z,Rs.current=L,L===Xl&&dr(O)}}}function Ta(_,O,L){switch(L.parentFlushed=!0,L.status){case 0:var Z=L.id=_.nextSegmentId++;return L.lastPushedText=!1,L.textEmbedded=!1,_=_.responseState,i(O,Pe),i(O,_.placeholderPrefix),_=l(Z.toString(16)),i(O,_),o(O,Ge);case 1:L.status=2;var ve=!0;Z=L.chunks;var me=0;L=L.children;for(var Ce=0;Ce<L.length;Ce++){for(ve=L[Ce];me<ve.index;me++)i(O,Z[me]);ve=_a(_,O,ve)}for(;me<Z.length-1;me++)i(O,Z[me]);return me<Z.length&&(ve=o(O,Z[me])),ve;default:throw Error(e(390))}}function _a(_,O,L){var Z=L.boundary;if(Z===null)return Ta(_,O,L);if(Z.parentFlushed=!0,Z.forceClientRender)Z=Z.errorDigest,o(O,rt),i(O,zn),Z&&(i(O,Lr),i(O,l(N(Z))),i(O,It)),o(O,Ai),Ta(_,O,L);else if(0<Z.pendingTasks){Z.rootSegmentID=_.nextSegmentId++,0<Z.completedSegments.length&&_.partialBoundaries.push(Z);var ve=_.responseState,me=ve.nextSuspenseID++;ve=c(ve.boundaryPrefix+me.toString(16)),Z=Z.id=ve,Gt(O,_.responseState,Z),Ta(_,O,L)}else if(Z.byteSize>_.progressiveChunkSize)Z.rootSegmentID=_.nextSegmentId++,_.completedBoundaries.push(Z),Gt(O,_.responseState,Z.id),Ta(_,O,L);else{if(o(O,He),L=Z.completedSegments,L.length!==1)throw Error(e(391));_a(_,O,L[0])}return o(O,Lt)}function nc(_,O,L){return dn(O,_.responseState,L.formatContext,L.id),_a(_,O,L),ar(O,L.formatContext)}function rc(_,O,L){for(var Z=L.completedSegments,ve=0;ve<Z.length;ve++)ic(_,O,L,Z[ve]);if(Z.length=0,_=_.responseState,Z=L.id,L=L.rootSegmentID,i(O,_.startInlineScript),_.sentCompleteBoundaryFunction?i(O,hn):(_.sentCompleteBoundaryFunction=!0,i(O,jr)),Z===null)throw Error(e(395));return L=l(L.toString(16)),i(O,Z),i(O,da),i(O,_.segmentPrefix),i(O,L),o(O,ha)}function ic(_,O,L,Z){if(Z.status===2)return!0;var ve=Z.id;if(ve===-1){if((Z.id=L.rootSegmentID)===-1)throw Error(e(392));return nc(_,O,Z)}return nc(_,O,Z),_=_.responseState,i(O,_.startInlineScript),_.sentCompleteSegmentFunction?i(O,$r):(_.sentCompleteSegmentFunction=!0,i(O,Oi)),i(O,_.segmentPrefix),ve=l(ve.toString(16)),i(O,ve),i(O,zr),i(O,_.placeholderPrefix),i(O,ve),o(O,sr)}function Bs(_,O){n=new Uint8Array(512),r=0;try{var L=_.completedRootSegment;if(L!==null&&_.pendingRootTasks===0){_a(_,O,L),_.completedRootSegment=null;var Z=_.responseState.bootstrapChunks;for(L=0;L<Z.length-1;L++)i(O,Z[L]);L<Z.length&&o(O,Z[L])}var ve=_.clientRenderedBoundaries,me;for(me=0;me<ve.length;me++){var Ce=ve[me];Z=O;var Be=_.responseState,Je=Ce.id,nt=Ce.errorDigest,Qe=Ce.errorMessage,Dt=Ce.errorComponentStack;if(i(Z,Be.startInlineScript),Be.sentClientRenderFunction?i(Z,Mt):(Be.sentClientRenderFunction=!0,i(Z,Er)),Je===null)throw Error(e(395));i(Z,Je),i(Z,lr),(nt||Qe||Dt)&&(i(Z,Vr),i(Z,l(Vn(nt||"")))),(Qe||Dt)&&(i(Z,Vr),i(Z,l(Vn(Qe||"")))),Dt&&(i(Z,Vr),i(Z,l(Vn(Dt)))),o(Z,cr)}ve.splice(0,me);var mn=_.completedBoundaries;for(me=0;me<mn.length;me++)rc(_,O,mn[me]);mn.splice(0,me),a(O),n=new Uint8Array(512),r=0;var qn=_.partialBoundaries;for(me=0;me<qn.length;me++){var Gn=qn[me];e:{ve=_,Ce=O;var Ca=Gn.completedSegments;for(Be=0;Be<Ca.length;Be++)if(!ic(ve,Ce,Gn,Ca[Be])){Be++,Ca.splice(0,Be);var ac=!1;break e}Ca.splice(0,Be),ac=!0}if(!ac){_.destination=null,me++,qn.splice(0,me);return}}qn.splice(0,me);var Do=_.completedBoundaries;for(me=0;me<Do.length;me++)rc(_,O,Do[me]);Do.splice(0,me)}finally{a(O),_.allPendingTasks===0&&_.pingedTasks.length===0&&_.clientRenderedBoundaries.length===0&&_.completedBoundaries.length===0&&O.close()}}function oc(_,O){try{var L=_.abortableTasks;L.forEach(function(Z){return Ql(Z,_,O)}),L.clear(),_.destination!==null&&Bs(_,_.destination)}catch(Z){xo(_,Z),xa(_,Z)}}return Mp.renderToReadableStream=function(_,O){return new Promise(function(L,Z){var ve,me,Ce=new Promise(function(Qe,Dt){me=Qe,ve=Dt}),Be=Os(_,Y(O?O.identifierPrefix:void 0,O?O.nonce:void 0,O?O.bootstrapScriptContent:void 0,O?O.bootstrapScripts:void 0,O?O.bootstrapModules:void 0),ae(O?O.namespaceURI:void 0),O?O.progressiveChunkSize:void 0,O?O.onError:void 0,me,function(){var Qe=new ReadableStream({type:"bytes",pull:function(Dt){if(Be.status===1)Be.status=2,f(Dt,Be.fatalError);else if(Be.status!==2&&Be.destination===null){Be.destination=Dt;try{Bs(Be,Dt)}catch(mn){xo(Be,mn),xa(Be,mn)}}},cancel:function(){oc(Be)}},{highWaterMark:0});Qe.allReady=Ce,L(Qe)},function(Qe){Ce.catch(function(){}),Z(Qe)},ve);if(O&&O.signal){var Je=O.signal,nt=function(){oc(Be,Je.reason),Je.removeEventListener("abort",nt)};Je.addEventListener("abort",nt)}tc(Be)})},Mp.version="18.3.1",Mp}var ul={};/**
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 ik;function JY(){return ik||(ik=1,process.env.NODE_ENV!=="production"&&function(){var t=gt,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(u){{for(var h=arguments.length,y=new Array(h>1?h-1:0),S=1;S<h;S++)y[S-1]=arguments[S];o("warn",u,y)}}function i(u){{for(var h=arguments.length,y=new Array(h>1?h-1:0),S=1;S<h;S++)y[S-1]=arguments[S];o("error",u,y)}}function o(u,h,y){{var S=n.ReactDebugCurrentFrame,k=S.getStackAddendum();k!==""&&(h+="%s",y=y.concat([k]));var M=y.map(function(W){return String(W)});M.unshift("Warning: "+h),Function.prototype.apply.call(console[u],console,M)}}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 m(u,h){u.destroy(h)}function v(u){{var h=typeof Symbol=="function"&&Symbol.toStringTag,y=h&&u[Symbol.toStringTag]||u.constructor.name||"Object";return y}}function x(u){try{return D(u),!1}catch{return!0}}function D(u){return""+u}function w(u,h){if(x(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,v(u)),D(u)}function C(u,h){if(x(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,v(u)),D(u)}function R(u){if(x(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.",v(u)),D(u)}var U=Object.prototype.hasOwnProperty,I=0,N=1,V=2,j=3,oe=4,ue=5,F=6,X=":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",E=X+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",re=new RegExp("^["+X+"]["+E+"]*$"),z={},J={};function Y(u){return U.call(J,u)?!0:U.call(z,u)?!1:re.test(u)?(J[u]=!0,!0):(z[u]=!0,i("Invalid attribute name: `%s`",u),!1)}function G(u,h,y,S){if(y!==null&&y.type===I)return!1;switch(typeof h){case"function":case"symbol":return!0;case"boolean":{if(y!==null)return!y.acceptsBooleans;var k=u.toLowerCase().slice(0,5);return k!=="data-"&&k!=="aria-"}default:return!1}}function ae(u){return P.hasOwnProperty(u)?P[u]:null}function H(u,h,y,S,k,M,W){this.acceptsBooleans=h===V||h===j||h===oe,this.attributeName=S,this.attributeNamespace=k,this.mustUseProperty=y,this.propertyName=u,this.type=h,this.sanitizeURL=M,this.removeEmptyString=W}var P={},he=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];he.forEach(function(u){P[u]=new H(u,I,!1,u,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(u){var h=u[0],y=u[1];P[h]=new H(h,N,!1,y,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(u){P[u]=new H(u,V,!1,u.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(u){P[u]=new H(u,V,!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,oe,!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,ue,!1,u.toLowerCase(),null,!1,!1)});var Se=/[\-\:]([a-z])/g,ye=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(Se,ye);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(Se,ye);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(Se,ye);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 Ae="xlinkHref";P[Ae]=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 je={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 $e(u,h){return u+h.charAt(0).toUpperCase()+h.substring(1)}var ze=["Webkit","ms","Moz","O"];Object.keys(je).forEach(function(u){ze.forEach(function(h){je[$e(h,u)]=je[u]})});var Ze={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function se(u,h){Ze[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 Ue(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 _e={"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={},de=new RegExp("^(aria)-["+E+"]*$"),ce=new RegExp("^(aria)[A-Z]["+E+"]*$");function K(u,h){{if(U.call(A,h)&&A[h])return!0;if(ce.test(h)){var y="aria-"+h.slice(4).toLowerCase(),S=_e.hasOwnProperty(y)?y:null;if(S==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",h),A[h]=!0,!0;if(h!==S)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",h,S),A[h]=!0,!0}if(de.test(h)){var k=h.toLowerCase(),M=_e.hasOwnProperty(k)?k:null;if(M==null)return A[h]=!0,!1;if(h!==M)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",h,M),A[h]=!0,!0}}return!0}function q(u,h){{var y=[];for(var S in h){var k=K(u,S);k||y.push(S)}var M=y.map(function(W){return"`"+W+"`"}).join(", ");y.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,u):y.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",M,u)}}function ie(u,h){Ue(u,h)||q(u,h)}var we=!1;function Ee(u,h){{if(u!=="input"&&u!=="textarea"&&u!=="select")return;h!=null&&h.value===null&&!we&&(we=!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 fe={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={},le=/^on./,xe=/^on[^A-Z]/,Ne=new RegExp("^(aria)-["+E+"]*$"),Pe=new RegExp("^(aria)[A-Z]["+E+"]*$");ee=function(u,h,y,S){if(U.call(ne,h)&&ne[h])return!0;var k=h.toLowerCase();if(k==="onfocusin"||k==="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(S!=null){var M=S.registrationNameDependencies,W=S.possibleRegistrationNames;if(M.hasOwnProperty(h))return!0;var te=W.hasOwnProperty(k)?W[k]:null;if(te!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",h,te),ne[h]=!0,!0;if(le.test(h))return i("Unknown event handler property `%s`. It will be ignored.",h),ne[h]=!0,!0}else if(le.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(Ne.test(h)||Pe.test(h))return!0;if(k==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ne[h]=!0,!0;if(k==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ne[h]=!0,!0;if(k==="is"&&y!==null&&y!==void 0&&typeof y!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof y),ne[h]=!0,!0;if(typeof y=="number"&&isNaN(y))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",h),ne[h]=!0,!0;var ge=ae(h),ke=ge!==null&&ge.type===I;if(fe.hasOwnProperty(k)){var Oe=fe[k];if(Oe!==h)return i("Invalid DOM property `%s`. Did you mean `%s`?",h,Oe),ne[h]=!0,!0}else if(!ke&&h!==k)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,k),ne[h]=!0,!0;return typeof y=="boolean"&&G(h,y,ge)?(y?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()}.',y,h,h,y,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.',y,h,h,y,h,h,h),ne[h]=!0,!0):ke?!0:G(h,y,ge)?(ne[h]=!0,!1):((y==="false"||y==="true")&&ge!==null&&ge.type===j&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",y,h,y==="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,y),ne[h]=!0),!0)}}var Ge=function(u,h,y){{var S=[];for(var k in h){var M=ee(u,k,h[k],y);M||S.push(k)}var W=S.map(function(te){return"`"+te+"`"}).join(", ");S.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 ",W,u):S.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 ",W,u)}};function He(u,h,y){Ue(u,h)||Ge(u,h,y)}var et=function(){};{var ct=/^(?:webkit|moz|o)[A-Z]/,rt=/^-ms-/,Lt=/-(.)/g,zn=/;\s*$/,It={},Lr={},Ai=!1,Gt=!1,Cn=function(u){return u.replace(Lt,function(h,y){return y.toUpperCase()})},jn=function(u){It.hasOwnProperty(u)&&It[u]||(It[u]=!0,i("Unsupported style property %s. Did you mean %s?",u,Cn(u.replace(rt,"ms-"))))},st=function(u){It.hasOwnProperty(u)&&It[u]||(It[u]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",u,u.charAt(0).toUpperCase()+u.slice(1)))},fn=function(u,h){Lr.hasOwnProperty(h)&&Lr[h]||(Lr[h]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,u,h.replace(zn,"")))},Ui=function(u,h){Ai||(Ai=!0,i("`NaN` is an invalid value for the `%s` css style property.",u))},li=function(u,h){Gt||(Gt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",u))};et=function(u,h){u.indexOf("-")>-1?jn(u):ct.test(u)?st(u):zn.test(h)&&fn(u,h),typeof h=="number"&&(isNaN(h)?Ui(u,h):isFinite(h)||li(u,h))}}var ir=et,Fi=/["'&<>]/;function Cr(u){R(u);var h=""+u,y=Fi.exec(h);if(!y)return h;var S,k="",M,W=0;for(M=y.index;M<h.length;M++){switch(h.charCodeAt(M)){case 34:S="&quot;";break;case 38:S="&amp;";break;case 39:S="&#x27;";break;case 60:S="&lt;";break;case 62:S="&gt;";break;default:continue}W!==M&&(k+=h.substring(W,M)),W=M+1,k+=S}return W!==M?k+h.substring(W,M):k}function Wt(u){return typeof u=="boolean"||typeof u=="number"?""+u:Cr(u)}var po=/([A-Z])/g,go=/^ms-/;function fa(u){return u.replace(po,"-$1").toLowerCase().replace(go,"-ms-")}var Bt=/^[\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,mo=!1;function ks(u){!mo&&Bt.test(u)&&(mo=!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 As=Array.isArray;function or(u){return As(u)}var yo="<script>";function Ri(u,h,y,S,k){var M=u===void 0?"":u,W=yo,te=[];return{bootstrapChunks:te,startInlineScript:W,placeholderPrefix:M+"P:",segmentPrefix:M+"S:",boundaryPrefix:M+"B:",idPrefix:M,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Wr=0,dn=1,ar=2,Oi=3,$r=4,zr=5,sr=6,jr=7;function hn(u,h){return{insertionMode:u,selectedValue:h}}function da(u,h,y){switch(h){case"select":return hn(dn,y.value!=null?y.value:y.defaultValue);case"svg":return hn(ar,null);case"math":return hn(Oi,null);case"foreignObject":return hn(dn,null);case"table":return hn($r,null);case"thead":case"tbody":case"tfoot":return hn(zr,null);case"colgroup":return hn(jr,null);case"tr":return hn(sr,null)}return u.insertionMode>=$r||u.insertionMode===Wr?hn(dn,null):u}var ha=null;function Er(u){var h=u.nextSuspenseID++;return u.boundaryPrefix+h.toString(16)}function Mt(u,h,y){var S=u.idPrefix,k=":"+S+"R"+h;return y>0&&(k+="H"+y.toString(32)),k+":"}function lr(u){return Wt(u)}var cr="<!-- -->";function Vr(u,h,y,S){return h===""?S:(S&&u.push(cr),u.push(lr(h)),!0)}function Ii(u,h,y,S){y&&S&&u.push(cr)}var Vn=new Map;function ur(u){var h=Vn.get(u);if(h!==void 0)return h;var y=Wt(fa(u));return Vn.set(u,y),y}var Kt=' style="',Hr=":",ci=";";function Bi(u,h,y){if(typeof y!="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 S=!0;for(var k in y)if(U.call(y,k)){var M=y[k];if(!(M==null||typeof M=="boolean"||M==="")){var W=void 0,te=void 0,ge=k.indexOf("--")===0;ge?(W=Wt(k),C(M,k),te=Wt((""+M).trim())):(ir(k,M),W=ur(k),typeof M=="number"?M!==0&&!U.call(je,k)?te=M+"px":te=""+M:(C(M,k),te=Wt((""+M).trim()))),S?(S=!1,u.push(Kt,W,Hr,te)):u.push(ci,W,Hr,te)}}S||u.push(Zt)}var En=" ",fr='="',Zt='"',Mi='=""';function Vt(u,h,y,S){switch(y){case"style":{Bi(u,h,S);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(y.length>2&&(y[0]==="o"||y[0]==="O")&&(y[1]==="n"||y[1]==="N"))){var k=ae(y);if(k!==null){switch(typeof S){case"function":case"symbol":return;case"boolean":if(!k.acceptsBooleans)return}var M=k.attributeName,W=M;switch(k.type){case j:S&&u.push(En,W,Mi);return;case oe:S===!0?u.push(En,W,Mi):S===!1||u.push(En,W,fr,Wt(S),Zt);return;case ue:isNaN(S)||u.push(En,W,fr,Wt(S),Zt);break;case F:!isNaN(S)&&S>=1&&u.push(En,W,fr,Wt(S),Zt);break;default:k.sanitizeURL&&(w(S,M),S=""+S,ks(S)),u.push(En,W,fr,Wt(S),Zt)}}else if(Y(y)){switch(typeof S){case"function":case"symbol":return;case"boolean":{var te=y.toLowerCase().slice(0,5);if(te!=="data-"&&te!=="aria-")return}}u.push(En,y,fr,Wt(S),Zt)}}}var pn=">",T="/>";function B(u,h,y){if(h!=null){if(y!=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 S=h.__html;S!=null&&(R(S),u.push(""+S))}}var $=!1,Q=!1,be=!1,pe=!1,Te=!1,Ie=!1,Ve=!1;function Xe(u,h){{var y=u[h];if(y!=null){var S=or(y);u.multiple&&!S?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",h):!u.multiple&&S&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",h)}}}function qe(u,h,y){se("select",h),Xe(h,"value"),Xe(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(hr("select"));var S=null,k=null;for(var M in h)if(U.call(h,M)){var W=h[M];if(W==null)continue;switch(M){case"children":S=W;break;case"dangerouslySetInnerHTML":k=W;break;case"defaultValue":case"value":break;default:Vt(u,y,M,W);break}}return u.push(pn),B(u,k,S),S}function ft(u){var h="";return t.Children.forEach(u,function(y){y!=null&&(h+=y,!Te&&typeof y!="string"&&typeof y!="number"&&(Te=!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 Qt=' selected=""';function en(u,h,y,S){var k=S.selectedValue;u.push(hr("option"));var M=null,W=null,te=null,ge=null;for(var ke in h)if(U.call(h,ke)){var Oe=h[ke];if(Oe==null)continue;switch(ke){case"children":M=Oe;break;case"selected":te=Oe,Ve||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Ve=!0);break;case"dangerouslySetInnerHTML":ge=Oe;break;case"value":W=Oe;default:Vt(u,y,ke,Oe);break}}if(k!=null){var Le;if(W!==null?(w(W,"value"),Le=""+W):(ge!==null&&(Ie||(Ie=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Le=ft(M)),or(k))for(var Ke=0;Ke<k.length;Ke++){w(k[Ke],"value");var mt=""+k[Ke];if(mt===Le){u.push(Qt);break}}else w(k,"select.value"),""+k===Le&&u.push(Qt)}else te&&u.push(Qt);return u.push(pn),B(u,ge,M),M}function tn(u,h,y){se("input",h),h.checked!==void 0&&h.defaultChecked!==void 0&&!Q&&(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),Q=!0),h.value!==void 0&&h.defaultValue!==void 0&&!$&&(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),$=!0),u.push(hr("input"));var S=null,k=null,M=null,W=null;for(var te in h)if(U.call(h,te)){var ge=h[te];if(ge==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":W=ge;break;case"defaultValue":k=ge;break;case"checked":M=ge;break;case"value":S=ge;break;default:Vt(u,y,te,ge);break}}return M!==null?Vt(u,y,"checked",M):W!==null&&Vt(u,y,"checked",W),S!==null?Vt(u,y,"value",S):k!==null&&Vt(u,y,"value",k),u.push(T),null}function qr(u,h,y){se("textarea",h),h.value!==void 0&&h.defaultValue!==void 0&&!pe&&(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"),pe=!0),u.push(hr("textarea"));var S=null,k=null,M=null;for(var W in h)if(U.call(h,W)){var te=h[W];if(te==null)continue;switch(W){case"children":M=te;break;case"value":S=te;break;case"defaultValue":k=te;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Vt(u,y,W,te);break}}if(S===null&&k!==null&&(S=k),u.push(pn),M!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),S!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(or(M)){if(M.length>1)throw new Error("<textarea> can only have at most one child.");R(M[0]),S=""+M[0]}R(M),S=""+M}return typeof S=="string"&&S[0]===`
282
+ `&&u.push(fi),S!==null&&(w(S,"value"),u.push(lr(""+S))),null}function dr(u,h,y,S){u.push(hr(y));for(var k in h)if(U.call(h,k)){var M=h[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error(y+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Vt(u,S,k,M);break}}return u.push(T),null}function Ni(u,h,y){u.push(hr("menuitem"));for(var S in h)if(U.call(h,S)){var k=h[S];if(k==null)continue;switch(S){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Vt(u,y,S,k);break}}return u.push(pn),null}function Gr(u,h,y){u.push(hr("title"));var S=null;for(var k in h)if(U.call(h,k)){var M=h[k];if(M==null)continue;switch(k){case"children":S=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Vt(u,y,k,M);break}}u.push(pn);{var W=Array.isArray(S)&&S.length<2?S[0]||null:S;Array.isArray(S)&&S.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"):W!=null&&W.$$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"):W!=null&&typeof W!="string"&&typeof W!="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 S}function ui(u,h,y,S){u.push(hr(y));var k=null,M=null;for(var W in h)if(U.call(h,W)){var te=h[W];if(te==null)continue;switch(W){case"children":k=te;break;case"dangerouslySetInnerHTML":M=te;break;default:Vt(u,S,W,te);break}}return u.push(pn),B(u,M,k),typeof k=="string"?(u.push(lr(k)),null):k}function kr(u,h,y,S){u.push(hr(y));var k=null,M=null;for(var W in h)if(U.call(h,W)){var te=h[W];if(te==null)continue;switch(W){case"children":k=te;break;case"dangerouslySetInnerHTML":M=te;break;case"style":Bi(u,S,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Y(W)&&typeof te!="function"&&typeof te!="symbol"&&u.push(En,W,fr,Wt(te),Zt);break}}return u.push(pn),B(u,M,k),k}var fi=`
283
+ `;function tf(u,h,y,S){u.push(hr(y));var k=null,M=null;for(var W in h)if(U.call(h,W)){var te=h[W];if(te==null)continue;switch(W){case"children":k=te;break;case"dangerouslySetInnerHTML":M=te;break;default:Vt(u,S,W,te);break}}if(u.push(pn),M!=null){if(k!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof M!="object"||!("__html"in M))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 ge=M.__html;ge!=null&&(typeof ge=="string"&&ge.length>0&&ge[0]===`
284
+ `?u.push(fi,ge):(R(ge),u.push(""+ge)))}return typeof k=="string"&&k[0]===`
285
+ `&&u.push(fi),k}var nf=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,pa=new Map;function hr(u){var h=pa.get(u);if(h===void 0){if(!nf.test(u))throw new Error("Invalid tag: "+u);h="<"+u,pa.set(u,h)}return h}var rf="<!DOCTYPE html>";function Ar(u,h,y,S,k){switch(ie(h,y),Ee(h,y),He(h,y,null),!y.suppressContentEditableWarning&&y.contentEditable&&y.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."),k.insertionMode!==ar&&k.insertionMode!==Oi&&h.indexOf("-")===-1&&typeof y.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 qe(u,y,S);case"option":return en(u,y,S,k);case"textarea":return qr(u,y,S);case"input":return tn(u,y,S);case"menuitem":return Ni(u,y,S);case"title":return Gr(u,y,S);case"listing":case"pre":return tf(u,y,h,S);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 dr(u,y,h,S);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 ui(u,y,h,S);case"html":return k.insertionMode===Wr&&u.push(rf),ui(u,y,h,S);default:return h.indexOf("-")===-1&&typeof y.is!="string"?ui(u,y,h,S):kr(u,y,h,S)}}var Us="</",ga=">";function bt(u,h,y){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(Us,h,ga)}}function di(u,h){for(var y=h.bootstrapChunks,S=0;S<y.length-1;S++)l(u,y[S]);return S<y.length?c(u,y[S]):!0}var ma='<template id="',hi='"></template>';function Xr(u,h,y){l(u,ma),l(u,h.placeholderPrefix);var S=y.toString(16);return l(u,S),c(u,hi)}var ya="<!--$-->",Jr='<!--$?--><template id="',Hn='"></template>',Fs="<!--$!-->",bo="<!--/$-->",ql="<template",ba='"',Gl=' data-dgst="',of=' data-msg="',af=' data-stck="',va="></template>";function Xl(u,h){return c(u,ya)}function vo(u,h,y){if(l(u,Jr),y===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return l(u,y),c(u,Hn)}function Rs(u,h,y,S,k){var M;return M=c(u,Fs),l(u,ql),y&&(l(u,Gl),l(u,Wt(y)),l(u,ba)),S&&(l(u,of),l(u,Wt(S)),l(u,ba)),k&&(l(u,af),l(u,Wt(k)),l(u,ba)),M=c(u,va),M}function sf(u,h){return c(u,bo)}function Pi(u,h){return c(u,bo)}function Os(u,h){return c(u,bo)}var Is='<div hidden id="',Li='">',xo="</div>",xa='<svg aria-hidden="true" style="display:none" id="',Jl='">',Yl="</svg>",Kl='<math aria-hidden="true" style="display:none" id="',Da='">',gn="</math>",Zl='<table hidden id="',wa='">',lf="</table>",Ql='<table hidden><tbody id="',Sa='">',ec="</tbody></table>",tc='<table hidden><tr id="',Ta='">',_a="</tr></table>",nc='<table hidden><colgroup id="',rc='">',ic="</colgroup></table>";function Bs(u,h,y,S){switch(y.insertionMode){case Wr:case dn:return l(u,Is),l(u,h.segmentPrefix),l(u,S.toString(16)),c(u,Li);case ar:return l(u,xa),l(u,h.segmentPrefix),l(u,S.toString(16)),c(u,Jl);case Oi:return l(u,Kl),l(u,h.segmentPrefix),l(u,S.toString(16)),c(u,Da);case $r:return l(u,Zl),l(u,h.segmentPrefix),l(u,S.toString(16)),c(u,wa);case zr:return l(u,Ql),l(u,h.segmentPrefix),l(u,S.toString(16)),c(u,Sa);case sr:return l(u,tc),l(u,h.segmentPrefix),l(u,S.toString(16)),c(u,Ta);case jr:return l(u,nc),l(u,h.segmentPrefix),l(u,S.toString(16)),c(u,rc);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function oc(u,h){switch(h.insertionMode){case Wr:case dn:return c(u,xo);case ar:return c(u,Yl);case Oi:return c(u,gn);case $r:return c(u,lf);case zr:return c(u,ec);case sr:return c(u,_a);case jr:return c(u,ic);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var _="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)}",O='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()}}',L='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())}',Z=_+';$RS("',ve='$RS("',me='","',Ce='")<\/script>';function Be(u,h,y){l(u,h.startInlineScript),h.sentCompleteSegmentFunction?l(u,ve):(h.sentCompleteSegmentFunction=!0,l(u,Z)),l(u,h.segmentPrefix);var S=y.toString(16);return l(u,S),l(u,me),l(u,h.placeholderPrefix),l(u,S),c(u,Ce)}var Je=O+';$RC("',nt='$RC("',Qe='","',Dt='")<\/script>';function mn(u,h,y,S){if(l(u,h.startInlineScript),h.sentCompleteBoundaryFunction?l(u,nt):(h.sentCompleteBoundaryFunction=!0,l(u,Je)),y===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var k=S.toString(16);return l(u,y),l(u,Qe),l(u,h.segmentPrefix),l(u,k),c(u,Dt)}var qn=L+';$RX("',Gn='$RX("',Ca='"',ac=")<\/script>",Do=",";function Hy(u,h,y,S,k,M){if(l(u,h.startInlineScript),h.sentClientRenderFunction?l(u,Gn):(h.sentClientRenderFunction=!0,l(u,qn)),y===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return l(u,y),l(u,Ca),(S||k||M)&&(l(u,Do),l(u,cf(S||""))),(k||M)&&(l(u,Do),l(u,cf(k||""))),M&&(l(u,Do),l(u,cf(M))),c(u,ac)}var qy=/[<\u2028\u2029]/g;function cf(u){var h=JSON.stringify(u);return h.replace(qy,function(y){switch(y){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 Gy(u,h){var y=Ri(h);return{bootstrapChunks:y.bootstrapChunks,startInlineScript:y.startInlineScript,placeholderPrefix:y.placeholderPrefix,segmentPrefix:y.segmentPrefix,boundaryPrefix:y.boundaryPrefix,idPrefix:y.idPrefix,nextSuspenseID:y.nextSuspenseID,sentCompleteSegmentFunction:y.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:y.sentCompleteBoundaryFunction,sentClientRenderFunction:y.sentClientRenderFunction,generateStaticMarkup:u}}function Xy(){return{insertionMode:dn,selectedValue:null}}function Ah(u,h,y,S){return y.generateStaticMarkup?(u.push(Wt(h)),!1):Vr(u,h,y,S)}function Uh(u,h,y,S){if(!h.generateStaticMarkup)return Ii(u,h,y,S)}function Jy(u,h){return h.generateStaticMarkup?!0:Xl(u)}function Yy(u,h,y,S,k){return h.generateStaticMarkup?!0:Rs(u,h,y,S,k)}function Ky(u,h){return h.generateStaticMarkup?!0:sf(u)}function Zy(u,h){return h.generateStaticMarkup?!0:Os(u)}var kn=Object.assign,Qy=Symbol.for("react.element"),Fh=Symbol.for("react.portal"),sc=Symbol.for("react.fragment"),Xn=Symbol.for("react.strict_mode"),Rh=Symbol.for("react.profiler"),lc=Symbol.for("react.provider"),cc=Symbol.for("react.context"),uc=Symbol.for("react.forward_ref"),fc=Symbol.for("react.suspense"),Ms=Symbol.for("react.suspense_list"),Ns=Symbol.for("react.memo"),Ea=Symbol.for("react.lazy"),uf=Symbol.for("react.scope"),ff=Symbol.for("react.debug_trace_mode"),df=Symbol.for("react.legacy_hidden"),dc=Symbol.for("react.default_value"),Oh=Symbol.iterator,eb="@@iterator";function tb(u){if(u===null||typeof u!="object")return null;var h=Oh&&u[Oh]||u[eb];return typeof h=="function"?h:null}function nb(u,h,y){var S=u.displayName;if(S)return S;var k=h.displayName||h.name||"";return k!==""?y+"("+k+")":y}function hf(u){return u.displayName||"Context"}function Ct(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 sc:return"Fragment";case Fh:return"Portal";case Rh:return"Profiler";case Xn:return"StrictMode";case fc:return"Suspense";case Ms:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case cc:var h=u;return hf(h)+".Consumer";case lc:var y=u;return hf(y._context)+".Provider";case uc:return nb(u,u.render,"ForwardRef");case Ns:var S=u.displayName||null;return S!==null?S:Ct(u.type)||"Memo";case Ea:{var k=u,M=k._payload,W=k._init;try{return Ct(W(M))}catch{return null}}}return null}var Ps=0,Ih,pf,Tt,ka,gf,mf,yf;function bf(){}bf.__reactDisabledLog=!0;function Bh(){{if(Ps===0){Ih=console.log,pf=console.info,Tt=console.warn,ka=console.error,gf=console.group,mf=console.groupCollapsed,yf=console.groupEnd;var u={configurable:!0,enumerable:!0,value:bf,writable:!0};Object.defineProperties(console,{info:u,log:u,warn:u,error:u,group:u,groupCollapsed:u,groupEnd:u})}Ps++}}function Mh(){{if(Ps--,Ps===0){var u={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:kn({},u,{value:Ih}),info:kn({},u,{value:pf}),warn:kn({},u,{value:Tt}),error:kn({},u,{value:ka}),group:kn({},u,{value:gf}),groupCollapsed:kn({},u,{value:mf}),groupEnd:kn({},u,{value:yf})})}Ps<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var hc=n.ReactCurrentDispatcher,pc;function Ls(u,h,y){{if(pc===void 0)try{throw Error()}catch(k){var S=k.stack.trim().match(/\n( *(at )?)/);pc=S&&S[1]||""}return`
286
+ `+pc+u}}var vf=!1,Aa;{var xf=typeof WeakMap=="function"?WeakMap:Map;Aa=new xf}function wo(u,h){if(!u||vf)return"";{var y=Aa.get(u);if(y!==void 0)return y}var S;vf=!0;var k=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var M;M=hc.current,hc.current=null,Bh();try{if(h){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(Jt){S=Jt}Reflect.construct(u,[],W)}else{try{W.call()}catch(Jt){S=Jt}u.call(W.prototype)}}else{try{throw Error()}catch(Jt){S=Jt}u()}}catch(Jt){if(Jt&&S&&typeof Jt.stack=="string"){for(var te=Jt.stack.split(`
287
+ `),ge=S.stack.split(`
288
+ `),ke=te.length-1,Oe=ge.length-1;ke>=1&&Oe>=0&&te[ke]!==ge[Oe];)Oe--;for(;ke>=1&&Oe>=0;ke--,Oe--)if(te[ke]!==ge[Oe]){if(ke!==1||Oe!==1)do if(ke--,Oe--,Oe<0||te[ke]!==ge[Oe]){var Le=`
289
+ `+te[ke].replace(" at new "," at ");return u.displayName&&Le.includes("<anonymous>")&&(Le=Le.replace("<anonymous>",u.displayName)),typeof u=="function"&&Aa.set(u,Le),Le}while(ke>=1&&Oe>=0);break}}}finally{vf=!1,hc.current=M,Mh(),Error.prepareStackTrace=k}var Ke=u?u.displayName||u.name:"",mt=Ke?Ls(Ke):"";return typeof u=="function"&&Aa.set(u,mt),mt}function Df(u,h,y){return wo(u,!0)}function Ws(u,h,y){return wo(u,!1)}function rb(u){var h=u.prototype;return!!(h&&h.isReactComponent)}function $s(u,h,y){if(u==null)return"";if(typeof u=="function")return wo(u,rb(u));if(typeof u=="string")return Ls(u);switch(u){case fc:return Ls("Suspense");case Ms:return Ls("SuspenseList")}if(typeof u=="object")switch(u.$$typeof){case uc:return Ws(u.render);case Ns:return $s(u.type,h,y);case Ea:{var S=u,k=S._payload,M=S._init;try{return $s(M(k),h,y)}catch{}}}return""}var Nh={},wf=n.ReactDebugCurrentFrame;function gc(u){if(u){var h=u._owner,y=$s(u.type,u._source,h?h.type:null);wf.setExtraStackFrame(y)}else wf.setExtraStackFrame(null)}function mc(u,h,y,S,k){{var M=Function.call.bind(U);for(var W in u)if(M(u,W)){var te=void 0;try{if(typeof u[W]!="function"){var ge=Error((S||"React class")+": "+y+" type `"+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[W]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ge.name="Invariant Violation",ge}te=u[W](h,W,S,y,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ke){te=ke}te&&!(te instanceof Error)&&(gc(k),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).",S||"React class",y,W,typeof te),gc(null)),te instanceof Error&&!(te.message in Nh)&&(Nh[te.message]=!0,gc(k),i("Failed %s type: %s",y,te.message),gc(null))}}}var yc;yc={};var zs={};Object.freeze(zs);function js(u,h){{var y=u.contextTypes;if(!y)return zs;var S={};for(var k in y)S[k]=h[k];{var M=Ct(u)||"Unknown";mc(y,S,"context",M)}return S}}function Ph(u,h,y,S){{if(typeof u.getChildContext!="function"){{var k=Ct(h)||"Unknown";yc[k]||(yc[k]=!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.",k,k))}return y}var M=u.getChildContext();for(var W in M)if(!(W in S))throw new Error((Ct(h)||"Unknown")+'.getChildContext(): key "'+W+'" is not defined in childContextTypes.');{var te=Ct(h)||"Unknown";mc(S,M,"child context",te)}return kn({},y,M)}}var So;So={};var bc=null,Wi=null;function Sf(u){u.context._currentValue2=u.parentValue}function To(u){u.context._currentValue2=u.value}function vc(u,h){if(u!==h){Sf(u);var y=u.parent,S=h.parent;if(y===null){if(S!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(S===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");vc(y,S)}To(h)}}function $i(u){Sf(u);var h=u.parent;h!==null&&$i(h)}function xc(u){var h=u.parent;h!==null&&xc(h),To(u)}function Dc(u,h){Sf(u);var y=u.parent;if(y===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?vc(y,h):Dc(y,h)}function Vs(u,h){var y=h.parent;if(y===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");u.depth===y.depth?vc(u,y):Vs(u,y),To(h)}function Hs(u){var h=Wi,y=u;h!==y&&(h===null?xc(y):y===null?$i(h):h.depth===y.depth?vc(h,y):h.depth>y.depth?Dc(h,y):Vs(h,y),Wi=y)}function Lh(u,h){var y;y=u._currentValue2,u._currentValue2=h,u._currentRenderer2!==void 0&&u._currentRenderer2!==null&&u._currentRenderer2!==So&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer2=So;var S=Wi,k={parent:S,depth:S===null?0:S.depth+1,context:u,parentValue:y,value:h};return Wi=k,k}function Wh(u){var h=Wi;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 y=h.parentValue;y===dc?h.context._currentValue2=h.context._defaultValue:h.context._currentValue2=y,u._currentRenderer2!==void 0&&u._currentRenderer2!==null&&u._currentRenderer2!==So&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),u._currentRenderer2=So}return Wi=h.parent}function $h(){return Wi}function zi(u){var h=u._currentValue2;return h}function Tf(u){return u._reactInternals}function ib(u,h){u._reactInternals=h}var zh={},Ua={},qs,_f,wc,Sc,Tc,Fa,Gs,Xs,_c;{qs=new Set,_f=new Set,wc=new Set,Gs=new Set,Sc=new Set,Xs=new Set,_c=new Set;var Js=new Set;Fa=function(u,h){if(!(u===null||typeof u=="function")){var y=h+"_"+u;Js.has(y)||(Js.add(y),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",h,u))}},Tc=function(u,h){if(h===void 0){var y=Ct(u)||"Component";Sc.has(y)||(Sc.add(y),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",y))}}}function Cc(u,h){{var y=u.constructor,S=y&&Ct(y)||"ReactClass",k=S+"."+h;if(zh[k])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,S),zh[k]=!0}}var Ec={isMounted:function(u){return!1},enqueueSetState:function(u,h,y){var S=Tf(u);S.queue===null?Cc(u,"setState"):(S.queue.push(h),y!=null&&Fa(y,"setState"))},enqueueReplaceState:function(u,h,y){var S=Tf(u);S.replace=!0,S.queue=[h],y!=null&&Fa(y,"setState")},enqueueForceUpdate:function(u,h){var y=Tf(u);y.queue===null?Cc(u,"forceUpdate"):h!=null&&Fa(h,"setState")}};function Cf(u,h,y,S,k){var M=y(k,S);Tc(h,M);var W=M==null?S:kn({},S,M);return W}function jh(u,h,y){var S=zs,k=u.contextType;if("contextType"in u){var M=k===null||k!==void 0&&k.$$typeof===cc&&k._context===void 0;if(!M&&!_c.has(u)){_c.add(u);var W="";k===void 0?W=" 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 k!="object"?W=" However, it is set to a "+typeof k+".":k.$$typeof===lc?W=" Did you accidentally pass the Context.Provider instead?":k._context!==void 0?W=" Did you accidentally pass the Context.Consumer instead?":W=" However, it is set to an object with keys {"+Object.keys(k).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ct(u)||"Component",W)}}typeof k=="object"&&k!==null?S=zi(k):S=y;var te=new u(h,S);{if(typeof u.getDerivedStateFromProps=="function"&&(te.state===null||te.state===void 0)){var ge=Ct(u)||"Component";qs.has(ge)||(qs.add(ge),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.",ge,te.state===null?"null":"undefined",ge))}if(typeof u.getDerivedStateFromProps=="function"||typeof te.getSnapshotBeforeUpdate=="function"){var ke=null,Oe=null,Le=null;if(typeof te.componentWillMount=="function"&&te.componentWillMount.__suppressDeprecationWarning!==!0?ke="componentWillMount":typeof te.UNSAFE_componentWillMount=="function"&&(ke="UNSAFE_componentWillMount"),typeof te.componentWillReceiveProps=="function"&&te.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Oe="componentWillReceiveProps":typeof te.UNSAFE_componentWillReceiveProps=="function"&&(Oe="UNSAFE_componentWillReceiveProps"),typeof te.componentWillUpdate=="function"&&te.componentWillUpdate.__suppressDeprecationWarning!==!0?Le="componentWillUpdate":typeof te.UNSAFE_componentWillUpdate=="function"&&(Le="UNSAFE_componentWillUpdate"),ke!==null||Oe!==null||Le!==null){var Ke=Ct(u)||"Component",mt=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";wc.has(Ke)||(wc.add(Ke),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`,Ke,mt,ke!==null?`
297
+ `+ke:"",Oe!==null?`
298
+ `+Oe:"",Le!==null?`
299
+ `+Le:""))}}}return te}function Vh(u,h,y){{var S=Ct(h)||"Component",k=u.render;k||(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?",S):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",S)),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?",S),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.",S),u.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",S),u.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),u.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",S),h.contextType&&h.contextTypes&&!Xs.has(h)&&(Xs.add(h),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",S)),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.",S),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.",Ct(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()?",S),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().",S),typeof u.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof u.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S);var M=u.props!==y;u.props!==void 0&&M&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S,S),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.",S,S),typeof u.getSnapshotBeforeUpdate=="function"&&typeof u.componentDidUpdate!="function"&&!_f.has(h)&&(_f.add(h),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ct(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.",S),typeof u.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof h.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",S);var W=u.state;W&&(typeof W!="object"||or(W))&&i("%s.state: must be set to an object or null",S),typeof u.getChildContext=="function"&&typeof h.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",S)}}function Hh(u,h){var y=h.state;if(typeof h.componentWillMount=="function"){if(h.componentWillMount.__suppressDeprecationWarning!==!0){var S=Ct(u)||"Unknown";Ua[S]||(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`,S),Ua[S]=!0)}h.componentWillMount()}typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),y!==h.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ct(u)||"Component"),Ec.enqueueReplaceState(h,h.state,null))}function ob(u,h,y,S){if(u.queue!==null&&u.queue.length>0){var k=u.queue,M=u.replace;if(u.queue=null,u.replace=!1,M&&k.length===1)h.state=k[0];else{for(var W=M?k[0]:h.state,te=!0,ge=M?1:0;ge<k.length;ge++){var ke=k[ge],Oe=typeof ke=="function"?ke.call(h,W,y,S):ke;Oe!=null&&(te?(te=!1,W=kn({},W,Oe)):kn(W,Oe))}h.state=W}}else u.queue=null}function qh(u,h,y,S){Vh(u,h,y);var k=u.state!==void 0?u.state:null;u.updater=Ec,u.props=y,u.state=k;var M={queue:[],replace:!1};ib(u,M);var W=h.contextType;if(typeof W=="object"&&W!==null?u.context=zi(W):u.context=S,u.state===y){var te=Ct(h)||"Component";Gs.has(te)||(Gs.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 ge=h.getDerivedStateFromProps;typeof ge=="function"&&(u.state=Cf(u,h,ge,k,y)),typeof h.getDerivedStateFromProps!="function"&&typeof u.getSnapshotBeforeUpdate!="function"&&(typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")&&(Hh(h,u),ob(M,u,y,S))}var ab={id:1,overflow:""};function sb(u){var h=u.overflow,y=u.id,S=y&~lb(y);return S.toString(32)+h}function Ef(u,h,y){var S=u.id,k=u.overflow,M=Ys(S)-1,W=S&~(1<<M),te=y+1,ge=Ys(h)+M;if(ge>30){var ke=M-M%5,Oe=(1<<ke)-1,Le=(W&Oe).toString(32),Ke=W>>ke,mt=M-ke,Jt=Ys(h)+mt,Fo=te<<mt,Ro=Fo|Ke,bi=Le+k;return{id:1<<Jt|Ro,overflow:bi}}else{var Pa=te<<M,Wb=Pa|W,VO=k;return{id:1<<ge|Wb,overflow:VO}}}function Ys(u){return 32-cb(u)}function lb(u){return 1<<Ys(u)-1}var cb=Math.clz32?Math.clz32:ub,kf=Math.log,kc=Math.LN2;function ub(u){var h=u>>>0;return h===0?32:31-(kf(h)/kc|0)|0}function fb(u,h){return u===h&&(u!==0||1/u===1/h)||u!==u&&h!==h}var db=typeof Object.is=="function"?Object.is:fb,pi=null,Af=null,Ac=null,St=null,Jn=!1,Ra=!1,_o=0,dt=null,ji=0,Uc=25,Yn=!1,Kn;function Yr(){if(pi===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 Yn&&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"),pi}function hb(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.",Kn),!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`,Kn,"["+u.join(", ")+"]","["+h.join(", ")+"]");for(var y=0;y<h.length&&y<u.length;y++)if(!db(u[y],h[y]))return!1;return!0}function Ur(){if(ji>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Vi(){return St===null?Ac===null?(Jn=!1,Ac=St=Ur()):(Jn=!0,St=Ac):St.next===null?(Jn=!1,St=St.next=Ur()):(Jn=!0,St=St.next),St}function Co(u,h){pi=h,Af=u,Yn=!1,_o=0}function pb(u,h,y,S){for(;Ra;)Ra=!1,_o=0,ji+=1,St=null,y=u(h,S);return Ks(),y}function Uf(){var u=_o!==0;return u}function Ks(){Yn=!1,pi=null,Af=null,Ra=!1,Ac=null,ji=0,dt=null,St=null}function gb(u){return Yn&&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()."),zi(u)}function mb(u){return Kn="useContext",Yr(),zi(u)}function Fc(u,h){return typeof h=="function"?h(u):h}function Ff(u){return Kn="useState",Gh(Fc,u)}function Gh(u,h,y){if(u!==Fc&&(Kn="useReducer"),pi=Yr(),St=Vi(),Jn){var S=St.queue,k=S.dispatch;if(dt!==null){var M=dt.get(S);if(M!==void 0){dt.delete(S);var W=St.memoizedState,te=M;do{var ge=te.action;Yn=!0,W=u(W,ge),Yn=!1,te=te.next}while(te!==null);return St.memoizedState=W,[W,k]}}return[St.memoizedState,k]}else{Yn=!0;var ke;u===Fc?ke=typeof h=="function"?h():h:ke=y!==void 0?y(h):h,Yn=!1,St.memoizedState=ke;var Oe=St.queue={last:null,dispatch:null},Le=Oe.dispatch=Jh.bind(null,pi,Oe);return[St.memoizedState,Le]}}function Xh(u,h){pi=Yr(),St=Vi();var y=h===void 0?null:h;if(St!==null){var S=St.memoizedState;if(S!==null&&y!==null){var k=S[1];if(hb(y,k))return S[0]}}Yn=!0;var M=u();return Yn=!1,St.memoizedState=[M,y],M}function Rf(u){pi=Yr(),St=Vi();var h=St.memoizedState;if(h===null){var y={current:u};return Object.seal(y),St.memoizedState=y,y}else return h}function yb(u,h){Kn="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 Jh(u,h,y){if(ji>=Uc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(u===pi){Ra=!0;var S={action:y,next:null};dt===null&&(dt=new Map);var k=dt.get(h);if(k===void 0)dt.set(h,S);else{for(var M=k;M.next!==null;)M=M.next;M.next=S}}}function Yh(u,h){return Xh(function(){return u},h)}function bb(u,h,y){return Yr(),h(u._source)}function vb(u,h,y){if(y===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return y()}function xb(u){return Yr(),u}function Db(){throw new Error("startTransition cannot be called during server rendering.")}function wb(){return Yr(),[!1,Db]}function Sb(){var u=Af,h=sb(u.treeContext),y=Of;if(y===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var S=_o++;return Mt(y,h,S)}function Rc(){}var Kh={readContext:gb,useContext:mb,useMemo:Xh,useReducer:Gh,useRef:Rf,useState:Ff,useInsertionEffect:Rc,useLayoutEffect:yb,useCallback:Yh,useImperativeHandle:Rc,useEffect:Rc,useDebugValue:Rc,useDeferredValue:xb,useTransition:wb,useId:Sb,useMutableSource:bb,useSyncExternalStore:vb},Of=null;function Zh(u){Of=u}function Oc(u){try{var h="",y=u;do{switch(y.tag){case 0:h+=Ls(y.type,null,null);break;case 1:h+=Ws(y.type,null,null);break;case 2:h+=Df(y.type,null,null);break}y=y.parent}while(y);return h}catch(S){return`
311
+ Error generating stack: `+S.message+`
312
+ `+S.stack}}var Ic=n.ReactCurrentDispatcher,Zs=n.ReactDebugCurrentFrame,Bc=0,Oa=1,Mc=2,Nc=3,Pc=4,Ia=0,If=1,Eo=2,Qh=12800;function Tb(u){return console.error(u),null}function Ba(){}function Ma(u,h,y,S,k,M,W,te,ge){var ke=[],Oe=new Set,Le={destination:null,responseState:h,progressiveChunkSize:S===void 0?Qh:S,status:Ia,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Oe,pingedTasks:ke,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:k===void 0?Tb:k,onAllReady:Ba,onShellReady:W===void 0?Ba:W,onShellError:Ba,onFatalError:Ba},Ke=Lc(Le,0,null,y,!1,!1);Ke.parentFlushed=!0;var mt=ko(Le,u,null,Ke,Oe,zs,bc,ab);return ke.push(mt),Le}function _b(u,h){var y=u.pingedTasks;y.push(h),y.length===1&&a(function(){return Vf(u)})}function Cb(u,h){return{id:ha,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null}}function ko(u,h,y,S,k,M,W,te){u.allPendingTasks++,y===null?u.pendingRootTasks++:y.pendingTasks++;var ge={node:h,ping:function(){return _b(u,ge)},blockedBoundary:y,blockedSegment:S,abortSet:k,legacyContext:M,context:W,treeContext:te};return ge.componentStack=null,k.add(ge),ge}function Lc(u,h,y,S,k,M){return{status:Bc,id:-1,index:h,parentFlushed:!1,chunks:[],children:[],formatContext:S,boundary:y,lastPushedText:k,textEmbedded:M}}var gi=null;function Bf(){return gi===null||gi.componentStack===null?"":Oc(gi.componentStack)}function Ao(u,h){u.componentStack={tag:0,parent:u.componentStack,type:h}}function Qs(u,h){u.componentStack={tag:1,parent:u.componentStack,type:h}}function mi(u,h){u.componentStack={tag:2,parent:u.componentStack,type:h}}function Kr(u){u.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):u.componentStack=u.componentStack.parent}var yi=null;function Wc(u,h){{var y;typeof h=="string"?y=h:h&&typeof h.message=="string"?y=h.message:y=String(h);var S=yi||Bf();yi=null,u.errorMessage=y,u.errorComponentStack=S}}function el(u,h){var y=u.onError(h);if(y!=null&&typeof y!="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 y+'" instead');return y}function Fr(u,h){var y=u.onShellError;y(h);var S=u.onFatalError;S(h),u.destination!==null?(u.status=Eo,m(u.destination,h)):(u.status=If,u.fatalError=h)}function tl(u,h,y){Ao(h,"Suspense");var S=h.blockedBoundary,k=h.blockedSegment,M=y.fallback,W=y.children,te=new Set,ge=Cb(u,te),ke=k.chunks.length,Oe=Lc(u,ke,ge,k.formatContext,!1,!1);k.children.push(Oe),k.lastPushedText=!1;var Le=Lc(u,0,null,k.formatContext,!1,!1);Le.parentFlushed=!0,h.blockedBoundary=ge,h.blockedSegment=Le;try{if(yn(u,h,W),Uh(Le.chunks,u.responseState,Le.lastPushedText,Le.textEmbedded),Le.status=Oa,Na(ge,Le),ge.pendingTasks===0){Kr(h);return}}catch(mt){Le.status=Pc,ge.forceClientRender=!0,ge.errorDigest=el(u,mt),Wc(ge,mt)}finally{h.blockedBoundary=S,h.blockedSegment=k}var Ke=ko(u,M,S,Oe,te,h.legacyContext,h.context,h.treeContext);Ke.componentStack=h.componentStack,u.pingedTasks.push(Ke),Kr(h)}function Mf(u,h,y,S){Ao(h,y);var k=h.blockedSegment,M=Ar(k.chunks,y,S,u.responseState,k.formatContext);k.lastPushedText=!1;var W=k.formatContext;k.formatContext=da(W,y,S),yn(u,h,M),k.formatContext=W,bt(k.chunks,y),k.lastPushedText=!1,Kr(h)}function nl(u){return u.prototype&&u.prototype.isReactComponent}function rl(u,h,y,S,k){var M={};Co(h,M);var W=y(S,k);return pb(y,S,W,k)}function ep(u,h,y,S,k){var M=y.render();y.props!==k&&(Pf||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Ct(S)||"a component"),Pf=!0);{var W=S.childContextTypes;if(W!=null){var te=h.legacyContext,ge=Ph(y,S,te,W);h.legacyContext=ge,Zn(u,h,M),h.legacyContext=te;return}}Zn(u,h,M)}function Eb(u,h,y,S){mi(h,y);var k=js(y,h.legacyContext),M=jh(y,S,k);qh(M,y,S,k),ep(u,h,M,y,S),Kr(h)}var tp={},il={},Nf={},np={},Pf=!1,ol={},Lf=!1,Wf=!1,$f=!1;function rp(u,h,y,S){var k;if(k=js(y,h.legacyContext),Qs(h,y),y.prototype&&typeof y.prototype.render=="function"){var M=Ct(y)||"Unknown";tp[M]||(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.",M,M),tp[M]=!0)}var W=rl(u,h,y,S,k),te=Uf();if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){var ge=Ct(y)||"Unknown";il[ge]||(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.",ge,ge,ge),il[ge]=!0)}if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){{var ke=Ct(y)||"Unknown";il[ke]||(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.",ke,ke,ke),il[ke]=!0)}qh(W,y,S,k),ep(u,h,W,y,S)}else if(ip(y),te){var Oe=h.treeContext,Le=1,Ke=0;h.treeContext=Ef(Oe,Le,Ke);try{Zn(u,h,W)}finally{h.treeContext=Oe}}else Zn(u,h,W);Kr(h)}function ip(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=Ct(u)||"Unknown";ol[h]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",h),ol[h]=!0)}if(typeof u.getDerivedStateFromProps=="function"){var y=Ct(u)||"Unknown";np[y]||(i("%s: Function components do not support getDerivedStateFromProps.",y),np[y]=!0)}if(typeof u.contextType=="object"&&u.contextType!==null){var S=Ct(u)||"Unknown";Nf[S]||(i("%s: Function components do not support contextType.",S),Nf[S]=!0)}}}function zf(u,h){if(u&&u.defaultProps){var y=kn({},h),S=u.defaultProps;for(var k in S)y[k]===void 0&&(y[k]=S[k]);return y}return h}function op(u,h,y,S,k){Qs(h,y.render);var M=rl(u,h,y.render,S,k),W=Uf();if(W){var te=h.treeContext,ge=1,ke=0;h.treeContext=Ef(te,ge,ke);try{Zn(u,h,M)}finally{h.treeContext=te}}else Zn(u,h,M);Kr(h)}function kb(u,h,y,S,k){var M=y.type,W=zf(M,S);jf(u,h,M,W,k)}function Ab(u,h,y,S){y._context===void 0?y!==y.Consumer&&($f||($f=!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?"))):y=y._context;var k=S.children;typeof k!="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 M=zi(y),W=k(M);Zn(u,h,W)}function ap(u,h,y,S){var k=y._context,M=S.value,W=S.children,te;te=h.context,h.context=Lh(k,M),Zn(u,h,W),h.context=Wh(k),te!==h.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Ub(u,h,y,S,k){Ao(h,"Lazy");var M=y._payload,W=y._init,te=W(M),ge=zf(te,S);jf(u,h,te,ge,k),Kr(h)}function jf(u,h,y,S,k){if(typeof y=="function")if(nl(y)){Eb(u,h,y,S);return}else{rp(u,h,y,S);return}if(typeof y=="string"){Mf(u,h,y,S);return}switch(y){case df:case ff:case Xn:case Rh:case sc:{Zn(u,h,S.children);return}case Ms:{Ao(h,"SuspenseList"),Zn(u,h,S.children),Kr(h);return}case uf:throw new Error("ReactDOMServer does not yet support scope components.");case fc:{tl(u,h,S);return}}if(typeof y=="object"&&y!==null)switch(y.$$typeof){case uc:{op(u,h,y,S,k);return}case Ns:{kb(u,h,y,S,k);return}case lc:{ap(u,h,y,S);return}case cc:{Ab(u,h,y,S);return}case Ea:{Ub(u,h,y,S);return}}var M="";throw(y===void 0||typeof y=="object"&&y!==null&&Object.keys(y).length===0)&&(M+=" 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: "+(y==null?y:typeof y)+"."+M))}function Fb(u,h){typeof Symbol=="function"&&u[Symbol.toStringTag]==="Generator"&&(Lf||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."),Lf=!0),u.entries===h&&(Wf||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Wf=!0)}function Zn(u,h,y){try{return Rb(u,h,y)}catch(S){throw typeof S=="object"&&S!==null&&typeof S.then=="function"||(yi=yi!==null?yi:Bf()),S}}function Rb(u,h,y){if(h.node=y,typeof y=="object"&&y!==null){switch(y.$$typeof){case Qy:{var S=y,k=S.type,M=S.props,W=S.ref;jf(u,h,k,M,W);return}case Fh: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 Ea:{var te=y,ge=te._payload,ke=te._init,Oe;try{Oe=ke(ge)}catch(Pa){throw typeof Pa=="object"&&Pa!==null&&typeof Pa.then=="function"&&Ao(h,"Lazy"),Pa}Zn(u,h,Oe);return}}if(or(y)){$c(u,h,y);return}var Le=tb(y);if(Le){Fb(y,Le);var Ke=Le.call(y);if(Ke){var mt=Ke.next();if(!mt.done){var Jt=[];do Jt.push(mt.value),mt=Ke.next();while(!mt.done);$c(u,h,Jt);return}return}}var Fo=Object.prototype.toString.call(y);throw new Error("Objects are not valid as a React child (found: "+(Fo==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":Fo)+"). If you meant to render a collection of children, use an array instead.")}if(typeof y=="string"){var Ro=h.blockedSegment;Ro.lastPushedText=Ah(h.blockedSegment.chunks,y,u.responseState,Ro.lastPushedText);return}if(typeof y=="number"){var bi=h.blockedSegment;bi.lastPushedText=Ah(h.blockedSegment.chunks,""+y,u.responseState,bi.lastPushedText);return}typeof y=="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 $c(u,h,y){for(var S=y.length,k=0;k<S;k++){var M=h.treeContext;h.treeContext=Ef(M,S,k);try{yn(u,h,y[k])}finally{h.treeContext=M}}}function Ob(u,h,y){var S=h.blockedSegment,k=S.chunks.length,M=Lc(u,k,null,S.formatContext,S.lastPushedText,!0);S.children.push(M),S.lastPushedText=!1;var W=ko(u,h.node,h.blockedBoundary,M,h.abortSet,h.legacyContext,h.context,h.treeContext);h.componentStack!==null&&(W.componentStack=h.componentStack.parent);var te=W.ping;y.then(te,te)}function yn(u,h,y){var S=h.blockedSegment.formatContext,k=h.legacyContext,M=h.context,W=null;W=h.componentStack;try{return Zn(u,h,y)}catch(te){if(Ks(),typeof te=="object"&&te!==null&&typeof te.then=="function"){Ob(u,h,te),h.blockedSegment.formatContext=S,h.legacyContext=k,h.context=M,Hs(M),h.componentStack=W;return}else throw h.blockedSegment.formatContext=S,h.legacyContext=k,h.context=M,Hs(M),h.componentStack=W,te}}function Ib(u,h,y,S){var k=el(u,S);if(h===null?Fr(u,S):(h.pendingTasks--,h.forceClientRender||(h.forceClientRender=!0,h.errorDigest=k,Wc(h,S),h.parentFlushed&&u.clientRenderedBoundaries.push(h))),u.allPendingTasks--,u.allPendingTasks===0){var M=u.onAllReady;M()}}function sp(u){var h=this,y=u.blockedBoundary,S=u.blockedSegment;S.status=Nc,cp(h,y,S)}function lp(u,h,y){var S=u.blockedBoundary,k=u.blockedSegment;if(k.status=Nc,S===null)h.allPendingTasks--,h.status!==Eo&&(h.status=Eo,h.destination!==null&&d(h.destination));else{if(S.pendingTasks--,!S.forceClientRender){S.forceClientRender=!0;var M=y===void 0?new Error("The render was aborted by the server without a reason."):y;S.errorDigest=h.onError(M);{var W="The server did not finish this Suspense boundary: ";M&&typeof M.message=="string"?M=W+M.message:M=W+String(M);var te=gi;gi=u;try{Wc(S,M)}finally{gi=te}}S.parentFlushed&&h.clientRenderedBoundaries.push(S)}if(S.fallbackAbortableTasks.forEach(function(ke){return lp(ke,h,y)}),S.fallbackAbortableTasks.clear(),h.allPendingTasks--,h.allPendingTasks===0){var ge=h.onAllReady;ge()}}}function Na(u,h){if(h.chunks.length===0&&h.children.length===1&&h.children[0].boundary===null){var y=h.children[0];y.id=h.id,y.parentFlushed=!0,y.status===Oa&&Na(u,y)}else{var S=u.completedSegments;S.push(h)}}function cp(u,h,y){if(h===null){if(y.parentFlushed){if(u.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");u.completedRootSegment=y}if(u.pendingRootTasks--,u.pendingRootTasks===0){u.onShellError=Ba;var S=u.onShellReady;S()}}else if(h.pendingTasks--,!h.forceClientRender){if(h.pendingTasks===0)y.parentFlushed&&y.status===Oa&&Na(h,y),h.parentFlushed&&u.completedBoundaries.push(h),h.fallbackAbortableTasks.forEach(sp,u),h.fallbackAbortableTasks.clear();else if(y.parentFlushed&&y.status===Oa){Na(h,y);var k=h.completedSegments;k.length===1&&h.parentFlushed&&u.partialBoundaries.push(h)}}if(u.allPendingTasks--,u.allPendingTasks===0){var M=u.onAllReady;M()}}function Bb(u,h){var y=h.blockedSegment;if(y.status===Bc){Hs(h.context);var S=null;S=gi,gi=h;try{Zn(u,h,h.node),Uh(y.chunks,u.responseState,y.lastPushedText,y.textEmbedded),h.abortSet.delete(h),y.status=Oa,cp(u,h.blockedBoundary,y)}catch(M){if(Ks(),typeof M=="object"&&M!==null&&typeof M.then=="function"){var k=h.ping;M.then(k,k)}else h.abortSet.delete(h),y.status=Pc,Ib(u,h.blockedBoundary,y,M)}finally{gi=S}}}function Vf(u){if(u.status!==Eo){var h=$h(),y=Ic.current;Ic.current=Kh;var S;S=Zs.getCurrentStack,Zs.getCurrentStack=Bf;var k=Of;Zh(u.responseState);try{var M=u.pingedTasks,W;for(W=0;W<M.length;W++){var te=M[W];Bb(u,te)}M.splice(0,W),u.destination!==null&&jc(u,u.destination)}catch(ge){el(u,ge),Fr(u,ge)}finally{Zh(k),Ic.current=y,Zs.getCurrentStack=S,y===Kh&&Hs(h)}}}function Uo(u,h,y){switch(y.parentFlushed=!0,y.status){case Bc:{var S=y.id=u.nextSegmentId++;return y.lastPushedText=!1,y.textEmbedded=!1,Xr(h,u.responseState,S)}case Oa:{y.status=Mc;for(var k=!0,M=y.chunks,W=0,te=y.children,ge=0;ge<te.length;ge++){for(var ke=te[ge];W<ke.index;W++)l(h,M[W]);k=al(u,h,ke)}for(;W<M.length-1;W++)l(h,M[W]);return W<M.length&&(k=c(h,M[W])),k}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function al(u,h,y){var S=y.boundary;if(S===null)return Uo(u,h,y);if(S.parentFlushed=!0,S.forceClientRender)return Yy(h,u.responseState,S.errorDigest,S.errorMessage,S.errorComponentStack),Uo(u,h,y),Zy(h,u.responseState);if(S.pendingTasks>0){S.rootSegmentID=u.nextSegmentId++,S.completedSegments.length>0&&u.partialBoundaries.push(S);var k=S.id=Er(u.responseState);return vo(h,u.responseState,k),Uo(u,h,y),Pi(h,u.responseState)}else{if(S.byteSize>u.progressiveChunkSize)return S.rootSegmentID=u.nextSegmentId++,u.completedBoundaries.push(S),vo(h,u.responseState,S.id),Uo(u,h,y),Pi(h,u.responseState);Jy(h,u.responseState);var M=S.completedSegments;if(M.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var W=M[0];return al(u,h,W),Ky(h,u.responseState)}}function Mb(u,h,y){return Hy(h,u.responseState,y.id,y.errorDigest,y.errorMessage,y.errorComponentStack)}function Hf(u,h,y){return Bs(h,u.responseState,y.formatContext,y.id),al(u,h,y),oc(h,y.formatContext)}function sl(u,h,y){for(var S=y.completedSegments,k=0;k<S.length;k++){var M=S[k];up(u,h,y,M)}return S.length=0,mn(h,u.responseState,y.id,y.rootSegmentID)}function zc(u,h,y){for(var S=y.completedSegments,k=0;k<S.length;k++){var M=S[k];if(!up(u,h,y,M))return k++,S.splice(0,k),!1}return S.splice(0,k),!0}function up(u,h,y,S){if(S.status===Mc)return!0;var k=S.id;if(k===-1){var M=S.id=y.rootSegmentID;if(M===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Hf(u,h,S)}else return Hf(u,h,S),Be(h,u.responseState,k)}function jc(u,h){try{var y=u.completedRootSegment;y!==null&&u.pendingRootTasks===0&&(al(u,h,y),u.completedRootSegment=null,di(h,u.responseState));var S=u.clientRenderedBoundaries,k;for(k=0;k<S.length;k++){var M=S[k];if(!Mb(u,h,M)){u.destination=null,k++,S.splice(0,k);return}}S.splice(0,k);var W=u.completedBoundaries;for(k=0;k<W.length;k++){var te=W[k];if(!sl(u,h,te)){u.destination=null,k++,W.splice(0,k);return}}W.splice(0,k);var ge=u.partialBoundaries;for(k=0;k<ge.length;k++){var ke=ge[k];if(!zc(u,h,ke)){u.destination=null,k++,ge.splice(0,k);return}}ge.splice(0,k);var Oe=u.completedBoundaries;for(k=0;k<Oe.length;k++){var Le=Oe[k];if(!sl(u,h,Le)){u.destination=null,k++,Oe.splice(0,k);return}}Oe.splice(0,k)}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 fp(u){a(function(){return Vf(u)})}function Nb(u,h){if(u.status===If){u.status=Eo,m(h,u.fatalError);return}if(u.status!==Eo&&u.destination===null){u.destination=h;try{jc(u,h)}catch(y){el(u,y),Fr(u,y)}}}function dp(u,h){try{var y=u.abortableTasks;y.forEach(function(S){return lp(S,u,h)}),y.clear(),u.destination!==null&&jc(u,u.destination)}catch(S){el(u,S),Fr(u,S)}}function qf(){}function hp(u,h,y,S){var k=!1,M=null,W="",te={push:function(Le){return Le!==null&&(W+=Le),!0},destroy:function(Le){k=!0,M=Le}},ge=!1;function ke(){ge=!0}var Oe=Ma(u,Gy(y,h?h.identifierPrefix:void 0),Xy(),1/0,qf,void 0,ke);if(fp(Oe),dp(Oe,S),Nb(Oe,te),k)throw M;if(!ge)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 W}function Pb(u,h){return hp(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 pp(u,h){return hp(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 Lb(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function b(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}ul.renderToNodeStream=Lb,ul.renderToStaticMarkup=pp,ul.renderToStaticNodeStream=b,ul.renderToString=Pb,ul.version=e}()),ul}var Np={};/**
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 ok;function YY(){return ok||(ok=1,process.env.NODE_ENV!=="production"&&function(){var t=gt,e="18.3.1",n=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(b){{for(var u=arguments.length,h=new Array(u>1?u-1:0),y=1;y<u;y++)h[y-1]=arguments[y];o("warn",b,h)}}function i(b){{for(var u=arguments.length,h=new Array(u>1?u-1:0),y=1;y<u;y++)h[y-1]=arguments[y];o("error",b,h)}}function o(b,u,h){{var y=n.ReactDebugCurrentFrame,S=y.getStackAddendum();S!==""&&(u+="%s",h=h.concat([S]));var k=h.map(function(M){return String(M)});k.unshift("Warning: "+u),Function.prototype.apply.call(console[b],console,k)}}function a(b){b()}var s=512,l=null,c=0;function f(b){l=new Uint8Array(s),c=0}function d(b,u){if(u.length!==0){if(u.length>s){c>0&&(b.enqueue(new Uint8Array(l.buffer,0,c)),l=new Uint8Array(s),c=0),b.enqueue(u);return}var h=u,y=l.length-c;y<h.length&&(y===0?b.enqueue(l):(l.set(h.subarray(0,y),c),b.enqueue(l),h=h.subarray(y)),l=new Uint8Array(s),c=0),l.set(h,c),c+=h.length}}function p(b,u){return d(b,u),!0}function g(b){l&&c>0&&(b.enqueue(new Uint8Array(l.buffer,0,c)),l=null,c=0)}function m(b){b.close()}var v=new TextEncoder;function x(b){return v.encode(b)}function D(b){return v.encode(b)}function w(b,u){typeof b.error=="function"?b.error(u):b.close()}function C(b){{var u=typeof Symbol=="function"&&Symbol.toStringTag,h=u&&b[Symbol.toStringTag]||b.constructor.name||"Object";return h}}function R(b){try{return U(b),!1}catch{return!0}}function U(b){return""+b}function I(b,u){if(R(b))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,C(b)),U(b)}function N(b,u){if(R(b))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,C(b)),U(b)}function V(b){if(R(b))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.",C(b)),U(b)}var j=Object.prototype.hasOwnProperty,oe=0,ue=1,F=2,X=3,E=4,re=5,z=6,J=":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",Y=J+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",G=new RegExp("^["+J+"]["+Y+"]*$"),ae={},H={};function P(b){return j.call(H,b)?!0:j.call(ae,b)?!1:G.test(b)?(H[b]=!0,!0):(ae[b]=!0,i("Invalid attribute name: `%s`",b),!1)}function he(b,u,h,y){if(h!==null&&h.type===oe)return!1;switch(typeof u){case"function":case"symbol":return!0;case"boolean":{if(h!==null)return!h.acceptsBooleans;var S=b.toLowerCase().slice(0,5);return S!=="data-"&&S!=="aria-"}default:return!1}}function Se(b){return Ae.hasOwnProperty(b)?Ae[b]:null}function ye(b,u,h,y,S,k,M){this.acceptsBooleans=u===F||u===X||u===E,this.attributeName=y,this.attributeNamespace=S,this.mustUseProperty=h,this.propertyName=b,this.type=u,this.sanitizeURL=k,this.removeEmptyString=M}var Ae={},je=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];je.forEach(function(b){Ae[b]=new ye(b,oe,!1,b,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(b){var u=b[0],h=b[1];Ae[u]=new ye(u,ue,!1,h,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(b){Ae[b]=new ye(b,F,!1,b.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(b){Ae[b]=new ye(b,F,!1,b,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(b){Ae[b]=new ye(b,X,!1,b.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(b){Ae[b]=new ye(b,X,!0,b,null,!1,!1)}),["capture","download"].forEach(function(b){Ae[b]=new ye(b,E,!1,b,null,!1,!1)}),["cols","rows","size","span"].forEach(function(b){Ae[b]=new ye(b,z,!1,b,null,!1,!1)}),["rowSpan","start"].forEach(function(b){Ae[b]=new ye(b,re,!1,b.toLowerCase(),null,!1,!1)});var $e=/[\-\:]([a-z])/g,ze=function(b){return b[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(b){var u=b.replace($e,ze);Ae[u]=new ye(u,ue,!1,b,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(b){var u=b.replace($e,ze);Ae[u]=new ye(u,ue,!1,b,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(b){var u=b.replace($e,ze);Ae[u]=new ye(u,ue,!1,b,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(b){Ae[b]=new ye(b,ue,!1,b.toLowerCase(),null,!1,!1)});var Ze="xlinkHref";Ae[Ze]=new ye("xlinkHref",ue,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(b){Ae[b]=new ye(b,ue,!1,b.toLowerCase(),null,!0,!0)});var se={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 Ue(b,u){return b+u.charAt(0).toUpperCase()+u.substring(1)}var _e=["Webkit","ms","Moz","O"];Object.keys(se).forEach(function(b){_e.forEach(function(u){se[Ue(u,b)]=se[b]})});var A={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function de(b,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 ce(b,u){if(b.indexOf("-")===-1)return typeof u.is=="string";switch(b){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 K={"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},q={},ie=new RegExp("^(aria)-["+Y+"]*$"),we=new RegExp("^(aria)[A-Z]["+Y+"]*$");function Ee(b,u){{if(j.call(q,u)&&q[u])return!0;if(we.test(u)){var h="aria-"+u.slice(4).toLowerCase(),y=K.hasOwnProperty(h)?h:null;if(y==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",u),q[u]=!0,!0;if(u!==y)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",u,y),q[u]=!0,!0}if(ie.test(u)){var S=u.toLowerCase(),k=K.hasOwnProperty(S)?S:null;if(k==null)return q[u]=!0,!1;if(u!==k)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",u,k),q[u]=!0,!0}}return!0}function fe(b,u){{var h=[];for(var y in u){var S=Ee(b,y);S||h.push(y)}var k=h.map(function(M){return"`"+M+"`"}).join(", ");h.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",k,b):h.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",k,b)}}function ee(b,u){ce(b,u)||fe(b,u)}var ne=!1;function le(b,u){{if(b!=="input"&&b!=="textarea"&&b!=="select")return;u!=null&&u.value===null&&!ne&&(ne=!0,b==="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.",b):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",b))}}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"},Ne=function(){};{var Pe={},Ge=/^on./,He=/^on[^A-Z]/,et=new RegExp("^(aria)-["+Y+"]*$"),ct=new RegExp("^(aria)[A-Z]["+Y+"]*$");Ne=function(b,u,h,y){if(j.call(Pe,u)&&Pe[u])return!0;var S=u.toLowerCase();if(S==="onfocusin"||S==="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."),Pe[u]=!0,!0;if(y!=null){var k=y.registrationNameDependencies,M=y.possibleRegistrationNames;if(k.hasOwnProperty(u))return!0;var W=M.hasOwnProperty(S)?M[S]:null;if(W!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",u,W),Pe[u]=!0,!0;if(Ge.test(u))return i("Unknown event handler property `%s`. It will be ignored.",u),Pe[u]=!0,!0}else if(Ge.test(u))return He.test(u)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",u),Pe[u]=!0,!0;if(et.test(u)||ct.test(u))return!0;if(S==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Pe[u]=!0,!0;if(S==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Pe[u]=!0,!0;if(S==="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),Pe[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),Pe[u]=!0,!0;var te=Se(u),ge=te!==null&&te.type===oe;if(xe.hasOwnProperty(S)){var ke=xe[S];if(ke!==u)return i("Invalid DOM property `%s`. Did you mean `%s`?",u,ke),Pe[u]=!0,!0}else if(!ge&&u!==S)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,S),Pe[u]=!0,!0;return typeof h=="boolean"&&he(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),Pe[u]=!0,!0):ge?!0:he(u,h,te)?(Pe[u]=!0,!1):((h==="false"||h==="true")&&te!==null&&te.type===X&&(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),Pe[u]=!0),!0)}}var rt=function(b,u,h){{var y=[];for(var S in u){var k=Ne(b,S,u[S],h);k||y.push(S)}var M=y.map(function(W){return"`"+W+"`"}).join(", ");y.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 ",M,b):y.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 ",M,b)}};function Lt(b,u,h){ce(b,u)||rt(b,u,h)}var zn=function(){};{var It=/^(?:webkit|moz|o)[A-Z]/,Lr=/^-ms-/,Ai=/-(.)/g,Gt=/;\s*$/,Cn={},jn={},st=!1,fn=!1,Ui=function(b){return b.replace(Ai,function(u,h){return h.toUpperCase()})},li=function(b){Cn.hasOwnProperty(b)&&Cn[b]||(Cn[b]=!0,i("Unsupported style property %s. Did you mean %s?",b,Ui(b.replace(Lr,"ms-"))))},ir=function(b){Cn.hasOwnProperty(b)&&Cn[b]||(Cn[b]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",b,b.charAt(0).toUpperCase()+b.slice(1)))},Fi=function(b,u){jn.hasOwnProperty(u)&&jn[u]||(jn[u]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,b,u.replace(Gt,"")))},Cr=function(b,u){st||(st=!0,i("`NaN` is an invalid value for the `%s` css style property.",b))},Wt=function(b,u){fn||(fn=!0,i("`Infinity` is an invalid value for the `%s` css style property.",b))};zn=function(b,u){b.indexOf("-")>-1?li(b):It.test(b)?ir(b):Gt.test(u)&&Fi(b,u),typeof u=="number"&&(isNaN(u)?Cr(b,u):isFinite(u)||Wt(b,u))}}var po=zn,go=/["'&<>]/;function fa(b){V(b);var u=""+b,h=go.exec(u);if(!h)return u;var y,S="",k,M=0;for(k=h.index;k<u.length;k++){switch(u.charCodeAt(k)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}M!==k&&(S+=u.substring(M,k)),M=k+1,S+=y}return M!==k?S+u.substring(M,k):S}function Bt(b){return typeof b=="boolean"||typeof b=="number"?""+b:fa(b)}var mo=/([A-Z])/g,ks=/^ms-/;function As(b){return b.replace(mo,"-$1").toLowerCase().replace(ks,"-ms-")}var or=/^[\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,yo=!1;function Ri(b){!yo&&or.test(b)&&(yo=!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(b)))}var Wr=Array.isArray;function dn(b){return Wr(b)}var ar=D("<script>"),Oi=D("<\/script>"),$r=D('<script src="'),zr=D('<script type="module" src="'),sr=D('" async=""><\/script>');function jr(b){return V(b),(""+b).replace(hn,da)}var hn=/(<\/|<)(s)(cript)/gi,da=function(b,u,h,y){return""+u+(h==="s"?"\\u0073":"\\u0053")+y};function ha(b,u,h,y,S){var k=b===void 0?"":b,M=u===void 0?ar:D('<script nonce="'+Bt(u)+'">'),W=[];if(h!==void 0&&W.push(M,x(jr(h)),Oi),y!==void 0)for(var te=0;te<y.length;te++)W.push($r,x(Bt(y[te])),sr);if(S!==void 0)for(var ge=0;ge<S.length;ge++)W.push(zr,x(Bt(S[ge])),sr);return{bootstrapChunks:W,startInlineScript:M,placeholderPrefix:D(k+"P:"),segmentPrefix:D(k+"S:"),boundaryPrefix:k+"B:",idPrefix:k,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Er=0,Mt=1,lr=2,cr=3,Vr=4,Ii=5,Vn=6,ur=7;function Kt(b,u){return{insertionMode:b,selectedValue:u}}function Hr(b){var u=b==="http://www.w3.org/2000/svg"?lr:b==="http://www.w3.org/1998/Math/MathML"?cr:Er;return Kt(u,null)}function ci(b,u,h){switch(u){case"select":return Kt(Mt,h.value!=null?h.value:h.defaultValue);case"svg":return Kt(lr,null);case"math":return Kt(cr,null);case"foreignObject":return Kt(Mt,null);case"table":return Kt(Vr,null);case"thead":case"tbody":case"tfoot":return Kt(Ii,null);case"colgroup":return Kt(ur,null);case"tr":return Kt(Vn,null)}return b.insertionMode>=Vr||b.insertionMode===Er?Kt(Mt,null):b}var Bi=null;function En(b){var u=b.nextSuspenseID++;return D(b.boundaryPrefix+u.toString(16))}function fr(b,u,h){var y=b.idPrefix,S=":"+y+"R"+u;return h>0&&(S+="H"+h.toString(32)),S+":"}function Zt(b){return Bt(b)}var Mi=D("<!-- -->");function Vt(b,u,h,y){return u===""?y:(y&&b.push(Mi),b.push(x(Zt(u))),!0)}function pn(b,u,h,y){h&&y&&b.push(Mi)}var T=new Map;function B(b){var u=T.get(b);if(u!==void 0)return u;var h=D(Bt(As(b)));return T.set(b,h),h}var $=D(' style="'),Q=D(":"),be=D(";");function pe(b,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 y=!0;for(var S in h)if(j.call(h,S)){var k=h[S];if(!(k==null||typeof k=="boolean"||k==="")){var M=void 0,W=void 0,te=S.indexOf("--")===0;te?(M=x(Bt(S)),N(k,S),W=x(Bt((""+k).trim()))):(po(S,k),M=B(S),typeof k=="number"?k!==0&&!j.call(se,S)?W=x(k+"px"):W=x(""+k):(N(k,S),W=x(Bt((""+k).trim())))),y?(y=!1,b.push($,M,Q,W)):b.push(be,M,Q,W)}}y||b.push(Ve)}var Te=D(" "),Ie=D('="'),Ve=D('"'),Xe=D('=""');function qe(b,u,h,y){switch(h){case"style":{pe(b,u,y);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 S=Se(h);if(S!==null){switch(typeof y){case"function":case"symbol":return;case"boolean":if(!S.acceptsBooleans)return}var k=S.attributeName,M=x(k);switch(S.type){case X:y&&b.push(Te,M,Xe);return;case E:y===!0?b.push(Te,M,Xe):y===!1||b.push(Te,M,Ie,x(Bt(y)),Ve);return;case re:isNaN(y)||b.push(Te,M,Ie,x(Bt(y)),Ve);break;case z:!isNaN(y)&&y>=1&&b.push(Te,M,Ie,x(Bt(y)),Ve);break;default:S.sanitizeURL&&(I(y,k),y=""+y,Ri(y)),b.push(Te,M,Ie,x(Bt(y)),Ve)}}else if(P(h)){switch(typeof y){case"function":case"symbol":return;case"boolean":{var W=h.toLowerCase().slice(0,5);if(W!=="data-"&&W!=="aria-")return}}b.push(Te,x(h),Ie,x(Bt(y)),Ve)}}}var ft=D(">"),Qt=D("/>");function en(b,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 y=u.__html;y!=null&&(V(y),b.push(x(""+y)))}}var tn=!1,qr=!1,dr=!1,Ni=!1,Gr=!1,ui=!1,kr=!1;function fi(b,u){{var h=b[u];if(h!=null){var y=dn(h);b.multiple&&!y?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",u):!b.multiple&&y&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",u)}}}function tf(b,u,h){de("select",u),fi(u,"value"),fi(u,"defaultValue"),u.value!==void 0&&u.defaultValue!==void 0&&!dr&&(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"),dr=!0),b.push(Hn("select"));var y=null,S=null;for(var k in u)if(j.call(u,k)){var M=u[k];if(M==null)continue;switch(k){case"children":y=M;break;case"dangerouslySetInnerHTML":S=M;break;case"defaultValue":case"value":break;default:qe(b,h,k,M);break}}return b.push(ft),en(b,S,y),y}function nf(b){var u="";return t.Children.forEach(b,function(h){h!=null&&(u+=h,!Gr&&typeof h!="string"&&typeof h!="number"&&(Gr=!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 pa=D(' selected=""');function hr(b,u,h,y){var S=y.selectedValue;b.push(Hn("option"));var k=null,M=null,W=null,te=null;for(var ge in u)if(j.call(u,ge)){var ke=u[ge];if(ke==null)continue;switch(ge){case"children":k=ke;break;case"selected":W=ke,kr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),kr=!0);break;case"dangerouslySetInnerHTML":te=ke;break;case"value":M=ke;default:qe(b,h,ge,ke);break}}if(S!=null){var Oe;if(M!==null?(I(M,"value"),Oe=""+M):(te!==null&&(ui||(ui=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),Oe=nf(k)),dn(S))for(var Le=0;Le<S.length;Le++){I(S[Le],"value");var Ke=""+S[Le];if(Ke===Oe){b.push(pa);break}}else I(S,"select.value"),""+S===Oe&&b.push(pa)}else W&&b.push(pa);return b.push(ft),en(b,te,k),k}function rf(b,u,h){de("input",u),u.checked!==void 0&&u.defaultChecked!==void 0&&!qr&&(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),qr=!0),u.value!==void 0&&u.defaultValue!==void 0&&!tn&&(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),tn=!0),b.push(Hn("input"));var y=null,S=null,k=null,M=null;for(var W in u)if(j.call(u,W)){var te=u[W];if(te==null)continue;switch(W){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":M=te;break;case"defaultValue":S=te;break;case"checked":k=te;break;case"value":y=te;break;default:qe(b,h,W,te);break}}return k!==null?qe(b,h,"checked",k):M!==null&&qe(b,h,"checked",M),y!==null?qe(b,h,"value",y):S!==null&&qe(b,h,"value",S),b.push(Qt),null}function Ar(b,u,h){de("textarea",u),u.value!==void 0&&u.defaultValue!==void 0&&!Ni&&(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"),Ni=!0),b.push(Hn("textarea"));var y=null,S=null,k=null;for(var M in u)if(j.call(u,M)){var W=u[M];if(W==null)continue;switch(M){case"children":k=W;break;case"value":y=W;break;case"defaultValue":S=W;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:qe(b,h,M,W);break}}if(y===null&&S!==null&&(y=S),b.push(ft),k!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(dn(k)){if(k.length>1)throw new Error("<textarea> can only have at most one child.");V(k[0]),y=""+k[0]}V(k),y=""+k}return typeof y=="string"&&y[0]===`
321
+ `&&b.push(hi),y!==null&&(I(y,"value"),b.push(x(Zt(""+y)))),null}function Us(b,u,h,y){b.push(Hn(h));for(var S in u)if(j.call(u,S)){var k=u[S];if(k==null)continue;switch(S){case"children":case"dangerouslySetInnerHTML":throw new Error(h+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:qe(b,y,S,k);break}}return b.push(Qt),null}function ga(b,u,h){b.push(Hn("menuitem"));for(var y in u)if(j.call(u,y)){var S=u[y];if(S==null)continue;switch(y){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:qe(b,h,y,S);break}}return b.push(ft),null}function bt(b,u,h){b.push(Hn("title"));var y=null;for(var S in u)if(j.call(u,S)){var k=u[S];if(k==null)continue;switch(S){case"children":y=k;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:qe(b,h,S,k);break}}b.push(ft);{var M=Array.isArray(y)&&y.length<2?y[0]||null:y;Array.isArray(y)&&y.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"):M!=null&&M.$$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"):M!=null&&typeof M!="string"&&typeof M!="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 y}function di(b,u,h,y){b.push(Hn(h));var S=null,k=null;for(var M in u)if(j.call(u,M)){var W=u[M];if(W==null)continue;switch(M){case"children":S=W;break;case"dangerouslySetInnerHTML":k=W;break;default:qe(b,y,M,W);break}}return b.push(ft),en(b,k,S),typeof S=="string"?(b.push(x(Zt(S))),null):S}function ma(b,u,h,y){b.push(Hn(h));var S=null,k=null;for(var M in u)if(j.call(u,M)){var W=u[M];if(W==null)continue;switch(M){case"children":S=W;break;case"dangerouslySetInnerHTML":k=W;break;case"style":pe(b,y,W);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:P(M)&&typeof W!="function"&&typeof W!="symbol"&&b.push(Te,x(M),Ie,x(Bt(W)),Ve);break}}return b.push(ft),en(b,k,S),S}var hi=D(`
322
+ `);function Xr(b,u,h,y){b.push(Hn(h));var S=null,k=null;for(var M in u)if(j.call(u,M)){var W=u[M];if(W==null)continue;switch(M){case"children":S=W;break;case"dangerouslySetInnerHTML":k=W;break;default:qe(b,y,M,W);break}}if(b.push(ft),k!=null){if(S!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof k!="object"||!("__html"in k))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=k.__html;te!=null&&(typeof te=="string"&&te.length>0&&te[0]===`
323
+ `?b.push(hi,x(te)):(V(te),b.push(x(""+te))))}return typeof S=="string"&&S[0]===`
324
+ `&&b.push(hi),S}var ya=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Jr=new Map;function Hn(b){var u=Jr.get(b);if(u===void 0){if(!ya.test(b))throw new Error("Invalid tag: "+b);u=D("<"+b),Jr.set(b,u)}return u}var Fs=D("<!DOCTYPE html>");function bo(b,u,h,y,S){switch(ee(u,h),le(u,h),Lt(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."),S.insertionMode!==lr&&S.insertionMode!==cr&&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 tf(b,h,y);case"option":return hr(b,h,y,S);case"textarea":return Ar(b,h,y);case"input":return rf(b,h,y);case"menuitem":return ga(b,h,y);case"title":return bt(b,h,y);case"listing":case"pre":return Xr(b,h,u,y);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 Us(b,h,u,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 di(b,h,u,y);case"html":return S.insertionMode===Er&&b.push(Fs),di(b,h,u,y);default:return u.indexOf("-")===-1&&typeof h.is!="string"?di(b,h,u,y):ma(b,h,u,y)}}var ql=D("</"),ba=D(">");function Gl(b,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:b.push(ql,x(u),ba)}}function of(b,u){for(var h=u.bootstrapChunks,y=0;y<h.length-1;y++)d(b,h[y]);return y<h.length?p(b,h[y]):!0}var af=D('<template id="'),va=D('"></template>');function Xl(b,u,h){d(b,af),d(b,u.placeholderPrefix);var y=x(h.toString(16));return d(b,y),p(b,va)}var vo=D("<!--$-->"),Rs=D('<!--$?--><template id="'),sf=D('"></template>'),Pi=D("<!--$!-->"),Os=D("<!--/$-->"),Is=D("<template"),Li=D('"'),xo=D(' data-dgst="'),xa=D(' data-msg="'),Jl=D(' data-stck="'),Yl=D("></template>");function Kl(b,u){return p(b,vo)}function Da(b,u,h){if(d(b,Rs),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(b,h),p(b,sf)}function gn(b,u,h,y,S){var k;return k=p(b,Pi),d(b,Is),h&&(d(b,xo),d(b,x(Bt(h))),d(b,Li)),y&&(d(b,xa),d(b,x(Bt(y))),d(b,Li)),S&&(d(b,Jl),d(b,x(Bt(S))),d(b,Li)),k=p(b,Yl),k}function Zl(b,u){return p(b,Os)}function wa(b,u){return p(b,Os)}function lf(b,u){return p(b,Os)}var Ql=D('<div hidden id="'),Sa=D('">'),ec=D("</div>"),tc=D('<svg aria-hidden="true" style="display:none" id="'),Ta=D('">'),_a=D("</svg>"),nc=D('<math aria-hidden="true" style="display:none" id="'),rc=D('">'),ic=D("</math>"),Bs=D('<table hidden id="'),oc=D('">'),_=D("</table>"),O=D('<table hidden><tbody id="'),L=D('">'),Z=D("</tbody></table>"),ve=D('<table hidden><tr id="'),me=D('">'),Ce=D("</tr></table>"),Be=D('<table hidden><colgroup id="'),Je=D('">'),nt=D("</colgroup></table>");function Qe(b,u,h,y){switch(h.insertionMode){case Er:case Mt:return d(b,Ql),d(b,u.segmentPrefix),d(b,x(y.toString(16))),p(b,Sa);case lr:return d(b,tc),d(b,u.segmentPrefix),d(b,x(y.toString(16))),p(b,Ta);case cr:return d(b,nc),d(b,u.segmentPrefix),d(b,x(y.toString(16))),p(b,rc);case Vr:return d(b,Bs),d(b,u.segmentPrefix),d(b,x(y.toString(16))),p(b,oc);case Ii:return d(b,O),d(b,u.segmentPrefix),d(b,x(y.toString(16))),p(b,L);case Vn:return d(b,ve),d(b,u.segmentPrefix),d(b,x(y.toString(16))),p(b,me);case ur:return d(b,Be),d(b,u.segmentPrefix),d(b,x(y.toString(16))),p(b,Je);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Dt(b,u){switch(u.insertionMode){case Er:case Mt:return p(b,ec);case lr:return p(b,_a);case cr:return p(b,ic);case Vr:return p(b,_);case Ii:return p(b,Z);case Vn:return p(b,Ce);case ur:return p(b,nt);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var mn="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)}",qn='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()}}',Gn='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())}',Ca=D(mn+';$RS("'),ac=D('$RS("'),Do=D('","'),Hy=D('")<\/script>');function qy(b,u,h){d(b,u.startInlineScript),u.sentCompleteSegmentFunction?d(b,ac):(u.sentCompleteSegmentFunction=!0,d(b,Ca)),d(b,u.segmentPrefix);var y=x(h.toString(16));return d(b,y),d(b,Do),d(b,u.placeholderPrefix),d(b,y),p(b,Hy)}var cf=D(qn+';$RC("'),Gy=D('$RC("'),Xy=D('","'),Ah=D('")<\/script>');function Uh(b,u,h,y){if(d(b,u.startInlineScript),u.sentCompleteBoundaryFunction?d(b,Gy):(u.sentCompleteBoundaryFunction=!0,d(b,cf)),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var S=x(y.toString(16));return d(b,h),d(b,Xy),d(b,u.segmentPrefix),d(b,S),p(b,Ah)}var Jy=D(Gn+';$RX("'),Yy=D('$RX("'),Ky=D('"'),Zy=D(")<\/script>"),kn=D(",");function Qy(b,u,h,y,S,k){if(d(b,u.startInlineScript),u.sentClientRenderFunction?d(b,Yy):(u.sentClientRenderFunction=!0,d(b,Jy)),h===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return d(b,h),d(b,Ky),(y||S||k)&&(d(b,kn),d(b,x(sc(y||"")))),(S||k)&&(d(b,kn),d(b,x(sc(S||"")))),k&&(d(b,kn),d(b,x(sc(k)))),p(b,Zy)}var Fh=/[<\u2028\u2029]/g;function sc(b){var u=JSON.stringify(b);return u.replace(Fh,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 Xn=Object.assign,Rh=Symbol.for("react.element"),lc=Symbol.for("react.portal"),cc=Symbol.for("react.fragment"),uc=Symbol.for("react.strict_mode"),fc=Symbol.for("react.profiler"),Ms=Symbol.for("react.provider"),Ns=Symbol.for("react.context"),Ea=Symbol.for("react.forward_ref"),uf=Symbol.for("react.suspense"),ff=Symbol.for("react.suspense_list"),df=Symbol.for("react.memo"),dc=Symbol.for("react.lazy"),Oh=Symbol.for("react.scope"),eb=Symbol.for("react.debug_trace_mode"),tb=Symbol.for("react.legacy_hidden"),nb=Symbol.for("react.default_value"),hf=Symbol.iterator,Ct="@@iterator";function Ps(b){if(b===null||typeof b!="object")return null;var u=hf&&b[hf]||b[Ct];return typeof u=="function"?u:null}function Ih(b,u,h){var y=b.displayName;if(y)return y;var S=u.displayName||u.name||"";return S!==""?h+"("+S+")":h}function pf(b){return b.displayName||"Context"}function Tt(b){if(b==null)return null;if(typeof b.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof b=="function")return b.displayName||b.name||null;if(typeof b=="string")return b;switch(b){case cc:return"Fragment";case lc:return"Portal";case fc:return"Profiler";case uc:return"StrictMode";case uf:return"Suspense";case ff:return"SuspenseList"}if(typeof b=="object")switch(b.$$typeof){case Ns:var u=b;return pf(u)+".Consumer";case Ms:var h=b;return pf(h._context)+".Provider";case Ea:return Ih(b,b.render,"ForwardRef");case df:var y=b.displayName||null;return y!==null?y:Tt(b.type)||"Memo";case dc:{var S=b,k=S._payload,M=S._init;try{return Tt(M(k))}catch{return null}}}return null}var ka=0,gf,mf,yf,bf,Bh,Mh,hc;function pc(){}pc.__reactDisabledLog=!0;function Ls(){{if(ka===0){gf=console.log,mf=console.info,yf=console.warn,bf=console.error,Bh=console.group,Mh=console.groupCollapsed,hc=console.groupEnd;var b={configurable:!0,enumerable:!0,value:pc,writable:!0};Object.defineProperties(console,{info:b,log:b,warn:b,error:b,group:b,groupCollapsed:b,groupEnd:b})}ka++}}function vf(){{if(ka--,ka===0){var b={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xn({},b,{value:gf}),info:Xn({},b,{value:mf}),warn:Xn({},b,{value:yf}),error:Xn({},b,{value:bf}),group:Xn({},b,{value:Bh}),groupCollapsed:Xn({},b,{value:Mh}),groupEnd:Xn({},b,{value:hc})})}ka<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Aa=n.ReactCurrentDispatcher,xf;function wo(b,u,h){{if(xf===void 0)try{throw Error()}catch(S){var y=S.stack.trim().match(/\n( *(at )?)/);xf=y&&y[1]||""}return`
325
+ `+xf+b}}var Df=!1,Ws;{var rb=typeof WeakMap=="function"?WeakMap:Map;Ws=new rb}function $s(b,u){if(!b||Df)return"";{var h=Ws.get(b);if(h!==void 0)return h}var y;Df=!0;var S=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var k;k=Aa.current,Aa.current=null,Ls();try{if(u){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(mt){y=mt}Reflect.construct(b,[],M)}else{try{M.call()}catch(mt){y=mt}b.call(M.prototype)}}else{try{throw Error()}catch(mt){y=mt}b()}}catch(mt){if(mt&&y&&typeof mt.stack=="string"){for(var W=mt.stack.split(`
326
+ `),te=y.stack.split(`
327
+ `),ge=W.length-1,ke=te.length-1;ge>=1&&ke>=0&&W[ge]!==te[ke];)ke--;for(;ge>=1&&ke>=0;ge--,ke--)if(W[ge]!==te[ke]){if(ge!==1||ke!==1)do if(ge--,ke--,ke<0||W[ge]!==te[ke]){var Oe=`
328
+ `+W[ge].replace(" at new "," at ");return b.displayName&&Oe.includes("<anonymous>")&&(Oe=Oe.replace("<anonymous>",b.displayName)),typeof b=="function"&&Ws.set(b,Oe),Oe}while(ge>=1&&ke>=0);break}}}finally{Df=!1,Aa.current=k,vf(),Error.prepareStackTrace=S}var Le=b?b.displayName||b.name:"",Ke=Le?wo(Le):"";return typeof b=="function"&&Ws.set(b,Ke),Ke}function Nh(b,u,h){return $s(b,!0)}function wf(b,u,h){return $s(b,!1)}function gc(b){var u=b.prototype;return!!(u&&u.isReactComponent)}function mc(b,u,h){if(b==null)return"";if(typeof b=="function")return $s(b,gc(b));if(typeof b=="string")return wo(b);switch(b){case uf:return wo("Suspense");case ff:return wo("SuspenseList")}if(typeof b=="object")switch(b.$$typeof){case Ea:return wf(b.render);case df:return mc(b.type,u,h);case dc:{var y=b,S=y._payload,k=y._init;try{return mc(k(S),u,h)}catch{}}}return""}var yc={},zs=n.ReactDebugCurrentFrame;function js(b){if(b){var u=b._owner,h=mc(b.type,b._source,u?u.type:null);zs.setExtraStackFrame(h)}else zs.setExtraStackFrame(null)}function Ph(b,u,h,y,S){{var k=Function.call.bind(j);for(var M in b)if(k(b,M)){var W=void 0;try{if(typeof b[M]!="function"){var te=Error((y||"React class")+": "+h+" type `"+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof b[M]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw te.name="Invariant Violation",te}W=b[M](u,M,y,h,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ge){W=ge}W&&!(W instanceof Error)&&(js(S),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).",y||"React class",h,M,typeof W),js(null)),W instanceof Error&&!(W.message in yc)&&(yc[W.message]=!0,js(S),i("Failed %s type: %s",h,W.message),js(null))}}}var So;So={};var bc={};Object.freeze(bc);function Wi(b,u){{var h=b.contextTypes;if(!h)return bc;var y={};for(var S in h)y[S]=u[S];{var k=Tt(b)||"Unknown";Ph(h,y,"context",k)}return y}}function Sf(b,u,h,y){{if(typeof b.getChildContext!="function"){{var S=Tt(u)||"Unknown";So[S]||(So[S]=!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.",S,S))}return h}var k=b.getChildContext();for(var M in k)if(!(M in y))throw new Error((Tt(u)||"Unknown")+'.getChildContext(): key "'+M+'" is not defined in childContextTypes.');{var W=Tt(u)||"Unknown";Ph(y,k,"child context",W)}return Xn({},h,k)}}var To;To={};var vc=null,$i=null;function xc(b){b.context._currentValue=b.parentValue}function Dc(b){b.context._currentValue=b.value}function Vs(b,u){if(b!==u){xc(b);var h=b.parent,y=u.parent;if(h===null){if(y!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(y===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Vs(h,y)}Dc(u)}}function Hs(b){xc(b);var u=b.parent;u!==null&&Hs(u)}function Lh(b){var u=b.parent;u!==null&&Lh(u),Dc(b)}function Wh(b,u){xc(b);var h=b.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?Vs(h,u):Wh(h,u)}function $h(b,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.");b.depth===h.depth?Vs(b,h):$h(b,h),Dc(u)}function zi(b){var u=$i,h=b;u!==h&&(u===null?Lh(h):h===null?Hs(u):u.depth===h.depth?Vs(u,h):u.depth>h.depth?Wh(u,h):$h(u,h),$i=h)}function Tf(b,u){var h;h=b._currentValue,b._currentValue=u,b._currentRenderer!==void 0&&b._currentRenderer!==null&&b._currentRenderer!==To&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),b._currentRenderer=To;var y=$i,S={parent:y,depth:y===null?0:y.depth+1,context:b,parentValue:h,value:u};return $i=S,S}function ib(b){var u=$i;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!==b&&i("The parent context is not the expected context. This is probably a bug in React.");{var h=u.parentValue;h===nb?u.context._currentValue=u.context._defaultValue:u.context._currentValue=h,b._currentRenderer!==void 0&&b._currentRenderer!==null&&b._currentRenderer!==To&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),b._currentRenderer=To}return $i=u.parent}function zh(){return $i}function Ua(b){var u=b._currentValue;return u}function qs(b){return b._reactInternals}function _f(b,u){b._reactInternals=u}var wc={},Sc={},Tc,Fa,Gs,Xs,_c,Js,Cc,Ec,Cf;{Tc=new Set,Fa=new Set,Gs=new Set,Cc=new Set,Xs=new Set,Ec=new Set,Cf=new Set;var jh=new Set;Js=function(b,u){if(!(b===null||typeof b=="function")){var h=u+"_"+b;jh.has(h)||(jh.add(h),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",u,b))}},_c=function(b,u){if(u===void 0){var h=Tt(b)||"Component";Xs.has(h)||(Xs.add(h),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",h))}}}function Vh(b,u){{var h=b.constructor,y=h&&Tt(h)||"ReactClass",S=y+"."+u;if(wc[S])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,y),wc[S]=!0}}var Hh={isMounted:function(b){return!1},enqueueSetState:function(b,u,h){var y=qs(b);y.queue===null?Vh(b,"setState"):(y.queue.push(u),h!=null&&Js(h,"setState"))},enqueueReplaceState:function(b,u,h){var y=qs(b);y.replace=!0,y.queue=[u],h!=null&&Js(h,"setState")},enqueueForceUpdate:function(b,u){var h=qs(b);h.queue===null?Vh(b,"forceUpdate"):u!=null&&Js(u,"setState")}};function ob(b,u,h,y,S){var k=h(S,y);_c(u,k);var M=k==null?y:Xn({},y,k);return M}function qh(b,u,h){var y=bc,S=b.contextType;if("contextType"in b){var k=S===null||S!==void 0&&S.$$typeof===Ns&&S._context===void 0;if(!k&&!Cf.has(b)){Cf.add(b);var M="";S===void 0?M=" 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 S!="object"?M=" However, it is set to a "+typeof S+".":S.$$typeof===Ms?M=" Did you accidentally pass the Context.Provider instead?":S._context!==void 0?M=" Did you accidentally pass the Context.Consumer instead?":M=" However, it is set to an object with keys {"+Object.keys(S).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Tt(b)||"Component",M)}}typeof S=="object"&&S!==null?y=Ua(S):y=h;var W=new b(u,y);{if(typeof b.getDerivedStateFromProps=="function"&&(W.state===null||W.state===void 0)){var te=Tt(b)||"Component";Tc.has(te)||(Tc.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,W.state===null?"null":"undefined",te))}if(typeof b.getDerivedStateFromProps=="function"||typeof W.getSnapshotBeforeUpdate=="function"){var ge=null,ke=null,Oe=null;if(typeof W.componentWillMount=="function"&&W.componentWillMount.__suppressDeprecationWarning!==!0?ge="componentWillMount":typeof W.UNSAFE_componentWillMount=="function"&&(ge="UNSAFE_componentWillMount"),typeof W.componentWillReceiveProps=="function"&&W.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ke="componentWillReceiveProps":typeof W.UNSAFE_componentWillReceiveProps=="function"&&(ke="UNSAFE_componentWillReceiveProps"),typeof W.componentWillUpdate=="function"&&W.componentWillUpdate.__suppressDeprecationWarning!==!0?Oe="componentWillUpdate":typeof W.UNSAFE_componentWillUpdate=="function"&&(Oe="UNSAFE_componentWillUpdate"),ge!==null||ke!==null||Oe!==null){var Le=Tt(b)||"Component",Ke=typeof b.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Gs.has(Le)||(Gs.add(Le),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`,Le,Ke,ge!==null?`
336
+ `+ge:"",ke!==null?`
337
+ `+ke:"",Oe!==null?`
338
+ `+Oe:""))}}}return W}function ab(b,u,h){{var y=Tt(u)||"Component",S=b.render;S||(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?",y):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",y)),b.getInitialState&&!b.getInitialState.isReactClassApproved&&!b.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?",y),b.getDefaultProps&&!b.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.",y),b.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",y),b.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",y),b.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",y),u.contextType&&u.contextTypes&&!Ec.has(u)&&(Ec.add(u),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",y)),typeof b.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.",y),u.prototype&&u.prototype.isPureReactComponent&&typeof b.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.",Tt(u)||"A pure component"),typeof b.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",y),typeof b.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().",y),typeof b.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",y),typeof b.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",y);var k=b.props!==h;b.props!==void 0&&k&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",y,y),b.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.",y,y),typeof b.getSnapshotBeforeUpdate=="function"&&typeof b.componentDidUpdate!="function"&&!Fa.has(u)&&(Fa.add(u),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Tt(u))),typeof b.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof b.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",y),typeof u.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",y);var M=b.state;M&&(typeof M!="object"||dn(M))&&i("%s.state: must be set to an object or null",y),typeof b.getChildContext=="function"&&typeof u.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",y)}}function sb(b,u){var h=u.state;if(typeof u.componentWillMount=="function"){if(u.componentWillMount.__suppressDeprecationWarning!==!0){var y=Tt(b)||"Unknown";Sc[y]||(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`,y),Sc[y]=!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.",Tt(b)||"Component"),Hh.enqueueReplaceState(u,u.state,null))}function Ef(b,u,h,y){if(b.queue!==null&&b.queue.length>0){var S=b.queue,k=b.replace;if(b.queue=null,b.replace=!1,k&&S.length===1)u.state=S[0];else{for(var M=k?S[0]:u.state,W=!0,te=k?1:0;te<S.length;te++){var ge=S[te],ke=typeof ge=="function"?ge.call(u,M,h,y):ge;ke!=null&&(W?(W=!1,M=Xn({},M,ke)):Xn(M,ke))}u.state=M}}else b.queue=null}function Ys(b,u,h,y){ab(b,u,h);var S=b.state!==void 0?b.state:null;b.updater=Hh,b.props=h,b.state=S;var k={queue:[],replace:!1};_f(b,k);var M=u.contextType;if(typeof M=="object"&&M!==null?b.context=Ua(M):b.context=y,b.state===h){var W=Tt(u)||"Component";Cc.has(W)||(Cc.add(W),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.",W))}var te=u.getDerivedStateFromProps;typeof te=="function"&&(b.state=ob(b,u,te,S,h)),typeof u.getDerivedStateFromProps!="function"&&typeof b.getSnapshotBeforeUpdate!="function"&&(typeof b.UNSAFE_componentWillMount=="function"||typeof b.componentWillMount=="function")&&(sb(u,b),Ef(k,b,h,y))}var lb={id:1,overflow:""};function cb(b){var u=b.overflow,h=b.id,y=h&~ub(h);return y.toString(32)+u}function kf(b,u,h){var y=b.id,S=b.overflow,k=kc(y)-1,M=y&~(1<<k),W=h+1,te=kc(u)+k;if(te>30){var ge=k-k%5,ke=(1<<ge)-1,Oe=(M&ke).toString(32),Le=M>>ge,Ke=k-ge,mt=kc(u)+Ke,Jt=W<<Ke,Fo=Jt|Le,Ro=Oe+S;return{id:1<<mt|Fo,overflow:Ro}}else{var bi=W<<k,Pa=bi|M,Wb=S;return{id:1<<te|Pa,overflow:Wb}}}function kc(b){return 32-fb(b)}function ub(b){return 1<<kc(b)-1}var fb=Math.clz32?Math.clz32:Af,db=Math.log,pi=Math.LN2;function Af(b){var u=b>>>0;return u===0?32:31-(db(u)/pi|0)|0}function Ac(b,u){return b===u&&(b!==0||1/b===1/u)||b!==b&&u!==u}var St=typeof Object.is=="function"?Object.is:Ac,Jn=null,Ra=null,_o=null,dt=null,ji=!1,Uc=!1,Yn=0,Kn=null,Yr=0,hb=25,Ur=!1,Vi;function Co(){if(Jn===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 Ur&&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"),Jn}function pb(b,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.",Vi),!1;b.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`,Vi,"["+b.join(", ")+"]","["+u.join(", ")+"]");for(var h=0;h<u.length&&h<b.length;h++)if(!St(b[h],u[h]))return!1;return!0}function Uf(){if(Yr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Ks(){return dt===null?_o===null?(ji=!1,_o=dt=Uf()):(ji=!0,dt=_o):dt.next===null?(ji=!1,dt=dt.next=Uf()):(ji=!0,dt=dt.next),dt}function gb(b,u){Jn=u,Ra=b,Ur=!1,Yn=0}function mb(b,u,h,y){for(;Uc;)Uc=!1,Yn=0,Yr+=1,dt=null,h=b(u,y);return Ff(),h}function Fc(){var b=Yn!==0;return b}function Ff(){Ur=!1,Jn=null,Ra=null,Uc=!1,_o=null,Yr=0,Kn=null,dt=null}function Gh(b){return Ur&&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()."),Ua(b)}function Xh(b){return Vi="useContext",Co(),Ua(b)}function Rf(b,u){return typeof u=="function"?u(b):u}function yb(b){return Vi="useState",Jh(Rf,b)}function Jh(b,u,h){if(b!==Rf&&(Vi="useReducer"),Jn=Co(),dt=Ks(),ji){var y=dt.queue,S=y.dispatch;if(Kn!==null){var k=Kn.get(y);if(k!==void 0){Kn.delete(y);var M=dt.memoizedState,W=k;do{var te=W.action;Ur=!0,M=b(M,te),Ur=!1,W=W.next}while(W!==null);return dt.memoizedState=M,[M,S]}}return[dt.memoizedState,S]}else{Ur=!0;var ge;b===Rf?ge=typeof u=="function"?u():u:ge=h!==void 0?h(u):u,Ur=!1,dt.memoizedState=ge;var ke=dt.queue={last:null,dispatch:null},Oe=ke.dispatch=xb.bind(null,Jn,ke);return[dt.memoizedState,Oe]}}function Yh(b,u){Jn=Co(),dt=Ks();var h=u===void 0?null:u;if(dt!==null){var y=dt.memoizedState;if(y!==null&&h!==null){var S=y[1];if(pb(h,S))return y[0]}}Ur=!0;var k=b();return Ur=!1,dt.memoizedState=[k,h],k}function bb(b){Jn=Co(),dt=Ks();var u=dt.memoizedState;if(u===null){var h={current:b};return Object.seal(h),dt.memoizedState=h,h}else return u}function vb(b,u){Vi="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 xb(b,u,h){if(Yr>=hb)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(b===Jn){Uc=!0;var y={action:h,next:null};Kn===null&&(Kn=new Map);var S=Kn.get(u);if(S===void 0)Kn.set(u,y);else{for(var k=S;k.next!==null;)k=k.next;k.next=y}}}function Db(b,u){return Yh(function(){return b},u)}function wb(b,u,h){return Co(),u(b._source)}function Sb(b,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 Rc(b){return Co(),b}function Kh(){throw new Error("startTransition cannot be called during server rendering.")}function Of(){return Co(),[!1,Kh]}function Zh(){var b=Ra,u=cb(b.treeContext),h=Zs;if(h===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var y=Yn++;return fr(h,u,y)}function Oc(){}var Ic={readContext:Gh,useContext:Xh,useMemo:Yh,useReducer:Jh,useRef:bb,useState:yb,useInsertionEffect:Oc,useLayoutEffect:vb,useCallback:Db,useImperativeHandle:Oc,useEffect:Oc,useDebugValue:Oc,useDeferredValue:Rc,useTransition:Of,useId:Zh,useMutableSource:wb,useSyncExternalStore:Sb},Zs=null;function Bc(b){Zs=b}function Oa(b){try{var u="",h=b;do{switch(h.tag){case 0:u+=wo(h.type,null,null);break;case 1:u+=wf(h.type,null,null);break;case 2:u+=Nh(h.type,null,null);break}h=h.parent}while(h);return u}catch(y){return`
350
+ Error generating stack: `+y.message+`
351
+ `+y.stack}}var Mc=n.ReactCurrentDispatcher,Nc=n.ReactDebugCurrentFrame,Pc=0,Ia=1,If=2,Eo=3,Qh=4,Tb=0,Ba=1,Ma=2,_b=12800;function Cb(b){return console.error(b),null}function ko(){}function Lc(b,u,h,y,S,k,M,W,te){var ge=[],ke=new Set,Oe={destination:null,responseState:u,progressiveChunkSize:y===void 0?_b:y,status:Tb,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ke,pingedTasks:ge,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:S===void 0?Cb:S,onAllReady:k===void 0?ko:k,onShellReady:M===void 0?ko:M,onShellError:W===void 0?ko:W,onFatalError:te===void 0?ko:te},Le=Qs(Oe,0,null,h,!1,!1);Le.parentFlushed=!0;var Ke=Ao(Oe,b,null,Le,ke,bc,vc,lb);return ge.push(Ke),Oe}function gi(b,u){var h=b.pingedTasks;h.push(u),h.length===1&&a(function(){return Hf(b)})}function Bf(b,u){return{id:Bi,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:u,errorDigest:null}}function Ao(b,u,h,y,S,k,M,W){b.allPendingTasks++,h===null?b.pendingRootTasks++:h.pendingTasks++;var te={node:u,ping:function(){return gi(b,te)},blockedBoundary:h,blockedSegment:y,abortSet:S,legacyContext:k,context:M,treeContext:W};return te.componentStack=null,S.add(te),te}function Qs(b,u,h,y,S,k){return{status:Pc,id:-1,index:u,parentFlushed:!1,chunks:[],children:[],formatContext:y,boundary:h,lastPushedText:S,textEmbedded:k}}var mi=null;function Kr(){return mi===null||mi.componentStack===null?"":Oa(mi.componentStack)}function yi(b,u){b.componentStack={tag:0,parent:b.componentStack,type:u}}function Wc(b,u){b.componentStack={tag:1,parent:b.componentStack,type:u}}function el(b,u){b.componentStack={tag:2,parent:b.componentStack,type:u}}function Fr(b){b.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):b.componentStack=b.componentStack.parent}var tl=null;function Mf(b,u){{var h;typeof u=="string"?h=u:u&&typeof u.message=="string"?h=u.message:h=String(u);var y=tl||Kr();tl=null,b.errorMessage=h,b.errorComponentStack=y}}function nl(b,u){var h=b.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 rl(b,u){var h=b.onShellError;h(u);var y=b.onFatalError;y(u),b.destination!==null?(b.status=Ma,w(b.destination,u)):(b.status=Ba,b.fatalError=u)}function ep(b,u,h){yi(u,"Suspense");var y=u.blockedBoundary,S=u.blockedSegment,k=h.fallback,M=h.children,W=new Set,te=Bf(b,W),ge=S.chunks.length,ke=Qs(b,ge,te,S.formatContext,!1,!1);S.children.push(ke),S.lastPushedText=!1;var Oe=Qs(b,0,null,S.formatContext,!1,!1);Oe.parentFlushed=!0,u.blockedBoundary=te,u.blockedSegment=Oe;try{if(Na(b,u,M),pn(Oe.chunks,b.responseState,Oe.lastPushedText,Oe.textEmbedded),Oe.status=Ia,Uo(te,Oe),te.pendingTasks===0){Fr(u);return}}catch(Ke){Oe.status=Qh,te.forceClientRender=!0,te.errorDigest=nl(b,Ke),Mf(te,Ke)}finally{u.blockedBoundary=y,u.blockedSegment=S}var Le=Ao(b,k,y,ke,W,u.legacyContext,u.context,u.treeContext);Le.componentStack=u.componentStack,b.pingedTasks.push(Le),Fr(u)}function Eb(b,u,h,y){yi(u,h);var S=u.blockedSegment,k=bo(S.chunks,h,y,b.responseState,S.formatContext);S.lastPushedText=!1;var M=S.formatContext;S.formatContext=ci(M,h,y),Na(b,u,k),S.formatContext=M,Gl(S.chunks,h),S.lastPushedText=!1,Fr(u)}function tp(b){return b.prototype&&b.prototype.isReactComponent}function il(b,u,h,y,S){var k={};gb(u,k);var M=h(y,S);return mb(h,y,M,S)}function Nf(b,u,h,y,S){var k=h.render();h.props!==S&&($f||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Tt(y)||"a component"),$f=!0);{var M=y.childContextTypes;if(M!=null){var W=u.legacyContext,te=Sf(h,y,W,M);u.legacyContext=te,yn(b,u,k),u.legacyContext=W;return}}yn(b,u,k)}function np(b,u,h,y){el(u,h);var S=Wi(h,u.legacyContext),k=qh(h,y,S);Ys(k,h,y,S),Nf(b,u,k,h,y),Fr(u)}var Pf={},ol={},Lf={},Wf={},$f=!1,rp={},ip=!1,zf=!1,op=!1;function kb(b,u,h,y){var S;if(S=Wi(h,u.legacyContext),Wc(u,h),h.prototype&&typeof h.prototype.render=="function"){var k=Tt(h)||"Unknown";Pf[k]||(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.",k,k),Pf[k]=!0)}var M=il(b,u,h,y,S),W=Fc();if(typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0){var te=Tt(h)||"Unknown";ol[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),ol[te]=!0)}if(typeof M=="object"&&M!==null&&typeof M.render=="function"&&M.$$typeof===void 0){{var ge=Tt(h)||"Unknown";ol[ge]||(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.",ge,ge,ge),ol[ge]=!0)}Ys(M,h,y,S),Nf(b,u,M,h,y)}else if(Ab(h),W){var ke=u.treeContext,Oe=1,Le=0;u.treeContext=kf(ke,Oe,Le);try{yn(b,u,M)}finally{u.treeContext=ke}}else yn(b,u,M);Fr(u)}function Ab(b){{if(b&&b.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",b.displayName||b.name||"Component"),b.defaultProps!==void 0){var u=Tt(b)||"Unknown";rp[u]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",u),rp[u]=!0)}if(typeof b.getDerivedStateFromProps=="function"){var h=Tt(b)||"Unknown";Wf[h]||(i("%s: Function components do not support getDerivedStateFromProps.",h),Wf[h]=!0)}if(typeof b.contextType=="object"&&b.contextType!==null){var y=Tt(b)||"Unknown";Lf[y]||(i("%s: Function components do not support contextType.",y),Lf[y]=!0)}}}function ap(b,u){if(b&&b.defaultProps){var h=Xn({},u),y=b.defaultProps;for(var S in y)h[S]===void 0&&(h[S]=y[S]);return h}return u}function Ub(b,u,h,y,S){Wc(u,h.render);var k=il(b,u,h.render,y,S),M=Fc();if(M){var W=u.treeContext,te=1,ge=0;u.treeContext=kf(W,te,ge);try{yn(b,u,k)}finally{u.treeContext=W}}else yn(b,u,k);Fr(u)}function jf(b,u,h,y,S){var k=h.type,M=ap(k,y);$c(b,u,k,M,S)}function Fb(b,u,h,y){h._context===void 0?h!==h.Consumer&&(op||(op=!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 S=y.children;typeof S!="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 k=Ua(h),M=S(k);yn(b,u,M)}function Zn(b,u,h,y){var S=h._context,k=y.value,M=y.children,W;W=u.context,u.context=Tf(S,k),yn(b,u,M),u.context=ib(S),W!==u.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Rb(b,u,h,y,S){yi(u,"Lazy");var k=h._payload,M=h._init,W=M(k),te=ap(W,y);$c(b,u,W,te,S),Fr(u)}function $c(b,u,h,y,S){if(typeof h=="function")if(tp(h)){np(b,u,h,y);return}else{kb(b,u,h,y);return}if(typeof h=="string"){Eb(b,u,h,y);return}switch(h){case tb:case eb:case uc:case fc:case cc:{yn(b,u,y.children);return}case ff:{yi(u,"SuspenseList"),yn(b,u,y.children),Fr(u);return}case Oh:throw new Error("ReactDOMServer does not yet support scope components.");case uf:{ep(b,u,y);return}}if(typeof h=="object"&&h!==null)switch(h.$$typeof){case Ea:{Ub(b,u,h,y,S);return}case df:{jf(b,u,h,y,S);return}case Ms:{Zn(b,u,h,y);return}case Ns:{Fb(b,u,h,y);return}case dc:{Rb(b,u,h,y);return}}var k="";throw(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(k+=" 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)+"."+k))}function Ob(b,u){typeof Symbol=="function"&&b[Symbol.toStringTag]==="Generator"&&(ip||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."),ip=!0),b.entries===u&&(zf||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zf=!0)}function yn(b,u,h){try{return Ib(b,u,h)}catch(y){throw typeof y=="object"&&y!==null&&typeof y.then=="function"||(tl=tl!==null?tl:Kr()),y}}function Ib(b,u,h){if(u.node=h,typeof h=="object"&&h!==null){switch(h.$$typeof){case Rh:{var y=h,S=y.type,k=y.props,M=y.ref;$c(b,u,S,k,M);return}case lc: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 dc:{var W=h,te=W._payload,ge=W._init,ke;try{ke=ge(te)}catch(bi){throw typeof bi=="object"&&bi!==null&&typeof bi.then=="function"&&yi(u,"Lazy"),bi}yn(b,u,ke);return}}if(dn(h)){sp(b,u,h);return}var Oe=Ps(h);if(Oe){Ob(h,Oe);var Le=Oe.call(h);if(Le){var Ke=Le.next();if(!Ke.done){var mt=[];do mt.push(Ke.value),Ke=Le.next();while(!Ke.done);sp(b,u,mt);return}return}}var Jt=Object.prototype.toString.call(h);throw new Error("Objects are not valid as a React child (found: "+(Jt==="[object Object]"?"object with keys {"+Object.keys(h).join(", ")+"}":Jt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof h=="string"){var Fo=u.blockedSegment;Fo.lastPushedText=Vt(u.blockedSegment.chunks,h,b.responseState,Fo.lastPushedText);return}if(typeof h=="number"){var Ro=u.blockedSegment;Ro.lastPushedText=Vt(u.blockedSegment.chunks,""+h,b.responseState,Ro.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 sp(b,u,h){for(var y=h.length,S=0;S<y;S++){var k=u.treeContext;u.treeContext=kf(k,y,S);try{Na(b,u,h[S])}finally{u.treeContext=k}}}function lp(b,u,h){var y=u.blockedSegment,S=y.chunks.length,k=Qs(b,S,null,y.formatContext,y.lastPushedText,!0);y.children.push(k),y.lastPushedText=!1;var M=Ao(b,u.node,u.blockedBoundary,k,u.abortSet,u.legacyContext,u.context,u.treeContext);u.componentStack!==null&&(M.componentStack=u.componentStack.parent);var W=M.ping;h.then(W,W)}function Na(b,u,h){var y=u.blockedSegment.formatContext,S=u.legacyContext,k=u.context,M=null;M=u.componentStack;try{return yn(b,u,h)}catch(W){if(Ff(),typeof W=="object"&&W!==null&&typeof W.then=="function"){lp(b,u,W),u.blockedSegment.formatContext=y,u.legacyContext=S,u.context=k,zi(k),u.componentStack=M;return}else throw u.blockedSegment.formatContext=y,u.legacyContext=S,u.context=k,zi(k),u.componentStack=M,W}}function cp(b,u,h,y){var S=nl(b,y);if(u===null?rl(b,y):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,u.errorDigest=S,Mf(u,y),u.parentFlushed&&b.clientRenderedBoundaries.push(u))),b.allPendingTasks--,b.allPendingTasks===0){var k=b.onAllReady;k()}}function Bb(b){var u=this,h=b.blockedBoundary,y=b.blockedSegment;y.status=Eo,al(u,h,y)}function Vf(b,u,h){var y=b.blockedBoundary,S=b.blockedSegment;if(S.status=Eo,y===null)u.allPendingTasks--,u.status!==Ma&&(u.status=Ma,u.destination!==null&&m(u.destination));else{if(y.pendingTasks--,!y.forceClientRender){y.forceClientRender=!0;var k=h===void 0?new Error("The render was aborted by the server without a reason."):h;y.errorDigest=u.onError(k);{var M="The server did not finish this Suspense boundary: ";k&&typeof k.message=="string"?k=M+k.message:k=M+String(k);var W=mi;mi=b;try{Mf(y,k)}finally{mi=W}}y.parentFlushed&&u.clientRenderedBoundaries.push(y)}if(y.fallbackAbortableTasks.forEach(function(ge){return Vf(ge,u,h)}),y.fallbackAbortableTasks.clear(),u.allPendingTasks--,u.allPendingTasks===0){var te=u.onAllReady;te()}}}function Uo(b,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===Ia&&Uo(b,h)}else{var y=b.completedSegments;y.push(u)}}function al(b,u,h){if(u===null){if(h.parentFlushed){if(b.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");b.completedRootSegment=h}if(b.pendingRootTasks--,b.pendingRootTasks===0){b.onShellError=ko;var y=b.onShellReady;y()}}else if(u.pendingTasks--,!u.forceClientRender){if(u.pendingTasks===0)h.parentFlushed&&h.status===Ia&&Uo(u,h),u.parentFlushed&&b.completedBoundaries.push(u),u.fallbackAbortableTasks.forEach(Bb,b),u.fallbackAbortableTasks.clear();else if(h.parentFlushed&&h.status===Ia){Uo(u,h);var S=u.completedSegments;S.length===1&&u.parentFlushed&&b.partialBoundaries.push(u)}}if(b.allPendingTasks--,b.allPendingTasks===0){var k=b.onAllReady;k()}}function Mb(b,u){var h=u.blockedSegment;if(h.status===Pc){zi(u.context);var y=null;y=mi,mi=u;try{yn(b,u,u.node),pn(h.chunks,b.responseState,h.lastPushedText,h.textEmbedded),u.abortSet.delete(u),h.status=Ia,al(b,u.blockedBoundary,h)}catch(k){if(Ff(),typeof k=="object"&&k!==null&&typeof k.then=="function"){var S=u.ping;k.then(S,S)}else u.abortSet.delete(u),h.status=Qh,cp(b,u.blockedBoundary,h,k)}finally{mi=y}}}function Hf(b){if(b.status!==Ma){var u=zh(),h=Mc.current;Mc.current=Ic;var y;y=Nc.getCurrentStack,Nc.getCurrentStack=Kr;var S=Zs;Bc(b.responseState);try{var k=b.pingedTasks,M;for(M=0;M<k.length;M++){var W=k[M];Mb(b,W)}k.splice(0,M),b.destination!==null&&qf(b,b.destination)}catch(te){nl(b,te),rl(b,te)}finally{Bc(S),Mc.current=h,Nc.getCurrentStack=y,h===Ic&&zi(u)}}}function sl(b,u,h){switch(h.parentFlushed=!0,h.status){case Pc:{var y=h.id=b.nextSegmentId++;return h.lastPushedText=!1,h.textEmbedded=!1,Xl(u,b.responseState,y)}case Ia:{h.status=If;for(var S=!0,k=h.chunks,M=0,W=h.children,te=0;te<W.length;te++){for(var ge=W[te];M<ge.index;M++)d(u,k[M]);S=zc(b,u,ge)}for(;M<k.length-1;M++)d(u,k[M]);return M<k.length&&(S=p(u,k[M])),S}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function zc(b,u,h){var y=h.boundary;if(y===null)return sl(b,u,h);if(y.parentFlushed=!0,y.forceClientRender)return gn(u,b.responseState,y.errorDigest,y.errorMessage,y.errorComponentStack),sl(b,u,h),lf(u,b.responseState);if(y.pendingTasks>0){y.rootSegmentID=b.nextSegmentId++,y.completedSegments.length>0&&b.partialBoundaries.push(y);var S=y.id=En(b.responseState);return Da(u,b.responseState,S),sl(b,u,h),wa(u,b.responseState)}else{if(y.byteSize>b.progressiveChunkSize)return y.rootSegmentID=b.nextSegmentId++,b.completedBoundaries.push(y),Da(u,b.responseState,y.id),sl(b,u,h),wa(u,b.responseState);Kl(u,b.responseState);var k=y.completedSegments;if(k.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var M=k[0];return zc(b,u,M),Zl(u,b.responseState)}}function up(b,u,h){return Qy(u,b.responseState,h.id,h.errorDigest,h.errorMessage,h.errorComponentStack)}function jc(b,u,h){return Qe(u,b.responseState,h.formatContext,h.id),zc(b,u,h),Dt(u,h.formatContext)}function fp(b,u,h){for(var y=h.completedSegments,S=0;S<y.length;S++){var k=y[S];dp(b,u,h,k)}return y.length=0,Uh(u,b.responseState,h.id,h.rootSegmentID)}function Nb(b,u,h){for(var y=h.completedSegments,S=0;S<y.length;S++){var k=y[S];if(!dp(b,u,h,k))return S++,y.splice(0,S),!1}return y.splice(0,S),!0}function dp(b,u,h,y){if(y.status===If)return!0;var S=y.id;if(S===-1){var k=y.id=h.rootSegmentID;if(k===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return jc(b,u,y)}else return jc(b,u,y),qy(u,b.responseState,S)}function qf(b,u){f();try{var h=b.completedRootSegment;h!==null&&b.pendingRootTasks===0&&(zc(b,u,h),b.completedRootSegment=null,of(u,b.responseState));var y=b.clientRenderedBoundaries,S;for(S=0;S<y.length;S++){var k=y[S];up(b,u,k)}y.splice(0,S);var M=b.completedBoundaries;for(S=0;S<M.length;S++){var W=M[S];fp(b,u,W)}M.splice(0,S),g(u),f(u);var te=b.partialBoundaries;for(S=0;S<te.length;S++){var ge=te[S];if(!Nb(b,u,ge)){b.destination=null,S++,te.splice(0,S);return}}te.splice(0,S);var ke=b.completedBoundaries;for(S=0;S<ke.length;S++){var Oe=ke[S];fp(b,u,Oe)}ke.splice(0,S)}finally{g(u),b.allPendingTasks===0&&b.pingedTasks.length===0&&b.clientRenderedBoundaries.length===0&&b.completedBoundaries.length===0&&(b.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),m(u))}}function hp(b){a(function(){return Hf(b)})}function Pb(b,u){if(b.status===Ba){b.status=Ma,w(u,b.fatalError);return}if(b.status!==Ma&&b.destination===null){b.destination=u;try{qf(b,u)}catch(h){nl(b,h),rl(b,h)}}}function pp(b,u){try{var h=b.abortableTasks;h.forEach(function(y){return Vf(y,b,u)}),h.clear(),b.destination!==null&&qf(b,b.destination)}catch(y){nl(b,y),rl(b,y)}}function Lb(b,u){return new Promise(function(h,y){var S,k,M=new Promise(function(Le,Ke){k=Le,S=Ke});function W(){var Le=new ReadableStream({type:"bytes",pull:function(Ke){Pb(ge,Ke)},cancel:function(Ke){pp(ge)}},{highWaterMark:0});Le.allReady=M,h(Le)}function te(Le){M.catch(function(){}),y(Le)}var ge=Lc(b,ha(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),Hr(u?u.namespaceURI:void 0),u?u.progressiveChunkSize:void 0,u?u.onError:void 0,k,W,te,S);if(u&&u.signal){var ke=u.signal,Oe=function(){pp(ge,ke.reason),ke.removeEventListener("abort",Oe)};ke.addEventListener("abort",Oe)}hp(ge)})}Np.renderToReadableStream=Lb,Np.version=e}()),Np}var Rl,R2;process.env.NODE_ENV==="production"?(Rl=GY(),R2=XY()):(Rl=JY(),R2=YY());Hl.version=Rl.version;Hl.renderToString=Rl.renderToString;Hl.renderToStaticMarkup=Rl.renderToStaticMarkup;Hl.renderToNodeStream=Rl.renderToNodeStream;Hl.renderToStaticNodeStream=Rl.renderToStaticNodeStream;Hl.renderToReadableStream=R2.renderToReadableStream;const Pp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",KY=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},ZY=t=>{let e,n,r,i,o,a,s,l=0,c="";for(t=KY(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+Pp.charAt(i)+Pp.charAt(o)+Pp.charAt(a)+Pp.charAt(s);return c},QY=t=>typeof t=="string"?"string":typeof SVGElement<"u"&&t instanceof SVGElement?"element":void 0,V5=t=>"data:image/svg+xml;base64,"+ZY(t),eK=t=>V5(new XMLSerializer().serializeToString(t)),tK=t=>{switch(QY(t)){case"string":return V5(t);case"element":return eK(t);default:return t}},nK="_verified_lvyh0_1",ww={verified:nK},rK=()=>De.jsx("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:ww.verified,children:De.jsx("g",{children:De.jsx("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),iK=()=>De.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:ww.verified,children:De.jsxs("g",{children:[De.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[De.jsx("stop",{offset:"0",stopColor:"#f4e72a"}),De.jsx("stop",{offset:".539",stopColor:"#cd8105"}),De.jsx("stop",{offset:".68",stopColor:"#cb7b00"}),De.jsx("stop",{offset:"1",stopColor:"#f4ec26"}),De.jsx("stop",{offset:"1",stopColor:"#f4e72a"})]}),De.jsxs("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[De.jsx("stop",{offset:"0",stopColor:"#f9e87f"}),De.jsx("stop",{offset:".406",stopColor:"#e2b719"}),De.jsx("stop",{offset:".989",stopColor:"#e2b719"})]}),De.jsxs("g",{clipRule:"evenodd",fillRule:"evenodd",children:[De.jsx("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),De.jsx("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),De.jsx("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})}),oK=()=>De.jsx("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:ww.verified,children:De.jsx("g",{children:De.jsx("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.455l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),aK="_root_98iqw_1",sK="_article_98iqw_21",ak={root:aK,article:sK},Sw=({className:t,children:e})=>De.jsx("div",{className:Zi("react-tweet-theme",ak.root,t),children:De.jsx("article",{className:ak.article,children:e})}),H5=t=>De.jsx("img",{...t}),lK="_header_nqq4j_1",cK="_avatar_nqq4j_11",uK="_avatarOverflow_nqq4j_16",fK="_avatarSquare_nqq4j_23",dK="_avatarShadow_nqq4j_26",hK="_author_nqq4j_37",pK="_authorLink_nqq4j_44",gK="_authorVerified_nqq4j_53",mK="_authorLinkText_nqq4j_56",yK="_authorMeta_nqq4j_63",bK="_authorFollow_nqq4j_66",vK="_username_nqq4j_69",xK="_follow_nqq4j_74",DK="_separator_nqq4j_82",wK="_brand_nqq4j_86",SK="_twitterIcon_nqq4j_90",bn={header:lK,avatar:cK,avatarOverflow:uK,avatarSquare:fK,avatarShadow:dK,author:hK,authorLink:pK,authorVerified:gK,authorLinkText:mK,authorMeta:yK,authorFollow:bK,username:vK,follow:xK,separator:DK,brand:wK,twitterIcon:SK},TK="_verifiedOld_lcna5_1",_K="_verifiedBlue_lcna5_4",CK="_verifiedGovernment_lcna5_7",e0={verifiedOld:TK,verifiedBlue:_K,verifiedGovernment:CK},q5=({user:t,className:e})=>{const n=t.verified||t.is_blue_verified||t.verified_type;let r=De.jsx(rK,{}),i=e0.verifiedBlue;if(n)switch(t.is_blue_verified||(i=e0.verifiedOld),t.verified_type){case"Government":r=De.jsx(oK,{}),i=e0.verifiedGovernment;break;case"Business":r=De.jsx(iK,{}),i=null;break}return n?De.jsx("div",{className:Zi(e,i),children:r}):null},EK=({tweet:t,components:e})=>{var n;const r=(n=e==null?void 0:e.AvatarImg)!=null?n:H5,{user:i}=t;return De.jsxs("div",{className:bn.header,children:[De.jsxs("a",{href:t.url,className:bn.avatar,target:"_blank",rel:"noopener noreferrer",children:[De.jsx("div",{className:Zi(bn.avatarOverflow,i.profile_image_shape==="Square"&&bn.avatarSquare),children:De.jsx(r,{src:i.profile_image_url_https,alt:i.name,width:48,height:48})}),De.jsx("div",{className:bn.avatarOverflow,children:De.jsx("div",{className:bn.avatarShadow})})]}),De.jsxs("div",{className:bn.author,children:[De.jsxs("a",{href:t.url,className:bn.authorLink,target:"_blank",rel:"noopener noreferrer",children:[De.jsx("div",{className:bn.authorLinkText,children:De.jsx("span",{title:i.name,children:i.name})}),De.jsx(q5,{user:i,className:bn.authorVerified})]}),De.jsxs("div",{className:bn.authorMeta,children:[De.jsx("a",{href:t.url,className:bn.username,target:"_blank",rel:"noopener noreferrer",children:De.jsxs("span",{title:`@${i.screen_name}`,children:["@",i.screen_name]})}),De.jsxs("div",{className:bn.authorFollow,children:[De.jsx("span",{className:bn.separator,children:"·"}),De.jsx("a",{href:i.follow_url,className:bn.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),De.jsx("a",{href:t.url,className:bn.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:De.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:bn.twitterIcon,children:De.jsx("g",{children:De.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})},kK="_root_1ec15_1",AK={root:kK},UK=({tweet:t})=>De.jsxs("a",{href:t.in_reply_to_url,className:AK.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",t.in_reply_to_screen_name]}),FK="_root_eihfa_1",RK={root:FK},OK=({href:t,children:e})=>De.jsx("a",{href:t,className:RK.root,target:"_blank",rel:"noopener noreferrer nofollow",children:e}),IK="_root_1xq52_1",BK={root:IK},MK=({tweet:t})=>De.jsx("p",{className:BK.root,lang:t.lang,dir:"auto",children:t.entities.map((e,n)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return De.jsx(OK,{href:e.href,children:e.text},n);case"media":return;default:return De.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},n)}})}),sk=t=>`https://x.com/${t.user.screen_name}/status/${t.id_str}`,G5=t=>`https://x.com/${typeof t=="string"?t:t.user.screen_name}`,NK=t=>`https://x.com/intent/like?tweet_id=${t.id_str}`,PK=t=>`https://x.com/intent/tweet?in_reply_to=${t.id_str}`,LK=t=>`https://x.com/intent/follow?screen_name=${t.user.screen_name}`,WK=t=>`https://x.com/hashtag/${t.text}`,$K=t=>`https://x.com/search?q=%24${t.text}`,zK=t=>`https://x.com/${t.in_reply_to_screen_name}/status/${t.in_reply_to_status_id_str}`,X5=(t,e)=>{const n=new URL(t.media_url_https),r=n.pathname.split(".").pop();return r?(n.pathname=n.pathname.replace(`.${r}`,""),n.searchParams.set("format",r),n.searchParams.set("name",e),n.toString()):t.media_url_https},jK=t=>{const{variants:e}=t.video_info;return e.filter(r=>r.content_type==="video/mp4").sort((r,i)=>{var o,a;return((o=i.bitrate)!=null?o:0)-((a=r.bitrate)!=null?a:0)})},VK=t=>{const e=jK(t);return e.length>1?e[1]:e[0]},O2=t=>t>999999?`${(t/1e6).toFixed(1)}M`:t>999?`${(t/1e3).toFixed(1)}K`:t.toString();function lk(t){const e=Array.from(t.text),n=[{indices:t.display_text_range,type:"text"}];return ad(n,"hashtag",t.entities.hashtags),ad(n,"mention",t.entities.user_mentions),ad(n,"url",t.entities.urls),ad(n,"symbol",t.entities.symbols),t.entities.media&&ad(n,"media",t.entities.media),HK(t,n),n.map(r=>{const i=e.slice(r.indices[0],r.indices[1]).join("");switch(r.type){case"hashtag":return Object.assign(r,{href:WK(r),text:i});case"mention":return Object.assign(r,{href:G5(r.screen_name),text:i});case"url":case"media":return Object.assign(r,{href:r.expanded_url,text:r.display_url});case"symbol":return Object.assign(r,{href:$K(r),text:i});default:return Object.assign(r,{text:i})}})}function ad(t,e,n){for(const r of n)for(const[i,o]of t.entries()){if(o.indices[0]>r.indices[0]||o.indices[1]<r.indices[1])continue;const a=[{...r,type:e}];o.indices[0]<r.indices[0]&&a.unshift({indices:[o.indices[0],r.indices[0]],type:"text"}),o.indices[1]>r.indices[1]&&a.push({indices:[r.indices[1],o.indices[1]],type:"text"}),t.splice(i,1,...a);break}}function HK(t,e){t.entities.media&&t.entities.media[0].indices[0]<t.display_text_range[1]&&(t.display_text_range[1]=t.entities.media[0].indices[0]);const n=e.at(-1);n&&n.indices[1]>t.display_text_range[1]&&(n.indices[1]=t.display_text_range[1])}const qK=t=>({...t,url:sk(t),user:{...t.user,url:G5(t),follow_url:LK(t)},like_url:NK(t),reply_url:PK(t),in_reply_to_url:t.in_reply_to_screen_name?zK(t):void 0,entities:lk(t),quoted_tweet:t.quoted_tweet?{...t.quoted_tweet,url:sk(t.quoted_tweet),entities:lk(t.quoted_tweet)}:void 0}),GK="_root_g9tkv_1",XK="_rounded_g9tkv_6",JK="_mediaWrapper_g9tkv_10",YK="_grid2Columns_g9tkv_17",KK="_grid3_g9tkv_20",ZK="_grid2x2_g9tkv_23",QK="_mediaContainer_g9tkv_26",eZ="_mediaLink_g9tkv_34",tZ="_skeleton_g9tkv_38",nZ="_image_g9tkv_43",Rr={root:GK,rounded:XK,mediaWrapper:JK,grid2Columns:YK,grid3:KK,grid2x2:ZK,mediaContainer:QK,mediaLink:eZ,skeleton:tZ,image:nZ},rZ="_anchor_fp31d_1",iZ="_videoButton_fp31d_17",oZ="_videoButtonIcon_fp31d_35",aZ="_watchOnTwitter_fp31d_44",sZ="_viewReplies_fp31d_60",eu={anchor:rZ,videoButton:iZ,videoButtonIcon:oZ,watchOnTwitter:aZ,viewReplies:sZ},lZ=({tweet:t,media:e})=>{const[n,r]=gt.useState(!0),[i,o]=gt.useState(!1),[a,s]=gt.useState(!1),l=VK(e);let c=0;return De.jsxs(De.Fragment,{children:[De.jsx("video",{className:Rr.image,poster:X5(e,"small"),controls:!n,playsInline:!0,preload:"none",tabIndex:n?-1:0,onPlay:()=>{c&&window.clearTimeout(c),i||o(!0),a&&s(!1)},onPause:()=>{c&&window.clearTimeout(c),c=window.setTimeout(()=>{i&&o(!1),c=0},100)},onEnded:()=>{s(!0)},children:De.jsx("source",{src:l.url,type:l.content_type})}),n&&De.jsx("button",{type:"button",className:eu.videoButton,"aria-label":"View video on X",onClick:f=>{const d=f.currentTarget.previousSibling;f.preventDefault(),r(!1),d.load(),d.play().then(()=>{o(!0),d.focus()}).catch(p=>{console.error("Error playing video:",p),r(!0),o(!1)})},children:De.jsx("svg",{viewBox:"0 0 24 24",className:eu.videoButtonIcon,"aria-hidden":"true",children:De.jsx("g",{children:De.jsx("path",{d:"M21 12L4 2v20l17-10z"})})})}),!i&&!a&&De.jsx("div",{className:eu.watchOnTwitter,children:De.jsx("a",{href:t.url,className:eu.anchor,target:"_blank",rel:"noopener noreferrer",children:n?"Watch on X":"Continue watching on X"})}),a&&De.jsx("a",{href:t.url,className:Zi(eu.anchor,eu.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},cZ=t=>De.jsx("img",{...t}),ck=(t,e)=>{let n=56.25;return e===1&&(n=100/t.original_info.width*t.original_info.height),e===2&&(n=n*2),{width:t.type==="photo"?void 0:"unset",paddingBottom:`${n}%`}},J5=({tweet:t,components:e,quoted:n})=>{var r,i,o;const a=(o=(r=t.mediaDetails)==null?void 0:r.length)!=null?o:0;var s;const l=(s=e==null?void 0:e.MediaImg)!=null?s:cZ;return De.jsx("div",{className:Zi(Rr.root,!n&&Rr.rounded),children:De.jsx("div",{className:Zi(Rr.mediaWrapper,a>1&&Rr.grid2Columns,a===3&&Rr.grid3,a>4&&Rr.grid2x2),children:(i=t.mediaDetails)==null?void 0:i.map(c=>De.jsx(gt.Fragment,{children:c.type==="photo"?De.jsxs("a",{href:t.url,className:Zi(Rr.mediaContainer,Rr.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[De.jsx("div",{className:Rr.skeleton,style:ck(c,a)}),De.jsx(l,{src:X5(c,"small"),alt:c.ext_alt_text||"Image",className:Rr.image,draggable:!0})]},c.media_url_https):De.jsxs("div",{className:Rr.mediaContainer,children:[De.jsx("div",{className:Rr.skeleton,style:ck(c,a)}),De.jsx(lZ,{tweet:t,media:c})]},c.media_url_https)},c.media_url_https))})})},uZ={hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"},fZ=new Intl.DateTimeFormat("en-US",uZ),dZ=t=>{const e={};for(const n of t)e[n.type]=n.value;return e},hZ=t=>{const e=dZ(fZ.formatToParts(t)),n=`${e.hour}:${e.minute} ${e.dayPeriod}`,r=`${e.month} ${e.day}, ${e.year}`;return`${n} · ${r}`},pZ="_root_i24yn_1",gZ={root:pZ},mZ=({tweet:t})=>{const e=new Date(t.created_at),n=hZ(e);return De.jsx("a",{className:gZ.root,href:t.url,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:De.jsx("time",{dateTime:e.toISOString(),children:n})})},yZ="_info_19qcj_1",bZ="_infoLink_19qcj_10",vZ="_infoIcon_19qcj_30",t0={info:yZ,infoLink:bZ,infoIcon:vZ},xZ=({tweet:t})=>De.jsxs("div",{className:t0.info,children:[De.jsx(mZ,{tweet:t}),De.jsx("a",{className:t0.infoLink,href:"https://help.x.com/en/x-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:De.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:t0.infoIcon,children:De.jsx("g",{children:De.jsx("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]}),DZ="_actions_n2anf_1",wZ="_like_n2anf_13",SZ="_reply_n2anf_14",TZ="_copy_n2anf_15",_Z="_likeIconWrapper_n2anf_27",CZ="_likeCount_n2anf_30",EZ="_replyIconWrapper_n2anf_35",kZ="_copyIconWrapper_n2anf_36",AZ="_likeIcon_n2anf_27",UZ="_replyIcon_n2anf_35",FZ="_copyIcon_n2anf_36",RZ="_replyText_n2anf_56",OZ="_copyText_n2anf_57",gr={actions:DZ,like:wZ,reply:SZ,copy:TZ,likeIconWrapper:_Z,likeCount:CZ,replyIconWrapper:EZ,copyIconWrapper:kZ,likeIcon:AZ,replyIcon:UZ,copyIcon:FZ,replyText:RZ,copyText:OZ},IZ=({tweet:t})=>{const[e,n]=gt.useState(!1),r=()=>{navigator.clipboard.writeText(t.url),n(!0)};return gt.useEffect(()=>{if(e){const i=setTimeout(()=>{n(!1)},6e3);return()=>clearTimeout(i)}},[e]),De.jsxs("button",{type:"button",className:gr.copy,"aria-label":"Copy link",onClick:r,children:[De.jsx("div",{className:gr.copyIconWrapper,children:e?De.jsx("svg",{viewBox:"0 0 24 24",className:gr.copyIcon,"aria-hidden":"true",children:De.jsx("g",{children:De.jsx("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):De.jsx("svg",{viewBox:"0 0 24 24",className:gr.copyIcon,"aria-hidden":"true",children:De.jsx("g",{children:De.jsx("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),De.jsx("span",{className:gr.copyText,children:e?"Copied!":"Copy link"})]})},BZ=({tweet:t})=>{const e=O2(t.favorite_count);return De.jsxs("div",{className:gr.actions,children:[De.jsxs("a",{className:gr.like,href:t.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${e} likes`,children:[De.jsx("div",{className:gr.likeIconWrapper,children:De.jsx("svg",{viewBox:"0 0 24 24",className:gr.likeIcon,"aria-hidden":"true",children:De.jsx("g",{children:De.jsx("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),De.jsx("span",{className:gr.likeCount,children:e})]}),De.jsxs("a",{className:gr.reply,href:t.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[De.jsx("div",{className:gr.replyIconWrapper,children:De.jsx("svg",{viewBox:"0 0 24 24",className:gr.replyIcon,"aria-hidden":"true",children:De.jsx("g",{children:De.jsx("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),De.jsx("span",{className:gr.replyText,children:"Reply"})]}),De.jsx(IZ,{tweet:t})]})},MZ="_replies_1cutb_1",NZ="_link_1cutb_4",PZ="_text_1cutb_23",n0={replies:MZ,link:NZ,text:PZ},LZ=({tweet:t})=>De.jsx("div",{className:n0.replies,children:De.jsx("a",{className:n0.link,href:t.url,target:"_blank",rel:"noopener noreferrer",children:De.jsx("span",{className:n0.text,children:t.conversation_count===0?"Read more on X":t.conversation_count===1?`Read ${O2(t.conversation_count)} reply`:`Read ${O2(t.conversation_count)} replies`})})}),WZ="_root_q5799_1",$Z="_article_q5799_16",uk={root:WZ,article:$Z},zZ=({tweet:t,children:e})=>De.jsx("div",{className:uk.root,onClick:n=>{n.preventDefault(),window.open(t.url,"_blank")},children:De.jsx("article",{className:uk.article,children:e})}),jZ="_header_r31i5_1",VZ="_avatar_r31i5_11",HZ="_avatarSquare_r31i5_17",qZ="_author_r31i5_21",GZ="_authorText_r31i5_26",XZ="_username_r31i5_33",fl={header:jZ,avatar:VZ,avatarSquare:HZ,author:qZ,authorText:GZ,username:XZ},JZ=({tweet:t})=>{const{user:e}=t;return De.jsxs("div",{className:fl.header,children:[De.jsx("a",{href:t.url,className:fl.avatar,target:"_blank",rel:"noopener noreferrer",children:De.jsx("div",{className:Zi(fl.avatarOverflow,e.profile_image_shape==="Square"&&fl.avatarSquare),children:De.jsx(H5,{src:e.profile_image_url_https,alt:e.name,width:20,height:20})})}),De.jsxs("div",{className:fl.author,children:[De.jsx("div",{className:fl.authorText,children:De.jsx("span",{title:e.name,children:e.name})}),De.jsx(q5,{user:e}),De.jsx("div",{className:fl.username,children:De.jsxs("span",{title:`@${e.screen_name}`,children:["@",e.screen_name]})})]})]})},YZ="_root_175ot_1",KZ={root:YZ},ZZ=({tweet:t})=>De.jsx("p",{className:KZ.root,lang:t.lang,dir:"auto",children:t.entities.map((e,n)=>De.jsx("span",{dangerouslySetInnerHTML:{__html:e.text}},n))}),QZ=({tweet:t})=>{var e;return De.jsxs(zZ,{tweet:t,children:[De.jsx(JZ,{tweet:t}),De.jsx(ZZ,{tweet:t}),(e=t.mediaDetails)!=null&&e.length?De.jsx(J5,{quoted:!0,tweet:t}):null]})},eQ=({tweet:t,components:e})=>{var n;const r=gt.useMemo(()=>qK(t),[t]);return De.jsxs(Sw,{children:[De.jsx(EK,{tweet:r,components:e}),r.in_reply_to_status_id_str&&De.jsx(UK,{tweet:r}),De.jsx(MK,{tweet:r}),(n=r.mediaDetails)!=null&&n.length?De.jsx(J5,{tweet:r,components:e}):null,r.quoted_tweet&&De.jsx(QZ,{tweet:r.quoted_tweet}),De.jsx(xZ,{tweet:r}),De.jsx(BZ,{tweet:r}),De.jsx(LZ,{tweet:r})]})},tQ="_root_16yxa_1",nQ={root:tQ},rQ=t=>De.jsx(Sw,{children:De.jsxs("div",{className:nQ.root,children:[De.jsx("h3",{children:"Tweet not found"}),De.jsx("p",{children:"The embedded tweet could not be found…"})]})}),iQ="_skeleton_oi7hr_1",oQ={skeleton:iQ},Lp=({style:t})=>De.jsx("span",{className:oQ.skeleton,style:t}),aQ="_root_17qqv_1",sQ={root:aQ},lQ=()=>De.jsxs(Sw,{className:sQ.root,children:[De.jsx(Lp,{style:{height:"3rem",marginBottom:"0.75rem"}}),De.jsx(Lp,{style:{height:"6rem",margin:"0.5rem 0"}}),De.jsx("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),De.jsx(Lp,{style:{height:"2rem"}}),De.jsx(Lp,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var I2={exports:{}},r0={};/**
353
+ * @license React
354
+ * use-sync-external-store-shim.production.js
355
+ *
356
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
357
+ *
358
+ * This source code is licensed under the MIT license found in the
359
+ * LICENSE file in the root directory of this source tree.
360
+ */var fk;function cQ(){if(fk)return r0;fk=1;var t=gt;function e(d,p){return d===p&&(d!==0||1/d===1/p)||d!==d&&p!==p}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,i=t.useEffect,o=t.useLayoutEffect,a=t.useDebugValue;function s(d,p){var g=p(),m=r({inst:{value:g,getSnapshot:p}}),v=m[0].inst,x=m[1];return o(function(){v.value=g,v.getSnapshot=p,l(v)&&x({inst:v})},[d,g,p]),i(function(){return l(v)&&x({inst:v}),d(function(){l(v)&&x({inst:v})})},[d]),a(g),g}function l(d){var p=d.getSnapshot;d=d.value;try{var g=p();return!n(d,g)}catch{return!0}}function c(d,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:s;return r0.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,r0}var i0={};/**
361
+ * @license React
362
+ * use-sync-external-store-shim.development.js
363
+ *
364
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
365
+ *
366
+ * This source code is licensed under the MIT license found in the
367
+ * LICENSE file in the root directory of this source tree.
368
+ */var dk;function uQ(){return dk||(dk=1,process.env.NODE_ENV!=="production"&&function(){function t(g,m){return g===m&&(g!==0||1/g===1/m)||g!==g&&m!==m}function e(g,m){f||i.startTransition===void 0||(f=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var v=m();if(!d){var x=m();o(v,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),d=!0)}x=a({inst:{value:v,getSnapshot:m}});var D=x[0].inst,w=x[1];return l(function(){D.value=v,D.getSnapshot=m,n(D)&&w({inst:D})},[g,v,m]),s(function(){return n(D)&&w({inst:D}),g(function(){n(D)&&w({inst:D})})},[g]),c(v),v}function n(g){var m=g.getSnapshot;g=g.value;try{var v=m();return!o(g,v)}catch{return!0}}function r(g,m){return m()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=gt,o=typeof Object.is=="function"?Object.is:t,a=i.useState,s=i.useEffect,l=i.useLayoutEffect,c=i.useDebugValue,f=!1,d=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:e;i0.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),i0}process.env.NODE_ENV==="production"?I2.exports=cQ():I2.exports=uQ();var fQ=I2.exports;const Y5=0,K5=1,Z5=2,hk=3;var pk=Object.prototype.hasOwnProperty;function B2(t,e){var n,r;if(t===e)return!0;if(t&&e&&(n=t.constructor)===e.constructor){if(n===Date)return t.getTime()===e.getTime();if(n===RegExp)return t.toString()===e.toString();if(n===Array){if((r=t.length)===e.length)for(;r--&&B2(t[r],e[r]););return r===-1}if(!n||typeof t=="object"){r=0;for(n in t)if(pk.call(t,n)&&++r&&!pk.call(e,n)||!(n in e)||!B2(t[n],e[n]))return!1;return Object.keys(e).length===r}}return t!==t&&e!==e}const qo=new WeakMap,as=()=>{},Qn=as(),M2=Object,yt=t=>t===Qn,Yi=t=>typeof t=="function",ys=(t,e)=>({...t,...e}),Q5=t=>Yi(t.then),o0={},Wp={},Tw="undefined",Ch=typeof window!=Tw,N2=typeof document!=Tw,dQ=Ch&&"Deno"in window,hQ=()=>Ch&&typeof window.requestAnimationFrame!=Tw,eO=(t,e)=>{const n=qo.get(t);return[()=>!yt(e)&&t.get(e)||o0,r=>{if(!yt(e)){const i=t.get(e);e in Wp||(Wp[e]=i),n[5](e,ys(i,r),i||o0)}},n[6],()=>!yt(e)&&e in Wp?Wp[e]:!yt(e)&&t.get(e)||o0]};let P2=!0;const pQ=()=>P2,[L2,W2]=Ch&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[as,as],gQ=()=>{const t=N2&&document.visibilityState;return yt(t)||t!=="hidden"},mQ=t=>(N2&&document.addEventListener("visibilitychange",t),L2("focus",t),()=>{N2&&document.removeEventListener("visibilitychange",t),W2("focus",t)}),yQ=t=>{const e=()=>{P2=!0,t()},n=()=>{P2=!1};return L2("online",e),L2("offline",n),()=>{W2("online",e),W2("offline",n)}},bQ={isOnline:pQ,isVisible:gQ},vQ={initFocus:mQ,initReconnect:yQ},gk=!gt.useId,th=!Ch||dQ,xQ=t=>hQ()?window.requestAnimationFrame(t):setTimeout(t,1),a0=th?gt.useEffect:gt.useLayoutEffect,s0=typeof navigator<"u"&&navigator.connection,mk=!th&&s0&&(["slow-2g","2g"].includes(s0.effectiveType)||s0.saveData),$p=new WeakMap,l0=(t,e)=>M2.prototype.toString.call(t)===`[object ${e}]`;let DQ=0;const $2=t=>{const e=typeof t,n=l0(t,"Date"),r=l0(t,"RegExp"),i=l0(t,"Object");let o,a;if(M2(t)===t&&!n&&!r){if(o=$p.get(t),o)return o;if(o=++DQ+"~",$p.set(t,o),Array.isArray(t)){for(o="@",a=0;a<t.length;a++)o+=$2(t[a])+",";$p.set(t,o)}if(i){o="#";const s=M2.keys(t).sort();for(;!yt(a=s.pop());)yt(t[a])||(o+=a+":"+$2(t[a])+",");$p.set(t,o)}}else o=n?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},_w=t=>{if(Yi(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?$2(t):"",[t,e]};let wQ=0;const z2=()=>++wQ;async function tO(...t){const[e,n,r,i]=t,o=ys({populateCache:!0,throwOnError:!0},typeof i=="boolean"?{revalidate:i}:i||{});let a=o.populateCache;const s=o.rollbackOnError;let l=o.optimisticData;const c=p=>typeof s=="function"?s(p):s!==!1,f=o.throwOnError;if(Yi(n)){const p=n,g=[],m=e.keys();for(const v of m)!/^\$(inf|sub)\$/.test(v)&&p(e.get(v)._k)&&g.push(v);return Promise.all(g.map(d))}return d(n);async function d(p){const[g]=_w(p);if(!g)return;const[m,v]=eO(e,g),[x,D,w,C]=qo.get(e),R=()=>{const X=x[g];return(Yi(o.revalidate)?o.revalidate(m().data,p):o.revalidate!==!1)&&(delete w[g],delete C[g],X&&X[0])?X[0](Z5).then(()=>m().data):m().data};if(t.length<3)return R();let U=r,I;const N=z2();D[g]=[N,0];const V=!yt(l),j=m(),oe=j.data,ue=j._c,F=yt(ue)?oe:ue;if(V&&(l=Yi(l)?l(F,oe):l,v({data:l,_c:F})),Yi(U))try{U=U(F)}catch(X){I=X}if(U&&Q5(U))if(U=await U.catch(X=>{I=X}),N!==D[g][0]){if(I)throw I;return U}else I&&V&&c(I)&&(a=!0,v({data:F,_c:Qn}));if(a&&!I)if(Yi(a)){const X=a(U,F);v({data:X,error:Qn,_c:Qn})}else v({data:U,error:Qn,_c:Qn});if(D[g][1]=z2(),Promise.resolve(R()).then(()=>{v({_c:Qn})}),I){if(f)throw I;return}return U}}const yk=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},SQ=(t,e)=>{if(!qo.has(t)){const n=ys(vQ,e),r={},i=tO.bind(Qn,t);let o=as;const a={},s=(f,d)=>{const p=a[f]||[];return a[f]=p,p.push(d),()=>p.splice(p.indexOf(d),1)},l=(f,d,p)=>{t.set(f,d);const g=a[f];if(g)for(const m of g)m(d,p)},c=()=>{if(!qo.has(t)&&(qo.set(t,[r,{},{},{},i,l,s]),!th)){const f=n.initFocus(setTimeout.bind(Qn,yk.bind(Qn,r,Y5))),d=n.initReconnect(setTimeout.bind(Qn,yk.bind(Qn,r,K5)));o=()=>{f&&f(),d&&d(),qo.delete(t)}}};return c(),[t,i,c,o]}return[t,qo.get(t)[4]]},TQ=(t,e,n,r,i)=>{const o=n.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!yt(o)&&a>o||setTimeout(r,s,i)},_Q=B2,[nO,CQ]=SQ(new Map),EQ=ys({onLoadingSlow:as,onSuccess:as,onError:as,onErrorRetry:TQ,onDiscarded:as,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:mk?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:mk?5e3:3e3,compare:_Q,isPaused:()=>!1,cache:nO,mutate:CQ,fallback:{}},bQ),kQ=(t,e)=>{const n=ys(t,e);if(e){const{use:r,fallback:i}=t,{use:o,fallback:a}=e;r&&o&&(n.use=r.concat(o)),i&&a&&(n.fallback=ys(i,a))}return n},AQ=gt.createContext({}),UQ="$inf$",rO=Ch&&window.__SWR_DEVTOOLS_USE__,FQ=rO?window.__SWR_DEVTOOLS_USE__:[],RQ=()=>{rO&&(window.__SWR_DEVTOOLS_REACT__=gt)},OQ=t=>Yi(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],IQ=()=>ys(EQ,gt.useContext(AQ)),BQ=t=>(e,n,r)=>t(e,n&&((...o)=>{const[a]=_w(e),[,,,s]=qo.get(nO);if(a.startsWith(UQ))return n(...o);const l=s[a];return yt(l)?n(...o):(delete s[a],l)}),r),MQ=FQ.concat(BQ),NQ=t=>function(...n){const r=IQ(),[i,o,a]=OQ(n),s=kQ(r,a);let l=t;const{use:c}=s,f=(c||[]).concat(MQ);for(let d=f.length;d--;)l=f[d](l);return l(i,o||s.fetcher||null,s)},PQ=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i>=0&&(r[i]=r[r.length-1],r.pop())}};RQ();const c0=gt.use||(t=>{switch(t.status){case"pending":throw t;case"fulfilled":return t.value;case"rejected":throw t.reason;default:throw t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t}}),u0={dedupe:!0},LQ=(t,e,n)=>{const{cache:r,compare:i,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:c,refreshWhenHidden:f,refreshWhenOffline:d,keepPreviousData:p}=n,[g,m,v,x]=qo.get(r),[D,w]=_w(t),C=gt.useRef(!1),R=gt.useRef(!1),U=gt.useRef(D),I=gt.useRef(e),N=gt.useRef(n),V=()=>N.current,j=()=>V().isVisible()&&V().isOnline(),[oe,ue,F,X]=eO(r,D),E=gt.useRef({}).current,re=yt(a)?yt(n.fallback)?Qn:n.fallback[D]:a,z=(_e,A)=>{for(const de in E){const ce=de;if(ce==="data"){if(!i(_e[ce],A[ce])&&(!yt(_e[ce])||!i(ye,A[ce])))return!1}else if(A[ce]!==_e[ce])return!1}return!0},J=gt.useMemo(()=>{const _e=!D||!e?!1:yt(s)?V().isPaused()||o?!1:l!==!1:s,A=we=>{const Ee=ys(we);return delete Ee._k,_e?{isValidating:!0,isLoading:!0,...Ee}:Ee},de=oe(),ce=X(),K=A(de),q=de===ce?K:A(ce);let ie=K;return[()=>{const we=A(oe());return z(we,ie)?(ie.data=we.data,ie.isLoading=we.isLoading,ie.isValidating=we.isValidating,ie.error=we.error,ie):(ie=we,we)},()=>q]},[r,D]),Y=fQ.useSyncExternalStore(gt.useCallback(_e=>F(D,(A,de)=>{z(de,A)||_e()}),[r,D]),J[0],J[1]),G=!C.current,ae=g[D]&&g[D].length>0,H=Y.data,P=yt(H)?re&&Q5(re)?c0(re):re:H,he=Y.error,Se=gt.useRef(P),ye=p?yt(H)?yt(Se.current)?P:Se.current:H:P,Ae=ae&&!yt(he)?!1:G&&!yt(s)?s:V().isPaused()?!1:o?yt(P)?!1:l:yt(P)||l,je=!!(D&&e&&G&&Ae),$e=yt(Y.isValidating)?je:Y.isValidating,ze=yt(Y.isLoading)?je:Y.isLoading,Ze=gt.useCallback(async _e=>{const A=I.current;if(!D||!A||R.current||V().isPaused())return!1;let de,ce,K=!0;const q=_e||{},ie=!v[D]||!q.dedupe,we=()=>gk?!R.current&&D===U.current&&C.current:D===U.current,Ee={isValidating:!1,isLoading:!1},fe=()=>{ue(Ee)},ee=()=>{const le=v[D];le&&le[1]===ce&&delete v[D]},ne={isValidating:!0};yt(oe().data)&&(ne.isLoading=!0);try{if(ie&&(ue(ne),n.loadingTimeout&&yt(oe().data)&&setTimeout(()=>{K&&we()&&V().onLoadingSlow(D,n)},n.loadingTimeout),v[D]=[A(w),z2()]),[de,ce]=v[D],de=await de,ie&&setTimeout(ee,n.dedupingInterval),!v[D]||v[D][1]!==ce)return ie&&we()&&V().onDiscarded(D),!1;Ee.error=Qn;const le=m[D];if(!yt(le)&&(ce<=le[0]||ce<=le[1]||le[1]===0))return fe(),ie&&we()&&V().onDiscarded(D),!1;const xe=oe().data;Ee.data=i(xe,de)?xe:de,ie&&we()&&V().onSuccess(de,D,n)}catch(le){ee();const xe=V(),{shouldRetryOnError:Ne}=xe;xe.isPaused()||(Ee.error=le,ie&&we()&&(xe.onError(le,D,xe),(Ne===!0||Yi(Ne)&&Ne(le))&&(!V().revalidateOnFocus||!V().revalidateOnReconnect||j())&&xe.onErrorRetry(le,D,xe,Pe=>{const Ge=g[D];Ge&&Ge[0]&&Ge[0](hk,Pe)},{retryCount:(q.retryCount||0)+1,dedupe:!0})))}return K=!1,fe(),!0},[D,r]),se=gt.useCallback((..._e)=>tO(r,U.current,..._e),[]);if(a0(()=>{I.current=e,N.current=n,yt(H)||(Se.current=H)}),a0(()=>{if(!D)return;const _e=Ze.bind(Qn,u0);let A=0;const ce=PQ(D,g,(K,q={})=>{if(K==Y5){const ie=Date.now();V().revalidateOnFocus&&ie>A&&j()&&(A=ie+V().focusThrottleInterval,_e())}else if(K==K5)V().revalidateOnReconnect&&j()&&_e();else{if(K==Z5)return Ze();if(K==hk)return Ze(q)}});return R.current=!1,U.current=D,C.current=!0,ue({_k:w}),Ae&&(yt(P)||th?_e():xQ(_e)),()=>{R.current=!0,ce()}},[D]),a0(()=>{let _e;function A(){const ce=Yi(c)?c(oe().data):c;ce&&_e!==-1&&(_e=setTimeout(de,ce))}function de(){!oe().error&&(f||V().isVisible())&&(d||V().isOnline())?Ze(u0).then(A):A()}return A(),()=>{_e&&(clearTimeout(_e),_e=-1)}},[c,f,d,D]),gt.useDebugValue(ye),o&&yt(P)&&D){if(!gk&&th)throw new Error("Fallback data is required when using Suspense in SSR.");I.current=e,N.current=n,R.current=!1;const _e=x[D];if(!yt(_e)){const A=se(_e);c0(A)}if(yt(he)){const A=Ze(u0);yt(ye)||(A.status="fulfilled",A.value=!0),c0(A)}else throw he}return{mutate:se,get data(){return E.data=!0,ye},get error(){return E.error=!0,he},get isValidating(){return E.isValidating=!0,$e},get isLoading(){return E.isLoading=!0,ze}}},bk=NQ(LQ);class WQ extends Error{constructor({message:e,status:n,data:r}){super(e),this.name="TwitterApiError",this.status=n,this.data=r}}const $Q=bk.default||bk,zQ="https://react-tweet.vercel.app";async function jQ([t,e]){const n=await fetch(t,e),r=await n.json();if(n.ok)return r.data||null;throw new WQ({message:`Failed to fetch tweet at "${t}" with "${n.status}".`,data:r,status:n.status})}const VQ=(t,e,n)=>{const{isLoading:r,data:i,error:o}=$Q(()=>e||t?[e||t&&`${zQ}/api/tweet/${t}`,n]:null,jQ,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(r||i===void 0&&!o),data:i,error:o}},HQ=({id:t,apiUrl:e,fallback:n=De.jsx(lQ,{}),components:r,fetchOptions:i,onError:o})=>{const{data:a,error:s,isLoading:l}=VQ(t,e,i);if(l)return n;if(s||!a){const c=(r==null?void 0:r.TweetNotFound)||rQ;return De.jsx(c,{error:o?o(s):s})}return De.jsx(eQ,{tweet:a,components:r})},no=()=>new Map,j2=t=>{const e=no();return t.forEach((n,r)=>{e.set(r,n)}),e},Ku=(t,e,n)=>{let r=t.get(e);return r===void 0&&t.set(e,r=n()),r},qQ=(t,e)=>{const n=[];for(const[r,i]of t)n.push(e(i,r));return n},GQ=(t,e)=>{for(const[n,r]of t)if(e(r,n))return!0;return!1},Bu=()=>new Set,f0=t=>t[t.length-1],Mu=Array.from,XQ=Array.isArray;class JQ{constructor(){this._observers=no()}on(e,n){return Ku(this._observers,e,Bu).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 Mu((this._observers.get(e)||no()).values()).forEach(r=>r(...n))}destroy(){this._observers=no()}}const Ol=Math.floor,fg=Math.abs,iO=(t,e)=>t<e?t:e,Zu=(t,e)=>t>e?t:e,YQ=t=>t!==0?t<0:1/t<0,vk=1,xk=2,d0=4,h0=8,KQ=32,oO=64,Cm=128,ZQ=31,Dk=63,Cd=127,QQ=2147483647,eee=Number.isInteger||(t=>typeof t=="number"&&isFinite(t)&&Ol(t)===t),tee=t=>t.toLowerCase(),nee=/^\s*/g,ree=t=>t.replace(nee,""),iee=/([A-Z])/g,wk=(t,e)=>ree(t.replace(iee,n=>`${e}${tee(n)}`)),oee=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},nh=typeof TextEncoder<"u"?new TextEncoder:null,aee=t=>nh.encode(t),see=nh?aee:oee;let p0=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});p0&&p0.decode(new Uint8Array).length===1&&(p0=null);class Eh{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}}const Cw=()=>new Eh,lee=t=>{let e=t.cpos;for(let n=0;n<t.bufs.length;n++)e+=t.bufs[n].length;return e},Xo=t=>{const e=new Uint8Array(lee(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},cee=(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(Zu(n,e)*2),t.cpos=0)},rn=(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},V2=rn,_t=(t,e)=>{for(;e>Cd;)rn(t,Cm|Cd&e),e=Ol(e/128);rn(t,Cd&e)},Ew=(t,e)=>{const n=YQ(e);for(n&&(e=-e),rn(t,(e>Dk?Cm:0)|(n?oO:0)|Dk&e),e=Ol(e/64);e>0;)rn(t,(e>Cd?Cm:0)|Cd&e),e=Ol(e/128)},H2=new Uint8Array(3e4),uee=H2.length/3,fee=(t,e)=>{if(e.length<uee){const n=nh.encodeInto(e,H2).written||0;_t(t,n);for(let r=0;r<n;r++)rn(t,H2[r])}else Or(t,see(e))},dee=(t,e)=>{const n=unescape(encodeURIComponent(e)),r=n.length;_t(t,r);for(let i=0;i<r;i++)rn(t,n.codePointAt(i))},vu=nh&&nh.encodeInto?fee:dee,kw=(t,e)=>{const n=t.cbuf.length,r=t.cpos,i=iO(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(Zu(n*2,o)),t.cbuf.set(e.subarray(i)),t.cpos=o)},Or=(t,e)=>{_t(t,e.byteLength),kw(t,e)},Aw=(t,e)=>{cee(t,e);const n=new DataView(t.cbuf.buffer,t.cpos,e);return t.cpos+=e,n},hee=(t,e)=>Aw(t,4).setFloat32(0,e,!1),pee=(t,e)=>Aw(t,8).setFloat64(0,e,!1),gee=(t,e)=>Aw(t,8).setBigInt64(0,e,!1),Sk=new DataView(new ArrayBuffer(4)),mee=t=>(Sk.setFloat32(0,t),Sk.getFloat32(0)===t),rh=(t,e)=>{switch(typeof e){case"string":rn(t,119),vu(t,e);break;case"number":eee(e)&&fg(e)<=QQ?(rn(t,125),Ew(t,e)):mee(e)?(rn(t,124),hee(t,e)):(rn(t,123),pee(t,e));break;case"bigint":rn(t,122),gee(t,e);break;case"object":if(e===null)rn(t,126);else if(XQ(e)){rn(t,117),_t(t,e.length);for(let n=0;n<e.length;n++)rh(t,e[n])}else if(e instanceof Uint8Array)rn(t,116),Or(t,e);else{rn(t,118);const n=Object.keys(e);_t(t,n.length);for(let r=0;r<n.length;r++){const i=n[r];vu(t,i),rh(t,e[i])}}break;case"boolean":rn(t,e?120:121);break;default:rn(t,127)}};class Tk extends Eh{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&_t(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}}const _k=t=>{t.count>0&&(Ew(t.encoder,t.count===1?t.s:-t.s),t.count>1&&_t(t.encoder,t.count-2))};class dg{constructor(){this.encoder=new Eh,this.s=0,this.count=0}write(e){this.s===e?this.count++:(_k(this),this.count=1,this.s=e)}toUint8Array(){return _k(this),Xo(this.encoder)}}const Ck=t=>{if(t.count>0){const e=t.diff*2+(t.count===1?0:1);Ew(t.encoder,e),t.count>1&&_t(t.encoder,t.count-2)}};class g0{constructor(){this.encoder=new Eh,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(Ck(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return Ck(this),Xo(this.encoder)}}class yee{constructor(){this.sarr=[],this.s="",this.lensE=new dg}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 Eh;return this.sarr.push(this.s),this.s="",vu(e,this.sarr.join("")),kw(e,this.lensE.toUint8Array()),Xo(e)}}const Nu=t=>new Error(t),ro=()=>{throw Nu("Method unimplemented")},bs=()=>{throw Nu("Unexpected case")},bee=crypto.getRandomValues.bind(crypto),aO=()=>bee(new Uint32Array(1))[0],vee="10000000-1000-4000-8000"+-1e11,xee=()=>vee.replace(/[018]/g,t=>(t^aO()&15>>t/4).toString(16)),Ek=t=>new Promise(t);Promise.all.bind(Promise);const kk=t=>t===void 0?null:t;class Dee{constructor(){this.map=new Map}setItem(e,n){this.map.set(e,n)}getItem(e){return this.map.get(e)}}let sO=new Dee,wee=!0;try{typeof localStorage<"u"&&localStorage&&(sO=localStorage,wee=!1)}catch{}const See=sO,Tee=Object.assign,_ee=Object.keys,Cee=(t,e)=>{for(const n in t)e(t[n],n)},Ak=t=>_ee(t).length,Eee=t=>{for(const e in t)return!1;return!0},kee=(t,e)=>{for(const n in t)if(!e(t[n],n))return!1;return!0},Aee=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),Uee=(t,e)=>t===e||Ak(t)===Ak(e)&&kee(t,(n,r)=>(n!==void 0||Aee(e,r))&&e[r]===n),Fee=Object.freeze,lO=t=>{for(const e in t){const n=t[e];(typeof n=="object"||typeof n=="function")&&lO(t[e])}return Fee(t)},Uw=(t,e,n=0)=>{try{for(;n<t.length;n++)t[n](...e)}finally{n<t.length&&Uw(t,e,n+1)}},Ree=(t,e)=>e.includes(t),ih=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]";let Hi;const Oee=()=>{if(Hi===void 0)if(ih){Hi=no();const t=process.argv;let e=null;for(let n=0;n<t.length;n++){const r=t[n];r[0]==="-"?(e!==null&&Hi.set(e,""),e=r):e!==null&&(Hi.set(e,r),e=null)}e!==null&&Hi.set(e,"")}else typeof location=="object"?(Hi=no(),(location.search||"?").slice(1).split("&").forEach(t=>{if(t.length!==0){const[e,n]=t.split("=");Hi.set(`--${wk(e,"-")}`,n),Hi.set(`-${wk(e,"-")}`,n)}})):Hi=no();return Hi},q2=t=>Oee().has(t),Em=t=>kk(ih?process.env[t.toUpperCase().replaceAll("-","_")]:See.getItem(t)),cO=t=>q2("--"+t)||Em(t)!==null;cO("production");const Iee=ih&&Ree(process.env.FORCE_COLOR,["true","1","2"]),Bee=Iee||!q2("--no-colors")&&!cO("no-color")&&(!ih||process.stdout.isTTY)&&(!ih||q2("--color")||Em("COLORTERM")!==null||(Em("TERM")||"").includes("color"));class Mee{constructor(e,n){this.left=e,this.right=n}}const $o=(t,e)=>new Mee(t,e);typeof DOMParser<"u"&&new DOMParser;const Nee=t=>qQ(t,(e,n)=>`${n}:${e};`).join(""),ua=Symbol,uO=ua(),fO=ua(),Pee=ua(),Lee=ua(),Wee=ua(),dO=ua(),$ee=ua(),Fw=ua(),zee=ua(),jee=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},Vee={[uO]:$o("font-weight","bold"),[fO]:$o("font-weight","normal"),[Pee]:$o("color","blue"),[Wee]:$o("color","green"),[Lee]:$o("color","grey"),[dO]:$o("color","red"),[$ee]:$o("color","purple"),[Fw]:$o("color","orange"),[zee]:$o("color","black")},Hee=t=>{var a;t.length===1&&((a=t[0])==null?void 0:a.constructor)===Function&&(t=t[0]());const e=[],n=[],r=no();let i=[],o=0;for(;o<t.length;o++){const s=t[o],l=Vee[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=Nee(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},hO=Bee?Hee:jee,qee=(...t)=>{console.log(...hO(t)),pO.forEach(e=>e.print(t))},Gee=(...t)=>{console.warn(...hO(t)),t.unshift(Fw),pO.forEach(e=>e.print(t))},pO=Bu(),gO=t=>({[Symbol.iterator](){return this},next:t}),Xee=(t,e)=>gO(()=>{let n;do n=t.next();while(!n.done&&!e(n.value));return n}),m0=(t,e)=>gO(()=>{const{done:n,value:r}=t.next();return{done:n,value:n?void 0:e(r)}});class Jee{constructor(e,n){this.clock=e,this.len=n}}class Yee{constructor(){this.clients=new Map}}const mO=(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];SO(t,o,s.clock,s.len,n)}}),Kee=(t,e)=>{let n=0,r=t.length-1;for(;n<=r;){const i=Ol((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},yO=(t,e)=>{const n=t.clients.get(e.client);return n!==void 0&&Kee(n,e.clock)!==null},bO=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=Zu(i.len,o.clock+o.len-i.clock):(r<n&&(e[r]=o),r++)}e.length=r})},vO=(t,e,n,r)=>{Ku(t.clients,e,()=>[]).push(new Jee(n,r))},Zee=(t,e)=>{_t(t.restEncoder,e.clients.size),Mu(e.clients.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{t.resetDsCurVal(),_t(t.restEncoder,n);const i=r.length;_t(t.restEncoder,i);for(let o=0;o<i;o++){const a=r[o];t.writeDsClock(a.clock),t.writeDsLen(a.len)}})},xO=aO;class kh extends JQ{constructor({guid:e=xee(),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=xO(),this.guid=e,this.collectionid=n,this.share=new Map,this.store=new ste,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=Ek(c=>{this.on("load",()=>{this.isLoaded=!0,c(this)})});const l=()=>Ek(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&&Ft(e.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Mu(this.subdocs).map(e=>e.guid))}transact(e,n=null){return Ft(this,e,n)}get(e,n=wn){const r=Ku(this.share,e,()=>{const o=new n;return o._integrate(this,null),o}),i=r.constructor;if(n!==wn&&i!==n)if(i===wn){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,Ed)}getText(e=""){return this.get(e,lh)}getMap(e=""){return this.get(e,Fm)}getXmlElement(e=""){return this.get(e,ch)}getXmlFragment(e=""){return this.get(e,Pu)}toJSON(){const e={};return this.share.forEach((n,r)=>{e[r]=n.toJSON()}),e}destroy(){this.isDestroyed=!0,Mu(this.subdocs).forEach(n=>n.destroy());const e=this._item;if(e!==null){this._item=null;const n=e.content;n.doc=new kh({guid:this.guid,...n.opts,shouldLoad:!1}),n.doc._item=e,Ft(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 Qee{constructor(){this.restEncoder=Cw()}toUint8Array(){return Xo(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){_t(this.restEncoder,e)}writeDsLen(e){_t(this.restEncoder,e)}}class ete extends Qee{writeLeftID(e){_t(this.restEncoder,e.client),_t(this.restEncoder,e.clock)}writeRightID(e){_t(this.restEncoder,e.client),_t(this.restEncoder,e.clock)}writeClient(e){_t(this.restEncoder,e)}writeInfo(e){V2(this.restEncoder,e)}writeString(e){vu(this.restEncoder,e)}writeParentInfo(e){_t(this.restEncoder,e?1:0)}writeTypeRef(e){_t(this.restEncoder,e)}writeLen(e){_t(this.restEncoder,e)}writeAny(e){rh(this.restEncoder,e)}writeBuf(e){Or(this.restEncoder,e)}writeJSON(e){vu(this.restEncoder,JSON.stringify(e))}writeKey(e){vu(this.restEncoder,e)}}class tte{constructor(){this.restEncoder=Cw(),this.dsCurrVal=0}toUint8Array(){return Xo(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){const n=e-this.dsCurrVal;this.dsCurrVal=e,_t(this.restEncoder,n)}writeDsLen(e){e===0&&bs(),_t(this.restEncoder,e-1),this.dsCurrVal+=e}}class nte extends tte{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new g0,this.clientEncoder=new dg,this.leftClockEncoder=new g0,this.rightClockEncoder=new g0,this.infoEncoder=new Tk(V2),this.stringEncoder=new yee,this.parentInfoEncoder=new Tk(V2),this.typeRefEncoder=new dg,this.lenEncoder=new dg}toUint8Array(){const e=Cw();return _t(e,0),Or(e,this.keyClockEncoder.toUint8Array()),Or(e,this.clientEncoder.toUint8Array()),Or(e,this.leftClockEncoder.toUint8Array()),Or(e,this.rightClockEncoder.toUint8Array()),Or(e,Xo(this.infoEncoder)),Or(e,this.stringEncoder.toUint8Array()),Or(e,Xo(this.parentInfoEncoder)),Or(e,this.typeRefEncoder.toUint8Array()),Or(e,this.lenEncoder.toUint8Array()),kw(e,Xo(this.restEncoder)),Xo(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){rh(this.restEncoder,e)}writeBuf(e){Or(this.restEncoder,e)}writeJSON(e){rh(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 rte=(t,e,n,r)=>{r=Zu(r,e[0].id.clock);const i=na(e,r);_t(t.restEncoder,e.length-i),t.writeClient(n),_t(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)},ite=(t,e,n)=>{const r=new Map;n.forEach((i,o)=>{br(e,o)>i&&r.set(o,i)}),Rw(e).forEach((i,o)=>{n.has(o)||r.set(o,0)}),_t(t.restEncoder,r.size),Mu(r.entries()).sort((i,o)=>o[0]-i[0]).forEach(([i,o])=>{rte(t,e.clients.get(i),i,o)})},ote=(t,e)=>ite(t,e.doc.store,e.beforeState);class ate{constructor(){this.l=[]}}const Uk=()=>new ate,Fk=(t,e)=>t.l.push(e),Rk=(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.")},DO=(t,e,n)=>Uw(t.l,[e,n]);class hg{constructor(e,n){this.client=e,this.clock=n}}const zp=(t,e)=>t===e||t!==null&&e!==null&&t.client===e.client&&t.clock===e.clock,Rt=(t,e)=>new hg(t,e),oh=t=>{for(const[e,n]of t.doc.share.entries())if(n===t)return e;throw bs()};class km{constructor(e,n,r,i=0){this.type=e,this.tname=n,this.item=r,this.assoc=i}}const jp=(t,e,n)=>{let r=null,i=null;return t._item===null?i=oh(t):r=Rt(t._item.id.client,t._item.id.clock),new km(r,i,e,n)},y0=(t,e,n=0)=>{let r=t._start;if(n<0){if(e===0)return jp(t,null,n);e--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>e)return jp(t,Rt(r.id.client,r.id.clock+e),n);e-=r.length}if(r.right===null&&n<0)return jp(t,r.lastId,n);r=r.right}return jp(t,null,n)},ou=(t,e)=>e===void 0?!t.deleted:e.sv.has(t.id.client)&&(e.sv.get(t.id.client)||0)>t.id.clock&&!yO(e.ds,t.id),G2=(t,e)=>{const n=Ku(t.meta,G2,Bu),r=t.doc.store;n.has(e)||(e.sv.forEach((i,o)=>{i<br(r,o)&&vs(t,Rt(o,i))}),mO(t,e.ds,i=>{}),n.add(e))};class ste{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}}const Rw=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},br=(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},wO=(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 bs()}n.push(e)},na=(t,e)=>{let n=0,r=t.length-1,i=t[r],o=i.id.clock;if(o===e)return r;let a=Ol(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=Ol((n+r)/2)}throw bs()},lte=(t,e)=>{const n=t.clients.get(e.client);return n[na(n,e.clock)]},b0=lte,X2=(t,e,n)=>{const r=na(e,n),i=e[r];return i.id.clock<n&&i instanceof In?(e.splice(r+1,0,$O(t,i,n-i.id.clock)),r+1):r},vs=(t,e)=>{const n=t.doc.store.clients.get(e.client);return n[X2(t,n,e.clock)]},Ok=(t,e,n)=>{const r=e.clients.get(n.client),i=na(r,n.clock),o=r[i];return n.clock!==o.id.clock+o.length-1&&o.constructor!==es&&r.splice(i+1,0,$O(t,o,n.clock-o.id.clock+1)),o},cte=(t,e,n)=>{const r=t.clients.get(e.id.client);r[na(r,e.id.clock)]=n},SO=(t,e,n,r,i)=>{if(r===0)return;const o=n+r;let a=X2(t,e,n),s;do s=e[a++],o<s.id.clock+s.length&&X2(t,e,o),i(s);while(a<e.length&&e[a].id.clock<o)};class ute{constructor(e,n,r){this.doc=e,this.deleteSet=new Yee,this.beforeState=Rw(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 Ik=(t,e)=>e.deleteSet.clients.size===0&&!GQ(e.afterState,(n,r)=>e.beforeState.get(r)!==n)?!1:(bO(e.deleteSet),ote(t,e),Zee(t,e.deleteSet),!0),Bk=(t,e,n)=>{const r=e._item;(r===null||r.id.clock<(t.beforeState.get(r.id.client)||0)&&!r.deleted)&&Ku(t.changed,e,Bu).add(n)},pg=(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 In&&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},fte=(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=na(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 In&&d.deleted&&!d.keep&&n(d)&&d.gc(e,!1)}}}},dte=(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=iO(i.length-1,1+na(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+pg(i,l)}})},TO=(t,e)=>{if(e<t.length){const n=t[e],r=n.doc,i=r.store,o=n.deleteSet,a=n._mergeStructs;try{bO(o),n.afterState=Rw(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),DO(c._dEH,l,n))})}),s.push(()=>r.emit("afterTransaction",[n,r])),Uw(s,[]),n._needFormattingCleanup&&Tte(n)}finally{r.gc&&fte(o,i,r.gcFilter),dte(o,i),n.afterState.forEach((f,d)=>{const p=n.beforeState.get(d)||0;if(p!==f){const g=i.clients.get(d),m=Zu(na(g,p),1);for(let v=g.length-1;v>=m;)v-=1+pg(g,v)}});for(let f=a.length-1;f>=0;f--){const{client:d,clock:p}=a[f].id,g=i.clients.get(d),m=na(g,p);m+1<g.length&&pg(g,m+1)>1||m>0&&pg(g,m)}if(!n.local&&n.afterState.get(r.clientID)!==n.beforeState.get(r.clientID)&&(qee(Fw,uO,"[yjs] ",fO,dO,"Changed the client-id because another client seems to be using it."),r.clientID=xO()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){const f=new ete;Ik(f,n)&&r.emit("update",[f.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){const f=new nte;Ik(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])):TO(t,e+1)}}},Ft=(t,e,n=null,r=!0)=>{const i=t._transactionCleanups;let o=!1,a=null;t._transaction===null&&(o=!0,t._transaction=new ute(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&&TO(i,0)}}return a},Mk="You must not compute changes after the event-handler fired.";class Wy{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=hte(this.currentTarget,this.target))}deletes(e){return yO(this.transaction.deleteSet,e.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw Nu(Mk);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=f0(l.content.getContent());else return;else l!==null&&this.deletes(l)?(a="update",s=f0(l.content.getContent())):(a="add",s=void 0)}else if(this.deletes(o))a="delete",s=f0(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 Nu(Mk);const n=this.target,r=Bu(),i=Bu(),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 hte=(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},Bn=()=>{Gee("Invalid access: Add Yjs type to a document before reading data.")},_O=80;let Ow=0;class pte{constructor(e,n){e.marker=!0,this.p=e,this.index=n,this.timestamp=Ow++}}const gte=t=>{t.timestamp=Ow++},CO=(t,e,n)=>{t.p.marker=!1,t.p=e,e.marker=!0,t.index=n,t.timestamp=Ow++},mte=(t,e,n)=>{if(t.length>=_O){const r=t.reduce((i,o)=>i.timestamp<o.timestamp?i:o);return CO(r,e,n),r}else{const r=new pte(e,n);return t.push(r),r}},$y=(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)=>fg(e-o.index)<fg(e-a.index)?o:a);let r=t._start,i=0;for(n!==null&&(r=n.p,i=n.index,gte(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&&fg(n.index-i)<r.parent.length/_O?(CO(n,r,i),n):mte(t._searchMarker,r,i)},ah=(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=Zu(e,i.index+n))}},zy=(t,e,n)=>{const r=t,i=e.changedParentTypes;for(;Ku(i,t,()=>[]).push(n),t._item!==null;)t=t._item.parent;DO(r._eH,n,e)};class wn{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=Uk(),this._dEH=Uk(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,n){this.doc=e,this._item=n}_copy(){throw ro()}clone(){throw ro()}_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){Fk(this._eH,e)}observeDeep(e){Fk(this._dEH,e)}unobserve(e){Rk(this._eH,e)}unobserveDeep(e){Rk(this._dEH,e)}toJSON(){}}const EO=(t,e,n)=>{t.doc??Bn(),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},kO=t=>{t.doc??Bn();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},sh=(t,e)=>{let n=0,r=t._start;for(t.doc??Bn();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}},AO=(t,e)=>{const n=[];return sh(t,(r,i)=>{n.push(e(r,i,t))}),n},yte=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}}}},UO=(t,e)=>{t.doc??Bn();const n=$y(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}},Am=(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 In(Rt(a,br(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Lu(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 In(Rt(a,br(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new jy(new Uint8Array(d))),i.integrate(t,0);break;case kh:i=new In(Rt(a,br(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Vy(d)),i.integrate(t,0);break;default:if(d instanceof wn)i=new In(Rt(a,br(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Es(d)),i.integrate(t,0);else throw new Error("Unexpected content type in insert operation")}}}),f()},FO=()=>Nu("Length exceeded!"),RO=(t,e,n,r)=>{if(n>e._length)throw FO();if(n===0)return e._searchMarker&&ah(e._searchMarker,n,r.length),Am(t,e,null,r);const i=n,o=$y(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&&vs(t,Rt(a.id.client,a.id.clock+n));break}n-=a.length}return e._searchMarker&&ah(e._searchMarker,i,r.length),Am(t,e,a,r)},bte=(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 Am(t,e,i,n)},OO=(t,e,n,r)=>{if(r===0)return;const i=n,o=r,a=$y(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&&vs(t,Rt(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&s!==null;)s.deleted||(r<s.length&&vs(t,Rt(s.id.client,s.id.clock+r)),s.delete(t),r-=s.length),s=s.right;if(r>0)throw FO();e._searchMarker&&ah(e._searchMarker,i,-o+r)},Um=(t,e,n)=>{const r=e._map.get(n);r!==void 0&&r.delete(t)},Iw=(t,e,n,r)=>{const i=e._map.get(n)||null,o=t.doc,a=o.clientID;let s;if(r==null)s=new Lu([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new Lu([r]);break;case Uint8Array:s=new jy(r);break;case kh:s=new Vy(r);break;default:if(r instanceof wn)s=new Es(r);else throw new Error("Unexpected content type")}new In(Rt(a,br(o.store,a)),i,i&&i.lastId,null,null,e,n,s).integrate(t,0)},Bw=(t,e)=>{t.doc??Bn();const n=t._map.get(e);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},IO=t=>{const e={};return t.doc??Bn(),t._map.forEach((n,r)=>{n.deleted||(e[r]=n.content.getContent()[n.length-1])}),e},BO=(t,e)=>{t.doc??Bn();const n=t._map.get(e);return n!==void 0&&!n.deleted},vte=(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&&ou(o,e)&&(n[i]=o.content.getContent()[o.length-1])}),n},Vp=t=>(t.doc??Bn(),Xee(t._map.entries(),e=>!e[1].deleted));class xte extends Wy{}class Ed extends wn{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){const n=new Ed;return n.push(e),n}_integrate(e,n){super._integrate(e,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new Ed}clone(){const e=new Ed;return e.insert(0,this.toArray().map(n=>n instanceof wn?n.clone():n)),e}get length(){return this.doc??Bn(),this._length}_callObserver(e,n){super._callObserver(e,n),zy(this,e,new xte(this,e))}insert(e,n){this.doc!==null?Ft(this.doc,r=>{RO(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}push(e){this.doc!==null?Ft(this.doc,n=>{bte(n,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,n=1){this.doc!==null?Ft(this.doc,r=>{OO(r,this,e,n)}):this._prelimContent.splice(e,n)}get(e){return UO(this,e)}toArray(){return kO(this)}slice(e=0,n=this.length){return EO(this,e,n)}toJSON(){return this.map(e=>e instanceof wn?e.toJSON():e)}map(e){return AO(this,e)}forEach(e){sh(this,e)}[Symbol.iterator](){return yte(this)}_write(e){e.writeTypeRef(Ute)}}class Dte extends Wy{constructor(e,n,r){super(e,n),this.keysChanged=r}}class Fm extends wn{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 Fm}clone(){const e=new Fm;return this.forEach((n,r)=>{e.set(r,n instanceof wn?n.clone():n)}),e}_callObserver(e,n){zy(this,e,new Dte(this,e,n))}toJSON(){this.doc??Bn();const e={};return this._map.forEach((n,r)=>{if(!n.deleted){const i=n.content.getContent()[n.length-1];e[r]=i instanceof wn?i.toJSON():i}}),e}get size(){return[...Vp(this)].length}keys(){return m0(Vp(this),e=>e[0])}values(){return m0(Vp(this),e=>e[1].content.getContent()[e[1].length-1])}entries(){return m0(Vp(this),e=>[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){this.doc??Bn(),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?Ft(this.doc,n=>{Um(n,this,e)}):this._prelimContent.delete(e)}set(e,n){return this.doc!==null?Ft(this.doc,r=>{Iw(r,this,e,n)}):this._prelimContent.set(e,n),n}get(e){return Bw(this,e)}has(e){return BO(this,e)}clear(){this.doc!==null?Ft(this.doc,e=>{this.forEach(function(n,r,i){Um(e,i,r)})}):this._prelimContent.clear()}_write(e){e.writeTypeRef(Fte)}}const ss=(t,e)=>t===e||typeof t=="object"&&typeof e=="object"&&t&&e&&Uee(t,e);class J2{constructor(e,n,r,i){this.left=e,this.right=n,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&bs(),this.right.content.constructor){case cn:this.right.deleted||Qu(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 Nk=(t,e,n)=>{for(;e.right!==null&&n>0;){switch(e.right.content.constructor){case cn:e.right.deleted||Qu(e.currentAttributes,e.right.content);break;default:e.right.deleted||(n<e.right.length&&vs(t,Rt(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},Hp=(t,e,n,r)=>{const i=new Map,o=r?$y(e,n):null;if(o){const a=new J2(o.p.left,o.p,o.index,i);return Nk(t,a,n-o.index)}else{const a=new J2(null,e._start,0,i);return Nk(t,a,n)}},MO=(t,e,n,r)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===cn&&ss(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 In(Rt(o,br(i.store,o)),l,l&&l.lastId,c,c&&c.id,e,null,new cn(s,a));f.integrate(t,0),n.right=f,n.forward()})},Qu=(t,e)=>{const{key:n,value:r}=e;r===null?t.delete(n):t.set(n,r)},NO=(t,e)=>{for(;t.right!==null;){if(!(t.right.deleted||t.right.content.constructor===cn&&ss(e[t.right.content.key]??null,t.right.content.value)))break;t.forward()}},PO=(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(!ss(c,l)){a.set(s,c);const{left:f,right:d}=n;n.right=new In(Rt(o,br(i.store,o)),f,f&&f.lastId,d,d&&d.id,e,null,new cn(s,l)),n.right.integrate(t,0),n.forward()}}return a},v0=(t,e,n,r,i)=>{n.currentAttributes.forEach((p,g)=>{i[g]===void 0&&(i[g]=null)});const o=t.doc,a=o.clientID;NO(n,i);const s=PO(t,e,n,i),l=r.constructor===String?new ra(r):r instanceof wn?new Es(r):new ef(r);let{left:c,right:f,index:d}=n;e._searchMarker&&ah(e._searchMarker,n.index,l.getLength()),f=new In(Rt(a,br(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(),MO(t,e,n,s)},Pk=(t,e,n,r,i)=>{const o=t.doc,a=o.clientID;NO(n,i);const s=PO(t,e,n,i);e:for(;n.right!==null&&(r>0||s.size>0&&(n.right.deleted||n.right.content.constructor===cn));){if(!n.right.deleted)switch(n.right.content.constructor){case cn:{const{key:l,value:c}=n.right.content,f=i[l];if(f!==void 0){if(ss(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&&vs(t,Rt(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+=`
369
+ `;n.right=new In(Rt(a,br(o.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,e,null,new ra(l)),n.right.integrate(t,0),n.forward()}MO(t,e,n,s)},LO=(t,e,n,r,i)=>{let o=e;const a=no();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===cn){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 cn:{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&&Qu(i,c);break}}}e=e.right}return s},wte=(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===cn){const r=e.content.key;n.has(r)?e.delete(t):n.add(r)}e=e.left}},Ste=t=>{let e=0;return Ft(t.doc,n=>{let r=t._start,i=t._start,o=no();const a=j2(o);for(;i;){if(i.deleted===!1)switch(i.content.constructor){case cn:Qu(a,i.content);break;default:e+=LO(n,r,i,o,a),o=j2(a),r=i;break}i=i.right}}),e},Tte=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&&SO(t,n.store.clients.get(r),o,i,a=>{!a.deleted&&a.content.constructor===cn&&a.constructor!==es&&e.add(a.parent)})}Ft(n,r=>{mO(t,t.deleteSet,i=>{if(i instanceof es||!i.parent._hasFormatting||e.has(i.parent))return;const o=i.parent;i.content.constructor===cn?e.add(o):wte(r,i)});for(const i of e)Ste(i)})},Lk=(t,e,n)=>{const r=n,i=j2(e.currentAttributes),o=e.right;for(;n>0&&e.right!==null;){if(e.right.deleted===!1)switch(e.right.content.constructor){case Es:case ef:case ra:n<e.right.length&&vs(t,Rt(e.right.id.client,e.right.id.clock+n)),n-=e.right.length,e.right.delete(t);break}e.forward()}o&&LO(t,o,e.right,i,e.currentAttributes);const a=(e.left||e.right).parent;return a._searchMarker&&ah(a._searchMarker,e.index,-r+n),e};class _te extends Wy{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=[];Ft(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((m,v)=>{m!==null&&(g.attributes[v]=m)}))),c="";break;case"retain":f>0&&(g={retain:f},Eee(l)||(g.attributes=Tee({},l))),f=0;break}g&&n.push(g),s=null}};for(;a!==null;){switch(a.content.constructor){case Es:case ef: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 ra: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 cn:{const{key:g,value:m}=a.content;if(this.adds(a)){if(!this.deletes(a)){const v=i.get(g)??null;ss(v,m)?m!==null&&a.delete(r):(s==="retain"&&p(),ss(m,o.get(g)??null)?delete l[g]:l[g]=m)}}else if(this.deletes(a)){o.set(g,m);const v=i.get(g)??null;ss(v,m)||(s==="retain"&&p(),l[g]=v)}else if(!a.deleted){o.set(g,m);const v=l[g];v!==void 0&&(ss(v,m)?v!==null&&a.delete(r):(s==="retain"&&p(),m===null?delete l[g]:l[g]=m))}a.deleted||(s==="insert"&&p(),Qu(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 lh extends wn{constructor(e){super(),this._pending=e!==void 0?[()=>this.insert(0,e)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this.doc??Bn(),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 lh}clone(){const e=new lh;return e.applyDelta(this.toDelta()),e}_callObserver(e,n){super._callObserver(e,n);const r=new _te(this,e,n);zy(this,e,r),!e.local&&this._hasFormatting&&(e._needFormattingCleanup=!0)}toString(){this.doc??Bn();let e="",n=this._start;for(;n!==null;)!n.deleted&&n.countable&&n.content.constructor===ra&&(e+=n.content.str),n=n.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:n=!0}={}){this.doc!==null?Ft(this.doc,r=>{const i=new J2(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)===`
370
+ `?a.insert.slice(0,-1):a.insert;(typeof s!="string"||s.length>0)&&v0(r,this,i,s,a.attributes||{})}else a.retain!==void 0?Pk(r,this,i,a.retain,a.attributes||{}):a.delete!==void 0&&Lk(r,i,a.delete)}}):this._pending.push(()=>this.applyDelta(e))}toDelta(e,n,r){this.doc??Bn();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((m,v)=>{p=!0,d[v]=m});const g={insert:s};p&&(g.attributes=d),i.push(g),s=""}}const f=()=>{for(;l!==null;){if(ou(l,e)||n!==void 0&&ou(l,n))switch(l.content.constructor){case ra:{const d=o.get("ychange");e!==void 0&&!ou(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&&!ou(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 Es:case ef:{c();const d={insert:l.content.getContent()[0]};if(o.size>0){const p={};d.attributes=p,o.forEach((g,m)=>{p[m]=g})}i.push(d);break}case cn:ou(l,e)&&(c(),Qu(o,l.content));break}l=l.right}c()};return e||n?Ft(a,d=>{e&&G2(d,e),n&&G2(d,n),f()},"cleanup"):f(),i}insert(e,n,r){if(n.length<=0)return;const i=this.doc;i!==null?Ft(i,o=>{const a=Hp(o,this,e,!r);r||(r={},a.currentAttributes.forEach((s,l)=>{r[l]=s})),v0(o,this,a,n,r)}):this._pending.push(()=>this.insert(e,n,r))}insertEmbed(e,n,r){const i=this.doc;i!==null?Ft(i,o=>{const a=Hp(o,this,e,!r);v0(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?Ft(r,i=>{Lk(i,Hp(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?Ft(i,o=>{const a=Hp(o,this,e,!1);a.right!==null&&Pk(o,this,a,n,r)}):this._pending.push(()=>this.format(e,n,r))}removeAttribute(e){this.doc!==null?Ft(this.doc,n=>{Um(n,this,e)}):this._pending.push(()=>this.removeAttribute(e))}setAttribute(e,n){this.doc!==null?Ft(this.doc,r=>{Iw(r,this,e,n)}):this._pending.push(()=>this.setAttribute(e,n))}getAttribute(e){return Bw(this,e)}getAttributes(){return IO(this)}_write(e){e.writeTypeRef(Rte)}}class x0{constructor(e,n=()=>!0){this._filter=n,this._root=e,this._currentNode=e._start,this._firstCall=!0,e.doc??Bn()}[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===ch||n.constructor===Pu)&&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 Pu extends wn{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 Pu}clone(){const e=new Pu;return e.insert(0,this.toArray().map(n=>n instanceof wn?n.clone():n)),e}get length(){return this.doc??Bn(),this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(e){return new x0(this,e)}querySelector(e){e=e.toUpperCase();const r=new x0(this,i=>i.nodeName&&i.nodeName.toUpperCase()===e).next();return r.done?null:r.value}querySelectorAll(e){return e=e.toUpperCase(),Mu(new x0(this,n=>n.nodeName&&n.nodeName.toUpperCase()===e))}_callObserver(e,n){zy(this,e,new Cte(this,n,e))}toString(){return AO(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),sh(this,o=>{i.insertBefore(o.toDOM(e,n,r),null)}),i}insert(e,n){this.doc!==null?Ft(this.doc,r=>{RO(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}insertAfter(e,n){if(this.doc!==null)Ft(this.doc,r=>{const i=e&&e instanceof wn?e._item:e;Am(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 Nu("Reference item not found");r.splice(i,0,...n)}}delete(e,n=1){this.doc!==null?Ft(this.doc,r=>{OO(r,this,e,n)}):this._prelimContent.splice(e,n)}toArray(){return kO(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return UO(this,e)}slice(e=0,n=this.length){return EO(this,e,n)}forEach(e){sh(this,e)}_write(e){e.writeTypeRef(Ite)}}class ch extends Pu{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 ch(this.nodeName)}clone(){const e=new ch(this.nodeName),n=this.getAttributes();return Cee(n,(r,i)=>{typeof r=="string"&&e.setAttribute(i,r)}),e.insert(0,this.toArray().map(r=>r instanceof wn?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?Ft(this.doc,n=>{Um(n,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,n){this.doc!==null?Ft(this.doc,r=>{Iw(r,this,e,n)}):this._prelimAttrs.set(e,n)}getAttribute(e){return Bw(this,e)}hasAttribute(e){return BO(this,e)}getAttributes(e){return e?vte(this,e):IO(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 sh(this,a=>{i.appendChild(a.toDOM(e,n,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(e){e.writeTypeRef(Ote),e.writeKey(this.nodeName)}}class Cte extends Wy{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 uh extends lh{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 uh}clone(){const e=new uh;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(Bte)}}class WO{constructor(e,n){this.id=e,this.length=n}get deleted(){throw ro()}mergeWith(e){return!1}write(e,n,r){throw ro()}integrate(e,n){throw ro()}}const Ete=0;class es extends WO{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),wO(e.doc.store,this)}write(e,n){e.writeInfo(Ete),e.writeLen(this.length-n)}getMissing(e,n){return null}}class jy{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new jy(this.content)}splice(e){throw ro()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeBuf(this.content)}getRef(){return 3}}class Rm{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new Rm(this.len)}splice(e){const n=new Rm(this.len-e);return this.len=e,n}mergeWith(e){return this.len+=e.len,!0}integrate(e,n){vO(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 kte=(t,e)=>new kh({guid:t,...e,shouldLoad:e.shouldLoad||e.autoLoad||!1});class Vy{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 Vy(kte(this.doc.guid,this.opts))}splice(e){throw ro()}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 ef{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new ef(this.embed)}splice(e){throw ro()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeJSON(this.embed)}getRef(){return 5}}class cn{constructor(e,n){this.key=e,this.value=n}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new cn(this.key,this.value)}splice(e){throw ro()}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 Ate=Em("node_env")==="development";class Lu{constructor(e){this.arr=e,Ate&&lO(e)}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new Lu(this.arr)}splice(e){const n=new Lu(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 ra{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new ra(this.str)}splice(e){const n=new ra(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 Ute=0,Fte=1,Rte=2,Ote=3,Ite=4,Bte=6;class Es{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new Es(this.type._copy())}splice(e){throw ro()}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 $O=(t,e,n)=>{const{client:r,clock:i}=e.id,o=new In(Rt(r,i+n),e,Rt(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=Rt(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 In extends WO{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()?xk:0}set marker(e){(this.info&h0)>0!==e&&(this.info^=h0)}get marker(){return(this.info&h0)>0}get keep(){return(this.info&vk)>0}set keep(e){this.keep!==e&&(this.info^=vk)}get countable(){return(this.info&xk)>0}get deleted(){return(this.info&d0)>0}set deleted(e){this.deleted!==e&&(this.info^=d0)}markDeleted(){this.info|=d0}getMissing(e,n){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=br(n,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=br(n,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===hg&&this.id.client!==this.parent.client&&this.parent.clock>=br(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=Ok(e,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=vs(e,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===es||this.right&&this.right.constructor===es)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===In&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===In&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===hg){const r=b0(n,this.parent);r.constructor===es?this.parent=null:this.parent=r.content.type}return null}integrate(e,n){if(n>0&&(this.id.clock+=n,this.left=Ok(e,e.doc.store,Rt(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),zp(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,o.clear();else if(zp(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&a.has(b0(e.doc.store,i.origin)))o.has(b0(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),wO(e.doc.store,this),this.content.integrate(e,this),Bk(e,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(e)}else new es(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:Rt(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&zp(e.origin,this.lastId)&&this.right===e&&zp(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(),vO(e.deleteSet,this.id.client,this.id.clock,this.length),Bk(e,n,this.parentSub),this.content.delete(e)}}gc(e,n){if(!this.deleted)throw bs();this.content.gc(e),n?cte(e,this,new es(this.id,this.length)):this.content=new Rm(this.length)}write(e,n){const r=n>0?Rt(this.id.client,this.id.clock+n-1):this.origin,i=this.rightOrigin,o=this.parentSub,a=this.content.getRef()&ZQ|(r===null?0:Cm)|(i===null?0:oO)|(o===null?0:KQ);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=oh(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===hg?(e.writeParentInfo(!1),e.writeLeftID(s)):bs();o!==null&&e.writeString(o)}this.content.write(e,n)}}const zO=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},jO="__ $YJS$ __";zO[jO]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");zO[jO]=!0;const Mte=new ia("y-sync");new ia("y-undo");new ia("yjs-cursor");const Nte=(t,e,n)=>{if(t===0)return y0(e,0,-1);let r=e._first===null?null:e._first.content.type;for(;r!==null&&e!==r;){if(r instanceof uh){if(r._length>=t)return y0(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 km(r._item===null?null:r._item.id,r._item===null?oh(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 km(r._item===null?null:r._item.id,r._item===null?oh(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 bs();if(t===0&&r.constructor!==uh&&r!==e)return Pte(r._item.parent,r._item)}return y0(e,e._length,-1)},Pte=(t,e)=>{let n=null,r=null;return t._item===null?r=oh(t):n=Rt(t._item.id.client,t._item.id.clock),new km(n,r,e.id)};exports.AllSelection=Mr;exports.CellSelection=Ot;exports.DOMParser=Y2;exports.DOMSerializer=Il;exports.Decoration=Rn;exports.DecorationSet=Pt;exports.EditorState=au;exports.EditorView=v6;exports.Fragment=Re;exports.Node=ls;exports.NodeRange=Ad;exports.NodeSelection=Ye;exports.Plugin=Bl;exports.PluginKey=ia;exports.ReplaceAroundStep=an;exports.ReplaceStep=on;exports.Schema=lI;exports.Selection=tt;exports.SelectionRange=nx;exports.Slice=We;exports.TextSelection=lt;exports.Transform=tx;exports.Tweet=HQ;exports.VisibilitySensor=qY;exports.absolutePositionToRelativePosition=Nte;exports.addColumnAfter=TL;exports.addColumnBefore=SL;exports.addRowAfter=AL;exports.addRowBefore=kL;exports.b=SP;exports.canJoin=$u;exports.canSplit=fu;exports.clamp=XM;exports.clsx=Zi;exports.columnResizing=KL;exports.createParagraphNear=a3;exports.cva=TP;exports.d=DP;exports.debounce=M3;exports.deepEqual=zH;exports.deleteColumn=CL;exports.deleteRow=FL;exports.deleteSelection=hx;exports.deleteTable=$L;exports.differenceBy=l7;exports.dropCursor=QP;exports.exitCode=I6;exports.find=jP;exports.findWrapping=Q2;exports.fixTables=mU;exports.gapCursor=rL;exports.goToNextCell=WL;exports.history=ZP;exports.i=tK;exports.isNumber=u7;exports.joinBackward=QA;exports.joinDown=R6;exports.joinForward=r3;exports.joinPoint=ex;exports.joinTextblockBackward=A6;exports.joinTextblockForward=U6;exports.joinUp=F6;exports.keymap=k6;exports.lib=Ci;exports.lift=O6;exports.liftEmptyBlock=s3;exports.liftListItem=q6;exports.liftTarget=Wu;exports.mergeCells=OL;exports.newlineInCode=o3;exports.redo=fU;exports.registerCustomProtocol=$P;exports.reset=WP;exports.selectNodeBackward=t3;exports.selectNodeForward=i3;exports.selectParentNode=N6;exports.selectTextblockEnd=W6;exports.selectTextblockStart=L6;exports.server_browser=Hl;exports.setBlockType=z6;exports.setCellAttr=ML;exports.sinkListItem=J6;exports.splitCell=IL;exports.tableEditing=sW;exports.throttle=A7;exports.toggleHeader=Hm;exports.toggleHeaderCell=PL;exports.tokenize=Nx;exports.truncate=O7;exports.twMerge=fP;exports.undo=uU;exports.wrapIn=$6;exports.wrapInList=j6;exports.x=wP;exports.ySyncPluginKey=Mte;